/* =========================================================
   Global Digital Assets Foundation — Design System
   Direction: Sovereign / institutional. Ink-navy authority,
   restrained brass accent, warm paper light theme.
   ========================================================= */

:root {
  /* Light theme (default) */
  --paper:        #FBFBF9;
  --surface:      #FFFFFF;
  --surface-2:    #F4F5F2;
  --ink:          #0A1A2F;
  --ink-soft:     #4A5A70;
  --ink-faint:    #8A97A8;
  --line:         #E4E7EC;
  --line-strong:  #D2D7DE;
  --brass:        #9A7322;
  --brass-bright: #B68C31;
  --map-land:     #E7E9E4;
  --map-line:     #D7DAD2;
  --node:         #B68C31;
  --node-glow:    rgba(182,140,49,.45);
  --invert-bg:    #0A1A2F;
  --invert-ink:   #F1F4F8;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;
  --t-fast: .18s ease;
  --t: .32s cubic-bezier(.4,0,.15,1);
  --shadow: 0 1px 2px rgba(10,26,47,.04), 0 12px 32px -16px rgba(10,26,47,.14);
  --shadow-lift: 0 2px 4px rgba(10,26,47,.06), 0 24px 56px -24px rgba(10,26,47,.22);
}

[data-theme="dark"] {
  --paper:        #08111F;
  --surface:      #0E1B2E;
  --surface-2:    #0B1626;
  --ink:          #EAF0F8;
  --ink-soft:     #9BACC4;
  --ink-faint:    #62748E;
  --line:         #1C2E47;
  --line-strong:  #294063;
  --brass:        #C9A24B;
  --brass-bright: #DCB861;
  --map-land:     #142640;
  --map-line:     #1D3556;
  --node:         #DCB861;
  --node-glow:    rgba(220,184,97,.5);
  --invert-bg:    #03070D;
  --invert-ink:   #F1F4F8;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 38px -18px rgba(0,0,0,.6);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.5), 0 28px 60px -24px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--t), color var(--t);
  overflow-x: hidden;
  max-width: 100%;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

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

::selection { background: var(--brass); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 88px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Eyebrow / labels */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--brass); opacity: .8;
}

h1,h2,h3,h4 { font-weight: 700; line-height: 1.1; letter-spacing: -.018em; margin: 0; color: var(--ink); }
.h-display { font-weight: 800; letter-spacing: -.032em; line-height: 1.03; }
.section-title { font-size: clamp(28px, 4vw, 42px); max-width: 16ch; }
.lede { color: var(--ink-soft); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; max-width: 56ch; font-weight: 400; }
.muted { color: var(--ink-soft); }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--radius); cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--brass { --bg: var(--brass); --fg: #fff; --bd: var(--brass); }
[data-theme="dark"] .btn--brass { --fg: #0A1A2F; }
.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--invert { --bg: #fff; --fg: var(--ink); --bd: #fff; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

[data-theme="dark"] .btn {
  --fg: #0A1A2F;
}

[data-theme="dark"] .btn--invert {
  --fg: #0A1A2F;
}

[data-theme="dark"] .btn--ghost {
  --fg: rgba(255, 255, 255, 0.92);
  --bd: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .btn--ghost:hover {
  --fg: #fff;
  --bd: #fff;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand .emblem { width: 34px; height: 34px; flex: none; }
.emblem-img { object-fit: contain; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand .brand-name { font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .brand-sub { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); position: relative; transition: color var(--t-fast); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background: var(--brass); transform: scaleX(0); transform-origin:left; transition: transform var(--t-fast); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-tools { display: flex; align-items: center; gap: 10px; }

/* language + theme controls */
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  border-radius: var(--radius); cursor: pointer; transition: var(--t-fast); font-family: inherit;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }

.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: var(--t-fast);
}
.lang-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.lang-toggle svg { width: 15px; height: 15px; opacity: .7; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: var(--t-fast); z-index: 70;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; background: transparent; border: 0; border-radius: var(--radius); cursor: pointer;
  font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-align: left;
}
.lang-menu button:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu button[aria-current="true"] { color: var(--ink); }
.lang-menu button[aria-current="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.lang-menu .native { color: var(--ink-faint); font-size: 12px; }

.menu-btn { display: none; }

/* mobile nav */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-120%); transition: transform var(--t); box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a::after { display: none; }
  .menu-btn { display: inline-grid; }
  .nav .btn-nav-cta { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: clip; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero-map {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
  opacity: .9;
}
.hero-map svg { width: 130%; height: 100%; position: absolute; right: -8%; top: 0; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { font-size: clamp(38px, 7vw, 80px); margin: 16px 0 0; }
.hero h1 .accent { color: var(--brass); }
.hero-lede { margin-top: 26px; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); position: relative; z-index: 2;
}
.hero-stats .stat { padding: 26px 24px 0; border-left: 1px solid var(--line); }
.hero-stats .stat:first-child { border-left: 0; padding-left: 0; }
.hero-stats .stat .num { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-stats .stat .num .brass { color: var(--brass); }
.hero-stats .stat .lbl { margin-top: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero-stats .stat { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .hero-stats .stat:nth-child(2) { padding-left: 24px; border-left: 1px solid var(--line); }
  .hero-stats .stat:nth-child(4) { padding-left: 24px; border-left: 1px solid var(--line); }
  .hero-stats .stat:first-child, .hero-stats .stat:nth-child(3) { padding-left: 0; }
}

/* =========================================================
   World map (shared component)
   ========================================================= */
.worldmap { width: 100%; height: auto; display: block; color: var(--ink); }
.worldmap .graticule { fill: none; stroke: var(--map-line); stroke-width: .5; opacity: .5; }
.worldmap .land { fill: var(--map-land); stroke: var(--map-line); stroke-width: .6; }
.worldmap .arc { fill: none; stroke: var(--brass); stroke-width: 1.1; opacity: .55;
  stroke-dasharray: 4 5; animation: dash 22s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.worldmap .node-ring { fill: none; stroke: var(--node); stroke-width: 1.2; opacity: .5; transform-origin: center; }
.worldmap .node-core { fill: var(--node); }
.worldmap .node-pulse { fill: var(--node); transform-box: fill-box; transform-origin: center; animation: pulse 3.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(4.5); opacity: 0; } }
.worldmap .node-label { font-size: 11px; font-weight: 600; fill: var(--ink); letter-spacing: .02em; }
.worldmap .node-tick { stroke: var(--node); stroke-width: 1; opacity: .6; }

.influence-map { position: relative; }
.influence-map .map-caption {
  position: absolute; left: 0; bottom: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}

/* =========================================================
   Mission pillars
   ========================================================= */
.mission-lede { max-width: 60ch; }
.pillars { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--surface); padding: 32px 28px 36px; transition: background var(--t-fast); position: relative; }
.pillar:hover { background: var(--surface-2); }
.pillar .p-ico { width: 40px; height: 40px; color: var(--brass); margin-bottom: 22px; }
.pillar .p-ico svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.pillar .p-index { position: absolute; top: 24px; right: 26px; font-size: 12px; font-weight: 700; color: var(--ink-faint); letter-spacing: .05em; }
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* =========================================================
   Governance chart
   ========================================================= */
.gov-chart { margin-top: clamp(40px, 6vw, 60px); display: flex; flex-direction: column; align-items: center; gap: 0; }
.gov-tier {
  width: 100%; max-width: 720px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 28px; display: flex; align-items: center; gap: 20px;
  box-shadow: var(--shadow); position: relative; transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gov-tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gov-tier .gov-mark { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass); font-weight: 700; font-size: 14px; }
.gov-tier .gov-body h3 { font-size: 17px; }
.gov-tier .gov-body p { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 0; }
.gov-connector { width: 1px; height: 34px; background: var(--line-strong); position: relative; }
.gov-connector::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.gov-tier[data-level="1"] { max-width: 620px; }
.gov-tier[data-level="4"] { max-width: 820px; }

/* =========================================================
   Logo registry (Partners / Media)
   ========================================================= */
.registry { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.registry.cols-4 { grid-template-columns: repeat(4, 1fr); }
.registry.cols-7 { grid-template-columns: repeat(4, 1fr); }
.reg-cell {
  background: var(--surface); padding: 30px 24px; min-height: 132px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px;
  transition: background var(--t-fast), transform var(--t-fast); position: relative; cursor: pointer;
}
.reg-cell:hover { background: var(--surface-2); }
.reg-cell--more { justify-content: center; }
.reg-logo { display: flex; align-items: center; gap: 12px; min-height: 34px; color: var(--ink-soft); transition: color var(--t-fast); filter: grayscale(1); opacity: .82; }
.reg-cell:hover .reg-logo { color: var(--ink); filter: grayscale(0); opacity: 1; }
.reg-icon {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 12%, transparent);
}
.reg-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* Ecosystem logos: keep source PNG colours, make square uploads render as circles, and enlarge marks. */
.ecosystem-registry .reg-logo { min-height: 56px; gap: 16px; filter: none; opacity: 1; color: var(--ink); }
.ecosystem-registry .reg-cell:hover .reg-logo { filter: none; opacity: 1; color: var(--ink); }
.ecosystem-registry .reg-icon {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  background: transparent; box-shadow: none;
}
.ecosystem-registry .reg-icon img {
  width: 100%; height: 100%; padding: 0; display: block;
  object-fit: cover; border-radius: 50%;
}

.reg-wordmark { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: currentColor; }
.reg-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.reg-cell:hover .reg-tag { color: var(--brass); }
.media-note { margin-top: 22px; font-size: 14.5px; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 860px) { .registry.cols-4, .registry.cols-7 { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Research cards
   ========================================================= */
.research-grid { margin-top: clamp(40px, 6vw, 56px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.r-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 220px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast); cursor: pointer;
}
.r-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.r-meta { display: flex; align-items: center; justify-content: space-between; }
.r-cat { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.r-date { font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.r-card h3 { font-size: 22px; line-height: 1.18; margin-top: 4px; }
.r-card p { font-size: 14px; color: var(--ink-soft); margin: 0; flex: 1; }
.r-link { font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.r-link .arrow { transition: transform var(--t-fast); }
.r-card:hover .r-link .arrow { transform: translateX(4px); }
@media (max-width: 680px) { .research-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Advisory board
   ========================================================= */
.board-grid { margin-top: clamp(40px, 6vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advisor { }
.advisor .portrait {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #1a2535, #0b1422); display: grid; place-items: center;
  border: 1px solid var(--line);
}
[data-theme="dark"] .advisor .portrait { background: linear-gradient(160deg, #16273f, #0a1422); }
.advisor .portrait .mono-initials {
  font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: rgba(255,255,255,.12); letter-spacing: -.02em;
  filter: grayscale(1); position: relative; z-index: 0;
}
.advisor .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.advisor .portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.advisor .portrait::after { content:""; position:absolute; inset:0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(8,17,31,.55)); pointer-events: none; }
.advisor .a-name { margin-top: 18px; font-size: 17px; font-weight: 700; }
.advisor .a-role { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.advisor .a-prev { font-size: 12px; color: var(--ink-faint); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); letter-spacing: .01em; }
@media (max-width: 860px) { .board-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 460px) { .board-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Final CTA (inverted band)
   ========================================================= */
.cta-band { background: var(--invert-bg); color: var(--invert-ink); position: relative; overflow: clip; }
.cta-band .eyebrow { color: var(--brass-bright); }
.cta-band .cta-grat { position: absolute; inset: 0; opacity: .14; pointer-events: none; }
.cta-band .cta-grat svg { width: 100%; height: 100%; }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-inner h2 { color: var(--invert-ink); font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.cta-inner p { color: rgba(241,244,248,.7); font-size: 18px; margin: 22px auto 0; max-width: 50ch; }
.cta-inner .btn-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .emblem { width: 38px; height: 38px; margin-bottom: 18px; }
.footer-brand .f-name { font-weight: 800; font-size: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 0; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 6px 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom .copy { font-size: 12.5px; color: var(--ink-faint); }
.footer-bottom .disclaimer { font-size: 11.5px; color: var(--ink-faint); max-width: 62ch; line-height: 1.5; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }


/* Mobile overflow hardening */
@media (max-width: 560px) {
  .wrap { padding-inline: clamp(16px, 5vw, 22px); }
  .nav { gap: 10px; }
  .nav-tools { gap: 6px; flex: none; }
  .brand { gap: 10px; }
  .brand .emblem { width: 30px; height: 30px; }
  .brand .brand-name { max-width: 158px; font-size: 13px; }
  .brand .brand-sub { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .lang-toggle { height: 36px; padding: 0 9px; }
  .hero-map svg { width: 115%; right: -14%; }
  .registry.cols-4, .registry.cols-7 { grid-template-columns: 1fr; }
  .reg-cell { min-height: 116px; padding: 24px 20px; }
  .reg-wordmark { font-size: 18px; overflow-wrap: anywhere; }
  .footer-bottom { align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand .brand-name { max-width: 122px; }
  .nav { gap: 8px; }
  .lang-toggle { padding: 0 8px; }
}

/* =========================================================
   Subpages (legal / content)
   ========================================================= */
.page-hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 6vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.page-hero .lede { margin-top: 20px; }
.legal { padding-block: clamp(48px, 7vw, 80px); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 22px; margin-top: 44px; margin-bottom: 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; margin-top: 26px; margin-bottom: 10px; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal-body ul { padding-left: 20px; margin: 12px 0; }
.legal-body li { margin-bottom: 8px; }
.legal-body .updated { font-size: 13px; color: var(--ink-faint); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-toc { position: sticky; top: 96px; font-size: 13.5px; }
.legal-toc h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--ink-soft); transition: color var(--t-fast); }
.legal-toc a:hover { color: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .legal-layout { grid-template-columns: 1fr; gap: 0; } .legal-toc { display: none; } }

/* team page leadership */
.lead-grid { margin-top: clamp(36px,5vw,52px); display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 760px){ .lead-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 460px){ .lead-grid{ grid-template-columns:1fr; } }

.values-grid { margin-top: clamp(36px,5vw,52px); display:grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border:1px solid var(--line); }
.value { background: var(--surface); padding: 30px 28px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--ink-soft); margin:0; }
@media (max-width:620px){ .values-grid{ grid-template-columns:1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Non-Latin script tuning ---------- */
html[lang="zh"] .eyebrow, html[lang="ja"] .eyebrow, html[lang="hi"] .eyebrow { letter-spacing: .08em; }
html[lang="zh"] .reg-tag, html[lang="ja"] .reg-tag, html[lang="hi"] .reg-tag,
html[lang="zh"] .brand-sub, html[lang="ja"] .brand-sub, html[lang="hi"] .brand-sub { letter-spacing: .1em; }
html[lang="zh"] .hero h1, html[lang="ja"] .hero h1 { letter-spacing: -.01em; line-height: 1.15; }
html[lang="zh"] .h-display, html[lang="ja"] .h-display { letter-spacing: -.01em; }
html[lang="zh"] .footer-col h4, html[lang="ja"] .footer-col h4, html[lang="hi"] .footer-col h4 { letter-spacing: .1em; }
