@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..700&family=Jost:ital,wght@0,300..600;1,300..500&display=swap");

/* ============================================================
   DIL TAK — PREMIUM LAYER
   Loaded last, so it wins over theme.css and style.css.

   The brief: fine dining, not fast casual. The logo already
   settles the argument — a high-contrast Didone wordmark, gold
   filigree, a heart-knot monogram in deep red. This layer makes
   the site agree with its own logo.

   Two grounds, alternating: CREAM is the paper (menu card,
   editorial, proof) and INK is the room at night (arrival,
   the kitchen, the invitation). A gold hairline is the seam
   between them, never a decorative flourish on its own.
   ============================================================ */

:root {
  /* ---- accessible accents ------------------------------------
     --brand gold (#a8874e) is a 3.0:1 ornament colour on cream:
     correct for rules, frames and large display type, unusable
     for body copy. These two are the text-safe versions.       */
  --gild-ink: #7a5a22;   /* gold, darkened for text on cream — 5.6:1 */
  --dil-ink: #96131c;    /* heart red, darkened for text on cream — 6.2:1 */

  /* ---- the room ---------------------------------------------- */
  --room: #0c0c0c;       /* the field: video1's background      */
  --room-2: #171310;     /* raised surface inside the room      */
  --room-line: rgba(168, 135, 78, 0.28);  /* gold hairline on ink */
  --candle: #e3c489;     /* candlelight on brass — text on ink  */

  /* ---- paper -------------------------------------------------- */
  --paper-line: rgba(23, 19, 16, 0.12);

  /* fine dining sits still; it does not bounce */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* the long settle used for reveals — fast out, very slow in */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   1 · TYPE — Bodoni Moda over Jost
   The wordmark is a Didone, so the headlines are a Didone. Jost
   is the 1930s geometric that menus have set their small type in
   for a century; it keeps its shape at 0.75rem and 0.2em tracking
   where a humanist face turns to mush.
   ============================================================ */

:root {
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", sans-serif;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.005em;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;   /* Didones need air, not tightening */
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

/* the template set accents in raw brand gold — unreadable as text */
h1 em,
h2 em,
h3 em,
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gild-ink);
}

/* ---- kicker: a menu-card label, not a tag ---- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gild-ink);
}

.kicker::before {
  width: 1.9rem;
  height: 1px;
  border-radius: 0;
  background: var(--brand);
}

.lede {
  font-size: 1.06rem;
  line-height: 1.72;
}

/* ============================================================
   2 · BUTTONS
   Gold leaf on a black menu: gold ground, ink text (7.4:1).
   The template had white on gold at 2.4:1, which failed.
   ============================================================ */

.btn,
.btn-line,
.btn-ghost {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;              /* pills read casual; squares read reserved */
  padding: 1.05rem 1.9rem;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn {
  background: var(--brand);
  color: #0c0c0c;
  box-shadow: none;
  border: 1px solid var(--brand);
}

.btn:hover {
  background: #c2a065;
  border-color: #c2a065;
  color: #0c0c0c;
  transform: none;
  box-shadow: none;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--paper-line);
}

.btn-line:hover {
  background: transparent;
  border-color: var(--ink);
  transform: none;
}

/* ghost sitting on the dark stage */
.on-ink .btn-line,
.hero-room .btn-line {
  color: #f7f2e9;
  border-color: var(--room-line);
}

.on-ink .btn-line:hover,
.hero-room .btn-line:hover {
  border-color: var(--brand);
  color: var(--candle);
}

/* ============================================================
   3 · HEADER
   ============================================================ */

.site-topline {
  background: var(--room);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--paper-line);
}

.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

/* the logo art is already transparent — the template's white card,
   padding and shadow were framing a mark that needs no frame */
.brand img {
  width: 158px;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* the active-page pill reads as a button next to real buttons */
.site-nav a.active,
.site-nav a[aria-current="page"] {
  background: none;
  color: var(--gild-ink);
  position: relative;
}

.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 1px;
  background: var(--brand);
}

/* ============================================================
   4 · HERO — "the room at night"
   The footage is 720×1280. A 9:16 clip stretched across a 16:9
   desktop hero throws away three quarters of the frame, so on
   desktop it stays portrait and is framed like a doorway into
   the dining room. On a phone, 9:16 IS the viewport, so the same
   clip becomes the full background. One asset, used honestly at
   both sizes.
   ============================================================ */

.hero-room {
  background: var(--room);
  min-height: clamp(600px, 88vh, 860px);
  color: #f7f2e9;
}

.hero-room::before {
  display: none;          /* template scrim: the ground is already ink */
}

.hero-room__grid {
  margin-block: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.66fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

.hero-room__copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

/* A flex column with align-items other than `stretch` sizes children
   shrink-to-fit, so `max-width: 34rem` on the lede stops being a cap
   and becomes an actual 544px width — wider than a phone. Every child
   is held to the column instead. */
.hero-room__copy > * {
  max-width: 100%;
}

.hero-room .kicker--light {
  color: var(--candle);
}

.hero-room .kicker--light::before {
  background: var(--brand);
}

/* the name carries the page; the descriptor is a subtitle under it */
.hero-room h1 {
  margin: 1.4rem 0 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fdfaf4;
}

.hero-room .h1-name {
  display: block;
  font-size: clamp(3.4rem, 7.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.hero-room .h1-rest {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--candle);
  line-height: 1.5;
}

.hero-room .hero-full__tag {
  color: rgba(247, 242, 233, 0.82);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  max-width: 34rem;
  margin-bottom: 2.4rem;
}

/* the address link that used to vanish into the photo */
.hero-room .hero-full__tag em,
.hero-room .hero-full__tag a {
  font-style: normal;
  font-weight: 500;
  color: var(--candle);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--room-line);
}

.hero-room .hero-full__tag a:hover {
  text-decoration-color: var(--brand);
}

.hero-room .hero-actions {
  justify-content: flex-start;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ---- the doorway ---- */
.hero-reel {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  max-height: 540px;
  justify-self: end;
  width: 100%;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--room-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.hero-reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* light spills from the frame the way it spills from the lamps */
.hero-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.1) 0%,
    rgba(12, 12, 12, 0) 42%,
    rgba(12, 12, 12, 0.62) 100%
  );
}

.hero-reel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.25rem;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--candle);
}

/* ---- the fold-line store bar ---- */
.hero-room .store-bar {
  background: rgba(247, 242, 233, 0.04);
  border: 1px solid var(--room-line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.15rem 1.25rem;
}

.hero-room .sb-title,
.hero-room .store-bar strong {
  color: #fdfaf4;
}

.hero-room .store-bar span,
.hero-room .sb-body span {
  color: rgba(247, 242, 233, 0.68);
}

/* these icons are drawn with currentColor — some filled, some stroked.
   Setting `fill` here would override the stroked ones' fill="none" and
   collapse the clock into a solid disc, so only `color` is set. */
.hero-room .sb-ico {
  background: rgba(168, 135, 78, 0.12);
  border: 1px solid var(--room-line);
  border-radius: 0;
  color: var(--brand);
}

.hero-room .sb-cell:last-child .sb-ico {
  background: rgba(168, 135, 78, 0.12);
  color: var(--brand);
}

@media (max-width: 900px) {
  .hero-room__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-room__copy {
    align-items: stretch;
    text-align: center;
  }

  .hero-room h1 {
    margin-top: 1.1rem;
  }

  .hero-room .h1-rest {
    letter-spacing: 0.2em;
    font-size: 0.74rem;
  }

  .hero-room .hero-full__tag {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .hero-room {
    min-height: min(88vh, 720px);
  }

  .hero-room .hero-actions {
    justify-content: center;
  }

  .hero-room .hero-full__tag {
    margin-inline: auto;
  }

  /* 9:16 footage in a 9:16 viewport — the clip finally fits */
  .hero-reel {
    position: absolute;
    inset: 0;
    max-height: none;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    z-index: -1;
    border: 0;
    box-shadow: none;
  }

  .hero-reel figcaption {
    display: none;
  }

  .hero-reel::after {
    background: linear-gradient(
      180deg,
      rgba(12, 12, 12, 0.82) 0%,
      rgba(12, 12, 12, 0.68) 45%,
      rgba(12, 12, 12, 0.9) 100%
    );
  }
}

/* ============================================================
   5 · THE PASS — Room · Fire · Plate
   Three clips that are genuinely a sequence: the room you walk
   into, the flame it is cooked over, the plate it arrives on.
   Numbering is earned here in a way it is not on a dish grid.
   ============================================================ */

.pass {
  background: var(--room);
  color: #f7f2e9;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.pass .kicker {
  color: var(--candle);
}

.pass .kicker::before {
  background: var(--brand);
}

.pass__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.pass__head h2 {
  color: #fdfaf4;
  font-weight: 400;
  margin-top: 1.1rem;
  max-width: 20ch;
  text-wrap: balance;
}

.pass__head h2 em {
  color: var(--candle);
}

.pass__head .lede {
  color: rgba(247, 242, 233, 0.7);
  margin-top: 1.1rem;
  max-width: 46ch;
}

.pass__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

.pass-clip {
  position: relative;
  margin: 0;
  /* capping height on a 9/16 box shrinks its width too and leaves the
     three frames rattling around inside their columns; fix the height
     and let object-fit crop the portrait footage instead */
  height: clamp(420px, 44vw, 560px);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--room-line);
}

.pass-clip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.pass-clip:hover video {
  transform: scale(1.03);
}

/* a light foot-shadow so the three clips sit as one set against the
   ink ground; there is no text over them to protect any more */
.pass-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.12) 0%,
    rgba(12, 12, 12, 0) 30%,
    rgba(12, 12, 12, 0.42) 100%
  );
}

@media (max-width: 860px) {
  .pass__grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }

  .pass-clip {
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

/* ============================================================
   7 · PAPER SECTIONS — the menu card
   ============================================================ */

.plates,
.story,
.quotes,
.faq,
.visit-sec {
  background: var(--canvas);
}

/* dish cards: square corners, hairline, no drop shadow. The
   template's "NO. 01 / 02 / 03" is removed in the markup —
   three signature dishes are a set, not a sequence.          */
.plate {
  border-radius: 0;
  border: 1px solid var(--paper-line);
  box-shadow: none;
  background: #fffdf8;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.plate:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: none;
}

.plate img {
  border-radius: 0;
}

.plate h3 {
  font-weight: 500;
  font-size: 1.4rem;
}

.plate .plate-foot {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gild-ink);
}

.story-collage .img-a,
.story-collage .img-b,
.story-collage img,
.map-frame,
.visit-box,
.qa,
.quote-card,
.chip {
  border-radius: 0 !important;
}

.story-copy .chip {
  border: 1px solid var(--paper-line);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  gap: 0.6rem;
}

/* the emoji that used to sit here read as a chat message; a gold
   lozenge says the same thing in the language the rest of the page
   is already speaking */
.story-copy .chip::before {
  content: "";
  width: 5px;
  height: 5px;
  rotate: 45deg;
  background: var(--brand);
  flex: none;
}

/* Bodoni sets &ldquo; as two heavy balls — at 5rem in a pale tint they
   read as loading spinners parked in the corner of every review card.
   The blockquote is already marked up as a quote; the ornament goes. */
.quote-card .qmark {
  display: none;
}

/* ratings are gold like every other accent, not the monogram red */
.quote-card .stars,
.quotes-intro .chip .dot,
.hero-room .sb-cell:last-child .sb-ico {
  color: var(--brand);
}

.quote-card {
  background: #fffdf8;
  border: 1px solid var(--paper-line);
  box-shadow: none;
}

/* FAQ links — inherited from the old sheet, retuned to the palette */
.qa .qa-body a {
  color: var(--gild-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.qa .qa-body a:hover {
  color: var(--dil-ink);
}

/* ============================================================
   8 · INK SECTIONS — menu band + closing invitation
   ============================================================ */

.menu-band,
.cta-band {
  background: var(--room);
  border-radius: 0;
}

.menu-band h2,
.cta-band h2 {
  font-weight: 400;
  color: #fdfaf4;
}

.menu-band h2 em,
.cta-band h2 em {
  color: var(--candle);
}

.menu-band .kicker,
.cta-band .kicker {
  color: var(--candle);
}

.menu-band .kicker::before,
.cta-band .kicker::before {
  background: var(--brand);
}

.cta-band .cta-phone a {
  color: var(--candle);
}

/* menu tiles: gold, square, hairline — the template's white-on-hover
   flip inverted the whole band and pulled focus off the copy */
.cat-tile {
  background: rgba(247, 242, 233, 0.045);
  border: 1px solid var(--room-line);
  border-radius: 0;
  font-weight: 400;
}

.cat-tile .arrow,
.cat-tile:hover .arrow {
  color: var(--brand);
}

.cat-tile:hover {
  background: rgba(168, 135, 78, 0.14);
  border-color: var(--brand);
  color: #fdfaf4;
  transform: none;
  box-shadow: none;
}

.cat-tile:hover::before {
  color: var(--brand);
}

/* the collage sticker's red star, brought in line with the accents */
.story-collage .sticker {
  border-radius: 0;
  border: 1px solid var(--paper-line);
  box-shadow: none;
}

.story-collage .sticker .ico,
.story-collage .sticker svg {
  color: var(--brand);
}

/* ============================================================
   9 · FIND US  (carried over — layout only)
   ============================================================ */

.visit-sec {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}

.visit-sec .sec-head {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.6rem;
}

.visit-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.1rem, 2.6vw, 1.75rem);
  align-items: stretch;
  background: #fffdf8;
  border: 1px solid var(--paper-line);
  box-shadow: none;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.visit-box .map-frame {
  min-height: 420px;
  box-shadow: none;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visit-details > h3 {
  font-size: 1.45rem;
  font-weight: 500;
}

.visit-details .hours-table {
  margin-top: 0;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.25rem;
}

@media (max-width: 900px) {
  .visit-box {
    grid-template-columns: 1fr;
  }

  .visit-box .map-frame {
    min-height: 300px;
  }

  .visit-actions {
    justify-content: center;
  }
}

/* ============================================================
   10 · FOOTER
   ============================================================ */

.site-footer {
  background: var(--room);
}

/* The mark is black type, gold filigree and a red monogram — it needs
   a light ground to exist at all, so on the dark footer it gets a
   deliberate cream plate rather than the template's floating white
   sticker. Square, generous, printed-menu-card. */
.foot-brand img {
  width: 150px;
  background: var(--canvas);
  border-radius: 0;
  padding: 0.85rem 1rem;
}

.site-footer h4 {
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--candle);
}

.site-footer h4::after {
  width: 1.9rem;
  height: 1px;
  border-radius: 0;
  background: var(--brand);
}

.site-footer a:hover {
  color: var(--candle);
}

/* ============================================================
   11 · FLOOR
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pass-clip video,
  .hero-reel video {
    transition: none;
  }

  .pass-clip:hover video {
    transform: none;
  }
}

/* nothing on this site should ever scroll sideways; if a future change
   overflows, it clips here instead of shifting the whole page */
html,
body {
  overflow-x: clip;
}

/* ============================================================
   12 · MOTION
   One orchestrated moment, then quiet.

   The hero is the only place that performs: on load it comes up
   the way house lights do before service — rule, name, subtitle,
   copy, then the doorway. Everything below it is a plain fade,
   and hairlines draw themselves because a rule that draws reads
   as a rule being ruled. Nothing bounces, nothing springs.

   Every rule in this section is switched off wholesale by the
   reduced-motion block at the end of the file.
   ============================================================ */

/* ---------- the hero cascade ---------- */

/* held in their start state until JS adds .is-lit, so the sequence
   can wait for the Didone to load and not animate a fallback face */
.hero-room .kicker--light,
.hero-room .h1-name,
.hero-room .h1-rest,
.hero-room .hero-full__tag,
.hero-room .hero-actions,
.hero-room .store-bar {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease-lux), transform 1s var(--ease-lux);
}

/* the wordmark lifts out from behind a mask rather than sliding —
   a Didone this large should be revealed, not moved */
.hero-room .h1-name {
  clip-path: inset(108% 0 0 0);
  transform: translateY(0.14em);
  transition: clip-path 1.25s var(--ease-lux), opacity 0.7s var(--ease-lux),
    transform 1.25s var(--ease-lux);
}

/* letter-spacing settles inward as it fades up; the tracking value
   itself lives in a custom property so the mobile override still wins */
.hero-room .h1-rest {
  --track: 0.3em;
  letter-spacing: calc(var(--track) + 0.22em);
  transition: opacity 1s var(--ease-lux), letter-spacing 1.3s var(--ease-lux),
    transform 1s var(--ease-lux);
}

.hero-reel {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.3s var(--ease-lux), transform 1.7s var(--ease-lux);
}

.hero-room .kicker--light::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.95s var(--ease-lux);
}

/* --- lit --- */
.hero-room.is-lit .kicker--light            { opacity: 1; transform: none; transition-delay: 0.10s; }
.hero-room.is-lit .kicker--light::before    { transform: scaleX(1);        transition-delay: 0.18s; }
.hero-room.is-lit .hero-reel                { opacity: 1; transform: none; transition-delay: 0.18s; }
.hero-room.is-lit .h1-name                  { opacity: 1; clip-path: inset(-14% 0 -12% 0); transform: none; transition-delay: 0.34s; }
.hero-room.is-lit .h1-rest                  { opacity: 1; transform: none; letter-spacing: var(--track); transition-delay: 0.72s; }
.hero-room.is-lit .hero-full__tag           { opacity: 1; transform: none; transition-delay: 0.88s; }
.hero-room.is-lit .hero-actions             { opacity: 1; transform: none; transition-delay: 1.02s; }
.hero-room.is-lit .store-bar                { opacity: 1; transform: none; transition-delay: 1.16s; }

/* ---------- hairlines draw on reveal ---------- */

[data-reveal] .kicker::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-lux) 0.22s;
}

[data-reveal].is-in .kicker::before {
  transform: scaleX(1);
}

.site-footer h4::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-lux) 0.2s;
}

[data-reveal].is-in .site-footer h4::after,
.site-footer h4:hover::after,
.site-footer.is-in h4::after {
  transform: scaleX(1);
}

/* the footer is not wrapped in a reveal, so its rules simply draw once
   the fonts are up rather than waiting on a scroll event that may
   never come on a short screen */
.fonts-ready .site-footer h4::after {
  transform: scaleX(1);
}

/* ---------- section reveals, retuned ---------- */

/* the template lifted everything 24px in 0.75s, which reads brisk.
   A longer, shorter-travel settle reads considered. */
[data-reveal] {
  transform: translateY(18px);
  transition: opacity 1s var(--ease-lux), transform 1.05s var(--ease-lux);
}

/* clips arrive with a touch of scale so the frame feels like it
   settles into place rather than sliding in */
.pass-clip[data-reveal] {
  transform: translateY(22px) scale(1.025);
}

.pass-clip[data-reveal].is-in {
  transform: none;
}

/* ---------- restrained interaction ---------- */

.plate {
  overflow: hidden;
}

.plate img {
  transition: transform 1.3s var(--ease-lux);
}

.plate:hover img {
  transform: scale(1.05);
}

.cat-tile .arrow {
  transition: transform 0.5s var(--ease-lux);
}

.cat-tile:hover .arrow {
  transform: translate(3px, -3px);
}

/* ---------- header condenses once you leave the hero ---------- */

.site-header .wrap {
  transition: padding-block 0.4s var(--ease-lux);
}

.brand img {
  transition: width 0.4s var(--ease-lux);
}

.site-header.is-stuck .wrap {
  padding-block: 0.35rem;
}

.site-header.is-stuck .brand img {
  width: 124px;
}

/* ============================================================
   13 · MOBILE
   The phone is where most of this traffic lands, and 9:16 footage
   was shot for exactly this screen. Give the video more room, the
   wordmark more size, and stop asking anyone to scroll past three
   full-height clips stacked end to end.
   ============================================================ */

@media (max-width: 900px) {
  /* the header was eating a fifth of the first screen */
  .brand img {
    width: 124px;
  }

  .site-header.is-stuck .brand img {
    width: 104px;
  }

  .site-header .wrap {
    padding-block: 0.5rem;
  }

  .site-topline {
    font-size: 0.68rem;
  }

  /* let the room show through. The copy still sits on 0.78 at the top
     and 0.88 at the foot, which is where the text actually is. */
  .hero-reel::after {
    background: linear-gradient(
      180deg,
      rgba(12, 12, 12, 0.78) 0%,
      rgba(12, 12, 12, 0.52) 42%,
      rgba(12, 12, 12, 0.9) 100%
    );
  }

  .hero-room__grid {
    padding-block: clamp(2.5rem, 9vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  }

  /* the name is the whole hero on a phone — let it be big */
  .hero-room .h1-name {
    font-size: clamp(3.9rem, 17vw, 5.6rem);
  }

  /* centred text left the leading rule stranded out on its own */
  .hero-room .kicker--light::before {
    display: none;
  }

  .hero-room .kicker--light {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    justify-content: center;
  }

  .hero-room .hero-full__tag {
    line-height: 1.68;
    margin-bottom: 1.9rem;
  }

  /* Lightening the scrim let the room through but put live video behind
     live text, and a bright frame can pull the copy under AA. A shadow
     travels with the glyphs, so legibility no longer depends on which
     second of the clip is on screen. */
  .hero-room__copy {
    text-shadow: 0 1px 14px rgba(12, 12, 12, 0.82),
      0 0 3px rgba(12, 12, 12, 0.5);
  }

  /* the buttons carry their own ground and must not inherit it */
  .hero-room .hero-actions .btn,
  .hero-room .hero-actions .btn-line {
    text-shadow: none;
  }
}

@media (max-width: 430px) {
  /* stops "& BAR" being orphaned on a line of its own */
  .hero-room .kicker--light {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 600px) {
  /* two buttons of different widths side by side read as an accident;
     stacked and equal, they read as a choice */
  .hero-room .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero-room .hero-actions .btn,
  .hero-room .hero-actions .btn-line {
    width: 100%;
  }
}

@media (max-width: 860px) {
  /* Three 9:16 clips stacked is roughly two thousand pixels of scroll
     for one idea. As a snap carousel it is one screen, and the 82%
     card width leaves the next clip peeking so the swipe is obvious. */
  .pass__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    max-width: none;
    margin-inline: 0;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .pass__grid::-webkit-scrollbar {
    display: none;
  }

  .pass-clip {
    height: auto;
    aspect-ratio: 9 / 16;
    scroll-snap-align: center;
  }

  .pass__head {
    margin-bottom: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* shorter travel on a small screen, or the reveal reads as a jump */
  [data-reveal] {
    transform: translateY(12px);
  }
}

/* ============================================================
   14 · REDUCED MOTION
   Anyone who has asked their system for stillness gets the finished
   state immediately — nothing animates, nothing is left invisible.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero-room .kicker--light,
  .hero-room .h1-name,
  .hero-room .h1-rest,
  .hero-room .hero-full__tag,
  .hero-room .hero-actions,
  .hero-room .store-bar,
  .hero-reel,
  .pass-clip[data-reveal],
  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  /* only the subtitle animates its tracking, so only the subtitle needs
     it pinned — applying this to the whole list above would re-letter
     the page for anyone who asked for less motion */
  .hero-room .h1-rest {
    letter-spacing: var(--track);
  }

  .hero-room .kicker--light::before,
  [data-reveal] .kicker::before,
  .site-footer h4::after {
    transform: scaleX(1);
    transition: none;
  }

  .plate img,
  .cat-tile .arrow,
  .brand img,
  .site-header .wrap {
    transition: none;
  }

  .plate:hover img {
    transform: none;
  }
}
