/*
Theme Name:  H.E. John Agyekum Kufuor
Theme URI:   https://johnakufuor.com
Author:      Office of H.E. John Agyekum Kufuor
Author URI:  https://johnakufuor.com
Description: Official presidential website theme for H.E. John Agyekum Kufuor — 2nd President of the Fourth Republic of Ghana (2001–2009). Statesman. Peacemaker. Champion of Democracy.
Version:     2.0.0
License:     GNU General Public License v2 or later
Text Domain: kufuor
Tags:        presidential, biography, ghana, africa, custom-menu, featured-images, custom-logo, full-width-template
*/

/* =====================================================
   DESIGN SYSTEM
   Palette: Presidential Navy · Ceremonial Gold · Ivory
   Typography: Cormorant Garamond (display) + DM Sans (body)
   Tone: Stately, ceremonial, authoritative — with warmth
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #0c2340;
  --navy-mid:   #163354;
  --navy-light: #1e4a7a;
  --gold:       #c8a84b;
  --gold-light: #e2c87a;
  --gold-dim:   #8a6f2e;
  --ivory:      #f9f5ed;
  --ivory-dark: #ede8dc;
  --charcoal:   #2d3340;
  --stone:      #7a7670;
  --white:      #ffffff;
  --red-ghana:  #ce1126;
  --green-ghana:#006b3f;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  --shadow-sm:  0 2px 8px rgba(12,35,64,.10);
  --shadow-md:  0 6px 24px rgba(12,35,64,.14);
  --shadow-lg:  0 16px 48px rgba(12,35,64,.20);
  --shadow-xl:  0 32px 80px rgba(12,35,64,.25);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --max-width:  1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
input, textarea, select { font-family:inherit; }

/* ---- Typography Scale ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1.25rem; color: var(--stone); }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1400px; }

section { position: relative; }

/* ---- Utility Classes ---- */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link {
  position:absolute; top:-100%; left:0; z-index:99999;
  background:var(--gold); color:var(--navy); padding:10px 20px;
  font-weight:600; font-size:.9rem;
  transition: top .2s;
}
.skip-link:focus { top:0; }

/* =====================================================
   DECORATIVE ELEMENTS
===================================================== */
.ghana-stripe {
  height: 4px;
  background: linear-gradient(to right, var(--red-ghana) 33.33%, var(--gold) 33.33%, var(--gold) 66.66%, var(--green-ghana) 66.66%);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.ornament {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 0 auto 2rem;
  border-radius: 2px;
}
.ornament--left { margin-left: 0; }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  font-family: var(--font-display);
}
.section-title + .ornament { margin-top: 1.2rem; }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: gap var(--transition), color var(--transition);
}
.btn-text:hover { gap: .7rem; color: var(--gold); }

/* =====================================================
   NAVIGATION
===================================================== */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#masthead.scrolled {
  background: rgba(12, 35, 64, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}
#masthead:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(12,35,64,.85) 0%, transparent 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: padding var(--transition);
}
#masthead.scrolled .nav-inner { padding: 14px 0; }

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
}
.site-logo .logo-title {
  font-size: .68rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-logo img { height: 48px; width: auto; }

#primary-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
#primary-menu li { position: relative; }
#primary-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: .83rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a {
  color: var(--gold-light);
  background: rgba(255,255,255,.07);
}

/* Dropdown */
#primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  flex-direction: column;
}
#primary-menu li:hover > .sub-menu { display: flex; }
#primary-menu .sub-menu a {
  padding: 9px 20px;
  font-size: .83rem;
  color: rgba(255,255,255,.8);
  transition: color var(--transition), background var(--transition);
}
#primary-menu .sub-menu a:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,.06);
}

.nav-cta {
  margin-left: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

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

/* Hero background slider */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  filter: grayscale(10%);
  z-index: 0;
}
.hero__slide.active {
  opacity: .65;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(12,35,64,.78) 0%,
    rgba(12,35,64,.50) 50%,
    rgba(12,35,64,.30) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px 0 100px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.hero__text { width: 100%; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.hero__eyebrow span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 2.5rem;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero__meta-label {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.hero__meta-value {
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Hero portrait card — hidden in centred layout */
.hero__portrait-wrap {
  display: none;
}
.hero__portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__portrait-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 50%, var(--gold) 100%);
  z-index: 1;
  opacity: .6;
}
.hero__portrait-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  position: relative;
  z-index: 2;
}
.hero__portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 40px 24px 24px;
  background: linear-gradient(transparent, rgba(12,35,64,.92));
  color: var(--white);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}
.hero__portrait-caption strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  margin-top: 4px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: pulse 2.5s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}
@keyframes pulse {
  0%,100% { opacity: .4; transform: translateX(-50%) translateY(0); }
  50%      { opacity: .9; transform: translateX(-50%) translateY(6px); }
}

/* =====================================================
   STATS BAND
===================================================== */
.stats-band {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
}
.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.06);
}
.stat-block {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
  text-align: center;
}
.stat-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 40px; height: 2px;
  background: var(--gold);
  transition: transform var(--transition);
}
.stat-block:hover::after { transform: translateX(-50%) scaleX(1); }
.stat-block__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-block__label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}

/* =====================================================
   PRESIDENTIAL OVERVIEW
===================================================== */
.overview {
  padding: 100px 0;
  background: var(--ivory);
}
.overview__grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  align-items: center;
}
.overview__image-stack {
  position: relative;
}
.overview__image-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.overview__image-accent {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--ivory);
}
.overview__badge {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.overview__badge-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.overview__badge-text {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}
.overview__body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--stone);
}
.overview__body p + p { margin-top: 1.2rem; }
.overview__pullquote {
  margin: 2rem 0;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--ivory-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.overview__pullquote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin: 0;
}

/* =====================================================
   TIMELINE
===================================================== */
.timeline-section {
  padding: 100px 0;
  background: var(--navy);
  overflow: hidden;
}
.timeline-section .section-title { color: var(--white); }

.timeline {
  position: relative;
  margin-top: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200,168,75,.4) 10%, rgba(200,168,75,.4) 90%, transparent);
  transform: translateX(-50%);
}
.timeline__item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: start;
}
.timeline__item:nth-child(even) .timeline__card { grid-column: 3; }
.timeline__item:nth-child(even) .timeline__year { grid-column: 2; }
.timeline__item:nth-child(even) .timeline__spacer { grid-column: 1; }
.timeline__item:nth-child(odd) .timeline__card  { grid-column: 1; text-align: right; padding-right: 40px; }
.timeline__item:nth-child(odd) .timeline__year  { grid-column: 2; }
.timeline__item:nth-child(odd) .timeline__spacer{ grid-column: 3; }

.timeline__year {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}
.timeline__year-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 0 0 6px rgba(200,168,75,.15);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline__card {
  padding: 20px 0 20px 40px;
}
.timeline__item:nth-child(odd) .timeline__card { padding: 20px 40px 20px 0; }
.timeline__card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .4rem;
}
.timeline__card p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

/* =====================================================
   ACHIEVEMENTS GRID
===================================================== */
.achievements {
  padding: 100px 0;
  background: var(--ivory-dark);
}
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.achievement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.achievement-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.achievement-card__body {
  padding: 24px;
  text-align: center;
}
.achievement-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200,168,75,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.achievement-card__icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.achievement-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}
.achievement-card p {
  font-size: .88rem;
  color: var(--stone);
  margin: 0;
  line-height: 1.65;
}

/* =====================================================
   PRESIDENTIAL QUOTE
===================================================== */
.quote-section {
  padding: 100px 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -60px;
  left: -20px;
  font-family: var(--font-display);
  font-size: 40rem;
  color: rgba(200,168,75,.04);
  line-height: 1;
  pointer-events: none;
}
.quote-section__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quote-section__text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2rem;
}
.quote-section__attribution {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* =====================================================
   FEATURED VIDEOS
===================================================== */
.videos-section {
  padding: 120px 0;
  background: var(--ivory);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-lg); }
.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
}
.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-card__label {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.video-card__label h3 {
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
}

/* =====================================================
   PHOTO GALLERY PREVIEW
===================================================== */
.gallery-preview {
  padding: 100px 0;
  background: var(--navy);
}
.gallery-preview .section-title { color: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
  margin-top: 60px;
}
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,35,64,.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay p {
  font-size: .78rem;
  color: rgba(255,255,255,.9);
  margin: 0;
  line-height: 1.35;
}
.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

/* =====================================================
   PAGE HERO (inner pages)
===================================================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .15;
  filter: grayscale(40%);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 40%, rgba(12,35,64,.7) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: var(--gold); }
.page-hero__breadcrumb span { color: var(--gold); }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 620px;
  margin: 0;
}

/* =====================================================
   ABOUT PAGE
===================================================== */
.about-intro {
  padding: 100px 0;
  background: var(--ivory);
}
.about-intro__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.about-intro__portrait {
  position: sticky;
  top: 100px;
}
.about-intro__portrait img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.about-intro__facts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fact-chip {
  background: var(--ivory-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.fact-chip__label {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 2px;
}
.fact-chip__value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.about-intro__text h2 { margin-bottom: 1.2rem; }
.about-intro__text p { font-size: 1rem; line-height: 1.85; }

/* Biography sections */
.bio-chapter {
  padding: 80px 0;
  border-top: 1px solid var(--ivory-dark);
}
.bio-chapter:nth-child(even) { background: var(--ivory-dark); }
.bio-chapter__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
}
.bio-chapter__sidebar {
  position: sticky;
  top: 100px;
}
.bio-chapter__year {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.bio-chapter__tag {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
}
.bio-chapter__body h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.bio-chapter__body p { font-size: .97rem; line-height: 1.85; }

/* Pull quote */
.pull-quote {
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
  background: var(--ivory);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}
.pull-quote cite {
  display: block;
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--gold-dim);
  font-weight: 600;
  letter-spacing: .06em;
  font-style: normal;
}

/* =====================================================
   LEGACY PAGE
===================================================== */
.legacy-stats {
  padding: 80px 0;
  background: var(--ivory-dark);
}
.legacy-stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.legacy-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}
.legacy-stat__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: .4rem;
}
.legacy-stat__label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.3;
}

.legacy-chapter {
  padding: 100px 0;
}
.legacy-chapter:nth-child(even) { background: var(--ivory-dark); }
.legacy-chapter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.legacy-chapter__grid.reversed { direction: rtl; }
.legacy-chapter__grid.reversed > * { direction: ltr; }
.legacy-chapter__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.legacy-chapter__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.legacy-chapter__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}
.legacy-chapter__body {}
.legacy-chapter__body h2 { margin-bottom: 1.2rem; }
.legacy-chapter__body p { font-size: .97rem; line-height: 1.85; }
.legacy-chapter__points {
  margin: 1.5rem 0;
  display: grid;
  gap: 10px;
}
.legacy-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--ivory-dark);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.legacy-point__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.legacy-point__text {
  font-size: .9rem;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.55;
}

/* =====================================================
   SPEECHES PAGE
===================================================== */
.speeches-layout {
  padding: 80px 0 120px;
  background: var(--ivory);
}
.speeches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.speech-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.speech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.speech-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.speech-card__date {
  font-size: .78rem;
  color: var(--stone);
  font-weight: 500;
}
.speech-card__type {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dim);
  background: rgba(200,168,75,.1);
  padding: 3px 10px;
  border-radius: 20px;
}
.speech-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.speech-card__excerpt {
  font-size: .9rem;
  color: var(--stone);
  flex: 1;
  line-height: 1.65;
}
.speech-card__quote {
  margin: 1rem 0;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: .9rem;
  color: var(--navy-mid);
  background: var(--ivory);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.speech-card__actions {
  display: flex;
  gap: 16px;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

/* Lectures */
.lectures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.lecture-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.lecture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.lecture-card__image {
  width: 100%; height: 180px;
  object-fit: cover;
}
.lecture-card__body { padding: 24px; }
.lecture-card__meta {
  display: flex;
  gap: 8px;
  margin-bottom: .75rem;
  flex-wrap: wrap;
  align-items: center;
}
.lecture-card__date  { font-size: .75rem; color: var(--stone); }
.lecture-card__venue { font-size: .75rem; font-weight: 600; color: var(--gold-dim); }
.lecture-card h3     { font-size: 1rem; color: var(--navy); margin-bottom: .6rem; }
.lecture-card p      { font-size: .86rem; color: var(--stone); }
.lecture-card__actions { display: flex; gap: 12px; margin-top: 1rem; flex-wrap: wrap; }

/* Publications */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pub-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.pub-card__type {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(12,35,64,.07);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.pub-card h3    { font-size: .95rem; color: var(--navy); margin-bottom: .3rem; }
.pub-card__meta { font-size: .78rem; color: var(--stone); margin-bottom: .6rem; }
.pub-card p     { font-size: .86rem; color: var(--stone); }
.pub-card__actions { display: flex; gap: 12px; margin-top: 1rem; flex-wrap: wrap; }

/* =====================================================
   FOUNDATION PAGE
===================================================== */
.foundation-hero-section {
  padding: 160px 0 120px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.foundation-hero-section::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--ivory);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.foundation-hero-section__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.foundation-hero-section__text h1 { color: var(--white); }
.foundation-hero-section__text .hero__title { color: var(--gold-light); margin-bottom: 1.2rem; }
.foundation-hero-section__text p { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.8; }
.foundation-hero-section__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.foundation-hero-section__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.foundation-hero-section__image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.mission-section {
  padding: 100px 0;
  background: var(--ivory);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.mission-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}
.mission-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(200,168,75,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.mission-card__icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.mission-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.mission-card p  { font-size: .9rem; color: var(--stone); margin: 0; line-height: 1.65; }

.programmes-section {
  padding: 100px 0;
  background: var(--ivory-dark);
}
.programme-item {
  margin-bottom: 72px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 400px 1fr;
}
.programme-item.reversed { grid-template-columns: 1fr 400px; }
.programme-item.reversed .programme-item__image { order: 2; }
.programme-item.reversed .programme-item__body  { order: 1; }
.programme-item__image { position: relative; }
.programme-item__image img {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.programme-item__body { padding: 48px 48px 48px 48px; }
.programme-item__body h3 { margin-bottom: .75rem; }
.programme-item__body > p { font-size: .97rem; line-height: 1.85; margin-bottom: 1.5rem; }
.programme-item__list { display: grid; gap: 10px; margin-bottom: 1.5rem; }
.programme-item__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .9rem; color: var(--charcoal);
}
.programme-item__list li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(200,168,75,.15);
  border: 2px solid var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.programme-item__stats {
  display: flex;
  gap: 28px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ivory-dark);
}
.programme-item__stats .stat-block__number { font-size: 2rem; color: var(--navy); }
.programme-item__stats .stat-block__label  { color: var(--stone); }

/* Impact stats */
.impact-section {
  padding: 80px 0;
  background: var(--navy);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-item {
  padding: 40px 32px;
  background: rgba(255,255,255,.03);
  text-align: center;
}
.impact-item__number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .4rem;
}
.impact-item__label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* Support / CTA */
.support-section {
  padding: 100px 0;
  background: var(--ivory);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.support-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.support-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(200,168,75,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.support-card__icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.support-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.support-card p  { font-size: .86rem; color: var(--stone); margin-bottom: 1.2rem; }

/* =====================================================
   GALLERY PAGE
===================================================== */
.gallery-page { padding: 80px 0 120px; background: var(--ivory); }
.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 56px;
}
.gallery-page__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-page__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-page__item:hover img { transform: scale(1.08); }
.gallery-page__caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,35,64,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-page__item:hover .gallery-page__caption { opacity: 1; }
.gallery-page__caption p { font-size: .78rem; color: rgba(255,255,255,.9); margin: 0; }

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-section { padding: 80px 0 120px; background: var(--ivory); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--stone); margin-bottom: 2rem; }
.contact-info-block {
  margin-bottom: 1.5rem;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.contact-info-block h4 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: .4rem;
}
.contact-info-block p { font-size: .93rem; color: var(--charcoal); margin: 0; }
.contact-info-block a { color: var(--gold-dim); transition: color var(--transition); }
.contact-info-block a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact-form-wrap h2 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--ivory-dark);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--charcoal);
  background: var(--ivory);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,75,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* =====================================================
   HONOURS PAGE
===================================================== */
.honours-section { padding: 80px 0 120px; background: var(--ivory); }
.honours-intro {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: center;
  margin-bottom: 80px;
}
.honour-category { margin-bottom: 72px; }
.honour-category h2 { margin-bottom: 40px; padding-bottom: 16px; border-bottom: 2px solid var(--ivory-dark); }
.honours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.honour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--gold);
}
.honour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.honour-card__year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: .4rem;
  line-height: 1;
}
.honour-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: .4rem; }
.honour-card__org { font-size: .8rem; color: var(--stone); font-weight: 500; margin-bottom: .6rem; }
.honour-card p { font-size: .86rem; color: var(--stone); line-height: 1.6; margin: 0; }

/* =====================================================
   NEWS / REFLECTIONS
===================================================== */
.reflections-section { padding: 80px 0 120px; background: var(--ivory); }
.reflections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.reflection-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.reflection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reflection-card__image { width: 100%; height: 200px; object-fit: cover; }
.reflection-card__body { padding: 24px; }
.reflection-card__meta {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: .75rem; flex-wrap: wrap;
}
.reflection-card__cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-dim); background: rgba(200,168,75,.1); padding: 2px 10px; border-radius: 20px;
}
.reflection-card__date { font-size: .75rem; color: var(--stone); }
.reflection-card h3 {
  font-size: 1.05rem; color: var(--navy); margin-bottom: .6rem; line-height: 1.35;
}
.reflection-card p { font-size: .86rem; color: var(--stone); line-height: 1.6; }

/* =====================================================
   404 PAGE
===================================================== */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  background: var(--navy);
}
.error-page__code {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 700;
  color: rgba(200,168,75,.15);
  line-height: 1;
  display: block;
  margin-bottom: -2rem;
}
.error-page h1 { color: var(--white); margin-bottom: 1rem; }
.error-page p  { color: rgba(255,255,255,.55); margin-bottom: 2.5rem; font-size: 1.05rem; }
.error-page__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   MODALS (Lightbox + Video)
===================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.lightbox-caption-text {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  text-align: center;
  max-width: 600px;
}
.video-modal-inner {
  width: 100%;
  max-width: 960px;
  position: relative;
}
.video-modal-inner iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  border: none;
}
.modal-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 9001;
}
.modal-close:hover { background: rgba(255,255,255,.2); }

/* =====================================================
   FOOTER
===================================================== */
#colophon {
  background: var(--navy);
  color: rgba(255,255,255,.65);
}
.footer-top {
  padding: 80px 0 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: .2rem;
}
.footer-brand .logo-title {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,168,75,.08);
}
.footer-col h4 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); }
.footer-col p { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .85rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); margin: 0; }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* =====================================================
   PAGINATION
===================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  border: 1.5px solid var(--ivory-dark);
  color: var(--navy);
  background: var(--white);
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =====================================================
   WP CONTENT STYLES
===================================================== */
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content p { font-size: .97rem; line-height: 1.85; color: var(--stone); }
.entry-content h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
.entry-content h3 { font-size: 1.35rem; margin: 2rem 0 .8rem; }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 2rem 0;
  background: var(--ivory-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.entry-content img { border-radius: var(--radius-md); margin: 2rem auto; }
.entry-content a { color: var(--gold-dim); text-decoration: underline; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.entry-content li { margin-bottom: .4rem; color: var(--stone); font-size: .97rem; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1100px) {
  .overview__grid { grid-template-columns: 1fr; }
  .overview__image-stack { max-width: 480px; }
  .legacy-chapter__grid { grid-template-columns: 1fr; gap: 40px; }
  .legacy-chapter__grid.reversed { direction: ltr; }
  .programme-item { grid-template-columns: 1fr; }
  .programme-item.reversed .programme-item__image { order: 0; }
  .programme-item.reversed .programme-item__body  { order: 0; }
  .programme-item__image img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foundation-hero-section__grid { grid-template-columns: 1fr; }
  .honours-intro { grid-template-columns: 1fr; }
  .legacy-stats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  #primary-menu {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 90vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    z-index: 999;
  }
  #primary-menu.open { display: flex; }
  #primary-menu > li { width: 100%; }
  #primary-menu > li > a {
    padding: 12px 0;
    font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    width: 100%;
  }
  #primary-menu .sub-menu {
    position: static;
    display: flex;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    background: transparent;
  }
  .nav-cta { display: none; }
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); }
  .achievements__grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .speeches-grid { grid-template-columns: 1fr; }
  .lectures-grid { grid-template-columns: repeat(2, 1fr); }
  .publications-grid { grid-template-columns: repeat(2, 1fr); }
  .honours-grid { grid-template-columns: repeat(2, 1fr); }
  .reflections-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .gallery-page__grid { grid-template-columns: repeat(3, 1fr); }
  .about-intro__grid { grid-template-columns: 1fr; }
  .about-intro__portrait { position: static; max-width: 360px; margin: 0 auto; }
  .bio-chapter__inner { grid-template-columns: 1fr; }
  .bio-chapter__sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .stats-band__inner { grid-template-columns: 1fr; }
  .achievements__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .lectures-grid { grid-template-columns: 1fr; }
  .publications-grid { grid-template-columns: 1fr; }
  .honours-grid { grid-template-columns: 1fr; }
  .reflections-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .legacy-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-page__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 28px 20px; }
}
