@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #010611;
  --panel: rgba(2, 11, 27, 0.91);
  --panel-soft: rgba(3, 17, 39, 0.76);
  --white: #f6fbff;
  --muted: rgba(228, 241, 250, 0.68);
  --faint: rgba(228, 241, 250, 0.42);
  --cyan: #55c8ff;
  --blue: #0877cb;
  --orange: #ef8d2d;
  --line: rgba(117, 197, 241, 0.3);
  --edge: clamp(1rem, 3.4vw, 4.5rem);
  --header-h: 4rem;
  --nav-h: 3.6rem;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.presentation-loading {
  overflow: hidden;
}

body.presentation-mode {
  scroll-snap-type: y mandatory;
}

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

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

figure,
dl,
dd,
p,
h1,
h2,
h3,
ol {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 120;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #03101d;
  transform: translateY(-160%);
}

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

.presentation-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 29rem);
  align-content: center;
  justify-content: center;
  gap: 1.05rem;
  padding: 2rem;
  background: #01050d;
  transition: opacity 650ms ease, visibility 650ms ease;
}

body.is-ready .presentation-loader {
  visibility: hidden;
  opacity: 0;
}

.presentation-loader img {
  width: min(15rem, 66vw);
}

.presentation-loader > p {
  color: var(--faint);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loader-readout {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.loader-readout strong {
  color: var(--white);
}

.loader-track {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.scene-layer,
.scene-vignette,
.presentation-canvas,
.presentation-fallback {
  position: fixed;
  inset: 0;
}

.scene-layer {
  z-index: -4;
  overflow: hidden;
  background: #010714;
}

.scene-smoke {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  backface-visibility: hidden;
  will-change: transform;
}

.scene-smoke-base {
  opacity: 0.54;
  filter: saturate(0.92) brightness(0.4) contrast(1.2);
  animation: drift-base 34s ease-in-out infinite alternate;
}

.scene-smoke-near {
  opacity: 0.1;
  filter: saturate(1.4) brightness(0.68) blur(4px);
  mix-blend-mode: screen;
  animation: drift-near 22s ease-in-out infinite alternate;
}

.scene-vignette {
  z-index: -2;
  pointer-events: none;
  border: clamp(1rem, 4vw, 4rem) solid rgba(0, 4, 12, 0.12);
}

@keyframes drift-base {
  from { transform: translate3d(-1.5%, 1%, 0) scale(1.03); }
  to { transform: translate3d(1.5%, -1%, 0) scale(1.09); }
}

@keyframes drift-near {
  from { transform: translate3d(2%, 2%, 0) scale(1.16); }
  to { transform: translate3d(-2%, -2%, 0) scale(1.24); }
}

.presentation-canvas {
  z-index: -1;
  width: 100%;
  height: 100%;
  outline: none;
  backface-visibility: hidden;
}

.presentation-fallback {
  z-index: -1;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.presentation-fallback[hidden] {
  display: none;
}

.presentation-header {
  position: fixed;
  top: 1rem;
  left: var(--edge);
  right: var(--edge);
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-h);
  padding: 0.55rem 0.7rem 0.55rem 0.9rem;
  border: 1px solid rgba(128, 201, 242, 0.24);
  background: rgba(1, 7, 18, 0.88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity 500ms ease 420ms, transform 500ms ease 420ms;
}

body.is-ready .presentation-header {
  opacity: 1;
  transform: translateY(0);
}

.presentation-brand {
  width: clamp(7.5rem, 9.6vw, 9.5rem);
}

.chapter-readout {
  display: grid;
  justify-items: center;
  gap: 0.08rem;
}

.chapter-readout span {
  color: var(--cyan);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.chapter-readout strong {
  font-size: 0.76rem;
  font-weight: 520;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.text-action,
.icon-action,
.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 15, 34, 0.86);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.text-action:hover,
.icon-action:hover,
.nav-arrow:hover,
.text-action:focus-visible,
.icon-action:focus-visible,
.nav-arrow:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  outline: 0;
}

.text-action {
  min-height: 2.55rem;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 650;
}

.text-action[aria-pressed="true"] {
  border-color: var(--cyan);
  background: #07568c;
  color: #fff;
}

.icon-action {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
}

.icon-action[aria-pressed="true"] {
  border-color: var(--orange);
  color: var(--orange);
}

.text-action svg,
.icon-action svg,
.nav-arrow svg,
.scroll-cue svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-action svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.presentation-scroll {
  position: relative;
  z-index: 2;
}

.presentation-step {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3.6rem) var(--edge) calc(var(--nav-h) + 3.2rem);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  isolation: isolate;
}

.presentation-step::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(1, 7, 17, 0.16);
  content: "";
  pointer-events: none;
}

.hero-step,
.trust-step,
.process-step,
.room-step,
.facilities-step,
.experience-step,
.contact-step {
  justify-items: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: clamp(0.62rem, 0.72vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.11em;
}

h1,
h2 {
  font-weight: 420;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(4.1rem, 8vw, 8.6rem);
  line-height: 0.84;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5.4vw, 5.7rem);
  line-height: 0.91;
}

.hero-copy {
  width: min(94vw, 78rem);
  text-align: center;
}

.hero-lead {
  max-width: 42rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.hero-cities {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
  color: var(--faint);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero-cities i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cyan);
}

.scroll-cue {
  position: absolute;
  bottom: calc(var(--nav-h) + 2rem);
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  color: var(--cyan);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: cue-bob 1.9s ease-in-out infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.52; }
  50% { transform: translate(-50%, 0.45rem); opacity: 1; }
}

.chapter-copy,
.product-copy {
  min-width: 0;
  width: min(43vw, 37rem);
  padding: clamp(1.1rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.chapter-copy h2,
.product-copy h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
}

.chapter-lead {
  max-width: 43rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.05vw, 1.02rem);
  line-height: 1.58;
}

.wide-copy {
  min-width: 0;
  width: min(100%, 81rem);
}

.wide-copy > h2 {
  max-width: 15ch;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.7rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-row div {
  padding: 1rem 0.65rem;
}

.metric-row div + div {
  border-left: 1px solid var(--line);
}

.metric-row dt,
.room-facts dt,
.facility-stats dt {
  color: var(--faint);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-row dd {
  margin-top: 0.35rem;
  font-size: clamp(0.92rem, 1.35vw, 1.2rem);
  font-weight: 660;
}

.split-step,
.purpose-step,
.scope-step,
.product-step,
.substation-step,
.service-step {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 7.5rem);
}

.media-duet,
.purpose-visual,
.scope-media,
.service-visual {
  position: relative;
  width: min(42vw, 38rem);
  min-height: clamp(22rem, 54vh, 35rem);
}

.media-frame {
  overflow: hidden;
  border: 1px solid rgba(165, 219, 248, 0.34);
  background: #061326;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.media-frame img,
.product-proof img,
.process-images img,
.room-gallery img,
.facility-gallery img,
.experience-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tall {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 82%;
}

.media-offset {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 59%;
  height: 48%;
  border: 0.45rem solid rgba(2, 10, 25, 0.94);
}

.trust-step::before,
.room-step::before,
.experience-step::before {
  background: rgba(0, 9, 22, 0.6);
}

.trust-step .wide-copy {
  padding: clamp(1.2rem, 2.8vw, 2.6rem);
  border-left: 3px solid var(--cyan);
  background: var(--panel-soft);
}

.certification-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.55fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 2rem;
}

.certification-row figure,
.registry-list {
  min-height: 10rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(245, 250, 253, 0.96);
  color: #071425;
}

.certification-row figure {
  display: grid;
  grid-template-columns: minmax(5rem, 0.8fr) 1fr;
  align-items: center;
  gap: 1rem;
}

.certification-row figure img {
  max-height: 7rem;
  margin: auto;
  object-fit: contain;
}

.certification-row figcaption {
  font-size: 0.77rem;
  font-weight: 640;
  line-height: 1.35;
}

.registry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 0.8rem;
  background: rgba(7, 27, 52, 0.94);
  color: #fff;
}

.registry-list span {
  display: grid;
  min-height: 3.8rem;
  place-items: center;
  border: 1px solid rgba(111, 199, 245, 0.34);
  font-size: 0.75rem;
  font-weight: 700;
}

.registry-list small {
  grid-column: 1 / -1;
  color: var(--faint);
  font-size: 0.66rem;
}

.purpose-main,
.service-main {
  position: absolute;
  inset: 0 3rem 2rem 0;
}

.purpose-inset,
.service-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 43%;
  border: 0.45rem solid rgba(1, 8, 20, 0.96);
}

.metric-row-compact {
  grid-template-columns: repeat(3, 1fr);
}

.process-step .wide-copy {
  padding: 1.5rem;
  background: rgba(2, 10, 24, 0.82);
  backdrop-filter: blur(13px);
}

.process-line {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1.8rem;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-line li {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 8rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-line li + li {
  border-left: 1px solid var(--line);
}

.process-line span {
  color: var(--cyan);
  font-size: 0.62rem;
}

.process-line strong {
  margin-top: 1.2rem;
  font-size: 0.88rem;
}

.process-line small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.4;
}

.process-images {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  height: clamp(7.5rem, 17vh, 11rem);
  margin-top: 1rem;
}

.process-images img {
  min-width: 0;
}

.scope-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.scope-columns > div {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(4, 26, 56, 0.62);
}

.scope-columns span {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  background: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
}

.scope-columns h3 {
  margin-top: 1rem;
  font-size: 1rem;
}

.scope-columns p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.scope-media .media-frame:first-child {
  position: absolute;
  inset: 0 0 5rem 2rem;
}

.scope-inset {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 51%;
  height: 48%;
  border: 0.45rem solid rgba(1, 8, 20, 0.96);
}

.product-step {
  grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 0.55fr);
  align-items: end;
}

.product-copy {
  align-self: center;
  width: min(44vw, 39rem);
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.4rem;
}

.brand-chips span,
.service-sequence span {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(127, 204, 244, 0.28);
  background: rgba(8, 45, 80, 0.55);
  color: rgba(242, 250, 255, 0.8);
  font-size: 0.64rem;
}

.technical-note {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
}

.technical-note span {
  color: var(--cyan);
  text-transform: uppercase;
}

.product-proof {
  align-self: end;
  width: min(29vw, 24rem);
  padding: 0.45rem;
  background: rgba(2, 10, 24, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.product-proof img {
  height: clamp(10rem, 26vh, 17rem);
}

.product-proof figcaption,
.substation-gallery figcaption,
.facility-gallery figcaption,
.contact-qr figcaption {
  padding: 0.55rem 0.25rem 0.15rem;
  color: var(--faint);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.proof-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.proof-line strong {
  color: var(--cyan);
  font-size: 2.6rem;
  font-weight: 430;
}

.proof-line span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.substation-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 0.7rem;
}

.substation-gallery figure:first-child {
  height: clamp(19rem, 52vh, 34rem);
}

.substation-gallery figure:last-child {
  height: clamp(16rem, 42vh, 28rem);
}

.substation-gallery img {
  height: calc(100% - 2rem);
  object-fit: cover;
}

.room-step .wide-copy {
  padding: 1.4rem;
  background: rgba(2, 10, 24, 0.82);
  backdrop-filter: blur(14px);
}

.room-facts {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.2rem;
}

.room-facts dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.room-facts dl div {
  padding: 0.75rem;
}

.room-facts dl div + div {
  border-left: 1px solid var(--line);
}

.room-facts dd {
  margin-top: 0.28rem;
  font-size: 0.86rem;
  font-weight: 650;
}

.room-facts > p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.48;
}

.room-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 0.55rem;
  height: clamp(10rem, 27vh, 18rem);
  margin-top: 1rem;
}

.room-gallery figure,
.facility-gallery figure,
.experience-track figure {
  overflow: hidden;
  border: 1px solid rgba(153, 215, 247, 0.28);
  background: #07162a;
}

.service-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  margin-top: 1.4rem;
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facility-stats div {
  padding: 0.8rem;
}

.facility-stats div + div {
  border-left: 1px solid var(--line);
}

.facility-stats dd {
  margin-top: 0.35rem;
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 650;
}

.facility-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 0.78fr;
  gap: 0.55rem;
  height: clamp(12rem, 31vh, 21rem);
  margin-top: 1rem;
}

.facility-gallery figure {
  position: relative;
}

.facility-gallery img {
  height: 100%;
}

.facility-gallery figcaption {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  padding: 0.45rem;
  background: rgba(1, 8, 19, 0.86);
}

.experience-step .wide-copy {
  overflow: hidden;
  padding: 1.4rem;
  background: rgba(2, 10, 24, 0.84);
  backdrop-filter: blur(14px);
}

.experience-track {
  min-width: 0;
  display: grid;
  grid-auto-columns: minmax(10rem, 1fr);
  grid-auto-flow: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(255, 255, 255, 0.08);
  scroll-snap-type: x mandatory;
}

.experience-track figure {
  position: relative;
  height: clamp(11rem, 30vh, 19rem);
  scroll-snap-align: start;
}

.experience-track figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.6rem;
  background: rgba(1, 8, 19, 0.9);
  font-size: 0.66rem;
  font-weight: 640;
}

.contact-step {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(3rem, 10vw, 11rem);
}

.contact-copy {
  min-width: 0;
  width: min(64vw, 53rem);
  padding: clamp(1.2rem, 2.5vw, 2.3rem);
  border-left: 3px solid var(--cyan);
  background: rgba(2, 10, 24, 0.84);
  backdrop-filter: blur(16px);
}

.contact-copy h2 {
  max-width: 13ch;
}

.contact-phone {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--cyan);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 600;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-details p {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.contact-details strong {
  color: var(--white);
}

.contact-qr {
  width: clamp(9.5rem, 15vw, 13rem);
  padding: 0.6rem;
  background: rgba(245, 249, 252, 0.97);
  color: #071425;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.32);
}

.contact-qr div {
  aspect-ratio: 1;
  overflow: hidden;
}

.contact-qr a {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-qr figcaption {
  color: #17314a;
  text-align: center;
}

.reveal-content,
.reveal-media {
  opacity: 0;
  transition: opacity 650ms ease, transform 780ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.reveal-content {
  transform: translate3d(0, 1.8rem, 0);
}

.reveal-media {
  transform: translate3d(1.6rem, 0, 0) scale(0.985);
}

.reveal-content.is-visible,
.reveal-media.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.presentation-nav {
  position: fixed;
  right: var(--edge);
  bottom: 1rem;
  left: var(--edge);
  z-index: 55;
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr) 4.2rem 2.65rem;
  align-items: center;
  min-height: var(--nav-h);
  overflow: hidden;
  border: 1px solid rgba(132, 204, 242, 0.25);
  background: rgba(1, 7, 18, 0.91);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 500ms ease 560ms, transform 500ms ease 560ms;
}

body.is-ready .presentation-nav {
  opacity: 1;
  transform: translateY(0);
}

.nav-arrow {
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.nav-arrow:last-of-type {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.chapter-progress {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.85rem;
}

.progress-fill {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}

.progress-dots {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  width: 100%;
}

.progress-dots button {
  position: relative;
  min-height: 2.35rem;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.progress-dots button::before {
  display: block;
  width: 0.28rem;
  height: 0.28rem;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: transparent;
  content: "";
}

.progress-dots button.is-active::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 0 0.2rem rgba(85, 200, 255, 0.12);
}

.progress-dots button:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: -0.2rem;
}

.nav-counter {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 650;
  text-align: center;
}

.autoplay-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

body.quality-low .scene-smoke-near {
  display: none;
}

body.quality-low .presentation-header,
body.quality-low .presentation-nav,
body.quality-low .chapter-copy,
body.quality-low .product-copy,
body.quality-low .wide-copy,
body.quality-low .contact-copy {
  backdrop-filter: none;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
}

@media (max-width: 900px) {
  :root {
    --edge: 1rem;
    --header-h: 3.75rem;
    --nav-h: 3.35rem;
  }

  .chapter-readout {
    display: none;
  }

  .presentation-header {
    grid-template-columns: 1fr auto;
    top: 0.65rem;
  }

  .presentation-brand {
    width: 7.2rem;
  }

  .presentation-step {
    align-content: center;
    min-height: 100svh;
    padding: calc(var(--header-h) + 2rem) var(--edge) calc(var(--nav-h) + 1.7rem);
  }

  h1 {
    font-size: clamp(3.15rem, 13vw, 5.8rem);
  }

  h2,
  .chapter-copy h2,
  .product-copy h2 {
    font-size: clamp(2rem, 8.6vw, 3.7rem);
  }

  .hero-lead {
    margin-top: 1.35rem;
    font-size: 0.93rem;
  }

  .hero-cities {
    gap: 0.5rem;
    font-size: 0.55rem;
  }

  .scroll-cue {
    bottom: calc(var(--nav-h) + 1.2rem);
  }

  .split-step,
  .purpose-step,
  .scope-step,
  .product-step,
  .substation-step,
  .service-step,
  .contact-step {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .chapter-copy,
  .product-copy,
  .contact-copy,
  .wide-copy {
    width: 100%;
    padding: 1rem;
  }

  .chapter-lead {
    margin-top: 0.8rem;
    font-size: 0.76rem;
    line-height: 1.43;
  }

  .metric-row {
    margin-top: 0.9rem;
  }

  .metric-row div {
    padding: 0.65rem 0.3rem;
  }

  .metric-row dt {
    font-size: 0.48rem;
  }

  .metric-row dd {
    font-size: 0.83rem;
  }

  .media-duet,
  .purpose-visual,
  .scope-media,
  .service-visual {
    order: 2;
    width: 100%;
    min-height: clamp(11rem, 28vh, 17rem);
  }

  .media-tall {
    width: 67%;
  }

  .certification-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
  }

  .certification-row figure,
  .registry-list {
    min-height: 6.7rem;
    padding: 0.6rem;
  }

  .certification-row figure {
    grid-template-columns: minmax(3.7rem, 0.7fr) 1fr;
  }

  .certification-row figure img {
    max-height: 5.3rem;
  }

  .certification-row figcaption {
    font-size: 0.62rem;
  }

  .registry-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .registry-list span {
    min-height: 2.8rem;
  }

  .process-step .wide-copy,
  .room-step .wide-copy,
  .experience-step .wide-copy {
    padding: 0.85rem;
  }

  .process-line {
    grid-template-columns: repeat(5, minmax(7.5rem, 1fr));
    margin-top: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .process-line li {
    min-height: 6rem;
    padding: 0.6rem;
    scroll-snap-align: start;
  }

  .process-line strong {
    margin-top: 0.55rem;
  }

  .process-images {
    height: 6rem;
  }

  .scope-columns {
    margin-top: 0.9rem;
  }

  .scope-columns > div {
    padding: 0.7rem;
  }

  .scope-columns span {
    width: 2rem;
    height: 2rem;
  }

  .scope-columns h3 {
    margin-top: 0.55rem;
  }

  .scope-columns p {
    font-size: 0.66rem;
  }

  .product-copy {
    align-self: auto;
  }

  .brand-chips,
  .service-sequence {
    margin-top: 0.75rem;
  }

  .brand-chips span,
  .service-sequence span {
    padding: 0.38rem 0.48rem;
    font-size: 0.56rem;
  }

  .technical-note {
    margin-top: 0.75rem;
  }

  .product-proof {
    width: min(65%, 18rem);
    justify-self: end;
  }

  .product-proof img {
    height: 8rem;
  }

  .substation-gallery {
    order: 2;
    width: 100%;
  }

  .substation-gallery figure:first-child,
  .substation-gallery figure:last-child {
    height: clamp(10rem, 25vh, 14rem);
  }

  .proof-line {
    margin-top: 0.8rem;
    padding-top: 0.65rem;
  }

  .proof-line strong {
    font-size: 1.8rem;
  }

  .room-facts {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.7rem;
  }

  .room-facts dl div {
    padding: 0.5rem 0.3rem;
  }

  .room-facts dd {
    font-size: 0.72rem;
  }

  .room-gallery {
    height: clamp(7.5rem, 20vh, 11rem);
    margin-top: 0.55rem;
  }

  .facility-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 0.7rem;
  }

  .facility-stats div {
    padding: 0.5rem;
  }

  .facility-stats div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facility-stats div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .facility-stats dd {
    font-size: 0.93rem;
  }

  .facility-gallery {
    height: clamp(8rem, 22vh, 12rem);
    margin-top: 0.55rem;
  }

  .experience-track {
    grid-auto-columns: 8.5rem;
    margin-top: 0.7rem;
  }

  .experience-track figure {
    height: clamp(9rem, 24vh, 13rem);
  }

  .contact-copy {
    align-self: end;
  }

  .contact-phone {
    margin-top: 0.9rem;
  }

  .contact-details {
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.7rem;
  }

  .contact-details p {
    font-size: 0.58rem;
  }

  .contact-qr {
    width: 7.8rem;
    justify-self: end;
  }

  .presentation-nav {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    grid-template-columns: 2.5rem minmax(0, 1fr) 3.6rem 2.5rem;
  }

  .nav-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .chapter-progress {
    padding-inline: 0.4rem;
  }

  .progress-dots button::before {
    width: 0.22rem;
    height: 0.22rem;
  }
}

@media (max-width: 520px) {
  .text-action {
    min-height: 2.35rem;
    padding-inline: 0.58rem;
  }

  .icon-action {
    width: 2.35rem;
    height: 2.35rem;
  }

  .presentation-step {
    align-content: end;
  }

  .hero-step {
    align-content: center;
  }

  .wide-copy > h2 {
    max-width: 13ch;
  }

  .contact-step {
    align-content: center;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  :root {
    --header-h: 3.65rem;
    --nav-h: 3.2rem;
  }

  .presentation-header {
    top: 0.7rem;
  }

  .presentation-step {
    padding-top: calc(var(--header-h) + 2.2rem);
    padding-bottom: calc(var(--nav-h) + 2rem);
  }

  h1 { font-size: clamp(4.8rem, 7vw, 6.8rem); }
  h2 { font-size: clamp(2.7rem, 4.5vw, 4.3rem); }
  .chapter-copy h2,
  .product-copy h2 { font-size: clamp(2.35rem, 3.8vw, 3.7rem); }

  .chapter-copy,
  .product-copy { padding: 1rem; }
  .chapter-lead { margin-top: 0.85rem; line-height: 1.45; }
  .metric-row { margin-top: 1rem; }
  .metric-row div { padding-block: 0.65rem; }
  .process-line { margin-top: 1rem; }
  .process-line li { min-height: 6.3rem; padding: 0.65rem; }
  .process-line strong { margin-top: 0.65rem; }
  .process-images { height: 5.25rem; }
  .room-gallery { height: clamp(8rem, 23vh, 12rem); }
  .facility-gallery { height: clamp(9rem, 25vh, 14rem); }
  .experience-track figure { height: clamp(9rem, 24vh, 14rem); }
  .presentation-nav { bottom: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-smoke { animation: none; }
}

/* Profundidad cinematográfica y contenido completo · corporativa-2026-v2 */

.chapter-transition {
  position: fixed;
  inset: 0;
  z-index: 46;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}

.chapter-transition > div {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
}

.chapter-transition small {
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.chapter-transition strong {
  white-space: nowrap;
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 420;
  letter-spacing: -0.04em;
}

.transition-plane {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: #031023;
}

.transition-plane-a {
  left: 0;
  transform: translateX(-102%);
}

.transition-plane-b {
  right: 0;
  transform: translateX(102%);
}

.chapter-transition.is-active {
  visibility: visible;
}

.chapter-transition.is-active .transition-plane-a {
  animation: transition-left 1120ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.chapter-transition.is-active .transition-plane-b {
  animation: transition-right 1120ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.chapter-transition.is-active > div {
  animation: transition-title 1120ms ease both;
}

@keyframes transition-left {
  0% { transform: translateX(-102%); }
  34%, 60% { transform: translateX(0); }
  100% { transform: translateX(-102%); }
}

@keyframes transition-right {
  0% { transform: translateX(102%); }
  34%, 60% { transform: translateX(0); }
  100% { transform: translateX(102%); }
}

@keyframes transition-title {
  0%, 27%, 72%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  40%, 60% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.reveal-content {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 2.6rem, 0) rotateX(2deg);
  transform-origin: top center;
  transition-duration: 850ms;
}

.reveal-media {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(2.2rem, 0, 0) scale(1.025);
  transition-duration: 960ms;
}

.reveal-content.is-visible,
.reveal-media.is-visible {
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

.metric-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-ticker span {
  display: grid;
  align-content: center;
  min-height: 4.4rem;
  padding: 0.55rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.55rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.metric-ticker strong {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 650;
  text-transform: none;
}

.registry-list figure {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 4.2rem;
  padding: 0.45rem;
  border: 1px solid rgba(111, 199, 245, 0.34);
  background: rgba(245, 250, 253, 0.96);
}

.registry-list figure img {
  width: 100%;
  height: 100%;
  max-height: 3.4rem;
  object-fit: contain;
}

.proof-caption {
  margin-top: 0.75rem;
  color: var(--faint);
  font-size: 0.67rem;
  line-height: 1.4;
}

.room-intro {
  max-width: 61rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.room-facts > p strong {
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-sequence {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-sequence span {
  display: grid;
  align-content: start;
  min-height: 4.45rem;
  padding: 0.62rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 45, 80, 0.48);
}

.service-sequence strong {
  color: var(--white);
  font-size: 0.65rem;
}

.service-sequence small {
  margin-top: 0.23rem;
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.28;
}

.experience-step .wide-copy {
  width: min(100%, 88rem);
}

.experience-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 1rem;
  overflow: hidden;
  cursor: grab;
  mask-image: none;
}

.experience-carousel:active {
  cursor: grabbing;
}

.experience-rail {
  display: flex;
  width: max-content;
  gap: 0.7rem;
  will-change: transform;
}

.project-card {
  display: grid;
  grid-template-rows: clamp(8rem, 20vh, 11.5rem) auto auto 1fr;
  flex: 0 0 clamp(14rem, 19vw, 17rem);
  min-width: 0;
  min-height: clamp(15.5rem, 36vh, 20.5rem);
  padding: 0.5rem;
  border: 1px solid rgba(135, 205, 241, 0.3);
  background: rgba(242, 247, 250, 0.97);
  color: #071526;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.project-media {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 64, 97, 0.14);
  background: #fff;
}

.project-media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.project-media-pair {
  grid-template-rows: 35% 65%;
}

.project-media-pair img {
  padding: 0.2rem;
}

.project-media-pair img + img {
  border-top: 1px solid rgba(13, 64, 97, 0.12);
}

.project-card > span {
  margin-top: 0.55rem;
  color: #0876bc;
  font-size: 0.55rem;
  font-weight: 740;
  letter-spacing: 0.06em;
}

.project-card h3 {
  margin-top: 0.28rem;
  font-size: clamp(0.72rem, 0.85vw, 0.87rem);
  line-height: 1.18;
}

.project-card > p {
  align-self: end;
  margin-top: 0.5rem;
  color: #536476;
  font-size: 0.58rem;
  line-height: 1.35;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.carousel-controls button {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(4, 27, 54, 0.78);
  color: var(--white);
  cursor: pointer;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  outline: 0;
}

.carousel-controls > span {
  min-width: 3.4rem;
  color: var(--cyan);
  font-size: 0.63rem;
  font-weight: 700;
  text-align: center;
}

.carousel-controls small {
  margin-left: auto;
  color: var(--faint);
  font-size: 0.58rem;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .chapter-transition strong {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .metric-ticker {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 0.8rem;
  }

  .metric-ticker span {
    min-height: 3.2rem;
    padding: 0.38rem;
    font-size: 0.46rem;
  }

  .metric-ticker strong {
    font-size: 0.73rem;
  }

  .registry-list figure {
    min-height: 2.8rem;
    padding: 0.25rem;
  }

  .registry-list figure img {
    max-height: 2.3rem;
  }

  .proof-caption,
  .room-intro {
    margin-top: 0.5rem;
    font-size: 0.6rem;
  }

  .service-sequence {
    margin-top: 0.7rem;
  }

  .service-sequence span {
    min-height: 3.55rem;
    padding: 0.42rem;
  }

  .service-sequence strong {
    font-size: 0.56rem;
  }

  .service-sequence small {
    font-size: 0.48rem;
  }

  .experience-step .wide-copy {
    width: 100%;
  }

  .project-card {
    grid-template-rows: 7.5rem auto auto 1fr;
    flex-basis: min(66vw, 15rem);
    min-height: 14.5rem;
  }

  .project-card h3 {
    font-size: 0.7rem;
  }

  .carousel-controls small {
    display: none;
  }
}

@media (max-width: 520px) {
  .metric-ticker {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-ticker span {
    min-height: 2.7rem;
  }

  .service-sequence span {
    min-height: 3.25rem;
  }

  .project-card {
    grid-template-rows: 6.8rem auto auto 1fr;
    flex-basis: min(72vw, 14rem);
    min-height: 13.2rem;
  }

  .experience-step .chapter-lead {
    max-width: 34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-transition {
    display: none;
  }
}

@media (min-width: 901px) {
  .experience-step {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  .experience-step .wide-copy {
    padding: 0.85rem;
  }

  .experience-step .wide-copy > h2 {
    max-width: 23ch;
    font-size: clamp(2.8rem, 3.7vw, 4.15rem);
    line-height: 0.9;
  }

  .experience-step .chapter-lead {
    max-width: 58rem;
    margin-top: 0.55rem;
  }

  .experience-carousel {
    margin-top: 0.6rem;
  }

  .project-card {
    grid-template-rows: clamp(7.2rem, 16vh, 9.5rem) auto auto 1fr;
    min-height: clamp(13.8rem, 28vh, 17rem);
  }

  .carousel-controls {
    margin-top: 0.4rem;
  }

  .carousel-controls button {
    width: 1.85rem;
    height: 1.85rem;
  }
}
