/* ============================================================================
   Ateklo — site theme. Consumes the engine's --brand-* tokens (injected inline
   by renderBrandCss) with hard fallbacks, so a re-palette in Settings → Branding
   flows through the primary/accent/surfaces.
   ========================================================================== */

:root {
  /* Deck palette: purple + peach/cream on soft lavender (see slide 06). */
  --purple: var(--brand-primary, #932B8F);
  --purple-soft: #9858B0;
  --peach: var(--brand-accent, #E7A87C);
  --bg: var(--brand-background, #F4EEF2);
  --panel: var(--brand-panel, #FBF6EF);
  --ink: var(--brand-text, #1F1A2A);

  --muted: #5f5766;
  --faint: #8d8598;
  --line: #ece2ee;
  --line-2: #f2ecf3;
  --purple-ink: #6f1d6c;
  --purple-tint: #f4e9f4;
  --purple-tint-2: #faf4fa;
  --peach-soft: #F8E8D8;
  --peach-tint: #FBF1E6;
  --peach-ink: #b06a3a;
  --gold: #F7DDC6;
  --plum: #2a1626;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(28, 23, 38, .05), 0 2px 8px rgba(28, 23, 38, .04);
  --shadow: 0 12px 34px rgba(28, 23, 38, .09), 0 2px 8px rgba(28, 23, 38, .05);
  --shadow-lg: 0 30px 70px rgba(63, 22, 74, .18);

  --wrap: 1140px;
  --gap: clamp(20px, 4vw, 40px);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Poppins', var(--sans);
}

* { box-sizing: border-box; }

/* The hidden attribute must always win (elements like .person-card set their own
   display, which would otherwise override the UA [hidden] { display:none }). */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--purple); }

/* Never leave a single word alone on the last line of a heading or sentence
   (no widows/orphans anywhere). `balance` evens out heading lines; `pretty`
   keeps body copy from ending on a lone word. */
h1, h2, h3, h4, .hero-title, .section-title, .page-title, .article-title,
.profile-name, .thesis-body, .os-title {
  text-wrap: balance;
}
p, li, dd, blockquote, figcaption,
.hero-sub, .section-lead, .page-lead,
.build-body, .company-desc, .person-blurb, .news-excerpt, .oc-body,
.article-excerpt, .thesis-body, .profile-bio, .prose {
  text-wrap: pretty;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 5vw, 34px); }

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

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  line-height: 1; white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--purple) 45%, #fff); outline-offset: 2px; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(147, 38, 143, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(147, 38, 143, .34); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--purple); border-color: color-mix(in srgb, var(--purple) 40%, #fff); }
.btn-outline:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, #fff);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, #fff); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--purple); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a,
.nav-dropdown-toggle { font-weight: 500; font-size: 15.5px; color: var(--ink); opacity: .82; transition: opacity .15s ease, color .15s ease; }
.nav-menu a:hover,
.nav-dropdown-toggle:hover,
.nav-menu a.is-active,
.nav-dropdown-toggle.is-active { opacity: 1; color: var(--purple); }
.nav-menu .nav-cta, .nav-menu a.btn { color: #fff; opacity: 1; }
.nav-menu .btn-primary { padding: 10px 20px; }

/* Updates dropdown: CSS hover/focus on desktop, JS disclosure on touch. */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 0; background: transparent; border: 0;
  font-family: inherit; line-height: inherit;
  cursor: pointer; white-space: nowrap;
}
.nav-dropdown-toggle::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .18s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after { transform: translateY(4px) rotate(225deg); }
.nav-dropdown-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--purple) 34%, #fff);
  outline-offset: 6px; border-radius: 3px;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 120;
  width: max-content; min-width: 190px; padding: 8px;
  background: color-mix(in srgb, var(--panel) 96%, #fff);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(31, 26, 42, .14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}
.nav-dropdown-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown-menu a {
  display: block; padding: 11px 13px; border-radius: 9px;
  font-size: 14.5px; white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a.is-active {
  background: var(--purple-tint); color: var(--purple); opacity: 1;
}
.nav-dropdown-menu a:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }

/* Footer social icons. */
.foot-socials { display: flex; align-items: center; gap: 12px; }
.foot-social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
.foot-social svg { display: block; }
.foot-social:focus-visible { outline: 3px solid color-mix(in srgb, var(--purple) 35%, #fff); outline-offset: 2px; }

/* Hamburger ↔ X. Bars are absolutely centered on the button, so the closed
   icon and the open X share the exact same center pixel (no flex/gap rounding).
   Each bar sits at the center; the outer two are offset ±7px when closed and
   collapse back to the center (rotated) to form the X. */
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle span {
  position: absolute; top: 50%; left: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px;
  background: var(--ink); border-radius: 2px; transform-origin: center center;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }

/* ---- Sections & shared type --------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 54px); text-align: center; }
.section-label {
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--purple); margin: 0 0 14px;
}
.section-title { font-size: clamp(27px, 3.6vw, 42px); margin: 0 0 16px; }
.section-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin: 0; }
.section-cta { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin: 0 0 16px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, color-mix(in srgb, var(--purple) 16%, transparent), transparent 60%),
    radial-gradient(760px 520px at 8% 8%, color-mix(in srgb, var(--peach) 9%, transparent), transparent 55%);
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .6; pointer-events: none; }
.hero-net canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-title { font-size: clamp(38px, 6.4vw, 74px); line-height: 1.03; margin: 0 0 22px; letter-spacing: -.02em; }
.hero-sub { font-size: clamp(18px, 1.9vw, 22px); color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Reveal — progressive enhancement. Content is visible by default; only once JS
   is confirmed (html.js, set by an inline head script before first paint) do
   reveals start hidden and animate in on scroll. Without JS — or inside the
   admin's sandboxed, script-blocked page preview — the content simply shows. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .06s; }
.hero .reveal:nth-child(3) { transition-delay: .12s; }
.hero .reveal:nth-child(4) { transition-delay: .18s; }

/* ---- Thesis (Mission / Belief) ------------------------------------------- */
.thesis { padding-top: clamp(40px, 6vw, 72px); }
.thesis .section-label { text-align: center; }
.thesis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.thesis-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.thesis-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.thesis-card--accent { background: linear-gradient(160deg, var(--purple), var(--purple-ink)); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.thesis-card--accent .thesis-k { color: rgba(255, 255, 255, .82); }
.thesis-card--accent em { color: var(--gold); }
.thesis-k { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin: 0 0 12px; font-weight: 600; }
.thesis-body { font-size: 18px; line-height: 1.5; }
.thesis-body p:last-child { margin-bottom: 0; }

/* ---- What we build ------------------------------------------------------- */
.build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.build-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.build-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.build-num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--peach-ink); letter-spacing: .08em; margin-bottom: 16px; }
.build-card h3 { font-size: 21px; margin: 0 0 10px; }
.build-body { color: var(--muted); font-size: 15.5px; }
.build-body p:last-child { margin-bottom: 0; }

/* ---- Approach preview ---------------------------------------------------- */
.approach { background: var(--panel); border-block: 1px solid var(--line); }
.approach-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 72px); align-items: center; }
.approach-copy .section-label, .approach-copy .section-title { text-align: left; }
.approach-copy .section-lead { margin-bottom: 26px; }
.approach-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.approach-step { display: flex; gap: 18px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.approach-dot {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--purple-tint); color: var(--purple); font-family: var(--display); font-weight: 700;
}
.approach-step h3 { font-size: 18px; margin: 4px 0 6px; }
.approach-step div > div { color: var(--muted); font-size: 15px; }

/* ---- Product (AI-native OS) ---------------------------------------------- */
.product { background: linear-gradient(180deg, var(--bg), var(--purple-tint-2)); }
.product-wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(30px, 6vw, 68px); align-items: center; }
.product-copy .section-label, .product-copy .section-title { text-align: left; }
.product-stage { }
.product-stage { position: relative; }
.product-copy .section-lead { font-size: 17px; }
.os-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px clamp(24px, 4vw, 40px) 34px;
  box-shadow: var(--shadow-lg); border: 1px solid #efe7ee;
  max-width: 480px; margin-inline: auto;
}
.product-stage::before {
  content: ""; position: absolute; inset: -22px -14px -26px; z-index: 0; border-radius: 32px;
  background: radial-gradient(120% 120% at 50% 0%, var(--plum), #150b12);
}
.os-card { position: relative; z-index: 1; }
.os-dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 20px; }
.os-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d8cede; }
.os-dots span.on { width: 22px; border-radius: 4px; background: var(--plum); }
.os-title { font-size: 25px; text-align: center; margin: 0 0 8px; color: var(--plum); }
.os-sub { text-align: center; color: var(--faint); font-size: 14.5px; margin: 0 auto 24px; max-width: 300px; }
.os-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; position: relative; }
.os-steps::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: #eee3ec; }
.os-step { display: flex; align-items: center; gap: 14px; position: relative; color: var(--faint); font-size: 15px; }
.os-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #d9cdd8; position: relative; z-index: 1; }
.os-step.is-done { color: #6c6472; }
.os-step.is-done .os-mark { background: var(--plum); border-color: var(--plum); }
.os-step.is-active { color: var(--plum); font-weight: 600; }
.os-step.is-active .os-mark { border-color: var(--plum); box-shadow: 0 0 0 4px rgba(42, 22, 38, .12); }
.os-progress { margin-top: 4px; }
.os-bar { height: 6px; border-radius: 6px; background: #eee3ec; overflow: hidden; }
.os-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--plum), #6c3a58); border-radius: 6px; transition: width 1s ease; }
.os-progress-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-top: 8px; }
.product-caption { text-align: center; color: var(--faint); font-size: 13px; margin: 20px 0 0; }

/* ---- Stats --------------------------------------------------------------- */
.stats { padding-block: clamp(40px, 6vw, 72px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 20px; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); color: var(--purple); line-height: 1; }
.stat-label { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* ---- Companies ----------------------------------------------------------- */
.companies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.company-card {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.company-card--dark {
  background: var(--plum);
  border-color: color-mix(in srgb, var(--plum) 72%, var(--purple));
  box-shadow: 0 10px 28px rgba(42, 22, 38, .18);
}
.company-card--dark .company-desc { color: rgba(255, 255, 255, .82); }
.company-card--mid {
  background: color-mix(in srgb, var(--panel) 88%, var(--plum));
  border-color: color-mix(in srgb, var(--line) 78%, var(--plum));
}
a.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.company-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 40px; }
.company-logo { max-height: 30px; width: auto; }
.company-name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.company-status { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); background: var(--purple-tint); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.company-desc { color: var(--muted); font-size: 15.5px; }
.company-desc p:last-child { margin: 0; }

/* ---- Collaborators ------------------------------------------------------- */
.collaborators { background: linear-gradient(180deg, var(--bg), var(--purple-tint-2)); }
.collaborator-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.collaborator-viewport {
  min-width: 0; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-inline: contain;
}
.collaborator-viewport::-webkit-scrollbar { display: none; }
.collaborator-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; }
.collaborator-card {
  min-height: 112px; display: grid; place-items: center; padding: 22px 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); scroll-snap-align: start;
}
.collaborator-card img {
  width: auto; height: auto; max-width: 180px; max-height: 54px; object-fit: contain;
  opacity: .62; filter: saturate(.72); transition: opacity .2s ease, filter .2s ease;
}
.collaborator-carousel:focus-within .collaborator-card img { opacity: .8; }
.collaborator-card:hover img { opacity: 1; filter: none; }
.collaborator-card--cen img { max-width: 132px; max-height: 58px; }
.collaborator-card--seal img { max-width: 72px; max-height: 72px; }
.collaborator-control {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  color: var(--purple); background: color-mix(in srgb, var(--panel) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--purple) 26%, var(--line)); border-radius: 50%;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: color .18s ease, background .18s ease, transform .18s ease;
}
.collaborator-control:hover { color: #fff; background: var(--purple); transform: scale(1.04); }
.collaborator-control:focus-visible { outline: 3px solid color-mix(in srgb, var(--purple) 34%, #fff); outline-offset: 3px; }
.collaborator-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.collaborator-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---- Team preview -------------------------------------------------------- */
.team-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-chip { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.team-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-chip-photo { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--purple-tint); display: grid; place-items: center; }
.team-chip-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-chip-ini, .person-ini { font-family: var(--display); font-weight: 700; color: var(--purple); font-size: 24px; }
.team-chip-meta strong { display: block; font-family: var(--display); font-size: 16px; }
.team-chip-meta em { display: block; font-style: normal; color: var(--purple); font-size: 13px; margin-top: 3px; }

/* ---- Contact ------------------------------------------------------------- */
.contact { background: var(--panel); border-top: 1px solid var(--line); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-copy .section-title { text-align: left; font-size: clamp(26px, 3.2vw, 38px); }
.text-link, .contact-email { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-socials a, .contact-socials span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  color: var(--purple); font-family: var(--display); font-size: 13px; font-weight: 600;
}
.contact-socials a:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.contact-socials span { color: var(--faint); }
.contact-email-label { margin: 26px 0 2px; color: var(--muted); font-size: 15px; }
.contact-email { font-family: var(--display); font-weight: 600; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.contact-cols h3 { font-size: 16px; line-height: 1.25; min-height: 2.5em; margin: 0 0 8px; color: var(--purple); }
.contact-cols div > div { color: var(--muted); font-size: 15px; text-wrap: pretty; }
.contact-form { display: grid; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); }
.contact-form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-tint); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .btn { justify-content: center; margin-top: 4px; }
.form-helper { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.form-status { font-size: 14px; margin: 4px 0 0; color: var(--purple); min-height: 1.2em; }

/* ---- Interior page hero + prose ----------------------------------------- */
.page-interior .main { background: var(--bg); }
/* Full-width header band: a soft brand-tinted background that spans edge to
   edge and fades into the page, carries the animated network as an overlay, and
   ends on a hairline that separates the header from the body below. */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 100px) 0 clamp(44px, 5vw, 60px);
  background:
    radial-gradient(1200px 560px at 82% -40%, color-mix(in srgb, var(--purple) 13%, transparent), transparent 60%),
    radial-gradient(760px 380px at 6% 130%, color-mix(in srgb, var(--peach) 16%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--purple-tint) 52%, var(--bg)), var(--bg) 94%);
  border-bottom: 1px solid var(--line);
}
/* Animated three.js network overlay (variant per page via [data-net]). */
.page-hero-net { position: absolute; inset: 0; z-index: 0; opacity: .6; pointer-events: none; }
.page-hero-net canvas { display: block; width: 100% !important; height: 100% !important; }
/* Gentle veil so copy stays legible over the network, softest toward the right
   where the network reads through most. */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 60%, transparent) 0%, color-mix(in srgb, var(--bg) 18%, transparent) 42%, transparent 72%);
}
.page-hero .wrap { position: relative; z-index: 2; max-width: var(--wrap); }
/* The band already gives the header room to breathe, so the first body section
   sits close under it instead of stacking a second full section pad. */
.page-hero + .section { padding-top: clamp(28px, 4vw, 52px); }
.page-title { font-size: clamp(32px, 5vw, 56px); margin: 0 0 18px; letter-spacing: -.02em; }
.page-lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); margin: 0; max-width: 680px; }

.prose { max-width: 760px; margin-inline: auto; font-size: 18px; }
.prose p, .prose > div > p { margin: 0 0 1.15em; color: #322c3b; }
.prose > div { margin-bottom: 1.15em; }
/* Body prose on section pages (e.g. Our Story) aligns to the page gutter like
   the hero above it; the readable measure is capped and left-aligned. */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > p, .wrap.prose > div, .wrap.prose > .prose-cta { max-width: 720px; }
.pull-quote { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; color: var(--purple); border-left: 3px solid var(--peach); margin: 34px 0; padding: 6px 0 6px 26px; }
.pull-quote p { margin: 0; }
.prose-cta { margin-top: 32px; }

/* ---- Thesis manifesto --------------------------------------------------- */
.page-thesis .main { background: var(--bg); }
.thesis-hero {
  position: relative;
  min-height: clamp(560px, 76vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 620px at 84% 8%, rgba(152, 88, 176, .42), transparent 62%),
    radial-gradient(720px 520px at 10% 105%, rgba(231, 168, 124, .19), transparent 64%),
    linear-gradient(135deg, #1d111d 0%, #35142f 48%, #5d1c58 100%);
}
.thesis-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 10, 20, .45), transparent 64%),
    linear-gradient(180deg, transparent 62%, rgba(17, 8, 17, .28));
}
.thesis-hero .page-hero-net { opacity: .8; }
.thesis-hero-inner { position: relative; z-index: 2; padding-block: clamp(78px, 11vw, 132px); }
.thesis-kicker {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--peach);
  margin: 0 0 24px;
}
.thesis-hero-title {
  max-width: 980px;
  font-size: clamp(46px, 7.3vw, 88px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0;
  text-wrap: balance;
}
.thesis-hero-lead {
  max-width: 690px;
  margin: 32px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .74);
}
.thesis-axis {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: clamp(54px, 8vw, 88px);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.thesis-axis i {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-soft), var(--peach));
}
.thesis-axis i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 57%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 6px rgba(231, 168, 124, .17), 0 0 28px rgba(231, 168, 124, .8);
  transform: translate(-50%, -50%);
}

.thesis-chapter { padding: clamp(76px, 10vw, 132px) 0; }
.thesis-chapter-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}
.thesis-chapter-label {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
  align-self: start;
  margin: 0;
}
.thesis-chapter-label span {
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--purple) 28%, var(--bg));
}
.thesis-chapter-label p {
  margin: 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
}
.thesis-chapter-label--row {
  position: static;
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.thesis-premise { border-bottom: 1px solid var(--line); }
.thesis-premise-copy { max-width: 860px; }
.thesis-premise-copy p {
  font-family: var(--display);
  font-size: clamp(25px, 3.6vw, 43px);
  line-height: 1.36;
  letter-spacing: -.025em;
  color: var(--muted);
  margin: 0;
}
.thesis-premise-copy strong { color: var(--ink); font-weight: 600; }

.thesis-fracture {
  background: color-mix(in srgb, var(--panel) 76%, var(--bg));
  border-bottom: 1px solid var(--line);
}
.thesis-fracture-lead {
  max-width: 850px;
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 0 0 clamp(36px, 6vw, 68px);
}
.thesis-fracture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.thesis-fracture-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.thesis-fracture-card p {
  margin: 40px 0 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.42;
}
.thesis-card-index {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
}
.thesis-fracture-card--advantage { background: var(--plum); color: #fff; }
.thesis-fracture-card--advantage .thesis-card-index { color: var(--peach); }
.thesis-fracture-card--resistance { background: var(--purple-ink); color: #fff; }
.thesis-fracture-card--resistance .thesis-card-index { color: rgba(255, 255, 255, .6); }
.thesis-fracture-card--middle {
  background: linear-gradient(145deg, var(--peach-soft), var(--panel));
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--peach) 35%, var(--line));
}
.thesis-fracture-card--middle .thesis-card-index { color: var(--peach-ink); }

.thesis-stakes { background: var(--bg); }
.thesis-stakes-lead {
  max-width: 880px;
  margin: 0 0 clamp(42px, 6vw, 68px);
  font-family: var(--display);
  font-size: clamp(26px, 3.7vw, 44px);
  line-height: 1.27;
  letter-spacing: -.025em;
}
.thesis-scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.thesis-scenario {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}
.thesis-scenario::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 36%;
  height: 2px;
  background: var(--purple);
}
.thesis-scenario > span {
  display: block;
  margin-bottom: 15px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
}
.thesis-scenario p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.62; }

.thesis-declaration {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 14vw, 180px) 0;
  color: #fff;
  background:
    radial-gradient(620px 360px at 80% 5%, rgba(231, 168, 124, .2), transparent 70%),
    linear-gradient(125deg, var(--purple-ink), #2c142a 58%, var(--plum));
}
.thesis-declaration::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  bottom: -280px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
}
.thesis-declaration .wrap { position: relative; z-index: 1; }
.thesis-declaration-mark {
  font-family: Georgia, serif;
  font-size: 112px;
  line-height: .5;
  color: var(--peach);
  margin: 0 0 28px;
}
.thesis-declaration blockquote {
  max-width: 990px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.thesis-gap { background: color-mix(in srgb, var(--purple-tint-2) 55%, var(--bg)); }
.thesis-gap-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}
.thesis-gap-lead p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.7vw, 56px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.thesis-gap-copy { padding-top: 6px; }
.thesis-gap-copy p {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.25em;
}
.thesis-gap-copy strong { color: var(--purple); font-weight: 600; }
.thesis-measure {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  margin-top: clamp(64px, 9vw, 104px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid color-mix(in srgb, var(--purple) 22%, var(--line));
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .54);
  box-shadow: var(--shadow-sm);
}
.thesis-measure > div:first-child span {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1;
  color: color-mix(in srgb, var(--purple) 30%, var(--bg));
}
.thesis-measure > div:first-child p {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
}
.thesis-measure > div:last-child { max-width: 760px; }
.thesis-measure > div:last-child p { margin: 0 0 1em; font-size: 18px; color: var(--muted); }
.thesis-measure > div:last-child p:last-child { margin-bottom: 0; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.46; color: var(--ink); }

.thesis-finale {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 16vw, 200px) 0;
  color: #fff;
  background:
    radial-gradient(780px 520px at 14% 110%, rgba(147, 43, 143, .44), transparent 68%),
    radial-gradient(560px 420px at 90% 10%, rgba(231, 168, 124, .14), transparent 70%),
    #160e17;
}
.thesis-finale::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .025) 42%, rgba(255, 255, 255, .025) 43%, transparent 43%);
}
.thesis-finale-inner { position: relative; z-index: 1; }
.thesis-finale h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .96;
  letter-spacing: -.055em;
  background: linear-gradient(100deg, #fff 10%, var(--gold) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.thesis-finale-definition {
  max-width: 760px;
  margin: 34px 0 0;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.38;
  color: rgba(255, 255, 255, .9);
}
.thesis-finale-close {
  max-width: 760px;
  margin: 34px 0 0;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .64);
}
.thesis-finale-cta { margin-top: 38px; background: var(--peach); color: var(--plum); box-shadow: 0 12px 28px rgba(0, 0, 0, .24); }
.thesis-finale-cta:hover { box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }

@media (max-width: 940px) {
  .thesis-chapter-grid { grid-template-columns: 120px minmax(0, 1fr); gap: 38px; }
  .thesis-fracture-grid { grid-template-columns: 1fr 1fr; }
  .thesis-fracture-card--middle { grid-column: 1 / -1; min-height: 260px; }
  .thesis-scenarios { grid-template-columns: 1fr; gap: 28px; }
  .thesis-scenario { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; }
  .thesis-gap-grid { grid-template-columns: 1fr; gap: 32px; }
  .thesis-gap-lead { max-width: 720px; }
}

@media (max-width: 720px) {
  .thesis-hero { min-height: auto; }
  .thesis-hero-inner { padding-block: 80px 70px; }
  .thesis-hero-title br { display: none; }
  .thesis-axis { grid-template-columns: 1fr; gap: 12px; }
  .thesis-axis span:last-child { text-align: right; }
  .thesis-axis i { grid-row: 2; }
  .thesis-chapter-grid { grid-template-columns: 1fr; gap: 30px; }
  .thesis-chapter-label { position: static; display: flex; align-items: baseline; gap: 14px; }
  .thesis-chapter-label span, .thesis-measure > div:first-child span { font-size: 36px; }
  .thesis-fracture-grid { grid-template-columns: 1fr; }
  .thesis-fracture-card, .thesis-fracture-card--middle { grid-column: auto; min-height: 260px; }
  .thesis-scenario { grid-template-columns: 1fr; gap: 0; }
  .thesis-measure { grid-template-columns: 1fr; }
  .thesis-finale h2 br { display: none; }
}

@media (max-width: 560px) {
  .thesis-hero-title { font-size: clamp(40px, 12vw, 54px); }
  .thesis-hero-lead { font-size: 18px; }
  .thesis-axis { margin-top: 48px; }
  .thesis-chapter { padding-block: 72px; }
  .thesis-fracture-card { padding: 26px; }
  .thesis-declaration { padding-block: 96px; }
  .thesis-declaration-mark { font-size: 84px; }
  .thesis-declaration blockquote { font-size: 31px; }
  .thesis-measure { padding: 26px; }
  .thesis-finale { padding-block: 100px; }
}

/* ---- Approach page ------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.step-k { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--peach-ink); margin-bottom: 14px; }
.step-card h3 { font-size: 22px; margin: 0 0 10px; }
.step-card div { color: var(--muted); font-size: 15.5px; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.two-col .section-title { text-align: left; font-size: clamp(22px, 2.6vw, 30px); }
.two-col .section-lead { font-size: 16.5px; }
.engine-flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 16px; }
.engine-col h4 { font-family: var(--display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin: 0 0 12px; }
.engine-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.engine-col li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 15px; font-size: 15px; }
.engine-core { background: linear-gradient(160deg, var(--purple), var(--purple-ink)); color: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.25; box-shadow: var(--shadow); }
.engine-core-k { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.engine-arrow { color: var(--purple); font-size: 26px; text-align: center; }
.closer { text-align: center; }
.closer-wrap { max-width: 720px; margin-inline: auto; }
.closer .section-title { font-size: clamp(26px, 3.4vw, 40px); }
.closer .section-lead { margin-bottom: 28px; }

/* ---- People directory ---------------------------------------------------- */
/* People stats band */
.people-stats-section { padding-block: clamp(24px, 4vw, 40px); }
.people-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.people-stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); color: var(--purple); line-height: 1; }
.people-stat-label { font-family: var(--display); font-weight: 600; font-size: 15px; margin-top: 8px; }
.people-stat-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.people-directory { padding-top: clamp(20px, 3vw, 32px); }
/* Category filter bar */
.people-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(24px, 4vw, 40px); }
.filter-btn { font-family: var(--display); font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.filter-btn:hover { color: var(--purple); border-color: color-mix(in srgb, var(--purple) 40%, #fff); }
.filter-btn.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }
.people-empty-filter { text-align: center; color: var(--muted); padding: 32px 0; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person-photo { position: relative; aspect-ratio: 1 / 1; background: var(--purple-tint); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); color: var(--purple); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.person-meta { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 5px; }
.person-name { font-family: var(--display); font-size: 19px; }
.person-role { color: var(--purple); font-size: 14px; font-weight: 500; }
.person-blurb { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.person-more { margin-top: 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.join { background: var(--panel); border-top: 1px solid var(--line); text-align: center; }
.join-wrap { max-width: 640px; margin-inline: auto; }
.join .section-title { font-size: clamp(24px, 3vw, 34px); }
.join .section-lead { margin: 0 0 26px; }

/* ---- Profile ------------------------------------------------------------- */
.profile-wrap { max-width: 840px; margin-inline: auto; }
.back-link { display: inline-block; color: var(--purple); font-weight: 600; font-size: 14.5px; margin-bottom: 26px; }
.back-link:hover { text-decoration: underline; }
.profile-head { display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: center; margin-bottom: 34px; }
.profile-photo { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--purple-tint); display: grid; place-items: center; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 6px; }
.profile-role { color: var(--purple); font-size: 18px; font-weight: 500; margin: 0 0 6px; }
.profile-loc { color: var(--faint); font-size: 15px; margin: 0; }
.profile-links { margin: 12px 0 0; }
.profile-links a { color: var(--purple); font-weight: 600; }
.profile-bio { max-width: none; font-size: 17.5px; }
.profile-bio p { margin: 0 0 1.15em; color: #322c3b; }

/* ---- Newsroom ------------------------------------------------------------ */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--purple); padding: 5px 11px; border-radius: 999px; }
.news-date { color: var(--faint); font-size: 14px; }
.news-headline { font-size: 22px; margin: 0 0 10px; line-height: 1.2; }
.news-excerpt { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.news-tags span { font-size: 12px; color: var(--purple-ink); background: var(--purple-tint); border-radius: 999px; padding: 4px 10px; }
.news-more { margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--purple); }

/* ---- Article ------------------------------------------------------------- */
.article-wrap { max-width: 760px; margin-inline: auto; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.article-title { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 16px; letter-spacing: -.02em; }
.article-excerpt { font-size: 20px; color: var(--muted); margin: 0 0 20px; }
.article-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.article-figure img { width: 100%; max-height: 460px; object-fit: contain; padding: 24px; }
.article-body { font-size: 17.5px; }
.article-body p { margin: 0 0 1.15em; color: #322c3b; }

/* ---- Press releases ------------------------------------------------------ */
.press-release .article-wrap { max-width: 860px; }
.press-release .article-excerpt { max-width: 760px; line-height: 1.55; }
.press-release .news-tags { margin: 0 0 30px; }
.press-release .article-figure { margin-bottom: clamp(34px, 5vw, 52px); }
.press-release .article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-top: clamp(34px, 5vw, 52px);
  border-top: 1px solid var(--line);
  font-size: 17.5px;
  line-height: 1.78;
}
.press-release .article-body > p { margin-bottom: 1.35em; }
.press-release .article-body a {
  color: var(--purple-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--purple) 34%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.press-release .article-body a:hover {
  color: var(--purple);
  text-decoration-color: currentColor;
}
.press-release .article-body a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--purple) 32%, #fff);
  outline-offset: 3px;
  border-radius: 2px;
}
.press-dateline {
  color: var(--ink) !important;
  font-weight: 600;
}
.press-quote {
  position: relative;
  margin: clamp(32px, 5vw, 46px) 0;
  padding: clamp(26px, 4vw, 36px) clamp(24px, 4vw, 38px) clamp(24px, 4vw, 32px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(135deg, var(--purple-tint), #fff 72%);
  box-shadow: var(--shadow-sm);
}
.press-quote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  right: 20px;
  color: color-mix(in srgb, var(--purple) 16%, transparent);
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 1;
  pointer-events: none;
}
.press-quote p {
  position: relative;
  margin: 0 0 .9em;
  color: #2d2532;
  font-size: clamp(18px, 2.1vw, 20px);
  line-height: 1.62;
}
.press-quote p:last-child { margin-bottom: 0; }
.press-section-title {
  margin: clamp(42px, 6vw, 58px) 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.2;
}
.press-boilerplate {
  margin-top: clamp(40px, 6vw, 56px);
  padding: clamp(26px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.press-boilerplate + .press-boilerplate { margin-top: 18px; }
.press-boilerplate .press-section-title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 22px;
}
.press-boilerplate p:last-child { margin-bottom: 0; }
.press-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: baseline;
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--purple-tint);
}
.press-contact .press-section-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 17px;
}
.press-contact p { margin: 0; }
.press-release .prose-cta {
  max-width: 720px;
  margin: clamp(34px, 5vw, 48px) auto 0;
}

@media (max-width: 640px) {
  .press-release .article-body { font-size: 16.5px; line-height: 1.72; }
  .press-quote { margin-inline: -4px; }
  .press-contact { grid-template-columns: 1fr; }
}

/* ---- Original content ---------------------------------------------------- */
.oc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.oc-grid--single { grid-template-columns: minmax(0, 840px); justify-content: center; }
.oc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.oc-kicker { font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--peach-ink); margin: 0 0 14px; }
.oc-title { font-size: 20px; margin: 0 0 12px; }
.oc-body { color: var(--muted); font-size: 15.5px; }
.oc-cta { max-width: 760px; margin: 40px auto 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
.oc-card-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 5vw, 56px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5vw, 48px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.oc-card-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--purple), var(--peach));
}
.oc-card-link:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--purple) 24%, var(--line)); box-shadow: var(--shadow); }
.oc-card-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--purple) 44%, #fff); outline-offset: 4px; }
.oc-card-link .oc-kicker,
.oc-card-link .oc-title,
.oc-card-link .oc-body { grid-column: 1; }
.oc-card-link .oc-title { font-size: clamp(24px, 3.5vw, 36px); max-width: 700px; margin-bottom: 16px; }
.oc-card-link .oc-body { max-width: 680px; font-size: clamp(15.5px, 1.7vw, 17px); }
.oc-card-arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(147, 38, 143, .24);
  transition: transform .2s ease, background .2s ease;
}
.oc-card-link:hover .oc-card-arrow { transform: translateX(4px); background: var(--purple-ink); }

/* ---- Original content article ------------------------------------------- */
.page-original-article .main { background: var(--bg); }
.oc-article-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(56px, 9vw, 108px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(880px 620px at 88% 8%, rgba(152, 88, 176, .45), transparent 62%),
    radial-gradient(720px 520px at 4% 110%, rgba(231, 168, 124, .2), transparent 64%),
    linear-gradient(135deg, #1d111d 0%, #35142f 48%, #5d1c58 100%);
}
.oc-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 10, 20, .56), rgba(20, 10, 20, .1) 70%, transparent);
}
.oc-article-hero .page-hero-net { opacity: .72; }
.oc-article-hero-inner { position: relative; z-index: 2; max-width: 1060px; }
.oc-article-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(34px, 6vw, 62px);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, transform .18s ease;
}
.oc-article-back:hover { color: #fff; transform: translateX(-3px); }
.oc-article-back:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 5px; }
.oc-article-kicker {
  margin: 0 0 18px;
  color: var(--peach);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.oc-article-title {
  max-width: 1000px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.oc-article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(15px, 1.6vw, 17px);
}
.oc-article-byline a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(231, 168, 124, .7);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.oc-article-byline a:hover { color: var(--peach); text-decoration-color: var(--peach); }
.oc-article-byline a:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 5px; }
.oc-article-deck {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.55;
}
.oc-article-section { padding: clamp(58px, 8vw, 96px) 0 clamp(72px, 10vw, 124px); }
.oc-article-shell { max-width: 900px; }
.oc-article-body { max-width: 760px; margin-inline: auto; font-size: clamp(17px, 1.7vw, 18.5px); line-height: 1.78; }
.oc-article-body > p { margin: 0 0 1.55em; color: #322c3b; }
.oc-article-body > p:first-child::first-letter {
  float: left;
  margin: .09em .12em 0 0;
  color: var(--purple);
  font-family: var(--display);
  font-size: 3.8em;
  font-weight: 600;
  line-height: .78;
}
.oc-article-emphasis {
  position: relative;
  margin: clamp(42px, 7vw, 68px) 0;
  padding: 4px 0 4px clamp(24px, 4vw, 38px);
  border-left: 4px solid var(--peach);
  color: var(--purple) !important;
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.oc-article-definition {
  margin: clamp(42px, 7vw, 70px) calc(clamp(0px, 4vw, 54px) * -1);
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid color-mix(in srgb, var(--purple) 18%, var(--line));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 260px at 100% 0%, color-mix(in srgb, var(--peach) 18%, transparent), transparent 72%),
    linear-gradient(135deg, var(--purple-tint-2), var(--panel));
  box-shadow: var(--shadow-sm);
}
.oc-article-definition p { margin: 0; color: #322c3b; font-size: clamp(18px, 2vw, 20px); line-height: 1.72; }
.oc-article-definition strong { display: block; margin-bottom: 14px; color: var(--purple); font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.25; }
.oc-article-close {
  margin: clamp(48px, 8vw, 78px) calc(clamp(0px, 4vw, 54px) * -1) 32px;
  padding: clamp(32px, 6vw, 56px);
  border-radius: var(--radius-lg);
  color: #fff !important;
  background:
    radial-gradient(460px 260px at 100% 0%, rgba(231, 168, 124, .2), transparent 70%),
    var(--plum);
  font-family: var(--display);
  font-size: clamp(25px, 3.6vw, 36px);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -.015em;
  box-shadow: var(--shadow-lg);
}
.oc-article-footer { max-width: 760px; margin: clamp(44px, 7vw, 72px) auto 0; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---- 404 (centered on the header band) ----------------------------------- */
.page-404 .page-hero { padding-block: clamp(88px, 15vw, 168px); min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 .page-hero .wrap { max-width: 720px; }
.page-404 .page-lead { margin-inline: auto; }
.notfound-code { font-family: var(--display, 'Poppins', system-ui, sans-serif); font-weight: 700; font-size: clamp(56px, 12vw, 116px); line-height: .9; letter-spacing: -.03em; color: var(--peach); margin: 0 0 6px; }
.notfound-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 76px) 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { height: 30px; width: auto; margin-bottom: 16px; }
.foot-tagline { color: var(--muted); font-size: 15px; max-width: 320px; margin: 0; }
.foot-col h3 { font-family: var(--display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--ink); opacity: .82; font-size: 15px; padding: 4px 0; transition: opacity .15s, color .15s; }
.foot-col a:hover { opacity: 1; color: var(--purple); }
/* Bottom bar: copyright (left) · Powered by (center) · social icons (right). */
.foot-legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.foot-legal a { color: var(--faint); }
.foot-copy { justify-self: start; }
.foot-powered { justify-self: center; text-align: center; }
.foot-powered a { text-decoration: none; }
.foot-powered a:hover { color: var(--purple); text-decoration: underline; }
.foot-socials { justify-self: end; }
.foot-legal .foot-social { color: var(--faint); }
.foot-legal .foot-social:hover { color: var(--purple); }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 940px) {
  .thesis-grid, .build-grid, .companies-grid, .steps-grid, .oc-grid, .people-grid { grid-template-columns: repeat(2, 1fr); }
  .collaborator-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .approach-wrap, .product-wrap, .contact-wrap, .two-col { grid-template-columns: 1fr; }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; }
  .engine-flow { grid-template-columns: 1fr; }
  .engine-arrow { transform: rotate(90deg); }
  /* Symmetric 2-column footer: the right column mirrors the left (right-aligned). */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .foot-grid > :nth-child(even) { text-align: right; }
  .foot-grid > :nth-child(even) .foot-social { justify-content: flex-end; }
  .profile-head { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { max-width: 220px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; position: relative; z-index: 110; }
  /* A backdrop-filter on the header would make it the containing block for the
     fixed overlay (clipping it to the header height). Drop it on mobile so the
     overlay is sized to the viewport; keep the header background solid. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  body.nav-open .site-header { background: transparent; }
  /* Full-screen overlay menu. Sits under the sticky header (z 100) so the logo
     and close button stay tappable; fills the whole viewport otherwise. */
  .site-nav {
    position: fixed; inset: 0; z-index: 95;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 88px clamp(20px, 6vw, 34px) 40px;
    overflow-y: auto;
    opacity: 0; transform: translateY(-6px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 0; }
  .nav-menu > a,
  .nav-dropdown-toggle { width: 100%; padding: 20px 2px; font-size: 22px; border-bottom: 1px solid var(--line-2); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { justify-content: space-between; }
  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none; position: static; width: auto; min-width: 0;
    padding: 6px 0 8px 16px; background: transparent;
    border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; transform: none; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a {
    padding: 13px 14px; border-left: 2px solid var(--line);
    border-radius: 0; font-size: 18px;
  }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible,
  .nav-dropdown-menu a.is-active { background: transparent; border-left-color: var(--purple); }
  .nav-menu .btn-primary { margin-top: 20px; justify-content: center; font-size: 18px; padding: 15px; border-bottom: 0; }
  /* Keep the logo (top-left) tappable and visible above the overlay menu. */
  .brand { position: relative; z-index: 110; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .thesis-grid, .build-grid, .companies-grid, .steps-grid, .oc-grid, .people-grid, .stats-grid, .team-strip, .contact-cols { grid-template-columns: 1fr; }
  .collaborator-carousel { grid-template-columns: auto auto; justify-content: center; gap: 12px; }
  .collaborator-viewport { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .collaborator-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .collaborator-control { width: 38px; height: 38px; }
  .collaborator-control--prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .collaborator-control--next { grid-column: 2; grid-row: 2; justify-self: start; }
  .collaborator-card { min-height: 92px; padding: 16px; }
  .collaborator-card img { max-width: 130px; max-height: 44px; }
  .collaborator-card--cen img { max-width: 100px; max-height: 46px; }
  .collaborator-card--seal img { max-width: 58px; max-height: 58px; }
  .stat { padding: 14px; }
  .people-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  /* Bottom bar: clean centered stack (social icons, copyright, Powered by). */
  .foot-legal { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .foot-copy, .foot-powered, .foot-socials { grid-column: 1; grid-row: auto; justify-self: center; margin: 0; }
  .foot-socials { order: -1; }
  /* Keep the two hero buttons on one line: equal width, no wrap. */
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 13px 12px; font-size: 14px; }
  .oc-card-link { grid-template-columns: 1fr; }
  .oc-card-arrow { grid-column: 1; grid-row: auto; width: 46px; height: 46px; margin-top: 24px; }
  .oc-article-hero { padding-top: 44px; }
  .oc-article-back { margin-bottom: 34px; }
  .oc-article-title { font-size: clamp(34px, 11vw, 48px); }
  .oc-article-byline { align-items: flex-start; }
  .oc-article-definition,
  .oc-article-close { margin-inline: 0; border-radius: var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collaborator-viewport { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  * { transition: none !important; }
}
