:root {
  --storm: #0d1429;
  --storm-soft: #111b36;
  --ice: #cce8eb;
  --ice-muted: rgba(204, 232, 235, .66);
  --ice-faint: rgba(204, 232, 235, .18);
  --ice-line: rgba(204, 232, 235, .28);
  --ink: #090b0c;
  --display: "Archivo Black", Impact, sans-serif;
  --font: "Bricolage Grotesque", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--storm);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--storm);
  color: var(--ice);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  overflow-x: clip;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  height: 100svh;
  overflow: hidden;
}

body.overlay-open {
  overflow: hidden;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

::selection {
  background: var(--ice);
  color: var(--storm);
}

.noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.58'/%3E%3C/svg%3E");
  height: 100svh;
  inset: 0;
  mix-blend-mode: luminosity;
  opacity: .12;
  pointer-events: none;
  position: fixed;
  width: 100vw;
  z-index: 1000;
}

#dotField {
  inset: 0;
  mix-blend-mode: screen;
  opacity: 1;
  pointer-events: none;
  position: fixed;
  transition: opacity .6s ease;
  z-index: 950;
}

body.has-entered #dotField {
  opacity: .28;
}

/* Opening cover */
.loader {
  background:
    radial-gradient(circle at 48% 42%, rgba(39, 58, 94, .18), transparent 35%),
    radial-gradient(circle at 72% 70%, rgba(20, 39, 76, .3), transparent 42%),
    var(--storm);
  color: var(--ice);
  display: block;
  height: 100svh;
  inset: 0;
  opacity: 1;
  overflow: hidden;
  position: fixed;
  transition: opacity .75s var(--ease), visibility .75s;
  visibility: visible;
  z-index: 900;
}

.loader.is-gone {
  opacity: 0;
  visibility: hidden;
}

.cover-frame {
  border: 1px solid rgba(204, 232, 235, .16);
  border-radius: 20px;
  inset: 16px;
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.cover-title {
  align-items: baseline;
  color: var(--ice);
  display: flex;
  font-family: var(--display);
  font-size: clamp(46px, 12.4vw, 196px);
  left: 0;
  letter-spacing: -.035em;
  line-height: .82;
  padding: 0 clamp(14px, 2.6vw, 40px);
  position: absolute;
  right: 0;
  top: clamp(6px, 2.2vh, 26px);
  white-space: nowrap;
  will-change: transform;
  z-index: 4;
}

.cover-title i {
  font-style: normal;
  letter-spacing: -.12em;
  margin-left: .06em;
  opacity: .9;
}

.cover-corner {
  color: var(--ice);
  font-size: clamp(13px, 1.35vw, 18px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  position: absolute;
  will-change: transform;
  z-index: 4;
}

.cc-tl {
  left: clamp(16px, 3.2vw, 48px);
  top: clamp(96px, 15.5vh, 190px);
}

.cc-tr {
  right: clamp(16px, 3.2vw, 48px);
  text-align: right;
  top: clamp(96px, 16.5vh, 205px);
}

.cover-hero {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.cover-hero img {
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, .55));
  height: auto;
  width: min(50vw, 560px);
  will-change: transform;
}

.cv-year {
  bottom: clamp(2px, 1.4vh, 20px);
  color: transparent;
  font-family: var(--display);
  font-size: clamp(54px, 11vw, 172px);
  letter-spacing: -.02em;
  line-height: .8;
  position: absolute;
  -webkit-text-stroke: 1.3px rgba(204, 232, 235, .5);
  will-change: transform;
  z-index: 2;
}

.cy-l {
  left: clamp(10px, 2.4vw, 40px);
}

.cy-r {
  right: clamp(10px, 2.4vw, 40px);
}

.loader-progress {
  bottom: 23px;
  font-size: 13px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 7;
}

.loader.is-ready .loader-progress {
  opacity: 0;
  transition: opacity .4s;
}

.loader-anywhere {
  bottom: 28px;
  color: var(--ice-muted);
  font-size: 13px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  text-transform: lowercase;
  transform: translateX(-50%);
  transition: opacity .5s .2s;
  z-index: 7;
}

.loader.is-ready .loader-anywhere {
  opacity: 1;
  pointer-events: auto;
}

.cover-sound {
  bottom: clamp(18px, 3vh, 34px);
  color: var(--ice-muted);
  line-height: 0;
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  transition: color .2s;
  z-index: 7;
}

.cover-sound:hover {
  color: var(--ice);
}

.cover-sound .sw {
  transition: opacity .2s;
}

.cover-sound.is-muted .sw,
.cover-sound.is-muted .sw2 {
  opacity: 0;
}

/* Navigation */
.site-header {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 26px;
  top: 17vh;
  transform: translateY(-130%);
  transition: .65s var(--ease);
  width: 176px;
  z-index: 80;
}

body.has-entered .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-tabs {
  display: flex;
  justify-content: flex-end;
}

.header-tabs button {
  align-items: center;
  background: rgba(13, 20, 41, .88);
  border: 1px solid var(--ice-line);
  color: var(--ice);
  display: flex;
  font-size: 10px;
  height: 34px;
  justify-content: center;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: 78px;
}

.header-tabs button + button {
  border-left: 0;
}

.brand {
  align-items: center;
  background: var(--storm);
  border: 1px solid var(--ice-line);
  border-radius: 50%;
  display: flex;
  font-family: var(--display);
  font-size: 7px;
  height: 48px;
  justify-content: center;
  left: -20px;
  line-height: .8;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: -7px;
  transform: rotate(-4deg);
  width: 48px;
}

.brand-star {
  font-family: Arial, sans-serif;
  font-size: 11px;
  left: 3px;
  position: absolute;
  top: 2px;
}

/* Full-screen story */
.story {
  background: var(--storm);
  height: 600vh;
  position: relative;
}

.story-stage {
  background: var(--storm);
  height: 100svh;
  overflow: hidden;
  position: sticky;
  top: 0;
}

.scene {
  background:
    radial-gradient(circle at 52% 44%, rgba(37, 57, 94, .18), transparent 34%),
    radial-gradient(circle at 76% 76%, rgba(23, 42, 80, .25), transparent 40%),
    var(--storm);
  color: var(--ice);
  height: 100%;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transform: translateY(7%) scale(.99);
  transition: opacity .5s ease, transform .8s var(--ease);
  width: 100%;
}

.scene::before {
  background-image: radial-gradient(rgba(204, 232, 235, .55) 1px, transparent 1.5px);
  background-size: 16px 16px;
  content: "";
  height: 48%;
  opacity: .2;
  pointer-events: none;
  position: absolute;
  right: 1%;
  top: 36%;
  width: 42%;
  -webkit-mask: radial-gradient(ellipse at center, #000 0%, transparent 72%);
          mask: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  z-index: 0;
}

.scene::after {
  border: 1px solid rgba(204, 232, 235, .16);
  border-radius: 20px;
  content: "";
  inset: 16px;
  pointer-events: none;
  position: absolute;
  z-index: 60;
}

.scene.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.scene.was-active {
  transform: translateY(-6%) scale(.99);
}

.scene-title {
  align-items: baseline;
  color: var(--ice);
  display: flex;
  font-family: var(--display);
  font-size: clamp(68px, 9.6vw, 154px);
  left: clamp(24px, 3vw, 48px);
  letter-spacing: -.045em;
  line-height: .78;
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  text-transform: uppercase;
  top: clamp(26px, 4vh, 45px);
  white-space: nowrap;
  z-index: 10;
}

.scene-title i {
  font-style: normal;
  letter-spacing: -.14em;
  margin-left: .08em;
  opacity: .92;
}

.scene-note {
  color: var(--ice-muted);
  font-size: clamp(12px, 1.15vw, 17px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  position: absolute;
  z-index: 12;
}

.scene-meta {
  bottom: 24px;
  color: var(--ice-muted);
  font-size: 9px;
  letter-spacing: .14em;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
  z-index: 12;
}

.outline-number {
  color: transparent;
  font-family: var(--display);
  font-size: clamp(120px, 18vw, 290px);
  letter-spacing: -.08em;
  line-height: .72;
  position: absolute;
  -webkit-text-stroke: 1.2px rgba(204, 232, 235, .42);
  z-index: 1;
}

.line-action {
  border-bottom: 1px solid var(--ice-line);
  color: var(--ice);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: .1em;
  padding: 9px 2px;
  position: absolute;
  text-align: left;
  text-transform: uppercase;
  transition: color .2s, border-color .2s;
  width: 220px;
  z-index: 20;
}

.line-action:hover {
  border-color: var(--ice);
  color: #fff;
}

/* 00 — Intro */
.intro-title {
  font-size: clamp(62px, 8.7vw, 140px);
}

.intro-note {
  left: 3.2vw;
  top: 22vh;
}

.intro-note-right {
  right: 3.4vw;
  text-align: right;
  top: 23vh;
}

.intro-hero {
  bottom: -9vh;
  height: 86vh;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: min(48vw, 680px);
  z-index: 3;
}

.intro-hero img {
  filter: brightness(.72) contrast(1.06) drop-shadow(0 38px 70px rgba(0, 0, 0, .48));
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.intro-copy {
  bottom: 16vh;
  color: var(--ice-muted);
  font-size: clamp(14px, 1.35vw, 20px);
  font-style: italic;
  left: 3.2vw;
  line-height: 1.25;
  max-width: 25ch;
  position: absolute;
  z-index: 12;
}

.intro-action {
  bottom: 7vh;
  left: 3.2vw;
}

.outline-00 {
  bottom: -1.5vh;
  right: 1.8vw;
}

/* 01 — Object */
.object-title {
  font-size: clamp(72px, 10.5vw, 168px);
}

.object-note {
  right: 3.4vw;
  text-align: right;
  top: 25vh;
}

.object-note-left {
  left: 3.2vw;
  top: 36vh;
}

.object-device {
  height: 76vh;
  left: 42%;
  position: absolute;
  top: 17vh;
  transform: translateX(-50%);
  width: min(88vw, 1260px);
  z-index: 4;
}

.object-device img {
  filter: brightness(.92) contrast(1.08) saturate(.88) drop-shadow(0 28px 44px rgba(0, 0, 0, .6));
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.spec-rail {
  bottom: 7vh;
  left: 3.2vw;
  position: absolute;
  width: min(27vw, 370px);
  z-index: 14;
}

.spec-rail div {
  align-items: center;
  border-bottom: 1px solid var(--ice-line);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: .07em;
  min-height: 35px;
}

.spec-rail dt {
  color: var(--ice-muted);
}

.spec-rail dd {
  font-weight: 600;
}

.outline-01 {
  bottom: -2vh;
  right: 1.5vw;
}

/* 02 — Ritual */
.ritual-heading {
  font-size: clamp(68px, 9.2vw, 148px);
}

.ritual-note {
  right: 3.5vw;
  text-align: right;
  top: 25vh;
}

.ritual-note-left {
  left: 3.2vw;
  top: 20vh;
}

.ritual-sequence {
  bottom: 7vh;
  display: grid;
  gap: 2.8vw;
  grid-template-columns: repeat(3, 1fr);
  left: 6vw;
  position: absolute;
  right: 6vw;
  top: 25vh;
  z-index: 8;
}

.ritual-sequence::before {
  background: var(--ice-line);
  bottom: 74px;
  content: "";
  height: 1px;
  left: 15%;
  position: absolute;
  right: 15%;
  z-index: -1;
}

.ritual-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
}

.ritual-photo {
  height: calc(100% - 96px);
  min-height: 0;
  width: 100%;
}

.ritual-photo img {
  clip-path: circle(24.4% at 50% 50%);
  filter: brightness(.62) contrast(1.28) saturate(.72) drop-shadow(0 22px 36px rgba(0, 0, 0, .55));
  height: 100%;
  object-fit: contain;
  transform: scale(1.18);
  width: 100%;
}

.ritual-step figcaption {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 80px;
  padding-top: 15px;
  width: 100%;
}

.ritual-step figcaption::before {
  background: var(--ice);
  border: 4px solid var(--storm);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ice-muted);
  content: "";
  height: 7px;
  margin-bottom: 14px;
  width: 7px;
}

.ritual-step b {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: -.02em;
}

.ritual-step b i {
  color: transparent;
  font-style: normal;
  margin-right: 8px;
  -webkit-text-stroke: 1px var(--ice-muted);
}

.ritual-step span {
  color: var(--ice-muted);
  font-size: 11px;
  font-style: italic;
  margin-top: 5px;
}

.ritual-action {
  bottom: 4vh;
  right: 3vw;
  width: 175px;
}

.outline-02 {
  bottom: -2vh;
  left: 1.2vw;
}

/* 03 — Worn */
.worn-heading {
  font-size: clamp(54px, 7.8vw, 124px);
}

.worn-note {
  left: 3.2vw;
  top: 18vh;
}

.worn-note-right {
  right: 3.4vw;
  text-align: right;
  top: 24vh;
}

.worn-gallery {
  bottom: 6vh;
  display: grid;
  gap: 1.4vw;
  grid-template-columns: .78fr 1.28fr .85fr;
  left: 4vw;
  position: absolute;
  right: 4vw;
  top: 23vh;
  z-index: 6;
}

.worn-shot {
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.worn-shot img {
  filter: grayscale(.72) saturate(.42) brightness(.46) contrast(1.2);
  height: calc(100% - 30px);
  object-fit: cover;
  transition: filter .35s, transform .7s var(--ease);
  width: 100%;
}

.worn-shot:hover img {
  filter: grayscale(.25) saturate(.7) brightness(.62) contrast(1.12);
  transform: scale(1.015);
}

.worn-shot-a {
  margin-top: 11vh;
}

.worn-shot-b {
  margin-bottom: 2vh;
}

.worn-shot-c {
  margin-top: 8vh;
}

.worn-shot figcaption {
  border-bottom: 1px solid var(--ice-line);
  color: var(--ice-muted);
  font-size: 10px;
  font-style: italic;
  padding: 8px 0 6px;
  text-align: right;
}

.outline-03 {
  bottom: -2vh;
  left: 1.2vw;
}

/* 04 — Voice */
.voice-kicker {
  align-items: center;
  display: flex;
  font-size: 11px;
  left: 3.2vw;
  letter-spacing: .16em;
  position: absolute;
  top: 4vh;
  z-index: 12;
}

.voice-kicker span {
  background: var(--ice-line);
  display: block;
  height: 1px;
  margin: 0 14px;
  width: 22vw;
}

.voice-heading {
  display: block;
  font-size: clamp(76px, 10.3vw, 165px);
  line-height: .72;
  right: 37vw;
  top: 10vh;
  white-space: normal;
}

.voice-note {
  display: none;
}

.voice-card {
  bottom: 12vh;
  left: 43%;
  position: absolute;
  transform: translateX(-50%);
  width: clamp(105px, 12vw, 185px);
  z-index: 15;
}

.voice-card img {
  border: 1px solid var(--ice-line);
  image-rendering: pixelated;
  width: 100%;
}

.voice-card span {
  border-bottom: 1px solid var(--ice-line);
  color: var(--ice-muted);
  display: block;
  font-size: 8px;
  letter-spacing: .1em;
  padding: 7px 0;
}

.voice-question,
.voice-answer {
  position: absolute;
  right: 4vw;
  width: min(26vw, 390px);
  z-index: 12;
}

.voice-question {
  top: 23vh;
}

.voice-answer {
  bottom: 11vh;
}

.voice-question span,
.voice-answer span {
  border-bottom: 1px solid var(--ice-line);
  display: block;
  font-size: 9px;
  letter-spacing: .16em;
  padding-bottom: 8px;
}

.voice-question p {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3.1vw, 47px);
  font-style: italic;
  line-height: 1.05;
  padding-top: 13px;
  text-align: right;
}

.voice-answer p {
  color: var(--ice-muted);
  font-size: clamp(13px, 1.25vw, 18px);
  font-style: italic;
  line-height: 1.38;
  padding-top: 12px;
}

.voice-footnote {
  bottom: 24px;
  font-size: 8px;
  left: 50%;
  letter-spacing: .16em;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 12;
}

.outline-04 {
  bottom: -2vh;
  left: 1.2vw;
}

/* 05 — Final */
.final-heading {
  font-size: clamp(70px, 10vw, 160px);
}

.final-small {
  color: var(--ice-muted);
  font-size: 10px;
  left: 4vw;
  letter-spacing: .14em;
  position: absolute;
  top: 31vh;
  z-index: 14;
}

.final-copy {
  left: 4vw;
  position: absolute;
  top: 38vh;
  width: min(43vw, 590px);
  z-index: 16;
}

.final-copy > p {
  color: var(--ice-muted);
  font-size: clamp(15px, 1.45vw, 21px);
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 10vh;
}

.final-copy form > label {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  margin-bottom: 8px;
}

.final-copy form > div {
  border-bottom: 1px solid var(--ice-line);
  display: flex;
}

.final-copy input {
  background: transparent;
  border: 0;
  color: var(--ice);
  flex: 1;
  font-size: 13px;
  min-width: 0;
  outline: 0;
  padding: 11px 0;
}

.final-copy input::placeholder {
  color: rgba(204, 232, 235, .34);
}

.final-copy form button {
  font-size: 10px;
  letter-spacing: .14em;
}

.form-note {
  color: var(--ice-muted);
  font-size: 10px;
  margin-top: 8px;
  min-height: 1.2em;
}

.final-device {
  bottom: -8vh;
  height: 98vh;
  position: absolute;
  right: 1vw;
  width: min(56vw, 820px);
  z-index: 4;
}

.final-device img {
  filter: brightness(.66) contrast(1.08) drop-shadow(0 34px 60px rgba(0, 0, 0, .5));
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.outline-05 {
  bottom: -2vh;
  left: 1.2vw;
}

.scene-final footer {
  bottom: 23px;
  display: flex;
  font-size: 8px;
  justify-content: space-between;
  left: 50%;
  letter-spacing: .16em;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
  z-index: 14;
}

/* Story chrome */
.next-chapter {
  align-items: center;
  color: var(--ice);
  display: flex;
  gap: 13px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  text-align: right;
  top: 50%;
  transform: translate(130%, -50%);
  transition: .6s var(--ease);
  z-index: 70;
}

body.has-entered .next-chapter {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.next-chapter span {
  display: flex;
  flex-direction: column;
}

.next-chapter small {
  color: var(--ice-muted);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.next-chapter b {
  color: transparent;
  font-family: var(--display);
  font-size: 50px;
  line-height: .82;
  -webkit-text-stroke: 1px var(--ice);
}

.next-chapter i {
  color: var(--ice-muted);
  font-size: 9px;
  font-style: normal;
  writing-mode: vertical-rl;
}

body.is-final-scene .next-chapter {
  opacity: 0;
  pointer-events: none;
}

.story-progress {
  background: rgba(204, 232, 235, .1);
  bottom: 0;
  height: 2px;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 80;
}

.story-progress i {
  background: var(--ice);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

.scroll-hint {
  bottom: 22px;
  color: var(--ice-muted);
  font-size: 10px;
  left: 50%;
  opacity: 0;
  position: fixed;
  transform: translateX(-50%);
  z-index: 70;
}

body.has-entered .scroll-hint {
  animation: hint-pulse 2.2s ease-in-out infinite;
  opacity: 1;
}

body.has-scrolled .scroll-hint {
  display: none;
}

@keyframes hint-pulse {
  50% { opacity: .3; }
}

.sound-toggle {
  bottom: 20px;
  color: var(--ice-muted);
  font-size: 8px;
  left: 24px;
  letter-spacing: .12em;
  opacity: 0;
  position: fixed;
  text-transform: uppercase;
  transition: opacity .4s;
  z-index: 70;
}

body.has-entered .sound-toggle {
  opacity: 1;
}

/* Overlays */
.overlay {
  background:
    radial-gradient(circle at 50% 40%, rgba(37, 57, 94, .2), transparent 34%),
    var(--storm);
  color: var(--ice);
  height: 100svh;
  inset: 0;
  opacity: 0;
  overflow: auto;
  padding: 72px 5vw 5vh;
  pointer-events: none;
  position: fixed;
  transform: translateY(-100%);
  transition: .65s cubic-bezier(.76, 0, .24, 1);
  visibility: hidden;
  z-index: 200;
}

.overlay::after {
  border: 1px solid var(--ice-faint);
  border-radius: 20px;
  content: "";
  inset: 16px;
  pointer-events: none;
  position: fixed;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.overlay-close {
  border-bottom: 1px solid var(--ice-line);
  color: var(--ice);
  font-size: 9px;
  letter-spacing: .15em;
  padding: 8px 0;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
  top: 24px;
  width: 74px;
}

.overlay > p {
  color: var(--ice-muted);
  font-size: 10px;
  letter-spacing: .16em;
  margin-bottom: 2vh;
  text-transform: uppercase;
}

.overlay ol {
  list-style: none;
}

.overlay li {
  border-top: 1px solid var(--ice-line);
}

.overlay li:last-child {
  border-bottom: 1px solid var(--ice-line);
}

.overlay li button {
  align-items: center;
  color: var(--ice);
  display: flex;
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 105px);
  letter-spacing: -.06em;
  line-height: .88;
  padding: 1.4vh 0;
  text-align: left;
  text-transform: uppercase;
  transition: opacity .18s, padding .18s;
  width: 100%;
}

.overlay li button:hover {
  opacity: .58;
  padding-left: 2vw;
}

.overlay li span {
  color: transparent;
  font-family: var(--display);
  font-size: .55em;
  letter-spacing: 0;
  margin-right: 3vw;
  min-width: 1.4em;
  -webkit-text-stroke: 1px var(--ice-muted);
}

.overlay-about {
  align-items: flex-start;
  display: grid;
  gap: 8vw;
  grid-template-columns: .55fr 1.45fr;
  padding-top: 16vh;
}

.overlay-about > div {
  max-width: 960px;
}

.overlay-about h2 {
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(50px, 7.6vw, 114px);
  letter-spacing: -.06em;
  line-height: .8;
  text-transform: uppercase;
}

.overlay-about > div > p {
  color: var(--ice-muted);
  font-size: clamp(17px, 1.7vw, 26px);
  font-style: italic;
  line-height: 1.25;
  margin: 6vh 0;
  max-width: 42ch;
}

.overlay-about dl {
  border-top: 1px solid var(--ice-line);
}

.overlay-about dl div {
  border-bottom: 1px solid var(--ice-line);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: .09em;
  padding: 12px 0;
}

.overlay-about dt {
  color: var(--ice-muted);
}

/* Reading modal */
.reading {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(38, 58, 94, .24), transparent 34%),
    var(--storm);
  color: var(--ice);
  display: flex;
  flex-direction: column;
  height: 100svh;
  inset: 0;
  justify-content: center;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  transform: scale(.97);
  transition: .5s var(--ease);
  visibility: hidden;
  z-index: 300;
}

.reading.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  visibility: visible;
}

.reading::before {
  border: 1px solid var(--ice-faint);
  border-radius: 20px;
  content: "";
  inset: 16px;
  pointer-events: none;
  position: absolute;
}

.reading-close {
  color: var(--ice);
  font-size: 28px;
  position: absolute;
  right: 29px;
  top: 22px;
}

.reading-label {
  color: var(--ice-muted);
  font-size: 9px;
  letter-spacing: .16em;
  margin-bottom: 2vh;
}

.reading-card {
  height: min(48vh, 440px);
  position: relative;
}

.reading-card::after {
  background-image: radial-gradient(var(--ice-muted) 1px, transparent 1.6px);
  background-size: 11px 11px;
  content: "";
  height: 75%;
  left: 55%;
  opacity: .45;
  position: absolute;
  top: 14%;
  width: 150%;
  z-index: -1;
  -webkit-mask: radial-gradient(ellipse, #000 0, transparent 70%);
          mask: radial-gradient(ellipse, #000 0, transparent 70%);
}

.reading-card img {
  height: 100%;
  image-rendering: pixelated;
  object-fit: contain;
}

.reading h2 {
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 76px);
  letter-spacing: -.05em;
  line-height: .85;
  margin-top: 2vh;
}

.reading > p:not(.reading-label) {
  color: var(--ice-muted);
  font-size: 13px;
  font-style: italic;
  margin: 1.2vh 0 2vh;
  max-width: 39ch;
  text-align: center;
}

.reading > button:last-child {
  border-bottom: 1px solid var(--ice-line);
  font-size: 9px;
  letter-spacing: .15em;
  padding: 8px 18px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .noise {
    opacity: .08;
  }

  .story {
    height: 600svh;
  }

  .site-header {
    left: 50%;
    right: auto;
    top: 15px;
    transform: translate(-50%, -130%);
    width: 142px;
  }

  body.has-entered .site-header {
    transform: translate(-50%, 0);
  }

  .header-tabs button {
    font-size: 8px;
    height: 30px;
    width: 65px;
  }

  .brand {
    height: 42px;
    left: -18px;
    top: -6px;
    width: 42px;
  }

  .scene::after {
    border-radius: 14px;
    inset: 9px;
  }

  .scene-title {
    font-size: clamp(42px, 12vw, 72px);
    left: 16px;
    line-height: .8;
    right: 16px;
    top: 64px;
    white-space: normal;
  }

  .scene-title i {
    display: none;
  }

  .scene-note {
    font-size: 10px;
  }

  .scene-meta {
    bottom: 14px;
    font-size: 7px;
    right: 15px;
  }

  .outline-number {
    font-size: 34vw;
  }

  .next-chapter {
    bottom: 72px;
    right: 13px;
    top: auto;
    transform: translate(130%, 0);
  }

  body.has-entered .next-chapter {
    transform: translate(0, 0);
  }

  .next-chapter b {
    font-size: 32px;
  }

  .next-chapter small,
  .next-chapter i {
    display: none;
  }

  .sound-toggle {
    display: none;
  }

  .scroll-hint {
    bottom: 14px;
    font-size: 8px;
  }

  .intro-title {
    font-size: 12vw;
  }

  .intro-note {
    left: 17px;
    top: 20vh;
  }

  .intro-note-right {
    right: 17px;
    top: 21vh;
  }

  .intro-hero {
    bottom: -2vh;
    height: 69vh;
    width: 92vw;
  }

  .intro-copy {
    bottom: 20vh;
    font-size: 11px;
    left: 17px;
    max-width: 18ch;
  }

  .intro-action {
    bottom: 13vh;
    left: 17px;
    width: 180px;
  }

  .outline-00 {
    bottom: -1vh;
    right: 3vw;
  }

  .object-title {
    font-size: 15vw;
  }

  .object-note {
    right: 17px;
    top: 20vh;
  }

  .object-note-left {
    left: 17px;
    top: 22vh;
  }

  .object-device {
    height: 58vh;
    left: 29%;
    top: 20vh;
    width: 138vw;
  }

  .spec-rail {
    bottom: 6vh;
    left: 17px;
    width: 67vw;
  }

  .spec-rail div {
    font-size: 8px;
    min-height: 27px;
  }

  .outline-01 {
    bottom: -1vh;
    right: 2vw;
  }

  .ritual-heading {
    font-size: 13vw;
  }

  .ritual-note-left {
    display: none;
  }

  .ritual-note {
    right: 17px;
    top: 19vh;
  }

  .ritual-sequence {
    bottom: 9vh;
    gap: 4px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    left: 17px;
    right: 17px;
    top: 24vh;
  }

  .ritual-sequence::before {
    bottom: 10%;
    height: auto;
    left: 31vw;
    right: auto;
    top: 10%;
    width: 1px;
  }

  .ritual-step {
    align-items: center;
    display: grid;
    grid-template-columns: 36vw 1fr;
  }

  .ritual-photo {
    height: 100%;
  }

  .ritual-step figcaption {
    justify-content: center;
    min-height: 0;
    padding: 0 0 0 14px;
  }

  .ritual-step figcaption::before {
    margin-bottom: 9px;
  }

  .ritual-step b {
    font-size: 20px;
  }

  .ritual-action {
    bottom: 4vh;
    right: 17px;
    width: 145px;
  }

  .outline-02 {
    bottom: -1vh;
    left: 2vw;
  }

  .worn-heading {
    font-size: 10.5vw;
  }

  .worn-note {
    left: 17px;
    top: 18vh;
  }

  .worn-note-right {
    right: 17px;
    top: 18vh;
  }

  .worn-gallery {
    bottom: 7vh;
    gap: 5px;
    grid-template-columns: .8fr 1.2fr .8fr;
    left: 12px;
    right: 12px;
    top: 25vh;
  }

  .worn-shot-a {
    margin-top: 15vh;
  }

  .worn-shot-b {
    margin-bottom: 4vh;
  }

  .worn-shot-c {
    margin-top: 11vh;
  }

  .worn-shot figcaption {
    font-size: 6px;
    padding-top: 5px;
  }

  .outline-03 {
    bottom: -1vh;
    left: 1vw;
  }

  .voice-kicker {
    font-size: 8px;
    left: 17px;
    top: 7vh;
  }

  .voice-kicker span {
    width: 18vw;
  }

  .voice-heading {
    font-size: 14vw;
    left: 16px;
    right: 15vw;
    top: 12vh;
  }

  .voice-note {
    display: none;
  }

  .voice-card {
    bottom: 14vh;
    left: 27%;
    width: 28vw;
  }

  .voice-question,
  .voice-answer {
    right: 17px;
    width: 52vw;
  }

  .voice-question {
    top: 37vh;
  }

  .voice-question p {
    font-size: 24px;
  }

  .voice-answer {
    bottom: 15vh;
  }

  .voice-answer p {
    font-size: 11px;
  }

  .voice-footnote {
    bottom: 14px;
    font-size: 5px;
    right: 15px;
  }

  .outline-04 {
    bottom: -1vh;
    left: 1vw;
  }

  .final-heading {
    font-size: 15vw;
  }

  .final-small {
    left: 17px;
    top: 23vh;
  }

  .final-copy {
    left: 17px;
    top: 29vh;
    width: 74vw;
  }

  .final-copy > p {
    font-size: 12px;
    margin-bottom: 9vh;
  }

  .final-device {
    bottom: -3vh;
    height: 67vh;
    right: -31vw;
    width: 118vw;
  }

  .outline-05 {
    bottom: -1vh;
    left: 1vw;
  }

  .scene-final footer {
    bottom: 13px;
    font-size: 6px;
    left: 45%;
    right: 15px;
  }

  .overlay {
    padding: 75px 18px 30px;
  }

  .overlay li button {
    font-size: 11vw;
  }

  .overlay-about {
    display: block;
    padding-top: 18vh;
  }

  .overlay-about > p {
    margin-bottom: 3vh;
  }

  .overlay-about h2 {
    font-size: 13vw;
  }

  .overlay-about > div > p {
    font-size: 16px;
    margin: 4vh 0;
  }
}

@media (max-width: 640px) {
  .cover-title {
    font-size: clamp(40px, 13.5vw, 82px);
  }

  .cover-corner {
    font-size: 12px;
  }

  .cc-tl {
    max-width: 44vw;
    top: 11vh;
  }

  .cc-tr {
    max-width: 38vw;
    top: 11vh;
  }

  .cover-hero img {
    width: 82vw;
  }

  .cv-year {
    font-size: 16vw;
  }
}

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

  #dotField {
    display: none;
  }
}

/* ============================================================
   INTERACTIVE CIRCULAR ORACLE (scene: The Object)
   ============================================================ */
.object-oracle {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 16px;
  --d: clamp(300px, 46vh, 468px);
}
.fb-ring {
  position: absolute; top: calc(var(--d) * -0.07); left: 50%; transform: translateX(-50%);
  width: calc(var(--d) * 1.14); height: calc(var(--d) * 1.14); border-radius: 50%; z-index: -1;
  pointer-events: none; background: radial-gradient(circle, rgba(204, 232, 235, .16), transparent 62%);
  animation: fbhalo 6s ease-in-out infinite;
}
@keyframes fbhalo { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.fb-screen {
  position: relative; width: var(--d); height: var(--d); border-radius: 50%; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 42%, #14140f 0%, #050505 72%, #000 100%);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .85), inset 0 0 26px rgba(0, 0, 0, .9),
    0 0 0 2px rgba(255, 255, 255, .07), 0 0 0 7px rgba(0, 0, 0, .45);
}
.fb-hint { font-family: var(--display); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--paper); opacity: .7; transition: opacity .4s; }
.fb-hint.gone { opacity: 0; }

.fbscr {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 13%; opacity: 0; visibility: hidden; transition: opacity .4s ease;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--font);
}
.fbscr.on { opacity: 1; visibility: visible; }

.fbscr-menu .deco-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(230, 184, 96, .5); box-shadow: 0 0 8px rgba(230, 184, 96, .25); }
.fbscr-menu .deco-ring2 { position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(230, 184, 96, .28); }
.fbscr-menu .dmd { position: absolute; width: 6px; height: 6px; background: #e6b860; transform: rotate(45deg); box-shadow: 0 0 8px #e6b860; }
.dt { left: 50%; top: 8%; margin-left: -3px; } .db { left: 50%; bottom: 8%; margin-left: -3px; }
.dl { left: 8%; top: 50%; margin-top: -3px; } .dr { right: 8%; top: 50%; margin-top: -3px; }
.fb-opts { display: flex; gap: 9%; z-index: 2; transform: translateY(-6%); }
.fb-opt { display: flex; flex-direction: column; align-items: center; gap: 8%; width: 42%; padding: 11% 7% 8%;
  border: 1.5px solid rgba(230, 184, 96, .6); border-radius: 7px; background: rgba(230, 184, 96, .03); color: #e6b860; cursor: pointer; transition: .2s; }
.fb-opt:hover { background: rgba(230, 184, 96, .14); border-color: #e6b860; transform: translateY(-2px); }
.fb-opt .ic { width: clamp(20px, 4.4vw, 32px); aspect-ratio: 1; border-radius: 50%; }
.fb-opt.daily .ic { background: radial-gradient(circle, #fff6dd, #e6b860); box-shadow: 0 0 12px rgba(230, 184, 96, .6); }
.fb-opt.yesno .ic { border: 3px solid #e6b860; box-shadow: 0 0 10px rgba(230, 184, 96, .4); }
.fb-opt b { font-size: clamp(12px, 1.5vw, 15px); font-weight: 600; letter-spacing: .04em; }
.fb-opt em { font-style: normal; font-size: clamp(7px, .9vw, 9px); letter-spacing: .16em; opacity: .65; }
.fb-breath-btn { position: absolute; bottom: 20%; z-index: 2; padding: 4px 13px; border: 1px solid rgba(230, 184, 96, .35);
  border-radius: 20px; background: transparent; color: rgba(230, 184, 96, .8); font-size: 10px; letter-spacing: .12em; cursor: pointer; transition: .2s; }
.fb-breath-btn:hover { background: rgba(230, 184, 96, .13); color: #e6b860; }
.fb-foot { position: absolute; bottom: 12%; color: #f0a0c0; font-size: clamp(8px, 1.1vw, 11px); letter-spacing: .06em; text-shadow: 0 0 8px rgba(240, 160, 192, .4); }

.fbscr-select { padding: 0; }
.fb-sel-top { position: absolute; top: 15%; left: 0; right: 0; text-align: center; z-index: 3; }
.fb-pos { color: var(--orange); font-size: clamp(10px, 1.4vw, 14px); font-weight: 600; letter-spacing: .05em; }
.fb-count { color: var(--orange); font-family: var(--display); font-size: clamp(9px, 1.2vw, 12px); opacity: .85; margin-top: 3px; }
.fb-fan { position: absolute; left: 50%; top: 60%; width: 1px; height: 1px; z-index: 2; }
.fb-fc { position: absolute; left: 50%; top: 50%; width: clamp(28px, 4.6vw, 44px); height: clamp(44px, 7vw, 66px);
  border-radius: 4px; transform-origin: 50% 130%; cursor: pointer;
  background: repeating-linear-gradient(45deg, #ff6a14 0 3px, #c4400a 3px 6px); border: 1.5px solid #ffb066;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .6); transition: filter .2s, box-shadow .2s; }
.fb-fc::after { content: ""; position: absolute; inset: 18% 30%; border-radius: 50%; background: radial-gradient(circle, #ffd28a 0 30%, transparent 32%); opacity: .5; }
.fb-fc.hi { filter: brightness(1.35); border-color: #fff; box-shadow: 0 0 14px rgba(255, 180, 80, .8), 0 4px 10px rgba(0, 0, 0, .6); z-index: 9; }
.fb-sel-foot { position: absolute; bottom: 12%; left: 0; right: 0; text-align: center; color: var(--orange); font-size: clamp(8px, 1.1vw, 11px); letter-spacing: .05em; z-index: 3; }

.fb-name { position: absolute; top: 15%; color: #e6b860; font-size: clamp(12px, 1.7vw, 17px); font-weight: 600; letter-spacing: .14em; z-index: 3; text-shadow: 0 0 10px rgba(230, 184, 96, .4); }
.fb-flip { width: 34%; aspect-ratio: 181 / 307; perspective: 600px; z-index: 2; }
.fb-flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.fb-flip.flipped .fb-flip-inner { transform: rotateY(180deg); }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 5px; overflow: hidden; }
.fb-back { background: repeating-linear-gradient(45deg, #ff6a14 0 3px, #c4400a 3px 6px); border: 1.5px solid #ffb066; }
.fb-back::after { content: ""; position: absolute; inset: 42% 38%; border-radius: 50%; background: radial-gradient(circle, #ffd28a, transparent 70%); }
.fb-front { transform: rotateY(180deg); background: #000; border: 1.5px solid rgba(255, 255, 255, .85); box-shadow: 0 0 18px rgba(230, 184, 96, .25); }
.fb-front img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.fb-front.rev img { transform: rotate(180deg); }
.fb-orient { position: absolute; bottom: 14%; font-size: clamp(11px, 1.5vw, 15px); font-weight: 600; letter-spacing: .14em; z-index: 3; }
.fb-orient.up { color: #4be07a; text-shadow: 0 0 8px rgba(75, 224, 122, .5); }
.fb-orient.rev { color: #ff5757; text-shadow: 0 0 8px rgba(255, 87, 87, .5); }
.fb-tap { position: absolute; bottom: 7%; font-family: var(--display); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: rgba(204, 232, 235, .5); z-index: 3; animation: fbblink 1.8s infinite; }
@keyframes fbblink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.fbscr-result { justify-content: flex-start; padding: 16% 14% 12%; }
.fb-h { color: #fff; font-size: clamp(11px, 1.5vw, 15px); font-weight: 600; letter-spacing: .1em; }
.fb-date { color: var(--orange); font-size: clamp(10px, 1.3vw, 13px); margin-top: 2px; font-family: var(--display); }
.fb-div { width: 38%; height: 1px; background: linear-gradient(90deg, transparent, #e6b860, transparent); margin: 5% 0 4%; }
.fb-cn { color: #e6b860; font-size: clamp(10px, 1.4vw, 13px); letter-spacing: .1em; }
.fb-verdict { font-family: var(--display); font-size: clamp(20px, 4vw, 40px); letter-spacing: .05em; margin: 3% 0; line-height: 1; }
.fb-key { color: #e6b860; font-size: clamp(10px, 1.4vw, 13px); letter-spacing: .14em; }
.fb-desc { color: rgba(255, 255, 255, .82); font-size: clamp(8.5px, 1.15vw, 11px); line-height: 1.5; margin-top: 5%;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v-daji { color: #ffd24a; text-shadow: 0 0 16px rgba(255, 210, 74, .5); }
.v-zhongji { color: #e6b860; } .v-ji { color: #4be07a; } .v-ping { color: #cfd2d6; }
.v-yes { color: #4be07a; text-shadow: 0 0 18px rgba(75, 224, 122, .5); }
.v-no { color: #ff5757; text-shadow: 0 0 18px rgba(255, 87, 87, .5); }

.fbscr-breath { background: radial-gradient(circle at 50% 50%, #0a0a06, #000); }
.fb-rays { position: absolute; inset: 10%; border-radius: 50%; z-index: 1; }
.fb-rays .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(230, 184, 96, .5); }
.fb-rays .ring.r2 { inset: 3%; border-color: rgba(230, 184, 96, .28); }
.fb-spokes { position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(230, 184, 96, .5) 0deg 1deg, transparent 1deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 39% 88%, transparent 89%);
          mask: radial-gradient(circle, transparent 38%, #000 39% 88%, transparent 89%); }
.fb-core { width: 30%; aspect-ratio: 1; border-radius: 50%; z-index: 2; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, #fffdf2, #fff1c8 60%, #f3d792); box-shadow: 0 0 40px 8px rgba(255, 240, 200, .55);
  animation: fbbreathe 8s ease-in-out infinite; }
.fb-core span { width: 34%; aspect-ratio: 1; border-radius: 50%; background: #4be07a; box-shadow: 0 0 14px rgba(75, 224, 122, .7); }
@keyframes fbbreathe { 0%, 100% { transform: scale(.7); } 50% { transform: scale(1.12); } }
.fb-word { position: absolute; bottom: 16%; color: #e6b860; font-size: clamp(10px, 1.4vw, 14px); letter-spacing: .4em; z-index: 3; text-indent: .4em; }

.fb-home { position: absolute; top: 5.5%; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(204, 232, 235, .3);
  background: rgba(0, 0, 0, .35); color: rgba(204, 232, 235, .75); font-size: 13px; line-height: 1;
  cursor: pointer; opacity: 0; pointer-events: none; transition: .25s; }
#fbOracle:not(.is-menu) .fb-home { opacity: 1; pointer-events: auto; }
.fb-home:hover { border-color: #cce8eb; color: #cce8eb; }

@media (max-width: 900px) {
  .object-oracle { --d: clamp(250px, 62vw, 380px); top: 50%; }
}
