/* ============================================================
   AMPLIO — Strategy & Advisory
   Design system: deep navy + champagne gold, luxe-corporate
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* ---- Color ---- */
  --ink:        #04091a;
  --navy-900:   #061131;
  --navy-850:   #081738;
  --navy-800:   #0a1a3f;   /* base */
  --navy-700:   #0e2350;
  --navy-600:   #143069;
  --blue:       #2f6bff;
  --blue-bright:#5a8bff;
  --gold:       #c9a24a;
  --gold-soft:  #ddc488;
  --gold-bright:#ecd9a3;
  --paper:      #f5f7fd;
  --paper-2:    #eaf0fb;
  --mist:       #e8eefc;

  --t-hi:   rgba(233,239,252,0.96);
  --t-mid:  rgba(233,239,252,0.66);
  --t-low:  rgba(233,239,252,0.42);
  --line:   rgba(233,239,252,0.12);
  --line-2: rgba(233,239,252,0.07);

  /* on light */
  --ink-hi:  #0a1a3f;
  --ink-mid: #46557a;
  --ink-low: #8893ad;
  --ink-line:rgba(10,26,63,0.12);

  /* ---- Type ---- */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Schibsted Grotesk', system-ui, -apple-system, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--navy-800);
  color: var(--t-hi);
  line-height: 1.55;
  overflow-x: hidden;
  font-size: 17px;
}

::selection { background: var(--gold); color: var(--navy-900); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- Typographic primitives ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -0.01em; }
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 300; line-height: 1.04; }
.h2 em { font-style: italic; color: var(--gold-soft); }
.lede { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: var(--t-mid); font-weight: 400; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bg: var(--blue);
  --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 100px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.35s, color 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { box-shadow: 0 8px 30px -8px rgba(47,107,255,0.6); }
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 14px 44px -10px rgba(47,107,255,0.75); }
.btn-gold { --bg: linear-gradient(135deg, var(--gold-soft), var(--gold)); --fg: var(--navy-900); box-shadow: 0 10px 34px -10px rgba(201,162,74,0.6); }
.btn-gold:hover { box-shadow: 0 16px 48px -12px rgba(201,162,74,0.8); }
.btn-ghost {
  --bg: transparent; --fg: var(--t-hi);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 15px; color: var(--gold-soft);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 0.85em; color: var(--gold-bright); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 13px var(--gutter);
  background: rgba(8,19,48,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 25px; letter-spacing: -0.01em; white-space: nowrap; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand b { font-weight: 500; }
.brand .dot { color: var(--gold); }

/* Group switcher — discreet link between Amplio Advisory & Commercial */
.group-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 100px; margin-left: 14px; }
.group-switch a { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 13px; border-radius: 100px; color: var(--t-low); transition: color 0.25s, background 0.25s; }
.group-switch a.active { background: rgba(233,239,252,0.08); color: var(--gold-soft); }
.group-switch a:not(.active):hover { color: var(--t-hi); }

/* Reach / markets band */
.reach { text-align: center; }
.reach-grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.reach-cell { background: var(--navy-850); padding: 56px 40px; transition: background 0.4s var(--ease); }
.reach-cell:hover { background: var(--navy-700); }
.reach-cell .r-k { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.5vw, 64px); line-height: 1; }
.reach-cell .r-k em { font-style: italic; color: var(--gold-soft); }
.reach-cell .r-l { margin-top: 16px; color: var(--t-mid); font-size: 16px; max-width: 34ch; margin-inline: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--t-mid);
  padding: 9px 15px; border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--t-hi); background: rgba(233,239,252,0.06); }
.nav-links a.active { color: var(--gold-soft); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 35%, rgba(20,48,105,0.55), transparent 60%),
    radial-gradient(80% 70% at 10% 90%, rgba(201,162,74,0.07), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-850) 60%, var(--navy-800));
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding-top: 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero h1 { margin: 26px 0 0; }
.hero .lede { margin-top: 28px; max-width: 540px; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap;
}
.hero-meta .m-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: #fff; }
.hero-meta .m-num span { color: var(--gold-soft); }
.hero-meta .m-lab { margin-top: 8px; font-size: 13px; color: var(--t-mid); letter-spacing: 0.02em; }
.hero-side { position: relative; min-height: 200px; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-low);
}
.scroll-cue .bar { width: 1px; height: 46px; background: linear-gradient(var(--gold-soft), transparent); animation: cuePulse 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cuePulse { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  border-block: 1px solid var(--line-2);
  background: var(--navy-850);
  padding: 30px 0;
}
.trust-inner { display: flex; align-items: center; gap: clamp(28px, 6vw, 80px); flex-wrap: wrap; justify-content: center; }
.trust .lab { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-low); white-space: nowrap; }
.trust .logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; justify-content: center; }
.trust .logo { font-family: var(--serif); font-size: 19px; color: var(--t-mid); opacity: 0.8; transition: opacity 0.3s, color 0.3s; letter-spacing: -0.01em; }
.trust .logo:hover { opacity: 1; color: var(--t-hi); }

/* Drop-in client logo slots — elegant serif wordmark shows until a real logo is dropped in */
.logo-slot { position: relative; width: clamp(116px, 15vw, 172px); height: 56px; }
.logo-slot image-slot { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.logo-slot image-slot::part(frame) { background: transparent; }
.logo-slot image-slot::part(ring) { border-color: transparent; }
.logo-slot image-slot::part(empty) { opacity: 0; transition: opacity 0.3s; }
.logo-slot:hover image-slot:not([data-filled])::part(empty) { opacity: 0.5; }
.logo-slot image-slot[data-filled] { opacity: 0.85; transition: opacity 0.3s; }
.logo-slot:hover image-slot[data-filled] { opacity: 1; }
.logo-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--serif); font-size: 18px; line-height: 1.12; letter-spacing: -0.01em;
  color: var(--t-mid); opacity: 0.78; pointer-events: none;
  transition: opacity 0.3s, color 0.3s;
}
.logo-slot:hover .logo-fallback { opacity: 1; color: var(--t-hi); }
.logo-slot image-slot[data-filled] ~ .logo-fallback { display: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.pad { padding-block: clamp(90px, 13vh, 160px); }
.pad-sm { padding-block: clamp(64px, 9vh, 110px); }

.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 22px; }
.sec-head .lede { margin-top: 22px; }

/* Intro statement */
.intro { background: var(--navy-850); }
.intro-statement {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18; letter-spacing: -0.01em;
  max-width: 18ch;
}
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.intro-statement em { font-style: italic; color: var(--gold-soft); }
.intro-body p { color: var(--t-mid); font-size: 17.5px; }
.intro-body p + p { margin-top: 20px; }
.intro-body .link-arrow { margin-top: 28px; }

/* Services */
.services-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden;
}
.svc {
  background: var(--navy-850);
  padding: 40px 36px 44px;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 300px;
  display: flex; flex-direction: column;
}
.svc:hover { background: var(--navy-700); }
.svc .num { font-family: var(--serif); font-size: 14px; color: var(--gold-soft); letter-spacing: 0.05em; }
.svc-ico { width: 46px; height: 46px; margin: 18px 0 24px; color: var(--gold-soft); }
.svc h3 { font-size: 25px; font-weight: 400; }
.svc p { margin-top: 14px; color: var(--t-mid); font-size: 15.5px; line-height: 1.55; flex: 1; }
.svc .tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc .tag { font-size: 12px; color: var(--t-low); border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px; }
.svc::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transition: width 0.5s var(--ease);
}
.svc:hover::after { width: 100%; }

/* Approach */
.approach { background: var(--navy-850); }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 30px 0 0; position: relative; }
.step + .step { padding-left: 34px; border-left: 1px solid var(--line); }
.step .s-num { font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-soft); }
.step h3 { font-size: 22px; margin-top: 22px; font-weight: 400; }
.step p { margin-top: 12px; color: var(--t-mid); font-size: 15px; }

/* Proof / stats */
.proof { text-align: center; background:
    radial-gradient(70% 120% at 50% 0%, rgba(20,48,105,0.5), transparent 60%), var(--navy-900); }
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 14px; }
.stat .big { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 6.5vw, 92px); line-height: 0.95; letter-spacing: -0.02em; }
.stat .big .u { color: var(--gold-soft); }
.stat .lab { margin-top: 16px; font-size: 14px; color: var(--t-mid); letter-spacing: 0.02em; }
.stat + .stat { border-left: 1px solid var(--line-2); }

/* Clients / engagements */
.cases { display: grid; gap: 18px; margin-top: 60px; }
.case {
  display: grid; grid-template-columns: 0.34fr 1fr auto; gap: 40px; align-items: center;
  padding: 34px 36px;
  background: var(--navy-850);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}
.case:hover { border-color: var(--line); background: var(--navy-700); transform: translateY(-3px); }
.case .c-client { font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.case .c-sector { margin-top: 8px; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.case .c-desc { color: var(--t-mid); font-size: 16px; max-width: 60ch; }
.case .c-go { color: var(--gold-soft); flex: none; transition: transform 0.4s var(--ease); }
.case:hover .c-go { transform: translate(4px, -4px); }

/* About */
.about { background: var(--navy-850); }
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-grid.solo { grid-template-columns: 1fr; }
.about-grid.solo .about-copy { max-width: 880px; }
.about-grid.solo .about-vals { grid-template-columns: 1fr 1fr 1fr 1fr; margin-top: 40px; }
.about-copy .h2 { margin-top: 22px; }
.about-copy p { margin-top: 22px; color: var(--t-mid); font-size: 17px; }
.about-copy p + p { margin-top: 16px; }
.about-vals { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about-vals .v { padding-top: 18px; border-top: 1px solid var(--line); }
.about-vals .v h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--gold-soft); }
.about-vals .v p { margin-top: 6px; font-size: 14.5px; color: var(--t-mid); }
.about-media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.about-media image-slot { display: block; width: 100%; height: 100%; }
.about-media image-slot::part(frame) { background: rgba(233,239,252,0.03); }
.about-media image-slot::part(empty) { color: var(--t-mid); }
.about-media image-slot::part(ring) { border-color: var(--line); }
.about-badge {
  position: absolute; left: -22px; bottom: 34px; z-index: 4;
  background: var(--navy-900); border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm); padding: 18px 22px; max-width: 220px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.about-badge .b-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold-soft); }
.about-badge .b-lab { margin-top: 8px; font-size: 13px; color: var(--t-mid); }

/* CTA / Book */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900) 70%);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 3vw, 30px);
  padding: clamp(48px, 7vw, 92px);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, rgba(201,162,74,0.16), transparent 60%);
}
.cta > * { position: relative; z-index: 1; }
.cta .h2 { margin-top: 20px; max-width: 18ch; margin-inline: auto; }
.cta .lede { margin: 22px auto 0; max-width: 50ch; }
.cta-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-fine { margin-top: 22px; font-size: 13.5px; color: var(--t-low); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); border-top: 1px solid var(--line-2); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { font-size: 30px; margin-bottom: 20px; }
.footer-about { color: var(--t-mid); font-size: 15px; max-width: 32ch; }
.footer h5 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-low); margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--t-mid); font-size: 15px; padding: 6px 0; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  margin-top: 70px; padding: 26px 0; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--t-low);
}
.footer-bottom a { color: var(--t-low); }
.footer-bottom a:hover { color: var(--t-mid); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: 0.08s; }
[data-reveal-d="2"] { transition-delay: 0.16s; }
[data-reveal-d="3"] { transition-delay: 0.24s; }
[data-reveal-d="4"] { transition-delay: 0.32s; }
[data-reveal-d="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-cue .bar { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .group-switch { display: none; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid.solo .about-vals { grid-template-columns: 1fr 1fr; }
  .about-media { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stat:nth-child(3) { border-left: none; }
  .stat + .stat { border-left: none; }
  .stats .stat:nth-child(even) { border-left: 1px solid var(--line-2); }
  .case { grid-template-columns: 1fr; gap: 16px; padding: 26px; }
  .case .c-go { display: none; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step + .step { padding-left: 0; border-left: none; padding-top: 0; }
  .about-vals { grid-template-columns: 1fr; }
  .about-grid.solo .about-vals { grid-template-columns: 1fr 1fr; }
  .about-badge { left: 12px; }
}

/* ============================================================
   LIVE MARKETS TICKER (commercial page)
   ============================================================ */
.ticker-band {
  display: flex; align-items: stretch;
  background: var(--navy-900);
  border-block: 1px solid var(--line-2);
  min-height: 48px;
  position: relative; z-index: 4;
}
.ticker-tag {
  flex: none; display: flex; align-items: center; gap: 9px;
  padding: 0 22px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); white-space: nowrap;
  background: var(--navy-850); border-right: 1px solid var(--line-2);
}
.ticker-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #3fae8f; flex: none;
  box-shadow: 0 0 0 0 rgba(63,174,143,0.55);
  animation: tickerPulse 2.2s infinite;
}
@keyframes tickerPulse {
  0% { box-shadow: 0 0 0 0 rgba(63,174,143,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(63,174,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,174,143,0); }
}
.ticker-feed { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.ticker-feed .tradingview-widget-container { width: 100%; }
/* mute TradingView's default branding row for a cleaner band */
.ticker-feed .tradingview-widget-copyright { display: none !important; }
.ticker-band-uae { border-top: none; background: var(--navy-850); }
.ticker-band-uae .ticker-tag { background: var(--navy-900); color: var(--blue-bright); }
.ticker-band-uae .ticker-tag .pulse { background: var(--blue-bright); box-shadow: 0 0 0 0 rgba(90,139,255,0.55); animation: tickerPulseBlue 2.2s infinite; }
@keyframes tickerPulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(90,139,255,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(90,139,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(90,139,255,0); }
}
@media (max-width: 560px) {
  .ticker-tag { padding: 0 14px; font-size: 10px; letter-spacing: 0.12em; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6,17,49,0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--serif); font-size: 32px; color: var(--t-hi); padding: 10px; }
.mobile-menu a:hover { color: var(--gold-soft); }

/* ============================================================
   GATEWAY (landing chooser)
   ============================================================ */
.gate { position: fixed; inset: 0; display: flex; overflow: hidden;
  background: radial-gradient(80% 100% at 50% 0%, var(--navy-700), transparent 55%), linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.gate-half {
  position: relative; flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 6vw, 88px); text-decoration: none; overflow: hidden;
  transition: flex-grow 0.7s var(--ease), opacity 0.5s var(--ease);
}
.gate-left { align-items: flex-start; }
.gate-right { align-items: flex-end; text-align: right; }
.gate-half::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.55; transition: opacity 0.6s var(--ease); }
.gate-left::before { background: radial-gradient(75% 65% at 32% 72%, rgba(201,162,74,0.18), transparent 62%); }
.gate-right::before { background: radial-gradient(75% 65% at 68% 72%, rgba(47,107,255,0.18), transparent 62%); }
.gate-half:hover::before { opacity: 1; }
@media (hover: hover) {
  .gate:hover .gate-half { opacity: 0.45; }
  .gate:hover .gate-half:hover { opacity: 1; flex-grow: 1.32; }
}
.gate-ghost {
  position: absolute; z-index: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-weight: 300; line-height: 0.8; letter-spacing: -0.04em;
  font-size: clamp(110px, 21vw, 340px); color: rgba(233,239,252,0.028); pointer-events: none; user-select: none;
}
.gate-left .gate-ghost { left: -0.08em; }
.gate-right .gate-ghost { right: -0.08em; }
.gate-content { position: relative; z-index: 2; max-width: 430px; }
.gate-content h2 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 300; margin-top: 18px; line-height: 1.0; }
.gate-content h2 em { font-style: italic; color: var(--gold-soft); }
.gate-right .gate-content h2 em { color: var(--blue-bright); }
.gate-content p { margin-top: 20px; color: var(--t-mid); font-size: 17px; line-height: 1.5; }
.gate-enter {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--gold-soft);
  transition: gap 0.35s var(--ease), color 0.3s;
}
.gate-right .gate-enter { color: var(--blue-bright); }
.gate-half:hover .gate-enter { gap: 0.95em; }
.gate-enter .arr { transition: transform 0.35s var(--ease); }

.gate-seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); z-index: 1;
  background: linear-gradient(180deg, transparent, var(--line), transparent); pointer-events: none; }
.gate-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5;
  width: clamp(220px, 30vw, 380px); height: clamp(220px, 30vw, 380px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none;
}
#gate-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate-brand { position: relative; z-index: 2; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.01em; }
.gate-brand .dot { color: var(--gold); }
.gate-tag { position: relative; z-index: 2; margin-top: 8px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-mid); }
.gate-top { position: absolute; top: clamp(22px, 4vh, 36px); left: 50%; transform: translateX(-50%); z-index: 6;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--t-low); white-space: nowrap; }
.gate-foot { position: absolute; bottom: clamp(18px, 4vh, 30px); left: 50%; transform: translateX(-50%); z-index: 6;
  font-size: 13px; color: var(--t-low); text-align: center; white-space: nowrap; }
.gate-foot a { color: var(--t-mid); }
.gate-foot a:hover { color: var(--gold-soft); }

@keyframes gateIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes gateHub { from { opacity: 0; transform: translate(-50%, -50%) scale(0.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.gate-content { animation: gateIn 0.9s var(--ease) both; }
.gate-left .gate-content { animation-delay: 0.18s; }
.gate-right .gate-content { animation-delay: 0.3s; }
.gate-hub { animation: gateHub 1s var(--ease) both; }
.gate-top, .gate-foot { animation: gateIn 1s var(--ease) both; animation-delay: 0.45s; }

@media (max-width: 820px) {
  .gate { flex-direction: column; }
  .gate-half { flex: 1 1 50%; align-items: center; text-align: center; padding-block: clamp(64px, 11vh, 100px); }
  .gate-right { align-items: center; text-align: center; }
  .gate-content { max-width: 32ch; }
  .gate-seam { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent); transform: translateY(-50%); }
  .gate-hub { width: 150px; height: 150px; }
  .gate-ghost { font-size: clamp(90px, 34vw, 180px); }
}
@media (prefers-reduced-motion: reduce) {
  .gate-content, .gate-hub, .gate-top, .gate-foot { animation: none; }
}
