/* ==========================================================================
   YADE — Youth in Action for Development
   Colours from the YADE logo: orange arms, brown lettering, red ribbons.
   Type: Poppins (all text), Lora italic (motto). Both self-hosted in /fonts.
   ========================================================================== */

@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora-italic-var.woff') format('woff'); font-weight: 400 700; font-style: italic; font-display: swap; }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --orange: #F47B00;
  --orange-2: #FF9A2E;
  --orange-50: #FFF1E2;
  --brown: #8A3B0B;
  --night: #1F140D;
  --night-2: #2E1E14;
  --green: #2F6B3F;
  --green-50: #E8F3EA;
  --red: #C8232C;
  --wa: #25D366;

  --cream: #FFFBF5;
  --sand: #F8EEE2;
  --white: #FFFFFF;

  --ink: #221A14;
  --ink-2: #4D4239;
  --muted: #6A5E54;
  --line: #EEDFCC;

  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --r-lg: 26px;
  --r: 18px;
  --shadow: 0 26px 50px -28px rgba(34, 26, 20, .45);
  --shadow-sm: 0 12px 28px -18px rgba(34, 26, 20, .40);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cream); color: var(--ink-2);
  font-family: var(--sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 10px;
  background: var(--night); color: #fff; font-weight: 500; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 88px); align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 30px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 30px); }
.stack > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 24px; }

/* 4. Type ------------------------------------------------------------------ */
.h1, .h2, .h3 { font-family: var(--sans); font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.06; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; text-wrap: balance; }
.h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; }
.small { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.center { text-align: center; }
.accent { color: var(--orange); }
.motto-text { font-family: var(--serif); font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-block; position: relative; padding-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown);
}
.eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 6px;
  background: url("../assets/swoosh.svg") left center / 100% 100% no-repeat;
}
.eyebrow--light { color: var(--orange-2); }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 54px); }
.section-head > * + * { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { left: 50%; transform: translateX(-50%); }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-size: 15.5px; font-weight: 700; line-height: 1.25; text-decoration: none; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-2); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--brown); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wa { background: var(--wa); color: #06331A; }
.btn--wa:hover { background: #3BE07A; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brown);
  text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(34, 26, 20, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 64px; height: auto; }
.brand__name { display: block; font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .02em; color: var(--brown); }
.brand__sub { display: block; margin-top: 5px; font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; text-decoration: none; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--ink); border-radius: 10px;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brown); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-actions .btn { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang button {
  border: 0; background: transparent; padding: 6px 9px; border-radius: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted);
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--orange-50); color: var(--brown); }
.lang__sep { color: var(--line); }

.burger {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); align-items: center; justify-content: center;
}
.burger svg { width: 24px; height: 24px; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--night); color: #fff;
  padding: 108px var(--gutter) 34px; overflow-y: auto; display: flex; flex-direction: column; gap: 26px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: clamp(24px, 6.5vw, 32px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2;
  color: #fff; text-decoration: none; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu nav a[aria-current="page"] { color: var(--orange-2); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu .lang { justify-content: center; margin-top: 6px; }
.mobile-menu .lang button { color: rgba(255, 255, 255, .75); font-size: 14px; padding: 8px 14px; }
.mobile-menu .lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
body.menu-open { overflow: hidden; }
body.menu-open .wa-float { display: none; }

/* 7. Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: var(--night); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 20, 13, .92) 0%, rgba(31, 20, 13, .82) 34%, rgba(31, 20, 13, .35) 62%, rgba(31, 20, 13, .05) 85%),
    linear-gradient(0deg, rgba(31, 20, 13, .55) 0%, rgba(31, 20, 13, 0) 40%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(64px, 10vw, 120px); }
.hero__copy { max-width: 620px; color: #fff; }
.hero__copy > * + * { margin-top: 22px; }
.hero__copy .h1 { color: #fff; }
.hero__copy .lead { color: rgba(255, 255, 255, .9); }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13.5px; font-weight: 500; color: #fff; line-height: 1.3;
}
.hero__tag img { width: 34px; }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; background: var(--night); color: #fff;
  padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 92px);
}
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 123, 0, .35) 0%, rgba(244, 123, 0, 0) 70%);
}
.page-hero .container { position: relative; }
.page-hero__copy { max-width: 780px; }
.page-hero__copy > * + * { margin-top: 18px; }
.page-hero .h1 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); }
.page-hero .lead { color: rgba(255, 255, 255, .88); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.crumbs a { color: var(--orange-2); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs svg { width: 14px; height: 14px; }

/* 8. Media ----------------------------------------------------------------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-54 { aspect-ratio: 5 / 4; }
.ratio-32 { aspect-ratio: 3 / 2; }
.caption { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.caption::before { content: ""; width: 14px; height: 2px; background: var(--orange); flex: none; transform: translateY(-4px); }

/* Intro statement */
.statement { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -.01em; text-wrap: pretty; }
.statement strong { color: var(--brown); font-weight: 700; }

/* 9. Work cards ------------------------------------------------------------ */
.work-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__num {
  position: absolute; left: 14px; top: 14px; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px;
  display: grid; place-items: center; background: var(--orange); color: var(--ink); font-weight: 700; font-size: 15px;
}
.work-card__body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Detailed work rows (Our work page) */
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.work-row + .work-row { margin-top: clamp(64px, 8vw, 112px); }
.work-row--flip .work-row__media { order: 2; }
.work-row__num { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--brown); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; background: var(--orange-50); color: var(--brown); }
.tag--green { background: var(--green-50); color: var(--green); }

/* 10. Motto band ----------------------------------------------------------- */
.motto { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.motto__arcs { position: absolute; left: 50%; bottom: -150px; width: min(1100px, 140%); transform: translateX(-50%); opacity: .14; pointer-events: none; }
.motto .container { position: relative; }
.motto__words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(34px, 5vw, 54px); }
.motto__word { border-top: 3px solid var(--orange); padding-top: 22px; }
.motto__word strong { display: block; font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #fff; }
.motto__word p { margin-top: 12px; color: rgba(255, 255, 255, .86); }
.motto__line { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; color: #fff; }
.motto__line span { color: var(--orange-2); }

/* 11. Action cards --------------------------------------------------------- */
.action-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.action-card--orange { background: var(--orange); border-color: var(--orange); }
.action-card--orange .h3, .action-card--orange p { color: var(--ink); }
.action-card--orange .link-arrow { color: var(--ink); border-color: var(--ink); }
.action-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-50); color: var(--brown); margin-bottom: 6px; }
.action-card--orange .action-card__icon { background: rgba(255, 255, 255, .35); color: var(--ink); }
.action-card__icon svg { width: 26px; height: 26px; }
.action-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* 12. Notices -------------------------------------------------------------- */
.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--r); background: var(--orange-50); border: 1.5px solid #F7C995; color: var(--ink);
}
.notice__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: var(--ink); flex: none; }
.notice__icon svg { width: 22px; height: 22px; }
.notice__title { display: block; font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--ink); }
.notice p { margin-top: 6px; color: var(--ink-2); }
.notice--info { background: var(--green-50); border-color: #BFDCC5; }
.notice--info .notice__icon { background: var(--green); color: #fff; }

/* Big phone block (Donate) */
.give-card {
  border-radius: var(--r-lg); background: var(--night); color: #fff; padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.give-card::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 123, 0, .35), rgba(244, 123, 0, 0) 70%); pointer-events: none;
}
.give-card > * { position: relative; }
.give-card .h2, .give-card .h3 { color: #fff; }
.give-card p { color: rgba(255, 255, 255, .88); }
.give-card__number { display: inline-block; margin-top: 10px; font-size: clamp(23px, 6.4vw, 40px); font-weight: 700; letter-spacing: .01em; color: var(--orange-2); text-decoration: none; line-height: 1.15; white-space: nowrap; }
@media (min-width: 981px) { .give-card__number { font-size: clamp(28px, 2.9vw, 40px); } }
.give-card__number:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
a.contact-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.contact-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--orange-50); color: var(--brown); }
.contact-card__icon--wa { background: #E3F9EB; color: #128C4A; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { display: block; font-weight: 500; font-size: 16.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }

/* Checklist */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: 2px; }
.checks a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* Partner */
.partner { display: flex; align-items: center; gap: 22px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.partner img { width: 84px; flex: none; }
.partner strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.35; }

/* 13. Gallery + lightbox --------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.gallery__item { margin: 0; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; position: relative; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__cap { margin-top: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.lightbox { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 12, 7, .92); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 16px; }
.lightbox__cap { font-size: 15.5px; text-align: center; max-width: 60ch; }
.lightbox__bar { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--orange); }
.lightbox__btn svg { width: 22px; height: 22px; }

/* 14. CTA band ------------------------------------------------------------- */
.cta-band {
  border-radius: var(--r-lg); background: var(--orange); color: var(--ink); padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden;
}
.cta-band .h2 { color: var(--ink); }
.cta-band p { margin-top: 12px; color: var(--ink); }
.cta-band__emblem { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .12; pointer-events: none; }
.cta-band > *:not(.cta-band__emblem) { position: relative; }

/* 15. Footer --------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .82); padding: clamp(56px, 7vw, 84px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-logo { width: min(300px, 100%); }
.footer-about { margin-top: 18px; font-size: 14.5px; line-height: 1.7; max-width: 36ch; }
.footer-title { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-links li { font-size: 15px; line-height: 1.5; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: rgba(255, 255, 255, .7);
}
.footer-bottom a { color: rgba(255, 255, 255, .85); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* 16. Prose (privacy) ------------------------------------------------------ */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; }
.prose a { color: var(--brown); font-weight: 500; }

/* 17. Reveal (only with JS) ------------------------------------------------ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }

/* 18. Responsive ----------------------------------------------------------- */
@media (max-width: 1140px) {
  .nav, .header-actions .lang { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 980px) {
  .split, .work-row { grid-template-columns: minmax(0, 1fr); }
  .work-row--flip .work-row__media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  /* Photo above, text below on a solid background: always readable on phones */
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; aspect-ratio: 4 / 3; }
  .hero__media::after { background: linear-gradient(0deg, rgba(31, 20, 13, .7) 0%, rgba(31, 20, 13, 0) 45%); }
  .hero__inner { padding-block: 34px 48px; }
  .header-inner { min-height: 72px; }
  .header-actions .btn { padding: 10px 18px; }
  .grid-2, .grid-3, .contact-grid, .motto__words { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .brand img { width: 52px; }
  .brand__name { font-size: 20px; }
  .brand__sub { display: none; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .partner { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .notice { flex-direction: column; }
  .give-card { padding: 28px 22px; }
}
@media (max-width: 380px) {
  .header-actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-menu, .wa-float { display: none !important; }
  body { background: #fff; }
}
