/* =========================================================================
   OLAM by Plasseril — ripple build
   Layout and interaction structure mirror the ERA Residence teardown:
   sticky-runway scroll (no GSAP pins), per-element theme swapping,
   CSS-var motion protocols, one ratio driving the display type scale.
   Written from scratch — none of ERA's stylesheet is reused.
   Palette and type per BRIEF.md §12. WCAG 2.1 AA is a hard requirement.
   ========================================================================= */

/* ---------- 1 · Tokens --------------------------------------------------- */
:root {
  --gold-dark: #9E7D45;
  --gold:      #BCA36D;
  --gold-light:#DAC28A;
  --teak:      #6A4B25;
  --teak-deep: #4C2E1A;
  --cream:     #F3EEE4;
  --sand:      #B5A188;
  --sage:      #A29369;
  --green-deep:#454736;
  --ink:       #1A1712;

  /* One ratio scales the whole display range, ERA's trick.
     Body copy deliberately does NOT scale with it — see §4. */
  --ratio: 16;
  --d1: calc(232rem / var(--ratio));
  --a2: calc(150rem / var(--ratio));
  --h2: calc(120rem / var(--ratio));
  --h3: calc(88rem  / var(--ratio));
  --h4: calc(54rem  / var(--ratio));
  --h5: calc(38rem  / var(--ratio));
  --h6: calc(23rem  / var(--ratio));

  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body:    "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-mal:     "Noto Serif Malayalam", "Bodoni Moda", serif;

  --dur-s: .4s;  --dur-m: .8s;  --dur-l: 1.2s;
  --ease-out:    cubic-bezier(.25,1,.5,1);
  --ease-in:     cubic-bezier(.5,0,.75,0);
  --ease-in-out: cubic-bezier(.75,0,.25,1);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --rail: clamp(0rem, 6vw, 7rem);       /* space the fixed rail occupies */
  --measure: 64ch;
  --svh: 100vh;                          /* JS writes the real innerHeight */
}
@media (max-width: 1199px) { :root { --ratio: 21; } }
@media (max-width: 899px)  { :root { --ratio: 28; --rail: 0rem; } }

/* ---------- 2 · Themes --------------------------------------------------- */
.theme_on-light { --bg: var(--cream);      --fg: var(--ink);   --fg-soft:#5B534A; --line:#1A171226; --accent: var(--gold-dark); }
.theme_on-deep  { --bg: var(--green-deep); --fg: var(--cream); --fg-soft:#CFCABC; --line:#F3EEE433; --accent: var(--gold-light); }
.theme_on-teak  { --bg: var(--teak-deep);  --fg: var(--cream); --fg-soft:#D2C6B4; --line:#F3EEE433; --accent: var(--gold-light); }
.theme_on-sand  { --bg: var(--sand);       --fg: var(--ink);   --fg-soft:#3D3529; --line:#1A171233; --accent: var(--teak-deep); }

/* ---------- 3 · Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-weight: 300;
  font-size: .9375rem; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 400; }
p, figure, address { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent, var(--gold-dark)); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: 0; left: 0; z-index: 3000; padding: .75rem 1.25rem;
  background: var(--ink); color: var(--cream); font-size: .875rem; letter-spacing: .04em;
  transform: translateY(-120%); transition: transform var(--dur-s) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 4 · Type roles ---------------------------------------------- */
.h2,.h3,.h4,.h5,.h6 { font-family: var(--font-display); font-weight: 400; line-height: .89; letter-spacing: -.018em; }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); }
.h4 { font-size: var(--h4); line-height: .94; }
.h5 { font-size: var(--h5); line-height: .98; }
.h6 { font-size: var(--h6); line-height: 1.14; letter-spacing: -.01em; }

.a2 { font-family: var(--font-display); font-weight: 400; font-size: var(--a2); line-height: .84; letter-spacing: -.02em; }

.p1 { font-size: .9375rem; line-height: 1.72; max-width: var(--measure); }
.p2 { font-size: .8125rem; line-height: 1.66; max-width: var(--measure); color: var(--fg-soft, inherit); }
.l1 { font-size: .75rem; letter-spacing: .05em; line-height: 1.5; }
.l2 { font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase; color: var(--fg-soft, inherit); line-height: 1.4; }

.link {
  display: inline-block; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size var(--dur-m) var(--ease-in-out);
}
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- 5 · Buttons -------------------------------------------------- */
.btn {
  --btn-fill: 100%;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.15rem; border: 1px solid currentColor; border-radius: 999px;
  background: none; cursor: pointer; overflow: hidden; text-decoration: none;
  font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase;
  transition: color var(--dur-m) var(--ease-in-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor;
  transform: translateY(var(--btn-fill)); transition: transform var(--dur-m) var(--ease-in-out);
}
.btn:hover, .btn:focus-visible { --btn-fill: 0%; }
.btn--solid { color: var(--accent); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--bg); }

/* ---------- 6 · Shells --------------------------------------------------- */
.section { position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(4.5rem, 11vh, 9rem); }
.section.clip { overflow: clip; }
.section.z-2 { z-index: 2; }
.section#hero { padding-block: 0; }

/* ERA arches its sections with a tall 50rem radius. Olam's motif is a
   ripple, so the crest is a wide shallow wave instead. */
.crest { border-start-start-radius: 50% 7vw; border-start-end-radius: 50% 7vw; margin-top: -3vw; z-index: 1; }

.wrap { width: min(100% - (var(--gutter) * 2) - var(--rail), 1320px); margin-inline: auto; }

/* ---------- 7 · Fixed chrome -------------------------------------------- */
.chrome-mark, .chrome-nav, .chrome-rail { position: fixed; z-index: 1200; color: var(--fg); }
.chrome-mark { top: var(--gutter); left: var(--gutter); width: 3.25rem; }
.chrome-mark img { width: 100%; filter: drop-shadow(0 1px 6px rgba(0,0,0,.3)); }

.chrome-nav { top: var(--gutter); right: var(--gutter); display: flex; gap: 1.5rem; align-items: center; }
.nav-link {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding: .4rem 0; background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer;
  transition: border-color var(--dur-m) var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { border-bottom-color: currentColor; }
.nav-link--strong { border-bottom-color: currentColor; }
@media (max-width: 699px) { .nav-link:not(.nav-menu-btn) { display: none; } }

.chrome-rail {
  left: var(--gutter); top: calc(var(--gutter) + 5.5rem); bottom: calc(var(--gutter) + 1.5rem);
  --progress: 0%; display: flex; flex-direction: column; align-items: center; gap: 1rem; pointer-events: none;
}
.rail_num { font-size: .6875rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.rail_track { position: relative; flex: 1; width: 1px; background: var(--line); }
.rail_fill { position: absolute; inset: 0 auto auto 0; width: 1px; height: var(--progress); background: currentColor; }
.rail_thumb {
  position: absolute; left: 50%; top: var(--progress);
  width: 1.4rem; height: 1.4rem; margin: -.7rem 0 0 -.7rem; padding: 0;
  border: 1px solid currentColor; border-radius: 50%; background: var(--bg);
  cursor: grab; pointer-events: auto;
}
.rail_thumb::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: .28rem; height: .28rem; margin: -.14rem 0 0 -.14rem; border-radius: 50%; background: currentColor; }
.rail_cue { font-size: .625rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
@media (max-width: 899px) { .chrome-rail { display: none; } }

/* ---------- 8 · Menu modal ---------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 2200; color: var(--fg); }
.modal[hidden] { display: none; }
.modal_bg { position: absolute; inset: 0; background: rgba(26,23,18,.55); border: 0; }
.modal_panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 30rem);
  background: var(--bg); padding: var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
}
.modal_close { position: absolute; top: var(--gutter); right: var(--gutter); width: 2.5rem; height: 2.5rem; background: none; border: 0; cursor: pointer; }
.modal_close span { position: absolute; inset: 50% 15% auto; height: 1px; background: currentColor; }
.modal_close span:first-child { transform: rotate(45deg); }
.modal_close span:last-child  { transform: rotate(-45deg); }
.modal_nav { display: grid; gap: .5rem; }
.modal_nav a { font-family: var(--font-display); font-size: var(--h5); line-height: 1.25; text-decoration: none; }
.modal_nav a:hover { color: var(--accent); }
.modal_foot { display: grid; gap: .5rem; justify-items: start; }

/* ---------- 9 · Hero — sticky runway, image tabs, hotspots -------------- */
.hero-runway { height: calc(var(--svh) * 3.4); position: relative; }
.hero-screen { position: sticky; top: 0; height: var(--svh); display: flex; align-items: center; justify-content: center; overflow: clip; }

.hero_bg { position: absolute; inset: -10% 0 auto; height: 120%; z-index: 0; }
/* Plates toggle with display, never with a resting opacity — an opacity layer
   wrapping the transformed hero image stops it compositing in some engines. */
.hero_plate { position: absolute; inset: 0; }
.hero_plate[hidden] { display: none; }
/* The photograph is graded down as a whole rather than patched with a local
   scrim. brightness(.45) takes even the blown sky between the palms to
   luminance ~.17, which clears 3:1 for the display type; the soft centre
   gradient above adds the rest for the small labels. Reads as one deliberate
   image instead of a dark smudge behind the words. */
.hero_img {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
  filter: brightness(.45) saturate(.92) contrast(1.04);
}

/* Light scrims only — enough to seat the fixed chrome, not enough to flatten
   the photograph. The hero copy carries its own plate instead (below). */
.scrim { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.scrim--top    { background: linear-gradient(to bottom, rgba(26,23,18,.5), rgba(26,23,18,0) 30%); }
.scrim--bottom { background: linear-gradient(to top,    rgba(26,23,18,.55), rgba(26,23,18,0) 38%); }

/* hotspots on the photograph — they point at real parts of the house */
.pins { position: absolute; inset: 0; z-index: 1; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; }
.pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 1px rgba(26,23,18,.35); }
.pin i { position: absolute; inset: 50% auto auto 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1px solid var(--gold-light); border-radius: 50%; opacity: 0; }
.pin b {
  position: absolute; left: 50%; bottom: calc(100% + .6rem); transform: translateX(-50%);
  white-space: nowrap; font-weight: 400; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 1px 8px rgba(26,23,18,.9);
}
@media (max-width: 699px) { .pin b { display: none; } }

.hero_content {
  position: relative; z-index: 3;
  width: min(100% - (var(--gutter) * 2), 1320px);
  display: grid; justify-items: center; text-align: center; gap: 1.35rem; color: var(--cream);
}
/* The photograph is high-key everywhere — sky burns through the palms at
   luminance ~1.0 in every band — so cream type cannot meet WCAG on it
   unaided. This feathered plate is sized from that measurement: 0.80 alpha
   over the 95th-percentile background yields ~4.8:1 for the small labels and
   far more for the display type, while the photo stays bright at the edges. */
.hero_content::before {
  content: ""; position: absolute; z-index: -1;
  inset: -40% -50vw;
  background: radial-gradient(ellipse 60% 58% at 50% 50%,
    rgba(26,23,18,.34), rgba(26,23,18,0) 78%);
}
.hero_eyebrow { color: #E8E2D6; }
.hero_logo { display: grid; justify-items: center; }
.hero_word { font-family: var(--font-display); font-weight: 400; font-size: var(--d1); line-height: .82; letter-spacing: .012em; text-transform: uppercase; }
/* ഓളം across the wordmark — the name in its own script, and the one loud
   thing on the page. Everything else stays quiet. */
/* Overlaps the wordmark's descender line only — enough to read as one lockup,
   not so much that either script becomes illegible. */
.hero_mal {
  font-family: var(--font-mal); font-weight: 300; font-size: calc(var(--d1) * .27); line-height: 1;
  color: var(--gold-light); margin-top: calc(var(--d1) * -.10); transform: rotate(-2deg);
  text-shadow: 0 2px 26px rgba(26,23,18,.7);
}

.hero_line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .5rem .9rem; font-family: var(--font-display); font-style: italic; color: #F1EBDF; }
.hero_tabs { position: relative; display: inline-flex; gap: 1rem; padding-bottom: .3rem; }
.hero_tab {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: #CFC7B8; transition: color var(--dur-m) var(--ease-out);
}
.hero_tab[aria-selected="true"], .hero_tab:hover { color: var(--gold-light); }
.hero_tab_ink { position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold-light); transition: transform var(--dur-m) var(--ease-in-out), width var(--dur-m) var(--ease-in-out); }

.hero_actions { margin-top: .6rem; }
.hero_actions .btn--solid { color: var(--gold-light); }
.hero_actions .btn--solid:hover, .hero_actions .btn--solid:focus-visible { color: var(--ink); }

/* ---------- 10 · Crest intro -------------------------------------------- */
.intro { display: grid; justify-items: center; text-align: center; }
.intro_b { margin-top: -.12em; color: var(--accent); font-style: italic; }

/* ---------- 11 · Three reasons ------------------------------------------ */
.reasons { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.reasons_list { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .reasons_list { grid-template-columns: repeat(3, 1fr); } }
.reason { display: grid; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.reason_n { font-family: var(--font-display); font-size: var(--h5); line-height: 1; color: var(--accent); }

/* ---------- 12 · Concept ------------------------------------------------- */
.concept { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.concept_lead { max-width: 22ch; }
.concept_meta { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .concept_meta { grid-template-columns: repeat(2, minmax(0, 26rem)); justify-content: end; } }
.concept_meta > div { display: grid; gap: .6rem; }
.concept_badge { display: inline-block; justify-self: start; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.concept_fig { overflow: clip; border-start-start-radius: 40% 10%; border-start-end-radius: 40% 10%; }
.concept_fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 13 · Getting here — horizontal track ------------------------ */
.journey-runway { height: calc(var(--svh) * 2.6); position: relative; }
.journey-screen { position: sticky; top: 0; height: var(--svh); display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 5vh, 3.5rem); overflow: clip; }
.journey_head { display: grid; gap: .75rem; max-width: 40ch; }
.journey_list { display: flex; align-items: flex-start; gap: clamp(2.5rem, 7vw, 7rem); padding-inline: calc(var(--gutter) + var(--rail)) var(--gutter); width: max-content; }
.journey_stop { position: relative; width: clamp(14rem, 22vw, 20rem); display: grid; gap: .55rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.journey_stop::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.journey_dist { font-family: var(--font-display); font-weight: 300; font-size: var(--h4); line-height: 1; }
.journey_dist i { font-style: normal; font-size: .3em; letter-spacing: .1em; margin-left: .3em; }
.journey_here img { width: clamp(3rem, 5vw, 3.75rem); }

/* ---------- 14 · Marquee + drag strip ----------------------------------- */
.marquee { overflow: clip; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.marquee_track {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  font-family: var(--font-display); font-size: var(--h4); line-height: 1; color: var(--accent);
  animation: marquee 38s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.strip_head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.strip_cue { color: var(--fg-soft); }
.strip { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; }
.strip_list { display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem); padding-inline: calc(var(--gutter) + var(--rail)) var(--gutter); width: max-content; }
.strip_list li { flex: 0 0 auto; }
.strip_list img { height: clamp(16rem, 38vh, 26rem); width: auto; object-fit: cover; pointer-events: none; }

/* ---------- 15 · Rooms --------------------------------------------------- */
.rooms { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.rooms_head { display: grid; gap: .75rem; max-width: 30ch; }
.rooms_grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .rooms_grid { grid-template-columns: 1fr 1fr; } }
.rooms_card { display: grid; gap: 1rem; }
.rooms_card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rooms_card figcaption { display: grid; gap: .4rem; }
.rooms_note { color: var(--fg-soft); }

/* ---------- 16 · The room itself ---------------------------------------- */
.range { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.range h2 { max-width: 26ch; }
.range_fig { overflow: clip; }
.range_fig img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- 17 · Facilities — sticky screen with tabs ------------------- */
.amen-runway { height: calc(var(--svh) * 2.4); position: relative; }
.amen-screen { position: sticky; top: 0; height: var(--svh); display: flex; align-items: center; }
.amen { display: grid; gap: clamp(1.5rem, 4vh, 3rem); width: 100%; }
.amen_head { display: grid; gap: .75rem; max-width: 26ch; }
.amen_tabs { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.amen_tab { background: none; border: 0; padding: 0; cursor: pointer; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); transition: color var(--dur-m) var(--ease-out); }
.amen_tab[aria-selected="true"], .amen_tab:hover { color: var(--fg); }
.amen_panes { position: relative; min-height: 12rem; }
.amen_pane[hidden] { display: none; }
.amen_pane ul { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 800px) { .amen_pane ul { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem,5vw,5rem); } }
.amen_pane li { padding-block: .95rem; border-bottom: 1px solid var(--line); font-size: 1rem; }

/* ---------- 18 · Island -------------------------------------------------- */
.island { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.island_title { max-width: 16ch; }
.island_grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .island_grid { grid-template-columns: 1.15fr .85fr; } }
.island_col { display: grid; gap: 1.15rem; }
.island_note { color: var(--accent); }
.island_gap {
  display: grid; place-items: center; gap: 1rem; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); color: var(--fg-soft);
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(243,238,228,.05) 12px 24px);
}
.gap_rings { width: 42%; }
.gap_rings circle { fill: none; stroke: currentColor; stroke-width: .6; opacity: .5; }

/* ---------- 19 · The house — double sticky, curtain --------------------- */
.house-curtain { position: sticky; top: 0; z-index: 1; height: var(--svh); margin-bottom: calc(var(--svh) * -1); pointer-events: none; }
.house-curtain span { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--sand); }
.curtain_l { left: 0; }
.curtain_r { right: 0; }
.house-runway { height: calc(var(--svh) * 2.2); position: relative; }
.house-screen { position: sticky; top: 0; height: var(--svh); display: flex; align-items: center; }
.house { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; width: 100%; }
@media (min-width: 900px) { .house { grid-template-columns: 1fr .8fr; } }
.house_head { display: grid; gap: 1rem; max-width: 32ch; }
.house_fig { overflow: clip; }
.house_fig img { width: 100%; max-height: 62vh; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- 20 · Accordion ---------------------------------------------- */
.practical { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.practical_head { display: grid; gap: .75rem; }
.acc { border-top: 1px solid var(--line); }
.acc_item { border-bottom: 1px solid var(--line); }
.acc_item h3 { margin: 0; }
.acc_btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 300; font-size: var(--h6); text-align: left; }
.acc_ico { position: relative; flex: 0 0 auto; width: 1rem; height: 1rem; }
.acc_ico::before, .acc_ico::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: currentColor; transition: transform var(--dur-m) var(--ease-in-out); }
.acc_ico::after { transform: rotate(90deg); }
.acc_btn[aria-expanded="true"] .acc_ico::after { transform: rotate(0deg); }
.acc_panel { overflow: hidden; height: 0; }
.acc_panel_in { padding-bottom: 1.6rem; display: grid; gap: .75rem; }

/* ---------- 21 · Enquiry ------------------------------------------------- */
.enquire { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.enquire_head { display: grid; gap: 1rem; max-width: 40ch; }
.enquire_form { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .enquire_form { grid-template-columns: repeat(3, 1fr); } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: .5rem; }
.field label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-soft); }
.field input {
  font-family: var(--font-body); font-size: 1rem; color: var(--fg);
  background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: .6rem 0; border-radius: 0; transition: border-color var(--dur-m) var(--ease-out);
}
.field input::placeholder { color: var(--fg-soft); opacity: .85; }
.field input:hover, .field input:focus { border-bottom-color: currentColor; }
.enquire_submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.enquire_fallback { color: var(--fg-soft); }

/* ---------- 22 · Footer -------------------------------------------------- */
.foot { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.foot_brand { display: grid; gap: 1rem; }
.foot_brand img { width: clamp(11rem, 18vw, 15rem); }
.foot_cols { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .foot_cols { grid-template-columns: repeat(2, minmax(0, 20rem)); } }
.foot_col { display: grid; gap: .55rem; justify-items: start; }
.foot_fine { color: var(--fg-soft); padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- 23 · Reveal machinery --------------------------------------- */
/* Only hide when JS is really running, so a blocked CDN still renders the
   whole document. */
.js [data-scroll-reveal]:not([data-scroll-reveal="w"]),
.js [data-hero-reveal] { visibility: hidden; }
.split-line, .split-word, .split-char { display: inline-block; will-change: transform; }

/* ---------- 24 · Reduced motion — BRIEF §10, non-negotiable ------------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-scroll-reveal], .js [data-hero-reveal] { visibility: visible !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .preloader { display: none !important; }

  /* every runway collapses; every sticky screen becomes an ordinary block */
  .hero-runway, .journey-runway, .amen-runway, .house-runway { height: auto !important; }
  .hero-screen, .journey-screen, .amen-screen, .house-screen {
    position: static !important; height: auto !important;
    padding-block: clamp(4rem, 10vh, 7rem);
  }
  .hero-screen { min-height: 88vh !important; }
  .house-curtain { display: none !important; }

  .journey-screen, .strip { overflow: visible; }
  .journey_list, .strip_list { flex-wrap: wrap; width: auto; row-gap: 2.5rem; }
  .strip { overflow-x: auto; }

  .hero_plate { position: relative; opacity: 1; }
  .hero_plate:not(.is-active) { display: none; }
  .amen_pane[hidden] { display: block; }
  .amen_tabs { display: none; }
  .marquee_track { animation: none; }
  .acc_panel { height: auto !important; }
}
