/* Sight Aid for Africa — site styles ("warm and human" design) */

:root {
  --cream: #fbf6ee;
  --sand: #f3e8d8;
  --ink: #2a1d16;
  --text: #6b5c52;
  --line: #eadfce;
  --red: #bb1c10;
  --red-dark: #8e1409;
  --yellow: #f1bc24;
  --sun: #fdecbc;
  --blush: #fbe1d9;
  --leaf: #e1efe7;
  --white: #fff;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 28px;
  --radius-lg: 44px;
  --container: 1200px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--sand); }
.section--flush { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-inline: auto; }
.lead { font-size: 1.15rem; }
.actions, .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__actions { margin-top: 30px; }
.actions--center { justify-content: center; }

/* Pill label above headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px;
  border-radius: 99px; background: var(--white); color: var(--red);
  font: 700 .82rem/1.3 var(--font-body); letter-spacing: .02em;
}
.section--soft .eyebrow, .form-card .eyebrow { background: var(--blush); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 99px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #e2a90e; }
.btn--teal { background: var(--ink); color: var(--cream); }
.btn--teal:hover { background: #000; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.btn--light { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn__arrow { display: inline-flex; }
.btn__arrow .icon { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.link-arrow .icon { width: 18px; transition: transform .2s; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Top bar: contact details, socials and language */
.topbar { background: var(--ink); color: #e9ddd2; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__contact { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, background-color .2s; }
.topbar a:hover { color: var(--yellow); }
.topbar .icon { width: 15px; height: 15px; color: var(--yellow); }
.topbar__end { display: flex; align-items: center; gap: 18px; }
.topbar__socials { display: flex; gap: 14px; }
.topbar__socials .icon { width: 17px; height: 17px; color: currentColor; }
.lang { display: flex; padding: 3px; border-radius: 99px; background: rgb(255 255 255 / .1); }
.lang a { padding: 3px 11px; border-radius: 99px; font-weight: 700; font-size: .78rem; letter-spacing: .05em; }
.lang a[aria-current] { background: var(--yellow); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 246 238 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { width: 128px; }
.nav { margin-inline: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { white-space: nowrap; }
.header-cta .icon { width: 17px; height: 17px; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 14px; border-radius: 99px; font-weight: 500; color: var(--ink); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { background: var(--white); color: var(--red); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--menu { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

/* Inner page banner: a sand panel with sun and blush circles */
.page-hero { padding-top: 24px; }
.page-hero .container { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 64px); }
.page-hero .container::before, .page-hero .container::after { content: ""; position: absolute; border-radius: 50%; }
.page-hero .container::before { width: 260px; height: 260px; right: -70px; top: -90px; background: var(--sun); }
.page-hero .container::after { width: 150px; height: 150px; right: 150px; bottom: -80px; background: var(--blush); }
.page-hero h1 { position: relative; z-index: 1; max-width: 780px; margin-bottom: 16px; }
.breadcrumb { position: relative; z-index: 1; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; font-weight: 500; font-size: .95rem; }
.breadcrumb li + li::before { content: "→"; margin-right: 8px; color: var(--red); }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* Home hero */
.home-hero { padding-block: 32px clamp(56px, 8vw, 96px); }
.home-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.home-hero h1 em { font-style: italic; color: var(--red); }
.home-hero .lead { max-width: 540px; }
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .35em; }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 560px; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__tall { grid-row: span 2; border-radius: 999px 999px 32px 32px; }
.collage__round { border-radius: 50%; aspect-ratio: 1; height: auto !important; align-self: end; }
.collage__soft { border-radius: 32px; }
.float { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; background: var(--white); border-radius: 22px; box-shadow: 0 24px 50px -24px rgb(42 29 22 / .35); margin: 0; }
.float--stat { left: -36px; bottom: 56px; }
.float--stat strong { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--yellow); font: 600 1.15rem var(--font-head); color: var(--ink); }
.float--stat span { font-weight: 700; color: var(--ink); line-height: 1.3; max-width: 120px; }
.float--quote { right: -20px; top: 28px; max-width: 270px; font-size: .9rem; line-height: 1.4; }
.float--quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.float--quote b { color: var(--ink); }

/* Four ways to help */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row h2 { margin: 0; }
.head-row p { max-width: 460px; margin: 0; }
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius); transition: transform .25s; }
.path:hover { transform: translateY(-6px); }
.path__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--red); margin-bottom: 26px; }
.path__icon .icon { width: 24px; height: 24px; }
.path p { flex: 1; }
.path .link-arrow { pointer-events: none; }
.path--sun { background: var(--sun); }
.path--blush { background: var(--blush); }
.path--leaf { background: var(--leaf); }
.path--dark { background: var(--ink); color: #e9ddd2; }
.path--dark h3, .path--dark .link-arrow { color: #fff; }
.path--dark .path__icon { background: var(--yellow); color: var(--ink); }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }

/* Photos with arched and round corners */
.photo-stack { position: relative; padding: 0 36px 48px 0; }
.photo-stack__main { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; border-radius: 32px 32px 200px 32px; }
.photo-stack__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--cream); }
.photo-stack--round .photo-stack__main { border-radius: 50%; aspect-ratio: 1; }
.photo-stack--single { padding: 0; }
.section--soft .photo-stack__inset, .mission .photo-stack__inset { border-color: var(--sand); }

.stat-row { display: flex; align-items: center; gap: 28px; margin: 26px 0 30px; flex-wrap: wrap; }
.stat-circle { display: grid; place-content: center; text-align: center; width: 132px; height: 132px; flex: none; margin: 0; border-radius: 36px; background: var(--yellow); color: var(--ink); }
.stat-circle strong { font: 600 2.1rem/1 var(--font-head); }
.stat-circle span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.checklist li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.checklist li + li { margin-top: 10px; }
.checklist .icon { color: var(--red); width: 20px; }
.subhead { font: 600 1.3rem/1.3 var(--font-head); color: var(--ink); margin-top: 8px; }

/* Sand panel section (mission, belief) */
.mission > .container { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); }
.belief-quote { margin: 0 0 22px; font: italic 500 clamp(1.8rem, 3.2vw, 2.6rem)/1.15 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.belief-quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--red); }

.icon-box { display: flex; gap: 18px; padding-block: 20px; }
.icon-box + .icon-box { border-top: 1px solid var(--line); }
.icon-box__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--white); color: var(--red); }
.icon-box__icon .icon { width: 24px; height: 24px; }
.icon-box h3 { font-size: 1.2rem; margin-bottom: 4px; }
.icon-box h3 a:hover { color: var(--red); }
.icon-box p { margin: 0; }

/* Impact band */
.impact { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; align-items: end; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--red); color: #fde7e3; }
.impact h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0; }
.impact p { margin: 0; }
.impact strong { display: block; font: 600 clamp(2.8rem, 5vw, 4rem)/1 var(--font-head); color: var(--yellow); margin-bottom: 6px; }

/* Story quote */
.story { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; }
.story img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 12px var(--sun); }
.story blockquote { margin: 0 0 18px; font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.3 var(--font-head); color: var(--ink); }
.story cite { font-style: normal; font-weight: 700; color: var(--red); }

/* Partners */
.partners-strip { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; padding: 36px 16px; border-block: 1px solid var(--line); }
.partners-strip span { font-weight: 700; color: var(--ink); }
.partners-strip img { height: 96px; width: auto; mix-blend-mode: multiply; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.partner { display: grid; place-items: center; width: 260px; height: 170px; padding: 20px; border-radius: var(--radius); background: var(--white); }
.partner img { height: 130px; width: auto; mix-blend-mode: multiply; }

/* Donate block on the homepage */
.give { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.give__card { border-radius: var(--radius); padding: 32px; background: var(--white); }
.give__card--dark { background: var(--ink); color: #e9ddd2; }
.give__card--dark h3 { color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { border-radius: 22px; background: var(--white); transition: background-color .2s; }
.faq details[open] { background: var(--blush); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font: 700 1.02rem/1.4 var(--font-body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--cream); color: var(--ink); font: 500 1.3rem/1 var(--font-body); }
.faq details[open] summary { color: var(--red); }
.faq details[open] summary::after { content: "−"; background: var(--red); color: #fff; }
.faq details p { padding: 0 24px 22px; margin: 0; }

/* Testimonials */
.testimonial-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.carousel { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; padding: 14px; }
.quote { display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: start; margin: 0; }
.quote img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 10px var(--sun); }
.quote h3 { font-size: 1.6rem; }
.quote blockquote { margin: 0 0 18px; font: 500 1.2rem/1.5 var(--font-head); color: var(--ink); }
.quote cite { display: block; font-style: normal; font-weight: 700; color: var(--red); }
.quote cite span { display: block; font-weight: 400; color: var(--text); }
.carousel__nav { display: flex; align-items: center; gap: 12px; margin: 22px 0 0 200px; }
.carousel__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.carousel__btn:hover { background: var(--red); color: #fff; }
.carousel__btn .icon { width: 18px; }
.carousel__count { font-weight: 700; color: var(--ink); min-width: 48px; text-align: center; }
.stats { display: grid; align-content: center; gap: 26px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--red); color: #fde7e3; }
.stat strong { display: block; font: 600 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-head); color: var(--yellow); }
.stat span { font-weight: 500; }

/* Cards (services, team) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .25s; }
.card:hover { transform: translateY(-6px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card__body p { flex: 1; }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 371 / 418; object-fit: cover; object-position: top; border-radius: 999px 999px var(--radius) var(--radius); }
.team-card h3 { margin: 22px 0 4px; font-size: 1.4rem; }
.team-card p { margin: 0; color: var(--red); font-weight: 700; }

/* Article (service detail) */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article img.article__lead { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 32px 32px 160px 32px; margin-bottom: 36px; }
.article h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.article strong { color: var(--ink); }
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { padding: 28px; border-radius: var(--radius); background: var(--white); }
.side-box h2 { font-size: 1.35rem; margin-bottom: 16px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 16px; background: var(--cream); font-weight: 500; line-height: 1.35; color: var(--ink); transition: background-color .2s, color .2s; }
.side-links li + li { margin-top: 8px; }
.side-links a:hover, .side-links a[aria-current="page"] { background: var(--red); color: #fff; }
.side-links .icon { width: 16px; }
.side-box--cta { background: var(--red); color: #fde7e3; }
.side-box--cta h2 { color: #fff; }
.vision-card { padding: clamp(36px, 5vw, 56px); border-radius: 200px 44px 44px 44px; }
.vision-card > .icon { width: 56px; height: 56px; color: var(--yellow); margin-bottom: 18px; }
.vision-card h3 { color: #fff; font-size: 1.7rem; }
.vision-card p { margin: 0; font-size: 1.1rem; }

/* Info cards (contact, donate) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { display: flex; gap: 18px; padding: 30px; border-radius: var(--radius); background: var(--white); }
.info-card .icon-box__icon { background: var(--sun); }
.info-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.info-card p, .info-card a { margin: 0; display: block; overflow-wrap: break-word; }
.info-card a:hover { color: var(--red); }
.info-card--stack { flex-direction: column; }
.footer-contact a { overflow-wrap: break-word; }

/* Forms */
.form-card { padding: clamp(28px, 4vw, 52px); border-radius: 36px; background: var(--white); }
.form-card--narrow { max-width: 920px; margin-inline: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
legend { display: flex; align-items: center; gap: 12px; font: 600 1.45rem var(--font-head); color: var(--ink); margin-bottom: 22px; padding: 0; }
legend span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 700 1rem var(--font-body); }
label, .field-label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.field-label { margin-bottom: 12px; }
.field-gap { margin-top: 20px; }
label .req { color: var(--red); }
input, select, textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fffdf9; font: 400 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(187 28 16 / .12); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 99px; font-weight: 500; cursor: pointer; background: #fffdf9; }
.choices input { width: auto; accent-color: var(--red); }
.choices label:has(input:checked) { border-color: var(--red); background: var(--blush); }
.hint { font-size: .85rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.map { width: 100%; height: auto; min-height: 440px; align-self: stretch; border: 0; border-radius: 36px; }

/* Donate page */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.donate-card { padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--white); }
.donate-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sun); color: var(--red); margin-bottom: 22px; }
.donate-card__icon .icon { width: 28px; height: 28px; }
.donate-card--featured { background: var(--ink); color: #e9ddd2; }
.donate-card--featured h2 { color: #fff; }
.donate-card--featured .donate-card__icon { background: var(--yellow); color: var(--ink); }
.donate-card h2 { font-size: 1.8rem; }
.account { display: grid; gap: 2px; margin: 22px 0 0; }
.account div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.account dt { color: var(--text); }
.account dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; display: flex; align-items: center; gap: 10px; }
.copy-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; }
.copy-btn .icon { width: 16px; }
.copy-btn.is-copied { background: var(--red); border-color: var(--red); color: #fff; }

/* Gallery */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; border-radius: 22px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(28 19 14 / .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; width: auto; border-radius: 18px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lightbox .icon { width: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; color: #fff; font-weight: 500; }

/* Call-to-action band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); color: #fde7e3;
  background: radial-gradient(circle at 96% 0%, var(--yellow) 0 110px, transparent 111px), var(--red);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }

/* Footer */
.site-footer { background: var(--ink); color: #cdbfb3; font-size: .95rem; margin-top: clamp(32px, 5vw, 64px); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 64px 48px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-top__brand { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-top__brand img { width: 150px; padding: 10px 14px; border-radius: 18px; background: var(--cream); }
.footer-tagline { margin: 0; max-width: 460px; font: italic 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.25 var(--font-head); color: #fff; }
.site-footer .btn .icon { width: 18px; height: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 56px; }
.footer-about p { margin: 0; }
.site-footer h2 { font-size: 1.25rem; color: #fff; margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-contact a { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .icon { margin-top: 4px; color: var(--yellow); width: 18px; }
.side-box .footer-contact .icon { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background-color .2s; }
.socials a:hover { background: var(--red); }
.socials .icon { width: 19px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 22px; font-size: .88rem; color: #9b8b7f; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #e9ddd2; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; transition: color .2s; }
.footer-bottom a:hover { color: var(--yellow); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto; background: var(--cream); box-shadow: 0 24px 40px -24px rgb(42 29 22 / .35); max-height: 0; overflow: hidden; transition: max-height .3s ease; margin: 0; }
  .nav-open .nav { max-height: 80vh; }
  .nav ul { flex-direction: column; gap: 4px; padding: 10px 16px 22px; }
  .nav a { padding: 13px 16px; border-radius: 16px; }
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; max-width: 640px; }
  .home-hero__grid { grid-template-columns: 1fr; }
  .collage { height: 460px; margin-inline: 20px; }
  .paths { grid-template-columns: 1fr 1fr; }
  .impact { grid-template-columns: 1fr 1fr 1fr; }
  .impact h2 { grid-column: 1 / -1; }
  .give { grid-template-columns: 1fr 1fr; }
  .give > :first-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .testimonial-panel { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .card-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; --radius-lg: 32px; }
  body { font-size: 16px; }
  .site-header .container { gap: 8px; }
  .brand img { width: 100px; }
  .header-cta { padding: 9px 14px; font-size: .85rem; }
  .header-volunteer, .topbar__email, .topbar__socials { display: none; }
  .topbar { font-size: .82rem; }
  .footer-top { padding-block: 48px 36px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .page-hero .container::before { width: 160px; height: 160px; right: -60px; top: -70px; }
  .page-hero .container::after { display: none; }
  .collage { height: 380px; margin-inline: 8px; }
  .float--stat { left: -8px; bottom: 24px; }
  .float--quote { display: none; }
  .paths, .card-grid, .info-grid, .form-grid, .footer-grid, .impact, .give, .stats { grid-template-columns: 1fr; }
  .photo-stack { padding: 0 16px 36px 0; }
  .story { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .story img { margin-inline: auto; width: 160px; height: 160px; }
  .quote { grid-template-columns: 1fr; gap: 22px; }
  .quote img { width: 110px; height: 110px; }
  .carousel__nav { margin-left: 0; }
  .account div { flex-direction: column; gap: 4px; }
  .account dd { text-align: left; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
  .lightbox__count { bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
