/* ===================================================
   TARIQ PREMJI — Personal Profile Website
   Premium Corporate Design System
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --deep-blue: #0B1D3A;
  --navy: #132D5E;
  --royal-blue: #1B4F9E;
  --accent-blue: #2563EB;
  --light-blue: #3B82F6;
  --soft-blue: #DBEAFE;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --soft-grey: #F1F5F9;
  --mid-grey: #E2E8F0;
  --slate: #94A3B8;
  --charcoal: #334155;
  --dark: #1E293B;

  /* Accents */
  --gold: #D4A853;
  --gold-light: #F5E6C8;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 120px);
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Border Radius */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11,29,58,0.06);
  --shadow-md: 0 4px 20px rgba(11,29,58,0.08);
  --shadow-lg: 0 12px 40px rgba(11,29,58,0.12);
  --shadow-xl: 0 20px 60px rgba(11,29,58,0.16);
  --shadow-card: 0 8px 30px rgba(11,29,58,0.07);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 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(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===================================================
   PASSWORD GATE
   =================================================== */
#gate-section {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-blue);
  overflow: hidden;
}

.gate-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(37,99,235,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(27,79,158,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(11,29,58,1) 0%, rgba(19,45,94,1) 100%);
}

/* Animated grid lines */
.gate-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Floating orbs */
.gate-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 8s ease-in-out infinite;
}

.gate-orb--1 {
  width: 400px;
  height: 400px;
  background: var(--royal-blue);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.gate-orb--2 {
  width: 300px;
  height: 300px;
  background: var(--accent-blue);
  bottom: -80px;
  left: -60px;
  animation-delay: -3s;
}

.gate-orb--3 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  animation-delay: -5s;
}

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

.gate-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 460px;
  animation: gateReveal 1s var(--ease) both;
}

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

.gate-monogram {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 2px solid rgba(212,168,83,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,83,0.08);
}

.gate-monogram span {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.gate-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.gate-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gate-input-wrap {
  position: relative;
}

.gate-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  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-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 2px;
  outline: none;
  transition: all 0.3s var(--ease);
}

.gate-input::placeholder {
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  font-size: 13px;
}

.gate-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.15);
}

.gate-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  transition: color 0.3s var(--ease);
}

.gate-input:focus ~ .gate-input-icon {
  color: var(--gold);
}

.gate-submit {
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, #C29340 100%);
  color: var(--deep-blue);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.gate-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,168,83,0.35);
}

.gate-submit:active {
  transform: translateY(0);
}

.gate-error {
  color: #F87171;
  font-size: 13px;
  font-weight: 500;
  min-height: 20px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s var(--ease);
}

.gate-error.visible {
  opacity: 1;
  transform: translateY(0);
}

.gate-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.gate-divider span {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.gate-divider::before,
.gate-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.gate-footer-text {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* Gate exit animation */
#gate-section.gate-exit {
  animation: gateExit 0.8s var(--ease) forwards;
}

@keyframes gateExit {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); pointer-events: none; }
}

/* ===================================================
   MAIN SITE (hidden until authenticated)
   =================================================== */
#main-site {
  display: none;
  opacity: 0;
}

#main-site.visible {
  display: block;
  animation: siteReveal 1s var(--ease) 0.4s both;
}

@keyframes siteReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 20px rgba(11,29,58,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-blue);
  transition: transform 0.3s var(--ease);
}

.nav-logo:hover .nav-logo-mark {
  transform: scale(1.08);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color 0.3s var(--ease);
}

.navbar.scrolled .nav-logo-text {
  color: var(--deep-blue);
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.navbar.scrolled .nav-links a {
  color: var(--charcoal);
}

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

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

.navbar.scrolled .nav-links a:hover {
  color: var(--deep-blue);
}

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

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

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

.navbar.scrolled .nav-toggle span {
  background: var(--deep-blue);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 80% 50%, rgba(27,79,158,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 80% 120% at 20% 80%, rgba(37,99,235,0.15) 0%, transparent 60%),
    linear-gradient(170deg, var(--deep-blue) 0%, var(--navy) 40%, #0F2850 100%);
}

/* Geometric decorative lines */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.08;
}

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  height: 1px;
}

.hero-lines::before {
  width: 60%;
  top: 30%;
  left: -10%;
  transform: rotate(-8deg);
  animation: lineDrift 12s ease-in-out infinite;
}

.hero-lines::after {
  width: 40%;
  bottom: 25%;
  right: -5%;
  transform: rotate(5deg);
  animation: lineDrift 15s ease-in-out infinite reverse;
}

@keyframes lineDrift {
  0%, 100% { opacity: 0.3; transform: translateX(0) rotate(-8deg); }
  50% { opacity: 0.8; transform: translateX(40px) rotate(-5deg); }
}

/* Decorative dots pattern */
.hero-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  right: 8%;
  bottom: 15%;
  opacity: 0.06;
  background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  animation: heroTextIn 1.2s var(--ease) both;
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(212,168,83,0.12);
  border: 1px solid rgba(212,168,83,0.25);
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-tag span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-name .last-name {
  display: block;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C878 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  color: var(--slate);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-description {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--gold) 0%, #C29340 100%);
  color: var(--deep-blue);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212,168,83,0.3);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  animation: heroImgIn 1.4s var(--ease) 0.3s both;
}

@keyframes heroImgIn {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(212,168,83,0.2);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold), transparent);
  border-radius: var(--radius);
  opacity: 0.15;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

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

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(212,168,83,0.5), transparent);
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent-blue);
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Fade-in animation class (via JS IntersectionObserver) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

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

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about {
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

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

.about-image-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(11,29,58,0.9), transparent);
}

.about-image-overlay p {
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.about-accent-box {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  border: 2px solid var(--soft-blue);
  border-radius: var(--radius);
  z-index: -1;
}

.about-accent-dots {
  position: absolute;
  bottom: -30px;
  left: -25px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--accent-blue) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.15;
}

.about-text-col {
  padding-top: 20px;
}

.about-intro {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--deep-blue);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.about-text {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-text:last-of-type {
  margin-bottom: 32px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--soft-grey);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}

.about-info-item:hover {
  background: var(--soft-blue);
  transform: translateY(-2px);
}

.about-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.about-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
}

.about-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-blue);
  margin-top: 2px;
}

/* ===================================================
   PHILANTHROPY SECTION
   =================================================== */
.philanthropy {
  background: var(--off-white);
  position: relative;
}

.philanthropy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-blue), var(--accent-blue), var(--gold));
}

.philanthropy-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.philanthropy-intro p {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--charcoal);
  line-height: 1.85;
}

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

.philanthropy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,29,58,0.04);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
}

.philanthropy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--royal-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.philanthropy-card:hover::before {
  transform: scaleX(1);
}

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

.philanthropy-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--gold), #E8C878);
}

.philanthropy-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--deep-blue), var(--navy));
}

.philanthropy-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  background: var(--soft-blue);
  color: var(--accent-blue);
  transition: all 0.3s var(--ease);
}

.philanthropy-card:nth-child(2) .philanthropy-card-icon {
  background: var(--gold-light);
  color: var(--gold);
}

.philanthropy-card:nth-child(3) .philanthropy-card-icon {
  background: rgba(11,29,58,0.08);
  color: var(--deep-blue);
}

.philanthropy-card:hover .philanthropy-card-icon {
  transform: scale(1.1);
}

.philanthropy-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 14px;
  line-height: 1.3;
}

.philanthropy-card-text {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 16px;
}

.philanthropy-card-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--soft-grey);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.5px;
}

.philanthropy-card:nth-child(2) .philanthropy-card-role {
  color: #B8860B;
  background: var(--gold-light);
}

.philanthropy-card:nth-child(3) .philanthropy-card-role {
  color: var(--deep-blue);
  background: rgba(11,29,58,0.06);
}

/* Bottom narrative */
.philanthropy-narrative {
  margin-top: 50px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.philanthropy-narrative p {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.85;
}

/* ===================================================
   LEADERSHIP SECTION
   =================================================== */
.leadership {
  background: var(--white);
  overflow: hidden;
}

.leadership-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.leadership-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 20px;
  line-height: 1.3;
}

.leadership-content p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 18px;
}

.leadership-highlight {
  padding: 28px;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.leadership-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212,168,83,0.15), transparent);
  border-radius: 50%;
}

.leadership-highlight p {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin: 0;
}

.leadership-visual {
  position: relative;
}

.leadership-visual-card {
  background: var(--soft-grey);
  border-radius: var(--radius);
  padding: 50px 40px;
  position: relative;
}

.leadership-visual-card::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 var(--radius-xs) 0 0;
  opacity: 0.3;
}

.leadership-role-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--mid-grey);
}

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

.leadership-role-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--deep-blue);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.leadership-role-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 6px;
}

.leadership-role-desc {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

/* ===================================================
   LEGACY SECTION
   =================================================== */
.legacy {
  background: var(--deep-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.legacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(37,99,235,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 20% 80%, rgba(212,168,83,0.06) 0%, transparent 60%);
}

.legacy .section-label {
  color: var(--gold);
}

.legacy .section-label::before,
.legacy .section-label::after {
  background: var(--gold);
}

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

.legacy .section-subtitle {
  color: rgba(255,255,255,0.55);
}

.legacy-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.legacy-quote {
  text-align: center;
  padding: 40px;
  margin-bottom: 50px;
  position: relative;
}

.legacy-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 120px;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.legacy-quote p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  position: relative;
}

.legacy-quote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

.legacy-text-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.legacy-block {
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.legacy-block:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,83,0.2);
}

.legacy-block h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.legacy-block p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Timeline accent */
.legacy-timeline-accent {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.legacy-year-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.legacy-year-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* ===================================================
   KEY HIGHLIGHTS SECTION
   =================================================== */
.highlights {
  background: var(--off-white);
  position: relative;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,29,58,0.04);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.highlight-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.highlight-card:hover::after {
  transform: scaleX(1);
}

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

.highlight-card:nth-child(2)::after {
  background: var(--gold);
}

.highlight-card:nth-child(3)::after {
  background: var(--deep-blue);
}

.highlight-card:nth-child(4)::after {
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
}

.highlight-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
  background: var(--soft-blue);
  color: var(--accent-blue);
  transition: all 0.3s var(--ease);
}

.highlight-card:nth-child(2) .highlight-icon {
  background: var(--gold-light);
  color: var(--gold);
}

.highlight-card:nth-child(3) .highlight-icon {
  background: rgba(11,29,58,0.06);
  color: var(--deep-blue);
}

.highlight-card:nth-child(4) .highlight-icon {
  background: linear-gradient(135deg, var(--soft-blue), var(--gold-light));
  color: var(--royal-blue);
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.1) rotate(-3deg);
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

.highlight-text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.7;
}

/* ===================================================
   SUB-SECTION COMPONENTS
   =================================================== */

/* Subsection container */
.subsection {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--mid-grey);
}

.subsection--alt {
  border-top-color: rgba(11,29,58,0.06);
}

.subsection--dark {
  border-top-color: rgba(255,255,255,0.06);
}

/* Subsection header */
.subsection-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.subsection-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--deep-blue);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.subsection--dark .subsection-number {
  background: rgba(212,168,83,0.15);
  border: 1px solid rgba(212,168,83,0.25);
}

.subsection--alt .subsection-number {
  background: var(--accent-blue);
  color: var(--white);
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.3;
  flex-shrink: 0;
}

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

.subsection-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--mid-grey), transparent);
}

.subsection--dark .subsection-line {
  background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
}

/* Subsection grid */
.subsection-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}

.subsection-grid--reverse {
  grid-template-columns: 1fr 1.4fr;
}

.subsection-content p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 18px;
}

.subsection--dark .subsection-content p {
  color: rgba(255,255,255,0.6);
}

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

.subsection-lead {
  font-family: var(--font-serif) !important;
  font-size: 17px !important;
  color: var(--deep-blue) !important;
  font-weight: 600;
  line-height: 1.7 !important;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  margin-bottom: 22px !important;
}

.subsection--dark .subsection-lead {
  color: rgba(255,255,255,0.85) !important;
  border-left-color: var(--gold);
}

.subsection--alt .subsection-lead {
  border-left-color: var(--accent-blue);
}

/* Sidebar cards */
.subsection-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  padding: 28px;
  background: var(--soft-grey);
  border-radius: var(--radius);
  border: 1px solid rgba(11,29,58,0.04);
  transition: all 0.3s var(--ease);
}

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

.sidebar-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}

.sidebar-card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,83,0.2);
}

.sidebar-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.sidebar-card--dark .sidebar-card-icon {
  background: rgba(255,255,255,0.08);
  box-shadow: none;
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 10px;
}

.sidebar-card--dark h4 {
  color: var(--gold);
}

.sidebar-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.7;
}

.sidebar-card--dark p {
  color: rgba(255,255,255,0.5);
}

/* Sidebar stat cards */
.sidebar-stat-card {
  padding: 24px;
  background: var(--soft-grey);
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid rgba(11,29,58,0.04);
  transition: all 0.3s var(--ease);
}

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

.sidebar-stat-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}

.sidebar-stat-card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,83,0.2);
}

.sidebar-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.sidebar-stat-card--dark .sidebar-stat-number {
  color: var(--gold);
}

.sidebar-stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
}

.sidebar-stat-card--dark .sidebar-stat-label {
  color: rgba(255,255,255,0.4);
}

/* Sidebar timeline */
.sidebar-timeline {
  padding: 30px;
  background: var(--soft-grey);
  border-radius: var(--radius);
  border: 1px solid rgba(11,29,58,0.04);
}

.sidebar-timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--mid-grey);
  position: relative;
}

.sidebar-timeline-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.sidebar-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
  position: relative;
}

.sidebar-timeline-dot::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% + 24px);
  background: var(--mid-grey);
}

.sidebar-timeline-item:last-child .sidebar-timeline-dot::after {
  display: none;
}

.sidebar-timeline-content h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 6px;
}

.sidebar-timeline-content p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

/* Value cards grid */
.subsection-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  background: var(--soft-grey);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,29,58,0.04);
  transition: all 0.4s var(--ease);
}

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

.value-card--alt {
  background: var(--white);
}

.value-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}

.value-card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,83,0.2);
}

.value-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.value-card:hover .value-card-accent {
  transform: scaleX(1);
}

.value-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.value-card--dark .value-card-icon {
  background: rgba(255,255,255,0.08);
  box-shadow: none;
}

.value-card--alt .value-card-icon {
  background: var(--soft-blue);
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.value-card--dark h4 {
  color: var(--gold);
}

.value-card p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.75;
}

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

/* Metrics Banner */
.metrics-banner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric-item {
  padding: 36px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s var(--ease);
}

.metric-item:hover {
  background: rgba(255,255,255,0.04);
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}

/* Qualities Grid */
.qualities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.quality-item {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(11,29,58,0.04);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

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

.quality-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-blue);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.quality-item:hover::before {
  opacity: 1;
}

.quality-item:nth-child(2)::before {
  background: var(--gold);
}

.quality-item:nth-child(3)::before {
  background: var(--deep-blue);
}

.quality-item:nth-child(4)::before {
  background: linear-gradient(to bottom, var(--accent-blue), var(--gold));
}

.quality-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--soft-blue);
  line-height: 1;
  margin-bottom: 14px;
}

.quality-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 10px;
}

.quality-item p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.75;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--deep-blue);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 30px;
  position: relative;
}

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

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

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 340px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: all 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-item span:first-child {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.45);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
}

.footer-copyright {
  color: rgba(255,255,255,0.3);
}

.footer-credit {
  color: rgba(255,255,255,0.3);
}

.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.3s var(--ease);
}

.footer-credit a:hover {
  color: #E8C878;
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    order: 1;
  }

  .hero-image-wrap {
    order: 0;
  }

  .hero-image-frame {
    max-width: 350px;
  }

  .hero-image {
    height: 420px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

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

  .hero-cta {
    margin: 0 auto;
  }

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

  .about-image-col {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .philanthropy-card:nth-child(3) {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

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

  .legacy-text-blocks {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .subsection-grid .subsection-sidebar,
  .subsection-grid--reverse .subsection-sidebar {
    order: -1;
  }

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

  .metrics-banner {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-item::after {
    display: none;
  }

  .metric-item:not(:nth-child(3n))::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.08);
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--deep-blue);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 18px;
    color: var(--white) !important;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-image-frame {
    max-width: 280px;
  }

  .hero-image {
    height: 350px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-tag {
    margin: 0 auto 28px;
  }

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

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

  .philanthropy-card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  .legacy-text-blocks {
    grid-template-columns: 1fr;
  }

  .legacy-timeline-accent {
    flex-wrap: wrap;
    gap: 30px;
  }

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

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

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

  .metric-item:not(:nth-child(3n))::after {
    display: none;
  }

  .metric-item:not(:nth-child(2n))::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.08);
  }

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

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

  .footer-brand {
    grid-column: span 1;
  }

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

/* Small mobile */
@media (max-width: 480px) {
  .hero-name {
    font-size: 36px;
  }

  .hero-image-frame {
    max-width: 240px;
  }

  .hero-image {
    height: 300px;
  }

  .gate-content {
    width: 95%;
  }

  .about-image-card img {
    height: 350px;
  }

  .philanthropy-narrative {
    padding: 24px;
  }

  .leadership-highlight {
    padding: 20px;
  }

  .leadership-visual-card {
    padding: 30px 24px;
  }

  .metrics-banner {
    grid-template-columns: 1fr;
  }

  .metric-item:not(:nth-child(2n))::after {
    display: none;
  }

  .metric-item:not(:last-child)::after {
    display: block;
    content: '';
    position: absolute;
    right: 20%;
    top: auto;
    bottom: 0;
    height: 1px;
    width: 60%;
    background: rgba(255,255,255,0.08);
  }
}
