/* ============================================================
   KAMBHAMPATI HARI BABU — OFFICIAL LEADERSHIP PLATFORM
   Ultra-Premium Design System
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --navy-deep: #0a1628;
  --navy: #0f2044;
  --navy-light: #1a3366;
  --navy-muted: #243b6a;

  /* Sandstone & Temple Tones */
  --sandstone: #c9a96e;
  --sandstone-light: #dcc9a1;
  --sandstone-pale: #f0e6d3;
  --temple-gold: #b8922f;
  --temple-warm: #d4a843;

  /* Saffron Accents */
  --saffron: #e8842a;
  --saffron-subtle: #f4a54a;
  --saffron-glow: rgba(232, 132, 42, 0.15);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f6f1;
  --cream: #faf8f3;
  --gray-100: #f3f1ec;
  --gray-200: #e5e2db;
  --gray-300: #ccc8be;
  --gray-400: #9e9a90;
  --gray-500: #6e6b63;
  --gray-600: #4a4840;
  --gray-700: #2d2b26;
  --black: #111111;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-dark: rgba(10, 22, 40, 0.7);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 12rem;

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 16px 64px rgba(10, 22, 40, 0.16);
  --shadow-glow: 0 0 40px rgba(200, 169, 110, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.7s;

  /* Layout */
  --container-max: 1340px;
  --container-narrow: 900px;
  --container-wide: 1600px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-deep);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h5 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
h6 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sandstone);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--sandstone);
}

.lead-text {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.8;
  color: var(--gray-500);
  max-width: 680px;
}

.body-large {
  font-size: 1.1rem;
  line-height: 1.9;
}

blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--sandstone);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
  line-height: 1.6;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

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

.section {
  padding: var(--space-4xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- PASSWORD / AUTH PAGE --- */
.auth-page {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  overflow: hidden;
}

.auth-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 30%, var(--sandstone) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, var(--saffron) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--sandstone-light) 0.5px, transparent 0.5px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
  animation: patternFloat 30s linear infinite;
}

@keyframes patternFloat {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
  100% { transform: translateY(0) translateX(0); }
}

.auth-ambient-1,
.auth-ambient-2,
.auth-ambient-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.auth-ambient-1 {
  width: 500px;
  height: 500px;
  background: rgba(200, 169, 110, 0.08);
  top: -10%;
  right: -5%;
  animation: ambientPulse 8s ease-in-out infinite;
}

.auth-ambient-2 {
  width: 400px;
  height: 400px;
  background: rgba(232, 132, 42, 0.05);
  bottom: -10%;
  left: -5%;
  animation: ambientPulse 10s ease-in-out infinite reverse;
}

.auth-ambient-3 {
  width: 300px;
  height: 300px;
  background: rgba(15, 32, 68, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ambientPulse 12s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  text-align: center;
  animation: cardReveal 1s var(--ease-out) forwards;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-emblem {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(135deg, var(--sandstone) 0%, var(--temple-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(200, 169, 110, 0.3);
}

.auth-emblem svg {
  width: 36px;
  height: 36px;
  fill: var(--white);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-2xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auth-input-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.auth-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.15em;
  transition: all var(--duration-normal) var(--ease-out);
  outline: none;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

.auth-input:focus {
  border-color: var(--sandstone);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(200, 169, 110, 0.15);
}

.auth-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.35;
}

.auth-input-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}

.auth-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--sandstone) 0%, var(--temple-gold) 100%);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.auth-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--temple-warm) 0%, var(--saffron) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.auth-submit:hover::before {
  opacity: 1;
}

.auth-submit span {
  position: relative;
  z-index: 1;
}

.auth-error {
  display: none;
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: var(--space-md);
  animation: shake 0.5s var(--ease-out);
}

.auth-error.visible {
  display: block;
}

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

.auth-success {
  display: none;
}

.auth-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.auth-success-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s var(--ease-out);
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.auth-success-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* --- NAVIGATION --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--duration-normal) var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sandstone) 0%, var(--temple-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--sandstone);
  transition: width var(--duration-normal) var(--ease-out);
}

.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(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-sm);
  color: var(--sandstone-light) !important;
  transition: all var(--duration-normal) var(--ease-out) !important;
}

.nav-cta:hover {
  background: rgba(200, 169, 110, 0.25) !important;
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

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

.hero-bg-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%23c9a96e' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(10, 22, 40, 0.5) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  max-width: 640px;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--sandstone);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--sandstone);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xl);
}

.hero-title .highlight {
  color: var(--sandstone-light);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-meta {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.hero-meta-item {
  text-align: left;
}

.hero-meta-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sandstone-light);
  line-height: 1;
}

.hero-meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image-frame {
  position: relative;
  width: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(200,169,110,0.08) 0%, rgba(15,32,68,0.15) 100%);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 80%, rgba(10, 22, 40, 0.3) 100%);
  pointer-events: none;
}

.hero-image-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-lg);
  bottom: -30px;
  left: -30px;
  z-index: -1;
}

.hero-image-badge {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  z-index: 3;
}

.hero-image-badge-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
}

.hero-image-badge-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sandstone) 0%, var(--temple-gold) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 110, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--sandstone);
  color: var(--sandstone-light);
}

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

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

.btn-light {
  background: var(--white);
  color: var(--navy-deep);
  border: 1px solid var(--gray-200);
}

.btn-light:hover {
  border-color: var(--sandstone);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* --- CARDS --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sandstone-light);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--sandstone-pale) 0%, var(--sandstone-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--navy-deep);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.card-text {
  color: var(--gray-500);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* --- DARK SECTION --- */
.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}

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

.section-dark .lead-text {
  color: rgba(255, 255, 255, 0.5);
}

.section-dark .card-title {
  color: var(--white);
}

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

/* Cards with white/light backgrounds inside dark sections keep dark text */
.section-dark .feature-side .card-title {
  color: var(--navy-deep);
}

.section-dark .feature-side .card-text {
  color: var(--gray-500);
}

/* --- SANDSTONE SECTION --- */
.section-sandstone {
  background: var(--sandstone-pale);
}

/* --- TIMELINE --- */
.timeline {
  position: relative;
  padding: var(--space-2xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--sandstone) 0%, var(--sandstone-light) 100%);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
  padding-right: var(--space-xl);
}

.timeline-item:nth-child(odd) .timeline-spacer {
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
  padding-left: var(--space-xl);
}

.timeline-item:nth-child(even) .timeline-spacer {
  grid-column: 1;
}

.timeline-marker {
  grid-column: 2;
  width: 20px;
  height: 20px;
  background: var(--sandstone);
  border: 4px solid var(--off-white);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sandstone);
  margin-bottom: var(--space-xs);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

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

/* --- GOVERNANCE STATS BAR --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-2xl) 0;
}

.stat-item {
  background: var(--white);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-sm);
}

/* --- FEATURE GRID (Asymmetric) --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.feature-grid .feature-main {
  grid-column: 1;
  grid-row: 1 / 2;
}

.feature-grid .feature-side-stack {
  grid-column: 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.feature-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-main:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-main-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.feature-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.feature-main:hover .feature-main-image img {
  transform: scale(1.03);
}

.feature-main-content {
  padding: var(--space-2xl);
}

.feature-side {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-side:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* --- CONTENT SECTIONS --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.content-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 169, 110, 0.15);
}

.content-body h2 {
  margin-bottom: var(--space-lg);
}

.content-body p {
  margin-bottom: var(--space-lg);
  color: var(--gray-500);
  line-height: 1.9;
}

.content-body p:last-child {
  margin-bottom: 0;
}

/* --- QUOTE BANNER --- */
.quote-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '\201C';
  position: absolute;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(200, 169, 110, 0.05);
  top: -60px;
  left: 5%;
  line-height: 1;
}

.quote-banner blockquote {
  color: var(--white);
  border-left-color: var(--sandstone);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--space-2xl);
}

.quote-banner cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--sandstone);
  margin-top: var(--space-lg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- PAGE HERO (Interior) --- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--navy-deep);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

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

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(10, 22, 40, 0.8) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  line-height: 1.7;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-xl);
}

.page-hero-breadcrumb a {
  color: var(--sandstone);
}

.page-hero-breadcrumb span {
  opacity: 0.5;
}

/* --- LONG FORM CONTENT --- */
.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.prose h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.prose p {
  margin-bottom: var(--space-lg);
  color: var(--gray-600);
  line-height: 1.9;
  font-size: 1.05rem;
}

.prose ul, .prose ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: var(--space-sm);
  color: var(--gray-600);
  line-height: 1.8;
}

.prose img {
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
}

.prose-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
}

.prose-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--gray-200);
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-md);
  font-weight: 600;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-list li {
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list li strong {
  color: var(--navy-deep);
  font-weight: 600;
}

/* --- IMPACT METRICS --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.impact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(200, 169, 110, 0.2);
}

.impact-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--sandstone-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.impact-title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.impact-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* --- INSIGHTS / ARTICLES --- */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out);
}

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

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

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.article-card-body {
  padding: var(--space-xl);
}

.article-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sandstone);
  margin-bottom: var(--space-sm);
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-md);
  font-weight: 600;
  line-height: 1.3;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.article-card-meta {
  font-size: 0.78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* --- MEDIA GALLERY --- */
.media-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: var(--space-md);
}

.media-mosaic-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
  background: var(--navy);
}

.media-mosaic-item:hover {
  transform: scale(1.02);
  z-index: 2;
}

.media-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.media-mosaic-item.span-2 {
  grid-column: span 2;
}

.media-mosaic-item.span-row {
  grid-row: span 2;
}

.media-mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

.media-mosaic-item:hover .media-mosaic-overlay {
  opacity: 1;
}

.media-mosaic-caption {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(200, 169, 110, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--sandstone-light);
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--white);
}

.contact-info-value a {
  color: var(--sandstone-light);
  transition: color var(--duration-fast);
}

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

.contact-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.contact-social a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-social a:hover {
  background: rgba(200, 169, 110, 0.2);
  border-color: var(--sandstone);
}

.contact-social a svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  border: 1px solid var(--gray-200);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  color: var(--navy-deep);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--sandstone);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--saffron-glow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding-top: var(--space-4xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--sandstone) 50%, transparent 100%);
  opacity: 0.3;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-brand-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sandstone) 0%, var(--temple-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer-newsletter {
  display: flex;
  gap: var(--space-sm);
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

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

.footer-newsletter input:focus {
  border-color: var(--sandstone);
}

.footer-newsletter button {
  padding: 12px 20px;
  background: var(--sandstone);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--duration-fast);
}

.footer-newsletter button:hover {
  background: var(--temple-warm);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sandstone);
  margin-bottom: var(--space-xl);
}

.footer-links li {
  margin-bottom: var(--space-md);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--sandstone);
  min-width: 16px;
}

.footer-bottom {
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-credit {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit a {
  color: var(--sandstone);
  font-weight: 500;
}

.footer-credit a:hover {
  color: var(--sandstone-light);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--sandstone);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.5);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--navy-deep);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 999;
  cursor: pointer;
}

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

.back-to-top:hover {
  background: var(--sandstone);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* --- PARALLAX --- */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr 0.9fr;
    gap: var(--space-2xl);
  }

  .hero-image-frame {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-label {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image-wrapper {
    justify-content: center;
  }

  .hero-image-frame {
    width: 400px;
  }

  .hero-image-badge {
    left: 10px;
    bottom: 20px;
  }

  .grid-2,
  .content-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .content-split.reverse {
    direction: ltr;
  }

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

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

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

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

  .feature-grid .feature-main,
  .feature-grid .feature-side-stack {
    grid-column: 1;
    grid-row: auto;
  }

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

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

  .prose-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .prose-sidebar {
    position: static;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
  }

  .timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-marker {
    grid-column: 1;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
    padding-left: var(--space-lg);
    padding-right: 0;
  }

  .timeline-spacer {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --space-4xl: 5rem;
  }

  .hero-image-frame {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .stats-bar {
    grid-template-columns: 1fr;
  }

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

  .media-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .media-mosaic-item.span-2 {
    grid-column: span 1;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .auth-card {
    margin: var(--space-lg);
    padding: var(--space-2xl) var(--space-lg);
  }
}

/* --- LOADING TRANSITION --- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-transition.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(200, 169, 110, 0.15);
  border-top-color: var(--sandstone);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* --- CUSTOM SELECTION --- */
::selection {
  background: var(--sandstone);
  color: var(--white);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* --- PRINT --- */
@media print {
  .site-nav,
  .back-to-top,
  .page-transition {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
