/* ============================================================
   Maison Malécot — premium
   Drenched teal · cream · brass
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:          oklch(0.19 0.022 188);
  --bg-elev:     oklch(0.23 0.026 187);
  --surface:     oklch(0.30 0.034 190);
  --teal:        oklch(0.56 0.045 195);
  --teal-light:  oklch(0.70 0.050 200);
  --ink:         oklch(0.95 0.018 92);
  --ink-soft:    oklch(0.82 0.016 92);
  --ink-faint:   oklch(0.66 0.014 92);
  --brass:       oklch(0.74 0.088 78);
  --brass-light: oklch(0.84 0.075 80);
  --cream:       oklch(0.95 0.015 92);

  --bg-rgb: 14 28 27;

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Albert Sans", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.15rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.15rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.5rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 5.5rem);

  --space-section: clamp(5rem, 4rem + 9vh, 10rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 3rem);
  --measure: 66ch;
  --maxw: 1280px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --z-nav: 100;
  --z-scrim: 200;
  --z-modal: 300;

  --radius: 3px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }

.display {
  font-family: var(--font-display);
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brass);
}
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: var(--measure); }
.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose p + p { margin-top: 1.1em; }

/* section heading pattern */
.sec-title {
  font-size: var(--step-4);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sec-title.lc { text-transform: none; letter-spacing: -0.01em; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.wrap-wide { width: min(100% - var(--gutter) * 2, 1520px); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: var(--space-section); }
.stack > * + * { margin-top: var(--flow, 1.4rem); }

/* brass hairline with wheat motif */
.rule {
  display: flex; align-items: center; gap: 1rem;
  color: var(--brass);
}
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--brass) 55%, transparent));
}
.rule::after { background: linear-gradient(270deg, transparent, color-mix(in oklch, var(--brass) 55%, transparent)); }
.rule .dot { width: 5px; height: 5px; rotate: 45deg; background: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.95em 1.7em; border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out-expo), background-color 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease-out-expo); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--brass); color: oklch(0.2 0.02 80); box-shadow: 0 1px 0 color-mix(in oklch, var(--brass-light) 60%, transparent) inset; }
.btn-primary:hover { background: var(--brass-light); transform: translateY(-2px); box-shadow: 0 12px 30px -12px color-mix(in oklch, var(--brass) 70%, transparent); }
.btn-ghost { border: 1px solid color-mix(in oklch, var(--ink) 40%, transparent); color: var(--ink); }
.btn-ghost:hover { background: color-mix(in oklch, var(--ink) 8%, transparent); border-color: var(--ink); transform: translateY(-2px); }

/* link with underline sweep */
.link-u { position: relative; color: var(--teal-light); }
.link-u::after { content:""; position:absolute; left:0; bottom:-2px; width:100%; height:1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out-expo); }
.link-u:hover::after { transform: scaleX(1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: clamp(1rem, 2vh, 1.6rem) var(--gutter);
  transition: background-color 0.5s var(--ease-out-expo), backdrop-filter 0.5s, box-shadow 0.5s, padding 0.5s var(--ease-out-expo);
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 color-mix(in oklch, var(--ink) 10%, transparent);
  padding-block: clamp(0.7rem, 1.4vh, 1rem);
}
.nav__meta { display: flex; gap: 1.6rem; align-items: center; font-size: var(--step--1); color: var(--ink-soft); }
.nav__meta a { display: inline-flex; align-items: center; gap: 0.5em; }
.nav__meta svg { width: 15px; height: 15px; stroke: var(--brass); }
.nav__logo { justify-self: center; }
.nav__logo img { height: clamp(30px, 5vh, 40px); width: auto; transition: height 0.5s var(--ease-out-expo); }
.nav__cta { justify-self: end; display: flex; align-items: center; gap: 1.4rem; }
.nav__link { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em; }
.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__meta { display: none; }
  .nav__logo { justify-self: start; }
  .nav__cta .nav__link { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); }
.hero__media::after {
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 20%, transparent 30%, color-mix(in oklch, var(--bg) 55%, transparent) 100%),
    linear-gradient(to bottom, color-mix(in oklch, var(--bg) 68%, transparent) 0%, color-mix(in oklch, var(--bg) 22%, transparent) 38%, color-mix(in oklch, var(--bg) 92%, transparent) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(4rem, 12vh, 9rem); padding-top: 8rem; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__quote {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.6rem);
  line-height: 1.05; letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero__quote .amp { color: var(--brass); font-style: italic; }
.hero__sub { margin-top: 1.8rem; font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.hero__cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 1.6rem; z-index: 1;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
}
.hero__scroll .line { width: 46px; height: 1px; background: var(--ink-faint); transform-origin: left; animation: scrollLine 2.6s var(--ease-out-quart) infinite; }
@keyframes scrollLine { 0%,100%{ transform: scaleX(0.3); opacity:.4 } 50%{ transform: scaleX(1); opacity:1 } }

/* ---------- Pillars ---------- */
.pillars { background: var(--bg-elev); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: clamp(2rem, 4vw, 3.5rem); text-align: center; position: relative; }
.pillar + .pillar { border-left: 1px solid color-mix(in oklch, var(--ink) 12%, transparent); }
.pillar__icon { width: 58px; height: 58px; margin: 0 auto 1.4rem; opacity: 0.92; }
.pillar h3 { font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem; }
.pillar p { color: var(--ink-soft); font-size: var(--step-0); max-width: 32ch; margin-inline: auto; }
@media (max-width: 760px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: none; border-top: 1px solid color-mix(in oklch, var(--ink) 12%, transparent); }
}

/* ---------- Histoire (arch) ---------- */
.story__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.arch {
  position: relative;
  border-radius: 50% 50% var(--radius) var(--radius) / 42% 42% 0 0;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgb(var(--bg-rgb) / 0.9);
}
.arch::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--brass) 40%, transparent); border-radius: inherit; }
.arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.story__body .eyebrow { margin-bottom: 1.1rem; }
.story__body h2 { font-size: var(--step-3); margin-bottom: 0.4rem; }
.story__kicker { font-family: var(--font-display); font-size: var(--step-1); color: var(--teal-light); margin-bottom: 1.6rem; }
.story__quote {
  position: relative;
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.32;
  color: var(--ink); margin: 2rem 0; padding-left: 2.6rem;
}
.story__quote::before {
  content: "\201C"; position: absolute; left: -0.1rem; top: -0.7rem;
  font-family: var(--font-display); font-size: 3.4em; line-height: 1;
  color: var(--brass); opacity: 0.8;
}
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .arch { max-width: 440px; margin-inline: auto; }
}

/* ---------- Univers (mosaic) ---------- */
.univers__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.univers__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
}
.tile { position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out-expo); }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content:""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgb(var(--bg-rgb) / 0.92) 0%, rgb(var(--bg-rgb) / 0.35) 42%, transparent 72%);
}
.tile__cap { position: absolute; z-index: 2; inset: auto 0 0 0; padding: clamp(1.2rem, 2.4vw, 2rem); }
.tile__cap h3 { font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.tile__cap p { color: var(--ink-soft); font-size: var(--step--1); max-width: 42ch; }
.tile__num { font-family: var(--font-display); color: var(--brass); font-size: var(--step-0); }
/* spans */
.t-pain      { grid-column: span 7; aspect-ratio: 16/10; }
.t-patisserie{ grid-column: span 5; aspect-ratio: 4/5; }
.t-salon     { grid-column: span 5; aspect-ratio: 4/5; }
.t-vienno    { grid-column: span 7; aspect-ratio: 16/10; }
.t-epicerie  { grid-column: span 6; aspect-ratio: 16/11; }
.t-snacking  { grid-column: span 6; aspect-ratio: 16/11; }
@media (max-width: 820px) {
  .univers__grid { grid-template-columns: 1fr 1fr; }
  .tile { grid-column: span 1 !important; aspect-ratio: 1/1 !important; }
}
@media (max-width: 520px) {
  .univers__grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4/3 !important; }
}

/* ---------- Gallery marquee ---------- */
.gallery { padding-block: clamp(3rem, 6vh, 6rem); background: var(--bg-elev); overflow: hidden; }
.gallery__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.marquee { display: flex; gap: 1.2rem; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__item { width: clamp(220px, 26vw, 380px); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; flex: none; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
.marquee__item.land { aspect-ratio: 4/3; width: clamp(280px, 32vw, 480px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Boutique / hours ---------- */
.boutique { background: var(--surface); position: relative; overflow: hidden; }
.boutique__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.boutique__media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -50px rgb(var(--bg-rgb)); aspect-ratio: 3/2; }
.boutique__media img { width: 100%; height: 100%; object-fit: cover; }
.hours { width: 100%; border-collapse: collapse; margin: 1.8rem 0; }
.hours th, .hours td { padding: 0.72rem 0; text-align: left; border-bottom: 1px solid color-mix(in oklch, var(--ink) 14%, transparent); font-size: var(--step-0); }
.hours th { font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--step--1); color: var(--ink); }
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours .closed td { color: var(--ink-faint); }
.info-list { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.info-list li { display: flex; align-items: baseline; gap: 0.9rem; color: var(--ink-soft); }
.info-list svg { width: 17px; height: 17px; stroke: var(--brass); flex: none; translate: 0 2px; }
.note { margin-top: 1.6rem; font-size: var(--step--1); color: var(--ink-soft); }
.note strong { color: var(--brass); font-weight: 600; }
@media (max-width: 860px) { .boutique__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Testimonials ---------- */
.avis { text-align: center; }
.avis__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.avis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.avis__item { padding: clamp(1.6rem, 3vw, 2.6rem); text-align: left; }
.avis__item + .avis__item { border-left: 1px solid color-mix(in oklch, var(--ink) 12%, transparent); }
.avis__stars { color: var(--brass-light); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 1.2rem; }
.avis__quote { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; color: var(--ink); }
.avis__who { margin-top: 1.4rem; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass); }
@media (max-width: 820px) {
  .avis__grid { grid-template-columns: 1fr; }
  .avis__item + .avis__item { border-left: none; border-top: 1px solid color-mix(in oklch, var(--ink) 12%, transparent); }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding-top: clamp(4rem, 8vh, 7rem); padding-bottom: 2.5rem; position: relative; overflow: hidden; }
.footer__mono { position: absolute; right: -4%; bottom: -14%; width: min(46%, 520px); opacity: 0.05; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); position: relative; z-index: 1; }
.footer__brand img { height: 46px; margin-bottom: 1.6rem; }
.footer__brand p { color: var(--ink-soft); max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--step--1); color: var(--brass); margin-bottom: 1.3rem; }
.footer__col a, .footer__col li { color: var(--ink-soft); }
.footer__col li + li { margin-top: 0.7rem; }
.footer__hours { display: grid; grid-template-columns: auto auto; gap: 0.4rem 1.4rem; color: var(--ink-soft); font-size: var(--step--1); }
.footer__hours .d { color: var(--ink); }
.footer__social { display: flex; gap: 1rem; margin-top: 0.4rem; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid color-mix(in oklch, var(--ink) 22%, transparent); border-radius: 50%; transition: all 0.4s var(--ease-out-expo); }
.footer__social a:hover { background: var(--brass); border-color: var(--brass); color: var(--bg); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bar { margin-top: clamp(3rem, 6vh, 5rem); padding-top: 1.6rem; border-top: 1px solid color-mix(in oklch, var(--ink) 12%, transparent); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); color: var(--ink-faint); position: relative; z-index: 1; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Boutique page ---------- */
.subhero { min-height: 62svh; display: grid; align-items: end; position: relative; overflow: hidden; }
.subhero__media { position:absolute; inset:0; z-index:0; }
.subhero__media img { width:100%; height:100%; object-fit: cover; transform: scale(1.05); }
.subhero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, color-mix(in oklch, var(--bg) 58%, transparent), color-mix(in oklch, var(--bg) 30%, transparent) 45%, color-mix(in oklch, var(--bg) 94%, transparent)); }
.subhero__inner { position: relative; z-index: 1; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 9rem; }
.subhero h1 { font-size: var(--step-5); text-transform: uppercase; letter-spacing: 0.02em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.rev .split__media { order: 2; }
.split__body h2 { font-size: var(--step-3); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 1.4rem; }
.cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cluster img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.cluster .tall { grid-row: span 2; aspect-ratio: 3/4; }
.cluster .wide { aspect-ratio: 4/3; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.rev .split__media { order: 0; }
}

.atelier-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.5rem,5vw,4rem); }
.atelier-strip img { aspect-ratio: 3/4; object-fit: cover; width:100%; height:100%; border-radius: var(--radius); }
@media (max-width: 720px) { .atelier-strip { grid-template-columns: 1fr 1fr; } }

.fullbleed-team { position: relative; }
.fullbleed-team img { width: 100%; max-height: 82vh; object-fit: cover; }

/* ---------- Hero entrance (JS-gated) ---------- */
.js .hero__media img { transform: scale(1.14); }
.js .hero__eyebrow, .js .hero__quote, .js .hero__sub, .js .hero__cta { opacity: 0; transform: translateY(30px); }
.js.loaded .hero__media img { transform: scale(1.06); transition: transform 1.6s var(--ease-out-expo); }
.js.loaded .hero__eyebrow, .js.loaded .hero__quote, .js.loaded .hero__sub, .js.loaded .hero__cta {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.js.loaded .hero__eyebrow { transition-delay: 0.15s; }
.js.loaded .hero__quote { transition-delay: 0.3s; }
.js.loaded .hero__sub { transition-delay: 0.6s; }
.js.loaded .hero__cta { transition-delay: 0.75s; }

/* ---------- Mobile menu ---------- */
.nav__burger { width: 44px; height: 44px; display: none; place-items: center; }
.nav__burger span { width: 24px; height: 1.5px; background: var(--ink); position: relative; transition: transform 0.4s var(--ease-out-expo); }
.nav__burger span::before, .nav__burger span::after { content:""; position: absolute; left: 0; width: 24px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease-out-expo), top 0.4s; }
.nav__burger span::before { top: -7px; } .nav__burger span::after { top: 7px; }
.menu-open .nav__burger span { background: transparent; }
.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: grid; place-content: center; gap: 1.6rem; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-out-expo);
}
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: var(--step-3); text-transform: uppercase; letter-spacing: 0.04em; }
.mobile-menu .m-meta { font-family: var(--font-body); font-size: var(--step-0); text-transform: none; letter-spacing: 0; color: var(--ink-soft); margin-top: 1rem; }
@media (max-width: 900px) { .nav__burger { display: grid; } }

/* ---------- Reveal (JS-gated) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart); }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); }
.js [data-stagger].in > * { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart); }
.js [data-stagger].in > *:nth-child(2) { transition-delay: 0.08s; }
.js [data-stagger].in > *:nth-child(3) { transition-delay: 0.16s; }
.js [data-stagger].in > *:nth-child(4) { transition-delay: 0.24s; }
.js [data-stagger].in > *:nth-child(5) { transition-delay: 0.32s; }
.js [data-stagger].in > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none !important; }
  .marquee { animation: none; }
  .hero__scroll .line { animation: none; }
  .tile img, .btn, * { transition-duration: 0.01ms !important; }
}
