/*
Theme Name: Kids Build AI
Theme URI: https://kidsbuildai.org
Author: Kids Build AI
Description: Custom single-page theme for kidsbuildai.org: navy + origami brand, scroll animations, workshop, cohort and student-project sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kidsbuildai
*/

:root {
  --navy: #1B2340;
  --navy-deep: #111830;
  --navy-soft: #2B3560;
  --ink: #141A2B;
  --ink-2: #4B5470;
  --muted: #7C849C;
  --line: #DCE1EC;
  --paper: #FEFBE6;
  --paper-2: #FFF6C9;
  --cloud: #F3F6FB;
  --white: #FFFFFF;
  --amber: #F2A93B;
  --amber-deep: #D98C12;
  --amber-soft: #FFF1D6;
  --sky: #5B8DEF;
  --sky-soft: #E4ECFD;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(27, 35, 64, 0.12);
  --font-display: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--amber); border-radius: 2px; }
.lede { font-size: 1.25rem; color: var(--ink-2); max-width: 60ch; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { font-size: 1.15rem; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-amber { background: var(--amber); color: var(--navy-deep); box-shadow: 0 10px 30px rgba(242,169,59,.35); }
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(242,169,59,.45); background: #F7B44E; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-soft); box-shadow: 0 14px 30px rgba(27,35,64,.25); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0; transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.solid { background: rgba(27,35,64,.92); backdrop-filter: blur(14px); box-shadow: 0 6px 30px rgba(0,0,0,.18); padding: 12px 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--amber); transition: width .3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 12px 22px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
@media (max-width: 900px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open { background: var(--navy); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 6px; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 12px 24px 28px; box-shadow: 0 30px 40px rgba(0,0,0,.25); }
  .nav.open .nav-links a { display: block; padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate;
  padding: 140px 0 96px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(17,24,48,.95) 0%, rgba(27,35,64,.82) 45%, rgba(27,35,64,.55) 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 70%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero { padding: 120px 0 72px; min-height: 0; } .hero .container { grid-template-columns: 1fr; } .hero-art { order: -1; height: 220px; } .scroll-cue { display: none; } }
.hero .eyebrow { color: var(--amber); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero h1 .accent { color: var(--amber); }
@keyframes rise { to { transform: translateY(0); } }
.hero p.lede { color: rgba(255,255,255,.82); margin: 26px 0 36px; opacity: 0; animation: fadeUp .8s var(--ease) .7s forwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s var(--ease) .9s forwards; }
.hero-note { margin-top: 22px; font-size: .95rem; color: rgba(255,255,255,.6); opacity: 0; animation: fadeUp .8s var(--ease) 1.1s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-art { position: relative; height: 440px; }
.crane { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.crane path, .crane polygon { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease) .3s forwards; }
.crane .fill { fill: rgba(242,169,59,.10); stroke: none; opacity: 0; animation: fadeIn 1.2s ease 2.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.crane-float { animation: floaty 7s ease-in-out 3s infinite; transform-origin: center; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: 0; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-display); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeIn 1s ease 1.6s forwards; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--amber), transparent); display: block; animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Stats */
.stats { background: var(--navy); color: #fff; padding: 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--amber); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 1rem; }
@media (max-width: 800px) { .stats .container { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat { padding: 28px 20px; border-top: 1px solid rgba(255,255,255,.1); } }

/* Purpose */
.purpose { background: var(--cloud); }
.purpose .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .purpose .container { grid-template-columns: 1fr; } }
.purpose-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); font-size: 1.15rem; color: var(--ink); box-shadow: var(--shadow); position: relative; }
.purpose-card em { color: var(--navy); font-style: italic; font-weight: 600; }
.purpose-card::before { content: "“"; position: absolute; top: -28px; left: 28px; font-family: var(--font-display); font-size: 6rem; color: var(--amber); line-height: 1; }
.photo-stack { position: relative; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-stack .tag { position: absolute; bottom: -18px; left: 28px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.photo-stack .tag b { color: var(--amber); }

/* Fold steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 34px; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.step .fold { width: 84px; height: 84px; margin-bottom: 22px; }
.step .fold svg { width: 100%; height: 100%; overflow: visible; }
.step .fold polygon { fill: var(--paper-2); stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; transition: transform .6s var(--ease); }
.step:hover .fold svg { animation: wiggle .8s var(--ease); }
@keyframes wiggle { 0% { transform: rotate(0); } 30% { transform: rotate(-6deg) scale(1.05); } 60% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
.step .k { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 8px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }

/* Book */
.book { background: var(--navy); color: #fff; overflow: hidden; }
.book .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .book .container { grid-template-columns: 1fr; } }
.book .eyebrow { color: var(--amber); }
.book p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 52ch; }
.book-cover { perspective: 1400px; display: grid; place-items: center; }
.book-cover img { width: min(340px, 80%); border-radius: 8px; box-shadow: 30px 40px 80px rgba(0,0,0,.5), -8px 0 0 rgba(255,255,255,.06); transform: rotateY(-16deg) rotateX(4deg); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.book-cover:hover img { transform: rotateY(-4deg) rotateX(0deg) translateY(-8px); box-shadow: 20px 60px 90px rgba(0,0,0,.55); }
.book-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(242,169,59,.25), transparent 65%); filter: blur(10px); pointer-events: none; }
.book .authors { font-family: var(--font-display); font-weight: 700; color: var(--amber); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 26px; }

/* Workshops */
.workshops-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .workshops-intro { grid-template-columns: 1fr; } }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }
.module { background: var(--cloud); border-radius: var(--radius); padding: 30px 28px 32px; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.module:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.module .mnum { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--amber); opacity: .9; margin-bottom: 10px; }
.module h3 { margin-bottom: 16px; font-size: 1.25rem; }
.module ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.module li { font-size: .98rem; color: var(--ink-2); padding-left: 18px; position: relative; }
.module li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.module li b { color: var(--navy); font-weight: 700; }
.module code { font-family: "JetBrains Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--white); padding: 2px 6px; border-radius: 6px; color: var(--navy); }
.module-finale { margin-top: 24px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: flex; gap: 24px; align-items: center; }
.module-finale .fold { width: 72px; height: 72px; flex: none; }
.module-finale .fold svg { width: 100%; height: 100%; overflow: visible; }
.module-finale .fold polygon { fill: rgba(242,169,59,.15); stroke: var(--amber); stroke-width: 2; stroke-linejoin: round; }
.module-finale h3 { color: #fff; margin-bottom: 6px; }
.module-finale p { margin: 0; color: rgba(255,255,255,.78); font-size: 1.05rem; }
@media (max-width: 700px) { .module-finale { flex-direction: column; align-items: flex-start; } }
.free-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--amber-soft); color: var(--amber-deep); font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.free-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242,169,59,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,169,59,.6); } 70% { box-shadow: 0 0 0 10px rgba(242,169,59,0); } 100% { box-shadow: 0 0 0 0 rgba(242,169,59,0); } }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08rem; color: var(--ink-2); }
.checklist li::before { content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--navy); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat, linear-gradient(#000 0 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat; background: var(--amber); }
.workshop-photo { position: relative; }
.workshop-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.workshop-photo .chip { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 10px 16px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--navy); box-shadow: var(--shadow); }

/* Cohort */
.cohort { background: linear-gradient(180deg, var(--cloud) 0%, var(--white) 100%); }
.cohort-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 64px; }
@media (max-width: 900px) { .cohort-hero { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.fact .k { font-family: var(--font-display); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fact .v { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy); margin-top: 4px; }
.fact .v small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--ink-2); margin-top: 2px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; padding-top: 36px; }
.timeline::before { content: ""; position: absolute; top: 14px; left: 4%; right: 4%; height: 3px; background: var(--line); border-radius: 2px; }
.timeline .progress { position: absolute; top: 14px; left: 4%; height: 3px; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber-deep)); border-radius: 2px; transition: width 1.8s var(--ease); }
.timeline.in .progress { width: 92%; }
.tl { position: relative; text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.timeline.in .tl { opacity: 1; transform: none; }
.tl::before { content: ""; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--amber); }
.tl.final::before { background: var(--amber); box-shadow: 0 0 0 6px rgba(242,169,59,.25); }
.tl .wk { font-family: var(--font-display); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl .t { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy); margin: 4px 0 2px; }
.tl .d { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; padding-top: 0; padding-left: 30px; }
  .timeline::before { top: 6px; bottom: 6px; left: 7px; right: auto; width: 3px; height: auto; }
  .timeline .progress { left: 7px; top: 6px; width: 3px; height: 0; transition: height 1.8s var(--ease); }
  .timeline.in .progress { width: 3px; height: 100%; }
  .tl { text-align: left; }
  .tl::before { top: 4px; left: -30px; transform: none; }
}

/* Projects */
.projects { background: var(--navy-deep); color: #fff; }
.projects .eyebrow { color: var(--amber); }
.projects .section-head p { color: rgba(255,255,255,.75); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr; } }
.proj { background: var(--navy); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .45s var(--ease), border-color .3s; }
.proj:hover { transform: translateY(-6px); border-color: rgba(242,169,59,.5); }
.proj .lbl { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.proj h3 { color: #fff; font-size: 1.3rem; }
.proj .by { color: rgba(255,255,255,.6); font-size: .95rem; }
.proj dl { margin: 6px 0 0; display: grid; grid-template-columns: 84px 1fr; gap: 6px 12px; font-size: .95rem; }
.proj dt { color: rgba(255,255,255,.5); font-family: var(--font-display); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.proj dd { margin: 0; color: rgba(255,255,255,.85); }
.proj .acc { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--amber); font-variant-numeric: tabular-nums; }
.proj .acc small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: rgba(255,255,255,.55); }
.proj.slot { border-style: dashed; border-color: rgba(255,255,255,.2); background: transparent; align-items: center; justify-content: center; text-align: center; min-height: 300px; }
.proj.slot .big { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: rgba(255,255,255,.8); }
.proj.slot p { color: rgba(255,255,255,.55); margin: 0; }
.proj.slot .crane-mini { width: 64px; height: 64px; opacity: .6; }
.proj.slot .crane-mini polygon { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linejoin: round; }

/* Testimonials */
.voices { overflow: hidden; background: var(--paper); }
.marquee { display: flex; gap: 22px; width: max-content; animation: scrollx 48s linear infinite; padding: 8px 0 24px; }
.marquee:hover { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.quote { width: 380px; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(27,35,64,.08); display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.45; color: var(--ink); }
.quote cite { font-style: normal; color: var(--muted); font-size: .95rem; }

/* Team */
.founder { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .founder .member { max-width: 420px; } }
.cred { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.cred li { display: block; font-size: 1.08rem; color: var(--ink-2); padding: 14px 18px; background: var(--cloud); border-radius: 14px; border-left: 4px solid var(--amber); }
.cred li b { color: var(--navy); font-weight: 700; }
.member { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cloud); }
.member img { aspect-ratio: 4/4.6; width: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.member:hover img { transform: scale(1.04); }
.member .card { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 16px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.member .card h3 { font-size: 1.15rem; }
.member .card .role { color: var(--ink-2); font-size: .95rem; }
.member .card svg { width: 40px; height: 40px; flex: none; }
.member .card svg polygon { fill: var(--paper-2); stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.member .bio { padding: 0; }
.team-bio { text-align: center; max-width: 640px; margin: 28px auto 0; color: var(--ink-2); }

/* Get involved */
.involve { background: var(--cloud); }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .involve-grid { grid-template-columns: 1fr; } }
.role-card { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.role-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--amber-soft); display: grid; place-items: center; color: var(--amber-deep); margin-bottom: 8px; }
.role-card .ico svg { width: 26px; height: 26px; }
.role-card p { color: var(--ink-2); margin: 0 0 8px; font-size: 1.02rem; }
.role-card a { margin-top: auto; align-self: flex-start; font-family: var(--font-display); font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.role-card a svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.role-card a:hover svg { transform: translateX(4px); }

/* CTA band */
.band { background: var(--navy); color: #fff; }
.band .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
@media (max-width: 900px) { .band .container { grid-template-columns: 1fr; } }
.band h2 { color: #fff; }
.band h2 span { color: var(--amber); }
.band p { color: rgba(255,255,255,.75); font-size: 1.15rem; }
.band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .band .actions { justify-content: flex-start; } }

/* Footer */
.footer { background: var(--paper); padding: 64px 0 40px; }
.footer .container { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer .container { grid-template-columns: 1fr; } }
.footer .brand { color: var(--navy); font-size: 1.4rem; }
.footer .brand img { width: 56px; height: 56px; }
.footer p { color: var(--ink-2); max-width: 36ch; margin-top: 14px; }
.footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--navy); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--amber-deep); }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(27,35,64,.12); padding-top: 22px; margin-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .9rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal, .tl { opacity: 1; transform: none; }
  .hero h1 .w span { transform: none; }
  .hero p.lede, .hero-actions, .hero-note { opacity: 1; }
  .crane path, .crane polygon { stroke-dashoffset: 0; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
}
