:root {
  --cream: #FAF9F5;
  --ink: #20313A;
  --ink-soft: #4A5C66;
  --mint: #BFEADD;
  --mint-deep: #2F7A66;
  --coral: #F49A81;
  --coral-deep: #B4472C;
  --white: #FFFFFF;
  --tint: #F1F6F3;
  --shadow: 0 10px 30px rgba(32, 49, 58, .08), 0 2px 6px rgba(32, 49, 58, .05);
  --radius: 28px;
  --font: ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.45rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(740px, 100% - 40px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(32, 49, 58, .08);
}
.nav {
  width: min(1120px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 20px; min-height: 68px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem; transition: background .2s;
}
.nav-links a:hover { background: var(--mint); }
.badge {
  font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: #FFE9E2; color: var(--coral-deep); white-space: nowrap;
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 5vw, 56px); }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0; }
.blob-mint { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle at 30% 30%, #D9F4EA, var(--mint)); opacity: .7; }
.blob-coral { width: 300px; height: 300px; left: -100px; bottom: -80px; background: radial-gradient(circle at 30% 30%, #FBC9BA, var(--coral)); opacity: .35; }
.hero .container { position: relative; z-index: 1; }
.hero-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; margin-top: 20px; }
.hero-title h1 { margin-bottom: 0; }
.hero-text .lead { margin-top: 0; }
.hero-text .note { margin-bottom: 0; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: .8em; }
.lead { font-size: 1.15rem; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.btn {
  display: inline-block; padding: 9px 16px; border: 2px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 700; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: #2C4350; }
.btn-secondary { background: var(--white); border-color: var(--ink); }
.btn-secondary:hover { transform: translateY(-2px); background: var(--mint); }
.btn-tertiary { background: #DDF3EB; border-color: #C3E6DA; }
.btn-tertiary:hover { transform: translateY(-2px); background: var(--mint); }
.note { font-size: .92rem; padding-left: 14px; border-left: 4px solid var(--coral); }

.hero-art { text-align: center; }
.robot { width: min(100%, 380px); height: auto; filter: drop-shadow(0 18px 24px rgba(32, 49, 58, .12)); }
.art-caption { font-size: .82rem; margin-top: 8px; }

/* Robot animation */
.bob { animation: bob 4.5s ease-in-out infinite; }
.eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.shadow { transform-box: fill-box; transform-origin: center; animation: shade 4.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shade { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.92); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }

/* Hero robot interactions. Layers are separate groups so idle, hover and click transforms never overwrite each other:
   .bob (idle float) > .hx-hop (click hop) > .hx-tilt (hover tilt) > .hx-nod (click nod). Eyes: .hx-eyes (hover tracking) > .hx-face (click expression) > .eye (blink). */
.robot-btn { display: inline-block; padding: 0; border: 0; background: none; font: inherit; color: inherit; line-height: 0; cursor: pointer; max-width: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.robot-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 48px; }
.hx-eyes { transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .35s cubic-bezier(.22, .8, .3, 1); }
.hx-tilt { transform: translateY(var(--lift, 0px)) rotate(var(--tilt, 0deg)); transition: transform .5s cubic-bezier(.22, .8, .3, 1); }
.hx-face, .hx-m { transform-box: fill-box; transform-origin: center; }
.hx-o { opacity: 0; }
.robot-btn.is-react .hx-hop { animation: hx-hop 1s ease-in-out; }
.robot-btn.is-react .hx-nod { animation: hx-nod 1s ease-in-out; }
.robot-btn.is-react .hx-face { animation: hx-eyes 1s ease-in-out; }
.robot-btn.is-react .hx-smile { animation: hx-smile 1s ease-in-out; }
.robot-btn.is-react .hx-o { animation: hx-o 1s ease-in-out; }
.robot-btn.is-react .hx-cheek { animation: hx-cheek 1s ease-in-out; }
@keyframes hx-hop { 0%, 100% { transform: translateY(0); } 12% { transform: translateY(6px) scaleY(.97); } 36% { transform: translateY(-40px); } 58% { transform: translateY(0) scaleY(.96); } 72% { transform: translateY(-14px); } 88% { transform: translateY(0); } }
@keyframes hx-nod { 0%, 100% { transform: rotate(0); } 14% { transform: rotate(2deg); } 36% { transform: rotate(-4deg) translateY(-6px); } 58% { transform: rotate(3deg); } 80% { transform: rotate(-2deg); } }
@keyframes hx-eyes { 0%, 100% { transform: scale(1); } 10%, 30% { transform: scale(1.14, 1.2); } 42%, 75% { transform: scale(1.04, .58); } }
@keyframes hx-smile { 0% { opacity: 1; transform: scale(1); } 6%, 34% { opacity: 0; transform: scale(.9); } 46%, 75% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hx-o { 0% { opacity: 0; transform: scale(.6); } 8%, 30% { opacity: 1; transform: scale(1); } 38%, 100% { opacity: 0; transform: scale(1.1); } }
@keyframes hx-cheek { 0%, 100% { transform: scale(1); } 45%, 75% { transform: scale(1.2); } }

/* Sections */
.section { padding: clamp(32px, 4.2vw, 56px) 0; }
.section .container > :last-child { margin-bottom: 0; }
.section-tint { background: var(--tint); border-radius: 48px; }
.section-head { max-width: 800px; margin-bottom: 24px; }
.section-head p:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(32, 49, 58, .12); }
.card p { margin: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.card p { font-size: .97rem; line-height: 1.55; }
.card-icon.mint { background: var(--mint); }
.card-icon.coral { background: var(--coral); }

/* Progress */
.progress-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.timeline { display: grid; gap: 14px; }
.stage {
  display: flex; gap: 18px; align-items: center; background: var(--white);
  border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow);
}
.stage h3 { margin-bottom: 8px; }
.stage-dot {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; background: var(--tint); border: 2px dashed var(--ink-soft);
}
.stage.is-active { border: 2px solid var(--mint-deep); }
.stage.is-active .stage-dot { background: var(--mint); border: 2px solid var(--ink); }
.status { display: inline-block; font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.status-progress { background: var(--mint); color: #174A3C; }
.status-planned { background: #EEF0F0; color: #44545D; }

/* The Idea */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.idea-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.idea-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(32, 49, 58, .08);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.idea-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(32, 49, 58, .12); }
.idea-art { padding: 12px 14px 4px; display: grid; place-items: center; border: 0; font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.idea-art:focus-visible { outline-offset: -5px; }
.idea-art svg { width: 100%; max-width: 230px; height: auto; overflow: visible; transition: transform .3s ease; }
.idea-card:hover .idea-art svg { transform: scale(1.04); }
.art-mint { background: #DDF3EB; }
.art-peach { background: #FDE6DD; }
.art-blue { background: #DCEAF8; }
.art-lavender { background: #E8E4F7; }
.idea-body { display: flex; flex-direction: column; flex: 1; padding: 16px 22px 20px; }
.idea-body h3 { font-size: 1.25rem; margin-bottom: .3em; }
.idea-body p { font-size: .95rem; line-height: 1.5; margin-bottom: .8em; }
.idea-label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: .3em !important; }
.idea-body .status { margin-top: auto; align-self: flex-start; }
.idea-note { margin: 20px 0 0; font-size: .92rem; }
@media (min-width: 1000px) {
  .idea-card { flex-direction: row; }
  .idea-art { flex: 0 0 36%; padding: 12px; }
  .idea-body { justify-content: center; padding: 18px 24px; }
  .idea-body .status { margin-top: 0; }
}

/* Concept animations: transform/opacity only, driven by CSS.
   Eyes live inside the shared <symbol>; timings reach them through custom properties set on each card. */
.idea-card:nth-child(1) .idea-art { --blink: 4.8s; --look: 7.5s; --look-delay: -1s; --tilt: 6s; }
.idea-card:nth-child(2) .idea-art { --blink: 5.6s; --blink-delay: -1.2s; --look: 9s; --look-delay: -3.5s; --tilt: 7.2s; }
.idea-card:nth-child(3) .idea-art { --blink: 6.3s; --blink-delay: -2.5s; --look: 6.8s; --look-delay: -4s; }
.idea-card:nth-child(4) .idea-art { --blink: 5.2s; --blink-delay: -3.1s; --look: 8.2s; --look-delay: -6s; }
.idea-art.is-react { --happy: happy; }

.cg-eye { transform-box: fill-box; transform-origin: center; animation: blink var(--blink, 5s) var(--blink-delay, 0s) infinite; }
.cg-look { animation: glance var(--look, 8s) var(--look-delay, 0s) ease-in-out infinite; }
.cg-happy { transform-box: fill-box; transform-origin: center; animation-name: var(--happy, none); animation-duration: .9s; animation-timing-function: ease-in-out; }

.fx { transform-box: fill-box; transform-origin: 50% 100%; }
.float { animation: float-y 4.6s ease-in-out infinite; }
.tilt { animation: tilt var(--tilt, 6s) ease-in-out infinite; }
.rock { animation: rock 3.2s ease-in-out infinite; }
.sway { animation: sway 3.8s ease-in-out infinite; }
.light { animation: glow 2.6s ease-in-out infinite; }
.l2 { animation-delay: -.9s; animation-duration: 3.2s; }
.l3 { animation-delay: -1.7s; animation-duration: 2.1s; }
.bar { animation: bar 2.4s ease-in-out infinite; }
.b2 { animation-delay: -.8s; animation-duration: 3s; }
.b3 { animation-delay: -1.6s; animation-duration: 2.7s; }
.wheel { transform-box: fill-box; transform-origin: center; }
.arm { transform-origin: 50% 10%; }
.leg { transform-origin: 50% 0; }
.arm-r { animation: wave 5.5s ease-in-out infinite; }

/* Reactions: hover (mouse), tap, or keyboard activation add .is-react for ~2s */
.is-react .hop { animation: hop 1.1s ease-in-out; }
.is-react .nodr { animation: nod 1.2s ease-in-out; }
.is-react .light { animation-duration: .35s; animation-iteration-count: 5; }
.is-react .bar { animation-duration: .5s; }
.is-react .roll { animation: roll 1.8s ease-in-out; }
.is-react .wheel { animation: wheel-roll 1.8s ease-in-out; }
.is-react .dance { animation: dance 1.6s ease-in-out; }
.is-react .arm-r { animation: flail-r .4s ease-in-out 4; }
.is-react .arm-l { animation: flail-l .4s ease-in-out 4 .2s; }
.is-react .leg-l { animation: step .4s ease-in-out 4; }
.is-react .leg-r { animation: step .4s ease-in-out 4 .2s; }

@keyframes glance { 0%, 35%, 100% { transform: translateX(0); } 45%, 60% { transform: translateX(4px); } 75%, 88% { transform: translateX(-4px); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes tilt { 0%, 35%, 100% { transform: rotate(0); } 50%, 65% { transform: rotate(-2.5deg); } 82% { transform: rotate(2deg); } }
@keyframes rock { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
@keyframes glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes bar { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 62%, 74% { transform: rotate(-40deg); } 68%, 80% { transform: rotate(-15deg); } 88% { transform: rotate(0); } }
@keyframes happy { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.15); } 60% { transform: scale(1.05, .7); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 20% { transform: translateY(-12px); } 40% { transform: translateY(0) scaleY(.94); } 60% { transform: translateY(-6px); } 80% { transform: translateY(0); } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: translateY(2px) rotate(5deg); } 40% { transform: rotate(-1deg); } }
@keyframes roll { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(12px); } 70% { transform: translateX(-12px); } }
@keyframes wheel-roll { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(300deg); } 70% { transform: rotate(-300deg); } }
@keyframes dance { 0%, 25%, 50%, 75%, 100% { transform: translateY(0) rotate(0); } 12% { transform: translateY(-4px) rotate(-5deg); } 37% { transform: translateY(-4px) rotate(5deg); } 62% { transform: translateY(-4px) rotate(-5deg); } 87% { transform: translateY(-4px) rotate(5deg); } }
@keyframes flail-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-50deg); } }
@keyframes flail-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(50deg); } }
@keyframes step { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.shared-head { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 12px 18px; background: #EAF6F1; border-radius: 20px; }
.shared-head > svg { flex: none; }
.shared-head p { margin: 0; }
.shared-head-main { font-size: .97rem; line-height: 1.5; color: var(--ink); }
.shared-head-fine { font-size: .85rem; line-height: 1.45; margin-top: .25em !important; }

/* Footer */
.site-footer { padding: 28px 0; margin-top: 16px; border-top: 1px solid rgba(32, 49, 58, .1); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; font-size: .95rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-intro { grid-template-columns: 1fr; gap: 16px; }
  .robot { width: min(70%, 320px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; }
  .progress-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .nav { gap: 10px; flex-wrap: wrap; padding: 10px 0; }
  .badge { margin-left: auto; }
  .nav-links { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .nav-links a { padding: 8px 12px; }
  html { scroll-padding-top: 120px; }
  .btn { width: 100%; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-art svg { max-width: 200px; }
  .section-tint { border-radius: 32px; }
  .stage { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
