:root {
  --ivory: #FAFAF6;
  --warm-white: #F5F4EF;
  --sand: #EDE9E0;
  --stone: #D5CFC3;
  --graphite: #6B6560;
  --charcoal: #3D3A36;
  --ink: #1E1C19;
  --accent: #8B6914;
  --accent-soft: #B8962E;
  --accent-bg: rgba(139, 105, 20, 0.06);
  --accent-border: rgba(139, 105, 20, 0.15);
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--sans); font-weight: 400; color: var(--charcoal);
  background: var(--ivory); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; position: relative; }
.section + .section { border-top: 1px solid var(--sand); }


p {margin-bottom: 1rem;}

/* --- Knowledge Graph Background --- */
.kg-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.kg-bg svg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}

/* --- Grain --- */
body::after {
  content: ''; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, footer { position: relative; z-index: 2; }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Header --- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 250, 246, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled { border-bottom-color: var(--sand); box-shadow: 0 1px 12px rgba(0,0,0,0.04); }
header .container { display: flex; justify-content: space-between; align-items: center; height: 64px; }

.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); letter-spacing: 0.03em; }
.logo-text span { color: var(--accent); }

nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  color: var(--graphite); text-decoration: none;
  letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.25s;
}
nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 101;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--ink);
  position: absolute; left: 0; transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* --- Hero --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 64px; position: relative; }
.hero-inner {
  width: 100%; padding: 4rem 0;
  display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: center;
}
.hero-content { order: 1; }
.hero-photo-col { order: 2; }

.hero-label {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 2rem; animation: fadeIn 0.8s ease 0.2s both;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.15; color: var(--ink);
  margin-bottom: 1.5rem; animation: fadeUp 0.9s ease 0.4s both;
}
.hero h1 strong { font-weight: 600; display: block; }

.hero-status {
  font-family: var(--sans); font-size: 1.02rem; font-weight: 400;
  color: var(--graphite); line-height: 1.6; max-width: 520px;
  margin-bottom: 1rem; animation: fadeUp 0.9s ease 0.6s both;
}
.hero-message {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  font-style: italic; color: var(--charcoal); line-height: 1.7;
  max-width: 500px; margin: 2rem 0 2.5rem; padding-left: 1.5rem;
  border-left: 2px solid var(--accent-soft); animation: fadeUp 0.9s ease 0.8s both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.9s ease 1s both; }

/* --- Photo --- */
.photo-frame { width: 260px; height: 340px; position: relative; animation: fadeIn 1s ease 0.6s both; }
.photo-frame-border { position: absolute; inset: 0; border: 1px solid var(--stone); border-radius: 4px; }
.photo-frame-accent { position: absolute; top: -6px; left: -6px; right: 6px; bottom: 6px; border: 1px solid var(--accent-border); border-radius: 4px; }
.photo-img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; filter: grayscale(30%) contrast(1.05); }
.photo-placeholder {
  width: 100%; height: 100%; border-radius: 4px; background: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.8rem; border: 1px dashed var(--stone);
}
.photo-placeholder svg { width: 48px; height: 48px; color: var(--stone); }
.photo-placeholder span { font-family: var(--mono); font-size: 0.65rem; color: var(--stone); letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  padding: 0.85rem 1.8rem; border-radius: 2px;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--accent); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1px solid var(--stone); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero::after {
  content: ''; position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--stone), transparent);
  animation: fadeIn 1s ease 1.4s both;
}

/* --- Section Headers --- */
.section-header { margin-bottom: 2.5rem; }
.section-label {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 0.8rem;
}
.section-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: var(--ink); line-height: 1.3; }
.section-title strong { font-weight: 600; }

/* --- Manifesto --- */
.manifesto p { font-size: 1.02rem; color: var(--charcoal); margin-bottom: 1rem;}


/* --- Audience Cards --- */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.audience-card {
  padding: 1.8rem; background: var(--warm-white); border: 1px solid var(--sand);
  border-radius: 2px; transition: border-color 0.3s ease;
}
.audience-card:hover { border-color: var(--accent-border); }

/*
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--ink); line-height: 1.35; margin-bottom: 0.5rem;
*/


.audience-card h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}
  
  
  

.audience-desc {
  font-size: 0.88rem; color: var(--graphite); line-height: 1.55; margin-bottom: 1rem;
}
.audience-details summary {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--accent); cursor: pointer;
  list-style: none; transition: color 0.25s;
}
.audience-details summary::-webkit-details-marker { display: none; }
.audience-details summary::before { content: 'v '; }
.audience-details[open] summary::before { content: '^ '; }
.audience-details summary:hover { color: var(--ink); }
.audience-details ul {
  list-style: none; margin-top: 0.8rem; padding-top: 0.8rem;
  border-top: 1px solid var(--sand);
}
.audience-details li {
  position: relative; padding-left: 1.2rem; margin-bottom: 0.6rem;
  font-size: 0.88rem; color: var(--charcoal); line-height: 1.55;
}
.audience-details li::before {
  content: '—'; position: absolute; left: 0; color: var(--accent-soft); font-weight: 600;
}

.section-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2rem;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  color: var(--accent); text-decoration: none; letter-spacing: 0.03em; transition: gap 0.3s ease;
}
.section-link:hover { gap: 0.7rem; }
.section-link::after { content: '>'; }

/* --- Principles --- */
.principles-intro { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--charcoal); line-height: 1.6; max-width: 80%; margin-bottom: 2rem; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2rem; background: var(--sand); border: 1px solid var(--sand); }
.principle-card { background: var(--ivory); padding: 2.5rem; cursor: pointer; transition: background 0.3s ease; }
.principle-card:hover { background: var(--warm-white); }
.principle-num { font-family: var(--mono); font-size: 0.7rem; font-weight: 300; color: var(--accent-soft); letter-spacing: 0.15em; margin-bottom: 0.6rem; }
.principle-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.principle-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 1rem; }
.principle-visible { font-size: 0.95rem; color: var(--charcoal); line-height: 1.65; margin-bottom: 0.8rem; }
.principle-hidden { font-size: 0.9rem; color: var(--graphite); line-height: 1.65; max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.4s ease; opacity: 0; }
.principle-card.open .principle-hidden { max-height: 200px; opacity: 1; padding-top: 0.8rem; border-top: 1px solid var(--sand); }
.principle-toggle { font-family: var(--mono); font-size: 0.7rem; color: var(--graphite); letter-spacing: 0.08em; margin-top: 0.5rem; transition: color 0.25s; }
.principle-card:hover .principle-toggle { color: var(--accent); }

/* --- Spheres --- */
.spheres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.sphere-card { padding: 2rem; background: var(--warm-white); border: 1px solid var(--sand); border-radius: 2px; transition: border-color 0.3s ease, transform 0.3s ease; }
.sphere-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.sphere-icon { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.sphere-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 0.7rem; }
.sphere-card p { font-size: 0.92rem; color: var(--graphite); line-height: 1.6; }

/* --- Biography --- */
.timeline { margin-top: 2.5rem; position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--accent-soft), var(--sand)); }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -2rem; top: 0.55rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft);
  border: 2px solid var(--ivory); box-shadow: 0 0 0 1px var(--accent-soft);
}
.timeline-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.timeline-item h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.9rem; color: var(--graphite); line-height: 1.6; }
.bio-quote { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--charcoal); margin-top: 2.5rem; padding-left: 1.5rem; border-left: 2px solid var(--accent-soft); line-height: 1.6; }

/* --- Ecosystem --- */
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.eco-card { padding: 1.8rem; border: 1px solid var(--sand); border-radius: 2px; background: var(--ivory); transition: border-color 0.3s ease; }
.eco-card:hover { border-color: var(--accent-border); }
.eco-layer { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 0.5rem; }
.eco-card h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.eco-card p { font-size: 0.88rem; color: var(--graphite); line-height: 1.6; }
.eco-card a { color: var(--accent); text-decoration: none; font-size: 0.85rem; }
.eco-card a:hover { text-decoration: underline; }

/* --- CTA --- */
.cta-section { text-align: center; padding: 5rem 0; }
.cta-section .lead { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--ink); margin-bottom: 2.5rem; line-height: 1.5; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- Footer --- */
footer { background: var(--warm-white); border-top: 1px solid var(--sand); padding: 3rem 0 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-brand-block { display: flex; align-items: flex-start; gap: 1.2rem; }
.footer-mark { width: 48px; height: 48px; color: var(--accent-soft); flex-shrink: 0; opacity: 0.7; }
.footer-brand { font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 0.3rem; }
.footer-tagline { font-size: 0.82rem; color: var(--graphite); margin-bottom: 0.4rem; }
.footer-protocol { font-family: var(--mono); font-size: 0.68rem; color: var(--accent-soft); letter-spacing: 0.1em; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.82rem; color: var(--graphite); text-decoration: none; transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--sand); }
.footer-copy { font-size: 0.75rem; color: var(--stone); }

/* --- Responsive --- */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .container { padding: 0 1.4rem; }
  .section { padding: 4rem 0; }
  nav { display: none; }
  .nav-toggle { display: block; }
  nav.open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; background: var(--ivory);
    justify-content: center; align-items: center; gap: 2rem; z-index: 100;
  }
  nav.open a { font-size: 1.1rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo-col { order: -1; }
  .photo-frame { width: 180px; height: 230px; margin: 0 auto; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
  .principle-card { padding: 1.8rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .spheres-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-brand-block { flex-direction: column; align-items: center; text-align: center; }
}