/* =====================================================================
   Silicon Prairie Center — design system
   Palette sampled from siliconprairie.ventures
   ===================================================================== */
:root{
  --cream:      #FEF5E7;   /* page background */
  --cream-2:    #FBEFDB;
  --sand:       #F2E4CF;   /* alt sections */
  --sand-2:     #F3E7D4;
  --tan:        #E8D5B7;   /* cards */
  --tan-line:   #DCC4A0;
  --forest:     #38512F;   /* deep forest green */
  --forest-2:   #2A3D23;
  --forest-deep:#1E2C19;
  --ink:        #3A3630;   /* primary text */
  --ink-soft:   #6B6457;
  --red:        #A02C22;   /* logo brick red */
  --red-2:      #C13A2E;
  --red-deep:   #6E1B14;
  --gold:       #E8C27A;

  /* Matches the live site: Lora (serif) + Source Sans 3 (sans) */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(1.5rem, 5vw, 8rem);
  --maxw: 1380px;
}

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

html{ scroll-behavior:auto; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
body{
  font-family:var(--sans);
  background:var(--cream);
  color:var(--ink);
  font-weight:400;
  line-height:1.6;
  /* clip (not hidden) prevents a horizontal scrollbar WITHOUT creating a
     scroll container — which is what was breaking ScrollTrigger pinning */
  overflow-x:clip;
}
body.is-loading{ overflow:hidden; height:100vh; }

/* Lenis smooth-scroll */
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }
.lenis.lenis-stopped{ overflow:hidden; }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
canvas{ display:block; }

::selection{ background:var(--forest); color:var(--cream); }

/* hide native cursor on capable pointers */
@media (hover:hover) and (pointer:fine){
  *{ cursor:none !important; }
}

/* =====================================================================
   Typography
   ===================================================================== */
.display{
  font-family:var(--serif);
  font-weight:500;
  color:var(--forest);
  line-height:1.04;
  letter-spacing:-0.01em;
  font-size:clamp(2rem, 5vw, 3.6rem);
}
.display--lg{ font-size:clamp(2.4rem, 6vw, 5rem); }

.eyebrow{
  display:inline-block;
  font-family:var(--sans);
  font-weight:600;
  font-size:.78rem;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:1.4rem;
}
.eyebrow--light{ color:var(--gold); }

p{ font-size:clamp(1rem, 1.15vw, 1.15rem); color:var(--ink); max-width:62ch; }

/* =====================================================================
   Layout helpers
   ===================================================================== */
.section{
  position:relative;
  padding:clamp(5rem, 12vh, 11rem) var(--pad);
}
.section__head{ max-width:var(--maxw); margin:0 auto clamp(2.5rem,6vw,5rem); }
.section__head .display{ max-width:18ch; }
.section__lede{ margin-top:1.6rem; font-size:clamp(1.05rem,1.3vw,1.28rem); color:var(--ink-soft); }

.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--sans); font-weight:600; font-size:.95rem;
  letter-spacing:.02em;
  padding:.95rem 1.9rem; border-radius:2px;
  position:relative; overflow:hidden;
  transition:transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.btn--solid{ background:var(--forest); color:var(--cream); }
.btn--solid:hover{ background:var(--forest-2); transform:translateY(-3px); }
.btn--ghost{ background:transparent; color:var(--forest); border:1.5px solid var(--forest); }
.btn--ghost:hover{ background:var(--forest); color:var(--cream); transform:translateY(-3px); }
.btn--cream{ background:var(--cream); color:var(--forest); font-size:1.05rem; padding:1.2rem 2.6rem; }
.btn--cream:hover{ background:#fff; }

/* =====================================================================
   Preloader
   ===================================================================== */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--forest-deep);
  display:grid; place-items:center;
  color:var(--cream);
}
.preloader__inner{ text-align:center; }
.preloader__mark{
  width:74px; height:74px; margin:0 auto 1.6rem;
  border:2px solid rgba(254,245,231,.25);
  border-top-color:var(--gold);
  border-radius:50%;
  animation:spin 1s linear infinite;
  position:relative;
}
.preloader__seed{
  position:absolute; inset:0; margin:auto;
  width:14px; height:14px; border-radius:50%;
  background:var(--red-2);
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.preloader__count{ font-family:var(--serif); font-size:2.6rem; }
.preloader__count i{ font-size:1.2rem; opacity:.6; font-style:normal; }
.preloader__label{
  margin-top:.4rem; font-size:.74rem; letter-spacing:.34em;
  text-transform:uppercase; color:var(--gold);
}

/* =====================================================================
   Custom cursor
   ===================================================================== */
.cursor{ position:fixed; top:0; left:0; z-index:9998; pointer-events:none; mix-blend-mode:normal; }
.cursor__dot{
  position:fixed; top:0; left:0; width:7px; height:7px; border-radius:50%;
  background:var(--forest); transform:translate(-50%,-50%);
}
.cursor__ring{
  position:fixed; top:0; left:0; width:42px; height:42px; border-radius:50%;
  border:1.5px solid var(--forest); transform:translate(-50%,-50%);
  display:grid; place-items:center;
  -webkit-backdrop-filter:blur(0px) saturate(1);
  backdrop-filter:blur(0px) saturate(1);
  transition:width .4s var(--ease), height .4s var(--ease), background .4s var(--ease),
             border-color .4s var(--ease), opacity .3s, backdrop-filter .4s var(--ease);
}
.cursor__text{
  font-size:.62rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--forest); opacity:0; transition:opacity .3s;
  text-shadow:0 1px 8px rgba(254,245,231,.9);
}
/* Frosted-glass: the ring blurs and saturates whatever sits behind it,
   so hovered text distorts instead of disappearing under a solid fill. */
body.cursor-hover .cursor__ring{
  width:72px; height:72px; border-color:var(--forest);
  background:rgba(56,81,47,.14);
  -webkit-backdrop-filter:blur(6px) saturate(1.7);
  backdrop-filter:blur(6px) saturate(1.7);
}
body.cursor-hover .cursor__dot{ opacity:0; }
body.cursor-label .cursor__ring{
  width:92px; height:92px; border-color:var(--red);
  background:rgba(160,44,34,.16);
  -webkit-backdrop-filter:blur(7px) saturate(1.8);
  backdrop-filter:blur(7px) saturate(1.8);
}
body.cursor-label .cursor__text{ opacity:1; }
body.cursor-label .cursor__dot{ opacity:0; }
@media (hover:none),(pointer:coarse){ .cursor{ display:none; } }

/* =====================================================================
   Nav
   ===================================================================== */
.nav{
  position:fixed; top:0; left:0; width:100%; z-index:900;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.3rem var(--pad);
  transition:background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-stuck{
  background:rgba(254,245,231,.82);
  backdrop-filter:blur(14px);
  padding-top:.85rem; padding-bottom:.85rem;
  box-shadow:0 1px 0 rgba(60,48,30,.08);
}
.nav__brand{ display:flex; align-items:center; gap:.7rem; }
.nav__logo{ width:40px; height:34px; }
.nav__brandtext{ font-family:var(--serif); font-weight:600; color:var(--forest); font-size:1.15rem; }
.nav__links{ display:flex; align-items:center; gap:2rem; }
.nav__link{
  font-size:.9rem; font-weight:500; color:var(--ink); position:relative;
  transition:color .3s;
}
.nav__link::after{
  content:''; position:absolute; left:0; bottom:-4px; width:0; height:1.5px;
  background:var(--red); transition:width .4s var(--ease);
}
.nav__link:hover{ color:var(--forest); }
.nav__link:hover::after{ width:100%; }
.nav__cta{
  background:var(--forest); color:var(--cream);
  padding:.6rem 1.4rem; border-radius:2px; font-weight:600; font-size:.9rem;
  white-space:nowrap; flex-shrink:0;
  transition:transform .4s var(--ease), background .4s var(--ease);
}
.nav__cta:hover{ background:var(--forest-2); transform:translateY(-2px); }
.nav__cta--ghost{ background:transparent; color:var(--forest); box-shadow:inset 0 0 0 1.5px var(--forest); }
.nav__cta--ghost:hover{ background:var(--forest); color:var(--cream); }
@media (max-width:760px){ .nav__links .nav__link{ display:none; } }
/* plate + three nav buttons need to fit a phone: tighten padding/spacing,
   drop the wordmark, and trim the nav's own side padding to buy room */
@media (max-width:640px){
  .nav{ padding-left:1rem; padding-right:1rem; }
  .nav__links{ gap:.45rem; flex-wrap:wrap; justify-content:flex-end; row-gap:.4rem; }
  .nav__cta{ padding:.52rem .74rem; font-size:.76rem; }
  .nav__brandtext{ display:none; }
}
@media (max-width:430px){
  .nav__links{ gap:.32rem; }
  .nav__cta{ padding:.46rem .58rem; font-size:.72rem; }
}
@media (max-width:360px){
  .nav__links{ gap:.28rem; }
  .nav__cta{ padding:.42rem .5rem; font-size:.69rem; }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero{ position:relative; min-height:100svh; display:flex; align-items:center; overflow:hidden; }
.hero__canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.hero__veil{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(254,245,231,.10) 0%, rgba(254,245,231,0) 30%, rgba(254,245,231,.55) 88%, var(--cream) 100%);
}
.hero__content{ position:relative; z-index:2; padding:0 var(--pad); max-width:var(--maxw); margin:0 auto; width:100%; }
.hero__emblem{ width:clamp(120px,14vw,190px); margin-bottom:2rem; will-change:transform; filter:drop-shadow(0 10px 30px rgba(110,27,20,.25)); }
.hero__emblem img{ width:100%; }
.hero__title{
  font-family:var(--serif); font-weight:500; color:var(--forest);
  font-size:clamp(2.6rem, 8vw, 7rem); line-height:.98; letter-spacing:-0.02em;
}
/* padding-bottom gives descenders (g/y/p/j) room inside the reveal mask;
   negative margin keeps the line spacing tight */
.hero__title .line{ display:block; overflow:hidden; padding-bottom:.14em; margin-bottom:-.1em; }
.hero__title .line>span{ display:block; transform:translateY(120%); will-change:transform; }
.hero__lede{ margin-top:1.8rem; max-width:46ch; font-size:clamp(1.05rem,1.4vw,1.3rem); color:var(--ink); }
.hero__actions{ margin-top:2.4rem; display:flex; gap:1rem; flex-wrap:wrap; }
.hero__scroll{
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); z-index:2;
  font-size:.72rem; letter-spacing:.28em; text-transform:uppercase; color:var(--forest);
  display:flex; flex-direction:column; align-items:center; gap:.7rem;
}
.hero__scroll span{ width:1px; height:46px; background:var(--forest); position:relative; overflow:hidden; }
.hero__scroll span::after{
  content:''; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background:var(--red); animation:scrolldrop 1.8s var(--ease-io) infinite;
}
@keyframes scrolldrop{ 0%{ top:-100%; } 60%,100%{ top:100%; } }

/* =====================================================================
   Returning to the Soil
   ===================================================================== */
.soil{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5rem); align-items:center;
  background:var(--cream);
}
.soil__media{ aspect-ratio:4/5; }
/* shared interactive photo figure — a WebGL displacement canvas overlays a
   base <img>; if WebGL fails the <img> remains visible */
.shot{ position:relative; overflow:hidden; border-radius:4px; margin:0; box-shadow:0 30px 70px -30px rgba(40,40,30,.45); }
.shot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.shot__gl{ position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity .7s ease; }
.shot__cap{
  position:absolute; left:1.3rem; bottom:1.1rem; z-index:3;
  font-family:var(--serif); font-style:italic; font-size:1.25rem; color:var(--cream);
  text-shadow:0 2px 16px rgba(0,0,0,.6);
}
.soil__tag{
  position:absolute; left:1.4rem; bottom:1.4rem; z-index:3;
  font-family:var(--serif); font-style:italic; font-size:1.4rem; color:var(--cream);
  text-shadow:0 2px 14px rgba(0,0,0,.5);
}
.soil__text p{ margin-top:1.3rem; }
@media (max-width:860px){ .soil{ grid-template-columns:1fr; } .soil__media{ aspect-ratio:16/11; order:-1; } }

/* =====================================================================
   Philosophy cards
   ===================================================================== */
.philosophy{ background:var(--sand); }
.cards{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2.5vw,2rem); max-width:var(--maxw); margin:0 auto; }
.card{
  position:relative; background:var(--tan); border:1px solid var(--tan-line);
  border-radius:4px; padding:clamp(1.8rem,3vw,2.8rem);
  transform-style:preserve-3d; will-change:transform;
  transition:box-shadow .5s var(--ease), background .5s var(--ease);
}
.card:hover{ box-shadow:0 30px 60px -28px rgba(60,48,30,.45); background:var(--sand-2); }
.card__idx{
  font-family:var(--serif); font-size:1rem; color:var(--red); font-weight:600;
  display:block; margin-bottom:1rem; letter-spacing:.1em;
}
.card h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:clamp(1.35rem,2vw,1.7rem); margin-bottom:.9rem; transform:translateZ(40px); }
.card p{ color:var(--ink); transform:translateZ(20px); }
@media (max-width:760px){ .cards{ grid-template-columns:1fr; } }

/* =====================================================================
   Geography — horizontal pinned
   ===================================================================== */
.geo{ background:var(--forest); color:var(--cream); }
.geo__pin{ min-height:100vh; padding:clamp(4rem,9vh,7rem) 0; display:flex; flex-direction:column; justify-content:center; overflow:hidden; }
.geo__intro{ padding:0 var(--pad); max-width:var(--maxw); margin:0 auto 2.4rem; display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; flex-wrap:wrap; }
.geo__intro .eyebrow{ color:var(--gold); }
.geo__intro .display{ color:var(--cream); max-width:24ch; }
.geo__hint{ font-size:.74rem; letter-spacing:.24em; text-transform:uppercase; color:rgba(254,245,231,.65); display:flex; align-items:center; gap:.7rem; white-space:nowrap; }
.geo__hint svg{ width:42px; height:8px; }
.geo__track{ display:flex; gap:clamp(1.5rem,3vw,2.5rem); padding:0 var(--pad); width:max-content; will-change:transform; }
.geo__panel{
  flex:0 0 clamp(320px,40vw,480px);
  background:rgba(254,245,231,.06); border:1px solid rgba(254,245,231,.16);
  border-radius:4px; padding:clamp(2rem,3vw,3rem);
}
.geo__num{ font-family:var(--serif); font-size:3.4rem; color:var(--gold); opacity:.55; display:block; line-height:1; margin-bottom:1.4rem; }
.geo__panel h3{ font-family:var(--serif); font-weight:500; font-size:1.7rem; margin-bottom:1rem; color:var(--cream); }
.geo__panel p{ color:rgba(254,245,231,.82); }
/* horizontal progress bar so the sideways motion is legible */
.geo__bar{ margin:2.6rem auto 0; width:calc(100% - 2*var(--pad)); max-width:var(--maxw); height:2px; background:rgba(254,245,231,.18); position:relative; }
.geo__bar span{ position:absolute; inset:0; transform-origin:left; transform:scaleX(0); background:var(--gold); }
/* fallback (reduced-motion / mobile): stack so every panel is reachable */
.geo--static .geo__pin{ min-height:auto; overflow:visible; }
.geo--static .geo__track{ flex-direction:column; width:auto; gap:clamp(1rem,2.5vw,2rem); }
.geo--static .geo__panel{ flex:1 1 auto; }
.geo--static .geo__bar, .geo--static .geo__hint{ display:none; }
@media (max-width:760px){
  .geo__pin{ min-height:auto; overflow:visible; }
  .geo__track{ flex-direction:column; width:auto; }
  .geo__panel{ flex:1 1 auto; }
  .geo__bar, .geo__hint{ display:none; }
}

/* =====================================================================
   Flat bureaucracy
   ===================================================================== */
.flat{ background:var(--cream); }
.flat__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2.5vw,2rem); max-width:var(--maxw); margin:0 auto; }
.flat__node{
  position:relative; z-index:1; background:var(--sand); border:1px solid var(--tan-line);
  border-radius:4px; padding:clamp(1.6rem,2.6vw,2.4rem);
}
.flat__node h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:1.4rem; margin-bottom:.9rem; }
.flat__foot{ max-width:var(--maxw); margin:3rem auto 0; font-family:var(--serif); font-style:italic; font-size:clamp(1.2rem,2vw,1.6rem); color:var(--forest); }
@media (max-width:860px){ .flat__grid{ grid-template-columns:1fr; } }

/* =====================================================================
   Core Technologies
   ===================================================================== */
.tech{ background:var(--sand); }
.tech__split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,3vw,3rem); max-width:var(--maxw); margin:0 auto; }
.tech__pillar{ background:var(--cream); border:1px solid var(--tan-line); border-radius:4px; padding:clamp(1.8rem,3vw,2.6rem); overflow:hidden; }
.tech__viz{ width:100%; height:180px; margin-bottom:1.6rem; border-radius:3px; background:var(--forest-deep); }
.tech__pillar h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:clamp(1.5rem,2.2vw,2rem); margin-bottom:1rem; }
.tech__bridge{ max-width:var(--maxw); margin:clamp(2.5rem,5vw,4rem) auto 1.5rem; font-family:var(--serif); font-style:italic; font-size:1.3rem; color:var(--ink-soft); }
.tech__foot{ max-width:var(--maxw); margin:clamp(2rem,4vw,3rem) auto 0; }

.sectors{ display:flex; flex-direction:column; max-width:var(--maxw); margin:0 auto; border-top:1px solid var(--tan-line); }
.sector{
  display:flex; align-items:center; justify-content:space-between; gap:2rem;
  width:100%; background:none; border:none; border-bottom:1px solid var(--tan-line);
  padding:clamp(1.4rem,3.5vw,2.6rem) .4rem; text-align:left; position:relative; overflow:hidden;
}
.sector__name{
  font-family:var(--serif); font-weight:500; color:var(--forest);
  font-size:clamp(2rem,6vw,4.6rem); line-height:1; letter-spacing:-.02em;
  transition:transform .6s var(--ease), color .4s var(--ease);
}
.sector::before{
  content:''; position:absolute; inset:0; background:var(--forest);
  transform:scaleY(0); transform-origin:bottom; transition:transform .55s var(--ease); z-index:-1;
}
.sector.is-active::before, .sector:hover::before{ transform:scaleY(1); }
.sector.is-active .sector__name, .sector:hover .sector__name{ color:var(--cream); transform:translateX(1.2rem); }
.sector__line{ width:clamp(40px,8vw,120px); height:1.5px; background:var(--red); flex:none; transition:width .5s var(--ease); }
.sector.is-active .sector__line, .sector:hover .sector__line{ background:var(--gold); width:clamp(60px,12vw,180px); }

/* =====================================================================
   On-site grid
   ===================================================================== */
.onsite{ background:var(--cream); }
.onsite__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--tan-line); max-width:var(--maxw); margin:0 auto; border:1px solid var(--tan-line); }
.onsite__cell{
  background:var(--cream); padding:clamp(2rem,3vw,3.4rem) clamp(1.4rem,2vw,2rem);
  min-height:clamp(220px,26vw,320px); display:flex; flex-direction:column; justify-content:flex-end;
  transition:background .5s var(--ease); position:relative; overflow:hidden;
}
.onsite__cell::after{ content:''; position:absolute; top:0; left:0; width:100%; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .55s var(--ease); }
.onsite__cell:hover{ background:var(--sand); }
.onsite__cell:hover::after{ transform:scaleX(1); }
.onsite__cell h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:clamp(1.5rem,2.4vw,2.1rem); margin-bottom:.8rem; }
.onsite__cell p{ color:var(--ink-soft); font-size:1rem; }
@media (max-width:860px){ .onsite__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .onsite__grid{ grid-template-columns:1fr; } }

/* =====================================================================
   Library + Residential (split + giant year)
   ===================================================================== */
.library, .resi{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,5vw,5rem); align-items:center; }
.library{ background:var(--sand); }
.resi{ background:var(--forest); color:var(--cream); }
.library__text p, .resi__text p{ margin-top:1.3rem; }
.resi__text .display{ color:var(--cream); }
.resi__text .eyebrow{ color:var(--gold); }
.resi__text p{ color:rgba(254,245,231,.82); }
.library__media, .resi__media{ aspect-ratio:4/3; min-height:340px; }
@media (max-width:860px){
  .library, .resi{ grid-template-columns:1fr; }
  .resi__media{ order:-1; }
  .library__media, .resi__media{ aspect-ratio:16/11; }
}

/* =====================================================================
   Team / mentors
   ===================================================================== */
.team{ background:var(--cream); }
.team__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2vw,1.8rem); max-width:var(--maxw); margin:0 auto; }
.member{
  background:var(--sand); border:1px solid var(--tan-line); border-radius:4px;
  padding:clamp(1.6rem,2.6vw,2.4rem); display:flex; flex-direction:column;
  transition:transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.member:hover{ transform:translateY(-6px); background:var(--sand-2); box-shadow:0 30px 60px -30px rgba(60,48,30,.4); }
.member__top{ display:flex; align-items:center; gap:1rem; margin-bottom:1.6rem; }
.member__photo{
  width:64px; height:64px; flex:none; border-radius:50%; overflow:hidden;
  background:var(--forest); box-shadow:0 6px 18px -8px rgba(60,48,30,.5);
}
.member__photo img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s var(--ease); }
.member:hover .member__photo img{ transform:scale(1.08); }
.member__role{ font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--red); font-weight:600; }
.member h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:1.6rem; margin-bottom:1rem; }
.member p{ color:var(--ink-soft); font-size:.96rem; }

/* ---- Elevation 2: composed entrances for team + timeline ------------- */
.member[data-reveal-card], .tstep[data-reveal-card]{ transform:translateY(54px) scale(.975); }
.member[data-reveal-card].is-in, .tstep[data-reveal-card].is-in{ transform:none; }
.tstep[data-reveal-card] .tstep__dot{ transform:scale(0); transition:transform .6s var(--ease) .25s, background .4s var(--ease); }
.tstep[data-reveal-card].is-in .tstep__dot{ transform:scale(1); }

/* ---- Elevation 3: smooth color transitions into/out of forest ------- */
.geo, .resi{ position:relative; }
.geo > *, .resi > *{ position:relative; z-index:1; }
.geo::before, .resi::before{
  content:''; position:absolute; inset:0 0 auto; height:160px; z-index:0; pointer-events:none;
  background:linear-gradient(var(--sand), transparent);
}
.geo::after, .resi::after{
  content:''; position:absolute; inset:auto 0 0; height:160px; z-index:0; pointer-events:none;
  background:linear-gradient(transparent, var(--cream));
}

/* ---- Team page ------------------------------------------------------- */
.team-hero{ padding:clamp(8rem,17vh,13rem) var(--pad) clamp(2rem,4vw,3rem); background:var(--cream); max-width:var(--maxw); margin:0 auto; }
.team-hero .display{ max-width:16ch; }
.team--page{ padding:0 var(--pad) clamp(5rem,12vh,9rem); background:var(--cream); }
.team-group + .team-group{ margin-top:clamp(3.5rem,8vw,6rem); }
.team-group__title{
  max-width:var(--maxw); margin:0 auto clamp(1.6rem,3vw,2.4rem);
  font-family:var(--serif); font-weight:500; color:var(--forest);
  font-size:clamp(1.5rem,3vw,2.3rem); display:flex; align-items:center; gap:1.2rem;
}
.team-group__title .split-line>span{ color:var(--forest); }
.team-group__title::after{ content:''; flex:1; height:1px; background:var(--tan-line); }
.tgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.6rem,3vw,2.8rem); max-width:var(--maxw); margin:0 auto; align-items:start; }
.tmember{ display:flex; flex-direction:column; }
.tmember__photo{ aspect-ratio:1/1; border-radius:4px; overflow:hidden; margin-bottom:1.3rem; background:var(--tan); box-shadow:0 22px 50px -30px rgba(60,48,30,.55); }
.tmember__photo img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .7s var(--ease); }
.tmember:hover .tmember__photo img{ transform:scale(1.06); }
.tmember__role{ display:block; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--red); font-weight:600; margin-bottom:.5rem; }
.tmember h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:1.55rem; margin-bottom:.8rem; }
.tmember p{ color:var(--ink-soft); font-size:.95rem; }
@media (max-width:900px){ .tgrid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .tgrid{ grid-template-columns:1fr; } }
.team__back{ display:inline-block; margin-top:clamp(2.5rem,5vw,4rem); font-weight:600; color:var(--forest); position:relative; }
.team__back::after{ content:''; position:absolute; left:0; bottom:-3px; width:100%; height:1.5px; background:var(--red); transform:scaleX(1); transform-origin:right; transition:transform .4s var(--ease); }
.team__back:hover{ color:var(--red); }
.team__back:hover::after{ transform:scaleX(0); }
@media (max-width:900px){ .team__grid{ grid-template-columns:1fr; } }

/* =====================================================================
   Path / timeline
   ===================================================================== */
.path{ background:var(--sand); }
.path .section__head .display{ max-width:none; }
.timeline{ position:relative; max-width:var(--maxw); margin:0 auto; }
.timeline__track{ position:absolute; top:9px; left:0; width:100%; height:6px; }
.timeline__base{ stroke:var(--tan-line); stroke-width:2; }
.timeline__fill{ stroke:var(--red); stroke-width:2; stroke-dasharray:1; stroke-dashoffset:1; }
.timeline__steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; list-style:none; }
.tstep{ position:relative; padding-top:2.4rem; }
.tstep__dot{ position:absolute; top:3px; left:0; width:18px; height:18px; border-radius:50%; background:var(--cream); border:3px solid var(--red); transition:transform .4s var(--ease), background .4s var(--ease); }
.tstep:hover .tstep__dot{ background:var(--red); transform:scale(1.25); }
.tstep__when{ display:block; font-size:.76rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:.5rem; }
.tstep h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:clamp(1.4rem,2.4vw,2rem); }
.path__foot{ max-width:var(--maxw); margin:clamp(2.5rem,5vw,4rem) auto 0; }
@media (max-width:760px){ .timeline__steps{ grid-template-columns:1fr 1fr; } .timeline__track{ display:none; } .tstep{ padding-top:1.6rem; } }

/* =====================================================================
   Harvest CTA
   ===================================================================== */
.harvest{ position:relative; padding:clamp(6rem,16vh,12rem) var(--pad); overflow:hidden; background:var(--forest-deep); color:var(--cream); }
.harvest__canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.9; }
.harvest__inner{ position:relative; z-index:1; max-width:62ch; margin:0 auto; text-align:center; }
.harvest__title{ font-family:var(--serif); font-weight:500; font-size:clamp(2.6rem,8vw,6rem); line-height:1; color:var(--cream); margin-bottom:1.8rem; }
.harvest__inner p{ margin:0 auto 1.3rem; color:rgba(254,245,231,.85); max-width:60ch; }
.harvest .btn--cream{ margin-top:1.6rem; }
.btn--magnetic{ will-change:transform; }

/* =====================================================================
   Charlotte landing page
   ===================================================================== */
.clp.section{ background:var(--cream); }
.clp--sand{ background:var(--sand) !important; }

/* hero */
.clp-hero{ background:var(--cream); padding:clamp(8rem,17vh,13rem) var(--pad) clamp(4rem,8vh,6rem); text-align:center; }
.clp-hero__inner{ max-width:840px; margin:0 auto; }
.clp-hero__title{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:clamp(2.4rem,6vw,4.4rem); line-height:1.05; letter-spacing:-0.01em; margin:.4rem auto 0; max-width:18ch; }
.clp-hero__lede{ margin:1.6rem auto 0; max-width:54ch; font-size:clamp(1.1rem,1.6vw,1.4rem); color:var(--ink); }
.clp-hero__lede strong{ color:var(--forest); font-weight:600; }

/* video — portrait (9:16), matching the source footage exactly so nothing
   is ever cropped; object-fit:contain as a second guarantee against crop */
.clp-video{ position:relative; margin:clamp(2.5rem,5vw,3.5rem) auto 0; width:100%; max-width:380px; aspect-ratio:9/16; border-radius:14px; overflow:hidden;
  background:radial-gradient(120% 120% at 50% 30%, #2A3D23, #1E2C19); box-shadow:0 40px 90px -40px rgba(30,44,25,.6); display:grid; place-items:center; }
.clp-video__media{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#000; }
.clp-video__play{
  position:relative; z-index:2; width:88px; height:88px; border-radius:50%; border:none; background:var(--red);
  display:grid; place-items:center; cursor:pointer; transition:transform .4s var(--ease), background .4s var(--ease), opacity .3s;
}
.clp-video__play span{ width:0; height:0; border-left:24px solid var(--cream); border-top:15px solid transparent; border-bottom:15px solid transparent; margin-left:6px; }
.clp-video__play:hover{ transform:scale(1.08); background:var(--red-2); }
.clp-video.is-playing .clp-video__play{ opacity:0; pointer-events:none; }
.clp-video__cap{ position:absolute; bottom:1rem; left:0; right:0; z-index:2; text-align:center; color:rgba(254,245,231,.7); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; }
.clp-video.is-playing .clp-video__cap{ opacity:0; }

/* call-now block */
.clp-call{ margin-top:clamp(2.5rem,5vw,3.5rem); display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.clp-call__label{ font-size:1rem; color:var(--ink-soft); letter-spacing:.02em; }
.clp-call__num{ font-family:var(--serif); font-weight:600; color:var(--red); font-size:clamp(2.6rem,7vw,4.4rem); line-height:1; letter-spacing:.01em; transition:color .3s var(--ease); }
.clp-call__num:hover{ color:var(--red-2); }
.clp-call__num--light{ color:var(--gold); }
.clp-call .btn{ margin-top:.8rem; }

/* It thinks */
.clp-thinks{ background:var(--forest); color:var(--cream); padding:clamp(5rem,12vh,9rem) var(--pad); text-align:center; }
.clp-thinks__inner{ max-width:760px; margin:0 auto; }
.clp-thinks__big{ font-family:var(--serif); font-weight:500; color:var(--cream); font-size:clamp(3.5rem,12vw,8rem); line-height:1; margin-bottom:1.4rem; }
.clp-thinks p{ color:rgba(254,245,231,.86); font-size:clamp(1.15rem,1.7vw,1.5rem); margin:0 auto; max-width:60ch; }

/* why grid */
.clp-why{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2.2vw,1.6rem); max-width:var(--maxw); margin:0 auto; }
.clp-why__card{ background:var(--tan); border:1px solid var(--tan-line); border-radius:6px; padding:clamp(1.6rem,2.6vw,2.2rem); }
.clp-why__card h3{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:clamp(1.3rem,1.9vw,1.6rem); margin-bottom:.7rem; }
.clp-why__card p{ color:var(--ink); font-size:1rem; }
@media (max-width:860px){ .clp-why{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .clp-why{ grid-template-columns:1fr; } }

/* what she does */
.clp-does{ list-style:none; max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:.9rem clamp(2rem,4vw,4rem); }
.clp-does li{ position:relative; padding-left:2.2rem; font-size:clamp(1.05rem,1.4vw,1.2rem); color:var(--ink); line-height:1.4; }
.clp-does li::before{ content:''; position:absolute; left:0; top:.35em; width:1.1rem; height:1.1rem; border-radius:50%; background:var(--forest); }
.clp-does li::after{ content:''; position:absolute; left:.34rem; top:.62em; width:.36rem; height:.18rem; border-left:2px solid var(--cream); border-bottom:2px solid var(--cream); transform:rotate(-45deg); }
@media (max-width:680px){ .clp-does{ grid-template-columns:1fr; } }

/* pricing tiers */
.tiers{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2vw,1.6rem); max-width:var(--maxw); margin:0 auto; align-items:stretch; }
.tier{ background:var(--cream); border:1px solid var(--tan-line); border-radius:8px; padding:clamp(1.8rem,2.8vw,2.6rem); display:flex; flex-direction:column; }
.tier--featured{ background:var(--forest); color:var(--cream); border-color:var(--forest); position:relative; box-shadow:0 40px 80px -40px rgba(30,44,25,.55); }
.tier__badge{ position:absolute; top:-.8rem; left:50%; transform:translateX(-50%); background:var(--red); color:var(--cream); font-size:.7rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; padding:.4rem 1rem; border-radius:100px; white-space:nowrap; }
.tier__name{ font-family:var(--serif); font-weight:500; font-size:1.5rem; color:var(--forest); margin-bottom:.4rem; }
.tier--featured .tier__name{ color:var(--cream); }
.tier__price{ font-family:var(--serif); font-size:clamp(2.2rem,4vw,3rem); color:var(--forest); line-height:1; margin-bottom:.4rem; }
.tier__price span{ font-family:var(--sans); font-size:1rem; color:var(--ink-soft); font-weight:500; }
.tier--featured .tier__price{ color:var(--cream); }
.tier--featured .tier__price span{ color:rgba(254,245,231,.7); }
.tier__billing{ font-size:.85rem; color:var(--ink-soft); margin-bottom:1.4rem; }
.tier--featured .tier__billing{ color:rgba(254,245,231,.75); }
.tier__list{ list-style:none; display:flex; flex-direction:column; gap:.8rem; margin-bottom:2rem; flex:1; }
.tier__list li{ position:relative; padding-left:1.5rem; font-size:.98rem; color:var(--ink); }
.tier__list li::before{ content:''; position:absolute; left:0; top:.5em; width:.5rem; height:.5rem; border-radius:50%; background:var(--red); }
.tier--featured .tier__list li{ color:rgba(254,245,231,.9); }
.tier--featured .tier__list li::before{ background:var(--gold); }
.tier__cta{ width:100%; justify-content:center; }
@media (max-width:860px){ .tiers{ grid-template-columns:1fr; max-width:460px; } .tier--featured{ order:-1; } }

/* final call CTA */
.clp-final{ background:var(--forest-deep); color:var(--cream); text-align:center; padding:clamp(5rem,14vh,10rem) var(--pad); }
.clp-final__inner{ max-width:680px; margin:0 auto; }
.clp-final__title{ font-family:var(--serif); font-weight:500; color:var(--cream); font-size:clamp(2.2rem,6vw,4rem); line-height:1.05; margin-bottom:1.4rem; }
.clp-final__label{ color:rgba(254,245,231,.8); font-size:1.1rem; margin:0 auto .6rem; max-width:none; }
.clp-final__num{ display:inline-block; font-family:var(--serif); font-weight:600; color:var(--gold); font-size:clamp(3rem,9vw,5.5rem); line-height:1; margin-bottom:1.6rem; will-change:transform; transition:color .3s var(--ease); }
.clp-final__num:hover{ color:#F2D38C; }
.clp-final__note{ color:rgba(254,245,231,.7); font-size:.95rem; margin:0 auto 1.8rem; max-width:44ch; }
.clp-final .btn{ display:block; width:max-content; margin:0 auto; }

/* about */
.clp-about{ max-width:760px; margin:0 auto; text-align:center; }
.clp-about p{ margin:1.4rem auto 0; font-size:clamp(1.1rem,1.6vw,1.35rem); color:var(--ink); max-width:58ch; }
.clp-about p strong{ color:var(--forest); font-weight:600; }

/* contact */
.clp-contact{ background:var(--forest); color:var(--cream); padding:clamp(5rem,12vh,9rem) var(--pad); }
.clp-contact__grid{ max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(2.5rem,5vw,5rem); align-items:start; }
.clp-contact__intro{ text-align:left; }
.clp-contact .display{ color:var(--cream); }
.clp-contact p{ color:rgba(254,245,231,.85); margin:1.2rem 0 0; }
.clp-contact .clp-call__num{ margin-top:1.4rem; display:inline-block; }
.clp-contact__email{ font-size:.98rem; }
.clp-contact__email a{ color:var(--gold); border-bottom:1px solid currentColor; }
@media (max-width:860px){ .clp-contact__grid{ grid-template-columns:1fr; } .clp-contact__intro{ text-align:center; } }

/* contact form */
.cform{ background:rgba(254,245,231,.06); border:1px solid rgba(254,245,231,.18); border-radius:8px; padding:clamp(1.6rem,3vw,2.4rem); position:relative; }
.cform__row{ margin-bottom:1.2rem; display:flex; flex-direction:column; gap:.4rem; }
.cform__row label{ font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(254,245,231,.75); font-weight:600; }
.cform__row input, .cform__row textarea{
  font-family:var(--sans); font-size:1rem; color:var(--ink);
  background:var(--cream); border:1px solid transparent; border-radius:4px;
  padding:.75rem .9rem; resize:vertical; transition:box-shadow .3s var(--ease);
}
.cform__row input:focus, .cform__row textarea:focus{ outline:none; box-shadow:0 0 0 3px rgba(232,194,122,.55); }
.cform__submit{ width:100%; justify-content:center; margin-top:.4rem; }
.cform__hidden-frame{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; border:0; }
.cform__done{
  position:absolute; inset:0; margin:0; display:none; place-items:center; text-align:center;
  background:var(--forest); border-radius:8px; color:var(--cream);
  font-family:var(--serif); font-size:1.3rem; padding:2rem;
}
.cform.is-sent .cform__done{ display:grid; }

/* =====================================================================
   Annevar (archived record page — not linked from live navigation)
   ===================================================================== */
.av-hero{ position:relative; min-height:78vh; display:flex; align-items:flex-end; overflow:hidden; }
.av-hero__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.av-hero__veil{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(30,44,25,.35) 0%, rgba(30,44,25,.15) 40%, var(--cream) 96%);
}
.av-hero__content{ position:relative; z-index:1; padding:clamp(6rem,14vh,10rem) var(--pad) clamp(3rem,6vh,4rem); max-width:var(--maxw); margin:0 auto; width:100%; }
.av-hero__title{ font-family:var(--serif); font-weight:500; color:var(--cream); font-size:clamp(2.6rem,7vw,5.5rem); line-height:1; text-shadow:0 4px 30px rgba(0,0,0,.35); }
.av-hero__meta{ margin-top:1rem; color:var(--cream); font-size:clamp(1.05rem,1.5vw,1.3rem); text-shadow:0 2px 16px rgba(0,0,0,.4); }
.av-hero__lede{ margin-top:.6rem; color:rgba(254,245,231,.9); font-size:clamp(1rem,1.3vw,1.15rem); text-shadow:0 2px 16px rgba(0,0,0,.4); }

.av-video-section{ text-align:center; background:var(--cream); }
.clp-video--landscape{ max-width:760px; aspect-ratio:16/9; border-radius:8px; }
.av-video__call{ margin:clamp(2rem,4vw,2.5rem) auto 0; font-size:clamp(1.1rem,1.6vw,1.35rem); color:var(--forest); }
.av-video__call a{ font-weight:600; color:var(--red); border-bottom:1px solid currentColor; }
.av-video__note{ margin:.6rem auto 0; color:var(--ink-soft); }

/* =====================================================================
   Footer
   ===================================================================== */
.foot{ background:var(--forest-deep); color:rgba(254,245,231,.7); padding:2.4rem var(--pad); display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; border-top:1px solid rgba(254,245,231,.1); }
.foot__brand{ display:flex; align-items:center; gap:.8rem; font-size:.9rem; }
.foot__brand img{ width:34px; }
.foot__meta{ font-family:var(--serif); font-style:italic; font-size:.95rem; color:var(--gold); }

/* =====================================================================
   Animation base states (JS adds .is-in)
   ===================================================================== */
[data-reveal]{ opacity:0; transform:translateY(28px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in{ opacity:1; transform:none; }
[data-reveal-card]{ opacity:0; transform:translateY(46px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal-card].is-in{ opacity:1; transform:none; }
.split-line{ display:block; overflow:hidden; padding-bottom:.16em; margin-bottom:-.12em; }
.split-line>span{ display:block; transform:translateY(120%); transition:transform 1s var(--ease); }
.split-line.is-in>span{ transform:none; }

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  [data-reveal],[data-reveal-card]{ opacity:1; transform:none; }
  .split-line>span,.hero__title .line>span{ transform:none; }
  .hero__scroll{ display:none; }
}
