@font-face { font-family: "Archivo"; src: url(../fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(../fonts/inter-tight-var.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ground: #E7E5E1;
  --ground-2: #DCD9D3;
  --ink: #171615;
  --muted: #55524D;
  --red: #C21F24;
  --red-deep: #9E171B;
  --deep: #1C1B1A;
  --deep-ink: #ECE9E3;
  --deep-muted: #B4AEA6;
  --yellow: #F2C200;
  --pad: clamp(20px, 4vw, 64px);
  --nav-h: 72px;
  --settle: cubic-bezier(.22, 1, .36, 1);
  --inout: cubic-bezier(.65, 0, .25, 1);
  --t-control: 220ms;
  --t-enter: 900ms;
  --t-scene: 1200ms;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Inter Tight", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html:not(.motion-off) { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--text); caret-color: var(--red); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.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; z-index: 50; background: var(--ink); color: var(--deep-ink); padding: 12px 16px; }
.skip:focus { top: 12px; }
.need { color: var(--red-deep); font-weight: 600; }
.small { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

h1, h2, .street, .foot-name, .wordmark, .job, .big {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.92; margin: 0;
}
h2 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 800; font-stretch: 72%; text-wrap: balance; margin-bottom: 28px; }
.lede { max-width: 46ch; margin: 0 0 40px; font-size: 19px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  font: 600 16px/1 var(--text); text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color var(--t-control) ease, color var(--t-control) ease, transform 160ms var(--settle);
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); color: #fff; }
.btn-light { background: var(--deep-ink); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--deep-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-red:hover { background: var(--red-deep); }
  .btn-light:hover { background: #fff; }
  .btn-ink:hover { background: #000; }
  .textlink:hover { color: var(--red); }
}
.textlink { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  color: var(--deep-ink); transition: background-color 300ms ease, color 300ms ease;
}
.nav.solid { background: var(--ground); color: var(--ink); }
.wordmark { font-size: 24px; font-weight: 800; font-stretch: 70%; text-decoration: none; margin-right: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
@media (hover: hover) and (pointer: fine) { .nav ul a:hover { text-decoration: underline; } }
.motion {
  font: 600 14px/1 var(--text); color: inherit; background: none; border: 0; min-height: 44px; padding: 0 4px; cursor: pointer;
  transition: transform 160ms var(--settle);
}
.motion:active { transform: scale(0.97); }
.motion span { opacity: 0.7; }
.nav-call { min-height: 44px; font-size: 15px; }

/* Coilover gauge */
.gauge { position: fixed; left: 14px; bottom: 32px; z-index: 5; display: none; }
@media (min-width: 1200px) { .gauge { display: block; } }
.gauge-spring { transform-origin: 20px 44px; }
.gauge-body { transform-origin: 20px 246px; }

/* Hero: a dark type column beside the photo on desktop, full-bleed photo on phones */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); background: var(--deep); color: var(--deep-ink); overflow: hidden; }
.hero-media { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.js:not(.motion-off) .hero-media img { animation: settle var(--t-scene) var(--settle) both; }
@keyframes settle { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero-scrim { position: relative; grid-column: 2; grid-row: 1; align-self: start; height: 140px; pointer-events: none; background: linear-gradient(to bottom, rgba(23,22,21,.7), rgba(23,22,21,0)); } /* taste-skill-ignore: neutral scrim over the hero photo, behind the nav */
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; padding: calc(var(--nav-h) + 32px) var(--pad) clamp(40px, 7vh, 72px); }
.hero h1 { font-size: clamp(56px, 6.8vw, 124px); font-weight: 900; font-stretch: 62%; }
.hero-line { font-size: clamp(19px, 1.6vw, 24px); margin: 24px 0 6px; max-width: 26ch; font-weight: 500; }
.hero-facts { margin: 0 0 28px; color: var(--deep-muted); font-size: 16px; font-variant-numeric: tabular-nums; max-width: 34ch; }
.hero-facts .dot { margin: 0 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rating { margin: 20px 0 0; font-size: 14px; color: var(--deep-muted); }

/* The work */
.work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); padding: clamp(96px, 14vw, 200px) var(--pad) clamp(72px, 9vw, 140px); align-items: start; }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; }
.board li + li { border-top: 4px solid var(--ink); }
.board li:first-child { padding-top: 0; }
.job { font-size: clamp(36px, 4.6vw, 72px); font-weight: 800; font-stretch: 74%; }
.count { font-size: 15px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.board-small { list-style: none; padding: 24px 0 0; margin: 20px 0 0; columns: 2; column-gap: 32px; font-size: 16px; border-top: 4px solid var(--ink); }
.board-small li { padding: 4px 0; break-inside: avoid; }
.board-small span { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 6px; }
.note { margin: 28px 0 0; max-width: 52ch; font-size: 16px; }
.work-photo { margin: 0 calc(var(--pad) * -1) 0 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.work-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 60%; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.work-photo figcaption { padding-right: var(--pad); }

/* The floor */
.floor { padding: clamp(72px, 9vw, 140px) 0 clamp(96px, 12vw, 180px); }
.floor-text { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 32px; align-items: end; margin-bottom: 56px; }
.floor-text h2 { margin: 0; }
.floor-text p { max-width: 48ch; margin: 0; font-size: 19px; }
.floor-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.floor-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.floor-photos figure { margin: 0; }
.floor-photos figure:first-child img { object-position: 50% 22%; }
.floor-photos figure:nth-child(2) img { object-position: 50% 50%; }
.floor-photos figcaption { padding: 0 var(--pad); }
.floor-photos figure:nth-child(2) figcaption { padding-left: 16px; }

/* Reviews: dark band */
.reviews { background: var(--deep); color: var(--deep-ink); padding: clamp(96px, 12vw, 180px) var(--pad); }
.reviews h2 { font-weight: 700; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.score { margin: 0; }
.big { display: block; font-size: clamp(140px, 20vw, 300px); font-weight: 700; font-stretch: 66%; line-height: 0.8; color: var(--deep-ink); font-variant-numeric: tabular-nums; }
.of { display: block; margin-top: 20px; color: var(--deep-muted); font-size: 16px; }
.quotes blockquote { margin: 0 0 48px; }
.quotes blockquote p { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; font-weight: 500; margin: 0 0 14px; max-width: 30ch; letter-spacing: -0.01em; }
.quotes footer { color: var(--deep-muted); font-size: 15px; }
.reviews .textlink { color: var(--deep-ink); }
@media (hover: hover) and (pointer: fine) { .reviews .textlink:hover { color: var(--yellow); } }

/* Book */
.book { padding: clamp(96px, 12vw, 180px) var(--pad); }
.book-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.note-builder fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.note-builder legend, .field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--ground-2); font-weight: 500; font-size: 16px; transition: background-color var(--t-control) ease, color var(--t-control) ease; }
.chips input:checked + span { background: var(--ink); color: var(--deep-ink); }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chips input:not(:checked):hover + span { background: #CFCBC4; } }
.field { display: block; margin-bottom: 20px; max-width: 460px; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 14px; font: 400 17px var(--text); color: var(--ink);
  background: var(--ground-2); border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171615' stroke-width='2'/%3E%3C/svg%3E"); background-position: calc(100% - 16px) 50%; background-repeat: no-repeat; }
.ticket { background: var(--deep); color: var(--deep-ink); padding: 24px; margin: 28px 0 16px; max-width: 560px; }
.ticket-label { margin: 0 0 8px; font-size: 14px; color: var(--deep-muted); }
.ticket-text { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 500; }
.ticket-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hours { background: var(--ground-2); padding: 28px; }
.status { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 20px/1.2 var(--text); }
.lamp { width: 14px; height: 14px; background: var(--muted); flex: none; }
.status.open .lamp { background: var(--red); }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 17px; }
.hours th, .hours td { text-align: left; padding: 10px 0; font-weight: 400; }
.hours td { text-align: right; }
.hours tr + tr th, .hours tr + tr td { border-top: 2px solid var(--ground); }
.hours tr.today th, .hours tr.today td { font-weight: 700; }

/* Visit */
.visit { padding: clamp(72px, 9vw, 140px) 0 clamp(96px, 12vw, 180px); background: var(--ground-2); }
.street { font-size: clamp(40px, 9.4vw, 160px); font-weight: 900; font-stretch: 125%; padding: 0 var(--pad); white-space: nowrap; line-height: 0.85; margin-bottom: clamp(40px, 5vw, 72px); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 60%; }
.visit-photo figcaption { padding-left: var(--pad); }
.visit-text { padding-right: var(--pad); }
.addr { font-family: var(--display); font-weight: 800; font-stretch: 74%; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.95; margin: 0 0 20px; }
.visit-text p { max-width: 40ch; }
.visit-cta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }

/* Footer */
.foot { background: var(--ink); color: var(--deep-ink); padding: clamp(72px, 9vw, 120px) var(--pad) 40px; }
.foot-name { font-size: clamp(56px, 12.4vw, 200px); font-weight: 900; font-stretch: 62%; white-space: nowrap; line-height: 0.82; border-bottom: 10px solid var(--red); padding-bottom: 6px; }
.foot-facts { margin: 28px 0 8px; font-size: 16px; font-variant-numeric: tabular-nums; }
.concept { margin: 0; font-size: 14px; color: var(--deep-muted); max-width: 80ch; }

/* Sticky phone bar */
.sticky { display: none; }

/* Reveals: visible by default, JS adds the start state */
.js:not(.motion-off) .reveal.pending.ready img { clip-path: inset(0 0 100% 0); }
.js:not(.motion-off) .reveal img { transition: clip-path var(--t-enter) var(--settle); clip-path: inset(0); }

@media (prefers-reduced-motion: reduce) {
  .js .hero-media img { animation: none !important; }
  .js .reveal.pending.ready img { clip-path: inset(0) !important; }
  .js .reveal img { transition: opacity 400ms ease !important; }
}

/* Tablet and phone */
@media (max-width: 980px) {
  .nav ul { display: none; }
  .work, .reviews-grid, .book-grid, .visit-grid { grid-template-columns: 1fr; }
  .work-photo { position: static; margin: 0 calc(var(--pad) * -1); }
  .work-photo figcaption { padding: 0 var(--pad); }
  .floor-text { grid-template-columns: 1fr; gap: 0; }
  .floor-text h2 { margin-bottom: 24px; }
  .visit-text { padding: 0 var(--pad); order: -1; }
}
@media (max-width: 700px) {
  :root { --nav-h: 60px; }
  body { font-size: 17px; }
  .nav { gap: 12px; }
  .wordmark { font-size: 21px; }
  .nav-call { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero-media { grid-column: 1; grid-row: 1; height: 50svh; min-height: 360px; }
  .hero-media img { object-position: 50% 12%; }
  .hero-scrim { grid-column: 1; height: 96px; }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 24px var(--pad) 96px; }
  .hero h1 { font-size: 16.4vw; }
  .hero-line { margin-top: 14px; }
  .hero-facts { margin-bottom: 20px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-rating { display: none; }
  .work { padding-top: 88px; }
  .board li { flex-direction: column; gap: 2px; padding: 12px 0; }
  .board-small { columns: 1; }
  .floor-photos { grid-template-columns: 1fr; gap: 28px; }
  .floor-photos figure:first-child { display: none; }
  .floor-photos figure:nth-child(2) figcaption { padding-left: var(--pad); }
  .floor-photos figure:first-child img { aspect-ratio: 4 / 5; }
  .big { font-size: 140px; }
  .ticket-cta .btn, .visit-cta .btn { flex: 1 1 100%; }
  .hours { margin: 0 calc(var(--pad) * -1); padding: 28px var(--pad); }
  .street { font-size: 11vw; font-stretch: 100%; }
  .visit-photo img { aspect-ratio: 4 / 3; }
  .foot { padding-bottom: 110px; }
  .foot-name { font-size: 15.4vw; white-space: normal; }
  .sticky {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink);
    transition: transform 300ms var(--settle);
  }
  .sticky .btn { flex: 1; min-height: 50px; }
  .sticky.away { transform: translateY(110%); }
}
