/* ============================================
   NALLU INDRASENA REDDY — OFFICIAL WEBSITE
   Ultra-Premium Institutional Design System
   ============================================ */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Primary Palette */
  --deep-green: #0f3d2e;
  --forest: #1a5c40;
  --emerald: #2a7d5a;
  --earth-warm: #8B6914;
  --earth-light: #c9a84c;
  --navy: #0d1b2a;
  --navy-mid: #1b2d45;
  --saffron: #e87a20;
  --saffron-soft: #f4a945;
  --ivory: #faf8f2;
  --pearl: #f0ece4;
  --stone: #d4cfc5;
  --charcoal: #1a1a1a;
  --slate: #3a3a3a;
  --muted: #6b6b6b;
  --white: #ffffff;
  --gold: #c4a44a;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(0, 0, 0, 0.25);
  --glass-border-dark: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Libre Baskerville', Georgia, serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1320px;
  --container-narrow: 900px;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-soft: 0 4px 30px rgba(0,0,0,0.06);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 60px rgba(42,125,90,0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

p { margin-bottom: 1.2em; }

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- PRELOADER / PASSWORD GATE --- */
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

.gate-bg-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gate-bg-canvas .motif {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: motifFloat 20s ease-in-out infinite;
}

.gate-bg-canvas .motif:nth-child(1) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--deep-green), transparent);
  top: -10%; left: -5%;
  animation-delay: 0s;
}
.gate-bg-canvas .motif:nth-child(2) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--saffron), transparent);
  bottom: -15%; right: -5%;
  animation-delay: -7s;
}
.gate-bg-canvas .motif:nth-child(3) {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--earth-warm), transparent);
  top: 40%; left: 50%;
  animation-delay: -14s;
}

.gate-geometric {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.5) 80px, rgba(255,255,255,0.5) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.5) 80px, rgba(255,255,255,0.5) 81px);
}

@keyframes motifFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.gate-card {
  position: relative;
  z-index: 2;
  width: min(440px, 90vw);
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.gate-emblem {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-green), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(42,125,90,0.3);
}

.gate-emblem svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
}

.gate-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.gate-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-input-wrap {
  position: relative;
  margin-bottom: 20px;
}

.gate-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.15em;
  outline: none;
  transition: all 0.3s ease;
}

.gate-input::placeholder {
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}

.gate-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 30px rgba(42,125,90,0.2);
}

.gate-input.error {
  border-color: #e74c3c;
  animation: inputShake 0.5s ease;
}

.gate-input.success {
  border-color: var(--emerald);
  box-shadow: 0 0 40px rgba(42,125,90,0.35);
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.gate-toggle-pass {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.gate-toggle-pass:hover { color: rgba(255,255,255,0.7); }

.gate-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--deep-green), var(--forest));
  border: none;
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(42,125,90,0.3);
}

.gate-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.gate-btn:hover::after { opacity: 1; }

.gate-error-msg {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #e74c3c;
  min-height: 20px;
  transition: opacity 0.3s;
}

.gate-footer-text {
  margin-top: 30px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}

/* Gate exit animation */
.gate-overlay.unlocked {
  animation: gateReveal 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes gateReveal {
  0% { clip-path: circle(150% at 50% 50%); opacity: 1; }
  100% { clip-path: circle(0% at 50% 50%); opacity: 0; }
}


/* ==========================
   NAVIGATION
   ========================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.nav-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-green), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-brand-role {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--deep-green) !important;
  border-color: var(--deep-green) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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);
}

/* Mobile Nav Panel */
.mobile-nav-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav-panel.open {
  display: flex;
}

.mobile-nav-panel a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.mobile-nav-panel a:hover { color: var(--white); }


/* ==========================
   HERO SECTIONS
   ========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(15,61,46,0.85) 50%, rgba(13,27,42,0.95) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.6) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 120px 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px 0 100px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--saffron-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 30px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-title .highlight {
  color: var(--saffron-soft);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.hero-image-frame {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 420px;
  height: 520px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  z-index: 2;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-image-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,122,32,0.2), transparent);
  right: 15%;
  top: 20%;
  z-index: 1;
  filter: blur(60px);
}

/* Page Hero (Inner Pages) */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--navy);
  overflow: hidden;
}

.page-hero .hero-bg-overlay {
  background: linear-gradient(180deg, rgba(13,27,42,0.95) 0%, rgba(15,61,46,0.9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .sep { opacity: 0.3; }

.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-desc {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  line-height: 1.7;
}


/* ==========================
   BUTTONS
   ========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-green), var(--forest));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15,61,46,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.1em;
  transition: transform 0.3s;
}

.btn:hover .btn-icon { transform: translateX(3px); }


/* ==========================
   SECTION LAYOUTS
   ========================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--alt {
  background: var(--pearl);
}

.section--green {
  background: var(--deep-green);
  color: var(--white);
}

.section--green h2,
.section--green h3 {
  color: var(--white);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 16px;
}

.section-label .line {
  width: 30px;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  max-width: 700px;
}

.section-desc {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.section--dark .section-desc,
.section--green .section-desc {
  color: rgba(255,255,255,0.55);
}


/* ==========================
   CONTENT GRID LAYOUTS
   ========================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

/* ==========================
   CARDS
   ========================== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(15,61,46,0.08), rgba(42,125,90,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.card--dark .card-icon {
  background: linear-gradient(135deg, rgba(232,122,32,0.15), rgba(244,169,69,0.1));
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.card--dark .card-text {
  color: rgba(255,255,255,0.55);
}

/* Numbered Card */
.card-numbered {
  position: relative;
  padding-left: 80px;
}

.card-number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(15,61,46,0.08);
  line-height: 1;
}

.card--dark .card-number {
  color: rgba(255,255,255,0.06);
}

/* ==========================
   TIMELINE
   ========================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--deep-green), var(--saffron), var(--deep-green));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 50px;
  padding-left: 30px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--deep-green);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 3px var(--deep-green);
}

.timeline-item:first-child .timeline-dot {
  background: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron), 0 0 20px rgba(232,122,32,0.3);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-green);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-role {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Dark timeline */
.section--dark .timeline::before {
  background: linear-gradient(to bottom, var(--saffron), rgba(255,255,255,0.2), var(--saffron));
}
.section--dark .timeline-dot {
  background: var(--saffron);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--saffron);
}
.section--dark .timeline-year { color: var(--saffron-soft); }
.section--dark .timeline-role { color: var(--white); }
.section--dark .timeline-desc { color: rgba(255,255,255,0.55); }


/* ==========================
   IMAGE FRAMES
   ========================== */
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-deep);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--pearl);
}

.img-frame--portrait {
  aspect-ratio: 3/4;
}

.img-frame--landscape {
  aspect-ratio: 16/10;
}

.img-frame--square {
  aspect-ratio: 1;
}

.img-frame-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 15px;
  left: 15px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--deep-green);
  z-index: -1;
  opacity: 0.3;
}


/* ==========================
   QUOTE / BLOCKQUOTE
   ========================== */
.blockquote {
  position: relative;
  padding: 40px 40px 40px 60px;
  background: rgba(15,61,46,0.03);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--deep-green);
  margin: 40px 0;
}

.blockquote::before {
  content: '\201C';
  position: absolute;
  left: 20px;
  top: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--deep-green);
  opacity: 0.2;
  line-height: 1;
}

.blockquote p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 0;
}


/* ==========================
   RICH TEXT CONTENT
   ========================== */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 2rem;
  margin-top: 50px;
  margin-bottom: 20px;
}

.prose h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.prose p {
  font-size: 1.02rem;
  color: var(--slate);
  line-height: 1.85;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 1.5em;
}

.prose li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--deep-green);
}


/* ==========================
   FEATURE SPLIT
   ========================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.feature-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}

.feature-split-image {
  position: relative;
  overflow: hidden;
}

.feature-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================
   STAT BARS
   ========================== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.stat-block {
  text-align: center;
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--saffron-soft);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}


/* ==========================
   ACCORDION
   ========================== */
.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px 0;
}

.section--dark .accordion-item {
  border-color: rgba(255,255,255,0.08);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  font-weight: 600;
}

.section--dark .accordion-trigger { color: var(--white); }

.accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15,61,46,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.section--dark .accordion-icon {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-body {
  max-height: 600px;
  padding-top: 16px;
}

.accordion-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

.section--dark .accordion-body p {
  color: rgba(255,255,255,0.5);
}


/* ==========================
   CONTACT FORM
   ========================== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--deep-green);
  box-shadow: 0 0 0 3px rgba(15,61,46,0.08);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

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


/* ==========================
   FOOTER
   ========================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-brand-role {
  font-size: 0.75rem;
  color: var(--saffron-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.footer-contact-icon {
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.5;
}

.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter-input {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter-input input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
}

.footer-newsletter-input input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer-newsletter-input button {
  padding: 12px 20px;
  background: var(--deep-green);
  border: none;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-newsletter-input button:hover {
  background: var(--forest);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--deep-green);
  border-color: var(--deep-green);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-credit a {
  color: var(--saffron-soft);
  font-weight: 600;
}

.footer-credit a:hover { text-decoration: underline; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--deep-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--forest);
  transform: translateY(-3px);
}


/* ==========================
   SCROLL ANIMATIONS
   ========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


/* ==========================
   PARALLAX
   ========================== */
.parallax-bg {
  position: absolute;
  inset: -50px;
  background-size: cover;
  background-position: center;
  will-change: transform;
}


/* ==========================
   RESPONSIVE
   ========================== */
@media (max-width: 1024px) {
  .hero-image-frame {
    width: 340px;
    height: 420px;
  }

  .grid-2, .grid-asymmetric, .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .feature-split {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

  .hero-image-frame { display: none; }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .feature-split-content {
    padding: 50px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card-numbered {
    padding-left: 0;
    padding-top: 50px;
  }

  .card-number {
    position: relative;
  }
}

@media (max-width: 480px) {
  .gate-card {
    padding: 36px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================
   PAGE-SPECIFIC ENHANCEMENTS
   ========================== */

/* About Page — Layered Bio */
.bio-layered {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.bio-image-stack {
  position: relative;
  height: 480px;
}

.bio-image-stack .img-frame:first-child {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.bio-image-stack .img-accent-card {
  position: absolute;
  bottom: -20px;
  right: -30px;
  z-index: 3;
  background: var(--deep-green);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
}

.bio-image-stack .img-accent-card .accent-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.bio-image-stack .img-accent-card .accent-label {
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .bio-layered {
    grid-template-columns: 1fr;
  }
  .bio-image-stack {
    max-width: 380px;
    margin: 0 auto;
  }
}


/* Governance — Duties Grid */
.duties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.duty-card {
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.duty-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}

.duty-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 16px;
}

.duty-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.duty-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}


/* Contact — Split Layout */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  padding: 40px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.contact-detail a:hover { color: var(--white); }

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}


/* ==========================
   INSIGHTS PAGE — Article Cards
   ========================== */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.article-card-image {
  height: 220px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 30px;
}

.article-card-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(15,61,46,0.06);
  color: var(--deep-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 14px;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.78rem;
  color: var(--muted);
}


/* ==========================
   POLICY IMPACT BAR
   ========================== */
.impact-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.impact-bar-label {
  width: 200px;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.impact-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(15,61,46,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.impact-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--deep-green), var(--emerald));
  border-radius: 4px;
  transition: width 1.5s ease;
}

.impact-bar-value {
  width: 50px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-green);
}


/* ==========================
   LOADING SKELETON
   ========================== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}


/* ==========================
   MISC UTILITIES
   ========================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.pt-0 { padding-top: 0; }
.opacity-50 { opacity: 0.5; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
