/* ============================================
   JISHNU DEV VARMA — GOVERNOR OF MAHARASHTRA
   Premium Design System — Cinematic & Editorial
   ============================================ */

/* ---------- Google Fonts ---------- */
@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;1,600&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Chromatic system — cinematic depth palette */
  --obsidian:     #060d18;
  --navy-deep:    #0a1628;
  --navy:         #0f1f3d;
  --navy-light:   #162a4a;
  --navy-mid:     #1a3055;
  --gold:         #c9a84c;
  --gold-light:   #e0c872;
  --gold-glow:    #d4b85c;
  --gold-dark:    #a88b3a;
  --gold-pale:    rgba(201,168,76,0.06);
  --gold-shimmer: rgba(201,168,76,0.12);
  --cream:        #f5f0e8;
  --cream-warm:   #f8f4ec;
  --cream-dark:   #e8e0d0;
  --white:        #ffffff;
  --off-white:    #faf9f7;
  --slate:        #6b7a8d;
  --slate-light:  #94a3b8;
  --charcoal:     #1e293b;
  --border:       rgba(201,168,76,0.12);
  --border-light: rgba(201,168,76,0.06);
  --border-gold:  rgba(201,168,76,0.25);
  --overlay:      rgba(6,13,24,0.78);
  --glass:        rgba(10,22,40,0.65);
  --glass-light:  rgba(255,255,255,0.04);
  --glass-gold:   rgba(201,168,76,0.04);
  --shadow-soft:  0 4px 30px rgba(0,0,0,0.06);
  --shadow-med:   0 12px 50px rgba(0,0,0,0.10);
  --shadow-heavy: 0 30px 80px rgba(0,0,0,0.18);
  --shadow-glow:  0 0 60px rgba(201,168,76,0.08);

  /* Typography — editorial system */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-hindi:   'Noto Sans Devanagari', sans-serif;

  /* Spatial rhythm */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6.5rem;
  --space-3xl: 9rem;

  /* Layout */
  --nav-height: 80px;
  --max-width:  1200px;
  --max-narrow: 780px;
  --max-wide:   1400px;

  /* Motion — physics-based */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:         0.6s;
  --dur-fast:    0.3s;
  --dur-slow:    1s;
  --dur-glacial: 1.8s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--navy-deep);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
  font-family: var(--font-body);
  background: var(--cream-warm);
  color: var(--charcoal);
  line-height: 1.75;
  overflow-x: hidden;
}

body.hindi { font-family: var(--font-hindi), var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--dur-fast) ease; }
ul, ol { list-style: none; }

/* ---------- Film Grain Texture ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.container--narrow { max-width: var(--max-narrow); }
.container--wide { max-width: var(--max-wide); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Typography — Kinetic Editorial System ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.hindi h1, .hindi h2, .hindi h3, .hindi h4, .hindi h5 { font-family: var(--font-hindi); font-weight: 600; }
h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h5 { font-size: 1.1rem; }
p { font-size: 1.05rem; margin-bottom: var(--space-sm); }

.lead-text {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--charcoal);
  font-weight: 400;
}
.lead-text-light {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--slate-light);
}

/* Section Labels — refined line+text */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.section-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* Section Titles — with elegant underline */
.section-title {
  margin-bottom: var(--space-lg);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-top: var(--space-sm);
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(201,168,76,0.3);
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: var(--space-xl);
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-deep); }
.text-slate { color: var(--slate); }
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Gold Divider */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  margin: var(--space-xl) 0;
  opacity: 0.25;
}

/* ============================================
   NAVIGATION — Glassmorphic
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--dur-fast) var(--ease-smooth);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(6,13,24,0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(201,168,76,0.08), 0 8px 40px rgba(0,0,0,0.35);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-brand { display: flex; flex-direction: column; gap: 2px; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hindi .nav-brand-name { font-family: var(--font-hindi); }
.nav-brand-title {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--dur-fast) ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: all var(--dur-fast) var(--ease-out);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-lang {
  font-size: 0.72rem !important;
  font-weight: 600;
  color: var(--gold) !important;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  transition: all var(--dur-fast) ease;
  backdrop-filter: blur(8px);
}
.nav-lang:hover { background: var(--gold); color: var(--navy-deep) !important; box-shadow: 0 0 20px rgba(201,168,76,0.3); }
.nav-lang::after { display: none !important; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; background: none; border: none; padding: 0.5rem; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all var(--dur-fast) ease; border-radius: 1px; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO — Cinematic Immersive
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--obsidian);
}
.hero--short { min-height: 75vh; }
.hero--medium { min-height: 85vh; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; transition: transform 0.1s linear; }

/* Multi-layer cinematic overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(10,22,40,0.4) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(6,13,24,0.15) 0%,
      rgba(6,13,24,0.35) 30%,
      rgba(6,13,24,0.7) 65%,
      rgba(6,13,24,0.95) 100%
    );
}
/* Vignette effect */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(6,13,24,0.5) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 900px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 1.2s var(--ease-out) 0.3s forwards;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}
.hero-content .hero-designation {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(25px);
  animation: heroReveal 1s var(--ease-out) 0.7s forwards;
}
.hero-content .hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  transform: translateY(25px);
  animation: heroReveal 1s var(--ease-out) 1s forwards;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-top: var(--space-md);
  opacity: 0;
  transform: translateY(25px);
  animation: heroReveal 1s var(--ease-out) 1.2s forwards;
}
.hero-meta-item { text-align: center; }
.hero-meta-item .meta-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(201,168,76,0.2);
}
.hero-meta-item .meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 1.6s forwards;
}
.hero-scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* ============================================
   SECTIONS — Atmospheric Layers
   ============================================ */
.section { padding: var(--space-3xl) 0; position: relative; }
.section--compact { padding: var(--space-2xl) 0; }

.section--navy {
  background: var(--navy-deep);
  color: var(--cream);
}
.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(201,168,76,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.section--navy h2, .section--navy h3, .section--navy h4, .section--navy h5 { color: var(--white); }
.section--navy-mid { background: var(--navy); color: var(--cream); }
.section--navy-mid h2, .section--navy-mid h3, .section--navy-mid h4 { color: var(--white); }
.section--light { background: var(--cream-warm); }
.section--cream-dark { background: var(--cream-dark); }
.section--white { background: var(--off-white); }
.section--gradient {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream-dark) 100%);
}

/* ============================================
   LAYOUTS
   ============================================ */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.intro-grid--reverse { direction: rtl; }
.intro-grid--reverse > * { direction: ltr; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.two-col--wide-left { grid-template-columns: 1.4fr 1fr; }
.two-col--wide-right { grid-template-columns: 1fr 1.4fr; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

.intro-image { position: relative; border-radius: 6px; overflow: hidden; }
.intro-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.intro-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, rgba(6,13,24,0.35), transparent); }
.intro-image .image-accent { position: absolute; top: -12px; left: -12px; width: 70px; height: 70px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); opacity: 0.6; }
.intro-image .image-accent--bottom { top: auto; left: auto; bottom: -12px; right: -12px; border-top: none; border-left: none; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.intro-text p { font-size: 1.08rem; line-height: 1.9; color: var(--charcoal); margin-bottom: var(--space-md); }
.intro-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  float: left;
  color: var(--gold);
  line-height: 0.75;
  margin-right: 0.12em;
  margin-top: 0.08em;
  text-shadow: 0 0 20px rgba(201,168,76,0.15);
}

/* ============================================
   QUOTE BLOCK — Cinematic
   ============================================ */
.quote-block {
  position: relative;
  padding: var(--space-2xl) var(--space-2xl);
  text-align: center;
}
.quote-block::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--gold);
  opacity: 0.1;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  text-shadow: 0 0 40px rgba(201,168,76,0.15);
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
}
.section--navy .quote-block blockquote { color: var(--cream); }
.quote-block cite {
  display: block;
  margin-top: var(--space-lg);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   QUICK LINK CARDS — Glassmorphic
   ============================================ */
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.quick-link-card {
  position: relative;
  background: rgba(15,31,61,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 8px;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
  cursor: pointer;
}
.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
}
.quick-link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.quick-link-card:hover::before { transform: scaleX(1); }
.quick-link-card:hover::after { opacity: 1; }
.quick-link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-heavy), 0 0 40px rgba(201,168,76,0.05);
}
.quick-link-card .card-icon { font-size: 2rem; margin-bottom: var(--space-sm); display: block; position: relative; z-index: 1; }
.quick-link-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: var(--space-xs); position: relative; z-index: 1; }
.quick-link-card p { font-size: 0.85rem; color: var(--slate-light); margin-bottom: var(--space-sm); position: relative; z-index: 1; }
.quick-link-card .card-arrow { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 600; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; transition: gap var(--dur-fast) ease; position: relative; z-index: 1; }
.quick-link-card:hover .card-arrow { gap: 0.7rem; }

/* ============================================
   INFO / HIGHLIGHT BOXES
   ============================================ */
.info-box {
  background: var(--glass-gold);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  backdrop-filter: blur(4px);
}
.info-box h4 { color: var(--navy-deep); margin-bottom: var(--space-xs); font-weight: 600; }
.info-box p { color: var(--charcoal); margin-bottom: 0; font-size: 1rem; }

.info-box--navy {
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(8px);
}
.info-box--navy h4 { color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; }
.info-box--navy p { color: var(--slate-light); }

/* ============================================
   ROLE BADGES
   ============================================ */
.role-badges { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-md) 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-shimmer);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  transition: all var(--dur-fast) ease;
  letter-spacing: 0.03em;
}
.badge:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); box-shadow: 0 0 15px rgba(201,168,76,0.1); }

/* ============================================
   DATA TABLE — Editorial
   ============================================ */
.data-table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.1);
  box-shadow: var(--shadow-soft);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead { background: var(--navy-deep); }
.data-table thead th {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
}
.data-table tbody tr {
  border-bottom: 1px solid var(--cream-dark);
  transition: all var(--dur-fast) ease;
}
.data-table tbody tr:hover { background: var(--gold-pale); }
.data-table tbody td { padding: var(--space-sm) var(--space-md); font-size: 0.95rem; color: var(--charcoal); vertical-align: top; }
.data-table tbody td:first-child { font-weight: 600; color: var(--navy-deep); white-space: nowrap; }

/* ============================================
   DETAIL BLOCKS
   ============================================ */
.detail-block { margin-bottom: var(--space-xl); }
.detail-block h3 { margin-bottom: var(--space-sm); }
.detail-block h4 { margin-bottom: var(--space-xs); color: var(--gold-dark); }
.detail-block p { line-height: 1.9; }
.detail-block ul { margin: var(--space-sm) 0 var(--space-md); }
.detail-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.detail-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(201,168,76,0.3);
}
.section--navy .detail-block ul li { color: var(--slate-light); }

.numbered-list { counter-reset: item; margin: var(--space-md) 0; }
.numbered-list li { position: relative; padding-left: 3rem; margin-bottom: var(--space-md); font-size: 1rem; line-height: 1.8; }
.numbered-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  opacity: 0.6;
}

/* ============================================
   TIMELINE — Animated Vertical
   ============================================ */
.timeline { position: relative; padding: var(--space-lg) 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold-light) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: var(--space-lg) var(--space-xl);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s var(--ease-out);
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:nth-child(odd) { left: 0; padding-right: calc(var(--space-xl) + 30px); text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: calc(var(--space-xl) + 30px); text-align: left; }
.timeline-dot {
  position: absolute;
  top: calc(var(--space-lg) + 5px);
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--cream-dark);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15), 0 0 20px rgba(201,168,76,0.1);
  transition: all var(--dur-fast) ease;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -7px; }
.timeline-item:nth-child(even) .timeline-dot { left: -7px; }
.timeline-item:hover .timeline-dot {
  box-shadow: 0 0 0 8px rgba(201,168,76,0.2), 0 0 30px rgba(201,168,76,0.2);
  transform: scale(1.4);
}
.timeline-year { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: var(--space-xs); }
.timeline-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy-deep); margin-bottom: var(--space-xs); }
.timeline-desc { font-size: 0.93rem; line-height: 1.8; color: var(--slate); }
.timeline-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: var(--gold-shimmer);
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  margin-top: 0.6rem;
  text-transform: uppercase;
}

/* ============================================
   VALUES — Premium Cards
   ============================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.value-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 8px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out);
}
.value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(201,168,76,0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur) ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover::after { opacity: 1; }
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy), var(--shadow-glow);
  border-color: rgba(201,168,76,0.2);
}
.value-card .value-icon { font-size: 2.2rem; margin-bottom: var(--space-md); display: block; position: relative; z-index: 1; }
.value-card .value-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(201,168,76,0.05);
  position: absolute;
  top: 0.3rem;
  right: 0.8rem;
  line-height: 1;
}
.value-card h3 { font-size: 1.35rem; color: var(--navy-deep); margin-bottom: var(--space-sm); position: relative; z-index: 1; }
.value-card p { font-size: 0.95rem; color: var(--slate); line-height: 1.8; position: relative; z-index: 1; }
.value-card .value-detail-list { margin-top: var(--space-sm); position: relative; z-index: 1; }
.value-card .value-detail-list li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; font-size: 0.88rem; color: var(--slate); line-height: 1.6; }
.value-card .value-detail-list li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ============================================
   VISION — Pillar Cards
   ============================================ */
.vision-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.pillar-card {
  background: rgba(15,31,61,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 8px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
}
.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.5;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-heavy), 0 0 40px rgba(201,168,76,0.05);
  border-color: rgba(201,168,76,0.25);
}
.pillar-card .pillar-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; color: rgba(201,168,76,0.1); position: absolute; top: var(--space-sm); right: var(--space-md); line-height: 1; }
.pillar-card .pillar-icon { font-size: 1.8rem; margin-bottom: var(--space-sm); display: block; }
.pillar-card h3 { color: var(--gold); font-size: 1.25rem; margin-bottom: var(--space-sm); }
.pillar-card p { font-size: 0.93rem; color: var(--slate-light); line-height: 1.8; }
.pillar-card .pillar-points { margin-top: var(--space-sm); }
.pillar-card .pillar-points li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; font-size: 0.85rem; color: var(--slate-light); line-height: 1.6; }
.pillar-card .pillar-points li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ============================================
   STATS & ACHIEVEMENTS
   ============================================ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-bottom: var(--space-2xl); }
.stat-box {
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 8px;
  transition: all var(--dur) var(--ease-out);
  position: relative;
}
.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--dur) ease;
}
.stat-box:hover { background: rgba(201,168,76,0.08); transform: translateY(-4px); }
.stat-box:hover::after { opacity: 0.5; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
  text-shadow: 0 0 30px rgba(201,168,76,0.15);
}
.stat-label { font-size: 0.8rem; font-weight: 500; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-sublabel { font-size: 0.72rem; color: var(--slate); margin-top: 0.25rem; }

.achievement-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.achievement-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.06);
  border-radius: 8px;
  padding: var(--space-xl);
  transition: all var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.achievement-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--dur-fast) ease;
}
.achievement-card:hover::before { opacity: 1; }
.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-med), var(--shadow-glow);
}
.achievement-card .ach-icon { font-size: 1.8rem; margin-bottom: var(--space-sm); display: block; }
.achievement-card h3 { font-size: 1.2rem; margin-bottom: var(--space-sm); }
.achievement-card p { font-size: 0.93rem; color: var(--slate); line-height: 1.8; }
.achievement-card .ach-year {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: var(--space-sm);
  display: block;
}

/* Progress bars */
.progress-bar-wrap { margin: var(--space-md) 0; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.progress-bar { width: 100%; height: 4px; background: var(--cream-dark); border-radius: 2px; overflow: hidden; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 1.8s var(--ease-out);
  width: 0;
  box-shadow: 0 0 10px rgba(201,168,76,0.3);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
.contact-info-block { margin-bottom: var(--space-xl); }
.contact-info-block h3 { font-size: 1.25rem; color: var(--navy-deep); margin-bottom: var(--space-sm); display: flex; align-items: center; gap: var(--space-xs); }
.contact-info-block p, .contact-info-block a { font-size: 1rem; color: var(--slate); line-height: 1.85; }
.contact-info-block a { border-bottom: 1px solid transparent; transition: all var(--dur-fast) ease; }
.contact-info-block a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.contact-map-placeholder {
  background: var(--navy-deep);
  border-radius: 8px;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-map-placeholder::before { content: ''; position: absolute; inset: 6px; border: 1px dashed rgba(201,168,76,0.12); border-radius: 4px; }

.social-links { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-sm); }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-deep);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  transition: all var(--dur-fast) ease;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); box-shadow: 0 0 15px rgba(201,168,76,0.06); }

/* ============================================
   PUBLICATIONS
   ============================================ */
.publication-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.06);
  border-radius: 8px;
  margin-bottom: var(--space-md);
  transition: all var(--dur) var(--ease-out);
}
.publication-card:hover { box-shadow: var(--shadow-med); transform: translateY(-4px); }
.publication-cover {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 2/3;
  background: var(--navy-deep);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.72rem;
  text-align: center;
  padding: 0.5rem;
}
.publication-info h4 { margin-bottom: var(--space-xs); }
.publication-info .pub-year { font-size: 0.75rem; color: var(--gold); font-weight: 600; margin-bottom: var(--space-xs); display: block; letter-spacing: 0.05em; }
.publication-info p { font-size: 0.9rem; color: var(--slate); line-height: 1.75; }

/* ============================================
   FOOTER — Premium Layered
   ============================================ */
.footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(201,168,76,0.08);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: var(--space-lg);
}
.footer-brand h4 { font-family: var(--font-display); color: var(--white); font-size: 1.3rem; margin-bottom: 0.25rem; font-weight: 700; }
.footer-brand p { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0; }
.footer-nav { display: flex; gap: var(--space-lg); }
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: all var(--dur-fast) ease;
  letter-spacing: 0.02em;
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); }
.footer-credits { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.9; }
.footer-credits strong { color: var(--gold); font-weight: 500; }
.footer-credits a { color: rgba(255,255,255,0.5); transition: color var(--dur-fast) ease; }
.footer-credits a:hover { color: var(--gold); }
.footer-legal { font-size: 0.72rem; color: rgba(255,255,255,0.25); }

/* ============================================
   ANIMATIONS — Cinematic Reveals
   ============================================ */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.9s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.9s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 0.9s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered children — elegant cascade */
.stagger-children > * {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.7s var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.8s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.9s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* ============================================
   BODY IMAGE & PLACEHOLDERS
   ============================================ */
.body-image {
  position: relative;
  margin: var(--space-xl) 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-med);
}
.body-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.body-image .image-caption {
  text-align: center;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--slate);
  margin-top: var(--space-sm);
  padding: 0 var(--space-sm);
}
.image-caption {
  text-align: center;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--slate);
  margin-top: var(--space-sm);
}

/* Placeholder images — atmospheric gradient */
.placeholder-img {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148,163,184,0.5);
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  padding: var(--space-md);
  position: relative;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.placeholder-img--hero { width: 100%; height: 100%; position: absolute; inset: 0; }
.placeholder-img--body { width: 100%; aspect-ratio: 16/9; border-radius: 8px; }
.placeholder-img--portrait { width: 100%; aspect-ratio: 4/5; border-radius: 6px; }

/* ============================================
   RESPONSIVE — Fluid Breakpoints
   ============================================ */
@media (max-width: 1024px) {
  .intro-grid, .intro-grid--reverse { grid-template-columns: 1fr; gap: var(--space-xl); }
  .intro-grid--reverse { direction: ltr; }
  .intro-image { max-width: 500px; margin: 0 auto; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .achievement-cards { grid-template-columns: 1fr; }
  .vision-pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col, .two-col--wide-left, .two-col--wide-right { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: var(--space-md); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(6,13,24,0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 2rem) var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    transition: right var(--dur) var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  .nav-hamburger { display: flex; }
  .hero-content h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-meta { gap: var(--space-lg); }
  .quick-links { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 55px;
    padding-right: var(--space-md);
    text-align: left;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 11px; right: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
  .quote-block { padding: var(--space-lg) var(--space-md); }
  .publication-card { flex-direction: column; }
  .publication-cover { width: 100%; max-width: 180px; }
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-content .hero-tagline { font-size: 1rem; }
  .section { padding: var(--space-xl) 0; }
}

/* ============================================
   IMAGES — full display, never cropped
   Every photo is shown complete; faces are never cut.
   ============================================ */
.intro-image { background: var(--navy-deep); }
.intro-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 6px;
}

.body-image {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.body-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  background: var(--navy-deep);
  border-radius: 8px;
  box-shadow: var(--shadow-med);
}

/* ============================================
   PHOTO GRID — dedicated per-page galleries
   ============================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  align-items: start;
}
.photo-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.photo-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-med); }
.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--navy-deep);
}
.photo-card figcaption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--slate);
  line-height: 1.6;
  border-top: 1px solid var(--cream-dark);
}

/* Contact-page location card (replaces the old empty map box) */
.contact-location-card {
  margin-top: var(--space-lg);
  background: var(--navy-deep);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}
.contact-location-card .loc-pin { font-size: 2.4rem; margin-bottom: 0.6rem; line-height: 1; }
.contact-location-card .loc-title { color: var(--gold); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.35rem; }
.contact-location-card .loc-sub { color: var(--slate-light); font-size: 0.95rem; margin-bottom: var(--space-sm); }
.contact-location-card .loc-link { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 1px; transition: opacity var(--dur-fast) ease; }
.contact-location-card .loc-link:hover { opacity: 0.75; }

/* ============================================
   SOCIAL ICONS — footer + contact
   ============================================ */
.footer-social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  color: rgba(255,255,255,0.55);
  transition: all var(--dur-fast) ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  color: var(--obsidian);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(201,168,76,0.28);
}
/* Contact-page labelled social pills */
.social-link svg { width: 16px; height: 16px; }
.social-link span { line-height: 1; }

/* ============================================
   PASSCODE / ACCESS PAGE
   ============================================ */
.passcode-body {
  background: radial-gradient(ellipse at 50% -10%, var(--navy) 0%, var(--navy-deep) 45%, var(--obsidian) 100%);
  color: var(--cream);
  min-height: 100vh;
}
.passcode-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  width: 100%;
}
.passcode-card {
  background: rgba(15,31,61,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: var(--space-2xl) var(--space-xl);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-heavy), 0 0 80px rgba(201,168,76,0.06);
}
.passcode-portrait {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-md);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  background: var(--navy-deep);
}
.passcode-portrait img { width: 100%; height: 100%; object-fit: contain; }
.passcode-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.passcode-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
}
.passcode-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-md) auto;
}
.passcode-instruction {
  color: var(--slate-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.passcode-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.passcode-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(6,13,24,0.6);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.12em;
  transition: all var(--dur-fast) ease;
}
.passcode-input::placeholder { color: var(--slate); letter-spacing: normal; }
.passcode-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.passcode-btn {
  width: 100%;
  padding: 0.95rem;
  background: var(--gold);
  color: var(--obsidian);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}
.passcode-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201,168,76,0.25);
}
.passcode-error {
  color: #ff8a8a;
  font-size: 0.82rem;
  min-height: 1.1rem;
  margin: 0;
  opacity: 0;
  transition: opacity var(--dur-fast) ease;
}
.passcode-error.show { opacity: 1; }
.passcode-footer { margin-top: var(--space-lg); font-size: 0.72rem; color: var(--slate); margin-bottom: 0; }
.passcode-footer strong { color: var(--gold); font-weight: 500; }

@keyframes jdvShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}
.passcode-card.shake { animation: jdvShake 0.5s ease-in-out; }

/* ============================================
   RESPONSIVE — new components
   ============================================ */
@media (max-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .photo-grid, .photo-grid--two { grid-template-columns: 1fr; }
  .footer-social { gap: var(--space-sm); }
  .passcode-card { padding: var(--space-xl) var(--space-lg); }
}

