/* ABC Club — Abali Bridges of Care
   Brand colours kept from the original site; type, layout and components rebuilt. */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: italic; font-display: swap;
}

:root {
  --ember: #e26518;        /* brand orange: fills, large type */
  --ember-strong: #e26518; /* primary buttons: the original ABC orange */
  --clay: #a8470f;         /* orange text on cream (AA) */
  --night: #002c42;        /* brand navy: dark bands */
  --ink: #14232b;          /* body text */
  --muted: #55646b;
  --cream: #fff6eb;
  --peach: #fae3d1;
  --paper: #ffffff;
  --line: rgba(0, 44, 66, .14);
  --ok: #1d7a46;
  --bad: #b3261e;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --step-5: clamp(2.75rem, 1.6rem + 5vw, 5.75rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --section: clamp(64px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--text);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--clay); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--night); font-stretch: 92%; }
h1 { font-size: var(--step-5); letter-spacing: -.035em; }
h2 { font-size: var(--step-4); letter-spacing: -.03em; }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-size: var(--step-1); line-height: 1.2; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 46ch; }
.small { font-size: var(--step--1); color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ember-strong); color: #fff; }
.btn-primary:hover { background: #c9560f; color: #fff; }
.btn-ghost { border-color: var(--night); color: var(--night); background: transparent; }
.btn-ghost:hover { background: var(--night); color: #fff; }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--peach); color: var(--night); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; color: var(--clay); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--night); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); margin-right: auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font: 700 1.2rem/1 var(--display); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 11px; font-size: .97rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links a:hover { background: var(--peach); color: var(--night); }
.nav-links a[aria-current="page"] { color: var(--clay); }
.nav .btn { min-height: 44px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--night); color: #fff; cursor: pointer; }
.menu-btn svg { margin: auto; }
/* mobile menu (full-screen sheet, outside the header so fixed positioning works) */
.menu-btn svg path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .2s, opacity .2s; transform-origin: center; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.menu { position: fixed; inset: 76px 0 0; z-index: 60; background: var(--cream); overflow-y: auto; padding: 8px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px; border-top: 1px solid var(--line); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu nav a { display: flex; justify-content: space-between; align-items: center; font: 700 1.6rem/1.2 var(--display); color: var(--night); text-decoration: none; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.menu nav a::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--ember); border-top: 2.5px solid var(--ember); transform: rotate(45deg); }
.menu nav a[aria-current="page"] { color: var(--clay); }
.menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1180px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-main, .nav-cta { display: none; }
}
@media (max-width: 640px) { .brand span { display: none; } .brand img { width: 50px; height: 50px; } }
@media (min-width: 1181px) { .menu { display: none !important; } }

/* ---------- the bubble (signature): photos cropped to the ABC logo's speech-bubble shape ---------- */
.bubble { position: relative; }
.bubble img:not(.tag) { width: 100%; height: 100%; object-fit: cover; clip-path: url(#abc-bubble); }
.bubble .tag {
  position: absolute; width: 22%; aspect-ratio: 1; left: -4%; bottom: 6%;
  filter: drop-shadow(0 10px 24px rgba(0, 44, 66, .25));
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lede { margin-bottom: 32px; }
.hero .bubble { aspect-ratio: 1 / 1.02; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; color: var(--muted); font-size: var(--step--1); }
.hero-meta strong { color: var(--night); font-weight: 700; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .bubble { max-width: 480px; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .bubble img { animation: bubble-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .bubble .tag { animation: tag-in .7s .7s cubic-bezier(.3, 1.6, .5, 1) both; }
  .hero h1 .line { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .08s; }
  .hero h1 .line:nth-child(3) { animation-delay: .16s; }
}
@keyframes bubble-in { from { transform: scale(.94); opacity: 0; } }
@keyframes tag-in { from { transform: scale(0) rotate(-20deg); } }
@keyframes rise { from { transform: translateY(.35em); opacity: 0; } }

/* ---------- values row ---------- */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 28px 28px 28px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value h3 { font-size: var(--step-1); margin-bottom: .3em; }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .values .wrap { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 20px 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); }
}

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.head h2 { margin: 0; max-width: 16ch; }
.head p { margin: 0; max-width: 42ch; color: var(--muted); }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }

/* ---------- programs ---------- */
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.program img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.program h3 { margin-bottom: .35em; }
.program p { color: var(--muted); margin: 0; }
.program:nth-child(even) { margin-top: clamp(0px, 6vw, 72px); }
@media (max-width: 760px) { .programs { grid-template-columns: 1fr; } .program:nth-child(even) { margin-top: 0; } }

/* ---------- story band ---------- */
.band-night { background: var(--night); color: #e8eef1; }
.band-night h2, .band-night h3 { color: #fff; }
.band-night a:not(.btn) { color: #ffc49b; }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story blockquote { margin: 0; font: 600 var(--step-3)/1.25 var(--display); letter-spacing: -.015em; color: #fff; }
.story blockquote p { max-width: none; }
.story figcaption { margin-top: 20px; color: #b9c7ce; }
.story img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 640px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story img { aspect-ratio: 3 / 2; } }

/* ---------- membership ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 12px; }
.rung {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius) var(--radius) 6px 6px;
  padding: 24px 22px 22px; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.rung:nth-child(1) { min-height: 300px; }
.rung:nth-child(2) { min-height: 350px; }
.rung:nth-child(3) { min-height: 400px; }
.rung:nth-child(4) { min-height: 450px; background: var(--night); color: #dfe8ec; border-color: var(--night); }
.rung:nth-child(4) h3, .rung:nth-child(4) .price { color: #fff; }
.rung h3 { font-size: var(--step-2); margin-bottom: .2em; }
.rung .price { font: 700 var(--step-3)/1 var(--display); color: var(--clay); margin-bottom: 18px; letter-spacing: -.02em; }
.rung .price small { font: 500 .85rem/1 var(--text); color: var(--muted); letter-spacing: 0; }
.rung:nth-child(4) .price small { color: #b9c7ce; }
.rung ul { margin: 0 0 20px; padding: 0; list-style: none; font-size: .95rem; }
.rung li { padding: 7px 0; border-top: 1px solid var(--line); }
.rung:nth-child(4) li { border-top-color: rgba(255, 255, 255, .14); }
.rung .go { margin-top: auto; font-weight: 700; color: var(--clay); }
.rung:nth-child(4) .go { color: #ffc49b; }
a.rung:hover { border-color: var(--ember); transform: translateY(-4px); }
@media (max-width: 960px) { .ladder { grid-template-columns: repeat(2, 1fr); } .rung { min-height: 0 !important; } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }

/* ---------- events ---------- */
.events { display: grid; gap: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 132px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.event img { width: 132px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.event h3 { margin-bottom: .2em; }
.event p { margin: 0; color: var(--muted); }
.event .when { display: inline-block; font-weight: 700; color: var(--clay); font-size: var(--step--1); margin-bottom: 4px; }
@media (max-width: 680px) {
  .event { grid-template-columns: 88px 1fr; }
  .event img { width: 88px; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- give band ---------- */
.band-ember { background: var(--ember); color: var(--night); }
.give { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.give h2 { color: var(--night); margin-bottom: .25em; }
.give p { color: var(--night); margin: 0; font-size: var(--step-1); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.give .chips a {
  flex: 1 1 120px; display: grid; place-items: center; min-height: 64px; border-radius: 999px;
  background: var(--night); color: #fff; text-decoration: none; font: 700 1.15rem/1 var(--display); white-space: nowrap; padding-inline: 18px;
}
.give .chips a:hover { background: #fff; color: var(--night); }
@media (max-width: 760px) { .give { grid-template-columns: 1fr; } }

/* ---------- page header ---------- */
.page-head { padding-block: clamp(32px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; }
.page-head .lede { max-width: 54ch; }

/* ---------- forms ---------- */
.panel { background: var(--paper); border-radius: 24px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.panel h2 { font-size: var(--step-3); margin-bottom: .3em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--night); padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d9cfc4;
  background: #fffdfa; font: 500 1rem/1.4 var(--text); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(226, 101, 24, .2); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: .9rem; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: .95rem; color: var(--night); padding: 0; margin-bottom: 8px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; }
.amounts span {
  display: grid; place-items: center; min-height: 54px; border-radius: 12px; border: 1.5px solid #d9cfc4;
  background: #fffdfa; font: 700 1.05rem/1 var(--display); cursor: pointer; text-align: center; padding: 4px;
}
.amounts input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.amounts input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
@media (max-width: 420px) { .amounts { grid-template-columns: repeat(2, 1fr); } }
.form-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.form-error { background: #fdecea; color: var(--bad); border-radius: 12px; padding: 12px 14px; font-weight: 600; margin-bottom: 16px; }
.btn-block { width: 100%; min-height: 56px; font-size: 1.05rem; }

/* payment status (replaces the form while M-Pesa runs) */
.status { text-align: center; padding: 24px 8px; }
.status h2 { margin-bottom: .3em; }
.status p { margin-inline: auto; }
.status .icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; }
.status .icon.wait { background: var(--peach); }
.status .icon.ok { background: #dcf1e4; color: var(--ok); }
.status .icon.no { background: #fdecea; color: var(--bad); }
.status .ref { display: inline-block; background: var(--cream); border-radius: 10px; padding: 8px 14px; font-weight: 700; margin: 8px 0 20px; }
.pulse { width: 30px; height: 30px; border-radius: 50%; background: var(--ember); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 1.4s ease-in-out infinite; } }
@keyframes pulse { 50% { transform: scale(.6); opacity: .5; } }

/* ---------- donate & join layouts ---------- */
.split { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split > .panel { position: sticky; top: 96px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > .panel { position: static; } .split .aside-first { order: -1; } }
.uses { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.uses li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.uses img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; }
.uses h3 { font-size: var(--step-1); margin-bottom: .2em; }
.uses p { margin: 0; color: var(--muted); font-size: .98rem; }

.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tiers label { position: relative; }
.tiers input { position: absolute; opacity: 0; inset: 0; }
.tiers span { display: block; border: 1.5px solid #d9cfc4; border-radius: 14px; padding: 12px 14px; background: #fffdfa; cursor: pointer; line-height: 1.25; }
.tiers b { display: block; font: 700 1.02rem/1.2 var(--display); color: var(--night); }
.tiers em { font-style: normal; color: var(--clay); font-weight: 700; font-size: .95rem; }
.tiers input:checked + span { border-color: var(--night); box-shadow: inset 0 0 0 1.5px var(--night); background: #fff; }
.tiers input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }

.tier-detail { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.tier-detail img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--peach); }
.tier-detail h3 { font-size: var(--step-3); margin-bottom: .1em; }
.tier-detail .price { font: 700 var(--step-2)/1 var(--display); color: var(--clay); margin-bottom: 14px; }
.tier-detail ul { padding-left: 1.1em; margin: 0 0 12px; }
.tier-detail li { margin-bottom: 6px; }
.tier-detail .btn { margin-top: 6px; }
@media (max-width: 640px) { .tier-detail { grid-template-columns: 1fr; } .tier-detail img { max-width: 240px; } }

/* ---------- about ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.pair img:last-child { margin-top: 48px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.mv > div { padding: 28px 28px 0 0; }
.mv > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.mv p { font: 600 var(--step-2)/1.3 var(--display); color: #fff; letter-spacing: -.01em; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } .mv > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); } }

/* ---------- contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.contact-list b { color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; }

/* ---------- newsletter & footer ---------- */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; padding-block: 56px; border-top: 1px solid var(--line); }
.signup h2 { font-size: var(--step-3); margin: 0 0 .2em; }
.signup p { margin: 0; color: var(--muted); }
.signup form { display: flex; gap: 10px; }
.signup input { flex: 1; min-height: 54px; border-radius: 999px; border: 1.5px solid #d9cfc4; padding: 0 20px; font: 500 1rem var(--text); background: #fff; min-width: 0; }
.signup input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(226, 101, 24, .2); }
.signup .msg { grid-column: 2; margin: 0; font-weight: 600; }
@media (max-width: 760px) { .signup { grid-template-columns: 1fr; } .signup .msg { grid-column: 1; } .signup form { flex-direction: column; } }

.site-footer { background: var(--night); color: #b9c7ce; padding-block: 64px 28px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffc49b; text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 700 1rem/1.2 var(--text); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .brand-foot img { width: 64px; height: 64px; margin-bottom: 14px; }
.foot .brand-foot p { max-width: 30ch; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot .brand-foot { grid-column: 1 / -1; } }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.photo { border-radius: var(--radius); width: 100%; object-fit: cover; }
.credit { font-size: .8rem; color: var(--muted); }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- hero title ---------- */
.hero-title { margin-bottom: .1em; }
.tagline { font: 600 var(--step-2)/1.2 var(--display); color: var(--ember); margin: 0 0 22px; letter-spacing: -.01em; }

/* ---------- programme pillars (Awareness / Buzz / Charity) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.pillar { display: flex; flex-direction: column; }
.pillar .kicker { font: 700 var(--step-4)/.95 var(--display); color: var(--ember); letter-spacing: -.035em; margin-bottom: 14px; }
.pillar img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.pillar .motto { font: 600 var(--step-1)/1.3 var(--display); color: var(--night); margin-bottom: 12px; }
.pillar ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.pillar li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pillar li b { display: block; color: var(--night); }
.pillar li span { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar img { aspect-ratio: 3 / 2; } }

/* ---------- socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--night); text-decoration: none; font-weight: 700; background: #fff; }
.socials a:hover { border-color: var(--ember); color: var(--clay); }
.socials svg { width: 20px; height: 20px; }
.site-footer .socials { margin-top: 36px; }
.site-footer .socials a { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.site-footer .socials a:hover { border-color: #ffc49b; color: #ffc49b; text-decoration: none; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.post-card a { display: block; text-decoration: none; color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; transition: transform .25s; }
.post-card a:hover img { transform: scale(1.02); }
.post-card h3 { font-size: var(--step-1); line-height: 1.25; margin: 4px 0 6px; }
.post-card a:hover h3 { color: var(--clay); }
.post-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.post-date { font-size: .88rem; font-weight: 700; color: var(--clay); margin: 0 0 6px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-head { max-width: 860px; }
.post-head h1 { font-size: var(--step-4); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; }
.post-body { max-width: 720px; padding-block: 48px 72px; font-size: 1.12rem; line-height: 1.75; }
.post-body h2 { font-size: var(--step-3); margin-top: 1.4em; }
.post-body ul { padding-left: 1.2em; }
.post-body li { margin-bottom: .4em; }

/* ---------- ticks list ---------- */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 8px 0 8px 32px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px; border-left: 3px solid var(--ember); border-bottom: 3px solid var(--ember); transform: rotate(-45deg); }
.work { background: var(--peach); }
.work .panel h3 { font-size: var(--step-2); }

/* ---------- home contact ---------- */
.contact-home { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-home .contact-list { margin-bottom: 24px; }
@media (max-width: 860px) { .contact-home { grid-template-columns: 1fr; } }

/* ---------- newsletter band ---------- */
.subscribe-band { background: var(--night); color: #dfe8ec; }
.subscribe-band .signup { border-top: 0; padding-block: 0; }
.subscribe-band h2 { color: #fff; }
.subscribe-band .signup p { color: #b9c7ce; }

/* ---------- membership cards ---------- */
.tier-detail img.card { aspect-ratio: 1999 / 1264; object-fit: cover; background: #000; }
.tier-detail { grid-template-columns: 300px 1fr; }
@media (max-width: 760px) { .tier-detail { grid-template-columns: 1fr; } .tier-detail img.card { max-width: 420px; } }
.rung .perk-note { font-size: .85rem; color: var(--muted); margin: -8px 0 16px; }
.rung:nth-child(4) .perk-note { color: #b9c7ce; }
.form-section { font: 700 var(--step-1)/1.2 var(--display); color: var(--night); margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.checks label, .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .97rem; color: var(--ink); cursor: pointer; }
.checks input, .consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--ember); flex: none; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.officials { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.official { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.official .avatar { width: 88px; height: 88px; display: grid; place-items: center; background: var(--ember); color: #fff; font: 700 1.6rem/1 var(--display); clip-path: url(#abc-bubble); margin-bottom: 18px; }
.official:nth-child(3n+2) .avatar { background: var(--night); }
.official:nth-child(3n+3) .avatar { background: #1f7a4d; }
.official h3 { margin-bottom: 2px; }
.official .role { font-weight: 700; color: var(--clay); margin-bottom: 14px; }
.official blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.recognition { text-align: center; padding: clamp(32px, 5vw, 56px); border: 2px dashed rgba(0, 44, 66, .2); border-radius: 24px; }
.recognition p { margin-inline: auto; }

/* ---------- merch ---------- */
.merch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.merch-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--peach); margin-bottom: 14px; }
.merch-item h3 { font-size: var(--step-1); margin-bottom: 4px; }
.merch-item p { color: var(--muted); margin: 0 0 10px; font-size: .97rem; }
.merch-item .avail { font-size: .88rem; font-weight: 700; color: var(--clay); }
@media (max-width: 900px) { .merch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .merch-grid { grid-template-columns: 1fr; } }

/* ---------- get involved ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.way:hover { border-color: var(--ember); transform: translateY(-3px); color: var(--ink); }
.way h3 { margin-bottom: 8px; }
.way p { color: var(--muted); margin: 0 0 18px; }
.way span { margin-top: auto; font-weight: 700; color: var(--clay); }
.way.feature { background: var(--ember); border-color: var(--ember); }
.way.feature h3, .way.feature p, .way.feature span { color: #fff; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }

/* ---------- header cart ---------- */
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--night); background: #fff; border: 1.5px solid var(--line); text-decoration: none; }
.cart-link:hover { border-color: var(--ember); color: var(--clay); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ember); color: #fff; font: 700 .75rem/20px var(--text); text-align: center; }

/* ---------- shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; position: sticky; top: 76px; z-index: 5; background: var(--cream); padding: 12px 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 .95rem var(--text); color: var(--night); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.product > button, .product > a { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); text-decoration: none; font: inherit; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #eee; margin-bottom: 10px; transition: transform .2s; }
.product button:hover img, .product a:hover img { transform: scale(1.02); }
.product h3 { font-size: 1.05rem; margin: 2px 0; }
.p-cat { font-size: .8rem; font-weight: 700; color: var(--muted); }
.p-style { margin: 0; color: var(--muted); font-size: .92rem; }
.p-price { margin: 4px 0 0; font-weight: 800; color: var(--clay); }
.members-only .p-price { color: #1f7a4d; }

.product-dialog { width: min(980px, 100vw - 24px); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 24px; background: var(--cream); color: var(--ink); }
.product-dialog::backdrop { background: rgba(0, 44, 66, .55); }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding: 28px; position: relative; }
.pd-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.1rem; cursor: pointer; color: var(--night); }
.pd-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #eee; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.pd-thumbs button[aria-current="true"] { border-color: var(--ember); }
.pd-thumbs img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.pd-info h2 { font-size: var(--step-3); margin: 4px 0 4px; }
.pd-price { font: 700 var(--step-2)/1 var(--display); color: var(--clay); margin-bottom: 10px; }
.pd-blurb { color: var(--muted); }
.pd fieldset { margin-bottom: 14px; }
.pd legend span { font-weight: 500; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; padding: 3px; border: 2px solid transparent; background: none; cursor: pointer; }
.swatch span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.swatch i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatch[aria-pressed="true"] { border-color: var(--ember); }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; min-width: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #d9cfc4; background: #fffdfa; font: 700 .95rem var(--text); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.pd-buy { display: flex; gap: 12px; align-items: center; margin: 18px 0 8px; flex-wrap: wrap; }
.pd-buy .btn { flex: 1; min-height: 52px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #d9cfc4; border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--night); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.qty.sm button { width: 32px; height: 34px; }
.pd-msg { min-height: 1.2em; margin: 0; font-weight: 600; }
.pd-msg.bad { color: var(--bad); }
@media (max-width: 760px) {
  .product-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .pd { grid-template-columns: 1fr; padding: 16px 16px 32px; gap: 16px; }
}

.cart { position: fixed; inset: 0; z-index: 70; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0, 44, 66, .55); }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--cream); overflow-y: auto; padding: 20px 22px 40px; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
.cart-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cart-top h2 { font-size: var(--step-3); margin: 0; }
.cart-empty { text-align: center; padding: 48px 0; }
.cart-items { list-style: none; padding: 0; margin: 0 0 12px; }
.cart-items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-items img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.cart-items b { display: block; color: var(--night); }
.cart-items span { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.ci-right { text-align: right; }
.link-btn { background: none; border: 0; color: var(--clay); font-weight: 700; cursor: pointer; padding: 6px 0; font-size: .9rem; }
.totals { margin: 0 0 18px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dt { color: var(--muted); } .totals dd { margin: 0; font-weight: 700; }
.totals .grand { border-top: 2px solid var(--night); margin-top: 6px; padding-top: 10px; font-size: 1.15rem; }
.totals .grand dt { color: var(--night); font-weight: 700; }
.checkout h3 { font-size: var(--step-1); margin-bottom: 12px; }

/* ---------- membership pack preview ---------- */
.pack-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-bottom: 16px; }
.pack-preview figure { margin: 0; text-align: center; }
.pack-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #eee; border: 2px solid var(--ember); }
.pack-preview figure.unpicked img { opacity: .45; border-color: transparent; }
.pack-preview figcaption { font-size: .78rem; font-weight: 600; color: var(--muted); margin-top: 4px; line-height: 1.25; }
@media (max-width: 640px) {
  .shop-bar { flex-wrap: nowrap; gap: 8px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: auto; min-width: 0; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; min-height: 40px; padding: 0 14px; font-size: .9rem; }
  .cart-open { flex: none; min-height: 40px; padding: 0 14px; font-size: .9rem; }
}
/* Hero: show the whole photo (no bubble crop) */
.hero .bubble.hero-photo { aspect-ratio: auto; align-self: center; }
.hero .bubble.hero-photo img:not(.tag) { clip-path: none; height: auto; aspect-ratio: 740 / 493; border-radius: 28px; box-shadow: 0 24px 60px -30px rgba(0, 44, 66, .45); }
.hero .bubble.hero-photo .tag { width: clamp(72px, 16%, 120px); height: auto; left: -18px; bottom: -22px; top: auto; right: auto; }
@media (max-width: 640px) { .hero .bubble.hero-photo .tag { left: -8px; bottom: -18px; } }
/* site-wide announcement (edited on /admin/) */
.announce { background: var(--night); color: #fff; text-align: center; padding: 10px var(--gutter); font: 600 .95rem var(--text); }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.p-price .sold { color: var(--bad); }
