/* ============================================================
   CUSTOM — Per-store overrides for Template TF
   Loaded last, so it wins over theme.css and style.css.
   ============================================================ */

/* ---------- store functional fixes (kept from the build) ---------- */

/* Rakesh 2026-10-29: overflow:hidden makes min-height 0, so 26 categories shrank instead of scrolling - keep full height, sidebar scrolls */
.menu-buttons .menu-button { flex-shrink: 0; }

/* Back-to-top button vs footer credit */
@media (max-width:1365px){ .foot-legal{ padding-right: calc(1.4rem + 3rem + .75rem); } }

/* Menu page TBT (Halal Oven lesson): 83 live dishes render off-screen lazily. */
.menu-items .menu-item, #menu-items .menu-item { content-visibility: auto; contain-intrinsic-size: auto 120px; }

/* PT line length (18.5): reading text stays under 75 characters per line at every width. */
p, li, dd, blockquote, figcaption { max-width: min(55ch, 100%) !important; }
/* 55ch cap re-centred inside centred blocks only */
.cs-content > .cs-text, .cta-content > p, .cta-phone, .pass__head .lede, .cta-band .lede { margin-left: auto; margin-right: auto; }

/* CLS: until components.js injects the header, the breadcrumb fallback
   holds the header's measured height (topline + header). */
body:not(.header-loaded) .breadcrumb-container { min-height: 67px; box-sizing: border-box; }
@media (min-width: 901px) { body:not(.header-loaded) .breadcrumb-container { min-height: 123px; } }


/* ============================================================
   KARAHI MASTER — PREMIUM LAYER (dil-tak.ca design language)

   Two grounds, alternating: CREAM is the paper (menu card,
   editorial, proof) and INK is the room (arrival, the kitchen,
   the invitation). A gold hairline is the seam between them.
   ============================================================ */

:root {
  /* ---- accessible accents ------------------------------------
     --brand gold is an ornament colour on cream: correct for
     rules, frames and large display type, not for body copy.
     These two are the text-safe versions.                      */
  --gild-ink: #7a5a22;   /* gold, darkened for text on cream — 5.6:1 */
  --dil-ink: #9a0f09;    /* logo red, darkened for text on cream — 7.4:1 */

  /* ---- the room ---------------------------------------------- */
  --room: var(--brand-2);
  --room-2: #1d1916;
  --room-line: rgba(212, 168, 75, 0.28);  /* gold hairline on ink */
  --candle: #e6c98c;     /* candlelight on brass — text on ink  */

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

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   1 · TYPE — Bodoni Moda over Jost
   ============================================================ */

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;
  line-height: 1.08;
}

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

h1 em,
h2 em,
h3 em,
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gild-ink);
}

.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
   ============================================================ */

.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;
  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,
.btn--butter {
  background: var(--brand);
  color: var(--brand-2);
  box-shadow: none;
  border: 1px solid var(--brand);
}

.btn .arrow,
.btn--butter .arrow {
  color: var(--brand-2);
  background: transparent;
}

.btn:hover,
.btn--butter:hover {
  background: #e0bc6e;
  border-color: #e0bc6e;
  color: var(--brand-2);
  transform: none;
  box-shadow: none;
}

/* legacy template buttons on the landing / place / dish pages follow the same gold square */
.cs-button-solid,
.btn--green {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px !important;
  background: var(--brand) !important;
  color: var(--brand-2) !important;
  border: 1px solid var(--brand) !important;
  box-shadow: none !important;
}

.cs-button-solid:hover,
.btn--green:hover {
  background: #e0bc6e !important;
  border-color: #e0bc6e !important;
  color: var(--brand-2) !important;
  transform: none;
}

.cs-button-solid::before,
.cs-button-solid::after {
  border-radius: 2px !important;
}

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

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

.on-ink .btn-line,
.hero-room .btn-line,
.cta-band .btn-line {
  color: #f7f2e9;
  border-color: var(--room-line);
}

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

/* the mobile floating order bar and the drawer CTA follow the gold button */
.order-float,
.site-nav .nav-extra .btn {
  color: var(--brand-2) !important;
}

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

.site-topline {
  background: var(--room);
  color: rgba(247, 242, 233, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

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

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

/* transparent 570x170 logo, sized by height so the box keeps the file's ratio */
.brand img {
  width: auto;
  height: 62px;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.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"
   Copy on the left, a portrait photo framed like a doorway on
   the right. On a phone the same portrait becomes the full
   background behind the copy.
   ============================================================ */

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

.hero-room::before {
  display: none;
}

.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;
}

.hero-room__copy > * {
  max-width: 100%;
}

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

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

.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 !important;
  margin-bottom: 2.4rem;
}

.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 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(19, 17, 16, 0.1) 0%,
    rgba(19, 17, 16, 0) 42%,
    rgba(19, 17, 16, 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);
}

.hero-room .sb-ico,
.hero-room .sb-cell:last-child .sb-ico {
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid var(--room-line);
  border-radius: 0;
  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% !important;
    font-size: 0.98rem;
    margin-inline: auto;
  }

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

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

  /* the portrait photo becomes the whole background on a phone */
  .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(19, 17, 16, 0.82) 0%,
      rgba(19, 17, 16, 0.68) 45%,
      rgba(19, 17, 16, 0.9) 100%
    );
  }
}

/* ============================================================
   5 · THE PASS — Room · Grill · Plate
   ============================================================ */

.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 !important;
}

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

.pass-clip {
  position: relative;
  margin: 0;
  height: clamp(420px, 44vw, 560px);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--room-line);
}

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

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

.pass-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(19, 17, 16, 0.12) 0%,
    rgba(19, 17, 16, 0) 30%,
    rgba(19, 17, 16, 0.42) 100%
  );
}

.pass-clip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.15rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--candle);
}

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

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

.plate {
  border-radius: 0;
  border: 1px solid var(--paper-line);
  box-shadow: none;
  background: #fffdf8;
  overflow: hidden;
  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;
  transition: transform 1.3s var(--ease-lux);
}

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

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

.plate h3 a {
  color: inherit;
}

.plate .plate-foot {
  font-family: var(--font-body);
  font-weight: 500;
  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,
.arrow-btn {
  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;
}

.story-copy .chip::before {
  content: "";
  width: 5px;
  height: 5px;
  rotate: 45deg;
  background: var(--brand);
  flex: none;
}

.story-copy .lede a {
  color: var(--gild-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

.qa summary {
  font-family: var(--font-display);
  font-weight: 500;
}

.qa .qa-ico {
  border-radius: 0;
  color: var(--gild-ink);
}

.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);
}

/* the template's highlighter stroke under <em>: cream on ink turned a
   two-line heading into a block, so on the dark bands it is a gold tint */
.menu-band h2 em,
.cta-band h2 em,
.pass__head h2 em {
  background: none;
  padding: 0;
}

/* style.css puts a cream glow behind the CTA (made for a light band);
   on ink it washed out the copy, so it becomes a faint gold warmth */
.cta-band::before {
  background: radial-gradient(
    circle,
    rgba(212, 168, 75, 0.1) 0%,
    transparent 68%
  );
}

.cta-band .lede {
  color: rgba(247, 242, 233, 0.82);
}

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

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

.cta-band .lede {
  color: rgba(247, 242, 233, 0.78);
}

.cta-band .chip {
  background: rgba(247, 242, 233, 0.045);
  border: 1px solid var(--room-line);
  color: rgba(247, 242, 233, 0.82);
}

.cta-band .chip .dot {
  color: var(--brand);
}

.cat-tile {
  background: rgba(247, 242, 233, 0.045);
  border: 1px solid var(--room-line);
  border-radius: 0;
  font-weight: 400;
}

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

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

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

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

.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-3);
}

/* ============================================================
   9 · FIND US
   ============================================================ */

.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-box .map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}

.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;
}

.info-card {
  border-radius: 0;
}

.info-card .ic {
  border-radius: 0;
  color: var(--gild-ink);
}

.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,
  .visit-box .map-frame iframe {
    min-height: 300px;
  }

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

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

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

/* the light logo variant carries itself on the black ground — no plate */
.foot-brand img {
  width: 190px;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.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);
}

.foot-social a {
  border-radius: 0;
}

/* ============================================================
   11 · INNER PAGES — page heroes and cards follow the same
   paper / ink language (about, menu, our food, contact, tags)
   ============================================================ */

.page-hero,
.sub-hero {
  border-radius: 0;
}

.menu-button,
.active-button,
.menu-item,
.info-card,
.board-card,
.dropdown-content {
  border-radius: 0 !important;
}

.active-button {
  background: var(--room) !important;
  color: var(--candle) !important;
}

/* ============================================================
   12 · FLOOR
   ============================================================ */

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

html,
body {
  overflow-x: clip;
}

/* ============================================================
   13 · MOTION — one orchestrated moment, then quiet
   ============================================================ */

.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);
}

.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);
}

.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);
}

.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; }

[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;
}

.site-footer h4:hover::after,
.fonts-ready .site-footer h4::after {
  transform: scaleX(1);
}

[data-reveal] {
  transform: translateY(18px);
  transition: opacity 1s var(--ease-lux), transform 1.05s var(--ease-lux);
}

.pass-clip[data-reveal] {
  transform: translateY(22px) scale(1.025);
}

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

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

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

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

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

.site-header.is-stuck .brand img {
  height: 48px;
}

/* ============================================================
   14 · MOBILE
   ============================================================ */

@media (max-width: 900px) {
  .brand img {
    height: 50px;
  }

  .site-header.is-stuck .brand img {
    height: 42px;
  }

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

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

  .hero-reel::after {
    background: linear-gradient(
      180deg,
      rgba(19, 17, 16, 0.8) 0%,
      rgba(19, 17, 16, 0.6) 42%,
      rgba(19, 17, 16, 0.9) 100%
    );
  }

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

  .hero-room .h1-name {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
  }

  .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;
  }

  .hero-room__copy {
    text-shadow: 0 1px 14px rgba(19, 17, 16, 0.82),
      0 0 3px rgba(19, 17, 16, 0.5);
  }

  .hero-room .hero-actions .btn,
  .hero-room .hero-actions .btn-line {
    text-shadow: none;
  }
}

@media (max-width: 430px) {
  .hero-room .kicker--light {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 600px) {
  .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%;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  /* three portrait frames as one swipeable row, the next one peeking */
  .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;
    max-height: 70vh;
    scroll-snap-align: center;
  }

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

  [data-reveal] {
    transform: translateY(12px);
  }
}

/* ============================================================
   15 · REDUCED MOTION
   ============================================================ */

@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;
  }

  .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,
  .pass-clip img,
  .cat-tile .arrow,
  .brand img,
  .site-header .wrap {
    transition: none;
  }

  .plate:hover img,
  .pass-clip:hover img {
    transform: none;
  }
}
