@font-face {
  font-family: "Figtree";
  src: url("/assets/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #201e1d;
  --terracotta: #c67139;
  --terracotta-light: #e09a63;
  --sage: #7a8a5e;
  --sage-light: #a9b78c;
  --cream: #f5ead8;
  --dark: #172b24;
  --white: #fffdf9;
  --line: rgba(32, 30, 29, 0.18);
  --pad: clamp(1.25rem, 4vw, 5rem);
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); padding: .8rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--pad);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.scrolled { background: rgba(245,234,216,.88); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); padding-block: .75rem; }
.brand { width: clamp(9.25rem, 15vw, 12.5rem); }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.3vw, 2.6rem); font-size: .88rem; font-weight: 650; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -.35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid var(--charcoal); border-radius: 999px; padding: .65rem 1rem; transition: color .25s, background .25s; }
.nav-cta:hover { background: var(--charcoal); color: var(--cream); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(16rem,34vw); align-items: center; padding: 8rem var(--pad) 5rem; isolation: isolate; }
.hero::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; border-bottom: 1px solid var(--line); }
.hero-content { position: relative; z-index: 3; max-width: 58rem; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 750; }
.eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: var(--terracotta); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 2rem; font-size: clamp(3.65rem, 8.2vw, 8.4rem); line-height: .84; letter-spacing: -.065em; font-weight: 830; }
h1 em, h2 em { color: var(--terracotta); font-style: normal; }
.hero-copy { max-width: 37rem; margin-bottom: 2.4rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.brand-word { font-weight: 800; letter-spacing: -.035em; text-transform: lowercase; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 1rem 1.4rem; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(32,30,29,.15); }
.button-primary { background: var(--terracotta); color: var(--white); }
.text-link { font-weight: 750; text-underline-offset: .25rem; }
.text-link span { display: inline-block; margin-left: .25rem; transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(.2rem,-.2rem); }
.hero-mark { position: relative; z-index: 2; justify-self: end; width: min(30vw, 28rem); filter: drop-shadow(0 24px 42px rgba(32,30,29,.08)); }
.hero-orbit { position: absolute; width: min(62vw, 55rem); aspect-ratio: 1; right: -22vw; top: 50%; translate: 0 -50%; opacity: .65; }
.orbit { position: absolute; border: 1px solid rgba(122,138,94,.35); border-radius: 50%; inset: 8%; animation: spin 32s linear infinite; }
.orbit-two { inset: 24%; border-color: rgba(198,113,57,.28); animation-direction: reverse; animation-duration: 24s; }
.node { position: absolute; width: .9rem; aspect-ratio: 1; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 .45rem rgba(198,113,57,.12); }
.node-a { left: 11%; top: 30%; }.node-b { left: 43%; bottom: 7%; }.node-c { right: 7%; top: 45%; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 1.7rem; display: flex; gap: .7rem; align-items: center; font-size: .65rem; text-transform: uppercase; letter-spacing: .16em; }
.scroll-cue span { width: 2.4rem; height: 1px; background: var(--charcoal); }
@keyframes spin { to { rotate: 360deg; } }

.section-pad { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-label { display: flex; gap: .8rem; align-items: center; margin-bottom: clamp(3rem,7vw,6rem); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 750; }
.section-label span { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid currentColor; border-radius: 50%; letter-spacing: 0; font-size: .65rem; }
.section-label.light { color: var(--sage-light); }
.intro-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(18rem,.65fr); gap: clamp(3rem,8vw,9rem); align-items: end; }
.intro h2, .process h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.7rem,5.8vw,6.2rem); line-height: .94; letter-spacing: -.055em; }
.intro h2 span { color: var(--sage); }
.intro-copy { font-size: clamp(1rem,1.35vw,1.2rem); }
.intro-copy p + p { margin-top: 1.5rem; }

.principles { display: grid; grid-template-columns: repeat(3,1fr); }
.principle { min-height: 34rem; padding: 2.4rem; display: flex; flex-direction: column; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle-connect { background: var(--sage); color: var(--white); }
.principle-create { background: var(--cream); }
.principle-make { background: var(--terracotta); color: var(--white); }
.principle-number { align-self: flex-end; font-size: .75rem; }
.principle-icon { flex: 1; display: grid; place-items: center; margin: 2rem 0; min-height: 12rem; }
.principle-svg { width: min(100%, 25rem); height: auto; overflow: visible; }
.principle-svg path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.principle-svg circle { fill: currentColor; }
.principle h3 { margin: 0 0 .6rem; font-size: clamp(2rem,3.5vw,4rem); letter-spacing: -.04em; }
.principle p { max-width: 24rem; margin: 0; font-size: 1rem; }

.process { background: var(--dark); color: var(--cream); }
.process-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: end; margin-bottom: 5rem; }
.process-head p { max-width: 18rem; color: var(--sage-light); font-size: 1.15rem; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(245,234,216,.22); }
.steps li { display: grid; grid-template-columns: 5rem 1fr; gap: 2rem; padding: 2.3rem 0; border-bottom: 1px solid rgba(245,234,216,.22); }
.steps li > span { color: var(--terracotta-light); font-weight: 750; }
.steps h3 { margin-bottom: .4rem; font-size: clamp(1.6rem,2.7vw,2.7rem); }
.steps p { margin: 0; color: var(--sage-light); max-width: 42rem; }

.manifesto { min-height: 80vh; display: grid; place-content: center; text-align: center; position: relative; }
.manifesto-mark { width: 5rem; margin: 0 auto 2.5rem; }
.manifesto blockquote { max-width: 65rem; margin: 0 auto; }
.manifesto blockquote p { font-size: clamp(2.4rem,5vw,5.8rem); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
.manifesto-note { margin-top: 2.5rem; color: var(--terracotta); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }

.contact { background: var(--terracotta); color: var(--white); display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(3rem,8vw,8rem); align-items: end; }
.contact .eyebrow::before { background: var(--cream); }
.contact h2 em { color: var(--cream); }
.contact-card { padding: clamp(1.5rem,3vw,2.5rem); border: 1px solid rgba(255,255,255,.45); border-radius: 1.5rem; background: rgba(255,255,255,.08); }
.contact-card p { font-size: 1.1rem; }
.contact-email { display: inline-block; margin: .25rem 0 1.5rem; color: var(--cream); font-size: clamp(1.25rem,2vw,1.75rem); font-weight: 800; letter-spacing: -.025em; text-underline-offset: .3rem; }
.button-dark { background: var(--dark); color: var(--cream); width: 100%; }
.footer { background: var(--dark); color: var(--cream); padding: 3rem var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-brand { width: 9rem; }
.footer p { margin: 0; font-size: .78rem; letter-spacing: .08em; }
.footer-meta { justify-self: end; }

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .site-header { background: rgba(245,234,216,.92); backdrop-filter: blur(12px); }
  .nav-toggle { display: grid; gap: 4px; position: relative; z-index: 2; }
  .nav-toggle span:not(.sr-only) { width: 1.5rem; height: 2px; background: var(--charcoal); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; padding: 7rem var(--pad) 3rem; background: var(--cream); flex-direction: column; align-items: flex-start; justify-content: center; font-size: 1.6rem; transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav.open { transform: translateX(0); }
  .nav-cta { margin-top: 1rem; }
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-mark { width: 11rem; position: absolute; right: var(--pad); bottom: 5rem; opacity: .25; }
  .hero-orbit { width: 38rem; right: -27rem; }
  .intro-grid, .process-head, .contact { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 28rem; }
  .principle + .principle { border-left: 0; }
  .contact-card { max-width: 34rem; }
  .footer { grid-template-columns: 1fr; text-align: left; }
  .footer-meta { justify-self: start; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(3.35rem,17vw,5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .scroll-cue { display: none; }
  .steps li { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
}

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