/* Fondation Give Love
   Colours: the flag of DR Congo (sky blue, red, yellow) with the royal blue of the wordmark. */

:root {
  --sky: #3fa9e6;
  --sky-pale: #e8f4fc;
  --sky-mid: #d6ecfa;
  --paper: #ffffff;
  --blue: #2346d4;
  --navy: #0b1d5c;
  --deep: #0e2a8c;
  --red: #d0202a;
  --red-strong: #a9141c;
  --yellow: #f7d117;
  --ink: var(--navy);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --s-small: 0.9375rem;                               /* 15 */
  --s-body: 1.125rem;                                 /* 18 */
  --s-lead: clamp(1.375rem, 1rem + 1vw, 2rem);        /* 22 to 32 */
  --s-head: clamp(2.75rem, 1.4rem + 5vw, 5.5rem);     /* 44 to 88 */
  --s-mark: 13.4vw;

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 13rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--s-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd, fieldset, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; background: var(--sky-pale); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 1rem; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; letter-spacing: -0.025em; line-height: 1; }
p { text-wrap: pretty; }
.wrap { padding-inline: var(--margin); }
.head { font-size: var(--s-head); }
.lead { font-family: var(--serif); font-size: var(--s-lead); line-height: 1.3; letter-spacing: -0.01em; }
.nums { font-variant-numeric: tabular-nums; }

/* ---------- controls ---------- */
.button { position: relative; translate: var(--mx, 0px) var(--my, 0px); display: inline-flex; align-items: center; justify-content: center; min-height: 3.375rem; padding: 0 1.75rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--s-body); white-space: nowrap; transition: translate 500ms var(--ease-out), transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.96); }
.button--red { background: var(--red); color: #fff; }
.button--ink { background: var(--navy); color: #fff; }
.button--light { background: var(--paper); color: var(--navy); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; font-weight: 500; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button--red:hover { background: var(--red-strong); }
  .button--ink:hover { background: var(--blue); }
  .button--light:hover { background: var(--yellow); }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--blue); }
}

.stripe { display: flex; height: 12px; width: 100%; }
.stripe i { flex: 1; background: var(--red); }
.stripe i:nth-child(2) { background: var(--sky); }
.stripe i:nth-child(3) { background: var(--yellow); }
.star { width: 40px; height: 40px; fill: var(--yellow); flex: none; }

/* ---------- hero ---------- */
.hero { background: var(--paper); padding-top: 5.75rem; padding-bottom: clamp(3rem, 6vw, 6rem); }
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; background: var(--paper); transition: transform 600ms var(--ease-out), padding 400ms var(--ease-out); }
.bar.is-scrolled { padding-block: 0.75rem; }
.bar.is-hidden { transform: translateY(-100%); }
.mark { font-family: var(--serif); font-weight: 700; font-size: 1.375rem; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: var(--blue); text-decoration: none; }
.bar-links { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); font-weight: 500; }
.mark-xl { margin-top: clamp(0.5rem, 1.5vw, 1.5rem); font-size: var(--s-mark); font-weight: 700; line-height: 0.86; letter-spacing: -0.03em; text-transform: uppercase; color: var(--blue); text-align: center; font-variation-settings: "opsz" 60; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lines [data-line] { display: block; }
.stripe--hero { height: clamp(10px, 1.3vw, 20px); margin-top: clamp(1.25rem, 2.6vw, 2.5rem); transform-origin: left center; }
.hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: clamp(2rem, 4vw, 4rem); align-items: start; }
.hero-copy { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 1.5rem; }
.hero-slogan { font-family: var(--serif); font-style: italic; font-size: var(--s-lead); line-height: 1.2; color: var(--navy); }
.hero-text { max-width: 34ch; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.hero-photo { grid-column: 5 / 13; aspect-ratio: 16 / 9; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 900px) {
  .bar-links { display: none; }
  .hero-copy, .hero-photo { grid-column: 1 / -1; }
  .hero-photo { margin-top: 2.5rem; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .mark { font-size: 1.375rem; }
  .bar .button { min-height: 2.75rem; padding: 0 1.25rem; }
  .mark-xl { font-size: 15.2vw; margin-top: 1.5rem; }
  .hero-actions .button { width: 100%; }
}

/* ---------- mission ---------- */
.mission { background: var(--sky); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-right: var(--margin); align-items: center; }
.mission-photo { grid-column: 1 / 7; align-self: stretch; min-height: 100svh; overflow: hidden; }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mission-copy { grid-column: 8 / 13; padding-block: var(--section); display: flex; flex-direction: column; gap: 1.75rem; }
.mission-copy .head { color: var(--navy); }
.mission-copy p { max-width: 42ch; }
.mission-copy .lead { max-width: 34ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem var(--gutter); margin-top: 2.5rem; }
.facts dt { font-family: var(--serif); font-size: var(--s-head); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.facts dd { margin-top: 0.6rem; font-size: var(--s-small); max-width: 22ch; }
@media (max-width: 900px) {
  .mission { padding-right: 0; }
  .mission-photo { grid-column: 1 / -1; min-height: 0; aspect-ratio: 4 / 5; }
  .mission-copy { grid-column: 1 / -1; padding: 4.5rem var(--margin); }
}

/* ---------- projects ---------- */
.projects-h { padding-top: var(--section); padding-bottom: clamp(3rem, 6vw, 6rem); color: var(--blue); max-width: 14ch; box-sizing: content-box; }
.proj { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: clamp(5rem, 10vw, 10rem) var(--margin); align-items: center; }
.proj--deep { background: var(--deep); color: #fff; }
.proj--white { background: var(--paper); }
.proj--pale { background: var(--sky-pale); }
.proj-media { grid-column: 1 / 8; position: relative; padding-bottom: 12%; }
.proj-big { width: 82%; aspect-ratio: 4 / 5; overflow: hidden; }
.proj-big img, .proj-small img { width: 100%; height: 100%; object-fit: cover; }
.proj-small { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 1; overflow: hidden; }
.proj-text { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.proj-text p { max-width: 40ch; }
.chip { display: block; width: 72px; height: 12px; }
.chip--red { background: var(--red); }
.chip--yellow { background: var(--yellow); }
.chip--sky { background: var(--sky); }
.proj-name { font-size: var(--s-head); }
.proj--deep .proj-name { color: #fff; }
.proj--white .proj-name, .proj--pale .proj-name { color: var(--blue); }
.proj-place { font-size: var(--s-small); font-weight: 600; display: inline-flex; gap: 0.5rem; }
.proj-lead { font-family: var(--serif); font-size: var(--s-lead); line-height: 1.25; letter-spacing: -0.01em; }
.proj-text .button { margin-top: 1rem; }
.proj--flip .proj-media { grid-column: 6 / 13; grid-row: 1; }
.proj--flip .proj-big { margin-left: auto; }
.proj--flip .proj-small { right: auto; left: 0; }
.proj--flip .proj-text { grid-column: 1 / 5; grid-row: 1; }
.proj--deep .proj-big img { object-position: 50% 30%; }
@media (max-width: 900px) {
  .proj { padding-block: 4.5rem; }
  .proj-media, .proj--flip .proj-media, .proj-text, .proj--flip .proj-text { grid-column: 1 / -1; grid-row: auto; }
  .proj-text { margin-top: 2.5rem; }
  .proj-big { width: 86%; }
}

/* ---------- film ---------- */
.film { position: relative; height: 92svh; min-height: 520px; overflow: hidden; background: var(--navy); }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-card { position: absolute; left: var(--margin); bottom: var(--margin); max-width: 46rem; background: var(--paper); padding: clamp(1.5rem, 3vw, 2.5rem); }
.film-card p { font-family: var(--serif); font-size: var(--s-lead); line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
@media (max-width: 560px) {
  .film { height: auto; min-height: 0; overflow: visible; background: var(--paper); }
  .film-video { position: relative; aspect-ratio: 4 / 5; }
  .film-card { position: relative; left: auto; bottom: auto; margin: -5rem 1rem 0; }
}

/* ---------- how ---------- */
.how { background: var(--red); color: #fff; padding-block: var(--section); }
.how-h { color: #fff; max-width: 12ch; }
.steps { margin-top: clamp(3.5rem, 7vw, 7rem); display: flex; flex-direction: column; gap: clamp(3.5rem, 7vw, 6.5rem); }
.steps li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.step-name { grid-column: 1 / 7; font-size: var(--s-head); font-weight: 300; font-style: italic; color: #fff; }
.step-body { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 0.9rem; padding-top: 0.6rem; }
.step-body p { max-width: 40ch; }
.step-note { font-weight: 700; font-size: var(--s-small); display: inline-flex; align-items: center; gap: 0.6rem; }
.step-note::before { content: ""; width: 28px; height: 8px; background: var(--yellow); }
@media (max-width: 900px) {
  .step-name, .step-body { grid-column: 1 / -1; }
  .step-body { padding-top: 1rem; }
}

/* ---------- who ---------- */
.who { padding-block: var(--section); }
.who-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.who-top .head { grid-column: 1 / 8; color: var(--blue); }
.who-top p { grid-column: 9 / 13; max-width: 32ch; }
.mosaic { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-items: start; }
.mosaic figure { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.mosaic p { margin-top: 0.85rem; font-size: var(--s-small); font-weight: 600; }
.m1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.m1 figure { aspect-ratio: 4 / 5.6; }
.m2 { grid-column: 7 / 13; }
.m2 figure { aspect-ratio: 3 / 2; }
.m3 { grid-column: 7 / 10; }
.m3 figure { aspect-ratio: 4 / 5; }
.m4 { grid-column: 10 / 13; }
.m4 figure { aspect-ratio: 4 / 5; }
.m5 { grid-column: 3 / 11; }
.m5 figure { aspect-ratio: 21 / 9; }
.m5 img { object-position: 50% 40%; }
@media (hover: hover) and (pointer: fine) { .mosaic li:hover img { transform: scale(1.04); } }
@media (max-width: 900px) {
  .who-top .head, .who-top p { grid-column: 1 / -1; }
  .who-top p { margin-top: 1.25rem; }
  .mosaic { gap: 2rem 0.75rem; }
  .m1, .m2, .m5 { grid-column: 1 / -1; grid-row: auto; }
  .m1 figure { aspect-ratio: 4 / 5; }
  .m3 { grid-column: 1 / 7; }
  .m4 { grid-column: 7 / 13; }
  .m5 figure { aspect-ratio: 3 / 2; }
}

/* ---------- give ---------- */
.give { background: var(--sky); padding-block: var(--section); }
.give-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.give-copy { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; color: var(--navy); }
.give-copy .head { grid-column: 1 / 7; }
.give-copy p { grid-column: 8 / 13; max-width: 40ch; }
.sheet { grid-column: 1 / -1; margin-top: clamp(3rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); background: var(--paper); }
.sheet-form { padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-content: start; }
.choice { grid-column: 1 / -1; border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice legend { padding: 0; margin-bottom: 0.75rem; font-weight: 600; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--sky-pale); color: var(--navy); font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.choice input:checked + span { background: var(--blue); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.choice label:active span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .choice input:not(:checked) + span:hover { background: var(--sky-mid); } }
.f { display: flex; flex-direction: column; gap: 0.45rem; font-weight: 600; }
.f--wide { grid-column: 1 / -1; }
.f input, .f select, .f textarea { width: 100%; min-height: 3.375rem; padding: 0.8rem 1rem; background: var(--sky-pale); border: 0; border-bottom: 2px solid var(--blue); border-radius: 0; font-weight: 400; color: var(--navy); transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease; }
.f textarea { resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { background: var(--sky-mid); outline: none; border-bottom-color: var(--red); }
.sheet-form .button { justify-self: start; grid-column: 1 / -1; margin-top: 0.5rem; }
.tag { background: var(--deep); color: #fff; padding: clamp(2rem, 3.5vw, 3rem); border-left: 6px dotted var(--sky); display: flex; flex-direction: column; gap: 1.25rem; }
.tag-head { font-family: var(--serif); font-size: var(--s-lead); font-weight: 700; line-height: 1; }
.tag .stripe { height: 8px; }
.tag dl { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; margin-top: 0.75rem; }
.tag dt { color: var(--yellow); font-weight: 600; }
.tag dd { overflow-wrap: anywhere; }
.tag dd.flash { animation: flash 420ms var(--ease-out); }
@keyframes flash { from { opacity: 0.2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tag .star { margin-top: auto; align-self: flex-end; }
@media (max-width: 900px) {
  .give-copy .head, .give-copy p { grid-column: 1 / -1; }
  .give-copy p { margin-top: 1.25rem; }
  .sheet { grid-template-columns: 1fr; }
  .tag { border-left: 0; border-top: 6px dotted var(--sky); }
}
@media (max-width: 560px) {
  .sheet-form { grid-template-columns: 1fr; }
  .sheet-form .button { width: 100%; }
}

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: var(--section); align-items: start; }
.faq-side { grid-column: 1 / 5; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.faq-side .head { color: var(--blue); }
.faq-side p { max-width: 32ch; }
.qa { grid-column: 6 / 13; display: flex; flex-direction: column; gap: 0.5rem; }
.qa details { background: var(--sky-pale); padding: 0 clamp(1.25rem, 2.5vw, 2rem); transition: background-color var(--t-hover) ease; }
.qa details[open] { background: var(--sky-mid); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 1.5rem 3rem 1.5rem 0; font-family: var(--serif); font-size: var(--s-lead); line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); transition: color var(--t-hover) ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 18px; height: 2px; background: currentColor; transition: transform var(--t-hover) var(--ease-out); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); }
.qa details p { padding-bottom: 1.75rem; max-width: 56ch; }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--blue); } }
@media (max-width: 900px) {
  .faq-side, .qa { grid-column: 1 / -1; }
  .qa { margin-top: 3rem; }
  .faq-side .button { width: 100%; }
}

/* ---------- contact ---------- */
.contact { position: relative; min-height: 100svh; background: var(--deep); overflow: clip; }
.contact-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.visit { position: absolute; top: clamp(2rem, 5vw, 4rem); right: clamp(1rem, 5vw, 4rem); width: 440px; background: var(--paper); padding: 2.25rem 2.25rem 0; }
.visit-h { font-size: var(--s-head); color: var(--blue); }
.visit-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.visit-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.visit-list dt { font-size: var(--s-small); font-weight: 700; }
.visit-list dd { overflow-wrap: anywhere; }
.visit-btn { display: flex; width: calc(100% + 4.5rem); margin: 2.25rem -2.25rem 0; min-height: 56px; border-radius: 0; }
@media (max-width: 900px) {
  .contact { min-height: 0; background: var(--paper); padding-bottom: 1rem; }
  .contact-photo { position: relative; height: 70svh; }
  .visit { position: relative; top: auto; right: auto; width: auto; margin: -6rem var(--margin) 0; }
}
@media (max-width: 560px) {
  .visit { padding: 1.75rem 1.5rem 0; }
  .visit-list div { grid-template-columns: 1fr; gap: 0.15rem; }
  .visit-btn { width: calc(100% + 3rem); margin: 2rem -1.5rem 0; }
}

/* ---------- footer ---------- */
.foot { background: var(--deep); color: #fff; padding-top: var(--section); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.foot-sign { grid-column: 1 / 7; font-family: var(--serif); font-size: var(--s-lead); line-height: 1.25; letter-spacing: -0.01em; max-width: 26ch; }
.foot-links { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 0.8rem; }
.foot-mark { margin-top: clamp(4rem, 9vw, 9rem); font-family: var(--serif); font-weight: 700; font-size: 16.2vw; line-height: 0.8; letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; color: #fff; text-align: center; font-variation-settings: "opsz" 60; padding-bottom: 0.04em; }
.foot .stripe { margin-top: clamp(1.5rem, 3vw, 3rem); height: clamp(10px, 1.3vw, 20px); }
.imprint { padding-block: 1.75rem; font-size: var(--s-small); text-align: center; }
@media (max-width: 900px) {
  .foot-sign, .foot-links { grid-column: 1 / -1; }
  .foot-links { margin-top: 2.5rem; }
}

/* ---------- ribbon ---------- */
.ribbon { background: var(--yellow); color: var(--navy); overflow: hidden; padding-block: clamp(1.25rem, 2.5vw, 2.25rem); }
.ribbon-track { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); width: max-content; padding-right: clamp(1.5rem, 3vw, 3rem); }
.ribbon span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--s-head); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.ribbon .star { width: clamp(28px, 3.4vw, 52px); height: clamp(28px, 3.4vw, 52px); fill: var(--red); }

/* ---------- form states ---------- */
.sheet { position: relative; }
.sheet-form { grid-area: 1 / 1; }
.tag { grid-area: 1 / 2; position: relative; overflow: hidden; }
.done { grid-area: 1 / 1; z-index: 2; background: var(--paper); padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.5rem; visibility: hidden; opacity: 0; }
.done:focus { outline: none; }
.is-sent .done { visibility: visible; opacity: 1; }
.done-star { width: 64px; height: 64px; fill: var(--yellow); }
.done-h { font-family: var(--serif); font-size: var(--s-head); line-height: 1; letter-spacing: -0.03em; color: var(--blue); }
.done-text { max-width: 44ch; }
.done-text b { font-weight: 600; color: var(--navy); }
.done-stripe { max-width: 320px; height: 10px; }
.send { min-width: 13rem; }
.send-dots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px; opacity: 0; }
.send-dots i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.is-sending .send-label { opacity: 0; }
.is-sending .send-dots { opacity: 1; }
.is-sending .sheet-form .f, .is-sending .choice { opacity: 0.45; pointer-events: none; }
.form-error { grid-column: 1 / -1; min-height: 1.5em; color: var(--red); font-weight: 600; font-size: var(--s-small); }
.f.is-bad input { border-bottom-color: var(--red); background: #fdeced; }
.stamp { position: absolute; right: 5.75rem; bottom: 1.5rem; width: 132px; height: 132px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 700; font-size: var(--s-body); line-height: 1.1; rotate: -12deg; opacity: 0; scale: 1.8; pointer-events: none; }
.is-sent .stamp { opacity: 1; scale: 1; }
@media (max-width: 900px) {
  .sheet-form, .done { grid-area: 1 / 1; }
  .tag { grid-area: 2 / 1; }
  .stamp { width: 104px; height: 104px; bottom: auto; top: 1.5rem; }
}

/* ---------- motion: the content stays readable without any of it ---------- */
.loader { display: none; }
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.12em 0.1em 0; margin: 0 -0.12em -0.1em 0; }
.is-split .wi, .is-letters .ch { display: inline-block; }
.foot-mark { overflow: hidden; }
[data-speed] { translate: 0 var(--py, 0px); scale: 1.14; }
[data-float] { translate: 0 var(--fy, 0px); }

@media (prefers-reduced-motion: no-preference) {
  :root { --start: 1.5s; interpolate-size: allow-keywords; }

  /* the opening: a blue sheet with the name lifts away */
  .js .loader { display: flex; position: fixed; inset: 0; z-index: 100; background: var(--deep); flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; animation: loader-out 1100ms var(--ease-in-out) 1250ms forwards; }
  .loader-mark::before { content: "Give Love"; }
  .loader-mark { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(2.75rem, 8vw, 7rem); line-height: 1; letter-spacing: -0.03em; color: #fff; clip-path: inset(0 0 100% 0); animation: clip-down 900ms var(--ease-out) 150ms forwards; }
  .loader-stripe { width: min(420px, 60vw); height: 10px; transform: scaleX(0); transform-origin: left; animation: grow 900ms var(--ease-in-out) 350ms forwards; }

  /* hero */
  .js .mark-xl:not(.split) [data-line] { transform: translateY(105%); animation: line-up 1000ms var(--ease-out) forwards; animation-delay: calc(var(--start) + var(--i, 0) * 120ms); }
  .js .mark-xl .ch { transform: translateY(108%) rotate(7deg); transform-origin: left bottom; animation: line-up 1200ms var(--ease-out) forwards; animation-delay: calc(var(--start) - 0.25s + var(--i, 0) * 140ms + var(--ci, 0) * 38ms); }
  .js .stripe--hero { transform: scaleX(0); animation: grow 1300ms var(--ease-in-out) calc(var(--start) + 0.2s) forwards; }
  .js [data-rise] { opacity: 0; transform: translateY(24px); animation: rise 1000ms var(--ease-out) forwards; animation-delay: calc(var(--start) + 0.3s + var(--i, 0) * 90ms); }
  .js .hero-photo { clip-path: inset(100% 0 0 0); animation: clip-open 1500ms var(--ease-in-out) calc(var(--start) + 0.35s) forwards; }
  .js .hero-photo img { scale: 1.35; animation: settle 2200ms var(--ease-soft) calc(var(--start) + 0.35s) forwards; }
  .js .bar { animation: bar-in 900ms var(--ease-out) calc(var(--start) + 0.1s) both; }

  /* section parts */
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .is-split .wi { transform: translateY(110%); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--wi, 0) * 70ms); }
  .js .is-split.is-in .wi { transform: none; }
  .js .foot-mark .ch { transform: translateY(100%); transition: transform 1200ms var(--ease-out); transition-delay: calc(var(--ci, 0) * 45ms); }
  .js .foot-mark.is-in .ch { transform: none; }

  /* pictures open like a shutter and settle */
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1400ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { scale: 1.4; transition: scale 2000ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { scale: 1.14; }
  .js .mosaic li img { scale: 1.2; transition: scale 1800ms var(--ease-soft), transform 900ms var(--ease-soft); }
  .js .mosaic li.is-in img { scale: 1; }

  /* the film and the red section open out to full width */
  [data-expand] { clip-path: inset(0 var(--inset, 0%) round var(--round, 0px)); }

  /* ribbon */
  .ribbon-track { animation: marquee 38s linear infinite; }

  /* accordion opens smoothly where supported */
  .qa details::details-content { block-size: 0; overflow: hidden; transition: block-size 550ms var(--ease-out), content-visibility 550ms allow-discrete; }
  .qa details[open]::details-content { block-size: auto; }

  /* form */
  .send-label, .send-dots { transition: opacity 250ms ease; }
  .send-dots i { animation: dot 900ms var(--ease-in-out) infinite; }
  .send-dots i:nth-child(2) { animation-delay: 120ms; }
  .send-dots i:nth-child(3) { animation-delay: 240ms; }
  .sheet-form .f, .choice { transition: opacity 400ms ease; }
  .f.is-bad { animation: shake 420ms var(--ease-out); }
  .done { clip-path: circle(0% at 12% 88%); transition: clip-path 1100ms var(--ease-in-out), opacity 1ms linear 1100ms, visibility 1ms linear 1100ms; }
  .is-sent .done { clip-path: circle(150% at 12% 88%); transition: clip-path 1100ms var(--ease-in-out), opacity 1ms, visibility 1ms; }
  .done > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .is-sent .done > * { opacity: 1; transform: none; }
  .is-sent .done > :nth-child(1) { transition-delay: 450ms; }
  .is-sent .done > :nth-child(2) { transition-delay: 540ms; }
  .is-sent .done > :nth-child(3) { transition-delay: 630ms; }
  .is-sent .done > :nth-child(4) { transition-delay: 720ms; }
  .is-sent .done > :nth-child(5) { transition-delay: 810ms; }
  .done-star { rotate: -120deg; scale: 0.3; transition: rotate 1400ms var(--ease-out) 450ms, scale 1100ms var(--ease-out) 450ms; }
  .is-sent .done-star { rotate: 0deg; scale: 1; }
  .done-stripe { transform: scaleX(0); transform-origin: left; transition: transform 1200ms var(--ease-in-out) 800ms; }
  .is-sent .done-stripe { transform: none; }
  .stamp { transition: opacity 250ms ease, scale 650ms var(--ease-out); }
  .is-sent .stamp { transition-delay: 900ms; }
}
@keyframes loader-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes clip-down { to { clip-path: inset(0); } }
@keyframes clip-open { to { clip-path: inset(0); } }
@keyframes settle { to { scale: 1.14; } }
@keyframes bar-in { from { opacity: 0; transform: translateY(-100%); } }
@keyframes line-up { to { transform: none; } }
@keyframes grow { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-6px); opacity: 1; } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
