/* Pumpkin House public site styles */

:root {
  --blue: #005B8C;
  --blue-dark: #004A73;
  --blue-tile: #1A6D99;
  --blue-text: #D6E2F0;
  --orange: #E54E26;
  --orange-dark: #C7401C;
  --orange-deep: #9E3215;
  --orange-soft: #FFC9B3;
  --peach: #FFF7F2;
  --peach-tint: #FBE7DD;
  --line: #F0E4DC;
  --ink: #1F2A37;
  --ink-2: #374151;
  --ink-3: #4B5563;
  --ink-4: #6B7280;
  --field: #CBD2D9;
  --radius: 22px;
  --heading: 'Nunito', Arial, sans-serif;
  --body: 'Nunito Sans', Arial, sans-serif;
  --script: 'Gloria Hallelujah', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange-deep); }
h1, h2, h3 { font-family: var(--heading); color: var(--blue); margin: 0; text-wrap: balance; }
p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 14px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-deep); }
.display { font-weight: 900; font-size: clamp(38px, 5vw, 56px); line-height: 1.08; margin-bottom: 22px; }
.h2 { font-weight: 900; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin-bottom: 18px; }
.h3 { font-weight: 800; font-size: 22px; line-height: 1.3; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 600px; }
.muted { color: var(--ink-3); }
.script { font-family: var(--script); color: var(--orange-deep); }
.text-center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn, .btn-outline, .btn-light, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 19px; line-height: 1.2;
  padding: 16px 32px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn { background: var(--orange); color: #fff; }
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn.is-busy, .btn.is-busy:hover, .btn.is-busy[disabled] { background: var(--orange-dark); cursor: progress; opacity: .92; }
.btn-spinner { width: 18px; height: 18px; flex-shrink: 0; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: btn-spin .8s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 1.6s; } }
.btn.is-soon, .btn.is-soon:hover { background: #F4B8A4; color: #fff; cursor: default; pointer-events: none; box-shadow: none; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--peach); color: var(--blue); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 12px 24px; font-size: 19px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 700; font-size: 17px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); }
.brand img { width: 56px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--heading); font-weight: 900; font-size: 22px; color: var(--blue); }
.brand-sub { font-size: 13px; color: var(--ink-3); }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 16px; }
.site-nav > a, .nav-group-toggle { color: var(--ink); text-decoration: none; }
.site-nav > a:hover, .nav-group-toggle:hover, .site-nav a[aria-current="page"], .nav-group.is-current > .nav-group-toggle { color: var(--orange-dark); }
.site-nav .nav-donate { color: #fff; }
.site-nav .nav-donate:hover, .site-nav .nav-donate[aria-current="page"] { color: #fff; }
.nav-group { position: relative; }
.nav-group-toggle { background: none; border: 0; font: inherit; font-weight: 700; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-group-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav-sub { position: absolute; left: -16px; top: calc(100% + 12px); min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 12px 32px rgba(0,91,140,.12); display: none; flex-direction: column; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-sub a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--peach); color: var(--orange-dark); }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.is-open .nav-sub { display: flex; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; position: relative; content: ""; }
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; box-shadow: 0 16px 32px rgba(0,91,140,.10); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-group-toggle { padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; justify-content: space-between; }
  .nav-sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .nav-sub::before { display: none; }
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: none; }
  .nav-group.is-open .nav-sub { display: flex; }
  .site-nav .nav-donate { margin-top: 16px; justify-content: center; text-align: center; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-peach { background: var(--peach); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3 { color: #fff; }
.section-blue .eyebrow { color: var(--orange-soft); }
.section-blue p { color: var(--blue-text); }
.section-fade { background: linear-gradient(#FCE3D8 0%, #fff 70%); }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split-top { align-items: flex-start; }

/* Cut-out photos stand on the bottom edge of their section */
.section-flush { padding-bottom: 0; }
.section-flush .split-text { padding-bottom: 96px; }
.cutout { align-self: flex-end; display: flex; justify-content: center; }
.cutout img { width: 100%; }
@media (max-width: 920px) {
  .section-flush .split-text { padding-bottom: 8px; }
}

/* ---------- Photo heroes and banners ---------- */
.photo-hero, .banner { background-color: #3A4A55; background-size: cover; background-position: center; color: #fff; }
.photo-hero h1, .banner h1, .photo-hero p, .banner p, .photo-hero .eyebrow, .banner .eyebrow { color: #fff; }
.photo-hero { background-image: linear-gradient(to left, rgba(0,45,75,.82) 0%, rgba(0,45,75,.62) 42%, rgba(0,45,75,0) 72%), url(../img/hero.jpg); background-position: left center; }
.photo-hero-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 640px; padding-top: 120px; padding-bottom: 120px; }
.photo-hero-text { max-width: 560px; }
.photo-hero .script { font-size: 22px; margin: 28px 0 0; color: #fff; }
.banner-inner { display: flex; align-items: flex-end; min-height: 460px; padding-top: 120px; padding-bottom: 100px; }
.banner-text { max-width: 620px; }
.banner .lead { color: #fff; }
.banner-history { background-image: linear-gradient(to right, rgba(0,45,75,.85) 0%, rgba(0,45,75,.6) 45%, rgba(0,45,75,.1) 80%), url(../img/banner-history.jpg); background-position: center 60%; }
.banner-school { background-image: linear-gradient(to right, rgba(0,45,75,.85) 0%, rgba(0,45,75,.6) 45%, rgba(0,45,75,.1) 80%), url(../img/banner-school.jpg); background-position: center 30%; }
.banner-mission { background-image: linear-gradient(to right, rgba(0,45,75,.85) 0%, rgba(0,45,75,.6) 45%, rgba(0,45,75,.1) 80%), url(../img/mission-group.jpg); background-position: center 35%; }
.banner .mark::after { background-image: url(../img/deco/underline-light.svg); }
.bus-section { background-color: var(--blue); background-image: linear-gradient(to right, rgba(0,45,75,.9) 0%, rgba(0,45,75,.7) 45%, rgba(0,45,75,.15) 85%), url(../img/bus.jpg); background-size: cover; background-position: center; color: #fff; }
.bus-section h2 { color: #fff; }
.bus-section p { color: var(--blue-text); }
.bus-section .eyebrow { color: var(--orange-soft); }
.bus-inner { display: flex; align-items: center; min-height: 560px; padding-top: 120px; padding-bottom: 120px; }
.bus-text { max-width: 560px; }
/* Divine Grace page: text on the right, buses showing on the left */
.bus-right { background-image: linear-gradient(to left, rgba(0,45,75,.9) 0%, rgba(0,45,75,.7) 45%, rgba(0,45,75,.15) 85%), url(../img/bus.jpg); }
.bus-right .bus-inner { justify-content: flex-end; }
@media (max-width: 760px) {
  .photo-hero { background-image: linear-gradient(rgba(0,45,75,.55), rgba(0,45,75,.8)), url(../img/hero.jpg); background-position: 30% center; }
  .photo-hero-inner { min-height: 0; padding-top: 96px; padding-bottom: 72px; }
  .banner-history, .banner-school, .banner-mission, .bus-section { background-image: linear-gradient(rgba(0,45,75,.6), rgba(0,45,75,.85)), var(--bg); }
  .banner-mission { --bg: url(../img/mission-group.jpg); }
  .banner-history { --bg: url(../img/banner-history.jpg); }
  .banner-school { --bg: url(../img/banner-school.jpg); }
  .bus-section { --bg: url(../img/bus.jpg); }
  .banner-inner, .bus-inner { min-height: 0; padding-top: 96px; padding-bottom: 72px; }
}

/* ---------- Stats ---------- */
.stats { background: var(--blue); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; padding-top: 48px; padding-bottom: 48px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--heading); font-weight: 900; font-size: 52px; line-height: 1; }
.stat-label { font-size: 16px; color: var(--blue-text); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.news-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 16px; color: var(--ink-3); margin: 0; }
.card-bordered { border: 1px solid var(--line); }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; height: 220px; object-fit: cover; }
.card-photo .card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.icon-tile { width: 56px; height: 56px; border-radius: 16px; background: var(--peach-tint); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.give-card { border: 1px solid var(--line); background: var(--peach); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.give-card p { flex-grow: 1; font-size: 16px; color: var(--ink-3); margin: 0; }
.give-card .btn { align-self: flex-start; padding: 13px 26px; }
.give-card-featured { background: #fff; border: 2px solid var(--orange-dark); }
.badge { align-self: flex-start; background: var(--orange-dark); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
/* Ways to give: a drawing in each card, the middle card raised with its label sitting on the outline */
.give-art { display: block; align-self: flex-start; height: 92px; width: 123px; margin: 0 0 4px -10px; overflow: visible; }
.give-art-sprout { width: 110px; }
/* flowers stand on the bottom edge of the section, under the donate box */
.grow-trio { display: flex; width: fit-content; margin: auto auto 0; padding-top: 72px; }
.grow-trio .give-art { height: 210px; width: 238px; margin: 0; }
.give-bottom { margin-top: auto; position: relative; display: flex; justify-content: center; }
.give-bottom-photo { display: none; }
/* Phones: the girls photo stands under the donate box, with the flowers in front of it */
@media (max-width: 920px) {
  .give-bottom { display: block; padding-top: 40px; }
  .give-bottom-photo { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
  .give-bottom .grow-trio { position: absolute; right: -6px; bottom: 0; margin: 0; padding: 0; z-index: 1; }
  .give-bottom .grow-trio .give-art { height: 132px; width: 150px; }
  #form.give-box { margin-bottom: 0; }
}
.give-art-heart { width: 121px; margin-left: -18px; }
.give-card-featured { align-items: center; text-align: center; }
.give-card-featured .give-art { align-self: center; margin-left: 0; margin-right: 0; }
.give-card-featured { position: relative; padding-top: 48px; padding-bottom: 48px; box-shadow: 0 2px 4px rgba(229,78,38,.06), 0 18px 40px rgba(229,78,38,.16); }
.give-card-featured .badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-size: 14px; padding: 6px 16px; letter-spacing: .02em; }
@media (min-width: 700px) { .give-card-featured { margin: -12px 0; } }
.give-card .btn-sponsor { align-self: stretch; padding: 17px 26px; font-size: 19px; box-shadow: 0 10px 22px rgba(229,78,38,.30); }
.btn-heart { width: 20px; height: 19px; flex-shrink: 0; transform-origin: 50% 55%; }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--peach-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C7401C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }

.quote-band { text-align: center; }
.quote-band .script { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.4; color: #fff; margin-bottom: 14px; }
.quote-light .script { color: var(--blue); }
.quote-band.deco-r .doodle-2 { left: max(24px, calc(50% - 720px)); }
#care { scroll-margin-top: 80px; }
.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.card-link .card-body { display: flex; flex-direction: column; flex: 1; }
.card-link .card-more { margin-top: auto; padding-top: 12px; align-self: flex-start; color: var(--orange-dark); font-weight: 700; }
.card-link:hover .card-more { text-decoration: underline; }
.quote-portrait { display: block; width: 132px; height: 132px; margin: 0 auto 22px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 10px 26px rgba(0,91,140,.14); }
.quote-band .quote-by { margin-bottom: 32px; color: var(--ink-2); }
.section-blue.quote-band .quote-by { color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-row > div:first-child { flex: 1 1 520px; min-width: 0; }

/* ---------- News ---------- */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: box-shadow .15s; }
.news-card:hover { box-shadow: 0 12px 32px rgba(0,91,140,.12); color: inherit; }
.news-card img, .news-card .no-photo { width: 100%; height: 220px; object-fit: cover; }
.news-card .no-photo { background: var(--peach-tint); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.news-date { font-size: 14px; color: var(--ink-4); }
.news-card h3 { font-size: 21px; font-weight: 800; line-height: 1.25; }
.news-card p { font-size: 16px; color: var(--ink-3); margin: 0; }
.pagination { display: flex; justify-content: center; gap: 14px; margin-top: 48px; flex-wrap: wrap; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 0 0 10px; padding: 0; border-left: 3px solid var(--peach-tint); }
.timeline li { position: relative; padding: 0 0 36px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -12px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; }
.timeline-year { font-family: var(--heading); font-weight: 900; font-size: 24px; color: var(--blue); margin: 0 0 4px; }
.timeline p { color: var(--ink-2); margin: 0; }

.pull-quote { font-family: var(--script); font-size: 28px; line-height: 1.4; color: var(--orange-deep); margin: 0 0 18px; }

/* ---------- Faculty ---------- */
.people { display: flex; flex-direction: column; gap: 96px; }
.person { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.person:nth-child(even) { flex-direction: row-reverse; }
.person-photo { flex: 0 1 340px; min-width: 260px; }
.person-photo img { width: 100%; border-radius: 24px; }
.person-text { flex: 1 1 520px; min-width: 0; }
.person-role { margin: 0 0 6px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-deep); }
.person-quote { font-family: var(--script); font-size: 22px; line-height: 1.45; color: var(--orange-deep); margin: 0 0 20px; }
.person-text p { color: var(--ink-2); }
.person-list-head { font-weight: 700; color: var(--blue); margin: 24px 0 12px; }
@media (max-width: 760px) { .person:nth-child(even) { flex-direction: row; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 28px; padding: 36px; box-shadow: 0 12px 40px rgba(0,91,140,.10); display: flex; flex-direction: column; gap: 18px; }
.form-card h2 { font-size: 28px; font-weight: 900; }
.form-card label, .field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.form-card .optional { font-weight: 400; color: var(--ink-4); }
.form-card input, .form-card textarea, .form-card select {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  border: 1px solid var(--field); border-radius: 12px; padding: 0 14px; height: 52px; background: #fff; width: 100%;
}
.form-card textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 130px; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-card [aria-invalid="true"] { border-color: #B42318; }
.form-card .btn { width: 100%; }
.field-error { color: #B42318; font-weight: 600; font-size: 15px; }
.alert { border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.alert-error { background: #FEF3F2; color: #912018; }
.alert-ok { background: #ECFDF3; color: #05603A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--ink-4); margin: 0; }

.contact-rows { display: flex; flex-direction: column; gap: 28px; }
.contact-visit { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 24px 26px; box-shadow: 0 1px 2px rgba(31,42,55,.04), 0 10px 28px rgba(0,91,140,.07); color: var(--ink-2); }
.contact-visit strong { display: block; color: var(--blue); margin-top: 2px; }
.contact-visit { flex-wrap: wrap; }
.contact-visit > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.contact-map { flex: 1 0 100%; height: 260px; margin-top: 4px; border-radius: 14px; overflow: hidden; background: var(--peach); }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.55) sepia(.22) hue-rotate(-8deg) brightness(1.04) contrast(.94); }
/* Contact: the form stretches to the height of the details column, with the extra room going to the message box */
@media (min-width: 961px) {
  .contact-section .split-top { align-items: stretch; }
  .contact-section #form { display: flex; flex-direction: column; }
  .contact-section #form > .form-card { flex: 1; }
  .contact-section .msg-field { flex: 1; }
  .contact-section .msg-field textarea { flex: 1; }
}
.contact-visit .btn-outline { margin-top: 14px; padding: 10px 20px; font-size: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; padding-left: 4px; }
.contact-row { display: flex; gap: 14px; align-items: center; }
.contact-visit .icon-tile { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; }
.contact-row .icon-tile { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.contact-row > span:last-child { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.contact-row strong { color: var(--blue); min-width: 86px; }
@media (max-width: 560px) { .contact-row > span:last-child { display: block; } .contact-row strong { display: block; } }
.contact-row span { color: var(--ink-2); }

/* ---------- Donate ---------- */
.donate-hero { background: var(--peach); }
.donate-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-top: 64px; }
.donate-intro { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; padding-top: 12px; }
.donate-intro img { margin-top: auto; align-self: center; max-width: 520px; width: 100%; }
.give-box { flex: 1 1 440px; min-width: 0; align-self: flex-start; margin-bottom: 72px; }
/* Donate: the box column runs to the bottom so the flowers can stand on the section edge */
#give.give-box { align-self: stretch; margin-bottom: 0; display: flex; flex-direction: column; }
@media (max-width: 920px) {
  .donate-intro img { display: none; }
  .donate-split { padding-top: 48px; row-gap: 28px; }
  .donate-intro .lead:last-of-type { margin-bottom: 0 !important; }
}
.card-peach { background: var(--peach); }
.give-step { display: flex; flex-direction: column; gap: 10px; }
.give-label { font-weight: 700; font-size: 15px; color: var(--blue); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: #F4F6F8; padding: 6px; border-radius: 999px; }
.seg button { border: 0; border-radius: 999px; height: 48px; font: inherit; font-size: 16px; font-weight: 700; background: transparent; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.tiers { display: flex; flex-direction: column; gap: 10px; }
.tier { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; width: 100%; text-align: left; padding: 16px 20px; border-radius: 16px; background: #fff; border: 2px solid #D9DEE4; font: inherit; cursor: pointer; }
.tier[aria-pressed="true"] { background: var(--peach); border-color: var(--orange-dark); }
.tier-amount { font-family: var(--heading); font-weight: 900; font-size: 22px; color: var(--blue); white-space: nowrap; }
.tier-covers { font-size: 15px; color: var(--ink-3); text-wrap: balance; }
.amount-other { display: flex; align-items: center; gap: 10px; border: 1px solid var(--field); border-radius: 16px; padding: 0 18px; height: 56px; font-weight: 700; color: var(--blue); }
.amount-other input { border: 0 !important; outline: none !important; height: 52px !important; padding: 0 !important; flex: 1; min-width: 0; font-weight: 400; }
.amount-other:focus-within { outline: 2px solid var(--blue); border-color: var(--blue); }
.donor-fields { display: flex; flex-direction: column; gap: 14px; }
.donor-fields[hidden] { display: none; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.give-notes { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-3); }
.give-notes span { display: flex; align-items: center; gap: 8px; }
.paypal-slot { min-height: 50px; }
.give-error { color: #912018; background: #FEF3F2; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.progress { height: 14px; border-radius: 999px; background: rgba(0,0,0,.25); overflow: hidden; }
.progress span { display: block; height: 100%; background: #FF8A5B; border-radius: 999px; }
.fund-card { background: rgba(0,45,75,.85); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.fund-card .fund-row { display: flex; justify-content: space-between; font-weight: 700; gap: 12px; flex-wrap: wrap; }

/* ---------- Article / legal ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-body { font-size: 19px; color: var(--ink-2); }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 16px; }
.article-body li { margin-bottom: 6px; }
.article-cover { border-radius: 24px; margin: 0 0 36px; width: 100%; }
.article-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 36px; }
.article-photos a { display: block; }
.article-photos img { width: 100%; height: 220px; object-fit: cover; object-position: center top; border-radius: 16px; }
.legal h2 { font-size: 26px; font-weight: 800; margin: 36px 0 14px; }
.legal h3 { font-size: 20px; font-weight: 800; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal { overflow-wrap: break-word; }
.legal ul { padding-left: 1.3em; }

/* ---------- Lightbox ---------- */
.lightbox-link { display: block; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,20,30,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.lightbox-btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-btn:hover { background: rgba(255,255,255,.26); }
.lightbox-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; font-weight: 700; pointer-events: none; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
  .lightbox-img { max-width: 100vw; max-height: calc(100vh - 150px); border-radius: 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; }
  .lightbox-count { bottom: 26px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--blue-text); font-size: 16px; }
.site-footer a { color: var(--blue-text); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-name { font-family: var(--heading); font-weight: 900; font-size: 22px; line-height: 1.15; color: #fff; margin-bottom: -8px; }
.footer-name + span + .script { margin-top: 6px; }
.footer-head { font-weight: 700; color: #fff; }
.site-footer .script { color: var(--orange-soft); }
.footer-bottom { border-top: 1px solid var(--blue-tile); padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links { align-items: baseline; }
.site-footer .footer-credit { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.5); text-decoration-color: rgba(255,255,255,.25); }
.site-footer .footer-credit:hover { color: rgba(255,255,255,.8); }

@media (max-width: 600px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 72px 0; }
  .section-flush { padding-bottom: 0; }
  .form-card { padding: 26px 20px; }
  .brand img { width: 48px; }
  .brand-name { font-size: 20px; }
  .stat-num { font-size: 44px; }
}

/* ---------- Cut-out size and card depth ---------- */
.split > .cutout { flex: 1.5 1 500px; }
.cutout img { max-width: 780px; }
.cutout-square img { max-width: 660px; }
.donate-intro img { max-width: 680px; }
@media (min-width: 1360px) {
  main > section { overflow-x: clip; }
  .split > .split-text { flex: 1 1 420px; }
  .cutout img { width: 116%; margin-right: -16%; }
  .cutout-square img { width: 100%; margin-right: 0; }
  .donate-intro img { width: 112%; max-width: 700px; margin-left: -6%; }
}
/* Homepage Divine Grace photo on phones: runs edge to edge and sits closer to the button */
@media (max-width: 920px) {
  .section-flush .split:has(.cutout-grace) { row-gap: 20px; }
  .cutout-grace img { max-width: none; width: calc(100% + 64px); margin: 0 -32px; }
}
@media (max-width: 600px) { .cutout-grace img { width: calc(100% + 40px); margin: 0 -20px; } }
/* Homepage Divine Grace photo: about 54% of the window, ending 32px from the edge, on desktop */
@media (min-width: 1200px) {
  .cutout-grace { justify-content: flex-end; }
  .cutout-grace img { flex-shrink: 0; width: 54vw; max-width: 1036px; margin-right: calc(-1 * max(0px, (100vw - 1240px) / 2)); }
}
/* Donate sponsor photo: keep the 1200px proportions (about 48% of the window, ending 32px from the edge) on every desktop width */
@media (min-width: 1200px) {
  .cutout-sponsor { justify-content: flex-end; }
  .cutout-sponsor img { flex-shrink: 0; width: 48vw; max-width: 960px; margin-right: calc(-1 * max(0px, (100vw - 1240px) / 2)); }
}
/* Divine Grace three-girls photo: about 54% of the window, ending 32px from the edge, on desktop */
@media (min-width: 1200px) {
  .cutout-girls { justify-content: flex-end; }
  .cutout-girls img { flex-shrink: 0; width: 54vw; max-width: 960px; margin-right: calc(-1 * max(0px, (100vw - 1240px) / 2)); }
}
.card, .give-card, .news-card, .form-card, .fund-card { box-shadow: 0 1px 2px rgba(31,42,55,.04), 0 10px 28px rgba(0,91,140,.07); }
.news-card, .give-card, .card-photo { transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover, .give-card:hover, .card-photo:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31,42,55,.05), 0 16px 36px rgba(0,91,140,.12); }
.give-card-featured:hover { box-shadow: 0 4px 8px rgba(229,78,38,.08), 0 24px 48px rgba(229,78,38,.22); }
.person-photo img, .article-cover { box-shadow: 0 12px 32px rgba(0,91,140,.12); }
@media (prefers-reduced-motion: reduce) {
  .news-card, .give-card, .card-photo { transition: none; }
  .news-card:hover, .give-card:hover, .card-photo:hover { transform: none; }
}

/* ---------- Hand-drawn touches, after the children's own cards ---------- */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: -.2em; height: .42em; background: url(../img/deco/underline.svg) center / 100% 100% no-repeat; pointer-events: none; }
.section-blue .mark::after { background-image: url(../img/deco/underline-light.svg); }

.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; flex: 0 0 26px; height: 26px; background: url(../img/deco/mark-star.svg) center / contain no-repeat; }
.eyebrow.m-heart::before { background-image: url(../img/deco/mark-heart.svg); }
.eyebrow.m-sun::before { background-image: url(../img/deco/mark-sun.svg); }
.eyebrow.m-flower::before { background-image: url(../img/deco/mark-flower.svg); }
.eyebrow.m-butterfly::before { background-image: url(../img/deco/mark-butterfly.svg); }
.eyebrow.m-daisy::before { background-image: url(../img/deco/mark-daisy.svg); }
.eyebrow.m-leaf::before { background-image: url(../img/deco/mark-leaf.svg); }
.text-center .eyebrow, .section-head .eyebrow { justify-content: center; }

.deco { position: relative; overflow: hidden; }
.deco > .container { position: relative; z-index: 1; pointer-events: none; }
.deco > .container > *, .deco .grid > *, .deco .split > * { pointer-events: auto; }
.deco .grid, .deco .split { pointer-events: none; }
.doodle { position: absolute; z-index: 0; display: block; background-size: 0 0; cursor: default; -webkit-tap-highlight-color: transparent; }
.doodle::before { content: ""; position: absolute; inset: 0; background-image: inherit; background-repeat: no-repeat; background-size: contain; background-position: center; }
.doodle-parts svg { display: block; width: 100%; height: 100%; overflow: visible; }
.doodle-1 { top: 0; width: 230px; height: 230px; }
.doodle-2 { bottom: -14px; width: 190px; height: 190px; }
.deco-l .doodle-1 { left: max(-20px, calc(50% - 780px)); }
.deco-l .doodle-2 { right: max(-36px, calc(50% - 800px)); }
.deco-r .doodle-1 { right: max(-20px, calc(50% - 780px)); }
.deco-r .doodle-2 { left: max(-36px, calc(50% - 800px)); }
@media (max-width: 760px) {
  .doodle-1 { width: 120px; height: 120px; }
  .doodle-2 { width: 100px; height: 100px; bottom: -6px; }
}
.doodle-2.sprout { width: 110px; height: 183px; bottom: 0; z-index: 2; }
.doodle-2.sprout svg { display: block; width: 100%; height: 100%; overflow: visible; }
.deco-r .doodle-2.sprout { left: max(8px, calc(50% - 760px)); }
.deco-l .doodle-2.sprout { right: max(8px, calc(50% - 760px)); }
@media (max-width: 760px) { .doodle-2.sprout { width: 72px; height: 120px; } }

/* ---------- Gentle motion (only when the device allows it) ---------- */
.news-card img, .card-photo img, .article-photos img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.news-card:hover img, .card-photo:hover img, .article-photos a:hover img { transform: scale(1.05); }
.card-photo, .article-photos a { overflow: hidden; border-radius: 16px; }
.card-photo { border-radius: var(--radius); }

.photo-hero { position: relative; overflow: hidden; }
.photo-hero-inner { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .photo-hero::before { content: ""; position: absolute; inset: 0; background: inherit; transform-origin: 30% 50%; animation: hero-drift 16s ease-out forwards; }
  @keyframes hero-drift { from { transform: scale(1.07); } to { transform: scale(1); } }

  .doodle-1 { animation: deco-float 7s ease-in-out infinite alternate; }
  .doodle-2 { animation: deco-float 9s ease-in-out -3s infinite alternate; }
  @keyframes deco-float { from { translate: 0 0; rotate: -1.5deg; } to { translate: 0 -7px; rotate: 1.5deg; } }

  .motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
  .motion .reveal.cutout { transform: translateY(44px); transition-duration: 1s; }
  .motion .reveal.in { opacity: 1; transform: none; }

  .motion .mark::after { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); transition: -webkit-clip-path .9s cubic-bezier(.6,.1,.3,1) .45s, clip-path .9s cubic-bezier(.6,.1,.3,1) .45s; }
  .motion .mark.in::after { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }

  .motion .reveal .eyebrow::before, .motion .eyebrow.reveal::before { transform: scale(.3) rotate(-25deg); opacity: 0; transition: transform .6s cubic-bezier(.3,1.6,.5,1) .25s, opacity .3s ease .25s; }
  .motion .reveal.in .eyebrow::before, .motion .eyebrow.reveal.in::before { transform: none; opacity: 1; }
}

/* ---------- Drawings react to hover (and to a tap on phones) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes move-sway { 0%,100% { transform: none; } 20% { transform: rotate(-6deg); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-2.5deg); } 88% { transform: rotate(1deg); } }

  /* looping moves: the motion runs in the first 55% of each cycle, then rests before the next one */
  @keyframes loop-spin { 0% { transform: none; animation-timing-function: cubic-bezier(.45,0,.55,1); } 27.5% { transform: rotate(180deg) scale(1.08); animation-timing-function: cubic-bezier(.45,0,.55,1); } 55%, 100% { transform: rotate(360deg); } }
  @keyframes loop-spin6 { 0% { transform: none; animation-timing-function: cubic-bezier(.45,0,.55,1); } 27.5% { transform: rotate(180deg) scale(1.08); animation-timing-function: cubic-bezier(.45,0,.55,1); } 55%, 100% { transform: rotate(360deg); } }
  @keyframes loop-sun { 0% { transform: none; filter: none; animation-timing-function: cubic-bezier(.45,0,.55,1); } 27.5% { transform: rotate(180deg) scale(1.08); filter: brightness(1.08) saturate(1.2); animation-timing-function: cubic-bezier(.45,0,.55,1); } 55%, 100% { transform: rotate(360deg); filter: none; } }
  @keyframes loop-twinkle { 0% { transform: none; animation-timing-function: cubic-bezier(.45,0,.55,1); } 27.5% { transform: rotate(180deg) scale(1.25); animation-timing-function: cubic-bezier(.45,0,.55,1); } 55%, 100% { transform: rotate(360deg); } }
  @keyframes loop-turn { 0% { transform: none; animation-timing-function: cubic-bezier(.55,0,.45,1); } 55%, 100% { transform: rotate(360deg); } }
  @keyframes loop-beat { 0%, 36%, 100% { transform: none; } 8% { transform: scale(1.16); } 16% { transform: scale(.98); } 24% { transform: scale(1.11); } }
  @keyframes loop-flutter { 0%, 55%, 100% { transform: none; } 9% { transform: translateY(-6px) scaleX(.72); } 18% { transform: translateY(-9px) scaleX(1); } 27% { transform: translateY(-11px) scaleX(.76); } 36% { transform: translateY(-8px) scaleX(1); } 46% { transform: translateY(-3px) scaleX(.9); } }

  @keyframes loop-sway { 0%, 55%, 100% { transform: none; } 16% { transform: rotate(-6deg); } 32% { transform: rotate(4deg); } 45% { transform: rotate(-1.5deg); } }

  /* corner drawings: every piece moves on its own center, with its own timing (set on the piece as --d and --w) */
  .doodle-parts .dp { transform-box: view-box; }
  .doodle-parts.is-on .dp-turn { animation: loop-turn var(--d) var(--w) infinite; }
  .doodle-parts.is-on .dp-sun { animation: loop-sun var(--d) var(--w) infinite; }
  .doodle-parts.is-on .dp-spin { animation: loop-spin var(--d) var(--w) infinite; }
  .doodle-parts.is-on .dp-spin6 { animation: loop-spin6 var(--d) var(--w) infinite; }
  .doodle-parts.is-on .dp-twinkle { animation: loop-twinkle var(--d) var(--w) infinite; }
  .doodle-parts.is-on .dp-beat { animation: loop-beat var(--d) ease-in-out var(--w) infinite; }
  .doodle-parts.is-on .dp-flutter { animation: loop-flutter var(--d) ease-in-out var(--w) infinite; }
  .doodle-parts.is-on .dp-sway { animation: loop-sway var(--d) ease-in-out var(--w) infinite; }
  @keyframes loop-bob { 0% { transform: none; animation-timing-function: cubic-bezier(.45,0,.3,1); } 25% { transform: translateY(-7px); animation-timing-function: cubic-bezier(.45,0,.3,1); } 55%, 100% { transform: none; } }
  .doodle-parts.is-on .dp-bob { animation: loop-bob var(--d) var(--w) infinite; }
  /* book page: turns from the right page over onto the left, then the next one turns */
  .doodle-parts .dp-flip { transform-box: fill-box; transform-origin: 0% 50%; }
  @keyframes loop-flip { 0% { transform: none; opacity: 0; } 6% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.45,0,.55,1); } 26% { transform: scaleX(.3) skewY(-9deg); animation-timing-function: cubic-bezier(.45,0,.55,1); } 46% { transform: scaleX(-1); opacity: 1; } 54%, 100% { transform: scaleX(-1); opacity: 0; } }
  .doodle-parts.is-on .dp-flip { animation: loop-flip var(--d) var(--w) infinite; }
  /* paper plane: flies one full circle, shrinking into the distance and growing back, and lands exactly where it started */
  @keyframes loop-orbit { 0% { transform: none; } 1.96% { transform: translate(0.77px, -0.44px) rotate(-1.0deg) scale(0.995); } 3.93% { transform: translate(2.97px, -1.80px) rotate(-4.1deg) scale(0.978); } 5.89% { transform: translate(6.25px, -4.18px) rotate(-9.7deg) scale(0.952); } 7.86% { transform: translate(10.02px, -7.72px) rotate(-18.8deg) scale(0.915); } 9.82% { transform: translate(13.41px, -12.51px) rotate(-33.1deg) scale(0.869); } 11.79% { transform: translate(15.33px, -18.54px) rotate(-54.1deg) scale(0.815); } 13.75% { transform: translate(14.58px, -25.55px) rotate(-79.5deg) scale(0.756); } 15.71% { transform: translate(10.02px, -33.05px) rotate(-102.9deg) scale(0.693); } 17.68% { transform: translate(0.93px, -40.24px) rotate(-120.5deg) scale(0.631); } 19.64% { transform: translate(-12.77px, -46.13px) rotate(-133.7deg) scale(0.573); } 21.61% { transform: translate(-30.25px, -49.70px) rotate(-144.4deg) scale(0.522); } 23.57% { transform: translate(-49.77px, -50.15px) rotate(-154.6deg) scale(0.483); } 25.54% { transform: translate(-68.93px, -47.10px) rotate(-165.6deg) scale(0.458); } 27.50% { transform: translate(-85.11px, -40.77px) rotate(-180.0deg) scale(0.450); } 29.46% { transform: translate(-96.08px, -31.93px) rotate(-202.0deg) scale(0.458); } 31.43% { transform: translate(-100.49px, -21.82px) rotate(-235.6deg) scale(0.483); } 33.39% { transform: translate(-98.12px, -11.79px) rotate(-270.9deg) scale(0.522); } 35.36% { transform: translate(-89.89px, -3.05px) rotate(-294.7deg) scale(0.573); } 37.32% { transform: translate(-77.49px, 3.57px) rotate(-309.5deg) scale(0.631); } 39.29% { transform: translate(-62.94px, 7.70px) rotate(-319.9deg) scale(0.693); } 41.25% { transform: translate(-48.14px, 9.48px) rotate(-328.0deg) scale(0.756); } 43.21% { transform: translate(-34.55px, 9.33px) rotate(-335.0deg) scale(0.815); } 45.18% { transform: translate(-23.09px, 7.88px) rotate(-341.3deg) scale(0.869); } 47.14% { transform: translate(-14.11px, 5.76px) rotate(-347.1deg) scale(0.915); } 49.11% { transform: translate(-7.57px, 3.54px) rotate(-352.2deg) scale(0.952); } 51.07% { transform: translate(-3.23px, 1.67px) rotate(-356.4deg) scale(0.978); } 53.04% { transform: translate(-0.79px, 0.43px) rotate(-359.1deg) scale(0.995); } 55%, 100% { transform: rotate(-360deg); } }
  .doodle-parts.is-on .dp-orbit { animation: loop-orbit var(--d) var(--w) infinite; }
  @keyframes loop-trail { 0% { stroke-dashoffset: 0; opacity: 1; transform: none; animation-timing-function: cubic-bezier(.4,0,.6,1); } 20% { opacity: .55; transform: translate(-2px, 1.5px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 38% { opacity: .8; transform: translate(-3.5px, 1px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 55%, 100% { stroke-dashoffset: -20; opacity: 1; transform: none; } }
  .doodle-parts.is-on .dp-trail { animation: loop-trail var(--d) var(--w) infinite; }
  .doodle-parts .dp.dp-done { animation: none; }

  /* sprout: the stem stretches from its root, leaves and flower ride up with it, a new leaf opens */
  .doodle-2.sprout { animation: none; }
  .sprout svg g g { transform-box: view-box; transition: transform .9s cubic-bezier(.3,1.25,.5,1), opacity .4s ease; }
  .sprout .sp-stem { transform-origin: 60px 199px; }
  .sprout .sp-leaf-new { transform-origin: 60px 76px; transform: scale(0); opacity: 0; }
  .sprout .sp-bloom { transform-origin: 60px 86px; }
  .sprout:hover .sp-stem, .sprout.play .sp-stem { transform: scaleY(1.5); }
  .sprout:hover .sp-leaf-1, .sprout.play .sp-leaf-1 { transform: translateY(-16.5px); }
  .sprout:hover .sp-leaf-2, .sprout.play .sp-leaf-2 { transform: translateY(-33px); }
  .sprout:hover .sp-leaf-new, .sprout.play .sp-leaf-new { transform: none; opacity: 1; transition-delay: .3s; }
  .sprout:hover .sp-bloom, .sprout.play .sp-bloom { transform: translateY(-51.5px) scale(1.1); }

  /* Ways to give drawings move while the card is hovered */
  .give-art g { transform-box: view-box; }
  .give-art .ga-heart { transform-origin: 60px 34px; }
  .give-card:hover .ga-heart, .give-card.play .ga-heart, .btn-sponsor:hover .btn-heart { animation: loop-beat 1.8s ease-in-out infinite; }
  /* the bus eases forward and keeps driving: wheels turn and the road slides back, with a pause between pushes */
  .give-art .ga-bus { transition: transform .9s cubic-bezier(.3,1.2,.5,1); }
  .give-card.is-on .ga-bus { transform: translateX(7px); }
  .give-art .ga-wheel { transform-box: fill-box; transform-origin: 50% 50%; }
  @keyframes loop-wheel { 0% { transform: none; animation-timing-function: cubic-bezier(.45,0,.3,1); } 55%, 100% { transform: rotate(360deg); } }
  @keyframes loop-road { 0% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.45,0,.3,1); } 55%, 100% { stroke-dashoffset: 26; } }
  .give-card.is-on .ga-wheel { animation: loop-wheel 2.2s infinite; }
  .give-card.is-on .ga-road { animation: loop-road 2.2s infinite; }
  .give-card .dp.dp-done { animation: none; }
  .give-art-sprout .spr g { transform-box: fill-box; transition: transform .9s cubic-bezier(.3,1.25,.5,1), opacity .4s ease; }
  .give-art-sprout .sp-stem { transform-origin: 50% 100%; }
  .give-art-sprout .sp-leaf-new { transform-origin: 100% 60%; transform: scale(0); opacity: 0; }
  .give-art-sprout .sp-bloom { transform-origin: 50% 50%; }
  .give-art-sprout .spr:nth-child(1) g { transition-delay: .12s; }
  .give-art-sprout .spr:nth-child(2) g { transition-delay: .24s; }
  .give-card:hover .sp-stem, .give-card.play .sp-stem, .grow-trio:hover .sp-stem, .grow-trio.play .sp-stem, .grow-trio.is-grown .sp-stem { transform: scaleY(1.5); }
  .give-card:hover .sp-leaf-1, .give-card.play .sp-leaf-1, .grow-trio:hover .sp-leaf-1, .grow-trio.play .sp-leaf-1, .grow-trio.is-grown .sp-leaf-1 { transform: translateY(-16.5px); }
  .give-card:hover .sp-leaf-2, .give-card.play .sp-leaf-2, .grow-trio:hover .sp-leaf-2, .grow-trio.play .sp-leaf-2, .grow-trio.is-grown .sp-leaf-2 { transform: translateY(-33px); }
  .give-card:hover .sp-leaf-new, .give-card.play .sp-leaf-new, .grow-trio:hover .sp-leaf-new, .grow-trio.play .sp-leaf-new, .grow-trio.is-grown .sp-leaf-new { transform: none; opacity: 1; transition-delay: .4s; }
  .give-card:hover .sp-bloom, .give-card.play .sp-bloom, .grow-trio:hover .sp-bloom, .grow-trio.play .sp-bloom, .grow-trio.is-grown .sp-bloom { transform: translateY(-51.5px) scale(1.1); }

  /* section label marks (the label, its mark and the underlined words in the section start them) */
  .eyebrow::before { transform-origin: 50% 55%; }
  .eyebrow.is-on::before { animation: loop-twinkle 2.6s infinite; }
  .eyebrow.m-butterfly.is-on::before { animation: loop-flutter 2.2s ease-in-out infinite; }
  .eyebrow.m-heart.is-on::before { animation: loop-beat 1.8s ease-in-out infinite; }
  .eyebrow.m-sun.is-on::before { animation: loop-sun 3s infinite; }
  .eyebrow.m-flower.is-on::before { animation: loop-spin 2.8s infinite; }
  .eyebrow.m-daisy.is-on::before { animation: loop-spin6 2.8s infinite; }
  .eyebrow.m-leaf:hover::before, .eyebrow.m-leaf.play::before { transform-origin: 15% 90%; animation: move-sway 1.3s ease-in-out; }
}

/* ---------- Video player (updates) ---------- */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 36px; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 12px 32px rgba(0,91,140,.12); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.28)); pointer-events: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::after { display: none; }
.video-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: rgba(229,78,38,.72); box-shadow: 0 0 0 10px rgba(255,255,255,.28), 0 10px 28px rgba(0,0,0,.22); display: grid; place-items: center; transition: transform .25s ease, background .25s ease; }
.video-play svg { display: block; }
.video:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (hover: hover) {
  .video:hover .video-play { transform: scale(1.08); background: var(--orange-dark); }
  .video:hover img { transform: scale(1.03); }
}
@media (max-width: 600px) {
  .video { border-radius: 18px; }
  .video-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; box-shadow: 0 0 0 7px rgba(255,255,255,.28), 0 8px 20px rgba(0,0,0,.22); }
  .video-play svg { width: 26px; height: 26px; }
}

/* ---------- Video thumbnail and popup (Stella's section) ---------- */
.watch-card { display: block; width: min(420px, 100%); margin: 30px auto 34px; text-decoration: none; }
.watch-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 12px 32px rgba(0,91,140,.16); }
.watch-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.watch-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.28)); pointer-events: none; }
.watch-card .video-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; box-shadow: 0 0 0 7px rgba(255,255,255,.28), 0 8px 20px rgba(0,0,0,.22); transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .25s ease; }
.watch-caption { display: block; margin-top: 14px; font-weight: 700; font-size: 18px; color: var(--orange-dark); }
.watch-card:hover .watch-caption { color: var(--orange-deep); }
.watch-card:focus-visible { outline: none; }
.watch-card:focus-visible .watch-thumb { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (hover: hover) {
  .watch-card:hover .video-play { transform: scale(1.08); background: var(--orange-dark); }
  .watch-card:hover .watch-thumb img { transform: scale(1.03); }
}
.watch-card.is-opening .video-play { transform: scale(1.5); background: var(--orange); }
.video-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 72px 24px; background: rgba(10,20,30,.94); }
.video-modal[hidden] { display: none; }
.video-modal-box { position: relative; width: min(1000px, 100%, calc((100vh - 144px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45); opacity: 0; transform: scale(.94); transition: opacity .35s ease .3s, transform .45s cubic-bezier(.2,.7,.2,1) .3s; }
.video-modal.is-open .video-modal-box { opacity: 1; transform: none; }
.video-modal.is-closing .video-modal-box { transition-delay: 0s; transition-duration: .2s; }
.video-modal-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal .lightbox-close { z-index: 1; }
body.video-open { overflow: hidden; }
@media (max-width: 600px) { .video-modal { padding: 72px 0; } .video-modal-box { border-radius: 0; } }
@media (prefers-reduced-motion: reduce) {
  .video-modal-box { transition: none; transform: none; }
}
.watch-card-left { width: 100%; margin: 30px 0 0; }

/* Volunteer page: a regular photo (not a cut-out) with rounded corners */
.donate-intro img.vol-photo, .give-bottom-photo.vol-photo { width: 100%; max-width: 680px; height: auto; margin: 8px 0 72px; border-radius: 24px; box-shadow: 0 12px 32px rgba(0,91,140,.12); }
.give-bottom-photo.vol-photo { margin: 0 auto 48px; border-radius: 18px; }

/* Update photos: one photo is shown whole; two sit side by side and taller */
.article-photos.count-1 { grid-template-columns: 1fr; }
.article-photos.count-1 a { border-radius: 24px; box-shadow: 0 12px 32px rgba(0,91,140,.12); }
.article-photos.count-1 img { height: auto; border-radius: 24px; }
.article-photos.count-2 { grid-template-columns: 1fr 1fr; }
.article-photos.count-2 img { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 600px) { .article-photos.count-2 { gap: 10px; } }
