/* Honorset — main.css (v3: motion, icons, brand mark, footer) */

/* ---------- fonts (self-hosted, OFL; unicode-range from @fontsource 5.3.0) ---------- */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/geist-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/geist-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/geist-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/geist-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/space-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/space-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- tokens (brand palette, see brand/board.html) ---------- */
:root {
  --hs-void: #05060A;
  --hs-night: #0B0E18;
  --hs-deep: #141A2A;
  --hs-star: #EEF1F7;
  --hs-mist: #A4ACBE;
  --hs-dim: #7F889C;
  --hs-gold: #E8C27A;
  --hs-halo: #F3D9A6;
  --hs-blue: #6FA2FF;

  --bg: var(--hs-void);
  --bg-2: var(--hs-night);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: var(--hs-star);
  --muted: var(--hs-mist);    /* 8.9:1 on void */
  --dim: var(--hs-dim);       /* 5.7:1 on void */
  --gold: var(--hs-gold);
  --gold-2: var(--hs-halo);
  --blue: var(--hs-blue);
  --danger: #FF8A80;
  --ok: #8FE0B0;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 22px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
/* cursor-follow glow strength (animatable where @property is supported) */
@property --glow { syntax: '<number>'; inherits: false; initial-value: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html:not(.lenis) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
/* faint fixed star dust for the whole page (cheap CSS, the hero has the real starfield) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 32%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 74%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 82%, rgba(200,220,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 52%, rgba(255,235,200,.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 8%, rgba(255,255,255,.28) 50%, transparent 51%),
    radial-gradient(60% 50% at 85% 10%, rgba(40, 70, 150, .10), transparent 70%),
    radial-gradient(50% 45% at 5% 95%, rgba(120, 90, 50, .07), transparent 70%),
    var(--bg);
  background-size: 340px 340px, 460px 460px, 520px 520px, 610px 610px, 390px 390px, 700px 700px, 100% 100%, 100% 100%, 100% 100%;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 1.25rem + 3.2vw, 3.75rem); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 400; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- icons (Lucide sprite, stroke styled here so it matches Geist Light) ---------- */
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

/* ---------- eyebrows ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; width: fit-content; font: 400 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.eyebrow__num { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); letter-spacing: .08em; }
.eyebrow__num::after { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, rgba(232,194,122,.9), rgba(232,194,122,.1)); transform-origin: left center; }
.eyebrow--muted { color: var(--muted); gap: 10px; }
.eyebrow--muted .icon { color: var(--gold); }
.lede { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); max-width: 40em; margin-top: 22px; }

/* text-link underline that draws in */
.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .2s; padding-bottom: 2px; }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 400 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .25s, border-color .25s, color .25s, box-shadow .3s;
  white-space: nowrap; isolation: isolate;
}
.btn > * { position: relative; }
.btn .icon { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: #17120a; overflow: hidden; box-shadow: 0 0 0 0 rgba(232,194,122,0), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%); transform: translateX(-110%); transition: transform .9s var(--ease-out); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 34px -10px rgba(232,194,122,.6), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--gold:hover::after { transform: translateX(110%); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(232,194,122,.6); background: rgba(232,194,122,.06); }
.btn--ghost .icon { color: var(--gold); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav { transition: background .35s, border-color .35s, backdrop-filter .35s, transform .6s var(--ease-out); }
.nav.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(232,194,122,.2), var(--gold)); transform: scaleX(0); transform-origin: left center; pointer-events: none; opacity: 0; transition: opacity .35s; }
.nav.is-scrolled .nav__progress { opacity: 1; }
.nav.is-scrolled, .nav.is-open { background: rgba(5, 6, 10, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wordmark { font: 400 15px/1 var(--sans); letter-spacing: .34em; text-decoration: none; color: var(--text); padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: 0; }
.brand__word { letter-spacing: .34em; margin-right: -.34em; }
.brand__mark { display: block; width: 26px; height: 26px; color: var(--gold); flex: none; }
.brand__mark:empty { display: none; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; padding: 12px 0; transition: color .25s; }
.nav__links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="true"] { color: var(--text); }
.nav__toggle { display: none; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 12px; }
.nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; transition: transform .25s, opacity .25s; position: relative; }
.nav__bars::before, .nav__bars::after { content: ''; position: absolute; left: 0; }
.nav__bars::before { top: -7px; } .nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; gap: 2px; }
.menu[hidden] { display: none; }
.menu a:not(.btn) { color: var(--text); text-decoration: none; font-size: 22px; font-weight: 300; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 18px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; place-items: center; }
}
@media (min-width: 861px) { .menu { display: none !important; } }

/* language switch (EN | RO) — always visible, also on phones */
.nav__end { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; }
.lang a { display: inline-grid; place-items: center; min-width: 40px; min-height: 44px; font: 400 12px/1 var(--mono); letter-spacing: .12em; color: var(--dim); text-decoration: none; border-radius: 8px; transition: color .2s; }
.lang a:hover { color: var(--gold); }
.lang a[aria-current] { color: var(--text); }
.lang__sep { width: 1px; height: 14px; background: var(--line-2); }
.nav__short { display: none; }
@media (min-width: 861px) and (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__links a:not(.btn) { font-size: 14px; }
  .nav__links .btn { padding: 0 14px; }
  .nav__end { gap: 12px; }
}
@media (max-width: 860px) { .nav__end { gap: 6px; } }
@media (max-width: 520px) { .nav__long { display: none; } .nav__short { display: inline; } }
@media (max-width: 380px) { .brand { gap: 9px; } .brand__mark { width: 22px; height: 22px; } .brand__word { letter-spacing: .26em; margin-right: -.26em; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 60% at 70% 48%, rgba(38, 78, 170, .16), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(232, 194, 122, .05), transparent 70%),
    radial-gradient(35% 30% at 90% 10%, rgba(110, 80, 190, .07), transparent 70%);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 1; }
.hero__stage { position: absolute; inset: 0; z-index: 0; transform-origin: 70% 50%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1.2s ease; -webkit-tap-highlight-color: transparent; }
.hero__stage.is-live .hero__canvas { opacity: 1; }
.hero__fallback { position: absolute; width: min(46vw, 74vh); height: auto; left: 72%; top: 52%; transform: translate(-50%, -50%); opacity: .95; transition: opacity .8s ease; pointer-events: none; }
.hero__stage.is-live .hero__fallback { opacity: 0; }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; pointer-events: none; }
.hero__content > * { pointer-events: auto; max-width: 600px; }
.hero__title { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.4rem); line-height: 1.0; letter-spacing: -0.045em; max-width: 11ch; }
.hero__title .line { padding-bottom: .06em; margin-bottom: -.06em; }
.hero__sub { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); margin-top: 26px; max-width: 27em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__hint { display: none; }
.globe-live .hero__hint { display: flex; }
.hero__hint { margin-top: 40px; font: 400 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); align-items: center; gap: 10px; }
.hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(232,194,122,.6); flex: none; }
@media (prefers-reduced-motion: no-preference) { .hint-dot { animation: pulse 2.6s ease-in-out infinite; } }
@keyframes pulse { 50% { transform: scale(.7); opacity: .6; } }

.globe-label { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: flex; align-items: baseline; gap: 8px;
  margin: -46px 0 0 0; padding: 8px 12px; translate: -50% 0; border-radius: 10px; white-space: nowrap;
  background: rgba(8, 10, 18, .82); border: 1px solid rgba(232,194,122,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; color: var(--text); box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); }
.globe-label[hidden] { display: none; }
.globe-label__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); align-self: center; }
.globe-label__country { font: 400 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* portrait / phones: globe on top, copy below */
@media (max-aspect-ratio: 9/10) {
  .hero { align-items: flex-end; }
  .hero__stage { transform-origin: 50% 30%; }
  .hero__content { padding-top: 0; padding-bottom: 40px; }
  .hero__fallback { width: min(94vw, 54vh); left: 50%; top: 31%; }
  .hero__content::before { content: ''; position: absolute; inset: -60px 0 0 0; z-index: -1;
    background: linear-gradient(to bottom, transparent, rgba(5,6,10,.82) 70px, rgba(5,6,10,.9)); pointer-events: none; }
  .hero__title { font-size: clamp(2.5rem, 1.3rem + 6vw, 4rem); }
  .hero__sub { margin-top: 16px; }
  .hero__ctas { margin-top: 24px; }
  .hero__hint { margin-top: 22px; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__hint { font-size: 10px; letter-spacing: .06em; }
}

/* ---------- at-a-glance band: trust strip + subjects marquee ---------- */
.band { position: relative; z-index: 2; padding: 8px 0 0; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 26px 22px 26px 0; font-size: 15px; color: var(--text); line-height: 1.35; }
.trust li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.trust__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(232,194,122,.14), rgba(255,255,255,.02) 70%); border: 1px solid rgba(232,194,122,.22); }
.trust__icon .icon { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .trust li { gap: 10px; font-size: 14px; padding-right: 10px; } .trust li + li { padding-left: 12px; } .trust li:nth-child(3) { padding-left: 0; } .trust__icon { width: 34px; height: 34px; border-radius: 10px; } }

.marquee { position: relative; overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; flex: none; }
.marquee__list li { display: flex; align-items: center; white-space: nowrap; font: 300 clamp(1.6rem, 1.1rem + 2vw, 2.9rem)/1.1 var(--sans); letter-spacing: -.03em; color: var(--muted); }
.marquee__list li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(238,241,247,.38); }
.marquee__list li::after { content: ''; width: 7px; height: 7px; margin: 0 .9em; flex: none; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 12px rgba(232,194,122,.7); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 80s linear infinite; }
  .js .marquee:not(.is-on) .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; overflow-x: clip; }
.section > .wrap { position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 20%, rgba(255,255,255,.018) 80%, transparent); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 780px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
[data-lines] .line { padding-bottom: .08em; margin-bottom: -.08em; }

/* decorative orbits & constellations (aria-hidden SVG) */
.decor { position: absolute; z-index: 0; pointer-events: none; overflow: visible; opacity: .6; }
.decor__ring { fill: none; stroke: rgba(164,172,190,.16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.decor__ring--dash { stroke: rgba(232,194,122,.22); stroke-dasharray: 2 7; }
.decor__sat { fill: var(--gold); }
.decor__sat--blue { fill: var(--blue); }
.decor__spin { transform-box: view-box; transform-origin: 50% 50%; }
.decor__link { fill: none; stroke: rgba(164,172,190,.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.decor__star { fill: rgba(238,241,247,.75); }
.decor__star--gold { fill: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .decor__spin { animation: spin 70s linear infinite; }
  .decor__spin--slow { animation-duration: 120s; }
  .decor__spin--rev { animation-direction: reverse; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.decor--tr { width: clamp(220px, 28vw, 380px); top: clamp(40px, 7vw, 100px); right: max(-20px, calc((100vw - var(--wrap)) / 2 - 60px)); }
.decor--tl { width: clamp(200px, 24vw, 320px); top: clamp(30px, 5vw, 70px); right: 6vw; }
.decor--bl { width: clamp(440px, 52vw, 760px); left: -20vw; bottom: -18%; opacity: .5; }
.decor--r { width: clamp(400px, 46vw, 660px); right: -18vw; top: 6%; opacity: .5; }
@media (max-width: 700px) { .decor--stars { opacity: .35; width: 180px; top: 24px; right: -30px; } .decor--orbit { opacity: .32; } }

/* glass panels: gradient hairline + cursor-follow glow (JS sets --mx/--my/--glow) */
.glass { position: relative; isolation: isolate; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 26, 42, .55), rgba(11, 14, 24, .5)); }
.glass::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(232,194,122, calc(var(--glow) * .75)), transparent 70%),
    linear-gradient(155deg, rgba(255,255,255,.2), rgba(255,255,255,.05) 34%, rgba(255,255,255,.03) 62%, rgba(111,162,255,.16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: --glow .5s; }
.glass::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232,194,122, calc(var(--glow) * .09)), transparent 65%),
              radial-gradient(380px 200px at 100% 0%, rgba(111,162,255,.07), transparent 70%);
  transition: --glow .5s; }
.glass:hover { --glow: 1; }

/* programmes */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 42px); }
.card--gold::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232,194,122, calc(var(--glow) * .1)), transparent 65%),
                                 radial-gradient(420px 220px at 100% 0%, rgba(232,194,122,.11), transparent 70%); }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(232,194,122,.16), rgba(255,255,255,.02) 70%); border: 1px solid rgba(232,194,122,.24);
  transition: transform .6s var(--ease-out), border-color .3s; }
.card__icon .icon { width: 24px; height: 24px; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); border-color: rgba(232,194,122,.5); }
.card__num { font: 400 12px/1 var(--mono); color: var(--dim); letter-spacing: .14em; }
.card h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.95rem); font-weight: 300; letter-spacing: -0.025em; }
.card > p:not(.card__num) { color: var(--muted); margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--text); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); transition: border-color .3s, color .3s; }
.card:hover .chips li { border-color: rgba(255,255,255,.22); }
.card__link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px; align-self: flex-start; min-height: 44px; color: var(--gold); text-decoration: none; font-size: 15px; }
.card__link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out); padding-bottom: 2px; }
.card__link .icon { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.card__link:hover span { background-size: 100% 1px; }
.card__link:hover .icon { transform: translateX(4px); }

/* admissions */
.where { margin-top: 44px; }
.where__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.where__list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; font-size: 16px; }
.where__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(232,194,122,.7); flex: none; align-self: center; }
.where__list span { font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-left: auto; text-align: right; }
@media (max-width: 560px) { .where__list { grid-template-columns: 1fr; } }
.helps { border-top: 1px solid var(--line); }
.helps li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.helps__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--gold); border: 1px solid var(--line-2); background: rgba(255,255,255,.025); transition: border-color .3s, transform .6s var(--ease-out); }
.helps li:hover .helps__icon { border-color: rgba(232,194,122,.5); transform: translateY(-2px); }
.helps h3 { align-self: end; }
.helps p { color: var(--muted); }
.note { margin-top: 28px; font-size: 15px; color: var(--dim); max-width: 34em; }

/* steps — a line joins the nodes; JS draws it with the scroll */
.steps { --gap: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.step { position: relative; }
.step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--gold);
  border: 1px solid rgba(232,194,122,.35); background: radial-gradient(circle at 32% 28%, rgba(232,194,122,.16), rgba(11,14,24,.95) 70%);
  transition: border-color .5s, box-shadow .6s, color .5s; }
.step__node .icon { width: 22px; height: 22px; }
.step.is-lit .step__node { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(232,194,122,.06), 0 0 28px -4px rgba(232,194,122,.55); }
.step__line { position: absolute; top: 27px; left: 66px; right: calc(12px - var(--gap)); height: 1px; background: var(--line-2); overflow: hidden; }
.step__line i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold), rgba(232,194,122,.45)); transform-origin: left center; }
.step__num { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 28px 0 12px; }
.step h3 { font-size: 1.3rem; }
.step h3 + p { color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 22px; padding-bottom: 40px; }
  .step:last-child { padding-bottom: 0; }
  .step__node { grid-row: 1 / span 3; }
  .step > :not(.step__node):not(.step__line) { grid-column: 2; }
  .step__num { margin: 4px 0 10px; }
  .step__line { top: 66px; bottom: 12px; left: 27px; right: auto; width: 1px; height: auto; }
  .step__line i { background: linear-gradient(180deg, var(--gold), rgba(232,194,122,.45)); transform-origin: center top; }
}

/* mentors */
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .criteria { grid-template-columns: 1fr; } }
.criterion { position: relative; padding: 30px 0 0; }
.criterion::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(232,194,122,.08)); transform-origin: left center; transform: scaleX(var(--draw, 1)); }
.criterion__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 14px; color: var(--gold); border: 1px solid var(--line-2); background: rgba(255,255,255,.025); }
.criterion p { color: var(--muted); margin-top: 10px; }
.become { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px clamp(22px, 3vw, 40px); }
.become p { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 300; letter-spacing: -.01em; }

/* book */
.book { background: radial-gradient(60% 50% at 20% 30%, rgba(232,194,122,.05), transparent 70%), radial-gradient(50% 50% at 90% 70%, rgba(60,100,200,.07), transparent 70%); }
.split--book { grid-template-columns: 5fr 7fr; }
@media (max-width: 900px) { .split--book { grid-template-columns: 1fr; } }
.ticks { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-size: 14px; color: var(--text); }
.ticks .icon { width: 16px; height: 16px; color: var(--gold); stroke-width: 2; }
.next { margin-top: 40px; padding: 26px 26px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); }
.next .next__title { font: 400 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.next__list li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 20px; }
.next__list li:not(:last-child)::before { content: ''; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 0; border-left: 1px dashed rgba(232,194,122,.3); }
.next__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--gold); border: 1px solid rgba(232,194,122,.3); background: rgba(232,194,122,.05); }
.next__icon .icon { width: 18px; height: 18px; }
.next h3 { font-size: 1rem; font-weight: 400; letter-spacing: 0; margin-top: 2px; }
.next p { color: var(--muted); font-size: 15px; margin-top: 2px; }

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: clamp(22px, 3.5vw, 42px); border-radius: 26px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.85); }
.form.glass { background: linear-gradient(180deg, rgba(20, 26, 42, .72), rgba(11, 14, 24, .72)); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full, .slots, .needs, .form__status { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; color: var(--text); padding: 0; }
.opt { font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-left: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.035); color: var(--text); font: 400 16px/1.4 var(--sans); transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
input[type=date] { color-scheme: dark; min-width: 0; }
input::-webkit-date-and-time-value { text-align: left; }
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.28); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); background: rgba(232,194,122,.05); box-shadow: 0 0 0 3px rgba(232,194,122,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .need span, .field.has-error .slot span { border-color: rgba(255,138,128,.6); }
.field__err { color: var(--danger); font-size: 14px; min-height: 0; }
.field__err:empty { display: none; }
.field__hint { color: var(--dim); font-size: 14px; }
.slots__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.slot, .need { position: relative; cursor: pointer; }
.slot input, .need input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line-2); text-align: center; transition: border-color .2s, background .2s; font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) { .slot span { font-size: 14px; padding: 10px 4px; } }
.slot small { font: 400 11px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.slot:hover span, .need:hover span { border-color: rgba(255,255,255,.3); }
.slot input:checked + span, .need input:checked + span { border-color: var(--gold); background: rgba(232,194,122,.1); }
.slot input:checked + span small { color: var(--gold-2); }
.slot input:focus-visible + span, .need input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.needs { container-type: inline-size; }
.needs__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.need span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 86px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line-2); text-align: center; font-size: 13.5px; line-height: 1.2; transition: border-color .2s, background .2s; text-wrap: balance; }
.need .icon { width: 22px; height: 22px; color: var(--muted); transition: color .2s, transform .45s var(--ease-out); }
.need:hover .icon { transform: translateY(-2px); }
@container (max-width: 540px) {
  .needs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need:last-child { grid-column: 1 / -1; }
  .need span { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 54px; padding: 10px 14px; text-align: left; }
}
.need input:checked + span .icon { color: var(--gold); }
.field--check { gap: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px !important; color: var(--muted) !important; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--gold); cursor: pointer; }
.check a { color: var(--gold); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; }
.form__foot .btn { width: 100%; }
.form__status { border-radius: 12px; font-size: 16px; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 16px 18px; background: rgba(143, 224, 176, .08); border: 1px solid rgba(143, 224, 176, .35); color: var(--ok); }
.form__status.is-err { padding: 16px 18px; background: rgba(255, 138, 128, .08); border: 1px solid rgba(255, 138, 128, .35); color: var(--danger); }
.form__status:focus { outline: none; }

/* faq — sticky title on wide screens, list on the right */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
.faq__more { margin-top: 26px; color: var(--muted); font-size: 15px; }
.faq__more a { color: var(--gold); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 0; } .faq__head { position: static; margin-bottom: 40px; } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; min-height: 44px; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 300; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-2); }
.faq__toggle { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); transition: transform .45s var(--ease-out), border-color .3s, background .3s; }
.faq__toggle .icon { width: 18px; height: 18px; }
.faq summary:hover .faq__toggle { border-color: rgba(232,194,122,.55); }
.faq details[open] .faq__toggle { transform: rotate(45deg); background: rgba(232,194,122,.08); border-color: rgba(232,194,122,.55); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 56px 26px 0; max-width: 46em; }
@media (max-width: 560px) { .faq__a p { padding-right: 0; } }
.faq details a { color: var(--gold); }

/* closing call to action */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; text-align: center; isolation: isolate;
  background: radial-gradient(40% 50% at 50% 55%, rgba(232,194,122,.08), transparent 70%), radial-gradient(60% 60% at 50% 50%, rgba(40,70,160,.12), transparent 75%); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(2.6rem, 1.2rem + 5vw, 5.4rem); letter-spacing: -.045em; }
.cta .lede { margin-inline: auto; max-width: 32em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.decor--cta { --s: min(980px, 150vw); width: var(--s); height: var(--s); left: 50%; top: 50%; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); opacity: .55; }
@media (max-width: 480px) { .cta__actions { width: 100%; } .cta__actions .btn { flex: 1 1 100%; } }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 40%); }
.footer::before { content: ''; position: absolute; left: 50%; top: -1px; width: min(560px, 80%); height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(232,194,122,.6), transparent); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 40px clamp(24px, 3vw, 44px); }
.footer__brand p { color: var(--muted); font-size: 15px; margin-top: 20px; max-width: 26em; }
.footer__logo { display: inline-block; padding: 6px 0; }
.footer__logo img { width: 200px; height: auto; }
.footer__globe { width: 96px; height: 96px; margin-top: 26px; }
.footer__globe circle, .footer__globe ellipse { fill: none; stroke: rgba(164,172,190,.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.footer__globe .footer__globe-orbit { stroke: rgba(232,194,122,.4); stroke-dasharray: 2 5; }
.footer__globe .footer__globe-sat { fill: var(--gold); stroke: none; }
.footer__h { font: 400 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer__col li { padding: 6px 0; font-size: 15px; }
.footer__col a { color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.footer__contact .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--gold); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(48px, 6vw, 72px); padding: 22px 0; border-top: 1px solid var(--line); }
.footer__legal { color: var(--muted); font-size: 14px; }
.footer__small { font: 400 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.lang--footer { margin-left: auto; }
.totop { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); text-decoration: none; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.totop .icon { box-sizing: content-box; width: 16px; height: 16px; padding: 11px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); transition: transform .5s var(--ease-out), border-color .3s; }
.totop:hover { color: var(--text); }
.totop:hover .icon { transform: translateY(-3px); border-color: rgba(232,194,122,.6); }
.footer__word { margin: clamp(10px, 2vw, 30px) 0 0; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font: 300 clamp(3.6rem, 15.4vw, 15.5rem)/.78 var(--sans); letter-spacing: .04em; padding-left: .04em;
  background: linear-gradient(180deg, rgba(238,241,247,.13), rgba(238,241,247,.015) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1060px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lang--footer { margin-left: -10px; }
  .totop { order: -1; }
}

/* legal / 404 pages */
.page { padding: calc(var(--nav-h) + 60px) 0 100px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.page h2 { font-size: 1.5rem; margin: 44px 0 12px; letter-spacing: -0.015em; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul { list-style: disc; padding-left: 1.2em; margin-top: 10px; }
.page li + li { margin-top: 6px; }
.page ul + p { margin-top: 14px; }
.page a:not(.btn) { color: var(--gold); }
.page .updated { font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.page--404 { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.page--404 .eyebrow { margin-inline: auto; }
.page--404 p { margin: 16px auto 30px; }

/* ---------- JS motion gate ----------
   gate.js adds .js (always) and .anim (only when motion is allowed). Elements that
   motion.js reveals start hidden only under .anim; gate.js drops .anim again after
   a few seconds if motion.js never reports in (.anim-ready), so nothing stays hidden. */
.anim [data-reveal], .anim [data-fade], .anim [data-lines], .anim .hero__content > * { opacity: 0; }
.anim:not(.anim-ready) .mk-orbit { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim:not(.anim-ready) .mk-star, .anim:not(.anim-ready) .mk-pillar { opacity: 0; }

/* motion preference: kill transitions too */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* phones: keep the booking side panel short so the form comes sooner */
@media (max-width: 600px) {
  .next { margin-top: 28px; padding: 22px 20px 6px; }
  .next__list p { display: none; }
  .next__list li { align-items: center; padding-bottom: 14px; }
  .next__list li:not(:last-child)::before { top: 42px; bottom: 0; }
  .next h3 { margin: 0; }
  .footer__globe { display: none; }
}

/* no JS: the nav can't learn it has scrolled, so give it its solid state from the start */
html:not(.js) .nav { background: rgba(5, 6, 10, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }

/* small phones: legal/404 navs carry a Book button next to the brand and EN | RO */
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand__word { letter-spacing: .24em; margin-right: -.24em; }
  .lang a { min-width: 34px; }
  .nav__end .btn--sm { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 374px) { .nav__inner:has(.nav__end > .btn) .brand__word { display: none; } }
