/* ==========================================================================
   ExoHush Group — start.exohush.com
   ========================================================================== */

/* Fonts (self-hosted for speed and privacy) */
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/satoshi-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-medium.woff2") format("woff2"); }

:root {
  --ink: #0B0B0C;
  --ink-2: #111113;
  --ink-3: #151517;
  --text: #F5F1E8;
  --muted: #A39E93;
  --faint: #857F75;
  --line: rgba(245, 241, 232, 0.14);
  --line-strong: rgba(245, 241, 232, 0.22);
  --gold: #B07A52;
  --gold-bright: #C98F63;
  --gold-line: rgba(176, 122, 82, 0.45);
  --violet: #B07A52;
  --violet-line: rgba(176, 122, 82, 0.35);
  --violet-wash: rgba(176, 122, 82, 0.06);

  --font-d: "Satoshi", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --font-b: "Inter", "SF Pro Text", "Segoe UI", Arial, sans-serif;
  --serif: var(--font-d);
  --sans: var(--font-b);

  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --section: clamp(88px, 11vw, 156px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-bg: rgba(11, 11, 12, .82);
  --footer-bg: #111113;
}
:root[data-theme="light"] {
  --ink: #F5F1E8;
  --ink-2: #FCFAF4;
  --ink-3: #EDE7DB;
  --text: #111110;
  --muted: #5F5B53;
  --faint: #6E6A62;
  --line: #D6CDBD;
  --line-strong: #C4B9A6;
  --gold: #7A4B2E;
  --gold-bright: #8E5A38;
  --gold-line: rgba(122, 75, 46, 0.5);
  --violet: #7A4B2E;
  --violet-line: rgba(122, 75, 46, 0.4);
  --violet-wash: rgba(122, 75, 46, 0.06);
  --header-bg: rgba(245, 241, 232, .86);
  --footer-bg: #EDE7DB;
}
:root[data-theme="light"] .btn-gold { background: #B07A52; color: #17140E; }
:root[data-theme="light"] .btn-gold:hover { background: transparent; color: #7A4B2E; }
:root[data-theme="light"] .node-xav img { filter: invert(1) hue-rotate(180deg); }
:root[data-theme="light"] .motto p { color: var(--gold); }
body { transition: background-color .4s var(--ease), color .4s var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Type primitives ---------- */
.kicker, .eyebrow, .node-tier, .start-for, .disc-title, .focus h4, .path h3, .footer-col h4, .globe-label {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
}
.kicker { color: var(--gold); margin-bottom: 22px; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-size: .76rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn-lg { min-height: 60px; padding: 0 32px; font-size: .8rem; }
.btn-gold { background: var(--gold); color: #17140E; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-line { border-color: var(--gold-line); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-violet { border-color: var(--violet-line); color: var(--text); }
.btn-violet:hover { border-color: var(--violet); background: var(--violet-wash); }
.btn[disabled] { cursor: not-allowed; }
.i-out { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
a:hover > .i-out { transform: translate(2px, -2px); }

.link-quiet {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 14px 0; border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-quiet:hover { color: var(--text); border-color: var(--violet-line); }
.link-quiet-gold:hover { border-color: var(--gold-line); }

/* ==========================================================================
   01 · Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
/* Blurred backdrop lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed-position mobile menu inside the 76px header. */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -1px 0; z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
body.nav-open .site-header::before { background: var(--ink); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }

.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav-list a {
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); opacity: .82; position: relative; padding: 8px 0;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.nav-list a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover { opacity: 1; }
.nav-list a:not(.nav-cta):hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { opacity: 1; }
.nav-cta { border: 1px solid var(--gold-line); padding: 13px 22px !important; color: var(--gold) !important; opacity: 1 !important; border-radius: 2px; }
.nav-cta:hover { border-color: var(--gold); background: rgba(198, 167, 102, .08); }

.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  order: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none; cursor: pointer;
  background: none; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .t-moon, [data-theme="light"] .theme-toggle .t-sun { display: none; }
[data-theme="light"] .theme-toggle .t-moon { display: block; }
.nav-list { order: 1; }
.nav-toggle { order: 3; }

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 12px;
    background: none; border: 1px solid var(--line-strong); border-radius: 2px;
    height: 44px; padding: 0 16px; cursor: pointer;
    font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    position: relative; z-index: 2;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 1px; background: var(--text); position: relative;
    transition: transform .35s var(--ease), background-color .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -5px; }
  .nav-toggle-bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

  .nav-list {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 24px var(--gutter) 40px;
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a {
    display: block; padding: 20px 0;
    font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: 1;
  }
  .nav-list a:not(.nav-cta)::after { display: none; }
  .nav-cta-item { border-bottom: 0 !important; padding-top: 32px; }
  .nav-cta {
    font-family: var(--sans) !important; font-size: .8rem !important; letter-spacing: .16em !important; text-transform: uppercase !important;
    text-align: center; padding: 18px 22px !important;
  }
  .nav-list { overscroll-behavior: contain; }
}

/* ==========================================================================
   02 · Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: calc(100svh - var(--header-h) - 150px);
}
.eyebrow { color: var(--gold); margin-bottom: clamp(24px, 3vw, 36px); }
.eyebrow span { color: var(--faint); margin: 0 .5em; }

.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 9.2vw, 8.4rem);
  line-height: .93; letter-spacing: -.022em;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
.hero-lede { max-width: 36em; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }

.hero-globe { position: relative; display: flex; flex-direction: column; align-items: center; }
#globe { width: 100%; max-width: 520px; aspect-ratio: 1; height: auto; }
.hero-globe figcaption {
  margin-top: 8px; max-width: 360px; text-align: center;
  font-size: .86rem; line-height: 1.6; color: var(--muted);
}
.globe-label { display: block; color: var(--faint); margin-bottom: 6px; }

.hero-foot {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px; padding-bottom: 22px;
  background: linear-gradient(var(--line), var(--line)) no-repeat var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted);
}

/* Hero load sequence (the page's one orchestrated motion moment) */
.js .hero-copy > *, .js .hero-globe { opacity: 0; transform: translateY(14px); }
.js.is-loaded .hero-copy > *, .js.is-loaded .hero-globe {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js.is-loaded .hero-copy > :nth-child(2) { transition-delay: .12s; }
.js.is-loaded .hero-copy > :nth-child(3) { transition-delay: .28s; }
.js.is-loaded .hero-copy > :nth-child(4) { transition-delay: .4s; }
.js.is-loaded .hero-globe { transition-duration: 1.6s; transition-delay: .3s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-globe { order: 2; margin-top: 24px; }
  #globe { max-width: 360px; }
  .hero-foot { flex-direction: column; gap: 2px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   03 · Get started
   ========================================================================== */
.start { padding-block: var(--section) calc(var(--section) * .85); border-top: 1px solid var(--line); }
.start .section-title { margin-bottom: clamp(40px, 5vw, 64px); max-width: 14em; }

.start-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); }
.start-grid h3 {
  font-family: var(--serif); font-weight: 500; line-height: 1.1;
  margin: 18px 0 20px; text-wrap: balance;
}
.start-grid p:not(.start-for) { color: var(--muted); max-width: 34em; }

.start-primary {
  background: var(--ink-2);
  padding: clamp(32px, 4.6vw, 64px);
  border-top: 2px solid var(--gold);
  margin: -1px 0 -1px -1px; /* sit the gold rule flush over the outer frame */
}
.start-primary .start-for { color: var(--gold); }
.start-primary h3 { font-size: clamp(2rem, 3.6vw, 3rem); }

.assess { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 36px; }
.assess .btn[disabled] { opacity: .62; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.start-secondary {
  padding: clamp(32px, 4.6vw, 64px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.start-secondary .start-for { color: var(--muted); }
.start-secondary h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.start-secondary .btn { margin-top: auto; }
.start-secondary p:not(.start-for) { margin-bottom: 32px; }

@media (max-width: 860px) {
  .start-grid { grid-template-columns: 1fr; }
  .start-primary { margin: -1px -1px 0 -1px; }
  .start-secondary { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .assess .btn, .start-secondary .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.4; padding-block: 14px; }
}

/* ==========================================================================
   04 · About
   ========================================================================== */
.about { padding-block: var(--section); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.about-head .section-title { max-width: 9em; }

.motto { margin-top: clamp(40px, 6vw, 80px); padding-left: 24px; border-left: 1px solid var(--gold); }
.motto p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; color: var(--gold-bright); }
.motto footer { margin-top: 16px; font-size: .95rem; color: var(--muted); }

.about-body > p { color: var(--muted); max-width: 38em; }
.about-body > p + p { margin-top: 1.1em; }
.about-body .about-lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.8rem); line-height: 1.35; color: var(--text); margin-bottom: .4em; }

.disc-title { color: var(--faint); margin: clamp(48px, 6vw, 72px) 0 4px; }
.disciplines { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.disciplines li { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.disciplines span { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.disciplines em { display: block; font-style: normal; font-size: .9rem; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-head .section-title { max-width: 12em; }
}
@media (max-width: 560px) {
  .disciplines { grid-template-columns: 1fr; }
}

/* ==========================================================================
   05 · Ecosystem
   ========================================================================== */
.eco { padding-block: var(--section); border-top: 1px solid var(--line); background: var(--ink-2); }
.eco-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 7vw, 120px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.eco-intro .kicker { grid-column: 1 / -1; }
.eco-intro .section-title { max-width: 12em; }
.eco-intro > p:last-child { color: var(--muted); }

.node { position: relative; display: grid; grid-template-columns: var(--mark, 200px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); }
.node-mark { grid-column: 1; align-self: start; }
.node-body { grid-column: 2; min-width: 0; }
.node-body > p:not(.node-tier) { color: var(--muted); max-width: 40em; }
.tree-children { grid-column: 1 / -1; }

.node-tier { color: var(--gold); margin-bottom: 10px; }
.node-tier .of { color: var(--faint); margin-left: .6em; }
.node-name { font-family: var(--serif); font-weight: 500; line-height: 1; margin-bottom: 18px; }
.node-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }

/* Parent */
.node-parent { --mark: 220px; }
.node-parent > .node-mark { padding-top: 6px; }
.node-parent > .node-mark img { width: 100%; max-width: 220px; }
.node-parent > .node-body .node-name { font-size: clamp(3rem, 6vw, 5rem); }

/* Connectors */
.tree-children {
  --indent: clamp(20px, 9vw, 110px);
  margin-left: calc(var(--mark, 200px) / 2);
  padding-left: var(--indent);
  padding-top: clamp(48px, 6vw, 80px);
  position: relative;
}
/* Vertical stem: main.js sets --stem-top / --stem-h so it runs from the parent mark to the child connector */
.tree-children::before {
  content: ""; position: absolute; left: 0; top: var(--stem-top, 0); height: var(--stem-h, 100%); width: 1px;
  background: var(--gold-line);
}
.tree-children > .node::before {
  content: ""; position: absolute; top: 2.2rem; left: calc(var(--indent) * -1); width: calc(var(--indent) - 10px); height: 1px;
  background: var(--gold-line);
}
.tree-children > .node::after {
  content: ""; position: absolute; top: calc(2.2rem - 3px); left: -13px; width: 7px; height: 7px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--ink-2);
}

/* Division */
.node-division { --mark: 160px; }
.node-division > .node-body .node-name { font-size: clamp(2.4rem, 4.4vw, 3.5rem); }
.node-division > .node-body .node-tier { color: var(--violet); }
.node-logo { align-self: start; padding-top: 4px; }
.node-logo img { width: 100%; max-width: 160px; }
.connect-co b { color: var(--violet); font-weight: 600; margin-left: 1px; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 24px; max-width: 40em; }
.caps li { padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--text); }
.node-division > .tree-children { margin-left: calc(var(--mark) / 2); }
.node-division > .tree-children::before { background: var(--violet-line); }
.node-division > .tree-children > .node::before { background: var(--violet-line); }
.node-division > .tree-children > .node::after { border-color: var(--violet); }

/* Product */
.node-product {
  --mark: 140px;
  background: var(--violet-wash);
  border: 1px solid var(--violet-line);
  padding: clamp(24px, 3.4vw, 44px);
}
.node-product::before { top: calc(2.2rem + clamp(24px, 3.4vw, 44px)) !important; left: calc(var(--indent) * -1 - 1px) !important; }
.node-product::after { top: calc(2.2rem + clamp(24px, 3.4vw, 44px) - 3px) !important; left: -13px !important; }
.node-xav { align-self: start; padding-top: 10px; }
.node-xav img { width: 100%; max-width: 128px; }
.node-product .node-name { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.node-product .node-tier { color: var(--violet); }
.xav-list { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: 40em; }
.xav-list li { position: relative; padding: 9px 0 9px 22px; font-size: .92rem; }
.xav-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 1px; background: var(--violet); }

@media (max-width: 900px) {
  .eco-intro { grid-template-columns: 1fr; row-gap: 20px; }
  .node, .node-parent, .node-division, .node-product { grid-template-columns: 1fr; }
  .node-mark, .node-body { grid-column: 1; }
  .node-parent > .node-mark img { max-width: 132px; margin-bottom: 20px; }
  .node-logo img { max-width: 120px; margin-bottom: 20px; }
  .node-xav img { max-width: 104px; margin-bottom: 20px; }
  .tree-children, .node-division > .tree-children { margin-left: 6px; --indent: 22px; }
}
@media (max-width: 560px) {
  .caps, .xav-list { grid-template-columns: 1fr; }
  .node-tier .of { display: block; margin: 4px 0 0; }
  .node-product { padding: 22px 18px; }
  .node-actions .btn { width: 100%; }
}

/* ==========================================================================
   06 · Founders
   ========================================================================== */
.founders { padding-block: var(--section); border-top: 1px solid var(--line); }
.founders-head { margin-bottom: clamp(48px, 6vw, 80px); }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.founder { padding-top: clamp(32px, 3.4vw, 44px); border-top: 1px solid var(--line); }

.founder-head { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 32px); margin-bottom: 32px; }
.founder-photo {
  flex: none; width: clamp(112px, 11vw, 148px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 6px var(--ink), 0 0 0 7px var(--line);
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.03);
  transition: filter .8s var(--ease);
}
.founder:hover .founder-photo img { filter: saturate(1) contrast(1.03); }
.founder-id { min-width: 0; }
.founder-id .roles { margin-bottom: 0; }
.founder-name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; margin-bottom: 12px; }
.roles { margin-bottom: 28px; }
.roles li { font-size: .86rem; line-height: 1.45; color: var(--gold); padding: 4px 0; }

.bio p { color: var(--muted); max-width: 36em; }
.bio p + p, .bio details p { margin-top: 1em; }
.bio details summary {
  list-style: none; cursor: pointer; margin-top: 1.1em; width: max-content;
  font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
  padding-bottom: 4px; border-bottom: 1px solid var(--gold-line);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.bio details summary::-webkit-details-marker { display: none; }
.bio details summary:hover { color: var(--gold-bright); border-color: var(--gold); }
.bio details .less, .bio details[open] .more { display: none; }
.bio details[open] .less { display: inline; }
.bio details[open] summary { order: 2; margin-top: 1.4em; }
.bio details[open] { display: flex; flex-direction: column; }
.bio details[open] > p { animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } }

.focus { margin-top: 32px; }
.focus h4 { color: var(--faint); margin-bottom: 8px; }
.focus p { color: var(--text); font-size: .95rem; max-width: 34em; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.socials a {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 2px;
  font-size: .84rem; color: var(--text);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.socials a:hover { border-color: var(--gold); color: var(--gold-bright); }
.socials svg { width: 15px; height: 15px; flex: none; }

@media (max-width: 860px) {
  .founders-grid { grid-template-columns: 1fr; gap: 72px; }
}

/* ==========================================================================
   07 · Connect
   ========================================================================== */
.connect { padding-block: var(--section) calc(var(--section) * .8); border-top: 1px solid var(--line); background: var(--ink-2); }
.connect-head { margin-bottom: clamp(40px, 5vw, 64px); }
.connect-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: center;
  padding: clamp(28px, 3.4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.connect-row:last-child { border-bottom: 1px solid var(--line); }
.connect-co img { height: 40px; width: auto; margin-bottom: 14px; }
.connect-co h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; }
.connect-co p { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.connect-links { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.connect-links a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: .95rem; color: var(--text);
  transition: color .3s var(--ease);
}
.connect-links svg { width: 18px; height: 18px; color: var(--muted); transition: color .3s var(--ease); }
.connect-links a:hover, .connect-links a:hover svg { color: var(--gold-bright); }
.connect-row-ai .connect-links a:hover svg { color: var(--violet); }

@media (max-width: 760px) {
  .connect-row { grid-template-columns: 1fr; }
  .connect-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
}

/* ==========================================================================
   08 · Contact
   ========================================================================== */
.contact { padding-block: var(--section); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); }
.contact-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.015em; margin-bottom: 28px; text-wrap: balance; }
.contact-head p { color: var(--muted); max-width: 32em; font-size: 1.05rem; line-height: 1.85; }

.path { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.path:last-child { border-bottom: 1px solid var(--line); }
.path h3 { color: var(--muted); margin-bottom: 14px; }
.path p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.path-mail {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold);
  word-break: break-all; transition: color .3s var(--ease);
}
.path-mail svg { width: 22px; height: 22px; flex: none; }
.path-mail:hover { color: var(--gold-bright); }
.path-or { margin: 22px 0 18px !important; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .path .btn { width: 100%; }
}

/* ==========================================================================
   09 · Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--footer-bg); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 26em; }
.footer-col h4 { color: var(--faint); margin-bottom: 16px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { font-size: .92rem; color: var(--text); opacity: .85; transition: color .25s, opacity .25s; }
.footer-col a:hover { color: var(--gold-bright); opacity: 1; }
.footer-social { display: flex; gap: 6px; margin: 6px 0 18px; }
.footer-co { font-size: .8rem; color: var(--muted); }
.footer-co b { color: var(--violet); font-weight: 600; }
.footer-social li + li { margin-top: 0; }
.footer-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 2px; }
.footer-social svg { width: 15px; height: 15px; }
.footer-mail { word-break: break-all; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 28px;
  background: linear-gradient(var(--line), var(--line)) no-repeat var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px;
  font-size: .8rem; color: var(--faint);
}
.footer-base a:hover { color: var(--text); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Ecosystem lines draw in when scrolled into view */
.js .tree-children::before { transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease); }
.js .tree-children > .node::before { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .85s; }
.js .tree-children > .node::after { opacity: 0; transition: opacity .5s var(--ease) 1.3s; }
.js .tree-children.is-drawn::before, .js .tree-children.is-drawn > .node::before { transform: none; }
.js .tree-children.is-drawn > .node::after { opacity: 1; }

/* Phone "Book a strategy call" bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mbar .btn { width: 100%; }
  .mbar.is-visible { transform: none; }
}

/* Hidden links (empty values in config.js) */
[data-hidden] { display: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-copy > *, .js .hero-globe { opacity: 1; transform: none; }
}

/* Phone: give the logo room beside the theme button */
@media (max-width: 1020px) {
  .nav { gap: 10px; margin-left: auto; }
  .header-inner { gap: 16px; }
}
@media (max-width: 420px) {
  .brand img { height: 28px; }
  .brand span { font-size: 1.35rem; }
  .brand { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; }
  .nav-toggle { padding: 0 12px; }
}
/* ==========================================================================
   EXOHUSH MAIN-SITE REGISTER
   Same layout as the original build; type, palette and shapes follow
   exohush.com: Satoshi / Inter, near-black, bronze, hairlines, square edges.
   ========================================================================== */

body { font-family: var(--font-b); font-size: 16px; line-height: 1.62; }

/* Brand lockup: the EH eagle, white by default, bronze on hover. */
.brand { color: var(--text); transition: color .25s var(--ease); }
.brand-mark {
  display: block; flex: none; height: 38px; width: auto; aspect-ratio: 790 / 408;
  background: currentColor;
  -webkit-mask: url("../assets/img/logo-eagle.png") center / contain no-repeat;
  mask: url("../assets/img/logo-eagle.png") center / contain no-repeat;
  transition: background-color .25s var(--ease);
}
.brand span { font-family: var(--font-d); font-size: 1.08rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.brand:hover { color: var(--gold); }
.brand:hover .brand-mark { background: var(--gold); }

/* Display type */
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; }
.section-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.15rem, 4.3vw, 3.45rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.8rem, 5.1vw, 4.35rem); line-height: .92; letter-spacing: -.055em; margin-bottom: clamp(24px, 3vw, 36px); }
.hero-lede { font-family: var(--font-b); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.72; color: var(--muted); }
.hero-foot { font-family: var(--font-b); font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker, .eyebrow, .node-tier, .start-for, .disc-title, .focus h4, .path h3, .footer-col h4, .globe-label { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; }

/* Controls */
.btn { font-family: var(--font-b); font-size: 11px; font-weight: 500; letter-spacing: .14em; border-radius: 0; min-height: 50px; }
.btn-gold { background: var(--gold); color: #0B0B0C; }
.btn-gold:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-line { border-color: var(--gold-line); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-violet { border-color: var(--gold-line); color: var(--text); }
.btn-violet:hover { border-color: var(--gold); background: var(--gold-wash, rgba(176,122,82,.06)); color: var(--gold); }
.nav-cta { border-radius: 0; font-size: 11px; letter-spacing: .14em; }
.nav-list a { font-size: 11px; letter-spacing: .14em; font-weight: 500; }
.theme-toggle { border-radius: 0; }
.link-quiet { font-size: 11px; letter-spacing: .14em; font-weight: 500; }
.link-quiet:hover { border-color: var(--gold-line); }

/* Hero */
.hero-grid { grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); }
.eyebrow { color: var(--gold); }
.hero-actions { gap: 12px; }

/* Start */
.start .section-title { max-width: 15em; }
.start-grid h3 { font-family: var(--font-d); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; }
.start-primary { border-top: 1px solid var(--gold); }
.start-primary h3 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); }
.start-secondary h3 { font-size: clamp(1.55rem, 2.35vw, 1.95rem); }
.start-grid p:not(.start-for) { font-size: 14px; line-height: 1.7; }
.start-for { color: var(--gold); }

/* About */
.about-head .section-title { max-width: 10em; }
.motto { border-left: 1px solid var(--gold); }
.motto p { font-family: var(--font-d); font-style: normal; font-weight: 700; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.02; letter-spacing: -.045em; color: var(--text); }
.motto p .gold { color: var(--gold); }
.motto footer { font-family: var(--font-b); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-body .about-lead { font-family: var(--font-b); font-size: 16px; line-height: 1.72; color: var(--muted); margin-bottom: .7em; }
.about-body > p { font-size: 14px; line-height: 1.72; }
.disc-title { color: var(--faint); }
.disciplines span { font-family: var(--font-d); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.disciplines em { font-size: 13px; line-height: 1.55; }

/* Ecosystem */
.node-tier { color: var(--gold); }
.node-tier .of { color: var(--faint); }
.node-name { font-family: var(--font-d); font-weight: 700; letter-spacing: -.045em; }
.node-parent > .node-body .node-name { font-size: clamp(2.6rem, 5vw, 4rem); }
.node-division > .node-body .node-name { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.node-product .node-name { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.node-division > .node-body .node-tier, .node-product .node-tier { color: var(--gold); }
.node-division > .tree-children::before, .node-division > .tree-children > .node::before { background: var(--gold-line); }
.node-division > .tree-children > .node::after { border-color: var(--gold); }
.node-product { background: var(--gold-wash, rgba(176,122,82,.06)); border-color: var(--gold-line); }
.xav-list li::before { background: var(--gold); }
.node-eagle { padding-top: 6px; }
.node-eagle .brand-mark { width: 100%; max-width: 220px; height: auto; aspect-ratio: 790 / 408; color: var(--text); }

/* Founders */
.founder-photo { border-radius: 0; border: 1px solid var(--line); box-shadow: none; background: var(--ink-3); }
.founder-photo img { filter: saturate(.9) contrast(1.03); }
.founder:hover .founder-photo img { filter: saturate(1) contrast(1.03); }
.founder-name { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.75rem, 2.6vw, 2.15rem); letter-spacing: -.04em; }
.roles li { font-size: 12.5px; line-height: 1.5; }
.bio p { font-size: 14px; line-height: 1.7; }
.bio details summary { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; }
.focus h4 { color: var(--faint); }
.focus p { font-size: 13.5px; }
.socials a { border-radius: 0; min-height: 42px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.socials svg { width: 14px; height: 14px; }

/* Connect */
.connect-co .brand-mark { height: 40px; width: auto; margin-bottom: 14px; color: var(--text); }
.connect-co img { height: 40px; }
.connect-co h3 { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.65rem, 2.6vw, 2.15rem); letter-spacing: -.04em; }
.connect-co b { color: var(--gold); }
.connect-links a { font-size: 13.5px; }
.connect-row-ai .connect-links a:hover svg { color: var(--gold); }

/* Contact */
.contact-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.5rem, 5.1vw, 4.3rem); line-height: .98; letter-spacing: -.05em; }
.contact-head p { font-size: 15px; line-height: 1.75; }
.path h3 { color: var(--muted); }
.path p { font-size: 13.5px; }
.path-mail { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -.03em; color: var(--gold); }
.path-mail:hover { color: var(--gold-bright); }

/* Footer */
.site-footer { background: var(--footer-bg); }
.footer-brand .brand { color: var(--text); margin-bottom: 20px; }
.footer-brand .brand-mark { height: 44px; width: auto; }
.footer-brand .brand span { font-size: 1rem; }
.footer-brand p { font-size: 13px; line-height: 1.65; }
.footer-col h4 { color: var(--faint); }
.footer-col a { font-size: 13px; }
.footer-co { font-size: 11px; }
.footer-co b { color: var(--gold); }
.footer-social a { border-radius: 0; }
.footer-mail { font-size: 13px; }
.footer-base { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Mobile tuning for the sans display */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .node-eagle .brand-mark { max-width: 132px; height: auto; }
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.45rem, 10.2vw, 3.25rem); }
  .section-title { font-size: clamp(2rem, 8.4vw, 2.75rem); }
  .contact-title { font-size: clamp(2.3rem, 9.6vw, 3.1rem); }
  .start-primary h3 { font-size: clamp(1.65rem, 7.2vw, 2.1rem); }
  .start-secondary h3 { font-size: clamp(1.45rem, 6.2vw, 1.8rem); }
  .node-parent > .node-body .node-name { font-size: clamp(2.3rem, 11vw, 3rem); }
  .node-division > .node-body .node-name { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .node-product .node-name { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .founder-name { font-size: clamp(1.6rem, 7.2vw, 2rem); }
  .connect-co h3 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .brand-mark { height: 30px; }
  .brand span { font-size: .95rem; }
}
@media (max-width: 420px) {
  .brand-mark { height: 27px; }
  .brand span { font-size: .86rem; }
}
