﻿/* ==========================================================================
   Thaw Ventures вЂ” stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & micro-interactions
   6.  Backdrop stack (photo, canvas, scrim, grain, vignette)
   7.  Header & navigation
   8.  Hero
   9.  Thesis
   10. Portfolio
   11. Team
   12. Performance
   13. Contact
   14. Footer
   16. Reveal choreography
   17. Reduced motion
   18. Responsive
   19. Print
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --ink:            #0D0F0A;
  --forest-deep:    #111409;
  --forest:         #1A1F14;
  --teal:           #C8F542;
  --gold:           #D8FF63;
  --bone:           #F2F4E6;
  --muted:          #BCC3A6;
  --muted-dim:      #8F9779;

  /* Derived surfaces */
  --surface-1:      rgba(26, 31, 20, 0.42);
  --surface-2:      rgba(26, 31, 20, 0.66);
  --surface-solid:  #111409;
  --hairline:       rgba(200, 245, 66, 0.16);
  --hairline-soft:  rgba(242, 244, 230, 0.09);
  --hairline-gold:  rgba(216, 255, 99, 0.24);

  /* Text */
  --text:           var(--bone);
  --text-muted:     var(--muted);
  --text-dim:       var(--muted-dim);

  /* Type */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --shell-max:      1280px;
  --gutter:         clamp(1.25rem, 4vw, 3.5rem);
  --section-y:      clamp(5rem, 11vh, 9.5rem);

  /* Motion */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:     cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:       180ms;
  --dur-base:       320ms;
  --dur-slow:       720ms;

  /* Runtime values written by JS */
  --photo-opacity:  1;
  --scene-opacity:  1;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth; /* replaced by Lenis when available; kept as a fallback */
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(0.975rem, 0.94rem + 0.18vw, 1.0625rem);
  line-height: 1.7;
  letter-spacing: 0.012em;
  overflow-x: hidden;
}

/* Lenis drives the scroll position; the native smooth behaviour would fight it. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, svg, canvas, video { display: block; max-width: 100%; }
svg { fill: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

::selection { background: rgba(200, 245, 66, 0.28); color: #fff; }

/* Focus: always visible, never removed. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--forest);
  border: 1px solid var(--teal);
  border-radius: 3px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow__index { color: var(--text-dim); }
.eyebrow--hero { color: var(--bone); letter-spacing: 0.26em; }
.eyebrow__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px 1px rgba(200, 245, 66, 0.7);
  flex: none;
}

.badge {
  display: inline-block;
  margin: 1.6rem 0 0;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--hairline-gold);
  border-radius: 2px;
  background: rgba(216, 255, 99, 0.07);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.todo-flag {
  display: inline-block;
  padding: 0.12em 0.5em;
  border: 1px dashed rgba(216, 255, 99, 0.5);
  border-radius: 2px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}

kbd {
  display: inline-block;
  padding: 0.1em 0.45em;
  border: 1px solid var(--hairline);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: rgba(26, 31, 20, 0.7);
  font-family: var(--font-mono);
  font-size: 0.72em;
  color: var(--bone);
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--bone); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  z-index: 2;
  padding-block: var(--section-y);
  background: rgba(13, 15, 10, 0.84);
  /* Anchor links must clear the fixed header. */
  scroll-margin-top: 84px;
}
/* The first section after the hero stays more open so the data-forest
   remains visible behind the content вЂ” that is the payoff of the scroll. */
.section--thesis     { background: rgba(13, 15, 10, 0.72); }
.section--portfolio  { background: rgba(13, 15, 10, 0.8); }
.section--team,
.section--performance,
.section--apply    { background: rgba(13, 15, 10, 0.9); }

.section__head {
  max-width: 58ch;
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}
.section__title {
  font-size: clamp(2.1rem, 1.35rem + 3.4vw, 4.15rem);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 120;
}
.section__lede {
  margin: 1.4rem 0 0;
  max-width: 54ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.14rem);
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   5. Buttons & micro-interactions
   -------------------------------------------------------------------------- */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 1.9rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  will-change: transform;
  transition:
    translate var(--dur-base) var(--ease-out),
    scale var(--dur-fast) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
/* `scale` and `translate` are used instead of `transform` so the press
   animation and the magnetic hover can coexist on the same element. */
.btn:active { scale: 0.972; }

.btn--primary {
  background: linear-gradient(180deg, rgba(200, 245, 66, 0.16), rgba(200, 245, 66, 0.06));
  border-color: rgba(200, 245, 66, 0.5);
  color: var(--bone);
  box-shadow: 0 0 0 rgba(200, 245, 66, 0);
}
.btn--primary:hover {
  background: linear-gradient(180deg, rgba(200, 245, 66, 0.26), rgba(200, 245, 66, 0.1));
  border-color: rgba(200, 245, 66, 0.85);
  box-shadow: 0 10px 40px -14px rgba(200, 245, 66, 0.6);
}
.btn--ghost {
  border-color: var(--hairline-soft);
  color: var(--text-muted);
}
.btn--ghost:hover {
  border-color: var(--hairline);
  color: var(--bone);
  background: rgba(200, 245, 66, 0.06);
}
.btn--block { width: 100%; }
.btn__arrow { width: 1em; height: 1em; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateY(2px); }

/* --------------------------------------------------------------------------
   6. Backdrop stack
   -------------------------------------------------------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Fallback if WebGL is unavailable: the same palette, as a plain gradient. */
  background: radial-gradient(120% 90% at 50% 30%, #161B10 0%, #0D0F0A 60%, #090A07 100%);
}

.forest-photo {
  position: absolute;
  inset: 0;
  /* The gradient *is* the fallback: if forest.jpg is missing the photograph
     never paints and this deep forest gradient stands in for it. */
  background-image:
    radial-gradient(125% 95% at 52% 32%, #1A1F14 0%, #111409 46%, #0D0F0A 100%);
  background-size: cover;
  background-position: center;
  opacity: var(--photo-opacity);
  transform: scale(1.04);
  transform-origin: 50% 42%;
  transition: opacity 120ms linear;
}
.forest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
/* If the photograph cannot be loaded, drop it and keep the gradient. */
.no-photo .forest-photo img { display: none; }

.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: var(--scene-opacity);
  transition: opacity 400ms var(--ease-out);
}

.backdrop-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 15, 10, 0.86) 0%, rgba(13, 15, 10, 0.42) 34%, rgba(13, 15, 10, 0.78) 72%, var(--ink) 100%);
  transition: opacity var(--dur-slow) var(--ease-out);
}

.grain {
  position: absolute;
  inset: -2px;
  opacity: 0.035;
  pointer-events: none;
  /* Static tile — avoid SVG feTurbulence (costly to composite every frame). */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='120' fill='%23ffffff' fill-opacity='0'/%3E%3Ccircle cx='12' cy='20' r='0.8' fill='%23fff' fill-opacity='0.55'/%3E%3Ccircle cx='48' cy='8' r='0.7' fill='%23fff' fill-opacity='0.4'/%3E%3Ccircle cx='90' cy='30' r='0.9' fill='%23fff' fill-opacity='0.5'/%3E%3Ccircle cx='30' cy='70' r='0.6' fill='%23fff' fill-opacity='0.45'/%3E%3Ccircle cx='72' cy='88' r='0.8' fill='%23fff' fill-opacity='0.35'/%3E%3Ccircle cx='105' cy='60' r='0.7' fill='%23fff' fill-opacity='0.5'/%3E%3Ccircle cx='18' cy='100' r='0.6' fill='%23fff' fill-opacity='0.4'/%3E%3Ccircle cx='58' cy='48' r='0.7' fill='%23fff' fill-opacity='0.45'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .grain { display: none; }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

/* --------------------------------------------------------------------------
   7. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(13, 15, 10, 0.82);
  border-bottom-color: var(--hairline-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; color: var(--teal); }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }
.brand__leaf {
  fill: rgba(200, 245, 66, 0.24);
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linejoin: round;
}
.brand__rib { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; }
.brand__vein { fill: none; stroke: rgba(242, 244, 230, 0.78); stroke-width: 1; stroke-linecap: round; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.16rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand__word-dim { color: var(--gold); margin-left: 0; }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current]:not([aria-current="false"]) { color: var(--bone); }
.site-nav__list a:hover::after,
.site-nav__list a[aria-current]:not([aria-current="false"])::after { transform: scaleX(1); }

.site-header__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.6rem;
  padding: 0.62rem 1.15rem;
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-out), scale var(--dur-fast) var(--ease-out);
}
.site-header__cta:hover { background: #E6FF8A; }
.site-header__cta:active { scale: 0.97; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: var(--bone);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 74px 0 auto;
  z-index: 99;
  padding: 1.5rem var(--gutter) 2rem;
  background: rgba(13, 15, 10, 0.97);
  border-bottom: 1px solid var(--hairline-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { display: grid; gap: 0.2rem; margin-bottom: 1.4rem; }
.mobile-nav a:not(.btn) {
  display: block;
  padding: 0.8rem 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--hairline-soft);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(5rem, 12vh, 8rem);
}
.hero__inner { max-width: 60rem; }

/* Entrance choreography. The scroll-driven fade lives on .hero__inner so it
   never fights these per-element keyframes. */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.js [data-hero] { animation: hero-in 1.05s var(--ease-out) both; }
.js [data-hero="1"] { animation-delay: 0.10s; }
.js [data-hero="2"] { animation-delay: 0.24s; }
.js [data-hero="3"] { animation-delay: 0.42s; }
.js [data-hero="4"] { animation-delay: 0.58s; }

.hero__title {
  font-size: clamp(2.75rem, 1.2rem + 7.4vw, 7.25rem);
  line-height: 0.99;
  letter-spacing: -0.038em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  max-width: 16ch;
  text-shadow: 0 2px 60px rgba(0, 0, 0, 0.75);
}
.hero__lede {
  margin: 1.9rem 0 0;
  max-width: 46ch;
  color: rgba(242, 244, 230, 0.82);
  font-size: clamp(1.02rem, 0.97rem + 0.36vw, 1.3rem);
  line-height: 1.62;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.8);
}
.hero__actions { margin-top: 2.6rem; }

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-line {
  display: block;
  width: 46px; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

/* --------------------------------------------------------------------------
   9. Thesis
   -------------------------------------------------------------------------- */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.thesis-card {
  position: relative;
  padding: 2.1rem 1.6rem 2.3rem;
  background: var(--surface-1);
  transition: background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.thesis-card:hover {
  background: var(--surface-2);
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.9);
  z-index: 2;
}
.thesis-card__glyph {
  width: 76px; height: 76px;
  margin-bottom: 1.7rem;
  color: var(--teal);
  opacity: 0.78;
  transition: opacity var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.thesis-card:hover .thesis-card__glyph { opacity: 1; color: var(--gold); }
.solid { width: 100%; height: 100%; overflow: visible; }
.solid__edge {
  stroke: currentColor;
  stroke-width: 0.9;
  stroke-linecap: round;
  fill: none;
}
.solid__edge--hidden {
  stroke-width: 0.7;
  stroke-dasharray: 2.5 3.5;
  opacity: 0.45;
}
.solid--tetra  { animation: spin-slow 40s linear infinite; }
.solid--octa   { animation: spin-slow 52s linear infinite reverse; }
.solid--icosa  { animation: spin-slow 64s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .solid--tetra, .solid--octa, .solid--icosa { animation: none; }
}
@media (max-width: 767px) {
  .solid--tetra, .solid--octa, .solid--icosa { animation: none; }
}

.thesis-card__title {
  font-size: 1.35rem;
  letter-spacing: -0.018em;
  margin-bottom: 0.7rem;
}
.thesis-card__body {
  margin: 0;
  color: #BCC3A6;
  font-size: 0.925rem;
  line-height: 1.66;
}

.principles {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--hairline-soft);
}
.principles__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.8rem;
}
.principles__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.principles__list li { display: flex; gap: 1rem; align-items: flex-start; }
.principles__list p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.principles__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
  flex: none;
}

/* --------------------------------------------------------------------------
   10. Portfolio
   -------------------------------------------------------------------------- */
.portfolio__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.filter { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filter__btn {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.filter__btn:hover { color: var(--bone); border-color: var(--hairline); }
.filter__btn.is-active {
  color: var(--teal);
  border-color: rgba(200, 245, 66, 0.7);
  background: rgba(200, 245, 66, 0.1);
  box-shadow: inset 0 0 14px -6px rgba(200, 245, 66, 0.9);
}
.portfolio__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.portfolio__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--hairline-soft);
  background:
    radial-gradient(90% 70% at 50% 40%, rgba(26, 31, 20, 0.5), rgba(13, 15, 10, 0.2) 70%),
    rgba(13, 15, 10, 0.55);
}

.graph {
  position: relative;
  height: clamp(400px, 56vh, 620px);
  overflow: hidden;
  touch-action: pan-y;
}
#graph-svg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
#graph-svg.is-zoomed { cursor: zoom-out; }

.graph__link {
  stroke: rgba(200, 245, 66, 0.2);
  stroke-width: 1;
  transition: stroke var(--dur-base) var(--ease-out), stroke-width var(--dur-base) var(--ease-out);
}
.graph__link.is-lit { stroke: rgba(200, 245, 66, 0.85); stroke-width: 1.4; }
.graph__link.is-dim { stroke: rgba(200, 245, 66, 0.05); }

.node { cursor: pointer; }
.node__hit { fill: transparent; }
.node__halo {
  fill: var(--teal);
  opacity: 0.14;
  transition: opacity var(--dur-base) var(--ease-out), r var(--dur-base) var(--ease-out);
}
.node__core {
  fill: var(--teal);
  transition: fill var(--dur-base) var(--ease-out), r var(--dur-base) var(--ease-out);
}
.node__ring {
  fill: none;
  stroke: rgba(200, 245, 66, 0.45);
  stroke-width: 1;
  transition: stroke var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.node__label {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-anchor: middle;
  pointer-events: none;
  transition: fill var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.node__code {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-anchor: middle;
  pointer-events: none;
}
.node[data-sector="rwa"] .node__core { fill: var(--gold); }
.node[data-sector="rwa"] .node__halo { fill: var(--gold); }
.node[data-sector="rwa"] .node__ring { stroke: rgba(216, 255, 99, 0.45); }

.node:hover .node__core,
.node:focus-visible .node__core { r: 9; }
.node:hover .node__halo,
.node:focus-visible .node__halo { opacity: 0.3; }
.node:hover .node__label,
.node:focus-visible .node__label { fill: var(--bone); }
.node:focus-visible .node__ring { stroke: var(--gold); stroke-width: 1.6; opacity: 1; }
.node.is-selected .node__core { r: 10; }
.node.is-selected .node__label { fill: var(--bone); }
.node.is-selected .node__ring { stroke: var(--gold); stroke-width: 1.4; opacity: 1; }
.node.is-dim { opacity: 0.16; }
.node.is-dim .node__hit { pointer-events: none; }

.graph__tooltip {
  position: absolute;
  z-index: 5;
  padding: 0.6rem 0.8rem;
  background: rgba(13, 15, 10, 0.94);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  transform: translate(-50%, -100%);
  white-space: nowrap;
}
.graph__tooltip b { display: block; font-weight: 500; font-size: 0.82rem; color: var(--bone); }
.graph__tooltip span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}

.graph__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.graph__empty[hidden] { display: none; }

.holding-detail {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: min(340px, calc(100% - 2.5rem));
  padding: 1.6rem 1.5rem 1.4rem;
  background: rgba(10, 12, 7, 0.96);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  box-shadow: 0 34px 80px -36px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 6;
  animation: panel-in var(--dur-base) var(--ease-out);
}
.holding-detail[hidden] { display: none; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
.holding-detail__close {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.holding-detail__close:hover { color: var(--bone); border-color: var(--hairline); }
.holding-detail__close svg { width: 13px; height: 13px; }
.holding-detail__sector {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.holding-detail__title {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  padding-right: 1.8rem;
}
.holding-detail__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  padding-block: 0.9rem;
  border-block: 1px solid var(--hairline-soft);
}
.holding-detail__stats dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}
.holding-detail__stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--bone);
}
.holding-detail__note { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.holding-detail__legal {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.portfolio__hint {
  margin: 1.2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.portfolio__disclaimer {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.portfolio__disclaimer strong { color: var(--muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   11. Team
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.team-card {
  padding: 1.5rem 1.4rem 1.7rem;
  background: var(--surface-1);
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  transform-style: preserve-3d;
  transition: background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.team-card:hover {
  background: var(--surface-2);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}
.team-card__portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(200, 245, 66, 0.16), transparent 70%),
    linear-gradient(160deg, #1A1F14, #0D0F0A);
  border: 1px solid var(--hairline-soft);
  overflow: hidden;
}
.team-card__initials {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: rgba(242, 244, 230, 0.24);
}
.team-card__name { font-size: 1.18rem; letter-spacing: -0.018em; }
.team-card__role {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.team-card__bio { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.62; }

/* Interactive card: the brief view stays readable, and the whole card is the
   trigger for the detailed profile popover. */
.team-card--interactive { cursor: pointer; }
.team-card--interactive:hover { border-color: var(--hairline); }
.team-card--interactive:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.team-card.is-active {
  border-color: rgba(200, 245, 66, 0.4);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.22), 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}
.team-card__more {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.95rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--dur-base) var(--ease-out);
}
.team-card__more svg {
  width: 12px; height: 12px;
  transition: transform var(--dur-base) var(--ease-out);
}
.team-card--interactive:hover .team-card__more,
.team-card--interactive:focus-visible .team-card__more { color: var(--teal); }
.team-card--interactive:hover .team-card__more svg,
.team-card--interactive:focus-visible .team-card__more svg { transform: translateX(3px); }

/* Verified mark — identity and role checked against primary documents. */
.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: 0.35rem;
  padding: 0.14rem 0.42rem 0.14rem 0.32rem;
  vertical-align: 0.12em;
  border: 1px solid rgba(200, 245, 66, 0.3);
  border-radius: 999px;
  background: rgba(200, 245, 66, 0.08);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--teal);
}
.verify-badge svg { width: 10px; height: 10px; flex: 0 0 auto; }
.verify-badge--inline { margin: 0 0.1rem; vertical-align: 0.05em; }

/* Verification page ------------------------------------------------------- */
.section--verify { background: rgba(13, 15, 10, 0.9); }
.section--verify .section__head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }

.verify {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: start;
}
.verify-form { margin: 0 0 1.15rem; }
.verify-form__label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.verify-form__row {
  display: flex;
  align-items: stretch;
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: rgba(10, 12, 7, 0.7);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.verify-form__row:focus-within {
  border-color: rgba(200, 245, 66, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.08);
}
.verify-form__input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.verify-form__input::placeholder { color: var(--text-dim); }
.verify-form__input:focus { outline: none; }
.verify-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 2px;
  background: var(--teal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-out);
}
.verify-form__submit svg { width: 12px; height: 12px; }
.verify-form__submit:hover { background: #E2FF9A; }
.verify-form__hint {
  margin: 0.7rem 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.verify-form__hint code {
  font-family: var(--font-mono);
  font-size: 0.94em;
  color: var(--teal);
}
.verify-form__error {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #FF8E7A;
}
.verify__note {
  max-width: 48ch;
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.verify__scope {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--hairline-soft);
  text-align: left;
}
.verify__scope > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.verify__scope dt {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: left;
}
.verify__scope dd {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
}
.verify-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--hairline-soft);
  border-radius: 3px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(200, 245, 66, 0.06), transparent 60%),
    rgba(17, 20, 9, 0.42);
}
.verify-result__state { display: flex; flex-direction: column; align-items: flex-start; }
.verify-result__state--idle,
.verify-result__state--fail,
.verify-result__state--success {
  align-items: center;
  text-align: center;
  width: 100%;
}
.verify-result__state[hidden] { display: none; }
.verify-result__mark { width: 42px; height: 42px; margin-bottom: 1.25rem; color: var(--teal); }
.verify-result__mark svg { width: 100%; height: 100%; }
.verify-result__mark--fail { color: #FF5C4D; }
.verify-result__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.verify-result__state--fail .verify-result__kicker { color: #FF5C4D; }
.verify-result__text {
  max-width: 36ch;
  margin: 0 auto;
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--text-muted);
}
.verify-result__hint {
  max-width: 36ch;
  margin: 0.7rem auto 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.verify-result__name {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.verify-result__role {
  margin: 0 0 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}
.verify-result__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: 100%;
  margin: 0 0 1.05rem;
  padding-block: 0.9rem;
  border-block: 1px solid var(--hairline-soft);
  text-align: center;
}
.verify-result__facts dt {
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.verify-result__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(242, 244, 230, 0.9);
}
.verify-result__ref {
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  color: var(--text-dim);
}
.verify-result__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0 0.2rem;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out);
}
.verify-result__open svg { width: 12px; height: 12px; transition: transform var(--dur-base) var(--ease-out); }
.verify-result__open:hover { color: #EEFFB0; }
.verify-result__open:hover svg { transform: translateX(3px); }
.verify-result__spinner {
  width: 34px; height: 34px;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(200, 245, 66, 0.22);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: verify-spin 800ms linear infinite;
}
@keyframes verify-spin { to { transform: rotate(360deg); } }
.verify-progress { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.35rem; }
.verify-progress li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.verify-progress li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(200, 245, 66, 0.18);
}
.verify-result[data-state="checking"] .verify-progress li::before {
  animation: verify-dot 320ms var(--ease-out) forwards;
}
.verify-result[data-state="checking"] .verify-progress li:nth-child(2)::before { animation-delay: 280ms; }
.verify-result[data-state="checking"] .verify-progress li:nth-child(3)::before { animation-delay: 560ms; }
@keyframes verify-dot {
  to { background: var(--teal); box-shadow: 0 0 12px rgba(200, 245, 66, 0.55); }
}

/* Profile popover ----------------------------------------------------------
   The panel is sized by its content: there is no inner scroll region. The
   layout is deliberately compact (wide measure, two-column facts, no tag
   cloud), so the full profile fits the viewport without a scrollbar. */
.team-popover {
  position: fixed;
  z-index: 120;
  width: min(438px, calc(100vw - 2rem));
  padding: 0;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(216, 255, 99, 0.07), transparent 58%),
    linear-gradient(180deg, #0A0C07, #0D0F0A);
  border: 1px solid rgba(242, 244, 230, 0.13);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 48px 110px -44px rgba(0, 0, 0, 0.98),
    0 2px 10px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
  animation: panel-in var(--dur-base) var(--ease-out);
}
.team-popover::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 255, 99, 0.65), transparent);
  pointer-events: none;
}
.team-popover[hidden] { display: none; }
/* Fallback for viewports shorter than the profile: the panel scrolls with the
   page instead of acquiring an inner scrollbar. */
.team-popover--page { position: absolute; }
.team-popover__close {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  z-index: 2;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out);
}
.team-popover__close:hover {
  color: var(--bone);
  border-color: var(--hairline-soft);
  background: rgba(242, 244, 230, 0.04);
}
.team-popover__close svg { width: 12px; height: 12px; }
.team-popover__body {
  padding: 1.75rem 1.7rem 1.55rem;
  overflow: visible;
}

.member__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  padding-right: 3.2rem;
  margin-bottom: 1.3rem;
}
.member__social {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out);
}
.member__social-link svg { width: 14px; height: 14px; }
.member__social-link:hover {
  color: var(--bone);
  border-color: rgba(200, 245, 66, 0.45);
  background: rgba(200, 245, 66, 0.08);
}
.member__portrait {
  position: relative;
  flex: 0 0 auto;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border: 1px solid rgba(242, 244, 230, 0.09);
  border-radius: 2px;
  overflow: hidden;
  background:
    radial-gradient(75% 65% at 50% 28%, rgba(200, 245, 66, 0.2), transparent 72%),
    linear-gradient(160deg, #23291A, #0D0F0A);
  box-shadow: 0 0 0 5px rgba(200, 245, 66, 0.035);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(242, 244, 230, 0.34);
}
.member__identity { min-width: 0; }
.member__verified {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}
.member__verified .verify-badge { margin-left: 0; }
.member__verified-date {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.member__name {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.member__role {
  margin: 0.42rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.member__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.2rem;
  margin: 0 0 1.35rem;
  padding-block: 1.05rem;
  border-block: 1px solid var(--hairline-soft);
}
.member__facts dt {
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.member__facts dd {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.5;
  color: rgba(242, 244, 230, 0.86);
}
.member__bio p {
  margin: 0 0 0.78rem;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-muted);
}
.member__bio p:first-child { color: rgba(242, 244, 230, 0.68); }
.member__bio p:last-child { margin-bottom: 0; }
.member__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.35rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--hairline-soft);
}
.member__action {
  position: relative;
  padding: 0 0 0.2rem;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out);
}
.member__action::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.member__action:hover { color: var(--bone); }
.member__action:hover::after { transform: scaleX(1); }
.member__action--primary { color: var(--gold); }
.member__action--primary::before {
  content: "→";
  margin-right: 0.4rem;
  font-size: 0.72rem;
}
.member__action--primary:hover { color: #EEFFB0; }

.team__note { margin: 1.6rem 0 0; font-size: 0.8rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   12. Performance
   -------------------------------------------------------------------------- */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.chart-card {
  margin: 0;
  padding: 1.5rem 1.5rem 1.2rem;
  background: var(--surface-1);
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
}
.chart-card--wide { grid-column: 1 / -1; }
.chart-card__cap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}
.chart-card__title { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.015em; }
.chart-card__note {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }

.chart-grid-line { stroke: rgba(242, 244, 230, 0.07); stroke-width: 1; }
.chart-axis-text {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.chart-line { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chart-line--gold { stroke: var(--gold); }
.chart-area { fill: url(#chartFade); }
.chart-dot { fill: var(--teal); }
.chart-crosshair { stroke: rgba(200, 245, 66, 0.35); stroke-width: 1; stroke-dasharray: 3 4; }
.chart-baseline { stroke: rgba(242, 244, 230, 0.18); stroke-width: 1; stroke-dasharray: 2 4; }
.chart-bar { fill: var(--teal); transition: fill var(--dur-base) var(--ease-out); }
.chart-bar--gold { fill: var(--gold); }
.chart-bar-label { fill: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; }
.chart-bar-value { fill: var(--bone); font-family: var(--font-mono); font-size: 10px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.1rem; }
.chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chart-legend__swatch { width: 14px; height: 2px; background: var(--teal); }
.chart-legend__swatch--gold { background: var(--gold); }

.notice {
  margin-top: 2.4rem;
  padding: 1.5rem 1.6rem;
  border-left: 2px solid var(--gold);
  background: rgba(216, 255, 99, 0.05);
  border-radius: 0 2px 2px 0;
}
.notice__title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.notice p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.notice p + p { margin-top: 0.7rem; }
.notice__fine { font-size: 0.82rem !important; color: var(--text-dim) !important; }
.notice--footer { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. Apply
   -------------------------------------------------------------------------- */
.apply {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  align-items: start;
}
.apply__intro,
.apply__card {
  border: 1px solid var(--hairline);
  background: rgba(17, 20, 9, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.apply__intro {
  position: sticky;
  top: 104px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
}
.apply__title {
  margin: 1.1rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.apply__lede {
  margin: 0 0 2rem;
  max-width: 38ch;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.apply__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.6rem;
  margin: 0 0 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline-soft);
}
.apply__stats dt {
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--text-dim);
}
.apply__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.apply__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.apply__tags li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--hairline);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--teal);
}
.apply__legal {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.apply__legal a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apply__card { padding: clamp(1.4rem, 2.6vw, 2.2rem); }

/* Founder / investor tabs */
.apply-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.8rem;
  border: 1px solid var(--hairline-soft);
}
.apply-tabs__tab {
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.apply-tabs__tab + .apply-tabs__tab { border-left: 1px solid var(--hairline-soft); }
.apply-tabs__tab:hover { color: var(--bone); background: rgba(242, 244, 230, 0.035); }
.apply-tabs__tab[aria-selected="true"] {
  color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
  background: rgba(216, 255, 99, 0.06);
}
.apply-panel[hidden] { display: none; }

.form__note {
  margin: 0 0 1.7rem;
  padding-left: 1rem;
  border-left: 1px solid var(--gold);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Fields */
.form { margin: 0; }
.field { margin-bottom: 1.15rem; }
.field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.field__label .req { color: var(--gold); }
.field__opt { color: var(--text-dim); font-weight: 400; }
.field__label--inline {
  display: inline;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
}
.field__input {
  display: block;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  background: rgba(13, 15, 10, 0.6);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0;
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.field__input::placeholder { color: var(--text-dim); opacity: 1; }
.field__input:hover { border-color: rgba(200, 245, 66, 0.3); }
.field__input:focus { border-color: var(--teal); background: rgba(13, 15, 10, 0.85); }
.field__input[aria-invalid="true"] { border-color: #FF8E7A; }
select.field__input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23D8FF63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px 8px;
}
select.field__input option { background: var(--forest-deep); color: var(--bone); }
.field__input--area { resize: vertical; min-height: 140px; line-height: 1.6; }
.field__hint { margin: 0.45rem 0 0; font-family: var(--font-body); font-size: 0.72rem; color: var(--text-dim); }
.field__count { margin: 0.45rem 0 0; font-family: var(--font-body); font-size: 0.7rem; color: var(--text-dim); }
.field__error { margin: 0.45rem 0 0; font-size: 0.78rem; color: #FF8E7A; }
.field__error[hidden] { display: none; }
.field--check { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.3rem; }
.field__check {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0.2rem 0 0;
  accent-color: var(--teal);
}
.field__error--check { margin: 0 0 1.2rem 1.95rem; }

/* Submit */
.apply__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.6rem;
  padding: 1.05rem 1.5rem;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color var(--dur-base) var(--ease-out), scale var(--dur-fast) var(--ease-out);
}
.apply__submit:hover { background: #E6FF8A; }
.apply__submit:active { scale: 0.985; }

.form__status { min-height: 1.3em; margin: 1rem 0 0; font-size: 0.84rem; color: var(--teal); }
.form__status.is-error { color: #FF8E7A; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding-block: clamp(2rem, 3.5vw, 2.75rem) 2rem;
  background: #0D0F0A;
  border-top: 1px solid var(--hairline-soft);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-block: 1rem 2.5rem;
}
.site-footer__brand { align-self: center; }
.site-footer__tag {
  margin: 1rem 0 0;
  max-width: 30ch;
  color: var(--text-dim);
  font-size: 0.86rem;
}
.site-footer__navtitle {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.site-footer__nav li + li { margin-top: 0.55rem; }
.site-footer__nav a, .site-footer__contact a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out);
}
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--teal); }
.site-footer__contact p { margin: 0 0 0.8rem; font-size: 0.88rem; color: var(--text-muted); }
.site-footer__legal {
  padding-block: 2rem;
  border-top: 1px solid var(--hairline-soft);
  display: grid;
  gap: 0.9rem;
}
.site-footer__legal p {
  margin: 0;
  max-width: 92ch;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.site-footer__legal strong { color: var(--muted); font-weight: 500; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-soft);
}
.site-footer__base p { margin: 0; font-size: 0.75rem; color: var(--text-dim); }
.site-footer__credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   15. Legal page (legal.html)
   -------------------------------------------------------------------------- */
.legal-body { max-width: 72ch; }
.legal-body section + section {
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--hairline-soft);
}
.legal-body h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.legal-body p { margin: 0 0 1rem; color: var(--text-muted); }
.legal-body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   15b. Depth: tilt glare
   The tilt itself is written by js/main.js. The glare is a soft light that
   follows the pointer across the card, so the surface reads as lit and curved.
   -------------------------------------------------------------------------- */
[data-tilt] { position: relative; }
[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%),
              rgba(200, 245, 66, 0.10), transparent 62%);
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}
[data-tilt].is-tilting::after { opacity: 1; }

/* --------------------------------------------------------------------------
   16. Reveal choreography
   -------------------------------------------------------------------------- */
/* Elements marked [data-reveal] start hidden only when JS is present, so the
   page is fully readable if the script fails. */
.js [data-reveal] { opacity: 0; translate: 0 22px; rotate: x 7deg; transform-origin: 50% 0; }
.js [data-reveal].is-revealed {
  opacity: 1;
  translate: 0 0;
  rotate: x 0deg;
  transition: opacity 1000ms var(--ease-out), translate 1000ms var(--ease-out), rotate 1000ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
/* Give the rising blocks a shared perspective so the rotation reads as depth. */
section { perspective: 1400px; }

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; rotate: none; }
  .js [data-hero] { animation: none; opacity: 1; transform: none; }
  .btn:active { scale: none; }
  .solid { animation: none; }
  .forest-photo { transform: none; }
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .thesis-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .principles__list { grid-template-columns: 1fr; gap: 1.4rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .site-nav__list { gap: 1.1rem; }
  .site-nav__list a { letter-spacing: 0; font-size: 0.86rem; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .apply { grid-template-columns: 1fr; }
  .apply__intro { position: static; }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-card--wide { grid-column: auto; }
  .verify { grid-template-columns: 1fr; gap: 2rem; }
  .verify-result { min-height: 320px; }
}

@media (max-width: 767px) {
  :root { --section-y: clamp(3.75rem, 9vh, 6rem); }

  .hero { min-height: 100svh; padding-block: 6.5rem 4.5rem; }
  .hero__title { max-width: 100%; }
  .hero__scroll { display: none; }

  .thesis-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .portfolio__stage { border: none; }
  .graph { height: 62vh; min-height: 380px; }
  .holding-detail {
    position: static;
    width: auto;
    margin: 0 0.75rem 0.75rem;
  }
  .portfolio__stage:has(.holding-detail:not([hidden])) .graph { height: 46vh; }
  .node__label { font-size: 11px; }
  .node__code { display: none; }

  .site-header__inner { min-height: 64px; }
  .mobile-nav { inset-block-start: 64px; }

  .team-popover__body { padding: 1.45rem 1.35rem 1.3rem; }
  .member__facts { gap: 0.8rem 1rem; }
}

@media (max-width: 420px) {
  .btn { --btn-pad-x: 1.4rem; font-size: 0.76rem; }
  .holding-detail__stats { grid-template-columns: 1fr 1fr; }

  .verify-form__row { flex-direction: column; }
  .verify-form__submit { justify-content: center; }
  .verify-result { padding: 1.45rem 1.3rem; }
  .verify-result__facts { grid-template-columns: 1fr 1fr; }
  .verify-result__facts > div:last-child { grid-column: 1 / -1; }
}

/* Coarse pointers get no hover lift вЂ” there is no hover to speak of. */
@media (hover: none) {
  .thesis-card:hover, .team-card:hover { transform: none; }
  .btn--primary:hover { box-shadow: none; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .backdrop, .site-header, .mobile-nav, .hero__scroll, .graph__tooltip, .team-popover { display: none !important; }
  body { background: #fff; color: #111; }
  .section { background: none; }
  .section__title, .hero__title { color: #111; }
  a { text-decoration: underline; }
}

/* Team portraits */
.team-card__portrait img,
.member__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--dur-base) var(--ease-out);
}
.team-card__portrait img[src$=".svg"],
.member__portrait img[src$=".svg"] {
  object-fit: contain;
  object-position: center;
  padding: 18%;
}
.team-card--interactive:hover .team-card__portrait img,
.team-card--interactive:focus-visible .team-card__portrait img {
  transform: scale(1.03);
}
.team-card--interactive:hover .team-card__portrait img[src$=".svg"],
.team-card--interactive:focus-visible .team-card__portrait img[src$=".svg"] {
  filter: drop-shadow(0 0 12px rgba(200, 245, 66, 0.35));
}
@media (prefers-reduced-motion: reduce) {
  .team-card--interactive:hover .team-card__portrait img,
  .team-card--interactive:focus-visible .team-card__portrait img { transform: none; }
}

/* --------------------------------------------------------------------------
   20. Process, quiz, journal, form trap
   -------------------------------------------------------------------------- */

/* How it works */
.section--process { background: rgba(13, 15, 10, 0.78); }
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
}
.process__step {
  position: relative;
  padding: 1.8rem 1.4rem 0 0;
}
.process__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.process__step h3 {
  margin: 0.9rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
.process__step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-muted);
}
.process__note {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; gap: 1.6rem 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* Honeypot field: hidden from people, visible to bots that fill every input */
.form__trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__guard {
  margin: 0.85rem 0 0.55rem;
  min-height: 65px;
}
.form { position: relative; }

/* Find your track quiz */
.quiz {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(13, 15, 10, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.quiz.is-open { display: flex; }
.quiz__card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: 2.2rem 2rem 2rem;
  background: var(--forest-deep);
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.quiz__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--hairline-soft);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.quiz__close:hover { color: var(--bone); border-color: var(--hairline); }
.quiz__progress {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.quiz__title {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  padding-right: 2.5rem;
}
.quiz__opts { display: grid; gap: 0.6rem; }
.quiz__opt {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  text-align: left;
  background: rgba(13, 15, 10, 0.45);
  border: 1px solid var(--hairline-soft);
  color: var(--bone);
  font: inherit;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.quiz__opt:hover,
.quiz__opt:focus-visible { border-color: var(--teal); background: rgba(200, 245, 66, 0.06); }
.quiz__opt-label { font-size: 1rem; font-weight: 500; }
.quiz__opt-hint { font-size: 0.85rem; color: var(--text-dim); }
.quiz__text {
  margin: 0 0 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.quiz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* Journal */
.article-page { padding: 140px 0 96px; }
.article { max-width: 720px; }
.article h1 {
  margin: 1rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.article h2 {
  margin: 2.6rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.article__meta {
  margin: 0.4rem 0 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.article p,
.article li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.article p { margin: 0 0 1.1rem; }
.article ul { margin: 0 0 1.4rem; padding-left: 1.2rem; }
.article li { margin-bottom: 0.5rem; }
.article strong { color: var(--bone); font-weight: 500; }
.article__lede { font-size: 1.12rem; color: var(--text); }
.article__cta {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--hairline-soft);
}
.journal-list {
  display: grid;
  gap: 1px;
  margin-top: 2.4rem;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.journal-card {
  display: block;
  padding: 1.8rem;
  background: var(--forest-deep);
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-out);
}
.journal-card:hover { background: #1A1F14; }
.journal-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.journal-card h2 {
  margin: 0.6rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.journal-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Buttons rendered as <button> need the same reset as links, or the browser
   paints its own grey background behind ghost buttons. */
button.btn {
  font: inherit;
  cursor: pointer;
}
button.btn--ghost {
  background: transparent;
}


/* --------------------------------------------------------------------------
   Thaw typography: bold, confident type.
   Space Grotesk carries headings and body; JetBrains Mono carries labels.
   Headings sit at 700, body at 500 so the page reads as solid, not thin.
   -------------------------------------------------------------------------- */
body {
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4,
.brand__word,
.quiz__title,
.apply__title,
.stat__value,
.journal-card h2,
.article h1,
.article h2,
.section__title,
.thesis-card__title,
.team-card__name,
.process__step h3,
.holding-detail__title,
.member__name {
  font-weight: 700;
  letter-spacing: -0.02em;
}
p, li, dd, dt, figcaption, label, input, select, textarea, button {
  font-weight: 500;
}
.eyebrow,
.site-nav__list a,
.site-header__cta,
.btn,
.apply-tabs__tab,
.field__label,
.journal-card__meta,
.team-card__role,
.team-card__more,
.process__num {
  font-weight: 600;
}
.article p, .article li, .section__lede, .process__step p, .thesis-card__body {
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Round 2 adjustments
   -------------------------------------------------------------------------- */

/* Hero headline: smaller, so the line reads as a statement, not a poster. */
.hero__title {
  font-size: clamp(2.3rem, 1.25rem + 4.2vw, 4.9rem);
  max-width: 18ch;
}

/* Hero buttons: identical size regardless of label or arrow. */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__actions .btn {
  box-sizing: border-box;
  width: 16rem;
  height: 3.4rem;
  padding: 0 1.25rem;
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
}

/* Footer: wordmark larger, extra copy removed. */
.site-footer__brand .brand { gap: 0.9rem; }
.site-footer__brand .brand__mark { width: 46px; height: 46px; }
.site-footer__brand .brand__word {
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem);
  letter-spacing: -0.025em;
}

/* Apply form: two-column rows on desktop, single column on phones. */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}
.form__row .field { min-width: 0; }
.field__input--short { min-height: 0; }
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}
.apply__heading {
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem);
  margin: 1.1rem 0 1.1rem;
}

/* Find your track: the overlay fades in and the card rises into place. */
.quiz.is-open { animation: quiz-fade 260ms var(--ease-out) both; }
.quiz.is-open .quiz__card { animation: quiz-rise 460ms var(--ease-out) both; }
@keyframes quiz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes quiz-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

/* Portfolio: holding panel slides in from the right, stats follow in turn. */
.holding-detail.is-entering { animation: detail-in 460ms var(--ease-out) both; }
.holding-detail.is-entering .holding-detail__stats > div,
.holding-detail.is-entering .holding-detail__note {
  animation: detail-item 520ms var(--ease-out) both;
}
.holding-detail.is-entering .holding-detail__stats > div:nth-child(2) { animation-delay: 70ms; }
.holding-detail.is-entering .holding-detail__stats > div:nth-child(3) { animation-delay: 140ms; }
.holding-detail.is-entering .holding-detail__note { animation-delay: 200ms; }
@keyframes detail-in {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes detail-item {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Charts take no hover glow. The tilt motion stays, the light does not. */
.chart-card[data-tilt]::after { display: none; }

/* --------------------------------------------------------------------------
   Team profile: side panel
   Slides in from the right over a dimmed page. The card stays where it is.
   -------------------------------------------------------------------------- */
.team-scrim {
  position: fixed;
  inset: 0;
  z-index: 119;
  background: rgba(5, 6, 3, 0.64);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  animation: quiz-fade 260ms var(--ease-out) both;
}
.team-scrim[hidden] { display: none; }

.team-popover {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 120;
  width: min(480px, 100vw);
  height: 100vh;
  height: 100dvh;
  max-height: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(180deg, #0D0F0A 0%, #090A06 100%);
  border: 0;
  border-left: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: -40px 0 90px -40px rgba(0, 0, 0, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
  animation: none;
}
.team-popover[hidden] { display: none; }
.team-popover.is-entering { animation: team-drawer 440ms var(--ease-out) both; }
@keyframes team-drawer {
  from { transform: translateX(100%); }
  to   { transform: none; }
}
/* A thin lime edge that fades out at both ends, in place of the old top rule. */
.team-popover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 255, 99, 0.7), transparent);
  pointer-events: none;
}

.team-popover__bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--hairline-soft);
}
.team-popover__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.team-popover__close {
  position: static;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out);
}
.team-popover__close:hover {
  color: var(--bone);
  border-color: var(--hairline);
  background: rgba(200, 245, 66, 0.06);
}
.team-popover__close svg { width: 11px; height: 11px; }

.team-popover__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2.2rem 1.6rem 1.8rem;
}

.team-popover .member__head {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-right: 0;
}
.team-popover .member__social {
  top: 0;
  right: 0;
}
.team-popover .member__portrait {
  width: 136px;
  height: 136px;
  border: 1px solid var(--hairline);
}
.team-popover .member__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.team-popover .member__portrait img[src$=".svg"] {
  object-fit: contain;
  object-position: center;
  padding: 18%;
}
.team-popover .member__name {
  font-size: clamp(2rem, 1.55rem + 1.3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.team-popover .member__role { margin-top: 0.7rem; font-size: 0.68rem; }

.team-popover .member__facts {
  display: block;
  margin: 2rem 0 1.8rem;
  padding: 0;
  border-block: 1px solid var(--hairline-soft);
}
.team-popover .member__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.team-popover .member__facts > div:last-child { border-bottom: 0; }
.team-popover .member__facts dt { margin: 0; flex: none; }
.team-popover .member__facts dd { margin: 0; text-align: right; font-size: 0.9rem; }

.team-popover .member__bio p { font-size: 1rem; line-height: 1.7; }

.team-popover .member__actions {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
}
.team-popover .member__action--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(200, 245, 66, 0.5);
  background: linear-gradient(180deg, rgba(200, 245, 66, 0.16), rgba(200, 245, 66, 0.06));
  color: var(--bone);
  font-size: 0.7rem;
  text-decoration: none;
}
.team-popover .member__action--primary::before { margin: 0; }
.team-popover .member__action--primary::after { display: none; }
.team-popover .member__action--primary:hover {
  color: var(--bone);
  background: linear-gradient(180deg, rgba(200, 245, 66, 0.26), rgba(200, 245, 66, 0.1));
  border-color: rgba(200, 245, 66, 0.85);
}

@media (max-width: 520px) {
  .team-popover__bar { padding: 1rem 1.2rem; }
  .team-popover__body { padding: 1.8rem 1.2rem 1.4rem; }
}

/* Brand mark: the uploaded leaf, transparent PNG. */
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

.legal-updated { margin-top: 2rem; font-size: 0.85rem; color: var(--text-dim); }
