@font-face {
  font-family: Manrope;
  src: url("./assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Manrope, Arial, sans-serif;
  color: #141414;
  background: #fff;
  font-synthesis: none;
  --signal: #d92f15;
  --muted: #555;
  --margin: 4.4vw;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html:has(dialog[open]) { overflow: hidden; }
dialog { overscroll-behavior: contain; }
body {
  margin: 0;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.01;
}
h2 {
  font-size: clamp(40px, 5.1vw, 92px);
}
p {
  line-height: 1.55;
}
h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.small {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}
.lead {
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.035em;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
}
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--margin);
  pointer-events: none;
  background: linear-gradient(#fffffff5, #ffffff00);
}
.header > * {
  pointer-events: auto;
}
.brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.7px;
  line-height: 1;
}
.brand span {
  font-weight: 400;
  margin-left: 4px;
}
.brand sup {
  font-size: 9px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 3px;
}
.header-note {
  font-size: 9px;
  letter-spacing: 0.13em;
}
.contact {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid #141414;
  padding: 8px 0;
}
.contact span {
  font-size: 18px;
}
.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s;
}
.ready .scene {
  opacity: 1;
}
.scene canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.scene-shadow {
  position: absolute;
  left: 28%;
  top: 79%;
  width: 44%;
  height: 7%;
  background: radial-gradient(ellipse, #00000013, transparent 65%);
  filter: blur(15px);
}
.loader {
  position: fixed;
  top: 90px;
  right: var(--margin);
  z-index: 10;
  font-size: 10px;
  color: #555;
}
.loader[hidden] {
  display: none;
}
.chapter {
  min-height: 100svh;
  position: relative;
  padding: 110px var(--margin) 100px;
}
.chapter-content {
  position: relative;
  max-width: 1800px;
  margin: auto;
}
.chapter-content > * {
  position: relative;
  z-index: 3;
}
.hero-type {
  font-size: 31vw;
  font-weight: 600;
  letter-spacing: -0.095em;
  line-height: 0.75;
  color: #e9e9e6;
  z-index: 1 !important;
  white-space: nowrap;
  text-align: center;
}
.hero-type span {
  display: block;
  font-size: 10.9vw;
  font-weight: 500;
  letter-spacing: -0.067em;
  margin-top: 35px;
}
.hero-copy {
  margin-top: 40px;
}
.hero-audience { max-width: 35ch; margin-top: 12px; font-size: clamp(13px, 1.15vw, 17px); }
h1 {
  font-size: clamp(32px, 3vw, 53px);
}
h1 span {
  color: var(--signal);
}
.hero-summary {
  margin-top: 20px;
  font-size: 16px;
}
.text-link {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  font-size: 12px;
  border-bottom: 1px solid #151515;
  padding: 14px 0;
  align-items: center;
  text-align: left;
}
.text-link span {
  font-size: 22px;
}
.object-caption {
  font-size: 9px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
}
.object-caption i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: var(--signal);
}
.body-copy,
.method-copy,
.support-copy,
.start-copy {
  max-width: 410px;
  display: grid;
  gap: 20px;
}
.body-copy > p:not(.lead):not(.small),
.method-copy > p:not(.lead),
.support-copy > p:not(.lead):not(.small),
.start-copy > p:not(.lead):not(.medical) {
  font-size: 14px;
  line-height: 1.6;
}
.anatomy-control {
  max-width: 580px;
}
.anatomy-control > div {
  display: flex;
  gap: 25px;
  font-size: 9px;
  margin-bottom: 20px;
  color: #555;
}
.anatomy-control label {
  display: flex;
  font-size: 12px;
  justify-content: space-between;
}
.anatomy-control input {
  width: 100%;
  accent-color: var(--signal);
  margin: 14px 0;
  height: 24px;
  cursor: ew-resize;
}
.giant-number {
  font-size: 43vw;
  letter-spacing: -0.1em;
  line-height: 0.8;
  font-weight: 600;
  color: #ededeb;
  z-index: 1 !important;
}
.system-index {
  width: 280px;
  display: grid;
}
.system-index button {
  border-bottom: 1px solid #ccc;
  padding: 13px 0;
  text-align: left;
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.system-index small {
  font-size: 9px;
  letter-spacing: 0;
  margin-right: 23px;
}
.system-index button > span {
  margin-left: auto;
  font-size: 16px;
}
.system-index button[aria-pressed="true"] {
  color: var(--signal);
  border-color: var(--signal);
}
.dimension-description {
  width: 300px;
  display: grid;
  gap: 16px;
}
.dimension-description p {
  font-size: 14px;
  color: #444;
}
.system-foot {
  font-size: 13px;
}
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #999;
}
.process li {
  padding: 20px 0;
  font-size: 12px;
}
.process b {
  display: block;
  color: var(--signal);
  font-weight: 400;
  font-size: 10px;
  margin-bottom: 20px;
}
.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.programs button {
  position: relative;
  text-align: left;
  border-top: 1px solid #777;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: color 0.25s;
}
.programs button[aria-pressed="true"] {
  color: var(--signal);
  border-color: var(--signal);
}
.program-name {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.months {
  font-size: clamp(70px, 8vw, 130px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.085em;
}
.months small {
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 12px;
  display: inline-block;
}
.programs button > span:last-of-type {
  font-size: 12px;
  line-height: 1.5;
}
.programs i {
  position: absolute;
  top: 14px;
  right: 0;
  font-style: normal;
  font-size: 20px;
}
.duration-copy {
  font-size: 12px;
  max-width: 580px;
}
.support-chapter h2 span {
  color: var(--signal);
}
.checkpoints {
  display: flex;
  gap: 45px;
}
.checkpoints > span {
  font-size: clamp(45px, 6vw, 100px);
  line-height: 1;
  letter-spacing: -0.07em;
}
.checkpoints small {
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 5px;
}
.cta {
  background: #141414;
  color: #fff;
  padding: 19px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 20px;
}
.cta span {
  font-size: 20px;
}
.cta:hover {
  background: var(--signal);
}
.medical {
  font-size: 10px;
  line-height: 1.7;
  color: #555;
}
.navigator {
  position: fixed;
  z-index: 9;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px var(--margin) 19px;
  background: linear-gradient(#fff0, #fffffff5 35%);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.navigator nav {
  display: flex;
  gap: 15px;
}
.navigator nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 36px;
  color: #555;
  border-top: 1px solid transparent;
}
.navigator nav a[aria-current] {
  color: var(--signal);
  border-color: var(--signal);
}
.footer-tools {
  display: flex;
  gap: 25px;
  align-items: center;
}
.footer-tools button {
  font-size: 10px;
  padding: 12px 0;
}
.skip {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 20px;
  transform: translateY(-110%);
  background: #fff;
  padding: 15px;
}
.skip:focus {
  transform: none;
}
.section-top .lead {
  margin-top: 25px;
}
.enhanced .chapter {
  height: calc(120svh + var(--reading-distance, 0px));
  overflow-anchor: none;
  padding: 0;
}
.enhanced .chapter:last-child {
  height: calc(100svh + var(--reading-distance, 0px));
}
.enhanced .chapter-content {
  position: fixed;
  inset: 0;
  max-width: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: visibility 0.15s;
}
.enhanced .chapter.active .chapter-content {
  visibility: visible;
  opacity: var(--panel-opacity, 1);
  transform: translateY(var(--panel-y, 0));
  pointer-events: auto;
}
.enhanced .chapter-content > * {
  position: absolute;
}
.enhanced .hero-type {
  top: 15%;
  left: 4%;
  right: 4%;
  font-size: 30vw;
}
.enhanced .hero-copy {
  bottom: 13%;
  left: var(--margin);
  margin: 0;
}
.enhanced .hero-summary {
  bottom: 13%;
  right: var(--margin);
  width: 260px;
  font-size: 15px;
  margin: 0;
}
.enhanced .object-caption {
  top: 50%;
  right: var(--margin);
}
.enhanced .section-top {
  top: 16%;
  left: var(--margin);
}
.enhanced .body-copy {
  top: 37%;
  right: var(--margin);
  width: 25%;
}
.enhanced .anatomy-control {
  bottom: 13%;
  left: var(--margin);
  width: 44%;
}
.enhanced .giant-number {
  top: 24%;
  left: 25%;
}
.enhanced .system-index {
  left: var(--margin);
  top: 48%;
  width: 23%;
}
.enhanced .dimension-description {
  right: var(--margin);
  top: 54%;
  width: 23%;
}
.enhanced .system-foot {
  right: var(--margin);
  bottom: 15%;
}
.enhanced .method-copy {
  right: var(--margin);
  top: 42%;
  width: 28%;
}
.enhanced .process {
  left: var(--margin);
  right: var(--margin);
  bottom: 14%;
}
.enhanced .programs-chapter .section-top h2 {
  font-size: clamp(35px, 4vw, 65px);
}
.enhanced .programs {
  left: var(--margin);
  right: var(--margin);
  bottom: 23%;
}
.enhanced .duration-copy {
  left: var(--margin);
  bottom: 14%;
}
.enhanced .support-copy {
  right: var(--margin);
  top: 34%;
  width: 29%;
}
.enhanced .checkpoints {
  left: var(--margin);
  bottom: 15%;
}
.enhanced .start-chapter h2 {
  font-size: clamp(35px, 4.6vw, 75px);
}
.enhanced .start-copy {
  right: var(--margin);
  top: 35%;
  width: 32%;
}
.fallback-note {
  font-size: 13px;
}
body:not(.enhanced) .chapter-content {
  display: grid;
  gap: 35px;
}
body:not(.enhanced) .giant-number {
  display: none;
}
body:not(.enhanced) .scene {
  display: none;
}
dialog {
  border: none;
  max-width: 760px;
  width: calc(100% - 36px);
  max-height: 85svh;
  overflow: auto;
  padding: 50px;
  color: #141414;
  font-size: 14px;
}
dialog::backdrop {
  background: #14141499;
  backdrop-filter: blur(8px);
}
dialog h2 {
  font-size: 42px;
  margin-bottom: 30px;
}
dialog p {
  margin: 18px 0;
}
dialog h3 {
  margin-top: 35px;
}
dialog dt {
  font-size: 18px;
  margin-top: 25px;
  font-weight: 600;
}
dialog dd {
  margin: 10px 0 20px;
  color: #444;
  line-height: 1.6;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 5px;
  padding: 15px;
  font-size: 25px;
}
dialog a {
  text-decoration: underline;
}
@media (min-width: 1700px) {
  :root {
    --margin: 5.5vw;
  }
  .hero-summary {
    font-size: 18px !important;
  }
  .body-copy > p:not(.lead):not(.small),
  .method-copy > p:not(.lead),
  .support-copy > p:not(.lead):not(.small),
  .start-copy > p:not(.lead):not(.medical),
  .dimension-description p {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  :root {
    --margin: 6vw;
  }
  .header {
    padding-top: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .header-note {
    display: none;
  }
  .contact {
    font-size: 10px;
    gap: 16px;
  }
  .navigator {
    padding-bottom: 12px;
  }
  .navigator nav {
    gap: 3px;
  }
  .navigator nav a {
    min-width: 25px;
  }
  .footer-tools {
    gap: 16px;
  }
  .footer-tools button {
    font-size: 9px;
  }
  #view-label {
    display: none;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 43px;
  }
  .lead {
    font-size: 19px;
  }
  .enhanced .hero-type {
    top: 20%;
    font-size: 30vw;
    left: 5%;
    right: 5%;
  }
  .hero-type span {
    margin-top: 18px;
    font-size: 10.7vw;
  }
  .enhanced .hero-copy {
    bottom: 23%;
    left: var(--margin);
  }
  h1 {
    font-size: 33px;
  }
  .enhanced .hero-summary {
    bottom: 10%;
    width: 88%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .hero-summary .text-link {
    font-size: 10px;
    gap: 5px;
    min-width: 122px;
  }
  .enhanced .object-caption {
    top: 15%;
    left: var(--margin);
    right: auto;
    font-size: 8px;
  }
  .enhanced .section-top {
    top: 13%;
    left: var(--margin);
    right: var(--margin);
  }
  .enhanced .body-copy {
    top: auto;
    bottom: 24%;
    width: 88%;
    right: var(--margin);
    gap: 12px;
  }
  .body-copy > p:not(.lead):not(.small),
  .method-copy > p:not(.lead),
  .support-copy > p:not(.lead):not(.small),
  .start-copy > p:not(.lead):not(.medical) {
    font-size: 12px;
  }
  .body-copy .small {
    font-size: 10px;
  }
  .enhanced .anatomy-control {
    bottom: 10%;
    width: 88%;
  }
  .anatomy-control > div {
    font-size: 8px;
    gap: 20px;
    margin-bottom: 10px;
  }
  .anatomy-control label {
    font-size: 11px;
  }
  .anatomy-control input {
    margin: 5px 0;
  }
  .anatomy-control p {
    font-size: 9px;
  }
  .enhanced .system-chapter .section-top h2 {
    font-size: 40px;
  }
  .system-chapter .lead {
    font-size: 18px;
    margin-top: 15px;
  }
  .enhanced .giant-number {
    top: 37%;
    left: 12%;
    font-size: 55vw;
  }
  .enhanced .system-index {
    top: auto;
    bottom: 12%;
    width: 39%;
    left: var(--margin);
  }
  .system-index button {
    font-size: 14px;
    padding: 12px 0;
  }
  .system-index small {
    font-size: 8px;
    margin-right: 10px;
  }
  .enhanced .dimension-description {
    top: auto;
    bottom: 16%;
    width: 43%;
    right: var(--margin);
    gap: 10px;
  }
  .dimension-description h3 {
    font-size: 17px;
  }
  .dimension-description p {
    font-size: 11px;
  }
  .enhanced .system-foot {
    top: calc(13% + 158px);
    left: var(--margin);
    bottom: auto;
    font-size: 10px;
  }
  .enhanced .method-copy {
    top: auto;
    bottom: 34%;
    width: 88%;
    gap: 14px;
  }
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
  .enhanced .process {
    bottom: 10%;
    row-gap: 0;
  }
  .process li {
    font-size: 10px;
    padding: 12px 0;
  }
  .process b {
    margin-bottom: 8px;
    font-size: 8px;
  }
  .enhanced .programs-chapter .section-top h2 {
    font-size: 36px;
  }
  .enhanced .programs {
    bottom: 23%;
    gap: 12px;
  }
  .program-name {
    font-size: 8px;
  }
  .months {
    font-size: 53px;
  }
  .months small {
    display: block;
    font-size: 9px;
    margin: 12px 0;
    letter-spacing: 0;
  }
  .programs button {
    gap: 18px;
    padding: 18px 0;
  }
  .programs button > span:last-of-type {
    font-size: 9px;
  }
  .programs i {
    display: none;
  }
  .enhanced .duration-copy {
    bottom: 12%;
    right: var(--margin);
    font-size: 11px;
  }
  .enhanced .support-chapter .section-top h2 {
    font-size: 42px;
  }
  .enhanced .support-copy {
    top: auto;
    bottom: 24%;
    width: 88%;
    gap: 12px;
  }
  .support-copy .small {
    font-size: 10px;
  }
  .enhanced .checkpoints {
    bottom: 11%;
    gap: 42px;
  }
  .checkpoints > span {
    font-size: 48px;
  }
  .enhanced .start-chapter h2 {
    font-size: 37px;
  }
  .enhanced .start-copy {
    top: auto;
    bottom: 11%;
    width: 88%;
    gap: 14px;
  }
  .start-copy .medical {
    font-size: 9px;
  }
  .start-copy .text-link {
    font-size: 11px;
    padding: 7px 0;
  }
  .cta {
    font-size: 11px;
    padding: 15px;
  }
  .loader {
    top: 80px;
    font-size: 9px;
  }
  dialog {
    padding: 35px 25px;
  }
  dialog h2 {
    font-size: 32px;
  }
}
@media (max-height: 650px) {
  .enhanced .chapter-content {
    overflow-y: hidden;
    padding-top: 90px;
    padding-bottom: 85px;
  }
  .enhanced .chapter-content > * {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: none;
    width: auto !important;
    margin: 24px var(--margin) !important;
  }
  .enhanced .hero-type,
  .enhanced .giant-number {
    display: none;
  }
  .enhanced .chapter-content .section-top {
    margin-top: 0 !important;
  }
  .enhanced .chapter-content .hero-copy {
    margin-top: 20px !important;
  }
  .enhanced .hero-summary {
    display: block;
  }
  .enhanced .chapter-content .body-copy,
  .enhanced .chapter-content .method-copy,
  .enhanced .chapter-content .support-copy,
  .enhanced .chapter-content .start-copy {
    max-width: 60%;
    margin-left: auto !important;
  }
  .enhanced .system-index {
    max-width: 45%;
  }
  .enhanced .dimension-description {
    max-width: 45%;
    margin-left: auto !important;
  }
  .enhanced .system-foot { justify-self: start; }
  .enhanced .process {
    grid-template-columns: repeat(4, 1fr);
  }
  .enhanced .scene {
    opacity: 0.4;
  }
  .enhanced .hero-copy {
    max-width: 60%;
  }
  .enhanced .hero-summary {
    max-width: 50%;
    margin-left: auto !important;
  }
  .enhanced .hero-summary .text-link {
    margin-top: 8px;
  }
  .enhanced .object-caption {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.reduced {
  scroll-behavior: auto;
}

/* Display type sits behind the shared canvas; reading and controls sit above it. */
body > .hero-type,
body > .giant-number {
  display: none;
  pointer-events: none;
}
.enhanced > .hero-type {
  display: block;
  position: fixed;
  top: 15%;
  left: 4%;
  right: 4%;
  font-size: 30vw;
  z-index: 1;
}
.enhanced > .giant-number {
  position: fixed;
  top: 24%;
  left: 25%;
  z-index: 1;
}
.enhanced:not([data-chapter="0"]) > .hero-type {
  display: none;
}
.enhanced[data-chapter="2"] > .giant-number {
  display: block;
}
.enhanced .chapter-content {
  z-index: 3;
}
@media (max-width: 760px) {
  .enhanced > .hero-type {
    top: 20%;
    font-size: 30vw;
    left: 5%;
    right: 5%;
  }
  .enhanced > .giant-number {
    top: 37%;
    left: 12%;
    font-size: 55vw;
  }
}
@media (max-height: 650px) {
  .enhanced > .hero-type,
  .enhanced > .giant-number {
    display: none !important;
  }
}

/* The final invitation has a continuous reading column beside the anatomy.
   The opaque reading area also prevents geometry crossing behind the copy. */
.enhanced .start-chapter .chapter-content {
  display: grid;
  grid-template-columns: 46% 46%;
  column-gap: 8%;
  align-content: start;
  overflow-y: hidden;
  padding: max(90px, 13svh) var(--margin) 100px;
  background: linear-gradient(90deg, transparent 50%, #fff 50%);
}
.enhanced .start-chapter .chapter-content > .section-top,
.enhanced .start-chapter .chapter-content > .start-copy {
  grid-column: 2;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.enhanced .start-chapter .chapter-content > .start-copy {
  margin-top: 24px !important;
}
.enhanced .start-chapter h2 {
  font-size: clamp(32px, 3.3vw, 54px);
}
@media (max-width: 760px) {
  .enhanced .start-chapter .chapter-content {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding-top: calc(40svh + 24px);
    background: linear-gradient(transparent 40svh, #fff 40svh);
    background-attachment: local;
  }
  .enhanced .start-chapter .chapter-content > .section-top,
  .enhanced .start-chapter .chapter-content > .start-copy {
    grid-column: 1;
  }
  .enhanced .start-chapter h2 {
    font-size: 32px;
  }
}
