/* ==========================================================================
   TrustInsights – main stylesheet
   ========================================================================== */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --sky: #E6F2FB;
  --sky-2: #CFE5F6;
  --teal: #1B998B;
  --teal-dark: #13756A;
  --gold: #C9A227;
  --gold-dark: #A8861A;
  --white: #FFFFFF;
  --ink: #0B2545;
  --muted: #5A6B7B;
  --line: #D7E3EE;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 37, 69, .08);
  --shadow-lg: 0 14px 40px rgba(11, 37, 69, .14);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--teal-dark); margin-bottom: .8em;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  font-family: var(--sans); line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8B23A; color: var(--navy); box-shadow: 0 8px 20px rgba(201,162,39,.35); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: var(--sky); color: var(--navy); }

/* Header – whitish corporate blue */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #F7FBFF 0%, #EAF3FC 100%);
  border-bottom: 1px solid var(--sky-2);
  box-shadow: 0 2px 12px rgba(11, 37, 69, .06);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(240, 247, 253, .96); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 46px; width: auto; }
.logo-fallback { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; list-style: none; gap: 6px; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 18px; border-radius: 999px; display: block; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.site-nav a:not(.btn):hover { background: var(--sky-2); color: var(--navy); }
.site-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #F0F7FD;
    flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 12px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; color: var(--white); padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(27,153,139,.35), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(201,162,39,.18), transparent 60%),
    linear-gradient(135deg, #0B2545 0%, #13315C 60%, #134B5F 100%);
  overflow: hidden;
}
.hero.has-img {
  background:
    linear-gradient(100deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.78) 50%, rgba(11,37,69,.45) 100%),
    var(--hero-img) center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -1px -10%; height: 60px;
  background: var(--white); clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin-left: max(20px, calc((100% - var(--max)) / 2)); }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.86); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Stats */
.stats-strip { margin-top: -30px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-label { display: block; font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:last-child { grid-column: span 2; }
}

/* Sections */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-sky { background: var(--sky); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-sub { font-size: 1.1rem; color: var(--muted); font-style: italic; font-family: var(--serif); }
.two-col, .grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.grid-2-1 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.align-center { align-items: center; }
.two-col > *, .grid-1-1 > *, .grid-2-1 > *, .stack > * { min-width: 0; }
.stack { display: grid; gap: 24px; align-content: start; }
@media (max-width: 900px) { .two-col, .grid-1-1, .grid-2-1 { grid-template-columns: 1fr; } }

.feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.feature-list li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.feature-list li:last-child::before { background: var(--gold); }
.pull-quote {
  margin: 24px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--gold);
  font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--navy); line-height: 1.4;
}

/* Convergence graphic */
.convergence { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.conv-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.logo-frame {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px 16px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 170px;
}
.logo-frame img { max-height: 80px; width: auto; object-fit: contain; margin: auto; }
.logo-frame .logo-fallback { margin: auto; font-size: 1.3rem; }
.logo-frame figcaption { font-weight: 700; color: var(--navy); margin-top: 12px; font-size: .95rem; }
.logo-frame figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.logo-frame-main { width: 70%; border: 2px solid var(--teal); min-height: 190px; }
.logo-frame-main img { max-height: 96px; }
.conv-arrows { width: 60%; height: 70px; overflow: visible; }
.conv-arrows path { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 6 6; animation: dash 1.4s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* Diagrams */
.diagram-wrap { width: 100%; max-width: 860px; margin: 0 auto; }
.diagram { width: 100%; height: auto; font-family: var(--sans); }
.diagram .spoke { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 4 6; }
.diagram .hub { fill: var(--navy); }
.diagram .hub-ring { fill: none; stroke: var(--gold); stroke-width: 2; }
.diagram .hub-text { fill: var(--white); font-family: var(--serif); font-weight: 600; font-size: 19px; }
.diagram .hub-text.small { font-size: 17px; }
.diagram .node rect { fill: var(--white); stroke: var(--teal); stroke-width: 1.5; filter: drop-shadow(0 4px 10px rgba(11,37,69,.08)); }
.diagram .node text { fill: var(--navy); font-size: 14.5px; font-weight: 600; }
.diagram .cycle-ring { fill: none; stroke: var(--sky-2); stroke-width: 18; }
.diagram .cycle-arrow { fill: none; stroke: var(--teal); stroke-width: 3; }
.diagram .arrow-head { fill: var(--teal); }
.diagram .step circle { fill: var(--white); stroke: var(--teal); stroke-width: 2.5; }
.diagram .step text { fill: var(--navy); font-size: 12.5px; font-weight: 600; }
.diagram .step .step-no { fill: var(--gold-dark); font-family: var(--serif); font-size: 17px; font-weight: 700; }
.diagram .seg path { transition: transform .2s; transform-origin: 210px 210px; }
.diagram .seg-0 path { fill: var(--teal); }
.diagram .seg-1 path { fill: var(--navy-2); }
.diagram .seg:hover path { transform: scale(1.03); }
.diagram .seg text { fill: var(--white); font-family: var(--serif); font-weight: 700; font-size: 21px; pointer-events: none; }
.section-sky .diagram .node rect, .section-sky .diagram .step circle { fill: var(--white); }
.wheel-wrap { max-width: 440px; }
.cap-list { counter-reset: cap; list-style: none; padding: 0; margin: 0; columns: 1; }
.cap-list li { counter-increment: cap; padding: 9px 0 9px 44px; position: relative; border-bottom: 1px solid var(--line); font-weight: 500; }
.cap-list li::before {
  content: counter(cap); position: absolute; left: 0; top: 7px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: var(--white); font-weight: 700; font-size: .85rem;
}
.cap-list li:nth-child(2n)::before { background: var(--navy-2); }

/* Map */
.map-section { background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%); }
.map-card { background: #CFE7F7; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.footprint-map { position: relative; width: 100%; aspect-ratio: 1.85 / 1; min-height: 320px; }
.footprint-map svg { width: 100%; height: 100%; display: block; }
.footprint-map .land { fill: var(--white); stroke: #B9D7EE; stroke-width: .5; }
.footprint-map .land.visited { fill: #9ED8CF; }
.footprint-map .land.home { fill: #EBD58F; }
.footprint-map .graticule { fill: none; stroke: rgba(11,37,69,.06); stroke-width: .5; }
.footprint-map .sphere { fill: #CFE7F7; }
.footprint-map .arc { fill: none; stroke: var(--navy); stroke-width: 1; stroke-opacity: .45; }
.footprint-map .marker { stroke: var(--white); stroke-width: 1.4; cursor: pointer; transition: r .15s; }
.footprint-map .marker:hover, .footprint-map .marker:focus { stroke: var(--navy); stroke-width: 2; outline: none; }
.footprint-map .home-marker { fill: var(--gold); stroke: var(--navy); stroke-width: 2.5; }
.footprint-map .label { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: var(--navy); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 3px; pointer-events: none; }
.footprint-map .label.home-label { font-size: 12.5px; font-weight: 700; }
.footprint-map .latest-ring { fill: none; stroke: var(--gold); stroke-width: 2; animation: pulse 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.footprint-map .inset-frame { fill: #CFE7F7; stroke: var(--navy); stroke-width: 1.2; }
.footprint-map .inset-box { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; }
.footprint-map .inset-title { font-family: var(--sans); font-size: 11px; font-weight: 700; fill: var(--navy); letter-spacing: .06em; text-transform: uppercase; }
.footprint-map .leader { stroke: var(--navy); stroke-width: .8; stroke-opacity: .6; }
.map-tooltip {
  position: absolute; pointer-events: none; background: var(--navy); color: var(--white);
  padding: 10px 14px; border-radius: 10px; font-size: .85rem; line-height: 1.4; box-shadow: var(--shadow-lg);
  transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; opacity: 0; transition: opacity .12s; z-index: 5;
}
.map-tooltip strong { color: var(--gold); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 22px; background: rgba(255,255,255,.75); font-size: .85rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(11,37,69,.25); }
.map-fallback { padding: 40px; text-align: center; color: var(--muted); }

/* Charts */
.chart-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.chart-title { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.chart-box { position: relative; width: 100%; height: 300px; }
.chart-tall { height: 380px; }
.chart-short { height: 220px; }
.chart-card.fill { display: flex; flex-direction: column; }
.chart-card.fill .chart-box { flex: 1; min-height: 380px; }
.chart-donut { height: 280px; }
.chart-countries { height: 560px; }
.first-timeline {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 20px;
}
.first-timeline li {
  flex: 0 0 auto; background: var(--white); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow);
  border-top: 3px solid var(--teal); min-width: 120px; max-width: 220px;
}
.ft-year { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.ft-places { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.pace { display: flex; align-items: stretch; justify-content: center; gap: 18px; margin: 30px 0 10px; flex-wrap: wrap; }
.pace-item { background: var(--white); border-radius: var(--radius); padding: 18px 26px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.pace-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--navy-2); }
.pace-hi { border: 2px solid var(--teal); }
.pace-hi .pace-num { color: var(--teal-dark); }
.pace-vs { align-self: center; font-family: var(--serif); font-style: italic; color: var(--muted); }
.takeaway { text-align: center; font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin-top: 16px; }

.kpi-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 26px; }
.kpi-row div { background: var(--sky); border-radius: 12px; padding: 14px 16px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.kpi-row strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); }
@media (max-width: 860px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.ranking { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.ranking li { counter-increment: r; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ranking li::before { content: counter(r); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: .85rem; margin-right: 12px; }
.ranking li span { flex: 1; }
.ranking strong { font-family: var(--serif); font-size: 1.4rem; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.callout { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px 26px; font-size: 1.08rem; }
.callout strong { color: var(--gold); }
@media (max-width: 760px) { .callouts { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; }
.heat { border-collapse: separate; border-spacing: 4px; width: 100%; font-size: .9rem; }
.heat th { text-align: left; font-weight: 600; padding: 6px 8px; white-space: nowrap; }
.heat thead th { font-size: .78rem; color: var(--muted); text-align: center; }
.heat td { text-align: center; padding: 8px; border-radius: 6px; background: rgba(27,153,139, var(--heat)); font-weight: 700; min-width: 54px; }
.heat td:empty { background: #F2F6FA; }
.heat td.dark { color: var(--white); }
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.insight { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; padding-top: 34px; }
.insight-no { position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.insight p { margin: 0; }
@media (max-width: 860px) { .insights { grid-template-columns: 1fr; gap: 30px; } }
.footnote { font-size: .82rem; color: var(--muted); margin-top: 26px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.tile .icon { width: 44px; height: 44px; color: var(--teal); margin-bottom: 14px; padding: 9px; background: var(--sky); border-radius: 12px; }
.tile h3 { font-size: 1.05rem; margin: 0; }
.tile-flagship { background: var(--navy); border-color: var(--navy); }
.tile-flagship h3 { color: var(--white); }
.tile-flagship .icon { background: rgba(255,255,255,.1); color: var(--gold); }
.badge { display: inline-block; margin-top: 12px; background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.process li { position: relative; text-align: center; padding: 0 10px; font-weight: 600; font-size: .95rem; }
.process-no {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--teal); font-family: var(--serif); font-size: 1.4rem; color: var(--navy);
}
.process li:last-child .process-no { border-color: var(--gold); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 16px; }
  .process::before { top: 0; bottom: 0; left: 30px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--teal), var(--gold)); }
  .process li { display: flex; align-items: center; gap: 18px; text-align: left; padding: 0; }
  .process-no { margin: 0; flex: 0 0 62px; }
}

/* Next programme + CTA */
.next-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--white); border-radius: 20px; padding: 34px 40px; box-shadow: var(--shadow); border-left: 6px solid var(--gold); }
.next-card h2 { font-size: 1.5rem; }
.meta { color: var(--muted); margin: 0; font-weight: 500; }
@media (max-width: 760px) { .next-card { flex-direction: column; align-items: flex-start; padding: 26px; } }
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%, #134B5F 100%); color: var(--white); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page hero */
.page-hero { background: linear-gradient(135deg, var(--sky) 0%, #F4F9FD 100%); padding: 70px 0 50px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .3em; }

/* Recent programmes */
.filters { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; margin-bottom: 30px; padding: 18px 20px; background: var(--sky); border-radius: var(--radius); }
.filters label { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filters select { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; min-width: 180px; color: var(--navy); background: var(--white); }
.filter-count { margin: 0 0 0 auto; font-weight: 600; color: var(--navy); align-self: center; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.prog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prog-card[hidden] { display: none; }
.prog-media { display: block; width: 100%; padding: 0; border: 0; background: var(--sky); aspect-ratio: 16 / 10; overflow: hidden; cursor: zoom-in; }
div.prog-media { cursor: default; }
.prog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prog-card:hover .prog-media img { transform: scale(1.04); }
.img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #7FA6C6; background: linear-gradient(135deg, var(--sky) 0%, #D9EAF7 100%); font-size: .85rem; }
.img-placeholder svg { width: 44px; height: 44px; }
.prog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prog-date { color: var(--teal-dark); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.prog-title { font-size: 1.12rem; line-height: 1.35; margin: 0; }
.prog-place { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0; font-size: .95rem; }
.prog-place svg { width: 18px; height: 18px; color: var(--gold-dark); flex: 0 0 auto; }
.tag { align-self: flex-start; margin-top: auto; background: var(--sky); color: var(--navy); font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy); color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table tbody tr:nth-child(even) { background: #F7FBFE; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); }
.lightbox::backdrop { background: rgba(11,37,69,.85); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-caption { color: var(--white); text-align: center; margin-top: 12px; }
.lightbox-close { position: absolute; top: 6px; right: 10px; background: var(--white); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; color: var(--navy); }

/* Planned */
.planned-list { display: grid; gap: 22px; }
.planned-card {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 26px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.planned-card:hover { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.date-badge { background: var(--navy); color: var(--white); border-radius: 14px; text-align: center; padding: 14px 8px; line-height: 1.1; }
.db-day { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 700; }
.db-month { display: block; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--gold); }
.db-year { display: block; font-size: .85rem; opacity: .8; margin-top: 4px; }
.planned-title { font-size: 1.25rem; margin: 6px 0; }
.planned-actions { display: grid; gap: 10px; }
@media (max-width: 860px) {
  .planned-card { grid-template-columns: 90px 1fr; }
  .planned-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .planned-actions { grid-template-columns: 1fr; } }
.empty-card { text-align: center; padding: 50px; background: var(--sky); border-radius: var(--radius); }

/* President */
.president { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.president-photo { position: sticky; top: 110px; text-align: center; }
.president-photo img, .photo-placeholder { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.photo-placeholder { display: grid; place-items: center; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); }
.photo-placeholder span { width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 3.2rem; font-weight: 700; }
.president-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin: 20px 0 2px; }
.president-role { color: var(--muted); margin: 0; }
.letter { font-size: 1.08rem; max-width: 720px; }
.letter .salutation { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.signature { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.signature p { margin: 0; }
.sig-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; font-style: italic; color: var(--navy); margin-top: 10px !important; }
.sig-role { color: var(--muted); }
@media (max-width: 860px) { .president { grid-template-columns: 1fr; } .president-photo { position: static; max-width: 320px; margin: 0 auto; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.details { margin: 0 0 26px; }
.details dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-top: 16px; }
.details dd { margin: 4px 0 0; font-size: 1.05rem; }
.details address { font-style: normal; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.contact-form-wrap { background: var(--sky); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #BFD3E4; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); outline: 2px solid rgba(27,153,139,.25); }
.contact-form .invalid input, .contact-form .invalid select, .contact-form .invalid textarea { border-color: #C0392B; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact-form .check input { width: auto; margin-top: 5px; }
.contact-form .check.invalid { color: #C0392B; }
.contact-form button { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #E3F5F1; color: #0F5E54; border: 1px solid #A8DCD2; }
.alert-error { background: #FCEBEA; color: #922B21; border: 1px solid #F2B8B2; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); padding-top: 60px; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr .8fr; gap: 40px; padding-bottom: 40px; }
.logo-fallback.footer-logo { background: none; padding: 0; height: auto; color: var(--white); }
.footer-logo { height: 52px; width: auto; background: var(--white); padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.site-footer .logo-fallback { color: var(--white); display: block; margin-bottom: 14px; }
.footer-heading { font-family: var(--sans); color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 14px; }
.site-footer address { font-style: normal; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .filters { display: none; }
}

