/* ============================================================
   QDDA — Quantum Drug Discovery Architecture
   Design system / stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&family=Newsreader:ital,opsz,wght@1,6..72,300..600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- color ---- */
  --bg:        #0c0719;
  --bg-2:      #120a26;
  --bg-3:      #160d2e;
  --panel:     rgba(255,255,255,0.022);
  --panel-2:   rgba(255,255,255,0.04);
  --line:      rgba(176,158,224,0.12);
  --line-2:    rgba(176,158,224,0.20);

  --ink:       #f3effa;
  --muted:     #a99fc6;
  --muted-2:   #756c95;

  --amber:     #f5a524;
  --amber-2:   #ffc266;
  --amber-dim: rgba(245,165,36,0.14);

  --cyan:      #2fd4c4;
  --cyan-2:    #6ff0e4;
  --cyan-dim:  rgba(47,212,196,0.12);

  --violet:    #9d7cf6;
  --violet-2:  #c4aeff;

  --magenta:   #e368c8;

  /* ---- type ---- */
  --sans:  'Schibsted Grotesk', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* ---- layout ---- */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* deep ambient gradients painted under everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 78% -8%, rgba(157,124,246,0.16), transparent 55%),
    radial-gradient(90% 60% at 8% 8%, rgba(47,212,196,0.07), transparent 50%),
    radial-gradient(140% 90% at 50% 120%, rgba(245,165,36,0.05), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
}

/* faint film grain / noise */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

::selection { background: rgba(245,165,36,0.28); color: #fff; }

/* ---- shared text utilities ---- */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow.cy { color: var(--cyan); }
.eyebrow.vi { color: var(--violet); }
.em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--amber-2);
}
.em.cy { color: var(--cyan-2); }
.em.vi { color: var(--violet-2); }

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

/* ---- layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { position: relative; padding: clamp(80px, 11vw, 168px) 0; }

h1,h2,h3,h4 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }

.sec-head { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.sec-head .marker { }
.sec-head .greek {
  font-family: var(--serif);
  font-style: italic;
  font-size: 76px;
  line-height: 0.8;
  color: var(--violet);
  display: block;
  margin-top: 8px;
}
.sec-head h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.sec-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  margin-top: 26px;
}
@media (max-width: 760px){
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-head .greek { font-size: 54px; }
}

/* divider line between sections */
.rule { height: 1px; background: var(--line); margin: 0 var(--gut); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gut);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(12,7,25,0.82), rgba(12,7,25,0));
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(12,7,25,0.9);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.01em; }
.brand .glyph {
  width: 22px; height: 22px; position: relative; flex: 0 0 auto;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  box-shadow: inset 0 0 0 4px transparent, 0 0 10px rgba(245,165,36,0.35);
}
.brand .glyph::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px solid var(--cyan);
}
.brand .glyph::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  transform: translate(-50%,-50%); border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}
.brand .ver { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.12em; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  transition: color .25s; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content:''; position:absolute; left:0; right:100%; bottom:-6px; height:1px;
  background: var(--amber); transition: right .3s;
}
.nav-links a:hover::after { right: 0; }
@media (max-width: 860px){ .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 62% 46%, rgba(157,124,246,0.10), transparent 60%),
    radial-gradient(120% 90% at 40% 50%, transparent 45%, rgba(12,7,25,0.42) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; align-items: center; }
@media (max-width: 940px){ .hero-grid { grid-template-columns: 1fr; gap: 20px; } }

.hero-meta { display: flex; flex-direction: column; gap: 22px; }
.meta-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.meta-row .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.meta-row .v { font-size: 14.5px; color: var(--muted); }
.confidential { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); display: inline-flex; align-items: center; gap: 8px; }
.confidential .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.hero h1 .em { font-size: 1.02em; }
.subglyph {
  font-family: var(--mono); font-size: clamp(12px, 1.35vw, 17px); line-height: 1.7;
  letter-spacing: 0.42em; color: var(--muted); margin-top: 22px; font-weight: 500;
}
.hero p.lede { font-size: 16.5px; color: var(--muted); max-width: 46ch; margin: 30px 0 0; }
.hero p.lede.it { font-family: var(--serif); font-style: italic; color: #b9b0d4; }
.hero-paras { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
@media (max-width: 620px){ .hero-paras { grid-template-columns: 1fr; } }

.builtfor { margin-top: 38px; }
.builtfor .lbl { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.builtfor .v { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 24px; border-radius: 3px; cursor: pointer; transition: all .25s; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 9px;
}
.btn-primary { background: var(--amber); color: #1a0f00; }
.btn-primary:hover { background: var(--amber-2); box-shadow: 0 0 0 1px var(--amber), 0 8px 30px rgba(245,165,36,0.3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-2); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .ln { width: 1px; height: 34px; background: linear-gradient(var(--amber), transparent); animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0%{opacity:.2; transform: scaleY(.4); transform-origin: top;} 50%{opacity:1;} 100%{opacity:.2; transform: scaleY(1); transform-origin: top;} }

/* ============================================================
   ARCHITECTURE LOOP
   ============================================================ */
.loop-block { margin-top: 60px; position: relative; }
.loop-frame {
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.005));
  padding: 34px clamp(18px,3vw,40px) 40px; position: relative; overflow: hidden;
}
.loop-frame .lf-head { text-align: center; margin-bottom: 8px; }
.loop-frame .lf-head h3 { font-size: 22px; font-weight: 500; }
.loop-frame .lf-head .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); margin-top: 6px; }

.loop-stage { position: relative; height: 460px; margin-top: 10px; }
#loop-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 3; pointer-events: none; }

/* ---- substrate poles (CLASSICAL / QUANTUM) ---- */
.loop-pole { position: absolute; top: 50%; transform: translate(-50%,-50%); z-index: 2; text-align: center; pointer-events: none; }
.loop-pole.classical { left: 33%; }
.loop-pole.quantum   { left: 67%; }
.pole-icon { position: relative; width: 78px; height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 15px; }
.pole-icon svg { width: 44px; height: 44px; }
.loop-pole.classical .pole-icon {
  color: var(--violet);
  border: 1.5px solid rgba(157,124,246,0.6);
  background: radial-gradient(circle at 50% 50%, rgba(157,124,246,0.12), rgba(157,124,246,0.02) 70%);
  box-shadow: 0 0 32px rgba(157,124,246,0.22), inset 0 0 22px rgba(157,124,246,0.07);
}
.loop-pole.quantum .pole-icon {
  color: var(--cyan);
  border: 1.5px solid rgba(47,212,196,0.6);
  background: radial-gradient(circle at 50% 50%, rgba(47,212,196,0.12), rgba(47,212,196,0.02) 70%);
  box-shadow: 0 0 32px rgba(47,212,196,0.22), inset 0 0 22px rgba(47,212,196,0.07);
}
.pole-lbl { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; margin-top: 13px; }
.loop-pole.classical .pole-lbl { color: var(--violet-2); }
.loop-pole.quantum .pole-lbl { color: var(--cyan-2); }
.pole-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted-2); margin-top: 4px; }
/* dashed link from each pole toward the core */
.pole-link { position: absolute; top: 50%; width: 46px; height: 0; border-top: 1.5px dashed; transform: translateY(-50%); }
.loop-pole.classical .pole-link { left: 100%; border-color: rgba(157,124,246,0.5); }
.loop-pole.quantum .pole-link { right: 100%; border-color: rgba(47,212,196,0.5); }
.pole-link::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translate(-50%,-50%); }
.loop-pole.classical .pole-link::after { left: 100%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.loop-pole.quantum   .pole-link::after { right: 100%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.loop-node {
  position: absolute; width: 218px; z-index: 4; padding: 13px 15px; border-radius: 6px;
  background: rgba(20,12,38,0.86); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s, box-shadow .3s; cursor: default;
}
.loop-node:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: 0 10px 34px rgba(0,0,0,0.5); }
.loop-node .ln-h { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--amber); }
.loop-node .ln-t { font-size: 15px; font-weight: 500; margin-top: 3px; }
.loop-node .ln-s { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.loop-node.q .ln-h { color: var(--cyan); }
@media (max-width: 820px){
  .loop-stage { height: auto; }
  #loop-svg, .loop-core, .loop-pole { display: none; }
  .loop-node { position: relative !important; left:auto!important; top:auto!important; right:auto!important; width: 100%; margin-bottom: 10px; }
}

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 64px; }
.stat { padding: 8px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-size: clamp(48px, 6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--amber); display: flex; align-items: baseline; gap: 6px; }
.stat .num .u { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); letter-spacing: 0; }
.stat .lbl { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-top: 14px; }
.stat .desc { font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--muted-2); margin-top: 8px; line-height: 1.45; }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr 1fr; gap: 30px 0; } }

/* ============================================================
   SIX DESCENTS
   ============================================================ */
.descents { position: relative; margin-top: 70px; }
.descent-track { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.descent-fill { position: absolute; left: 0; top: 0; width: 100%; background: linear-gradient(var(--amber), var(--cyan)); height: 0; box-shadow: 0 0 14px var(--amber); }
.descent { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 26px 0; position: relative; }
.descent .glyph-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.descent .dnum { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--violet); line-height: 1; }
.descent .node-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--muted-2); z-index: 2; transition: all .4s; }
.descent.lit .node-dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 16px var(--amber); }
.descent .body { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: start; }
.descent .mini-canvas { width: 120px; height: 100px; }
.descent h3 { font-size: 26px; font-weight: 500; }
.descent .dtext { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 60ch; }
.descent .dtag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--cyan); margin-top: 14px; display: inline-block; padding: 5px 11px; border: 1px solid var(--cyan-dim); border-radius: 3px; background: var(--cyan-dim); }
@media (max-width: 720px){
  .descent .body { grid-template-columns: 1fr; }
  .descent .mini-canvas { width: 100%; height: 120px; }
}
.loop-closed { margin-top: 40px; padding-left: 82px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
.loop-closed b { color: var(--amber-2); font-weight: 400; }

/* ============================================================
   THREE PILLARS
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 70px; }
@media (max-width: 880px){ .pillars { grid-template-columns: 1fr; } }
.pillar {
  border: 1px solid var(--line); border-radius: 8px; padding: 0 0 30px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color .35s, transform .35s;
}
.pillar:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pillar .roman { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted-2); padding: 22px 26px 0; }
.pillar .engine { height: 200px; position: relative; margin: 16px 0 6px; }
.pillar .engine canvas { width: 100%; height: 100%; }
.pillar h3 { font-size: 27px; padding: 0 26px; font-weight: 500; }
.pillar p { color: var(--muted); font-size: 14.5px; padding: 0 26px; margin: 14px 0 0; line-height: 1.55; }
.pillar p .hl { color: var(--ink); }

/* ============================================================
   KNOWLEDGE BASES
   ============================================================ */
.kb-table { margin-top: 64px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.kb-row { display: grid; grid-template-columns: 230px 1fr 1fr 1fr; border-top: 1px solid var(--line); }
.kb-row:first-child { border-top: none; }
.kb-side { padding: 28px 26px; border-right: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.kb-side .ri { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--violet); line-height: 1; }
.kb-side .nm { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-top: 14px; }
.kb-side .ds { font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.kb-cell { padding: 28px 24px; border-right: 1px solid var(--line); transition: background .3s; }
.kb-cell:last-child { border-right: none; }
.kb-cell:hover { background: rgba(245,165,36,0.05); }
.kb-cell .code { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--amber); }
.kb-cell .t { font-size: 15.5px; font-weight: 500; margin-top: 8px; }
.kb-cell .d { font-size: 13px; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }
@media (max-width: 880px){
  .kb-row { grid-template-columns: 1fr; }
  .kb-side, .kb-cell { border-right: none; }
}
.kb-foot { text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); max-width: 70ch; margin: 38px auto 0; }
.kb-foot b { color: var(--amber-2); font-weight: 400; }

/* equations marquee */
.eq-marquee { margin-top: 70px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.eq-track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.eq-track span { font-family: var(--mono); font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.eq-track span b { color: var(--cyan); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   COMPUTE SUBSTRATE
   ============================================================ */
.substrate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
@media (max-width: 880px){ .substrate-grid { grid-template-columns: 1fr; } }
.hex-stage { position: relative; aspect-ratio: 1/1; max-width: 460px; }
.hex-stage canvas { width: 100%; height: 100%; }
.hex-readout { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--cyan-2); pointer-events: none; }
.substrate-copy h3 { font-family: var(--serif); font-style: italic; font-size: clamp(28px,3.4vw,42px); font-weight: 400; color: var(--ink); margin-bottom: 22px; }
.substrate-copy h3 .am { color: var(--amber-2); }
.substrate-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 20px; }
.substrate-copy p b { color: var(--ink); font-weight: 500; }
.substrate-copy .q { color: var(--cyan); }
.sov { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.sov .tag { display: block; font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted-2); margin-top: 10px; }

/* ============================================================
   PHASES
   ============================================================ */
.phases { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 64px; }
@media (max-width: 880px){ .phases { grid-template-columns: 1fr 1fr; gap: 36px 0; } }
@media (max-width: 520px){ .phases { grid-template-columns: 1fr; } }
.phase { padding: 0 26px; position: relative; border-left: 1px solid var(--line); }
.phase:first-child { border-left: none; padding-left: 0; }
.phase .ptl { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.phase .pdot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--muted-2); }
.phase.active .pdot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 12px var(--amber); }
.phase.imminent .pdot { background: var(--amber); border-color: var(--amber); }
.phase .pline { flex: 1; height: 1px; background: var(--line); }
.phase .ph { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--amber); }
.phase .pwhen { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: 0.06em; }
.phase h4 { font-size: 20px; font-weight: 500; margin-top: 16px; line-height: 1.15; }
.phase ul { list-style: none; padding: 0; margin: 18px 0 0; }
.phase li { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); padding: 7px 0 7px 18px; position: relative; border-top: 1px solid var(--line); }
.phase li:first-child { border-top: none; }
.phase li::before { content: '›'; position: absolute; left: 0; color: var(--cyan); font-style: normal; }

/* ============================================================
   PARTNERSHIP
   ============================================================ */
.modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 64px; }
@media (max-width: 880px){ .modes { grid-template-columns: 1fr; } }
.mode {
  border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); transition: all .35s;
}
.mode:hover { border-color: var(--line-2); transform: translateY(-3px); }
.mode.feat { border-color: var(--amber); background: linear-gradient(180deg, rgba(245,165,36,0.06), transparent); }
.mode .badge { position: absolute; top: -1px; right: 22px; background: var(--amber); color: #1a0f00; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; padding: 5px 10px; border-radius: 0 0 4px 4px; }
.mode .gk { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--violet); }
.mode .mtag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-left: 10px; }
.mode h3 { font-size: 28px; margin-top: 16px; }
.mode.feat h3 { color: var(--amber-2); }
.mode p { color: var(--muted); font-size: 14.5px; margin: 14px 0 22px; line-height: 1.55; }
.mode ul { list-style: none; padding: 0; margin: 0; }
.mode li { font-size: 13.5px; color: var(--ink); padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative; }
.mode li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.mode.feat li::before { background: var(--amber); }

/* ============================================================
   INVITATION + FOUNDERS + FOOTER
   ============================================================ */
.invite { text-align: center; }
.invite h2 {
  font-size: clamp(40px, 6.5vw, 92px); line-height: 1.0; letter-spacing: -0.04em; max-width: 18ch; margin: 0 auto;
}
.invite .body { max-width: 60ch; margin: 40px auto 0; }
.invite .body p { font-size: 17px; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }
.invite .body p b { color: var(--ink); font-weight: 500; }
.invite .cta-row { justify-content: center; margin-top: 40px; }

.founders { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 90px; }
@media (max-width: 720px){ .founders { grid-template-columns: 1fr; } }
.founder { border-top: 1px solid var(--line-2); padding-top: 20px; }
.founder .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.founder .nm { font-size: 21px; font-weight: 500; margin-top: 12px; }
.founder .org { font-size: 13.5px; color: var(--muted-2); margin-top: 6px; }

.footer { border-top: 1px solid var(--line); padding: 70px 0 50px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }
.footer .ft-brand .big { font-size: 24px; font-weight: 600; }
.footer .ft-brand .meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); line-height: 1.8; margin-top: 14px; letter-spacing: 0.04em; }
.footer h5 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: 13.5px; color: var(--muted); transition: color .25s; }
.footer li a:hover { color: var(--cyan-2); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted-2); }
@media (max-width: 620px){ .footer-bot { flex-direction: column; gap: 12px; text-align: center; } }
