/* Style variables & color palette */
:root {
  --color-purple: #7b2dff;
  --color-cyan: #00e5ff;
  --color-blue: #5fd3ff;
  --color-bg-dark: #050510;
  --color-text-white: #ffffff;
  --color-magenta: #ff007f;
  --color-gold: #ffaa00;
  --font-bebas: 'Bebas Neue', sans-serif;
  --font-rajdhani: 'Rajdhani', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --glass-bg: rgba(10, 10, 30, 0.4);
  --glass-border: rgba(0, 229, 255, 0.2);
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  font-family: var(--font-inter);
  scrollbar-width: none; /* Hide scrollbar for clean visual experience */
}

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

body.reduced-motion * {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* Background Canvas Layer */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: auto; /* WebGL mouse interactions */
}

/* Scroll Container */
#scroll-container {
  position: relative;
  width: 100%;
  z-index: 2;
  pointer-events: none; /* Let clicks pass to canvas or HUD elements */
}

.scroll-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Enable pointer events on sections that require interaction */
.scroll-section, .hud-overlay, .end-card, .accessibility-controls, .hologram-dock {
  pointer-events: auto;
}

/* 1. Origin (Landing Page) */
.origin-section {
  z-index: 5;
  background: radial-gradient(circle at center, rgba(123, 45, 255, 0.08) 0%, transparent 70%);
}

.origin-content-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ============= Showcase Prelude ============= */
#showcase-prelude {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}
#showcase-prelude .sp-flash {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.18), rgba(0,0,0,0) 60%);
  opacity: 0;
  pointer-events: none;
}
#showcase-prelude .sp-inner {
  position: relative;
  max-width: 1100px;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.sp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid color-mix(in srgb, #00e5ff 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #00e5ff 6%, rgba(6,10,20,0.55));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-rajdhani), sans-serif;
  font-size: 12px;
  letter-spacing: 0.42em;
  color: #a8dce8;
  text-transform: uppercase;
  box-shadow: 0 0 28px color-mix(in srgb, #00e5ff 18%, transparent);
  opacity: 0;
  transform: translateY(12px);
}
.sp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff, 0 0 20px #00e5ff;
  animation: sp-blink 1.3s ease-in-out infinite;
}
@keyframes sp-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.sp-headline {
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #f4faff;
  margin: 0;
  text-shadow: 0 0 40px rgba(0,229,255,0.25);
}
.sp-line { display: block; opacity: 0; transform: translateY(20px); }
.sp-line-accent {
  font-style: italic;
  background: linear-gradient(90deg, #00e5ff 0%, #ff7adf 60%, #ffd76a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sp-sub {
  font-family: var(--font-rajdhani), sans-serif;
  font-size: 13px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(200,225,240,0.7);
  margin: 0.6rem 0 0 0;
  opacity: 0;
}
.sp-rule {
  margin-top: 0.6rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e5ff, #ff7adf, transparent);
  box-shadow: 0 0 12px rgba(0,229,255,0.6);
}
@media (max-width: 640px) {
  .sp-eyebrow { font-size: 10px; letter-spacing: 0.32em; }
  .sp-sub { font-size: 11px; letter-spacing: 0.36em; }
}

.origin-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.85;
  margin-bottom: 2rem;
}

.origin-title span {
  display: block;
  font-family: var(--font-outfit);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-white);
  letter-spacing: 0.1em;
}

.word-we {
  font-size: min(15vw, 120px);
  animation: breathing 4s ease-in-out infinite alternate;
}

.word-make {
  font-size: min(9vw, 75px);
  color: var(--color-cyan) !important;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  animation: breathing 4s ease-in-out infinite alternate 1s;
}

.word-websites {
  font-size: min(12vw, 100px);
  color: var(--color-purple) !important;
  text-shadow: 0 0 25px rgba(123, 45, 255, 0.5);
  animation: breathing 4s ease-in-out infinite alternate 2s;
}

.glow-text {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  letter-spacing: 0.15em;
  will-change: transform, filter;
}

.scroll-hint-text {
  font-family: var(--font-rajdhani);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  opacity: 0.6;
  margin-top: 1rem;
  animation: pulse-opacity 2s infinite ease-in-out;
}

.scroll-arrow {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  color: var(--color-cyan);
  animation: bounce 2s infinite ease-in-out;
}

/* Zone HUD Overlays (for each portfolio target site) */
.zone-section {
  justify-content: flex-start;
  align-items: center;
  padding-left: 8%;
}

.hud-overlay {
  max-width: 480px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
  will-change: transform, opacity;
}

.hud-overlay.visible {
  transform: translateX(0);
  opacity: 1;
}

.hud-label {
  display: inline-block;
  font-family: var(--font-rajdhani);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-cyan);
  margin-bottom: 0.5rem;
}

.hud-title {
  font-family: var(--font-outfit);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.hud-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.hud-action {
  display: block;
  font-family: var(--font-rajdhani);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-magenta);
  text-transform: uppercase;
  animation: pulse-glow 1.5s infinite alternate;
}

/* End Card / Destination */
.horizon-section {
  background: linear-gradient(to top, rgba(123, 45, 255, 0.15), transparent);
}

.end-card {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
  background: var(--glass-bg);
  border: 1px solid rgba(123, 45, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.end-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.end-title {
  font-family: var(--font-outfit);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.end-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.end-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-rajdhani);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.email-btn {
  background: linear-gradient(135deg, var(--color-purple), #9f66ff);
  color: #fff;
  box-shadow: 0 0 20px rgba(123, 45, 255, 0.4);
}

.email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(123, 45, 255, 0.6);
}

.wa-btn {
  background: transparent;
  color: var(--color-cyan);
  border: 1px solid var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.wa-btn:hover {
  background: var(--color-cyan);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

/* Accessibility Overlay panel */
.accessibility-controls {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  gap: 0.75rem;
  z-index: 100;
}

.acc-btn {
  background: rgba(10, 10, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-rajdhani);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.acc-btn:hover, .acc-btn:focus {
  border-color: var(--color-cyan);
  color: #fff;
  background: rgba(0, 229, 255, 0.1);
  outline: none;
}

/* 2. Persistent Holographic Contact Dock */
.hologram-dock {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Floating neon orb trigger */
.dock-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent), var(--color-purple);
  box-shadow: 0 0 20px rgba(123, 45, 255, 0.6);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dock-orb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(123, 45, 255, 0.9);
}

.orb-core {
  width: 16px;
  height: 16px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
  animation: scale-pulsate 2s infinite ease-in-out;
}

.orb-glow {
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--color-cyan);
  border-radius: 50%;
  opacity: 0.5;
  animation: spin-clockwise 10s linear infinite;
}

/* Expanding link menu */
.dock-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.hologram-dock.expanded .dock-links {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hologram-dock.expanded .dock-orb {
  transform: rotate(45deg);
  background: var(--color-magenta);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.6);
}

.hologram-dock.expanded .orb-core {
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  color: var(--color-text-white);
  text-decoration: none;
  font-family: var(--font-rajdhani);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.dock-item:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--color-cyan);
  transform: translateX(-5px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.dock-text {
  opacity: 0.9;
}

.dock-icon {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
}

/* Animations */
@keyframes breathing {
  0% {
    transform: scale(0.98) translateY(0);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.05));
  }
  100% {
    transform: scale(1.02) translateY(-5px);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
  }
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes pulse-glow {
  0% {
    text-shadow: 0 0 5px rgba(255, 0, 127, 0.4);
    opacity: 0.7;
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 0, 127, 1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes scale-pulsate {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Scaling */
@media (max-width: 768px) {
  .origin-title {
    margin-bottom: 1.5rem;
  }
  
  .word-we { font-size: min(18vw, 80px); }
  .word-make { font-size: min(11vw, 50px); }
  .word-websites { font-size: min(15vw, 65px); }

  .zone-section {
    padding-left: 5%;
    padding-right: 5%;
    align-items: flex-end;
    padding-bottom: 12vh;
  }
  
  .hud-overlay {
    padding: 1.5rem;
    max-width: 100%;
    transform: translateY(30px);
  }
  
  .hud-overlay.visible {
    transform: translateY(0);
  }
  
  .hud-title {
    font-size: 1.8rem;
  }

  .end-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .end-title {
    font-size: 1.6rem;
  }
  
  .hologram-dock {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Elevator Transition Overlay */
#elevator-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#elevator-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.divine-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #ffffff 0%, #fffbf0 70%, #fffae0 100%);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.excellent-choice-container {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: scale(0.85);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.excellent-choice-container.show {
  transform: scale(1);
  opacity: 1;
}

.excellent-text {
  font-family: var(--font-outfit);
  font-size: min(8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #c5a059; /* Divine Gold */
  text-shadow: 0 0 40px rgba(197, 160, 89, 0.6), 0 0 10px rgba(255, 255, 255, 0.8);
  animation: shine-gold 3s infinite alternate;
}

@keyframes shine-gold {
  0% { filter: drop-shadow(0 0 5px rgba(197,160,89,0.3)); }
  100% { filter: drop-shadow(0 0 25px rgba(197,160,89,0.8)); }
}

/* Divine Marketing Website Styles */
#main-website {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #fcfbf9; /* Warm Divine Off-white */
  color: #1a1a2e; /* Deep dark indigo/gray for high contrast/trust */
  font-family: var(--font-inter);
  z-index: 10;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: none; /* starts hidden, shown by elevator trigger */
}

#main-website.revealed {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Main Header */
.main-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.main-header .logo {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: #c5a059;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-family: var(--font-rajdhani);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1a1a2e;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #c5a059;
}

.main-nav .nav-cta {
  background: #c5a059;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
  transition: all 0.3s ease;
}

.main-nav .nav-cta:hover {
  background: #b59049;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

/* Hero Section */
.main-hero {
  position: relative;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-outfit);
  font-size: min(10vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555566;
  max-width: 680px;
  margin: 0 auto;
}

/* Sections */
.main-section {
  padding: 6rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.main-section.bg-light {
  background-color: #faf8f5;
  border-radius: 24px;
  border: 1px solid rgba(197, 160, 89, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.section-title {
  font-family: var(--font-outfit);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  color: #1a1a2e;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #c5a059;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: 0 20px 40px rgba(197, 160, 89, 0.06);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-outfit);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555566;
}

/* Portfolio List */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.portfolio-item {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.portfolio-item.reverse {
  flex-direction: row-reverse;
}

.port-info {
  flex: 1;
}

.port-tag {
  display: inline-block;
  font-family: var(--font-rajdhani);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c5a059;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.port-info h3 {
  font-family: var(--font-outfit);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.port-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555566;
  margin-bottom: 1.5rem;
}

.port-link {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-rajdhani);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #c5a059;
  transition: transform 0.3s ease;
}

.port-link:hover {
  transform: translateX(5px);
}

.port-visual {
  flex: 1.2;
  height: 300px;
  border-radius: 20px;
  background: linear-gradient(135deg, #101025 0%, #1c1035 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.drinks-visual {
  background: radial-gradient(circle at center, #1b2f2c 0%, #050a0f 100%);
}

.buildkraft-visual {
  background: radial-gradient(circle at center, #112d26 0%, #050f0c 100%);
}

.carz-visual {
  background: radial-gradient(circle at center, #231238 0%, #0a0514 100%);
}

.mockup-logo {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Metrics Section */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.metric-box {
  padding: 1rem;
}

.metric-num {
  display: block;
  font-family: var(--font-outfit);
  font-size: 3rem;
  font-weight: 800;
  color: #c5a059;
  margin-bottom: 0.5rem;
}

.metric-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555566;
}

/* Connect Section */
.connect-section {
  display: flex;
  justify-content: center;
}

.connect-card {
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  box-shadow: 0 15px 45px rgba(197, 160, 89, 0.04);
}

.connect-card h2 {
  font-family: var(--font-outfit);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.connect-card p {
  font-size: 1rem;
  color: #555566;
  margin-bottom: 3rem;
}

.connect-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.connect-form input, .connect-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #fdfdfb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-family: var(--font-inter);
  font-size: 0.95rem;
  color: #1a1a2e;
  outline: none;
  transition: all 0.3s ease;
}

.connect-form input:focus, .connect-form textarea:focus {
  border-color: #c5a059;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

.submit-btn {
  background: #c5a059;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 1.1rem 2rem;
  font-family: var(--font-rajdhani);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(197, 160, 89, 0.2);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #b59049;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
}

/* Main Footer */
.main-footer {
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #777788;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: #c5a059;
  font-weight: 600;
}

/* Hide initial controls when website is active */
body.website-active #scroll-container,
body.website-active .accessibility-controls,
body.website-active .hologram-dock {
  display: none !important;
}

body.website-active {
  overflow-y: auto !important; /* Enable normal body scrolling */
}

/* Mobile responsive website */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    gap: 1.5rem;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .portfolio-item, .portfolio-item.reverse {
    flex-direction: column;
    gap: 2rem;
  }
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .connect-card {
    padding: 2rem 1.5rem;
  }
  .main-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* === Live Site Browser Window (replaces destination text card) === */
.site-window {
  max-width: min(1100px, 88vw);
  width: 88vw;
  padding: 0;
  overflow: hidden;
  background: rgba(8, 10, 26, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 229, 255, 0.25);
  transform: translateY(40px) scale(0.96);
}
.site-window.visible { transform: translateY(0) scale(1); }
.buildkraft-hud.site-window { border-color: rgba(0, 255, 204, 0.4); box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0, 255, 204, 0.25); }
.carzmantra-hud.site-window { border-color: rgba(255, 0, 255, 0.4); box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255, 0, 255, 0.25); }

.zone-section { justify-content: center; padding-left: 0; }

.win-chrome {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(180deg, rgba(20,24,48,0.95), rgba(10,12,28,0.95));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-rajdhani), sans-serif;
  font-size: 0.8rem;
}
.win-dots { display:inline-flex; gap:6px; }
.win-dots i { width:10px; height:10px; border-radius:50%; background:#ff5f57; display:inline-block; box-shadow:0 0 8px rgba(255,95,87,.6); }
.win-dots i:nth-child(2){ background:#febc2e; box-shadow:0 0 8px rgba(254,188,46,.6); }
.win-dots i:nth-child(3){ background:#28c840; box-shadow:0 0 8px rgba(40,200,64,.6); }
.win-url { flex:1; text-align:center; color: rgba(255,255,255,0.7); letter-spacing:.08em; }
.win-open { color: var(--color-cyan); text-decoration:none; font-weight:700; letter-spacing:.1em; padding: 2px 10px; border:1px solid rgba(0,229,255,0.4); border-radius: 4px; }
.win-open:hover { background: rgba(0,229,255,0.12); }

.win-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02030a;
}
.win-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  /* Many sites set X-Frame-Options; if iframe blocks, the chrome's Open ↗ button still works. */
}
.win-meta {
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.4);
}
.win-meta .hud-label { margin: 0; color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .site-window { width: 94vw; }
  .win-frame { aspect-ratio: 4 / 5; }
}

/* === Lift card (compressed dimensional elevator) === */
.lift-card { position: relative; overflow: hidden; }
.lift-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(0,229,255,0.35), transparent 40%, rgba(255,0,255,0.35), transparent 70%, rgba(0,229,255,0.35));
  animation: lift-spin 6s linear infinite;
  z-index: -1; filter: blur(8px);
}
@keyframes lift-spin { to { transform: rotate(360deg); } }
.lift-eyebrow {
  display:inline-block; font-family: var(--font-rajdhani);
  letter-spacing:.35em; font-size:.75rem; color: var(--color-cyan);
  margin-bottom: 1rem; opacity:.8;
}
.lift-arrows { display:flex; justify-content:center; gap:.6rem; margin-top:1.5rem; color: var(--color-cyan); font-size:1.1rem; }
.lift-arrows span { animation: lift-bob 1.4s ease-in-out infinite; text-shadow: 0 0 14px rgba(0,229,255,.8); }
.lift-arrows span:nth-child(2){ animation-delay:.15s; }
.lift-arrows span:nth-child(3){ animation-delay:.3s; }
@keyframes lift-bob { 0%,100%{ transform: translateY(0); opacity:.5; } 50%{ transform: translateY(-8px); opacity:1; } }

/* === Celestial Upper Plane === */
.celestial-section {
  min-height: 130vh;
  height: auto;
  align-items: flex-start;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 220, 150, 0.22), transparent 55%),
    linear-gradient(180deg, #0a0a1f 0%, #1a1230 35%, #2a1f4a 70%, #f4d58a 110%);
}
.celestial-bg { position:absolute; inset:0; pointer-events:none; }
.celestial-sun {
  position:absolute; left:50%; top:-180px; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,236,180,0.9) 0%, rgba(255,200,120,0.4) 35%, transparent 70%);
  filter: blur(20px);
  animation: pulse-sun 6s ease-in-out infinite;
}
@keyframes pulse-sun { 0%,100%{ opacity:.85; } 50%{ opacity:1; transform: translateX(-50%) scale(1.04); } }
.celestial-rays {
  position:absolute; left:50%; top:0; width:200vw; height:80vh; transform: translateX(-50%);
  background: repeating-conic-gradient(from 90deg at 50% 0%, rgba(255,255,255,0.08) 0deg 1.2deg, transparent 1.2deg 6deg);
  mix-blend-mode: screen; opacity:.6;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 70%);
  animation: ray-rotate 80s linear infinite;
}
@keyframes ray-rotate { to { transform: translateX(-50%) rotate(360deg); } }
.celestial-clouds {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 600px 80px at 10% 60%, rgba(255,255,255,0.08), transparent 70%),
    radial-gradient(ellipse 800px 100px at 80% 75%, rgba(255,255,255,0.1), transparent 70%),
    radial-gradient(ellipse 500px 70px at 40% 85%, rgba(255,255,255,0.07), transparent 70%);
}
.celestial-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  width: 100%;
}
.celestial-eyebrow { display:inline-block; font-family: var(--font-rajdhani); letter-spacing:.4em; font-size:.8rem; color: #ffd98a; margin-bottom: 1rem; }
.celestial-title {
  font-family: var(--font-outfit);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #ffe8b3 70%, #ffc874 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(255,220,160,0.4);
  margin-bottom: .8rem;
}
.celestial-sub { color: rgba(255,255,255,.85); font-size:1.05rem; margin-bottom: 3rem; }
.celestial-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 3rem;
}
.celestial-card {
  text-align:left;
  padding: 1.6rem 1.4rem;
  background: rgba(20, 14, 40, 0.45);
  border: 1px solid rgba(255, 220, 160, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .4s ease, border-color .4s ease;
}
.celestial-card:hover { transform: translateY(-4px); border-color: rgba(255,220,160,.55); }
.cc-icon { font-size: 1.6rem; margin-bottom: .6rem; }
.celestial-card h3 { font-family: var(--font-outfit); font-size: 1.05rem; margin-bottom:.4rem; color:#ffe8b3; letter-spacing:.02em; }
.celestial-card p { color: rgba(255,255,255,.75); font-size:.92rem; line-height:1.5; }

.celestial-contact { margin-top: 2rem; }
.celestial-contact h3 {
  font-family: var(--font-outfit); font-size: 1.6rem; margin-bottom: 1.2rem; color:#fff;
  text-shadow: 0 0 20px rgba(255,220,160,.4);
}
.celestial-buttons { display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-bottom: 1.6rem; }
.celestial-footer { color: rgba(255,255,255,.55); font-size:.8rem; letter-spacing:.1em; }

/* ============================================
   MUSEUM-STYLE SIDE EXHIBITS
   ============================================ */
.zone-section { padding: 0; height: 220vh; }

.site-exhibit {
  position: fixed;
  top: 50%;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  width: min(560px, 46vw);
  margin-top: -19vh; /* visually centered allowing for tilt */
  transition: none;
  z-index: 8;
  pointer-events: auto;
}
.site-exhibit--left  { left: 4vw; }
.site-exhibit--right { right: 4vw; }
@media (max-width: 900px) {
  .site-exhibit { left: 50%; right:auto; transform: translateX(-50%); width: 88vw; }
}
.site-exhibit .exhibit-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(10,12,28,0.92), rgba(6,8,20,0.92));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Tilt the exhibits so they face the camera at ~70° (like museum walls) */
.site-exhibit--left  .exhibit-frame { transform: perspective(1800px) rotateY(22deg)  rotateX(-2deg); transform-origin: left center; }
.site-exhibit--right .exhibit-frame { transform: perspective(1800px) rotateY(-22deg) rotateX(-2deg); transform-origin: right center; }

/* Coloured edge per destination */
.drinks-hud     .exhibit-frame { border-color: rgba(0, 229, 255, 0.45); box-shadow: 0 30px 80px rgba(0,0,0,0.65), 0 0 60px rgba(0,229,255,0.25); }
.buildkraft-hud .exhibit-frame { border-color: rgba(0, 255, 204, 0.45); box-shadow: 0 30px 80px rgba(0,0,0,0.65), 0 0 60px rgba(0,255,204,0.25); }
.carzmantra-hud .exhibit-frame { border-color: rgba(255, 0, 255, 0.45); box-shadow: 0 30px 80px rgba(0,0,0,0.65), 0 0 60px rgba(255,0,255,0.25); }

/* Exhibit identification tag mounted above the frame */
.exhibit-tag {
  position: absolute; top: -1.4rem; left: 1rem;
  display: flex; align-items: baseline; gap: .6rem;
  font-family: var(--font-rajdhani), sans-serif;
  letter-spacing: .25em; font-size: .7rem;
  color: rgba(255,255,255,.7); text-transform: uppercase;
}
.exhibit-tag .exhibit-num { font-size: 1.4rem; color: var(--color-cyan); font-weight: 800; }

/* Click-to-enter glass cover over the iframe */
.win-frame { position: relative; aspect-ratio: 16/10; }
.exhibit-cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  z-index: 3;
}
.exhibit-cover .cover-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(0,229,255,0.20), transparent 60%),
    linear-gradient(180deg, rgba(6,8,20,0.10) 0%, rgba(6,8,20,0.55) 100%);
  backdrop-filter: blur(0.5px);
  transition: opacity .5s ease;
}
.buildkraft-hud .exhibit-cover .cover-bg { background: radial-gradient(circle at 50% 100%, rgba(0,255,204,0.20), transparent 60%), linear-gradient(180deg, rgba(6,8,20,0.10), rgba(6,8,20,0.55)); }
.carzmantra-hud .exhibit-cover .cover-bg { background: radial-gradient(circle at 50% 100%, rgba(255,0,255,0.20), transparent 60%), linear-gradient(180deg, rgba(6,8,20,0.10), rgba(6,8,20,0.55)); }

/* "LIVE PROJECTION" chip + connector beam — reads as a hologram screen */
.site-exhibit .exhibit-frame::before{
  content:"● LIVE PROJECTION";
  position:absolute; top:-1.4rem; right:1rem; z-index:4;
  font-family:var(--font-rajdhani),sans-serif; font-size:.65rem; letter-spacing:.32em;
  color:#ff5577; text-shadow:0 0 8px rgba(255,80,120,.8);
  animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.site-exhibit--left  .exhibit-frame::after,
.site-exhibit--right .exhibit-frame::after{
  content:""; position:absolute; top:50%; width:42vw; height:1px; z-index:2;
  background:linear-gradient(90deg, currentColor, transparent);
  color: rgba(0,229,255,.45);
  filter: drop-shadow(0 0 6px currentColor);
  pointer-events:none;
}
.site-exhibit--left  .exhibit-frame::after { right:-42vw; }
.site-exhibit--right .exhibit-frame::after { left:-42vw; background:linear-gradient(270deg, currentColor, transparent); }
.buildkraft-hud .exhibit-frame::after { color: rgba(0,255,204,.45); }
.carzmantra-hud .exhibit-frame::after { color: rgba(255,0,255,.45); }

/* Cover is a tap cue — keep iframe visible behind */
.win-frame iframe { width:100%; height:100%; border:0; background:#06080f; }
.win-frame { background:#06080f; }

.exhibit-cover .cover-inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; gap: .35rem;
}
.cover-title {
  font-family: var(--font-outfit); font-weight: 800; font-size: 1.4rem;
  letter-spacing: .04em; color: #fff;
  text-shadow: 0 0 18px rgba(255,255,255,.25);
}
.cover-cta {
  font-family: var(--font-rajdhani); font-weight: 700;
  letter-spacing: .3em; font-size: .85rem;
  color: var(--color-cyan); padding: .55rem 1.1rem;
  border: 1px solid rgba(0,229,255,.55); border-radius: 4px;
  align-self: center; margin-top: .4rem;
  animation: cta-pulse 1.6s ease-in-out infinite;
}
.buildkraft-hud .cover-cta { color: #6affd0; border-color: rgba(0,255,204,.55); }
.carzmantra-hud .cover-cta { color: #ff8df2; border-color: rgba(255,0,255,.55); }
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); transform: translateY(0); }
  50%     { box-shadow: 0 0 22px 3px rgba(0,229,255,.35); transform: translateY(-1px); }
}
.cover-hint { font-family: var(--font-rajdhani); letter-spacing: .25em; font-size: .65rem; color: rgba(255,255,255,.55); }

/* Expanded — panel un-tilts, scales up, brings iframe into focus */
.site-exhibit.expanded .exhibit-frame {
  transform: rotateY(0deg) rotateX(0deg) scale(1.08) translateZ(0);
  z-index: 50;
}
.site-exhibit.expanded { z-index: 50; }
.site-exhibit.expanded .exhibit-cover { pointer-events: none; }
.site-exhibit.expanded .exhibit-cover .cover-bg { opacity: 0; }
.site-exhibit.expanded .cover-inner { opacity: 0; transition: opacity .35s ease; }

.exhibit-close {
  position: absolute; top: .5rem; right: .5rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; z-index: 60; font-size: .9rem;
}
.exhibit-close:hover { background: rgba(255,0,80,.6); }

/* ============================================
   ASCENSION SECTION (the heavenly transition)
   ============================================ */
.ascension-section {
  height: 280vh;
  background: none;
  display: block;
  pointer-events: none;
}
.ascend-stage {
  position: sticky;
  top: 35%;
  display: flex; justify-content: center;
  margin-top: 60vh;
  font-family: var(--font-rajdhani), sans-serif;
  letter-spacing: .45em; font-size: .85rem;
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 16px rgba(255,220,170,.4);
  pointer-events: none;
}
.ascend-stage span {
  padding: .6rem 1.4rem;
  background: rgba(8, 10, 24, 0.55);
  border: 1px solid rgba(255, 220, 170, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.ascend-stage:first-of-type { margin-top: 20vh; }

/* Pre-elevator tagline (appears as user enters the ascension corridor) */
.elev-tagline {
  position: sticky;
  top: 28%;
  display: flex; justify-content: center; align-items: center;
  margin-top: 12vh;
  padding: 0 24px;
  pointer-events: none;
  z-index: 4;
}
.elev-tagline p {
  font-family: var(--font-outfit);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.4vw, 2.7rem);
  line-height: 1.3;
  text-align: center;
  max-width: 1000px;
  color: rgba(245, 250, 255, 0.92);
  text-shadow: 0 0 36px rgba(0, 229, 255, 0.25), 0 0 80px rgba(0,0,0,0.6);
  margin: 0;
}
.elev-tagline em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #ff5b8a 0%, #ff7adf 60%, #ffd76a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.elev-tagline em.auto {
  background: linear-gradient(90deg, #00e5ff 0%, #7df9ff 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   ELEVATOR STOPS — auto-played 4-floor sequence
   ============================================ */
#elevator-stops {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
  display: none;
  overflow: hidden;
}
#elevator-stops.active { display: block; }
.es-interior {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.18), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255,122,223,0.10), transparent 55%),
    linear-gradient(180deg, #06080f 0%, #0a0d18 50%, #04060c 100%);
}
.es-interior::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(255,255,255,0.04) 6% 6.4%, transparent 6.4% 93.6%, rgba(255,255,255,0.04) 93.6% 94%, transparent 94% 100%);
}
.es-interior::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
}
.es-display {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 86, 60, 0.45);
  border-radius: 999px;
  font-family: var(--font-rajdhani), sans-serif;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: #ffb4a4;
  font-size: 11px;
  box-shadow: 0 0 22px rgba(255, 86, 60, 0.25), inset 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 4;
}
.es-display .es-floor-num {
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  color: #ff7a5a;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(255, 122, 90, 0.6);
}
.es-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
  z-index: 2;
}
.es-floor-card {
  position: absolute;
  width: min(520px, 88vw);
  padding: 1.8rem 1.8rem 1.6rem;
  border-radius: 22px;
  background: linear-gradient(165deg, var(--fc-from, #062033), var(--fc-to, #03101c));
  border: 1px solid var(--fc-accent, #00e5ff);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.6),
    0 0 40px color-mix(in srgb, var(--fc-accent, #00e5ff) 28%, transparent),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 0.7rem;
  text-align: left;
  color: #f4faff;
  opacity: 0;
}
.es-floor-card .esf-tag {
  font-family: var(--font-rajdhani), sans-serif;
  font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--fc-accent);
}
.es-floor-card h3 {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.005em;
}
.es-floor-card p {
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  margin: 0;
  color: rgba(225,235,250,0.85);
}
.es-floor-card.f-1 { --fc-accent: #00e5ff; --fc-from: #062033; --fc-to: #03101c; }
.es-floor-card.f-2 { --fc-accent: #25d366; --fc-from: #06281a; --fc-to: #03130c; }
.es-floor-card.f-3 { --fc-accent: #ffd76a; --fc-from: #2a2007; --fc-to: #110d02; }
.es-floor-card.f-4 { --fc-accent: #ff7adf; --fc-from: #2a0a2a; --fc-to: #110413; }

.es-door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 12%, transparent 88%, rgba(0,0,0,0.45)),
    linear-gradient(90deg, #1c2434 0%, #2a3548 45%, #3b4a64 55%, #1a2233 100%);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.6);
  z-index: 3;
  will-change: transform;
}
.es-door::after {
  content: '';
  position: absolute; top: 22%; bottom: 22%;
  width: 6px;
  background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.25));
  border-radius: 4px;
}
.es-door-l { left: 0; border-right: 1px solid rgba(0,0,0,0.6); }
.es-door-l::after { right: 14px; }
.es-door-r { right: 0; border-left: 1px solid rgba(0,0,0,0.6); }
.es-door-r::after { left: 14px; }

/* ============================================
   BESPOKE OFFERINGS — strip at top of editorial page
   (four boxes the user just saw in the elevator)
   ============================================ */
.bespoke-offerings {
  padding: 2rem 2rem 1rem;
  display: flex; flex-direction: column; gap: 1rem;
  border-bottom: 1px solid rgba(80, 60, 20, 0.18);
}
.bespoke-offerings .bo-heading {
  font-family: var(--font-rajdhani), sans-serif;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #a07c2c;
  margin: 0;
}
.bo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.bo-slot {
  position: relative;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255,255,255,0.92), rgba(255,248,228,0.7));
  border: 1px solid var(--bo-accent, #00b3c8);
  box-shadow: 0 14px 32px rgba(120, 90, 30, 0.12), inset 0 0 0 1px rgba(255,255,255,0.5);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.bo-slot::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--bo-accent);
  border-radius: 14px 14px 0 0;
}
.bo-slot span {
  font-family: var(--font-rajdhani), sans-serif;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--bo-accent);
  font-weight: 600;
}
.bo-slot h4 {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  color: #2c2206;
  letter-spacing: -0.005em;
}
.bo-slot p {
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  color: rgba(44, 34, 6, 0.78);
}
.bo-slot.bo-1 { --bo-accent: #00b3c8; }
.bo-slot.bo-2 { --bo-accent: #1ea84a; }
.bo-slot.bo-3 { --bo-accent: #c98a00; }
.bo-slot.bo-4 { --bo-accent: #d05fb5; }

@media (max-width: 900px) {
  .bo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .bo-grid { grid-template-columns: 1fr; }
  .es-display { font-size: 9px; padding: 6px 12px; }
}

/* ============================================
   CELESTIAL HALO (white + gold heavenly site)
   ============================================ */
.celestial-section {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 245, 215, 0.5), transparent 55%),
    linear-gradient(180deg, #fff8e7 0%, #ffeec4 45%, #f7d98a 100%);
  color: #2c2206;
}
.celestial-section .celestial-bg { display: none; } /* old purple bg removed */
.celestial-content { position: relative; }
.celestial-halo {
  position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 460px; height: 460px; pointer-events: none;
}
.halo-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(214, 165, 60, 0.55);
  box-shadow: 0 0 60px rgba(255, 215, 130, 0.55), inset 0 0 60px rgba(255, 215, 130, 0.45);
  animation: halo-spin 22s linear infinite;
}
.halo-ring--2 { transform: scale(0.75); border-color: rgba(255, 220, 140, 0.85); animation-duration: 14s; animation-direction: reverse; }
.halo-ring--3 { transform: scale(0.5);  border-color: rgba(255, 255, 220, 0.95); animation-duration: 9s;  box-shadow: 0 0 90px rgba(255, 240, 200, 0.95); }
@keyframes halo-spin { to { transform: translate(0,0) rotate(360deg); } }

.celestial-eyebrow { color: #8a6a14; }
.celestial-title {
  background: linear-gradient(180deg, #ffffff 0%, #f8e2a0 50%, #b88a2a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 80px rgba(255,220,160,0.55);
}
.celestial-sub { color: rgba(60, 45, 10, 0.85); }

.celestial-card {
  background: rgba(255, 252, 240, 0.85);
  border: 1px solid rgba(190, 145, 50, 0.35);
  box-shadow: 0 18px 50px rgba(120, 80, 10, 0.18), inset 0 1px 0 rgba(255,255,255,0.7);
  color: #3a2c08;
}
.celestial-card h3 { color: #6b4f10; }
.celestial-card p  { color: rgba(60,45,10,0.75); }
.celestial-contact h3 { color: #3a2c08; text-shadow: none; }
.celestial-footer { color: rgba(60,45,10,0.55); }

@media (max-width: 768px) {
  .site-exhibit { width: 88vw; max-width: 88vw; }
  .site-exhibit--left  .exhibit-frame,
  .site-exhibit--right .exhibit-frame { transform: rotateY(0); }
  .zone-section { justify-content: center; padding: 0 6vw; }
}

/* ============================================
   CINEMATIC TRANSITION (black → 2× white flash)
   ============================================ */
#cinema-transition{
  position:fixed; inset:0; z-index:9998; pointer-events:none;
}
#cinema-transition .ct-black,
#cinema-transition .ct-white{
  position:absolute; inset:0; opacity:0;
  transition: opacity .001s linear;
}
#cinema-transition .ct-black{ background:#000; }
#cinema-transition .ct-white{ background:#fff; mix-blend-mode: normal; }
#cinema-transition.active{ pointer-events:auto; }

/* ============================================
   IN-PAGE SITE MODAL
   ============================================ */
#site-modal{
  position:fixed; inset:0; z-index:10000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity .35s ease;
  pointer-events:none;
  --origin-x: 50vw;
  --origin-y: 50vh;
}
#site-modal[hidden]{ display:none; }
#site-modal.open{ opacity:1; pointer-events:auto; }
#site-modal .sm-backdrop{
  position:absolute; inset:0;
  background: radial-gradient(circle at center, rgba(8,10,30,.35), rgba(0,0,0,.55));
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
#site-modal .sm-window{
  position:relative; width:min(1180px, 92vw); height:min(78vh, 760px);
  background:rgba(6,8,15,.82); border:1px solid rgba(0,229,255,.45);
  border-radius:10px; overflow:hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 80px rgba(0,229,255,.3);
  transform: scale(.92); transform-origin: 50% 50%;
  transition: transform .45s cubic-bezier(.2,.9,.2,1.1), opacity .3s ease;
  display:flex; flex-direction:column;
  backdrop-filter: blur(2px);
}
#site-modal.from-screen .sm-window{
  transform: translate(calc(var(--origin-x) - 50vw), calc(var(--origin-y) - 50vh)) scale(.08);
}
#site-modal.open .sm-window{ transform: scale(1); }
#site-modal.open.settled .sm-window{ transition-duration:.22s; }
.sm-chrome{
  display:flex; align-items:center; gap:.9rem; padding:.6rem .9rem;
  background:linear-gradient(180deg, #0d1226, #06080f);
  border-bottom:1px solid rgba(255,255,255,.08);
  font-family:var(--font-rajdhani),sans-serif; font-size:.85rem;
}
.sm-dots{ display:flex; gap:.35rem; }
.sm-dots i{ width:10px; height:10px; border-radius:50%; background:#2a3052; display:inline-block; }
.sm-dots i:nth-child(1){ background:#ff5f57; }
.sm-dots i:nth-child(2){ background:#febc2e; }
.sm-dots i:nth-child(3){ background:#28c840; }
.sm-url{ flex:1; color:rgba(255,255,255,.75); letter-spacing:.05em; }
.sm-open{ color:var(--color-cyan); text-decoration:none; font-weight:600; letter-spacing:.1em; }
.sm-open:hover{ text-shadow:0 0 10px var(--color-cyan); }
.sm-close{
  background:transparent; border:1px solid rgba(255,255,255,.25);
  color:#fff; padding:.4rem .8rem; border-radius:6px; cursor:pointer;
  font-family:inherit; font-size:.8rem; letter-spacing:.15em;
}
.sm-close:hover{ background:rgba(255,0,80,.4); border-color:#ff5577; }
.sm-frame{ flex:1; background:#fff; min-height:0; }
.sm-frame iframe{ width:100%; height:100%; border:0; display:block; background:#fff; }


/* ============================================
   ASCENDED PAGE — cyber-realm aesthetic
   Dark cosmic editorial, neon accents
   ============================================ */
.celestial-section.ascended.editorial {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 229, 255, 0.10) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(123, 45, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(255, 170, 0, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #05060f 0%, #070a1c 50%, #04050e 100%);
  color: #e8f2ff;
  min-height: 100vh;
  padding: 7vh 0 6vh;
  align-items: flex-start;
  justify-content: center;
  z-index: 30;
  overflow: hidden;
}
/* hide any leftover legacy ascend chrome */
.celestial-section.ascended.editorial .ascension-halo,
.celestial-section.ascended.editorial .ascension-eyebrow,
.celestial-section.ascended.editorial .ascension-title,
.celestial-section.ascended.editorial .ascension-sub,
.celestial-section.ascended.editorial .ascension-grid,
.celestial-section.ascended.editorial .ascension-footer { display: none !important; }
/* kill any aura/halo/glow remnants behind the celestial page */
.celestial-section.ascended.editorial .celestial-halo,
.celestial-section.ascended.editorial .halo-ring,
.celestial-section.ascended.editorial .celestial-bg,
.celestial-section.ascended.editorial .celestial-sun,
.celestial-section.ascended.editorial .celestial-rays,
.celestial-section.ascended.editorial .celestial-clouds { display: none !important; }
/* hide the persistent hologram dock orb while ascended page is the active scene
   (its own contact cards take over) */
body.in-ascended .hologram-dock { opacity: 0 !important; pointer-events: none !important; }
/* kill the ascent corridor's god-rays + vortex once we've landed */
body.in-ascended #dimension-veil,
body.in-ascended .dv-rays,
body.in-ascended .dv-vortex,
body.in-ascended #horizon-section { opacity: 0 !important; visibility: hidden !important; }
/* and the WebGL canvas (its neon lights from the highway) */
body.in-ascended #canvas-container { opacity: 0 !important; }

/* --- color tokens (cyber editorial) --- */
.editorial {
  --ed-ink:        #e8f2ff;          /* primary text */
  --ed-ink-soft:   #b8c8e0;
  --ed-muted:      #7e8fae;
  --ed-line:       rgba(0, 229, 255, 0.22);
  --ed-line-soft:  rgba(0, 229, 255, 0.10);
  --ed-paper:      rgba(10, 14, 32, 0.55);
  --ed-accent:     #00e5ff;          /* neon cyan */
  --ed-accent-2:   #ff007f;          /* magenta dot */
  --ed-accent-3:   #ffaa00;          /* gold dot */
  --ed-violet:     #7b2dff;
  --ed-font-serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --ed-font-sans:  'Outfit', 'Inter', system-ui, sans-serif;
  --ed-font-mono:  'Rajdhani', 'IBM Plex Mono', monospace;
}

.ed-paper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 4vw, 3.2rem);
  font-family: var(--ed-font-sans);
  color: var(--ed-ink);
  text-align: left;
}
/* subtle scanline grid — the "neon paper" texture */
.ed-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mix-blend-mode: screen;
  opacity: .5;
}

.ed-block { position: relative; margin: 0 0 clamp(3.5rem, 7vh, 6rem); }
.ed-reveal { will-change: opacity, transform, filter; }

.ed-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--ed-font-mono);
  font-size: .78rem; letter-spacing: .32em; font-weight: 600;
  color: var(--ed-accent); text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.ed-eyebrow .ed-rule {
  display: inline-block; width: 42px; height: 1px;
  background: linear-gradient(90deg, var(--ed-accent), transparent);
}
.ed-eyebrow .ed-slash { color: var(--ed-muted); margin: 0 .2rem; }
.ed-eyebrow em {
  font-family: var(--ed-font-serif); font-style: italic;
  color: var(--ed-ink-soft); font-size: .9rem; letter-spacing: .04em;
  text-transform: none; font-weight: 500;
}

/* ---------- HERO ---------- */
.ed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: 1rem;
}
.ed-headline {
  font-family: var(--ed-font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 1.6rem;
  color: var(--ed-ink);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.12);
}
.ed-headline em { font-style: italic; font-weight: 400; color: var(--ed-ink-soft); }
.ed-headline .ed-accent {
  color: var(--ed-accent);
  border-bottom: 1px solid rgba(0, 229, 255, 0.55);
  padding-bottom: .04em;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}
.ed-dot { color: var(--ed-accent-2); }
.ed-dot--blue { color: var(--ed-accent); }
.ed-dot--orange { color: var(--ed-accent-3); }

.ed-lede {
  font-family: var(--ed-font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.55; color: var(--ed-ink-soft);
  max-width: 38em;
}
.ed-lede a {
  color: var(--ed-accent); text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.5);
}

.ed-glance {
  border: 1px solid var(--ed-line);
  padding: 1.6rem 1.8rem;
  background: var(--ed-paper);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.04), 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}
.ed-glance-title {
  font-family: var(--ed-font-mono);
  font-size: .78rem; letter-spacing: .32em; font-weight: 600;
  color: var(--ed-accent); margin-bottom: 1.2rem;
}
.ed-glance-list { margin: 0; padding: 0; }
.ed-glance-list > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .75rem 0;
  border-top: 1px solid var(--ed-line-soft);
}
.ed-glance-list > div:first-child { border-top: 0; }
.ed-glance-list dt {
  font-family: var(--ed-font-serif); font-size: 1.04rem;
  color: var(--ed-ink); font-weight: 500; margin: 0;
}
.ed-glance-list dd {
  margin: 0; font-family: var(--ed-font-serif); font-style: italic;
  font-size: 1.02rem; color: var(--ed-accent);
}
.ed-glance-list dd span { color: var(--ed-muted); font-style: italic; font-size: .9rem; }

/* ---------- DISCIPLINES STRIP ---------- */
.ed-disciplines-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ed-line);
  background: var(--ed-paper);
  backdrop-filter: blur(6px);
}
.ed-strip-cell {
  padding: 1.3rem 1.4rem;
  border-left: 1px solid var(--ed-line-soft);
}
.ed-strip-cell:first-child { border-left: 0; }
.ed-strip-cell h4 {
  margin: 0 0 .25rem;
  font-family: var(--ed-font-serif); font-weight: 600;
  font-size: 1.12rem; color: var(--ed-ink);
}
.ed-strip-cell p {
  margin: 0; font-family: var(--ed-font-serif); font-style: italic;
  color: var(--ed-muted); font-size: .94rem;
}

/* ---------- WHO WE ARE ---------- */
.ed-who {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  padding-top: 1rem;
}
.ed-who::before {
  content: ""; grid-column: 2; width: 1px;
  background: linear-gradient(180deg, transparent, var(--ed-line), transparent);
}
.ed-who-left { grid-column: 1; }
.ed-who-right { grid-column: 3; }
.ed-quote {
  font-family: var(--ed-font-serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  line-height: 1.08; color: var(--ed-ink);
  margin: 0 0 1.6rem;
}
.ed-quote em { font-style: italic; }
.ed-quote-by {
  font-family: var(--ed-font-mono);
  font-size: .76rem; letter-spacing: .32em; color: var(--ed-accent);
}
.ed-who-right p {
  font-family: var(--ed-font-serif);
  font-size: 1.08rem; line-height: 1.6;
  color: var(--ed-ink-soft); margin: 0 0 1rem;
}
.ed-who-right a {
  color: var(--ed-accent); text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.45);
}
.ed-who-right .ed-muted { color: var(--ed-muted); font-style: italic; font-size: 1rem; }
.ed-who-right .ed-muted em { color: var(--ed-accent); font-style: italic; }

/* ---------- SECTION HEADLINE ---------- */
.ed-section-h {
  font-family: var(--ed-font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02; letter-spacing: -.012em;
  margin: .6rem 0 2rem; color: var(--ed-ink);
}
.ed-section-h em { font-style: italic; font-weight: 400; color: var(--ed-accent); }
.ed-section-h .ed-accent {
  color: var(--ed-accent); font-style: italic; font-weight: 500;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.4);
}

/* ---------- DISCIPLINES CARDS ---------- */
.ed-disc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ed-line);
  background: var(--ed-paper);
  backdrop-filter: blur(6px);
}
.ed-disc-card {
  padding: 1.6rem 1.4rem 1.8rem;
  border-left: 1px solid var(--ed-line-soft);
  transition: background .35s ease;
}
.ed-disc-card:first-child { border-left: 0; }
.ed-disc-card:hover { background: rgba(0, 229, 255, 0.05); }
.ed-disc-card--feature {
  background: rgba(0, 229, 255, 0.06);
  outline: 1px solid var(--ed-accent);
  outline-offset: -1px;
  box-shadow: inset 0 0 60px rgba(0, 229, 255, 0.06);
}
.ed-disc-ico {
  width: 38px; height: 38px; color: var(--ed-accent);
  margin-bottom: 1rem; position: relative;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.45));
}
.ed-disc-ico svg { width: 100%; height: 100%; }
.ed-disc-ico .ed-disc-mark {
  position: absolute; top: -6px; right: -10px;
  width: 6px; height: 6px; background: var(--ed-accent-3);
  border-radius: 50%; box-shadow: 0 0 10px var(--ed-accent-3);
}
.ed-disc-card h3 {
  font-family: var(--ed-font-serif); font-weight: 500;
  font-size: 1.18rem; line-height: 1.15; color: var(--ed-ink);
  margin: 0 0 .55rem;
}
.ed-disc-card p {
  font-family: var(--ed-font-serif); font-style: italic;
  color: var(--ed-muted); font-size: .96rem; line-height: 1.45; margin: 0;
}

/* ---------- TIERS ---------- */
.ed-tiers-head {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 2rem; align-items: end; margin-bottom: 1.6rem;
}
.ed-tiers-note {
  font-family: var(--ed-font-serif); font-style: italic;
  color: var(--ed-muted); font-size: 1rem; line-height: 1.5;
}
.ed-tier-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ed-line);
  background: var(--ed-paper);
  backdrop-filter: blur(6px);
}
.ed-tier {
  padding: 1.8rem 1.4rem 2rem;
  border-left: 1px solid var(--ed-line-soft);
  position: relative;
}
.ed-tier:first-child { border-left: 0; }
.ed-tier--featured {
  background: linear-gradient(180deg, rgba(255, 170, 0, 0.08), rgba(255, 170, 0, 0.02));
  outline: 1px solid var(--ed-accent-3);
  outline-offset: -1px;
  box-shadow: inset 0 0 60px rgba(255, 170, 0, 0.05);
}
.ed-tier-badge {
  position: absolute; top: -10px; left: 1.4rem;
  background: var(--ed-accent-3); color: #1a1206;
  font-family: var(--ed-font-mono); font-weight: 700;
  font-size: .68rem; letter-spacing: .26em;
  padding: .35rem .7rem;
  box-shadow: 0 0 16px rgba(255, 170, 0, 0.55);
}
.ed-tier-eyebrow {
  font-family: var(--ed-font-mono);
  font-size: .72rem; letter-spacing: .32em; font-weight: 600;
  color: var(--ed-accent); margin-bottom: .8rem;
}
.ed-tier--featured .ed-tier-eyebrow { color: var(--ed-accent-3); }
.ed-tier-price {
  font-family: var(--ed-font-serif); font-weight: 500;
  font-size: 1.55rem; line-height: 1.1; color: var(--ed-ink);
  margin: 0 0 .35rem;
}
.ed-tier-sub {
  margin: 0; font-family: var(--ed-font-serif); font-style: italic;
  color: var(--ed-muted); font-size: .98rem;
}
.ed-tier hr {
  border: 0; border-top: 1px solid var(--ed-line);
  margin: .9rem 0 .4rem;
}
.ed-tier ul { list-style: none; padding: 0; margin: .6rem 0 0; }
.ed-tier li {
  font-family: var(--ed-font-serif);
  font-size: .98rem; line-height: 1.45;
  color: var(--ed-ink-soft); padding: .35rem 0;
  border-bottom: 1px solid var(--ed-line-soft);
}
.ed-tier li:last-child { border-bottom: 0; }
.ed-tier li::before {
  content: "→  "; color: var(--ed-accent);
  font-family: var(--ed-font-mono); font-style: normal;
}
.ed-tier--featured li::before { color: var(--ed-accent-3); }

/* ---------- CONTACT ---------- */
.ed-contact { padding-top: 1rem; }
.ed-contact-lede {
  font-family: var(--ed-font-serif); font-style: italic;
  color: var(--ed-ink-soft); font-size: 1.15rem;
  margin: -.6rem 0 2rem;
}
.ed-contact-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ed-line);
  background: var(--ed-paper);
  backdrop-filter: blur(6px);
}
.ed-contact-card {
  display: block; text-decoration: none; color: var(--ed-ink);
  padding: 1.6rem 1.6rem 1.8rem;
  border-left: 1px solid var(--ed-line-soft);
  border-top: 1px solid var(--ed-line-soft);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.ed-contact-card:nth-child(-n+2) { border-top: 0; }
.ed-contact-card:nth-child(2n+1) { border-left: 0; }
.ed-contact-card:hover {
  background: rgba(0, 229, 255, 0.08);
  box-shadow: inset 0 0 80px rgba(0, 229, 255, 0.08);
}
.ed-contact-card:hover .ed-cc-cta { color: var(--ed-accent); }
.ed-contact-card--primary {
  background: linear-gradient(135deg, rgba(0, 200, 90, 0.18), rgba(0, 229, 255, 0.08));
  outline: 1px solid rgba(0, 220, 120, 0.45);
  outline-offset: -1px;
}
.ed-contact-card--primary:hover {
  background: linear-gradient(135deg, rgba(0, 200, 90, 0.32), rgba(0, 229, 255, 0.18));
  box-shadow: inset 0 0 80px rgba(0, 220, 120, 0.18);
}
.ed-contact-card--primary .ed-cc-meta { color: #5cffb0; }
.ed-contact-card--primary .ed-cc-icon { color: #5cffb0; filter: drop-shadow(0 0 10px rgba(80, 255, 160, 0.6)); }
.ed-contact-card--primary .ed-cc-cta { color: #5cffb0; }

.ed-cc-meta {
  font-family: var(--ed-font-mono);
  font-size: .7rem; letter-spacing: .3em; font-weight: 600;
  color: var(--ed-accent); margin-bottom: 1rem;
}
.ed-cc-main { display: flex; align-items: center; gap: 1rem; }
.ed-cc-icon {
  width: 32px; height: 32px; color: var(--ed-accent); flex: 0 0 32px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}
.ed-cc-icon svg { width: 100%; height: 100%; }
.ed-cc-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ed-cc-label {
  font-family: var(--ed-font-mono);
  font-size: .8rem; letter-spacing: .14em; color: var(--ed-muted);
  text-transform: uppercase;
}
.ed-cc-val {
  font-family: var(--ed-font-serif); font-weight: 500;
  font-size: 1.35rem; color: var(--ed-ink); letter-spacing: .01em;
}
.ed-cc-cta {
  display: block; margin-top: 1rem;
  font-family: var(--ed-font-mono);
  font-size: .8rem; letter-spacing: .22em; color: var(--ed-ink-soft);
  transition: color .25s ease;
}

.ed-contact-foot {
  margin-top: 1.6rem;
  font-family: var(--ed-font-mono);
  font-size: .82rem; letter-spacing: .14em; color: var(--ed-muted);
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
}
.ed-foot-link {
  color: var(--ed-accent); text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.5);
}
.ed-foot-sep { color: var(--ed-line); }

.ed-footer {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--ed-line);
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  font-family: var(--ed-font-mono);
  font-size: .78rem; letter-spacing: .18em; color: var(--ed-muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .ed-hero { grid-template-columns: 1fr; }
  .ed-glance { max-width: 460px; }
  .ed-disc-grid,
  .ed-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-disc-card,
  .ed-tier { border-left: 1px solid var(--ed-line-soft); border-top: 1px solid var(--ed-line-soft); }
  .ed-disc-card:nth-child(2n+1),
  .ed-tier:nth-child(2n+1) { border-left: 0; }
  .ed-disc-card:nth-child(-n+2),
  .ed-tier:nth-child(-n+2) { border-top: 0; }
  .ed-disciplines-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-strip-cell { border-left: 1px solid var(--ed-line-soft); border-top: 1px solid var(--ed-line-soft); }
  .ed-strip-cell:nth-child(2n+1) { border-left: 0; }
  .ed-strip-cell:nth-child(-n+2) { border-top: 0; }
  .ed-who { grid-template-columns: 1fr; }
  .ed-who::before { display: none; }
  .ed-tiers-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ed-disc-grid,
  .ed-tier-grid,
  .ed-contact-grid,
  .ed-disciplines-strip { grid-template-columns: 1fr; }
  .ed-disc-card,
  .ed-tier,
  .ed-contact-card,
  .ed-strip-cell { border-left: 0; border-top: 1px solid var(--ed-line-soft); }
  .ed-disc-card:first-child,
  .ed-tier:first-child,
  .ed-contact-card:first-child,
  .ed-strip-cell:first-child { border-top: 0; }
}

/* ============================================
   3D WEBSITE SCREENS (CSS3DRenderer overlay)
   ============================================ */
#css3d-container{
  position:fixed; inset:0; z-index:3;
  pointer-events:none;
  overflow:hidden;
}
#css3d-container .webgl-screen{ pointer-events:none; }

.scroll-spacer{ background:transparent; }

.webgl-screen{
  --accent:#00e5ff;
  position:relative;
  width:720px; height:460px;
  background:#06080f;
  border:1px solid var(--accent);
  border-radius:10px;
  overflow:hidden;
  box-shadow: 0 0 80px color-mix(in srgb, var(--accent) 35%, transparent),
              inset 0 0 0 1px rgba(255,255,255,0.05);
  display:flex; flex-direction:column;
  font-family: var(--font-rajdhani), sans-serif;
  will-change: transform, opacity;
  contain: layout paint style;
}
.ws-chrome{
  display:flex; align-items:center; gap:14px;
  padding:10px 16px;
  background:linear-gradient(180deg, #0d1226, #06080f);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ws-dots{ display:flex; gap:6px; }
.ws-dots i{ width:12px; height:12px; border-radius:50%; display:inline-block; background:#2a3052; }
.ws-dots i:nth-child(1){ background:#ff5f57; }
.ws-dots i:nth-child(2){ background:#febc2e; }
.ws-dots i:nth-child(3){ background:#28c840; }
.ws-url{
  flex:1; font-weight:600; font-size:15px;
  color:rgba(255,255,255,.78); letter-spacing:.08em;
}
.ws-live{
  color:#ff5577; font-weight:700; font-size:11px; letter-spacing:.3em;
  text-shadow:0 0 8px rgba(255,80,120,.7);
  animation: ws-live-blink 1.6s ease-in-out infinite;
}
@keyframes ws-live-blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.ws-body{ position:relative; flex:1; background:#000; min-height:0; }
.ws-body iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
  background:#06080f;
}
.ws-preview{
  position:absolute; inset:0; width:100%; height:100%; border:0;
  display:block; padding:0; margin:0; cursor:zoom-in; overflow:hidden;
  background:#050711; color:#fff; font:inherit; text-align:inherit;
}
.ws-preview img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(1.01); filter:saturate(1.05) contrast(1.02);
}
.ws-preview-sheen{
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,.16), transparent 22%, transparent 70%, rgba(0,0,0,.35));
  pointer-events:none;
}
/* Chrome bar (top) — also the click target for "expand to center" */
.ws-chrome{ cursor:zoom-in; transition: background .2s ease; }
.ws-chrome:hover{ background:linear-gradient(180deg, #182144, #0a0e22); }
.ws-expand{
  background:transparent; color: var(--accent);
  border:1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  font-family: var(--font-rajdhani), sans-serif;
  font-weight:700; font-size:11px; letter-spacing:.25em;
  padding:6px 10px; border-radius:4px; cursor:zoom-in;
  margin-left:auto;
}
.ws-chrome:hover .ws-expand{
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

/* Contextual hint strip — explains scrolling vs expanding */
.ws-hint{
  display:flex; align-items:center; gap:10px;
  padding:10px 16px;
  background:linear-gradient(180deg, rgba(6,8,20,.0), rgba(6,8,20,.95));
  border-top:1px solid rgba(255,255,255,.06);
  font-family: var(--font-rajdhani), sans-serif;
  font-size:12px; letter-spacing:.16em; color: rgba(255,255,255,.78);
  cursor:zoom-in;
}
.ws-hint b{ color: var(--accent); font-weight:700; letter-spacing:.22em; }
.ws-hint-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: ws-live-blink 1.4s ease-in-out infinite;
  flex-shrink:0;
}

/* ============================================
   DIMENSION DISSOLVE VEIL (scroll-bound)
   ============================================ */
#dimension-veil{
  position:fixed; inset:0; z-index:9997;
  pointer-events:none; opacity:0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.95) 100%);
  overflow:hidden;
}
#dimension-veil .dv-vortex{
  position:absolute; left:50%; top:50%; width:140vmax; height:140vmax;
  margin-left:-70vmax; margin-top:-70vmax;
  background:
    conic-gradient(from 0deg,
      rgba(255,180,80,.0) 0deg,
      rgba(255,180,80,.18) 40deg,
      rgba(0,229,255,.20) 90deg,
      rgba(123,45,255,.22) 160deg,
      rgba(255,180,80,.18) 240deg,
      rgba(0,229,255,.20) 310deg,
      rgba(255,180,80,.0) 360deg);
  mix-blend-mode: screen;
  filter: blur(40px);
  border-radius:50%;
  transform-origin: center;
}
#dimension-veil .dv-rays{
  /* Removed: the repeating-conic rays produced a striped moire pattern across
     the screen as the elevator approached. Keep the node for JS targeting but
     render nothing. */
  display: none !important;
}
#dimension-veil .dv-hint{
  position:absolute; left:50%; top:auto; bottom:8vh; transform:translateX(-50%);
  display:flex; align-items:center; gap:14px;
  font-family: var(--font-rajdhani), sans-serif;
  font-size:14px; letter-spacing:.42em; color: #ffe9b8;
  text-shadow: 0 0 18px rgba(255,200,120,.6);
}
#dimension-veil .dv-hint i{
  font-style:normal; font-size:22px; color:#fff;
  animation: bounce 1.6s ease-in-out infinite;
}


/* ============================================
   3D SCREEN — whole frame is one click target
   ============================================ */
.webgl-screen { cursor: zoom-in; }
.webgl-screen .ws-body iframe,
.webgl-screen .ws-body .ws-preview,
.webgl-screen .ws-body .ws-placeholder { pointer-events: none; }
.webgl-screen:hover { box-shadow: 0 0 100px color-mix(in srgb, var(--accent) 55%, transparent),
                                  inset 0 0 0 1px rgba(255,255,255,0.08); }

.ws-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 2rem; text-align: center;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%),
    linear-gradient(180deg, #06080f 0%, #0a0e1f 100%);
  font-family: var(--font-rajdhani), sans-serif;
  color: #fff;
}
.ws-ph-name { font-family: var(--font-outfit), sans-serif; font-weight: 800;
              font-size: 1.6rem; letter-spacing: .04em;
              background: linear-gradient(180deg, #fff 0%, var(--accent) 100%);
              -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ws-ph-url  { font-size: .95rem; letter-spacing: .12em; opacity: .7; }
.ws-ph-cta  { margin-top: 1.4rem; padding: .7rem 1.3rem; border-radius: 999px;
              border: 1px solid var(--accent); color: var(--accent);
              font-size: .8rem; letter-spacing: .25em; font-weight: 700;
              box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }

/* Low-end devices: dim some of the most expensive CSS effects */
@media (prefers-reduced-motion: reduce) {
  .ws-live, .ws-hint-dot, .halo-ring { animation: none !important; }
  #dimension-veil .dv-vortex, #dimension-veil .dv-rays { filter: none !important; }
}

body.perf-low .glow-text,
body.perf-low #dimension-veil .dv-vortex,
body.perf-low #dimension-veil .dv-rays {
  filter: none !important;
}

body.perf-low .ws-live,
body.perf-low .ws-hint-dot,
body.perf-low .halo-ring,
body.perf-low .scroll-arrow,
body.perf-low .scroll-hint-text {
  animation-duration: 3s !important;
}

@media (max-width: 760px) {
  #site-modal .sm-window{
    width:96vw;
    height:82vh;
    border-radius:8px;
  }
  .sm-chrome{
    gap:.55rem;
    padding:.55rem .65rem;
  }
  .sm-url{
    font-size:.72rem;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .sm-close{
    padding:.38rem .55rem;
    font-size:.68rem;
    letter-spacing:.08em;
  }
}

/* Hide only the floating CSS3D website previews while the modal is open,
   so the user still sees the immersive 3D background behind the translucent modal. */
body.site-modal-open #css3d-container {
  visibility: hidden !important;
  pointer-events: none !important;
}
body.site-modal-open #canvas-container {
  pointer-events: none !important;
  filter: blur(2px) saturate(0.9);
  opacity: 0.55;
  transition: opacity .35s ease, filter .35s ease;
}

/* ============================================
   SHOWCASE PRELUDE — "First, witness the worlds we've built"
   Cinematic interstitial that signals: live demos follow.
   ============================================ */
@media (max-width: 720px){
  .origin-eyebrow { font-size: 9px; letter-spacing: 0.28em; padding: 6px 10px 6px 8px; margin-bottom: 1.8rem; }
}

/* ---------- Floating Contact Us button (messages both founders) ---------- */
.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9995;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 10px 30px rgba(18, 140, 126, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: floatingContactPulse 2.4s ease-in-out infinite;
}
.floating-contact:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
}
.floating-contact:active { transform: translateY(0) scale(0.98); }
.floating-contact svg { width: 22px; height: 22px; }
@keyframes floatingContactPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(18, 140, 126, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50%      { box-shadow: 0 10px 30px rgba(18, 140, 126, 0.55), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .floating-contact { padding: 0.75rem 0.95rem; font-size: 0.85rem; }
  .floating-contact svg { width: 20px; height: 20px; }
}

/* WMAW Brand logo */
.ed-brand-logo {
  display: block;
  max-width: 340px;
  width: 60%;
  height: auto;
  margin: 0 0 1.5rem;
  border-radius: 8px;
}
.main-header .logo-img {
  height: 44px;
  width: auto;
  display: block;
}
