:root {
  --paper: #f4efe5;
  --paper-deep: #e9e0d1;
  --ink: #17231d;
  --muted: #5e675f;
  --blue: #2445d5;
  --coral: #ff6b4a;
  --lime: #c9f45a;
  --line: rgba(23, 35, 29, .16);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2px; transform: rotate(-7deg); }
.brand-mark span { display: block; border-radius: 99px 99px 3px 3px; background: var(--ink); }
.brand-mark span:nth-child(1) { height: 52%; }
.brand-mark span:nth-child(2) { height: 100%; background: var(--blue); }
.brand-mark span:nth-child(3) { height: 72%; background: var(--coral); }
nav { display: flex; align-items: center; gap: 2rem; font-size: .86rem; font-weight: 500; }
nav a:not(.nav-cta) { color: var(--muted); transition: color .2s ease; }
nav a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: 999px; transition: background .2s ease, color .2s ease; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.hero {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto;
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: 4vw;
  padding: 5rem 0;
}
.eyebrow, .section-label { text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--blue); }
.eyebrow span { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,107,74,.15); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin: 1.2rem 0 1.5rem;
  font: 400 clamp(4.5rem, 8.7vw, 9rem)/.82 var(--serif);
  letter-spacing: -.065em;
}
h1 em, h2 em { font-weight: 400; color: var(--blue); }
.hero-lede { max-width: 610px; font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; padding: 1rem 1.25rem; border-radius: 999px; font-size: .88rem; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 30px rgba(36,69,213,.22); }
.text-link { font-size: .9rem; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: .2rem; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 590px; width: 100%; justify-self: end; }
.orbit { position: absolute; inset: 12%; border: 1px solid rgba(23,35,29,.25); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; background: var(--paper); }
.orbit::before { width: 14px; height: 14px; border: 1px solid var(--ink); border-radius: 50%; top: 7%; left: 19%; }
.orbit::after { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; bottom: 11%; right: 20%; }
.orbit-two { inset: 27%; border-style: dashed; animation: spin 34s linear infinite; }
.human-core { position: absolute; width: 31%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; box-shadow: 0 0 0 18px rgba(201,244,90,.2); }
.core-label { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; font-weight: 600; }
.agent-node { position: absolute; min-width: 135px; padding: 1rem 1.1rem; background: white; border: 1px solid var(--ink); border-radius: 2px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; box-shadow: 8px 8px 0 var(--ink); }
.agent-node span { margin-right: 1rem; color: var(--blue); }
.node-one { top: 20%; left: 1%; transform: rotate(-4deg); }
.node-two { top: 14%; right: 0; transform: rotate(5deg); }
.node-three { bottom: 17%; right: 2%; transform: rotate(-3deg); }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.threads path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 7; }

.manifesto, .model, .principles { width: min(1220px, calc(100% - 3rem)); margin: 0 auto; padding: 9rem 0; }
.manifesto { border-top: 1px solid var(--line); }
.section-label { color: var(--coral); margin-bottom: 3rem; }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; }
.manifesto h2, .section-heading h2, .closing h2 { font: 400 clamp(3rem, 5.5vw, 6rem)/.98 var(--serif); letter-spacing: -.04em; margin: 0; }
.manifesto-grid > div { padding-top: .8rem; }
.manifesto-grid p { font-size: 1.06rem; line-height: 1.75; color: var(--muted); }

.model { width: min(1440px, calc(100% - 3rem)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 4rem; }
.section-heading .section-label { margin: 0; }
.section-heading h2 { max-width: 710px; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.model-card { min-height: 470px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.model-card:last-child { border-right: 0; }
.model-card:hover { background: #fffaf1; transform: translateY(-5px); }
.card-number { font: italic 1rem var(--serif); color: var(--muted); }
.card-icon { width: 72px; height: 72px; margin: 4.5rem 0 3rem; display: grid; place-items: center; border-radius: 50%; font: 2rem var(--serif); }
.work-icon { background: var(--blue); color: white; }
.give-icon { background: var(--coral); color: var(--ink); }
.learn-icon { background: var(--lime); color: var(--ink); }
.model-card h3 { font: 400 2.6rem var(--serif); letter-spacing: -.03em; margin-bottom: 1rem; }
.model-card p { max-width: 350px; line-height: 1.65; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--line); font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 600; }

.principles { padding-bottom: 11rem; }
.principles-list { border-top: 1px solid var(--ink); }
.principle { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 4rem; padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.principle span { font: 400 clamp(1.8rem, 3vw, 3.2rem) var(--serif); }
.principle p { max-width: 560px; margin: 0; line-height: 1.65; color: var(--muted); }

.closing { width: min(1440px, calc(100% - 1.5rem)); margin: 0 auto .75rem; background: var(--blue); color: white; border-radius: 4px; overflow: hidden; }
.closing-inner { position: relative; padding: clamp(4rem, 8vw, 8rem); }
.closing-inner::after { content: ""; position: absolute; width: 440px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; right: -100px; top: -170px; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.closing .section-label { color: var(--lime); }
.closing h2 { max-width: 900px; }
.closing h2 em { color: var(--lime); }
.closing p:not(.section-label) { max-width: 590px; margin: 2rem 0; font-size: 1.08rem; line-height: 1.65; color: rgba(255,255,255,.72); }
.button-light { background: white; color: var(--blue); position: relative; z-index: 1; }

footer { width: min(1440px, calc(100% - 3rem)); min-height: 130px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 3rem; font-size: .78rem; color: var(--muted); }
.footer-brand { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { width: min(100% - 2rem, 720px); }
  nav a:not(.nav-cta) { display: none; }
  .hero { width: min(100% - 2rem, 720px); grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
  h1 { font-size: clamp(4rem, 18vw, 7rem); }
  .hero-art { justify-self: center; max-width: 560px; }
  .manifesto, .model, .principles { width: min(100% - 2rem, 720px); padding: 6rem 0; }
  .manifesto-grid, .model-grid { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 2.5rem; }
  .section-heading { display: block; }
  .section-heading .section-label { margin-bottom: 2rem; }
  .model-card { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--line); }
  .model-card:last-child { border-bottom: 0; }
  .card-icon { margin: 3rem 0 2rem; }
}

@media (max-width: 560px) {
  .site-header { min-height: 74px; }
  .brand { font-size: .84rem; }
  .brand-mark { width: 25px; height: 25px; }
  .nav-cta { padding: .62rem .8rem; }
  .hero { padding: 4rem 0 3rem; }
  h1 { font-size: clamp(3.7rem, 20vw, 5.4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-art { margin-top: 1rem; }
  .agent-node { min-width: 105px; padding: .75rem; font-size: .65rem; box-shadow: 5px 5px 0 var(--ink); }
  .agent-node span { margin-right: .5rem; }
  .section-heading h2, .manifesto h2, .closing h2 { font-size: 3rem; }
  .principle { grid-template-columns: 1fr; gap: 1rem; }
  .closing { width: calc(100% - 1rem); }
  .closing-inner { padding: 4rem 1.5rem; }
  footer { width: calc(100% - 2rem); grid-template-columns: 1fr auto; gap: 1rem; }
  footer > p:first-of-type { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
