/* Neutral black, charcoal, silver, and white system sampled from the approved reference. */
:root {
  --ividivi-obsidian: #08090A;
  --ividivi-charcoal: #111315;
  --ividivi-slate: #25282B;
  --ividivi-ash: #676C71;
  --ividivi-stone: #B7BCC1;
  --ividivi-copper: #D1D5D8;
  --ividivi-copper-dark: #9EA4A9;
  --ividivi-bronze: #747B80;
  --ividivi-ember: #F4F6F7;
}

/* Core Reset & Full Scroll Track Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  background-color: var(--ividivi-obsidian);
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--ividivi-obsidian);
  color: #E4E7E9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden !important;
}

/* Fixed Background Video (ividivihomemotion.mp4) — 33% Initial Transparency (0.67 Opacity) at Load */
#homeVideo {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 0.67;
  will-change: opacity;
}

/* Fixed Looping Fog Video Overlay (fogvideo.mp4 -> smoke.mp4) — 103% Viewport Centered Overscan (Persistent 100% Opacity) */
#fogOverlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 103vw;
  height: 103vh;
  height: 103dvh;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.54; /* More atmospheric presence using the same single decoded fog layer */
}

/* Fixed digital layer used only behind AI Technologies and Scrolling Sites. */
#digitalIviBackground {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: opacity;
}

/* Interactive Pointer-Following Smoke Highlight Layer */
#interactiveSmoke {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 103vw;
  height: 103vh;
  height: 103dvh;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0;
  will-change: opacity, mask-image, -webkit-mask-image;
  filter: brightness(1.22) contrast(1.15);
  mask-image: radial-gradient(circle 330px at var(--smoke-x, 50vw) var(--smoke-y, 50vh), rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle 330px at var(--smoke-x, 50vw) var(--smoke-y, 50vh), rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 35%, transparent 75%);
  transition: opacity 0.4s ease;
}

/* Pointer Smoke Trail Layer & Dynamic Dissipating Puffs */
#smokeTrailLayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.smoke-puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 210, 210, 0.22) 0%, rgba(150, 150, 150, 0.10) 40%, transparent 75%);
  filter: blur(18px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: puffDissipate 2.4s ease-out forwards;
}

@keyframes puffDissipate {
  0% {
    transform: translate(-50%, -50%) scale(0.6) translateY(0);
    opacity: 0.26;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4) translateY(-14px);
    opacity: 0.16;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.1) translateY(-32px);
    opacity: 0;
  }
}

/* Fixed Logo Container (ividivi-logo.png) — Scroll-Driven Intro & Relic Transition Base */
.logo-container {
  position: fixed;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20; /* High z-index ensuring persistent header sits visually ABOVE all scrolling content */
  pointer-events: none;
  opacity: 0;
  width: 90vw;
  max-width: 90vw;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: screen;
  will-change: transform, top, width, left, opacity;
}

#ividiviLogo {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 88vh;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
  filter: none;
}

/* Continuous Scroll Track */
.scroll-track {
  position: relative;
  width: 100%;
  height: 10625vh; /* Extended pacing for the full About-through-GPT background-video hold */
  z-index: 3;
  pointer-events: none; /* Allows scrolling through fixed overlays */
}

/* Stationary opening quote, visible only across sequence frames 0 -> 10. */
.opening-text-composition {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  width: min(88vw, 760px);
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: center;
  opacity: 0;
  animation: openingQuoteLoadFadeIn 900ms ease-out forwards;
  will-change: opacity;
}

@keyframes openingQuoteLoadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.opening-quote-line {
  width: 100%;
  min-width: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: inherit;
  font-size: 0.90rem;
  font-weight: 300;
  letter-spacing: 0.035em;
  white-space: normal;
  overflow-wrap: break-word;
  text-shadow: 0 0 14px rgba(0, 0, 0, 1);
}

.opening-quote-attribution {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 1);
}

/* Late Timeline Future Pause (Sequence 833 -> 869) */
.future-pause-section {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 12vh));
  z-index: 24;
  width: min(62vw, 650px);
  padding: 36px 30px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.76);
  border: 1px solid rgba(202, 207, 211, 0.28);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.future-pause-title {
  margin: 0 0 20px;
  color: var(--ividivi-copper);
  font-size: 1.625rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.future-pause-copy {
  margin: 0 auto;
  max-width: 570px;
  color: rgba(238, 238, 238, 0.94);
  font-size: 0.955rem;
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: 0.015em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95);
}

/* Fixed right-side line-and-dot navigation for the cinematic sections. */
.section-menu {
  position: fixed;
  top: 50%;
  right: 3.5vw;
  z-index: 27;
  width: 190px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transition: none;
}

.section-menu::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 8px;
  width: 1px;
  background: rgba(209, 213, 216, 0.32);
}

.section-menu.active {
  pointer-events: auto;
  opacity: 1;
}

.section-menu-item {
  position: relative;
  min-height: 66px;
  padding: 0 8px 0 34px;
  border: 0;
  background: transparent;
  color: rgba(183, 188, 193, 0.72);
  font: 400 0.72rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.10em;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.section-menu-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  border: 1px solid rgba(209, 213, 216, 0.34);
  border-radius: 50%;
  background: var(--ividivi-charcoal);
  box-shadow: 0 0 0 3px rgba(8, 9, 10, 0.42);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.section-menu-item:hover,
.section-menu-item:focus-visible,
.section-menu-item.current {
  color: rgba(244, 246, 247, 0.98);
  outline: none;
}

.section-menu-item:hover .section-menu-dot,
.section-menu-item:focus-visible .section-menu-dot,
.section-menu-item.current .section-menu-dot {
  border-color: rgba(244, 246, 247, 0.92);
  background: rgba(209, 213, 216, 0.94);
  box-shadow:
    0 0 0 3px rgba(8, 9, 10, 0.52),
    0 0 14px rgba(209, 213, 216, 0.28);
}

/* Matching horizontal navigation beneath the centered opening logo. */
.opening-section-menu {
  position: fixed;
  top: calc(50% + 104px);
  left: 50%;
  z-index: 27;
  width: min(90vw, 940px);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

.opening-section-menu::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(209, 213, 216, 0.32);
}

.opening-section-menu.active {
  pointer-events: auto;
  opacity: 1;
}

.opening-section-menu.lower-return {
  top: auto;
  bottom: 7vh;
  transition: none;
}

.opening-menu-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 31px 5px 0;
  border: 0;
  background: transparent;
  color: rgba(183, 188, 193, 0.74);
  font: 400 0.62rem/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.09em;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease;
}

.opening-menu-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 17px;
  height: 17px;
  transform: translateX(-50%);
  border: 1px solid rgba(209, 213, 216, 0.34);
  border-radius: 50%;
  background: var(--ividivi-charcoal);
  box-shadow: 0 0 0 3px rgba(8, 9, 10, 0.42);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.opening-menu-item:hover,
.opening-menu-item:focus-visible,
.opening-menu-item.current {
  color: rgba(244, 246, 247, 0.98);
  outline: none;
}

.opening-menu-item:hover .opening-menu-dot,
.opening-menu-item:focus-visible .opening-menu-dot,
.opening-menu-item.current .opening-menu-dot {
  border-color: rgba(244, 246, 247, 0.92);
  background: rgba(209, 213, 216, 0.94);
  box-shadow:
    0 0 0 3px rgba(8, 9, 10, 0.52),
    0 0 14px rgba(209, 213, 216, 0.28);
}

.opening-menu-description {
  position: absolute;
  top: 66px;
  left: 50%;
  width: min(78vw, 780px);
  min-height: 2.8em;
  margin: 0;
  transform: translate(-50%, 5px);
  color: rgba(238, 241, 243, 0.94);
  font: 300 0.76rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.055em;
  text-align: center;
  text-shadow: 0 0 14px rgba(0, 0, 0, 1);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.opening-menu-description.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Final Contact Sequence (Sequence 1008 -> 1056) */
.contact-end-section {
  position: fixed;
  inset: 0;
  z-index: 26;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.contact-end-section.active .contact-site-button {
  pointer-events: auto;
}

.contact-visual-stack {
  --contact-box-height: 112px;
  position: relative;
  width: min(38vw, 380px);
  height: min(42vh, 360px);
  transform: translateX(23vw);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.contact-figure-reveal {
  position: absolute;
  left: 50%;
  bottom: var(--contact-box-height);
  width: min(17vw, 135px);
  aspect-ratio: 878 / 1168;
  transform: translateX(-50%);
  overflow: hidden;
}

.contact-figure-reveal::before {
  content: "";
  position: absolute;
  inset: 10% 12% 3%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 46%;
  filter: blur(24px);
  transform: translateY(18px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition: opacity 240ms ease;
}

.contact-ili-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(108%);
  mix-blend-mode: multiply;
  transition: transform 380ms cubic-bezier(0.22, 0.75, 0.25, 1);
  will-change: transform;
}

.contact-visual-stack:has(.contact-site-button:hover) .contact-ili-image,
.contact-visual-stack:focus-within .contact-ili-image {
  transform: translateY(0);
}

.contact-visual-stack:has(.contact-site-button:hover) .contact-figure-reveal::before,
.contact-visual-stack:focus-within .contact-figure-reveal::before {
  opacity: 1;
}

.contact-box-shell {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(100%, 320px);
  height: var(--contact-box-height);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.76);
  border: 1px solid rgba(202, 207, 211, 0.28);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-panel-title {
  margin: 0 0 12px;
  color: var(--ividivi-copper);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.contact-site-button {
  position: relative;
  z-index: 3;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 5px 3px 4px;
  border: 0;
  border-bottom: 1px solid rgba(202, 207, 211, 0.34);
  border-radius: 0;
  background: transparent;
  color: rgba(226, 229, 232, 0.88);
  font: 400 0.65rem/1.2 Helvetica, Arial, sans-serif;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  cursor: pointer;
  box-shadow: none;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.contact-site-button:hover,
.contact-site-button:focus-visible {
  color: #fff;
  border-bottom-color: rgba(245, 247, 248, 0.92);
  outline: none;
}

.contact-box-shell:has(.contact-site-button:hover),
.contact-box-shell:focus-within {
  border-color: rgba(238, 241, 243, 0.96);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.96),
    0 0 26px rgba(220, 224, 228, 0.34);
}

/* Independent cinematic information-card stage */
.unified-info-section {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  transform: none;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  will-change: opacity;
}

.unified-info-section.active {
  pointer-events: auto;
}

/* Second IVIDIVI Logo Positioned Vertically on Left Side (Moved Inward: 17.5vw, Rotated -90deg) */
.info-section-logo {
  position: fixed;
  left: 17.5vw;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  isolation: isolate;
  will-change: top, transform, opacity;
}

.info-section-logo::before {
  content: "";
  position: absolute;
  inset: 17% -7%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.92),
    0 0 28px rgba(0, 0, 0, 0.74);
  filter: blur(16px);
  pointer-events: none;
}

.second-logo-img {
  position: relative;
  z-index: 1;
  width: min(88vw, 480px);
  height: auto;
  object-fit: contain;
  background: transparent;
  opacity: 1;
  mix-blend-mode: normal;
  filter:
    brightness(1.12)
    contrast(1.22)
    saturate(1.12);
}

/* Gallery row: horizontal identity left, artwork center, menu right. */
.info-section-logo.gallery-horizontal .second-logo-img {
  width: min(21vw, 340px);
}

.section-menu.gallery-aligned {
  top: var(--gallery-center-y, 50%);
}

/* Transparent full-screen stage; each information block owns its box. */
.unified-info-frame {
  position: absolute;
  inset: 0;
  overflow: visible;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  width: 100%;
  height: 100%;
}

/* The global smoke layer remains active; avoid decoding a second hidden card layer. */
.info-frame-smoke {
  display: none;
}

/* Full-screen positioning stage for individually animated cards. */
.unified-info-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.info-block {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(62vw, 650px);
  max-height: none;
  overflow: visible;
  padding: 36px 30px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(202, 207, 211, 0.34);
  border-radius: 8px;
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.96),
    0 10px 30px rgba(0, 0, 0, 0.88),
    0 0 34px rgba(0, 0, 0, 0.62);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

.info-block-content {
  position: relative;
  width: 100%;
  will-change: transform;
}

.unified-info-content > .section-divider {
  display: none;
}

.cinematic-section-title {
  font-size: 1.625rem; /* Exactly 1px smaller than 1.6875rem (27px -> 26px) */
  font-weight: 300;
  letter-spacing: 0.22em;
  margin-top: 24px;
  margin-bottom: 20px; /* Restrained breathing room around headings */
  color: var(--ividivi-copper);
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.cinematic-subsection-title {
  margin: 34px auto 15px;
  color: rgba(226, 229, 232, 0.96);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.95);
}

.cinematic-paragraph {
  font-size: 0.955rem; /* Exactly 1px smaller than 1.0175rem (16.28px -> 15.28px) */
  line-height: 1.62;
  font-weight: 300;
  letter-spacing: 0.015em;
  color: rgba(238, 238, 238, 0.94);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95);
  max-width: 570px; /* Restrained body text width inside 650px veil */
  margin: 0 auto 14px auto; /* Controlled 14px paragraph spacing */
  text-align: center;
}

.scroll-sites-lead {
  margin-bottom: 24px;
  letter-spacing: 0.045em;
}

.scroll-sites-formula {
  margin: 4px auto 22px;
  letter-spacing: 0.08em;
}

.scroll-sites-closing {
  margin: 24px auto 8px;
  color: rgba(245, 247, 248, 0.98);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.95);
}

.ai-technology-lead {
  margin-bottom: 24px;
}

.ai-possibilities {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 22px;
  margin-bottom: 24px;
  color: rgba(245, 247, 248, 0.98);
  letter-spacing: 0.045em;
}

.ai-technology-closing {
  margin-top: 24px;
}

.cinematic-paragraph:last-child {
  margin-bottom: 0;
}

/* Subtle Copper Section Divider */
.section-divider {
  width: 44px;
  height: 1px;
  background: rgba(202, 207, 211, 0.35);
  margin: 22px auto;
  border: none;
}

/* Typesetting Hierarchy & Emphasis Classes */
.lead-sentence {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.98);
}

.strong-emphasis {
  font-weight: 500;
  color: rgba(245, 245, 245, 0.96);
}

.copper-accent {
  color: var(--ividivi-copper);
  font-weight: 400;
}

.principles-tagline {
  font-size: 1.0175rem; /* Exactly 1px smaller than 1.08rem (17.28px -> 16.28px) */
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--ividivi-copper);
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.95);
  margin-top: 26px;
  margin-bottom: 10px;
  text-align: center;
}

.principles-closing {
  font-size: 0.955rem; /* Exactly 1px smaller than 1.0175rem (16.28px -> 15.28px) */
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(238, 238, 238, 0.88);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95);
  margin-bottom: 16px;
  text-align: center;
}

/* Minimal Plain Section Placeholders */
.scene-section {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1050px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
}

.scene-section.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.section-content {
  padding: 1rem;
  background: transparent;
  text-align: center;
}

.quote-text {
  font-size: 1.0rem; /* Exactly 1px smaller than 1.0625rem (17px -> 16px) */
  letter-spacing: 0.14em;
  font-weight: 300;
  color: rgba(240, 242, 245, 0.9);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  margin-top: 1rem;
  text-align: center;
}

.section-title {
  font-size: 1.625rem; /* Exactly 1px smaller than 1.6875rem (27px -> 26px) */
  font-weight: 300;
  letter-spacing: 0.22em;
  margin-bottom: 0.75rem;
  color: var(--ividivi-copper);
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  text-align: center;
}

.section-desc {
  font-size: 0.8125rem; /* Exactly 1px smaller than 0.875rem (14px -> 13px) */
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ividivi-stone);
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  text-align: center;
}

/* Custom GPT Cinematic Scroll-Revealed Text (No Card/Box/Panel) */
.gpt-section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  text-align: center;
}

/* Unified Scroll-Linked GPT Section Parent Wrapper */
.gpt-section-scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(82vw, 780px);
  margin: 0 auto;
  will-change: transform, opacity;
  transition: none;
  text-align: center;
}

.gpt-header-title {
  margin-bottom: 1.35rem;
  text-align: center;
}

.gpt-cinematic-text {
  width: 100%;
  max-width: 570px; /* Restrained body text width inside veil */
  margin: 0 auto 1.5rem auto;
  padding: 0;
  background: transparent;
  color: rgba(238, 238, 238, 0.94);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center; /* CENTERED Custom GPTs body copy */
  user-select: text;
}

.gpt-paragraph {
  font-size: 0.955rem; /* Exactly 1px smaller than 1.0175rem (16.28px -> 15.28px) */
  line-height: 1.62;
  font-weight: 300;
  letter-spacing: 0.015em;
  color: rgba(238, 238, 238, 0.94);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  margin-bottom: 1rem;
  text-align: center; /* CENTERED Custom GPTs body copy */
}

.gpt-paragraph:last-child {
  margin-bottom: 0;
}

/* Secondary Supporting Paragraph below GPT Logo Group */
.gpt-secondary-copy {
  font-size: 0.83rem; /* Reduced by ~2px from 0.955rem baseline (~13.28px) */
  line-height: 1.58;
  font-weight: 300;
  letter-spacing: 0.012em;
  color: rgba(220, 220, 220, 0.88);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  max-width: 530px; /* Restrained secondary text width (520px - 560px range) */
  margin: 24px auto 0 auto; /* Clear 24px spacing below logo group */
  text-align: center;
}

.gpt-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0;
  width: 100%;
}

.gpt-logo {
  height: 74px;
  max-height: 74px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 1)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.85));
  transition: transform 0.28s ease, filter 0.28s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  user-select: none;
  will-change: transform, filter;
}

.gpt-logo-center {
  height: 82px; /* Balanced center anchor (+41.4% enlarged) */
  max-height: 82px;
  max-width: 185px;
}

.gpt-featured-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  width: 100%;
}

.gpt-logo-featured {
  height: 94px; /* Centered Akasha Kaleidoscope logo (+35% larger than top row) */
  max-height: 94px;
  max-width: 215px;
}

/* Desktop Hover Interaction Scoped to Fine Pointer Devices */
@media (hover: hover) and (pointer: fine) {
  .gpt-logo:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 1)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.90));
    z-index: 10;
  }
}

/* Standardized 16:9 Horizontal Page Scroller Image Viewer */
.gallery-section-content {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0;
}

/* Section 3 Un-Transformed Full Viewport Container */
#sectionImageViewer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  transform: none !important;
  pointer-events: none;
  opacity: 1;
}

#sectionImageViewer.active {
  transform: none !important;
}

/* CRT Television Glass Screen Viewport Mask Container (Solid Cover) */
.crt-screen-mask {
  position: fixed;
  overflow: hidden; /* Clips all artwork strictly inside the CRT television glass display area */
  will-change: opacity, transform, left, top, width, height;
  background-color: #050507;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85), 0 8px 22px rgba(0, 0, 0, 0.75), inset 0 0 24px rgba(0, 0, 0, 0.96); /* Outer soft dark shadow + CRT glass inner edge shadow */
  pointer-events: auto;
  z-index: 5;
  opacity: 1;
}

/* Vertical Scrolling Artwork Track inside CRT Screen Viewport */
.vertical-image-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.vertical-page {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* Zero inset padding to eliminate floating card look */
  box-sizing: border-box;
  cursor: pointer;
  background: transparent;
  outline: none;
  user-select: none;
}

.vertical-page img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; /* Completely fills CRT glass area with zero gaps */
  border-radius: 0; /* Removes floating card rounded image corners; CRT mask defines shape */
  opacity: 1; /* Solid 100% artwork opacity */
  filter: brightness(0.96) contrast(1.04);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.vertical-page:hover img {
  filter: brightness(1.06) contrast(1.08);
}

.scroller-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ividivi-stone);
  font-size: 1.25rem;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  pointer-events: auto; /* Explicitly enables button click hit-testing */
  transition: opacity 0.3s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
}

.scroller-nav:hover,
.scroller-nav:focus {
  color: var(--ividivi-ember);
  background: rgba(26, 27, 30, 0.9);
  transform: translateY(-50%) scale(1.12);
  outline: none;
}

.scroller-prev {
  left: calc(50% - min(12.5vw, 160px) - 48px - 1.5vw);
}

.scroller-next {
  right: calc(50% - min(12.5vw, 160px) - 48px + 1.5vw);
}

/* Full-Screen Lightbox Modal (z-index: 100) — Retains Natural Aspect Ratio */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 14, 15, 0.96); /* Obsidian dark family backdrop */
  z-index: 1;
  cursor: pointer;
}

.lightbox-header {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 10;
  pointer-events: auto;
}

.lightbox-close {
  background: transparent;
  border: none;
  color: var(--ividivi-stone);
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--ividivi-ember);
  transform: scale(1.15);
  outline: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--ividivi-stone);
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
}

.lightbox-nav:hover,
.lightbox-nav:focus {
  color: var(--ividivi-ember);
  transform: translateY(-50%) scale(1.15);
  outline: none;
}

.lightbox-prev {
  left: 1.25rem;
}

.lightbox-next {
  right: 1.25rem;
}

.lightbox-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 87vw;
  max-height: 80vh;
  pointer-events: none;
}

.lightbox-img {
  max-width: 87vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.92);
  pointer-events: auto;
  user-select: none;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .info-section-logo {
    display: none;
  }

  .section-menu,
  .opening-section-menu {
    display: none;
  }

  .contact-visual-stack {
    --contact-box-height: 108px;
    width: 82vw;
    height: min(40vh, 340px);
    transform: translateX(13vw);
  }

  .contact-figure-reveal {
    width: min(28vw, 120px);
  }

  .contact-box-shell {
    width: min(100%, 280px);
  }

  .contact-site-button {
    padding: 5px 3px 4px;
    font-size: 0.64rem;
  }

  .future-pause-section {
    left: 50%;
    width: 86vw;
    padding: 24px 22px;
  }

  .future-pause-title {
    font-size: 1.35rem;
    letter-spacing: 0.20em;
    text-indent: 0.20em;
  }

  .future-pause-copy {
    font-size: 0.88rem;
    letter-spacing: 0.015em;
  }

  .info-block {
    width: 86vw;
    max-height: none;
    padding: 24px 22px;
    border-radius: 10px;
  }

  .cinematic-content-section {
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      transparent 140px,
      black 220px,
      black 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      transparent 140px,
      black 220px,
      black 100%
    );
  }
  .section-title {
    font-size: 1.35rem;
    letter-spacing: 0.18em;
  }
  .section-desc, .quote-text {
    font-size: 0.84rem;
  }
  .cinematic-paragraph {
    font-size: 0.90rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }
  .cinematic-subsection-title {
    margin-top: 28px;
    font-size: 0.94rem;
    letter-spacing: 0.10em;
  }
  .scroll-sites-closing {
    font-size: 0.96rem;
  }
  .cinematic-text-box {
    padding: 20px 22px;
    border-radius: 10px;
    max-width: 92vw;
  }
  .gpt-section-content {
    padding-top: 35px; /* Restrained 35px mobile padding to clear mobile persistent header without clipping */
  }
  .gpt-section-scroll-wrapper {
    width: 90vw;
  }
  .gpt-header-title {
    font-size: 1.35rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.85rem;
  }
  .gpt-cinematic-text {
    margin-bottom: 1.15rem;
  }
  .gpt-paragraph {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
  }
  .gpt-logo-row {
    gap: 0.85rem;
    margin-top: 0;
    flex-wrap: wrap; /* Balanced non-clipping arrangement */
  }
  .gpt-logo {
    height: 54px;
    max-height: 54px;
    max-width: 125px;
  }
  .gpt-logo-center {
    height: 60px;
    max-height: 60px;
    max-width: 140px;
  }
  .gpt-logo-featured {
    height: 68px;
    max-height: 68px;
    max-width: 155px;
  }
  .crt-screen-mask {
    width: 70vw;
    height: 39.375vw; /* 70vw * 9 / 16 = 39.375vw -> Exact 16:9 */
    max-height: none;
    border-radius: 14px;
    left: -2.5vw;
  }
  .scroller-prev {
    left: calc(50% - 29vw - 38px - 2.5vw);
  }
  .scroller-next {
    right: calc(50% - 29vw - 38px + 2.5vw);
  }
  .lightbox-header {
    top: 1rem;
    left: 1rem;
    right: 1rem;
  }
  .lightbox-nav {
    padding: 0.5rem;
    font-size: 1.6rem;
  }
  .lightbox-prev {
    left: 0.35rem;
  }
  .lightbox-next {
    right: 0.35rem;
  }
}
