/* ==========================================================================
   RWRC — Roma Women Rights Center
   Design system CSS — ported from the approved static-site build.
   Colour derived from the Romani flag: blue leads, green supports,
   chakra-red is reserved for action (Donate).
   Loaded via wp_enqueue_style() in inc/enqueue.php — do not link this
   directly in a template.
   ========================================================================== */

/* ---- Self-hosted fonts (no external CDN calls — GDPR + performance) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+2113;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+2113;
}

/* ---- Tokens ---- */
:root {
  /* Brand colours */
  --primary: #14467A;
  --primary-deep: #0C2E54;
  --primary-tint: #E8F0F9;
  --secondary: #1F7A4D;
  --secondary-tint: #E6F4EC;
  --accent: #C8102E;
  --accent-hover: #A60D26;

  /* Neutrals */
  --ink: #14181F;
  --slate-700: #39424E;
  --slate-500: #6B7480;
  --slate-300: #C7CDD4;
  --cloud: #F2F4F7;
  --off-white: #F8FAFC;
  --white: #FFFFFF;

  /* State */
  --success: #1F7A4D;
  --warning: #B26A00;
  --error: #C8102E;
  --focus-ring: #1E6FD9;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(12,46,84,.06), 0 1px 3px rgba(12,46,84,.08);
  --sh-md: 0 4px 12px rgba(12,46,84,.08), 0 2px 4px rgba(12,46,84,.06);
  --sh-lg: 0 18px 40px rgba(12,46,84,.12);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --content-max: 1200px;
  --wide-max: 1320px;
  --text-max: 72ch;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 80px; --space-10: 120px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 600; line-height: 1.15; }
h3 { font-size: clamp(22px, 3vw, 26px); font-weight: 600; line-height: 1.25; }
h4 { font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.3; }
p { max-width: var(--text-max); }
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lead { font-size: clamp(18px, 2.2vw, 20px); line-height: 1.6; color: var(--slate-700); max-width: 65ch; }
small, .small { font-size: 14px; color: var(--slate-500); }

/* ---- Accessibility globals ---- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}
.screen-reader-text, .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout utilities ---- */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--wide { max-width: var(--wide-max); }
.u-section { padding: var(--space-9) 0; }
@media (min-width: 1024px) { .u-section { padding: var(--space-10) 0; } }
.u-section--alt { background: var(--cloud); }
.u-section--tint { background: var(--primary-tint); }
.u-section--tint-green { background: var(--secondary-tint); }
.u-section--deep { background: var(--primary-deep); color: var(--white); }
.u-section--deep h2, .u-section--deep h3 { color: var(--white); }
.u-section--border { border-bottom: 1px solid var(--slate-300); }
.u-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}
.u-section--deep .u-eyebrow, .hero .u-eyebrow { color: var(--white); opacity: .85; }
.u-header-row { margin-bottom: var(--space-6); }
.u-header-row h2 { margin-top: 4px; margin-bottom: 12px; }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1023px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.btn, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); color: var(--white); }
.btn-solid, .wp-block-button__link { background: var(--primary); color: var(--white); }
.btn-solid:hover, .wp-block-button__link:hover { background: var(--primary-deep); color: var(--white); }
.btn-outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-tint); }
.btn-ghost { background: none; color: var(--primary); padding: 14px 8px; }
.btn-ondark { background: var(--white); color: var(--primary); }
.btn-ondark:hover { background: var(--cloud); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-sm { padding: 10px 20px; font-size: 14px; min-height: 40px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--r-md);
  padding: var(--space-5);
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.card h3 { font-size: 20px; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--slate-700); margin-bottom: 12px; }
.card .more {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}
.card:hover .more { gap: 8px; }

.icon-chip {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.icon-chip.green { background: var(--secondary-tint); color: var(--secondary); }
.icon-chip svg { width: 22px; height: 22px; }

.project-card { padding: 0; overflow: hidden; }
.project-card__media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  overflow: hidden;
}
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { padding: 20px; }
.pill {
  display: inline-block;
  background: var(--secondary-tint);
  color: var(--secondary);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: .03em;
}
.pill.blue { background: var(--primary-tint); color: var(--primary); }

.stat { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: 14px; color: var(--slate-700); margin-top: 6px; }
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-5);
  background: var(--primary-tint);
  padding: var(--space-6);
  border-radius: var(--r-lg);
}

.quote, .wp-block-quote {
  background: var(--secondary-tint);
  border-radius: var(--r-md);
  padding: 32px;
  font-size: 20px;
  color: var(--ink);
  position: relative;
  border: none;
}
.quote::before, .wp-block-quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--secondary);
  opacity: .4;
  position: absolute;
  top: 4px; left: 18px;
  line-height: 1;
}
.quote p { padding-left: 8px; }
.quote cite, .wp-block-quote cite { display: block; font-size: 14px; color: var(--slate-500); font-style: normal; margin-top: 16px; padding-left: 8px; }

.values-row { display: flex; flex-wrap: wrap; gap: 12px; }
.value-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--slate-300);
  border-radius: var(--r-pill); padding: 10px 18px; font-weight: 600; font-size: 14px;
}
.value-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-300);
}
.site-header__row {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex-shrink: 1; }
.brand img, .custom-logo { height: 40px; width: auto; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand__name span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--slate-500); letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .brand__name { font-size: 14px; max-width: 34vw; }
  .brand__name span { display: none; }
}

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav { display: flex; align-items: center; gap: 28px; }
}
.primary-nav ul { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"], .primary-nav .current-menu-item > a { color: var(--primary); border-bottom-color: var(--primary); }

.has-mega { position: relative; }
.has-mega > button {
  background: none; border: none; font: inherit; font-weight: 600; font-size: 15px;
  color: var(--ink); display: flex; align-items: center; gap: 4px; padding: 8px 2px; cursor: pointer;
}
.has-mega > button:hover { color: var(--primary); }
.mega-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 20px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
}
.has-mega.is-open .mega-menu { display: grid; }
.mega-menu a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink);
}
.mega-menu a:hover { background: var(--primary-tint); }
.mega-menu a .icon-chip { margin-bottom: 0; width: 36px; height: 36px; }
.mega-menu a strong { display: block; font-size: 14px; font-family: var(--font-body); font-weight: 600; }
.mega-menu a small { display: block; color: var(--slate-500); font-size: 12px; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: flex; gap: 6px; font-size: 13px; font-weight: 600; }
.lang-switch a { color: var(--slate-500); text-decoration: none; padding: 4px; }
.lang-switch a[aria-current="true"] { color: var(--primary); }
.header-actions .btn-outline { display: none; }
@media (min-width: 1024px) { .header-actions .btn-outline { display: inline-flex; } }

.menu-toggle {
  display: flex;
  background: none; border: 1px solid var(--slate-300); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: none; }
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-deep);
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav__top .brand__name, .mobile-nav__top .brand__name span { color: var(--white); }
.mobile-nav__close { background: none; border: none; color: var(--white); width: 44px; height: 44px; }
.mobile-nav__close svg { width: 26px; height: 26px; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block; color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15);
  min-height: 56px; display: flex; align-items: center;
}
.mobile-nav__footer { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav__footer .lang-switch a { color: rgba(255,255,255,.7); }
.mobile-nav__footer .lang-switch a[aria-current="true"] { color: var(--white); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---- Hero ---- */
.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: var(--white);
  padding: 96px 0;
  background: linear-gradient(135deg, #0C2E54 0%, #14467A 55%, #1F7A4D 130%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,46,84,.88) 0%, rgba(20,70,122,.82) 55%, rgba(31,122,77,.78) 130%);
}
.hero__inner { position: relative; max-width: 820px; }
.hero .badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); margin: 14px 0 18px; }
.hero p.lead { color: #dbe6f3; max-width: 60ch; margin-bottom: 28px; }
.hero-photo { background-size: cover; background-position: center; }
.trust-strip { position: relative; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.trust-strip .u-small { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 12px; display: block; }
.trust-logos { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; opacity: .85; }
.trust-logos span { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 14px; }

.hero--compact { min-height: auto; padding: 72px 0 64px; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--slate-300); }
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -38px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--secondary);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 18px; }

/* ---- Forms ---- */
.form-field { margin-bottom: var(--space-5); }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field .hint { font-size: 13px; color: var(--slate-500); margin-top: 4px; display: block; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 16px;
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
  transition: border-color .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--focus-ring);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--error); }
.form-field .error-msg { color: var(--error); font-size: 13px; margin-top: 6px; display: none; font-weight: 600; }
.form-field.has-error .error-msg { display: block; }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-field input { width: 20px; height: 20px; min-height: auto; flex-shrink: 0; margin-top: 2px; }
.checkbox-field label { font-weight: 400; font-size: 14px; color: var(--slate-700); }
.form-status {
  padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px;
  margin-top: 16px; display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: var(--secondary-tint); color: var(--secondary); }
.form-status.error { background: #FBE9EC; color: var(--accent); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* Newsletter band */
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 480px; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px;
  border-radius: var(--r-sm); border: none; padding: 0 16px; min-height: 48px; font-size: 15px;
}
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.75); max-width: 480px; }
.newsletter-consent input { margin-top: 3px; }
.newsletter-consent a { color: var(--white); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--slate-300); }
.footer-newsletter { background: var(--primary-deep); color: var(--white); padding: var(--space-7) 0; }
.footer-newsletter h3 { color: var(--white); margin-bottom: 8px; }
.footer-newsletter p { color: #cfe0f0; margin-bottom: 20px; }
.footer-main { padding: var(--space-8) 0 var(--space-6); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-family: var(--font-display); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--slate-300); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--slate-300); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--slate-500);
}
.footer-legal ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--slate-500); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ---- Quick exit ---- */
.quick-exit {
  position: fixed; right: 16px; bottom: 16px; z-index: 999;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
}
.quick-exit:hover { background: #000; color: var(--white); }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 13px; color: var(--slate-500); margin-bottom: 16px; }
.breadcrumb a { color: var(--slate-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---- Filter chips (Projects archive) ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-6); }
.filter-chip {
  background: var(--white); border: 1.5px solid var(--slate-300);
  padding: 9px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px;
  cursor: pointer; color: var(--slate-700);
}
.filter-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---- Content page prose (and default block-editor content) ---- */
.prose, .entry-content { max-width: 720px; }
.prose h2, .entry-content h2 { margin-top: var(--space-7); margin-bottom: 14px; }
.prose h2:first-child, .entry-content h2:first-child { margin-top: 0; }
.prose p, .entry-content p { margin-bottom: 18px; color: var(--slate-700); }
.prose ul, .prose ol, .entry-content ul, .entry-content ol { margin: 0 0 18px 22px; list-style: disc; color: var(--slate-700); }
.prose ol, .entry-content ol { list-style: decimal; }
.prose li, .entry-content li { margin-bottom: 8px; }
.prose a, .entry-content a { font-weight: 600; }
.prose strong, .entry-content strong { color: var(--ink); }
.entry-content img { border-radius: var(--r-md); margin-bottom: 18px; }
.entry-content figcaption { font-size: 13px; color: var(--slate-500); margin-top: -10px; margin-bottom: 18px; }

/* ---- Content-required placeholder marker ---- */
.content-needed {
  display: inline-block;
  background: #FFF4E5;
  color: var(--warning);
  border: 1px dashed #D89B3D;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 600;
}

/* ---- CTA band ---- */
.cta-band { border-radius: var(--r-lg); padding: var(--space-7); text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* ---- Responsive tables of contact/meta ---- */
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--slate-500); font-size: 14px; margin-bottom: 20px; }
.meta-row strong { color: var(--ink); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-title-center { text-align: center; max-width: 640px; margin: 0 auto var(--space-6); }
.section-title-center .u-eyebrow { display: block; }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---- WordPress core / block-editor compatibility ---- */
.alignwide { max-width: var(--wide-max); margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--slate-500); margin-top: 8px; }
.wp-block-image { margin-bottom: 18px; }
.wp-block-columns { gap: var(--space-6); }

/* ---- Blog post cards & pagination (News archive) ---- */
.post-card { display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; background: var(--cloud); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { font-size: 13px; color: var(--slate-500); margin-bottom: 8px; }
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: var(--space-7); flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--slate-300); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pagination a:hover { background: var(--primary-tint); }

/* ---- Responsive media rules ---- */
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 64px 0 48px; }
  .u-section { padding: 56px 0; }
  .footer-newsletter, .cta-band { padding-left: 0; padding-right: 0; }
  body { font-size: 16px; }
}
