/* The Ultimate Barber Studio — v2. Art direction: DIRECTION.md */

:root {
  --night: #07080a;
  --graphite: #111216;
  --graphite-2: #17181d;
  --line: rgba(238, 243, 255, 0.1);
  --line-hi: rgba(238, 243, 255, 0.24);
  --led: #eef3ff;
  --fg: #f2f3f5;
  --mute: #9a9ca3;
  --faint: #85878e;
  --brass: #d6b25e;
  --brass-hi: #e6c77b;
  --glow: 0 0 14px rgba(238, 243, 255, 0.55), 0 0 2px rgba(255, 255, 255, 0.9);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* One family everywhere: Cormorant Garamond, the same face as John's ARIA
     branding. The four role tokens stay so each role can be retuned, but they
     all resolve to it. */
  --font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: var(--font);
  --serif: var(--font);
  --mono: var(--font);
  --sans: var(--font);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Cormorant has a small x-height and old-style figures by default. Every size
   in this file was tuned on a larger face, so scale it to match, and keep
   figures lining. Pinned with !important because the `font` shorthand used
   throughout resets both of these on every element that uses it. */
*, *::before, *::after { font-size-adjust: 0.46 !important; font-variant-numeric: lining-nums !important; }
html { background: var(--night); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
.lede, .sec-lede, .finale-lede, .find-note, .quote, blockquote { text-wrap: pretty; }
.finale-lede { text-wrap: balance; }
::selection { background: var(--brass); color: var(--night); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 400;
  padding: 10px 16px; background: var(--brass); color: var(--night);
  font-weight: 600; text-decoration: none; border-radius: 4px;
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ── stage (3D), grain, cursor ──────────────────────────────────────────── */
.stage {
  position: fixed; inset: 0; width: 100%; height: 100vh; z-index: 0;
  opacity: 0; transition: opacity 1.4s var(--ease-io);
}
.stage.on { opacity: 1; }
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { position: relative; z-index: 1; }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none;
  width: 0; height: 0;
}
.cursor::before {
  content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px;
  border: 1px solid rgba(238, 243, 255, 0.5); border-radius: 50%;
  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--night); white-space: nowrap; opacity: 0; transition: opacity 0.25s;
}
.has-cursor .cursor { display: block; }
.cursor.is-link::before { transform: scale(1.5); border-color: var(--brass); }
.cursor.is-label::before { transform: scale(2.5); background: var(--brass); border-color: var(--brass); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hidden::before { opacity: 0; }

/* ── intro: JD's reel title card. ULTIMATE in big glowing white capitals over the
      shop at night, a light flare along its baseline, BUILDING BETTER MEN tracked out below.
      main.js removes it when it ends, when it's tapped, or right away when it isn't playing. ── */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 300; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 4.8vw, 72px);
  background: var(--night);
  animation: intro-out 0.8s var(--ease-io) 2.3s forwards;
}
.js.intro-seen .intro { display: none; }
/* waiting (at most 0.7 s) for the real font, so the letters never change shape mid-reveal */
.font-wait .intro, .font-wait .intro * { animation-play-state: paused; }
/* tap or key: a quick fade instead of waiting out the card */
.js .intro.skip { animation: intro-skip 0.35s var(--ease-io) forwards; }
.intro.skip * { animation-play-state: paused; }
.intro-bg {
  position: absolute; inset: -4%;
  background: url("../media/storefront.jpg") center 30% / cover no-repeat;
  filter: brightness(0.36) saturate(0.8);
  transform: scale(1.12); animation: intro-push 3.2s var(--ease-out) forwards;
}
.intro-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(75% 65% at 50% 50%, rgba(7, 8, 10, 0.1), rgba(7, 8, 10, 0.82));
}
.intro-mark { position: relative; display: block; }
.intro-word {
  position: relative; display: block;
  font: 600 clamp(36px, 14.6vw, 230px)/0.9 var(--display); text-transform: uppercase; color: #fff;
  letter-spacing: 0.035em; margin-right: -0.035em;
  /* the glow scales with the word, so it hugs the letters on a phone instead of fogging them */
  text-shadow: 0 0 0.1em rgba(255, 255, 255, 0.55), 0 0 0.27em rgba(255, 255, 255, 0.32), 0 0 0.64em rgba(238, 243, 255, 0.22);
  opacity: 0; filter: blur(16px); transform: scale(1.14);
  animation: ult-in 1.25s var(--ease-out) 0.2s forwards;
}
/* the glow pulse is a copy of the word that only fades in and out, which phones can do without repainting */
.intro-word::after {
  content: attr(data-text); position: absolute; inset: 0; color: transparent;
  text-shadow: 0 0 0.14em rgba(255, 255, 255, 0.9), 0 0 0.385em rgba(255, 255, 255, 0.55), 0 0 0.9em rgba(238, 243, 255, 0.4);
  opacity: 0; animation: glow-pulse 1.4s ease-in-out 1.25s;
}
/* the flare: a bright streak with a soft bloom along the baseline under "ATE", sweeping in and staying lit */
.intro-flare {
  position: absolute; left: 32%; right: -14%; top: 83%; height: 18%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95) 55%, transparent) center / 100% 2px no-repeat,
    radial-gradient(50% 50% at 55% 50%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22) 45%, transparent 72%);
  opacity: 0; transform: translateX(-70%) scaleX(0.4); mix-blend-mode: screen;
  animation: flare 1.15s var(--ease-io) 0.95s forwards;
}
.intro-tag {
  position: relative;
  font: 600 clamp(12px, 3.3vw, 50px)/1 var(--display); letter-spacing: 0.42em; margin-right: -0.42em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.45);
  opacity: 0; animation: fade 0.7s 1.15s forwards;
}
/* tall phone screens: lift the stack so the tagline sits on the wall, above the OPEN sign */
@media (max-aspect-ratio: 3/4) { .js .intro { padding-bottom: 14svh; } }
@keyframes intro-push { to { transform: scale(1); } }
@keyframes ult-in { to { opacity: 1; filter: none; transform: none; } }
@keyframes glow-pulse { 50% { opacity: 1; } }
@keyframes flare { 30% { opacity: 1; } 100% { opacity: 0.85; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-skip { to { opacity: 0; visibility: hidden; } }

/* ── type primitives ────────────────────────────────────────────────────── */
.display {
  font-family: var(--display); font-weight: 500;
  line-height: 1; letter-spacing: -0.02em; color: var(--fg);
}
.display em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; color: var(--led);
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 400 12px/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
}
.hex {
  flex: none; width: 11px; height: 10px; display: inline-block;
  background: var(--brass);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

/* line mask reveal (only once JS is running) */
.ln { display: block; overflow: hidden; padding: 0.04em 0.14em 0.18em 0; margin: -0.04em 0 -0.18em; }
.ln > span { display: inline-block; }
.js-ready .ln > span { transform: translateY(108%); transition: transform 1s var(--ease-out); }
.js-ready .is-in .ln > span { transform: none; }
.js-ready .is-in .ln:nth-child(2) > span { transition-delay: 0.08s; }
.js-ready .is-in .ln:nth-child(3) > span { transition-delay: 0.16s; }

/* "the fade" — media enters through a soft gradient sweeping bottom → top */
.js-ready .fade {
  -webkit-mask-image: linear-gradient(to top, #000 42%, transparent 58%);
          mask-image: linear-gradient(to top, #000 42%, transparent 58%);
  -webkit-mask-size: 100% 240%; mask-size: 100% 240%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: -webkit-mask-position 1.2s var(--ease-io), mask-position 1.2s var(--ease-io);
}
.js-ready .is-in .fade { -webkit-mask-position: 0 100%; mask-position: 0 100%; }

/* generic block reveal */
.js-ready [data-reveal] :is(.eyebrow, .sec-lede, .lede, .ctas, .rating, .quote, .cite, .links, .addr, .find-note, .finale-lede, .finale-call, .rule, figcaption, blockquote) {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js-ready [data-reveal].is-in :is(.eyebrow, .sec-lede, .lede, .ctas, .rating, .quote, .cite, .links, .addr, .find-note, .finale-lede, .finale-call, .rule, figcaption, blockquote) {
  opacity: 1; transform: none; transition-delay: 0.25s;
}

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 4px;
  font: 600 14px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--night); background: var(--brass); border: 1px solid var(--brass);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.5s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.35s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(0.98); }
.btn.ghost { background: rgba(7, 8, 10, 0.35); color: var(--led); border-color: var(--line-hi); }
.btn.ghost:hover { border-color: var(--led); box-shadow: 0 0 22px rgba(238, 243, 255, 0.16), inset 0 0 12px rgba(238, 243, 255, 0.06); }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 12.5px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas.center { justify-content: center; }

/* ── nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 8, 10, 0.78), rgba(7, 8, 10, 0));
  transition: opacity 0.4s;
}
.nav.solid::before { opacity: 0; }
.nav.solid { background: rgba(7, 8, 10, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand-script { font: italic 400 24px/1 var(--serif); color: var(--led); }
.brand-caps { font: 600 11.5px/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg); }
.nav-links { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 0; text-decoration: none;
  font: 400 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--led); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover { color: var(--led); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav nav { display: none; } }
@media (max-width: 400px) {
  .brand { gap: 6px; }
  .brand-script { font-size: 20px; }
  .brand-caps { font-size: 10px; letter-spacing: 0.18em; }
  .nav .btn.sm { padding: 0 16px; }
}

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; height: 190vh; height: 190svh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.hero-pin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 40% at 50% 8%, rgba(238, 243, 255, 0.12), transparent 70%),
    radial-gradient(90% 30% at 50% 100%, rgba(238, 243, 255, 0.04), transparent 70%);
  transition: opacity 1.4s var(--ease-io);
}
.has-3d .hero-pin::before { opacity: 0; }
.no-3d .hero-pin { background: url("../media/storefront.jpg") center 24% / cover no-repeat; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 8, 10, 0.94) 0%, rgba(7, 8, 10, 0.68) 36%, rgba(7, 8, 10, 0.34) 57%, rgba(7, 8, 10, 0) 72%),
    radial-gradient(130% 80% at 50% 30%, transparent 55%, rgba(7, 8, 10, 0.55) 100%);
}
.no-3d .hero-scrim { background: linear-gradient(to top, rgba(7, 8, 10, 0.96) 0%, rgba(7, 8, 10, 0.7) 45%, rgba(7, 8, 10, 0.35) 100%); }
.hero-dim { position: absolute; inset: 0; background: rgba(7, 8, 10, 0.55); opacity: var(--dim, 0); pointer-events: none; }

.hero-beat { position: absolute; left: 0; right: 0; bottom: clamp(28px, 8vh, 84px); }
.hero-a { opacity: var(--a, 1); transform: translateY(calc((1 - var(--a, 1)) * -48px)); }
.hero-b { opacity: var(--b, 0); transform: translateY(calc((1 - var(--b, 0)) * 48px)); visibility: hidden; }
.hero.a-off .hero-a { visibility: hidden; }
.hero.b-on .hero-b { visibility: visible; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); align-items: end; gap: 48px; }
.hero-title { font-size: clamp(56px, 8.4vw, 132px); margin-top: 22px; }
/* the hero's entrance starts as the title card fades: main.js only marks it .is-in at that moment */
.js-ready .hero.is-in .ln > span { transition-delay: 0.35s; }
.js-ready .hero.is-in .ln:nth-child(2) > span { transition-delay: 0.43s; }
.js-ready .hero.is-in .ln:nth-child(3) > span { transition-delay: 0.51s; }
.js-ready .hero.is-in :is(.eyebrow, .lede, .ctas, .rating) { transition-delay: 0.6s; }
.js-ready .hero.is-in .ctas { transition-delay: 0.7s; }
.js-ready .hero.is-in .rating { transition-delay: 0.8s; }

.hero .eyebrow {
  width: fit-content; padding: 8px 14px 8px 12px; border-radius: 999px; color: #d5d7dc;
  background: rgba(7, 8, 10, 0.62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-side { display: grid; gap: 22px; padding-bottom: 12px; }
.lede { color: #c9cbd1; font-size: 18px; line-height: 1.55; }
.rating { font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.star { color: var(--brass); }

.beat-title { font-size: clamp(46px, 6.6vw, 104px); }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 44px 0 0;
  border-top: 1px solid var(--line-hi);
}
.stats > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 22px 20px 0 0; }
.stats dd {
  margin: 0; font: 500 clamp(40px, 5vw, 72px)/1 var(--display); color: var(--led);
  font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 28px rgba(238, 243, 255, 0.25);
}
.stats dd small { font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-left: 6px; text-shadow: none; }
.stats dt { font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

.scroll-cue {
  position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 14px;
  font: 400 11px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint);
  writing-mode: vertical-rl; opacity: calc(var(--a, 1) * 0.9);
}
.scroll-cue i { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--led); box-shadow: var(--glow); animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

@media (max-width: 900px) {
  .hero { height: 165vh; height: 165svh; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { padding-bottom: 0; }
  .lede { font-size: 16.5px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .stats > div { padding-top: 16px; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 14px; }
  .scroll-cue { display: none; }
  /* keep beat B clear of the booking dock */
  .hero-b { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 900px) {
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.82) 42%, rgba(7, 8, 10, 0.45) 70%, rgba(7, 8, 10, 0.1) 88%, rgba(7, 8, 10, 0) 100%);
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(48px, 14vw, 64px); }
  .hero .rating { display: none; }
  .beat-title { font-size: clamp(38px, 11vw, 54px); }
  .hero-a { bottom: 24px; }
  .hero .ctas .btn { flex: 1 1 auto; }
}

/* ── sections ───────────────────────────────────────────────────────────── */
.section { position: relative; background: var(--night); padding: clamp(96px, 13vw, 168px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 22px; }
@media (min-width: 861px) {
  .sec-head:has(.sec-lede) { grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); align-items: end; column-gap: 48px; }
  .sec-head:has(.sec-lede) .eyebrow { grid-column: 1 / -1; }
  .sec-head:has(.sec-lede) .sec-lede { padding-bottom: 12px; font-size: 17px; }
}
.sec-head .display { font-size: clamp(44px, 6.4vw, 96px); }
.owner-copy .display, .find-copy .display { font-size: clamp(42px, 5.4vw, 80px); }
.sec-lede { max-width: 48ch; color: var(--mute); font-size: 18px; }
.sec-lede a, .find-note a { color: var(--fg); text-decoration-color: var(--line-hi); text-underline-offset: 4px; }
.sec-lede a:hover, .find-note a:hover { color: var(--brass); text-decoration-color: var(--brass); }

.media { position: relative; overflow: hidden; border-radius: 6px; background: var(--graphite); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
figure { margin: 0; }
figcaption {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px;
  font: 400 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute);
}
figcaption .n { color: var(--brass); }

/* ── the work ───────────────────────────────────────────────────────────── */
.gallery {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(16px, 2.6vw, 36px); align-items: start; margin-top: clamp(56px, 7vw, 96px);
}
.tile { will-change: translate; }
.t1 { margin-top: 26%; }
.t3 { margin-top: 11%; }
.t1 .media, .t3 .media { aspect-ratio: 3 / 4; }
.reel .media { aspect-ratio: 9 / 16; }
.tile:hover .media img, .tile:hover .media video { transform: scale(1.04); }
.reel-toggle {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 8, 10, 0.55); border: 1px solid var(--line-hi); color: var(--led); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.25s, background 0.25s;
}
.reel-toggle:hover { border-color: var(--led); background: rgba(7, 8, 10, 0.75); }
.reel-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.reel-toggle[data-state="playing"] .i-play, .reel-toggle[data-state="paused"] .i-pause { display: none; }

@media (max-width: 760px) {
  .gallery {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 74%; margin-top: 0 !important; scroll-snap-align: start; translate: none !important; }
  .reel { order: -1; }
  .t1 .media, .t3 .media, .reel .media { aspect-ratio: 3 / 4.6; }
}

/* the cut wall — square tiles under the three feature tiles */
.wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(40px, 5vw, 72px);
}
.wall-tile .media { aspect-ratio: 1; }
.wall-tile figcaption { margin-top: 12px; min-height: 2.8em; align-content: start; font-size: 11.5px; letter-spacing: 0.12em; }
.wall-tile:hover .media img { transform: scale(1.05); }
.wall-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; font: 400 12px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.wall-note a { color: var(--fg); text-decoration-color: var(--line-hi); text-underline-offset: 4px; }
.wall-note a:hover { color: var(--brass); text-decoration-color: var(--brass); }
@media (max-width: 760px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .wall-tile figcaption { font-size: 10.5px; letter-spacing: 0.1em; }
}

/* ── the menu ───────────────────────────────────────────────────────────── */
.menu-list { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; border-top: 1px solid var(--line-hi); }
.lit-row { position: relative; }
.lit-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--led); box-shadow: var(--glow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out);
}
.lit-row:hover::after, .lit-row:focus-visible::after { transform: scaleX(1); }
.item {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) 84px 112px;
  align-items: baseline; gap: 28px; padding: 34px 0 30px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.item-name { font: 500 clamp(26px, 2.8vw, 40px)/1.05 var(--display); letter-spacing: -0.01em; }
.item-desc { color: var(--mute); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.item-time { font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); text-align: right; }
.item-price {
  font: 500 clamp(34px, 3.6vw, 52px)/1 var(--display); text-align: right; font-variant-numeric: lining-nums tabular-nums;
  transition: color 0.3s, transform 0.6s var(--ease-out);
}
.item-book {
  position: absolute; right: 0; top: 12px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass);
  opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.item:hover .item-price, .item:focus-visible .item-price { color: var(--brass); transform: translateX(-6px); }
.item:hover .item-book, .item:focus-visible .item-book { opacity: 1; transform: none; }
.menu-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; font: 400 13px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }

@media (max-width: 860px) {
  .item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "desc desc" "time book"; gap: 12px 16px; padding: 26px 0 24px; }
  .item-name { grid-area: name; }
  .item-price { grid-area: price; }
  .item-desc { grid-area: desc; }
  .item-time { grid-area: time; text-align: left; }
  .item-book { grid-area: book; position: static; opacity: 1; transform: none; justify-self: end; }
}

/* ── the visit ──────────────────────────────────────────────────────────── */
.steps-wrap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.rail { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.rail i {
  position: absolute; inset: 0; background: var(--led); box-shadow: var(--glow);
  transform: scaleX(var(--fill, 0)); transform-origin: left;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.step { position: relative; padding-top: 42px; }
.step::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--night); border: 1px solid var(--line-hi); transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.step.lit::before { background: var(--led); border-color: var(--led); box-shadow: var(--glow); }
.step .n { font: 400 12px/1 var(--mono); letter-spacing: 0.18em; color: var(--brass); }
.step h3 { font: 500 clamp(30px, 2.8vw, 40px)/1.05 var(--display); margin: 16px 0 12px; color: var(--mute); transition: color 0.5s; }
.step.lit h3 { color: var(--fg); }
.step p { color: var(--mute); font-size: 15.5px; max-width: 30ch; }
.review { margin: clamp(72px, 9vw, 128px) 0 0; max-width: 780px; }
@media (min-width: 861px) { .review { margin-left: auto; } }
.review blockquote { margin: 0; font: italic 400 clamp(28px, 3.2vw, 44px)/1.22 var(--serif); color: var(--fg); letter-spacing: -0.01em; }
.review figcaption { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
@media (max-width: 860px) {
  .rail { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .rail i { transform: scaleY(var(--fill, 0)); transform-origin: top; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { padding: 0 0 0 40px; }
  .step::before { left: 0; top: 2px; }
  .step h3 { margin-top: 10px; }
}

/* ── the bench ──────────────────────────────────────────────────────────── */
.owner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.owner-photo .media { aspect-ratio: 4 / 5; }
.owner-photo img { object-position: 50% 30%; }
.owner-copy { display: grid; gap: 0; }
.owner-copy .display { margin-top: 22px; }
.quote { margin: 30px 0 12px; font: italic 400 clamp(21px, 2.1vw, 28px)/1.38 var(--serif); color: var(--fg); }
.cite { font: 400 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.link {
  --mx: 0px; --my: 0px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none;
  background: rgba(17, 18, 22, 0.6); transform: translate(var(--mx), var(--my));
  transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease-out);
}
.link span:first-child { min-width: 0; }
.link b { display: block; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.link small { display: block; margin-top: 2px; font: 400 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.link .arrow { flex: none; color: var(--brass); transition: transform 0.4s var(--ease-out); }
.link:hover { border-color: var(--line-hi); background: var(--graphite-2); }
.link:hover .arrow { transform: translateX(4px); }

.bench { margin-top: clamp(80px, 10vw, 128px); border-top: 1px solid var(--line-hi); }
.bench-title { padding: 22px 0 6px; font: 400 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.chair {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: baseline; gap: 20px;
  padding: 24px 0 22px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.chair-n { font: 400 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.chair-name { font: 500 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -0.01em; }
.chair-name small { display: inline-block; margin-left: 12px; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--mute); vertical-align: middle; }
.chair-book { font: 500 11px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); transition: color 0.3s; }
.chair:hover .chair-book { color: var(--brass); }

@media (max-width: 860px) {
  .owner { grid-template-columns: 1fr; }
  .owner-photo .media { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 560px) {
  .links { grid-template-columns: 1fr; }
  .chair { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n book" "name name"; gap: 10px; }
  .chair-n { grid-area: n; }
  .chair-book { grid-area: book; }
  .chair-name { grid-area: name; }
  .chair-name small { display: block; margin: 8px 0 0; }
}

/* ── find us ────────────────────────────────────────────────────────────── */
.find { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.find-photo .media { aspect-ratio: 4 / 5; }
.find-photo img { object-position: 50% 18%; }
.find-copy { display: grid; }
.find-copy .display { margin-top: 22px; }
.addr { margin: 32px 0 30px; font: 400 clamp(24px, 2.4vw, 32px)/1.3 var(--display); font-style: normal; }
.find-note { margin-top: 26px; color: var(--mute); max-width: 44ch; }
@media (max-width: 860px) {
  .find { grid-template-columns: 1fr; }
  .find-photo { order: 2; }
  .find-photo .media { aspect-ratio: 4 / 4.2; }
  .find-copy .ctas .btn { flex: 1 1 auto; }
}

/* ── finale ─────────────────────────────────────────────────────────────── */
.finale {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 140px 0; border-top: 1px solid var(--line);
}
.finale::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--night) 0%, rgba(7, 8, 10, 0.12) 24%, rgba(7, 8, 10, 0.18) 76%, var(--night) 100%),
    radial-gradient(48% 40% at 50% 52%, rgba(7, 8, 10, 0.86), rgba(7, 8, 10, 0.5) 62%, transparent 100%);
}
@media (max-width: 860px) {
  .finale::before {
    background:
      linear-gradient(to bottom, var(--night) 0%, rgba(7, 8, 10, 0.2) 20%, rgba(7, 8, 10, 0.3) 80%, var(--night) 100%),
      radial-gradient(100% 46% at 50% 50%, rgba(7, 8, 10, 0.92), rgba(7, 8, 10, 0.62) 66%, transparent 100%);
  }
  .finale .ctas { flex-direction: column; align-items: stretch; width: min(100%, 340px); }
  .finale-lede { font-size: 17px; max-width: 28ch; }
}
.no-3d .finale::before { background: radial-gradient(70% 60% at 50% 100%, rgba(214, 178, 94, 0.14), transparent 70%); }
.finale .wrap { position: relative; display: grid; justify-items: center; gap: 0; }
.rule { font: 400 12px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.finale .display { margin-top: 26px; font-size: clamp(50px, 8.6vw, 140px); }
.finale .display .ln > span { padding: 0 0.04em; }
.finale-lede { margin-top: 26px; color: #c9cbd1; font-size: 19px; }
.finale .ctas { margin-top: 36px; }
.finale-call { margin-top: 24px; font: 400 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.finale-call a { color: var(--fg); text-decoration: none; }
.finale-call a:hover { color: var(--brass); }

/* ── footer + dock ──────────────────────────────────────────────────────── */
.footer { position: relative; background: var(--night); border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font: 400 12px/1.6 var(--mono); letter-spacing: 0.08em; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--mute); text-decoration: none; }
.footer a:hover { color: var(--led); }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 8, 10, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.5s var(--ease-out);
}
.dock.show { transform: none; }
.dock .btn { min-height: 50px; }
@media (min-width: 861px) { .dock { display: none; } }
@media (max-width: 860px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ── "how'd you find us?" dialog ────────────────────────────────────────── */
.ask {
  width: min(92vw, 460px); max-height: 92vh; padding: 0; margin: auto;
  border: 1px solid var(--line-hi); border-radius: 12px;
  background: var(--graphite); color: var(--fg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.ask::backdrop { background: rgba(7, 8, 10, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ask[open] { animation: ask-in 0.4s var(--ease-out); }
@keyframes ask-in { from { opacity: 0; transform: translateY(14px); } }
.ask-inner { position: relative; display: grid; gap: 12px; padding: 30px 24px 18px; outline: none; }
.ask-title { font-size: clamp(34px, 8vw, 46px); margin-top: 4px; }
.ask-sub { color: var(--mute); font-size: 15px; }
.ask-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ask-options button {
  min-height: 52px; padding: 10px 14px; border-radius: 6px; cursor: pointer; text-align: left;
  border: 1px solid var(--line-hi); background: rgba(7, 8, 10, 0.45); color: var(--fg);
  font: 500 15px/1.25 var(--sans);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.3s;
}
.ask-options button.wide { grid-column: 1 / -1; }
.ask-options button:hover, .ask-options button:focus-visible {
  border-color: var(--led); background: rgba(238, 243, 255, 0.06); box-shadow: 0 0 18px rgba(238, 243, 255, 0.12);
}
.ask-options button:active { transform: scale(0.98); }
.ask-skip {
  justify-self: center; padding: 10px; background: none; border: 0; cursor: pointer; color: var(--mute);
  font: 400 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-hi);
}
.ask-skip:hover { color: var(--fg); }
.ask-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: none; color: var(--mute); font-size: 26px; line-height: 1; cursor: pointer;
}
.ask-close:hover { color: var(--fg); background: rgba(238, 243, 255, 0.06); }
@media (prefers-reduced-motion: reduce) { .ask[open] { animation: none; } }

/* ── one family: the small tracked-caps labels need a little more weight in a
      high-contrast serif than they had in the mono, or the hairlines vanish ── */
:is(.eyebrow, .nav-links a, figcaption, .rating, .stats dt, .stats dd small, .item-time, .item-book,
    .menu-note, .step .n, .cite, .link small, .bench-title, .chair-n, .chair-book, .chair-name small,
    .rule, .finale-call, .footer-inner, .intro-tag, .scroll-cue, .wall-note, .ask-skip, .cursor-label) {
  font-weight: 600;
}

/* ── host badge clearance (set by main.js only when Netlify's badge is present) ── */
.has-badge .footer { padding-bottom: calc(var(--badge-space) + 24px); }
@media (max-width: 900px) {
  .has-badge .hero-a { bottom: var(--badge-space); }
  .has-badge .hero-b { bottom: calc(96px + var(--badge-space)); }
}
@media (max-width: 860px) {
  .has-badge .dock {
    bottom: var(--badge-space); transform: translateY(calc(110% + var(--badge-space)));
    box-shadow: 0 var(--badge-space) 0 0 rgba(7, 8, 10, 0.94);
  }
  .has-badge .dock.show { transform: none; }
  .has-badge .footer { padding-bottom: calc(var(--badge-space) + 104px); }
}

/* ── reduced motion: no travel, no masks, no pinning ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .intro { display: none; }
  .js-ready .ln > span { transform: none !important; transition: none !important; }
  .js-ready .fade { -webkit-mask-image: none; mask-image: none; }
  .js-ready [data-reveal] :is(.eyebrow, .sec-lede, .lede, .ctas, .rating, .quote, .cite, .links, .addr, .find-note, .finale-lede, .finale-call, .rule, figcaption, blockquote) { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; gap: 72px; padding: 120px 0 56px; }
  .hero-beat { position: relative; bottom: auto; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .hero-dim { opacity: 0.5; }
  .scroll-cue { display: none; }
  .scroll-cue i::after { animation: none; }
  .tile { translate: none !important; }
  .btn, .link { transform: none !important; }
  .stage { transition: none; }
}
