/* ===========================================================
   Poona Geriatric Care Centre — design system
   Palette drawn from the Sahayog Foundation crest:
   deep green, warm gold, cream paper.
   Type: Marcellus (display) + Inter (text)
   =========================================================== */

/* ---------- tokens ---------- */
:root {
  --green-900: #10312a;
  --green-800: #17453a;
  --green-700: #1d5945;
  --green-600: #2a6b52;
  --green-100: #dfeee5;
  --green-050: #eef5f0;

  --gold-600: #a8842a;
  --gold-500: #c9a227;
  --gold-400: #dfb844;
  --gold-100: #f6ecd0;

  --cream: #fbf7ef;
  --cream-2: #f4ecdf;
  --paper: #ffffff;

  --ink: #1f2620;
  --ink-soft: #454f46;
  --muted: #6b7268;

  --line: #e3dac9;
  --line-strong: #cfc3ad;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 49, 42, .06), 0 2px 8px rgba(16, 49, 42, .05);
  --shadow: 0 6px 24px rgba(16, 49, 42, .09);
  --shadow-lg: 0 18px 50px rgba(16, 49, 42, .16);

  --wrap: 1180px;
  --gutter: 1.4rem;
  --header-h: 76px;

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--green-900);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin-bottom: .45em; }
button { font: inherit; color: inherit; }

blockquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold-500);
  background: var(--green-050);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-800);
}

::selection { background: var(--gold-100); color: var(--green-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 860px; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; position: relative; }
.section-sm { padding: clamp(2.2rem, 4vw, 3.5rem) 0; }
.section-ivory { background: var(--cream); }
.section-sand { background: var(--cream-2); }
.section-dark { background: var(--green-900); color: #e9f1eb; }
/* headings are dark green by default — flip them to light inside dark bands */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark .muted { color: #a8c2b2; }
.section-dark a { color: var(--gold-400); }
.section-dark a:hover { color: #f2d98a; }
.grid { display: grid; gap: 1.25rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--muted); }
.text-white { color: #fff; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.section-dark .lead { color: #c8dbcf; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 .85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }
.section-dark .eyebrow { color: var(--gold-400); }

.section-head { max-width: 68ch; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; }

.script-note {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  color: var(--green-800);
  font-style: normal;
}
.section-dark .script-note { color: var(--gold-400); }
.cta-band .script-note { color: #c8dbcf; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold-500); color: #26200a; }
.btn-gold:hover { background: var(--gold-400); color: #26200a; }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--green-800);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--green-700); background: var(--green-050); color: var(--green-900); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--green-800);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--green-700); background: var(--green-050); color: var(--green-900); }

.section-dark .btn-outline,
.section-dark .btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.section-dark .btn-outline:hover,
.section-dark .btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* .cta-band is dark green too, but is not a .section — it needs the same
   light treatment or the outline button renders dark-on-dark and reads empty */
.cta-band .btn-outline,
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  box-shadow: none;
}
.cta-band .btn-outline:hover,
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
/* same for the dark interior page heroes */
.page-hero .btn-outline,
.page-hero .btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  box-shadow: none;
}
.page-hero .btn-outline:hover,
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.btn-sm { padding: .6rem 1.15rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.link-arrow i { transition: transform .18s ease; font-size: .85em; }
.link-arrow:hover { border-color: currentColor; color: var(--green-900); }
.link-arrow:hover i { transform: translateX(3px); }
.section-dark .link-arrow { color: var(--gold-400); }
.section-dark .link-arrow:hover { color: #f2d98a; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 130;
  background: linear-gradient(90deg, var(--green-700), var(--gold-400));
  pointer-events: none;
  transition: width .1s linear;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(16, 49, 42, .1);
  background: rgba(251, 247, 239, .98);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: .5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  flex: 0 0 auto;
}
.brand-mark {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  /* The organisation's own crest, taken from the supplied Sahayog banner
     (images/sahayog-foundation-banner.png). Nothing is redrawn or traced —
     this is the uploaded file, positioned so the crest fills the square.
     Percentages keep the same crop at both 46px and the 40px phone size. */
  background-image: url("../images/sahayog-foundation-banner.png");
  background-repeat: no-repeat;
  background-size: 580% auto;
  background-position: 50.9% 8%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16, 49, 42, .16);
}
.brand-mark svg { width: 46px; height: 46px; }
.brand-mark img,
.brand-mark svg {
  object-fit: contain;
}
/* the raster crest follows whatever size .brand-mark is given */
.brand-mark img { width: 100%; height: 100%; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--green-900);
  letter-spacing: .01em;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.15;
}

.nav { display: flex; align-items: center; }
.nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li { margin: 0; }
.nav a.nav-link {
  display: block;
  padding: .5rem .7rem;
  font-size: .925rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--pill);
  position: relative;
  transition: color .15s ease, background-color .15s ease;
}
.nav a.nav-link:hover { color: var(--green-900); background: rgba(29, 89, 69, .07); }
.nav a.nav-link[aria-current="page"] { color: var(--green-900); font-weight: 600; }
.nav a.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

.header-actions { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--green-800);
  text-decoration: none;
  white-space: nowrap;
}
.header-call i { color: var(--gold-600); }
.header-call:hover { color: var(--green-900); }

.nav-toggle {
  display: none;
  width: 46px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green-800);
  transition: transform .22s ease, top .22s ease, opacity .18s ease;
}
.nav-toggle span::before { top: 2px; }
.nav-toggle span::after { top: 10px; }
.nav-toggle[aria-expanded="true"] span::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 6px; transform: rotate(-45deg); }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(223, 184, 68, .30);
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: 30px;
  top: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(223, 184, 68, .16), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  padding-block: clamp(2.6rem, 6vw, 4.6rem);
  min-height: clamp(420px, 58vh, 600px);
}
.hero-copy { max-width: 42rem; }
.hero-copy h1 { margin-bottom: 1rem; color: var(--green-900); }
.hero-copy h1 em {
  font-style: normal;
  color: var(--green-700);
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .32em;
  background: var(--gold-100);
  z-index: -1;
  border-radius: 3px;
}
.hero-copy p { max-width: 46ch; color: var(--ink-soft); font-size: 1.08rem; margin-top: .2rem; }
.hero .btn-row { margin-top: 1.7rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-800);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: .38rem .85rem;
}
.hero-trust i { color: var(--gold-600); font-size: .78rem; }

.hero-figure { position: relative; margin: 0; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  background: var(--cream-2);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(201, 162, 39, .45);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: -1rem;
  bottom: 1.4rem;
  background: var(--paper);
  border-radius: var(--radius);
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: var(--shadow-lg);
  max-width: 15rem;
}
.hero-badge .num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--green-700);
}
.hero-badge .lbl { font-size: .72rem; line-height: 1.4; color: var(--muted); }
.hero-badge .lbl strong { display: block; color: var(--green-900); font-size: .8rem; }
.hero-card-note {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: .86rem;
  line-height: 1.3;
  padding: .8rem;
  box-shadow: var(--shadow);
}

/* entrance */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-copy > * { animation: heroUp .7s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .04s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .36s; }
.hero-figure { animation: heroFade .8s var(--ease-out) .15s both; }
.page-hero .container > * { animation: heroUp .7s var(--ease-out) both; }
.page-hero .container > *:nth-child(2) { animation-delay: .08s; }
.page-hero .container > *:nth-child(3) { animation-delay: .14s; }
.page-hero .container > *:nth-child(4) { animation-delay: .2s; }

/* ---------- trust strip ---------- */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.6rem;
  padding-block: 1.1rem;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.strip-item i { color: var(--gold-600); font-size: .85rem; }

/* ---------- splits + media ---------- */
.split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.split-wide { grid-template-columns: 1.05fr .95fr; }
.split-media { position: relative; }
.frame-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-2);
  aspect-ratio: 4 / 4.3;
}
.frame-photo img { width: 100%; height: 100%; object-fit: cover; }
.frame-photo.is-landscape { aspect-ratio: 4 / 3.1; }
.frame-photo-tall { aspect-ratio: 4 / 4.7; }
.media-accent {
  position: absolute;
  inset: 18px -16px -16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 39, .4);
  z-index: -1;
}
.media-plate {
  position: absolute;
  right: -.5rem;
  bottom: -1.2rem;
  background: var(--green-800);
  color: #eaf3ec;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  max-width: 15rem;
  box-shadow: var(--shadow-lg);
}
.media-plate .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold-400);
}
.media-plate p { font-size: .76rem; margin: .35rem 0 0; color: #c8dbcf; line-height: 1.45; }

.pillar-list { display: grid; gap: .85rem; margin-top: 1.7rem; padding: 0; list-style: none; }
.pillar-list > * { margin: 0; }
.pillar {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pillar-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green-050);
  color: var(--green-700);
  font-size: .95rem;
}
.pillar h4 {
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--green-900);
  margin: 0 0 .15rem;
}
.pillar p { font-size: .91rem; color: var(--muted); margin: 0; line-height: 1.55; }
.section-dark .pillar { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.section-dark .pillar:hover { background: rgba(255, 255, 255, .1); }
.section-dark .pillar-icon { background: rgba(223, 184, 68, .16); color: var(--gold-400); }
.section-dark .pillar h4 { color: #fff; }
.section-dark .pillar p { color: #b9cfc0; }

/* ---------- stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--green-900); padding: 1.5rem 1.25rem; text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--gold-400);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .84rem; letter-spacing: .04em; color: #b9cfc0; display: block; margin-top: .3rem; }

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-050);
  color: var(--green-700);
  margin-bottom: .8rem;
  font-size: 1rem;
}
.card h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.card-num {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--line-strong);
  line-height: 1;
}
.card .link-arrow { margin-top: auto; }
.card-foot { margin-top: 1.1rem; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.card-list li {
  position: relative;
  margin: 0;
  padding-left: 1.4rem;
  font-size: .93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
.section-dark .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}
.section-dark .card:hover { background: rgba(255, 255, 255, .1); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #c8dbcf; }
.section-dark .card-icon { background: rgba(223, 184, 68, .16); color: var(--gold-400); }

/* feature card */
.feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.feature-body p { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .8rem; }
.feature-tag {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .45rem;
}

/* ---------- check lists ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 2rem; }
.check-grid.one-col { grid-template-columns: 1fr; }
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .96rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding: .3rem 0;
}
.check i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.25rem; height: 1.25rem;
  margin-top: .1em;
  font-size: .66rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 50%;
  line-height: 1;
}
.section-dark .check { color: #c8dbcf; }
.section-dark .check i { color: var(--green-900); background: var(--gold-400); }

/* ---------- quotes + people ---------- */
.quote-block {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--green-050);
  border: 1px solid #d3e5d9;
  border-radius: var(--radius);
}
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: .2rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: .55;
}
.quote-block blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.4;
  color: var(--green-800);
  position: relative;
}
.quote-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.quote-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  box-shadow: var(--shadow-sm);
}
.quote-author strong { display: block; font-size: .9rem; color: var(--green-900); font-weight: 600; }
.quote-author span { font-size: .82rem; color: var(--muted); }
.section-dark .quote-block { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.section-dark .quote-block blockquote { color: #fff; }
.section-dark .quote-author strong { color: #fff; }

.person { text-align: center; }
.person-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-2);
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-sm);
  margin: 0 auto .8rem;
  max-width: 176px;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin-bottom: .15rem; }
.person p { font-size: .85rem; color: var(--muted); margin: 0; }
.person.is-founder .person-photo { border-color: var(--gold-500); max-width: 190px; }
.person.is-founder h4 { font-size: 1.12rem; }
.section-dark .person-photo { border-color: rgba(255, 255, 255, .3); }
.section-dark .person h4 { color: #fff; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  display: block;
  width: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(16, 49, 42, .85));
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.35;
  z-index: 2;
}
/* mosaic spans collapse to the uniform auto-fill grid */
.gi-span-3, .gi-span-4, .gi-span-5, .gi-span-6, .gi-tall {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 26, 22, .93);
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  margin-inline: auto;
}
.lightbox-cap { color: #dbe9de; font-size: .92rem; margin-top: .9rem; text-align: center; }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background-color .16s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-close { top: 1rem; right: 1rem; transform: none; width: 44px; height: 44px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green-800);
  color: #eaf3ec;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  gap: 1.4rem;
  align-items: center;
  grid-template-columns: 1.4fr auto;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  max-width: var(--wrap);
  width: calc(100% - 2 * var(--gutter));
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #c8dbcf; margin: 0; }
.cta-band .eyebrow { color: var(--gold-400); }
.cta-inner { display: contents; }

/* ---------- page hero (interior) ---------- */
.page-hero {
  background: var(--green-900);
  color: #dceade;
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 3.8rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(223, 184, 68, .28);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 40px;
  top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(223, 184, 68, .14), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: #c3d8c9; max-width: 60ch; margin: 0; }
.page-hero .eyebrow { color: var(--gold-400); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .8rem;
  color: #9fbcac;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #c3d8c9; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: .6; }

.page-hero-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.page-hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--green-800);
  border: 1px solid rgba(255, 255, 255, .18);
}
.page-hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step::before {
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  margin-bottom: .7rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.section-dark .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: #c8dbcf; }
.section-dark .step::before { background: rgba(223, 184, 68, .2); color: var(--gold-400); }

/* ---------- forms ---------- */
.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-900);
}
.field label .req { color: #b4442f; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .75rem .85rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(42, 107, 82, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa197; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  line-height: 1.55;
  border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--green-050); border-color: #c7ded2; color: var(--green-800); }
.form-status.is-error { background: #fdf2f0; border-color: #f0cfc8; color: #8f3625; }

/* ---------- contact ---------- */
.contact-card { display: flex; gap: .85rem; align-items: flex-start; }
.contact-card .ci {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: .92rem;
}
.contact-card h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .2rem;
}
.contact-card a, .contact-card p { font-size: .95rem; color: var(--green-900); margin: 0; line-height: 1.55; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--green-700); text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  background: var(--cream-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #b9cfc0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 1rem;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #9fbcac; }
.site-footer p { color: #b9cfc0; font-size: .92rem; margin-top: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #c3d8c9; text-decoration: none; font-size: .93rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li {
  display: flex;
  gap: .6rem;
  margin-bottom: .7rem;
  font-size: .93rem;
  line-height: 1.5;
}
.footer-contact i { color: var(--gold-400); margin-top: .28em; font-size: .8rem; flex: 0 0 auto; }
.footer-contact a { color: #c3d8c9; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #dfeae1;
  font-size: .82rem;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #26200a; }
/* keep the brand colours recognisable on hover */
.footer-social a[aria-label*="WhatsApp"]:hover { background: #1faa55; border-color: #1faa55; color: #fff; }
.footer-social a[aria-label*="Facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.footer-social a[aria-label*="YouTube"]:hover { background: #ff0000; border-color: #ff0000; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  font-size: .85rem;
  color: #9fbcac;
}
.footer-bottom a { color: #c3d8c9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* ---------- mobile bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: rgba(251, 247, 239, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: .5rem .55rem calc(.5rem + env(safe-area-inset-bottom));
  gap: .5rem;
  box-shadow: 0 -4px 18px rgba(16, 49, 42, .1);
}
.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-800);
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--paper);
  text-decoration: none;
}
.mobile-bar a.is-gold {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}
.mobile-bar a.is-wa {
  background: #1faa55;
  border-color: #1faa55;
  color: #fff;
}

/* ---------- floating WhatsApp action (desktop) ---------- */
.wa-float {
  display: none;
}
@media (min-width: 861px) {
  .wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 96;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.15rem;
    border-radius: var(--pill);
    background: #1faa55;
    color: #fff;
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(16, 49, 42, .28);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
  }
  .wa-float i { font-size: 1.15rem; }
  .wa-float:hover,
  .wa-float:focus-visible {
    background: #188f47;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 49, 42, .34);
  }
}

/* ---------- utilities ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-gold {
  width: 46px;
  height: 2px;
  background: var(--gold-500);
  border: 0;
  border-radius: 2px;
  margin: 1.2rem 0;
}
.section-dark .rule-gold { background: var(--gold-400); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--green-800);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- crest colouring ----------
   The crest is inline SVG, so presentation attributes are overridden here
   instead of duplicating colour changes across twelve markup locations. */
.brand-mark svg [stroke="#e6cd93"] { stroke: var(--green-900); }
.brand-mark svg [stroke="#c8a45c"] { stroke: var(--gold-600); }
.brand-mark svg [fill="rgba(200,164,92,.14)"] { fill: rgba(201, 162, 39, .12); }

.site-footer .brand-mark svg [stroke="#e6cd93"] { stroke: var(--gold-400); }
.site-footer .brand-mark svg [stroke="#c8a45c"] { stroke: rgba(223, 184, 68, .6); }
.site-footer .brand-mark svg [fill="rgba(200,164,92,.14)"] { fill: rgba(223, 184, 68, .14); }

/* Two adjacent green bands would show a seam */
.section-dark + .section-dark { background: var(--green-900); }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .07s; }
.js .reveal-d2 { transition-delay: .14s; }
.js .reveal-d3 { transition-delay: .21s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .hero-figure, .page-hero .container > * { animation: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 1px) 0 auto 0;
    display: block;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .75rem 1.4rem 1.25rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.nav-link {
    padding: .8rem .5rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--line);
  }
  .nav a.nav-link[aria-current="page"]::after { display: none; }
  .nav a.nav-link[aria-current="page"] { background: var(--green-050); padding-left: .8rem; }
  .nav-cta { margin-top: .9rem; display: block; }
  .nav-cta .btn { width: 100%; }
}

@media (min-width: 1041px) {
  .nav-cta { display: none; }
}

@media (max-width: 980px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner, .split, .split-wide, .page-hero-split { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 460px; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .hero-frame { inset: 12px -12px -12px 12px; }
  .hero-badge { left: auto; right: -.5rem; bottom: -1rem; padding: .8rem 1rem; max-width: 13rem; }
  .hero-badge .num { font-size: 1.9rem; }
  .hero-card-note { display: none; }
  .hero-copy { max-width: none; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero-figure { max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-mark, .brand-mark svg { width: 40px; height: 40px; }
  .brand-name { font-size: .95rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .12em; }
  .hero-inner { padding-block: 2rem 2.75rem; min-height: 0; }
  .hero-copy h1 em { white-space: normal; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .g-2, .g-3, .g-4, .check-grid, .form-grid, .steps { grid-template-columns: 1fr; }
  .strip-inner { gap: .5rem 1.1rem; }
  .strip-item { font-size: .78rem; }
  .cta-inner { display: grid; }
  .cta-band { width: calc(100% - 2rem); padding: 1.6rem 1.4rem; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .gallery-cap { font-size: .76rem; padding: 1.2rem .6rem .55rem; }
  .media-plate { position: static; margin-top: 1rem; max-width: none; }
  .media-accent { display: none; }
  .person { text-align: left; display: flex; align-items: center; gap: .85rem; }
  .person-photo, .person.is-founder .person-photo { margin: 0; flex: 0 0 auto; max-width: 84px; }
  .lightbox img { max-height: 70vh; }
  .lb-prev { left: .4rem; }
  .lb-next { right: .4rem; }
  .lb-btn { width: 42px; height: 42px; }
  .quote-block { padding: 1.3rem 1.15rem; }
  .card, .step { padding: 1.25rem; }
}
