/* Swiss Chamber of Commerce in the Netherlands — concept redesign by Atelier Digital Erik Meijer
   Concept: the route from the Alps to the polder. Swiss grid discipline, Schiphol wayfinding. */

@font-face { font-family: "Barlow C"; src: url(fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow C"; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow C"; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url(fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url(fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url(fonts/schibsted-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #121722;        /* night sky over the polder */
  --ink-2: #1B2232;
  --white: #FFFFFF;
  --cloud: #EEF1F4;
  --grey: #5B6474;
  --grey-light: #9AA3B2;
  --signal: #FFC917;     /* Schiphol wayfinding yellow */
  --red: #D52B1E;        /* Swiss red */
  --dusk: #F2B48A;       /* horizon light in the 3D scene */
  --hair: rgba(18, 23, 34, .12);
  --hair-d: rgba(255, 255, 255, .12);

  --cond: "Barlow C", "Arial Narrow", sans-serif;
  --body: "Schibsted", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-ui: .45s;

  --wrap: 84rem;
  --g: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(6rem, 12vw, 10rem);
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
p { margin: 0 0 1.1em; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3 { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.skip { position: fixed; left: -999px; top: 1rem; z-index: 100; background: var(--signal); color: var(--ink); padding: .7rem 1rem; font-weight: 600; }
.skip:focus { left: 1rem; }
.wrap { width: min(100% - 2 * var(--g), var(--wrap)); margin-inline: auto; }
.h2 { font: 700 clamp(2.6rem, 6vw, 5.4rem)/.92 var(--cond); letter-spacing: -.005em; }
.line-mask { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.4rem .95rem; border: 2px solid transparent;
  font: 600 1.1rem/1 var(--cond); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate; background: none;
  transition: color var(--t-ui) var(--ease-out), border-color var(--t-ui);
}
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; transform: translateY(101%); transition: transform var(--t-ui) var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn-yellow { background: var(--signal); color: var(--ink); }
.btn-yellow::before { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark::before { background: var(--ink); }
.btn-ghost-dark:hover { color: var(--white); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 95; background: var(--ink); display: grid; place-items: center; color: var(--grey-light); }
.loader-inner { width: min(70vw, 280px); display: grid; justify-items: center; gap: 1.2rem; }
.loader-cross { width: 44px; height: 44px; }
.loader-bar { width: 100%; height: 2px; background: var(--hair-d); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.loader-text { font: 500 1rem var(--cond); letter-spacing: .04em; margin: 0; text-align: center; }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--white); transition: transform .6s var(--ease-out), background .35s, color .35s; }
.nav.is-hidden { transform: translateY(-105%); }
.nav.is-solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--hair); }
.nav-inner { display: flex; align-items: center; gap: 2rem; width: min(100% - 2 * var(--g), var(--wrap)); margin-inline: auto; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand-cross { width: 34px; height: 34px; flex: none; }
.brand-text { font: 700 1.15rem/1 var(--cond); }
.brand-text span { display: block; font-weight: 500; opacity: .7; margin-top: .15rem; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .93rem; padding-block: .3rem; background: linear-gradient(var(--signal), var(--signal)) left bottom / 0 3px no-repeat; transition: background-size var(--t-ui) var(--ease-out); }
.nav-links a:hover, .nav-links a.is-current { background-size: 100% 3px; }
.nav-cta { padding: .75rem 1rem .7rem; font-size: 1rem; }
.menu-btn { display: none; background: none; border: 2px solid currentColor; padding: .55rem .9rem .5rem; font: 600 1rem/1 var(--cond); cursor: pointer; }
.menu { background: var(--ink); color: var(--white); padding: .5rem var(--g) 2rem; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .8rem 0; font: 700 2rem/1 var(--cond); text-decoration: none; border-bottom: 1px solid var(--hair-d); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; background: var(--ink); color: var(--white); }
.motion .hero { height: 260svh; }   /* scroll distance for the flight */
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { position: absolute; inset: 0; display: none; background: linear-gradient(180deg, #1E2A44 0%, #4A5578 45%, #F2B48A 72%, #2E3B30 72.5%, #1C2620 100%); }
.no-webgl .hero-fallback { display: block; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18,23,34,.75) 0%, rgba(18,23,34,.35) 45%, rgba(18,23,34,0) 70%), linear-gradient(0deg, rgba(18,23,34,.82) 0%, rgba(18,23,34,0) 45%); }
.hero-copy { position: absolute; left: 0; right: 0; width: min(100% - 2 * var(--g), var(--wrap)); margin-inline: auto; }
.hero-copy-a { top: 50%; transform: translateY(-46%); }
.hero-since { display: inline-block; font: 600 1.05rem/1 var(--cond); letter-spacing: .04em; padding: .5rem .7rem .45rem; background: var(--red); color: var(--white); margin-bottom: 1.6rem; }
.hero-title { font: 700 clamp(4rem, 11.5vw, 11.5rem)/.86 var(--cond); letter-spacing: -.01em; max-width: 7em; }
.hero-sub { max-width: 32rem; margin-top: 1.8rem; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-copy-b { bottom: 18svh; opacity: 0; }
.hero-big { font: 700 clamp(2.6rem, 6.4vw, 6.4rem)/.92 var(--cond); max-width: 12em; margin: 0; text-align: left; text-shadow: 0 2px 30px rgba(18,23,34,.4); }
.hero-hud { position: absolute; left: 0; right: 0; bottom: 2rem; width: min(100% - 2 * var(--g), var(--wrap)); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; font: 600 1rem var(--cond); letter-spacing: .06em; }
.hud-route { display: flex; align-items: center; gap: .8rem; }
.hud-city { padding: .3rem .5rem .25rem; background: var(--white); color: var(--ink); }
.hud-line { position: relative; width: clamp(120px, 22vw, 320px); height: 2px; background: rgba(255,255,255,.3); }
.hud-line::before { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hud-plane { position: absolute; top: -5px; left: calc(var(--p, 0) * 100%); width: 12px; height: 12px; margin-left: -6px; background: var(--signal); transform: rotate(45deg); }
.hud-hint { color: rgba(255,255,255,.7); font-weight: 500; }
.reduced .hud-hint { display: none; }

/* ---------- Departures board ---------- */
.board-section { background: var(--ink); color: var(--white); padding-block: var(--section); position: relative; z-index: 2; }
.board-head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.board-clock { display: flex; align-items: baseline; gap: .8rem; margin: 0; font: 600 1rem var(--cond); color: var(--grey-light); }
.board-clock time { font: 700 2.6rem/1 var(--cond); color: var(--signal); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.board { background: #0B0F17; border: 1px solid var(--hair-d); padding: clamp(.8rem, 2vw, 1.6rem); font-family: var(--cond); }
.board-row { display: grid; grid-template-columns: 6rem 1fr 1fr 1.6fr 11rem; gap: 1rem; align-items: center; padding-block: .55rem; border-bottom: 1px solid rgba(255,255,255,.07); font: 600 clamp(1rem, 1.6vw, 1.45rem)/1 var(--cond); letter-spacing: .05em; }
.board-row:last-child { border-bottom: 0; }
.board-labels { font-size: .95rem; color: var(--signal); letter-spacing: .02em; padding-bottom: .9rem; }
.board-row [data-flap] { white-space: nowrap; display: flex; perspective: 300px; }
.flap { display: inline-block; min-width: .66em; margin-right: 2px; text-align: center; line-height: 1.45; background: linear-gradient(180deg, #1F2738 0 49%, #0B0F17 49% 51%, #1A2130 51%); border-radius: 2px; transform-origin: 50% 50%; backface-visibility: hidden; }
.flap.sp { background: transparent; }
.c-status { color: var(--white); }
.c-status.is-go { color: var(--signal); }
.c-status.is-done { color: #7EE0A1; }
.board-note { margin: 1rem 0 0; font-size: .85rem; color: var(--grey-light); text-align: left; }

/* ---------- Services ---------- */
.services { padding-block: var(--section); }
.services-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); }
.services-index { position: sticky; top: 7rem; align-self: start; }
.services-index .h2 { margin-bottom: 2.5rem; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index-list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--hair); font: 600 1.6rem/1 var(--cond); color: var(--grey-light); transition: color var(--t-ui); }
.index-list li span { width: 0; height: 14px; background: var(--signal); transition: width var(--t-ui) var(--ease-out); }
.index-list li.is-active { color: var(--ink); }
.index-list li.is-active span { width: 28px; }
.service { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding-block: 3rem; border-bottom: 1px solid var(--hair); }
.service:last-child { border-bottom: 0; }
.service h3 { font: 700 clamp(2rem, 3.6vw, 3.2rem)/1 var(--cond); margin: 2rem 0 1.2rem; }
.service p { max-width: 36rem; color: var(--grey); font-size: 1.1rem; }
.service-art { width: 100%; max-width: 520px; height: auto; background: var(--cloud); }
.service-art .link { fill: none; stroke: var(--ink); stroke-width: 2; }
.service-art .link-dash { stroke-dasharray: 4 6; stroke: var(--grey-light); }
.service-art .hub { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.service-art .hub-y { fill: var(--signal); }
.service-art .hub-r { fill: var(--red); stroke: var(--red); }
.service-art .nodes-a circle { fill: var(--ink); opacity: .25; }

/* ---------- Investor-ready check ---------- */
.check { background: var(--signal); padding-block: var(--section); }
.check-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.check-intro p { max-width: 28rem; }
.check-intro .h2 { margin-bottom: 1.8rem; }
.ring { position: relative; width: 150px; height: 150px; margin-top: 2rem; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: rgba(18,23,34,.15); }
.ring-fg { stroke: var(--ink); stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .8s var(--ease-out); }
.ring-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 2.6rem; font: 600 1.4rem var(--cond); }
.ring-num b { font-size: 2.6rem; font-weight: 700; }

.quiz { position: relative; min-height: 380px; }
.q-card { background: var(--white); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 30px 60px -20px rgba(18,23,34,.35), 12px 12px 0 var(--ink); }
.q-step { font: 600 1rem var(--cond); letter-spacing: .03em; color: var(--grey); text-align: left; }
.q-card h3 { font: 700 clamp(1.8rem, 3.2vw, 2.8rem)/1.02 var(--cond); margin-bottom: 2rem; }
.q-answers { display: flex; flex-wrap: wrap; gap: .8rem; }
.answer { min-width: 9rem; padding: 1.1rem 1.6rem 1rem; border: 2px solid var(--ink); background: var(--white); font: 700 1.3rem/1 var(--cond); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.answer:hover { background: var(--ink); color: var(--white); }
.answer:active { transform: scale(.97); }
.answer.is-picked { background: var(--ink); color: var(--signal); }
.quiz-keys { font-size: .85rem; margin-top: 1.4rem; text-align: left; opacity: .7; }
@media (pointer: coarse) { .quiz-keys { display: none; } }
.q-result #q-advice { color: var(--grey); max-width: 34rem; }

/* ---------- Route: horizontal passes ---------- */
.route { background: var(--cloud); overflow: hidden; }
.route-pin { padding-block: var(--section) calc(var(--section) * .8); }
.route-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.route-progress { font: 700 1.6rem var(--cond); margin: 0; font-variant-numeric: tabular-nums; }
.route-track { padding-left: max(var(--g), calc((100vw - var(--wrap)) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1.5rem; }
.route-track::-webkit-scrollbar { display: none; }
.route.is-pinned .route-track { overflow: visible; }
.pass { scroll-snap-align: start; }
.passes { display: flex; gap: clamp(1rem, 2vw, 1.6rem); list-style: none; margin: 0; padding: 0 var(--g) 0 0; width: max-content; }
.pass {
  display: grid; grid-template-columns: 1fr 9.5rem; width: clamp(320px, 42vw, 620px); min-height: 300px;
  background: var(--white); position: relative;
  box-shadow: 0 20px 40px -24px rgba(18,23,34,.4);
}
.pass-main { padding: 1.8rem; border-right: 2px dashed var(--hair); }
.pass-top { display: flex; justify-content: space-between; font: 600 1rem var(--cond); color: var(--grey); letter-spacing: .03em; }
.pass h3 { font: 700 clamp(2rem, 3.2vw, 2.8rem)/1 var(--cond); margin: 1.4rem 0 1rem; }
.pass-main p:last-child { color: var(--grey); margin: 0; }
.pass-stub { padding: 1.8rem 1.2rem; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: var(--white); }
.pass-final .pass-stub { background: var(--red); }
.stub-label { font: 600 .95rem var(--cond); color: var(--signal); }
.pass-final .stub-label { color: var(--white); opacity: .8; }
.stub-value { font: 700 1.35rem/1.05 var(--cond); margin-top: .4rem; }
.pass::before, .pass::after { content: ""; position: absolute; right: calc(9.5rem - 11px); width: 22px; height: 22px; border-radius: 50%; background: var(--cloud); }
.pass::before { top: -11px; } .pass::after { bottom: -11px; }

/* ---------- Proof ---------- */
.proof { padding-block: var(--section); background: var(--ink); color: var(--white); overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.years { font: 700 clamp(7rem, 21vw, 19rem)/.8 var(--cond); color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.proof-quote { font: 700 clamp(2.2rem, 4.4vw, 3.8rem)/.98 var(--cond); margin-bottom: 1.8rem; }
.proof-copy p { color: rgba(255,255,255,.75); }

/* ---------- Regions ---------- */
.regions { padding-block: var(--section); }
.regions .h2 { margin-bottom: 3rem; }
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.region { position: relative; padding: 2rem 1.8rem 1.8rem; border-top: 6px solid var(--ink); background: var(--cloud); overflow: hidden; transition: transform var(--t-ui) var(--ease-out); }
.region::after { content: ""; position: absolute; inset: auto 0 0; height: 0; background: var(--signal); transition: height .6s var(--ease-out); z-index: 0; }
.region > * { position: relative; z-index: 1; }
.region:hover { transform: translateY(-6px); }
.region:hover::after { height: 6px; }
.region-code { display: inline-block; font: 700 1rem/1 var(--cond); background: var(--ink); color: var(--signal); padding: .4rem .55rem .35rem; letter-spacing: .04em; }
.region h3 { font: 700 2rem/1 var(--cond); margin: 1.4rem 0 .8rem; }
.region p { color: var(--grey); }
.region-cities { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; padding: 0; }
.region-cities li { font: 600 .95rem/1 var(--cond); padding: .4rem .55rem .35rem; border: 1px solid var(--hair); background: var(--white); }

/* ---------- Book ---------- */
.book { background: var(--ink); color: var(--white); padding-block: var(--section); }
.book-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.book-intro p { color: rgba(255,255,255,.75); max-width: 28rem; }
.book-intro .h2 { margin-bottom: 1.8rem; }
.booker fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.booker legend { font: 600 1.1rem var(--cond); color: var(--signal); margin-bottom: .8rem; padding: 0; letter-spacing: .02em; }
.booker legend span { color: var(--grey-light); font-weight: 500; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.days label, .times label { position: relative; cursor: pointer; }
.days input, .times input { position: absolute; opacity: 0; inset: 0; }
.days span, .times span { display: grid; place-items: center; text-align: center; padding: .8rem .3rem .7rem; border: 2px solid rgba(255,255,255,.18); font: 600 1.15rem/1.1 var(--cond); transition: border-color .2s, background .2s, color .2s; }
.days span small { display: block; font-weight: 500; font-size: .85rem; color: var(--grey-light); }
.days label:hover span, .times label:hover span { border-color: rgba(255,201,23,.6); }
.days input:checked + span, .times input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.days input:checked + span small { color: var(--ink); }
.days input:focus-visible + span, .times input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.book-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-bottom: 1rem; }
.bfield-wide { grid-column: 1 / -1; }
.bfield label { display: block; font: 600 1rem var(--cond); color: var(--grey-light); margin-bottom: .35rem; }
.bfield input { width: 100%; padding: .85rem .9rem; background: var(--ink-2); border: 2px solid rgba(255,255,255,.12); color: var(--white); font: 400 1rem var(--body); border-radius: 0; }
.bfield input:focus { outline: none; border-color: var(--signal); }
.bfield input[aria-invalid="true"] { border-color: #FF8A7A; }
.book-error { min-height: 1.4em; color: #FF9F91; font-size: .92rem; text-align: left; margin: 0 0 .8rem; }

.ticket { display: grid; grid-template-columns: 1fr 9rem; margin-top: 1rem; background: var(--white); color: var(--ink); position: relative; }
.ticket-main { padding: 1.6rem; border-right: 2px dashed var(--hair); }
.ticket-top { font: 700 1.5rem var(--cond); text-align: left; margin-bottom: .6rem; }
.ticket-route { display: flex; align-items: center; gap: .8rem; font: 700 2.2rem/1 var(--cond); text-align: left; }
.ticket-route i { flex: 1; height: 2px; background: var(--ink); position: relative; }
.ticket-route i::after { content: ""; position: absolute; right: -2px; top: -5px; width: 12px; height: 12px; background: var(--signal); transform: rotate(45deg); }
.ticket dl { display: grid; grid-template-columns: repeat(4, auto); gap: 1rem; margin: 1.2rem 0 0; }
.ticket dt { font: 600 .85rem var(--cond); color: var(--grey); }
.ticket dd { margin: .15rem 0 0; font: 700 1.2rem var(--cond); }
.ticket-stub { background: var(--signal); padding: 1.2rem; display: flex; align-items: flex-end; }
.ticket-stub p { font-size: .82rem; margin: 0; text-align: left; }

/* ---------- Footer ---------- */
.footer { padding-block: 3.5rem 5rem; font-size: .92rem; border-top: 6px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 2fr; gap: 3rem; }
.footer-name { font: 700 1.4rem/1.05 var(--cond); text-align: left; }
.footer-addr { text-align: left; color: var(--grey); }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.footer-links a { text-decoration: none; background: linear-gradient(var(--signal), var(--signal)) left bottom / 0 3px no-repeat; transition: background-size var(--t-ui) var(--ease-out); }
.footer-links a:hover { background-size: 100% 3px; }
.footer-note { font-size: .82rem; color: var(--grey); margin: 0; }
.concept-badge { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; background: var(--signal); color: var(--ink); padding: .5rem .75rem .45rem; font: 600 .9rem/1 var(--cond); text-decoration: none; border: 2px solid var(--ink); }

/* pre-animation states */
.motion [data-reveal] { opacity: 0; transform: translateY(30px); }
.motion [data-load] { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .services-grid, .check-grid, .proof-grid, .book-grid { grid-template-columns: 1fr; }
  .services-index { position: static; }
  .index-list { display: none; }
  .service { min-height: 0; }
  .board-row { grid-template-columns: 5.5rem 1fr 1fr 10rem; }
  .c-intro { display: none !important; }
  .region-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero-shade { background: linear-gradient(0deg, rgba(18,23,34,.9) 0%, rgba(18,23,34,.45) 60%, rgba(18,23,34,.2) 100%); }
  .hero-copy-a { top: auto; bottom: 5.5rem; transform: none; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .concept-badge { opacity: 0; pointer-events: none; transition: opacity .3s; }
  .past-hero .concept-badge { opacity: 1; pointer-events: auto; }
  .hero-hud .hud-hint { display: none; }
  .hero-hud { bottom: 1.2rem; }
  .board-head-row { flex-direction: column; align-items: flex-start; }
  .board-row { grid-template-columns: 1fr 8.4rem; font-size: 1rem; }
  .board-row > :nth-child(1), .board-row > :nth-child(3) { display: none !important; }
  .pass { grid-template-columns: 1fr; width: 82vw; }
  .pass-main { border-right: 0; border-bottom: 2px dashed var(--hair); }
  .pass::before, .pass::after { display: none; }
  .days { grid-template-columns: repeat(5, 1fr); gap: .3rem; }
  .days span { font-size: 1rem; padding-inline: 0; }
  .times { grid-template-columns: repeat(2, 1fr); }
  .book-fields { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket dl { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .concept-badge { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Additions: content from the live site
   ========================================================= */
.btn-text-dark { padding-inline: .3rem; color: var(--ink); border: 0; }
.btn-text-dark::before { display: none; }
.btn-text-dark span { background: linear-gradient(var(--signal), var(--signal)) left bottom / 100% 3px no-repeat; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Prepare: full self-assessment ---------- */
.prepare { padding-block: var(--section); background: var(--white); }
.prepare-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: 3rem; }
.prepare-head p { margin: 0; color: var(--grey); }
.prep { display: grid; grid-template-columns: 22rem 1fr; border: 2px solid var(--ink); min-height: 30rem; }
.prep-tabs { display: flex; flex-direction: column; border-right: 2px solid var(--ink); background: var(--cloud); }
.prep-tab {
  display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .6rem;
  padding: .95rem 1.1rem; border: 0; border-bottom: 1px solid var(--hair); background: none; text-align: left; cursor: pointer;
  font: 600 1.15rem/1.1 var(--cond); color: var(--grey); transition: background .2s, color .2s;
}
.prep-tab:last-child { border-bottom: 0; }
.prep-tab .n { font-weight: 700; color: var(--grey-light); }
.prep-tab .tick { width: 14px; height: 14px; border: 2px solid var(--hair); border-radius: 50%; transition: background .2s, border-color .2s; }
.prep-tab.is-done .tick { background: var(--ink); border-color: var(--ink); }
.prep-tab:hover { color: var(--ink); }
.prep-tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: inset 6px 0 0 var(--signal); }
.prep-tab[aria-selected="true"] .n { color: var(--ink); }
.prep-panel { padding: clamp(1.4rem, 3vw, 2.6rem); }
.prep-panel h3 { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--cond); margin-bottom: 1.2rem; }
.prep-panel ul { margin: 0 0 1.6rem; padding-left: 1.2rem; }
.prep-panel li { margin-bottom: .45rem; color: var(--grey); }
.prep-panel li::marker { color: var(--red); }
.prep-panel label { display: block; font: 600 1rem var(--cond); margin-bottom: .4rem; }
.prep-panel textarea { width: 100%; min-height: 9rem; resize: vertical; padding: .9rem 1rem; border: 2px solid var(--hair); background: var(--cloud); font: 400 1rem/1.5 var(--body); color: var(--ink); border-radius: 0; transition: border-color .2s, background .2s; }
.prep-panel textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.prep-saved { font-size: .85rem; color: var(--grey); margin: .5rem 0 0; text-align: left; min-height: 1.3em; }
.prep-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.6rem; }
.prep-progress { margin: 0 auto 0 0; font: 600 1.2rem var(--cond); text-align: left; }
.prep-progress b { font-size: 1.6rem; }

/* ---------- People ---------- */
.people { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--hair-d); display: grid; gap: 1.4rem; }
.people-label { display: block; font: 600 .95rem var(--cond); color: var(--signal); letter-spacing: .02em; margin-bottom: .4rem; }
.person-name { font: 700 1.6rem/1.05 var(--cond); }
.people-amb ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.people-amb li { font: 600 1.05rem/1 var(--cond); padding: .5rem .65rem .45rem; border: 1px solid var(--hair-d); }
.people-amb small { color: var(--grey-light); font-weight: 500; margin-left: .3rem; }

/* ---------- History ---------- */
.history { padding-block: var(--section); background: var(--white); }
.history-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.history-intro { position: sticky; top: 6rem; }
.history-intro .h2 { margin-bottom: 1.4rem; }
.history-intro > p { color: var(--grey); max-width: 30rem; }
.history-year { font: 700 clamp(5rem, 12vw, 10rem)/.85 var(--cond); color: var(--red); margin: 1.6rem 0; font-variant-numeric: tabular-nums; overflow: hidden; height: .85em; }
.history-year span { display: block; }
.pdf-link { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1rem .8rem .8rem; border: 2px solid var(--ink); text-decoration: none; transition: background .25s, color .25s; }
.pdf-link:hover { background: var(--ink); color: var(--white); }
.pdf-icon { display: grid; place-items: center; width: 2.6rem; height: 3.2rem; background: var(--red); color: var(--white); font: 700 .9rem var(--cond); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.pdf-link span:last-child { font: 600 1.1rem/1.15 var(--cond); }
.pdf-link small { display: block; font: 400 .85rem var(--body); opacity: .7; margin-top: .2rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.6rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--hair); }
.timeline::after { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--red); transform-origin: top; transform: scaleY(var(--tl, 1)); }
.tl { position: relative; padding-bottom: 3rem; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -2.6rem; top: .35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--white); border: 2px solid var(--hair); z-index: 1; transition: border-color .3s, background .3s, transform .3s var(--ease-out); }
.tl.is-on::before { border-color: var(--red); background: var(--red); }
.tl-key.is-on::before { transform: scale(1.35); }
.tl-year { display: inline-block; font: 700 1.2rem/1 var(--cond); padding: .35rem .5rem .3rem; background: var(--ink); color: var(--white); letter-spacing: .03em; }
.tl-key .tl-year { background: var(--red); }
.tl h3 { font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.02 var(--cond); margin: .9rem 0 .6rem; }
.tl p { color: var(--grey); max-width: 38rem; }

/* ---------- Activities ---------- */
.activities { padding-block: var(--section); background: var(--cloud); }
.activities .h2 { margin-bottom: 3rem; }
.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.act { background: var(--white); padding: clamp(1.6rem, 3vw, 2.6rem); position: relative; display: flex; flex-direction: column; }
.act h3 { font: 700 clamp(1.9rem, 3vw, 2.6rem)/1 var(--cond); margin-bottom: 1.1rem; }
.act > p { color: var(--grey); }
.act-award { border-top: 6px solid var(--red); }
.act-mises { border-top: 6px solid var(--ink); }
.act-medal { width: 72px; height: 72px; margin-bottom: 1.2rem; }
.act-medal circle { fill: none; stroke: var(--signal); stroke-width: 3; }
.act-medal circle + circle { stroke: var(--ink); stroke-width: 1.5; }
.act-medal path { fill: var(--red); }
.laureates { margin: .6rem 0 1.4rem; }
.lau-years { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.lau-years button { padding: .55rem .75rem .5rem; border: 2px solid var(--ink); background: var(--white); font: 700 1.05rem/1 var(--cond); cursor: pointer; transition: background .2s, color .2s; }
.lau-years button:hover { background: var(--cloud); }
.lau-years button[aria-selected="true"] { background: var(--ink); color: var(--signal); }
.lau-panel { min-height: 7.5rem; border-left: 4px solid var(--signal); padding: .4rem 0 .4rem 1rem; }
.lau-item + .lau-item { margin-top: .9rem; }
.lau-field { display: block; font: 600 .9rem var(--cond); color: var(--red); letter-spacing: .02em; }
.lau-name { display: block; font: 700 1.35rem/1.1 var(--cond); }
.act-link { margin-top: auto; align-self: flex-start; font: 600 1.05rem var(--cond); text-decoration: none; background: linear-gradient(var(--signal), var(--signal)) left bottom / 100% 3px no-repeat; padding-bottom: .1rem; }
.act-link::after { content: " ↗"; }
.mises-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .6rem 0 1.2rem; }
.mises-facts div { border-top: 2px solid var(--ink); padding-top: .6rem; }
.mises-facts dt { font: 600 .9rem var(--cond); color: var(--grey); }
.mises-facts dd { margin: .2rem 0 0; font: 700 1.2rem/1.1 var(--cond); }
.mises-courses { margin-bottom: 1.4rem; border: 1px solid var(--hair); }
.mises-courses summary { cursor: pointer; padding: .8rem 1rem; font: 600 1.1rem var(--cond); list-style: none; display: flex; justify-content: space-between; }
.mises-courses summary::-webkit-details-marker { display: none; }
.mises-courses summary::after { content: "+"; font-weight: 700; transition: transform .3s var(--ease-out); }
.mises-courses[open] summary::after { transform: rotate(45deg); }
.mises-courses ol { margin: 0; padding: 0 1rem 1rem 2.2rem; }
.mises-courses li { margin-bottom: .4rem; }
.mises-courses small { color: var(--grey); margin-left: .3rem; }
.act-results { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.6rem; background: var(--ink); color: var(--white); }
.act-results h3 { margin-bottom: .4rem; }
.act-results p { margin: 0; color: rgba(255,255,255,.75); }
.act-results > div { flex: 1; }
.lock { width: 52px; height: 52px; flex: none; }
.lock rect { fill: var(--signal); }
.lock path { fill: none; stroke: var(--signal); stroke-width: 4; }

/* ---------- News ---------- */
.news { padding-block: var(--section); }
.news-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.news-status { display: flex; align-items: center; gap: .6rem; margin: 0; font: 600 1rem var(--cond); color: var(--grey); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-light); }
.news.is-live .live-dot { background: #2BB673; box-shadow: 0 0 0 0 rgba(43,182,115,.5); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(43,182,115,0); } }
.news-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.news-filters button { padding: .5rem .8rem .45rem; border: 2px solid var(--hair); background: var(--white); font: 600 1rem/1 var(--cond); cursor: pointer; transition: border-color .2s, background .2s; }
.news-filters button:hover { border-color: var(--ink); }
.news-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.post { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--hair); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.post:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(18,23,34,.45); }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); position: relative; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.post:hover .post-img img { transform: scale(1.05); }
.post-img.ph { background: repeating-linear-gradient(135deg, var(--ink) 0 14px, var(--ink-2) 14px 28px); }
.post-img.ph::after { content: ""; position: absolute; left: 1.2rem; bottom: 1.2rem; width: 34px; height: 34px; background: var(--red); clip-path: polygon(38% 12%, 62% 12%, 62% 38%, 88% 38%, 88% 62%, 62% 62%, 62% 88%, 38% 88%, 38% 62%, 12% 62%, 12% 38%, 38% 38%); }
.post-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font: 600 .92rem var(--cond); color: var(--grey); display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; }
.post-cat { color: var(--red); }
.post h3 { font: 700 1.45rem/1.05 var(--cond); margin-bottom: .7rem; }
.post p { font-size: .95rem; color: var(--grey); margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-read { margin-top: auto; font: 600 1rem var(--cond); }
.post-read span { background: linear-gradient(var(--signal), var(--signal)) left bottom / 0 3px no-repeat; transition: background-size .45s var(--ease-out); }
.post:hover .post-read span { background-size: 100% 3px; }
.post.skeleton .post-img { background: var(--cloud); }
.post.skeleton h3, .post.skeleton p { background: var(--cloud); color: transparent; border-radius: 2px; }
.news-more { margin-top: 2rem; }
.newsletter { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem 3rem; align-items: center; background: var(--signal); padding: clamp(1.6rem, 4vw, 3rem); position: relative; }
.newsletter h3 { font: 700 clamp(1.9rem, 3.2vw, 2.8rem)/1 var(--cond); margin-bottom: .7rem; }
.newsletter p { margin: 0; }
.nl-field { display: flex; }
.nl-field input { flex: 1; min-width: 0; padding: 1rem; border: 2px solid var(--ink); border-right: 0; font: 400 1.05rem var(--body); background: var(--white); border-radius: 0; }
.nl-field input:focus { outline: none; box-shadow: inset 0 -4px 0 var(--ink); }
.nl-field .btn { background: var(--ink); color: var(--white); }
.nl-field .btn::before { background: var(--red); }
.nl-msg { grid-column: 2; font-size: .92rem; min-height: 1.3em; text-align: left; }

@media (max-width: 1080px) {
  .prepare-head, .history-grid { grid-template-columns: 1fr; }
  .history-intro { position: static; }
  .history-year { display: none; }
  .act-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .nl-msg { grid-column: 1; }
}
@media (max-width: 720px) {
  .prep { grid-template-columns: 1fr; }
  .prep-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 2px solid var(--ink); scrollbar-width: none; }
  .prep-tab { grid-template-columns: auto auto; white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--hair); }
  .prep-tab .tick { display: none; }
  .prep-tab[aria-selected="true"] { box-shadow: inset 0 -5px 0 var(--signal); }
  .news-grid { grid-template-columns: 1fr; }
  .act-results { flex-direction: column; align-items: flex-start; }
  .nl-field { flex-direction: column; }
  .nl-field input { border-right: 2px solid var(--ink); border-bottom: 0; }
}
.post .post-meta { display: flex; -webkit-line-clamp: unset; overflow: visible; margin-bottom: .6rem; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: .4rem; background: none; border: 2px solid currentColor; padding: .55rem .6rem .5rem .7rem; font: 600 1rem/1 var(--cond); letter-spacing: .04em; cursor: pointer; color: inherit; }
.lang-btn svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease-out); }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 11rem; list-style: none; margin: 0; padding: .4rem 0; background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); z-index: 5; }
.lang-list a { display: block; padding: .6rem 1rem; text-decoration: none; font: 600 1.05rem/1.1 var(--cond); }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--cloud); outline: none; box-shadow: inset 4px 0 0 var(--signal); }
.lang-list a[aria-current] { color: var(--red); }
.lang-list a[aria-current]::after { content: " ✓"; }
.menu-langs { display: flex; gap: .4rem; margin-top: 1.4rem; }
.menu-langs a { padding: .5rem .7rem .45rem; border: 2px solid var(--hair-d); font: 700 1.05rem/1 var(--cond); text-decoration: none; }
.menu-langs a[aria-current] { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.footer-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; grid-column: 2; align-self: start; margin-top: 1rem; }
.footer-langs a { display: inline-block; padding: .35rem .5rem .3rem; border: 1px solid var(--hair); font: 700 .95rem/1 var(--cond); text-decoration: none; }
.footer-langs a[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.footer-grid { row-gap: 1rem; }
/* longer words in other languages: let headings and the board breathe */
.h2, .hero-title, .hero-big, .q-card h3, .pass h3, .tl h3 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.board-row { grid-template-columns: 6rem 1fr 1fr 1.6fr 13rem; }
@media (max-width: 1240px) { .nav-links { gap: 1.1rem; } .nav-inner { gap: 1.2rem; } }
@media (max-width: 1080px) { .board-row { grid-template-columns: 5.5rem 1fr 1fr 12rem; } .nav .lang { margin-left: auto; } .footer-langs { grid-column: 1 / -1; } }
@media (max-width: 720px) { .board-row { grid-template-columns: 1fr 9.6rem; } .nav .lang { display: none; } }
/* keep the concept badge out of the hero, where it would cover the scroll hint */
.concept-badge { opacity: 0; pointer-events: none; transition: opacity .3s; }
.past-hero .concept-badge { opacity: 1; pointer-events: auto; }

/* ---------- Bottom bar with the design credit (replaces the floating concept badge) ---------- */
.concept-badge { display: none !important; }
.footer { padding-bottom: 0; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 2rem; margin-top: 3rem; padding-block: 1.4rem 1.6rem; border-top: 1px solid var(--hair); font-size: .85rem; color: var(--grey); }
.footer-bar p { margin: 0; text-align: left; }
.credit a { color: var(--ink); font-weight: 500; text-decoration: none; background: linear-gradient(var(--signal), var(--signal)) left bottom / 100% 2px no-repeat; padding-bottom: 1px; transition: background-size .45s var(--ease-out); }
.credit a:hover, .credit a:focus-visible { background-size: 100% 100%; }
@media (max-width: 720px) { .footer-bar { flex-direction: column; align-items: flex-start; } }
.credit a { white-space: nowrap; }
.lau-note { margin: 1.2rem 0 0; font-size: .95rem; color: var(--grey); }

/* ---------- Legal pages (Policies, General terms and conditions) ---------- */
.legal-nav { background: var(--ink); color: var(--white); }
.legal-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.legal-back { font: 600 1rem var(--cond); text-decoration: none; padding: .55rem .9rem .5rem; border: 2px solid rgba(255,255,255,.7); transition: background .25s, color .25s; }
.legal-back:hover, .legal-back:focus-visible { background: var(--white); color: var(--ink); }
.legal { padding-block: clamp(3rem, 7vw, 6rem); }
.legal-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.legal-head { position: sticky; top: 2rem; }
.legal-head .h2 { margin-bottom: 1.2rem; }
.legal-meta { color: var(--grey); font-size: .92rem; text-align: left; }
.legal-other { display: inline-block; margin-top: .6rem; font: 600 1.05rem var(--cond); text-decoration: none; background: linear-gradient(var(--signal), var(--signal)) left bottom / 100% 3px no-repeat; }
.legal-text { max-width: 44rem; }
.legal-text h2 { font: 700 clamp(1.7rem, 2.6vw, 2.2rem)/1.05 var(--cond); margin: 2.6rem 0 1rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font: 700 1.3rem/1.15 var(--cond); margin: 1.6rem 0 .5rem; }
.legal-text p, .legal-text li { color: #2B3240; }
.legal-text ol, .legal-text ul { padding-left: 1.4rem; margin: 0 0 1.1em; }
.legal-text li { margin-bottom: .6rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.legal-text li::marker { color: var(--red); font-weight: 600; }
.legal-text a { color: var(--ink); }
.legal-footer { border-top: 6px solid var(--red); padding-top: 0; }
.legal-footer .footer-bar { margin-top: 0; border-top: 0; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .legal-head { position: static; } }
.legal-text p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.legal-table { overflow-x: auto; margin: 0 0 1.4rem; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid rgba(20,24,32,.15); }
.legal-table th { font: 700 1rem/1.2 var(--cond); border-bottom: 2px solid var(--ink); }
.legal-table td:first-child { font-weight: 600; color: var(--ink); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.days label.is-past { cursor: default; }
.days label.is-past span { opacity: .28; border-style: dashed; }
.days label.is-past:hover span { border-color: rgba(255,255,255,.18); }

/* ---------- News pages ---------- */
.article, .news-page { padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.news-page { padding-bottom: clamp(4rem, 8vw, 7rem); }
.article-head { max-width: 52rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.article-head .post-meta { font-size: 1rem; }
.article-title { font: 700 clamp(2.4rem, 5.4vw, 4.4rem)/.98 var(--cond); letter-spacing: -.01em; text-wrap: balance; padding-bottom: .08em; }
.news-intro { max-width: 44rem; margin-top: 1.2rem; color: var(--grey); font-size: 1.1rem; }
.article-hero { margin: 0 0 clamp(2rem, 4vw, 3.2rem); max-width: 64rem; }
.article-hero img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; display: block; background: var(--cloud); }
.article-text { max-width: 44rem; font-size: 1.08rem; }
.article-text p, .article-text li { color: #2B3240; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.article-text h2 { font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.08 var(--cond); margin: 2.4rem 0 .9rem; }
.article-text h3, .article-text h4 { font: 700 1.35rem/1.15 var(--cond); margin: 1.8rem 0 .6rem; }
.article-text ul, .article-text ol { padding-left: 1.4rem; margin: 0 0 1.1em; }
.article-text li { margin-bottom: .45rem; }
.article-text li::marker { color: var(--red); }
.article-text a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: .18em; }
.article-text img { max-width: 100%; height: auto; display: block; }
.article-text figure { margin: 2rem 0; }
.article-text figcaption { font-size: .9rem; color: var(--grey); margin-top: .5rem; text-align: left; }
.article-text blockquote { margin: 2rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--red); font-style: italic; }
.article-text hr { border: 0; border-top: 1px solid var(--hair); margin: 2.4rem 0; }
.article-text .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .8rem; }
.article-text .wp-block-gallery figure { margin: 0; }
.article-text .wp-block-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-text .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.6rem; }
.article-table { overflow-x: auto; margin: 0 0 1.6rem; }
.article-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article-table th, .article-table td { text-align: left; vertical-align: top; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--hair); }
.article-table th { font: 700 1rem/1.2 var(--cond); border-bottom: 2px solid var(--ink); }
.article-embed a { display: inline-block; padding: .8rem 1.1rem .75rem; border: 2px solid var(--ink); font: 600 1.05rem var(--cond); text-decoration: none; }
.article-embed a:hover { background: var(--ink); color: var(--white); }
.article-wide .article-text { max-width: none; }
.article-app { width: 100%; height: min(85vh, 60rem); border: 1px solid var(--hair); display: block; }
.article-next { background: var(--cloud); margin-top: clamp(3rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
.article-next-title { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--cond); margin-bottom: 1.6rem; }
.article-all { margin: 2rem 0 0; text-align: left; }
.news-count { color: var(--grey); font: 600 1rem var(--cond); text-align: left; margin-bottom: 1.2rem; }
.news-all .post[hidden] { display: none; }
.news-all .post h2 { font: 700 1.45rem/1.05 var(--cond); margin-bottom: .7rem; }
.footer-copy a { color: inherit; }
.article-hero { max-width: 56rem; }
.article-hero img { max-height: 30rem; }
.news-more { margin-top: 2rem; }
.legal-back { white-space: nowrap; }
@media (max-width: 560px) { .legal-nav .brand-text { font-size: .95rem; } .legal-back { padding: .45rem .7rem .4rem; font-size: .92rem; } }
.article-text img { margin-block: 1.6rem; }
