/* =========================================================
   ROCK ROBOTICS — "CAPED" comic / sticker-hero system
   Matches the mascot: grey rock, blue cape, red eyes,
   thick black outlines, flat fills, hard offset shadows.
   Display: Lilita One · Body: Hanken Grotesk · Tag: Space Mono
   ========================================================= */

:root {
  /* --- ink + paper --- */
  --ink:      #16181D;   /* the defining black outline */
  --ink-soft: #2C2F36;
  --paper:    #EEF1F6;   /* cool comic-page background */
  --paper-2:  #E4E9F1;
  --cloud:    #FFFFFF;

  /* --- rock greys --- */
  --rock-lt:  #D9DEE3;
  --rock:     #AAB1B8;
  --rock-dk:  #767D85;

  /* --- cape blue (primary) --- */
  --blue:     #2D50D8;
  --blue-dk:  #1E3A9E;
  --blue-lt:  #5A78EE;
  --sky:      #DDE6FF;   /* tint block */

  /* --- eye red (accent / spark) --- */
  --red:      #ED1C24;
  --red-ink:  #B5141A;   /* red that's safe for text */

  /* --- semantic --- */
  --bg:    var(--paper);
  --text:  var(--ink);
  --muted: #545A63;

  /* --- type --- */
  --font-display: 'Lilita One', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-tag:     'Space Mono', ui-monospace, monospace;

  /* --- geometry --- */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --bw: 3px;                 /* outline weight */
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --ease: cubic-bezier(.34,1.56,.64,1);   /* springy */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 400; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

/* halftone page texture */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.5px);
  background-size: 22px 22px; opacity: .05;
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, rgba(45,80,216,.10), transparent 60%);
}

::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--blue); border: 3px solid var(--paper-2); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-dk); }

/* ---------- utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.tag { font-family: var(--font-tag); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.blue { color: var(--blue); }
.red { color: var(--red-ink); }
.muted { color: var(--muted); }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
  transform: translateY(-200%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .01em;
  padding: .7rem 1.3rem; border: var(--bw) solid var(--ink); border-radius: 100px;
  background: var(--cloud); color: var(--ink); cursor: pointer; user-select: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .15s ease, color .15s ease;
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-lt); }
.btn--lg { padding: .9rem 1.7rem; font-size: 1.18rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- nav (full-width bar) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--cloud); border-bottom: var(--bw) solid var(--ink);
  box-shadow: 0 5px 0 rgba(22,24,29,.06); transition: transform .3s ease;
}
.nav__inner {
  display: flex; align-items: center; gap: 1.2rem;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding: .6rem var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 42px; height: 42px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.brand__mark img { width: 42px; height: 42px; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; letter-spacing: .01em; }
.brand__text strong { color: var(--ink); font-weight: 400; }
.brand__text em { font-style: normal; color: var(--blue); }

.nav__links { display: flex; gap: .15rem; margin-left: auto; }
.nav__links a {
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  color: var(--ink-soft); padding: .45rem .75rem; border-radius: 100px;
  transition: background .15s ease, color .15s ease;
}
.nav__links a:hover, .nav__links a.is-active { background: var(--sky); color: var(--blue-dk); }
.nav__cta { margin-left: .3rem; padding: .55rem 1.1rem; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 9px; cursor: pointer; margin-left: auto; }
.nav__toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.5px); background-size: 22px 22px; opacity: .06;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; text-align: center; padding: 1rem; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.mobile-menu a.btn { font-size: 1.1rem; margin-top: 1rem; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 8rem var(--gutter) 4rem; overflow: hidden; overflow-x: clip;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner {
  position: relative; z-index: 3; width: 100%; max-width: var(--container);
  margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem;
  background: var(--ink); color: #fff; padding: .4rem .9rem; border-radius: 100px;
  transform: rotate(-1.5deg); box-shadow: 3px 3px 0 rgba(45,80,216,.5);
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 6rem); line-height: .92; letter-spacing: .005em;
  margin-top: 1.2rem; color: var(--ink);
  text-shadow: 4px 4px 0 rgba(22,24,29,.08);
}
.hero__title span { display: block; }
.hero__title .pop { color: var(--blue); -webkit-text-stroke: 2px var(--ink); }
.hero__lede { margin-top: 1.3rem; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); font-weight: 500; }
.hero__lede strong { color: var(--blue-dk); }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* mascot */
.hero__mascot { position: relative; display: grid; place-items: center; }
.hero__burst {
  position: absolute; width: min(118%, 560px); aspect-ratio: 1; z-index: 0;
  background: repeating-conic-gradient(from 0deg, rgba(45,80,216,.12) 0 7deg, transparent 7deg 14deg);
  border-radius: 50%; mask: radial-gradient(circle, #000 38%, transparent 70%);
  animation: spin 32s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__halftone {
  position: absolute; width: 78%; aspect-ratio: 1; z-index: 0; border-radius: 50%;
  background: radial-gradient(var(--blue) 22%, transparent 23%); background-size: 16px 16px;
  opacity: .14; mask: radial-gradient(circle, #000 50%, transparent 72%);
}
.hero__mascot img { position: relative; z-index: 2; width: min(86%, 460px); filter: drop-shadow(10px 14px 0 rgba(22,24,29,.18)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }

.hero__badge {
  position: absolute; z-index: 3; right: 2%; top: 6%;
  font-family: var(--font-display); background: var(--red); color: #fff;
  width: 92px; height: 92px; display: grid; place-items: center; text-align: center; line-height: 1;
  border: var(--bw) solid var(--ink); border-radius: 50%; box-shadow: var(--shadow);
  transform: rotate(10deg); font-size: .82rem; padding: .4rem;
}
.hero__badge b { font-size: 1.5rem; display: block; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: .3rem;
  font-size: .68rem; color: var(--muted); letter-spacing: .2em;
}
.hero__scroll svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section--blue { background: var(--blue); color: #fff; border-block: var(--bw) solid var(--ink); }
.section--sky { background: var(--sky); border-block: var(--bw) solid var(--ink); }
.section--ink { background: var(--ink); color: var(--cloud); border-block: var(--bw) solid var(--ink); }

.section__head { max-width: 720px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-tag); font-weight: 700; font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  background: var(--sky); border: 2px solid var(--ink); padding: .3rem .7rem; border-radius: 100px;
  transform: rotate(-1deg); margin-bottom: 1.1rem;
}
.section--blue .kicker, .section--ink .kicker { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.7); }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; color: inherit;
}
.section__title .blue { color: var(--blue); }
.section--blue .section__title .blue, .section--ink .section__title .blue { color: var(--sky); }
.lead { margin-top: 1rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); font-weight: 500; max-width: 56ch; }
.section--blue .lead, .section--ink .lead { color: rgba(255,255,255,.92); }
.lead--center { margin-inline: auto; }
.muted-lead { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.grid-2--reverse > :first-child { order: 2; }

/* card primitive (sticker) */
.card {
  position: relative; background: var(--cloud); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- mission ---------- */
.bullets { list-style: none; margin-top: 1.6rem; display: grid; gap: .8rem; }
.bullets li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.bullets svg { flex: none; margin-top: 2px; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 24px; height: 24px; border: 2px solid var(--ink); }

.stat-rig { overflow: hidden; padding: 0; transform: rotate(-1deg); }
.stat-rig__head { font-family: var(--font-tag); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; padding: .8rem 1.1rem; background: var(--ink); color: #fff; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.7rem 1.3rem; border-right: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.stat:nth-child(2n) { border-right: none; }
.stat:nth-child(n+3) { border-bottom: none; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat__label { display: block; margin-top: .4rem; font-family: var(--font-tag); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- machine / blueprint ---------- */
.blueprint { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.blueprint__viz { position: relative; padding: 2rem; border-right: var(--bw) solid var(--ink); background: var(--sky); }
.schematic { width: 100%; height: auto; }
.schematic__t { font-family: var(--font-tag); font-size: 8px; fill: var(--ink-soft); letter-spacing: .04em; }
.blueprint__stamp { position: absolute; left: 2rem; bottom: 1rem; font-family: var(--font-tag); font-size: .62rem; color: var(--muted); }
.blueprint__specs { padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.spec-list { list-style: none; display: grid; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .6rem 0; border-bottom: 2px dashed var(--rock); font-size: .92rem; }
.spec-list li:last-child { border-bottom: none; }
.spec-list span { font-family: var(--font-tag); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.spec-list b { font-weight: 700; text-align: right; }

.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.cap { padding: 1.7rem; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.cap:nth-child(2) { transform: rotate(1deg); }
.cap:hover { transform: translateY(-5px) rotate(0); box-shadow: var(--shadow-lg); }
.cap__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border: var(--bw) solid var(--ink); border-radius: 14px; color: #fff; background: var(--blue); margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.cap__icon--red { background: var(--red); }
.cap h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: .4rem; }
.cap p { color: var(--muted); font-size: .94rem; font-weight: 500; }

/* core values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { padding: 1.6rem 1.5rem; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.value:nth-child(3n+2) { transform: rotate(-1.2deg); }
.value:nth-child(3n) { transform: rotate(1deg); }
.value:hover { transform: translateY(-5px) rotate(0); box-shadow: var(--shadow-lg); }
.value h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--blue); margin-bottom: .3rem; }
.value p { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* ---------- strata / timeline ---------- */
.timeline { list-style: none; max-width: 760px; margin-inline: auto; }
.layer { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.4rem; align-items: stretch; margin-bottom: 1.1rem; }
.layer__year { font-family: var(--font-display); font-size: 1.15rem; color: var(--blue); display: grid; place-items: center; background: var(--cloud); border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.layer__body { padding: 1.2rem 1.4rem; }
.layer__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.layer__body p { color: var(--muted); margin-top: .3rem; font-weight: 500; font-size: .95rem; }
.layer:nth-child(odd) .layer__body { transform: rotate(-.6deg); }
.layer:nth-child(even) .layer__body { transform: rotate(.6deg); }

/* ---------- crew ---------- */
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.crew-card { padding: 1.7rem 1.4rem 1.9rem; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.crew-card:nth-child(2n) { transform: rotate(-1.4deg); }
.crew-card:nth-child(3) { transform: rotate(1.4deg); }
.crew-card:hover { transform: translateY(-6px) rotate(0); box-shadow: var(--shadow-lg); }
.crew-card__id { display: inline-block; font-family: var(--font-tag); font-weight: 700; font-size: .68rem; text-transform: uppercase; color: #fff; background: var(--red); border: 2px solid var(--ink); padding: .2rem .55rem; border-radius: 100px; }
.crew-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: .8rem 0 .45rem; }
.crew-card p { color: var(--muted); font-weight: 500; font-size: .92rem; }

/* ---------- outreach / speech bubble ---------- */
.impact { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.8rem; }
.impact__num { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1; font-variant-numeric: tabular-nums; }
.section--blue .impact__num { color: #fff; }
.impact__label { display: block; margin-top: .3rem; font-family: var(--font-tag); font-size: .72rem; text-transform: uppercase; color: rgba(255,255,255,.8); }

.bubble { position: relative; background: var(--cloud); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 22px; padding: 2.2rem 2rem; box-shadow: var(--shadow-lg); }
.bubble::after { content: ""; position: absolute; left: 2.6rem; bottom: -22px; width: 34px; height: 34px; background: var(--cloud); border-right: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); transform: rotate(45deg); }
.bubble blockquote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.2; }
.bubble figcaption { margin-top: 1.1rem; font-family: var(--font-tag); font-size: .76rem; text-transform: uppercase; color: var(--blue); }

/* ---------- sponsors ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sponsor-tile {
  display: grid; place-items: center; text-align: center; min-height: 108px; padding: 1.1rem;
  background: var(--cloud); color: var(--ink-soft); border: var(--bw) solid var(--ink); border-radius: 14px;
  font-family: var(--font-tag); font-weight: 700; font-size: .76rem; letter-spacing: .04em; box-shadow: 4px 4px 0 var(--ink);
}
.sponsor-tile--cta { background: var(--blue); color: #fff; cursor: pointer; }
.sponsor-tile--cta a { color: #fff; }
.sponsor-tile--cta:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); background: var(--blue-lt); }

/* ---------- contact / form ---------- */
.contact-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .8rem; }
.contact-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 2px dashed rgba(255,255,255,.3); }
.contact-list span { font-family: var(--font-tag); font-size: .72rem; text-transform: uppercase; color: var(--sky); }
.contact-list a { font-weight: 700; }
.contact-list a:hover { color: var(--sky); text-decoration: underline; }

.form { padding: 0; overflow: hidden; }
.form__head { font-family: var(--font-tag); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; display: flex; justify-content: space-between; padding: .85rem 1.2rem; background: var(--ink); color: #fff; }
.form .field { padding: 0 1.4rem; margin-top: 1.1rem; }
.form .field:first-of-type { margin-top: 1.4rem; }
.field label { display: block; font-family: var(--font-body); font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.field label span { color: var(--red-ink); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 12px;
  padding: .7rem .85rem; font-weight: 500; min-height: 48px; transition: box-shadow .15s ease, border-color .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--blue); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.field__err { color: var(--red-ink); font-family: var(--font-tag); font-size: .74rem; margin-top: .35rem; min-height: 1em; }
.form button[type="submit"] { margin: 1.3rem 1.4rem; width: calc(100% - 2.8rem); }
.form__success { margin: 0 1.4rem 1.4rem; font-family: var(--font-tag); font-size: .82rem; color: var(--blue-dk); font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cloud); border-top: var(--bw) solid var(--ink); padding-top: 3.2rem; overflow: hidden; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; align-items: start; padding-bottom: 2.6rem; }
.footer__brand { display: flex; gap: .8rem; align-items: center; }
.footer__brand img { width: 56px; height: 56px; }
.footer__brand p { font-size: .82rem; line-height: 1.6; }
.footer__brand .tag { color: var(--sky); }
.footer__brand .muted { color: rgba(255,255,255,.55); }
.footer__nav { display: flex; flex-direction: column; gap: .55rem; }
.footer__nav a { font-weight: 600; color: rgba(255,255,255,.78); }
.footer__nav a:hover { color: var(--sky); }
.footer__legal { font-family: var(--font-tag); font-size: .68rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer__strata { height: 6px; background: linear-gradient(90deg, var(--blue) 0% 40%, var(--red) 40% 55%, var(--rock) 55% 80%, var(--blue-lt) 80% 100%); }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .06s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .22s; }
.reveal[data-d="4"] { transition-delay: .30s; }
.reveal[data-d="5"] { transition-delay: .38s; }
.hero .reveal { opacity: 0; transform: translateY(28px); }
.hero.is-ready .reveal { opacity: 1; transform: none; }

/* ========================================================
   SUBPAGES (about / robot / team / outreach / sponsors / contact / donate)
   ======================================================== */

/* page header band */
.page-header { position: relative; padding: 7rem var(--gutter) 3.2rem; text-align: center; overflow: hidden; background: var(--sky); border-bottom: var(--bw) solid var(--ink); }
.page-header::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--ink) 1.4px, transparent 1.5px); background-size: 22px 22px; opacity: .06; }
.page-header__inner { position: relative; max-width: 820px; margin-inline: auto; }
.page-header__mark { width: 72px; height: 72px; margin: 0 auto 1rem; animation: float 5s ease-in-out infinite; }
.page-header h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1; }
.page-header p { margin: 1rem auto 0; max-width: 58ch; font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 500; color: var(--ink-soft); }

/* generic auto-fit card grid */
.grid-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.grid-cards > * { flex: 0 1 calc(25% - 1.2rem); min-width: 240px; }
.grid-cards--sm > * { min-width: 150px; }
.grid-cards--single { flex-direction: column; }
.grid-cards--single > * { flex: 0 0 auto; min-width: 0; }

/* coming-soon placeholder */
.ph { display: grid; place-items: center; gap: .6rem; text-align: center; min-height: 200px; padding: 2rem; border: var(--bw) dashed var(--ink); border-radius: var(--radius); background: var(--cloud); color: var(--muted); font-family: var(--font-tag); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.ph svg { color: var(--rock); }
.ph--lg { min-height: 320px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

/* people */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.person { padding: 1.7rem 1.4rem; text-align: center; }
.person__avatar { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.7rem; color: #fff; background: var(--blue); border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.person__avatar--red { background: var(--red); }
.person h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.person__role { color: var(--blue); font-family: var(--font-tag); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }
.person p.muted { margin-top: .6rem; font-size: .9rem; font-weight: 500; }

/* sponsorship tiers */
.tiers { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; }
.tiers > .tier { flex: 0 1 calc(33.333% - 1.3rem); min-width: 230px; }
.tier { display: flex; flex-direction: column; padding: 1.9rem 1.6rem; }
.tier--featured { background: var(--blue); color: #fff; }
.tier__ribbon { display: inline-block; font-family: var(--font-tag); font-weight: 700; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; background: var(--red); color: #fff; border: 2px solid var(--ink); border-radius: 100px; padding: .2rem .6rem; margin-bottom: .8rem; align-self: flex-start; }
.tier__name { font-family: var(--font-tag); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--blue); }
.tier--featured .tier__name { color: var(--sky); }
.tier__price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin: .3rem 0 1.2rem; }
.tier ul { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.tier li { display: flex; gap: .55rem; font-weight: 500; font-size: .92rem; align-items: flex-start; }
.tier li svg { flex: none; margin-top: 3px; color: var(--blue); }
.tier--featured li svg { color: #fff; }
.tier .btn { margin-top: auto; justify-content: center; }

/* amount cards (donate / impact) */
.amount-card { padding: 1.5rem 1.4rem; }
.amount-card b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--blue); line-height: 1; }
.amount-card span { display: block; margin-top: .5rem; color: var(--muted); font-weight: 500; font-size: .92rem; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .9rem; }
.faq details { border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--cloud); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-weight: 500; }

/* spec list inside a card */
.spec-card { padding: 1.6rem 1.5rem; }
.spec-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: .8rem; }

/* simple info row (contact methods) */
.info-card { padding: 1.6rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.info-card__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 12px; background: var(--blue); color: #fff; font-family: var(--font-display); }
.info-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.info-card p, .info-card a { font-weight: 500; font-size: .94rem; }
.info-card a { color: var(--blue); }
.info-card a:hover { text-decoration: underline; }

/* impact stat colours on light vs blue */
.impact__num { color: var(--blue); }
.impact__label { color: var(--muted); }
.section--blue .impact__num { color: #fff; }
.section--blue .impact__label { color: rgba(255,255,255,.85); }

/* in-kind / bullet list */
.tick-list { list-style: none; display: grid; gap: .7rem; margin-top: 1.2rem; }
.tick-list li { display: flex; gap: .6rem; font-weight: 500; }
.tick-list li svg { flex: none; margin-top: 3px; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 24px; height: 24px; border: 2px solid var(--ink); }

/* centered CTA band content */
.cta-band { text-align: center; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- responsive — tablet ---------- */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding-top: 7rem; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__mascot { order: 1; }
  .hero__eyebrow { transform: rotate(-1.5deg); }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2--reverse > :first-child { order: 0; }
  .blueprint { grid-template-columns: 1fr; }
  .blueprint__viz { border-right: none; border-bottom: var(--bw) solid var(--ink); }
  .capabilities, .values-grid { grid-template-columns: 1fr 1fr; }
  .crew-grid, .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .stat-grid--4 { grid-template-columns: 1fr 1fr; }
  .stat-grid--4 .stat:nth-child(2n) { border-right: none; }
  .stat-grid--4 .stat:nth-child(n+3) { border-bottom: var(--bw) solid var(--ink); }
  .stat-grid--4 .stat:nth-child(n+3):last-child { border-bottom: none; }
  .stat-grid--4 .stat:nth-last-child(2) { border-bottom: none; }
}

/* ---------- responsive — mobile (complete redesign) ---------- */
@media (max-width: 640px) {

  /* --- global mobile overrides --- */
  :root {
    --shadow: 3px 3px 0 var(--ink);
    --shadow-lg: 5px 5px 0 var(--ink);
    --gutter: 1.1rem;
    --radius: 12px;
    --bw: 2px;
  }

  /* --- buttons --- */
  .btn { font-size: .92rem; padding: .65rem 1.1rem; box-shadow: 3px 3px 0 var(--ink); }
  .btn:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
  .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
  .btn--lg { padding: .75rem 1.4rem; font-size: 1rem; }

  /* --- mobile menu --- */
  .mobile-menu { padding-top: 4.5rem; }
  .mobile-menu nav { gap: .8rem; padding: 1.5rem; }
  .mobile-menu a { font-size: 1.35rem; }

  /* ============================================
     HERO — completely different mobile layout:
     no mascot, no 3D, content-first, fits in one screen
     ============================================ */
  .hero {
    min-height: auto;
    padding: 5rem var(--gutter) 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero__canvas { display: none; }
  .hero__mascot { display: none; }
  .hero__scroll { display: none; }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hero__eyebrow {
    font-size: .68rem;
    padding: .3rem .7rem;
    transform: none;
    margin-bottom: .2rem;
  }
  .hero__title {
    font-size: clamp(2.6rem, 14vw, 4rem);
    margin-top: .8rem;
    text-shadow: 3px 3px 0 rgba(22,24,29,.06);
  }
  .hero__title .pop { -webkit-text-stroke: 1.5px var(--ink); }
  .hero__lede {
    margin-top: 1rem;
    font-size: .95rem;
    line-height: 1.55;
    max-width: 36ch;
    margin-inline: auto;
  }
  .hero__actions {
    margin-top: 1.5rem;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: .7rem;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- sections --- */
  .section { padding: clamp(2.5rem, 7vw, 3.5rem) 0; }
  .section__head { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
  .section__title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
  .kicker { font-size: .68rem; padding: .25rem .6rem; margin-bottom: .8rem; }
  .lead { font-size: .92rem; margin-top: .7rem; }

  /* --- grids — all single column --- */
  .grid-2 { gap: 1.5rem; }
  .crew-grid,
  .capabilities,
  .values-grid { grid-template-columns: 1fr; gap: .9rem; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .grid-cards > * { flex: 0 0 100%; min-width: 0; }
  .tiers > .tier { flex: 0 0 100%; min-width: 0; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }

  /* --- kill all decorative rotations on mobile --- */
  .stat-rig,
  .crew-card:nth-child(2n),
  .crew-card:nth-child(3),
  .cap:nth-child(2),
  .value:nth-child(3n+2),
  .value:nth-child(3n),
  .layer:nth-child(odd) .layer__body,
  .layer:nth-child(even) .layer__body,
  .hero__eyebrow,
  .kicker { transform: none; }
  .crew-card:hover, .cap:hover, .value:hover { transform: translateY(-2px); }

  /* --- cards — tighter on mobile --- */
  .cap { padding: 1.2rem; }
  .cap__icon { width: 42px; height: 42px; font-size: 1.2rem; border-radius: 10px; margin-bottom: .7rem; }
  .cap h3 { font-size: 1.2rem; margin-bottom: .25rem; }
  .cap p { font-size: .88rem; }

  .crew-card { padding: 1.2rem 1rem 1.4rem; }
  .crew-card h3 { font-size: 1.15rem; margin: .6rem 0 .3rem; }
  .crew-card p { font-size: .86rem; }

  .value { padding: 1.2rem 1.1rem; }
  .value h3 { font-size: 1.2rem; }
  .value p { font-size: .88rem; }

  /* --- stat cards --- */
  .stat-rig__head { font-size: .68rem; padding: .6rem .9rem; }
  .stat { padding: 1.1rem .9rem; }
  .stat__num { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .stat__label { font-size: .6rem; }
  .stat-grid--4 { grid-template-columns: 1fr 1fr; }

  /* --- timeline --- */
  .layer { grid-template-columns: 1fr; gap: .6rem; margin-bottom: .9rem; }
  .layer__year { padding: .6rem; font-size: 1rem; }
  .layer__body { padding: 1rem 1.1rem; }
  .layer__body h3 { font-size: 1.15rem; }
  .layer__body p { font-size: .88rem; }

  /* --- blueprint --- */
  .blueprint__viz { padding: 1.2rem; }
  .blueprint__specs { padding: 1.2rem; }
  .spec-list li { font-size: .85rem; padding: .5rem 0; }
  .spec-list span { font-size: .66rem; }

  /* --- people --- */
  .person { padding: 1.2rem 1rem; }
  .person__avatar { width: 58px; height: 58px; font-size: 1.3rem; margin-bottom: .7rem; }
  .person h3 { font-size: 1.05rem; }
  .person__role { font-size: .66rem; }

  /* --- sponsor tiles --- */
  .sponsor-tile { min-height: 80px; padding: .8rem; font-size: .7rem; }

  /* --- tier cards --- */
  .tier { padding: 1.4rem 1.2rem; }
  .tier__price { font-size: 2rem; margin-bottom: 1rem; }
  .tier li { font-size: .88rem; }

  /* --- amount / donation cards --- */
  .amount-card { padding: 1rem; }
  .amount-card b { font-size: 1.5rem; }
  .amount-card span { font-size: .84rem; margin-top: .3rem; }

  /* --- speech bubble --- */
  .bubble { padding: 1.3rem 1.1rem; border-radius: 16px; }
  .bubble::after { left: 1.6rem; bottom: -16px; width: 24px; height: 24px; }
  .bubble blockquote { font-size: clamp(1.05rem, 4vw, 1.35rem); }
  .bubble figcaption { font-size: .7rem; margin-top: .8rem; }

  /* --- contact section --- */
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .info-card { flex-direction: row; padding: 1.1rem; gap: .8rem; }
  .info-card__icon { width: 38px; height: 38px; border-radius: 10px; font-size: .85rem; }
  .info-card h3 { font-size: 1rem; }
  .info-card p, .info-card a { font-size: .86rem; }

  /* --- form --- */
  .form__head { font-size: .7rem; padding: .7rem 1rem; }
  .form .field { padding: 0 1rem; margin-top: .9rem; }
  .form .field:first-of-type { margin-top: 1.1rem; }
  .field label { font-size: .85rem; }
  .field input, .field select, .field textarea { padding: .6rem .75rem; border-radius: 10px; font-size: .92rem; }
  .form button[type="submit"] { margin: 1rem; width: calc(100% - 2rem); }
  .form__success { margin: 0 1rem 1rem; font-size: .76rem; }

  /* --- FAQ --- */
  .faq { gap: .7rem; }
  .faq details { box-shadow: 3px 3px 0 var(--ink); }
  .faq summary { font-size: .95rem; padding: .85rem 1rem; gap: .6rem; }
  .faq summary::after { font-size: 1.2rem; }
  .faq details > p { padding: 0 1rem 1rem; font-size: .86rem; }

  /* --- footer --- */
  .footer { padding-top: 2rem; }
  .footer__inner { gap: 1.5rem; padding-bottom: 1.8rem; }
  .footer__brand { flex-direction: column; text-align: center; gap: .6rem; }
  .footer__brand img { width: 44px; height: 44px; }
  .footer__brand .tag { font-size: .68rem; }
  .footer__brand .muted { font-size: .72rem; }
  .footer__nav { text-align: center; gap: .4rem; }
  .footer__nav a { font-size: .9rem; }
  .footer__legal { text-align: center; font-size: .6rem; padding-bottom: 1.2rem; }

  /* --- page header (subpages) --- */
  .page-header { padding: 5.5rem var(--gutter) 2rem; }
  .page-header__mark { width: 52px; height: 52px; }
  .page-header h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* --- placeholder --- */
  .ph { min-height: 140px; padding: 1.2rem; }
  .ph--lg { min-height: 200px; }

  /* --- reveals — remove delays on mobile for snappier feel --- */
  .reveal[data-d="1"],
  .reveal[data-d="2"],
  .reveal[data-d="3"],
  .reveal[data-d="4"],
  .reveal[data-d="5"] { transition-delay: 0s; }
  .reveal { transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }

  /* --- tick list --- */
  .tick-list li { font-size: .9rem; }
  .tick-list li svg { width: 20px; height: 20px; }

  /* --- impact stats --- */
  .impact { gap: 1.2rem; margin-top: 1.2rem; }
  .impact__num { font-size: clamp(1.5rem, 6vw, 2rem); }
  .impact__label { font-size: .66rem; }
}

/* ---------- responsive — very small phones (SE, Galaxy Fold) ---------- */
@media (max-width: 380px) {
  .hero__title { font-size: 2.2rem; }
  .hero__lede { font-size: .88rem; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .stat-grid, .stat-grid--4 { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: var(--bw) solid var(--ink); }
  .stat:last-child { border-bottom: none !important; }
  .section__title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .cap h3, .crew-card h3, .value h3, .layer__body h3 { font-size: 1.05rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__mascot img, .hero__burst { animation: none !important; }
}
