@font-face { font-family: "Roboto Slab"; src: url("../fonts/roboto-slab-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #E9E6E0;
  --paper: #DEDAD2;
  --ink: #1B1D21;
  --muted: #50545B;
  --orange: #E7772E;
  --orange-dark: #C9601C;
  --blue: #2B5F9E;
  --blue-ink: #EEF2F8;
  --blue-muted: #C5D3E6;
  --green: #1E5638;
  --green-ink: #EDF3EE;
  --green-muted: #BFD3C4;
  --yellow: #F0C64A;
  --brick: #3A2420;
  --brick-ink: #F1E9E4;
  --brick-muted: #CDB9B0;
  --pad: clamp(18px, 3.2vw, 32px);
  --gap: clamp(80px, 11vw, 200px);
  --settle: cubic-bezier(.22, 1, .36, 1);
  --inout: cubic-bezier(.65, 0, .25, 1);
  --slab: "Roboto Slab", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.still { scroll-behavior: auto; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2 { font-family: var(--slab); font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: 28px; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -60px; background: var(--ink); color: var(--ground); padding: 10px 14px; z-index: 50; }
.skip:focus { top: 10px; }
.need { background: var(--yellow); color: var(--ink); padding: 0 4px; font-weight: 600; }

/* Buttons: flat, square */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font: 600 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background-color 180ms ease, transform 160ms var(--settle); }
.btn:active { transform: scale(0.97); }
.btn--call { background: var(--orange); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--yellow); }
@media (hover: hover) and (pointer: fine) {
  .btn--call:hover { background: #F08A45; }
  .btn--ink:hover { background: #33363C; }
  .link:hover { text-decoration-thickness: 2px; }
}
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: underline; }
.link--light { color: inherit; }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 26px; padding: 18px var(--pad); color: #fff; }
.nav__name { font: 800 22px/1 var(--slab); text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: 22px; }
.nav__links a { font-weight: 600; font-size: 15px; text-decoration: none; }
.nav__motion { min-height: 44px; background: rgba(27, 29, 33, .55); color: #fff; border: 0; padding: 0 14px; font: 600 14px/1 var(--sans); cursor: pointer; transition: transform 160ms var(--settle); }
.nav__motion:active { transform: scale(0.97); }
@media (max-width: 900px) { .nav__links { display: none; } .nav__call { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2E3A4E; }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 30% 12%; transform: scale(1); transition: transform 1200ms var(--settle), opacity 1200ms var(--settle); }
.is-loading .hero__photo img { transform: scale(1.04); opacity: .6; }
.still .hero__photo img { transition: none; transform: none; opacity: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(32, 28, 26, .9) 0%, rgba(42, 38, 34, .62) 46%, rgba(42, 38, 34, 0) 100%); } /* taste-skill-ignore: scrim from the photo's own asphalt shadow, over the text area only */
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 1; background: linear-gradient(to bottom, rgba(26, 40, 66, .7), rgba(26, 40, 66, 0)); } /* taste-skill-ignore: sky-blue scrim under the nav only */
.hero__text { position: relative; z-index: 2; padding: 0 var(--pad) clamp(64px, 9vh, 110px); max-width: 1100px; }
.hero__name { font-size: clamp(3.6rem, 11vw, 10rem); letter-spacing: -0.03em; line-height: .92; color: #fff; }
.hero__line { margin-top: 22px; font: 600 clamp(1.2rem, 2.2vw, 1.75rem)/1.25 var(--sans); max-width: 30ch; }
.hero__facts { margin-top: 14px; font-size: 16px; color: #EDE6DF; font-variant-numeric: tabular-nums; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.hero__cap { position: absolute; z-index: 2; right: var(--pad); bottom: 22px; font-size: 13px; color: #E2D9D0; max-width: 34ch; text-align: right; }
@media (max-width: 700px) {
  .hero__photo img { object-position: 50% 30%; }
  .hero__cap { left: var(--pad); right: auto; text-align: left; bottom: 16px; }
  .hero__text { padding-bottom: 76px; }
}

/* The sign */
.sign { background: var(--orange); color: var(--ink); padding: clamp(64px, 9vw, 140px) var(--pad); }
.sign__big { font: 900 clamp(3rem, 11.5vw, 11rem)/.9 var(--slab); letter-spacing: -0.03em; }
.sign__rows { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 18px 32px; align-items: end; }
.sign__line { font: 800 clamp(1.4rem, 2.6vw, 2.3rem)/1.05 var(--slab); text-transform: uppercase; letter-spacing: 0.01em; }
.sign__nums { display: flex; flex-direction: column; font: 700 clamp(1.2rem, 2vw, 1.7rem)/1.25 var(--slab); font-variant-numeric: tabular-nums; text-align: right; }
.sign__nums a { text-decoration: none; }
.sign__note { margin-top: 36px; color: #3A2A1E; font-size: 15px; max-width: 60ch; }
@media (max-width: 760px) { .sign__rows { grid-template-columns: 1fr; } .sign__nums { text-align: left; } }

/* Plaques */
.plaque { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); padding: var(--gap) var(--pad); align-items: center; }
.plaque--green { background: var(--green); color: var(--green-ink); }
.plaque--yellow { background: var(--yellow); color: var(--ink); grid-template-columns: 42% 1fr; align-items: start; }
.plate { display: flex; flex-direction: column; margin: 0; padding: clamp(24px, 3vw, 40px); background: var(--ink); color: var(--yellow); font-family: var(--slab); text-transform: uppercase; line-height: 1; }
.plate__a { font-weight: 900; font-size: clamp(2.6rem, 5.4vw, 5rem); letter-spacing: 0.01em; }
.plate__b { font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.35rem); letter-spacing: 0.06em; margin: 14px 0 18px; }
.plate__c { font-weight: 900; font-size: clamp(2.2rem, 4.4vw, 4rem); }
.plate__d { font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 2rem); margin-top: 8px; }
.plaque__badge { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 18px; margin-bottom: 36px; font: 800 15px/1.2 var(--slab); text-transform: uppercase; letter-spacing: 0.04em; }
.plaque--green .plaque__badge { background: var(--green-ink); color: var(--green); }
.plaque--yellow .plaque__badge { background: var(--ink); color: var(--yellow); }
.plaque__badge span:nth-child(2) { font-weight: 600; font-size: 13px; }
.plaque__lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; max-width: 34ch; }
.plaque__list { list-style: none; margin: 34px 0 0; padding: 0; }
.plaque__list li { font: 800 clamp(2rem, 4vw, 3.4rem)/1.15 var(--slab); letter-spacing: -0.02em; }
.plaque__src { margin-top: 18px; font-size: 15px; max-width: 58ch; }
.plaque--green .plaque__src { color: var(--green-muted); }
.plaque__quote { margin: 40px 0 32px; font: 400 clamp(1.15rem, 1.8vw, 1.5rem)/1.4 var(--slab); max-width: 32ch; }
.plaque__quote cite { display: block; margin-top: 10px; font: 400 15px/1.4 var(--sans); font-style: normal; color: var(--green-muted); }
.plaque--yellow .plaque__src { margin-bottom: 30px; }
.plaque__photo { margin: 0 calc(var(--pad) * -1) 0 0; }
.plaque__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; }
figcaption { margin-top: 10px; font-size: 14px; }
.plaque--green figcaption { color: var(--green-muted); }
@media (max-width: 860px) {
  .plaque { grid-template-columns: 1fr; }
  .plaque--yellow { grid-template-columns: 1fr; }
  .plaque__photo { margin: 0 calc(var(--pad) * -1); }
  .plaque__photo figcaption { padding: 0 var(--pad); }
}

/* Before / after */
.before { padding: var(--gap) var(--pad); }
.before__head { display: grid; grid-template-columns: 42% 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.before__head h2 { margin: 0; }
.before__head p { max-width: 52ch; font-size: 18px; }
.switch__tabs { display: none; background: var(--paper); margin-bottom: 14px; }
.js-switch .switch__tabs { display: inline-flex; }
.switch__tabs button { min-height: 48px; padding: 0 22px; border: 0; background: transparent; color: var(--ink); font: 700 16px/1 var(--slab); cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--settle); }
.switch__tabs button:active { transform: scale(0.97); }
.switch__tabs button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.switch__frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 calc(var(--pad) * -1); }
.js-switch .switch__frame { grid-template-columns: 1fr; gap: 0; }
.js-switch .switch__pane { grid-area: 1 / 1; }
.switch__pane { margin: 0; transition: opacity 400ms var(--inout), filter 400ms var(--inout); }
.switch__pane img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#p-in img { object-position: 60% 75%; }
#p-out img { object-position: 60% 70%; }
.switch__pane figcaption { padding: 0 var(--pad); color: var(--muted); }
.js-switch .switch__pane[hidden] { display: block; opacity: 0; pointer-events: none; filter: blur(2px); visibility: hidden; }
.still .switch__pane { transition: opacity 200ms ease; filter: none; }
.before__note { margin-top: 22px; color: var(--muted); font-size: 15px; }
.before__pair { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.before__pair figure { margin: 0; }
.before__pair img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.before__pair figcaption { color: var(--muted); }
@media (max-width: 760px) {
  .before__head { grid-template-columns: 1fr; }
  .switch__pane img { aspect-ratio: 4 / 5; }
  .before__pair { gap: 10px; }
  .before__pair img { aspect-ratio: 4 / 5; object-position: 55% 60%; }
}

/* Reviews */
.reviews { background: var(--brick); color: var(--brick-ink); padding: var(--gap) var(--pad); }
.reviews__head { display: grid; grid-template-columns: 42% 1fr; gap: 12px 32px; margin-bottom: 56px; }
.reviews__head h2 { grid-row: span 2; }
.reviews__score { font: 400 18px/1.3 var(--sans); color: var(--brick-muted); align-self: end; }
.reviews__score span { font: 800 clamp(3rem, 6vw, 5rem)/1 var(--slab); color: var(--brick-ink); margin-right: 12px; vertical-align: -0.12em; }
.reviews__lede { color: var(--brick-muted); max-width: 52ch; }
.reviews__list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 42% 1fr; }
.reviews__list li { grid-column: 2; padding: 26px 0; }
.reviews__list li:first-child { grid-column: 1 / -1; padding-top: 0; }
.reviews__list li:first-child blockquote { font-size: clamp(1.5rem, 2.6vw, 2.25rem); max-width: 30ch; }
.reviews__list blockquote { margin: 0; font: 400 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--slab); max-width: 46ch; }
.reviews__list p { margin-top: 8px; font-size: 15px; color: var(--brick-muted); }
.reviews .link { margin-left: 42%; }
@media (max-width: 760px) {
  .reviews__head, .reviews__list { grid-template-columns: 1fr; }
  .reviews__list li { grid-column: 1; }
  .reviews .link { margin-left: 0; }
}

/* Visit */
.visit { background: var(--blue); color: var(--blue-ink); padding: var(--gap) var(--pad) calc(var(--gap) * .7); overflow: hidden; }
.visit__num { font: 900 clamp(7rem, 30vw, 28rem)/.8 var(--slab); letter-spacing: -0.04em; color: var(--blue-ink); margin: 0 0 clamp(40px, 6vw, 80px) -0.04em; font-variant-numeric: tabular-nums; }
.visit__grid { display: grid; grid-template-columns: 42% 1fr; gap: 40px 32px; }
.visit__addr { font: 700 clamp(1.6rem, 3vw, 2.5rem)/1.15 var(--slab); }
.visit__status { margin-top: 18px; font-weight: 600; color: var(--blue-muted); }
.visit__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.hours { border-collapse: collapse; font-variant-numeric: tabular-nums; align-self: start; width: 100%; max-width: 520px; }
.hours th, .hours td { text-align: left; padding: 10px 0; font-size: 18px; }
.hours th { font-weight: 400; color: var(--blue-muted); width: 50%; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue-ink); font-weight: 600; }
.hours tr.is-today th::after { content: " · today"; font-weight: 400; color: var(--blue-muted); }
.visit__note { margin-top: 48px; color: var(--blue-muted); font-size: 15px; }
@media (max-width: 760px) { .visit__grid { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--orange); color: var(--ink); padding: clamp(56px, 8vw, 110px) var(--pad) 120px; }
.foot__name { font: 900 clamp(2.6rem, 10.4vw, 10rem)/.9 var(--slab); letter-spacing: -0.03em; }
.foot__row { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot__row p { font-weight: 600; }
.foot .btn--call { background: var(--ink); color: var(--orange); }
.foot__concept { margin-top: 48px; font-size: 14px; color: #3A2A1E; }

/* Phone bar */
.bar { display: none; }
@media (max-width: 760px) {
  .bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; min-height: 52px; align-items: center; justify-content: center; background: var(--orange); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform 250ms var(--settle), opacity 250ms var(--settle); }
  .bar.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* Reveals (JS adds the start state) */
.js-reveal [data-rise].is-pending { opacity: 0; transform: translateY(16px); }
.js-reveal [data-rise] { transition: opacity 900ms var(--settle), transform 900ms var(--settle); }
.still [data-rise] { transition: none; opacity: 1; transform: none; }
.js-reveal [data-reveal].is-pending img { clip-path: inset(0 0 100% 0); }
.js-reveal [data-reveal] img { clip-path: inset(0); transition: clip-path 1100ms var(--settle); }
.still [data-reveal] img { transition: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__photo img, [data-reveal] img { transition: opacity 400ms ease; transform: none; clip-path: none; }
  .js-reveal [data-rise].is-pending { transform: none; }
  .switch__pane { filter: none; }
}
