/* ============================================
   PRAVIN KOTAK – ISCON GROUP
   Ultra-Premium Architectural Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

:root {
  /* — Color Palette — */
  --gold-primary: #C8A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #8B7340;
  --gold-accent: #D4AF37;
  --midnight: #0A0A0F;
  --charcoal: #1A1A24;
  --slate: #2A2A3A;
  --graphite: #3A3A4A;
  --ivory: #F5F0E8;
  --cream: #FAF7F0;
  --marble: #E8E4DD;
  --pearl: #D4CFC5;
  --white: #FFFFFF;
  --text-primary: #F5F0E8;
  --text-secondary: rgba(245, 240, 232, 0.7);
  --text-muted: rgba(245, 240, 232, 0.4);
  --text-dark: #1A1A24;
  --glass-bg: rgba(26, 26, 36, 0.6);
  --glass-border: rgba(200, 169, 110, 0.15);
  --glass-highlight: rgba(200, 169, 110, 0.08);
  /* — Typography — */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  /* — Spacing — */
  --section-pad: clamp(80px, 10vw, 160px);
  --container-max: 1400px;
  --gap: clamp(20px, 3vw, 40px);
  /* — Transitions — */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.6s;
  --duration-fast: 0.3s;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color var(--duration-fast) var(--ease-out); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--gold-primary); border-radius: 3px; }

/* ============ UTILITY ============ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }
.section-pad { padding: var(--section-pad) 0; }
.text-gold { color: var(--gold-primary); }
.text-accent { color: var(--gold-accent); }

/* ============ TYPOGRAPHY ============ */
.headline-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.headline-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.headline-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}
.headline-sm {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
}
.body-lg { font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.8; }
.body-md { font-size: 1rem; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.accent-text {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ GOLD LINE DIVIDER ============ */
.gold-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
  margin: 20px 0;
}
.gold-line-center { margin-left: auto; margin-right: auto; }

/* ============ GLASS CARD ============ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: clamp(30px, 4vw, 50px);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.4;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 110, 0.3);
}

/* ============ BUTTONS ============ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--midnight);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s var(--ease-out);
}
.btn-gold:hover::after { left: 100%; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200, 169, 110, 0.3); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease-out);
}
.btn-outline:hover {
  background: var(--gold-primary);
  color: var(--midnight);
  transform: translateY(-2px);
}

/* ============ NAVIGATION ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--duration-fast) var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--text-primary); font-weight: 400; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-primary);
  transition: width var(--duration-fast) var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--gold-primary);
  transition: all var(--duration-fast) var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO SECTIONS ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(80px, 12vw, 160px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg,
    rgba(10,10,15,0.3) 0%,
    rgba(10,10,15,0.5) 40%,
    rgba(10,10,15,0.85) 75%,
    rgba(10,10,15,0.95) 100%
  );
  z-index: -1;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 2px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--text-secondary);
  font-style: italic;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ============ PAGE HERO (smaller) ============ */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.page-hero .hero-bg img { object-position: center 30%; }
.page-hero .hero-overlay {
  background: linear-gradient(180deg,
    rgba(10,10,15,0.4) 0%,
    rgba(10,10,15,0.7) 50%,
    rgba(10,10,15,0.95) 100%
  );
}

/* ============ SECTION HEADERS ============ */
.section-header { margin-bottom: clamp(40px, 6vw, 80px); }
.section-header .label { margin-bottom: 16px; }
.section-header .headline-lg { margin-bottom: 20px; }
.section-header .body-lg {
  color: var(--text-secondary);
  max-width: 700px;
}

/* ============ GRID LAYOUTS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-asymmetric { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--gap); align-items: center; }
.grid-asymmetric-r { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--gap); align-items: center; }

/* ============ STAT COUNTERS ============ */
.stat-block { text-align: center; padding: 30px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ============ TIMELINE ============ */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding: 0 50px 60px 0;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  margin-left: 50%;
  padding: 0 0 60px 50px;
}
.timeline-dot {
  position: absolute;
  right: -8px; top: 6px;
  width: 16px; height: 16px;
  background: var(--gold-primary);
  border: 3px solid var(--midnight);
  border-radius: 50%;
  z-index: 2;
}
.timeline-item:nth-child(even) .timeline-dot { left: -8px; right: auto; }
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 8px;
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.timeline-content p { color: var(--text-secondary); font-size: 0.95rem; }

/* ============ PROJECT/IMAGE CARDS ============ */
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.project-card:hover img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(0deg, rgba(10,10,15,0.9) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--duration) var(--ease-out);
}
.project-card:hover .project-card-overlay {
  transform: translateY(0);
  opacity: 1;
}
.project-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.project-card-overlay p { font-size: 0.85rem; color: var(--text-secondary); }

/* ============ IMAGE CONTAINERS (NO FACE CROP) ============ */
.img-contain {
  width: 100%; height: 100%;
  object-fit: contain;
}
.img-cover-safe {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--glass-border);
}
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 169, 110, 0.1);
  border-radius: 12px;
  pointer-events: none;
}

/* ============ GALLERY GRID ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============ ICON BOX ============ */
.icon-box {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--glass-highlight);
  border: 1px solid var(--glass-border);
  color: var(--gold-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .nav-logo { margin-bottom: 16px; display: block; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--gold-primary);
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--duration-fast);
}
.footer-col a:hover { color: var(--gold-primary); }
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--duration-fast);
}
.social-links a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(200, 169, 110, 0.1);
}
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--gold-primary); }

/* ============ FORM INPUTS ============ */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 10px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(26, 26, 36, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--duration-fast);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* ============ ARCHITECTURAL LINES ============ */
.arch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.arch-lines::before, .arch-lines::after {
  content: '';
  position: absolute;
  background: rgba(200, 169, 110, 0.06);
}
.arch-lines::before {
  top: 0; bottom: 0;
  left: 20%; width: 1px;
}
.arch-lines::after {
  top: 0; bottom: 0;
  right: 25%; width: 1px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 40px 50px;
    justify-content: flex-start;
  }
  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 12px; right: auto;
  }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-asymmetric, .grid-asymmetric-r { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 4rem); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ============ PASSWORD GATE ============ */
.password-gate {
  position: fixed;
  inset: 0;
  background: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}
.gate-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-primary) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: patternShift 20s linear infinite;
}
@keyframes patternShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
.gate-container {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding: 0 30px;
}
.gate-logo {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 8px;
}
.gate-logo span { color: var(--text-primary); font-weight: 400; font-size: 1.8rem; }
.gate-tagline {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 50px;
}
.gate-vault-icon {
  width: 80px; height: 80px;
  margin: 0 auto 30px;
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGold 3s ease-in-out infinite;
}
.gate-vault-icon svg { width: 32px; height: 32px; stroke: var(--gold-primary); fill: none; stroke-width: 1.5; }
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 169, 110, 0.3); }
  50% { box-shadow: 0 0 30px 10px rgba(200, 169, 110, 0.1); }
}
.gate-instruction {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.gate-input-wrap {
  position: relative;
  margin-bottom: 30px;
}
.gate-input-wrap input {
  width: 100%;
  padding: 18px 24px;
  background: rgba(26, 26, 36, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-align: center;
  transition: border-color var(--duration-fast);
}
.gate-input-wrap input:focus {
  outline: none;
  border-color: var(--gold-primary);
}
.gate-input-wrap input.error {
  border-color: #E74C3C;
  animation: shakeInput 0.5s ease;
}
@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
.gate-error-msg {
  color: #E74C3C;
  font-size: 0.85rem;
  margin-top: 12px;
  opacity: 0;
  transition: opacity var(--duration-fast);
}
.gate-error-msg.show { opacity: 1; }
.gate-enter-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all var(--duration-fast);
}
.gate-enter-btn:hover {
  box-shadow: 0 8px 40px rgba(200, 169, 110, 0.3);
  transform: translateY(-2px);
}
/* Gate reveal animation */
.gate-reveal {
  animation: gateOpen 1.2s var(--ease-out) forwards;
}
@keyframes gateOpen {
  0% { opacity: 1; clip-path: inset(0); }
  50% { opacity: 1; clip-path: inset(0 50% 0 50%); }
  100% { opacity: 0; clip-path: inset(0 50% 100% 50%); pointer-events: none; }
}
.gate-corner {
  position: absolute;
  width: 40px; height: 40px;
  border: 2px solid rgba(200, 169, 110, 0.2);
}
.gate-corner.tl { top: 30px; left: 30px; border-right: 0; border-bottom: 0; }
.gate-corner.tr { top: 30px; right: 30px; border-left: 0; border-bottom: 0; }
.gate-corner.bl { bottom: 30px; left: 30px; border-right: 0; border-top: 0; }
.gate-corner.br { bottom: 30px; right: 30px; border-left: 0; border-top: 0; }

/* ============ INFOGRAPHIC BARS ============ */
.progress-bar-wrap { margin-bottom: 20px; }
.progress-bar-wrap .bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.progress-bar-wrap .bar-label span:first-child { color: var(--text-primary); }
.progress-bar-wrap .bar-label span:last-child { color: var(--gold-primary); }
.progress-bar {
  height: 6px;
  background: var(--slate);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s var(--ease-out);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,10,15,0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 30px; right: 30px;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: all var(--duration-fast);
}
.lightbox-close:hover { border-color: var(--gold-primary); color: var(--gold-primary); }

/* ============ MAP SECTION ============ */
.map-section {
  position: relative;
  padding: 60px;
  background: var(--charcoal);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}
.map-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--gold-primary);
  border-radius: 50%;
  cursor: pointer;
}
.map-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  animation: pulseGold 2s ease infinite;
}

/* ============ PAGE TRANSITION ============ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--midnight);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.page-transition-overlay.entering {
  animation: pageIn 0.5s var(--ease-in-out) forwards;
}
@keyframes pageIn {
  0% { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}
