/* Frontier Financial Services — site styles
   Visual language: Eleving-led (large light type, frosted glass, photo/type overlap),
   FFS brand colours (ink, white, Frontier gold), Geologica + IBM Plex Mono. */

:root {
  --ink: #0e1116;
  --ink-2: #1a1d22;
  --white: #ffffff;
  --mute: #58606b;
  --mute-2: #a7aeb8;
  --mute-3: #d5d9de;
  --line: #e3e6ea;
  --line-dark: #2a2f37;
  --mist: #f2f3f5;
  --gold: #e1b828;
  --red: #ab0000;

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

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

  --t-hero: clamp(64px, 12.2vw, 176px);
  --t-display: clamp(44px, 7.8vw, 112px);
  --t-h1: clamp(42px, 6.1vw, 88px);
  --t-h2: clamp(34px, 4.4vw, 64px);
  --t-h3: clamp(28px, 3.05vw, 44px);
  --t-lead: clamp(18px, 1.5vw, 22px);

  /* Motion: confident deceleration for arrivals, faster exits (Emil / impeccable guidance) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-press: 120ms;
  --dur-state: 220ms;
  --dur-enter: 700ms;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
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; }
: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(--ink); 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: 18px; line-height: 24px; font-weight: 300; }
.mono { font-family: var(--mono); font-size: 13px; line-height: 18px; font-weight: 400; }
.muted { color: var(--mute); }
.todo { color: var(--red); }
.gold { color: var(--gold); }
.on-dark { color: var(--white); }

.h-hero { font-size: var(--t-hero); line-height: 0.93; letter-spacing: -0.045em; font-weight: 300; }
.h-display { font-size: var(--t-display); line-height: 1; letter-spacing: -0.045em; font-weight: 300; }
.h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.045em; font-weight: 300; }
.h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.04em; font-weight: 300; }
.h3 { font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.035em; font-weight: 300; }
.lead { font-size: var(--t-lead); line-height: 1.5; font-weight: 300; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 11px 24px;
  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) ease;
}
.pill:active { transform: scale(0.97); }
.pill .arr { display: inline-block; transition: transform var(--dur-state) var(--ease-out); }
.pill:hover .arr { transform: translateX(3px); }
.pill:hover .arr--ne { transform: translate(2px, -2px); }
.pill--ink { color: var(--ink); }
.pill--ink:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill--light { color: var(--white); }
.pill--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.pill--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.pill--gold:hover { background: #ecc744; border-color: #ecc744; }
.pill--solid { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.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; }
.textlink:hover { color: var(--gold); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 420ms var(--ease-out), background-color var(--dur-state) ease, border-color var(--dur-state) ease;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 17, 22, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; transition: opacity var(--dur-state) ease;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-solid { border-color: transparent; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 39px; width: auto; }
.nav__links { display: flex; gap: clamp(24px, 3vw, 44px); }
.nav__links a, .nav__cta { position: relative; font-size: 16px; line-height: 22px; font-weight: 300; padding-block: 6px; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--gold); }
.nav__cta { font-weight: 400; }
.nav__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.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; z-index: 49; background: var(--ink); color: var(--white);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 520ms var(--ease-in-out), visibility 0s linear 520ms;
}
.drawer[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 560ms var(--ease-in-out), 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.04em; display: block; overflow: hidden; }
.drawer__links a span { display: block; transform: translateY(105%); transition: transform 600ms var(--ease-out); }
.drawer[data-open="true"] .drawer__links a span { transform: none; }
.drawer[data-open="true"] .drawer__links a:nth-child(2) span { transition-delay: 40ms; }
.drawer[data-open="true"] .drawer__links a:nth-child(3) span { transition-delay: 80ms; }
.drawer[data-open="true"] .drawer__links a:nth-child(4) span { transition-delay: 120ms; }
.drawer[data-open="true"] .drawer__links a:nth-child(5) span { transition-delay: 160ms; }
.drawer__links a[aria-current="page"] { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(720px, 100svh); overflow: hidden; color: var(--white);
  background: var(--ink-2); isolation: isolate;
}
.hero--short { min-height: max(600px, 78svh); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.8) 0%, rgba(10, 12, 16, 0.45) 40%, rgba(10, 12, 16, 0) 66%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.5) 0%, rgba(10, 12, 16, 0) 22%, rgba(10, 12, 16, 0) 62%, rgba(10, 12, 16, 0.6) 100%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: inherit; padding: 180px var(--gutter) 56px; }
.hero__title { max-width: 14ch; }
.hero__tag { margin-top: 28px; padding-left: clamp(0px, 8.3vw, 120px); color: var(--gold); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.24; font-weight: 400; letter-spacing: -0.01em; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-left: clamp(0px, 8.3vw, 120px); }

/* Glass cards */
.glass {
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
}
.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: 200px; padding: 22px 24px; }
.stat__top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 20px; }
.stat__value { font-size: clamp(48px, 4.45vw, 64px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
a.stat { transition: background-color var(--dur-state) ease, transform var(--dur-press) ease; }
a.stat:hover { background: rgba(255, 255, 255, 0.2); }
a.stat:active { transform: scale(0.985); }
.stat__value--word { font-size: clamp(34px, 3vw, 44px); line-height: 1.1; white-space: normal; }

/* Odometer */
.odo { display: inline-flex; overflow: hidden; vertical-align: top; }
.odo__digit { position: relative; display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo__size { display: block; visibility: hidden; line-height: 1; }
.odo__strip { position: absolute; top: 0; left: -0.2em; right: -0.2em; display: flex; flex-direction: column; align-items: center; transition: transform 1400ms var(--ease-out); }
.odo__strip span { height: 1em; line-height: 1; }
.odo__char { display: inline-block; line-height: 1; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); 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: 360px; padding-bottom: 10px; }

/* Bordered cell rows (Eleving number cells) */
.cells { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-block: 1px solid var(--ink); }
.cells > * { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 28px 32px 40px; border-right: 1px solid var(--ink); }
.cells > *:first-child { padding-left: var(--gutter); }
.cells > *:last-child { border-right: 0; padding-right: var(--gutter); }
.cells .is-ink { background: var(--ink); 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(56px, 6.1vw, 88px); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; }

/* ---------- Drift rows (our financing) ---------- */
.drift-list { padding-block: var(--section) clamp(64px, 6.6vw, 96px); overflow: hidden; }
.drift { position: relative; height: clamp(150px, 16vw, 230px); }
.drift__photo { position: absolute; top: 0; height: clamp(120px, 13.9vw, 200px); aspect-ratio: 3 / 2; overflow: hidden; will-change: transform; }
.drift__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1200ms var(--ease-out); }
.drift.is-in .drift__photo img { transform: scale(1); }
.drift__text { position: absolute; top: clamp(30px, 3vw, 44px); white-space: nowrap; will-change: transform; }
.drift__word { display: block; font-size: var(--t-display); line-height: 1; letter-spacing: -0.045em; }
.drift__word--gold { position: absolute; inset: 0; color: var(--gold); pointer-events: none; clip-path: inset(0 100% 0 0); }
.drift__meta { display: block; margin-top: 14px; padding-left: 6px; color: var(--mute); }
.drift__meta a { transition: color var(--dur-state) ease; }
.drift__meta a:hover { color: var(--ink); }
.drift-foot { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding-top: 48px; }
.drift-foot p { max-width: 520px; font-size: 17px; line-height: 26px; }

/* ---------- Invest band ---------- */
.invest-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px) 270px; gap: 32px; align-items: start; padding: 28px var(--gutter) 56px; border-top: 1px solid var(--ink); }
.invest-top__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; padding-top: 40px; }
.invest-top__copy .h1 { white-space: nowrap; font-size: clamp(42px, 5.6vw, 88px); }
/* Let long lines run over the halftone instead of being cut by the line mask. */
.invest-top__copy .h1 .ln, .js .invest-top__copy [data-lines] .ln { overflow: visible; clip-path: inset(0 -100vw 0 0); }
.invest-top__note { align-self: end; font-size: 16px; line-height: 24px; padding-bottom: 72px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: 14px; line-height: 18px; }
.halftone { width: 100%; aspect-ratio: 1; }
.halftone svg { width: 100%; height: 100%; overflow: visible; }
.halftone .ht { transform-box: fill-box; transform-origin: center; }

/* ---------- Full-bleed partner band ---------- */
.band { position: relative; min-height: 830px; overflow: hidden; color: var(--white); background: var(--ink-2); isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 72px var(--gutter) 56px; gap: 64px; }
.band__media { position: absolute; inset: -12% 0 -12% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 16, 0.55) 0%, rgba(10, 12, 16, 0.18) 45%, rgba(10, 12, 16, 0.6) 100%); }
.band-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 32px 36px; border-radius: 16px; }
.band-card__copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.band-card__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }

/* ---------- Overlap feature (company / equity / markets) ---------- */
.overlap { position: relative; padding: 40px var(--gutter) 96px; overflow: hidden; }
.overlap__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 0; align-items: stretch; margin-top: 56px; }
.overlap__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 40px; }
.overlap__photo { position: relative; z-index: 1; min-height: clamp(360px, 39vw, 560px); overflow: hidden; border-radius: 2px; }
.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: 440px; font-size: 16px; line-height: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: 72px var(--gutter) 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.footer__cols { display: flex; gap: clamp(40px, 6.6vw, 96px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { font-size: 22px; line-height: 28px; font-weight: 300; }
.footer__col a { color: var(--mute-2); font-size: 15px; line-height: 22px; transition: color var(--dur-state) ease; }
.footer__col a:hover { color: var(--white); }
.footer__col a.footer__big { color: var(--white); font-size: 22px; line-height: 28px; }
.footer__news { display: flex; flex-direction: column; gap: 16px; width: min(100%, 360px); }
.footer__news h2 { font-size: 22px; line-height: 28px; font-weight: 300; }
.field-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #5b636e; padding-bottom: 12px; }
.field-line input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; font-weight: 300; color: var(--white); }
.field-line input::placeholder { color: #7d8591; }
.footer__legal { display: flex; justify-content: space-between; gap: 48px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 20px; color: #7d8591; }
.footer__legal-main { max-width: 1000px; display: flex; flex-direction: column; gap: 16px; }
.footer__entities { color: var(--mute-3); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal-links a:hover { color: var(--white); }
.footer__copy { white-space: nowrap; }

/* ---------- 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(--ink); }
.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: 16px; background: var(--mist); }
.form h2 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 300; }
.field { display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--ink); 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: #9aa1aa; }
.field:focus-within { border-color: var(--gold); }
.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(--ink); 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) ease; }
.choice__opts label:active { transform: scale(0.97); }
.choice__opts input:checked + label { background: var(--ink); 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; }

/* Field focus: a gold line draws across, left to right */
.field { position: relative; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within { border-color: var(--ink); }
.field-line { position: relative; }
.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 380ms var(--ease-out); }
.field-line:focus-within::after { transform: scaleX(1); }

/* Sending: three dots pulse in sequence */
.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: fields fold away, a tick draws itself, the message rises */
.form__done { display: none; 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 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; animation: rise 600ms var(--ease-out) 200ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Shared link motion: underline slides in from the left */
.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 320ms var(--ease-out), color var(--dur-state) ease; }
.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(24px); 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.06em; margin-bottom: -0.06em; }
.js [data-lines] .ln > span { display: block; transform: translateY(105%); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js [data-lines].is-in .ln > span { transform: none; }
.js .hero__media img { transform: scale(1.08); opacity: 0; transition: transform 2200ms var(--ease-out), opacity 900ms ease; }
.js .is-loaded .hero__media img { transform: scale(1); opacity: 1; }
.js [data-clip] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease-in-out), transform 80ms linear; transition-delay: var(--d, 0ms); }
.js [data-clip].is-in > img { clip-path: inset(0 0 0 0); }

/* Page transitions (cross-document view transitions where supported) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 220ms var(--ease-in-out) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Page-specific ---------- */
/* Financing */
.segment { padding: var(--section) var(--gutter) clamp(72px, 6.6vw, 96px); }
.segment--mist { background: var(--mist); }
.product { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr) 300px; gap: 48px; padding-block: 32px; border-top: 1px solid var(--ink); }
.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; }
.product__aside { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.product__photo { width: 100%; aspect-ratio: 5 / 3; border-radius: 10px; overflow: hidden; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.product:hover .product__photo img { transform: scale(1.04); }

/* Company: business list with cursor-follow preview */
.biz-list { border-bottom: 1px solid var(--ink); }
.biz { position: relative; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr) 220px auto; align-items: center; gap: 24px; min-height: 132px; border-top: 1px solid var(--ink); }
.biz__name { font-size: clamp(40px, 4.45vw, 64px); line-height: 1.06; letter-spacing: -0.04em; transition: color var(--dur-state) ease; }
.biz:hover .biz__name, .biz:focus-within .biz__name { color: var(--gold); }
.biz .pill { justify-self: end; }
.biz:hover .pill { background: var(--ink); color: var(--white); }
.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; }

.status { width: min(100%, 440px); border-bottom: 1px solid var(--line); }
.status div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.status div:first-child { border-top-color: var(--ink); }
.status dt { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; }
.status dd { font-size: 15px; line-height: 20px; font-weight: 400; }
.status .s { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.status .s--gold { background: var(--gold); }
.status .s--open { background: none; border: 1px solid var(--ink); }
.status .is-planned { color: var(--mute); font-weight: 300; }

.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; gap: 14px; }
.person__photo { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #dde0e4; display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.03); }
.person__initials { font-size: 64px; letter-spacing: -0.04em; color: #9aa1aa; }
.person h3 { font-size: 22px; line-height: 28px; font-weight: 300; }

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

/* Contacts */
.offices { border-bottom: 1px solid var(--ink); }
.office { display: flex; flex-direction: column; gap: 10px; padding-block: 28px; border-top: 1px solid var(--line); }
.office:first-child { border-top-color: var(--ink); }
.office__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.office__city { font-size: clamp(36px, 3.3vw, 48px); line-height: 1.08; letter-spacing: -0.04em; }

/* 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; }

/* 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: 16px; }
.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); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  .stats, .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invest-top { grid-template-columns: 1fr; }
  .invest-top .halftone { width: min(100%, 520px); justify-self: center; }
  .invest-top__note { padding-bottom: 0; max-width: 520px; }
  .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; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .cells { grid-auto-flow: row; }
  .cells > * { border-right: 0; border-bottom: 1px solid var(--ink); padding-inline: var(--gutter); }
  .cells > *:last-child { border-bottom: 0; }
  .overlap__grid { grid-template-columns: 1fr; }
  .overlap__photo { order: -1; min-height: 320px; margin-bottom: -60px; }
  .band-card, .notify { flex-direction: column; align-items: stretch; }
  .band-card__actions { align-items: flex-start; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .facts { padding-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
  .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); }
}
@media (max-width: 560px) {
  .drift { height: 190px; }
  .drift__photo { height: 104px; }
  .drift__text { top: 70px; }
  .drift__meta { padding-left: 4px !important; font-size: 12px; }
  .stats, .stats--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { min-height: 150px; padding: 16px; gap: 24px; }
  .stat__top { font-size: 13px; line-height: 18px; }
  .stat__value { font-size: 40px; }
  .stat__value--word { font-size: 26px; }
  .hero__inner { padding-top: 132px; gap: 40px; }
  .people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person h3 { font-size: 18px; line-height: 24px; }
  .product__aside { flex-direction: column; align-items: flex-start; }
  .product__photo { width: 100%; }
  .status div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- 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 600ms ease; }
  .js [data-clip] > img { clip-path: none; transition: none; }
  .odo__strip, .drift__photo img, .product__photo img, .person__photo img { 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, .drawer__links a span { transition-duration: 0ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* =========================================================
   Interior polish (Eleving interior patterns)
   ========================================================= */

/* Sub-navigation pills under the main nav; follows the nav when it hides */
.subnav {
  position: fixed; top: 96px; left: 50%; z-index: 48; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 999px; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none;
  background: rgba(14, 17, 22, 0.72); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: top 420ms var(--ease-out), opacity var(--dur-state) ease;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav.is-lifted { top: 12px; }
.subnav a { flex: none; padding: 8px 18px; border-radius: 999px; color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 18px; white-space: nowrap; transition: background-color var(--dur-state) ease, color var(--dur-state) ease; }
.subnav a:hover { color: #fff; }
.subnav a.is-current { background: rgba(255, 255, 255, 0.94); color: var(--ink); font-weight: 400; }
.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: 14px; 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(64px, 6.7vw, 96px); line-height: 1.04; letter-spacing: -0.05em; margin-top: 6px; }
.ov-col__copy { font-size: 16px; line-height: 24px; min-height: 96px; }
.ov-rows { border-bottom: 1px solid var(--ink); }
.ov-rows li { border-top: 1px solid var(--ink); }
.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 420ms var(--ease-out) both; }
.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; 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; }
a.brand-pill:hover { background: var(--ink); color: #fff; }

/* Terms card with tabs (bonds pattern) */
.tabs__list { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs__tab { flex: 1; 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: 300; color: #9aa1aa; transition: color var(--dur-state) ease, border-color 300ms var(--ease-out); }
.tabs__tab[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.tabs__tab:hover { color: var(--ink); }
.terms { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; padding: 36px 40px; border-radius: 14px; background: var(--mist); }
.terms[hidden] { display: none; }
.js .terms:not([hidden]) { animation: rise 420ms var(--ease-out) both; }
.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); font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.terms__big { font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.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(14, 17, 22, 0.35); border: 1px solid var(--line); }
.docs li a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.docs li a:hover { background: var(--mist); }

/* Tech-style steps (how we work) */
.tech { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 160px; min-height: 860px; padding: 96px var(--gutter) 112px; background: var(--ink) 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: #2a2f37; 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(26px, 2.5vw, 36px); line-height: 1.17; letter-spacing: -0.025em; 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; }

/* Markets map */
.markets { border-top: 1px solid var(--line); }
.markets__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr) 300px; gap: 32px; align-items: center; }
.markets__copy { display: flex; flex-direction: column; gap: 40px; font-size: 17px; line-height: 26px; }
.markets__map { position: relative; margin: 0; }
.markets__map img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 88%, transparent 100%); }
.markets__list { display: flex; flex-direction: column; gap: 28px; }
.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: 12px; height: 12px; border: 1px solid var(--ink); }
.mk-sw--live { background: #E1B828; }
.mk-sw--int { background: #EFD37A; border-color: #9C7F1B; }
.mk-sw--plan { background: #F8EDC9; border-color: #B59A3E; }
.mk-group ul { border-bottom: 1px solid #d7dbe0; }
.mk-group li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #d7dbe0; font-size: 20px; line-height: 26px; }
.mk-group svg { width: 24px; height: 16px; flex: none; box-shadow: 0 0 0 1px #d7dbe0; }

/* 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(--ink); }
.gov__label { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -0.025em; }
.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 500ms ease, transform 900ms var(--ease-out); }
.gp:hover .gp__photo img { filter: grayscale(0); transform: scale(1.03); }
.gp__photo--init span { font-size: 56px; letter-spacing: -0.04em; color: #9aa1aa; }
.gp__name { font-size: 16px; line-height: 22px; font-weight: 400; }

/* Contacts: office accordion */
.acc { border-bottom: 1px solid var(--ink); }
.acc__item { border-top: 1px solid var(--ink); }
.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(36px, 3.3vw, 48px); line-height: 1.08; letter-spacing: -0.04em; transition: color var(--dur-state) ease; }
.acc__sum:hover .acc__city { color: #58606b; }
.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: 12px; overflow: hidden; }
.office-map { position: absolute; inset: 0; }
.office-map svg { width: 100%; height: 100%; display: block; transition: transform 900ms var(--ease-out); }
.office-map-link:hover .office-map svg { transform: scale(1.03); }
.office-map__pin { position: absolute; left: 49%; top: 52%; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.office-map__open { position: absolute; left: 16px; top: 16px; background: #fff; 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; }

/* 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(--ink); transition: background-color var(--dur-state) ease, color var(--dur-state) ease, transform var(--dur-press) ease; }
.updates-bar .chip:active { transform: scale(0.97); }
.updates-bar .chip.is-on { background: var(--ink); color: #fff; }
.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); }

@media (max-width: 1100px) {
  .subnav { top: 92px; }
  .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__grid { grid-template-columns: 1fr; }
  .gov__row { grid-template-columns: 1fr; gap: 20px; }
  .acc__body, .write__grid, .report { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .subnav { top: 88px; }
  .subnav a { padding: 7px 14px; font-size: 13px; }
  .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; }
}
@media (prefers-reduced-motion: reduce) {
  .tech__step.is-active .tech__bar span { transition: none; }
  .tech__text, .gp__photo img, .office-map svg { transition: none; }
}

/* Language switch */
.nav__end { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.nav__lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 12px; line-height: 16px; }
.nav__lang a { padding: 5px 7px; border-radius: 999px; color: rgba(255, 255, 255, 0.6); transition: color var(--dur-state) ease, background-color var(--dur-state) ease; }
.nav__lang a:hover { color: #fff; }
.nav__lang a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, 0.92); }
