/* ============================================================
   ATHENA — Association for Therapeutic Eurythmy in North America
   Prototype design system
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette — forest green + warm terracotta on cream */
  --green-deep:  #1c3b32;
  --green-mid:   #2a5449;
  --green-light: #6f9184;
  --sage:        #a8bdb2;

  --cream:       #faf7f2;
  --cream-dark:  #f2ede4;
  --surface:     #ffffff;

  --clay:        #d08a68;   /* primary accent */
  --clay-light:  #e5b198;
  --clay-soft:   #f6e3d8;

  --lavender:    #cfc4d8;   /* tertiary, used sparingly on icon chips */

  --ink:         #1a2b26;
  --text-mid:    #4d635c;
  --text-light:  #8a9a94;
  --line:        rgba(28, 59, 50, 0.10);
  --line-strong: rgba(28, 59, 50, 0.18);

  --deep-rgb:    28, 59, 50;
  --clay-rgb:    208, 138, 104;
  --on-deep:     #f5f1e9;
  --on-deep-rgb: 245, 241, 233;

  --serif: 'Cormorant Garamond', 'Spectral', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(28,59,50,0.04), 0 2px 8px rgba(28,59,50,0.04);
  --shadow-md: 0 4px 12px rgba(28,59,50,0.06), 0 12px 32px rgba(28,59,50,0.07);
  --shadow-lg: 0 8px 24px rgba(28,59,50,0.08), 0 24px 64px rgba(28,59,50,0.10);

  --radius:    10px;
  --radius-lg: 16px;
  --maxw:      1240px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay);
}
.eyebrow-green { color: var(--green-light); }
.lede { font-size: 1.06rem; line-height: 1.75; color: var(--text-mid); }

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-cream { background: var(--cream-dark); }
.section-deep { background: var(--green-deep); color: var(--on-deep); }
.section-deep h1, .section-deep h2, .section-deep h3 { color: var(--cream); }
.section-deep p { color: rgba(var(--on-deep-rgb), 0.76); }

.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0.7rem 0 0; }
.section-head p { margin-top: 1rem; color: var(--text-mid); line-height: 1.75; }
.section-deep .section-head p { color: var(--on-deep); }

/* squiggle divider */
.squiggle { width: 54px; height: 10px; margin: 1.1rem 0; overflow: visible; }
.squiggle path { stroke: var(--clay); stroke-width: 2; fill: none; stroke-linecap: round; }
.center .squiggle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 8px;
  font-size: 0.94rem; font-weight: 500; font-family: var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-deep); color: var(--cream); }
.btn-primary:hover { background: var(--green-mid); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: #bd7a5a; box-shadow: var(--shadow-md); }
.btn-onDeep { background: var(--clay); color: #fff; }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(var(--on-deep-rgb), 0.35); }
.btn-outline-light:hover { border-color: var(--cream); }
.btn .arw { transition: transform 0.2s; }
.btn:hover .arw { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 500; color: var(--clay);
  text-decoration: none; transition: gap 0.2s;
}
.link-arrow:hover { gap: 0.7rem; }
.link-arrow.green { color: var(--green-mid); }

/* ============================================================
   NAV
   ============================================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
/* The nav runs full width rather than inside --maxw: eight links plus two
   buttons need about 1500px, which the 1240px content column cannot hold. */
.nav {
  margin: 0 auto; padding: 0 2rem;
  height: 84px; display: flex; align-items: center; gap: 1.25rem;
}
.athena-list-item { display: flex; align-items: baseline; gap: .55em; margin: .3em 0; }
.athena-list-marker { flex: 0 0 1.3em; text-align: right; }
.athena-list-text { min-width: 0; overflow-wrap: anywhere; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.nav-brand-image {
  display: block; width: 210px; height: auto; max-height: 54px;
  object-fit: contain; object-position: left center;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-main {
  font-family: var(--sans); font-size: 1.32rem; font-weight: 600;
  letter-spacing: 0.13em; color: var(--green-deep);
}
.nav-logo-sub {
  font-size: 0.63rem; color: var(--text-mid); letter-spacing: 0.015em;
  max-width: 20ch; line-height: 1.3; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.55rem; font-size: 0.83rem; font-weight: 450;
  color: var(--ink); text-decoration: none; border-radius: 6px;
  white-space: nowrap; transition: color 0.15s, background 0.15s;
}
.nav-links > li > a:hover { color: var(--green-mid); background: rgba(var(--deep-rgb), 0.045); }
.nav-links > li > a[aria-current] { color: var(--green-mid); font-weight: 550; }
.caret { width: 9px; height: 9px; opacity: 0.5; transition: transform 0.2s; }
.nav-links > li:hover .caret { transform: rotate(180deg); }

/* dropdown */
.dd {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-links > li:hover .dd, .nav-links > li:focus-within .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.dd a {
  display: block; padding: 0.62rem 0.8rem; border-radius: 6px;
  font-size: 0.875rem; color: var(--ink); text-decoration: none; transition: background 0.15s;
}
.dd a span { display: block; font-size: 0.76rem; color: var(--text-light); margin-top: 2px; line-height: 1.4; }
.dd a:hover { background: var(--cream-dark); }

.nav-actions { display: flex; align-items: center; gap: 0.65rem; margin-left: 0.5rem; flex-shrink: 0; }
.nav-donate {
  padding: 0.6rem 1.25rem; font-size: 0.86rem; font-weight: 500;
  border: 1px solid var(--line-strong); border-radius: 7px;
  text-decoration: none; color: var(--ink); transition: border-color 0.2s, background 0.2s;
}
.nav-donate:hover { border-color: var(--clay); color: var(--clay); }
.nav-portal {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 1.25rem; font-size: 0.86rem; font-weight: 500;
  background: var(--green-deep); color: var(--cream);
  border-radius: 7px; text-decoration: none; transition: background 0.2s;
}
.nav-portal:hover { background: var(--green-mid); }
.nav-portal svg { width: 15px; height: 15px; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.25s; border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column; padding: 1rem 2rem 2rem;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.85rem 0; font-size: 1rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .m-cta { margin-top: 1rem; background: var(--green-deep); color: var(--cream); text-align: center; border-radius: 8px; border: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--cream-dark); overflow: hidden; }
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center;
  gap: 3rem; min-height: 580px;
}
.hero-copy { padding: 5rem 0; max-width: 36rem; }
.hero h1 {
  font-size: clamp(2.3rem, 3.8vw, 3.5rem); font-weight: 400;
  color: var(--green-deep); margin: 1.1rem 0 0; line-height: 1.12;
  text-wrap: balance;
}
.hero-desc { margin-top: 1.4rem; font-size: 1.06rem; line-height: 1.75; color: var(--text-mid); max-width: 46ch; }
.hero-actions { display: flex; gap: 0.85rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.5rem; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--cream-dark);
  margin-left: -12px; background-size: cover; background-position: center;
  display: grid; place-items: center; font-size: 0.9rem; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.hero-trust p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.5; }

.hero-media { position: relative; align-self: stretch; min-height: 580px; }
.hero-media::before {
  content: ''; position: absolute; inset: 0 -50vw 0 0; background: var(--clay-soft);
}
.hero-figure { position: absolute; inset: 0; overflow: hidden; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
/* warm the photo edge into the cream so it does not sit as a hard rectangle */
.hero-figure::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--cream-dark) 0%, rgba(242,237,228,0) 18%);
}

/* ============================================================
   PATHWAY BAR
   ============================================================ */
.paths {
  max-width: var(--maxw); margin: -3.5rem auto 0; position: relative; z-index: 5;
  padding: 0 2rem;
}
.paths-inner {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.path {
  padding: 2.1rem 1.5rem; text-decoration: none; display: block;
  border-right: 1px solid var(--line); transition: background 0.2s;
}
.path:last-child { border-right: 0; }
.path:hover { background: var(--cream); }
.path-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 1rem;
}
.path-icon svg { width: 22px; height: 22px; }
.ic-clay { background: var(--clay-soft); color: #b9714f; }
.ic-sage { background: #e3ece6; color: var(--green-mid); }
.ic-lav  { background: #ebe5f0; color: #75648a; }
.path h3 { font-size: 1.22rem; color: var(--ink); margin-bottom: 0.5rem; }
.path p { font-size: 0.855rem; line-height: 1.6; color: var(--text-mid); margin-bottom: 1.1rem; }
.path .link-arrow { font-size: 0.82rem; }

/* ============================================================
   SPLIT / FEATURE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4.5rem; align-items: center; }
.split-rev { grid-template-columns: 1.15fr 1fr; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--green-deep); }
.split p { color: var(--text-mid); line-height: 1.78; margin-bottom: 1.1rem; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; }

.section-photo {
  width:100%; overflow:hidden; border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md); border:1px solid rgba(28,59,50,.12);
  background:var(--cream);
}
.section-photo--portrait { max-width:360px; margin-inline:auto; }
.split-media .section-photo img {
  display:block; width:100%; max-width:100%; height:auto;
  object-fit:contain; border-radius:0; box-shadow:none;
}
.media-note {
  margin:1.1rem 0 0; padding:1rem 1.25rem; border-left:3px solid var(--sage);
  border-radius:0 var(--radius) var(--radius) 0; background:var(--white);
}
.split-media:has(.section-photo--portrait) .media-note { max-width:360px; margin-inline:auto; }
.split-media .media-note p { margin:0; font-size:.95rem; line-height:1.65; }

.quote-card {
  position: absolute; right: 1.15rem; bottom: 1.15rem; max-width: 320px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: 1.3rem 1.45rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.quote-card p { font-family: var(--serif); font-style: italic; font-size: 1.06rem; line-height: 1.5; color: var(--ink); margin-bottom: 0.7rem; }
.quote-card cite { font-style: normal; font-size: 0.78rem; color: var(--text-light); }
.quote-mark { font-family: var(--serif); font-size: 2.4rem; color: var(--sage); line-height: 0.6; display: block; margin-bottom: 0.4rem; }

/* leaf watermark */
.leaf-mark { position: absolute; opacity: 0.5; pointer-events: none; z-index: 0; }
.leaf-mark svg { width: 100%; height: auto; }
.leaf-mark path { stroke: var(--sage); stroke-width: 1.2; fill: none; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; text-decoration: none; display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.card h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 0.6rem; }
.card p { font-size: 0.92rem; line-height: 1.65; color: var(--text-mid); }
.card .tag {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--clay); display: block; margin-bottom: 0.6rem;
}

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 3rem; color: var(--clay); line-height: 1; }
.stat-lbl { font-size: 0.82rem; color: rgba(var(--on-deep-rgb), 0.7); margin-top: 0.6rem; letter-spacing: 0.03em; }

/* ============================================================
   NEWSLETTER BAND + FOOTER
   ============================================================ */
.news-band { background: var(--green-deep); padding: 3.2rem 0; position: relative; overflow: hidden; }
.news-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.news-copy { display: flex; align-items: center; gap: 1.1rem; }
.news-copy svg { width: 30px; height: 30px; color: var(--sage); flex-shrink: 0; }
.news-copy h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--cream); }
.news-copy p { font-size: 0.875rem; color: rgba(var(--on-deep-rgb), 0.65); margin-top: 2px; }
.news-form { display: flex; gap: 0; border-radius: 8px; overflow: hidden; }
.news-form input {
  border: 0; padding: 0.85rem 1.1rem; width: 280px; font-size: 0.9rem;
  font-family: var(--sans); background: #fff; color: var(--ink);
}
.news-form input:focus { outline: 2px solid var(--clay); outline-offset: -2px; }
.news-form button {
  border: 0; padding: 0.85rem 1.7rem; background: var(--clay); color: #fff;
  font-size: 0.9rem; font-weight: 500; font-family: var(--sans); cursor: pointer; transition: background 0.2s;
}
.news-form button:hover { background: #bd7a5a; }

footer { background: #16302a; color: rgba(var(--on-deep-rgb), 0.7); padding: 4.5rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand-image {
  display: block; width: min(100%, 290px); height: auto; max-height: 88px;
  object-fit: contain; object-position: left center; margin-bottom: 1rem;
}
.foot-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 32ch; }
footer h4 {
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 1.1rem; font-weight: 600;
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.6rem; }
footer a { font-size: 0.88rem; color: rgba(var(--on-deep-rgb), 0.7); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--clay-light); }
.foot-bot {
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(var(--on-deep-rgb), 0.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem;
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { background: var(--cream-dark); padding: 2.75rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); color: var(--green-deep); margin-top: 0; }
.page-head p { margin-top: 1.1rem; max-width: 58ch; color: var(--text-mid); line-height: 1.75; font-size: 1.04rem; }
/* Keep standard page introductions compact and move promptly into their content. */
.page-head + .section { padding-top: 3rem; }
.page-head .crumbs { margin-bottom: .75rem; }
.resources-page > .section { padding: 3.5rem 0; }
.resources-page .section-head { margin-bottom: 2rem; }
@media (max-width:650px) {
  .page-head { padding: 2rem 0; }
  .page-head + .section { padding-top: 2.5rem; }
  .resources-page > .section { padding: 2.5rem 0; }
}
.crumbs { font-size: 0.8rem; color: var(--text-light); }
.crumbs a { color: var(--text-light); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }

/* ============================================================
   DIRECTORY
   ============================================================ */
.dir-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 104px; }
.filters h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.9rem; font-weight: 600; }
.filter-group { margin-bottom: 1.6rem; }
.filter-group:last-child { margin-bottom: 0; }
.field {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong);
  border-radius: 7px; font-size: 0.88rem; font-family: var(--sans); background: var(--cream);
  color: var(--ink);
}
.field:focus { outline: 2px solid var(--clay); outline-offset: -1px; }
.check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--text-mid); margin-bottom: 0.5rem; cursor: pointer; }
.check input { accent-color: var(--green-mid); width: 15px; height: 15px; }

.prac-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; gap: 1.2rem; transition: box-shadow 0.2s, border-color 0.2s;
}
.prac-card:hover { box-shadow: var(--shadow-md); border-color: var(--sage); }
.prac-photo {
  width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0;
  background: var(--sage); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; color: #fff; background-size: cover;
}
.prac-body { flex: 1; min-width: 0; }
.prac-body h3 { font-size: 1.2rem; margin-bottom: 0.15rem; }
.prac-loc { font-size: 0.84rem; color: var(--text-light); margin-bottom: 0.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.chip {
  font-size: 0.72rem; padding: 0.25rem 0.65rem; border-radius: 20px;
  background: var(--cream-dark); color: var(--text-mid); border: 1px solid var(--line);
}
.chip-clay { background: var(--clay-soft); color: #a8613f; border-color: transparent; }
.badge-verified { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--green-mid); font-weight: 500; }
.badge-verified svg { width: 13px; height: 13px; }

/* ============================================================
   PORTAL / ADMIN
   ============================================================ */
.app-shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.side { background: var(--green-deep); padding: 1.6rem 1rem; }
.side-logo { display: flex; align-items: center; gap: 0.6rem; padding: 0 0.6rem 1.6rem; text-decoration: none; }
.side-brand-image {
  display: block; width: 100%; max-width: 190px; height: auto; max-height: 72px;
  object-fit: contain; object-position: left center;
}
.side h5 {
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(var(--on-deep-rgb), 0.42); padding: 0 0.7rem; margin: 1.5rem 0 0.5rem; font-weight: 600;
}
.side a.nav-item {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.62rem 0.7rem;
  border-radius: 7px; font-size: 0.88rem; color: rgba(var(--on-deep-rgb), 0.72);
  text-decoration: none; transition: background 0.15s, color 0.15s; margin-bottom: 2px;
}
.side a.nav-item:hover { background: rgba(255,255,255,0.07); color: var(--cream); }
.side a.nav-item.active { background: rgba(255,255,255,0.11); color: var(--cream); font-weight: 500; }
.side a.nav-item svg { width: 16px; height: 16px; opacity: 0.85; }
.side .badge-count { margin-left: auto; background: var(--clay); color: #fff; font-size: 0.68rem; padding: 0.1rem 0.45rem; border-radius: 10px; font-weight: 600; }

.app-main { background: var(--cream); }
.app-top {
  height: 68px; border-bottom: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; padding: 0 2rem; gap: 1rem; position: sticky; top: 0; z-index: 20;
}
.app-top h2 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; }
.app-user { margin-left: auto; display: flex; align-items: center; gap: 0.7rem; font-size: 0.86rem; }
.app-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green-mid); color: #fff; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; }
.app-body { padding: 2rem; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; gap: 1rem; }
.panel-head h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; }

.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.kpi .lbl { font-size: 0.78rem; color: var(--text-light); }
.kpi .val { font-family: var(--serif); font-size: 2.3rem; color: var(--green-deep); line-height: 1.1; margin-top: 0.3rem; }
.kpi .delta { font-size: 0.78rem; color: var(--green-light); margin-top: 0.2rem; }

table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); font-weight: 600; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line);
}
td { padding: 0.85rem 0.8rem; font-size: 0.88rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--cream); }

.pill { font-size: 0.72rem; padding: 0.22rem 0.6rem; border-radius: 20px; font-weight: 500; display: inline-block; }
.pill-green { background: #e0ede5; color: #2f6647; }
.pill-amber { background: #fbeed8; color: #97682a; }
.pill-red   { background: #f9e2dc; color: #a4482f; }
.pill-grey  { background: var(--cream-dark); color: var(--text-mid); }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; border-radius: 6px; }

/* progress bar */
.bar { height: 7px; background: var(--cream-dark); border-radius: 10px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--clay); border-radius: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Measured 2026-09-21: the full nav (210px logo, 0.83rem links, both
   buttons) needs about 1600px; the compact tier below needs about 1330px. */
@media (max-width: 1600px) {
  .nav-brand-image { width: 170px; }
  .nav-links > li > a { padding: 0.6rem 0.4rem; font-size: 0.78rem; }
  .nav-links { gap: 0.25rem; }
  .nav-donate { padding: 0.55rem 0.95rem; font-size: 0.8rem; }
  .nav-portal { padding: 0.6rem 0.95rem; font-size: 0.8rem; gap: 0.35rem; }
  .nav-actions { gap: 0.5rem; margin-left: 0; }
}
@media (max-width: 1480px) {
  .nav { padding: 0 1.5rem; gap: 1rem; }
  .nav-brand-image { width: 160px; }
  .nav-links > li > a { padding: 0.6rem 0.35rem; font-size: 0.76rem; }
}
@media (max-width: 1360px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hamburger { display: block; margin-left: 0; }
  .paths-inner { grid-template-columns: repeat(2, 1fr); }
  .path { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .app-shell { grid-template-columns: 1fr; }
  .side { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 340px; order: -1; }
  .hero-media::before { inset: 0; }
  .hero-copy { padding: 3rem 0 4rem; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .dir-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .section { padding: 4rem 0; }
  .split-media .quote-card { right: 0.75rem; bottom: 0.75rem; left: 0.75rem; max-width: none; padding: 1rem 1.15rem; }
}
@media (max-width: 640px) {
  .nav-brand-image { width: 155px; max-height: 48px; }
  .wrap, .nav, .news-inner, .paths { padding-left: 1.25rem; padding-right: 1.25rem; }
  .paths-inner { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .news-form { width: 100%; }
  .news-form input { width: 100%; flex: 1; }
  .nav-logo-sub { display: none; }
  .nav-actions .nav-donate { display: none; }
  .prac-card { flex-direction: column; }
}

/* Let split content shrink to its column and contain decorative leaves. */
.split > *{min-width:0}
.section:has(> .leaf-mark){overflow:clip}
.split-media .section-photo{width:100%;max-width:100%}
.split-media .section-photo--portrait{max-width:360px}

.cms-section{max-width:1000px;margin:36px auto;padding:24px 32px;overflow-wrap:anywhere}.cms-section h2{font:400 clamp(28px,3vw,38px)/1.2 var(--serif);margin-bottom:18px}.cms-section p{line-height:1.8;white-space:pre-line;margin:14px 0}.cms-section img{max-width:100%;max-height:620px;height:auto;object-fit:contain}.cms-quote{border-left:3px solid var(--clay)}.cms-quote blockquote{font:400 28px/1.5 var(--serif);margin:0;white-space:pre-line}.cms-callout{background:var(--cream-dark);border-radius:12px}.cms-callout a{color:var(--green-deep);font-weight:600}@media(max-width:650px){.cms-section{margin:24px 16px;padding:20px}.cms-quote blockquote{font-size:23px}}
.blog-content{max-width:1100px;margin:0 auto;padding:48px 32px 80px;min-height:55vh}.blog-content>h1,.blog-content header h1{font:400 clamp(36px,4vw,56px)/1.15 var(--serif)}.blog-content>p{margin:20px 0;line-height:1.8}#blogPosts{margin-top:36px;display:grid;gap:20px}.blog-card{display:block;padding:24px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink)}.blog-card h2{font:400 30px/1.3 var(--serif);margin:8px 0}.blog-card p{line-height:1.7}.blog-card:focus-visible{outline:3px solid var(--clay)}@media(max-width:650px){.blog-content{padding:32px 20px}}

/* Source-led public copy sections reuse the site's heading scale and readable measure. */
.copy-section .wrap > h2{font-size:clamp(2rem,3.6vw,2.9rem);line-height:1.2;margin:0 0 1.4rem}
.copy-section .wrap > p,.copy-section .wrap > blockquote,.copy-section .wrap > ul,.copy-section .split p{max-width:72ch;line-height:1.8;margin:1rem 0;color:var(--text-mid)}
.copy-section .wrap > blockquote{padding-left:1.4rem;border-left:3px solid var(--clay);font-family:var(--serif);font-size:1.35rem;color:var(--green-deep)}
.copy-section .wrap > ul{padding-left:1.3rem}.copy-section .wrap > ul li{margin:.45rem 0}

/* Standard public pages begin with one title and proceed directly into content. */
.standard-page > .page-head.compact-header{padding:2rem 0 1.75rem}
.standard-page > .page-head.compact-header h1{margin:0}
.standard-page > .section{padding:3rem 0}
.standard-page > .page-head.compact-header + .section{padding-top:2.25rem}
.standard-page .section-head{margin-bottom:1.75rem}
.standard-page .newsletter-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin:1.5rem 0 0}
.standard-page .source-credit{font-size:.9rem;color:var(--text-mid)}
@media(max-width:650px){.standard-page > .page-head.compact-header{padding:1.5rem 0}.standard-page > .section{padding:2rem 0}.standard-page > .page-head.compact-header + .section{padding-top:1.75rem}}
@media(max-width:420px){.standard-page .newsletter-actions .btn{width:100%;justify-content:center}}

/* One compact contact/navigation footer replaces duplicate end-of-page callouts. */
.site-footer{padding:2rem 0 1.25rem}
.footer-compact-top{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.footer-compact-brand{display:block;max-width:240px}
.site-footer .footer-brand-image{width:240px;max-height:72px;margin:0}
.footer-compact-links{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem}
.footer-compact-links a{font-size:.95rem;color:var(--cream);padding:.4rem 0}
.footer-compact-links a:focus-visible,.footer-compact-brand:focus-visible{outline:2px solid var(--cream);outline-offset:5px}
.footer-compact-copyright{border-top:1px solid rgba(var(--on-deep-rgb),.12);margin-top:1.25rem;padding-top:1rem;font-size:.8rem}
@media(max-width:650px){.site-footer{padding:1.5rem 0 1.1rem}.footer-compact-top{gap:1.2rem}.site-footer .footer-brand-image{width:220px}.footer-compact-links{gap:.6rem 1.4rem}}

/* A consistent public sitemap keeps every page discoverable from the footer. */
.site-footer.footer-sitemap{padding:32px 0 20px}
.footer-sitemap .foot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 32px}
.footer-sitemap .foot-brand{grid-column:1/-1}
.footer-sitemap .footer-brand-image{width:220px;max-height:78px;margin:0}
.footer-sitemap h2{font:600 14px/1.4 var(--sans);color:var(--cream);margin:0 0 12px}
.footer-sitemap li{margin:0 0 7px}
.footer-sitemap nav a{display:inline-block;font-size:13px;line-height:1.6;padding:3px 0;overflow-wrap:break-word}
.footer-sitemap a:focus-visible{outline:2px solid var(--cream);outline-offset:4px}
@media(max-width:800px){.footer-sitemap .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:480px){.footer-sitemap .foot-grid{grid-template-columns:1fr;gap:24px}.footer-sitemap nav a{font-size:14px;padding:5px 0}}

/* Public heading trial; quote typography keeps the existing serif family. */
.public-headings{--heading:Marcellus,Georgia,serif}
.public-headings main :is(h1,h2,h3,h4){font-family:var(--heading);font-weight:400}
