/* Palette based on Benjamin Moore 472 Aganthus Green (#b9c0ad), with darker shades of the same hue for contrast. */
:root {
  --green-900: #364030;
  --green-700: #4e5e45;
  --green-500: #6c8061;
  --sage-600: #5e6e54;
  --sage-400: #b9c0ad;
  --sage-100: #dfe5db;
  --sage-50: #eff2ed;
  --cream: #faf8f3;
  --sand: #f3eee3;
  --gold: #d6af4f;
  --gold-700: #9c7a24;
  --text: #2f353b;
  --muted: #5b646d;
  --white: #fff;
  --radius: 18px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(54, 64, 48, .06);
  --shadow: 0 14px 40px rgba(54, 64, 48, .10);
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Noto Serif", "Times New Roman", serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--green-900);
  line-height: 1.25;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--green-900); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-900); color: #e4e8de; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; align-items: center; }
.topbar li { display: flex; align-items: center; gap: .4rem; }
.topbar li > a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 16px; height: 16px; flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(78, 94, 69, .1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--green-900); }
.brand-mark { width: 50px; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; font-family: var(--font-serif); font-size: 1.3rem; }
.brand-text small { font-family: var(--font-sans); font-size: .78rem; color: var(--sage-600); letter-spacing: .04em; margin-top: .2rem; }

.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: .98rem; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--sage-100); color: var(--green-900); }
.main-nav a[aria-current="page"] { background: var(--green-700); color: var(--white); }
.main-nav .nav-cta a { background: var(--gold); color: var(--green-900); font-weight: 600; }
.main-nav .nav-cta a:hover { background: #e3c06b; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(78, 94, 69, .2);
  background: var(--white); color: var(--green-900); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid rgba(78, 94, 69, .12); box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: .75rem 1.25rem 1.25rem; gap: .25rem; }
  .main-nav a { padding: .8rem 1rem; border-radius: 12px; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .topbar .hide-sm { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text { font-size: 1.12rem; }
  .brand-text small { font-size: .72rem; }
  .header-inner { min-height: 68px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 8px 22px rgba(78, 94, 69, .25); }
.btn-primary:hover { background: var(--green-900); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: #e3c06b; color: var(--green-900); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-light { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 6rem) 0 clamp(3.5rem, 7vw, 7rem); }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, var(--sage-100) 0%, rgba(223, 229, 219, 0) 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { margin-bottom: .3em; }
.hero h1 .accent { display: block; font-size: .5em; color: var(--green-500); font-style: italic; margin-top: .35em; letter-spacing: 0; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; margin-bottom: 2rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--sage-600); flex: none; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 380px); }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: linear-gradient(160deg, var(--sage-100), var(--sand));
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-leaves { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-portrait {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 62%; aspect-ratio: 160 / 235; border-radius: 999px 999px 0 0; overflow: hidden;
  border: 6px solid var(--white); border-bottom: 0; box-shadow: 0 -6px 30px rgba(54, 64, 48, .15);
}
.arch-portrait img { width: 100%; height: 100%; object-fit: cover; }

.badge-rotate {
  position: absolute; right: -28px; top: 18%; width: 120px; height: 120px;
  border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.badge-rotate svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.badge-rotate svg.ring text { font: 700 8.6px var(--font-sans); letter-spacing: .6px; fill: var(--green-700); text-transform: uppercase; }
.badge-rotate svg.ring .dot { fill: var(--gold); }
.badge-rotate .badge-core { width: 40px; height: 40px; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Morphing blob behind the portrait */
.hero-visual { isolation: isolate; }
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -14% 6% -12%; z-index: -1;
  background: linear-gradient(135deg, var(--sage-100), rgba(214, 175, 79, .22));
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  animation: morph 16s ease-in-out infinite;
}
.sparkle { position: absolute; width: 14px; height: 14px; color: var(--gold); animation: twinkle 3.2s ease-in-out infinite; }
.sparkle.s1 { left: -6%; top: 12%; }
.sparkle.s2 { right: 4%; bottom: 8%; width: 18px; height: 18px; animation-delay: 1.1s; }
.sparkle.s3 { left: 6%; bottom: 30%; width: 10px; height: 10px; animation-delay: 2s; }

/* Floating leaves in the hero background */
.hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-deco svg { position: absolute; color: var(--sage-400); opacity: .55; animation: float 10s ease-in-out infinite; }
.hero-deco svg:nth-child(1) { left: 3%; top: 10%; width: 46px; }
.hero-deco svg:nth-child(2) { left: 42%; top: 6%; width: 30px; animation-duration: 12s; animation-delay: -3s; color: var(--gold); opacity: .4; }
.hero-deco svg:nth-child(3) { left: 48%; bottom: 10%; width: 54px; animation-duration: 14s; animation-delay: -6s; }
.hero-deco svg:nth-child(4) { right: 3%; top: 4%; width: 36px; animation-duration: 11s; animation-delay: -2s; color: var(--green-500); opacity: .3; }
.hero-deco svg:nth-child(5) { left: 18%; bottom: 4%; width: 28px; animation-duration: 9s; animation-delay: -5s; color: var(--gold); opacity: .35; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(78%, 330px); }
  .badge-rotate { right: -18px; width: 96px; height: 96px; }
}
@media (max-width: 480px) {
  .badge-rotate { right: -10px; top: 8%; width: 84px; height: 84px; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-alt { background: var(--white); }
.section-sage { background: var(--sage-50); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }

.center-actions { text-align: center; margin: 2.5rem 0 0; }
.btn-row.center-actions { justify-content: center; margin-top: 1.8rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(78, 94, 69, .08);
  transition: transform .25s, box-shadow .25s;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1.1rem;
  background: var(--sage-100); color: var(--green-700); flex: none;
}
.card-icon svg { width: 26px; height: 26px; }
.card-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.card-link::after { content: "→"; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }

/* Topics chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  padding: .55rem 1.1rem; border-radius: 999px; background: var(--white);
  border: 1px solid rgba(78, 94, 69, .16); color: var(--green-900); font-size: .97rem;
}

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.cbt-diagram { max-width: 440px; margin-inline: auto; }
.cbt-diagram text { font-family: var(--font-sans); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; margin-bottom: 1.8rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: var(--white); font: 1.2rem var(--font-serif);
}
.steps h3 { margin-bottom: .25em; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.creds li { text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.creds strong { display: block; font: 1.15rem/1.3 var(--font-serif); color: var(--gold); margin-bottom: .3rem; }
.creds span { font-size: .92rem; color: #d8ddd0; }
@media (max-width: 860px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .creds { grid-template-columns: 1fr; } }

.section-dark { background: var(--green-900); color: #e6eae0; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark a:not(.btn) { color: var(--gold); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--white); border-radius: 14px; margin-bottom: .8rem;
  border: 1px solid rgba(78, 94, 69, .12); box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.4rem; position: relative;
  font: 1.1rem/1.4 var(--font-serif); color: var(--green-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--sage-100); color: var(--green-700);
  display: grid; place-items: center; font: 600 1.1rem/1 var(--font-sans); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-700), var(--green-900)); color: #e6eae0;
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .leaf-deco { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .12; color: var(--white); pointer-events: none; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, var(--sage-50), var(--cream)); }
.page-hero h1 { margin-bottom: .25em; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 46em; margin: 0; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--sage-400); }
.breadcrumb a { color: var(--sage-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--sage-600); }
.prose figure { margin: 2rem 0; background: var(--white); padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.prose figure img { margin-inline: auto; }
.prose figcaption { text-align: center; font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold); background: var(--white); border-radius: 0 12px 12px 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.prose table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; min-width: 560px; }
.prose th { background: var(--green-700); color: var(--white); text-align: left; padding: .75rem 1rem; font-weight: 600; }
.prose td { padding: .75rem 1rem; vertical-align: top; border-top: 1px solid var(--sage-100); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 1.25rem; }
@media (max-width: 960px) { .content-layout { grid-template-columns: minmax(0, 1fr); } .sidebar { position: static; } }
.content-layout > div > .grid { margin: 2.5rem 0; }

.side-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(78, 94, 69, .08); }
.side-card h2 { font-size: 1.25rem; }
.side-card.dark { background: var(--green-900); color: #e6eae0; border: 0; }
.side-card.dark h2 { color: var(--white); }
.side-card.dark a:not(.btn) { color: var(--gold); }
.side-card .btn { width: 100%; margin-top: .5rem; }

.profile { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; }
.profile-photo { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); background: var(--white); }
.profile-photo img { width: 100%; }
@media (max-width: 700px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 180px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--sage-100); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--cream); }
.timeline strong { color: var(--green-900); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e5e45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.check-list.cols-2 { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
@media (max-width: 640px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

/* Articles */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-600); margin-bottom: .6rem; }
.article-card h3 { font-size: 1.2rem; }
.article-card h3 a { color: var(--green-900); text-decoration: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-card { position: relative; }
.article-card h3 a:hover { color: var(--green-700); }
.article-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.article-card .card-link { margin-top: auto; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter-bar button {
  border: 1px solid rgba(78, 94, 69, .2); background: var(--white); color: var(--green-900);
  padding: .5rem 1.1rem; border-radius: 999px; font: inherit; font-size: .95rem; cursor: pointer;
}
.filter-bar button[aria-pressed="true"] { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .92rem; margin-top: .8rem; }
.source-note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--sage-100); padding-top: 1rem; margin-top: 2rem; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card-icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.contact-list .card-icon svg { width: 22px; height: 22px; }
.contact-list .label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-600); font-weight: 600; }
.contact-list a { font-size: 1.08rem; }
.email-reveal {
  font: inherit; font-size: 1rem; color: var(--green-700); background: var(--sage-100);
  border: 0; padding: .35rem .9rem; border-radius: 999px; cursor: pointer;
}
.email-reveal:hover { background: var(--sage-400); color: var(--white); }

.map-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 280px;
  background: var(--sage-100); text-decoration: none; color: var(--green-900); box-shadow: var(--shadow-sm);
}
.map-card svg.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .map-label {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: var(--white); border-radius: 14px;
  padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.map-card .map-label strong { display: block; }
.map-card:hover .map-label { background: var(--green-700); color: var(--white); }

.transport { display: grid; gap: .8rem; }
.transport div { display: flex; gap: .8rem; align-items: center; }
.transport p { margin: 0; }
.transport .card-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0; }
.transport .card-icon svg { width: 20px; height: 20px; }

.notice {
  display: flex; gap: .9rem; align-items: flex-start; background: var(--sand); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; font-size: .95rem; color: var(--text); border-left: 4px solid var(--gold);
}
.notice svg { width: 22px; height: 22px; color: var(--gold-700); flex: none; margin-top: .2rem; }
.notice p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #ccd3c4; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .96rem; margin-top: 0; }
.site-footer a { color: #eef1ea; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h2 { font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand .brand-text small { color: var(--sage-400); }
.footer-brand p { max-width: 30em; }
.footer-emergency { font-size: .88rem; color: #bcc4b3; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: .8rem 1rem; }
.footer-emergency strong { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .86rem; color: #a5ad98;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating call button on phones */
.fab-call {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--green-900);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2); place-items: center;
}
.fab-call svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .fab-call { display: grid; } .site-footer { padding-bottom: 4.5rem; } }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; }
/* fill-mode backwards (not both) so hover transforms still work after the entrance */
.js .reveal.is-visible { opacity: 1; animation: rise .8s ease backwards; }
.js .grid > .reveal:nth-child(2) { animation-delay: .12s; }
.js .grid > .reveal:nth-child(3) { animation-delay: .24s; }
.js .grid > .reveal:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.card-icon { transition: transform .3s ease, background .3s, color .3s; }
.card-hover:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--green-700); color: var(--white); }

/* Scrolling ribbon of topics */
.marquee { background: var(--green-700); color: var(--white); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: italic 1.35rem/1.2 var(--font-serif); white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: .9rem; margin: 0 2rem; }

/* Illustrations */
.illustration { width: 100%; max-width: 520px; margin-inline: auto; border-radius: var(--radius-lg); }
.illustration .steam { animation: steam 3.4s ease-in-out infinite; }
.illustration .steam:nth-of-type(2) { animation-delay: 1.1s; }
.illustration .steam:nth-of-type(3) { animation-delay: 2.2s; }
.illustration .sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.illustration .sway-2 { animation-duration: 7.5s; animation-delay: -2s; }
.illustration .glow { transform-box: fill-box; transform-origin: center; animation: glow 4s ease-in-out infinite; }
.illustration .drift { animation: drift 30s linear infinite; }
.illustration .drift-2 { animation-duration: 42s; animation-delay: -18s; }
.illustration .fly { animation: fly 18s linear infinite; }
.illustration .sun-rays { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.illustration .breathe { transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out infinite; }
.split-media { position: relative; }
.illustration.room { margin-top: 2.2rem; }
.split-media .illustration { box-shadow: var(--shadow); }
.about-strip .split { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .about-strip .split { grid-template-columns: 1fr; } }

/* CBT diagram motion */
.cbt-diagram .flow { animation: dash 2.4s linear infinite; }
.cbt-diagram .node { transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out infinite; }
.cbt-diagram .node:nth-of-type(2) { animation-delay: -1.6s; }
.cbt-diagram .node:nth-of-type(3) { animation-delay: -3.2s; }
.cta-band .leaf-deco { animation: sway 8s ease-in-out infinite; transform-origin: 60% 100%; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(10deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; }
  33% { border-radius: 60% 40% 35% 65% / 55% 62% 38% 45%; }
  66% { border-radius: 38% 62% 52% 48% / 62% 38% 62% 38%; }
}
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -26; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px); } 35% { opacity: .8; } 100% { opacity: 0; transform: translateY(-16px); } }
@keyframes glow { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .6; transform: scale(1.12); } }
@keyframes drift { from { transform: translateX(-160px); } to { transform: translateX(560px); } }
@keyframes fly { from { transform: translate(-80px, 30px); } to { transform: translate(560px, -40px); } }

/* 404 */
.error-page { text-align: center; padding: 6rem 0; }
.error-page .big { font: 6rem/1 var(--font-serif); color: var(--sage-400); margin-bottom: 1rem; }

@media print {
  .topbar, .site-header, .site-footer, .fab-call, .sidebar, .cta-band { display: none !important; }
  body { background: #fff; }
}
