/* ==========================================================================
   ExoHush Start · redesign layer
   Liz's section order, the exohush.com register, and the main site's motion.
   ========================================================================== */

:root {
  --logo-gold: #D4AF37;
  --logo-gold-bright: #F0D67A;
  --logo-glow: rgba(212, 175, 55, .28);
  --group-cell: rgba(11, 11, 12, .74);
  --stat-cell: rgba(11, 11, 12, .42);
}
:root[data-theme="light"] {
  --logo-gold: #8A6A00;
  --logo-gold-bright: #A67C00;
  --logo-glow: rgba(138, 106, 0, .2);
  --group-cell: rgba(252, 250, 244, .8);
  --stat-cell: rgba(252, 250, 244, .62);
}

/* Gold brand mark */
.brand { color: var(--text); }
.brand-mark {
  background: var(--logo-gold);
  transition: background-color .25s var(--ease), filter .3s var(--ease);
}
.brand span { color: var(--text); transition: color .25s var(--ease); }
.brand:hover { color: var(--logo-gold-bright); }
.brand:hover .brand-mark { background: var(--logo-gold-bright); filter: drop-shadow(0 0 16px var(--logo-glow)); }
.brand:hover span { color: var(--logo-gold-bright); }

/* Global */
body { overflow-x: hidden; }
.wrap { position: relative; }
main { display: block; }

/* Scroll progress */
.scroll-progress {
  position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; width: 0; height: 100%; background: var(--logo-gold);
  box-shadow: 0 0 12px var(--logo-glow);
  transition: width .1s linear;
}

/* Shared section head */
.section-head {
  display: block; padding-top: 22px; border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-title { margin: 0; max-width: 16em; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal[data-delay="1"].is-in { transition-delay: .1s; }
.js .reveal[data-delay="2"].is-in { transition-delay: .2s; }
.js .group-disciplines li.reveal.is-in:nth-child(2) { transition-delay: .06s; }
.js .group-disciplines li.reveal.is-in:nth-child(3) { transition-delay: .12s; }
.js .group-disciplines li.reveal.is-in:nth-child(4) { transition-delay: .18s; }
.js .group-disciplines li.reveal.is-in:nth-child(5) { transition-delay: .24s; }
.js .group-disciplines li.reveal.is-in:nth-child(6) { transition-delay: .3s; }

/* Button: cursor-follow highlight */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%), var(--btn-glow, rgba(255,255,255,.18)), transparent 62%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn-gold { --btn-glow: rgba(255,255,255,.24); }
.btn-line { --btn-glow: rgba(212,175,55,.18); }
.btn:hover .i-out { transform: translate(2px, -2px); }

/* Header */
.site-header { z-index: 100; }
.header-inner { position: relative; }
.nav-cta { border-color: var(--gold-line); }

/* Header and controls */
.nav-list a { font-size: 12px; }
.nav-cta { font-size: 12px; }
.btn { font-size: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(22px, 3vw, 42px); padding-bottom: clamp(28px, 4vw, 54px); }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -24%;
  width: 64%; height: 86%; pointer-events: none;
  background: radial-gradient(circle, rgba(212, 175, 55, .07), transparent 64%);
}
.hero-grid { position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2.8rem, 5.1vw, 4.4rem);
  line-height: .94; letter-spacing: -.055em;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: block; transform: none; transition: transform 1s var(--ease); }
.js .hero-title .line > span { transform: translateY(112%); }
.hero-title em { font-style: normal; color: var(--logo-gold); }
.js .hero-copy > .hero-title { opacity: 1; transform: none; }
.js.is-loaded .hero-title .line > span { transform: none; }
.js.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .11s; }
.hero-lede {
  max-width: 38ch; margin: 0; color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7;
}
.hero-actions { margin-top: clamp(28px, 3.4vw, 40px); }

/* Globe */
.hero-globe { position: relative; }
.hero-globe::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(212,175,55,.1), transparent 66%);
  filter: blur(18px);
}
.globe-canvas {
  position: relative; z-index: 1; width: 100%;
  transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.globe-canvas #globe { display: block; }
.hero-globe figcaption {
  margin-top: 14px; max-width: 340px; text-align: center;
  font-size: 14px; line-height: 1.5; color: var(--muted);
}

.hero-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  margin-top: clamp(34px, 4.4vw, 54px); padding: 18px 0 20px;
  background: none; border-top: 1px solid var(--line);
}
.hero-foot p {
  margin: 0; font-family: var(--font-b); font-style: normal;
  font-size: 10px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.hero-foot-side { color: var(--faint) !important; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-b); font-size: 9.5px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
  text-decoration: none;
}
.scroll-cue span { position: relative; display: block; width: 1px; height: 22px; background: var(--line); overflow: hidden; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--gold); animation: scroll-cue 1.9s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scroll-cue { 0% { top: -100%; } 55%, 100% { top: 100%; } }
.scroll-cue:hover { color: var(--gold); }

/* Country marquee */
.country-marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.country-track {
  display: flex; align-items: center; gap: 26px;
  width: max-content; padding: 12px 0;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.country-track span {
  font-size: 9.5px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.country-track i { width: 4px; height: 4px; flex: none; background: var(--gold); }
.country-marquee:hover .country-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Start */
.start { position: relative; padding-block: clamp(56px, 6vw, 84px); }
.start .section-title { margin: 0; }
.start .section-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.start-grid { border-color: var(--line); }
.start-primary, .start-secondary { position: relative; }
.start-secondary { background: var(--ink); }
.start-for { font-size: 12px; }
.start-grid p:not(.start-for) { font-size: 15px; line-height: 1.65; }
.start-note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.start-note a { color: var(--text); border-bottom: 1px solid var(--line); }
.start-note a:hover { color: var(--gold); border-color: var(--gold); }

/* Group */
.group { position: relative; overflow: hidden; padding-block: var(--section); background: var(--ink); }
.group-earth {
  position: absolute; inset: -12% 0; pointer-events: none;
  background: url("../assets/img/earth-horizon.webp") center 42% / cover no-repeat;
  opacity: .26; filter: saturate(.72) contrast(1.04);
  transform: translate3d(0, var(--earth-y, 0px), 0) scale(1.08);
  will-change: transform;
}
.group-earth::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(11,11,12,.64) 20%, rgba(11,11,12,.84) 62%, var(--ink) 100%);
}
.group-inner { position: relative; z-index: 1; }
:root[data-theme="light"] .group-earth { opacity: .2; filter: saturate(.8) brightness(1.06); }
:root[data-theme="light"] .group-earth::after {
  background: linear-gradient(180deg, var(--ink) 0%, rgba(245,241,232,.62) 20%, rgba(245,241,232,.86) 62%, var(--ink) 100%);
}
.group-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 96px); align-items: start;
}
.group-motto {
  margin: 0 0 24px; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -.045em;
}
.group-motto span { color: var(--logo-gold); }
.group .section-lead { color: #D8D2C6; }
.group-lede { max-width: 36ch; margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 40px; background: var(--line); border-block: 1px solid var(--line);
}
.stat { padding: 18px 0 16px; background: var(--stat-cell); }
.stat b {
  display: block; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; color: var(--logo-gold);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block; margin-top: 8px; font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.group-disciplines {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.group-disciplines li {
  display: block; padding: 26px 22px;
  background: var(--group-cell);
}
:root[data-theme="light"] .group .section-lead { color: var(--muted); }
.group-disciplines li > b {
  padding-top: 3px; font-family: var(--font-b); font-size: 9.5px;
  font-weight: 500; letter-spacing: .12em; color: var(--gold);
}
.group-disciplines h3 {
  margin: 0 0 7px; font-family: var(--font-d); font-size: 17px;
  font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}
.group-disciplines p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Ecosystem chain */
.ecosystem { padding-block: clamp(72px, 6.5vw, 104px); background: var(--ink-2); border-top: 1px solid var(--line); }
.chain {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.chain-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line); background: var(--ink);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.chain-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.chain-parent { border-top: 1px solid var(--gold); }
.chain-xav { border-color: var(--gold-line); background: rgba(176, 122, 82, .05); }
.chain-top { min-height: 90px; margin-bottom: 18px; }
.chain-tier {
  display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.chain-tier b { margin-right: 7px; color: var(--gold); font-weight: 500; }
.chain-mark { display: flex; align-items: center; height: 48px; }
.chain-mark .brand-mark { width: 96px; height: 49.5px; background: var(--logo-gold); }
.chain-mark img { width: auto; max-height: 44px; }
.chain-xav .chain-mark img { max-height: 30px; }
.chain-card h3 {
  margin: 0 0 10px; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.75rem, 2.4vw, 2.15rem); line-height: 1; letter-spacing: -.045em;
}
.chain-card h3 b { color: var(--gold); }
.chain-card > p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 32ch; }
.chain-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chain-list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text); }
.chain-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; background: var(--gold);
}
.chain-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.chain-actions .btn { min-height: 44px; padding: 0 16px; font-size: 12px; }
.chain-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.chain-link:hover { color: var(--gold); }
.chain-link-inline { margin: 0 0 18px; }
.chain-link-inline .i-out { width: 11px; height: 11px; }
.chain-card:not(:last-child)::after {
  content: ""; position: absolute; top: 108px;
  right: calc(-1 * clamp(24px, 3vw, 48px));
  width: clamp(24px, 3vw, 48px); height: 1px;
  background: var(--logo-gold); opacity: .7; transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .3s, opacity .3s var(--ease);
}
.chain.is-drawn .chain-card:not(:last-child)::after { transform: scaleX(1); }
.js .chain .chain-card { opacity: 0; transform: translateY(18px); }
.js .chain.is-in .chain-card {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .chain.is-in .chain-card:hover { transform: translateY(-3px); }
.js .chain.is-in .chain-card:nth-child(2) { transition-delay: .1s; }
.js .chain.is-in .chain-card:nth-child(3) { transition-delay: .2s; }

/* Founders */
.founders { padding-block: var(--section); border-top: 1px solid var(--line); }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.founder-card { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 26px; }
.founder-head { display: flex; align-items: flex-start; gap: 20px; }
.founder-photo {
  position: relative; width: clamp(96px, 10vw, 132px); aspect-ratio: 1; margin: 0; flex: none;
  overflow: hidden; border: 1px solid var(--line); background: var(--ink-3);
}
.founder-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(11,11,12,.22) 100%);
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.72) contrast(1.05) brightness(.94);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.founder-card:hover .founder-photo img { transform: scale(1.045); filter: saturate(1) contrast(1.03); }
.founder-id { min-width: 0; }
.founder-name { margin: 0 0 10px; font-size: clamp(1.65rem, 2.4vw, 2rem); line-height: 1; }
.roles { list-style: none; margin: 0; padding: 0; }
.roles li { font-size: 13.5px; line-height: 1.5; color: var(--gold); }
.founder-summary { max-width: 44ch; margin: 20px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.bio { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.bio summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-family: var(--font-b); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--logo-gold);
}
.bio summary::-webkit-details-marker { display: none; }
.bio summary::before { content: "+"; width: 12px; font-size: 13px; line-height: 1; }
.bio[open] summary::before { content: "-"; }
.bio .less { display: none; }
.bio[open] .more { display: none; }
.bio[open] .less { display: inline; }
.bio p { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.bio p strong { color: var(--text); font-weight: 500; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.founder-card .socials { margin-top: auto; padding-top: 22px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-height: 40px; padding: 0;
  border: 1px solid var(--line); color: var(--muted);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); background: rgba(176,122,82,.06); }
.socials svg { width: 14px; height: 14px; }

/* Connect */
.connect { padding-block: var(--section); background: var(--ink-2); border-top: 1px solid var(--line); }
.connect-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.connect-card { padding: clamp(24px, 3vw, 36px); background: var(--ink); transition: background-color .3s var(--ease); }
.connect-card:hover { background: var(--ink-3); }
.connect-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.connect-brand .brand-mark { width: 82px; height: 42.3px; background: var(--logo-gold); }
.connect-brand img { width: auto; height: 42px; }
.connect-brand h3 { margin: 0 0 5px; font-size: 1.45rem; line-height: 1; }
.connect-brand h3 b { color: var(--gold); }
.connect-brand p { margin: 0; color: var(--muted); font-size: 13px; }
.connect-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.connect-links a {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 10px 12px; border: 1px solid var(--line);
  font-size: 13.5px; color: var(--text);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.connect-links a:hover { border-color: var(--gold); color: var(--gold); }
.connect-links svg { width: 15px; height: 15px; flex: none; }

/* Contact */
.contact { position: relative; overflow: hidden; padding-block: var(--section); border-top: 1px solid var(--line); }
.contact::before {
  content: ""; position: absolute; right: -8%; top: 8%; width: 56%; height: 84%;
  pointer-events: none; background: radial-gradient(circle, rgba(212,175,55,.07), transparent 66%);
}
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(34px, 6vw, 88px); align-items: center; position: relative; z-index: 1;
}
.contact-title { margin: 0 0 22px; font-size: clamp(2.5rem, 4.8vw, 4.1rem); line-height: .98; }
.contact-copy > p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.contact-card { padding: clamp(24px, 3.4vw, 38px); border: 1px solid var(--gold-line); background: var(--ink-2); }
.contact-label { margin: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.contact-primary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 0 20px; background: var(--logo-gold); color: #0B0B0C;
  font-family: var(--font-b); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.contact-primary:hover { background: var(--logo-gold-bright); transform: translateY(-1px); }
:root[data-theme="light"] .contact-primary { background: #B07A52; color: #17140E; }
:root[data-theme="light"] .contact-primary:hover { background: #C98F63; }
.contact-primary .i-out { width: 16px; height: 16px; }
.contact-line {
  display: flex; align-items: center; gap: 10px; min-height: 50px;
  border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text);
  transition: color .25s var(--ease);
}
.contact-line:first-of-type { margin-top: 18px; border-top: 1px solid var(--line); }
.contact-line svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.contact-line span, .contact-line:not(:has(span)) { flex: 1; }
.contact-line:hover { color: var(--gold); }
.contact-line:hover svg { color: var(--gold); }
.contact-line .i-out { margin-left: auto; }
.contact-note { margin: 18px 0 0; color: var(--quiet); font-size: 13px; line-height: 1.6; }
.contact-note a { color: var(--muted); border-bottom: 1px solid var(--line); }
.contact-note a:hover { color: var(--gold); border-color: var(--gold); }

/* Footer */
.site-footer { position: relative; background: var(--ink-2); border-top: 1px solid var(--line); }
.footer-grid { padding-top: clamp(44px, 6vw, 72px); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-mark { width: 88px; height: 45.4px; background: var(--logo-gold); }
.footer-brand .brand span { font-size: 1rem; }
.footer-brand p { max-width: 34ch; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.footer-col h4 { color: var(--faint); }
.footer-col a { font-size: 12.5px; }
.footer-co { margin: 12px 0 6px; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-co b { color: var(--gold); }
.footer-social { list-style: none; display: flex; gap: 6px; margin: 0 0 8px; padding: 0; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--line); color: var(--muted);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 13px; height: 13px; }
.footer-mail { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted); word-break: break-all; }
.footer-mail:hover { color: var(--gold); }

.footer-mega {
  position: relative; overflow: hidden; margin-top: clamp(38px, 5vw, 64px);
  padding: clamp(30px, 5vw, 70px) var(--gutter) 0;
  border-top: 1px solid var(--line);
}
.footer-mega span {
  display: block; text-align: center;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(4.6rem, 17.5vw, 15.5rem); line-height: .78; letter-spacing: -.06em;
  background: url("../assets/img/earth-horizon.webp") center 42% / cover no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: saturate(.8) brightness(1.18); opacity: .7;
  transform: translateY(.04em);
}
:root[data-theme="light"] .footer-mega span { opacity: .5; filter: saturate(.7) brightness(.95); }

.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px;
  flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid var(--line);
  font-size: 9.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--quiet);
}
.footer-tag { color: var(--logo-gold); }
.footer-clock { display: inline-flex; align-items: baseline; gap: 8px; }
.footer-clock b { font-weight: 500; color: var(--muted); }
.footer-clock span { font-variant-numeric: tabular-nums; color: var(--text); }
.footer-base a:hover { color: var(--gold); }

/* Splash */
html.splash-pending { background: #0B0B0C; }
html[data-theme="light"].splash-pending { background: #F5F1E8; }
html.splash-pending body > *:not(.eh-splash) { visibility: hidden; }
html.eh-splash-lock { overflow: hidden; }
html.eh-splash-lock body { overflow: hidden; }

.eh-splash {
  position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--text); pointer-events: auto;
}
.eh-splash-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 72% at 22% 10%, rgba(212,175,55,.12), transparent 58%),
    radial-gradient(80% 70% at 82% 90%, rgba(212,175,55,.07), transparent 62%),
    linear-gradient(160deg, #151413 0%, #0B0B0C 54%, #08080A 100%);
  clip-path: circle(150% at 50% 50%);
  transition: clip-path .78s cubic-bezier(.62,0,.24,1), opacity .4s ease;
}
:root[data-theme="light"] .eh-splash-veil {
  background:
    radial-gradient(90% 72% at 22% 10%, rgba(138,106,0,.1), transparent 58%),
    radial-gradient(80% 70% at 82% 90%, rgba(138,106,0,.06), transparent 62%),
    linear-gradient(160deg, #FCFAF4 0%, #F5F1E8 54%, #EDE7DB 100%);
}
.eh-splash-glow {
  position: absolute; left: 50%; top: 50%; width: min(72vw, 720px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.62); border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.16), rgba(212,175,55,.04) 46%, transparent 68%);
  opacity: 0; transition: opacity 1s ease, transform 1.5s cubic-bezier(.16,1,.3,1);
}
.eh-splash.is-word .eh-splash-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.eh-splash-core {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: clamp(14px, 2.2vh, 22px); text-align: center;
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .8s ease, transform 1s cubic-bezier(.16,1,.3,1);
}
.eh-splash.is-word .eh-splash-core { opacity: 1; transform: none; }
.eh-splash-eagle {
  display: block; width: clamp(180px, 16.5vw, 240px); aspect-ratio: 790 / 408;
  background: var(--logo-gold);
  -webkit-mask: url("../assets/img/logo-eagle.png") center / contain no-repeat;
  mask: url("../assets/img/logo-eagle.png") center / contain no-repeat;
  filter: drop-shadow(0 24px 58px rgba(0,0,0,.62)) drop-shadow(0 0 28px rgba(212,175,55,.2));
}
.eh-splash-word {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-b); font-size: 11.5px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; text-indent: .3em;
  color: rgba(247,243,236,.92);
}
.eh-splash-word::before, .eh-splash-word::after {
  content: ""; width: clamp(24px, 3.6vw, 48px); height: 1px; background: rgba(247,243,236,.26);
}
:root[data-theme="light"] .eh-splash-word { color: #141312; }
:root[data-theme="light"] .eh-splash-word::before, :root[data-theme="light"] .eh-splash-word::after { background: rgba(20,19,18,.24); }
.eh-splash-caption {
  font-family: var(--font-b); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(247,243,236,.64);
}
:root[data-theme="light"] .eh-splash-caption { color: rgba(20,19,18,.7); }
.eh-splash-bar {
  position: relative; width: clamp(116px, 13vw, 170px); height: 1px;
  background: rgba(247,243,236,.16); overflow: hidden;
}
:root[data-theme="light"] .eh-splash-bar { background: rgba(20,19,18,.18); }
.eh-splash-bar i {
  position: absolute; inset: 0; background: var(--logo-gold);
  transform: scaleX(0); transform-origin: left;
  animation: eh-splash-bar 1.2s cubic-bezier(.4,0,.2,1) .18s forwards;
}
@keyframes eh-splash-bar { to { transform: scaleX(1); } }
.eh-splash-mark {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  background: var(--logo-gold); opacity: 0;
  transform: translate(-50%, -50%) scale(.4);
  transition: opacity .3s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.eh-splash.is-suck .eh-splash-core { opacity: 0; transform: scale(.965); transition: opacity .34s ease, transform .45s ease; }
.eh-splash.is-suck .eh-splash-glow { opacity: 0; transition: opacity .45s ease; }
.eh-splash.is-suck .eh-splash-mark { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.eh-splash.is-suck .eh-splash-veil { clip-path: circle(0px at 50% 50%); }
.eh-splash.is-done { opacity: 0; transition: opacity .3s ease; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-title { font-size: clamp(2.7rem, 5.5vw, 4rem); }
  .group-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .section-lead { justify-self: start; max-width: 48ch; }
  .group-grid { grid-template-columns: 1fr; }
  .group-copy { max-width: 520px; }
  .group-disciplines { grid-template-columns: 1fr 1fr; }
  .chain { grid-template-columns: 1fr; gap: 18px; }
  .chain-card { border-top: 1px solid var(--line); }
  .chain-parent { border-top: 1px solid var(--gold); }
  .chain-card:not(:last-child)::after {
    top: auto; bottom: -19px; left: 30px; right: auto;
    width: 1px; height: 18px; transform: scaleY(0); transform-origin: top;
  }
  .chain.is-drawn .chain-card:not(:last-child)::after { transform: scaleY(1); }
  .chain-card + .chain-card { border-top: 1px solid var(--line); }
  .founders-grid { grid-template-columns: 1fr; gap: 44px; }
  .connect-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .contact-copy { max-width: 560px; }
  .footer-mega span { font-size: clamp(4rem, 18vw, 11rem); }
}
@media (max-width: 600px) {
  .hero { padding-top: 14px; }
  .hero-title { font-size: clamp(2.5rem, 10.4vw, 3.35rem); line-height: .96; }
  .hero-lede { font-size: 14.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-foot { flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; padding-top: 14px; }
  .hero-foot-side { display: none; }
  .scroll-cue { margin-left: auto; }
  .globe-canvas { max-width: 290px; margin-inline: auto; }
  .country-track { gap: 18px; animation-duration: 30s; }
  .country-track span { font-size: 9px; }
  .section-title { font-size: clamp(2rem, 8.4vw, 2.7rem); }
  .start-grid { grid-template-columns: 1fr; }
  .start-primary { border-top: 1px solid var(--gold); margin: 0; }
  .start-secondary { border-top: 1px solid var(--line); }
  .group-disciplines { grid-template-columns: 1fr; }
  .group-motto { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .stats { margin-top: 30px; }
  .stat { padding: 14px 0 12px; }
  .stat b { font-size: 2rem; }
  .chain-card { padding: 22px 18px; }
  .chain-top { min-height: 78px; }
  .chain-card h3 { font-size: 1.8rem; }
  .founder-head { gap: 16px; }
  .founder-photo { width: 92px; }
  .founder-name { font-size: 1.55rem; }
  .roles li { font-size: 11px; }
  .connect-links { grid-template-columns: 1fr; }
  .contact-title { font-size: clamp(2.2rem, 9.2vw, 3rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-mega span { font-size: clamp(3.4rem, 19vw, 7rem); }
  .footer-base { gap: 10px 18px; }
  .footer-tag { display: none; }
}
@media (max-width: 420px) {
  .start-primary, .start-secondary { padding: 24px 18px; }
  .founder-photo { width: 78px; }
  .founder-name { font-size: 1.4rem; }
  .contact-primary { font-size: 10px; padding: 0 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .country-track { animation: none; }
  .globe-canvas { transform: none; }
  .group-earth { transform: none; }
  .scroll-cue span::after { animation: none; display: none; }
  .chain .chain-card { opacity: 1; transform: none; }
  .chain-card:not(:last-child)::after { transform: none; }
}
