/* ═══════════════════════════════════════════════════
   TechTown — 26-Website
   Cinematic Dark Theme + Brand Identity
   Colors: Sumire Violet #68559f, Amparo Blue #4b62a7,
           Slick Blue #74ccd6, Frozen Veins #ebb2c3
   Fonts: Expo Arabic (headlines), Titillium Web (body)
   ═══════════════════════════════════════════════════ */

/* ── EXPO ARABIC — Brand headline font ─── */
@font-face {
  font-family: 'Expo Arabic';
  src: url('Fonts/ExpoArabic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Expo Arabic';
  src: url('Fonts/ArbFONTS-ExpoArabic-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Expo Arabic';
  src: url('Fonts/Expo Arabic Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Expo Arabic';
  src: url('Fonts/alfont_com_AlFont_com_ExpoArabic-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Expo Arabic';
  src: url('Fonts/alfont_com_AlFont_com_ExpoArabic-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --violet: #9b85d6;
  --violet-dim: rgba(104, 85, 159, 0.15);
  --violet-glow: rgba(104, 85, 159, 0.4);
  --blue: #4b62a7;
  --blue-dim: rgba(75, 98, 167, 0.12);
  --blue-glow: rgba(75, 98, 167, 0.4);
  --cyan: #74ccd6;
  --cyan-dim: rgba(116, 204, 214, 0.12);
  --cyan-glow: rgba(116, 204, 214, 0.4);
  --pink: #ebb2c3;
  --pink-dim: rgba(235, 178, 195, 0.12);

  --accent: var(--violet);
  --accent-dim: var(--violet-dim);
  --accent-glow: var(--violet-glow);
  --highlight: var(--violet);
  --highlight-dim: var(--violet-dim);

  --bg-void: #07031a;
  --bg-deep: #0a0520;
  --bg-dark: #0d0826;
  --bg-card: #120e2a;
  --bg-card-hover: #1a1435;
  --bg-surface: rgba(104, 85, 159, 0.06);

  --text-white: #f0eef6;
  --text-light: #d4d0e4;
  --text-muted: #a9a3c4;
  --text-dim: #7b74a0;

  --section-pad: clamp(80px, 12vh, 160px);

  --font: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Expo Arabic', 'Titillium Web', sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-void);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; color: inherit; }
canvas { display: block; }

/* ── ACCESSIBILITY ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 24px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  z-index: 10000;
  border-radius: 0 0 8px 8px;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ── LOADER ─────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease), visibility 1s;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-orb {
  position: relative;
  width: 60px;
  height: 60px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(104, 85, 159, 0.15);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: loaderSpin 1.2s linear infinite;
}

.loader-ring.r2 {
  inset: 6px;
  border-top-color: var(--violet);
  animation-duration: 1.8s;
  animation-direction: reverse;
}

.loader-ring.r3 {
  inset: 12px;
  border-top-color: var(--violet);
  animation-duration: 2.4s;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

.loader-text {
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── GEOMETRIC PATTERN OVERLAY ──────────────────── */
.geo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%2368559f' stroke-width='0.5'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z' fill='none' stroke='%234b62a7' stroke-width='0.3'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z' fill='none' stroke='%2368559f' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.geo-overlay--sparse {
  opacity: 0.015;
  background-size: 120px 120px;
}

/* ── NAVIGATION ─────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s;
}

.site-nav.visible {
  transform: translateY(0);
}

.site-nav.scrolled {
  background: rgba(7, 3, 26, 0.88);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(104, 85, 159, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links li a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--violet);
  transition: width 0.3s var(--ease);
}

.nav-links li a:hover { color: var(--violet); }
.nav-links li a:hover::after { width: 100%; }

.nav-sound-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.nav-sound-toggle:hover { border-color: var(--violet); }
.nav-sound-toggle svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── SECTION COMMON ─────────────────────────────── */
.section {
  position: relative;
  min-height: 100vh;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
  position: relative;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--violet);
  margin-right: 12px;
  vertical-align: middle;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text-white);
  margin-bottom: 20px;
}

.section-subheading {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 560px;
}

.accent-violet { color: var(--violet); }
.accent-cyan { color: var(--violet); }

.gradient-violet {
  color: var(--violet);
}

.gradient-cyan {
  color: var(--violet);
}

/* ── OPENING SCENE ──────────────────────────────── */
#opening {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-void);
  position: relative;
}

.opening-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Building hero background in opening */
.building-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.building-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.38) contrast(1.05) saturate(0.7);
  transform: scale(1.08);
  transition: transform 0.15s ease-out, filter 8s ease-in-out;
  will-change: transform;
  animation: heroBreathFilter 12s ease-in-out infinite alternate;
}

@keyframes heroBreathFilter {
  0%   { filter: brightness(0.38) contrast(1.05) saturate(0.7); }
  100% { filter: brightness(0.42) contrast(1.05) saturate(0.75); }
}

.building-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%,
      rgba(10, 5, 26, 0.35) 0%,
      rgba(10, 5, 20, 0.15) 60%,
      transparent 100%
    ),
    linear-gradient(180deg,
      rgba(10, 5, 20, 0.2) 0%,
      rgba(10, 5, 20, 0.05) 25%,
      rgba(10, 5, 20, 0.1) 50%,
      rgba(10, 5, 20, 0.55) 80%,
      rgba(10, 5, 20, 0.9) 100%
    );
  pointer-events: none;
}

.opening-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}

.opening-question {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  opacity: 0;
  min-height: 3.2em;
}

.opening-question em {
  color: var(--violet);
  font-style: normal;
  font-weight: 400;
}

/* ── Typewriter cursor ── */
.typewriter-cursor {
  display: inline-block;
  color: var(--violet);
  font-weight: 100;
  animation: cursorBlink 0.7s steps(2) infinite;
  margin-left: 1px;
  font-size: 0.9em;
  vertical-align: baseline;
}
.typewriter-cursor-fade {
  animation: cursorFadeOut 0.8s ease-out forwards;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes cursorFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* ── Typewriter glitch character ── */
.typewriter-glitch {
  display: inline-block;
  color: var(--violet);
  opacity: 0.7;
  animation: glitchFlash 0.08s linear;
  text-shadow: 0 0 8px var(--violet-glow);
}
@keyframes glitchFlash {
  0%   { opacity: 0.8; transform: translateX(-2px) skewX(-5deg); }
  50%  { opacity: 1;   transform: translateX(2px) skewX(3deg); }
  100% { opacity: 0.6; transform: translateX(0) skewX(0); }
}

.opening-brand {
  margin-top: 48px;
  opacity: 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.opening-logo {
  width: clamp(280px, 50vw, 520px);
  height: auto;
  filter: brightness(0) invert(1);
  will-change: transform, opacity;
}

/* ── Logo energy ring burst ── */
.logo-energy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-left: -60px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  box-shadow:
    0 0 30px var(--violet-glow),
    0 0 60px var(--violet-glow),
    inset 0 0 20px var(--violet-glow);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.opening-subline {
  margin-top: 24px;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
}

.opening-enter {
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 52px;
  background: linear-gradient(135deg, var(--violet), #4b62a7);
  border: none;
  border-radius: 60px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(104, 85, 159, 0.4), 0 0 60px rgba(104, 85, 159, 0.15);
}

.btn-enter > * {
  position: relative;
  z-index: 1;
}

.btn-enter-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.btn-enter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8B6BB5, var(--violet));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 60px;
}

.btn-enter:hover {
  box-shadow: 0 6px 40px rgba(104, 85, 159, 0.6), 0 0 80px rgba(104, 85, 159, 0.25);
  transform: translateY(-2px);
}

.btn-enter:hover .btn-enter-arrow {
  transform: translateX(4px);
}

.btn-enter:hover::before { opacity: 1; }

.opening-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue-line {
  width: 1px;
  height: 48px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--violet), transparent);
  animation: scrollLineHeartbeat 2.4s ease-in-out infinite;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  left: -2px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet-glow), 0 0 16px var(--violet-glow);
  animation: cueDropPulse 2.4s ease-in-out infinite;
}

@keyframes cueDropPulse {
  0% {
    top: -5px;
    opacity: 0;
    box-shadow: 0 0 4px var(--violet-glow);
  }
  15% {
    opacity: 1;
    box-shadow: 0 0 12px var(--violet), 0 0 24px var(--violet-glow);
  }
  85% {
    opacity: 0.6;
    box-shadow: 0 0 8px var(--violet-glow);
  }
  100% {
    top: 48px;
    opacity: 0;
    box-shadow: 0 0 2px var(--violet-glow);
  }
}

@keyframes scrollLineHeartbeat {
  0%, 100% { opacity: 0.3; }
  30% { opacity: 0.9; }
  60% { opacity: 0.4; }
  75% { opacity: 0.8; }
  90% { opacity: 0.3; }
}

/* ── BUILDING REVEAL (below opening) ──────────────── */
.building-reveal {
  position: relative;
  background: var(--bg-void);
  overflow: hidden;
  padding: 0;
}

.building-reveal-img {
  position: relative;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

.building-reveal-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.06) saturate(0.85);
  transition: filter 1.5s ease;
}

.building-reveal-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(7, 3, 26, 0.85) 0%,
      rgba(7, 3, 26, 0.2) 20%,
      transparent 50%,
      rgba(7, 3, 26, 0.25) 80%,
      rgba(10, 5, 32, 0.92) 100%
    );
  pointer-events: none;
}

.building-reveal-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.building-reveal-title {
  display: block;
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
}

.building-reveal-loc {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .building-reveal-img { max-height: 50vh; }
  .building-reveal-caption { bottom: 20px; }
}

/* ── SECTION 1: CONTEXT ─────────────────────────── */
#context { background: var(--bg-deep); }

.context-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .context-layout { grid-template-columns: 1fr; gap: 48px; }
}

.context-prose {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-light);
}

.context-prose strong { color: #fff; font-weight: 600; }
.context-prose .hl { color: var(--violet); font-weight: 500; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 28px 24px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--violet), rgba(104, 85, 159, 0.3));
  transition: height 0.5s var(--ease-out);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(104, 85, 159, 0.1);
}

.stat-card:hover::after { height: 100%; }

.stat-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--violet);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
}

.stat-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  margin: 10px 0 8px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, rgba(104, 85, 159, 0.6), var(--violet));
  border-radius: 2px;
  transition: width 0.1s;
  box-shadow: 0 0 12px rgba(104, 85, 159, 0.3);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--violet);
  color: #fff;
  border-radius: 60px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  margin-top: 36px;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--violet-dim);
}

/* ── SECTION 2: VISION / BUILDING ───────────────── */
#vision { background: var(--bg-dark); }

.vision-header {
  text-align: center;
  margin-bottom: 48px;
}

.vision-header .section-subheading { margin: 0 auto; }

/* ── Building Hero Photo ────────────────────────────── */
.building-hero {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 56px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(107, 76, 154, 0.15),
    0 24px 80px rgba(0, 0, 0, 0.4);
}

.building-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: filter 0.6s ease, transform 4s ease;
}

.building-hero:hover img {
  filter: brightness(0.95) contrast(1.08);
  transform: scale(1.02);
}

.building-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 5, 20, 0.6) 75%,
    rgba(10, 5, 20, 0.95) 100%
  );
  pointer-events: none;
}

.building-hero-caption {
  position: absolute;
  bottom: 24px;
  left: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.building-hero-title {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

.building-hero-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B6BB5;
  background: rgba(107, 76, 154, 0.12);
  border: 1px solid rgba(107, 76, 154, 0.25);
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .building-hero { border-radius: 14px; margin-bottom: 40px; }
  .building-hero-caption { bottom: 16px; left: 20px; right: 20px; flex-direction: column; align-items: flex-start; }
}

.building-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 65px;
  min-height: 70vh;
}

@media (max-width: 900px) {
  .building-container {
    flex-direction: column-reverse;
    gap: 8px;
    min-height: auto;
  }
  .building-container .floor-detail-panel {
    width: 100%;
    max-width: 100%;
  }
}

/* ── Isometric Building Viewer (building-tour.html replica) ─── */
.iso-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 640px;
  position: relative;
  flex-shrink: 0;
}

.iso-scene {
  width: 550px;
  height: 420px;
  flex-shrink: 0;
  perspective: 1500px;
  position: relative;
  overflow: visible;
}

.iso-building {
  position: absolute;
  left: 0%;
  top: 85%;
  transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Each floor slab — full size like building-tour.html */
.iso-floor {
  position: absolute;
  width: 380px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Color tint overlay on image slabs — uses CSS var set per-floor */
.iso-floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--floor-tint);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* Dark gradient at bottom for text readability */
.iso-floor::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.iso-floor:hover {
  border-color: #4ECDC4;
  box-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
}

.iso-floor:hover::before {
  opacity: 0.35;
}

.iso-floor.active {
  border-color: #4ECDC4;
  box-shadow: 0 20px 60px rgba(78, 205, 196, 0.4);
}

.iso-floor.active::before {
  opacity: 0.25;
}

/* "Click to explore" hint on active slab */
.iso-floor-explore {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.iso-floor.active .iso-floor-explore {
  opacity: 1;
}

/* Floor colors — Z positions set dynamically via inline styles */
/* Floor tint colors — applied via ::before overlay, not background (which would override background-image) */
.iso-f-b3   { --floor-tint: linear-gradient(135deg, rgba(6, 182, 212, 0.85), rgba(4, 130, 155, 0.9)); }
.iso-f-b2   { --floor-tint: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 195, 0.9)); }
.iso-f-b1   { --floor-tint: linear-gradient(135deg, rgba(236, 72, 153, 0.85), rgba(190, 50, 120, 0.9)); }
.iso-f-g    { --floor-tint: linear-gradient(135deg, rgba(20, 184, 166, 0.85), rgba(13, 140, 126, 0.9)); }
.iso-f-1    { --floor-tint: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(5, 150, 100, 0.9)); }
.iso-f-2    { --floor-tint: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(67, 70, 200, 0.9)); }
.iso-f-3    { --floor-tint: linear-gradient(135deg, rgba(139, 92, 246, 0.85), rgba(107, 76, 200, 0.9)); }
.iso-f-roof { --floor-tint: linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(200, 130, 10, 0.9)); }

/* Floor content text on slab */
.iso-floor-content {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.85;
  transition: opacity 0.3s;
  z-index: 2;
}

.iso-floor:hover .iso-floor-content,
.iso-floor.active .iso-floor-content {
  opacity: 1;
}

.iso-floor-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  width: fit-content;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.iso-floor-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.iso-floor-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Left-side nav buttons */
.iso-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.iso-nav-btn {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.iso-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--violet);
}

.iso-nav-btn.active {
  background: var(--nav-color, var(--violet));
  border-color: var(--nav-color, var(--violet));
  transform: scale(1.1);
}

.iso-nav-id {
  font-size: 0.78rem;
  font-weight: 800;
}

.iso-nav-tip {
  display: none;
  position: absolute;
  left: 56px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  pointer-events: none;
}

.iso-nav-btn:hover .iso-nav-tip {
  display: block;
}

@media (max-width: 1200px) {
  .iso-floor {
    width: 280px;
    height: 190px;
  }
  .iso-scene { height: 380px; width: 440px; }
  .iso-wrap { min-height: 500px; gap: 40px; }
}

@media (max-width: 900px) {
  .iso-wrap {
    flex-direction: column;
    min-height: auto;
    gap: 0;
    width: 100%;
  }
  /* Hide 3D isometric building on mobile — replaced by styled nav list */
  .iso-scene {
    display: none !important;
  }
  .iso-nav {
    flex-direction: column;
    gap: 6px;
    padding: 0;
    width: 100%;
  }
  .iso-nav-btn {
    width: 100%;
    height: auto;
    min-width: unset;
    padding: 10px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-left: 3px solid var(--nav-color, #8B5CF6);
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.03);
    transition: background 0.2s, border-color 0.2s;
  }
  .iso-nav-btn.active {
    background: rgba(255,255,255,0.08);
    border-left-width: 4px;
  }
  .iso-nav-id {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--nav-color, #8B5CF6);
  }
  .iso-nav-tip {
    display: inline !important;
    font-size: 0.82rem;
    opacity: 0.7;
    font-weight: 400;
  }
  .iso-nav-btn.active .iso-nav-tip {
    opacity: 1;
    font-weight: 600;
  }
}

/* ── Floor Expand Modal ── */
.floor-expand-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(7, 3, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  animation: feOverlayIn 0.3s ease-out;
}

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

.floor-expand-card {
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid rgba(104, 85, 159, 0.2);
  border-radius: 20px;
  animation: feCardIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes feCardIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.floor-expand-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.floor-expand-close:hover {
  background: var(--violet);
  border-color: var(--violet);
}

.floor-expand-info {
  padding: 28px 32px 32px;
}

.floor-expand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.floor-expand-desc {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.floor-expand-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.floor-expand-metrics {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.floor-expand-metric {
  text-align: center;
}

.floor-expand-metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--violet);
}

.floor-expand-metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Modal gallery inside expand card */
.floor-expand-card .floor-gallery-viewport {
  height: 340px;
  border-radius: 20px 20px 0 0;
}

@media (max-width: 768px) {
  .floor-expand-overlay { padding: 16px; }
  .floor-expand-card { max-height: 95vh; border-radius: 16px; }
  .floor-expand-card .floor-gallery-viewport { height: 220px; border-radius: 16px 16px 0 0; }
  .floor-expand-info { padding: 20px; }
  .floor-expand-metrics { gap: 24px; }
}

.floor-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 600px;
  overflow-y: auto;
}

.floor-panel::-webkit-scrollbar { width: 3px; }
.floor-panel::-webkit-scrollbar-track { background: transparent; }
.floor-panel::-webkit-scrollbar-thumb { background: rgba(104,85,159,0.2); border-radius: 3px; }

.floor-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  text-align: left;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.floor-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--floor-accent, var(--violet));
  opacity: 0.3;
  transition: opacity 0.3s;
}

.floor-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
}

.floor-btn:hover::before { opacity: 1; }

.floor-btn.active {
  background: var(--bg-card-hover);
  border-color: var(--floor-accent, var(--violet));
}

.floor-btn.active::before { opacity: 1; }

.floor-btn-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--floor-accent, var(--violet));
  min-width: 60px;
}

.floor-btn-info {
  flex: 1;
}

.floor-btn-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

.floor-btn-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 2px;
}

.floor-detail-panel {
  background: var(--bg-card);
  border: 1px solid rgba(104, 85, 159, 0.15);
  border-radius: 16px;
  animation: panelIn 0.4s ease-out;
  align-self: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Floor Gallery — rotating images */
.floor-gallery {
  position: relative;
  width: 100%;
}

.floor-gallery-viewport {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.floor-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.floor-gallery-img.active {
  opacity: 1;
}

.floor-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 4px;
}

.floor-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.floor-gallery-dot.active {
  width: 22px;
  border-radius: 4px;
}

/* Gallery navigation arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  backdrop-filter: blur(4px);
}
.floor-gallery-viewport:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: rgba(104, 85, 159, 0.75); }
.gallery-arrow-left { left: 10px; }
.gallery-arrow-right { right: 10px; }

/* Expand icon hint (top-right) */
.gallery-expand-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.floor-gallery-viewport:hover .gallery-expand-hint { opacity: 0.8; }
.floor-gallery-viewport { cursor: pointer; }

/* ── Lightbox (fullscreen image viewer) ────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: lightboxFadeIn 0.25s ease;
  overflow: hidden;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 26px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.08);
}

.lightbox-counter {
  position: absolute;
  top: 26px;
  left: 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.05em;
}

/* Scrollable area wrapping the image */
.lightbox-scroll-area {
  overflow: hidden;
  max-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 60px 10px;
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
}

.lightbox-img {
  max-width: 85vw;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
  transition: opacity 0.2s;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-arrow:hover {
  background: rgba(104, 85, 159, 0.4);
  border-color: rgba(104, 85, 159, 0.6);
}
.lightbox-arrow-left { left: 24px; }
.lightbox-arrow-right { right: 24px; }

/* Thumbnail strip at bottom */
.lightbox-thumbs {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-width: 90vw;
  overflow-x: auto;
  backdrop-filter: blur(8px);
}
.lightbox-thumb {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.4;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.lightbox-thumb:hover { opacity: 0.7; }
.lightbox-thumb.active {
  opacity: 1;
  border-color: rgba(104, 85, 159, 0.8);
}

/* Lightbox responsive */
@media (max-width: 768px) {
  .lightbox-img { max-width: 95vw; max-height: calc(100vh - 140px); }
  .lightbox-scroll-area { padding: 45px 10px 10px; }
  .lightbox-arrow { width: 38px; height: 38px; }
  .lightbox-arrow-left { left: 8px; }
  .lightbox-arrow-right { right: 8px; }
  .lightbox-thumbs { bottom: 10px; gap: 5px; padding: 5px 8px; }
  .lightbox-thumb { width: 42px; height: 28px; }
}

/* Floor detail info */
.floor-detail-info {
  padding: 20px 28px 28px;
}

.floor-detail-desc {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.floor-detail-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 40px 0;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.floor-detail-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.floor-detail-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.floor-metrics-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.floor-metric {
  text-align: center;
}

.floor-metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--violet);
}

.floor-metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.walkthrough-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(104, 85, 159, 0.35);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 24px;
  transition: all 0.3s;
}

.walkthrough-btn:hover {
  background: rgba(104, 85, 159, 0.08);
  border-color: var(--violet);
}

/* ═══════════════════════════════════════════════════
   SECTION 3: TIMELINE — Vertical scroll-linked path
   Inspired by: Scroll-driven vertical timelines (2026 trend)
   ═══════════════════════════════════════════════════ */
#timeline { background: var(--bg-deep); }

.timeline-header {
  text-align: center;
  margin-bottom: 64px;
}

.timeline-header .section-subheading { margin: 0 auto; max-width: 720px; font-size: clamp(0.95rem, 1.6vw, 1.05rem); }

/* Vertical timeline track */
.vtl-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* Center line */
.vtl-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(104, 85, 159, 0.15);
  transform: translateX(-50%);
}

.vtl-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--violet), rgba(104, 85, 159, 0.4));
  box-shadow: 0 0 14px var(--violet-glow);
}

/* Timeline node (alternating left/right) */
.vtl-node {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 72px;
  opacity: 0;
  will-change: transform, opacity;
}

.vtl-node.active {
  opacity: 1;
}

.vtl-left {
  flex-direction: row;
  padding-right: calc(50% + 36px);
  transform: translateX(-40px) rotate(-12deg);
  transform-origin: right center;
}

.vtl-left.active { transform: translateX(0) rotate(0deg); }

.vtl-right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 36px);
  transform: translateX(40px) rotate(12deg);
  transform-origin: left center;
}

.vtl-right.active { transform: translateX(0) rotate(0deg); }

/* Center dot — starts purple, glows then turns white via JS class */
.vtl-dot {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 16px;
  height: 16px;
  background: var(--violet);
  border: 2px solid var(--violet);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Step 1: node visible — dot stays purple */
.vtl-node.active .vtl-dot {
  background: var(--violet);
  border-color: var(--violet);
}

/* Step 2: glow pulse — bright white flash */
.vtl-node.active .vtl-dot.glow {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 28px #fff, 0 0 56px var(--violet), 0 0 80px var(--violet-glow);
  transform: translateX(-50%) scale(1.6);
}

/* Step 3: settle to white */
.vtl-node.active .vtl-dot.done {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.6), 0 0 24px var(--violet-glow);
  transform: translateX(-50%) scale(1);
}

/* Card — larger with more readable fonts */
.vtl-card {
  flex: 1;
  padding: 36px 32px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}

.vtl-node.active .vtl-card {
  border-color: rgba(104, 85, 159, 0.15);
}

.vtl-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(104, 85, 159, 0.2);
  transform: translateY(-3px);
}

.vtl-card-num {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
  overflow: hidden;
  height: 1.2em;
  position: relative;
}

.vtl-num-reel {
  will-change: transform;
}

.vtl-num-reel-item {
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
}

.vtl-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.vtl-card-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.85;
}

/* Mobile: stack vertically, all on right */
@media (max-width: 700px) {
  .vtl-line { left: 20px; }
  .vtl-dot { left: 20px; }

  .vtl-left,
  .vtl-right {
    flex-direction: row;
    padding-left: 52px;
    padding-right: 0;
  }

  .vtl-left { transform: translateY(20px) rotate(0deg); }
  .vtl-right { transform: translateY(20px) rotate(0deg); }
  .vtl-left.active,
  .vtl-right.active { transform: translateY(0) rotate(0deg); }
  .vtl-energy-particle { left: 20px; }
}

/* ── Energy particles flowing along timeline line ── */
.vtl-energy-particle {
  position: absolute;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 6px var(--violet), 0 0 14px var(--violet-glow);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

/* Quote — Sci-fi impact effect */
.timeline-quote {
  text-align: center;
  margin-top: 40px;
  padding: 32px 32px 20px;
  position: relative;
  overflow: visible;
}

.impact-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 400;
  font-style: normal;
  color: var(--text-light);
  line-height: 1.6;
  display: inline;
}

.impact-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.impact-highlight {
  color: var(--violet);
  font-weight: 600;
}

/* ── Launch effect elements ── */
.impact-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  pointer-events: none;
  will-change: transform, opacity;
  box-shadow: 0 0 40px var(--violet-glow), inset 0 0 40px var(--violet-dim);
}

/* Second shockwave ring (wider, thinner) */
.impact-shockwave-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  border: 1px solid rgba(155, 133, 214, 0.6);
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
}

/* Horizontal scan line sweeps */
.impact-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
}

/* White flash overlay */
.impact-flash {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(155,133,214,0.3), transparent 70%);
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

/* Launch particles (generated via JS) */
.impact-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--violet);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

/* Sustained glow on highlights after launch */
.impact-highlight.launched {
  text-shadow: 0 0 20px rgba(155, 133, 214, 0.6), 0 0 40px rgba(155, 133, 214, 0.25);
}

/* ── SECTION 4: ECOSYSTEM ───────────────────────── */
#ecosystem { background: var(--bg-dark); }

.ecosystem-header {
  text-align: center;
  margin-bottom: 48px;
}

.ecosystem-header .section-subheading { margin: 0 auto; }

/* Old Three.js wrapper — kept for reference */
.ecosystem-graph-wrap {
  width: 100%;
  max-width: 900px;
  height: 560px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(104, 85, 159, 0.08);
  background: #07031a;
  cursor: grab;
}

.ecosystem-graph-wrap:active { cursor: grabbing; }

/* ── Image-based ecosystem showcase ── */
.ecosystem-showcase {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.ecosystem-building-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(104, 85, 159, 0.12);
  background: #07031a;
}

.ecosystem-building-img {
  width: 100%;
  display: block;
  opacity: 0.92;
}

.ecosystem-building-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(6,182,212,0.15) 25%, transparent 50%, rgba(139,92,246,0.15) 75%, transparent 100%);
  z-index: -1;
  animation: glowRotate 8s linear infinite;
}

@keyframes glowRotate {
  to { transform: rotate(360deg); }
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(104, 85, 159, 0.12);
  animation: orbitSpin 20s linear infinite;
  pointer-events: none;
}

.orbit-ring-1 { width: 120%; height: 120%; }
.orbit-ring-2 {
  width: 135%; height: 135%;
  border-color: rgba(75, 98, 167, 0.08);
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Stakeholder nodes */
.orbit-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: nodeFloat 3s ease-in-out infinite;
}

.node-sphere {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

.node-sphere::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0%, transparent 70%);
  opacity: 0.18;
}

.node-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Node positions */
.node-founders   { top: 62%; left: -6%;  animation-delay: 0s; }
.node-uni        { top: 12%; left: 2%;   animation-delay: 0.5s; }
.node-diaspora   { top: 8%;  right: 2%;  animation-delay: 1s; }
.node-partners   { top: 58%; right: -6%; animation-delay: 1.5s; }
.node-govt       { bottom: 4%; right: 15%; animation-delay: 2s; }
.node-investors  { bottom: 4%; left: 15%; animation-delay: 2.5s; }

@media (max-width: 768px) {
  .orbit-node { display: none; }
  .orbit-ring { display: none; }
  .node-sphere { width: 50px; height: 50px; }
  .node-label { font-size: 0.7rem; }
  .ecosystem-graph-wrap { height: 400px; }
}

.ecosystem-tagline {
  text-align: center;
  margin-top: 56px;
}

.ecosystem-tagline blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
}

.ecosystem-tagline strong {
  color: var(--text-white);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   SECTION 5: THE ASK — Glassmorphic tilt cards
   Inspired by: 3D tilt + glassmorphism (Awwwards 2026)
   ═══════════════════════════════════════════════════ */
#ask { background: var(--bg-deep); }

.ask-header {
  text-align: center;
  margin-bottom: 56px;
}

.ask-header .section-subheading { margin: 0 auto; }

.ask-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .ask-grid { grid-template-columns: 1fr; max-width: 400px; }
}

.ask-card {
  padding: 40px 28px 36px;
  background: rgba(104, 85, 159, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(104, 85, 159, 0.1);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.15s ease-out, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.ask-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 16px;
  z-index: 0;
  transition: background 0.2s;
}

.ask-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(104, 85, 159, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.ask-card:hover::before { opacity: 1; }

.ask-card:hover {
  box-shadow: 0 20px 60px rgba(104, 85, 159, 0.12);
}

.ask-card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ask-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--violet);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask-card-title {
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}

.ask-card-text {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

.ask-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.ask-pill {
  padding: 12px 28px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-light);
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.ask-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 85, 159, 0.35);
  background: rgba(104, 85, 159, 0.12);
  color: #fff;
  box-shadow: 0 6px 24px rgba(104, 85, 159, 0.25), 0 0 40px rgba(104, 85, 159, 0.08);
}

/* ═══════════════════════════════════════════════════
   FINALE — Particle text formation
   Particles swarm to form "techtown" on scroll
   ═══════════════════════════════════════════════════ */
#finale {
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

.finale-overlay-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px 0;
  pointer-events: none;
}

.finale-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 20px;
}

.finale-quote em {
  color: var(--violet);
  font-style: italic;
  font-weight: 400;
}

.finale-loc {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

/* ── Finale word-by-word particle convergence ── */
.finale-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.finale-word-em {
  color: var(--violet);
  font-style: italic;
  font-weight: 400;
}

.finale-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 6px rgba(155, 133, 214, 0.6), 0 0 12px rgba(155, 133, 214, 0.3);
  pointer-events: none;
  z-index: 1;
  will-change: left, top, opacity;
}

.finale-loc-text {
  position: relative;
  z-index: 2;
}

.finale-sunrise {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 180, 50, 0.25), rgba(255, 160, 30, 0.12) 40%, rgba(255, 140, 20, 0.04) 70%, transparent 90%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  will-change: transform, opacity;
}

/* ── Finale mobile layout — separate text from particle logo ── */
@media (max-width: 768px) {
  #finale {
    min-height: 100vh;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .finale-overlay-content {
    padding-top: 80px;
  }
  .finale-loc {
    margin-bottom: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   CONTACT — Glassmorphic form with ambient particles
   ═══════════════════════════════════════════════════ */
.contact-strip {
  padding: 60px 0;
  background: var(--bg-deep);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

.contact-strip h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
}

.contact-glass {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 28px;
  background: rgba(104, 85, 159, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(104, 85, 159, 0.1);
  border-radius: 16px;
}

.contact-form {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.contact-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.contact-input::placeholder { color: var(--text-dim); }
.contact-input:focus { border-color: var(--violet); }

.contact-submit {
  padding: 14px 28px;
  background: var(--violet);
  color: #fff;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.contact-submit:hover {
  background: #7a6ab5;
  transform: translateY(-1px);
}

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  padding: 64px 0 0;
  background: var(--bg-void);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* 3-column grid: info | map+email | social */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left column — logo + contact */
.footer-col--info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-email {
  font-size: 0.95rem;
  color: var(--violet);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-email:hover {
  color: #fff;
}

/* Center column — Map + Email */
.footer-col--map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-map-wrap {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-map {
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(0.6) brightness(0.7) contrast(1.1);
  transition: filter 0.4s;
}

.footer-map:hover {
  filter: grayscale(0) brightness(0.85) contrast(1);
}

/* Right column — social */
.footer-col--social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--violet-glow);
}

/* ── Footer Registration Form ── */
.footer-form-section {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-form-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 8px;
}

.footer-form-sub {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 32px;
}

.footer-reg-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.footer-form-field--btn {
  justify-content: flex-end;
}

.footer-form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: 'Titillium Web', sans-serif;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  box-sizing: border-box;
}

.footer-form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.footer-form-input:focus {
  border-color: var(--violet);
  background: rgba(104, 85, 159, 0.08);
}

.footer-form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.footer-form-select option {
  background: #120e2a;
  color: #fff;
}

.footer-form-submit {
  width: 100%;
  padding: 12px 32px;
  font-size: 0.92rem;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  background: var(--violet);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.footer-form-submit:hover {
  background: #7a65b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--violet-glow);
}

.footer-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.footer-form-success {
  text-align: center;
  padding: 32px;
  color: var(--violet);
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .footer-form-row {
    grid-template-columns: 1fr;
  }
}

/* Bottom bar */
.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-col--info { align-items: center; }
  .footer-col--social { align-items: center; }
  .footer-map-wrap { max-width: 100%; }
}

/* ── UTILITY ANIMATIONS ─────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ── MODAL (walkthrough iframe) ─────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-frame {
  width: 90vw;
  height: 85vh;
  max-width: 1200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(104, 85, 159, 0.1);
}

.modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
  z-index: 201;
}

.modal-close:hover { border-color: var(--violet); }
