/* FiveStar Vista LLC: warm kitchen-equipment tones (tomato red, warm stainless, mustard, charcoal) on a bright white
   base; vertical side header on the right; split hero; slab serif headings with a sans body; flat tiles grouped
   by category; thick 3px outlines and no shadows; rubber-tread motif */
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Second Ave Sans";
  src: url("fonts/second-ave-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Second Ave Sans";
  src: url("fonts/second-ave-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --char: #241e1c;
  --char-2: #3a322e;
  --tomato: #c33d27;
  --tomato-dk: #9e2e1b;
  --steel: #d9d2c8;
  --steel-lt: #f1ede7;
  --mustard: #e2a83a;
  --text: #241e1c;
  --muted: #5e5550;
  --slab: "Roboto Slab", Rockwell, Georgia, serif;
  --sans: "Second Ave Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tomato-dk); text-underline-offset: 3px; }
a:hover { color: var(--char); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; color: var(--char); }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.04rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--char); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* vertical side header on the right */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; grid-template-areas: "body side"; min-height: 100vh; }
.site-header { grid-area: side; background: var(--char); color: var(--steel-lt); border-left: 3px solid var(--tomato); }
.side { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; gap: 24px; padding: 26px 20px; }
.brand { display: flex; flex-direction: column; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { width: 120px; border: 3px solid var(--steel); }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.main-nav a { display: block; padding: 8px 12px; border: 3px solid var(--char-2); color: var(--steel-lt); text-decoration: none; font-weight: 600; }
.main-nav a:hover { border-color: var(--steel); }
.main-nav a[aria-current="page"] { background: var(--tomato); border-color: var(--tomato); color: var(--white); }
.side-foot { margin-top: auto; border-top: 3px solid var(--char-2); padding-top: 14px; }
.side-foot p { margin: 0 0 4px; }
.side-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mustard); }
.side-foot a { color: var(--white); font-family: var(--slab); font-weight: 700; font-size: 1.12rem; text-decoration: none; }
.side-lang { font-size: .9rem; color: var(--steel); }
.body { grid-area: body; min-width: 0; display: flex; flex-direction: column; }
.body main { flex: 1 0 auto; }
.pad { padding-left: clamp(20px, 4vw, 60px); padding-right: clamp(20px, 4vw, 60px); }

/* split hero */
.hero { padding-top: 54px; padding-bottom: 50px; }
.hero.small { padding-top: 48px; padding-bottom: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 48px; align-items: center; }
.kicker { font-weight: 600; color: var(--tomato-dk); margin-bottom: .6em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-fig { margin: 0; border: 3px solid var(--char); background: var(--steel-lt); }
.hero-art { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn { display: inline-block; padding: 10px 22px; font-weight: 600; text-decoration: none; border: 3px solid var(--char); }
.btn.solid { background: var(--tomato); border-color: var(--tomato); color: var(--white); }
.btn.solid:hover { background: var(--tomato-dk); border-color: var(--tomato-dk); color: var(--white); }
.btn.line { color: var(--char); background: var(--white); }
.btn.line:hover { background: var(--steel-lt); }

/* sections */
.sec { padding-top: 54px; padding-bottom: 54px; }
.sec.tight { padding-top: 16px; }
.tread { background: var(--steel-lt) url("assets/motif-tread.svg") repeat; background-size: 40px 40px; border-top: 3px solid var(--char); border-bottom: 3px solid var(--char); }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cats a { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--white); border: 3px solid var(--char); color: var(--char); text-decoration: none; font-family: var(--slab); font-weight: 700; font-size: 1.08rem; line-height: 1.2; height: 100%; }
.cats a:hover { border-color: var(--tomato); }
.cats img { width: 56px; }
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px 48px; align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--char); }
.ticks li { padding: 13px 0 13px 30px; border-bottom: 3px solid var(--steel-lt); color: var(--muted); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 14px; height: 14px; border: 3px solid var(--tomato); }
.ticks strong { color: var(--char); }
.ticks.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 0; }
.ticks.three li { background: var(--white); border: 3px solid var(--char); padding: 16px 16px 16px 40px; }
.ticks.three li::before { left: 14px; top: 20px; }
.spot { background: var(--mustard); border: 3px solid var(--char); padding: 26px; }
.spot .kicker { color: var(--char); }
.spot strong { color: var(--tomato-dk); }

/* flat tiles grouped by category */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 14px; border: 3px solid var(--char); color: var(--char); text-decoration: none; font-weight: 600; font-size: .9rem; }
.jump a:hover { background: var(--steel-lt); }
.cat { padding-top: 34px; padding-bottom: 34px; scroll-margin-top: 0; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 3px solid var(--char); }
.cat-head img { width: 56px; }
.cat-head h2 { margin: 0; letter-spacing: .02em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; padding: 16px 18px; background: var(--white); border: 3px solid var(--steel); }
.tile h3 { margin-bottom: 4px; }
.tile .d { color: var(--muted); font-size: .94rem; margin: 0 0 14px; }
.price { margin-top: auto; align-self: flex-start; font-family: var(--slab); font-weight: 700; font-size: 1.25rem; color: var(--tomato-dk); border-top: 3px solid var(--mustard); padding-top: 6px; }
.price.q { font-family: var(--sans); font-size: .9rem; font-weight: 600; }
.offer { border-color: var(--char); }
.offer .d { margin: 0; }
.offer strong { color: var(--tomato-dk); }

/* about / contact */
.first { font-family: var(--slab); font-weight: 700; font-size: 1.3rem; line-height: 1.45; color: var(--char); }
.story p:not(.first) { color: var(--muted); }
.facts { margin: 0; border: 3px solid var(--char); padding: 6px 20px; background: var(--steel-lt); }
.facts.plain { border: 0; padding: 0; background: transparent; }
.facts div { padding: 11px 0; border-top: 3px solid var(--white); }
.facts.plain div { border-top: 3px solid var(--steel-lt); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tomato-dk); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.card { border: 3px solid var(--char); padding: 24px; }
.hours { width: 100%; border-collapse: collapse; border: 3px solid var(--char); }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--char); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 12px 16px; border-top: 3px solid var(--steel-lt); vertical-align: top; }
.hours thead th { border-top: 0; background: var(--char); color: var(--steel-lt); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.hours tbody th { white-space: nowrap; }
.note { display: block; color: var(--muted); font-size: .9rem; }
.map-frame { width: 100%; height: 360px; border: 3px solid var(--char); display: block; background: var(--steel-lt); }
.map-link { margin: 16px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--steel-lt); border-top: 3px solid var(--char); padding: 36px 0 20px; color: var(--muted); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; }
.footer-name { font-family: var(--slab); font-weight: 700; font-size: 1.3rem; color: var(--char); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin: 18px 0 0; font-size: .86rem; }

@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks.three { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; grid-template-areas: "side" "body"; }
  .site-header { border-left: 0; border-bottom: 3px solid var(--tomato); }
  .side { position: static; min-height: 0; padding: 12px 16px; gap: 10px; }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 56px; }
  .brand-name { font-size: 1.15rem; }
  .main-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .main-nav a { padding: 5px 9px; font-size: .9rem; }
  .side-foot { display: none; }
  .split, .duo { grid-template-columns: 1fr; }
  .split .hero-fig { order: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 34px; padding-bottom: 32px; }
  .main-nav a { padding: 5px 7px; font-size: .84rem; }
  .cats { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .cats a { flex-direction: row; align-items: center; }
  .foot { grid-template-columns: 1fr; }
  .hours th, .hours td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
