/* =============================================================================
   home.css — WARM EDITORIAL ART DIRECTION (Home only) — "The Threshold"
   -----------------------------------------------------------------------------
   Register: The Alchemist + Serenique — warm cream, arched hero, soft rounded
   media, moderate elegant serif (H1 ~50pt, never gigantic), a sage note, a
   dark Odisea feature with a thin line frame. Loaded after tokens+components.
   Uses approved tokens only — no invented brand.
   ========================================================================== */

:root {
  --edge: clamp(1.5rem, 5vw, 6rem);
  --gutter: clamp(1.25rem, 2.6vw, 2.75rem);
  --section-pad: clamp(4.5rem, 9vh, 7rem);   /* SINGLE vertical padding for every section */
  --header-h: 5.25rem;                        /* fixed-nav height, reserved by the hero */
}

body.cinematic { overflow-x: hidden; }
body.cinematic main { overflow: clip; }
html { scroll-padding-top: 6rem; }
body.nav-open { overflow: hidden; }

.edge { padding-inline: var(--edge); }
.section-pad { padding-block: var(--section-pad); }   /* uniform section rhythm, reusable across pages */

/* ============================================================================
   0. OPENING CURTAIN
   ========================================================================== */
.curtain { display: none; }
html.js .curtain { display: block; position: fixed; inset: 0; z-index: 200; background: var(--color-bg);
  transform: translateY(0); transform-origin: top;
  transition: transform 1.05s cubic-bezier(0.76, 0, 0.24, 1); }
body.is-loaded .curtain { transform: translateY(-100%); }
.curtain::after { content: "Luisa Sandoval"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); font-family: var(--font-display); font-size: 1.35rem;
  letter-spacing: 0.02em; color: var(--color-text); opacity: 0;
  animation: curtainMark 1s var(--ease-out) forwards; }
@keyframes curtainMark { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 0; } }

/* ============================================================================
   SECTION-INDEX LABEL — tracked, Serenique-style
   ========================================================================== */
.sec-index { display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-text); }
.sec-index .n { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--page-accent); }
.sec-index::before { content: ""; width: 2.6rem; height: 2px; background: var(--page-accent); border-radius: 2px; }
.section--dark .sec-index, .section--dark-2 .sec-index, .odisea .sec-index { color: var(--color-text-on-dark-muted); }

/* ============================================================================
   LIVE SECTION INDEX (right rail)
   ========================================================================== */
.rail-index { position: fixed; right: clamp(1rem, 2vw, 2rem); top: 50%; transform: translateY(-50%);
  z-index: 30; display: flex; flex-direction: column; gap: var(--sp-3); mix-blend-mode: difference; }
.rail-index a { display: flex; align-items: center; gap: 0.6rem; justify-content: flex-end;
  font-size: 0.62rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: #fff;
  opacity: 0.5; transition: opacity var(--dur) var(--ease-out); }
.rail-index a .dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; transition: background var(--dur) var(--ease-out); }
.rail-index a .txt { opacity: 0; transform: translateX(6px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.rail-index a:hover, .rail-index a.is-active { opacity: 1; }
.rail-index a.is-active .dot { background: currentColor; }
.rail-index a:hover .txt, .rail-index a.is-active .txt { opacity: 1; transform: none; }

/* ============================================================================
   HEADER — TRANSPARENT (over the hero: light text; on scroll: subtle & legible)
   ========================================================================== */
body.cinematic .site-header { position: fixed; inset: 0 0 auto 0; background: transparent;
  border-bottom-color: transparent; backdrop-filter: none;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
body.cinematic .site-header__brand, body.cinematic .site-header__toggle, body.cinematic .site-header__lang { color: var(--color-text-on-dark); }
body.cinematic .site-nav a { color: rgba(242,233,218,0.82); }
body.cinematic .site-nav a:hover, body.cinematic .site-nav a[aria-current="page"] { color: var(--color-text-on-dark); }
body.cinematic .site-header__cv { color: var(--color-text-on-dark); border-color: rgba(242,233,218,0.5); }
body.cinematic .site-header__cv:hover { background: var(--color-text-on-dark); color: var(--color-text); }

/* stays translucent (still see-through) once scrolled onto light sections, but
   flips to dark text so it remains legible */
body.cinematic .site-header.is-scrolled { background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: saturate(1.1) blur(9px); border-bottom-color: var(--color-line); }
body.cinematic .site-header.is-scrolled .site-header__brand,
body.cinematic .site-header.is-scrolled .site-header__toggle,
body.cinematic .site-header.is-scrolled .site-header__lang { color: var(--color-text); }
body.cinematic .site-header.is-scrolled .site-nav a { color: var(--color-text-secondary); }
body.cinematic .site-header.is-scrolled .site-nav a:hover,
body.cinematic .site-header.is-scrolled .site-nav a[aria-current="page"] { color: var(--color-text); }
body.cinematic .site-header.is-scrolled .site-header__cv { color: var(--color-text); border-color: var(--color-text); }
body.cinematic .site-header.is-scrolled .site-header__cv:hover { background: var(--color-text); color: var(--color-bg); }

body.cinematic .site-nav a { position: relative; }
body.cinematic .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
body.cinematic .site-nav a:hover::after, body.cinematic .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ============================================================================
   1. HERO — full-bleed photograph, large serif overlaid (asymmetric)
   ========================================================================== */
.hero { position: relative; min-height: calc(100svh - 2 * var(--hero-gap, 0.75rem)); display: flex; flex-direction: column; justify-content: flex-start;
  color: var(--color-text-on-dark); isolation: isolate;
  padding: var(--section-pad) var(--edge);
  padding-top: calc(var(--header-h) + var(--section-pad));   /* top-anchored: reserves the fixed nav, always breathes */
  margin: var(--hero-gap, 0.75rem); border-radius: var(--radius-lg); overflow: hidden; }   /* rounded, inset card — consistent with every other image */
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
body.is-loaded .hero__media img { animation: heroZoom 2.6s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,15,9,0.86) 0%, rgba(20,15,9,0.4) 40%, rgba(20,15,9,0.1) 68%, rgba(20,15,9,0.3) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__overlay { position: relative; z-index: 1; width: 100%; }   /* padding now lives on .hero */
.hero__overlay .eyebrow { color: rgba(255,248,236,0.85); margin-bottom: var(--sp-3); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500;
  max-width: none; margin: 0 0 var(--sp-4); }
.hero h1 em { font-style: italic; }
.hero__lede { max-width: 50ch; margin: 0 0 var(--sp-4); color: rgba(255,248,236,0.9);
  font-size: var(--fs-body-lg); line-height: var(--lh-lede); }
.hero__cta { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* Centered hero — internal pages (differentiates from Home's left-aligned hero) */
/* Mobile: full-bleed portrait hero (e.g. Home) — anchor text to the bottom over a
   stronger bottom scrim so the subject's face stays clear at the top. */
@media (max-width: 768px) {
  .hero:not(.hero--centered) { justify-content: flex-end; }
  .hero:not(.hero--centered) .hero__scrim {
    background: linear-gradient(to top, rgba(40,25,17,0.9) 0%, rgba(40,25,17,0.55) 40%, rgba(40,25,17,0.12) 72%, rgba(40,25,17,0) 100%);
  }
}
/* scroll cue — invites exploration in place of the old hero buttons */
.hero__scroll { display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content;
  margin-top: var(--sp-5); font-size: var(--fs-meta); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,248,236,0.82); transition: color var(--dur) var(--ease-out); }
.hero__scroll::after { content: "\2193"; font-size: 1.15em; animation: heroBob 1.9s var(--ease-in-out, ease-in-out) infinite; }
.hero__scroll:hover { color: #fff; }
@keyframes heroBob { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(5px); opacity: 1; } }
.hero--centered .hero__scroll { margin-inline: auto; }

.hero--centered { justify-content: center; text-align: center; }
.hero--centered .hero__overlay { max-width: 58rem; margin-inline: auto; }
.hero--centered .hero__lede { margin-inline: auto; }
.hero--centered .hero__cta { justify-content: center; }

.rline { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.12em; }
.rline > span { display: block; }
html.js .rline > span { transform: translateY(118%); }
body.is-loaded .rline > span { transform: translateY(0); transition: transform 1.05s var(--ease-out); }
body.is-loaded .rline:nth-child(1) > span { transition-delay: 0.55s; }
body.is-loaded .rline:nth-child(2) > span { transition-delay: 0.68s; }
body.is-loaded .rline:nth-child(3) > span { transition-delay: 0.81s; }

/* ============================================================================
   2. REVEAL PRIMITIVES
   ========================================================================== */
/* Hidden state applies ONLY to elements JS has "armed" — so if JS ever fails
   or doesn't run, nothing is left invisible. */
[data-reveal].reveal-armed:not(.reveal--clip) { opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].reveal-armed.is-in:not(.reveal--clip) { opacity: 1; transform: none; }
/* Media reveal — fade + rise (previously a clip-path "curtain", which could get
   stuck clipping the image to invisible on some layouts; this is bullet-proof). */
.reveal--clip.reveal-armed { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal--clip.reveal-armed.is-in { opacity: 1; transform: none; }

/* ============================================================================
   3. APPROACH — centered manifesto with rule-kicker (The Alchemist)
   ========================================================================== */
.approach { padding-block: var(--section-pad); text-align: center; }
.approach .kicker { display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--color-text); margin-bottom: var(--sp-5); }
.approach .kicker::before, .approach .kicker::after { content: ""; width: clamp(2rem, 8vw, 6rem); height: 2px; background: var(--page-accent); border-radius: 2px; }
.approach h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em;
  max-width: 24ch; margin: 0 auto var(--sp-4); font-weight: 500; }
.approach p { max-width: 54ch; margin-inline: auto; color: var(--color-text-secondary); font-size: var(--fs-body-lg); }

/* ============================================================================
   JOURNEY TIMELINE — countries · languages · roles (Home)
   ========================================================================== */
.journey__head { text-align: center; max-width: 46rem; margin: 0 auto var(--sp-7); }
.journey__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.15; margin-top: var(--sp-3); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); position: relative; }
/* connecting line behind the markers */
.timeline::before { content: ""; position: absolute; top: 1.35rem; left: 16.6%; right: 16.6%;
  height: 1px; background: var(--color-line-strong); z-index: 0; }
.timeline__stop { text-align: center; padding-top: 4rem; position: relative; }
.timeline__marker { position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 1px solid var(--color-line-strong);
  background: var(--color-surface); display: grid; place-items: center; font-size: 1.25rem; z-index: 1; }
.timeline__place { font-size: var(--fs-h3); margin-bottom: 0.2rem; }
.timeline__lang { font-size: var(--fs-meta); color: var(--color-text-secondary); margin-bottom: var(--sp-3); }
.timeline__roles { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.timeline__roles li { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text); border: 1px solid var(--color-line-strong); border-radius: 999px;
  padding: 0.35rem 0.9rem; }
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; gap: var(--sp-6); }
  .timeline::before { display: none; }
}

/* ============================================================================
   MARQUEE DIVIDER
   ========================================================================== */
.marquee { border-block: 1px solid var(--color-line); overflow: hidden; padding-block: var(--sp-3); }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.9rem);
  color: var(--color-text); white-space: nowrap; }
.marquee span::after { content: "\2014"; margin-left: 2.5rem; color: var(--color-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================================
   4. WORK — asymmetric magazine index, rounded media + captions
   ========================================================================== */
.work { padding-block: var(--section-pad); }
.work__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  align-items: end; margin-bottom: clamp(3rem, 8vh, 6rem); }
.work__head .sec-index { grid-column: 1 / 4; margin-bottom: var(--sp-2); }
.work__head h2 { grid-column: 4 / 13; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.14;
  letter-spacing: -0.01em; max-width: 24ch; }

.work__item { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  align-items: center; margin-bottom: clamp(4rem, 11vh, 8.5rem); }
.work__item:last-child { margin-bottom: 0; }
.work__media { grid-column: 1 / 8; }
.work__figure { overflow: hidden; margin: 0; border-radius: var(--radius-media); }
.work__figure.media { aspect-ratio: 5 / 4; }
/* enforce the 5:4 crop on the image itself so tall photos can't stretch the figure
   (which made the 20px rounded corners read as square on the huge images) */
.work__figure.media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.work__figure img { transition: transform 900ms var(--ease-out); }
.work__cap { margin-top: var(--sp-2); font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; color: var(--color-text-secondary); }
.work__text { grid-column: 9 / 13; }
.work__item:nth-child(even) .work__media { grid-column: 6 / 13; order: 2; }
.work__item:nth-child(even) .work__text { grid-column: 1 / 5; order: 1; }
.work__item:nth-child(even) { margin-top: clamp(0px, 6vh, 4.5rem); }

.work__num { display: block; font-family: var(--font-display); font-style: italic;
  font-size: var(--fs-numeral); line-height: 1; color: var(--color-accent); margin-bottom: var(--sp-3); }
.work__cat { font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.15; margin-bottom: 0.35rem; }
.work__sub { font-size: 0.76rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: var(--sp-3); }
.work__desc { color: var(--color-text-secondary); margin-bottom: var(--sp-3); max-width: 34ch; }
.work__link { display: inline-flex; align-items: center; gap: 0.6em; font-size: var(--fs-meta);
  padding-bottom: 3px; border-bottom: 1px solid var(--color-line-strong);
  transition: gap var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.work__item:hover .work__figure img { transform: scale(1.05); }
.work__item:hover .work__link { gap: 1em; border-color: var(--color-accent); }

/* ============================================================================
   5. ODISEA — circle-reveal feature. A tall section (cream behind); a sticky
   dark stage is clipped to a circle that grows from a dot to full-frame as you
   scroll through it, then the content fades in.
   ========================================================================== */
.odisea { position: relative; height: 220vh; background: var(--color-bg); }
.odisea__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--color-text-on-dark);
  padding: calc(var(--header-h) + var(--sp-4)) var(--edge) calc(var(--section-pad) + var(--sp-4));  /* extra bottom breathing so the CTA never meets the footer */
  clip-path: circle(150vmax at 50% 50%); }         /* full by default (no-JS / failure safe) */
html.js .odisea__stage.circle-armed { clip-path: circle(var(--r, 0%) at 50% 50%); }
.odisea__media { position: absolute; inset: 0; z-index: -2; }
.odisea__media img { width: 100%; height: 100%; object-fit: cover; }
.odisea__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(20,15,9,0.7), rgba(20,15,9,0.55)); }
.odisea__stage::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.odisea__inner { position: relative; z-index: 1; max-width: 46rem; margin-inline: auto; }
/* Copy is NOT gated by a separate class — it rides in with the growing circle
   (the clip-path reveals background + text together), so it can never be left
   invisible while the dark stage is shown. */
.odisea__inner .eyebrow { color: var(--color-text-on-dark-muted); margin-bottom: var(--sp-3); }
.odisea h2 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: var(--sp-3); }
.odisea__tagline { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lede);
  color: var(--color-text-on-dark-muted); margin-bottom: var(--sp-3); }
.odisea__desc { max-width: 52ch; margin: 0 auto var(--sp-3); color: rgba(255,248,236,0.9); font-size: var(--fs-body); line-height: 1.55; text-align: left; }
.odisea__desc p + p { margin-top: 0.7rem; }

/* ============================================================================
   6. STRENGTHS — sage-tinted ledger (Serenique note)
   ========================================================================== */
.bring { padding-block: var(--section-pad); background: var(--color-surface-sage); }
.bring__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.bring__head { grid-column: 1 / 5; align-self: start; position: sticky; top: 7rem; }
.bring__head .sec-index { margin-bottom: var(--sp-3); }
.bring__head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.14; letter-spacing: -0.01em; }
.bring__list { grid-column: 6 / 13; }
.bring__row { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--sp-3);
  padding-block: clamp(1.75rem, 4vh, 2.5rem); border-top: 1px solid rgba(51,39,27,0.14); }
.bring__row:last-child { border-bottom: 1px solid rgba(51,39,27,0.14); }
.bring__row .n { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--color-accent); line-height: 1.1; }
.bring__row h3 { font-size: clamp(1.25rem, 1.8vw, 1.7rem); margin-bottom: 0.5rem; }
.bring__row p { color: var(--color-text-secondary); max-width: 42ch; }

/* ============================================================================
   7. CLOSING + WORDMARK (moderated)
   ========================================================================== */
.closing-xl { padding-block: var(--section-pad); text-align: center; }
.closing-xl h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0 auto var(--sp-4); }
.closing-xl p { max-width: 52ch; margin: 0 auto var(--sp-5); color: var(--color-text-secondary); font-size: var(--fs-body-lg); }

.wordmark { padding: clamp(2.5rem, 6vh, 4rem) var(--edge) clamp(1.5rem, 4vh, 2.5rem); overflow: hidden; border-top: 1px solid var(--color-line); }
.wordmark span { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 9vw, 7rem);
  line-height: 0.9; letter-spacing: -0.02em; color: var(--color-text); white-space: nowrap; }

.btn { transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
  border-color var(--dur) var(--ease-out), letter-spacing var(--dur) var(--ease-out); }
.btn:hover { letter-spacing: 0.02em; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) { .rail-index { display: none; } }

@media (max-width: 860px) {
  body.cinematic .site-nav { position: fixed; inset: 0; z-index: -1; background: var(--color-bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 4.5rem var(--container-pad) 4rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur); }
  body.cinematic .site-nav.is-open { opacity: 1; visibility: visible; transform: none; z-index: 40; }
  body.cinematic .site-nav ul { flex-direction: column; align-items: center; gap: var(--sp-3); margin: auto; }
  /* centre the Experience parent (its wide submenu box otherwise left-aligns the label) */
  body.cinematic .site-nav .has-submenu { display: flex; flex-direction: column; align-items: center; }
  body.cinematic .site-nav a { font-family: var(--font-display); font-size: clamp(1.3rem, 5.2vw, 1.55rem); }
  /* readable dark links on the cream overlay (override the white-over-hero colour) */
  body.cinematic .site-nav.is-open a { color: var(--color-text); }
  body.cinematic .site-nav.is-open a:hover,
  body.cinematic .site-nav.is-open a[aria-current="page"] { color: var(--page-accent); }
  body.cinematic .site-nav.is-open a::after { display: none; }
  /* submenu expands inline within the mobile menu */
  body.cinematic .site-nav .submenu { position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: none; box-shadow: none; padding: 0; margin-top: var(--sp-2); gap: var(--sp-2); align-items: center; }
  body.cinematic .site-nav .submenu a { color: var(--color-text); font-family: var(--font-body); font-size: 0.98rem; }
  body.cinematic .site-nav .caret { display: none; }

  .odisea { height: auto; }
  .odisea__stage { position: relative; height: auto; min-height: 88vh; clip-path: none !important; padding-block: var(--sp-6); }
  html.js .odisea__inner { opacity: 1; transform: none; }

  .work__item, .work__item:nth-child(even) { grid-template-columns: 1fr; margin-top: 0; }
  .work__media, .work__item:nth-child(even) .work__media { grid-column: 1 / -1; order: 0; }
  .work__text, .work__item:nth-child(even) .work__text { grid-column: 1 / -1; order: 0; padding-top: var(--sp-3); }
  .work__head { grid-template-columns: 1fr; }
  .work__head .sec-index, .work__head h2 { grid-column: 1 / -1; }

  .bring__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .bring__head { position: static; grid-column: 1 / -1; }
  .bring__list { grid-column: 1 / -1; }
}

/* ============================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  html.js .rline > span { transform: none !important; transition: none !important; }
  body.is-loaded .hero__media img { animation: none; transform: scale(1); }
  .marquee__track { animation: none; transform: none; }
}
