/* ---------- tokens ---------- */
:root{
  --ink:#141414;
  --ink-2:#1e1b16;
  --ink-3:#26221b;
  --cream:#fbf6ee;
  --cream-2:#f3ecdc;
  --rust:#d9481f;
  --rust-d:#b23a16;
  --gold:#f2b705;
  --navy:#1b2a4a;
  --grey:#6b6459;
  --line:#e4dcCB;
  --line-dark:#3a362e;
  --display:'Archivo', sans-serif;
  --body:'Inter', sans-serif;
  --wrap:1180px;
  --ease:cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3{font-family:var(--display);font-weight:800;line-height:1.05;margin:0;letter-spacing:-0.01em;}
h2{font-size:clamp(2rem,4.2vw,3.1rem);}
h3{font-size:1.15rem;font-weight:700;}
p{margin:0;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.6rem;}

.skip-link{
  position:absolute;left:-999px;top:0;background:var(--ink);color:var(--cream);
  padding:0.8rem 1.2rem;z-index:200;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

.sr-only{
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;
}

.noise{position:fixed;inset:0;pointer-events:none;z-index:1;opacity:0.02;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;
  padding:0.95rem 1.7rem;border-radius:100px;font-family:var(--body);
  font-weight:600;font-size:0.95rem;border:1.5px solid transparent;
  cursor:pointer;transition:transform .25s var(--ease),background .25s,border-color .25s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-rust{background:var(--rust);color:#fff;}
.btn-rust:hover{background:var(--rust-d);}
.btn-ghost{background:transparent;color:inherit;border-color:currentColor;opacity:0.85;}
.btn-ghost:hover{opacity:1;}
.btn-sm{padding:0.6rem 1.2rem;font-size:0.85rem;}

/* ---------- nav ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:1.1rem 0;
  transition:background .3s var(--ease),padding .3s var(--ease),border-color .3s;
  border-bottom:1px solid transparent;
}
.nav.scrolled{
  background:rgba(251,246,238,0.92);
  backdrop-filter:blur(10px);
  padding:0.7rem 0;
  border-color:var(--line);
}
.nav-inner{display:flex;align-items:center;gap:2.2rem;}
.brand{display:flex;align-items:center;gap:0.55rem;font-family:var(--display);font-weight:800;font-size:1rem;letter-spacing:0.02em;flex-shrink:0;color:var(--cream);}
.brand em{font-style:normal;color:var(--gold);}
.brand-mark rect{fill:var(--cream);}
.brand-mark line{stroke:var(--gold);stroke-width:2.6;}
.brand-mark circle{fill:var(--gold);stroke:var(--cream);stroke-width:1;}
.links{display:flex;gap:1.9rem;margin-right:auto;font-size:0.92rem;font-weight:500;}
.links a{color:var(--cream);opacity:0.8;transition:opacity .2s;}
.links a:hover{opacity:1;}
.nav-cta{flex-shrink:0;}
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:34px;height:34px;background:none;border:none;cursor:pointer;padding:0;}
.burger span{display:block;width:100%;height:2px;background:var(--cream);transition:transform .3s,opacity .3s,background .3s;}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav.scrolled .brand{color:var(--ink);}
.nav.scrolled .brand em{color:var(--rust);}
.nav.scrolled .brand-mark rect{fill:var(--ink);}
.nav.scrolled .brand-mark line{stroke:var(--rust);}
.nav.scrolled .brand-mark circle{fill:var(--rust);stroke:var(--ink);}
.nav.scrolled .links a{color:var(--ink);}
.nav.scrolled .burger span{background:var(--ink);}

.mobile-menu{
  display:none;flex-direction:column;gap:0;background:var(--cream);color:var(--ink);
  border-top:1px solid var(--line);overflow:hidden;max-height:0;transition:max-height .35s var(--ease);
}
.mobile-menu.open{max-height:400px;}
.mobile-menu a{display:block;color:var(--ink);padding:1rem 1.6rem;border-bottom:1px solid var(--line);font-weight:500;}
.mobile-menu .btn{margin:1rem 1.6rem;}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal.in{opacity:1;transform:translateY(0);}

/* ---------- hero ---------- */
.hero{
  position:relative;background:var(--ink);color:var(--cream);
  padding:8.5rem 0 5rem;overflow:hidden;
}
.hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:2rem;align-items:center;}
.eyebrow{
  font-family:var(--body);font-weight:600;font-size:0.85rem;text-transform:uppercase;
  letter-spacing:0.14em;color:var(--gold);margin-bottom:1rem;
}
.hero h1{font-size:clamp(2.6rem,6.4vw,4.6rem);}
.hero h1 .line{display:block;}
.hero h1 .accent{color:var(--rust);}
.hero-sub{
  margin-top:1.4rem;max-width:34rem;font-size:1.08rem;line-height:1.65;color:#cfc8b8;
}
.hero-actions{display:flex;gap:1rem;margin-top:2.1rem;flex-wrap:wrap;}
.hero .btn-ghost{color:var(--cream);}
.hero-stats{display:flex;flex-wrap:wrap;gap:2.4rem;margin-top:3.2rem;padding-top:2rem;border-top:1px solid var(--line-dark);}
.stat{display:flex;flex-direction:column;}
.stat-num{font-family:var(--display);font-weight:800;font-size:2.1rem;color:var(--rust);}
.stat-label{font-size:0.82rem;color:#a9a190;max-width:11rem;margin-top:0.2rem;}

.hero-visual{display:flex;align-items:center;justify-content:center;}
.hero-mark{overflow:visible;}
.hsq{fill:var(--cream);opacity:0;transform-origin:center;animation:popIn .5s var(--ease) forwards;}
.hsq1{animation-delay:.15s;}
.hsq2{animation-delay:.32s;}
.hsq3{animation-delay:.49s;}
.hsq4{animation-delay:.66s;}
.hpath{stroke:var(--rust);stroke-width:6;fill:none;stroke-linecap:round;
  stroke-dasharray:320;stroke-dashoffset:320;animation:draw 1s var(--ease) .8s forwards;}
.hapex{fill:var(--rust);stroke:var(--cream);stroke-width:3;opacity:0;
  animation:popIn .5s var(--ease) 1.7s forwards;}
@keyframes popIn{from{opacity:0;transform:scale(.4);}to{opacity:1;transform:scale(1);}}
@keyframes draw{to{stroke-dashoffset:0;}}

.scroll-cue{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);}
.scroll-cue span{
  display:block;width:1px;height:2.6rem;background:linear-gradient(var(--rust),transparent);
  animation:cue 1.8s ease-in-out infinite;
}
@keyframes cue{0%,100%{opacity:.3;}50%{opacity:1;}}

/* ---------- sections ---------- */
.section{padding:6.5rem 0;}
.section.light{background:var(--cream);}
.section.dark{background:var(--ink);color:var(--cream);}
.section.dark .eyebrow{color:var(--gold);}
.section.light .eyebrow{color:var(--rust);}
.section h2{max-width:44rem;}
.section-sub{margin-top:1.1rem;max-width:36rem;font-size:1.05rem;line-height:1.6;
  color:var(--grey);}
.section.dark .section-sub{color:#a9a190;}

/* ---------- problem/manifesto ---------- */
.tension{display:grid;grid-template-columns:1fr auto 1fr;gap:1.4rem;align-items:stretch;margin-top:3rem;}
.tension-col{border-radius:20px;padding:2rem 2.2rem;}
.tension-col.dark{background:var(--ink);color:var(--cream);}
.tension-col.rust{background:var(--rust);color:#fff;}
.tension-col h3{margin-bottom:1.1rem;}
.tension-col.dark h3{color:var(--gold);}
.tension-col li{padding:0.5rem 0;font-size:1rem;border-bottom:1px solid rgba(255,255,255,0.12);}
.tension-col li:last-child{border-bottom:none;}
.tension-vs{
  align-self:center;width:3.4rem;height:3.4rem;border-radius:50%;background:var(--gold);
  color:var(--ink);display:flex;align-items:center;justify-content:center;font-weight:800;
  font-family:var(--display);font-size:0.85rem;
}
.loops{margin-top:3rem;display:flex;flex-direction:column;gap:0.9rem;}
.loop-row{display:flex;align-items:baseline;gap:1.2rem;flex-wrap:wrap;}
.loop-label{font-size:0.78rem;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;
  color:var(--grey);min-width:9.5rem;}
.loop-path{font-family:var(--display);font-weight:700;font-size:1.15rem;}
.loop-path.muted{color:var(--grey);text-decoration:line-through;text-decoration-color:var(--line);}
.pullquote{
  margin-top:3.2rem;font-family:var(--display);font-weight:600;font-size:1.7rem;line-height:1.35;
  max-width:42rem;padding-left:1.6rem;border-left:4px solid var(--rust);
}
.pullquote strong{display:block;color:var(--rust);font-weight:800;}

/* ---------- ecosystem / life mode ---------- */
.modes{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.6rem;}
.mode-card{
  background:var(--ink-2);border:1px solid var(--line-dark);border-radius:16px;
  padding:1.6rem 1.3rem;text-align:left;color:var(--cream);cursor:pointer;
  font-family:var(--body);display:flex;flex-direction:column;gap:0.6rem;
  transition:transform .3s var(--ease),border-color .3s,background .3s;
}
.mode-card:hover,.mode-card:focus-visible{
  transform:translateY(-5px);border-color:var(--rust);background:var(--ink-3);
}
.mode-icon svg{width:30px;height:30px;}
.mode-icon svg path,.mode-icon svg circle{fill:var(--gold);}
.mode-icon svg circle[fill="none"]{fill:none;stroke:var(--gold);stroke-width:2;}
.mode-name{font-family:var(--display);font-weight:700;font-size:1.02rem;}
.mode-desc{
  font-size:0.86rem;color:#a9a190;max-height:0;opacity:0;overflow:hidden;
  transition:max-height .35s var(--ease),opacity .35s var(--ease);
}
.mode-card:hover .mode-desc,.mode-card:focus-visible .mode-desc,.mode-card.touch-open .mode-desc{max-height:4rem;opacity:1;}

.loop-banner{
  margin-top:3rem;background:var(--rust);border-radius:20px;padding:1.8rem 2.2rem;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center;
}
.loop-flow{font-family:var(--display);font-weight:700;font-size:0.98rem;color:#fff;}
.loop-philosophy{font-style:italic;font-weight:600;color:var(--ink);background:var(--gold);
  padding:0.4rem 0.9rem;border-radius:100px;font-size:0.88rem;}

/* ---------- experiments ---------- */
.experiments{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;margin-top:2.6rem;}
.exp-card{
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.5rem 1.2rem;
  display:flex;flex-direction:column;gap:0.9rem;min-height:11rem;
}
.exp-card.featured{background:var(--ink);color:var(--cream);border-color:var(--ink);}
.exp-id{font-family:var(--display);font-weight:800;color:var(--rust);font-size:1rem;}
.exp-card.featured .exp-id{color:var(--gold);}
.exp-card p{font-size:0.98rem;font-weight:600;line-height:1.4;flex-grow:1;}
.exp-tag{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;
  color:var(--gold);}

/* ---------- for everyone ---------- */
.audience-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;margin-top:2.8rem;}
.audience-card{
  background:var(--ink-2);border:1px solid var(--line-dark);border-radius:18px;
  padding:2.2rem 2rem;display:flex;flex-direction:column;gap:1.1rem;
}
.audience-tag{
  display:inline-block;font-size:0.72rem;font-weight:700;text-transform:uppercase;
  letter-spacing:0.08em;color:var(--gold);
}
.audience-card h3{color:var(--cream);font-size:1.3rem;max-width:22rem;}
.audience-card li{
  padding:0.55rem 0;font-size:0.95rem;color:#a9a190;border-bottom:1px solid var(--line-dark);
}
.audience-card li:last-child{border-bottom:none;}

/* ---------- join ---------- */
.join{background:var(--gold);text-align:left;}
.join .eyebrow{color:var(--rust-d);}
.join h2{color:var(--ink);max-width:38rem;}
.join .section-sub{color:#5a4a12;max-width:32rem;}
.waitlist-form{margin-top:2.2rem;max-width:34rem;}
.field-row{display:flex;gap:0.8rem;flex-wrap:wrap;}
.field-row input[type="email"]{
  flex:1 1 14rem;padding:0.95rem 1.2rem;border-radius:100px;border:1.5px solid var(--ink);
  font-family:var(--body);font-size:0.96rem;background:#fffdf7;color:var(--ink);
}
.field-row input[type="email"]:focus{outline:3px solid var(--ink);outline-offset:2px;}
.join .btn-rust{background:var(--ink);}
.join .btn-rust:hover{background:#000;}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.form-note{margin-top:0.9rem;font-size:0.88rem;font-weight:600;color:var(--ink);min-height:1.2rem;}

/* ---------- footer ---------- */
.footer{background:var(--ink);color:#a9a190;padding:3.4rem 0 2.4rem;}
.footer-inner{display:flex;flex-direction:column;gap:1rem;}
.brand.small{color:var(--cream);}
.footer-tag{font-style:italic;color:var(--cream);}
.footer-copy{font-size:0.78rem;color:#565149;margin-top:0.5rem;}

/* ---------- focus ---------- */
a:focus-visible,button:focus-visible,input:focus-visible{
  outline:3px solid var(--rust);outline-offset:2px;
}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .links{display:none;}
  .nav-cta{display:none;}
  .burger{display:flex;}
  .mobile-menu{display:flex;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{order:-1;max-width:16rem;margin:0 auto 1rem;}
  .tension{grid-template-columns:1fr;}
  .tension-vs{justify-self:center;}
  .modes{grid-template-columns:repeat(2,1fr);}
  .experiments{grid-template-columns:repeat(2,1fr);}
  .audience-grid{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .hero{padding-top:7rem;}
  .modes{grid-template-columns:1fr 1fr;}
  .experiments{grid-template-columns:1fr;}
  .section{padding:4.5rem 0;}
}

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