/* ===========================================================
   Tardimap — Bold Expressive
   Warm cream palette · Bricolage Grotesque + Inter ·
   highlighter marks · sticker media frames · chunky cards
   =========================================================== */

:root{
  --cream:#FFF6EC;
  --surface:#FFFFFF;
  --ink:#262230;
  --muted:#6a6472;
  --coral:#FF5A5F;
  --teal:#17B0A6;
  --amber:#F4A93A;
  --plum:#6D3B8E;
  --coral-10:rgba(255,90,95,0.12);
  --teal-10:rgba(23,176,166,0.12);
  --amber-10:rgba(244,169,58,0.15);
  --plum-10:rgba(109,59,142,0.10);
  --radius-lg:28px;
  --radius-md:18px;
  --radius-sm:12px;
  --shadow-hard:6px 6px 0 rgba(38,34,48,0.08);
  --shadow-soft:0 12px 30px rgba(38,34,48,0.10);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top:88px;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Bricolage Grotesque','Poppins', system-ui, sans-serif;
  font-weight:700;
  line-height:1.08;
  margin:0 0 0.5em 0;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em 0;}
a{color:inherit;}
img,video{max-width:100%; display:block;}
em{font-style:italic;}

.container{width:100%; max-width:1180px; margin:0 auto; padding:0 24px;}
.skip-link{position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff; padding:10px 16px; border-radius:0 0 10px 0; z-index:200;}
.skip-link:focus{left:0;}

/* ---------- decorative shapes ---------- */
.blob{position:absolute; border-radius:50%; z-index:0; pointer-events:none;}
.dot-cluster{position:absolute; z-index:0; pointer-events:none;}
.dot-cluster span{display:inline-block; width:9px; height:9px; border-radius:50%; margin:3px;}

/* ---------- highlighter marker ---------- */
.mark{position:relative; white-space:nowrap; z-index:1;}
.mark::after{
  content:""; position:absolute; left:-4px; right:-4px; bottom:0.02em;
  height:0.38em; background:var(--amber); opacity:0.55; border-radius:6px;
  z-index:-1; transform:rotate(-1deg);
}
.mark.coral::after{background:var(--coral); opacity:0.30;}
.mark.teal::after{background:var(--teal); opacity:0.30;}
.mark.plum::after{background:var(--plum); opacity:0.22;}
.mark.magenta::after{background:#E93D82; opacity:0.32;}
.mark.cyan::after{background:#12C2C9; opacity:0.34;}

/* ---------- buttons ---------- */
a.btn, .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:600; font-size:16px;
  text-decoration:none; border:2px solid transparent; cursor:pointer;
  transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-family:'Inter', system-ui, sans-serif;
}
a.btn:hover, .btn:hover{transform:translateY(-2px) rotate(-0.5deg);}
a.btn-primary, .btn-primary{background:var(--coral); color:#fff; border-color:var(--ink); box-shadow:var(--shadow-hard);}
a.btn-primary:hover, .btn-primary:hover{box-shadow:8px 8px 0 rgba(38,34,48,0.10);}
a.btn-plum, .btn-plum{background:var(--plum); color:#fff; border-color:var(--ink); box-shadow:var(--shadow-hard);}
a.btn-outline, .btn-outline{background:transparent; color:var(--teal); border-color:var(--teal);}
a.btn-outline:hover, .btn-outline:hover{background:var(--teal-10);}
a.btn-white-outline, .btn-white-outline{background:transparent; color:#fff; border-color:rgba(255,255,255,0.7);}
a.btn-white-outline:hover, .btn-white-outline:hover{background:rgba(255,255,255,0.15);}
a.btn-white, .btn-white{background:#fff; color:var(--coral); border-color:var(--ink); box-shadow:var(--shadow-hard);}
a.btn-white:hover, .btn-white:hover{background:var(--cream);}
a.btn-sm, .btn-sm{padding:9px 18px; font-size:14px;}

/* ---------- nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,246,236,0.92); backdrop-filter:blur(8px);
  border-bottom:2px solid var(--ink);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:12px 24px; max-width:1180px; margin:0 auto; position:relative;
}
.wordmark-block{display:flex; flex-direction:column; line-height:1.1; text-decoration:none;}
.wordmark-row{display:flex; align-items:center; gap:9px;}
.wordmark-mark{height:27px; width:auto; display:block;}
.wordmark{font-family:'Bricolage Grotesque','Poppins',sans-serif; font-weight:700; font-size:25px; color:var(--ink);}
.tagline-tiny{font-size:11px; color:var(--muted); letter-spacing:0.03em; font-weight:500; margin-left:36px;}
.nav-menu{
  display:flex; gap:24px; align-items:center; list-style:none; margin:0; padding:0;
  font-weight:600; font-size:15px;
}
.nav-menu li{margin:0;}
.nav-link{
  text-decoration:none; color:var(--ink); cursor:pointer; position:relative;
  padding:4px 2px; background:none; border:none; font:inherit;
}
.nav-menu .nav-link:hover{color:var(--plum);}
.nav-menu .nav-link.active{color:var(--coral);}
.nav-menu .nav-link.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:3px;
  background:var(--coral); border-radius:3px;
}
.nav-right{display:flex; align-items:center; gap:14px;}
.menu-toggle{
  display:none; background:none; border:2px solid var(--ink); border-radius:10px;
  padding:6px 11px; font-size:17px; font-weight:700; cursor:pointer; color:var(--ink);
}

/* ---------- page-section (SPA) ---------- */
.page-section[hidden]{display:none;}
.page-section.active{animation:pageIn .45s ease;}
@keyframes pageIn{from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;}}
@media (prefers-reduced-motion: reduce){.page-section.active{animation:none;}}

/* ---------- shared section bits ---------- */
section{position:relative;}
.pad{padding:88px 0;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:var(--plum); color:#fff;
  font-weight:600; font-size:13px; letter-spacing:0.04em; padding:6px 14px;
  border-radius:999px; margin-bottom:20px;
}
.section-head{max-width:720px; margin-bottom:44px;}
.section-head .kicker{
  display:inline-block; font-weight:700; font-size:13px; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--coral); margin-bottom:10px;
}
.section-head h2{font-size:clamp(1.9rem,3vw,2.6rem);}
.section-head p{color:var(--muted); font-size:17px;}

/* ---------- sticker media frames ---------- */
figure.sticker{margin:0; position:relative;}
.sticker-frame{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  border:3px solid var(--ink); box-shadow:var(--shadow-hard); background:#000;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.aspect-16-9{aspect-ratio:16/9;}
.aspect-4-3{aspect-ratio:4/3;}
.sticker-frame img,.sticker-frame video{width:100%; height:100%; object-fit:cover; display:block;}
figcaption{margin-top:12px; font-size:14px; color:var(--muted); font-weight:500;}
figcaption strong{color:var(--ink);}

/* ---------- HERO ---------- */
.hero{position:relative; overflow:hidden; padding:64px 0 80px;}
.hero .blob-a{width:340px; height:340px; background:var(--amber-10); top:-120px; left:-120px;}
.hero .blob-b{width:260px; height:260px; background:var(--teal-10); bottom:-100px; right:6%;}
.hero-grid{position:relative; z-index:1; display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(2.4rem,4.2vw,3.6rem); color:var(--ink);}
.hero-sub{font-size:18px; color:var(--muted); max-width:520px; margin-bottom:28px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap;}

/* ---------- STAT STRIP ---------- */
.stat-strip{background:var(--ink); padding:36px 0;}
.stat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:center;}
.stat-item .stat-num{
  font-family:'Bricolage Grotesque','Poppins',sans-serif; font-weight:800;
  font-size:clamp(1.5rem,2.4vw,2.1rem); color:var(--amber); display:block; margin-bottom:4px;
}
.stat-item:nth-child(2) .stat-num{color:var(--teal);}
.stat-item:nth-child(3) .stat-num{color:var(--coral);}
.stat-item .stat-label{color:#EDE7F6; font-size:14px; font-weight:500; opacity:0.9;}

/* ---------- ABOUT (home teaser + intro prose) ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.about-text p{font-size:17px; color:var(--ink);}
.about-media{position:relative;}
.about-media .dot-cluster{top:-30px; right:-10px;}

/* ---------- MEDIA SHOWCASE ---------- */
.showcase{background:var(--surface); border-top:2px solid var(--ink); border-bottom:2px solid var(--ink);}
.showcase-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.showcase .blob-c{width:220px; height:220px; background:var(--coral-10); top:10%; right:-90px;}

/* ---------- STEPS ---------- */
.steps-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.step-card{
  background:var(--surface); border:2px solid var(--ink); border-radius:var(--radius-md);
  padding:22px; box-shadow:var(--shadow-hard); display:flex; flex-direction:column; gap:12px;
}
.step-num{
  font-family:'Bricolage Grotesque','Poppins',sans-serif; font-weight:800; font-size:15px;
  color:#fff; background:var(--plum); width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.step-card:nth-child(1) .step-num{background:var(--coral);}
.step-card:nth-child(2) .step-num{background:var(--teal);}
.step-card:nth-child(3) .step-num{background:var(--amber); color:var(--ink);}
.step-card:nth-child(4) .step-num{background:var(--plum);}
.step-card h3{font-size:19px; margin-bottom:4px;}
.step-card p{font-size:15px; color:var(--muted); margin-bottom:0;}
.step-card figure{margin-top:10px;}
.step-card .sticker-frame{border-width:2px;}
.step-card figcaption{font-size:12.5px;}

/* ---------- DATA TEASER (home) ---------- */
.data-teaser{
  background:linear-gradient(135deg, var(--plum-10), var(--teal-10));
  border-radius:var(--radius-lg); border:2px solid var(--ink); padding:52px;
  display:grid; grid-template-columns:1.2fr 0.8fr; gap:40px; align-items:center;
  position:relative; overflow:hidden;
}
.data-teaser h2{font-size:clamp(1.7rem,2.6vw,2.2rem);}
.data-teaser p{color:var(--ink); font-size:16.5px; max-width:480px;}
.data-teaser-visual{display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center;}

/* ---------- GET INVOLVED BAND (home) ---------- */
.involved-band{background:var(--coral); color:#fff; padding:70px 0; position:relative; overflow:hidden; text-align:center;}
.involved-band .blob-d{width:300px; height:300px; background:rgba(255,255,255,0.10); top:-140px; left:-60px;}
.involved-band .blob-e{width:220px; height:220px; background:rgba(255,255,255,0.10); bottom:-120px; right:2%;}
.page-section{position:relative; overflow:hidden;}
.page-section > .container{position:relative; z-index:1;}
.blob-f{width:320px; height:320px; background:var(--teal-10); top:-120px; left:-110px;}
.blob-g{width:260px; height:260px; background:var(--coral-10); top:32%; right:-120px;}
.blob-h{width:240px; height:240px; background:var(--amber-10); bottom:-90px; left:6%;}

/* Per-page blob arrangements — each page gets a distinct layout */
#what-is .blob-f{width:300px; height:300px; background:var(--amber-10); top:-100px; left:auto; right:-90px;}
#what-is .blob-g{width:260px; height:260px; background:var(--plum-10); top:42%; left:-130px; right:auto;}
#what-is .blob-h{width:230px; height:230px; background:var(--teal-10); bottom:-110px; left:auto; right:7%;}

#connectome .blob-f{width:300px; height:300px; background:var(--coral-10); top:-130px; left:-90px;}
#connectome .blob-g{width:250px; height:250px; background:var(--teal-10); top:38%; right:-120px;}
#connectome .blob-h{width:220px; height:220px; background:var(--plum-10); bottom:-90px; left:12%;}

#dataset .blob-f{width:330px; height:330px; background:var(--plum-10); top:-110px; left:auto; right:-100px;}
#dataset .blob-g{width:240px; height:240px; background:var(--amber-10); top:46%; left:-120px; right:auto;}
#dataset .blob-h{width:260px; height:260px; background:var(--teal-10); bottom:-120px; left:auto; right:5%;}

#apply .blob-f{width:280px; height:280px; background:var(--teal-10); top:-120px; left:auto; right:-80px;}
#apply .blob-g{width:300px; height:300px; background:var(--coral-10); top:auto; bottom:-110px; left:-90px;}
#apply .blob-h{width:220px; height:220px; background:var(--amber-10); top:22%; left:-100px; right:auto;}
.involved-inner{position:relative; z-index:1; max-width:640px; margin:0 auto;}
.involved-band h2{color:#fff; font-size:clamp(1.9rem,3vw,2.5rem);}
.involved-band p{color:rgba(255,255,255,0.92); font-size:17px; margin-bottom:28px;}
.involved-actions{display:flex; gap:16px; justify-content:center; flex-wrap:wrap; align-items:center;}
.rave-accent{width:64px; height:64px; border-radius:50%; overflow:hidden; border:3px solid #fff; display:inline-block; vertical-align:middle;}
.rave-accent img{width:100%; height:100%; object-fit:cover;}

/* ---------- generic content pages ---------- */
.page-head{max-width:760px; margin-bottom:40px;}
.page-head .eyebrow{margin-bottom:16px;}
.page-head h1,.page-head h2{font-size:clamp(2rem,3.4vw,2.9rem);}
.page-head p{color:var(--muted); font-size:18px;}

/* What is a tardigrade — prose + media */
.prose{max-width:760px;}
.latin{font-style:italic; color:var(--plum);}
.prose p{font-size:17px; color:var(--ink); margin-bottom:1.3em;}
.prose-media{margin:40px 0;}
.prose-media.center{max-width:720px; margin-left:auto; margin-right:auto;}

/* Project Phases — timeline */
.timeline{position:relative; display:flex; flex-direction:column; gap:28px; margin-top:20px;}
.timeline-item{
  display:grid; grid-template-columns:120px 1fr; gap:26px; align-items:start;
  background:var(--surface); border:2px solid var(--ink); border-radius:var(--radius-md);
  padding:26px 28px; box-shadow:var(--shadow-hard);
}
.timeline-item.has-media{grid-template-columns:120px 1.2fr 1fr;}
.phase-tag{
  font-family:'Bricolage Grotesque','Poppins',sans-serif; font-weight:800; font-size:14px;
  color:#fff; background:var(--plum); border-radius:12px; padding:10px 12px; text-align:center;
  line-height:1.2; align-self:start;
}
.timeline-item:nth-child(1) .phase-tag{background:var(--coral);}
.timeline-item:nth-child(2) .phase-tag{background:var(--teal);}
.timeline-item:nth-child(3) .phase-tag{background:var(--amber); color:var(--ink);}
.timeline-item:nth-child(4) .phase-tag{background:var(--plum);}
.timeline-item:nth-child(5) .phase-tag{background:var(--ink);}
.phase-body h3{font-size:20px; margin-bottom:6px;}
.phase-body p{font-size:15.5px; color:var(--muted); margin-bottom:0;}
.phase-media .sticker-frame{border-width:2px;}
.phase-media figcaption{font-size:12.5px;}

/* ---------- DATA page — dataset accordions ---------- */
.datasets-grid{display:flex; flex-direction:column; gap:22px; max-width:940px;}
.dataset-card{
  background:var(--surface); border:2px solid var(--ink); border-radius:var(--radius-md);
  box-shadow:var(--shadow-hard); overflow:hidden;
}
.dataset-card-header{display:flex; align-items:center; gap:16px; padding:22px 24px; flex-wrap:wrap;}
.dataset-card-info{flex:1 1 220px;}
.dataset-card-name{font-size:22px; margin:0;}
.dataset-card-species{font-style:italic; color:var(--muted); font-size:14px; margin:2px 0 0;}
.dataset-card-badges{display:flex; gap:8px; flex-wrap:wrap;}
.badge{background:#fff; border:2px solid var(--ink); border-radius:999px; padding:5px 13px; font-size:12.5px; font-weight:600;}
.badge-method{background:var(--ink); color:#fff;}
.badge-complete{background:var(--teal-10); border-color:var(--teal); color:#0d6b64;}
.badge-in-progress{background:var(--amber-10); border-color:var(--amber); color:#8a5b00;}
.badge-coming-soon{background:var(--plum-10); border-color:var(--plum); color:var(--plum);}
.dataset-card-toggle{
  flex:0 0 auto; width:42px; height:42px; border-radius:50%; border:2px solid var(--ink);
  background:var(--cream); cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.dataset-card-toggle:hover{background:var(--amber-10);}
.toggle-chevron{width:11px; height:11px; border-right:2.5px solid var(--ink); border-bottom:2.5px solid var(--ink); transform:rotate(45deg) translate(-1px,-2px); transition:transform .3s ease;}
.dataset-card-toggle[aria-expanded="true"] .toggle-chevron{transform:rotate(-135deg) translate(-1px,-1px);}
.dataset-card-body{max-height:0; overflow:hidden; transition:max-height .45s ease;}
.dataset-card-body.open{max-height:4000px;}
.dataset-card-body-inner{padding:4px 24px 26px;}
.dataset-card-intro{font-size:16px; color:var(--ink); border-top:1px dashed rgba(38,34,48,0.18); padding-top:18px;}
.dataset-credits{font-size:14px; color:var(--muted); margin:10px 0 0;}
.card-section{margin-top:22px;}
.card-section h4{font-size:16px; margin-bottom:8px; color:var(--plum);}
.card-section p{font-size:15px; color:var(--muted); margin-bottom:12px;}
.card-flythrough .sticker-frame{border-width:2px;}
.dataset-placeholder{color:var(--muted); font-style:italic; border-top:1px dashed rgba(38,34,48,0.18); padding-top:18px; margin:0;}
/* segmentation legend */
.sticker.seg-viewer{margin-top:18px;}
.seg-frame{aspect-ratio:6/5;}
.seg-render{width:100%; height:100%; object-fit:cover; object-position:right center; display:block; background:#0e1b2e; transition:opacity .18s ease;}
.seg-legend{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px;}
.seg-item{display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; border:2px solid var(--ink); border-radius:999px; padding:5px 13px; background:#fff; color:var(--ink);}
.seg-item .dot{width:11px; height:11px; border-radius:50%; flex:0 0 auto;}
.seg-toggle{cursor:pointer; font-family:inherit; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;}
.seg-toggle:hover{transform:translateY(-2px);}
.seg-toggle.active{background:var(--ink); color:#fff; box-shadow:var(--shadow-hard);}
.seg-cuticle .dot{background:#cfd6df;}
.seg-nuclei .dot{background:var(--teal);}
.seg-muscles .dot{background:var(--coral);}
.seg-item.off{color:var(--muted); border-color:rgba(38,34,48,0.2); opacity:0.8;}
.seg-item.off .dot{background:rgba(38,34,48,0.25);}

/* ---------- TEAM page — circle avatar over card ---------- */
.team-about{margin-bottom:28px;}
.team-about p{font-size:16px; line-height:1.65; max-width:66ch;}
.team-about a{color:var(--plum); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:2px;}
.team-about a strong{font-weight:700;}
.team-people{padding-top:58px;}
.team-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(200px,1fr)); gap:76px 22px;
}
.team-card{
  position:relative;
  background:var(--surface); border:2px solid var(--ink); border-radius:var(--radius-md);
  box-shadow:var(--shadow-hard); padding:66px 18px 22px; text-align:center;
  transition:box-shadow .3s ease;
}
.team-card.card-flash{box-shadow:0 0 0 3px var(--teal), var(--shadow-hard);}
.team-avatar{
  position:absolute; top:-58px; left:50%; transform:translateX(-50%);
  width:112px; height:112px; border-radius:50%; overflow:hidden;
  border:3px solid var(--ink); background:var(--cream); box-shadow:var(--shadow-hard);
}
.team-avatar img{width:100%; height:100%; object-fit:cover; display:block;}
.team-avatar.placeholder{background:linear-gradient(135deg, var(--plum-10), var(--teal-10)); display:flex; align-items:center; justify-content:center;}
.team-avatar.placeholder::after{content:"🐻"; font-size:44px;}
.team-avatar.placeholder.tardi::after{content:none;}
.team-avatar.placeholder.tardi img{width:80%; height:auto; object-fit:contain;}
.team-name{font-size:16px; margin:0 0 5px; line-height:1.2;}
.team-role{font-size:13.5px; font-weight:600; color:var(--coral); margin:0 0 5px;}
.team-inst{font-size:12.5px; color:var(--muted); margin:0; line-height:1.4;}
.team-lab{font-size:12px; color:var(--muted); margin:3px 0 0; line-height:1.4; font-style:italic;}
.team-bio-link{display:inline-block; margin-top:9px; font-size:12.5px; font-weight:600; color:var(--teal); text-decoration:none;}
.team-bio-link:hover{text-decoration:underline;}

/* ---------- GET INVOLVED page — form ---------- */
.join-wrap{max-width:640px;}
.join-intro{font-size:17px; color:var(--ink); margin-bottom:28px;}
.join-form{
  background:var(--surface); border:2px solid var(--ink); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-hard); padding:32px;
}
.form-group{margin-bottom:18px;}
.form-group label{display:block; font-weight:600; font-size:14px; margin-bottom:6px;}
.form-group input,.form-group select,.form-group textarea{
  width:100%; padding:12px 14px; border:2px solid var(--ink); border-radius:12px;
  font:inherit; font-size:15px; background:var(--cream); color:var(--ink);
}
.form-group textarea{min-height:120px; resize:vertical;}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  outline:none; border-color:var(--teal); box-shadow:0 0 0 3px var(--teal-10);
}
.submit-button{background:var(--coral); color:#fff; border:none; box-shadow:var(--shadow-hard); cursor:pointer;
  padding:14px 28px; border-radius:999px; font-family:'Inter',sans-serif; font-weight:600; font-size:16px;
  transition:transform .18s ease, box-shadow .18s ease;}
.submit-button:hover{transform:translateY(-2px); box-shadow:8px 8px 0 rgba(38,34,48,0.10);}
.submit-button:disabled{opacity:0.6; cursor:not-allowed; transform:none;}
.form-status{margin-top:16px; font-weight:600; font-size:15px;}
.success-gif{display:block; max-width:280px; margin:14px auto 0; border-radius:14px; border:3px solid var(--ink);}

/* ---------- FOOTER ---------- */
footer.site-footer{background:var(--ink); color:#EDE7F6; padding:48px 0 32px;}
.footer-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-bottom:28px;}
footer.site-footer h3{color:#fff; font-size:20px; margin:0;}
.footer-links{display:flex; gap:24px; flex-wrap:wrap; font-size:15px;}
.footer-links a{text-decoration:none; color:#EDE7F6; font-weight:500;}
.footer-links a:hover{color:var(--amber);}
.footer-meta{
  font-size:14px; color:#B9AFC9; display:flex; justify-content:space-between; flex-wrap:wrap;
  gap:10px; border-top:1px solid rgba(255,255,255,0.12); padding-top:20px;
}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr; gap:40px;}
  .about-grid{grid-template-columns:1fr;}
  .showcase-grid{grid-template-columns:1fr;}
  .steps-grid{grid-template-columns:1fr;}
  .data-teaser{grid-template-columns:1fr; padding:36px;}
  .timeline-item,.timeline-item.has-media{grid-template-columns:90px 1fr;}
  .timeline-item.has-media .phase-media{grid-column:1 / -1;}
  .sticker.seg-viewer{margin-top:24px;}
  .pad{padding:64px 0;}

  .menu-toggle{display:inline-flex;}
  .nav-menu{
    position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch;
    background:var(--cream); border-bottom:2px solid var(--ink); padding:8px 24px 14px; gap:0; display:none;
  }
  .nav-menu.open{display:flex;}
  .nav-menu li{width:100%;}
  .nav-menu .nav-link{display:block; padding:12px 0; border-top:1px solid rgba(38,34,48,0.1);}
  .nav-menu .nav-link.active::after{display:none;}
}
@media (max-width:640px){
  .steps-grid{grid-template-columns:1fr;}
  .stat-grid{gap:10px;}
  .stat-item .stat-num{font-size:1.15rem;}
  .stat-item .stat-label{font-size:11.5px;}
  .pad{padding:52px 0;}
  .hero{padding:44px 0 56px;}
  .timeline-item{grid-template-columns:1fr;}
  .join-form{padding:22px;}
  .nav-right .btn-sm{padding:8px 14px; font-size:13px;}
}
