/* ==========================================================================
   Clarry Care Pty Ltd — Design System
   ========================================================================== */

:root {
  /* Brand palette — taken from the Clarry Care Services logo */
  /* Navy (primary). The --green-* names are kept so existing components keep working. */
  --green-950: #061630;
  --green-900: #0a1f42;
  --green-800: #0b2a55;
  --green-700: #183d73;
  --green-500: #47679a;
  --green-100: #e6ebf3;
  --green-50: #f3f5f9;
  --navy: #0b2a55;

  /* Gold (accent) */
  --saffron: #c9a15a;
  --saffron-600: #b48a44;
  --saffron-100: #f5eedf;
  --gold-deep: #8f6a2c;      /* gold that passes contrast on light backgrounds */
  --terracotta: #8f6a2c;     /* legacy accent name now maps to deep gold */
  --rose: #c2493f;

  /* Leaf green (tertiary, small details only) */
  --leaf: #6e9f3c;
  --leaf-100: #edf3e4;

  --cream: #faf8f4;
  --sand: #f2eee6;
  --white: #ffffff;

  --ink: #0d1b2e;
  --body: #3b4557;
  --muted: #667085;
  --line: #e7e2d8;
  --line-soft: #efebe4;

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

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 85, 0.04), 0 2px 8px rgba(11, 42, 85, 0.04);
  --shadow: 0 2px 4px rgba(11, 42, 85, 0.03), 0 18px 40px -18px rgba(11, 42, 85, 0.16);
  --shadow-lg: 0 30px 70px -28px rgba(6, 22, 48, 0.32);

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

em.accent, .accent { font-style: italic; color: var(--terracotta); }
.hl {
  position: relative;
  white-space: nowrap;
  font-style: italic;
  color: var(--green-700);
}
.hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.05em;
  height: 0.32em;
  background: var(--saffron);
  opacity: 0.45;
  border-radius: 6px;
  z-index: -1;
}

::selection { background: var(--saffron); color: var(--green-900); }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-green { background: var(--green-800); color: #d5dcea; }
.bg-green h2, .bg-green h3, .bg-green h4 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.bg-green .eyebrow { color: var(--saffron); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-head p { font-size: 1.08rem; color: var(--muted); }
.bg-green .section-head p { color: #a8b6cc; }
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head.split > div { max-width: 640px; }

.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-800);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(11, 42, 85, 0.45); }
.btn i { transition: transform 0.3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-primary { --bg: var(--saffron); --fg: var(--green-900); }
.btn-primary:hover { --bg: var(--saffron-600); box-shadow: 0 14px 34px -10px rgba(201, 161, 90, 0.7); }
.btn-dark { --bg: var(--green-800); --fg: var(--white); }
.btn-dark:hover { --bg: var(--green-900); }
.btn-outline { --bg: transparent; --fg: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { --bg: var(--green-800); --fg: var(--white); }
.btn-light { --bg: var(--white); --fg: var(--green-900); }
.btn-ghost-light { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { --bg: var(--white); --fg: var(--green-900); }
.btn-lg { padding: 18px 34px; font-size: 1.03rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-700);
  font-size: 0.95rem;
}
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Top bar & Header ---------- */
.topbar {
  background: var(--green-950);
  color: #a8b6cc;
  font-size: 0.83rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 9px 0;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar a:hover { color: var(--saffron); }
.topbar i { color: var(--saffron); margin-right: 6px; }
.topbar .helpline { color: var(--white); font-weight: 600; }
.topbar .socials { display: flex; gap: 14px; }
.topbar .socials i { color: inherit; margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(11, 42, 85, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
  transition: height 0.3s var(--ease);
}
.site-header.scrolled .nav { height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--green-800);
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover { color: var(--green-700); background: var(--green-50); }
.nav-links > li > a.active { color: var(--green-800); }
.nav-links > li > a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--saffron);
}
.nav-links .fa-chevron-down { font-size: 0.65rem; transition: transform 0.3s; }
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 340px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: all 0.3s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.dropdown a:hover { background: var(--green-50); }
.dropdown .dd-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--saffron-100);
  color: var(--saffron-600);
  flex-shrink: 0;
}
.dropdown strong { display: block; color: var(--ink); font-size: 0.93rem; }
.dropdown small { color: var(--muted); font-size: 0.8rem; line-height: 1.4; display: block; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; }
.btn-donate i { color: var(--rose); animation: beat 1.6s infinite; }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.18); }
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 130px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-img) center/cover no-repeat;
  z-index: -2;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 22, 48, 0.94) 0%, rgba(10, 31, 66, 0.78) 45%, rgba(10, 31, 66, 0.35) 100%);
  z-index: -1;
}
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero p { max-width: 620px; font-size: 1.15rem; color: #d5dcea; }
.page-hero .eyebrow { color: var(--saffron); }
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  color: #a8b6cc;
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb i { font-size: 0.6rem; }

/* ---------- Home hero slider ---------- */
.hero-slider {
  position: relative;
  display: grid;
  min-height: clamp(660px, calc(100vh - 40px), 960px);
  margin-top: calc(-1 * var(--nav-h));
  background: var(--green-950);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* Slides share one grid cell, so the hero grows to fit the tallest slide instead of letting text spill over the controls */
.hs-slides { display: grid; }
.hs-slide { grid-area: 1 / 1; position: relative; }
.hs-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 0s 1.2s;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 210px;
}
.hs-slide.active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; z-index: 1; }
.hs-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hs-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 9s cubic-bezier(0.2, 0.6, 0.35, 1);
}
.hs-slide.active .hs-bg img { transform: scale(1.02); }
.hs-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 48, 0.92) 0%, rgba(6, 22, 48, 0.72) 34%, rgba(6, 22, 48, 0.15) 68%, rgba(6, 22, 48, 0.05) 100%),
    linear-gradient(0deg, rgba(6, 22, 48, 0.85) 0%, rgba(6, 22, 48, 0) 38%);
}
.hs-slide.right .hs-bg::after {
  background:
    linear-gradient(270deg, rgba(6, 22, 48, 0.92) 0%, rgba(6, 22, 48, 0.72) 34%, rgba(6, 22, 48, 0.15) 68%, rgba(6, 22, 48, 0.05) 100%),
    linear-gradient(0deg, rgba(6, 22, 48, 0.85) 0%, rgba(6, 22, 48, 0) 38%);
}
.hs-content > * { max-width: 640px; }
.hs-slide.right .hs-content { display: flex; flex-direction: column; align-items: flex-end; }
.hs-slide.right .hs-content > * { width: 100%; max-width: 600px; }
.hero-slider h1, .hs-title {
  font-size: clamp(2.5rem, min(5vw, 8.2vh), 4.6rem);
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero-slider h1 em, .hs-title em { font-style: italic; font-weight: 500; color: var(--saffron); }
.hs-lead { font-size: 1.14rem; color: rgba(255, 255, 255, 0.82); margin-bottom: 32px; max-width: 580px; }

/* staggered entrance for active slide */
.hs-content > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.5s, transform 0.5s;
}
.hs-slide.active .hs-content > * {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.hs-slide.active .hs-content > :nth-child(1) { transition-delay: 0.35s; }
.hs-slide.active .hs-content > :nth-child(2) { transition-delay: 0.5s; }
.hs-slide.active .hs-content > :nth-child(3) { transition-delay: 0.65s; }
.hs-slide.active .hs-content > :nth-child(4) { transition-delay: 0.8s; }
.hs-slide.active .hs-content > :nth-child(5) { transition-delay: 0.95s; }

.hero-slider .pill-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  width: auto;
}
.hero-slider .pill-badge span { background: var(--saffron); color: var(--green-900); }
.hero-slider .pill-badge span.urgent { background: var(--rose); color: var(--white); }
.hs-slide.right .pill-badge { align-self: flex-end; max-width: max-content; }
.hero-slider .avatars img { border-color: var(--green-900); }
.hero-slider .hero-trust strong { color: var(--white); }
.hero-slider .hero-trust small { color: rgba(255, 255, 255, 0.7); }
.hero-slider .hero-actions { margin-bottom: 34px; }
.hero-slider .hs-content > .hero-actions:last-child { margin-bottom: 0; }
@media (max-height: 900px) {
  .hero-slider .hero-trust { display: none; }
  .hero-slider .hero-actions { margin-bottom: 0; }
}

.hs-progress { margin-bottom: 30px; max-width: 460px !important; }
.hs-progress .progress { background: rgba(255, 255, 255, 0.16); margin-bottom: 8px; }
.hs-progress small { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.hs-progress strong { color: var(--white); }

/* slider UI */
.hs-ui { position: absolute; left: 0; right: 0; bottom: 118px; z-index: 3; }
.hs-ui-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hs-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 18px; flex: 1; }
.hs-tabs button {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 12px;
  align-items: baseline;
  transition: color 0.3s;
}
.hs-tabs button:hover, .hs-tabs button.active { color: var(--white); }
.hs-tabs .num { font-family: var(--font-display); font-size: 0.95rem; font-style: italic; color: var(--saffron); }
.hs-tabs .lbl { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-tabs .bar { grid-column: 1 / -1; height: 2px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; overflow: hidden; }
.hs-tabs .bar i { display: block; height: 100%; width: 100%; background: var(--saffron); transform: scaleX(0); transform-origin: left; }
.hs-tabs button.done .bar i { transform: scaleX(1); }
.hs-tabs button.active .bar i { animation: hsFill var(--hs-dur, 7s) linear forwards; }
.hero-slider.paused .hs-tabs button.active .bar i { animation-play-state: paused; }
@keyframes hsFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hs-arrows { display: flex; align-items: center; gap: 12px; }
.hs-count { font-family: var(--font-display); font-size: 1rem; color: rgba(255, 255, 255, 0.6); margin-right: 10px; letter-spacing: 0.04em; }
.hs-count strong { color: var(--white); font-size: 1.6rem; font-weight: 500; }
.hs-arrows button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.hs-arrows button:hover { background: var(--saffron); border-color: var(--saffron); color: var(--green-900); transform: scale(1.06); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.pill-badge span {
  background: var(--green-800);
  color: var(--white);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.hero-trust { display: flex; align-items: center; gap: 18px; }
.avatars { display: flex; }
.avatars img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--cream);
  object-fit: cover;
  margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }
.hero-trust strong { color: var(--ink); display: block; font-size: 1.02rem; }
.hero-trust small { color: var(--muted); font-size: 0.86rem; }
.stars { color: var(--saffron); font-size: 0.8rem; letter-spacing: 2px; }

/* ---------- Quick donate strip ---------- */
.quick-donate-wrap { position: relative; margin-top: -90px; z-index: 5; }
.quick-donate {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 30px;
  align-items: center;
}
.qd-title h3 { font-size: 1.35rem; margin-bottom: 4px; }
.qd-title p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.qd-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--sand);
  border-radius: 999px;
  gap: 2px;
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.segmented button.active { background: var(--green-800); color: var(--white); box-shadow: var(--shadow-sm); }
.segmented button.active i { color: var(--rose); }

.amount-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--white);
  padding: 9px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink);
}
.chip:hover { border-color: var(--saffron); }
.chip.active { background: var(--saffron); border-color: var(--saffron); color: var(--green-900); }

.input-amount {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding-left: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-amount:focus-within { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(201, 161, 90, 0.18); }
.input-amount span { font-weight: 700; color: var(--muted); }
.input-amount input {
  border: 0;
  outline: 0;
  padding: 10px 12px 10px 6px;
  width: 110px;
  font-weight: 700;
  background: transparent;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 161, 90, 0.25), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(71, 103, 154, 0.5), transparent 45%);
}
.stat { position: relative; text-align: center; padding: 0 10px; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}
.stat-num sup { font-size: 0.5em; color: var(--saffron); top: -0.7em; margin-left: 2px; }
.stat p { margin: 10px 0 0; color: #a8b6cc; font-size: 0.95rem; }

/* ---------- About intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }

.img-stack { position: relative; padding: 0 0 60px 0; }
.img-stack .img-a {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 78%;
  box-shadow: var(--shadow);
}
.img-stack .img-b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 10px solid var(--cream);
  box-shadow: var(--shadow-lg);
}
.bg-white .img-stack .img-b { border-color: var(--white); }
.img-stack img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .badge-years {
  position: absolute;
  top: 40px;
  right: 6%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--green-900);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 2;
}
.badge-years strong { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; }
.badge-years span { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

.check-list { display: grid; gap: 14px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.check-list strong { color: var(--ink); }

.signature { display: flex; align-items: center; gap: 16px; }
.signature img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.signature strong { display: block; color: var(--ink); }
.signature small { color: var(--muted); }

/* ---------- Program cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card .pc-img { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.program-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.program-card:hover .pc-img img { transform: scale(1.07); }
.program-card .pc-icon {
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--saffron);
  color: var(--green-900);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px -8px rgba(180, 138, 68, 0.6);
  z-index: 2;
}
.program-card .pc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 48, 0.35), transparent 50%);
}
.program-card .pc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.program-card h3 { margin-bottom: 10px; }
.program-card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.program-card .pc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: 6px;
  border-top: 1px dashed var(--line);
}
.pc-meta .tag { font-size: 0.8rem; font-weight: 700; color: var(--terracotta); }

/* ---------- Impact calculator ---------- */
.impact-calc {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.ic-left { padding: clamp(32px, 4vw, 56px); }
.ic-right {
  background: var(--green-800);
  color: #d5dcea;
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.ic-right::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(201, 161, 90, 0.08);
  right: -140px;
  top: -140px;
}
.ic-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  color: var(--ink);
  line-height: 1;
  margin: 18px 0 8px;
  font-weight: 600;
}
.ic-amount small { font-size: 0.35em; color: var(--muted); font-family: var(--font-body); font-weight: 600; }

input[type="range"].range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--saffron) 0%, var(--saffron) var(--fill, 30%), var(--sand) var(--fill, 30%));
  outline: none;
  margin: 26px 0 10px;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-800);
  border: 5px solid var(--white);
  box-shadow: 0 4px 14px rgba(11, 42, 85, 0.4);
  cursor: grab;
}
.range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-800);
  border: 5px solid var(--white);
  box-shadow: 0 4px 14px rgba(11, 42, 85, 0.4);
  cursor: grab;
}
.range-labels { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.ic-results { display: grid; gap: 16px; position: relative; margin: 26px 0 32px; }
.ic-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ic-item i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201, 161, 90, 0.16);
  color: var(--saffron);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.ic-item strong { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; display: block; line-height: 1.1; }
.ic-item span { font-size: 0.9rem; }

/* ---------- Feature story ---------- */
.feature-story {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}
.feature-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 48, 0.92) 0%, rgba(6, 22, 48, 0.55) 55%, rgba(6, 22, 48, 0.1) 100%);
  z-index: -1;
}
.fs-content { padding: clamp(32px, 5vw, 72px); max-width: 680px; }
.fs-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.3;
  margin: 0 0 26px;
  color: var(--white);
  font-weight: 500;
}
.fs-content blockquote::before {
  content: "\201C";
  display: block;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--saffron);
  margin-bottom: 10px;
}
.fs-content p { color: #d5dcea; }
.play-btn {
  position: absolute;
  right: clamp(32px, 8vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--green-900);
  border: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1;
}
.play-btn::before, .play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--saffron);
  animation: ripple 2.4s infinite;
}
.play-btn::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }

/* ---------- Campaigns ---------- */
.campaign-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.campaign-card .cc-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.campaign-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.campaign-card:hover .cc-img img { transform: scale(1.06); }
.cc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cc-badge.urgent { background: var(--rose); color: var(--white); }
.cc-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.cc-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.progress { height: 10px; background: var(--sand); border-radius: 99px; overflow: hidden; margin: 8px 0 12px; }
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--saffron), var(--terracotta));
  border-radius: 99px;
  transition: width 1.8s var(--ease);
}
.cc-stats { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 22px; }
.cc-stats strong { color: var(--ink); font-size: 1.02rem; }
.cc-stats span { color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-wrap { position: relative; max-width: 940px; margin: 0 auto; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.7s var(--ease); }
.testimonial {
  min-width: 100%;
  padding: 0 10px;
  text-align: center;
}
.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 34px;
}
.testimonial .t-person { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.testimonial img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--saffron); }
.testimonial strong { display: block; color: var(--white); font-size: 1.05rem; }
.testimonial small { color: #a8b6cc; }
.quote-mark { font-size: 3rem; color: var(--saffron); text-align: center; margin-bottom: 18px; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 44px; }
.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-btn:hover { background: var(--saffron); border-color: var(--saffron); color: var(--green-900); }
.dots { display: flex; gap: 8px; }
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.dots button.active { width: 32px; background: var(--saffron); }

/* ---------- Trust / Partners ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.trust-item i {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-item strong { color: var(--ink); display: block; font-size: 0.98rem; line-height: 1.3; }
.trust-item small { color: var(--muted); font-size: 0.82rem; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #98a1b0;
  white-space: nowrap;
  transition: color 0.3s;
}
.partner-logo:hover { color: var(--green-800); }
.partner-logo i { font-size: 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(48px, 7vw, 90px);
  background: var(--saffron);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  right: -120px;
  top: -200px;
  z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 50px solid rgba(143, 106, 44, 0.15);
  left: -100px;
  bottom: -160px;
  z-index: -1;
}
.cta-band h2 { color: var(--green-900); margin-bottom: 14px; }
.cta-band p { color: #3b4557; font-size: 1.1rem; margin: 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: 10px; background: rgba(255, 255, 255, 0.08); padding: 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); }
.newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--white);
  min-width: 0;
}
.newsletter-form input::placeholder { color: #8d9fbb; }
.newsletter-form .btn { padding: 12px 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #9dadc6; padding-top: 90px; font-size: 0.95rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
}
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: #8091ab; }
.site-footer p { margin: 22px 0; line-height: 1.75; }
.site-footer .footer-tagline { margin: -10px 0 22px; color: var(--saffron); font-size: 0.95rem; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  font-weight: 700;
}
.footer-links { display: grid; gap: 12px; }
.footer-links a { transition: color 0.2s, padding 0.2s; }
.footer-links a:hover { color: var(--saffron); padding-left: 4px; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; line-height: 1.55; }
.footer-contact i { color: var(--saffron); margin-top: 5px; width: 16px; }
.footer-contact a:hover { color: var(--saffron); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: all 0.3s;
}
.social-links a:hover { background: var(--saffron); color: var(--green-900); transform: translateY(-3px); }
.footer-news { margin-top: 26px; }
.footer-news p { margin: 0 0 14px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--saffron); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.footer-badges span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d5dcea;
  letter-spacing: 0.04em;
}

/* ---------- Floating elements ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--saffron); color: var(--green-900); }

.mobile-donate-bar { display: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 140%);
  background: var(--green-900);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 200;
  transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0.4s;
  max-width: calc(100% - 32px);
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
}
.toast i { color: var(--saffron); font-size: 1.2rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 22, 48, 0.85);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 300;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 44px;
  position: relative;
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}
.modal.open .modal-box { transform: scale(1); }
.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--sand);
  cursor: pointer;
  font-size: 1rem;
}
.modal-close:hover { background: var(--saffron); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.zoom { transform: scale(0.94); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Inner page components
   ========================================================================== */

/* Values / feature cards */
.value-card {
  padding: 36px 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card:hover::after { transform: scaleX(1); }
.value-card .vc-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--saffron-100);
  color: var(--saffron-600);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.value-card:hover .vc-icon { background: var(--green-800); color: var(--saffron); transform: rotate(-8deg); }
.value-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Mission / vision */
.mv-card {
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--green-800); color: #d5dcea; }
.mv-card.mission h3 { color: var(--white); }
.mv-card.vision { background: var(--saffron); color: #3b4557; }
.mv-card.vision h3 { color: var(--green-900); }
.mv-card .mv-icon { font-size: 2.2rem; margin-bottom: 22px; display: block; }
.mv-card.mission .mv-icon { color: var(--saffron); }
.mv-card.vision .mv-icon { color: var(--green-800); }
.mv-card p { font-size: 1.08rem; margin: 0; }
.mv-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.07);
  right: -70px;
  bottom: -90px;
}

/* Timeline */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--saffron), var(--green-500));
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 56px 56px 0;
}
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 56px 56px; }
.tl-item::before {
  content: "";
  position: absolute;
  right: -11px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 5px solid var(--saffron);
  z-index: 1;
}
.tl-item:nth-child(even)::before { right: auto; left: -11px; }
.tl-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tl-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 10px;
}
.tl-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Team */
.team-card { text-align: center; }
.team-card .tm-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  margin-bottom: 20px;
}
.team-card .tm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); filter: grayscale(0.15); }
.team-card:hover .tm-img img { transform: scale(1.06); filter: none; }
.tm-social {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 20px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.team-card:hover .tm-social { opacity: 1; transform: translate(-50%, 0); }
.tm-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-800);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.tm-social a:hover { background: var(--saffron); }
.team-card h4 { font-size: 1.25rem; margin-bottom: 2px; }
.team-card small { color: var(--terracotta); font-weight: 600; font-size: 0.88rem; }

/* Program detail */
.program-detail { padding: clamp(60px, 7vw, 100px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.program-detail:last-child { border-bottom: 0; }
.pd-img { position: relative; }
.pd-img .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.pd-img .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-img .pd-stat {
  position: absolute;
  bottom: -26px;
  right: 30px;
  background: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 14px;
  align-items: center;
}
.split.reverse .pd-img .pd-stat { right: auto; left: 30px; }
.pd-stat strong { font-family: var(--font-display); font-size: 2rem; color: var(--green-800); line-height: 1; display: block; }
.pd-stat small { color: var(--muted); font-size: 0.84rem; }
.pd-stat i {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--saffron);
  color: var(--green-900);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.pd-number {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--saffron-600);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 32px; }
.pd-features li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}
.pd-features i { color: var(--green-500); }

.program-tabs {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.program-tabs .container { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.program-tabs .container::-webkit-scrollbar { display: none; }
.program-tabs a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--muted);
  transition: all 0.25s;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.program-tabs a:hover { color: var(--green-800); background: var(--green-50); }
.program-tabs a.active { background: var(--green-800); color: var(--white); }

/* Stories */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.filter-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--body);
}
.filter-btn:hover { border-color: var(--green-800); color: var(--green-800); }
.filter-btn.active { background: var(--green-800); border-color: var(--green-800); color: var(--white); }

.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.4s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story-card.hide { display: none; }
.story-card .sc-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.story-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.story-card:hover .sc-img img { transform: scale(1.06); }
.sc-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.sc-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.sc-meta .cat { color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.08em; }
.story-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.story-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }

.featured-story-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.featured-story-card .fsc-img { min-height: 460px; position: relative; }
.featured-story-card .fsc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-story-card .fsc-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.featured-story-card blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--green-700);
  border-left: 4px solid var(--saffron);
  padding-left: 20px;
  margin: 10px 0 28px;
  line-height: 1.5;
}

/* Involve cards */
.involve-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}
.involve-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.involve-card:hover img { transform: scale(1.06); }
.involve-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 48, 0.95) 10%, rgba(6, 22, 48, 0.2) 70%);
  z-index: -1;
}
.involve-card .ivc-body { padding: 34px; }
.involve-card h3 { color: var(--white); font-size: 1.6rem; }
.involve-card p { color: #d5dcea; font-size: 0.97rem; }
.involve-card .ivc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--saffron);
  color: var(--green-900);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: var(--green-700);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--saffron);
  font-size: 1.4rem;
  position: relative;
}
.step-num::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step p { color: #a8b6cc; font-size: 0.94rem; margin: 0; }
.step h4 { color: var(--white); }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-size: 0.97rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--saffron);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 161, 90, 0.16);
}
.field.error input, .field.error select, .field.error textarea { border-color: var(--rose); }
.field .err-msg { color: var(--rose); font-size: 0.8rem; display: none; }
.field.error .err-msg { display: block; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green-800); flex-shrink: 0; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -70px; position: relative; z-index: 3; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card .cc-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--saffron-100);
  color: var(--saffron-600);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact-card a { color: var(--green-700); font-weight: 700; }
.contact-card .big { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-800); font-weight: 600; display: block; margin: 4px 0; }

.office-list { display: grid; gap: 16px; }
.office {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  gap: 18px;
  transition: border-color 0.25s;
}
.office:hover { border-color: var(--saffron); }
.office i { color: var(--saffron-600); font-size: 1.2rem; margin-top: 4px; }
.office strong { color: var(--ink); display: block; }
.office p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.8); }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-q i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all 0.3s;
}
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--saffron); color: var(--green-900); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* ---------- Donate page ---------- */
.donate-layout { display: grid; grid-template-columns: 1fr 470px; gap: 48px; align-items: start; }
.donate-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.dw-head { background: var(--green-800); padding: 26px 30px; color: var(--white); }
.dw-head h3 { color: var(--white); margin: 0 0 4px; font-size: 1.4rem; }
.dw-head p { margin: 0; color: #a8b6cc; font-size: 0.88rem; }
.dw-body { padding: 28px 30px 30px; }
.dw-step { display: none; }
.dw-step.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.citizen-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.citizen-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: var(--ink);
}
.citizen-toggle input { display: none; }
.citizen-toggle .radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.citizen-toggle input:checked + label { border-color: var(--green-500); background: var(--green-50); }
.citizen-toggle input:checked + label .radio-dot { border-color: var(--green-500); background: var(--green-500); }
.citizen-toggle input:checked + label .radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}
.info-note {
  background: var(--saffron-100);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #3b4557;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.freq-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); padding: 5px; border-radius: 14px; margin-bottom: 20px; }
.freq-toggle button {
  border: 0;
  background: transparent;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.freq-toggle button.active { background: var(--saffron); color: var(--green-900); box-shadow: var(--shadow-sm); }
.freq-toggle button i { color: var(--rose); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.amount-grid .chip { padding: 14px 8px; font-size: 1rem; text-align: center; }
.amount-grid .chip.active { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.dw-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
.impact-msg {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--green-50);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--green-700);
  margin-bottom: 20px;
  line-height: 1.5;
}
.impact-msg i { font-size: 1.3rem; color: var(--green-500); }
.dw-foot { padding: 18px 30px; background: var(--cream); border-top: 1px solid var(--line); display: flex; justify-content: center; gap: 22px; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.dw-foot i { color: var(--green-500); margin-right: 4px; }
.dw-back { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 18px; display: inline-flex; gap: 8px; align-items: center; }
.dw-back:hover { color: var(--green-800); }
.dw-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--sand);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.dw-summary strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-800); }
.success-state { text-align: center; padding: 20px 0; }
.success-state .ok {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  margin: 0 auto 22px;
  animation: pop 0.6s var(--ease);
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

.tax-note {
  border: 1.5px dashed #dcc596;
  background: #fffaf0;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #6b5a3a;
  margin-top: 20px;
}
.tax-note .warn { color: var(--rose); display: block; margin-top: 8px; font-weight: 600; }

.give-option {
  display: flex;
  gap: 20px;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.give-option:hover { border-color: var(--saffron); transform: translateX(6px); }
.give-option .go-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-800);
  color: var(--saffron);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.give-option h4, .bg-green .give-option h4 { margin-bottom: 4px; font-size: 1.15rem; color: var(--ink); }
.give-option p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.impact-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.impact-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.impact-table tr:last-child td { border-bottom: 0; }
.impact-table td:first-child { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--green-800); width: 120px; }
.impact-table tr:hover td { background: var(--green-50); }

.video-frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: var(--white); }

/* ==========================================================================
   Journal (blog listing + article)
   ========================================================================== */
.post-cat {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.post-cat.static { position: static; display: inline-block; background: var(--saffron-100); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.83rem; color: var(--muted); margin-bottom: 12px; }
.post-meta i { color: var(--saffron-600); margin-right: 4px; }
.post-author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.post-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* Featured post */
.blog-featured-wrap { margin-top: -90px; position: relative; z-index: 3; padding-top: 0; }
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.fp-media { position: relative; overflow: hidden; min-height: 420px; }
.fp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured-post:hover .fp-media img { transform: scale(1.05); }
.fp-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.fp-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--muted); margin: 0 0 14px; }
.fp-label i { color: var(--saffron); }
.fp-body .post-cat { margin-bottom: 10px; }
.fp-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 14px; transition: color 0.3s; }
.featured-post:hover h2 { color: var(--green-700); }
.fp-body > p { color: var(--muted); margin-bottom: 18px; }
.fp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; margin-top: 12px; padding-top: 22px; border-top: 1px dashed var(--line); }
.fp-foot .post-author { line-height: 1.25; }
.fp-foot .post-author small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.fp-foot .post-author img { width: 44px; height: 44px; }

/* Toolbar */
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.blog-toolbar .filter-bar { margin: 0; justify-content: flex-start; }
.filter-btn span { font-size: 0.75rem; opacity: 0.6; margin-left: 4px; }
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  min-width: 260px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-search:focus-within { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(201, 161, 90, 0.18); }
.blog-search i { color: var(--muted); }
.blog-search input { border: 0; outline: 0; background: transparent; padding: 12px 0; width: 100%; }
.blog-count { font-size: 0.88rem; color: var(--muted); margin: 0 0 26px; min-height: 1.5em; }

/* Cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: postIn 0.6s var(--ease) both;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@keyframes postIn { from { opacity: 0; transform: translateY(20px); } }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.07); }
.post-body { padding: 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.28rem; line-height: 1.3; margin-bottom: 10px; }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card:hover h3 { color: var(--green-700); }
.post-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line); }
.post-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-800); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.post-card:hover .post-go { background: var(--saffron); color: var(--green-900); transform: rotate(-45deg); }
.blog-empty { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.blog-empty[hidden] { display: none; }
.blog-empty i { font-size: 2.4rem; color: var(--saffron); margin-bottom: 14px; }
.blog-empty p { color: var(--muted); }
.blog-more { text-align: center; margin-top: 48px; }
.blog-more .btn[hidden] { display: none; }

/* Newsletter band */
.blog-subscribe {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--green-800);
  color: #d5dcea;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.blog-subscribe::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 90, 0.35), transparent 65%);
}
.blog-subscribe h2 { color: var(--white); }
.blog-subscribe .eyebrow { color: var(--saffron); }
.blog-subscribe p { margin: 0; }
.blog-subscribe .newsletter-form { position: relative; }

/* Article */
.article-hero { padding-bottom: clamp(70px, 9vw, 110px); }
.article-hero + .section { padding-top: clamp(56px, 6vw, 84px); }
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 900px; margin: 16px 0 24px; }
.article-hero .post-cat.static { background: var(--saffron); color: var(--green-900); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: #d5dcea; font-size: 0.92rem; }
.art-meta i { color: var(--saffron); margin-right: 6px; }
.art-meta .post-author { color: var(--white); }
.art-meta .post-author img { width: 42px; height: 42px; border: 2px solid var(--saffron); }

.article-layout { display: grid; grid-template-columns: 56px minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.share-rail { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.share-rail > span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.share-links { display: flex; gap: 10px; }
.share-rail .share-links { flex-direction: column; }
.share-links a, .share-links button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green-800);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.share-links a:hover, .share-links button:hover { background: var(--green-800); border-color: var(--green-800); color: var(--white); transform: translateY(-3px); }

.prose { font-size: 1.1rem; line-height: 1.85; color: var(--body); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.2em; }
.prose > h2 + * { margin-top: 0.6em; }
.prose .lead { font-size: 1.3rem; line-height: 1.65; color: var(--ink); font-family: var(--font-display); font-weight: 400; }
.prose .lead::first-letter { float: left; font-size: 4.2em; line-height: 0.82; padding: 6px 12px 0 0; color: var(--terracotta); font-weight: 600; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.8em; margin-bottom: 0; }
.prose ul { padding-left: 0; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 30px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px var(--saffron-100); }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 1.8em 0;
  padding: 28px 32px 28px 36px;
  background: var(--white);
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}
.prose small { display: block; font-size: 0.85rem; color: var(--muted); padding: 14px 18px; background: var(--sand); border-radius: 12px; }

.art-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 48px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.art-tags .tag { background: var(--green-50); color: var(--green-700); font-size: 0.82rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.art-share-inline { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.art-share-inline .share-links a, .art-share-inline .share-links button { width: 38px; height: 38px; font-size: 0.9rem; }

.author-box { display: flex; gap: 24px; align-items: flex-start; margin-top: 40px; padding: 30px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--saffron-100); }
.author-box small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.author-box h4 { font-size: 1.3rem; margin: 2px 0; }
.author-box .role { color: var(--terracotta); font-weight: 600; font-size: 0.88rem; }
.author-box p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.art-nav-link { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color 0.3s, transform 0.3s var(--ease); }
.art-nav-link:hover { border-color: var(--saffron); transform: translateY(-3px); }
.art-nav-link.next { text-align: right; }
.art-nav-link small { display: block; font-weight: 700; color: var(--terracotta); font-size: 0.8rem; margin-bottom: 6px; }
.art-nav-link strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.35; display: block; }

.article-side { position: sticky; top: 110px; display: grid; gap: 22px; }
.side-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 26px; }
.side-card h4 { font-size: 1.15rem; margin-bottom: 14px; }
.side-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.side-donate { background: var(--green-800); border-color: var(--green-800); color: #d5dcea; }
.side-donate > i { font-size: 2rem; color: var(--saffron); margin-bottom: 12px; }
.side-donate h4 { color: var(--white); margin-bottom: 8px; }
.side-donate > p { color: #a8b6cc; }
.recent-post { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line); }
.recent-post:first-child { border-top: 0; padding-top: 0; }
.recent-post img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.recent-post strong { display: block; font-size: 0.9rem; line-height: 1.35; color: var(--ink); transition: color 0.2s; }
.recent-post:hover strong { color: var(--green-700); }
.recent-post small { color: var(--muted); font-size: 0.78rem; }
.newsletter-form.stacked { flex-direction: column; background: none; border: 0; padding: 0; border-radius: 0; }
.newsletter-form.stacked input { background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; color: var(--ink); }
.newsletter-form.stacked input::placeholder { color: var(--muted); }

/* ==========================================================================
   Premium layer — overlay header, scroll progress, carousel, polish
   ========================================================================== */

/* Header floats transparently over dark heroes until the page scrolls */
.overlay-header .page-hero {
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(clamp(90px, 12vw, 150px) + var(--nav-h));
}
.overlay-header .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.overlay-header .site-header:not(.scrolled) .brand-name { color: var(--white); }
.overlay-header .site-header:not(.scrolled) .brand-sub { color: rgba(255, 255, 255, 0.7); }
.overlay-header .site-header:not(.scrolled) .nav-cta .btn-outline { --fg: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.overlay-header .site-header:not(.scrolled) .nav-cta .btn-outline:hover { --bg: var(--white); --fg: var(--green-900); border-color: var(--white); }
@media (min-width: 1025px) {
  .overlay-header .site-header:not(.scrolled) .nav-links > li > a { color: rgba(255, 255, 255, 0.88); }
  .overlay-header .site-header:not(.scrolled) .nav-links > li > a:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
  .overlay-header .site-header:not(.scrolled) .nav-links > li > a.active { color: var(--white); }
}

@media (max-width: 1360px) {
  .nav-cta .btn-outline { display: none; }
}

/* Mobile drawer extras (shown under 1024px) */
.nav-drawer-extra { display: none; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 160;
  pointer-events: none;
}

/* Button sheen */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: -1;
}
.btn:hover::after { animation: sheen 0.9s var(--ease); }
@keyframes sheen { to { left: 130%; } }

/* Swipe-row dots (phones only) */
.swipe-dots { display: none; }
.swipe-dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width 0.3s var(--ease), background 0.3s; }
.swipe-dots span.active { width: 24px; background: var(--saffron); }

/* Moments carousel */
.moments-section .section-head { margin-bottom: 44px; }
.carousel-nav { display: flex; gap: 12px; }
.carousel-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.carousel-btn:hover:not(:disabled) { background: var(--green-800); border-color: var(--green-800); color: var(--white); transform: scale(1.06); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-track {
  --gutter: calc((100% - min(var(--container), 100% - 40px)) / 2);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 6px var(--gutter) 46px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track.dragging .moment { pointer-events: none; }
.moment {
  position: relative;
  flex: 0 0 clamp(250px, 25vw, 340px);
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  background: var(--green-900);
}
.moment:nth-child(even) { margin-top: 40px; }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.moment:hover img { transform: scale(1.07); }
.moment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 22, 48, 0.9) 0%, rgba(6, 22, 48, 0.1) 50%, transparent 70%);
}
.moment figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: var(--white); }
.moment .loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 6px;
}
.moment strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; line-height: 1.25; }
.carousel-progress { position: relative; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.carousel-progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--green-800); border-radius: 2px; transition: left 0.15s linear; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links > li > a { padding: 10px 10px; font-size: 0.92rem; white-space: nowrap; }
  .nav-cta .btn-outline { display: none; }
  .nav { gap: 16px; }
  .topbar .hide-md { display: none; }
  .quick-donate { grid-template-columns: 1fr; gap: 20px; }
  .quick-donate .qd-go .btn { width: 100%; }
  .donate-layout { grid-template-columns: 1fr 420px; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(380px, 88vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px 24px 30px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links > li > a { padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); justify-content: space-between; font-size: 1.05rem; }
  .nav-links > li > a.active::after { display: none; }
  .nav-links > li > a.active { color: var(--terracotta); }
  .dropdown {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .has-dropdown.open .dropdown { max-height: 600px; padding-top: 8px; }
  .has-dropdown:hover .dropdown { transform: none; }
  .nav-toggle { z-index: 101; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 22, 48, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    z-index: 98;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .split, .impact-calc, .featured-story-card, .cta-band, .donate-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .trust-row { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3)::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band .cta-actions { justify-content: flex-start; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .donate-widget { position: relative; top: 0; order: -1; }
  .contact-cards { grid-template-columns: 1fr; }
  .featured-story-card .fsc-img { min-height: 320px; }
  .img-stack { max-width: 560px; }
  .overlay-header .site-header:not(.scrolled) .nav-toggle { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
  .overlay-header .site-header:not(.scrolled) .nav-toggle span { background: var(--white); }
  .overlay-header.nav-open .site-header .nav-toggle { background: var(--white); border-color: var(--line); }
  .overlay-header.nav-open .site-header .nav-toggle span { background: var(--ink); }
  .hs-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .hs-count { display: none; }
  .hs-tabs .lbl { font-size: 0.84rem; }
  .hero-slider h1, .hs-title { font-size: clamp(2.3rem, min(6.6vw, 7.4vh), 3.8rem) !important; }
  .pd-img .main { aspect-ratio: 16 / 10; }
  .featured-post, .blog-subscribe { grid-template-columns: 1fr; }
  .fp-media { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search { min-width: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 760px; }
  .share-rail { display: none; }
  .article-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .side-donate { grid-column: 1 / -1; }
  .feature-story { min-height: 600px; flex-direction: column; align-items: stretch; }
  .feature-story::after { background: linear-gradient(to top, rgba(6, 22, 48, 0.96) 45%, rgba(6, 22, 48, 0.25)); }
  .play-btn { position: relative; top: auto; right: auto; transform: none; order: -1; margin: 32px auto auto clamp(32px, 5vw, 72px); width: 68px; height: 68px; font-size: 1.2rem; flex-shrink: 0; }
  .fs-content { padding-top: 40px; }
  .back-to-top { display: none; }
  .nav-links > li > a { display: flex; }
  .nav-links .dropdown a { padding: 10px 8px; }
  .nav-drawer-extra { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
  .nav-links .nav-drawer-extra > a { border-bottom: 0; font-size: 1rem; }
  .nav-links .nav-drawer-extra > .btn { width: 100%; padding: 15px 20px; justify-content: center; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); }
  .nav-links .nav-drawer-extra > .btn-outline { border-color: var(--green-800); }
  .nav-links .nav-drawer-extra > .btn-outline:hover { --bg: var(--green-800); --fg: var(--white); }
  .nav-links .nav-drawer-extra > .drawer-help { display: flex; justify-content: flex-start; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--green-50); color: var(--green-800); font-weight: 700; font-size: 0.95rem; }
  .nav-drawer-extra .drawer-help i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: var(--saffron); flex-shrink: 0; }
  .nav-drawer-extra .drawer-help small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
  .hs-slide { align-items: flex-end; padding-bottom: 210px; }
  .hs-bg::after, .hs-slide.right .hs-bg::after {
    background: linear-gradient(0deg, rgba(6, 22, 48, 0.95) 0%, rgba(6, 22, 48, 0.75) 40%, rgba(6, 22, 48, 0.15) 72%, rgba(6, 22, 48, 0.4) 100%);
  }
  .hs-slide.right .hs-content { align-items: flex-start; }
  .hs-slide.right .pill-badge { align-self: flex-start; }
  .hero-slider h1, .hs-title { font-size: clamp(2.4rem, 6.6vw, 3.8rem); }
  .hs-content > * { max-width: 660px; }
  .hero-slider .hero-trust { display: none; }
  .hero-slider .hero-actions { margin-bottom: 0; }
  .img-stack { margin-inline: auto; width: 100%; }
  .moments-section .section-head.split { flex-direction: row; align-items: flex-end; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .nav { height: 70px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: 0.56rem; letter-spacing: 0.14em; }
  .nav-cta .btn-donate { display: none; }
  .grid-3, .grid-2, .grid-4, .trust-row { grid-template-columns: 1fr; }
  .quick-donate { padding: 24px 20px; }
  .qd-controls { flex-direction: column; align-items: stretch; }
  .segmented { justify-content: space-between; }
  .segmented button { flex: 1; justify-content: center; }
  .input-amount input { width: 100%; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 18px; }
  .stat + .stat::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .pd-features { grid-template-columns: 1fr; }
  .timeline::before { left: 11px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 44px; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
  .steps { grid-template-columns: 1fr; }
  .modal-box { padding: 32px 22px; }
  .img-stack .badge-years { width: 110px; height: 110px; top: 20px; }
  .badge-years strong { font-size: 2rem; }
  .pd-img .pd-stat { right: 16px; left: auto; padding: 14px 18px; }
  .split.reverse .pd-img .pd-stat { left: 16px; }
  .dw-body, .dw-head { padding-left: 20px; padding-right: 20px; }
  .mobile-donate-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    gap: 10px;
  }
  .mobile-donate-bar .btn { flex: 1; padding: 13px 10px; }
  .site-footer { padding-bottom: 70px; }
  .toast { bottom: 90px; }
  :root { --nav-h: 70px; }
  .hero-slider { min-height: max(640px, 100svh); }
  .hs-slide { align-items: flex-end; padding: calc(var(--nav-h) + 20px) 0 196px; }
  .hs-bg::after, .hs-slide.right .hs-bg::after {
    background: linear-gradient(0deg, rgba(6, 22, 48, 0.96) 0%, rgba(6, 22, 48, 0.82) 42%, rgba(6, 22, 48, 0.2) 75%, rgba(6, 22, 48, 0.35) 100%);
  }
  .hs-slide.right .hs-content { align-items: stretch; }
  .hs-slide.right .pill-badge { align-self: flex-start; }
  .hero-slider .pill-badge { font-size: 0.76rem; margin-bottom: 18px; border-radius: 18px; line-height: 1.4; }
  .hero-slider .pill-badge span { flex-shrink: 0; }
  /* keep each subject's face in frame on portrait screens */
  .hs-slide:nth-child(1) .hs-bg img { object-position: 74% center; }
  .hs-slide:nth-child(2) .hs-bg img { object-position: 36% center; }
  .hs-slide:nth-child(4) .hs-bg img { object-position: 24% center; }
  .hero-slider h1, .hs-title { font-size: clamp(2.1rem, 9vw, 2.6rem); margin-bottom: 16px; }
  .hs-lead { font-size: 1rem; margin-bottom: 24px; }
  .hero-slider .hero-actions { margin-bottom: 0; }
  .hero-slider .hero-actions .btn { flex: 1 1 100%; }
  .hero-slider .btn-ghost-light { display: none; }
  .hs-tabs { gap: 8px; }
  .hs-tabs .lbl, .hs-count { display: none; }
  .hs-ui { bottom: 116px; }
  .hs-arrows button { width: 46px; height: 46px; }
  .swipe-sm {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    margin-inline: -20px;
    padding: 6px 20px 8px;
    scrollbar-width: none;
  }
  .swipe-sm::-webkit-scrollbar { display: none; }
  .swipe-sm > * { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .moment { flex-basis: 76vw; }
  .blog-featured-wrap { margin-top: -60px; }
  .fp-foot .btn { width: 100%; }
  .blog-grid:not(.swipe-sm) { grid-template-columns: 1fr; gap: 20px; }
  .blog-subscribe .newsletter-form { flex-direction: column; background: none; border: 0; padding: 0; }
  .blog-subscribe .newsletter-form input { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; padding: 14px 18px; }
  .article-side { grid-template-columns: 1fr; }
  .prose { font-size: 1.03rem; }
  .prose .lead { font-size: 1.15rem; }
  .prose blockquote { padding: 22px 22px 22px 24px; font-size: 1.15rem; }
  .art-footer { flex-direction: column; align-items: flex-start; }
  .author-box { flex-direction: column; padding: 24px; }
  .art-nav { grid-template-columns: 1fr; }
  .art-nav-link.next { text-align: left; }
  .section-head.split { gap: 14px; }
  .section-head { margin-bottom: 40px; }
  .filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -20px 36px;
    padding: 2px 20px 6px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  .value-card:not([style]) {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
    align-items: start;
    padding: 24px 22px;
  }
  .value-card:not([style]) .vc-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; font-size: 1.2rem; margin: 0; }
  .value-card:not([style]) h3 { margin-bottom: 6px; }
  .contact-cards { gap: 14px; }
  .contact-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 16px;
    text-align: left;
    padding: 22px 20px;
    align-items: center;
  }
  .contact-card .cc-icon { grid-row: span 3; width: 54px; height: 54px; margin: 0; font-size: 1.15rem; align-self: start; }
  .contact-card h4 { margin-bottom: 2px; font-size: 1rem; }
  .contact-card .big { font-size: 1.2rem !important; overflow-wrap: anywhere; }
  .contact-card a.big[href^="mailto"] { font-size: 1rem !important; }
  .moment:nth-child(even) { margin-top: 0; }
  .carousel-nav { display: none; }
}

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

/* ==========================================================================
   Clarry Care additions — accessibility, Australian compliance & service UI
   ========================================================================== */

.brand-sub { letter-spacing: 0.09em; font-size: 0.63rem; }

/* Skip link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--green-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.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;
}

/* Crisis strip */
.crisis-strip { background: var(--saffron-100); color: #3b4557; border-top: 1px solid #e8dcc4; }
.crisis-strip .container { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; }
.crisis-strip i { color: var(--terracotta); margin-top: 5px; }
.crisis-strip p { margin: 0; font-size: 0.93rem; }
.crisis-strip a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Acknowledgement of Country & inclusion */
.acknowledgement {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.acknowledgement p { margin: 0; font-size: 0.9rem; color: #d5dcea; max-width: 900px; }
.ack-flags { display: flex; gap: 6px; flex-shrink: 0; }
.ack-flags i { width: 30px; height: 20px; border-radius: 3px; display: block; position: relative; }
.ack-flags i:first-child { background: linear-gradient(#000 50%, #c8102e 50%); }
.ack-flags i:first-child::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #ffd100; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ack-flags i:last-child { background: linear-gradient(90deg, #00927e 22%, #0051a2 22%, #0051a2 78%, #00927e 78%); }
.ack-flags i:last-child::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1.5px solid #fff; border-radius: 50% 50% 2px 2px; left: 50%; top: 50%; transform: translate(-50%, -55%); }
.inclusion-note { margin: 0 0 6px; font-size: 0.86rem; color: #a8b6cc; display: flex; gap: 10px; align-items: center; }
.inclusion-note i { color: var(--saffron); }

/* Toast error state */
.toast.error { background: #7a2521; }
.toast.error i { color: #ffd2cc; }

/* Accessible choice cards (radio / checkbox) */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 10px; padding: 0; }
legend .req, .checkbox-field .req { color: var(--rose); }
.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.choice-cards label { position: relative; display: block; cursor: pointer; }
.choice-cards input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-cards .cc-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  height: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.choice-cards .cc-box i { color: var(--green-500); font-size: 1.15rem; margin-top: 2px; width: 22px; text-align: center; }
.choice-cards .cc-box strong { display: block; color: var(--ink); font-size: 0.95rem; }
.choice-cards .cc-box small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.choice-cards label:hover .cc-box { border-color: var(--green-500); }
.choice-cards input:checked + .cc-box { border-color: var(--green-700); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-700); }
.choice-cards input:focus-visible + .cc-box { outline: 3px solid var(--saffron); outline-offset: 2px; }
fieldset.error .cc-box, .checkbox-field.error .checkbox { border-color: var(--rose); }
fieldset .err-msg, .checkbox-field .err-msg { display: none; color: var(--rose); font-size: 0.8rem; margin-top: 8px; }
fieldset.error .err-msg, .checkbox-field.error .err-msg { display: block; }

.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; }
.check-grid .checkbox { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.checkbox-field .checkbox { padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); }

.form-section { padding-top: 26px; margin-top: 26px; border-top: 1px dashed var(--line); }
.form-section.first { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section h3 { font-size: 1.25rem; display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.form-section h3 .num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--saffron); color: var(--green-900);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 800;
  display: grid; place-items: center; flex-shrink: 0;
}
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: -2px; }
.form-privacy { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }
.form-privacy a { text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-success .fs-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px;
}
.form-success p { color: var(--muted); max-width: 520px; margin-inline: auto; }

/* Callouts */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  margin: 24px 0;
}
.callout > i { color: var(--green-500); font-size: 1.3rem; margin-top: 3px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.callout strong { color: var(--ink); }
.callout a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.callout.warm { background: var(--saffron-100); border-color: #e8dcc4; }
.callout.warm > i { color: var(--saffron-600); }

/* Service overview cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .sv-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--green-50); color: var(--green-700);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .sv-icon { background: var(--saffron); color: var(--green-900); }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); font-size: 0.96rem; }
.service-card ul { display: grid; gap: 8px; margin: 4px 0 22px; flex: 1; }
.service-card li { display: flex; gap: 10px; font-size: 0.93rem; }
.service-card li i { color: var(--green-500); margin-top: 6px; font-size: 0.8rem; }
.service-card .link-arrow { margin-top: auto; }

/* CTA tiles on home */
.cta-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cta-tile {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
}
.cta-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cta-tile > i { font-size: 1.5rem; color: var(--terracotta); }
.cta-tile strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.cta-tile span { color: var(--muted); font-size: 0.9rem; }
.cta-tile em { font-style: normal; font-weight: 700; color: var(--green-700); font-size: 0.9rem; margin-top: auto; }
.cta-tile.featured { background: var(--green-800); border-color: var(--green-800); }
.cta-tile.featured strong { color: var(--white); }
.cta-tile.featured span { color: #a8b6cc; }
.cta-tile.featured em, .cta-tile.featured > i { color: var(--saffron); }
.cta-tiles-wrap { margin-top: -70px; position: relative; z-index: 3; }

/* Key facts band (non-animated) */
.facts-band .stat-num { font-size: clamp(2rem, 3.4vw, 2.8rem); }

/* Help lines / useful contacts */
.help-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.help-line {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.help-line .hl-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--green-50); color: var(--green-700); display: grid; place-items: center;
}
.help-line strong { display: block; color: var(--ink); line-height: 1.3; }
.help-line a.num { display: inline-block; font-weight: 800; color: var(--green-700); font-size: 1.05rem; margin: 4px 0; }
.help-line small { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.bg-green .help-line { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.bg-green .help-line strong { color: var(--white); }
.bg-green .help-line a.num { color: var(--saffron); }
.bg-green .help-line small { color: #a8b6cc; }
.bg-green .help-line .hl-icon { background: rgba(255, 255, 255, 0.08); color: var(--saffron); }

/* Resource link cards */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.resource-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: border-color 0.25s, transform 0.3s var(--ease);
}
.resource-card:hover { border-color: var(--green-500); transform: translateY(-3px); }
.resource-card .rc-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.resource-card .rc-top span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }
.resource-card .rc-top i { color: var(--muted); font-size: 0.85rem; }
.resource-card strong { color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.resource-card small { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

/* Testimonials */
.t-initials {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--saffron); color: var(--green-900);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  font-family: var(--font-body);
}
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
}
.story-card.hide, .quote-card.hide { display: none; }
.quote-card .stars { color: var(--saffron); letter-spacing: 2px; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.6; color: var(--ink); flex: 1; }
.quote-card .qc-person { display: flex; gap: 14px; align-items: center; }
.quote-card .qc-person strong { display: block; color: var(--ink); }
.quote-card .qc-person small { color: var(--muted); }
.quote-card .qc-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }

/* Simple numbered process (light background) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: proc; }
.process.three { grid-template-columns: repeat(3, 1fr); }
.process li {
  counter-increment: proc; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; position: relative;
}
.process li::before {
  content: counter(proc, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--saffron);
  display: block; margin-bottom: 10px; line-height: 1;
}
.process h4 { margin-bottom: 8px; }
.process p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Legal / long-form pages */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.legal-toc h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 0.92rem; list-style: decimal; }
.legal-toc a:hover { color: var(--terracotta); }
.prose.legal .lead::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { padding-left: 22px; display: grid; gap: 8px; list-style: decimal; }
.updated { font-size: 0.88rem; color: var(--muted); }

/* Info table (e.g. funding options) */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 0.95rem; }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { background: var(--green-800); color: var(--white); font-weight: 700; }
.info-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

@media (max-width: 1180px) {
  .cta-tiles { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 720px) {
  .cta-tiles, .process, .process.three, .quote-grid { grid-template-columns: 1fr; }
  .cta-tiles-wrap { margin-top: -40px; }
  .acknowledgement { flex-direction: column; align-items: flex-start; }
  .choice-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .cta-tile, .resource-card { transition: none; }
}

/* Hidden attribute must win over component display rules */
[hidden] { display: none !important; }

/* Auto-number visible form sections */
.js-form { counter-reset: fsec; }
.form-section:not([hidden]) { counter-increment: fsec; }
.form-section h3 .num::before { content: counter(fsec); }

/* Blog toolbar: keep the category chips scrollable inside the phone width */
@media (max-width: 1024px) {
  .blog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); }
  .blog-toolbar .filter-bar { min-width: 0; }
}
@media (max-width: 720px) {
  .blog-toolbar .filter-bar { margin: 0 -20px 4px; }
}

/* ==========================================================================
   Extended features — language switcher, live chat, booking, client portal
   ========================================================================== */

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  padding: 5px 12px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.16); }
.topbar .lang-btn i { margin: 0; }
.lang-btn .caret { font-size: 0.65rem; opacity: 0.8; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 300;
  width: 290px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 12px;
}
.lang-head { margin: 4px 8px 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lang-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-height: 320px; overflow-y: auto; }
.lang-menu li button {
  width: 100%; text-align: left; background: none; border: 0; border-radius: 10px;
  padding: 8px 10px; cursor: pointer; display: flex; flex-direction: column; line-height: 1.25;
}
.lang-menu li button span { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.lang-menu li button small { font-size: 0.72rem; color: var(--muted); }
.lang-menu li button:hover, .lang-menu li button:focus-visible { background: var(--green-50); }
.lang-menu li button[aria-current="true"] { background: var(--green-800); }
.lang-menu li button[aria-current="true"] span, .lang-menu li button[aria-current="true"] small { color: var(--white); }
.lang-note { margin: 10px 6px 2px; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.lang-note a { text-decoration: underline; color: var(--green-700); }
.topbar .lang-note i, .topbar .lang-menu i { color: var(--muted); margin-right: 4px; }

/* Language switcher inside the mobile drawer */
.drawer-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.drawer-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-800); padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 0.92rem; }
.drawer-row .lang-btn { background: var(--green-50); color: var(--green-800); border-color: var(--line); padding: 10px 14px; font-size: 0.92rem; }
.drawer-row .lang-menu { right: 0; bottom: calc(100% + 8px); top: auto; width: min(290px, 80vw); }

/* Hide Google Translate's injected toolbar & tooltips */
.is-translated body { top: 0 !important; }
body > .skiptranslate, .goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* ---------- Languages page ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lang-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lang-card .lc-name { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-weight: 800; color: var(--terracotta); font-size: 1rem; margin-bottom: 12px; }
.lang-card .lc-name small { font-weight: 600; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.lang-card h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.lang-card p { margin: 0; color: var(--body); font-size: 0.97rem; }
.lang-card[dir="rtl"] { text-align: right; }

/* ---------- Live chat ---------- */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 150; font-family: var(--font-body); }
.chat-launch {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-800); color: var(--white); border: 0; cursor: pointer;
  padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 14px 34px -10px rgba(10, 31, 66, 0.6);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.chat-launch i { color: var(--saffron); font-size: 1.15rem; }
.chat-launch:hover { transform: translateY(-2px); background: var(--green-700); }
.chat-widget.open .chat-launch { display: none; }
.has-chat .back-to-top { bottom: 96px; }
.chat-panel {
  position: absolute; right: 0; bottom: 0; width: 380px; max-width: calc(100vw - 32px);
  height: min(600px, calc(100vh - 120px)); background: var(--white);
  border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head { display: flex; gap: 12px; align-items: center; background: var(--green-800); color: var(--white); padding: 14px 16px; }
.chat-head img { border-radius: 12px; }
.chat-head div { flex: 1; line-height: 1.3; }
.chat-head strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.chat-head small { color: #d5dcea; font-size: 0.8rem; display: inline-flex; align-items: center; gap: 6px; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #a9b2c0; display: inline-block; }
.chat-head .dot.on { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.chat-close { background: rgba(255, 255, 255, 0.1); border: 0; color: var(--white); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, 0.2); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.55; }
.msg.bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--body); }
.msg.bot a { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.msg.user { background: var(--green-800); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { display: flex; gap: 4px; padding: 14px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatDot 1s infinite ease-in-out; }
.msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 14px 0; background: var(--white); }
.chat-chips:empty { display: none; }
.chat-chips button {
  border: 1.5px solid var(--green-500); color: var(--green-700); background: var(--white);
  border-radius: 999px; padding: 6px 12px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.chat-chips button:hover { background: var(--green-50); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; background: var(--white); border-top: 1px solid var(--line); margin-top: 10px; }
.chat-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 0.92rem; background: var(--cream); }
.chat-input input:focus { outline: none; border-color: var(--green-500); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--saffron); color: var(--green-900); cursor: pointer; }
.chat-foot { margin: 0; padding: 0 14px 10px; font-size: 0.72rem; color: var(--muted); background: var(--white); text-align: center; }
.chat-foot a { font-weight: 700; color: var(--terracotta); }
.chat-form { display: grid; gap: 8px; width: 100%; }
.msg.bot:has(.chat-form) { max-width: 100%; width: 100%; }
.chat-form p { margin: 0; }
.chat-form .field { gap: 4px; }
.chat-form .field label { font-size: 0.78rem; }
.chat-form input, .chat-form textarea { padding: 9px 12px !important; font-size: 0.88rem !important; min-height: 0 !important; }
.chat-form .checkbox { font-size: 0.8rem; padding: 8px 10px; }
.chat-form .btn { padding: 11px 16px; font-size: 0.88rem; }
.chat-sent { margin: 0; color: var(--green-700); font-weight: 700; }

/* ---------- Booking ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.booking-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.booking-side .side-card h4 { display: flex; gap: 8px; align-items: center; }
.booking-app { scroll-margin-top: 110px; }
.bk-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 22px; counter-reset: none; }
.bk-progress li {
  display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: var(--muted);
  padding-top: 10px; border-top: 4px solid var(--line);
}
.bk-progress li span { width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-size: 0.75rem; flex-shrink: 0; }
.bk-progress li.done { border-color: var(--green-500); color: var(--green-700); }
.bk-progress li.done span { background: var(--green-500); color: var(--white); }
.bk-progress li.current { border-color: var(--saffron); color: var(--ink); }
.bk-progress li.current span { background: var(--saffron); color: var(--green-900); }
.bk-step h3 { font-size: 1.6rem; margin-bottom: 16px; }
.bk-step h3:focus { outline: none; }
.choice-cards.wide { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.bk-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--line); }
.bk-hint { color: var(--muted); font-size: 0.92rem; }
.bk-when { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calendar { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--white); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--green-800); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--green-50); color: var(--green-800);
  font-weight: 700; cursor: pointer; font-size: 0.9rem; transition: background 0.2s, color 0.2s;
}
.cal-day:hover:not(:disabled) { background: var(--green-100); }
.cal-day:disabled { background: transparent; color: #c4c9d2; cursor: not-allowed; font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); }
.cal-day.selected { background: var(--green-800); color: var(--white); }
.bk-date-label { font-weight: 700; color: var(--ink); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.slot-group { margin-bottom: 14px; }
.slot-group > span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 10px; padding: 9px 6px;
  font-weight: 700; font-size: 0.85rem; color: var(--green-800); cursor: pointer;
}
.slot:hover { border-color: var(--green-500); }
.slot.selected { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.slot-any { width: 100%; margin-top: 4px; }
.bk-error { color: var(--rose); font-weight: 600; margin: 16px 0 0; }
.bk-summary { display: grid; gap: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.bk-summary div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bk-summary div:last-child { border-bottom: 0; }
.bk-summary div:nth-child(odd) { background: var(--cream); }
.bk-summary dt { font-weight: 700; color: var(--muted); font-size: 0.88rem; }
.bk-summary dd { margin: 0; color: var(--ink); font-weight: 600; }
.bk-summary.compact { max-width: 520px; margin: 22px auto 0; text-align: left; }
.bk-edit { font-size: 0.88rem; color: var(--muted); }
.bk-edit button { background: none; border: 0; padding: 0; color: var(--green-700); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; }
.booking-embed { width: 100%; min-height: 760px; border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }

/* ---------- Client portal demo ---------- */
.portal-signin h2 { margin-bottom: 8px; }
.portal-demo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--white); }
.pd-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--sand); border-bottom: 1px solid var(--line); }
.pd-dots { display: flex; gap: 6px; }
.pd-dots i { width: 11px; height: 11px; border-radius: 50%; background: #c2493f; }
.pd-dots i:nth-child(2) { background: #c9a15a; }
.pd-dots i:nth-child(3) { background: #3aa76d; }
.pd-url { flex: 1; background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; color: var(--muted); }
.pd-url i { color: var(--green-500); margin-right: 6px; }
.pd-badge { background: var(--saffron); color: var(--green-900); font-size: 0.72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.pd-app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 520px; }
.pd-nav { background: var(--green-900); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.pd-user { display: flex; gap: 10px; align-items: center; padding: 6px 8px 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pd-user .t-initials { width: 42px; height: 42px; font-size: 0.85rem; }
.pd-user strong { color: var(--white); display: block; font-size: 0.95rem; }
.pd-user small { color: #a8b6cc; font-size: 0.78rem; }
.pd-nav [role="tab"] {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: 0; color: #d5dcea; padding: 11px 12px; border-radius: 10px;
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
}
.pd-nav [role="tab"] i { width: 18px; color: #8d9fbb; }
.pd-nav [role="tab"]:hover { background: rgba(255, 255, 255, 0.06); }
.pd-nav [role="tab"][aria-selected="true"] { background: var(--saffron); color: var(--green-900); }
.pd-nav [role="tab"][aria-selected="true"] i { color: var(--green-900); }
.pd-count { margin-left: auto; background: var(--terracotta); color: var(--white); font-size: 0.7rem; font-weight: 800; border-radius: 999px; padding: 1px 7px; }
.pd-main { padding: 28px 30px; background: var(--cream); }
.pd-main [role="tabpanel"]:focus { outline: none; }
.pd-main h3 { font-size: 1.5rem; margin-bottom: 18px; }
.pd-main h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }
.pd-sub { color: var(--muted); font-size: 0.9rem; margin-top: -10px; }
.pd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pd-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.pd-card small { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pd-card strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.pd-card span { font-size: 0.85rem; color: var(--muted); }
.pd-card.highlight { background: var(--green-800); border-color: var(--green-800); }
.pd-card.highlight strong { color: var(--white); }
.pd-card.highlight small, .pd-card.highlight span { color: #a8b6cc; }
.pd-link { background: none; border: 0; padding: 0; margin-top: auto; text-align: left; font-weight: 700; color: var(--green-700); cursor: pointer; font-size: 0.85rem; }
.pd-card.highlight .pd-link { color: var(--saffron); }
.pd-goals { display: grid; gap: 14px; }
.pd-goals li span { display: block; font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-bottom: 6px; }
.pd-list { display: grid; gap: 10px; margin-bottom: 18px; }
.pd-list li { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.pd-list li > div { flex: 1; min-width: 0; }
.pd-list strong { display: block; color: var(--ink); font-size: 0.95rem; }
.pd-list small { color: var(--muted); font-size: 0.84rem; }
.pd-list li.unread { border-left: 4px solid var(--saffron); }
.pd-list .t-initials { width: 40px; height: 40px; font-size: 0.8rem; }
.pd-date { width: 50px; text-align: center; background: var(--green-50); border-radius: 10px; padding: 6px 0; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--green-700); flex-shrink: 0; }
.pd-date b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--green-800); line-height: 1.1; }
.pd-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.pd-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--green-700); }
.pd-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: #3b4557; white-space: nowrap; }
.pd-tag.ok { background: var(--green-100); color: var(--green-700); }
.pd-when { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.pd-budget { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pd-b-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; margin-bottom: 8px; }
.pd-b-head span { color: var(--body); }
.pd-b-head strong { color: var(--ink); white-space: nowrap; }
.pd-table { font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .bk-when { grid-template-columns: 1fr; }
  .pd-app { grid-template-columns: 1fr; }
  .pd-nav { flex-direction: row; overflow-x: auto; padding: 10px; scrollbar-width: none; }
  .pd-nav::-webkit-scrollbar { display: none; }
  .pd-user { display: none; }
  .pd-nav [role="tab"] { width: auto; white-space: nowrap; flex-shrink: 0; }
  .pd-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lang-grid { grid-template-columns: 1fr; }
  .chat-widget { right: 14px; bottom: 82px; }
  .chat-launch span { display: none; }
  .chat-launch { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .chat-panel { position: fixed; right: 10px; left: 10px; bottom: 80px; width: auto; max-width: none; height: min(560px, calc(100vh - 110px)); }
  .bk-progress { grid-template-columns: repeat(5, 1fr); }
  .bk-progress li { font-size: 0; gap: 0; justify-content: center; }
  .bk-progress li span { font-size: 0.75rem; }
  .bk-actions { flex-wrap: wrap; }
  .bk-actions .btn { flex: 1; }
  .bk-summary div { grid-template-columns: 1fr; gap: 2px; }
  .pd-main { padding: 20px 16px; }
  .pd-list li { flex-wrap: wrap; }
  .pd-b-head { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .msg.typing span { animation: none; }
}

/* Machine-translated text is often longer — keep the header on one line */
.is-translated .nav-links > li > a { font-size: 0.86rem; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
.is-translated .nav-cta .btn-outline { display: none; }
.is-translated .nav-cta .btn { padding: 12px 18px; font-size: 0.88rem; }
.is-translated .brand-sub { display: none; }
@media (max-width: 1360px) { .is-translated .nav-links > li > a { font-size: 0.8rem; padding-left: 6px; padding-right: 6px; } }

/* ==========================================================================
   Logo artwork (images/brand/)
   ========================================================================== */
.brand { gap: 0; }
.brand-logo { display: block; height: 76px; width: auto; transition: height 0.3s var(--ease); }
.brand .logo-white { display: none; }
.site-header.scrolled .brand-logo { height: 62px; }
/* white logo while the header sits transparent over a dark hero photo */
.overlay-header .site-header:not(.scrolled) .brand .logo-color { display: none; }
.overlay-header .site-header:not(.scrolled) .brand .logo-white { display: block; }
/* footer is always dark */
.footer-brand .logo-white { display: block; height: 104px; }
@media (max-width: 720px) {
  .brand-logo, .site-header.scrolled .brand-logo { height: 58px; }
  .footer-brand .logo-white { height: 92px; }
}
.brand-statement { margin: 0 auto; max-width: 460px; text-align: center; }
.brand-statement img { width: 100%; height: auto; display: block; }
@media (max-width: 720px) { .brand-statement { max-width: 320px; } }

/* ==========================================================================
   Mobile menu: stop the closed off-canvas menu widening the page
   ========================================================================== */
/* clip (not hidden) so nothing can be swiped sideways and sticky header still works */
html { overflow-x: clip; }
body { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 1024px) {
  /* a backdrop-filter makes the header the containing block for the fixed menu;
     remove it on tablet/mobile so the menu is positioned against the screen */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 248, 244, 0.97); }
  /* closed menu is fully hidden (also removes its links from keyboard/screen-reader order) */
  .nav-links { visibility: hidden; transition: transform 0.5s var(--ease), visibility 0s linear 0.5s; }
  .nav-open .nav-links { visibility: visible; transition: transform 0.5s var(--ease), visibility 0s; }
}
/* keep floating buttons from covering the open menu */
.nav-open .chat-widget, .nav-open .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* ==========================================================================
   PREMIUM LAYER — refined, minimal, logo-aligned (navy · gold · leaf)
   Overrides earlier rules; keep this block last.
   ========================================================================== */

/* ---- Typography ---- */
body { background: var(--cream); color: var(--body); }
h1, h2, h3, h4, h5 { font-weight: 500; letter-spacing: -0.022em; color: var(--ink); }
h3, h4 { letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.3vw, 2.95rem); line-height: 1.1; }
em.accent, .accent { color: var(--gold-deep); font-weight: 400; }
.hl { color: var(--gold-deep); font-weight: 400; }
.hl::after { display: none; }
::selection { background: var(--saffron-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gold-deep); gap: 12px; margin-bottom: 20px; }
.eyebrow::before, .section-head.center .eyebrow::after { width: 24px; height: 1px; border-radius: 0; transition: width 1s var(--ease) 0.25s; }
.reveal:not(.in) .eyebrow::before, .reveal:not(.in) .eyebrow::after { width: 0; }
.bg-green .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--saffron); }
.section-head { margin-bottom: 60px; }
.section-head p, .lead { color: var(--muted); }

/* ---- Surfaces ---- */
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-green {
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(201, 161, 90, 0.11), transparent 62%),
    radial-gradient(900px 500px at -10% 110%, rgba(71, 103, 154, 0.22), transparent 60%),
    var(--green-900);
}

/* ---- Buttons ---- */
.btn {
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.005em;
  padding: 14px 26px;
  border-width: 1px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { transform: none; box-shadow: none; }
.btn-lg { padding: 17px 32px; font-size: 0.98rem; }
.btn-primary { --bg: var(--saffron); --fg: var(--green-950); }
.btn-primary:hover { --bg: #d3b06f; box-shadow: 0 12px 28px -14px rgba(201, 161, 90, 0.85); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-dark { --bg: var(--navy); --fg: var(--white); }
.btn-dark:hover { --bg: var(--green-950); box-shadow: 0 12px 28px -16px rgba(6, 22, 48, 0.7); }
.btn-outline { --fg: var(--navy); border-color: rgba(11, 42, 85, 0.28); }
.btn-outline:hover { --bg: var(--navy); --fg: var(--white); border-color: var(--navy); }
.btn-light { --bg: var(--white); --fg: var(--navy); }
.btn-light:hover { --bg: var(--saffron-100); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.32); }
.btn-donate i { animation: none; color: inherit; }

.link-arrow {
  color: var(--navy);
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}
.link-arrow:hover { background-size: calc(100% - 22px) 1px; }

/* ---- Top bar & header ---- */
.topbar { background: var(--green-950); color: #9dadc6; font-size: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.topbar i { color: var(--saffron); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--line-soft); box-shadow: 0 10px 30px -24px rgba(6, 22, 48, 0.45); }
.nav-links > li > a { font-weight: 500; color: var(--ink); }
.nav-links > li > a:hover { color: var(--navy); background: var(--green-50); }
.nav-links > li > a.active { color: var(--navy); }
.nav-links > li > a.active::after { width: 4px; height: 4px; margin-left: -2px; bottom: 2px; }
.dropdown { border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-lg); }
.dd-icon { background: var(--green-50) !important; color: var(--navy) !important; }
.scroll-progress { height: 2px; background: var(--saffron); }

/* ---- Hero ---- */
.hero-slider h1, .hs-title { font-weight: 500; }
.hero-slider h1 em, .hs-title em { color: var(--saffron); font-weight: 400; }
.hero-slider .pill-badge, .page-hero .pill-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  font-weight: 500;
}
.hero-slider .pill-badge span { background: var(--saffron); color: var(--green-950); font-weight: 700; letter-spacing: 0.08em; }
.page-hero h1 { font-weight: 500; }
.page-hero p { color: #c9d3e3; }
.breadcrumb { color: #9dadc6; font-size: 0.84rem; }

/* ---- Cards: one quiet, consistent style ---- */
.service-card, .value-card, .cta-tile, .post-card, .help-line, .contact-card, .resource-card, .quote-card, .lang-card {
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease), background 0.4s;
}
.service-card:hover, .value-card:hover, .cta-tile:hover, .post-card:hover, .contact-card:hover, .resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 161, 90, 0.5);
}
.service-card .sv-icon, .value-card .vc-icon, .contact-card .cc-icon, .help-line .hl-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--navy);
  border: 1px solid var(--green-100);
  font-size: 1.15rem;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.service-card:hover .sv-icon, .value-card:hover .vc-icon, .contact-card:hover .cc-icon {
  background: var(--navy);
  color: var(--saffron);
  border-color: var(--navy);
  transform: none;
}
.value-card::after { height: 2px; }
.service-card li i, .check-list i { color: var(--leaf); }
.check-list i { background: var(--leaf-100); width: 24px; height: 24px; font-size: 0.66rem; }
.cta-tile > i { color: var(--gold-deep); font-size: 1.3rem; }
.cta-tile strong { font-weight: 500; }
.cta-tile em { color: var(--navy); font-weight: 600; }
.cta-tile.featured { background: var(--green-900); border-color: var(--green-900); }
.cta-tile.featured:hover { border-color: rgba(201, 161, 90, 0.6); }

/* ---- Mission / vision: one dark, one light ---- */
.mv-card.mission { background: var(--green-900); color: #c9d3e3; }
.mv-card.vision { background: var(--white); color: var(--body); border: 1px solid var(--line); }
.mv-card.vision h3 { color: var(--ink); }
.mv-card.vision .mv-icon { color: var(--gold-deep); }
.mv-card::after { border: 1px solid rgba(201, 161, 90, 0.28); width: 260px; height: 260px; right: -90px; bottom: -120px; }
.mv-card.vision::after { border-color: rgba(11, 42, 85, 0.08); }

/* ---- Image details ---- */
.img-stack .badge-years {
  background: var(--navy);
  color: #c9d3e3;
  width: 132px;
  height: 132px;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(201, 161, 90, 0.55);
  outline-offset: -8px;
}
.badge-years strong { color: var(--saffron); font-weight: 400; }
.badge-years span { font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em; }

/* ---- Stats / facts ---- */
.stats-band { background: var(--green-900); }
.stats-band::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 161, 90, 0.16), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(71, 103, 154, 0.3), transparent 50%);
}
.stat-num { font-weight: 400; }
.stat + .stat::before { background: rgba(255, 255, 255, 0.1); }

/* ---- Steps ---- */
.steps::before {
  border-top: 1px solid rgba(201, 161, 90, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 0.3s;
}
.steps.in::before { transform: none; }
.step-num { background: var(--green-900); border: 1px solid rgba(201, 161, 90, 0.45); font-size: 1.2rem; }
.step-num::after { width: 22px; height: 22px; font-size: 0.7rem; font-weight: 700; top: -2px; right: -2px; }
.step h4 { font-weight: 500; }

/* ---- Testimonials ---- */
.testimonial p { font-weight: 400; font-style: italic; }
.quote-mark { font-size: 2.2rem; opacity: 0.9; }
.slider-btn { border-color: rgba(255, 255, 255, 0.2); }
.testimonial .t-initials { background: transparent; color: var(--saffron); border: 1px solid rgba(201, 161, 90, 0.6); }

/* ---- CTA band: deep navy with a soft gold glow ---- */
.cta-band { background: var(--green-900); color: #c9d3e3; }
.cta-band::before {
  width: 640px;
  height: 640px;
  right: -180px;
  top: -300px;
  background: radial-gradient(circle, rgba(201, 161, 90, 0.24), transparent 64%);
}
.cta-band::after { width: 440px; height: 440px; left: -170px; bottom: -280px; border: 1px solid rgba(201, 161, 90, 0.3); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #a8b6cc; }
.cta-band .btn-dark { --bg: var(--saffron); --fg: var(--green-950); }
.cta-band .btn-dark:hover { --bg: #d3b06f; }
.cta-band .btn-light { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, 0.32); }
.cta-band .btn-light:hover { --bg: var(--white); --fg: var(--navy); border-color: var(--white); }

/* ---- Forms ---- */
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(201, 161, 90, 0.16); }
.form-card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* ---- Callouts, tables, misc ---- */
.callout { background: var(--green-50); border-color: var(--green-100); }
.callout > i { color: var(--navy); }
.info-table th { background: var(--green-900); font-weight: 600; }
.crisis-strip { background: var(--saffron-100); border-top: 1px solid #eadfc8; }
.crisis-strip i { color: var(--gold-deep); }

/* ---- Footer ---- */
.site-footer { background: var(--green-950); border-top: 1px solid rgba(201, 161, 90, 0.22); }
.site-footer h4 { font-weight: 600; color: var(--saffron); letter-spacing: 0.2em; font-size: 0.74rem; }
.footer-links a:hover { padding-left: 0; }

/* ==========================================================================
   Motion — calm, slow, purposeful (all disabled for reduced motion)
   ========================================================================== */
main { animation: pageIn 0.9s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } }

.reveal {
  --d: 0s;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d);
}
.reveal.left { transform: translate3d(-28px, 0, 0); }
.reveal.right { transform: translate3d(28px, 0, 0); }
.reveal.zoom { transform: scale(0.97); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.delay-1 { --d: 0.1s; }
.delay-2 { --d: 0.2s; }
.delay-3 { --d: 0.3s; }
.delay-4 { --d: 0.4s; }

/* image curtain reveal */
.img-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease) var(--md, 0.15s); }
.img-mask img { transform: scale(1.14); transition: transform 2.2s var(--ease) var(--md, 0.15s); }
.reveal.in .img-mask, .img-mask.in { clip-path: inset(0 0 0 0); }
.reveal.in .img-mask img, .img-mask.in img { transform: scale(1); }
.img-mask.done { clip-path: none; }

/* headline word rise */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.sw > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + 0.1s); }
.reveal.in .sw > span, .words-in .sw > span { transform: none; }

/* gentle parallax on hero photography (value set by JS) */
.page-hero::before { translate: 0 var(--py, 0px); }
.hero-slider .hs-bg { translate: 0 var(--py, 0px); }

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  .reveal, .img-mask, .img-mask img, .sw > span, .steps::before {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }
  .page-hero::before, .hero-slider .hs-bg { translate: none; }
}

/* ==========================================================================
   SIGNATURE ELEMENTS — editorial hero, arch motif, film, values marquee
   ========================================================================== */

/* ---- Arch motif (echoes the "C" of the logo) ---- */
.img-stack .img-a { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }

/* ---- Editorial home hero ---- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) 0 clamp(110px, 11vw, 160px);
  background:
    radial-gradient(900px 600px at 92% 8%, rgba(201, 161, 90, 0.13), transparent 60%),
    radial-gradient(700px 500px at -5% 100%, rgba(11, 42, 85, 0.05), transparent 60%),
    var(--cream);
}
.hh-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hh-copy .eyebrow { margin-bottom: 26px; }
.hh-title { font-size: clamp(2.9rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.032em; margin: 0 0 28px; }
.hh-title em { color: var(--gold-deep); font-weight: 400; }
.hh-lead { font-size: 1.16rem; line-height: 1.75; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.home-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hh-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--body);
}
.hh-trust li { display: flex; align-items: center; gap: 10px; }
.hh-trust i { color: var(--leaf); }

.hh-visual { position: relative; justify-self: end; width: min(100%, 500px); }
.hh-arch {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  --md: 0.35s;
}
.hh-arch img { width: 100%; height: 100%; object-fit: cover; }
.hh-arch-line {
  position: absolute;
  inset: -20px 20px 30px -20px;
  border: 1px solid rgba(201, 161, 90, 0.6);
  border-radius: 999px 999px 30px 30px;
  pointer-events: none;
}
.hh-card {
  position: absolute;
  z-index: 2;
  left: -56px;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 16px 22px 16px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hh-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--saffron); display: grid; place-items: center; flex-shrink: 0; }
.hh-card strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.hh-card small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.45; margin-top: 2px; }
.hh-seal {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: -40px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.hh-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hh-seal text { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; fill: var(--navy); }
.hh-seal img { width: 54px; height: 54px; position: relative; }
.hh-swoosh { position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 96px; pointer-events: none; }
.hh-swoosh path { fill: none; stroke: var(--saffron); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0.75; }

/* hero entrance */
.hh-rise { opacity: 0; transform: translateY(22px); animation: hhRise 1.2s var(--ease) forwards; animation-delay: calc(var(--h, 0) * 0.12s + 0.15s); }
@keyframes hhRise { to { opacity: 1; transform: none; } }
.hh-arch-line { opacity: 0; transform: translate(14px, 14px); animation: hhLine 1.8s var(--ease) 0.9s forwards; }
@keyframes hhLine { to { opacity: 1; transform: none; } }
.hh-card { opacity: 0; animation: hhCard 1.3s var(--ease) 1.15s forwards, hhFloat 7s ease-in-out 2.6s infinite; }
@keyframes hhCard { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hhFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hh-seal { opacity: 0; animation: hhSeal 1.3s var(--ease) 1.35s forwards; }
@keyframes hhSeal { from { opacity: 0; transform: scale(0.82) rotate(-20deg); } to { opacity: 1; transform: none; } }
.hh-seal svg { animation: hhSpin 32s linear infinite; }
@keyframes hhSpin { to { transform: rotate(360deg); } }
.hh-swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hhDraw 3s var(--ease) 0.7s forwards; }
@keyframes hhDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
  .hh-grid { grid-template-columns: 1fr; }
  .hh-visual { justify-self: center; width: min(100% - 40px, 440px); margin-top: 18px; }
  .hh-card { left: -20px; bottom: 28px; }
  .hh-seal { right: -18px; }
}
@media (max-width: 560px) {
  .hh-title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hh-lead { font-size: 1.05rem; }
  .home-hero .hero-actions .btn { flex: 1 1 100%; }
  .hh-trust { flex-direction: column; gap: 12px; }
  .hh-visual { width: calc(100% - 36px); }
  .hh-seal { width: 100px; height: 100px; top: 14px; right: -12px; }
  .hh-seal text { font-size: 14px; }
  .hh-seal img { width: 42px; height: 42px; }
  .hh-card { left: -14px; right: 26px; bottom: 20px; max-width: none; padding: 12px 16px 12px 12px; }
  .hh-arch-line { inset: -12px 12px 20px -12px; }
}

/* ---- Film section ---- */
.film-section { padding: clamp(24px, 4vw, 60px) 0 clamp(64px, 8vw, 110px); }
.film {
  --fx: max(20px, calc((100vw - var(--container)) / 2));
  --fy: 0px;
  --fr: 20px;
  position: relative;
  height: min(86vh, 760px);
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
  clip-path: inset(var(--fy) var(--fx) var(--fy) var(--fx) round var(--fr));
}
.film-media { position: absolute; inset: -8% 0; z-index: 0; }
.film-video { width: 100%; height: 100%; object-fit: cover; display: block; translate: 0 var(--vy, 0px); }
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 48, 0.88) 0%, rgba(6, 22, 48, 0.6) 42%, rgba(6, 22, 48, 0.12) 100%),
    linear-gradient(0deg, rgba(6, 22, 48, 0.82) 0%, rgba(6, 22, 48, 0) 46%);
}
.film-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(calc(var(--container) - 128px), 100% - 80px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(56px, 8vw, 104px) 0 clamp(34px, 4vw, 52px);
}
.film-copy { max-width: 560px; }
.film-copy .eyebrow { color: var(--saffron); }
.film-copy h2 { color: var(--white); font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.05; }
.film-copy h2 em { color: var(--saffron); font-weight: 400; }
.film-copy p { color: #c9d3e3; font-size: 1.1rem; max-width: 480px; }
.film-play { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; padding: 0; border: 0; background: none; color: var(--white); font-weight: 600; cursor: pointer; }
.fp-ring { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--saffron); color: var(--green-950); display: grid; place-items: center; transition: transform 0.5s var(--ease); }
.fp-ring i { margin-left: 3px; }
.fp-ring::before, .fp-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201, 161, 90, 0.7); animation: fpPulse 2.8s var(--ease) infinite; }
.fp-ring::after { animation-delay: 1.4s; }
@keyframes fpPulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.film-play:hover .fp-ring { transform: scale(1.06); }
.film-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.film-facts dt { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 400; line-height: 1; color: var(--white); letter-spacing: -0.02em; }
.film-facts dd { margin: 10px 0 0; color: #a8b6cc; font-size: 0.9rem; }
.film-toggle {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: calc(var(--fx) + 26px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 22, 48, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s;
}
.film-toggle:hover { background: rgba(6, 22, 48, 0.6); }
@media (max-width: 720px) {
  .film { height: auto; min-height: 640px; }
  .film-overlay { width: calc(100% - 64px); gap: 40px; }
  .film-facts { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .film::after { background: linear-gradient(0deg, rgba(6, 22, 48, 0.92) 0%, rgba(6, 22, 48, 0.55) 60%, rgba(6, 22, 48, 0.35) 100%); }
}

/* film lightbox */
.film-modal { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.film-modal::backdrop { background: rgba(6, 22, 48, 0.82); backdrop-filter: blur(6px); }
.film-modal .fm-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: 16px; overflow: hidden; }
.film-modal iframe, .film-modal video { width: 100%; height: 100%; border: 0; display: block; }
.film-modal .fm-close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: var(--white); cursor: pointer; }

/* ---- Values marquee ---- */
.word-marquee {
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 54px) 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.wm-track { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px); width: max-content; animation: wmScroll 52s linear infinite; }
.word-marquee:hover .wm-track { animation-play-state: paused; }
.wm-track span {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 42, 85, 0.4);
  transition: color 0.6s var(--ease);
}
.wm-track span:hover { color: var(--navy); }
.wm-track span em { font-style: italic; color: var(--gold-deep); -webkit-text-stroke: 0; }
.wm-track i { width: 9px; height: 9px; background: var(--saffron); transform: rotate(45deg); flex-shrink: 0; }
@keyframes wmScroll { to { transform: translateX(-50%); } }

/* ---- Pointer details (desktop only) ---- */
.spot { background-image: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(201, 161, 90, 0.13), transparent 45%); }
.cta-tile.featured.spot { background-image: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(201, 161, 90, 0.22), transparent 45%); }
.magnetic { transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), translate 0.6s var(--ease); }

/* inner-image drift (photos sit slightly zoomed so they can move inside their frame) */
.reveal.in .img-mask img, .img-mask.in img { transform: scale(1.08); }
.img-mask img { translate: 0 var(--ip, 0px); }

@media (prefers-reduced-motion: reduce) {
  .hh-rise, .hh-arch-line, .hh-card, .hh-seal { opacity: 1; transform: none; animation: none; }
  .hh-seal svg { animation: none; }
  .hh-swoosh path { animation: none; stroke-dashoffset: 0; }
  .fp-ring::before, .fp-ring::after { animation: none; opacity: 0; }
  .wm-track { animation: none; }
  .film { clip-path: none; }
  .img-mask img { translate: none; }
}

/* ==========================================================================
   HANDMADE LAYER — Clarry Care's own visual language
   Paper, ink and a few handwritten notes: warm, personal and unmistakably
   ours, instead of a generic template look.
   Type: Fraunces (soft, wonky cuts) · Figtree (clear, friendly body text)
   · Caveat (handwritten notes, used sparingly)
   ========================================================================== */
:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --paper: #f7f2e9;
  --paper-2: #fffdf8;
  --kraft: #efe6d6;
  --note: #fbf0c6;
  --rule: #e2d6c1;
  --ink-soft: #2c3a4f;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .25 0 0 0 0 .14 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19C8 13 12 9 19 5' fill='none' stroke='%238f6a2c' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M19 5c1.2 6.5-3.3 11.5-9.6 10.4C9.6 9.8 13.6 5.8 19 5z' fill='%236e9f3c'/%3E%3C/svg%3E");
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='30' cy='31' rx='22' ry='21' fill='%23f5eedf'/%3E%3Cpath d='M33 6C47 6 56 16 55 30S44 55 29 55 5 45 5 30 16 6 35 8' fill='none' stroke='%23c9a15a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---- Paper & type ---- */
body {
  background-color: var(--paper);
  background-image: var(--grain);
  font-size: 17px;
  color: var(--ink-soft);
}
.bg-white { background-color: var(--paper-2); background-image: var(--grain); }
h1, h2, h3, h4, h5,
.hx-title, .sl-t, .svc-name, .mv2-item p, .note blockquote p {
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
h1, h2 { font-weight: 450; letter-spacing: -0.028em; }
h3, h4 { font-weight: 560; }
em, .accent { font-variation-settings: "SOFT" 100, "WONK" 1; }
.hand { font-family: var(--font-hand); font-weight: 600; letter-spacing: 0; line-height: 1.1; }
::selection { background: var(--note); color: var(--ink); }

/* Handwritten section labels with a leaf from the logo */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-deep);
  gap: 8px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.eyebrow::before {
  width: 22px;
  height: 22px;
  background: var(--leaf) center / contain no-repeat;
  border-radius: 0;
  opacity: 1;
  transform: none;
  flex: 0 0 22px;
}
.section-head.center .eyebrow::after { display: none; }
.bg-green .eyebrow, .cta-band .eyebrow, .film .eyebrow, .kind-words .eyebrow { color: var(--saffron); }

/* ---- Buttons: squarer, with a printed offset ---- */
.btn { border-radius: 10px; font-weight: 700; letter-spacing: 0; }
.btn-dark { box-shadow: 3px 3px 0 var(--saffron); }
.btn-primary { box-shadow: 3px 3px 0 var(--navy); }
.btn-dark:hover, .btn-primary:hover { transform: translate(-2px, -2px); }
.btn-dark:hover { box-shadow: 5px 5px 0 var(--saffron); }
.btn-primary:hover { box-shadow: 5px 5px 0 var(--navy); }
.btn-dark:active, .btn-primary:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--saffron); }
.btn-outline { border-width: 1.5px; }
.link-arrow {
  text-decoration: underline;
  text-decoration-color: var(--saffron);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* ---- Hand-drawn strokes ---- */
.scribble { overflow: visible; pointer-events: none; }
.scribble path {
  fill: none;
  stroke: var(--saffron);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.reveal .scribble path { transition: stroke-dashoffset 1.1s cubic-bezier(.6, 0, .3, 1) 0.55s; }
.reveal .scribble path + path { transition-delay: 1.05s; }
.reveal.in .scribble path { stroke-dashoffset: 0; }
@keyframes scribbleDraw { to { stroke-dashoffset: 0; } }

/* ---- Paper pieces: sticky notes, tape ---- */
.sticky-note {
  position: relative;
  background: var(--note);
  padding: 22px 22px 22px;
  max-width: 300px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  rotate: -2deg;
  box-shadow: 0 1px 1px rgba(60, 40, 10, 0.05), 0 18px 26px -18px rgba(80, 60, 10, 0.55);
}
.sticky-note .hand { display: block; font-size: 1.65rem; color: var(--navy); margin-bottom: 4px; }
.sticky-note::before, .print::before, .note::before, .pd-stat::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 24px;
  translate: -50% 0;
  rotate: -3deg;
  background: rgba(236, 226, 199, 0.78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  clip-path: polygon(0 12%, 5% 0, 50% 6%, 95% 0, 100% 14%, 97% 50%, 100% 88%, 94% 100%, 50% 94%, 6% 100%, 0 86%, 3% 50%);
  z-index: 2;
}

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hx { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(80px, 9vw, 130px); overflow: hidden; overflow: clip; }
.hx-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 84px); align-items: center; }
.hx-hello { font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--gold-deep); margin: 0 0 6px; rotate: -2deg; transform-origin: left; }
.hx-title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.3vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0 0 26px;
  color: var(--ink);
}
.circled { position: relative; display: inline-block; font-style: italic; color: var(--gold-deep); padding: 0 0.06em; }
.circled .scribble { position: absolute; left: -20%; top: -10%; width: 140%; height: 126%; }
.circled .scribble path { stroke-width: 2.6; animation: scribbleDraw 1.1s cubic-bezier(.6, 0, .3, 1) 1s forwards; }
.hx-lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-soft); max-width: 33em; margin: 0; }
.hx-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; margin-top: 34px; }
.hx-callwrap { position: relative; display: inline-flex; }
.hx-call { display: flex; flex-direction: column; line-height: 1.15; color: var(--navy); }
.hx-call small { font-size: 0.86rem; color: var(--muted); }
.hx-call strong { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; letter-spacing: -0.01em; border-bottom: 2px solid var(--saffron); }
.hx-call:hover strong { border-bottom-color: var(--navy); }
.hx-aside {
  position: absolute;
  top: calc(100% + 6px);
  left: 46px;
  width: 190px;
  font-size: 1.32rem;
  color: var(--gold-deep);
  line-height: 1.02;
  rotate: -3deg;
  padding-left: 48px;
}
.hx-aside .scribble { position: absolute; left: 0; top: -14px; width: 44px; height: 34px; }
.hx-aside .scribble path { stroke-width: 1.8; animation: scribbleDraw 0.9s ease 1.9s forwards; }
.hx-aside .scribble path + path { animation-delay: 2.6s; }
.hx-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 86px 0 0; padding: 20px 0 0; border-top: 1px dashed var(--rule); list-style: none; }
.hx-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.93rem; color: var(--ink-soft); font-weight: 600; }
.hx-trust li::before { content: ""; width: 18px; height: 18px; background: var(--leaf) center / contain no-repeat; }

.hx-visual { position: relative; min-height: clamp(460px, 44vw, 600px); }
.print { position: absolute; margin: 0; background: #fff; padding: 12px 12px 14px; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.06), 0 34px 50px -30px rgba(40, 30, 10, 0.55); }
.print img { display: block; width: 100%; object-fit: cover; }
.print-a { right: 3%; top: 2%; width: 74%; padding-bottom: 52px; rotate: 2.2deg; animation: printIn 1.3s var(--ease) 0.25s both; }
.print-a img { aspect-ratio: 4 / 4.5; }
.print-a figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 1.5rem; color: var(--ink-soft); }
.print-b { left: 0; bottom: 4%; width: 40%; z-index: 2; rotate: -5deg; animation: printIn 1.3s var(--ease) 0.55s both; }
.print-b img { aspect-ratio: 1 / 1.08; }
.print-b::before { width: 70px; rotate: 4deg; }
@keyframes printIn { from { opacity: 0; transform: translateY(34px) rotate(5deg); } to { opacity: 1; transform: none; } }
.hx-note { position: absolute; left: 2%; top: 8%; z-index: 3; max-width: 210px; rotate: -5deg; animation: noteIn 1s var(--ease) 1.1s both; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-16px) scale(1.06); } to { opacity: 1; transform: none; } }
.hx .hh-seal { top: auto; bottom: 0; right: 0; z-index: 3; width: 120px; height: 120px; }

/* ==========================================================================
   HOME — where to start
   ========================================================================== */
.start-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.start-head { position: sticky; top: calc(var(--nav-h, 88px) + 30px); }
.start-head h2 { margin-bottom: 8px; }
.start-note { font-size: 1.55rem; color: var(--gold-deep); rotate: -2deg; margin: 6px 0 0; }
.start-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.start-list a {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 42px;
  grid-template-areas: "n t go" ". d go";
  gap: 6px 14px;
  padding: 28px 6px 28px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  transition: padding 0.45s var(--ease), background-color 0.45s;
}
.start-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.sl-n { grid-area: n; font-family: var(--font-display); font-style: italic; color: var(--gold-deep); font-size: 1.05rem; padding-top: 0.45em; }
.sl-t { grid-area: t; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.15; letter-spacing: -0.018em; color: var(--ink); }
.sl-t em { font-style: italic; color: var(--gold-deep); }
.sl-d { grid-area: d; color: var(--muted); max-width: 46ch; font-size: 0.97rem; }
.start-list i { grid-area: go; align-self: center; justify-self: end; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--navy); transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease); }
.start-list a:hover, .start-list a:focus-visible { padding-left: 16px; background-color: rgba(201, 161, 90, 0.07); }
.start-list a:hover::after, .start-list a:focus-visible::after { transform: scaleX(1); }
.start-list a:hover i, .start-list a:focus-visible i { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-35deg); }

/* ==========================================================================
   HOME — introduction, mission & vision
   ========================================================================== */
.intro .img-stack { padding-bottom: 76px; }
.intro .img-stack .img-b { box-shadow: 0 0 0 10px #fff, 0 30px 50px -30px rgba(40, 30, 10, 0.5); rotate: -3deg; }
.stack-caption { position: absolute; left: 4%; bottom: 0; margin: 0; font-size: 1.45rem; color: var(--gold-deep); rotate: -3deg; }
.underlined { position: relative; display: inline-block; white-space: nowrap; font-style: italic; color: var(--gold-deep); }
.underlined .scribble { position: absolute; left: -3%; bottom: -0.22em; width: 106%; height: 0.42em; }
.intro-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }
.signoff { font-size: 1.7rem; color: var(--navy); rotate: -2deg; }

.mv2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.mv2-item { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.mv2-item h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.mv2-item h3 span:first-child { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.mv2-item h3 .hand { font-size: 1.45rem; color: var(--gold-deep); }
.mv2-item p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.45; color: var(--ink); margin: 0; font-weight: 400; letter-spacing: -0.01em; }

/* ==========================================================================
   HOME — services index
   ========================================================================== */
.svc-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.svc-head h2 { margin: 0; }
.svc-head .lead { margin: 0; color: var(--muted); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc-row a {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.25fr) 46px;
  grid-template-areas: "n name desc go" "n name tags go";
  column-gap: 28px;
  row-gap: 4px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
}
.svc-n { grid-area: n; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); }
.svc-name { grid-area: name; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); transition: transform 0.6s var(--ease), color 0.4s; }
.svc-desc { grid-area: desc; color: var(--ink-soft); align-self: end; }
.svc-tags { grid-area: tags; color: var(--muted); font-size: 0.86rem; align-self: start; }
.svc-go { grid-area: go; justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--navy); transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease); }
.svc-row a:hover .svc-name, .svc-row a:focus-visible .svc-name { transform: translateX(12px); color: var(--gold-deep); font-style: italic; }
.svc-row a:hover .svc-go, .svc-row a:focus-visible .svc-go { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-35deg); }
.svc-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-top: 52px; }
.svc-unsure { max-width: 540px; rotate: -1.2deg; margin: 0; }
.svc-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 250px;
  pointer-events: none;
  background: #fff;
  padding: 9px 9px 30px;
  box-shadow: 0 30px 50px -24px rgba(20, 15, 5, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease, scale 0.45s var(--ease);
  scale: 0.85;
}
.svc-peek img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.svc-peek.on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .svc-peek { display: none; } }

/* ==========================================================================
   HOME — journey (how it works)
   ========================================================================== */
.journey-sec { background-color: var(--kraft); background-image: var(--grain); }
.journey-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.journey-head .eyebrow { justify-content: center; }
.journey-head .hand { font-size: 1.55rem; color: var(--gold-deep); margin: 4px 0 0; rotate: -1deg; }
.journey { position: relative; }
.journey-line { position: absolute; left: 0; top: -6px; width: 100%; height: 120px; overflow: visible; }
.journey-line path { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.5; }
.journey.reveal .journey-line { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s cubic-bezier(.6, 0, .3, 1) 0.3s; }
.journey.reveal.in .journey-line { clip-path: inset(0 0 0 0); }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; position: relative; }
.journey li:nth-child(even) { margin-top: 58px; }
.jn {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid var(--navy);
  box-shadow: 4px 4px 0 var(--saffron);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.journey h3 { font-size: 1.3rem; margin-bottom: 8px; }
.journey p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.journey.reveal li { opacity: 0; translate: 0 18px; transition: opacity 0.8s var(--ease), translate 0.9s var(--ease); }
.journey.reveal.in li { opacity: 1; translate: none; }
.journey.reveal.in li:nth-child(2) { transition-delay: 0.45s; }
.journey.reveal.in li:nth-child(3) { transition-delay: 0.9s; }
.journey.reveal.in li:nth-child(4) { transition-delay: 1.35s; }

/* ==========================================================================
   HOME — promises letter & funding
   ========================================================================== */
.promise-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.letter {
  position: relative;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(to bottom, transparent 0 37px, rgba(71, 103, 154, 0.1) 37px 38px);
  padding: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 52px) 40px clamp(56px, 6vw, 84px);
  rotate: -0.6deg;
  box-shadow: 0 1px 2px rgba(60, 40, 10, 0.06), 0 40px 60px -40px rgba(60, 40, 10, 0.5);
}
.letter::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(36px, 4vw, 56px); width: 1.5px; background: rgba(201, 161, 90, 0.55); }
.promises { list-style: none; counter-reset: promise; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.promises li { counter-increment: promise; position: relative; padding-left: 40px; font-size: 1.04rem; color: var(--ink-soft); }
.promises li::before { content: counter(promise) "."; position: absolute; left: 0; top: -0.2em; font-family: var(--font-hand); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--gold-deep); }
.promises strong { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.letter-sign { font-size: 1.9rem; color: var(--navy); text-align: right; margin: 28px 0 0; rotate: -2deg; }
.funding { padding-top: 26px; }
.funding h3 { font-size: 1.3rem; margin-bottom: 4px; }
.stamps { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 18px 0 20px; }
.stamps li { padding: 8px 14px; border: 1.5px dashed rgba(11, 42, 85, 0.45); border-radius: 4px; background: var(--paper-2); color: var(--navy); font-weight: 700; font-size: 0.88rem; rotate: -1deg; }
.stamps li:nth-child(even) { rotate: 1.2deg; }
.stamps li:nth-child(3n) { rotate: -0.4deg; }
.funding .hand { font-size: 1.45rem; color: var(--gold-deep); rotate: -2deg; }

/* ==========================================================================
   HOME — kind words (notes on a navy board)
   ========================================================================== */
.kind-words { background-color: var(--navy); background-image: var(--grain); color: #c9d3e3; }
.kind-words h2 { color: #fff; }
.kw-head { text-align: center; max-width: 720px; margin: 0 auto; }
.kw-head .eyebrow { justify-content: center; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: 56px; align-items: start; }
.note {
  position: relative;
  margin: 0;
  background: var(--paper-2);
  padding: 46px 30px 28px;
  rotate: var(--r, -1deg);
  box-shadow: 0 34px 44px -28px rgba(0, 0, 0, 0.65);
  transition: rotate 0.6s var(--ease), translate 0.6s var(--ease);
}
.note:nth-child(2) { margin-top: 42px; background: var(--note); }
.note:hover { rotate: 0deg; translate: 0 -6px; }
.note::after { content: "\201C"; position: absolute; top: 4px; left: 24px; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--saffron); }
.note blockquote { margin: 0; }
.note blockquote p { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin: 0; }
.note figcaption { margin-top: 20px; display: flex; flex-direction: column; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.note figcaption .hand { font-size: 1.8rem; text-transform: none; letter-spacing: 0; color: var(--navy); }
.kw-more { text-align: center; margin: 48px 0 0; }
.kind-words .link-arrow { color: #fff; }

/* ==========================================================================
   HOME — postcard call to action
   ========================================================================== */
.postcard {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background-color: var(--paper-2);
  background-image: var(--grain);
  border: 1px solid var(--rule);
  padding: 60px 0 50px;
  rotate: -0.5deg;
  box-shadow: 0 2px 3px rgba(60, 40, 10, 0.05), 0 50px 70px -46px rgba(60, 40, 10, 0.55);
}
.postcard::before, .postcard::after, .cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--navy) 0 12px, transparent 12px 20px, var(--saffron) 20px 32px, transparent 32px 40px);
}
.postcard::after { top: auto; bottom: 0; }
.pc-msg { padding: 0 clamp(28px, 4vw, 56px) 0 clamp(28px, 5vw, 64px); border-right: 1px solid var(--rule); }
.pc-greet { font-size: 2rem; color: var(--gold-deep); margin: 0 0 4px; }
.pc-msg h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.pc-msg > p { color: var(--ink-soft); max-width: 34em; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; }
.pc-sign { font-size: 1.75rem; color: var(--navy); margin: 22px 0 0; rotate: -2deg; }
.pc-addr { position: relative; padding: 0 clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: flex-end; }
.pc-stamp {
  position: absolute;
  top: -22px;
  right: clamp(24px, 4vw, 48px);
  width: 96px;
  height: 114px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 7px dotted var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--rule);
  filter: drop-shadow(0 6px 8px rgba(40, 30, 10, 0.16));
  rotate: 5deg;
}
.pc-stamp img { width: 56px; height: 56px; }
.pc-postmark { position: absolute; top: 4px; right: calc(clamp(24px, 4vw, 48px) + 64px); width: 116px; height: 116px; rotate: -14deg; }
.pc-postmark circle, .pc-postmark path { fill: none; stroke: rgba(11, 42, 85, 0.32); stroke-width: 1.6; }
.pc-lines { list-style: none; margin: 130px 0 0; padding: 0; }
.pc-lines li { display: grid; grid-template-columns: 74px 1fr; align-items: baseline; gap: 10px; padding: 10px 0 8px; border-bottom: 1px solid var(--rule); }
.pc-lines span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pc-lines a, .pc-lines em { font-family: var(--font-hand); font-weight: 600; font-style: normal; font-size: 1.6rem; line-height: 1.15; color: var(--navy); overflow-wrap: anywhere; }
.pc-lines a:hover { color: var(--gold-deep); }

/* ==========================================================================
   SITE-WIDE — inner page hero: paper, text and an arched photograph
   ========================================================================== */
.page-hero {
  color: var(--ink);
  background: transparent;
  padding: clamp(48px, 6vw, 84px) 0;
  min-height: clamp(400px, 38vw, 540px);
  display: flex;
  align-items: center;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero::before {
  inset: auto;
  top: clamp(32px, 4vw, 56px);
  bottom: clamp(32px, 4vw, 56px);
  right: max(20px, calc((100% - var(--container)) / 2));
  width: min(38%, 480px);
  border-radius: 999px 999px 12px 12px;
  background: var(--hero-img) center / cover no-repeat;
  transform: none;
  translate: none;
  animation: phIn 1.3s var(--ease) both;
  z-index: 0;
  box-shadow: 0 34px 50px -34px rgba(40, 30, 10, 0.55);
}
.page-hero::after {
  inset: auto;
  top: clamp(32px, 4vw, 56px);
  bottom: clamp(32px, 4vw, 56px);
  right: max(20px, calc((100% - var(--container)) / 2));
  width: min(38%, 480px);
  border-radius: 999px 999px 12px 12px;
  background: none;
  border: 1.5px solid var(--saffron);
  translate: -18px 18px;
  z-index: -1;
  animation: phIn 1.6s var(--ease) 0.25s both;
}
@keyframes phIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.page-hero:not([style*="--hero-img"])::before, .page-hero:not([style*="--hero-img"])::after { display: none; }
.page-hero[style*="--hero-img"] .container > * { max-width: min(56%, 700px); }
.page-hero h1 { color: var(--ink); font-weight: 450; }
.page-hero p { color: var(--ink-soft); }
.page-hero .eyebrow { color: var(--gold-deep); }
.page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .breadcrumb span { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--navy); }
.page-hero .btn-ghost-light { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.page-hero .btn-ghost-light:hover { --bg: var(--navy); --fg: #fff; }
.page-hero .art-meta, .page-hero .art-meta * { color: var(--muted); }

/* ---- Cards become paper ---- */
.service-card, .value-card, .resource-card, .involve-card, .side-card, .give-option, .lang-card,
.form-card, .contact-card, .quote-card, .post-card, .cta-tile, .faq-item, .callout {
  border-radius: var(--radius);
  border-color: var(--rule);
}
.service-card, .value-card, .resource-card, .involve-card, .side-card, .give-option, .lang-card,
.form-card, .contact-card, .quote-card, .post-card, .cta-tile {
  background-color: var(--paper-2);
  box-shadow: 0 1px 1px rgba(60, 40, 10, 0.04), 0 14px 30px -24px rgba(60, 40, 10, 0.35);
}
.service-card:hover, .value-card:hover, .resource-card:hover, .post-card:hover, .involve-card:hover, .lang-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 1px rgba(60, 40, 10, 0.04), 0 24px 40px -26px rgba(60, 40, 10, 0.45);
  border-color: #d5c4a4;
}

/* Icons sit inside a hand-drawn ring instead of a tile */
.sv-icon, .vc-icon, .ivc-icon, .hl-icon, .fs-icon, .go-icon, .mv-icon {
  background: var(--ring) center / 100% 100% no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--navy) !important;
}
.value-card:hover .vc-icon, .service-card:hover .sv-icon { color: var(--gold-deep) !important; transform: rotate(-8deg); }
.value-card::after { background: var(--saffron); height: 2px; }

/* List ticks become small leaves */
li > i.fa-circle-check, li > i.fa-check, .check-list li > i {
  font-size: 0 !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  background: var(--leaf) center / contain no-repeat !important;
  border-radius: 0 !important;
  margin-top: 5px;
  color: transparent !important;
}
.check-list li > i { margin-top: 6px; }

/* Feature chips become a simple ruled list */
.pd-features { gap: 0 28px; }
.pd-features li { background: none; border: 0; border-bottom: 1px dashed var(--rule); border-radius: 0; padding: 12px 0; align-items: flex-start; }

/* Floating stats become sticky notes */
.pd-img .pd-stat {
  background: var(--note);
  border-radius: 2px;
  rotate: -3deg;
  padding: 22px 24px 18px;
  box-shadow: 0 1px 1px rgba(60, 40, 10, 0.05), 0 20px 28px -20px rgba(80, 60, 10, 0.6);
}
.split.reverse .pd-img .pd-stat { rotate: 3deg; }
.pd-stat i { display: none !important; }
.pd-stat strong { color: var(--navy); font-weight: 500; }
.pd-stat small { display: block; font-family: var(--font-hand); font-size: 1.3rem; font-weight: 600; color: var(--ink-soft); line-height: 1.1; margin-top: 4px; }
.pd-number { font-family: var(--font-hand); font-size: 1.5rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--gold-deep); }

/* Photos: a soft paper edge rather than glossy app corners */
.pd-img .main, .img-stack .img-a { border-radius: var(--radius-lg); }

/* Steps on inner pages */
.step-num { background: var(--paper-2) !important; color: var(--navy) !important; border: 1.5px solid var(--navy) !important; box-shadow: 4px 4px 0 var(--saffron) !important; }

/* ---- Site-wide call-to-action band becomes an airmail card ---- */
.cta-band {
  background-color: var(--paper-2);
  background-image: var(--grain);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink-soft);
  box-shadow: 0 2px 3px rgba(60, 40, 10, 0.05), 0 50px 70px -46px rgba(60, 40, 10, 0.5);
  overflow: hidden;
}
.cta-band::before { inset: 0 0 auto 0; width: auto; height: 8px; border-radius: 0; opacity: 1; filter: none; transform: none; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 220px;
  height: 220px;
  border: 0;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230b2a55' stroke-opacity='.18' stroke-width='1.6'%3E%3Ccircle cx='60' cy='60' r='44'/%3E%3Ccircle cx='60' cy='60' r='36'/%3E%3Cpath d='M4 52c20-8 36 8 56 0s36-8 56 0M4 68c20-8 36 8 56 0s36-8 56 0'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  rotate: -14deg;
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-soft); }
.cta-band .btn-light, .cta-band .btn-ghost-light { --bg: transparent; --fg: var(--navy); border: 1.5px solid var(--navy); }
.cta-band .btn-light:hover, .cta-band .btn-ghost-light:hover { --bg: var(--navy); --fg: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .svc-row a { grid-template-columns: 52px minmax(0, 1fr) 46px; grid-template-areas: "n name go" ". desc go" ". tags go"; }
  .svc-desc { margin-top: 8px; }
}
@media (max-width: 960px) {
  .hx-grid { grid-template-columns: 1fr; }
  .hx-visual { min-height: 0; height: clamp(400px, 100vw, 560px); max-width: 560px; width: 100%; justify-self: center; margin-top: 8px; }
  .start-grid, .promise-grid, .mv2-grid { grid-template-columns: 1fr; }
  .start-head { position: static; }
  .svc-head { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .note:nth-child(2) { margin-top: 0; }
  .postcard { grid-template-columns: 1fr; padding-bottom: 30px; }
  .pc-msg { border-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 34px; }
  .pc-addr { padding-top: 10px; }
  .pc-lines { margin-top: 110px; }
  .pc-stamp { top: 20px; }
  .pc-postmark { top: 30px; }
  .page-hero { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 24px; }
  .page-hero::before {
    position: relative;
    inset: auto;
    display: block;
    width: auto;
    height: clamp(220px, 56vw, 340px);
    margin: 0 20px 30px;
    border-radius: 200px 200px 12px 12px;
  }
  .page-hero::after { display: none; }
  .page-hero[style*="--hero-img"] .container > * { max-width: none; }
}
@media (max-width: 860px) {
  .journey-line { display: none; }
  .journey ol { grid-template-columns: 1fr; gap: 30px; }
  .journey ol::before { content: ""; position: absolute; left: 38px; top: 20px; bottom: 30px; border-left: 2px dotted rgba(11, 42, 85, 0.35); }
  .journey li { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; margin-top: 0 !important; position: relative; }
  .journey li .jn { grid-row: span 2; margin: 0; }
  .journey li h3 { align-self: end; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hx { padding-top: 26px; }
  .hx-title { font-size: clamp(2.6rem, 12vw, 3.3rem); }
  .hx-actions { gap: 22px; }
  .hx-actions .btn { flex: 1 1 100%; }
  .hx-aside { left: auto; right: -6px; top: 4px; width: 128px; font-size: 1.15rem; padding-left: 0; text-align: right; }
  .hx-aside .scribble { display: none; }
  .hx-callwrap { width: 100%; }
  .hx-trust { margin-top: 34px; flex-direction: column; gap: 10px; }
  .hx-visual { height: 118vw; max-height: 500px; }
  .print-a { width: 80%; padding-bottom: 44px; }
  .print-a figcaption { font-size: 1.25rem; bottom: 10px; }
  .print-b { width: 46%; }
  .hx-note { max-width: 170px; padding: 16px; font-size: 0.82rem; left: 0; top: 2%; }
  .hx-note .hand { font-size: 1.35rem; }
  .hx .hh-seal { width: 92px; height: 92px; }
  .start-list a { grid-template-columns: 38px 1fr 34px; padding: 22px 0; }
  .start-list i { width: 34px; height: 34px; font-size: 0.8rem; }
  .svc-row a { grid-template-columns: 36px minmax(0, 1fr) 38px; column-gap: 12px; padding: 24px 0; }
  .svc-go { width: 38px; height: 38px; }
  .svc-unsure { rotate: -1deg; }
  .letter { rotate: 0deg; padding: 32px 22px 30px 48px; }
  .letter::before { left: 30px; }
  .promises li { padding-left: 34px; }
  .note { rotate: calc(var(--r, -1deg) * 0.6); padding: 44px 22px 24px; }
  .postcard { rotate: 0deg; padding-top: 44px; }
  .pc-msg, .pc-addr { padding-left: 22px; padding-right: 22px; }
  .pc-actions .btn { flex: 1 1 100%; }
  .pc-lines li { grid-template-columns: 1fr; gap: 0; }
  .pc-lines a, .pc-lines em { font-size: 1.45rem; }
  .eyebrow { font-size: 1.35rem; }
}

/* ==========================================================================
   Reduced motion: everything is simply drawn and in place
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .scribble path { stroke-dashoffset: 0 !important; animation: none !important; transition: none !important; }
  .print-a, .print-b, .hx-note, .page-hero::before, .page-hero::after { animation: none !important; }
  .journey.reveal .journey-line { clip-path: none !important; transition: none !important; }
  .journey.reveal li { opacity: 1 !important; translate: none !important; transition: none !important; }
  .svc-peek { display: none; }
  .note, .start-list a, .svc-name { transition: none !important; }
}

/* Handmade layer — spacing refinements */
.hx { padding-bottom: clamp(40px, 5vw, 72px); }
.section.start { padding-top: clamp(48px, 6vw, 88px); }
.print-a figcaption { text-align: right; padding-right: 24px; }
.section.promises-sec { padding-top: clamp(28px, 3vw, 44px); }
/* Handmade layer — overlap fixes */
.hx .hh-seal { top: -18px; bottom: auto; right: -10px; }
.stack-caption { max-width: 46%; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band::after { inset: -34px -34px auto auto; width: 170px; height: 170px; z-index: 0; opacity: 0.8; }
@media (max-width: 560px) {
  .print-a { padding-bottom: 14px; }
  .print-a figcaption { display: none; }
  .cta-band::after { width: 120px; height: 120px; inset: -26px -26px auto auto; }
}
