:root {
  --ink: #020812;
  --ink-soft: #061425;
  --blue: #2cc7ff;
  --blue-bright: #83e7ff;
  --white: #f5fbff;
  --muted: #91a8b9;
  --line: rgba(132, 204, 238, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--white); background: var(--ink); font-family: Manrope, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.loading { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 1.25rem; background: var(--ink); color: var(--muted); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; transition: opacity .7s ease, visibility .7s; }
.loading.is-hidden { opacity: 0; visibility: hidden; }
.loading__mark, .brand__mark { display: grid; place-items: center; border: 1px solid rgba(66,205,255,.55); color: var(--blue-bright); }
.loading__mark { width: 3.5rem; height: 3.5rem; border-radius: 50%; font-size: 1.25rem; box-shadow: 0 0 40px rgba(44,199,255,.2); animation: pulse 1.4s ease-in-out infinite alternate; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 5.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 3vw; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, height .4s; }
.site-header.is-scrolled { height: 4.75rem; background: rgba(2,8,18,.76); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { justify-self: start; display: flex; align-items: center; gap: .8rem; }
.brand__mark { width: 2.25rem; height: 2.25rem; border-radius: 50%; font-size: .8rem; font-weight: 700; }
.brand__text { font-size: .76rem; font-weight: 600; letter-spacing: .03em; line-height: 1.1; }
.brand__text small { display: block; margin-top: .22rem; color: var(--muted); font-size: .58rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.header-meta { display: flex; gap: 2rem; color: rgba(239,249,255,.65); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.sound-toggle { justify-self: end; width: 2.4rem; height: 2.4rem; display: flex; justify-content: center; align-items: center; gap: 3px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.06); cursor: pointer; }
.sound-toggle span { width: 1px; height: .6rem; background: currentColor; transition: height .2s; }
.sound-toggle span:nth-child(2) { height: 1rem; }.sound-toggle span:nth-child(3) { height: .8rem; }
.sound-toggle[aria-pressed="true"] span { animation: bars .55s ease-in-out infinite alternate; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #03101c; }
.hero__image { position: absolute; inset: -3%; background: url('assets/hologram-overview.webp') center/cover no-repeat; transform: scale(1.05); animation: heroMove 14s ease-out both; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,8,18,.9) 0%, rgba(2,8,18,.52) 38%, rgba(2,8,18,.08) 70%), linear-gradient(0deg, rgba(2,8,18,.85), transparent 40%); }
.hero__grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(62,203,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(62,203,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero__content { position: relative; z-index: 2; width: min(43rem, 88vw); margin-left: 7vw; padding-top: 4rem; }
.eyebrow, .section-index { color: var(--blue-bright); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 1.15rem 0 1.5rem; font-size: clamp(4.3rem, 9vw, 9.2rem); font-weight: 500; line-height: .79; letter-spacing: -.075em; }
.hero h1 span { color: rgba(245,251,255,.62); font-size: .48em; letter-spacing: -.05em; }
.hero__lead { max-width: 34rem; margin: 0; color: rgba(238,249,255,.72); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; }
.hero__facts { position: absolute; z-index: 2; right: 4vw; bottom: 6rem; display: flex; gap: clamp(1rem, 3vw, 3.5rem); }
.hero__facts div { min-width: 6.8rem; padding-left: 1rem; border-left: 1px solid rgba(126,224,255,.42); }
.hero__facts strong { display: block; font-size: 1.75rem; font-weight: 500; }
.hero__facts span { color: var(--muted); font-size: .68rem; }
.scroll-cue { position: absolute; z-index: 3; left: 7vw; bottom: 2.25rem; display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.64); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue i { width: 2.8rem; height: 1px; background: var(--blue); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: white; transform: translateX(-100%); animation: scan 1.8s ease-in-out infinite; }

.intro { min-height: 82vh; display: grid; grid-template-columns: .6fr 2fr 1fr; gap: 5vw; align-items: center; padding: 10vw 7vw; background: radial-gradient(circle at 65% 45%, rgba(16,68,102,.2), transparent 32%), var(--ink); }
.section-index { align-self: start; padding-top: 1.2rem; }
.intro h2, .numbers h2 { margin: 0; max-width: 12ch; font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 25rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

.experience { height: 640vh; background: var(--ink); }
.experience__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene, .scene__layer, .scene__shade { position: absolute; inset: 0; }
.scene { background: #020812; }
.scene__layer { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); filter: saturate(.82) brightness(.78); transition: opacity .6s ease; will-change: opacity, transform; }
.scene__layer.is-visible { opacity: 1; }
.scene__shade { background: linear-gradient(90deg, rgba(2,8,18,.96), rgba(2,8,18,.62) 39%, rgba(2,8,18,.08) 74%), linear-gradient(0deg, rgba(2,8,18,.8), transparent 36%); }
.scanline { position: absolute; z-index: 2; top: -4%; bottom: -4%; width: 2px; left: 48%; opacity: 0; background: var(--blue-bright); box-shadow: 0 0 22px 7px rgba(52,197,255,.4); }
.scanline.is-active { animation: scanVertical 1.2s ease both; }
.chapters { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.chapter { position: absolute; inset: 0; display: grid; grid-template-columns: 4rem minmax(0, 37rem); align-content: center; gap: 2rem; padding: 7rem 7vw 5rem; opacity: 0; transform: translateY(2rem); transition: opacity .55s, transform .55s; }
.chapter.is-active { opacity: 1; transform: none; }
.chapter__number { margin: .35rem 0 0; color: rgba(127,225,255,.7); font-size: .66rem; letter-spacing: .12em; }
.chapter h2 { margin: .9rem 0 1.2rem; font-size: clamp(2.7rem, 5vw, 5.3rem); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
.chapter__body > p:not(.eyebrow) { max-width: 31rem; color: #a7bac7; font-size: 1rem; line-height: 1.7; }
.chapter__stats, .tags, .systems, .basement-list { margin-top: 2rem; }
.chapter__stats { display: flex; gap: 3rem; }
.chapter__stats span { color: var(--muted); font-size: .72rem; }
.chapter__stats strong { display: block; margin-bottom: .2rem; color: white; font-size: 1.1rem; font-weight: 500; }
.tags, .systems { display: flex; flex-wrap: wrap; gap: .55rem; max-width: 33rem; }
.tags span, .systems span { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: #c3d7e3; background: rgba(2,8,18,.35); font-size: .66rem; letter-spacing: .05em; }
.systems .hvac { border-color: rgba(47,181,255,.5); }.systems .fire { border-color: rgba(255,65,65,.5); }.systems .water { border-color: rgba(39,226,173,.5); }.systems .power { border-color: rgba(255,211,64,.5); }
.basement-list { display: grid; gap: .5rem; max-width: 25rem; }
.basement-list span { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); color: #b9cbd6; font-size: .78rem; }
.basement-list b { color: var(--blue-bright); font-size: .7rem; }

.journey-nav { position: absolute; z-index: 5; right: 3vw; top: 50%; transform: translateY(-50%); display: flex; gap: 1rem; align-items: stretch; }
.journey-nav__line { position: relative; width: 1px; background: rgba(255,255,255,.18); }
.journey-nav__line i { position: absolute; inset: 0 0 auto; height: 25%; background: var(--blue); box-shadow: 0 0 8px var(--blue); transition: transform .5s ease; }
.journey-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; color: rgba(255,255,255,.35); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.journey-nav li { transition: color .3s; }.journey-nav li.is-active { color: white; }
.progress-ring { position: absolute; z-index: 5; right: 3vw; bottom: 2rem; width: 3rem; height: 3rem; }
.progress-ring svg { width: 100%; transform: rotate(-90deg); }.progress-ring circle { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.progress-ring__value { stroke: var(--blue) !important; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset .15s linear; }
.progress-ring span { position: absolute; inset: 0; display: grid; place-items: center; color: #cceefa; font-size: .55rem; }

.numbers { padding: 10vw 7vw 12vw; background: linear-gradient(180deg, #020812, #051426); }
.numbers__header { display: grid; grid-template-columns: .6fr 3fr; gap: 5vw; align-items: start; margin-bottom: 8vw; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers__grid article { min-height: 20rem; padding: 3rem 2rem; border-right: 1px solid var(--line); }
.numbers__grid article:last-child { border: 0; }
.count { display: block; margin-bottom: 4rem; color: var(--blue-bright); font-size: clamp(3.4rem, 5vw, 6.3rem); line-height: 1; letter-spacing: -.06em; }
.numbers__grid p { margin: 0 0 .8rem; font-size: 1rem; }.numbers__grid small { color: var(--muted); font-size: .75rem; line-height: 1.6; }

.finale { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.68) saturate(.78); }
.finale__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,8,18,.96), rgba(2,8,18,.28) 70%), linear-gradient(0deg, rgba(2,8,18,.78), transparent 50%); }
.finale__content { position: relative; z-index: 2; width: min(47rem, 86vw); margin-left: 7vw; }
.finale h2 { margin: 1rem 0 1.5rem; font-size: clamp(3.6rem, 7vw, 7.7rem); font-weight: 500; line-height: .9; letter-spacing: -.065em; }
.finale__content > p:not(.eyebrow) { max-width: 30rem; color: var(--muted); line-height: 1.7; }
.text-link { display: inline-flex; gap: 1rem; align-items: center; margin-top: 2rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(126,224,255,.5); color: #d6f4ff; font-size: .78rem; }
.text-link span { color: var(--blue); }
footer { min-height: 7rem; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 0 3vw; border-top: 1px solid var(--line); color: #6f8798; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
footer span:nth-child(2) { text-align: center; }footer span:last-child { text-align: right; }

@keyframes pulse { to { box-shadow: 0 0 55px rgba(44,199,255,.35); transform: scale(1.04); } }
@keyframes scan { 50%,100% { transform: translateX(100%); } }
@keyframes heroMove { from { transform: scale(1.13); } to { transform: scale(1.03); } }
@keyframes scanVertical { 0% { left: 12%; opacity: 0; } 20% { opacity: .9; } 80% { opacity: .8; } 100% { left: 88%; opacity: 0; } }
@keyframes bars { to { height: .3rem; } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 1.25rem; }.header-meta { display: none; }
  .hero__content { margin-left: 1.25rem; width: calc(100% - 2.5rem); padding-top: 0; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6rem); }.hero__lead { max-width: 23rem; font-size: .92rem; }
  .hero__veil { background: linear-gradient(90deg, rgba(2,8,18,.82), rgba(2,8,18,.22)), linear-gradient(0deg, rgba(2,8,18,.94), transparent 60%); }
  .hero__facts { left: 1.25rem; right: 1.25rem; bottom: 5.8rem; gap: .6rem; }.hero__facts div { min-width: 0; flex: 1; padding-left: .6rem; }.hero__facts strong { font-size: 1.35rem; }.hero__facts span { font-size: .55rem; }
  .scroll-cue { left: 1.25rem; bottom: 2rem; }
  .intro { min-height: 90vh; grid-template-columns: 1fr; gap: 2rem; align-content: center; padding: 7rem 1.25rem; }.intro .section-index { padding: 0; }.intro h2 { font-size: clamp(3.2rem, 15vw, 5rem); }.intro > p:last-child { margin-left: 15vw; }
  .experience { height: 720vh; }.scene__layer { object-position: 58% center; }.scene__shade { background: linear-gradient(0deg, rgba(2,8,18,.98) 5%, rgba(2,8,18,.75) 48%, rgba(2,8,18,.08) 83%); }
  .chapter { grid-template-columns: 2.2rem 1fr; gap: .6rem; align-content: end; padding: 6rem 1.25rem 6.5rem; }.chapter h2 { font-size: clamp(2.6rem, 11vw, 4.2rem); }.chapter__body > p:not(.eyebrow) { font-size: .87rem; line-height: 1.55; }.chapter__stats, .tags, .systems, .basement-list { margin-top: 1rem; }.chapter__stats { gap: 1.5rem; }
  .journey-nav { display: none; }.progress-ring { right: 1.25rem; bottom: 1.25rem; }
  .numbers { padding: 7rem 1.25rem; }.numbers__header { grid-template-columns: 1fr; gap: 1.5rem; }.numbers h2 { font-size: clamp(3rem, 13vw, 4.6rem); }.numbers__grid { grid-template-columns: 1fr 1fr; }.numbers__grid article { min-height: 16rem; padding: 2rem 1rem; border-bottom: 1px solid var(--line); }.numbers__grid article:nth-child(2) { border-right: 0; }.numbers__grid article:nth-child(n+3) { border-bottom: 0; }.count { margin-bottom: 2.5rem; }
  .finale__content { margin-left: 1.25rem; }.finale h2 { font-size: clamp(3.5rem, 16vw, 5.8rem); }
  footer { min-height: 9rem; grid-template-columns: 1fr; gap: .5rem; align-content: center; padding: 1.5rem 1.25rem; }footer span:nth-child(2), footer span:last-child { text-align: left; }
}

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

/* WordPress owns the surrounding navigation in embedded mode. */
.is-embedded .site-header, .is-embedded body > footer { display: none; }
.is-embedded .hero__content { padding-top: 0; }
