/* Go Path, designed from the logo outward.
   Type: Montserrat, light paired with black, as in "Go" + "Path".
   Colour: black type on white; teal and pink are the two arrows, and the two units.
   Shape: the arrow's square outer corner appears on photos and panels. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --text: #2c3236;
  --muted: #5b6468;
  --teal: #00a8a8;
  --pink: #f652a0;
  --teal-ink: #006c6c;
  --pink-ink: #a61d61;
  --mint: #e6f6f6;
  --blush: #feebf4;
  --deep: #00595a;
  --ground: #f6f8f8;
  --line: rgba(0, 0, 0, .13);
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r: 1.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0 0 1rem; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: .5rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
.duo { line-height: 1.02; text-wrap: normal; }
.duo span { display: block; font-weight: 300; letter-spacing: -.03em; }
.duo b { display: block; font-weight: 900; letter-spacing: -.05em; }
h1.duo { font-size: clamp(2.3rem, 4.5vw, 4.3rem); }
h2.duo { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.lead { max-width: 36em; color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; }
.small { color: var(--muted); font-size: .88rem; }
.link { color: var(--ink); font-weight: 700; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: .28em; }
.link:hover { text-decoration-color: var(--pink); }

/* ---------- The arrow ---------- */
.arrow { fill: none; stroke: currentColor; stroke-width: 24; stroke-linecap: round; stroke-linejoin: miter; }
.mark { width: 1.6rem; height: 1.6rem; flex-shrink: 0; }
.t-teal { --tint: var(--mint); --accent: var(--teal); --accent-ink: var(--teal-ink); }
.t-pink { --tint: var(--blush); --accent: var(--pink); --accent-ink: var(--pink-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: auto; height: 3.4rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a { color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.site-nav a[aria-current="page"]:not(.btn) { font-weight: 800; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.nav-toggle { display: none; border: 0; background: none; color: var(--ink); padding: .6rem; margin-right: -.6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 1.6rem; height: 2px; margin: 6px 0; background: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .7rem 1.6rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: .95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.site-nav .btn { min-height: 2.6rem; padding: .4rem 1.3rem; color: #fff; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lead { margin: 1.75rem 0 2.25rem; }
.hero-photo { --aw: clamp(6rem, 13vw, 10.5rem); position: relative; margin: calc(var(--aw) * .46) calc(var(--aw) * .46) 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 62% center; border-radius: var(--r) 0 var(--r) var(--r); }
.hero-arrows { position: absolute; width: var(--aw); height: var(--aw); top: calc(var(--aw) * -.443); right: calc(var(--aw) * -.443); overflow: visible; }
.hero-arrows path { fill: none; stroke-width: 46; stroke-linecap: round; stroke-linejoin: miter; }
.hero-arrows .a-teal { stroke: var(--teal); animation: go .7s cubic-bezier(.2, .8, .2, 1) .15s both; }
.hero-arrows .a-pink { stroke: var(--pink); animation: go .7s cubic-bezier(.2, .8, .2, 1) .35s both; }
@keyframes go { from { opacity: 0; transform: translate(-28px, 28px); } to { opacity: 1; transform: none; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(3rem, 6vw, 5rem); border-top: 2px solid var(--ink); }
.facts div { padding: 1.4rem 2rem 0 0; }
.facts strong { display: block; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.facts span { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.band { padding: clamp(4rem, 8vw, 7rem) 0; }
.band-ground { background: var(--ground); }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Unit panels: teal for one, pink for the other ---------- */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.unit { position: relative; display: flex; flex-direction: column; min-height: 24rem; padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: var(--r) 0 var(--r) var(--r); background: var(--tint); transition: transform .2s; }
.unit:hover { transform: translate(4px, -4px); }
.unit-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.unit-code { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; letter-spacing: .01em; line-height: 1; }
.unit .mark { width: 2.75rem; height: 2.75rem; color: var(--accent); }
.unit h3 { max-width: 14ch; margin: .6rem 0 1.25rem; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; }
.unit p { max-width: 34em; }
.unit-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.75rem; }
.unit-foot .small { color: var(--accent-ink); font-weight: 600; }
.unit-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.unit-link::before { content: ""; position: absolute; inset: 0; }
.unit-link span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* ---------- Promise ---------- */
.promise { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--deep); color: #fff; }
.promise blockquote { margin: 0; }
.promise .duo { text-wrap: balance; max-width: 20em; color: #fff; font-size: clamp(1.75rem, 3.8vw, 3.1rem); line-height: 1.12; }
.promise .duo span { font-weight: 300; }
.promise .duo b { margin-top: .35em; letter-spacing: -.04em; }
.promise footer { display: flex; align-items: center; gap: .75rem; margin-top: 2.5rem; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.promise .mark { color: var(--pink); }

/* ---------- The path: three steps on one line ---------- */
.path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.path::before { content: ""; position: absolute; top: 1.2rem; left: 0; right: 2.25rem; height: 2px; background: var(--ink); }
.path li { position: relative; padding-top: 4rem; counter-increment: step; }
.path li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .95rem; font-weight: 800; box-shadow: 0 0 0 .6rem #fff; }
.path h3 { margin-bottom: .5rem; font-size: 1.35rem; }
.path p { margin: 0; max-width: 26em; color: var(--muted); }
.path-end { position: absolute; top: -.35rem; right: -.5rem; width: 3rem; height: 3rem; color: var(--pink); background: #fff; }

/* ---------- Closing invitation ---------- */
.invite { padding: clamp(4rem, 8vw, 7rem) 0; }
.band + .invite { padding-top: 0; }
.band-ground + .invite { padding-top: clamp(4rem, 8vw, 7rem); }
.band-ground + .invite .invite-inner { padding-top: 0; border-top: 0; }
.invite-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 2px solid var(--ink); }
.invite p { margin: 1.25rem 0 0; max-width: 30em; color: var(--muted); }

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.page-head.tinted { background: var(--tint); border-bottom: 0; }
.page-head h1.duo { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
.page-head .lead { margin: 1.5rem 0 0; }
.page-head.tinted .lead { color: var(--text); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; color: var(--muted); font-size: .86rem; }
.crumbs a { text-underline-offset: .2em; }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.head-row .mark { width: clamp(3rem, 7vw, 5.5rem); height: clamp(3rem, 7vw, 5.5rem); color: var(--accent); }
.unit-kicker { display: block; margin-bottom: .35rem; color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 300; }

/* ---------- Plain three-up lists ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.trio > div { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.trio h3 { margin-bottom: .5rem; }
.trio p { margin: 0; color: var(--muted); }
.cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cols .big { margin: 0 0 1.25rem; color: var(--ink); font-size: clamp(1.35rem, 2.3vw, 1.9rem); font-weight: 300; line-height: 1.3; letter-spacing: -.02em; }
.cols .big b { font-weight: 800; }

/* ---------- Venues ---------- */
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.venues address { padding-top: 1.4rem; border-top: 2px solid var(--ink); font-style: normal; }
.venues strong { display: block; margin-bottom: .35rem; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -.04em; }

/* ---------- Unit page ---------- */
.unit-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(17rem, .62fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.unit-body h2 { margin: 3rem 0 .9rem; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; }
.unit-body h2:first-child { margin-top: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .5rem; width: .7rem; height: .7rem; border-top: 4px solid var(--accent); border-right: 4px solid var(--accent); }
.glance { position: sticky; top: 6.75rem; padding: 1.75rem; border: 2px solid var(--ink); border-radius: var(--r) 0 var(--r) var(--r); }
.glance h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.glance dl { margin: .75rem 0 1.5rem; }
.glance dt { margin-top: 1rem; color: var(--muted); font-size: .84rem; }
.glance dd { margin: .1rem 0 0; color: var(--ink); font-weight: 700; font-size: .97rem; line-height: 1.45; }
.glance .btn { width: 100%; }
.note { margin-top: 2.75rem; padding: 1.3rem 1.5rem; border-radius: 1rem 0 1rem 1rem; background: var(--tint, var(--mint)); }
.note p { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.reach { margin: 0; }
.reach div { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.reach div:first-child { border-top: 2px solid var(--ink); }
.reach dt { color: var(--ink); font-weight: 800; }
.reach dd { margin: .15rem 0 0; color: var(--muted); }
.form-shell { padding: clamp(.5rem, 1.5vw, 1rem); border: 2px solid var(--ink); border-radius: var(--r) 0 var(--r) var(--r); background: #fff; }
.form-shell iframe { display: block; width: 100%; min-height: 820px; border: 0; }
.faq { max-width: 46rem; margin-top: 2.5rem; border-top: 2px solid var(--ink); }
.faq details { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--ink); font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: .75rem 0 0; max-width: 40em; color: var(--muted); }

/* ---------- Long-form pages ---------- */
.doc { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.toc { position: sticky; top: 6.75rem; display: grid; font-size: .9rem; }
.toc strong { margin-bottom: .75rem; color: var(--ink); font-weight: 800; }
.toc a { padding: .4rem 0 .4rem .9rem; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.toc a:hover { border-color: var(--ink); color: var(--ink); }
.prose { max-width: 40em; }
.prose h2 { margin: 3.25rem 0 .9rem; font-size: clamp(1.45rem, 2.3vw, 1.85rem); font-weight: 800; letter-spacing: -.03em; scroll-margin-top: 7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 .5rem; font-size: 1.08rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .45rem; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.prose strong { color: var(--ink); }
.not-found { min-height: 55vh; display: grid; align-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: var(--ground); font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 2.5rem; }
.foot-brand img { width: auto; height: 4.5rem; margin-bottom: 1.25rem; }
.foot-brand p { max-width: 18em; margin: 0; color: var(--muted); }
.foot nav, .foot .touch { display: grid; align-content: start; gap: .55rem; }
.foot strong { margin-bottom: .3rem; color: var(--ink); font-weight: 800; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.foot span { color: var(--muted); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.legal a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 1.25rem var(--gutter) 1.75rem; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; gap: 1.1rem; }
  .site-nav a { font-size: 1.15rem; }
  .site-nav .btn { min-height: 3.1rem; margin-top: .5rem; }
  .hero-grid, .cols, .contact, .unit-layout, .doc { grid-template-columns: 1fr; }
  .hero-photo { --aw: clamp(6rem, 22vw, 10rem); }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .units { grid-template-columns: 1fr; }
  .unit { min-height: 0; }
  .glance, .toc { position: static; }
  .toc { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .toc strong { grid-column: 1 / -1; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .nav-wrap { min-height: 4.5rem; }
  .brand img { height: 2.9rem; }
  .facts, .trio, .venues { grid-template-columns: 1fr; gap: 0; }
  .facts div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .trio > div, .venues address { margin-bottom: 2rem; }
  .band-head { display: block; }
  .band-head .link { display: inline-block; margin-top: 1.25rem; }
  .path { grid-template-columns: 1fr; gap: 2.25rem; }
  .path::before { display: none; }
  .path li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.5rem; bottom: -2.25rem; width: 2px; background: var(--ink); }
  .path li { padding: .2rem 0 0 4rem; }
  .path-end { display: none; }
  .hero .actions .btn, .invite .btn { flex: 1 1 100%; }
  .form-shell iframe { min-height: 900px; }
  .foot .touch { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .invite, .toc, .skip-link { display: none; }
}

/* ---------- Fourth pass: artwork, explorers, page transitions ---------- */
@view-transition { navigation: auto; }
.art { width: 100%; height: auto; }
.unit { --pad: clamp(1.75rem, 3.5vw, 3rem); padding: var(--pad); }
.unit-art { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 1.75rem; padding: 1.75rem 2rem 0; border-radius: var(--r) 0 0 0; background: color-mix(in srgb, var(--accent) 24%, #fff); overflow: hidden; }
.unit-foot .mark { width: 1.5rem; height: 1.5rem; }
.unit-link { display: inline-flex; align-items: center; gap: .6rem; }
.t-teal .tile-art { view-transition-name: art-teal; }
.t-pink .tile-art { view-transition-name: art-pink; }

.unit-head { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--tint); }
.unit-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.unit-head h1.duo { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.unit-head .lead { margin: 1.5rem 0 2rem; color: var(--text); }
.art-frame { padding: 2rem 2rem 0; border-radius: var(--r) 0 var(--r) var(--r); background: color-mix(in srgb, var(--accent) 24%, #fff); overflow: hidden; }
.glance-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 2rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-top: 2px solid var(--ink); }
.glance-row div { padding-top: 1.1rem; }
.glance-row dt { color: var(--accent-ink); font-size: .88rem; font-weight: 600; }
.glance-row dd { margin: .15rem 0 0; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.section-lead { max-width: 38em; margin: -1rem 0 clamp(2rem, 4vw, 3rem); color: var(--muted); font-size: 1.1rem; }

.explorer { display: grid; grid-template-columns: 14rem minmax(13rem, 21rem) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.sys-list { display: grid; gap: .2rem; }
.sys-list button { padding: .55rem 1.1rem; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.sys-list button:hover { background: #fff; }
.sys-list button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.body-fig { width: 100%; max-height: 38rem; }
.body-base { fill: color-mix(in srgb, var(--accent) 22%, #fff); }
.body-fig .sys { opacity: 0; transition: opacity .3s; }
.body-fig[data-active="cardio"] .sys-cardio, .body-fig[data-active="resp"] .sys-resp, .body-fig[data-active="musculo"] .sys-musculo, .body-fig[data-active="nervous"] .sys-nervous, .body-fig[data-active="senses"] .sys-senses, .body-fig[data-active="endo"] .sys-endo, .body-fig[data-active="digest"] .sys-digest, .body-fig[data-active="urinary"] .sys-urinary, .body-fig[data-active="repro"] .sys-repro, .body-fig[data-active="skin"] .sys-skin, .body-fig[data-active="lymph"] .sys-lymph, .body-fig[data-active="immune"] .sys-immune { opacity: 1; }
.sys-panel h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.05; }
.sys-panel .parts { margin: .75rem 0 1.25rem; color: var(--accent-ink); font-weight: 600; }
.sys-panel .job { max-width: 22em; color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 300; line-height: 1.4; }
.js .sys-panel[hidden] { display: none; }

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.icon-grid.four { grid-template-columns: repeat(4, 1fr); }
.icon-grid.five { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.ico { width: 2.9rem; height: 2.9rem; margin-bottom: 1rem; color: var(--accent-ink); }
.icon-grid h3 { margin-bottom: .4rem; }
.icon-grid p { margin: 0; color: var(--muted); font-size: .97rem; }

.scene-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.scene { position: relative; border: 2px solid var(--ink); border-radius: var(--r) 0 var(--r) var(--r); overflow: hidden; background: #fff; }
.scene-svg { width: 100%; height: auto; }
.spot { position: absolute; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font: inherit; font-size: .95rem; font-weight: 800; cursor: pointer; }
.spot::after { content: ""; position: absolute; inset: -9px; border: 2px solid var(--pink); border-radius: 50%; animation: ping 2.2s ease-out infinite; }
.spot.found { background: var(--pink); color: var(--ink); }
.spot.found::after { animation: none; opacity: 0; }
.spot[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.spot-count { color: var(--accent-ink); font-weight: 700; }
.spot-panel h3 { margin: .5rem 0 1rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; }
.spot-panel p { margin: 0 0 1rem; }
.spot-panel .do { padding: 1rem 1.25rem; border-radius: 1rem 0 1rem 1rem; background: var(--tint); color: var(--ink); }
.js .spot-panel[hidden] { display: none; }

.signs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.signs svg { width: 4.75rem; height: 4.75rem; margin-bottom: 1rem; }
.signs strong { display: block; color: var(--ink); font-weight: 800; }
.signs span { color: var(--muted); font-size: .92rem; }

.js .path::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.js .path .path-end { opacity: 0; transform: translate(-12px, 12px); transition: opacity .4s 1.2s, transform .4s 1.2s; }
.js .path.in::before { transform: none; }
.js .path.in .path-end { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .unit-head-grid, .scene-wrap { grid-template-columns: 1fr; }
  .glance-row { grid-template-columns: 1fr 1fr; }
  .glance-row div { padding-bottom: 1rem; }
  .explorer { grid-template-columns: .8fr 1.2fr; align-items: center; }
  .sys-list { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
  .sys-list button { padding: .45rem .9rem; background: #fff; font-size: .9rem; }
  .body-fig { max-height: 22rem; }
  .sys-panel h3 { font-size: 1.5rem; overflow-wrap: anywhere; }
  .sys-panel .job { font-size: 1.05rem; }
  .icon-grid, .icon-grid.four { grid-template-columns: 1fr 1fr; }
  .icon-grid.five, .signs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .icon-grid, .icon-grid.four, .icon-grid.five { grid-template-columns: 1fr; gap: 1.75rem; }
  .signs { grid-template-columns: 1fr 1fr; }
  .spot { width: 2.1rem; height: 2.1rem; font-size: .85rem; }
}
