/* Westgate, Schiphol Logistics Centre — styles
   Part 1 is the foundation from the /built-landingpage skill: reset, accessibility,
   header/menu mechanics, reveal states, tabs, carousel, lightbox, motion rules.
   Part 2 is this site's look, built from the brochure: tokens, type, layout,
   graphic devices. One file on purpose: one render-blocking request. */

/* ═════════════════════════ 1. FOUNDATION ═════════════════════════ */

:root {
  /* replaced in part 2 with the brochure's sampled values */
  --ink: #1d232b;
  --paper: #ffffff;
  --brand: #253650;
  --accent: #ffd600;
  --line: rgba(0, 0, 0, .12);
  --focus: var(--brand);
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --bar-h: 72px;                              /* main.js publishes the real height */
  --ease: cubic-bezier(.22, .61, .36, 1);     /* ease-out: gentle, no bounce */
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .8s;
  --rise: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }  /* :where = no specificity, so component padding wins */
table { border-collapse: collapse; width: 100%; }
section[id] { scroll-margin-top: var(--bar-h); }
body.is-locked { overflow: hidden; }

/* ── accessibility ── */
.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -120px; z-index: 1000; padding: 12px 18px; border-radius: 8px;
  background: var(--brand); color: #fff; text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ── header + menu mechanics (look in part 2) ── */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease);
}
.head.is-on { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-on span:nth-child(2) { opacity: 0; }
.burger.is-on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1023.98px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center;
    gap: 8px; padding: calc(var(--bar-h) + 24px) var(--gutter) 40px; background: var(--paper);
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .5s;
  }
  .nav.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s; }
}

/* ── reveal ──
   Hidden states exist only when scripting is on and motion is welcome, so the page
   reads complete without JavaScript and with reduced motion. Failsafe: if main.js
   never arrives, a delayed animation shows everything after 3s; main.js adds
   .js-ready to <html> at once, which cancels it.
   Keep .reveal off the hero photo and the h1: an element that starts invisible
   can't count as the LCP until it shows, which drags the Lighthouse score down. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal, .reveal .lift {
    opacity: 0; transform: translate3d(0, var(--rise), 0);
    transition: opacity var(--dur) var(--ease), transform calc(var(--dur) + .2s) var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .reveal.is-in, .reveal.is-in .lift { opacity: 1; transform: none; }
  html:not(.js-ready) .reveal, html:not(.js-ready) .reveal .lift { animation: failsafe-show 0s 3s forwards; }
}
@keyframes failsafe-show { to { opacity: 1; transform: none; } }

/* ── gentle motion library (use what fits the brochure; all transform/opacity,
   all off under reduced motion) ── */
@media (prefers-reduced-motion: no-preference) {
  /* hero photo settles in: transform only, so it still counts as the LCP at once */
  .settle { animation: settle 2.2s var(--ease) both; }
  /* hero lines rise in sequence (--i set by main.js when they are .lift, or nth-child) */
  .rise-in { animation: rise-in .9s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * 110ms); }
  /* scroll cue */
  .cue::after { animation: cue 2.4s var(--ease-io) infinite; }
  /* scroll-driven drift on photos, where supported (Chrome/Safari): a few % only */
  @supports (animation-timeline: view()) {
    .drift > img, .drift picture img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  }
  /* hero parallax from main.js's --hero-p (0 → 1 as the hero scrolls away) */
  .parallax { transform: translate3d(0, calc(var(--hero-p, 0) * 14%), 0); will-change: transform; }
  [role="tabpanel"].is-in { animation: panel-in .5s var(--ease); }
  .lbox[open] { animation: lb-in .35s var(--ease); }
  .lbox[open]::backdrop { animation: fade-in .35s var(--ease); }
}
@keyframes settle { from { transform: scale(1.06); } }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes drift { from { transform: translateY(4%) scale(1.08); } to { transform: translateY(-4%) scale(1.08); } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }

/* hover affordances only where there is a real pointer */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .zoom { overflow: hidden; }
  .zoom img { transition: transform 1.2s var(--ease); }
  .zoom:hover img, .zoom:focus-visible img { transform: scale(1.04); }
  .lift-hover { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .lift-hover:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
}

/* ── zoomable images (lightbox triggers) ── */
.zoomable { display: block; width: 100%; position: relative; cursor: zoom-in; border-radius: inherit; }
.zoomable::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) center / 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18); opacity: .9; transition: transform .35s var(--ease), opacity .35s;
}
.zoomable:hover::after, .zoomable:focus-visible::after { transform: scale(1.08); opacity: 1; }

/* ── tabs ── */
[role="tabpanel"][hidden] { display: none; }
[role="tab"] { min-height: 44px; padding: 0 18px; border-radius: 999px; transition: background-color .3s var(--ease), color .3s var(--ease); }
[role="tab"][aria-selected="true"] { background: var(--brand); color: var(--paper); }

/* ── linked highlight (schedule row ↔ plan zone ↔ map pin) ── */
tr[data-link] { transition: background-color .3s var(--ease); }
tr[data-link].is-hl { background: color-mix(in srgb, var(--accent) 22%, transparent); }
svg [data-link] { transition: fill-opacity .3s var(--ease), stroke-width .3s var(--ease); }
svg [data-link].is-hl { fill-opacity: .85; }

/* ── copy button ── */
[data-copy] { cursor: copy; }
[data-copy].is-done { color: var(--brand); }

/* ── carousel and sideways plates ── */
[data-track] {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 560px); column-gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
[data-track] > * { scroll-snap-align: start; }
[data-track]::-webkit-scrollbar { display: none; }
[data-dir] { width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; transition: opacity .3s, background-color .3s; }
[data-dir]:disabled { opacity: .3; cursor: default; }
[data-scroll-x] { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }

/* ── lightbox ── */
.lbox {
  width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; margin: 0; padding: clamp(12px, 3vw, 32px);
  border: 0; background: transparent; color: #fff; place-items: center;
}
.lbox[open] { display: grid; }
.lbox::backdrop { background: rgba(10, 12, 16, .9); }
.lbox figure { display: grid; justify-items: center; gap: 12px; }
.lbox img { max-width: none; border-radius: 6px; }
.lbox p { max-width: 70ch; font-size: .9rem; text-align: center; opacity: .85; }
.lbox__x {
  position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1;
}

/* ── back to top ── */
.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--paper); text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }

/* ── reduced motion: everything still, nothing waiting ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .parallax { transform: none !important; }
}

@media print {
  .head, .totop, .lbox, .cue, .skip { display: none !important; }
  .reveal, .reveal .lift { opacity: 1 !important; transform: none !important; }
}

/* ═════════════════════════ 2. THIS SITE ═════════════════════════
   From the brochure: @font-face (self-hosted WOFF2, font-display: swap), tokens
   (sampled hex values; text colours checked for 4.5:1 contrast), fluid type scale
   (clamp), layout, and the brochure's graphic devices (tabs, rules, shapes, plates).
   Style nav links as `.nav ul a`, not `.nav a`: the broader selector out-ranks `.btn`
   and strips the Brochure button's padding in the phone menu. */

/* ── fonts: Belleza (OFL) stands in for the brochure's ABC Arizona Flare (trial copy in the PDF);
   the brochure swaps in Cormorant Garamond Light for "&", so does this (one-glyph subset).
   Body copy is the system face: SF Pro, the brochure's text face, on Apple devices. ── */
@font-face { font-family: "Belleza"; src: url("../fonts/belleza-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Amp"; src: url("../fonts/cormorant-amp-300.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0026; }

:root {
  --night-0: #1b181b; --night: #232027; --night-2: #2b2e3e; --night-3: #32354c;
  --plan-0: #242127; --plan-1: #2f3345;
  --navy-0: #292934; --navy-1: #2f3a52; --navy-2: #33496e;
  --slate: #595a6f;
  --ink: #373a52;          /* headings and copy on light pages */
  --blue: #3784d0;         /* EN headings on light pages (large text only) */
  --blue-ink: #2766a8;     /* same hue, dark enough for small text */
  --ice: #c3daf1;          /* EN copy on dark pages */
  --gold: #fadf4f;         /* EN headings on dark pages */
  --green: #8dbb46; --violet: #5b5f86;
  --paper: #f8fafd; --sky-0: #f5f8fd; --sky-1: #b9d4f1;
  --grad: linear-gradient(90deg, #f3df48 0%, #8dbb46 25%, #5b6383 50%, #8dbb46 75%, #f3df48 100%);
  --grad-wave: linear-gradient(90deg, var(--violet), #7cb044 55%, #fde040);
  --brand: var(--ink); --accent: var(--gold); --focus: var(--gold); --line: rgba(255, 255, 255, .14);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Amp", "Belleza", Georgia, serif;
  --gutter: clamp(20px, 5vw, 84px);
  --max: 1440px;
}

/* one language at a time: copy and headings carry data-l="en|nl" */
html:not([data-lang="nl"]) [data-l="nl"], html[data-lang="nl"] [data-l="en"] { display: none !important; }

body { background: var(--night); color: #fff; font-size: 1.0625rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding: clamp(72px, 10vw, 150px) 0; }
.h2, .h3, .h4, .pillar h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.h3 { font-size: clamp(1.75rem, 2.8vw, 2.75rem); }
.h4 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); }
.h2__nl, .h2__en { display: block; text-wrap: balance; }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.6; max-width: 46ch; }
.eyebrow { font-family: var(--display); color: var(--gold); font-size: clamp(1rem, 1.2vw, 1.2rem); letter-spacing: .01em; }

.sec--sky, .sub--light, .sec--light { color: var(--ink); --focus: var(--ink); }

/* ── header ── */
.head { color: #fff; }
.head.is-on { background: rgba(27, 24, 29, .88); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); min-height: 72px; }
.head__logo { display: block; flex: none; padding: 6px 0; }
.head__logo img { width: clamp(150px, 13vw, 190px); height: auto; }
.nav ul { display: flex; gap: clamp(18px, 2vw, 30px); }
.nav ul a { position: relative; display: inline-block; padding: 10px 0; font-size: .9375rem; text-decoration: none; opacity: .86; transition: opacity .3s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav ul a:hover, .nav ul a.is-current { opacity: 1; }
.nav ul a:hover::after, .nav ul a.is-current::after { transform: scaleX(1); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { min-width: 40px; min-height: 34px; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .72); transition: background-color .3s, color .3s; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: var(--gold); }
.lang button:hover { color: #fff; }
@media (min-width: 1024px) { .nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); } }
@media (max-width: 1023.98px) {
  .head__in { min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  .nav { background: var(--night); align-items: flex-start; gap: 22px; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { font-family: var(--display); font-size: clamp(2rem, 8vw, 2.6rem); opacity: 1; }
  .nav .btn--nav { min-height: 52px; padding: 0 24px; font-size: 1rem; }
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .ico-down { transform: translateY(2px); }
.btn:hover .ico-out { transform: translate(2px, -2px); }
.btn--gold { background: var(--gold); color: var(--night-0); }
.btn--gold:hover { background: #fff0a0; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #24263a; }
.btn--nav { min-height: 42px; padding: 0 18px; font-size: .875rem; }
[data-copy].is-done { color: var(--gold); border-color: var(--gold); }

/* ── brochure icons: the PDF's own shapes as masks over its gold-green-slate gradient ── */
.ico {
  display: inline-block; flex: none; width: 46px; height: 46px; background: var(--grad); background-size: 200% 100%;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  transition: background-position 1.2s var(--ease);
}
.point:hover .ico, .feat:hover .ico, .stat:hover .ico { background-position: 100% 0; }
.ico--warehouse { --m: url("../img/icons/ico-warehouse.png"); } .ico--access { --m: url("../img/icons/ico-access.png"); }
.ico--parking { --m: url("../img/icons/ico-parking.png"); } .ico--power { --m: url("../img/icons/ico-power.png"); }
.ico--motorway { --m: url("../img/icons/ico-motorway.png"); } .ico--plane { --m: url("../img/icons/ico-plane.png"); }
.ico--truck { --m: url("../img/icons/ico-truck.png"); } .ico--car { --m: url("../img/icons/ico-car.png"); }
.ico--people1 { --m: url("../img/icons/ico-people1.png"); } .ico--people2 { --m: url("../img/icons/ico-people2.png"); }
.ico--people3 { --m: url("../img/icons/ico-people3.png"); } .ico--height { --m: url("../img/icons/ico-height.png"); }
.ico--floor { --m: url("../img/icons/ico-floor.png"); } .ico--doors { --m: url("../img/icons/ico-doors.png"); }
.ico--ev { --m: url("../img/icons/ico-ev.png"); } .ico--sprinkler { --m: url("../img/icons/ico-sprinkler.png"); }
.ico--gate { --m: url("../img/icons/ico-gate.png"); } .ico--bike { --m: url("../img/icons/ico-bike.png"); }
.ico--vrf { --m: url("../img/icons/ico-vrf.png"); } .ico--breeam { --m: url("../img/icons/ico-breeam.png"); }
.ico--pv { --m: url("../img/icons/ico-pv.png"); } .ico--mva { --m: url("../img/icons/ico-mva.png"); }
.ico--train { --m: url("../img/icons/ico-train.png"); } .ico--cycle { --m: url("../img/icons/ico-cycle.png"); }

/* ── hero: the back-page composition, the wave hanging over a dark ground ── */
.hero { position: relative; isolation: isolate; display: grid; min-height: max(100svh, 680px); overflow: hidden; background: linear-gradient(180deg, var(--night-0) 0%, #24252f 55%, var(--night-2) 100%); color: #fff; }
.hero__wave { position: absolute; inset: 0; z-index: -2; }
.hero__wave img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 0; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 99%); mask-image: linear-gradient(180deg, #000 60%, transparent 99%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(27, 24, 27, .55) 0, transparent 22%, transparent 48%, rgba(36, 37, 47, .72) 74%, var(--night-2) 100%); }
.hero__in {
  align-self: end; width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--bar-h) + 24px) var(--gutter) clamp(40px, 7vh, 84px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "brand facts" "jv facts"; gap: clamp(28px, 4vh, 48px) clamp(32px, 6vw, 110px); align-items: end;
}
.hero__brand { grid-area: brand; }
.hero__title { margin-top: 14px; }
.hero__logo { width: min(560px, 100%); height: auto; }
.hero__sub { display: block; margin-top: clamp(10px, 1.4vw, 18px); font-family: var(--display); font-size: clamp(1.5rem, 2.9vw, 2.8rem); line-height: 1.1; color: #fff; }
.hero__facts { grid-area: facts; display: grid; gap: 18px; justify-items: start; }
.facts { display: grid; gap: 2px; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.4; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.facts span:first-child { font-weight: 300; }
.facts i { font-style: normal; opacity: .6; padding: 0 .2em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.jv { grid-area: jv; display: flex; align-items: center; gap: 22px; }
.jv__label { font-family: var(--display); font-size: .875rem; color: rgba(255, 255, 255, .78); }
.jv__logos { display: flex; align-items: center; gap: 22px; }
.jv__logos li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .35); }
.jv__logos img { height: 30px; width: auto; }
.jv__logos li + li img { height: 22px; }
.hero .eyebrow { --i: 0; } .facts { --i: 2; } .hero__ctas { --i: 3; } .jv { --i: 4; }
.cue { position: absolute; right: var(--gutter); top: 50%; width: 30px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 16px; }
.cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); }
@media (max-width: 1023.98px) {
  .hero__in { grid-template-columns: 1fr; grid-template-areas: "brand" "facts" "jv"; }
  .cue { display: none; }
}
@media (max-aspect-ratio: 1/1) {
  .hero__wave { bottom: auto; height: 62svh; }
  .hero__wave img { object-position: 30% 0; }
  .hero__in { padding-top: 40svh; }
}
@media (max-width: 480px) { .jv { flex-wrap: wrap; gap: 12px 22px; } .jv__label { width: 100%; } }

/* ── overview (sky page) ── */
.sec--sky { background: linear-gradient(170deg, var(--sky-0) 0%, #e3edf9 48%, var(--sky-1) 100%); padding-bottom: 0; }
.overview { display: grid; gap: clamp(36px, 5vw, 64px); }
.points { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.point { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.point p { font-size: 1rem; line-height: 1.55; }
.sec--sky .point p { color: var(--ink); }
.band { position: relative; margin-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.band .zoomable { border-radius: 0; }
.band img { width: 100%; height: clamp(320px, 52vw, 860px); object-fit: cover; object-position: 50% 62%; }
.sec--sky .band { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }

/* ── specification (plan page) ── */
.sec--plan { background: linear-gradient(180deg, var(--plan-0) 0%, var(--plan-1) 100%); }
.spec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.power { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.2; }
.power .ico { width: 38px; height: 50px; }
.plan { position: relative; max-width: 1240px; margin: clamp(40px, 6vw, 80px) auto 0; }
.plan .zoomable::after { right: 4%; bottom: 8%; }
.plan__zones { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.zone { fill: rgba(255, 255, 255, 0); stroke: rgba(250, 223, 79, 0); stroke-width: 3; transition: fill .45s var(--ease), stroke .45s var(--ease); }
.zone.is-hl { fill: rgba(255, 255, 255, .26); stroke: var(--gold); }
.zone__label { fill: #fff; font: 600 24px/1 var(--font); letter-spacing: .08em; opacity: 0; transition: opacity .45s var(--ease); paint-order: stroke; stroke: rgba(27, 24, 29, .55); stroke-width: 4px; }
.zone__label.is-hl { opacity: 1; }
.spec__grid { display: grid; gap: clamp(48px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); }
@media (min-width: 1100px) { .spec__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .spec__grid .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.schedule { max-width: 640px; }
.tbl { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 13px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.tbl th[scope="row"] { text-align: left; font-weight: 400; color: #dfe6f1; }
.tbl thead th { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .8); border-bottom-color: rgba(255, 255, 255, .4); }
.tbl tfoot th, .tbl tfoot td { font-weight: 600; border-bottom: 0; padding-top: 16px; }
.tbl [data-link] { transition: background-color .35s var(--ease), color .35s var(--ease); }
.tbl th[data-link] { cursor: pointer; }
.tbl th[data-link]::after { content: " ◦"; color: var(--gold); }
.tbl [data-link].is-hl { background: rgba(250, 223, 79, .12); color: var(--gold); }
.schedule__note { margin-top: 18px; color: var(--ice); font-size: .9375rem; }
.schedule__hint { margin-top: 8px; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.feats { display: grid; gap: 26px 36px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.feat .ico { width: 40px; height: 40px; }
.feat p { font-size: .9688rem; line-height: 1.5; color: #e6ecf5; }

/* ── location (navy page) ── */
.sec--navy { background: linear-gradient(180deg, var(--navy-0) 0%, var(--navy-1) 45%, var(--navy-2) 100%); padding-bottom: 0; }
.loc { display: grid; gap: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 80px); grid-template-areas: "text" "maps" "drives" "stats"; }
@media (min-width: 1024px) { .loc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text maps" "drives drives" "stats stats"; } }
.loc__text { grid-area: text; display: grid; gap: clamp(28px, 3.5vw, 44px); align-content: start; }
.loc__maps { grid-area: maps; }
.drives { grid-area: drives; }
.stats { grid-area: stats; }
.points--dark .point p { color: #e6ecf5; }
.points--dark { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.snap img { width: 100%; max-width: 525px; border-radius: 12px; }
.tabs [role="tablist"] { display: inline-flex; gap: 4px; margin: 0 0 16px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.tabs [role="tab"] { color: rgba(255, 255, 255, .8); font-size: .9375rem; font-weight: 600; }
.tabs [role="tab"][aria-selected="true"] { background: var(--gold); color: var(--night-0); }
.map { position: relative; }
.map .zoomable { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.map img { width: 100%; height: auto; }
.map__pulse { position: absolute; width: 74px; height: 74px; margin: -37px 0 0 -37px; pointer-events: none; }
.map--regional .map__pulse { left: 37.6%; top: 65.9%; }
.map--local .map__pulse { left: 31.6%; top: 37.6%; }
.map__pulse::before, .map__pulse::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--gold); border-radius: 50%; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .map__pulse::before, .map__pulse::after { animation: pulse 2.8s var(--ease) infinite; }
  .map__pulse::after { animation-delay: 1.4s; }
}
@keyframes pulse { 0% { transform: scale(.45); opacity: .95; } 100% { transform: scale(1.5); opacity: 0; } }
.drives { display: grid; gap: 28px clamp(32px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.drive__head, .drive li { display: grid; grid-template-columns: minmax(0, 1fr) 84px 96px; gap: 12px; align-items: baseline; }
.drive__head { padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .4); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ice); }
.drive li { position: relative; padding: 14px 0 16px; font-size: 1rem; }
.drive__dist, .drive__mins { text-align: right; font-variant-numeric: tabular-nums; }
.drive__head span:nth-child(n+2) { text-align: right; }
.drive__mins { color: var(--gold); }
.drive li i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.drive li i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p, 1) * 100%); background: var(--grad-wave); transform-origin: left; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .drive li i::after { transform: scaleX(0); transition: transform 1.4s var(--ease); }
  .drives.is-in li i::after { transform: none; }
  .drives.is-in li:nth-child(2) i::after { transition-delay: .12s; } .drives.is-in li:nth-child(3) i::after { transition-delay: .24s; } .drives.is-in li:nth-child(4) i::after { transition-delay: .36s; }
  html:not(.js-ready) .drive li i::after { animation: failsafe-show 0s 3s forwards; }
}
.loc .stats { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 130px); }
.stat { display: grid; gap: 10px; align-content: start; padding-left: 22px; border-left: 1px solid var(--gold); }
.stat .ico { width: 54px; height: 40px; -webkit-mask-position: left center; mask-position: left center; }
.stat__n { font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 300; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat__l { font-size: .9688rem; color: #e6ecf5; max-width: 24ch; }

/* local infrastructure + train (light page) */
.sub { position: relative; }
.sub--light { background: linear-gradient(180deg, var(--paper), #eef3fa); padding: clamp(72px, 10vw, 140px) 0; }
.infra { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 1024px) { .infra { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.infra__text { display: grid; gap: 24px; align-content: start; }
.infra p, .rail p { line-height: 1.6; max-width: 52ch; }
.train img { width: 100%; border-radius: 12px; }
.rail { display: grid; gap: 28px; align-content: start; }
.route { position: relative; display: grid; padding-left: 40px; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--green), var(--blue) 40%, var(--ink)); transform-origin: top; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .route::before { transform: scaleY(0); transition: transform 1.8s var(--ease) .3s; }
  .rail.is-in .route::before { transform: none; }
  html:not(.js-ready) .route::before { animation: failsafe-show 0s 3s forwards; }
}
.route__stop { position: relative; padding: 6px 0; font-weight: 600; color: var(--ink); }
.route__stop::before { content: ""; position: absolute; left: -35px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.route__stop--site::before { width: 22px; height: 22px; left: -39px; margin-top: -11px; border: 0; background: var(--grad-wave); box-shadow: 0 0 0 4px rgba(141, 187, 70, .2); }
.route__stop--end::before { background: var(--ink); }
.route__leg { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .9375rem; color: var(--blue-ink); }
.route__leg .ico { width: 30px; height: 18px; background: var(--blue-ink); }
.route__leg--bike .ico { background: var(--green); }

/* the area (slate page) */
.sub--slate { background: var(--slate); padding-top: clamp(72px, 10vw, 140px); }
.hotspot { display: grid; gap: clamp(32px, 4vw, 52px); }
.hotspot .lede { color: var(--ice); max-width: 62ch; }
.pillars { display: grid; gap: 36px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pillar { position: relative; display: grid; gap: 14px; padding-top: 22px; align-content: start; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--green), rgba(255, 255, 255, .18)); }
.pillar h4 { font-size: clamp(1.3rem, 1.6vw, 1.6rem); }
.pillar p { color: var(--ice); font-size: .9688rem; line-height: 1.55; }
.band--fade { margin-top: clamp(40px, 6vw, 80px); }
.band--fade { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.band--fade img { object-position: 50% 70%; }

/* ── brochure (light) ── */
.sec--light { background: #f1f5fb; }
.download { display: grid; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -40px rgba(35, 32, 39, .45); }
@media (min-width: 900px) { .download { grid-template-columns: 1fr minmax(260px, 420px); } }
.download__text { display: grid; gap: 18px; justify-items: start; }
.download__meta { color: #5c6077; }
.download__pages { position: relative; display: block; width: min(100%, 380px); aspect-ratio: 560 / 640; margin: 0 auto; }
.page { position: absolute; width: 62%; top: 4%; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px -16px rgba(20, 18, 24, .55); transition: transform .7s var(--ease); }
.page img { width: 100%; height: auto; }
.page--back { left: 30%; transform: rotate(7deg); }
.page--front { left: 6%; transform: rotate(-4deg); }
.download__pages:hover .page--back, .download__pages:focus-visible .page--back { transform: rotate(11deg) translate(6%, -2%); }
.download__pages:hover .page--front, .download__pages:focus-visible .page--front { transform: rotate(-7deg) translate(-4%, -3%); }

/* ── contact (back page) ── */
.sec--night { background: linear-gradient(180deg, #262934 0%, var(--night-2) 45%, var(--night-3) 100%); overflow: hidden; padding-top: clamp(220px, 34vw, 520px); }
.contact__wave { position: absolute; left: 0; right: 0; top: 0; height: clamp(300px, 48vw, 760px); z-index: 0; pointer-events: none; }
.contact__wave img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: .9; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.contact { position: relative; z-index: 1; display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; } }
.contact__place { display: grid; gap: 22px; justify-items: start; }
.contact address { font-style: normal; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.agents { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.agent { display: grid; gap: 6px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.agent__logo { height: 44px; width: auto; margin-bottom: 16px; }
.agent:last-child .agent__logo { height: 32px; margin: 6px 0 22px; }
.agent__name { color: var(--gold); font-weight: 600; }
.agent a { display: inline-block; padding: 4px 0; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; overflow-wrap: anywhere; }
.agent a:hover { border-bottom-color: var(--gold); }

/* ── footer ── */
.foot { background: #18161b; color: rgba(255, 255, 255, .66); padding: 40px 0 48px; }
.foot__in { display: grid; gap: 14px; }
.foot__legal { font-size: .75rem; line-height: 1.6; max-width: 120ch; }
.foot__credit { font-size: .8125rem; }
.foot a { color: #fff; text-underline-offset: 3px; }
.totop { background: var(--gold); color: var(--night-0); }
.totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* light pages: dark text in tabs, zoom badge, focus */

