/* Frontier Financial Services — site styles
   Visual language: Eleving-led architectural editorial system (large light display type,
   adaptive dark/light frosted glass, floating pill sub-nav, 3D dot-matrix sphere,
   interactive bordered marquee strip, photo/type overlap) in FFS brand colours
   (pitch ink, crisp white, off-white, Frontier gold), Geologica + IBM Plex Mono. */

:root {
  --dark: #060606;
  --ink: #0e1116;
  --ink-2: #161a20;
  --white: #ffffff;
  --off-white: #fafafa;
  --glass-light: #f8f8f7;
  --mist: #f2f2f2;
  --mute: #58606b;
  --mute-2: #9ba3ae;
  --mute-3: #d5d9de;
  --line: #e3e6ea;
  --line-dark: #22262d;
  --gold: #e1b828;
  --gold-bright: #ecc744;
  --gold-ink: #8c6d00;
  --red: #ab0000;

  --sans: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 5.55vw, 80px);
  --section: clamp(80px, 8.3vw, 120px);

  --t-hero: clamp(60px, 9.75vw, 142px);
  --t-display: clamp(42px, 6.25vw, 90px);
  --t-h1: clamp(38px, 5vw, 72px);
  --t-h2: clamp(32px, 3.35vw, 48px);
  --t-h3: clamp(26px, 2.5vw, 36px);
  --t-lead: clamp(18px, 1.45vw, 21px);

  /* Motion: Emil Kowalski STANDARDS.md curves — strong ease-out for UI, snappy sub-300ms */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 160ms;
  --dur-state: 200ms;
  --dur-enter: 600ms;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  caret-color: var(--gold-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--dark); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 300; font-size: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button, a, summary, [role="button"] { touch-action: manipulation; }
button, .pill, .chip, .tabs__tab, .subnav a, .nav__lang a, .brand-pill { -webkit-user-select: none; user-select: none; }
section[id], form[id] { scroll-margin-top: 156px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--gold); color: var(--dark); padding: 10px 16px; border-radius: 999px; font-family: var(--mono); font-size: 14px; }
.skip:focus { top: 12px; }

main { overflow-x: clip; }
[data-drift] { will-change: transform; }
.wrap { padding-inline: var(--gutter); }
.label { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.25; font-weight: 300; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 13px; line-height: 18px; font-weight: 400; }
.muted { color: var(--mute); }
.section--ink .muted, .band .muted, .tech .muted, .footer .muted, [data-nav-surface="dark"] .muted { color: var(--mute-2); }
.todo { color: var(--red); }
.gold { color: var(--gold); }
.on-dark { color: var(--white); }

.h-hero { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.028em; font-weight: 300; }
.h-display { font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.026em; font-weight: 300; }
.h1 { font-size: var(--t-h1); line-height: 1.05; letter-spacing: -0.028em; font-weight: 400; }
.h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.024em; font-weight: 400; }
.h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; }
.lead { font-size: var(--t-lead); line-height: 1.48; font-weight: 300; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 11px 26px;
  border-radius: 999px; border: 1px solid currentColor;
  font-family: var(--mono); font-size: 14px; line-height: 18px; font-weight: 400;
  white-space: nowrap;
  transition: background-color var(--dur-state) ease, color var(--dur-state) ease, border-color var(--dur-state) ease, transform var(--dur-press) var(--ease-out);
}
.pill--lg { min-height: 52px; padding: 14px 36px; }
.pill:active { transform: scale(0.97); }
.pill .arr { display: inline-block; transition: transform var(--dur-state) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pill:hover .arr { transform: translateX(3px); } }
@media (hover: hover) and (pointer: fine) { .pill:hover .arr--ne { transform: translate(2px, -2px); } }
.pill--ink { color: var(--dark); border-color: var(--dark); }
.pill--light { color: var(--white); border-color: rgba(255, 255, 255, 0.72); }
.pill--gold { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 500; }
.pill--solid { background: var(--dark); border-color: var(--dark); color: var(--white); }
.textlink { font-family: var(--mono); font-size: 14px; line-height: 20px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color var(--dur-state) ease; }
@media (hover: hover) and (pointer: fine) {
  .pill--ink:hover { background: var(--dark); color: var(--gold); border-color: var(--dark); }
  .pill--light:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
  .pill--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
  .pill--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
  .textlink:hover { color: var(--gold-ink); }
  .is-ink .textlink:hover, .band .textlink:hover, .footer .textlink:hover { color: var(--gold); }
}

/* ---------- Adaptive Frosted Navigation + Floating Pill Sub-Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: calc(80px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 250ms ease, border-color 250ms ease;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 6, 6, 0.32);
  -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%);
  transition: background-color 250ms ease;
}
.nav[data-theme="light"] {
  color: var(--ink);
  border-bottom-color: rgba(14, 17, 22, 0.08);
}
.nav[data-theme="light"]::before {
  background: rgba(248, 248, 247, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%);
}
.nav[data-open="true"] {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.nav[data-open="true"]::before { background: rgba(6, 6, 6, 0.92); }

.nav__logo {
  position: relative; display: inline-flex; align-items: center; justify-self: start;
  height: 38px;
}
.nav__logo img { height: 36px; width: auto; transition: opacity 220ms ease; }
.nav__logo-ink { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.nav[data-theme="light"]:not([data-open="true"]) .nav__logo-white { opacity: 0; }
.nav[data-theme="light"]:not([data-open="true"]) .nav__logo-ink { opacity: 1; }

.nav__links { display: flex; align-items: center; gap: clamp(24px, 2.8vw, 44px); justify-self: center; }
.nav__links a, .nav__cta {
  position: relative; font-size: 15px; line-height: 22px; font-weight: 300; padding-block: 8px;
  transition: color var(--dur-state) ease, opacity var(--dur-state) ease;
}
.nav__links a { opacity: 0.86; }
.nav__links a:hover, .nav__links a.is-drop-active { opacity: 1; }
.nav[data-theme="light"] .nav__links a:hover,
.nav[data-theme="light"] .nav__links a.is-drop-active,
.nav[data-theme="light"] .nav__links a[aria-current="page"] { color: var(--gold-ink); opacity: 1; }
.nav[data-theme="dark"] .nav__links a[aria-current="page"] { color: var(--gold); opacity: 1; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after, .nav__links a.is-drop-active::after { transform: scaleX(1); transform-origin: left; } }

.nav__end { display: flex; align-items: center; justify-self: end; gap: clamp(16px, 1.8vw, 28px); }
.nav__cta { font-weight: 400; white-space: nowrap; transition: color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
.nav__cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .nav[data-theme="light"] .nav__cta:hover { color: var(--gold-ink); }
  .nav[data-theme="dark"] .nav__cta:hover { color: var(--gold); }
}

/* Language switch */
.nav__lang { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 12px; line-height: 16px; }
.nav__lang a { position: relative; padding: 5px 9px; border-radius: 999px; color: rgba(255, 255, 255, 0.72); transition: color var(--dur-state) ease, background-color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
.nav__lang a::before { content: ""; position: absolute; inset: -10px -3px; }
.nav__lang a:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .nav__lang a:hover { color: #fff; } }
.nav__lang a[aria-current] { color: var(--dark); background: rgba(255, 255, 255, 0.92); }
.nav[data-theme="light"]:not([data-open="true"]) .nav__lang a { color: var(--mute); }
@media (hover: hover) and (pointer: fine) { .nav[data-theme="light"]:not([data-open="true"]) .nav__lang a:hover { color: var(--ink); } }
.nav[data-theme="light"]:not([data-open="true"]) .nav__lang a[aria-current] { color: var(--white); background: var(--dark); }

/* Detached floating pill dropdown (Eleving signature, trigger-origin scale per STANDARDS.md) */
.nav-drop {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform-origin: top center;
  transform: translate(-50%, -6px) scale(0.96); opacity: 0; visibility: hidden; pointer-events: none;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(14, 17, 22, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.45);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms, background-color 200ms ease, border-color 200ms ease;
}
.nav-group { display: inline-flex; align-items: center; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding: 6px; color: inherit; }
.nav-drop[data-open="true"] {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); pointer-events: auto;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s, background-color 200ms ease, border-color 200ms ease;
}
.nav[data-theme="light"] .nav-drop {
  background: rgba(248, 248, 247, 0.88);
  border-color: rgba(14, 17, 22, 0.1);
  box-shadow: 0 18px 36px -22px rgba(14, 17, 22, 0.22);
}
.nav-drop__group { display: flex; align-items: center; gap: 4px; }
.nav-drop__group[hidden] { display: none; }
.nav-drop__group a {
  padding: 8px 18px; border-radius: 999px; font-size: 14px; line-height: 18px; white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
  transition: background-color var(--dur-state) ease, color var(--dur-state) ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-drop__group a:hover { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
  .nav[data-theme="light"] .nav-drop__group a:hover { background: rgba(14, 17, 22, 0.06); color: var(--ink); }
}
.nav[data-theme="light"] .nav-drop__group a { color: var(--mute); }

.nav__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; transition: transform var(--dur-press) var(--ease-out); }
.nav__menu:active { transform: scale(0.94); }
.nav__menu-bars { position: relative; width: 22px; height: 9px; }
.nav__menu-bars span { position: absolute; left: 0; display: block; width: 22px; height: 1px; background: currentColor; transition: transform 300ms var(--ease-out); }
.nav__menu-bars span:first-child { top: 0; }
.nav__menu-bars span:last-child { top: 8px; }
.nav[data-open="true"] .nav__menu-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.nav[data-open="true"] .nav__menu-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; height: 100dvh; z-index: 55; background: var(--dark); color: var(--white);
  padding: calc(108px + env(safe-area-inset-top)) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 300ms var(--ease-out), visibility 0s linear 300ms;
}
.drawer[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 480ms var(--ease-drawer), visibility 0s; }
.drawer__links { display: flex; flex-direction: column; gap: 8px; }
.drawer__links a { font-size: clamp(44px, 12vw, 72px); line-height: 1.05; letter-spacing: -0.03em; display: block; overflow: hidden; }
.drawer__links a span { display: block; }
.drawer__links a[aria-current="page"] { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(700px, 94svh); overflow: hidden; color: var(--white);
  background: var(--dark); isolation: isolate;
}
.hero--home { min-height: clamp(840px, 100svh, 980px); }
.hero--short { min-height: max(580px, 76svh); }
.hero__media { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.74) 0%, rgba(6, 6, 6, 0.36) 46%, rgba(6, 6, 6, 0.08) 78%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.44) 0%, rgba(6, 6, 6, 0.08) 28%, rgba(6, 6, 6, 0.12) 64%, rgba(6, 6, 6, 0.58) 100%);
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 44px;
  min-height: inherit; padding: clamp(124px, 14vh, 176px) var(--gutter) 44px;
}
.hero__head { display: flex; flex-direction: column; }
.hero__title { max-width: 14ch; }
/* Eleving staircase stagger: second line and accent subhead step right */
.hero__title--stagger { max-width: none; font-size: clamp(58px, 9vw, 132px); }
.hero__title--stagger .ln:nth-child(2) { padding-left: clamp(24px, 9vw, 140px); }
.hero__tag {
  margin-top: 22px; padding-left: clamp(0px, 8.3vw, 120px);
  color: var(--gold); font-size: clamp(19px, 1.85vw, 26px); line-height: 1.22; font-weight: 400; letter-spacing: -0.015em; max-width: 28ch;
}
.hero__tag--stagger { padding-left: clamp(24px, 9vw, 140px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-left: clamp(0px, 8.3vw, 120px); }

/* True Eleving Frosted Glass Material */
.glass {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.21) 20%, rgba(134, 134, 134, 0.18) 95%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.36);
  -webkit-backdrop-filter: blur(22px) saturate(130%); backdrop-filter: blur(22px) saturate(130%);
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 224px; padding: 24px 26px 26px;
}
.stat__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 19px; color: rgba(255, 255, 255, 0.92); }
.stat__value {
  font-size: clamp(36px, 3.85vw, 58px); line-height: 1; letter-spacing: -0.025em;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
a.stat { transition: background-color var(--dur-state) ease, border-color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  a.stat:hover { border-color: rgba(255, 255, 255, 0.5); background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 20%, rgba(134, 134, 134, 0.22) 95%); }
}
a.stat:active { transform: scale(0.985); }
.stat__value--word { font-size: clamp(32px, 2.8vw, 42px); line-height: 1.1; white-space: normal; }

/* Bulletproof Odometer (exact 10% per digit step, zero clipping) */
.odo { display: inline-flex; align-items: baseline; vertical-align: top; font-variant-numeric: tabular-nums; }
.odo__digit { position: relative; display: inline-block; height: 1.06em; overflow: hidden; line-height: 1.06; vertical-align: top; }
.odo__size { display: block; visibility: hidden; line-height: 1.06; }
.odo__strip {
  position: absolute; top: 0; left: -0.15em; right: -0.15em;
  display: flex; flex-direction: column; align-items: center;
  will-change: transform;
  transition: transform 900ms var(--ease-out);
}
.odo__strip span { display: block; height: 1.06em; line-height: 1.06; }
.odo__char { display: inline-block; line-height: 1.06; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--dark); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 4vw, 56px); }
.section-head__title { display: flex; flex-direction: column; gap: 20px; }
.section-head__aside { max-width: 380px; padding-bottom: 8px; }

/* Bordered cell rows (used on interior pages) */
.cells { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-block: 1px solid var(--dark); }
.cells > * {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: 28px 32px 40px; border-right: 1px solid var(--dark);
  transition: background-color 240ms ease, color 240ms ease;
}
.cells > *:first-child { padding-left: var(--gutter); }
.cells > *:last-child { border-right: 0; padding-right: var(--gutter); }
.cells .is-ink { background: var(--dark); color: var(--white); }
.cells .is-ink .muted { color: var(--mute-2); }
.cell__title { display: flex; flex-direction: column; gap: 12px; }
.cell__big { font-size: clamp(52px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Drift rows (our financing — Eleving Editorial Overlap Stage) ---------- */
.drift-list { padding-block: clamp(72px, 7vw, 108px) clamp(64px, 6.2vw, 96px); overflow: hidden; background: var(--white); }
.drift-list__head { margin-bottom: clamp(32px, 3.6vw, 52px); }
.drift {
  display: block; position: relative; height: clamp(148px, 14.8vw, 212px);
  cursor: pointer; text-decoration: none; color: inherit;
}
.drift:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.drift__photo {
  display: block; position: absolute; top: 0; height: clamp(128px, 15.6vw, 224px); aspect-ratio: 3 / 2;
  overflow: hidden; border-radius: 0; will-change: transform;
}
.drift__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .drift:hover .drift__photo img { transform: scale(1.035); } }
.drift__text { display: block; position: absolute; top: clamp(24px, 2.6vw, 40px); white-space: nowrap; will-change: transform; }
.drift__word { display: block; font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.025em; color: var(--dark); }
.drift__word--gold { position: absolute; inset: 0; color: var(--gold); pointer-events: none; clip-path: inset(0 100% 0 0); }
.drift__meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding-left: 2px;
}
.drift[data-dir="-1"] .drift__meta { justify-content: flex-end; padding-left: 0; }
.drift__for {
  font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--mute);
  transition: color var(--dur-state) ease;
}
.drift__brand {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px; border-radius: 999px;
  background: var(--white); color: var(--dark);
  border: 1px solid var(--dark);
  font-family: var(--mono); font-size: 13px; line-height: 16px; font-weight: 500;
  transition: background-color var(--dur-state) ease, color var(--dur-state) ease, border-color var(--dur-state) ease, transform var(--dur-press) var(--ease-out);
}
.drift__brand .arr { display: inline-block; transition: transform var(--dur-state) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .drift:hover .drift__brand,
  .drift:focus-visible .drift__brand { background: var(--dark); color: var(--gold); border-color: var(--dark); }
  .drift:hover .drift__brand .arr--ne,
  .drift:focus-visible .drift__brand .arr--ne { transform: translate(2px, -2px); }
  .drift:hover .drift__brand .arr:not(.arr--ne),
  .drift:focus-visible .drift__brand .arr:not(.arr--ne) { transform: translateX(3px); }
  .drift:hover .drift__for { color: var(--dark); }
}
.drift:active .drift__brand { transform: scale(0.97); }
.drift-foot { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; padding-top: clamp(44px, 4.8vw, 68px); }
.drift-foot p { max-width: 540px; font-size: 16px; line-height: 1.5; color: var(--ink); }

/* ---------- Invest band + 3D Fibonacci Dot-Matrix Sphere ---------- */
.invest-top {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px) minmax(0, 320px);
  gap: 32px; align-items: center;
  padding: clamp(56px, 5.5vw, 84px) var(--gutter) clamp(56px, 5.5vw, 84px);
  border-top: 1px solid var(--dark);
  background: var(--white);
}
.invest-top__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; align-self: stretch; justify-content: space-between; }
.invest-top__heading { display: flex; flex-direction: column; gap: 24px; }
.invest-top__copy .h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.028em; }
.invest-top__copy .h2 .ln, .js .invest-top__copy [data-lines] .ln {
  overflow: visible; padding-bottom: 0.14em; margin-bottom: -0.14em;
  clip-path: inset(-12% -100vw -18% 0);
}
.invest-top__note { align-self: end; font-size: 16px; line-height: 1.5; color: var(--ink); padding-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 24px;
  border: 1px solid rgba(6, 6, 6, 0.28); border-radius: 999px;
  font-family: var(--mono); font-size: 13px; line-height: 18px; color: var(--dark);
  transition: background-color var(--dur-state) ease, color var(--dur-state) ease, border-color var(--dur-state) ease, transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { a.chip:hover, button.chip:hover { background: var(--dark); color: var(--white); border-color: var(--dark); } }
a.chip:active, button.chip:active { transform: scale(0.97); }

/* 3D Dot-Matrix Sphere Canvas */
.sphere {
  position: relative; width: min(100%, 460px); aspect-ratio: 1;
  justify-self: center; display: grid; place-items: center;
}
.sphere canvas { width: 100%; height: 100%; display: block; }

/* ---------- Bordered Investor Strip ---------- */
.marquee {
  position: relative; border-block: 1px solid var(--dark); background: var(--white);
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
}

.marquee__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr);
}
.mtile {
  position: relative; min-height: 356px; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  padding: 28px 32px 34px;
  border-right: 1px solid var(--dark);
  background: var(--white); color: var(--dark);
  transition: background-color 240ms ease, color 240ms ease, transform var(--dur-press) var(--ease-out);
}
.mtile:active { transform: scale(0.985); }
.mtile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.mtile__label { font-size: 15px; line-height: 1.4; max-width: 24ch; }
.mtile__unit { display: block; margin-top: 4px; color: var(--mute); transition: color 240ms ease; }
.mtile__icon { width: 40px; height: 40px; flex: none; color: var(--dark); transition: color 240ms ease, transform 300ms var(--ease-out); }
.mtile__foot { display: flex; flex-direction: column; gap: 12px; }
.mtile__val {
  font-size: clamp(56px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.mtile__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 13px; color: var(--mute);
  transition: color 240ms ease;
}
/* Featured dark anchor tile + Eleving hover-inversion on every tile */
.mtile--dark { background: var(--dark); color: var(--white); }
.mtile--dark .mtile__unit, .mtile--dark .mtile__cta { color: var(--mute-2); }
.mtile--dark .mtile__icon { color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .mtile:hover { background: var(--dark); color: var(--white); }
  .mtile:hover .mtile__unit { color: var(--mute-2); }
  .mtile:hover .mtile__icon { color: var(--gold); transform: translateY(-2px); }
  .mtile:hover .mtile__cta { color: var(--gold); }
  .mtile--dark:hover { background: #14171c; }
}
.mtile:focus-visible { outline-offset: -3px; }

/* ---------- Full-bleed Partner Band (Eleving Investor Community Pattern) ---------- */
.band {
  position: relative; min-height: clamp(680px, 84svh, 860px); overflow: hidden;
  color: var(--white); background: var(--ink-2); isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(64px, 6.5vw, 96px) var(--gutter) clamp(44px, 4.5vw, 64px);
  gap: clamp(48px, 6vw, 84px);
}
.band__media { position: absolute; inset: -10% 0 -10% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.56) 0%, rgba(6, 6, 6, 0.22) 45%, rgba(6, 6, 6, 0.62) 100%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.36) 0%, rgba(6, 6, 6, 0.08) 55%, rgba(6, 6, 6, 0.2) 100%);
}
.band__title { max-width: 12ch; }
.band-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.band-glass {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 292px; padding: 32px 36px;
  transition: border-color var(--dur-state) ease, background-color var(--dur-state) ease;
}
@media (hover: hover) and (pointer: fine) { .band-glass:hover { border-color: rgba(255, 255, 255, 0.48); } }
.band-glass__title { font-size: clamp(32px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 400; }
.band-glass__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.band-glass__copy { max-width: 34ch; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }

/* ---------- Overlap Feature (Company / Equity / Markets) ---------- */
.overlap { position: relative; padding: clamp(64px, 6.5vw, 96px) var(--gutter) clamp(72px, 7.5vw, 112px); overflow: hidden; background: var(--off-white); }
.overlap__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.28fr); gap: 0; align-items: stretch; margin-top: clamp(36px, 4vw, 56px); }
.overlap__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding-block: 16px 8px; }
.overlap__copy-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.overlap__photo { position: relative; z-index: 1; min-height: clamp(380px, 39vw, 560px); overflow: hidden; border-radius: 0; background: #e8e8e6; }
.overlap__photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.overlap__word { position: relative; display: block; width: max-content; white-space: nowrap; }
.overlap__word .drift__word { width: max-content; }
.overlap__word .drift__word--gold { position: absolute; inset: 0; }
.overlap__body { max-width: 400px; font-size: 16px; line-height: 1.5; color: var(--ink); }

/* ---------- Architectural Pitch-Black Footer (Eleving Pattern) ---------- */
.footer { background: var(--dark); color: var(--white); padding: clamp(60px, 6vw, 84px) var(--gutter) 44px; caret-color: var(--gold); }
.footer__dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { font-size: 20px; line-height: 26px; font-weight: 400; margin-bottom: 4px; color: var(--white); }
.footer__col a { color: var(--mute-2); font-size: 14px; line-height: 22px; width: fit-content; transition: color var(--dur-state) ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--white); } }

.footer__mid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: end;
  margin-top: clamp(56px, 6vw, 88px);
}
.footer__news { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
.footer__news h2 { font-size: 23px; line-height: 30px; font-weight: 400; }
.field-line { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 12px; }
.field-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.field-line:focus-within::after { transform: scaleX(1); }
.field-line input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 16px; font-weight: 300; color: var(--white); }
.field-line input::placeholder { color: #8c95a3; }
.footer__submit { color: var(--white); padding: 8px 4px; min-height: 36px; font-size: 13px; letter-spacing: 0.01em; transition: color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
.footer__submit:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .footer__submit:hover { color: var(--gold); } }
.footer__agree { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 18px; color: var(--mute-2); cursor: pointer; }
.footer__agree input {
  appearance: none; -webkit-appearance: none;
  width: 15px; height: 15px; flex: none; margin: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.48); border-radius: 2px; background: transparent;
  display: grid; place-content: center;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.footer__agree input::after {
  content: ""; width: 8px; height: 5px;
  border-left: 1.6px solid var(--dark); border-bottom: 1.6px solid var(--dark);
  transform: rotate(-45deg) translate(0.5px, -0.5px); opacity: 0;
}
.footer__agree input:checked { background: var(--gold); border-color: var(--gold); }
.footer__agree input:checked::after { opacity: 1; }
.footer__agree a { text-decoration: underline; text-underline-offset: 3px; color: var(--mute-3); }
.footer__agree a:hover { color: var(--white); }

.footer__brand { display: flex; flex-direction: column; gap: 16px; justify-self: end; max-width: 480px; }
.footer__logo img { height: 34px; width: auto; }
.footer__entities { font-size: 13px; line-height: 1.6; color: var(--mute-3); }
.footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; line-height: 20px; color: var(--white); }
.footer__contact span { color: #525964; }
.footer__contact a:hover { color: var(--gold); }

.footer__legal {
  margin-top: clamp(44px, 4.5vw, 64px); padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 20px;
  font-size: 12px; line-height: 1.65; color: #7d8591;
}
.footer__disclaimer { max-width: 1080px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal-links a { color: var(--mute-2); transition: color var(--dur-state) ease; }
.footer__legal-links a:hover { color: var(--white); }
.footer__copy { white-space: nowrap; color: var(--mute-2); }
.footer__copy span[aria-hidden] { margin-inline: 8px; color: #525964; }

/* ---------- Fraud notice ---------- */
.notice { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 40px var(--gutter); border-top: 1px solid var(--dark); }
.notice__text { display: flex; align-items: center; gap: 20px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.4; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: none; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: 20px; background: var(--mist); }
.form h2 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--dark); padding-bottom: 10px; }
.field label, .field legend { font-family: var(--mono); font-size: 13px; line-height: 18px; color: var(--mute); }
.field input, .field textarea { background: none; border: 0; outline: none; padding: 0; font-size: 20px; line-height: 26px; font-weight: 300; color: var(--ink); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: 0.9; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
fieldset.choice { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
fieldset.choice legend { font-family: var(--mono); font-size: 13px; color: var(--mute); margin-bottom: 10px; padding: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice__opts input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opts label { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 20px; border: 1px solid var(--dark); border-radius: 999px; font-family: var(--mono); font-size: 13px; line-height: 16px; cursor: pointer; transition: background-color var(--dur-state) ease, color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
.choice__opts label:active { transform: scale(0.97); }
.choice__opts input:checked + label { background: var(--dark); color: var(--white); }
.choice__opts input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__fine { font-size: 13px; line-height: 18px; color: var(--mute); max-width: 280px; }
.form__status { font-family: var(--mono); font-size: 13px; color: inherit; min-height: 18px; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }
.form[data-state="error"] .form__status, form[data-state="error"] .form__status { color: var(--red); }
.footer form[data-state="error"] .form__status, .notify form[data-state="error"] .form__status { color: #ff8a80; }
.form__consent { font-size: 13px; line-height: 18px; color: var(--mute); margin-top: -12px; }
.form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Sending dots */
.dots { display: inline-flex; gap: 3px; margin-left: 4px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: dot 900ms var(--ease-in-out) infinite; }
.dots i:nth-child(2) { animation-delay: 150ms; }
.dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
button[disabled] { cursor: progress; }

/* Success tick */
.form__done { display: none; flex-wrap: wrap; align-items: center; gap: 16px; outline: none; }
form[data-state="sent"] > *:not(.form__done):not(h2) { display: none; }
form[data-state="sent"] .form__done { display: flex; }
.form__tick { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form__tick circle { stroke-dasharray: 117; stroke-dashoffset: 117; animation: draw 700ms var(--ease-out) forwards; }
.form__tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 420ms var(--ease-out) 420ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done-text { flex: 1; min-width: 180px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; animation: rise 600ms var(--ease-out) 200ms both; }
.form__reset { flex-basis: 100%; width: fit-content; color: var(--mute); }
.footer .form__reset, .notify .form__reset { color: var(--mute-2); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Shared link underline slide */
.footer__col a, .footer__legal-links a, .drift__meta a, .office p a { background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px; transition: background-size 280ms var(--ease-out), color var(--dur-state) ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover, .footer__legal-links a:hover, .drift__meta a:hover { background-position: 0 100%; background-size: 100% 1px; } }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-lines] .ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js [data-lines] .ln > span { display: block; transform: translateY(105%); transition: transform 760ms var(--ease-out); transition-delay: calc(var(--ld, 0ms) + var(--d, 0ms)); }
.js [data-lines].is-in .ln > span { transform: none; }
.js .hero__media img { transform: scale(1.05); opacity: 0; transition: transform 1800ms var(--ease-out), opacity 750ms ease; }
.js .is-loaded .hero__media img { transform: scale(1); opacity: 1; }

/* Page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms var(--ease-out) both vt-out; }
::view-transition-new(root) { animation: 300ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   Interior Pages (Eleving interior architecture)
   ========================================================= */

/* Sub-navigation pill capsule under the main nav */
.subnav {
  position: fixed; top: 92px; left: 50%; z-index: 48; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 6px; border-radius: 999px; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none;
  background: rgba(6, 6, 6, 0.72); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), background-color 220ms ease, border-color 220ms ease;
}
.subnav::-webkit-scrollbar { display: none; }
body.is-drop-open .subnav { opacity: 0 !important; pointer-events: none; transform: translateX(-50%) scale(0.97); }
.subnav[data-theme="light"] {
  background: rgba(248, 248, 247, 0.86);
  border-color: rgba(14, 17, 22, 0.1);
  box-shadow: 0 12px 28px -18px rgba(14, 17, 22, 0.2);
}
.subnav a { flex: none; padding: 8px 18px; border-radius: 999px; color: rgba(255, 255, 255, 0.86); font-size: 14px; line-height: 18px; white-space: nowrap; transition: background-color var(--dur-state) ease, color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
.subnav a:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .subnav a:not(.is-current):hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .subnav[data-theme="light"] a:not(.is-current):hover { background: rgba(14, 17, 22, 0.06); color: var(--ink); }
}
.subnav a.is-current { background: rgba(255, 255, 255, 0.94); color: var(--dark); font-weight: 400; }
.subnav[data-theme="light"] a { color: var(--mute); }
.subnav[data-theme="light"] a.is-current { background: var(--dark); color: var(--white); }
.js .subnav { opacity: 0; }
.js .is-loaded ~ .subnav, .js .subnav.is-ready { opacity: 1; }

/* Hero bracket tag */
.stats-block { display: flex; flex-direction: column; gap: 14px; }
.bracket { align-self: flex-end; color: rgba(255, 255, 255, 0.85); }

/* Financing overview columns */
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ov-col { display: flex; flex-direction: column; gap: 28px; padding: 28px 28px 32px; border-radius: 20px; background: var(--mist); }
.ov-col__top { display: flex; justify-content: space-between; }
.ov-col__name { display: flex; align-items: center; gap: 10px; font-size: 22px; line-height: 28px; font-weight: 400; }
.ov-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.ov-col__big { font-size: clamp(60px, 6.2vw, 88px); line-height: 1.04; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ov-col__copy { font-size: 16px; line-height: 24px; min-height: 96px; }
.ov-rows { border-bottom: 1px solid var(--dark); }
.ov-rows li { border-top: 1px solid var(--dark); }
.ov-rows summary { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 16px; line-height: 22px; font-weight: 400; }
.ov-rows summary::-webkit-details-marker { display: none; }
.ov-plus { position: relative; width: 14px; height: 14px; justify-self: end; }
.ov-plus::before, .ov-plus::after, .acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 300ms var(--ease-out); }
.ov-plus::after, .acc__icon::after { transform: rotate(90deg); }
details[open] > summary .ov-plus::after, details[open] > summary .acc__icon::after { transform: rotate(0deg); }
.ov-rows details p { padding: 0 0 16px; font-size: 15px; line-height: 22px; color: var(--mute); }
.js .ov-rows details[open] p, .js .acc__item[open] .acc__body { animation: rise-sm 240ms var(--ease-out) both; }
@keyframes rise-sm { from { opacity: 0; transform: translateY(6px); } }
.ov-brands { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.ov-brands > div { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 14px; line-height: 18px; font-weight: 500; transition: background-color var(--dur-state) ease, color var(--dur-state) ease, transform var(--dur-press) var(--ease-out); }
a.brand-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { a.brand-pill:hover { background: var(--dark); color: #fff; } }

/* Financing segments */
.segment { padding: var(--section) var(--gutter) clamp(72px, 6.6vw, 96px); }
.segment--mist { background: var(--mist); }
.product { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr) minmax(260px, 320px); gap: 48px; padding-block: 32px; border-top: 1px solid var(--dark); }
.product__name { display: flex; flex-direction: column; gap: 12px; }
.facts { padding-top: 30px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.segment--mist .facts div { border-color: #d7dbe0; }
.facts dt { color: var(--mute); }
.facts dd { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }
.product__aside { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.product__photo { width: 100%; aspect-ratio: 5 / 3; border-radius: 12px; overflow: hidden; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .product:hover .product__photo img { transform: scale(1.04); } }

/* Terms card with tabs (bonds pattern) */
.tabs__list { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs__tab { flex: 1; display: inline-flex; align-items: flex-end; min-height: 46px; text-align: left; padding-bottom: 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; color: var(--mute); transition: color var(--dur-state) ease, border-color 300ms var(--ease-out), transform var(--dur-press) var(--ease-out); }
.tabs__tab[aria-selected="true"] { color: var(--dark); border-color: var(--dark); }
.tabs__tab:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .tabs__tab:hover { color: var(--dark); } }
.terms { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; padding: 36px 40px; border-radius: 20px; background: var(--mist); }
.terms[hidden] { display: none; }
.js .terms:not([hidden]) { animation: fade-in 160ms var(--ease-out) both; }
@keyframes fade-in { from { opacity: 0; } }
.terms__main { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-right: 40px; border-right: 1px solid #d7dbe0; }
.terms__who { display: flex; flex-direction: column; gap: 12px; }
.terms__name { font-size: 22px; line-height: 28px; font-weight: 400; }
.terms__tag { display: flex; align-items: center; gap: 12px; }
.status-pill { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--dark); font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.terms__big { font-size: clamp(44px, 4.8vw, 68px); line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.terms__big .mono { letter-spacing: 0; }
.terms__side { display: flex; flex-direction: column; gap: 20px; }
.terms__kv div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #d7dbe0; }
.terms__kv dt { font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--mute); }
.terms__kv dd { font-size: 15px; line-height: 20px; font-weight: 400; text-align: right; }
.terms__side > .pill, .docs { align-self: flex-end; }
.docs { position: relative; }
.docs summary { list-style: none; cursor: pointer; }
.docs summary::-webkit-details-marker { display: none; }
.docs[open] summary .arr { transform: rotate(180deg); }
.docs ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 260px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -20px rgba(6, 6, 6, 0.35); border: 1px solid var(--line); }
.docs li a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .docs li a:hover { background: var(--mist); } }

/* Tech-style steps (Eleving dark dot-grid pillar band) */
.tech { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 160px; min-height: 820px; padding: 96px var(--gutter) 112px; background: var(--dark) url("../img/dots.png") center / cover no-repeat; color: #fff; overflow: hidden; }
.tech__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.tech__aside { max-width: 420px; font-size: 17px; line-height: 26px; color: var(--mute-2); padding-top: 12px; }
.tech__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; min-height: 250px; }
.tech__btn { display: flex; flex-direction: column; gap: 22px; width: 100%; text-align: left; color: inherit; }
.tech__bar { display: block; height: 2px; background: #262b33; overflow: hidden; }
.tech__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tech__step.is-done .tech__bar span { transform: scaleX(1); }
.tech__step.is-active .tech__bar span { transform: scaleX(1); transition: transform var(--step, 5000ms) linear; }
.tech__title { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.16; letter-spacing: -0.02em; color: #5b636e; transition: color 300ms ease; }
.tech__step.is-active .tech__title, .tech__btn:hover .tech__title { color: #fff; }
.tech__text { margin-top: 18px; font-size: 16px; line-height: 25px; color: var(--mute-3); opacity: 0; transform: translateY(8px); transition: opacity 400ms ease, transform 500ms var(--ease-out); }
.tech__step.is-active .tech__text { opacity: 1; transform: none; }
.no-js .tech__text, .tech:not([data-steps-ready]) .tech__text { opacity: 1; transform: none; }

/* Company: business list with cursor-follow preview */
.biz-list { border-bottom: 1px solid var(--dark); }
.biz { position: relative; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr) 220px auto; align-items: center; gap: 24px; min-height: 128px; border-top: 1px solid var(--dark); }
.biz__name { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 400; transition: color var(--dur-state) ease; }
.biz:hover .biz__name, .biz:focus-within .biz__name { color: var(--gold-ink); }
.biz .pill { justify-self: end; }
.biz:hover .pill { background: var(--dark); color: var(--gold); }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 220px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0); transition: opacity 200ms ease; }
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 200ms ease; }
.peek img.is-on { opacity: 1; }

/* Operating markets — Eleving-style moving orthographic 3D globe */
.markets { border-top: 1px solid var(--line); background: var(--off-white); overflow: hidden; }
.markets__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr) minmax(240px, 280px);
  gap: 0 24px;
  align-items: center;
  min-height: 580px;
}
.markets__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 32px;
  font-size: 16px; line-height: 1.5; color: var(--ink);
  align-self: start; padding-top: 24px;
}
.markets__copy p { max-width: 30ch; }
.markets__globe {
  position: relative; z-index: 1;
  width: min(100%, 620px); aspect-ratio: 1;
  justify-self: center;
}
.markets__canvas {
  display: block; width: 100%; height: 100%; cursor: default;
  -webkit-mask-image: radial-gradient(circle at center, #000 56%, rgba(0, 0, 0, 0.7) 78%, transparent 98%);
  mask-image: radial-gradient(circle at center, #000 56%, rgba(0, 0, 0, 0.7) 78%, transparent 98%);
}
.markets__overlay {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.mk-groups { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 26px; align-self: start; padding-top: 20px; }
.mk-key { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; font-family: var(--mono); font-size: 12px; line-height: 16px; }
.mk-sw { width: 11px; height: 11px; border: 1px solid var(--dark); flex: none; }
.mk-sw--live { background: #E1B828; }
.mk-sw--int { background: #EFD37A; border-color: #9C7F1B; }
.mk-sw--plan { background: #F8EDC9; border-color: #B59A3E; }
.mk-list { position: relative; border-bottom: 1px solid rgba(14, 17, 22, 0.14); }
.mk-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(14, 17, 22, 0.14);
  font-size: 18px; line-height: 24px; color: var(--ink);
  cursor: pointer;
  transition: color var(--dur-state) ease, border-color var(--dur-state) ease;
}
.mk-row svg { width: 22px; height: 15px; flex: none; box-shadow: 0 0 0 1px rgba(14, 17, 22, 0.14); border-radius: 1px; }
.mk-row span { transition: transform var(--dur-state) var(--ease-out); }
.mk-row.is-active { color: var(--dark); }
@media (hover: hover) and (pointer: fine) {
  .mk-row:hover { color: var(--dark); }
  .mk-row.is-active span, .mk-row:hover span { transform: translateX(4px); }
}
.mk-row.is-dim { color: var(--mute-2); }

/* Governance-style leadership */
.gov__row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding: 32px 0 48px; border-top: 1px solid var(--dark); }
.gov__label { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; }
.gov__people { display: flex; flex-wrap: wrap; gap: 16px; }
.gp { width: 240px; display: flex; flex-direction: column; gap: 4px; }
.gp__photo { width: 100%; aspect-ratio: 6 / 7; overflow: hidden; background: #e8eaed; margin-bottom: 8px; display: grid; place-items: center; }
.gp__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 400ms ease, transform 500ms var(--ease-out); }
.gp:hover .gp__photo img { filter: grayscale(0); }
@media (hover: hover) and (pointer: fine) { .gp:hover .gp__photo img { transform: scale(1.03); } }
.gp__photo--init span { font-size: 56px; letter-spacing: -0.03em; color: #9aa1aa; }
.gp__name { font-size: 16px; line-height: 22px; font-weight: 400; }

.legal-cells > * { gap: 32px; }
.legal-cells p { font-size: 20px; line-height: 28px; }

/* Contacts: office accordion */
.acc { border-bottom: 1px solid var(--dark); }
.acc__item { border-top: 1px solid var(--dark); }
.acc__sum { display: grid; grid-template-columns: 1fr auto 26px; align-items: center; gap: 16px; padding: 28px 0; cursor: pointer; list-style: none; }
.acc__sum::-webkit-details-marker { display: none; }
.acc__city { font-size: clamp(34px, 3.3vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 400; transition: color var(--dur-state) ease; }
.acc__sum:hover .acc__city { color: var(--mute); }
.acc__icon { position: relative; width: 20px; height: 20px; justify-self: end; }
.acc__body { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: end; padding: 0 0 40px; }
.acc__body > .pill { justify-self: start; }
.acc__info { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 26px; }
.office-map-link { position: relative; display: block; height: 300px; border-radius: 14px; overflow: hidden; }
.office-map { position: absolute; inset: 0; }
.office-map svg { width: 100%; height: 100%; display: block; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .office-map-link:hover .office-map svg { transform: scale(1.03); } }
.office-map__pin { position: absolute; left: 49%; top: 52%; background: var(--dark); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.office-map__open { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--dark); padding: 7px 14px; border-radius: 999px; font-size: 12px; }

/* Contacts: write to us, report a concern */
.write { border-top: 1px solid var(--line); }
.write__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 96px; align-items: start; }
.write__copy { display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 26px; }
.write__copy > p:last-child { max-width: 440px; }
.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 96px; padding: 96px var(--gutter); background: var(--mist); }
.report__lead { display: flex; flex-direction: column; gap: 20px; }
.report__body { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; font-size: 17px; line-height: 26px; padding-top: 12px; }

/* Invest page */
.debt { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 96px; padding: var(--section) var(--gutter); }
.debt__copy { display: flex; flex-direction: column; gap: 28px; }
.debt .form { align-self: start; }
.kv { width: min(100%, 480px); border-bottom: 1px solid var(--line); margin-top: 12px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.kv dt { color: var(--mute); }
.kv dd { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }

/* News coming soon */
.soon { min-height: max(760px, 100svh); }
.soon .hero__inner { justify-content: flex-end; padding-top: 150px; }
.notify { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 32px 36px; border-radius: 24px; }
.notify form { flex: 1; max-width: 560px; }
.notify .field-line { border-color: rgba(255, 255, 255, 0.7); padding-bottom: 14px; }
.notify .field-line input { font-size: 20px; }
.notify .field-line input::placeholder { color: rgba(255, 255, 255, 0.65); }
.meanwhile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; padding-left: clamp(0px, 8.3vw, 120px); }

/* News: market updates list */
.updates-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.updates-bar .chip { cursor: pointer; background: none; color: var(--dark); }
.updates-bar .chip.is-on { background: var(--dark); color: #fff; border-color: var(--dark); }
.updates-year { font-size: 18px; font-weight: 400; }
.update { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.update__title { font-size: 20px; line-height: 28px; }
.update[hidden] { display: none; }
.soon-tag { padding: 5px 12px; border: 1px solid #d7dbe0; border-radius: 999px; font-size: 12px; color: var(--mute); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; height: calc(68px + env(safe-area-inset-top)); }
  .nav__links, .nav__cta, .nav-drop { display: none; }
  .nav__menu { display: inline-flex; }
  .subnav { top: calc(80px + env(safe-area-inset-top)); }
  section[id], form[id] { scroll-margin-top: 136px; }
  .stats, .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 200px; }
  .invest-top { grid-template-columns: 1fr; gap: 40px; }
  .sphere { width: min(100%, 380px); }
  .invest-top__note { padding-bottom: 0; max-width: 560px; }
  .band-cards { grid-template-columns: 1fr; }
  .band-glass { min-height: 220px; }
  .debt { grid-template-columns: 1fr; gap: 56px; }
  .product { grid-template-columns: 1fr 1fr; }
  .product__aside { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .product__photo { width: 220px; flex: none; }
  .biz { grid-template-columns: 1fr auto; gap: 8px 24px; padding-block: 24px; }
  .biz__desc, .biz__market { grid-column: 1; }
  .biz .pill { grid-row: 1; grid-column: 2; }
  .overview { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .terms__main { border-right: 0; padding-right: 0; border-bottom: 1px solid #d7dbe0; padding-bottom: 32px; }
  .tech__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech { gap: 96px; min-height: 0; }
  .markets__stage { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .markets__copy, .mk-groups { padding-top: 0; }
  .markets__globe { width: min(100%, 460px); }
  .markets__overlay { display: none; }
  .gov__row { grid-template-columns: 1fr; gap: 20px; }
  .acc__body, .write__grid, .report { grid-template-columns: 1fr; gap: 32px; }
  .footer__dir { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__mid { grid-template-columns: 1fr; gap: 48px; }
  .footer__brand { justify-self: start; }
}
@media (max-width: 820px) {
  .cells { grid-auto-flow: row; }
  .cells > * { border-right: 0; border-bottom: 1px solid var(--dark); padding-inline: var(--gutter); }
  .cells > *:last-child { border-bottom: 0; }
  .overlap__grid { grid-template-columns: 1fr; }
  .overlap__photo { order: -1; min-height: 320px; margin-left: 0 !important; margin-bottom: -44px; }
  .notify { flex-direction: column; align-items: stretch; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .facts { padding-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 56px !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 20px !important; padding-block: 72px 56px !important; }
  .biz { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
  .biz__name { font-size: clamp(30px, 9vw, 40px); }
  .footer__dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pill { white-space: normal; text-align: center; }
  .hero--home { min-height: max(760px, 100svh); }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6, 6, 6, 0.52) 0%, rgba(6, 6, 6, 0.44) 44%, rgba(6, 6, 6, 0.62) 100%);
  }
  .hero__inner { padding-top: calc(108px + env(safe-area-inset-top)); gap: 36px; }
  .hero__title--stagger .ln:nth-child(2), .hero__tag--stagger { padding-left: 20px; }
  .overlap__word, .overlap__word .drift__word { white-space: normal; width: auto; max-width: 100%; }
  .drift { height: 186px; }
  .drift__photo { height: 108px; }
  .drift[data-dir="1"] .drift__photo { left: auto !important; right: 16px; }
  .drift[data-dir="-1"] .drift__photo { left: 16px !important; right: auto; }
  .drift__text { left: 16px !important; top: 54px; max-width: calc(100vw - 32px); white-space: normal; }
  .drift__word { font-size: clamp(25px, 6.8vw, 34px); }
  .drift__meta { justify-content: flex-start !important; flex-wrap: wrap; gap: 6px 10px; margin-top: 24px; padding-left: 0 !important; }
  .drift__for { font-size: 11px; }
  .drift__brand { padding: 5px 12px; font-size: 12px; }
  .stats, .stats--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { min-height: 150px; padding: 16px; gap: 20px; border-radius: 18px; }
  .stat__top { font-size: 12px; line-height: 16px; }
  .stat__value { font-size: clamp(24px, 7.6vw, 32px); }
  .stat__value--word { font-size: clamp(20px, 5.8vw, 24px); overflow-wrap: break-word; }
  .marquee__track { grid-auto-columns: 290px; }
  .mtile { min-height: 290px; padding: 22px 24px 28px; }
  .mtile__val { font-size: 48px; }
  .band-glass { padding: 24px; gap: 32px; border-radius: 18px; }
  .subnav { top: calc(74px + env(safe-area-inset-top)); max-width: calc(100vw - 20px); padding: 4px; gap: 2px; }
  .subnav a { padding: 7px 10px; font-size: 12px; line-height: 16px; }
  .tech__steps { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .tech__text { opacity: 1; transform: none; margin-top: 12px; }
  .tech__title { color: #fff; }
  .gp { width: calc(50% - 8px); }
  .update { grid-template-columns: 1fr; gap: 6px; }
  .office-map-link { height: 220px; }
  .acc__sum { grid-template-columns: 1fr 20px; }
  .acc__meta { grid-row: 2; }
  .product__aside { flex-direction: column; align-items: flex-start; }
  .product__photo { width: 100%; }
}

/* ---------- Reduced motion: keep meaning, drop travel ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; transition: opacity 400ms ease; }
  .js [data-lines] .ln > span { transform: none; transition: none; }
  .js [data-lines] { opacity: 0; transition: opacity 400ms ease; }
  .js [data-lines].is-in { opacity: 1; }
  .js .hero__media img { transform: none; transition: opacity 500ms ease; }
  .odo__strip, .drift__photo img, .product__photo img, .gp__photo img, .office-map svg { transition: none !important; }
  .dots i, .form__done-text { animation: none; }
  .form__tick circle, .form__tick path { animation: none; stroke-dashoffset: 0; }
  [data-drift] { transform: none !important; }
  .drawer { clip-path: none; opacity: 0; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .drawer[data-open="true"] { clip-path: none; opacity: 1; transition: opacity 200ms ease, visibility 0s; }
  .marquee { overflow-x: auto; cursor: auto; }
  .tech__step.is-active .tech__bar span { transition: none; }
  .tech__text { transition: none; }
  ::view-transition-old(root) { animation: 160ms ease both vt-out; }
  ::view-transition-new(root) { animation: 200ms ease both fade-in; }
}
