
:root {
  --cream:      #f6efe2;
  --cream-2:    #ede4d0;
  --paper:      #fbf7ee;
  --ink:        #141414;
  --ink-2:      #2c2a26;
  --muted:      #6a6358;
  --line:       #d9ccae;
  --red:        #c8102e;
  --navy:       #0a2240;
  --blue:       #1a4dd6;
  --shadow-lg:  0 30px 60px -20px rgba(20, 16, 8, 0.35);
  --shadow-md:  0 14px 30px -12px rgba(20, 16, 8, 0.22);
  --radius:     14px;
  --radius-sm:  10px;
  --container:  1180px;
  --ease:       cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

section[id] { scroll-margin-top: 78px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
h3 { font-size: 1.2rem; }
em { font-style: italic; }
.hero h1 em { color: var(--red); }
.hero h1 em.blue { color: var(--navy); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(251, 247, 238, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-scrolled { border-color: rgba(0,0,0,0.07); background: rgba(251, 247, 238, 0.94); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__logo {
  height: 38px; width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform .25s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-3deg) scale(1.04); }
.nav__links {
  margin-left: auto;
  display: flex; gap: 1.6rem;
  font-size: 0.95rem; color: var(--ink-2);
}
.nav__links a { position: relative; padding: 0.25rem 0; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  transition: transform .2s var(--ease), background .2s;
}
.nav__cta:hover { transform: translateY(-1px); background: var(--red); }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { gap: 1rem; }
  .nav__cta { margin-left: auto; }
}

.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: 80vh;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle at 50% 50%, rgba(200,16,46,0.06), transparent 60%);
  z-index: -1; pointer-events: none;
}
.hero__copy { max-width: 600px; }
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  margin: 1.4rem 0 2rem;
  max-width: 52ch;
}
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); background: var(--red); box-shadow: 0 18px 35px -14px rgba(200,16,46,0.5); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--red); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

.hero__stats { list-style: none; display: flex; gap: clamp(1.5rem, 4vw, 3rem); padding: 0; margin: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.hero__stats span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; }

.hero__ball {
  position: relative;
  display: grid; place-items: center;
  isolation: isolate;
}
.ball3d {
  position: relative;
  width: clamp(300px, 46vw, 600px);
  aspect-ratio: 1 / 1;
  z-index: 2;
  cursor: grab;
  touch-action: none;
}
.ball3d:active { cursor: grabbing; }
.ball3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.ball-glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 218, 156, 0.28), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(200, 16, 46, 0.10), transparent 65%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
  animation: ballGlowPulse 7s ease-in-out infinite;
}
.ball-floor {
  position: absolute;
  left: 50%; bottom: 2%;
  width: 60%;
  height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(20, 16, 8, 0.5), transparent 72%);
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
  animation: ballFloorPulse 7s ease-in-out infinite;
}
@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
@keyframes ballGlowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}
@keyframes ballFloorPulse {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.8; }
  50%      { transform: translateX(-50%) scale(0.82); opacity: 0.55; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: left; min-height: auto; padding-top: 1.5rem; }
  .hero__ball { order: -1; margin: 0 auto 1rem; }
  .ball3d { width: min(80vw, 400px); }
}
@media (prefers-reduced-motion: reduce) {
  .ball-glow, .ball-floor { animation: none; }
}

.quote-band {
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 3rem);
  text-align: center;
  position: relative;
}
.quote-band::before,
.quote-band::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: clamp(40px, 6vw, 64px);
  height: 1px;
  background: var(--red);
  opacity: 0.6;
}
.quote-band::before { top: 0; }
.quote-band::after  { bottom: 0; }
.quote-band__text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  max-width: 56ch;
  margin: 0 auto;
  color: var(--paper);
  position: relative;
  letter-spacing: -0.005em;
}
.quote-band__mark {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2em;
  line-height: 0;
  color: var(--red);
  vertical-align: -0.35em;
  margin-right: 0.2em;
}
.quote-band__mark--close {
  margin-right: 0;
  margin-left: 0.2em;
}
.quote-band__cite {
  display: block;
  margin-top: 1.4rem;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a39c8c;
}

.story {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.story__label h2 { margin-top: 0.5rem; }
.portrait {
  margin: 2rem 0 0;
  max-width: 260px;
}
.portrait img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: var(--cream);
  padding: 14px 14px 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 0 0 1px var(--line),
    0 18px 30px -16px rgba(20,16,8,0.35);
  filter: sepia(18%) contrast(1.05);
  transition: transform .4s var(--ease);
}
.portrait:hover img { transform: rotate(-1deg) scale(1.02); }
.portrait figcaption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.02em;
}
.story__body p { color: var(--ink-2); margin: 0 0 1.2rem; max-width: 58ch; }
.story__body .big {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 1.6rem;
}
@media (max-width: 800px) {
  .story__grid { grid-template-columns: 1fr; }
}

.anatomy {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.anatomy::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(20,16,8,0.015) 18px 19px);
  pointer-events: none;
}
.anatomy__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; position: relative; }
.anatomy__head h2 { margin: 0.6rem 0 1rem; }
.anatomy__head p { color: var(--muted); max-width: 50ch; margin: 0 auto; }
.anatomy__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.feature__icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  color: var(--ink);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.94rem; margin: 0; }
@media (max-width: 980px) { .anatomy__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .anatomy__grid { grid-template-columns: 1fr; } }

.custom {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}
.custom__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.custom__head h2 { margin: 0.5rem 0 0.8rem; }
.custom__head p { color: var(--muted); margin: 0 0 0.9rem; }
.custom__head p:last-child { margin-bottom: 0; }

.custom__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.custom__viewer {
  position: sticky; top: 90px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1rem 0.4rem;
  display: grid; place-items: center;
  overflow: hidden;
}
.custom__viewer::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255,255,255,0.55), transparent 55%);
  pointer-events: none;
}
.ball3d--custom {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  z-index: 1;
}
.custom__hint {
  position: relative; z-index: 1;
  margin: 0 0 0.6rem;
  font-size: 0.82rem; color: var(--muted); text-align: center;
}
.custom__hint strong { color: var(--ink-2); }

.custom__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow-md);
}
.ctl { padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.ctl:last-of-type { border-bottom: 0; margin-bottom: 0.4rem; padding-bottom: 0; }
.ctl__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  margin: 0 0 0.9rem;
}
.ctl__thread { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.ctl__note { margin: -0.4rem 0 0.8rem; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.ctl__label { font-size: 0.86rem; color: var(--ink-2); width: 100%; }
.swatches { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.swatch--sm { width: 22px; height: 22px; }
.ctl__color {
  margin-left: auto;
  width: 38px; height: 28px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: none; cursor: pointer;
}

.toggle { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.toggle input { margin-top: 0.25rem; accent-color: var(--red); width: 16px; height: 16px; }

.ctl__buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.ctl__buttons .btn { cursor: pointer; }
.ctl__buttons .btn--ghost { border: 1px solid var(--line); }
.ctl__textadd { display: flex; gap: 0.5rem; }
.ctl__textadd input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 0.92rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
}
.ctl__textadd input:focus { outline: 2px solid var(--red); outline-offset: 1px; }

.layers { list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.4rem; }
.layers__empty { font-size: 0.86rem; color: var(--muted); }
.layers__item {
  display: flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.layers__item.is-active { border-color: var(--ink); box-shadow: var(--shadow-md); }
.layers__pick {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem; text-align: left;
}
.layers__kind {
  font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--paper); background: var(--ink-2);
  padding: 0.15rem 0.4rem; border-radius: 999px;
}
.layers__name { flex: 1; min-width: 0; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layers__where { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.layers__del { padding: 0.4rem 0.7rem; font-size: 1.1rem; color: var(--muted); line-height: 1; }
.layers__del:hover { color: var(--red); }

.editor { border-top: 1px dashed var(--line); padding-top: 0.8rem; display: grid; gap: 0.6rem; }
.editor__head { margin: 0; font-size: 0.86rem; color: var(--ink-2); }
.editor__where { color: var(--muted); }
.editor__row { display: flex; align-items: center; gap: 0.7rem; font-size: 0.84rem; color: var(--muted); }
.editor__row > span:first-child { width: 62px; flex: none; }
.editor__row input[type="range"] { flex: 1; accent-color: var(--red); }
.editor__row select {
  flex: 1; min-width: 0;
  font: inherit; font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink);
}
.editor__row--check { cursor: pointer; }
.editor__row--check input { accent-color: var(--red); width: 16px; height: 16px; }
.editor__row--check small { color: var(--muted); font-size: 0.74rem; }

.ctl__foot { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.ctl__foot .btn { border: 1px solid var(--line); flex: 1; }
.custom__note { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  .custom__stage { grid-template-columns: 1fr; }
  .custom__viewer { position: static; }
  .custom__panel { max-width: 560px; margin: 0 auto; width: 100%; }
}

.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}
.faq__head { text-align: center; margin-bottom: 3rem; }
.faq__head h2 { margin-top: 0.5rem; }
.faq__list details {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
  transition: padding .2s var(--ease);
}
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  padding-right: 2.5rem;
  cursor: pointer; list-style: none;
  font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 1.8rem; line-height: 1;
  color: var(--muted);
  transition: transform .3s var(--ease), color .2s;
}
.faq__list details[open] summary { color: var(--red); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--red); }
.faq__list details p {
  margin: 0.9rem 0 0; color: var(--ink-2); max-width: 62ch;
  animation: fadeIn .3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.foot {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem clamp(1rem, 4vw, 2.5rem) 2rem;
}
.foot__top {
  max-width: var(--container);
  margin: 0 auto 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2.5rem; border-bottom: 1px solid #2a2a2a;
}
.foot__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.foot__logo {
  height: 54px; width: auto;

  filter: brightness(0) invert(95%) sepia(13%) saturate(283%) hue-rotate(0deg) brightness(98%);
  opacity: 0.92;
}
.foot__tag { color: #a39c8c; max-width: 40ch; margin: 0; }
.foot__bot {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: #a39c8c; font-size: 0.85rem;
}
.foot__bot nav { display: flex; gap: 1.5rem; }
.foot__bot a:hover { color: var(--cream); }

.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translate(-50%, 130%);
  background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 100;

  opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .25s var(--ease), visibility .35s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast b { color: var(--red); margin-right: 0.4rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 768px) {
  h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.05; }
  h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); line-height: 1.1; }
  h3 { font-size: 1.1rem; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; }

  .nav { padding: 0.7rem 1rem; gap: 0.6rem; }
  .brand__logo { height: 32px; }
  .nav__cta { padding: 0.5rem 0.9rem; font-size: 0.82rem; }

  .hero {
    padding: 1rem 1rem 2.5rem;
    gap: 1.5rem;
    text-align: center;
  }
  .hero__copy { max-width: none; margin: 0 auto; }
  .lede { margin: 1rem auto 1.5rem; font-size: 1rem; max-width: 42ch; }
  .hero__cta { justify-content: center; gap: 0.6rem; margin-bottom: 2rem; }
  .btn { padding: 0.8rem 1.3rem; font-size: 0.95rem; }
  .hero__stats {
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 1.2rem;
    margin-top: 0.5rem;
  }
  .hero__stats li { flex: 1; align-items: center; text-align: center; }
  .hero__stats strong { font-size: 1.3rem; }
  .hero__stats span { font-size: 0.7rem; text-align: center; }

  .quote-band { padding: 2rem 1rem; }
  .quote-band__text { font-size: 1.1rem; }

  .story { padding: 3rem 1rem; }
  .story__grid { gap: 1.5rem; }
  .story__label { text-align: center; }
  .portrait { margin: 1.5rem auto 0; max-width: 200px; }
  .story__body { text-align: left; }
  .story__body .big { font-size: 1.15rem; }

  .anatomy { padding: 3rem 1rem; }
  .anatomy__head { margin-bottom: 2rem; }
  .anatomy__grid { gap: 0.75rem; }
  .feature { padding: 1.3rem 1.2rem; }
  .feature__icon { width: 38px; height: 38px; margin-bottom: 0.7rem; }
  .feature__icon svg { width: 22px; height: 22px; }
  .feature p { font-size: 0.9rem; }

  .custom { padding: 3rem 1rem; }
  .custom__head { margin-bottom: 2rem; }
  .custom__panel { padding: 1.1rem; }
  .custom__viewer { padding: 0.6rem 0.6rem 0.2rem; }

  .faq { padding: 3rem 1rem; }
  .faq__head { margin-bottom: 2rem; }
  .faq__list summary { font-size: 1.05rem; }
  .faq__list summary::after { font-size: 1.5rem; }
  .faq__list details { padding: 1rem 0; }
  .faq__list details p { font-size: 0.95rem; }

  .foot { padding: 3rem 1rem 1.5rem; }
  .foot__top { margin-bottom: 2rem; padding-bottom: 1.5rem; gap: 1rem; }
  .foot__brand { gap: 0.5rem; }
  .foot__logo { height: 44px; }
  .foot__tag { font-size: 0.9rem; }
  .foot__bot { flex-direction: column; align-items: flex-start; gap: 1rem; text-align: left; }
  .foot__bot nav { gap: 1rem; flex-wrap: wrap; }

  .toast {
    bottom: 1rem;
    left: 1rem; right: 1rem;
    transform: translateY(130%);
    width: auto;
    text-align: center;
    font-size: 0.85rem;
  }
  .toast.is-on { transform: translateY(0); }
}

@media (max-width: 420px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .lede { font-size: 0.95rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { flex-wrap: wrap; }
  .hero__stats li { min-width: 30%; }
  .quote-band__text { font-size: 1rem; }
  .feature { padding: 1.1rem 1rem; }
  .ball-stage { width: min(80vw, 320px); }
}

@media (max-width: 600px) {
  .hero::before { display: none; }
}
