:root {
  --ink: #f7f8ff;
  --muted: #b7bdd8;
  --navy-950: #030517;
  --navy-900: #070921;
  --navy-800: #0c1031;
  --cyan: #1ce6eb;
  --blue: #4aa7ff;
  --violet: #8462ff;
  --magenta: #e64cff;
  --pink: #ff5fa8;
  --gold: #ffc65c;
  --teal: #42e6c6;
  --line: rgba(143, 172, 255, 0.2);
  --glass: rgba(10, 14, 47, 0.56);
  --shadow-cyan: 0 0 38px rgba(28, 230, 235, 0.2);
  --shadow-violet: 0 0 42px rgba(132, 98, 255, 0.26);
  --content: min(1180px, calc(100% - 40px));
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 187, 255, 0.16), transparent 27rem),
    radial-gradient(circle at 88% 18%, rgba(203, 58, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 48% 68%, rgba(70, 44, 162, 0.16), transparent 36rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 38%, #06081d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 10% 30%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 20%, #8cdcff 0 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, #df8cff 0 1px, transparent 1.5px);
  background-size: 150px 170px, 230px 210px, 300px 280px;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

h1,
h2,
h3,
strong {
  font-family: var(--display);
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 span,
.footer-brand strong span {
  color: var(--cyan);
}

h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: #061027;
  background: var(--cyan);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 10px max(22px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(154, 177, 255, 0.14);
  background: linear-gradient(180deg, rgba(3, 5, 23, 0.96), rgba(3, 5, 23, 0.76));
  backdrop-filter: blur(18px);
}

.app-mark {
  justify-self: start;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(112, 227, 255, 0.52);
  border-radius: 16px;
  box-shadow: var(--shadow-cyan);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-mark:hover,
.app-mark:focus-visible {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 0 46px rgba(28, 230, 235, 0.34);
}

.app-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand {
  justify-self: center;
  text-align: center;
}

.brand-word,
.stage-logo {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.09em;
}

.brand-word {
  display: block;
  font-size: 1.1rem;
}

.brand-o,
.stage-logo span {
  display: inline-grid;
  place-items: center;
  color: transparent;
  background: conic-gradient(from 220deg, var(--cyan), var(--blue), var(--violet), var(--magenta), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  position: relative;
  color: #dce2fa;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section-shell {
  width: var(--content);
  margin-inline: auto;
  padding: clamp(90px, 10vw, 150px) 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand-stage {
  position: relative;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  margin-top: 82px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: #020417;
}

.stage-scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
}

.stage-scene-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 4, 23, 0.28) 0%, rgba(2, 4, 23, 0.02) 18%, rgba(2, 4, 23, 0.04) 62%, rgba(2, 4, 23, 0.48) 100%),
    radial-gradient(circle at 50% 54%, transparent 42%, rgba(2, 4, 23, 0.18) 100%);
}

.stage-heading,
.stage-summary {
  position: absolute;
  z-index: 2;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  text-wrap: balance;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.92),
    0 0 18px rgba(27, 12, 92, 0.82);
}

.stage-heading {
  top: 53%;
  display: grid;
  width: min(96%, 1040px);
  justify-items: center;
  gap: 5px;
}

.stage-headline,
.stage-kicker {
  width: 100%;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1rem, 2.15vw, 2.3rem);
  font-weight: 760;
  letter-spacing: 0.025em;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.stage-headline {
  color: #f8f9ff;
}

.stage-kicker {
  color: #20ecff;
  letter-spacing: 0.045em;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.96),
    0 0 15px rgba(0, 220, 255, 0.68);
}

.stage-summary {
  bottom: 8.5%;
  width: min(62%, 880px);
  color: #f5f6ff;
  font-size: clamp(0.82rem, 1.35vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.34;
}

.platform-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 178px minmax(240px, 380px) 178px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 124px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 26, 0.78);
}

.platform-strip > p {
  margin: 0;
  color: #e8ebff;
  font-family: var(--display);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 600;
  text-align: center;
}

.store-badge {
  display: grid;
  width: 178px;
  height: 59px;
  overflow: hidden;
  place-items: center;
  border-radius: 9px;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 16px rgba(78, 198, 255, 0.28));
}

.store-badge img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.store-badge-apple img {
  width: 100%;
  height: 100%;
}

.store-badge-play img {
  width: 88%;
  height: 88%;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), #86a9ff 48%, var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 620px;
  margin-top: 28px;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(118, 214, 255, 0.44);
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #051027;
  border-color: transparent;
  background: linear-gradient(110deg, var(--cyan), #61a4ff 48%, var(--magenta));
  box-shadow: 0 0 26px rgba(39, 218, 239, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 0 38px rgba(39, 218, 239, 0.36);
}

.button-quiet {
  background: rgba(13, 19, 60, 0.4);
}

.safety-note {
  max-width: 570px;
  margin-top: 24px;
  color: #8c94b2;
  font-size: 0.82rem;
}

.hero-film {
  position: relative;
  margin: 0;
}

.hero-film::before {
  position: absolute;
  inset: 7% -6%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(112, 75, 255, 0.38), transparent 68%);
  filter: blur(28px);
}

.hero-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(96, 217, 255, 0.38);
  border-radius: 26px;
  background: #02030d;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38), 0 0 50px rgba(78, 75, 255, 0.12);
}

.hero-film figcaption {
  margin-top: 14px;
  color: #969ebd;
  font-size: 0.82rem;
  text-align: center;
}

.video-fallback {
  display: none;
  margin-top: 10px;
  color: #dfe7ff;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.video-fallback a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-film.is-video-unavailable .video-fallback {
  display: block;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 68px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 690px;
  margin-top: 22px;
}

.section-heading.centered p:last-child {
  margin-inline: auto;
}

.purpose-map,
.how-map,
.zones,
.pgis,
.testing,
.founding {
  border-top: 1px solid var(--line);
}

.icon-constellation {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 70px;
  max-width: 1050px;
  margin: 0 auto;
}

.icon-constellation::before {
  position: absolute;
  inset: 46px 9% auto;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(85, 231, 255, 0.34), rgba(216, 80, 255, 0.3), transparent);
  box-shadow: 0 144px 0 rgba(126, 112, 255, 0.16);
}

.constellation-node {
  display: grid;
  justify-items: center;
  text-align: center;
}

.icon-halo {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 17px;
  place-items: center;
  border: 1px solid rgba(130, 195, 255, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 61, 124, 0.62), rgba(7, 11, 37, 0.28));
  box-shadow: 0 0 28px rgba(66, 184, 255, 0.18), inset 0 0 22px rgba(114, 94, 255, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.constellation-node:hover .icon-halo,
.constellation-node:focus-visible .icon-halo {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 0 42px rgba(66, 220, 255, 0.32), inset 0 0 24px rgba(198, 80, 255, 0.18);
}

.icon-halo img {
  width: 50px;
  height: 50px;
}

.constellation-node strong {
  font-size: 1.05rem;
}

.constellation-node small {
  max-width: 250px;
  margin-top: 8px;
  color: #9da5c2;
  line-height: 1.45;
}

.node-violet .icon-halo { border-color: rgba(157, 104, 255, 0.56); }
.node-gold .icon-halo { border-color: rgba(255, 198, 92, 0.54); }
.node-pink .icon-halo { border-color: rgba(255, 95, 168, 0.55); }
.node-teal .icon-halo { border-color: rgba(66, 230, 198, 0.52); }
.node-blue .icon-halo { border-color: rgba(74, 167, 255, 0.56); }

.adaptive-path {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr 52px 1fr;
  align-items: center;
}

.path-node {
  position: relative;
  text-align: center;
}

.path-node > img {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  filter: drop-shadow(0 0 16px rgba(78, 209, 255, 0.28));
}

.path-node strong {
  display: block;
  font-size: 1.13rem;
}

.path-node p {
  margin-top: 9px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.path-number {
  position: absolute;
  top: -8px;
  left: 50%;
  color: rgba(137, 156, 219, 0.35);
  font-family: var(--display);
  font-size: 3.8rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.path-line {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(48, 226, 240, 0.45);
}

.zone-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 30px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.zone-node {
  display: grid;
  justify-items: center;
  text-align: center;
}

.zone-node img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 15px rgba(67, 205, 255, 0.22));
}

.zone-node strong {
  font-size: 0.93rem;
}

.zone-node span {
  margin-top: 6px;
  color: #969ebd;
  font-size: 0.75rem;
  line-height: 1.42;
}

.feature-stream {
  display: grid;
  gap: 0;
  max-width: 930px;
  margin: 46px auto 0;
}

.stream-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.stream-item:last-child {
  border-bottom: 0;
}

.stream-item > img {
  width: 68px;
  height: 68px;
  padding: 11px;
  border: 1px solid rgba(104, 210, 255, 0.32);
  border-radius: 50%;
  box-shadow: var(--shadow-cyan);
}

.stream-item strong {
  font-size: 1.22rem;
}

.stream-item p {
  margin-top: 8px;
  font-size: 0.96rem;
}

.library-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.library-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 5, 21, 0.05), rgba(3, 5, 21, 0.32) 42%, rgba(3, 5, 21, 0.94) 78%),
    url("assets/myocle-final/scenes/ask_library_backplate_1440x2560.png") center 42% / cover no-repeat;
}

.library-story::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: radial-gradient(circle at 30% 64%, rgba(39, 223, 232, 0.11), transparent 28%);
}

.library-bodyguard {
  align-self: end;
  justify-self: center;
  width: min(580px, 48vw);
  max-height: 700px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.library-copy {
  max-width: 560px;
  padding: 80px 8vw 80px 20px;
}

.library-copy p:not(.eyebrow) {
  margin-top: 24px;
}

.library-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.library-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eef1ff;
  font-weight: 600;
}

.library-points img {
  width: 32px;
  height: 32px;
}

.pgis-signal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 90px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pgis-signal span {
  padding: 9px 14px;
  color: #bac3df;
  border: 1px solid rgba(115, 185, 255, 0.25);
  border-radius: 999px;
  font-size: 0.84rem;
}

.pgis-signal strong {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 10px;
  place-items: center;
  border: 1px solid rgba(54, 235, 241, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 64, 236, 0.46), rgba(8, 13, 43, 0.8));
  box-shadow: 0 0 38px rgba(38, 220, 232, 0.24), inset 0 0 24px rgba(197, 79, 255, 0.22);
}

.character-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.character-role {
  position: relative;
  min-height: 520px;
}

.character-role > img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 410px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.38));
}

.speech-bubble {
  position: relative;
  z-index: 2;
  max-width: 300px;
  margin: 0 auto;
  padding: 17px 19px;
  border: 1px solid rgba(115, 213, 255, 0.28);
  border-radius: 18px 18px 18px 3px;
  background: rgba(8, 12, 41, 0.82);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25), 0 0 24px rgba(71, 177, 255, 0.1);
  backdrop-filter: blur(14px);
}

.speech-bubble strong {
  font-size: 0.96rem;
}

.speech-bubble p {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.48;
}

.coach-role .speech-bubble {
  border-color: rgba(151, 102, 255, 0.34);
}

.bodyguard-role .speech-bubble {
  border-color: rgba(255, 198, 92, 0.34);
}

.testing {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: center;
}

.testing-copy p:last-child {
  max-width: 720px;
  margin-top: 24px;
}

.testing-actions {
  display: grid;
  gap: 14px;
}

.text-link {
  padding: 12px 0;
  color: var(--cyan);
  font-weight: 700;
  text-align: center;
}

.founding {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 55px;
  align-items: center;
  max-width: 1000px;
}

.founding > img {
  width: 150px;
  filter: drop-shadow(0 0 32px rgba(69, 222, 255, 0.28));
}

.founding p:last-child {
  margin-top: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  padding: 50px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  border: 1px solid rgba(101, 216, 255, 0.3);
  border-radius: 15px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  letter-spacing: 0.08em;
}

.footer-brand small {
  margin-top: 2px;
  color: #9098b5;
  font-size: 0.68rem;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer nav a {
  color: #c3cae4;
}

.site-footer > small {
  grid-column: 1 / -1;
  color: #747d9d;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.03) rotate(-4deg); }
}

@keyframes character-arrive {
  from { opacity: 0; transform: translateY(35px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 13px;
  }

  .site-nav a {
    font-size: 0.76rem;
  }

  .brand-stage {
    min-height: 0;
  }

  .stage-copy {
    margin-top: 36px;
  }

  .zone-ribbon {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 22px;
  }
}

@media (max-width: 820px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .brand-stage {
    width: 100%;
    height: clamp(400px, 110vw, 480px);
    min-height: 400px;
    aspect-ratio: auto;
    margin-top: 72px;
  }

  .stage-heading {
    top: 50%;
    width: 94%;
    gap: 3px;
  }

  .stage-headline,
  .stage-kicker {
    font-size: clamp(0.95rem, 3.4vw, 1.6rem);
    letter-spacing: 0.025em;
  }

  .stage-summary {
    bottom: 5%;
    width: min(88%, 620px);
    font-size: clamp(0.76rem, 2.2vw, 1rem);
    line-height: 1.3;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    padding-inline: 14px;
  }

  .site-footer > *,
  .footer-brand {
    min-width: 0;
    max-width: 100%;
  }

  .site-footer nav {
    flex-wrap: wrap;
    row-gap: 12px;
  }
}

@media (max-width: 820px) {
  :root {
    --content: min(100% - 28px, 680px);
  }

  .site-header {
    grid-template-columns: 52px 1fr 52px;
    min-height: 72px;
    padding: 9px 14px;
  }

  .app-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 12px;
    display: none;
    width: min(280px, calc(100vw - 24px));
    padding: 20px;
    border: 1px solid rgba(112, 182, 255, 0.26);
    border-radius: 18px;
    background: rgba(5, 8, 30, 0.96);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  }

  .site-nav.is-open {
    display: grid;
  }

  .brand-stage {
    margin-top: 72px;
  }

  .platform-strip,
  .hero,
  .testing,
  .library-story {
    grid-template-columns: 1fr;
  }

  .platform-strip {
    grid-template-columns: 164px minmax(210px, 1fr) 164px;
    gap: 18px;
  }

  .store-badge {
    width: 164px;
    height: 54px;
  }

  .hero {
    gap: 55px;
  }

  .icon-constellation {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 24px;
  }

  .icon-constellation::before {
    display: none;
  }

  .adaptive-path {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 480px;
    margin: 0 auto;
  }

  .path-line {
    width: 1px;
    height: 38px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--cyan), var(--violet));
  }

  .library-story {
    min-height: auto;
    padding-top: 70px;
  }

  .library-backdrop {
    background:
      linear-gradient(180deg, rgba(3, 5, 21, 0.15), rgba(3, 5, 21, 0.5) 45%, rgba(3, 5, 21, 0.96) 75%),
      url("assets/myocle-final/scenes/ask_library_backplate_1440x2560.png") center top / cover no-repeat;
  }

  .library-copy {
    grid-row: 1;
    max-width: 680px;
    padding: 35px 28px 0;
  }

  .library-bodyguard {
    width: min(620px, 90vw);
    max-height: 600px;
  }

  .character-stage {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 520px;
    margin: 0 auto;
  }

  .character-role {
    min-height: 500px;
  }

  .testing {
    gap: 40px;
  }

  .founding {
    grid-template-columns: 110px 1fr;
    gap: 28px;
  }

  .founding > img {
    width: 105px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3.2rem, 18vw, 5.3rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }

  .brand small {
    display: none;
  }

  .brand-stage {
    margin-top: 72px;
  }

  .platform-strip {
    grid-template-areas:
      "message message"
      "apple play";
    grid-template-columns: 1fr 1fr;
    gap: 15px 12px;
    min-height: 170px;
    padding: 22px 18px;
  }

  .platform-strip > p {
    grid-area: message;
  }

  .store-badge {
    width: min(42vw, 160px);
    height: auto;
    aspect-ratio: 250 / 83;
  }

  .store-badge-apple {
    grid-area: apple;
    justify-self: end;
  }

  .store-badge-play {
    grid-area: play;
    justify-self: start;
  }

  .icon-constellation {
    grid-template-columns: 1fr 1fr;
  }

  .icon-halo {
    width: 76px;
    height: 76px;
  }

  .icon-halo img {
    width: 43px;
    height: 43px;
  }

  .constellation-node small {
    font-size: 0.72rem;
  }

  .zone-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .stream-item {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .stream-item > img {
    width: 54px;
    height: 54px;
  }

  .pgis-signal {
    gap: 9px;
  }

  .pgis-signal strong {
    order: -1;
    width: 100%;
    height: auto;
    padding: 14px;
    border-radius: 14px;
  }

  .founding {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founding > img {
    margin: 0 auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .site-footer nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
