/* Nyancho Orphan Foundation Gambia
   One motif: the leaf. Full lens for pictures, leaf corners for tiles and buttons. */

:root {
  --bg: #ecebe7;
  --surface: #e1dfd9;
  --ink: #38450f;
  --ink-deep: #2a340a;
  --muted: #5d683a;
  --olive-2: #4a5a1c;
  --olive-3: #627033;
  --olive-4: #9aa574;
  --olive-5: #c3c8a6;
  --sage: #d5d8c1;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.75vw, 1.875rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 0.6rem + 7.4vw, 8.25rem);

  --m: clamp(20px, 2.4vw, 36px);
  --r: clamp(28px, 3vw, 48px);        /* leaf corner */
  --r-s: 1.1em;                        /* leaf corner, button scale */
  --gap: 24px;
  --section: clamp(112px, 13vw, 200px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Albert Sans", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--m); max-width: 1680px; margin-inline: auto; }
.h2 {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

/* the motif */
.leaf { border-radius: 100% 0; overflow: hidden; }
.leaf img { width: 100%; height: 100%; object-fit: cover; }

/* buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--bg);
  border: 0; border-radius: var(--r-s) 0;
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-radius .3s var(--ease);
}
.btn:hover { background: var(--ink-deep); border-radius: 0 var(--r-s); }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #fff; }

.link {
  display: inline-block; background: none; border: 0; padding: 0; cursor: pointer;
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; transition: text-underline-offset .2s var(--ease), opacity .2s;
}
.link:hover { text-underline-offset: 3px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--ink-deep);
  color: var(--bg);
  overflow: hidden;
}
.nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--m);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: var(--step-body); letter-spacing: -0.02em; text-decoration: none;
}
.wordmark__leaf { width: 26px; height: 26px; fill: var(--olive-5); transition: transform .5s var(--ease); }
.wordmark:hover .wordmark__leaf { transform: rotate(-18deg); }
.wordmark__rest { font-weight: 400; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; opacity: .86; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.hero__body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: clamp(24px, 5vh, 64px) var(--m) 0;
}
.hero__text { grid-column: 1 / span 7; }
.hero__title {
  font-size: var(--step-display);
  font-weight: 600; letter-spacing: -0.045em; line-height: .94;
  max-width: 9.5em;
}
.hero__lead {
  margin-top: clamp(20px, 3.4vh, 36px);
  max-width: 44ch;
  font-size: var(--step-lead); line-height: 1.35;
  color: var(--bg);
}
.hero__leaf {
  position: absolute; z-index: 2;
  right: -7vw; top: -40px;
  width: 41vw; aspect-ratio: 1 / 1.12;
  max-height: 74svh;
}
.hero__leaf img { transform-origin: 60% 40%; }

/* the folder stack */
.folders { margin-top: auto; padding-top: 88px; position: relative; z-index: 1; }
.folder {
  position: relative;
  height: 54px;
  margin-inline: var(--m);
  border-radius: 0 var(--r) 0 0;
}
.folder .tab, .tab--band {
  position: absolute; bottom: 100%; left: var(--x, 0%);
  display: inline-flex; align-items: center;
  height: 42px; padding: 0 26px; min-width: 190px;
  border-radius: 22px 0 0 0;
  background: inherit; color: inherit;
  font-size: var(--step-body); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease);
}
.folder .tab:hover { transform: translateY(-6px); }
.f1 { background: var(--olive-2); color: var(--bg); }
.f2 { background: var(--olive-3); color: var(--bg); }
.f3 { background: var(--olive-4); color: var(--ink-deep); }
.f4 { background: var(--olive-5); color: var(--ink-deep); }
.f5 { background: var(--bg); color: var(--ink); height: auto; margin-inline: 0; border-radius: 0; }
.f5 .tab { left: var(--m); }
.folder__open {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
  padding: 32px var(--m) 8px;
}
.folder__reg { margin-left: auto; font-size: var(--step-body); }

/* ================= INTRO ================= */
.intro { padding: clamp(72px, 12vh, 140px) var(--m) var(--section); }
.statement {
  max-width: 30em; margin-inline: auto; text-align: center;
  font-size: var(--step-lead);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
}
.thumb {
  display: inline-block; vertical-align: -0.12em;
  width: 1.5em; height: .9em; margin-inline: .1em;
}

/* ================= WORK ================= */
.work { padding-bottom: var(--section); }
.work .h2 { margin-bottom: 96px; }
.bands { position: relative; }
.band {
  position: relative;
  margin-top: 42px;
  border-radius: 0 var(--r) 0 0;
}
.band + .band { margin-top: 46px; }
.band__body { min-height: 0; }
.b1 { background: var(--ink); color: var(--bg); }
.b2 { background: var(--olive-2); color: var(--bg); }
.b3 { background: var(--olive-5); color: var(--ink-deep); }
.b4 { background: var(--sage); color: var(--ink-deep); }
.band__strip { position: relative; background: inherit; border-radius: inherit; height: 64px; display: flex; align-items: center; justify-content: flex-end; padding-inline: var(--m); }
.tab--band {
  left: calc(var(--m) + var(--i) * 18%);
  margin: 0; height: 46px; min-width: 240px;
  font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em;
}
.band__cat { font-size: var(--step-body); }
.band__body {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: 16px var(--m) 48px;
}
.band__pic { grid-column: 1 / span 7; aspect-ratio: 16 / 10; border-radius: var(--r) 0; overflow: hidden; }
.band__pic img { width: 100%; height: 100%; object-fit: cover; }
.band__text { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.band__text p { font-size: var(--step-lead); line-height: 1.38; }

/* ================= HOW (accordion) ================= */
.how { padding-bottom: var(--section); }
.how__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: 64px; align-items: end; }
.how__intro .h2 { grid-column: 1 / span 5; }
.how__intro p { grid-column: 7 / span 5; }
.acc { display: flex; height: 540px; border-radius: var(--r) 0; overflow: hidden; }
.acc__item { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .45s var(--ease); }
.acc__item.is-open { flex-grow: 6.5; }
.s1 { background: var(--ink-deep); color: var(--bg); }
.s2 { background: var(--olive-2); color: var(--bg); }
.s3 { background: var(--olive-3); color: var(--bg); }
.s4 { background: var(--olive-4); color: var(--ink-deep); }
.s5 { background: var(--olive-5); color: var(--ink-deep); }
.acc__btn {
  position: absolute; inset: 0; width: 100%;
  background: none; border: 0; cursor: pointer; padding: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.acc__btn span {
  display: block; padding: 28px 22px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em;
  transition: opacity .3s;
}
.acc__btn:hover span { opacity: .75; }
.acc__item.is-open .acc__btn { pointer-events: none; }
.acc__item.is-open .acc__btn span { opacity: 0; }
.acc__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.acc__item.is-open .acc__panel { opacity: 1; visibility: visible; transition: opacity .4s ease .2s, visibility 0s; }
.acc__inner {
  height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto;
  gap: 0 32px; padding: 36px 36px 40px;
}
.acc__name { grid-column: 1; grid-row: 1; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.acc__inner p { grid-column: 1; grid-row: 3; max-width: 36ch; }
.acc__pic { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-height: 0; }

/* ================= STATS ================= */
.stats { padding-bottom: var(--section); }
.stats__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 8px; grid-template-rows: 14vh 12vh auto 8vh; }
.tile { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: var(--r) 0; }
.tile--a { grid-column: 1 / span 6; grid-row: 1 / span 4; min-height: 70vh; background: var(--ink); color: var(--bg); }
.tile--b { grid-column: 7 / span 3; grid-row: 2 / span 2; min-height: 44vh; background: var(--olive-3); color: var(--bg); }
.tile--c { grid-column: 10 / span 3; grid-row: 3 / span 1; min-height: 34vh; margin-top: 12vh; background: var(--olive-5); color: var(--ink-deep); }
.stats__h { grid-column: 7 / span 6; grid-row: 1; align-self: center; padding-left: 12px; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.tile__fig { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.tile__fig--s { font-size: var(--step-head); }
.tile__cap { max-width: 30ch; }
.tile--a .tile__cap { font-size: var(--step-lead); line-height: 1.3; }

/* ================= VOLUNTEER ================= */
.vol { padding-bottom: var(--section); }
.vol__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: 72px; align-items: end; }
.vol__head .h2 { grid-column: 1 / span 5; }
.vol__head p { grid-column: 7 / span 5; }
.index { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.index__list { grid-column: 1 / span 7; }
.index__row { padding: 22px 0 26px; cursor: default; transition: opacity .24s ease; outline-offset: 6px; }
.index__row + .index__row { margin-top: 4px; }
.index__name {
  font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
  transition: transform .3s var(--ease);
}
.index__desc { margin-top: 10px; max-width: 52ch; }
.index__inline { display: none; }
.index__frame { grid-column: 8 / span 5; position: sticky; top: 8vh; align-self: start; aspect-ratio: 4 / 5; background: var(--surface); }
.index__frame img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .24s ease, transform .9s var(--ease); }
.index__frame img.is-on { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .index__list:hover .index__row:not(:hover) { opacity: .32; }
  .index__row:hover .index__name { transform: translateX(14px); }
}
.vol__cta { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.vol__cta p { max-width: 50ch; }

/* ================= CTA / DEDICATE ================= */
.cta { padding-bottom: var(--section); overflow: hidden; }
.cta__row { display: grid; grid-template-columns: 12vw 1fr 12vw; gap: 12px; margin-inline: -4vw; }
.cta__side { min-height: 400px; border-radius: var(--r) 0; overflow: hidden; }
.cta__side--pic img { width: 100%; height: 100%; object-fit: cover; }
.cta__side--flat { background: var(--olive-4); }
.cta__main {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  background: var(--ink); color: var(--bg);
  border-radius: var(--r) 0; padding: clamp(32px, 4vw, 56px);
}
.cta__h { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.cta__copy > p { margin-top: 20px; max-width: 44ch; }
.cta__form { display: flex; margin-top: 32px; max-width: 520px; background: var(--bg); border-radius: var(--r-s) 0; padding: 6px; }
.cta__form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 0 14px; font-size: var(--step-body); }
.cta__form input::placeholder { color: var(--muted); }
.cta__form input:focus { outline: none; }
.cta__form:focus-within { outline: 3px solid var(--olive-5); outline-offset: 3px; }
.cta__form .btn { background: var(--ink); color: var(--bg); min-height: 48px; padding: 0 22px; }
.cta__form .btn:hover { background: var(--ink-deep); }

.tag {
  position: relative; justify-self: center;
  width: min(100%, 380px); aspect-ratio: 1 / 1.08;
  display: flex; flex-direction: column; justify-content: center;
  padding: 14% 12% 12% 16%;
  background: var(--bg); color: var(--ink);
  border-radius: 62% 0;
  transform: rotate(-6deg);
  transition: transform .5s var(--ease);
}
.tag:hover { transform: rotate(-2deg); }
.tag.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: rotate(-9deg) scale(1.03); } }
.tag__hole { position: absolute; top: 12%; right: 12%; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.tag__no { font-size: var(--step-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.tag__in { margin-top: 18px; font-size: var(--step-small); }
.tag__name {
  font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  overflow-wrap: anywhere; min-height: 1.1em;
}
.tag__by { margin-top: 14px; max-width: 17em; font-size: var(--step-small); line-height: 1.4; }

/* ================= GIVE ================= */
.give { padding-bottom: var(--section); }
.give__cat { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 56px; }
.give__count { font-size: var(--step-body); }
.give__list { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; }
.give__list li { display: flex; gap: 22px; align-items: flex-start; }
.give__pic { flex: none; width: 72px; height: 72px; object-fit: cover; transition: border-radius .4s var(--ease); }
.give__list li:hover .give__pic { border-radius: 0 100%; }
.give__name { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.2; }
.give__name a { text-decoration: none; }
.give__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.give__name span { font-size: var(--step-body); font-weight: 500; white-space: nowrap; padding-top: .2em; }
.give__desc { margin-top: 8px; max-width: 46ch; }
.give__note { margin-top: 6px; font-weight: 500; color: var(--olive-3); }

/* ================= GALLERY ================= */
.gal { padding: 40px 0 var(--section); }
.gal__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.gal__text { grid-column: 1 / span 5; }
.gal__text p { margin-top: 28px; max-width: 46ch; }
.gal__fig { grid-column: 7 / span 6; }
.gal__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.4;
  padding: 0; border: 0; background: var(--surface); cursor: pointer;
}
.gal__frame img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.gal__frame img.is-on { opacity: 1; }
.gal__cap { margin-top: 16px; font-size: var(--step-small); text-align: right; min-height: 1.5em; }

/* ================= FAQ ================= */
.faq { padding-bottom: var(--section); }
.faq__wrap { width: min(100% - 2 * var(--m), 960px); margin-inline: auto; }
.faq .h2 { margin-bottom: 88px; }
.cards { position: relative; }
.card {
  position: relative;
  margin-top: -6px;
  padding: 0 32px 50px;
  border-radius: 0 var(--r) 0 0;
  z-index: var(--n);
}
.card:first-child { margin-top: 0; }
.c1 { background: var(--ink); color: var(--bg); }
.c2 { background: var(--olive-5); color: var(--ink-deep); }
.c3 { background: var(--sage); color: var(--ink-deep); }
.card__tab {
  position: absolute; bottom: 100%; left: calc(var(--n) * 140px);
  width: 200px; height: 40px; display: flex; align-items: center; padding-inline: 22px;
  background: inherit; border-radius: 20px 0 0 0;
  font-size: var(--step-body); font-weight: 500;
}
.card__q {
  display: block; width: 100%; text-align: left;
  min-height: 70px; padding: 26px 0 0; background: none; border: 0; cursor: pointer;
  font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2;
}
.card__q:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.card__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.card__a > div { overflow: hidden; }
.card__a p { max-width: 54ch; padding: 14px 0 4px; }
.card.is-open .card__a { grid-template-rows: 1fr; }

/* ================= CONTACT (coupon) ================= */
.contact { padding: 0 var(--m) var(--section); }
.coupon {
  position: relative;
  max-width: 1280px; margin-inline: auto;
  display: grid; grid-template-columns: 46fr 54fr;
  background: var(--ink); color: var(--bg);
  border-radius: var(--r) 0;
  min-height: 560px;
}
.coupon__notch { position: absolute; left: 46%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: var(--bg); }
.coupon__notch--t { top: -18px; }
.coupon__notch--b { bottom: -18px; }
.coupon__left {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 56px 48px;
  border-right: 6px dotted var(--bg);
}
.coupon__h { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.coupon__info p + p { margin-top: 20px; }
.coupon__info a { font-weight: 500; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.coupon__right { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--olive-2); color: var(--bg);
  border: 2px solid transparent; border-radius: 0;
  font-size: var(--step-body);
  transition: border-color .2s, background-color .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; cursor: pointer; background-image: none; }
.form ::placeholder { color: #d9dccb; opacity: 1; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--olive-5); background: #536424; }
.form .is-bad { border-color: #f0c9a8; }
.form__send {
  margin-top: 6px; min-height: 58px; width: 100%;
  background: var(--bg); color: var(--ink); border: 0; cursor: pointer;
  border-radius: 0 0 var(--r-s) 0;
  font-weight: 600; font-size: var(--step-body);
  transition: background-color .2s, transform .15s;
}
.form__send:hover { background: #fff; }
.form__send:active { transform: scale(.99); }
.form__send[disabled] { opacity: .7; cursor: progress; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; outline: none; }
.sent[hidden] { display: none; }
.sent__leaf { width: 96px; height: 96px; fill: var(--olive-5); }
.sent__h { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.sent__p { max-width: 40ch; }
.link--light { color: var(--bg); }

/* ================= FOOTER ================= */
.foot { background: var(--ink-deep); color: var(--bg); padding: 72px var(--m) 32px; }
.foot__mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; }
.foot__mark span {
  flex: 1; height: var(--h);
  display: flex; align-items: flex-end; justify-content: center;
  background: var(--olive-5); color: var(--ink-deep);
  border-radius: var(--r) 0 0 0;
  font-size: var(--step-display); font-weight: 600; line-height: .78; letter-spacing: -0.04em;
  overflow: hidden;
  transform-origin: bottom;
}
.foot__mark span:nth-child(2n) { background: var(--olive-4); }
.foot__mark span:nth-child(3n) { background: var(--bg); }
.foot__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: 56px; }
.foot__cols ul { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; }
.foot__cols ul:first-child { grid-column: 1 / span 2; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot__contact { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.credits { margin-top: 56px; max-width: 120ch; font-size: var(--step-small); line-height: 1.6; }
.credits a { text-underline-offset: 3px; }
.foot__last { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ================= ENTRANCES ================= */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .hero__leaf img { animation: settle 2.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
  .js .folder { animation: rise .9s var(--ease) both; }
  .js .f1 { animation-delay: .15s; } .js .f2 { animation-delay: .22s; } .js .f3 { animation-delay: .29s; } .js .f4 { animation-delay: .36s; } .js .f5 { animation-delay: .43s; }
  @keyframes rise { from { transform: translateY(60px); } to { transform: none; } }
  .js .thumb { transform: scale(.4); opacity: 0; transition: transform .7s var(--ease), opacity .5s ease; }
  .js .statement.in .thumb { transform: none; opacity: 1; }
  .js .statement.in .thumb:nth-of-type(2) { transition-delay: .12s; }
  .js .statement.in .thumb:nth-of-type(3) { transition-delay: .24s; }
  .js .statement.in .thumb:nth-of-type(4) { transition-delay: .36s; }
  .js .foot__mark span { transform: scaleY(.2); transition: transform 1s var(--ease); }
  .js .foot__mark.in span { transform: none; }
  .js .foot__mark.in span:nth-child(2) { transition-delay: .06s; } .js .foot__mark.in span:nth-child(3) { transition-delay: .12s; }
  .js .foot__mark.in span:nth-child(4) { transition-delay: .18s; } .js .foot__mark.in span:nth-child(5) { transition-delay: .24s; }
  .js .foot__mark.in span:nth-child(6) { transition-delay: .3s; } .js .foot__mark.in span:nth-child(7) { transition-delay: .36s; }
  .js .band__pic img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
  .js .band.in .band__pic img { transform: none; }
  .js .sent:not([hidden]) .sent__leaf { animation: stamp .7s var(--ease) both; }
  @keyframes stamp { from { transform: scale(.3) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ================= TABLET ================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero__text { grid-column: 1 / span 9; }
  .hero__leaf { width: 46vw; right: -14vw; top: 30px; }
  .band__pic { grid-column: 1 / span 12; }
  .band__text { grid-column: 1 / span 12; }
  .tab--band { left: calc(var(--m) + var(--i) * 12%); }
  .acc__inner { grid-template-columns: 1fr; }
  .acc__pic { display: none; }
  .foot__contact { grid-column: 6 / span 7; }
  .card__tab { left: calc(var(--n) * 90px); width: 170px; }
  .faq { overflow-x: clip; }
}

/* ================= PHONE ================= */
@media (max-width: 720px) {
  :root { --gap: 16px; }
  .wordmark__rest { display: none; }
  .hero__body { display: flex; flex-direction: column; padding-top: 8px; }
  .hero__leaf { position: relative; right: auto; top: auto; align-self: flex-end; width: 62vw; margin-right: calc(-1 * var(--m) - 12vw); max-height: none; order: -1; margin-bottom: 20px; aspect-ratio: 1 / .78; }
  .hero__title { font-size: clamp(2.75rem, 12.4vw, 4rem); max-width: none; }
  .hero__lead { font-size: var(--step-lead); }
  .folders { padding-top: 64px; }
  .folder { height: 48px; }
  .folder .tab { height: 34px; min-width: 0; padding: 0 14px; font-size: var(--step-small); }
  .f2 .tab { left: 22%; } .f3 .tab { left: 60%; } .f4 .tab { left: 40%; }
  .f1 .tab { left: 0; }
  .folder__open { flex-direction: column; align-items: stretch; }
  .folder__open .btn { width: 100%; }
  .folder__reg { margin-left: 0; }

  .intro { padding: 72px var(--m) 112px; }
  .statement { text-align: left; font-size: 1.5rem; max-width: none; }
  .thumb:nth-of-type(n+3) { display: none; }

  .work .h2 { margin-bottom: 72px; }
  .band { position: relative; top: auto; min-height: 0; margin-top: 52px; }
  .band + .band { margin-top: 52px; }
  .band__strip { height: auto; padding-block: 18px 0; justify-content: flex-start; }
  .tab--band { left: var(--m); min-width: 0; height: 40px; }
  .band__pic { aspect-ratio: 4 / 3; }
  .band__text p { font-size: var(--step-body); }

  .how__intro, .vol__head { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .acc { flex-direction: column; height: auto; }
  .acc__item { flex: none; min-height: 64px; }
  .acc__btn { position: relative; height: 64px; align-items: center; }
  .acc__btn span { writing-mode: horizontal-tb; transform: none; padding: 0 20px; }
  .acc__item.is-open .acc__btn { display: none; }
  .acc__panel { position: relative; inset: auto; display: none; }
  .acc__item.is-open .acc__panel { display: block; }
  .acc__inner { display: block; padding: 24px 20px 28px; }
  .acc__inner p { margin-top: 16px; }

  .stats__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 6px; }
  .stats__h { grid-column: 1 / -1; grid-row: 1; padding: 0 0 16px; }
  .tile--a { grid-column: 1 / -1; grid-row: 2; min-height: 64vw; }
  .tile--b { grid-column: 1; grid-row: 3; min-height: 52vw; }
  .tile--c { grid-column: 2; grid-row: 3; min-height: 52vw; margin-top: 32px; }
  .tile { padding: 20px; }
  .tile__fig { font-size: 15vw; }
  .tile__fig--s { font-size: 9vw; }

  .index { display: block; }
  .index__frame { display: none; }
  .index__inline { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; }
  .index__row { padding: 0 0 48px; }

  .cta__row { grid-template-columns: 1fr 1fr; margin-inline: 0; padding-inline: var(--m); gap: 6px; }
  .cta__main { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 1fr; gap: 40px; padding: 28px 22px 36px; }
  .cta__side { min-height: 120px; grid-row: 2; }
  .cta__form { flex-direction: column; gap: 6px; }
  .cta__form input { min-height: 48px; }
  .tag { width: 100%; max-width: 330px; }

  .give__list { grid-template-columns: 1fr; gap: 32px; }
  .give__pic { width: 56px; height: 56px; }

  .gal__grid { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
  .gal__fig { width: 84vw; align-self: center; }
  .gal__cap { text-align: center; }

  .faq .h2 { margin-bottom: 72px; }
  .card { padding: 0 20px 26px; }
  .card__tab { width: 128px; left: calc(var(--n) * 40px); padding-inline: 16px; font-size: var(--step-small); }
  .card__q { padding-top: 22px; }

  .contact { padding-inline: 12px; }
  .coupon { grid-template-columns: 1fr; }
  .coupon__notch { left: auto; top: 44%; margin: -18px 0 0; }
  .coupon__notch--t { left: -18px; }
  .coupon__notch--b { right: -18px; bottom: auto; }
  .coupon__left { padding: 36px 22px; border-right: 0; border-bottom: 6px dotted var(--bg); }
  .coupon__right { padding: 32px 22px 36px; }

  .foot__mark { height: 22svh; min-height: 140px; }
  .foot__mark span { border-radius: 18px 0 0 0; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols ul, .foot__cols ul:first-child { grid-column: auto; }
  .foot__contact { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
}
