/* =========================================================
   EVTM Group — Premium edition
   Same identity as the main site (midnight base, hot orange→pink,
   cyan), elevated with a champagne-gold accent, serif italics,
   a persistent 3D trade globe and a scroll-driven "voyage".
   ========================================================= */
:root {
  --bg: #05061a;
  --bg-2: #0a0c26;
  --surface: rgba(18, 21, 58, .72);
  --surface-solid: #11143a;
  --surface-2: #1a1e4d;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(232, 194, 122, .28);
  --text: #c6c9e6;
  --heading: #ffffff;
  --muted: #8a8fbb;

  --hot: #e8c27a;          /* primary accent: champagne gold (was orange) */
  --hot-2: #c99a4b;        /* deeper gold (was pink) */
  --cyan: #00e0ff;
  --violet: #7b5cff;
  --gold: #e8c27a;
  --gold-2: #f6e3b4;

  --success: #2bd98a;
  --warning: #ffc233;
  --error: #ff4d6a;

  --grad-hot: linear-gradient(120deg, #f6e3b4 0%, #e8c27a 45%, #c99a4b 100%);
  --grad-text: linear-gradient(100deg, #fff4d6 0%, #f0d394 40%, #e8c27a 65%, #b8893f 100%);
  --grad-gold: linear-gradient(120deg, #f6e3b4 0%, #e8c27a 50%, #b8893f 100%);

  --rail: 96px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --glow-hot: 0 12px 40px rgba(232, 194, 122, .28);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-lux: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0; line-height: 1.05; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 9000; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main, .site-footer { position: relative; z-index: 2; margin-right: var(--rail); }
section { position: relative; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lux { font-family: var(--font-lux); font-style: italic; font-weight: 500; letter-spacing: 0; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 .74rem var(--font-display); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--grad-gold); }
.sec-title { font-size: clamp(2.2rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -.035em; }
.sec-head { max-width: 1240px; margin: 0 auto 56px; padding: 0 clamp(24px, 5vw, 72px); }
.sec-lead { max-width: 760px; margin: 22px 0 0; font-size: 1.1rem; }

/* split-text helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; padding: 13px 24px; border-radius: 999px; font: 600 .92rem var(--font-body); white-space: nowrap; transition: box-shadow .4s var(--ease), background .3s, color .3s; overflow: hidden; }
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .8rem; }
.btn--hot { background: var(--grad-hot); color: #120d02; box-shadow: var(--glow-hot); }
.btn--hot::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); }
.btn--hot:hover::after { left: 130%; }
.btn--hot:hover { box-shadow: 0 16px 48px rgba(232, 194, 122, .45); }
.btn--glass { background: rgba(255, 255, 255, .05); color: #fff; border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--light { background: #fff; color: var(--bg); }

/* ---------------- Preloader ---------------- */
.loader { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; background: var(--bg); }
.loader-inner { width: min(520px, 80vw); }
.loader-mark { display: flex; justify-content: center; gap: .08em; font: 800 clamp(3rem, 10vw, 6rem) var(--font-display); color: #fff; letter-spacing: .02em; }
.loader-mark span { display: inline-block; }
.loader-route { position: relative; height: 1px; margin: 34px 0 14px; background: rgba(255, 255, 255, .12); }
.loader-route i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad-gold); }
.loader-ship { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); transform: translateX(-50%); }
.loader-meta { display: flex; justify-content: space-between; font: 600 .7rem var(--font-display); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.loader-meta #loader-pct { color: var(--gold); }

/* ---------------- Page curtain ---------------- */
.curtain { position: fixed; inset: 0; z-index: 7000; display: grid; place-items: center; background: radial-gradient(1000px 600px at 50% 50%, #1a1050, #05061a 70%); transform: translateY(100%); pointer-events: none; }
.curtain-text { text-align: center; }
.curtain-text small { display: block; font: 600 .74rem var(--font-display); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.curtain-text b { display: block; margin-top: 10px; font: 500 italic clamp(3rem, 9vw, 7rem) var(--font-lux); color: #fff; }

/* ---------------- Globe layer ---------------- */
.globe { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .2s; }
.globe canvas { width: 100% !important; height: 100% !important; display: block; }
.globe-labels { position: fixed; inset: 0; z-index: 850; pointer-events: none; }
.g-label {
  position: absolute; left: 0; top: 0; margin: -14px 0 0 16px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-gold);
  background: rgba(5, 6, 26, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; text-align: left; cursor: pointer; font: inherit;
  transition: opacity .35s, border-color .3s, background .3s; white-space: nowrap; will-change: transform;
}
.g-label b { display: block; font: 600 .8rem var(--font-display); }
.g-label span { display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.g-label.is-active { border-color: var(--gold); background: rgba(232, 194, 122, .16); }
.grain { position: fixed; inset: -50%; z-index: 6000; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* City card (click a city on the globe) */
.over-city, .over-city body { cursor: pointer; }
.city-pop { position: fixed; z-index: 950; width: 300px; border-radius: var(--radius); overflow: hidden; background: rgba(10, 12, 38, .92); border: 1px solid var(--line-gold); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cp-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(5, 6, 26, .6); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.cp-close:hover { border-color: var(--gold); color: var(--gold); }
.cp-img { position: relative; height: 140px; }
.cp-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-img span { position: absolute; left: 12px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(5, 6, 26, .7); border: 1px solid var(--line-gold); color: var(--gold-2); font: 600 .62rem var(--font-display); letter-spacing: .18em; text-transform: uppercase; }
.cp-body { padding: 16px 18px 18px; }
.cp-body h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.cp-country { margin: 4px 0 10px; font: 500 italic 1rem var(--font-lux); color: var(--gold); }
.cp-addr { margin: 0 0 16px; font-size: .86rem; line-height: 1.5; color: var(--text); }
.cp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.over-city .cursor-ring { width: 64px; height: 64px; background: rgba(232, 194, 122, .1); border-color: var(--gold); }

/* ---------------- Cursor ---------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 7500; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(232, 194, 122, .6); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; background: rgba(232, 194, 122, .08); border-color: var(--gold); }

/* ---------------- Voyage tracker ---------------- */
.voyage { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 900; height: min(62vh, 520px); display: flex; gap: 14px; opacity: 0; transition: opacity .6s; }
.voyage.is-on { opacity: 1; }
.voyage-line { position: relative; width: 1px; background: rgba(255, 255, 255, .12); }
.voyage-fill { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--grad-gold); }
.voyage-ship { position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin: -5px 0 0 -5.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 194, 122, .18), 0 0 18px var(--gold); }
.voyage ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; height: 100%; margin-left: -20px; }
.voyage a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font: 600 .66rem var(--font-display); letter-spacing: .14em; }
.voyage a span { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: var(--bg); font-size: 0; transition: background .3s, border-color .3s, transform .3s; }
.voyage a em { font-style: normal; text-transform: uppercase; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.voyage:hover a em, .voyage a.is-active em { opacity: 1; transform: none; }
.voyage a.is-passed span { border-color: var(--gold); }
.voyage a.is-active span { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.voyage a.is-active { color: #fff; }

/* ---------------- Side rail ---------------- */
.side-menu { position: fixed; top: 0; right: 0; bottom: 0; width: var(--rail); z-index: 1000; background: rgba(5, 6, 26, .7); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.brand { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 92px; text-decoration: none; flex: none; border-bottom: 1px solid var(--line); }
.brand-mark { font: 800 1.3rem var(--font-display); background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .02em; line-height: 1; }
.brand-sub { font: 600 .56rem var(--font-display); letter-spacing: .55em; padding-left: .55em; margin-top: 6px; color: var(--gold); }
.menu-toggle { display: none; }
.side-nav { display: flex; flex-direction: column; flex: 1; padding: 10px 0; }
.side-nav a:not(.nav-cta) { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font: 600 .66rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); transition: color .3s; }
.side-nav a:not(.nav-cta):hover, .side-nav a.is-active:not(.nav-cta) { color: #fff; }
.side-nav a.is-active:not(.nav-cta)::after { content: ""; position: absolute; right: 18px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.nav-cta { display: block; margin: 8px 10px 0; padding: 10px 4px; text-align: center; border-radius: 12px; color: #fff; text-decoration: none; font: 600 .7rem var(--font-body); }
.nav-cta:last-child { margin-bottom: 14px; }
.nav-cta--hot { background: var(--grad-hot); box-shadow: var(--glow-hot); }
.nav-cta--ghost { border: 1px solid var(--line-gold); color: var(--gold-2); }

/* ---------------- 01 Hero ---------------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); transform: scale(1.08); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, transparent 40%), radial-gradient(800px 500px at 15% 30%, rgba(123, 92, 255, .18), transparent 70%); }
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 110px clamp(24px, 6vw, 110px) 50px clamp(70px, 9vw, 150px); max-width: 920px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin: 0 0 30px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-gold); background: rgba(5, 6, 26, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 .74rem var(--font-body); color: var(--gold-2); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title { font-size: clamp(2.8rem, 7.2vw, 6.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.hero-title .lux { font-size: 1.08em; font-weight: 500; }
.hero-lead { margin: 30px 0 0; max-width: 560px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #dcdffa; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; margin: 60px 0 0; }
.hero-stats div { display: flex; flex-direction: column-reverse; padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--line-gold); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin: 0; font: 300 clamp(2.2rem, 4vw, 3.4rem) var(--font-display); color: #fff; line-height: 1.1; }
.scroll-cue { position: absolute; left: 50%; bottom: 82px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font: 600 .62rem var(--font-display); letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.ticker { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 6, 26, .65); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker-track span { padding: 18px 30px; font: 700 1rem var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ticker-track span.sep { color: var(--gold); padding: 18px 0; }
.ticker-track span.c { font: 500 italic 1.25rem var(--font-lux); letter-spacing: .04em; text-transform: none; color: var(--gold-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------- 02 Presence (pinned horizontal) ---------------- */
.presence { background: transparent; }
.presence-pin { position: relative; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.presence-head { padding: 0 clamp(24px, 5vw, 72px) 0 clamp(70px, 9vw, 150px); margin-bottom: 34px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.presence-head .kicker { width: 100%; margin-bottom: 0; }
.presence-progress { width: 220px; height: 1px; background: rgba(255, 255, 255, .15); }
.presence-progress i { display: block; height: 100%; width: 0; background: var(--grad-gold); }
.presence-track { display: flex; gap: 26px; padding: 0 clamp(24px, 5vw, 72px) 0 clamp(70px, 9vw, 150px); width: max-content; will-change: transform; }
.city {
  position: relative; flex: none; width: clamp(300px, 34vw, 520px); height: min(60vh, 560px); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-solid); box-shadow: var(--shadow); isolation: isolate; text-decoration: none; color: inherit;
}
.city img { position: absolute; inset: -8% -14%; width: 128%; height: 116%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(1.05) brightness(.8); }
.city::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 6, 26, .05) 30%, rgba(5, 6, 26, .95) 100%); }
.city:hover img { transform: scale(1.06); filter: saturate(1.2) brightness(.95); }
.city-no { position: absolute; top: 22px; left: 24px; font: 300 3.4rem var(--font-display); color: rgba(255, 255, 255, .85); line-height: 1; }
.city-no small { display: block; margin-top: 6px; font: 600 .66rem var(--font-display); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.city-landmark { position: absolute; top: 26px; right: 24px; font: 500 italic 1rem var(--font-lux); color: var(--gold-2); }
.city-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.city-body h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; }
.city-body .city-country { margin: 4px 0 14px; font: 600 .72rem var(--font-display); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }
.city-body p { margin: 0 0 20px; max-width: 420px; font-size: .92rem; color: #dfe1fb; }
.city-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- 03 Story ---------------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: 150px clamp(24px, 5vw, 80px) 150px clamp(70px, 9vw, 150px); background: linear-gradient(180deg, transparent, rgba(5, 6, 26, .85) 18%, rgba(5, 6, 26, .85) 82%, transparent); }
.story-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.story-media img { width: 100%; height: 120%; object-fit: cover; }
.story-badge { position: absolute; left: 22px; bottom: 22px; padding: 16px 22px; border-radius: var(--radius-sm); background: rgba(5, 6, 26, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-gold); }
.story-badge b { display: block; font: 600 .66rem var(--font-display); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.story-badge span { font: 500 italic 1.7rem var(--font-lux); color: #fff; }
.story-text .sec-title { margin-bottom: 30px; }
.story-text p { margin: 0 0 18px; font-size: 1.04rem; }
.story-text .btn { margin-top: 18px; }

/* ---------------- 04 Footprint ---------------- */
.footprint { padding: 0; }
.globe-stage { position: relative; height: 112vh; touch-action: pan-y; cursor: grab; }
.globe-stage:active { cursor: grabbing; }
.stage-copy { position: absolute; left: clamp(70px, 9vw, 150px); top: 16vh; max-width: 460px; pointer-events: none; }
.stage-hint { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.fp-panel { position: relative; padding: 0 clamp(24px, 4vw, 56px) 120px clamp(70px, 9vw, 150px); background: linear-gradient(180deg, transparent, var(--bg) 120px); }
.fp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.fp-head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; }
.fp-search { display: flex; gap: 8px; background: var(--surface); padding: 6px; border-radius: 999px; border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fp-search:focus-within { border-color: var(--gold); }
.fp-search input { border: 0; background: transparent; color: #fff; font: 500 .95rem var(--font-body); padding: 10px 14px; width: min(280px, 50vw); outline: none; }
.fp-search input::placeholder { color: var(--muted); }
.fp-msg { margin: 0; color: var(--warning); font-size: .92rem; }
.fp-msg:not(:empty) { padding-bottom: 14px; }
.fp-body { display: grid; grid-template-columns: 300px 1fr; gap: 18px; }
.fp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.fp-item { width: 100%; display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; text-align: left; padding: 8px; background: var(--surface); border: 1px solid var(--line); color: #fff; border-radius: var(--radius-sm); cursor: pointer; font: inherit; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.fp-item:hover { transform: translateX(6px); border-color: var(--line-gold); }
.fp-item.is-active { border-color: var(--gold); background: rgba(232, 194, 122, .08); }
.fp-item img { width: 70px; height: 54px; object-fit: cover; border-radius: 10px; }
.fp-item strong { display: block; font: 600 1rem var(--font-display); }
.fp-item small { color: var(--muted); font-size: .78rem; }
.map-wrap { position: relative; min-width: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map { position: relative; height: 100%; min-height: 520px; background: #0b0d24; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 24px 90px; text-align: center; background: #0b0d24; }
.map-fallback b { font: 700 1.6rem var(--font-display); color: #fff; }
.map-fallback span { max-width: 420px; }
.map-fallback small { color: var(--muted); font-size: .8rem; }
.map-bar { position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; }
.map-bar > * { pointer-events: auto; }
.map-bar-label { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(5, 6, 26, .88); border: 1px solid var(--line-gold); color: #fff; font: 600 .82rem var(--font-body); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.legend-pin { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 194, 122, .25); }

/* ---------------- 05 What we do ---------------- */
.work, .values, .founders, .offices { padding: 140px 0; background: rgba(5, 6, 26, .88); }
.work { background: linear-gradient(180deg, var(--bg), rgba(5, 6, 26, .88) 30%); }
.work-grid { max-width: 1340px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px) 0 clamp(70px, 9vw, 150px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.tilt.is-tilting { transition: transform .08s linear, border-color .4s, box-shadow .4s; }
.work-card { position: relative; padding: 38px 28px 34px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(26, 30, 77, .7), rgba(12, 14, 40, .7)); border: 1px solid var(--line); overflow: hidden; }
.work-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 194, 122, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.work-card:hover { border-color: var(--line-gold); box-shadow: var(--shadow); }
.work-card:hover::before { opacity: 1; }
.work-card > * { position: relative; transform: translateZ(30px); }
.wc-num { position: absolute !important; top: 22px; right: 24px; font: 300 2.8rem var(--font-display); color: rgba(255, 255, 255, .08); }
.wc-icon { width: 60px; height: 60px; padding: 15px; border-radius: 18px; fill: var(--gold); background: rgba(232, 194, 122, .08); border: 1px solid var(--line-gold); margin-bottom: 28px; }
.work-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.work-card p { margin: 0; font-size: .98rem; }

/* ---------------- 06 Values ---------------- */
.values-box { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.values-box { margin-left: max(clamp(70px, 9vw, 150px), calc((100% - 1240px) / 2)); margin-right: max(clamp(24px, 5vw, 72px), calc((100% - 1240px) / 2)); }
.values-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.values-tabs button { display: flex; align-items: center; gap: 14px; text-align: left; padding: 26px 28px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 1.02rem var(--font-display); cursor: pointer; transition: color .3s, background .3s; }
.values-tabs button b { font-size: .74rem; color: var(--gold); }
.values-tabs button:hover { color: #fff; }
.values-tabs button[aria-selected="true"] { color: #fff; background: rgba(232, 194, 122, .06); box-shadow: inset 3px 0 0 var(--gold); }
.vt-icon { width: 20px; height: 20px; flex: none; color: var(--cyan); }
.values-tabs button[aria-selected="true"] .vt-icon { color: var(--gold); }
.values-stage { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 30px; padding: clamp(34px, 5vw, 70px); min-height: 360px; }
.values-stage .v-num { font: 300 clamp(4rem, 9vw, 7rem) var(--font-display); line-height: .9; }
.values-stage h3 { font: 500 italic clamp(2.2rem, 4vw, 3.2rem) var(--font-lux); margin: 10px 0 16px; color: var(--gold-2); }
.values-stage p { margin: 0; font-size: 1.12rem; max-width: 620px; color: #dfe1fb; }
.v-emblem { position: relative; width: min(240px, 100%); aspect-ratio: 1; margin-left: auto; display: grid; place-items: center; }
.v-ring { position: absolute; inset: 0; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, var(--gold-2), var(--gold), var(--violet), var(--cyan), var(--gold-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 10s linear infinite; }
.v-emblem::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(232, 194, 122, .3), rgba(123, 92, 255, .16) 55%, transparent 75%); }
.v-icon { position: relative; width: 46%; height: 46%; color: #fff; filter: drop-shadow(0 0 16px rgba(232, 194, 122, .6)); }
.v-orb { position: absolute; width: 11px; height: 11px; border-radius: 50%; }
.v-orb--a { top: 8%; right: 14%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: floaty 4s ease-in-out infinite; }
.v-orb--b { bottom: 12%; left: 10%; width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: floaty 5s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 07 Directors ---------------- */
.founder-list { list-style: none; margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px) 0 clamp(70px, 9vw, 150px); max-width: 1400px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; perspective: 1200px; }
.founder-list li { background: linear-gradient(160deg, rgba(26, 30, 77, .6), rgba(12, 14, 40, .6)); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 18px 30px; text-align: center; }
.founder-list li:hover { border-color: var(--line-gold); }
.avatar { position: relative; width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font: 300 1.9rem var(--font-display); color: #fff; background: radial-gradient(circle at 30% 25%, #2a2f72, #0c0e2c); transform: translateZ(40px); }
.avatar::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 2px; background: conic-gradient(var(--gold-2), var(--gold), var(--cyan), var(--gold-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.founder-list li:hover .avatar::before { animation: spin 3s linear infinite; }
.founder-list h3 { font-size: 1.1rem; font-weight: 600; transform: translateZ(25px); }
.founder-list p { margin: 8px 0 0; font: 500 italic 1.05rem var(--font-lux); color: var(--gold); transform: translateZ(20px); }

/* ---------------- 08 Offices ---------------- */
.office-grid { max-width: 1400px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px) 0 clamp(70px, 9vw, 150px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.office-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .4s, box-shadow .4s, transform .6s var(--ease); }
.office-card:nth-child(4), .office-card:nth-child(5) { grid-column: span 3; }
.office-card:hover { border-color: var(--line-gold); box-shadow: var(--shadow); transform: translateY(-6px); }
.oc-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.oc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.office-card:hover .oc-img img { transform: scale(1.07); }
.oc-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 6, 26, .7); border: 1px solid var(--line-gold); color: var(--gold-2); font: 600 .66rem var(--font-display); letter-spacing: .2em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.oc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.oc-body h3 { font-size: 1.6rem; }
.oc-body .oc-country { color: var(--cyan); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.oc-body p { margin: 12px 0 0; font-size: .95rem; }
.oc-body .oc-near { color: var(--muted); font-size: .84rem; margin-top: 6px; }
.oc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }

.cta-band { padding: 150px 24px; text-align: center; background: radial-gradient(900px 400px at 50% 100%, rgba(123, 92, 255, .22), transparent 70%), radial-gradient(700px 300px at 50% 0%, rgba(232, 194, 122, .12), transparent 70%), var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.035em; }
.cta-band p { margin: 18px 0 36px; font-size: 1.1rem; color: var(--gold-2); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 28px clamp(24px, 4vw, 56px) 28px clamp(70px, 9vw, 150px); background: #020310; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
.footer-brand { font: 800 1.1rem var(--font-display); color: #fff; }
.footer-brand span:last-child { color: var(--gold); font-size: .78rem; letter-spacing: .4em; }

/* ---------------- Office page ---------------- */
.op-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 130px clamp(24px, 5vw, 80px) 70px; overflow: hidden; isolation: isolate; }
.op-hero img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; }
.op-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 26, .5) 55%, rgba(5, 6, 26, .25) 100%); }
.op-hero .back { position: absolute; top: 30px; left: clamp(24px, 5vw, 80px); color: #fff; text-decoration: none; font-weight: 600; padding: 9px 18px; border-radius: 999px; background: rgba(5, 6, 26, .55); border: 1px solid var(--line-gold); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.op-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-gold); color: var(--gold-2); font: 600 .7rem var(--font-display); letter-spacing: .22em; text-transform: uppercase; background: rgba(5, 6, 26, .5); }
.op-hero h1 { font-size: clamp(3.2rem, 10vw, 8rem); font-weight: 800; letter-spacing: -.045em; margin-top: 16px; }
.op-hero .op-country { margin: 8px 0 0; font: 500 italic clamp(1.4rem, 3vw, 2rem) var(--font-lux); color: var(--gold); }
.op-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 50px clamp(24px, 5vw, 80px); }
.op-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.op-details { margin: 0; padding: 34px; display: grid; gap: 24px; }
.op-details dt { font: 600 .7rem var(--font-display); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.op-details dd { margin: 8px 0 0; color: #e6e8ff; font-size: 1.05rem; }
.op-map { min-height: 460px; height: 100%; }
.op-others { padding: 10px clamp(24px, 5vw, 80px) 90px; }
.op-others h2 { font-size: 1.5rem; margin-bottom: 20px; }
.op-others ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.op-others a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; color: #fff; text-decoration: none; border: 1px solid var(--line); }
.op-others a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.op-others a:hover img { transform: scale(1.08); }
.op-others a span { position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px; background: linear-gradient(0deg, rgba(5, 6, 26, .95), transparent); font: 700 1.15rem var(--font-display); }
.op-others a small { display: block; font: 500 italic 1rem var(--font-lux); color: var(--gold); }
.office-page main, .office-page .site-footer { margin-left: 0; }
.office-page .op-hero, .office-page .op-grid, .office-page .op-others { padding-left: clamp(24px, 5vw, 80px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
  .voyage { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-list { grid-template-columns: repeat(3, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .office-card, .office-card:nth-child(4), .office-card:nth-child(5) { grid-column: auto; }
  .office-card:nth-child(5) { grid-column: 1 / -1; }
  .hero-inner, .presence-head, .presence-track, .story, .stage-copy, .fp-panel, .work-grid, .founder-list, .office-grid, .site-footer { padding-left: clamp(24px, 5vw, 72px); }
  .stage-copy { left: clamp(24px, 5vw, 72px); }
  .values-box { margin-left: clamp(24px, 5vw, 72px); }
}
@media (max-width: 900px) {
  :root { --rail: 0px; }
  main, .site-footer { margin-right: 0; }
  body { padding-top: 64px; }
  .side-menu { left: 0; bottom: auto; width: auto; height: 64px; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-bottom: 1px solid var(--line); }
  .brand { height: 64px; width: 112px; border-bottom: 0; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 50px; height: 50px; margin-right: 8px; border: 0; background: transparent; padding: 13px; }
  .menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .side-nav { position: fixed; top: 64px; left: 0; right: 0; padding: 0; background: rgba(5, 6, 26, .98); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
  .side-nav.is-open { max-height: 85vh; border-bottom: 1px solid var(--line); }
  .side-nav a:not(.nav-cta) { writing-mode: horizontal-tb; transform: none; justify-content: flex-start; padding: 17px 24px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .side-nav a.is-active:not(.nav-cta)::after { right: 24px; }
  .nav-cta { margin: 12px 20px 0; padding: 14px; font-size: .9rem; }
  .nav-cta:last-child { margin-bottom: 20px; }
  .hero { min-height: calc(100vh - 64px); }
  .hero-inner { padding-top: 60px; justify-content: flex-start; }
  .scroll-cue { display: none; }
  .presence-pin { height: auto; padding: 100px 0 40px; }
  .presence-track { flex-direction: column; width: auto; padding-right: clamp(24px, 5vw, 72px); }
  .city { width: 100%; height: 440px; }
  .presence-progress { display: none; }
  .story { grid-template-columns: 1fr; padding: 90px 24px; }
  .story-media { aspect-ratio: 16 / 11; }
  .globe-stage { height: 80vh; }
  .stage-copy { top: 6vh; right: 24px; }
  .fp-panel { padding: 0 20px 90px; }
  .fp-body { grid-template-columns: 1fr; }
  .fp-list { order: 2; grid-template-columns: 1fr 1fr; }
  .map { min-height: 420px; }
  .fp-search { width: 100%; }
  .fp-search input { flex: 1; width: auto; }
  .work, .values, .founders, .offices { padding: 90px 0; }
  .work-grid, .founder-list, .office-grid { padding: 0 20px; }
  .values-box { grid-template-columns: 1fr; margin: 0 20px; }
  .values-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .values-tabs button { flex: 1 0 auto; border-bottom: 0; padding: 16px 18px; }
  .values-tabs button[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--gold); }
  .values-stage { grid-template-columns: 1fr; }
  .v-emblem { width: 150px; margin: 0; order: -1; }
  .op-grid { grid-template-columns: 1fr; }
  .op-map { min-height: 340px; }
  .op-others ul { grid-template-columns: 1fr 1fr; }
  .g-label { padding: 4px 9px; }
  .g-label span { display: none; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .founder-list { grid-template-columns: 1fr 1fr; }
  .founder-list li:last-child { grid-column: 1 / -1; }
  .office-grid { grid-template-columns: 1fr; }
  .office-card:nth-child(5) { grid-column: auto; }
  .fp-list { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-stats div { border-right: 0; margin: 0; padding: 0; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Departures Board menu (replaces the side-nav links)
   ========================================================= */
.board-open { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.board-kicker { font: 700 .52rem var(--font-display); letter-spacing: .26em; line-height: 1.5; text-align: center; color: var(--gold); }
.board-kicker::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto 6px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 10px #7ee2a8; animation: pulse 1.6s infinite; }
.flaps { display: flex; flex-direction: column; gap: 3px; padding: 7px; border-radius: 10px; background: #04050f; border: 1px solid rgba(232, 194, 122, .18); box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6); }
.flap { position: relative; width: 26px; height: 28px; display: grid; place-items: center; border-radius: 3px; overflow: hidden; background: linear-gradient(#1b1d33 0 50%, #15172b 50% 100%); font: 700 .95rem "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; color: #ffdf9c; text-shadow: 0 0 8px rgba(255, 207, 107, .35); }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .75); }
.flap.is-flip { animation: flapFlip .16s ease-in; }
@keyframes flapFlip { 0% { transform: rotateX(0); } 50% { transform: rotateX(88deg); filter: brightness(.45); } 100% { transform: rotateX(0); } }
.board-berth { font: 600 .55rem var(--font-display); letter-spacing: .2em; color: var(--muted); }
.board-berth b { color: #fff; }
.board-cta { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-gold); font: 700 .6rem var(--font-display); letter-spacing: .26em; color: var(--gold-2); transition: background .3s, color .3s; }
.board-open:hover .board-cta { background: var(--gold); color: var(--bg); }
.board-open:hover .flaps { border-color: var(--gold); }
.rail-offices { margin-bottom: 14px !important; }

.board { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: clamp(14px, 3vw, 40px); background: rgba(3, 4, 14, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s var(--ease); overflow-y: auto; }
.board.is-open { opacity: 1; }
.board-frame { width: min(1080px, 100%); border-radius: 18px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(#0a0b1e, #06071a); border: 1px solid rgba(232, 194, 122, .22); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05); transform: translateY(26px) scale(.98); transition: transform .6s var(--ease); }
.board.is-open .board-frame { transform: none; }
.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(232, 194, 122, .2); }
.bh-kicker { display: block; font: 700 .64rem var(--font-display); letter-spacing: .3em; color: var(--gold); }
.board-head h2 { margin-top: 8px; font: 800 clamp(2rem, 5vw, 3.4rem) var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: #ffdf9c; text-shadow: 0 0 22px rgba(255, 207, 107, .25); }
.bh-right { display: flex; align-items: center; gap: 16px; }
.bh-clock { font: 700 1.6rem "JetBrains Mono", ui-monospace, Consolas, monospace; color: #ffdf9c; padding: 6px 12px; border-radius: 8px; background: #04050f; border: 1px solid rgba(232, 194, 122, .18); }
.board-close { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-gold); background: transparent; color: #fff; font: 600 .82rem var(--font-body); cursor: pointer; }
.board-close:hover { border-color: var(--gold); color: var(--gold-2); }
.board-cols, .b-row a { display: grid; grid-template-columns: 60px 1fr 110px 170px; gap: 12px; align-items: center; }
.board-cols { padding: 16px 16px 8px; font: 700 .62rem var(--font-display); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.board-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.b-row { opacity: 0; transform: rotateX(-70deg); transform-origin: top; }
.board.is-open .b-row { animation: rowFlip .55s var(--ease) forwards; animation-delay: var(--d); }
@keyframes rowFlip { to { opacity: 1; transform: none; } }
.b-row a { padding: 12px 16px; border-radius: 8px; background: #0d0f24; border: 1px solid transparent; text-decoration: none; font: 700 clamp(.85rem, 1.4vw, 1.05rem) "JetBrains Mono", ui-monospace, Consolas, monospace; color: #e9e3cf; letter-spacing: .06em; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.b-row a:hover { background: #15183a; border-color: rgba(232, 194, 122, .4); transform: translateX(6px); }
.b-no { color: var(--muted); }
.b-dest { color: #ffdf9c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-berth { color: #c6c9e6; }
.b-st { font-size: .78em; letter-spacing: .14em; color: #7ee2a8; text-align: right; }
.b-row.is-sailed .b-st { color: var(--muted); }
.b-row.is-sailed .b-dest { color: #9b967f; }
.b-row.is-now a { background: rgba(232, 194, 122, .12); border-color: rgba(232, 194, 122, .5); }
.b-row.is-now .b-st { color: #ffcf6b; animation: blink 1s steps(2) infinite; }
.b-row.is-next .b-st { color: var(--cyan); }
@keyframes blink { 50% { opacity: .25; } }
.board-sub { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(232, 194, 122, .2); }
.board-ports { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.board-ports li { opacity: 0; transform: translateY(12px); }
.board.is-open .board-ports li { animation: rowFlip .5s var(--ease) forwards; animation-delay: var(--d); }
.board-ports a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #0d0f24; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, background .25s; }
.board-ports a:hover { border-color: var(--gold); background: #15183a; }
.board-ports b { font: 700 1rem "JetBrains Mono", ui-monospace, Consolas, monospace; color: #ffdf9c; letter-spacing: .08em; }
.board-ports span { font: 600 .9rem var(--font-display); color: #fff; }
.board-ports em { font: 700 .58rem var(--font-display); font-style: normal; letter-spacing: .2em; color: #7ee2a8; }
.board-is-open, .board-is-open body { overflow: hidden; }

@media (max-width: 900px) {
  .side-menu .board-open { flex-direction: row; padding: 0 10px 0 0; gap: 8px; justify-content: flex-end; height: 64px; }
  .side-menu .flaps { flex-direction: row; gap: 2px; padding: 4px; }
  .side-menu .flap { width: 15px; height: 22px; font-size: .7rem; }
  .side-menu .board-kicker, .side-menu .board-berth, .side-menu .rail-offices { display: none; }
  .board-cols { display: none; }
  .b-row a { grid-template-columns: 34px 1fr; row-gap: 2px; }
  .b-berth { grid-column: 2; font-size: .75em; }
  .b-st { grid-column: 2; text-align: left; }
  .board-ports { grid-template-columns: 1fr 1fr; }
  .bh-clock { display: none; }
}
@media (max-width: 420px) { .side-menu .flap { width: 13px; font-size: .62rem; } .side-menu .board-cta { padding: 6px 9px; letter-spacing: .16em; } }
/* On phones the globe sits behind the hero copy: hide its city labels there so they never cover buttons. */
@media (max-width: 900px) { html[data-gstate="hero"] .globe-labels, html[data-gstate="presence"] .globe-labels, html[data-gstate="about"] .globe-labels { display: none; } }

/* Contact (mailto) */
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 22px 0 0; font-size: 1.05rem; }
.contact-line > a:first-of-type { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.contact-line > a:first-of-type:hover { color: #fff; border-color: var(--gold); }
.footer-mail { color: var(--gold-2) !important; text-decoration: none; }
.footer-mail:hover { color: #fff !important; }
.rail-contact { margin-bottom: 14px !important; }
.side-menu .rail-offices { margin-bottom: 0 !important; }
@media (max-width: 900px) { .side-menu .rail-contact { display: none; } }
