/* =========================================
   N. Padmanabhan — Premium Website Styles
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0a1628;
  --navy-light: #121f36;
  --charcoal: #1e2a3a;
  --charcoal-light: #2a3a4e;
  --ivory: #f5f0e8;
  --ivory-dark: #e8e0d0;
  --gold: #c9a84c;
  --gold-muted: #b8954a;
  --gold-light: #d4b85c;
  --white: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-light: #8a8a9a;
  --text-on-dark: #e0dcd4;
  --border-light: rgba(201, 168, 76, 0.15);
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --max-width: 1400px;
  --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::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;
}

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

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

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

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.01em;
}

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 72ch;
}

.accent-font {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

.gold-text {
  color: var(--gold);
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
}

/* ---------- Password Page ---------- */
.password-page {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

.password-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
}

.password-bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.password-bg-lines span {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.06), transparent);
}

.password-bg-lines span:nth-child(1) { left: 20%; animation: lineFloat 8s ease-in-out infinite; }
.password-bg-lines span:nth-child(2) { left: 40%; animation: lineFloat 12s ease-in-out infinite 2s; }
.password-bg-lines span:nth-child(3) { left: 60%; animation: lineFloat 10s ease-in-out infinite 4s; }
.password-bg-lines span:nth-child(4) { left: 80%; animation: lineFloat 14s ease-in-out infinite 1s; }

@keyframes lineFloat {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-20px); }
}

.password-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem;
  animation: fadeInUp 1s ease-out;
}

.password-emblem {
  width: 70px;
  height: 70px;
  margin: 0 auto 2rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: emblemPulse 3s ease-in-out infinite;
}

.password-emblem svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

@keyframes emblemPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.3); }
  50% { box-shadow: 0 0 0 15px rgba(201, 168, 76, 0); }
}

.password-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.password-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 3rem;
}

.password-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.password-input-wrap {
  position: relative;
  width: 320px;
}

.password-input-wrap input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 4px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-align: center;
  outline: none;
  transition: all var(--transition-med);
}

.password-input-wrap input::placeholder {
  color: rgba(245, 240, 232, 0.25);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

.password-input-wrap input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.1);
}

.password-submit {
  width: 320px;
  padding: 0.9rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.password-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
  z-index: -1;
}

.password-submit:hover {
  color: var(--navy);
}

.password-submit:hover::before {
  transform: scaleX(1);
}

.password-error {
  color: #e74c3c;
  font-size: 0.85rem;
  min-height: 1.5em;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.password-error.visible {
  opacity: 1;
  animation: shake 0.5s ease;
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 3rem;
  transition: all var(--transition-med);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ivory);
  letter-spacing: 0.02em;
}

.logo-text span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 1px;
}

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

.main-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-med);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ivory);
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ivory);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-med);
}

.mobile-nav.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav a:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav a:nth-child(8) { transition-delay: 0.45s; }

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.85) 100%);
  z-index: 2;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem;
  padding-top: var(--header-height);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
}

.hero-text {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

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

.hero-text h1 {
  color: var(--ivory);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text h1 em {
  font-family: var(--font-accent);
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-text {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image-frame {
  position: relative;
  width: 420px;
  height: 520px;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  filter: contrast(1.05);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Section Base ---------- */
.section {
  padding: 7rem 3rem;
}

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

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

.section-dark p {
  color: var(--text-on-dark);
}

.section-charcoal {
  background: var(--charcoal);
  color: var(--ivory);
}

.section-charcoal h2,
.section-charcoal h3 {
  color: var(--ivory);
}

.section-charcoal p {
  color: var(--text-on-dark);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header .label {
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
}

.section-header-center {
  text-align: center;
}

.section-header-center p {
  margin: 0 auto;
}

/* ---------- Animated Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* ---------- Introduction Block ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.intro-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.intro-text h2 {
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
}

.intro-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(201, 168, 76, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

.intro-highlight p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  max-width: none;
}

/* ---------- Highlights / Cards ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.highlight-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.highlight-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Role / ED Section ---------- */
.role-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}

.role-content h2 {
  margin-bottom: 1.5rem;
}

.role-content > p {
  margin-bottom: 2rem;
}

.role-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.role-detail-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.role-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.role-detail h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.role-detail p {
  font-size: 0.9rem;
}

.role-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.role-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 2.5rem;
}

.role-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.role-info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.role-info-item:last-child {
  border-bottom: none;
}

.role-info-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.role-info-value {
  font-size: 0.95rem;
  color: var(--ivory);
  text-align: right;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 168, 76, 0.1));
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

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

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 11px;
  height: 11px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-5px);
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px rgba(201, 168, 76, 0.3);
}

.section-dark .timeline-dot {
  box-shadow: 0 0 0 4px var(--navy), 0 0 0 5px rgba(201, 168, 76, 0.3);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  color: var(--ivory);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 240, 232, 0.3);
  border-radius: 50%;
  background: none;
  color: var(--ivory);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Featured / Insight Cards ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.insight-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  transition: all var(--transition-med);
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.insight-card .label {
  margin-bottom: 1rem;
}

.insight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.insight-card p {
  font-size: 0.95rem;
}

.insight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition-fast);
}

.insight-card-link:hover {
  gap: 0.75rem;
}

.insight-card-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* ---------- Updates / News ---------- */
.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.update-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  transition: all var(--transition-med);
}

.update-item:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.update-date {
  min-width: 80px;
  text-align: center;
}

.update-date-day {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.update-date-month {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-top: 0.25rem;
}

.update-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.update-content p {
  font-size: 0.9rem;
}

/* ---------- CTA Block ---------- */
.cta-block {
  text-align: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.08), transparent 70%);
}

.cta-block h2 {
  color: var(--ivory);
  margin-bottom: 1rem;
  position: relative;
}

.cta-block p {
  color: var(--text-on-dark);
  margin: 0 auto 2rem;
  position: relative;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-med);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
}

.contact-info-item a {
  color: var(--gold);
  transition: color var(--transition-fast);
}

.contact-info-item a:hover {
  color: var(--gold-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Map Section ---------- */
.map-section {
  width: 100%;
  height: 400px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) contrast(1.1);
  opacity: 0.7;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand p {
  color: var(--text-on-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 350px;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(245, 240, 232, 0.6);
  transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credit {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer-credit a {
  color: var(--gold-muted);
  transition: color var(--transition-fast);
}

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

.footer-contact-line {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer-contact-line a {
  color: rgba(245, 240, 232, 0.5);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  position: relative;
  padding: 10rem 3rem 5rem;
  background: var(--navy);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}

.page-hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero .label {
  margin-bottom: 1rem;
  display: block;
}

.page-hero h1 {
  color: var(--ivory);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-on-dark);
  font-size: 1.15rem;
  max-width: 600px;
}

.page-hero-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-top: 2rem;
}

/* ---------- About Page Specifics ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.about-image-stack {
  position: relative;
}

.about-image-main {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: auto;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-value {
  padding: 1.5rem;
  background: rgba(201, 168, 76, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.about-value h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.about-value p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ---------- Contributions Page ---------- */
.contribution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.contribution-block:nth-child(even) {
  direction: rtl;
}

.contribution-block:nth-child(even) > * {
  direction: ltr;
}

.contribution-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(201, 168, 76, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.contribution-block h3 {
  margin-bottom: 1rem;
}

.contribution-block p {
  margin-bottom: 1rem;
}

.contribution-visual {
  position: relative;
  background: var(--charcoal);
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.contribution-visual-stat {
  text-align: center;
}

.contribution-visual-stat .number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
}

.contribution-visual-stat .text {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Media Page ---------- */
.media-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.media-featured-image {
  border-radius: 8px;
  overflow: hidden;
}

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

.media-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-item {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  transition: all var(--transition-med);
}

.media-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.media-item-date {
  min-width: 100px;
  font-size: 0.8rem;
  color: var(--text-light);
  padding-top: 0.3rem;
}

.media-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.media-item p {
  font-size: 0.9rem;
}

/* ---------- Video Section ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.video-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--charcoal);
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.7;
  transition: all var(--transition-med);
}

.video-card:hover img {
  opacity: 0.5;
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-med);
}

.video-card:hover .video-play-btn {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.2);
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--ivory);
  margin-left: 3px;
}

.video-card:hover .video-play-btn svg {
  fill: var(--gold);
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
}

.video-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ivory);
  font-weight: 500;
}

/* ---------- Counters ---------- */
.counter-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-item {
  padding: 2rem;
}

.counter-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-text {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.counter-divider {
  width: 30px;
  height: 1px;
  background: rgba(201, 168, 76, 0.3);
  margin: 0.75rem auto 0;
}

/* ---------- Quote Block ---------- */
.quote-block {
  text-align: center;
  padding: 5rem 3rem;
  position: relative;
}

.quote-block::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(201, 168, 76, 0.15);
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--ivory);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.quote-block cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--gold-muted);
  letter-spacing: 0.1em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image-frame {
    width: 300px;
    height: 380px;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

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

  .intro-grid,
  .about-split,
  .contact-grid,
  .role-grid,
  .contribution-block,
  .media-featured {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contribution-block:nth-child(even) {
    direction: ltr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

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

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

  .gallery-item.tall {
    grid-row: auto;
  }

  .gallery-item.wide {
    grid-column: auto;
  }

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

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

  .section {
    padding: 5rem 1.5rem;
  }

  .site-header {
    padding: 0 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .hero-image-frame {
    width: 260px;
    height: 340px;
  }

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

  .counter-section {
    grid-template-columns: 1fr;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .password-input-wrap,
  .password-submit {
    width: 280px;
  }

  .page-hero {
    padding: 8rem 1.5rem 3rem;
  }
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
