/* TASUMER MAF — tasumermaf.com
   Design system inherited from rhombic/website
   Palette: 8-Law Weave
   Typography: Cormorant Garamond + Inter
*/

:root {
  /* 8-Law Weave palette (Falco / Vadrashinetal) */
  --cubic: #3D3D6B;       /* Fall of Neutral Events (11) — indigo */
  --fcc: #B34444;          /* Geometric Essence (67) — brick red */
  --accent: #FFD700;       /* Kaos (23) — yellow gold */
  --sync: #FF8C42;         /* Synchronicity (89) — orange */
  --azure: #4A90E2;        /* Arrow of Complexity (17) — azure */
  --green: #52A352;        /* Sole Atom (19) — green */
  --silver: #C0C0C0;       /* Time Matrix (29) — silver */
  --bg: #0c0c16;
  --bg-section: #10101e;
  --bg-card: rgba(255,255,255,0.04);
  --text: #ece8e3;
  --text-dim: #b5b0ba;
  --border: rgba(255,255,255,0.08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ═══ LAYOUT ═══ */

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--bg-section);
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--fcc);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

a:hover { border-bottom-color: var(--fcc); }

strong { font-weight: 500; color: var(--text); }
em { color: var(--text); }

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85em;
  background: rgba(255,255,255,0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

blockquote {
  border-left: 3px solid var(--fcc);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-dim);
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ═══ HERO ═══ */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

#hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.hero-greek {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-canvas {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  opacity: 0.25;
}

/* ═══ HERO STAT ═══ */

.hero-stat {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3em;
  color: var(--accent);
}

/* ═══ THESIS ═══ */

.thesis-stat {
  text-align: center;
  margin: 3rem 0;
}

.thesis-stat .big-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
}

.thesis-stat .big-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

.paper-arc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.arc-step {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  flex: 1;
  min-width: 180px;
}

.arc-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.arc-q {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.arc-a {
  font-weight: 500;
  font-size: 0.9rem;
}

.arc-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  opacity: 0.4;
}

/* ═══ PIONEERS ═══ */

.pioneers {
  margin-top: 2rem;
}

.pioneer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.pioneer:last-child {
  border-bottom: none;
}

.pioneer-meta {
  text-align: right;
}

.pioneer-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.pioneer-year {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pioneer-body p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.pioneer-concept {
  color: var(--accent);
  font-weight: 500;
}

.scale-callout {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.scale-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.scale-label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.scale-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ═══ TOOLS ═══ */

.tool-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  padding: 1.8rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.tool-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tool-card .tool-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.tool-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.tool-card a {
  font-size: 0.85rem;
}

/* ═══ CIRCUIT ═══ */

.circuit-container {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.circuit-ring {
  position: relative;
  width: 380px;
  height: 380px;
}

.circuit-node {
  position: absolute;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  line-height: 1.3;
}

.circuit-node.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* Position nodes in a circle — nth-of-type skips the SVG element */
.circuit-node:nth-of-type(1) { top: 15px;  left: 145px; }    /* Research — top */
.circuit-node:nth-of-type(2) { top: 80px;  left: 258px; }    /* Evidence — top right */
.circuit-node:nth-of-type(3) { top: 210px; left: 258px; }    /* Consulting — bottom right */
.circuit-node:nth-of-type(4) { top: 275px; left: 145px; }    /* Revenue — bottom */
.circuit-node:nth-of-type(5) { top: 210px; left: 32px; }     /* Experiments — bottom left */
.circuit-node:nth-of-type(6) { top: 80px;  left: 32px; }     /* Products — top left */

.circuit-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ═══ PRINCIPLES ═══ */

.principles-list {
  list-style: none;
  counter-reset: principle;
  margin-top: 2rem;
}

.principles-list li {
  counter-increment: principle;
  padding: 1.2rem 0 1.2rem 3.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  position: relative;
  line-height: 1.7;
}

.principles-list li:last-child {
  border-bottom: none;
}

.principles-list li::before {
  content: counter(principle) ".";
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 1.2rem;
}

.principles-list strong {
  color: var(--text);
}

/* ═══ FOOTER ═══ */

footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-prime {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ═══ RESPONSIVE ═══ */

@media (max-width: 768px) {
  html { font-size: 16px; }

  #hero h1 { font-size: 2.8rem; }

  .pioneer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .pioneer-meta {
    text-align: left;
  }

  .scale-callout {
    grid-template-columns: 1fr;
  }

  .tool-cards {
    grid-template-columns: 1fr;
  }

  .paper-arc {
    flex-direction: column;
  }

  .arc-arrow {
    transform: rotate(90deg);
  }

  .circuit-ring {
    width: 300px;
    height: 300px;
  }

  .circuit-node {
    width: 72px;
    height: 72px;
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  #hero h1 { font-size: 2.2rem; letter-spacing: 0.04em; }
  .hero-greek { font-size: 1.1rem; }
}
