/* =========================================================
   WORLD DIPLOMAT FORUM
   Quiet Authority. Understated Gravitas. Global Neutrality.
   ========================================================= */

:root {
  --wdf-ink: #1A1F2B;
  --wdf-charcoal: #3A3F4A;
  --wdf-gold: #C4A962;
  --wdf-parchment: #F9F8F6;
  --wdf-ivory: #F4F2ED;
  --wdf-border: #E0DDD5;
  --wdf-dark: #141820;
  --wdf-success: #3B6E4F;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --container: 1280px;
  --nav-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--wdf-charcoal);
  background-color: var(--wdf-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wdf-ink);
  margin: 0 0 1rem 0;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }

p {
  margin: 0 0 1rem 0;
  color: var(--wdf-charcoal);
}

a {
  color: var(--wdf-ink);
  text-decoration: none;
  transition: color 300ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--wdf-gold);
  outline-offset: 3px;
}

img, svg {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  background-color: var(--wdf-parchment);
}

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

.section--dark {
  background-color: var(--wdf-dark);
  color: var(--wdf-parchment);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: var(--wdf-parchment);
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wdf-gold);
  margin-bottom: 1.25rem;
  display: block;
}

.section-divider {
  width: 64px;
  height: 1px;
  background-color: var(--wdf-gold);
  border: 0;
  margin: 2rem auto;
}

.divider-line {
  width: 120px;
  height: 1px;
  background-color: var(--wdf-border);
  border: 0;
  margin: 2.5rem auto;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(249, 248, 246, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.nav.scrolled {
  border-bottom-color: var(--wdf-border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-primary {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav .brand-logo {
  width: 36px;
  height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wdf-ink);
  white-space: nowrap;
}

.footer-brand .brand-name {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
}

.brand-sub {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wdf-charcoal);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--wdf-charcoal);
  padding: 0.25rem 0;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a.active {
  color: var(--wdf-ink);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background-color: var(--wdf-gold);
}

.nav-cta {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--wdf-border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 300ms ease;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: var(--wdf-gold);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--wdf-ink);
}

.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--wdf-parchment);
  border-bottom: 1px solid var(--wdf-border);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 400ms ease,
              visibility 0s linear 400ms;
  z-index: 99;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 400ms ease,
              visibility 0s linear 0s;
}

.nav-drawer-inner {
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-drawer a:not(.btn) {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--wdf-ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--wdf-border);
  display: block;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 300ms ease;
}

.nav-drawer a:not(.btn):hover,
.nav-drawer a:not(.btn).active {
  color: var(--wdf-gold);
}

.nav-drawer .btn {
  margin-top: 1.5rem;
  text-align: center;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
  text-align: center;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--wdf-ink);
  color: var(--wdf-parchment);
}

.btn--primary:hover {
  background-color: var(--wdf-charcoal);
  color: var(--wdf-parchment);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--wdf-gold);
  color: var(--wdf-ink);
}

.btn--outline:hover {
  background-color: var(--wdf-gold);
  color: var(--wdf-parchment);
}

.btn--outline-light {
  background-color: transparent;
  border: 1px solid var(--wdf-gold);
  color: var(--wdf-parchment);
}

.btn--outline-light:hover {
  background-color: var(--wdf-gold);
  color: var(--wdf-ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* =========================================================
   ACCENT LINK
   ========================================================= */

.accent-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wdf-gold);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 300ms ease, border-color 300ms ease;
  margin-top: 1.5rem;
}

.accent-link:hover {
  color: var(--wdf-ink);
  border-bottom-color: var(--wdf-ink);
}

.section--dark .accent-link:hover {
  color: var(--wdf-parchment);
  border-bottom-color: var(--wdf-parchment);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  background-color: var(--wdf-dark);
  color: var(--wdf-parchment);
  padding: calc(var(--nav-height) + 6rem) 0 6rem;
  overflow: hidden;
}

.hero-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wdf-gold);
  display: block;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--wdf-parchment);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--wdf-parchment);
  line-height: 1.4;
  margin-bottom: 1.75rem;
  max-width: 680px;
}

.hero-body {
  font-family: var(--sans);
  font-size: var(--text-lg);
  color: rgba(249, 248, 246, 0.8);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* =========================================================
   PAGE HEADER (non-home hero)
   ========================================================= */

.page-header {
  background-color: var(--wdf-dark);
  color: var(--wdf-parchment);
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-header-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header h1 {
  font-size: var(--text-4xl);
  color: var(--wdf-parchment);
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.page-header-lede {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: rgba(249, 248, 246, 0.85);
  line-height: 1.45;
  max-width: 720px;
}

/* =========================================================
   HEADINGS / SECTION INTRO
   ========================================================= */

.section-intro {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-intro h2 {
  font-size: var(--text-3xl);
  margin-bottom: 1.25rem;
}

.section-intro p {
  font-size: var(--text-lg);
  color: var(--wdf-charcoal);
}

.section--dark .section-intro p {
  color: rgba(249, 248, 246, 0.85);
}

/* =========================================================
   CARDS
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  position: relative;
  background-color: var(--wdf-ivory);
  border: 1px solid var(--wdf-border);
  border-radius: 6px;
  padding: 2rem;
  transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.card::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--wdf-gold);
  margin-bottom: 1.5rem;
}

.card:hover {
  background-color: #EAE7E0;
  border-color: var(--wdf-gold);
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--wdf-ink);
  margin-bottom: 0.875rem;
}

.card p {
  font-size: var(--text-base);
  color: var(--wdf-charcoal);
  margin: 0;
}

.card--dark {
  background-color: rgba(249, 248, 246, 0.04);
  border-color: rgba(249, 248, 246, 0.12);
}

.card--dark:hover {
  background-color: rgba(249, 248, 246, 0.06);
  border-color: var(--wdf-gold);
}

.card--dark h3 {
  color: var(--wdf-parchment);
}

.card--dark p {
  color: rgba(249, 248, 246, 0.78);
}

/* =========================================================
   HOMEPAGE — INTRO TWO-COLUMN
   ========================================================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.intro-head .section-eyebrow {
  margin-bottom: 1rem;
}

.intro-head h2 {
  font-size: var(--text-3xl);
  margin: 0;
  max-width: 540px;
  line-height: 1.25;
}

.intro-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.intro-body p {
  font-size: var(--text-lg);
  color: var(--wdf-charcoal);
  margin: 0 0 1.5rem 0;
  max-width: 520px;
  line-height: 1.65;
}

.intro-lede {
  font-family: var(--sans);
  font-size: var(--text-xl);
  color: var(--wdf-charcoal);
  line-height: 1.5;
  margin: 0;
  max-width: 480px;
}

.intro-rule {
  width: 64px;
  height: 1px;
  background-color: var(--wdf-gold);
  border: 0;
  margin: 0.25rem 0 1.5rem 0;
}

/* =========================================================
   HOMEPAGE — PLATFORM HIGHLIGHTS
   ========================================================= */

.highlight-intro {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.highlight-intro h2 {
  font-size: var(--text-3xl);
  margin-bottom: 1.25rem;
}

.highlight-intro p {
  font-size: var(--text-lg);
  color: var(--wdf-charcoal);
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.highlight-card {
  display: block;
  background-color: var(--wdf-parchment);
  border: 1px solid var(--wdf-border);
  border-radius: 6px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.highlight-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--wdf-gold);
  margin-bottom: 1.5rem;
}

.highlight-card:hover {
  background-color: var(--wdf-ivory);
  border-color: var(--wdf-gold);
  transform: translateY(-2px);
}

.highlight-card .card-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wdf-gold);
  margin-bottom: 0.875rem;
}

.highlight-card h3 {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--wdf-ink);
  margin: 0 0 0.875rem 0;
}

.highlight-card p {
  font-size: var(--text-sm);
  color: var(--wdf-charcoal);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.highlight-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--wdf-gold);
}

.highlight-card .card-link .arrow {
  display: inline-block;
  transition: transform 300ms ease;
}

.highlight-card:hover .card-link .arrow {
  transform: translateX(4px);
}

/* =========================================================
   ROTATION LIST (Annual Meeting Years)
   ========================================================= */

.rotation-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.rotation-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--wdf-border);
  margin: 0;
}

.rotation-list li:last-child {
  border-bottom: 1px solid var(--wdf-border);
}

.rotation-year {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--wdf-ink);
  letter-spacing: -0.01em;
  min-width: 140px;
  flex-shrink: 0;
}

.rotation-detail {
  font-family: var(--sans);
  font-size: var(--text-base);
  color: var(--wdf-charcoal);
}

/* =========================================================
   COMMUNITY / INITIATIVE / SUMMIT BLOCKS (text-only style)
   ========================================================= */

.block-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--wdf-border);
}

.block-item {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--wdf-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.block-item h3 {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--wdf-ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.block-item p {
  font-size: var(--text-base);
  color: var(--wdf-charcoal);
  margin: 0;
  max-width: 680px;
}

/* =========================================================
   PUBLICATIONS LIST
   ========================================================= */

.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pub-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--wdf-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.pub-list li:first-child {
  border-top: 1px solid var(--wdf-border);
}

.pub-list h4 {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--wdf-ink);
  margin: 0;
}

.pub-list p {
  margin: 0;
  color: var(--wdf-charcoal);
}

/* =========================================================
   CONTACT BLOCKS
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--wdf-border);
}

.contact-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--wdf-border);
}

.contact-block h3 {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wdf-charcoal);
  margin: 0 0 0.5rem 0;
}

.contact-block a {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--wdf-ink);
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: color 300ms ease, border-color 300ms ease;
}

.contact-block a:hover {
  color: var(--wdf-gold);
  border-bottom-color: var(--wdf-gold);
}

.contact-block p {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--wdf-ink);
}

/* =========================================================
   CLOSING SECTION
   ========================================================= */

.closing {
  background-color: var(--wdf-dark);
  color: var(--wdf-parchment);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.closing-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.closing h2 {
  color: var(--wdf-parchment);
  font-size: var(--text-3xl);
  margin-bottom: 2rem;
  line-height: 1.25;
}

.closing .btn-row {
  justify-content: center;
}

/* =========================================================
   PAGE BODY (interior pages)
   ========================================================= */

.page-section {
  padding: 5rem 0;
}

.page-section h2 {
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
}

.page-section h3 {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--wdf-ink);
}

.page-section .lede {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--wdf-charcoal);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.page-section p {
  max-width: 760px;
}

.page-section .narrow {
  max-width: 800px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background-color: var(--wdf-dark);
  color: var(--wdf-parchment);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(249, 248, 246, 0.08);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(249, 248, 246, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 360px;
}

.footer-brand .brand {
  margin-bottom: 0;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
}

.footer-brand .brand-name {
  color: var(--wdf-parchment);
}

.footer-brand .brand-logo circle,
.footer-brand .brand-logo ellipse,
.footer-brand .brand-logo line {
  stroke: var(--wdf-parchment);
}

.footer-statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(249, 248, 246, 0.78);
  line-height: 1.55;
  margin: 0;
  max-width: 320px;
}

.footer-est {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wdf-gold);
  display: inline-block;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wdf-gold);
  margin: 0 0 1.25rem 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(249, 248, 246, 0.78);
  transition: color 300ms ease;
}

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

.footer-col p.footer-rotation-line {
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--wdf-parchment);
  margin: 0 0 0.875rem 0;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.footer-col p.footer-rotation-line .dot {
  color: var(--wdf-gold);
  margin: 0 0.25rem;
}

.footer-col p.footer-secretariat {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(249, 248, 246, 0.6);
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: var(--text-xs);
  color: rgba(249, 248, 246, 0.55);
  letter-spacing: 0.04em;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-right {
  color: rgba(249, 248, 246, 0.45);
}

/* =========================================================
   FADE-IN ANIMATION
   ========================================================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   HERO IMAGE TREATMENT
   ========================================================= */

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: grayscale(100%) contrast(1.05) brightness(0.92);
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 24, 32, 0.82) 0%,
    rgba(20, 24, 32, 0.70) 45%,
    rgba(20, 24, 32, 0.55) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero--has-image .hero-lattice {
  display: none;
}

/* Nav over a dark image hero — transparent at top, parchment on scroll */
.nav--over-hero:not(.scrolled) {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav--over-hero:not(.scrolled) .brand-name {
  color: var(--wdf-parchment);
}

.nav--over-hero:not(.scrolled) .brand-logo circle,
.nav--over-hero:not(.scrolled) .brand-logo ellipse,
.nav--over-hero:not(.scrolled) .brand-logo line {
  stroke: var(--wdf-parchment);
}

.nav--over-hero:not(.scrolled) .nav-links a {
  color: rgba(249, 248, 246, 0.85);
}

.nav--over-hero:not(.scrolled) .nav-links a:hover {
  color: var(--wdf-gold);
}

.nav--over-hero:not(.scrolled) .nav-links a.active {
  color: var(--wdf-parchment);
}

.nav--over-hero:not(.scrolled) .nav-cta {
  color: var(--wdf-parchment);
}

.nav--over-hero:not(.scrolled) .nav-cta:hover {
  background-color: var(--wdf-gold);
  color: var(--wdf-ink);
}

.nav--over-hero:not(.scrolled) .nav-toggle {
  border-color: rgba(249, 248, 246, 0.32);
}

.nav--over-hero:not(.scrolled) .nav-toggle:hover {
  border-color: var(--wdf-gold);
}

.nav--over-hero:not(.scrolled) .nav-toggle svg {
  stroke: var(--wdf-parchment);
}

.nav .brand-logo circle,
.nav .brand-logo ellipse,
.nav .brand-logo line {
  transition: stroke 200ms ease;
}


.hero-inner,
.page-header-inner {
  z-index: 4;
}

@media (max-width: 768px) {
  .hero__image {
    object-position: center center;
  }
}

.hero--page-style .page-header-inner h1,
.hero--page-style .page-header-inner p {
  color: var(--wdf-parchment);
}

.hero--page-style .page-header-inner .page-header-lede {
  color: rgba(249, 248, 246, 0.85);
}

.hero--page-style .page-header-inner .hero-eyebrow {
  color: var(--wdf-gold);
}

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

@media (min-width: 640px) {
  .hero h1 { font-size: var(--text-5xl); }
  .page-header h1 { font-size: var(--text-5xl); }

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

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

  .rotation-list li {
    gap: 2.5rem;
  }

  .block-item {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: baseline;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
  }

  .contact-block {
    border-bottom: 1px solid var(--wdf-border);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }

  .nav-inner {
    padding: 0 3rem;
  }

  .hero-inner,
  .page-header-inner,
  .footer-inner,
  .closing-inner {
    padding: 0 3rem;
  }

  .section {
    padding: 8rem 0;
  }

  .hero {
    padding: calc(var(--nav-height) + 8rem) 0 8rem;
  }

  .page-header {
    padding: calc(var(--nav-height) + 6rem) 0 6rem;
  }

  .closing {
    padding: 8rem 0;
  }

  .page-section {
    padding: 6rem 0;
  }

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

  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }

  .footer {
    padding: 7rem 0 2.5rem;
  }

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

  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .intro-head h2 {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  .nav-primary {
    display: block;
  }
  .nav-cta {
    display: inline-block;
  }
  .nav-toggle {
    display: none;
  }
  .nav .brand-logo {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .page-header h1 {
    font-size: 3.75rem;
  }

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

  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .card {
    padding: 2.5rem;
  }

  .highlight-card {
    padding: 2.5rem;
  }

  .rotation-list {
    margin-top: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .nav-links {
    gap: 2rem;
  }
}

/* =========================================================
   FOOTER — INSTITUTIONAL COMPLETENESS ADDITIONS
   ========================================================= */

.footer-brand .footer-secretariat {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(249, 248, 246, 0.6);
  margin: 0;
  line-height: 1.5;
}

.footer-ribbon {
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--wdf-parchment);
  text-align: center;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(249, 248, 246, 0.12);
}

.footer-ribbon .dot {
  color: var(--wdf-gold);
  margin: 0 0.4rem;
}

/* =========================================================
   LEGAL / UTILITY PROSE (privacy, terms, accessibility)
   ========================================================= */

.legal {
  max-width: 760px;
}

.legal .legal-updated {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--wdf-charcoal);
  margin: 0 0 3rem 0;
}

.legal h2 {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--wdf-ink);
  margin: 3rem 0 1rem 0;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  font-size: var(--text-base);
  color: var(--wdf-charcoal);
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.legal ul {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
}

.legal li {
  font-size: var(--text-base);
  color: var(--wdf-charcoal);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal address {
  font-style: normal;
  color: var(--wdf-charcoal);
  line-height: 1.7;
}

/* =========================================================
   NUMBERED BLOCKS (process steps / governance structure)
   ========================================================= */

.numbered {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}

.numbered-item {
  border-top: 1px solid var(--wdf-border);
  padding-top: 1.75rem;
}

.numbered-item .num {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--wdf-gold);
  margin-bottom: 0.875rem;
}

.numbered-item h3 {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--wdf-ink);
  margin: 0 0 0.75rem 0;
}

.numbered-item p {
  font-size: var(--text-sm);
  color: var(--wdf-charcoal);
  line-height: 1.65;
  margin: 0;
}

.numbered-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--wdf-charcoal);
  margin: 3rem 0 0 0;
}

@media (min-width: 768px) {
  .numbered--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* =========================================================
   ERROR (404) HERO
   ========================================================= */

.error-hero {
  background-color: var(--wdf-dark);
  color: var(--wdf-parchment);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
}

.error-hero-inner {
  max-width: 560px;
}

.error-hero .hero-eyebrow {
  margin-bottom: 1.5rem;
}

.error-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--wdf-parchment);
  font-size: var(--text-5xl);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.error-hero p {
  font-family: var(--sans);
  font-size: var(--text-lg);
  color: rgba(249, 248, 246, 0.82);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.error-hero .btn-row {
  justify-content: center;
}

@media (min-width: 768px) {
  .error-hero h1 {
    font-size: 4rem;
  }
}

/* =========================================================
   MEDIA CONTACT LINE (press)
   ========================================================= */

.media-contact-line {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--wdf-gold);
  margin: 0 0 0.75rem 0;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 300ms ease, border-color 300ms ease;
}

.media-contact-line:hover {
  color: var(--wdf-ink);
  border-bottom-color: var(--wdf-ink);
}

.media-note {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--wdf-charcoal);
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.statement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--wdf-border);
}

.statement-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--wdf-border);
}

.statement-date {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--wdf-charcoal);
  display: block;
  margin-bottom: 0.5rem;
}

.statement-title {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--wdf-ink);
  margin: 0 0 0.5rem 0;
}

.statement-body {
  font-size: var(--text-sm);
  color: var(--wdf-charcoal);
  margin: 0;
}

.statement-note {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--wdf-charcoal);
  margin: 2rem 0 0 0;
  max-width: 620px;
  line-height: 1.6;
}

/* =========================================================
   COOKIE BANNER
   var(--ease) -> ease and var(--inter) -> var(--sans):
   neither token exists in :root; these match the codebase.
   ========================================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background-color: var(--wdf-dark);
  border-top: 1px solid rgba(196, 169, 98, 0.32);
  padding: 1.25rem 1.5rem;
  transform: translateY(110%);
  transition: transform 500ms ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(249, 248, 246, 0.82);
  margin: 0;
}

.cookie-banner__link {
  color: var(--wdf-gold);
  text-decoration: none;
  margin-left: 0.5rem;
  transition: color 300ms ease;
  white-space: nowrap;
}

.cookie-banner__link:hover {
  color: var(--wdf-parchment);
}

.cookie-banner__button {
  background: transparent;
  border: 1px solid var(--wdf-gold);
  color: var(--wdf-parchment);
  padding: 0.625rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 300ms ease, color 300ms ease;
  white-space: nowrap;
}

.cookie-banner__button:hover {
  background-color: var(--wdf-gold);
  color: var(--wdf-dark);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition-duration: 0.001ms;
  }
}
