/* ==========================================================================
   UFALME — Static Site Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --forest-50: #EAF5EE;
  --forest-100: #CFE9D8;
  --forest-300: #6FBB8B;
  --forest-500: #0C5A28;
  --forest-600: #0A4E22;
  --forest-700: #08401C;
  --forest-800: #063315;
  --forest-900: #04250F;
  --forest-950: #022810;
  --forest: #0C5A28;

  --amber-50: #FFF4EA;
  --amber-100: #FEE3C7;
  --amber-300: #FDC98D;
  --amber-400: #F28C28;
  --amber-500: #E87A18;
  --amber-600: #C4620F;
  --amber-700: #9B4C0C;
  --amber: #E87A18;

  --pearl: #FBFBF9;
  --pearl-soft: #FAFAFC;
  --white: #FFFFFF;
  --ink: #1E293B;
  --olive: #64748B;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 2px 8px -2px rgba(4, 37, 15, 0.08), 0 1px 2px -1px rgba(4, 37, 15, 0.05);
  --shadow-elevate: 0 20px 40px -12px rgba(4, 37, 15, 0.2);
  --shadow-glow: 0 0 0 1px rgba(232, 122, 24, 0.15), 0 8px 30px -8px rgba(232, 122, 24, 0.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--amber-100); color: var(--forest-900); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--forest); color: var(--pearl); padding: 12px 20px;
  border-radius: 999px; transition: top 0.2s var(--ease-luxe);
}
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--amber-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.on-dark { color: var(--amber-300); }

.fluid-hero { font-size: clamp(2.5rem, 5vw + 1rem, 5.25rem); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; }
.fluid-h1 { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.5rem); line-height: 1.07; letter-spacing: -0.02em; font-weight: 800; }
.fluid-h2 { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.6rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
.fluid-h3 { font-size: clamp(1.3rem, 1.2vw + 1rem, 1.65rem); line-height: 1.25; font-weight: 600; }
.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  padding: 13px 26px; transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe), background-color 0.3s var(--ease-luxe), border-color 0.3s var(--ease-luxe), color 0.3s var(--ease-luxe);
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-luxe); flex-shrink: 0; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-primary { background: var(--forest); color: var(--pearl); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevate); background: var(--forest-600); }
.btn-secondary { background: var(--amber); color: #fff; box-shadow: var(--shadow-soft); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); background: var(--amber-600); }
.btn-outline { background: transparent; color: var(--forest); border-color: rgba(12,90,40,0.28); }
.btn-outline:hover { transform: translateY(-3px); border-color: var(--forest); background: rgba(12,90,40,0.05); }
.btn-outline.on-dark { color: var(--pearl); border-color: rgba(251,251,249,0.28); }
.btn-outline.on-dark:hover { border-color: var(--pearl); background: rgba(251,251,249,0.1); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.3s var(--ease-luxe), border-color 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe), backdrop-filter 0.3s var(--ease-luxe);
}
.site-nav.scrolled {
  background: rgba(251,251,249,0.82);
  border-color: rgba(100,116,139,0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-nav .row { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px;
  color: var(--pearl); transition: color 0.3s var(--ease-luxe);
}
.site-nav.scrolled .brand { color: var(--forest-900); }
.brand .mark {
  width: 40px; height: 40px; object-fit: contain; display: block; flex: none;
}
.nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; padding: 10px 16px; font-size: 14px; font-weight: 600; color: rgba(251,251,249,0.85);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--pearl); }
.site-nav.scrolled .nav-links a { color: rgba(30,41,59,0.68); }
.site-nav.scrolled .nav-links a:hover, .site-nav.scrolled .nav-links a.active { color: var(--forest-900); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--amber); border-radius: 2px;
}
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: block; } }
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(251,251,249,0.35); color: var(--pearl);
  transition: color 0.3s var(--ease-luxe), border-color 0.3s var(--ease-luxe);
}
.site-nav.scrolled .nav-toggle { border-color: rgba(100,116,139,0.25); color: var(--forest-900); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-drawer {
  display: none; overflow: hidden; border-top: 1px solid rgba(100,116,139,0.12);
  background: rgba(251,251,249,0.98); backdrop-filter: blur(18px);
}
.mobile-drawer.open { display: block; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 4px; padding: 20px 0 28px; }
.mobile-drawer a {
  min-height: 48px; display: flex; align-items: center; border-radius: 14px; padding: 12px 16px;
  font-size: 16px; font-weight: 600; color: rgba(30,41,59,0.78);
}
.mobile-drawer a.active, .mobile-drawer a:hover { background: var(--forest-50); color: var(--forest-900); }
.mobile-drawer .cta-wrap { padding: 12px 16px 0; }

/* ---------- Hero (dark) ---------- */
.hero-dark {
  position: relative; overflow: hidden; color: var(--pearl);
  padding: 168px 0 112px;
  background: var(--forest-950) url('images/photo-sunrise-road.jpg') center/cover no-repeat;
}
@media (min-width: 768px) { .hero-dark { padding: 176px 0 140px; } }
.hero-dark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,40,16,0.93) 0%, rgba(2,40,16,0.88) 45%, rgba(2,40,16,0.95) 100%);
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(232,122,24,0.14) 0%, rgba(232,122,24,0) 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(12,90,40,0.28) 0%, rgba(12,90,40,0) 55%);
}
.hero-dark .hero-inner { position: relative; z-index: 2; }
.hero-dark .hero-glow-a, .hero-dark .hero-glow-b { z-index: 1; }
.hero-dark .eyebrow.on-dark::before { display: none; }
.hero-glow-a, .hero-glow-b { position: absolute; border-radius: 999px; filter: blur(110px); pointer-events: none; }
.hero-glow-a { left: -8rem; top: 30%; width: 24rem; height: 24rem; background: rgba(111,187,139,0.22); }
.hero-glow-b { right: -6rem; top: 2.5rem; width: 20rem; height: 20rem; background: rgba(232,122,24,0.16); }
.hero-inner { position: relative; }

/* Page hero (shorter, used on inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--forest-950); color: var(--pearl); padding: 148px 0 76px; }
@media (min-width: 768px) { .page-hero { padding: 156px 0 96px; } }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(232,122,24,0.12) 0%, rgba(232,122,24,0) 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(12,90,40,0.3) 0%, rgba(12,90,40,0) 55%);
}
.page-hero .hero-inner { position: relative; }
.page-hero.has-photo { background-size: cover; background-position: center; }
.page-hero.has-photo::before {
  background: linear-gradient(180deg, rgba(2,40,16,0.91) 0%, rgba(2,40,16,0.86) 45%, rgba(2,40,16,0.94) 100%);
}

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: rgba(251,251,249,0.5); margin-bottom: 24px; }
.breadcrumbs a { color: rgba(251,251,249,0.7); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--amber-300); }
.breadcrumbs .current { color: var(--amber-300); font-weight: 600; }
.breadcrumbs svg { width: 12px; height: 12px; }

/* ---------- Section headers ---------- */
.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section-tight { padding: 80px 0; }
@media (min-width: 768px) { .section-tight { padding: 96px 0; } }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { margin-top: 18px; color: var(--forest-900); }
.section-head.on-dark h2 { color: var(--pearl); }
.section-head p { margin-top: 20px; font-size: 17px; line-height: 1.7; color: rgba(30,41,59,0.7); }
.section-head.on-dark p { color: rgba(251,251,249,0.75); }

.section-forest { background: var(--forest-900); color: var(--pearl); }
.section-soft { background: var(--pearl-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-luxe), transform 0.7s var(--ease-luxe); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Stat tiles (hero) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 780px; margin: 72px auto 0; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-tile {
  border: 1px solid rgba(251,251,249,0.1); background: rgba(251,251,249,0.04); border-radius: 18px; padding: 20px 10px; text-align: center;
  transition: transform 0.3s var(--ease-luxe), border-color 0.3s var(--ease-luxe), background-color 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe);
}
.stat-tile:hover {
  transform: translateY(-6px); border-color: rgba(253,201,141,0.4); background: rgba(251,251,249,0.09); box-shadow: var(--shadow-glow);
}
.stat-tile b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; transition: color 0.3s var(--ease-luxe); }
.stat-tile:hover b { color: var(--amber-300); }
.stat-tile span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(251,251,249,0.5); transition: color 0.3s var(--ease-luxe); }
.stat-tile:hover span { color: rgba(251,251,249,0.75); }

/* ---------- Cards: Pillars ---------- */
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 60px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.pillar-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid rgba(100,116,139,0.15); border-radius: 18px; padding: 0;
  box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe), border-color 0.3s var(--ease-luxe);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevate); border-color: rgba(232,122,24,0.4); }
.pillar-card-photo { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--forest-50); }
.pillar-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-luxe); }
.pillar-card:hover .pillar-card-photo img { transform: scale(1.06); }
.pillar-card-body { position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 26px 26px; }
.pillar-card .blob { position: absolute; right: -32px; top: -32px; width: 110px; height: 110px; border-radius: 999px; background: var(--forest-50); transition: transform 0.5s var(--ease-luxe), background-color 0.5s; }
.pillar-card:hover .blob { transform: scale(1.25); background: var(--amber-50); }
.pillar-card .icon-wrap {
  position: relative; width: 48px; height: 48px; border-radius: 12px; background: var(--forest-50); color: var(--forest);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; margin-top: -46px; box-shadow: var(--shadow-soft); transition: background-color 0.3s, color 0.3s;
}
.pillar-card:hover .icon-wrap { background: var(--forest); color: var(--pearl); }
.pillar-card .icon-wrap svg { width: 24px; height: 24px; }
.pillar-card h3 { position: relative; font-size: 18px; font-weight: 600; color: var(--forest-900); }
.pillar-card p { position: relative; margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); }
.pillar-card .sphere-tag { position: relative; margin-top: 22px; display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(100,116,139,0.75); }

/* ---------- Distinctive value ---------- */
.dvalue-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(251,251,249,0.1); margin-top: 60px; border-radius: 24px; overflow: hidden; }
@media (min-width: 768px) { .dvalue-grid { grid-template-columns: repeat(3, 1fr); } }
.dvalue-item { background: var(--forest-900); padding: 34px; }
.dvalue-item .icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: rgba(232,122,24,0.15); color: var(--amber-300); display: flex; align-items: center; justify-content: center; }
.dvalue-item .icon-wrap svg { width: 22px; height: 22px; }
.dvalue-item h3 { margin-top: 24px; font-size: 20px; font-weight: 600; color: var(--pearl); }
.dvalue-item p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: rgba(251,251,249,0.65); }

/* ---------- Core values ---------- */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 60px; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card {
  display: flex; align-items: flex-start; gap: 18px; background: var(--white); border: 1px solid rgba(100,116,139,0.15);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe);
}
.value-card:hover { transform: translateY(-5px) scale(1.012); box-shadow: var(--shadow-elevate); }
.value-card .letter {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; box-shadow: var(--shadow-soft);
}
.value-card .letter.tone-forest { background: var(--forest); }
.value-card .letter.tone-amber { background: var(--amber); }
.value-card h3 { font-size: 18px; font-weight: 600; color: var(--forest-900); }
.value-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); }

/* ---------- Impact pathway ---------- */
.pathway-desktop { display: none; align-items: stretch; justify-content: space-between; gap: 4px; margin-top: 60px; }
@media (min-width: 1024px) { .pathway-desktop { display: flex; } }
.pathway-step-wrap { display: flex; align-items: center; flex: 1; }
.pathway-step {
  width: 100%; text-align: center; border-radius: 18px; border: 1px solid rgba(100,116,139,0.15);
  background: var(--white); padding: 18px 14px; cursor: pointer; transition: all 0.3s var(--ease-luxe);
}
.pathway-step:hover, .pathway-step.active { border-color: var(--amber); background: var(--forest); color: var(--pearl); box-shadow: var(--shadow-elevate); }
.pathway-step .num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px;
  background: var(--forest-50); color: var(--forest); font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.pathway-step.active .num, .pathway-step:hover .num { background: var(--amber); color: #fff; }
.pathway-step .title { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.pathway-step .desc {
  display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 11.5px; line-height: 1.5; color: rgba(251,251,249,0.8);
  transition: max-height 0.3s var(--ease-luxe), opacity 0.3s var(--ease-luxe), padding-top 0.3s;
}
.pathway-step.active .desc, .pathway-step:hover .desc { max-height: 100px; opacity: 1; padding-top: 8px; }
.pathway-arrow { flex-shrink: 0; width: 16px; height: 16px; color: var(--amber-500); margin: 0 6px; }

.pathway-mobile { display: block; margin-top: 60px; }
@media (min-width: 1024px) { .pathway-mobile { display: none; } }
.pathway-mobile li { margin-bottom: 10px; }
.pathway-mobile button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border-radius: 16px;
  border: 1px solid rgba(100,116,139,0.15); background: var(--white); padding: 14px 16px; transition: all 0.3s;
}
.pathway-mobile button.active { border-color: var(--amber); background: var(--forest); color: var(--pearl); }
.pathway-mobile .num {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px;
  background: var(--forest-50); color: var(--forest); font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.pathway-mobile button.active .num { background: var(--amber); color: #fff; }
.pathway-mobile .title { font-size: 14px; font-weight: 600; display: block; }
.pathway-mobile .desc { display: none; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: rgba(251,251,249,0.8); }
.pathway-mobile button.active .desc { display: block; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--forest); color: var(--pearl);
  text-align: center; padding: 64px 32px; box-shadow: var(--shadow-elevate);
}
@media (min-width: 768px) { .cta-banner { padding: 80px 64px; } }
.cta-banner .glow-a, .cta-banner .glow-b { position: absolute; width: 16rem; height: 16rem; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.cta-banner .glow-a { right: -4rem; top: -4rem; background: rgba(253,201,141,0.25); }
.cta-banner .glow-b { left: -4rem; bottom: -5rem; background: rgba(111,187,139,0.25); }
.cta-banner .inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-banner p { margin: 20px auto 0; max-width: 520px; font-size: 17px; line-height: 1.7; color: rgba(251,251,249,0.78); }
.cta-banner .actions { margin-top: 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
@media (min-width: 640px) { .cta-banner .actions { flex-direction: row; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid rgba(100,116,139,0.15); background: var(--forest-950); color: rgba(251,251,249,0.8); }
.footer-splash { position: absolute; width: 260px; height: auto; opacity: 0.1; pointer-events: none; z-index: 0; }
.footer-splash.a { left: -50px; top: -30px; transform: scaleX(-1); }
.footer-splash.b { right: -50px; bottom: -40px; transform: rotate(180deg); }
.footer-bottom { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; position: relative; z-index: 1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; } }
.footer-grid .brand { color: var(--pearl); }
.footer-brand-col { padding-right: 0; }
@media (min-width: 1024px) { .footer-brand-col { padding-right: 40px; } }
.footer-about { margin-top: 20px; max-width: 20rem; font-size: 14px; line-height: 1.7; color: rgba(251,251,249,0.6); }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(251,251,249,0.45); }
.footer-col ul { margin-top: 20px; }
.footer-col li { margin-bottom: 12px; font-size: 14px; color: rgba(251,251,249,0.7); }
.footer-col a:hover { color: var(--amber-300); }
.footer-pillars ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--amber-400); }
.footer-bottom { border-top: 1px solid rgba(251,251,249,0.1); }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px; font-size: 12px; color: rgba(251,251,249,0.45); text-align: center; }
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom .quote { font-style: italic; }

/* ---------- Prose blocks ---------- */
.prose p { margin-bottom: 20px; font-size: 16px; line-height: 1.75; color: rgba(30,41,59,0.8); }
@media (min-width: 768px) { .prose p { font-size: 17px; } }

/* ---------- Quote cards (About) ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 0; }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.quote-card { border-radius: 24px; padding: 40px; box-shadow: var(--shadow-soft); height: 100%; }
@media (min-width: 768px) { .quote-card { padding: 48px; } }
.quote-card.light { background: var(--white); border: 1px solid rgba(100,116,139,0.15); }
.quote-card.dark { background: var(--forest); color: var(--pearl); }
.quote-card blockquote { margin: 24px 0 0; font-style: italic; font-weight: 500; }
.quote-card .rule { margin-top: 32px; width: 64px; height: 1px; background: var(--amber); }
.quote-card.dark .rule { background: var(--amber-300); }
.quote-card .ref { margin-top: 24px; font-size: 13px; color: rgba(30,41,59,0.55); }
.quote-card.dark .ref { color: rgba(251,251,249,0.55); }

/* ---------- Two-col with sidebar list ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .split > div:first-child { display: flex; flex-direction: column; justify-content: center; }
}
.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.chip {
  display: flex; align-items: center; gap: 8px; border-radius: 12px; background: var(--forest-50);
  padding: 10px 12px; font-size: 13.5px; font-weight: 500; color: var(--forest-800);
}
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); flex-shrink: 0; }
.info-card { border-radius: 24px; border: 1px solid rgba(100,116,139,0.15); background: var(--white); padding: 32px; box-shadow: var(--shadow-soft); }

.reach-split { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 1024px) {
  .reach-split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .reach-split > div:first-child { display: flex; flex-direction: column; justify-content: center; }
}
.reach-metrics { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .reach-metrics { grid-template-columns: repeat(2, 1fr); } }
.metric-card { height: 100%; border-radius: 18px; border: 1px solid rgba(100,116,139,0.15); background: var(--white); padding: 24px; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s; }
.metric-card:hover { box-shadow: var(--shadow-elevate); }
.metric-card h3 { font-size: 16px; font-weight: 600; color: var(--forest-900); }
.metric-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); }

/* ---------- Publications ---------- */
.pub-toolbar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .pub-toolbar { flex-direction: row; align-items: center; } }
.search-wrap { position: relative; flex: 1; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: rgba(100,116,139,0.6); pointer-events: none; }
.search-wrap input {
  width: 100%; border-radius: 999px; border: 1px solid rgba(100,116,139,0.25); background: var(--white);
  padding: 14px 18px 14px 44px; font-size: 14px; box-shadow: var(--shadow-soft); transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: var(--forest); }
.filter-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1px solid rgba(100,116,139,0.25);
  background: var(--white); padding: 14px 22px; font-size: 14px; font-weight: 600; color: var(--forest-900); transition: all 0.2s; white-space: nowrap;
}
.filter-toggle.active { border-color: var(--forest); background: var(--forest); color: var(--pearl); }
.filter-toggle svg { width: 16px; height: 16px; }
.filter-count { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--amber); color: #fff; font-size: 11px; font-weight: 700; }

.filter-panel { display: none; margin-top: 24px; border-radius: 18px; border: 1px solid rgba(100,116,139,0.15); background: var(--white); padding: 24px; box-shadow: var(--shadow-soft); gap: 24px; }
.filter-panel.open { display: grid; }
@media (min-width: 768px) { .filter-panel.open { grid-template-columns: repeat(2, 1fr); } }
.filter-panel h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(100,116,139,0.75); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill-btn { border-radius: 999px; border: 1px solid rgba(100,116,139,0.25); padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: rgba(30,41,59,0.7); transition: all 0.2s; }
.pill-btn.active-type { border-color: var(--forest); background: var(--forest); color: var(--pearl); }
.pill-btn.active-domain { border-color: var(--amber); background: var(--amber); color: #fff; }

.results-row { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; }
.results-row p { font-size: 14px; color: rgba(30,41,59,0.6); }
.clear-link { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--forest); }
.clear-link svg { width: 14px; height: 14px; }
.clear-link:hover { color: var(--amber-600); }

.pub-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
@media (min-width: 640px) { .pub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pub-grid { grid-template-columns: repeat(3, 1fr); } }

.pub-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px;
  border: 1px solid rgba(100,116,139,0.15); background: var(--white); box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe);
}
.pub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevate); }
.pub-card .cover {
  position: relative; height: 144px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--forest-900);
}
.pub-card .cover::before {
  content: ""; position: absolute; inset: 0; opacity: 0.45;
  background: radial-gradient(circle at 20% 20%, rgba(232,122,24,0.55), transparent 45%), radial-gradient(circle at 80% 80%, rgba(12,90,40,0.7), transparent 50%);
}
.pub-card .cover svg { position: relative; width: 38px; height: 38px; color: rgba(251,251,249,0.9); }
.pub-card .cover .tag-type { position: absolute; left: 14px; top: 14px; border-radius: 999px; background: rgba(251,251,249,0.92); padding: 4px 11px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--forest-900); }
.pub-card .cover .tag-featured { position: absolute; right: 14px; top: 14px; border-radius: 999px; background: var(--amber); padding: 4px 11px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; }
.pub-card .body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.pub-card .domain { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-600); }
.pub-card h3 { margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--forest-900); }
.pub-card .abstract { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pub-card .meta { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(100,116,139,0.75); }
.pub-card .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(100,116,139,0.12); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pub-card .preview-link { font-size: 13.5px; font-weight: 600; color: var(--forest); }
.pub-card .preview-link:hover { color: var(--amber-600); text-decoration: underline; text-underline-offset: 3px; }
.access-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.access-badge svg { width: 13px; height: 13px; }
.access-badge.free { background: var(--forest-50); color: var(--forest-700); }
.access-badge.purchase { background: var(--amber-50); color: var(--amber-700); }
.access-badge.request { background: rgba(100,116,139,0.12); color: rgba(30,41,59,0.7); }

.empty-state { margin-top: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px dashed rgba(100,116,139,0.3); border-radius: 18px; padding: 64px 24px; }
.empty-state h3 { font-size: 20px; font-weight: 600; color: var(--forest-900); }
.empty-state p { margin-top: 8px; max-width: 22rem; font-size: 14px; color: rgba(30,41,59,0.6); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,40,16,0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s; }
.modal-overlay.open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; z-index: 1; width: 100%; max-width: 34rem; max-height: 85vh; overflow-y: auto;
  border-radius: 26px; background: var(--pearl); padding: 36px; box-shadow: var(--shadow-elevate);
  opacity: 0; transform: translateY(20px) scale(0.97); transition: opacity 0.3s var(--ease-luxe), transform 0.3s var(--ease-luxe);
}
@media (min-width: 768px) { .modal-panel { padding: 44px; } }
.modal-overlay.open .modal-panel { opacity: 1; transform: translateY(0) scale(1); }
.modal-panel.narrow { max-width: 28rem; }
.modal-close {
  position: absolute; right: 24px; top: 24px; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(100,116,139,0.25); color: rgba(30,41,59,0.6); display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { border-color: var(--forest); color: var(--forest); }
.modal-close svg { width: 15px; height: 15px; }
.modal-title { padding-right: 40px; font-size: 24px; font-weight: 600; color: var(--forest-900); }

/* ---------- Forms ---------- */
.field-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(100,116,139,0.75); margin-bottom: 8px; }
.field-input {
  width: 100%; border-radius: 12px; border: 1px solid rgba(100,116,139,0.28); padding: 13px 16px; font-size: 14px;
  background: var(--white); transition: border-color 0.2s;
}
.field-input:focus { border-color: var(--forest); }
.field-input.invalid { border-color: var(--amber-600); }
textarea.field-input { resize: none; }
.field-error { margin-top: 6px; font-size: 12px; color: var(--amber-700); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: repeat(2, 1fr); } }
.field { margin-top: 20px; }

.domain-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 640px) { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
.domain-option {
  display: flex; align-items: flex-start; gap: 12px; text-align: left; border-radius: 16px; border: 1px solid rgba(100,116,139,0.25);
  padding: 16px; transition: all 0.25s var(--ease-luxe);
}
.domain-option:hover { border-color: rgba(12,90,40,0.4); }
.domain-option.selected { border-color: var(--forest); background: var(--forest-50); box-shadow: var(--shadow-soft); }
.domain-option .icon-wrap { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--forest-50); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.domain-option.selected .icon-wrap { background: var(--forest); color: var(--pearl); }
.domain-option .icon-wrap svg { width: 16px; height: 16px; }
.domain-option .label { display: block; font-size: 14px; font-weight: 600; color: var(--forest-900); }
.domain-option .desc { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: rgba(30,41,59,0.6); }

.success-panel { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }
.success-panel svg { width: 56px; height: 56px; color: var(--forest); }
.success-panel h3 { margin-top: 20px; font-size: 24px; font-weight: 600; color: var(--forest-900); }
.success-panel p { margin-top: 8px; max-width: 22rem; font-size: 14px; line-height: 1.6; color: rgba(30,41,59,0.65); }

/* ---------- Programs ---------- */
.format-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.format-tab { border-radius: 999px; border: 1px solid rgba(100,116,139,0.25); padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: rgba(30,41,59,0.7); transition: all 0.2s; }
.format-tab.active { border-color: var(--forest); background: var(--forest); color: var(--pearl); }

.program-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 768px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .program-grid { grid-template-columns: repeat(3, 1fr); } }
.program-card {
  display: flex; height: 100%; flex-direction: column; border-radius: 18px; border: 1px solid rgba(100,116,139,0.15);
  background: var(--white); padding: 28px; box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe);
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevate); }
.program-card .top-row { display: flex; align-items: center; justify-content: space-between; }
.program-card .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--forest-50); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.program-card .icon-wrap svg { width: 20px; height: 20px; }
.mode-badge { border-radius: 999px; background: var(--amber-50); padding: 4px 11px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-700); }
.program-card h3 { margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--forest-900); }
.program-card .summary { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); }
.program-meta { margin-top: 18px; border-top: 1px solid rgba(100,116,139,0.12); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: rgba(100,116,139,0.75); }
.program-meta div { display: flex; align-items: center; gap: 8px; }
.program-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.program-card .bottom-row { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seats-left { font-size: 12px; font-weight: 700; color: var(--forest-700); }
.register-btn { border-radius: 999px; background: var(--forest); color: var(--pearl); padding: 10px 20px; font-size: 12px; font-weight: 700; transition: all 0.3s var(--ease-luxe); }
.register-btn:hover { transform: translateY(-2px); background: var(--forest-600); box-shadow: var(--shadow-soft); }

/* ---------- Contact ---------- */
.contact-split { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .contact-split { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.contact-stack { display: flex; flex-direction: column; gap: 24px; }
.contact-card { border-radius: 24px; border: 1px solid rgba(100,116,139,0.15); background: var(--white); padding: 32px; box-shadow: var(--shadow-soft); }
.contact-card h3 { font-size: 18px; font-weight: 600; color: var(--forest-900); }
.contact-card ul { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.contact-card li { display: flex; align-items: flex-start; gap: 12px; color: rgba(30,41,59,0.75); }
.contact-card svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--amber-600); }
.map-card { overflow: hidden; border-radius: 24px; border: 1px solid rgba(100,116,139,0.15); background: var(--forest-900); box-shadow: var(--shadow-soft); }
.map-inner { position: relative; height: 220px; display: flex; align-items: center; justify-content: center; }
.map-inner::before { content: ""; position: absolute; inset: 0; opacity: 0.4; background: radial-gradient(circle at 30% 30%, rgba(232,122,24,0.5), transparent 45%), radial-gradient(circle at 75% 70%, rgba(12,90,40,0.7), transparent 50%); }
.map-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; color: rgba(251,251,249,0.85); }
.map-content svg { width: 30px; height: 30px; color: var(--amber-400); }
.map-content .city { margin-top: 12px; font-size: 14px; font-weight: 600; }
.map-content .note { margin-top: 4px; font-size: 12px; color: rgba(251,251,249,0.5); }
.network-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.network-tag { border-radius: 999px; background: var(--forest-50); padding: 7px 13px; font-size: 12px; font-weight: 500; color: var(--forest-800); }

.hero-actions { flex-direction: column; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 60px; position: relative; z-index: 1; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white);
  border: 1px solid rgba(100,116,139,0.15); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevate); }
.team-avatar { width: 112px; height: 112px; border-radius: 999px; overflow: hidden; background: var(--forest-50); box-shadow: var(--shadow-soft); flex-shrink: 0; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar.placeholder { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff; background: var(--forest); }
.team-card h3 { margin-top: 20px; font-size: 18px; font-weight: 600; color: var(--forest-900); }
.team-card .role { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--amber-600); line-height: 1.5; }
.team-card .bio-short { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); }
.team-card .read-more { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--forest); }
.team-card .read-more:hover { color: var(--amber-600); }
.team-section { position: relative; overflow: hidden; }
.team-splash { position: absolute; width: 220px; height: auto; opacity: 0.16; pointer-events: none; z-index: 0; }
.team-splash.a { left: -40px; top: -20px; transform: scaleX(-1); }
.team-splash.b { right: -40px; bottom: -30px; transform: rotate(180deg); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; border: 1px solid rgba(100,116,139,0.15); background: var(--white); box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevate); }
.blog-card .blog-card-cover { aspect-ratio: 16/10; overflow: hidden; background: var(--forest-50); }
.blog-card .blog-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-luxe); }
.blog-card:hover .blog-card-cover img { transform: scale(1.05); }
.blog-card .blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.blog-card .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-600); }
.blog-card h3 { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--forest-900); }
.blog-card p { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: rgba(30,41,59,0.65); flex: 1; }
.blog-card .foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(100,116,139,0.12); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.blog-card .author { font-size: 12.5px; color: rgba(100,116,139,0.75); }
.blog-card .read-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--forest); white-space: nowrap; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.blog-card .read-link svg { width: 14px; height: 14px; }
.blog-card .read-link:hover { color: var(--amber-600); }
.modal-panel.blog-modal { max-width: 42rem; }
.blog-modal-cover { margin: -36px -36px 24px; aspect-ratio: 16/9; overflow: hidden; border-radius: 20px 20px 0 0; }
@media (min-width: 768px) { .blog-modal-cover { margin: -44px -44px 24px; } }
.blog-modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-modal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(100,116,139,0.8); }
.blog-modal-meta .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-600); }
.blog-modal-body h4 { margin-top: 26px; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--forest-900); }
.blog-modal-body p { margin-top: 14px; font-size: 15.5px; line-height: 1.8; color: rgba(30,41,59,0.78); }

/* ---------- Podcast ---------- */
.podcast-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
@media (min-width: 768px) { .podcast-grid { grid-template-columns: repeat(2, 1fr); } }
.podcast-card { border-radius: 20px; overflow: hidden; border: 1px solid rgba(100,116,139,0.15); background: var(--white); box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease-luxe), box-shadow 0.3s var(--ease-luxe); }
.podcast-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevate); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--forest-950); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.podcast-card .body { padding: 22px 24px; }
.podcast-card h3 { font-size: 17px; font-weight: 600; color: var(--forest-900); }
.podcast-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(30,41,59,0.65); }

.video-thumb { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--forest-950); overflow: hidden; cursor: pointer; border: 0; padding: 0; display: block; font-family: inherit; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-luxe), filter 0.3s; }
.video-thumb:hover img { transform: scale(1.05); filter: brightness(0.85); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,40,16,0.05) 0%, rgba(2,40,16,0.55) 100%); }
.video-thumb .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 999px; background: rgba(251,251,249,0.95);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-elevate);
  transition: transform 0.3s var(--ease-luxe), background-color 0.3s;
  z-index: 1;
}
.video-thumb .play-btn svg { width: 22px; height: 22px; color: var(--forest-900); margin-left: 3px; }
.video-thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--amber-300); }
.video-thumb .duration-badge {
  position: absolute; bottom: 12px; right: 12px; z-index: 1; padding: 3px 9px; border-radius: 6px;
  background: rgba(2,40,16,0.75); color: var(--pearl); font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}

.modal-panel.podcast-modal { max-width: 52rem; padding: 16px; }
@media (min-width: 768px) { .modal-panel.podcast-modal { padding: 16px; } }
.podcast-modal .video-embed { border-radius: 16px; overflow: hidden; }
.podcast-modal-info { padding: 20px 12px 8px; }
.podcast-modal-info h3 { font-size: 19px; font-weight: 600; color: var(--forest-900); padding-right: 32px; }
.podcast-modal-info p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: rgba(30,41,59,0.68); }
.podcast-modal .modal-close { top: 12px; right: 12px; z-index: 2; background: rgba(251,251,249,0.9); }

/* ---------- Editorial photography ---------- */
.photo-band-head { max-width: 34rem; margin: 72px auto 0; text-align: center; }
.photo-band-head h3 { margin-top: 14px; }
.photo-band-head p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: rgba(30,41,59,0.65); }
.photo-band { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .photo-band { grid-template-columns: repeat(3, 1fr); } }
.photo-band figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-luxe); }
.photo-band figure:hover img { transform: scale(1.06); }
.photo-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  background: linear-gradient(0deg, rgba(2,40,16,0.75), transparent);
}

.feature-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-elevate); aspect-ratio: 4 / 3; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-photo-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .feature-photo-row { grid-template-columns: repeat(2, 1fr); } }
.feature-photo-row .feature-photo { aspect-ratio: 1 / 1; }

/* Utility spacing */
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

/* ---------- Blog single-article page (WordPress theme only) ----------
   The static/Next.js builds show full articles in a modal (see
   .blog-modal-cover / .blog-modal-meta / .blog-modal-body above); in
   WordPress each article is a real page (single.php), so this gives it its
   own standalone layout using the same visual language, without depending
   on the modal panel's padding for its cover-image bleed. */
.blog-article { max-width: 42rem; margin: 0 auto; }
.blog-article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--forest); }
.blog-article-back:hover { color: var(--amber-600); }
.blog-article-cover { margin-top: 20px; aspect-ratio: 16/9; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-soft); }
.blog-article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-article-meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(100,116,139,0.8); }
.blog-article-meta .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-600); }
.blog-article h1 { margin-top: 14px; }
.blog-article-byline { margin-top: 10px; font-size: 13px; color: rgba(100,116,139,0.85); }
.blog-article-body { margin-top: 8px; }
.blog-article-body h2 { margin-top: 34px; margin-bottom: 10px; font-size: 20px; font-weight: 700; color: var(--forest-900); }
.blog-article-body p { margin-top: 18px; font-size: 16.5px; line-height: 1.85; color: rgba(30,41,59,0.8); }
.blog-article-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(100,116,139,0.15); }
