/* Yimiri redesign. Tokens and rules: docs/design-direction.md */

@font-face { font-family: "Playfair Display"; src: url(../fonts/playfairdisplay-normal-400-700.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfairdisplay-italic-400-700.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url(../fonts/lato-normal-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url(../fonts/lato-normal-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* Fallbacks sized to the web fonts so text doesn't jump when they load */
@font-face { font-family: "Playfair Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 108%; ascent-override: 98%; }
@font-face { font-family: "Lato Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 96%; }

:root {
  /* Concept B (Jaali), chosen 24 Nov 2026: India first (turmeric, henna, warm sand), Aboriginal second (red and yellow ochre) */
  --sand: #EADBC5; --cream: #FFF8EE; --brown: #8A3412; --deep: #4A2310;
  --ink: #3F3026; --gold: #E3A72F; --bronze: #6E3A0A; --night: #1E0C04;
  --ochre: #A4462A; --yochre: #C9962E;
  /* Faint jaali lattice (interlocking circles) used on sand backgrounds */
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%234A2310' stroke-opacity='.09' stroke-width='1'%3E%3Ccircle cx='28' cy='28' r='20'/%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='56' cy='0' r='20'/%3E%3Ccircle cx='0' cy='56' r='20'/%3E%3Ccircle cx='56' cy='56' r='20'/%3E%3Ccircle cx='28' cy='0' r='8'/%3E%3Ccircle cx='0' cy='28' r='8'/%3E%3Ccircle cx='56' cy='28' r='8'/%3E%3Ccircle cx='28' cy='56' r='8'/%3E%3C/g%3E%3C/svg%3E");
  --serif: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --sans: "Lato", "Lato Fallback", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(80px, 10vw, 128px);
  --wrap: 1160px;
  /* Distance from the page edge to the content column. Use only where % resolves against the full page width. */
  --edge: max(16px, calc((100% - var(--wrap)) / 2));
  /* One corner radius for every photo and card; frames sit 2px wider */
  --radius: 14px;
  /* Spacing on an 8px base: gap between boxes, gap between columns, heading-to-content gap */
  --gap: 24px;
  --gap-lg: clamp(32px, 6vw, 96px);
  --head-gap: 56px;
  --stagger: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--sand) var(--jaali); color: var(--ink); font: 400 17px/1.6 var(--sans); letter-spacing: .01em; overflow-x: hidden; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0 0 1em; }
/* The last block in any container adds no extra space, so section padding stays exact */
p:last-child, ul:last-child, ol:last-child, dl:last-child { margin-bottom: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .footer :focus-visible, .club :focus-visible, .card--dark :focus-visible, .funds__give :focus-visible { outline-color: var(--cream); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--deep); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: var(--pad); }

/* Type */
.eyebrow { font: 700 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .6em; color: var(--bronze); margin: 0 0 24px; }
.eyebrow--dark { color: var(--gold); }
.h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--brown); margin-bottom: 24px; }
.lead { max-width: 60ch; margin-inline: auto; font-size: 18px; }
.link { color: var(--deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

/* Text roll on hover: the label slides up to reveal a copy of itself */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll > span { display: inline-block; transition: transform .45s var(--ease); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; transition: transform .45s var(--ease); }
a:hover .roll > span, button:hover .roll > span, a:hover .roll::after, button:hover .roll::after,
a:focus-visible .roll > span, button:focus-visible .roll > span, a:focus-visible .roll::after, button:focus-visible .roll::after { transform: translateY(-100%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .14em; text-decoration: none; border: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.btn--cream { background: var(--cream); color: var(--deep); }
.btn--cream:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 249, 242, .55); color: var(--cream); background: rgba(80, 48, 17, .25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); }
.btn--light { background: var(--cream); color: var(--deep); }
.btn--deep { background: var(--deep); color: var(--cream); }
.btn--deep:hover { background: var(--night); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px max(16px, calc((100% - var(--wrap)) / 2)); transition: background .4s, backdrop-filter .4s; }
.header__logo { grid-column: 2; }
.header__logo img { height: 44px; width: auto; }
.header.is-scrolled { background: rgba(234, 219, 197, .78); backdrop-filter: blur(14px); }
.menu-btn { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 249, 242, .7); background: rgba(28, 16, 4, .15); color: var(--cream); font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.header.is-scrolled .menu-btn { background: var(--deep); border-color: var(--deep); }
.menu-btn__icon { display: grid; gap: 5px; width: 22px; }
.menu-btn__icon i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn__icon i:last-child { width: 70%; justify-self: end; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { width: 100%; transform: translateY(-3.25px) rotate(-45deg); }

/* Menu overlay */
/* Menu: matches the reference. Sand panel that fades in, centred serif links in the body colour;
   on hover the label rolls up and a brown copy rolls in. Contact details sit small at bottom left. */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--sand); color: var(--ink); display: flex; flex-direction: column; padding: 112px var(--edge) 96px; overflow-y: auto; opacity: 0; transition: opacity .35s ease; }
.menu.is-open { opacity: 1; }
/* The menu rule sets display, which overrides the hidden attribute; without this the invisible closed menu
   sits over the page and swallows every click (bug found 24 Nov 2026). */
.menu[hidden] { display: none; }
.menu:not(.is-open) { pointer-events: none; }
/* margin:auto centres the list but, unlike align-items:center, never cuts off its top when it overflows */
.menu__nav { margin: auto; }
.menu__nav ul { display: grid; justify-items: center; gap: 14px; text-align: center; }
.menu__nav a { display: inline-block; font: 500 clamp(2rem, 3.4vw, 3rem)/1 var(--serif); letter-spacing: 0; color: var(--ink); text-decoration: none; }
/* Taller line box so descenders (g, y, p) of the outgoing label never peek above the link on hover; the gap is reduced to keep the reference rhythm */
.menu__nav .roll { line-height: 1.3; }
.menu__nav .roll::after { color: var(--brown); }
.menu__nav .roll > span, .menu__nav .roll::after { transition-duration: .3s; }
.menu__aside { position: absolute; left: var(--edge); bottom: 32px; font-size: 15px; line-height: 1.6; }
.menu__aside a { text-decoration: none; color: var(--ink); }
.menu__aside a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }
/* Short screens: contact details follow the list instead of overlapping it */
@media (max-height: 860px) { .menu { padding-bottom: 40px; } .menu__aside { position: static; margin-top: 40px; text-align: center; } }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; backdrop-filter: none; }
/* While open, the pill turns gold with an × (as in the reference) */
body.menu-open .menu-btn { background: var(--gold); border-color: var(--gold); color: var(--night); }

/* Hero */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: center; color: var(--cream); background: var(--night); overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Shade sits only where the text is (left and bottom), so the rest of the photo stays clear */
/* Turmeric scallop border along the bottom of photo headers */
.hero:not(.hero--plain)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 1; background: var(--ochre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 Q7 0 14 14 Q21 0 28 14' fill='none' stroke='%23E3A72F' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 22% 55%, rgba(28, 16, 4, .5) 0%, rgba(28, 16, 4, 0) 72%), linear-gradient(90deg, rgba(28, 16, 4, .62) 0%, rgba(28, 16, 4, .28) 45%, rgba(28, 16, 4, 0) 72%), linear-gradient(0deg, rgba(28, 16, 4, .45), transparent 35%); }
/* A soft oval shadow behind the text block keeps small labels readable without darkening the whole photo */
.hero--page .hero__shade { background: radial-gradient(55% 60% at 20% 78%, rgba(28, 16, 4, .55) 0%, rgba(28, 16, 4, 0) 75%), linear-gradient(0deg, rgba(28, 16, 4, .8) 0%, rgba(28, 16, 4, .5) 45%, rgba(28, 16, 4, .1) 78%), linear-gradient(90deg, rgba(28, 16, 4, .45) 0%, rgba(28, 16, 4, 0) 60%); }
.hero .eyebrow, .hero__title, .hero__text, .hero .crumb { text-shadow: 0 2px 20px rgba(28, 16, 4, .55); }
/* Small labels on photos are cream, not gold: gold is too weak at 12 to 14px over mid-tone photos */
.hero .eyebrow--dark, .hero .crumb { color: var(--cream); }
/* Inner-page labels sit in a translucent pill (like the charity badge), so they stay readable on any photo */
.hero--page .eyebrow--dark, .hero--page .crumb { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(28, 16, 4, .55); backdrop-filter: blur(6px); text-shadow: none; }
.hero--page .eyebrow--dark { padding-right: 8px; }
.hero__inner { padding-top: 120px; padding-bottom: 120px; }
.hero__title { font-size: clamp(3.1rem, 8.6vw, 8.4rem); font-weight: 600; line-height: .98; letter-spacing: -.02em; margin-bottom: 28px; }
.hero__line { display: block; }
.hero__text { max-width: 54ch; font-size: 18px; color: rgba(255, 249, 242, .9); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stat { position: absolute; top: 112px; right: var(--edge); display: flex; align-items: center; gap: 12px; }
.hero__stat strong { display: block; font: 500 40px/1 var(--serif); }
.hero__stat small { font-size: 13px; color: rgba(255, 249, 242, .85); }
.avatars { display: flex; }
.avatars img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cream); }
.avatars img + img { margin-left: -14px; }
.hero__card { position: absolute; right: var(--edge); bottom: 32px; display: flex; align-items: center; gap: 14px; max-width: 360px; padding: 8px 16px 8px 8px; border-radius: var(--radius); background: var(--cream); color: var(--ink); font-size: 14px; line-height: 1.4; text-decoration: none; transition: transform .4s var(--ease); }
.hero__card:hover { transform: translateY(-3px); }
.hero__card img { width: 72px; height: 52px; border-radius: 8px; object-fit: cover; }
.hero__card strong { color: var(--deep); }
.hero__card svg { width: 22px; height: 22px; flex: none; color: var(--deep); }

/* Registered charity badge (links to the ACNC register entry) */
.charity { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; text-decoration: none; color: inherit; }
.charity svg { width: 24px; height: 24px; flex: none; color: var(--gold); }
.charity strong { font-weight: 700; }
.charity:hover span { text-decoration: underline; text-underline-offset: 4px; }
/* Official ACNC Registered Charity Tick: unaltered, 64px (minimum 15mm, about 57px), 19px (5mm) clear space, linked
   to the register entry. In the heroes it sits on the photo with no box at the owner's request (25 Nov 2026); the ACNC guide
   says never over imagery. The footer base is solid. */
.charity__tick { flex: none; display: block; width: 64px; height: 64px; margin: 19px 19px 19px 0; }
.charity { gap: 0; }
.hero .charity { margin: 0; font-size: 15px; text-shadow: 0 1px 12px rgba(28, 16, 4, .7); }
.hero--page .charity { margin-top: 4px; }
.hero--home .hero__shade { background: radial-gradient(60% 70% at 22% 55%, rgba(28, 16, 4, .34) 0%, rgba(28, 16, 4, 0) 72%), linear-gradient(90deg, rgba(28, 16, 4, .5) 0%, rgba(28, 16, 4, .18) 45%, rgba(28, 16, 4, 0) 68%), linear-gradient(180deg, rgba(28, 16, 4, .3), transparent 32%), linear-gradient(0deg, rgba(28, 16, 4, .28), transparent 30%); }
.footer__base { background: var(--night); margin-top: 64px; padding-top: 24px; }

/* Hero badges: registered charity and the TIMA model of care, side by side */
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0 40px; margin-top: 10px; }
.hero-tima { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; text-shadow: 0 1px 12px rgba(28, 16, 4, .7); transition: transform .3s var(--ease); } /* no box (owner, 24 Nov 2026) */
.hero-tima img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.hero-tima span { font-size: 13px; line-height: 1.35; color: var(--cream); }
.hero-tima strong { display: block; font-size: 14px; color: #fff; }
.hero-tima:hover { transform: translateY(-2px); }
.hero-tima:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Hero load sequence */
.js .hero__media img { opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform 2s var(--ease) .2s; }
.js .hero__in { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(.8s + var(--d, 0) * .12s); }
.is-loaded .hero__media img { opacity: 1; transform: none; }
.is-loaded .hero__in { opacity: 1; transform: none; }

/* Odometer */
.odo { display: inline-flex; font-variant-numeric: lining-nums tabular-nums; }
.odo__col { display: inline-block; height: 1em; overflow: hidden; line-height: 1; transition: width 1.4s var(--ease); }
.odo__strip { display: flex; flex-direction: column; align-items: flex-start; transition: transform 1.4s var(--ease); transition-delay: calc(var(--k, 0) * .08s); }
.odo__strip span { height: 1em; display: block; width: max-content; }

/* Statement */
.statement__title { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--brown); line-height: 1.12; max-width: 24ch; margin: 0 auto 56px; }
.word { transition: opacity .25s linear; }
.stadiums { display: flex; justify-content: center; margin-bottom: 72px; }
.stadiums img { width: clamp(88px, 10vw, 132px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: 999px; border: 3px solid var(--sand); }
.stadiums img + img { margin-left: -18px; }
.stats__label { margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 960px; margin: 0 auto; }
.stats li { padding: 8px 16px; }
.stats li + li { border-left: 1px solid rgba(164, 70, 42, .45); }
.stats strong { display: block; font: 500 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--deep); margin-bottom: 10px; }
.stats li > span { font-size: 15px; }
.stats__goal { margin-top: 32px; font: 500 italic 22px var(--serif); color: var(--brown); }
/* The font shorthand resets numerals to Playfair's old-style default; restore full-height figures */
.hero__stat strong, .stats strong, .stats__goal, .programs__no, .odo { font-variant-numeric: lining-nums proportional-nums; }

/* Focus: pinned heading, cards scroll over it */
/* Heading pinned in the left column while the cards scroll past in the right column (no overlap) */
.focus__layout { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: start; }
.focus__head { position: sticky; top: 140px; }
.focus__head .lead { margin-inline: 0; }
.focus__head .h2 { font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
.focus__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-bottom: var(--stagger); }
/* Stagger the right-hand column; 'top' moves it without changing the gaps */
.focus__cards .fcard:nth-child(even) { top: var(--stagger); }
.fcard { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--deep); color: var(--cream); box-shadow: 0 30px 60px -30px rgba(28, 16, 4, .55); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 16, 4, .85), rgba(28, 16, 4, 0) 60%); }
.fcard__kicker, .fcard h3 { position: relative; z-index: 1; }
.fcard__kicker { margin: 0 0 10px; font: 700 11px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.fcard h3 { font-size: 24px; line-height: 1.15; }
/* Card 4's stagger is absorbed by the cards' bottom padding, so this margin is the real gap */
.focus__layout + .wrap { margin-top: var(--pad); }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 24px 0 var(--head-gap); }
.programs li { position: relative; padding: 0 32px; text-align: center; }
.programs li + li::before { content: ""; position: absolute; left: -24px; top: 36px; width: 48px; height: 1px; background: var(--ink); opacity: .5; }
.programs__no { display: block; font: 500 italic 44px/1 var(--serif); color: var(--brown); margin-bottom: 16px; }
.programs h3 { font-size: 26px; color: var(--deep); margin-bottom: 12px; }
.programs p { font-size: 16px; max-width: 32ch; margin-inline: auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--head-gap); }
.card { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); padding: 28px; min-height: 420px; }
.card h3 { font-size: 28px; color: var(--deep); margin-bottom: 16px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card--event { padding: 0; overflow: hidden; }
.card__img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: center 22%; }
.card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: 14px; color: var(--bronze); font-weight: 700; margin-bottom: 8px; }
.card__person { display: flex; align-items: center; gap: 10px; margin-top: auto; margin-bottom: 0; font-size: 14px; }
.card__person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.card__foot { margin-top: auto; margin-bottom: 0; }
.card--dark { background: var(--ochre); color: var(--cream); justify-content: space-between; }
.card__big { font-size: clamp(1.8rem, 2.6vw, 2.4rem) !important; color: var(--cream) !important; line-height: 1.12 !important; }

/* Funds grid (services style) */
.funds { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(384px, 30vw); --funds-pad: clamp(24px, 2.6vw, 56px); }
/* The grid stays full-bleed like the reference, but its text starts on the content column */
.funds__intro { background: var(--sand) var(--jaali); padding: var(--funds-pad); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.funds__intro p { margin: 0; }
.funds__intro .h2 { font-size: clamp(2.4rem, 4.4vw, 6rem); line-height: 1.06; margin: 0; max-width: none; }
.tile { position: relative; overflow: hidden; color: var(--cream); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 16, 4, .82) 0%, rgba(28, 16, 4, .1) 55%); }
.tile h3 { position: absolute; left: var(--funds-pad, 24px); right: var(--funds-pad, 24px); bottom: var(--funds-pad, 24px); z-index: 1; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; }
.tile:hover img { transform: scale(1.05); }
.funds__give { background: var(--ochre); color: var(--cream); padding: var(--funds-pad); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.funds__give p, .funds__give ul { margin: 0; max-width: none; }
.funds__give p:not(.funds__note) { font-size: clamp(1rem, 1.35vw, 1.6rem); line-height: 1.5; }
.funds__give h3 { font-size: clamp(1.8rem, 3vw, 3.8rem); line-height: 1.08; margin: 0; }
.funds__note { font-size: clamp(14px, 1vw, 18px); color: var(--cream); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amounts a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: clamp(48px, 4.2vw, 80px); padding: 4px 8px; border: 1px solid rgba(255, 249, 242, .5); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: clamp(14px, 1.05vw, 19px); line-height: 1.15; transition: background .3s, color .3s; }
.amounts a:hover { background: var(--cream); color: var(--deep); }

/* Yoga programmes */
/* Two equal columns; the photo stretches to the text column so tops and bottoms line up */
.yoga__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: stretch; margin-top: calc(var(--head-gap) - 24px); }
.yoga__text .eyebrow { letter-spacing: .3em; margin-bottom: 8px; }
.yoga__name { font-size: clamp(2.6rem, 4.6vw, 4rem); color: var(--brown); margin-bottom: 20px; }
.yoga__text h4 { font-size: 22px; color: var(--brown); margin: 28px 0 8px; }
.ticks li { padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(74, 35, 16, .5); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 7px; height: 7px; margin-top: -4px; transform: rotate(45deg); background: var(--bronze); }
.carousel__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.round { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--deep); color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.round:hover { background: var(--night); transform: scale(1.06); }
.round svg { width: 22px; height: 22px; }
.yoga__frame { position: relative; min-height: 420px; justify-self: end; width: 100%; }
/* A real sliding track: swipe, trackpad or arrows; every slide is the same 4:5 frame */
.carousel { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--deep); }
.carousel__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carousel__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
/* Dots sit on the photo so they add no height */
.dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 1; display: flex; justify-content: center; gap: 4px; }
.dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--cream); box-shadow: 0 1px 4px rgba(28, 16, 4, .5); transition: background .3s; }
.dots button.is-on::before { background: var(--cream); }

/* Abundance Club panel */
.club { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 1fr; padding: clamp(24px, 6vw, 80px) var(--edge); overflow: hidden; isolation: isolate; background: var(--night); }
/* 55% keeps the 848px-wide photo at or below its real size on a 1440px screen */
.club__bg { position: absolute; inset: 0 0 0 auto; width: 55%; height: 100%; object-fit: cover; object-position: 40% 50%; z-index: -1; }
.club::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 40%, rgba(28, 16, 4, 0) 62%); }
.club__panel { padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); background: rgba(80, 48, 17, .72); backdrop-filter: blur(10px); color: var(--cream); border: 1px solid rgba(255, 249, 242, .12); }
.club__panel h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 600; margin-bottom: 16px; }
.club__lead { font-size: 18px; color: rgba(255, 249, 242, .9); }
.club__rows { margin: 24px 0; }
.club__rows div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 249, 242, .3); }
.club__rows dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.club__rows dd { margin: 0; }
.club__rows a { text-decoration: none; }
.more { margin-bottom: 24px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.more p { margin-top: 12px; font-size: 15px; color: rgba(255, 249, 242, .85); }

/* FAQ */
/* Heading on top; photo and question list side by side, aligned top and bottom (as in the reference) */
.faq__grid { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-areas: "side side" "img list"; column-gap: var(--gap-lg); row-gap: var(--head-gap); }
/* Heading runs the full width on one line, with the contact line beside it (no empty block on the right) */
.faq__side { grid-area: side; display: grid; grid-template-columns: 1fr auto; column-gap: var(--gap-lg); align-items: end; }
.faq__side .eyebrow { grid-column: 1 / -1; }
.faq__side .h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); white-space: nowrap; }
.faq__side > p:last-child { max-width: 30ch; margin-bottom: 6px; }
/* The photo fills a box that stretches to the list's height, so both columns end level */
.faq__img { grid-area: img; position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; }
.faq__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.faq__list { grid-area: list; align-self: start; }
.faq__list details:first-child summary { padding-top: 0; }
.faq__list details { border-bottom: 1px solid var(--deep); }
.faq__list summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 22px 0; cursor: pointer; font: 500 22px/1.25 var(--serif); color: var(--brown); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .4s var(--ease); }
.faq__list details[open] summary::before { transform: rotate(225deg) translate(-2px, -2px); }
.faq__list details p { padding: 0 0 22px 23px; margin: 0; }
.faq__list details[open] p { animation: drop .5s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Footer */
.footer { position: relative; color: var(--cream); background: var(--night); overflow: hidden; isolation: isolate; padding-top: clamp(64px, 8vw, 112px); }
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 16, 4, .6) 0%, rgba(28, 16, 4, .64) 55%, rgba(28, 16, 4, .8) 100%); }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: start; }
.footer__tag { font: 500 italic 22px/1.3 var(--serif); color: var(--gold); }
.footer__about p { max-width: 40ch; }
.footer__about a, .footer__social a, .footer__legal a { text-decoration: none; }
.footer__about a:hover, .footer__social a:hover, .footer__legal a:hover { color: var(--gold); }
.footer__nav { display: grid; justify-items: start; border-left: 1px solid rgba(255, 249, 242, .3); padding-left: 40px; }
.footer__nav a { font: 500 clamp(2rem, 3.4vw, 2.8rem)/1.2 var(--serif); text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }
.footer__social { text-align: right; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__social li { padding: 6px 0; }
.footer__charity { font-size: 14px; color: rgba(255, 249, 242, .85); }
.footer__charity .charity { margin: 0 0 8px; color: var(--cream); }
.footer__ack { max-width: 75ch; margin-top: 12px; font-style: italic; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 249, 242, .25); font-size: 14px; color: rgba(255, 249, 242, .8); }
.footer__legal span { margin-left: auto; }
/* Developer credit (TAGAI): its own row, logo large enough to notice */
.footer__credit { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 249, 242, .25); }
.tagai-credit { display: inline-flex; align-items: center; gap: 20px; color: var(--cream); font-size: 16px; text-decoration: none; }
.tagai-credit img { height: 56px; width: auto; border-radius: 10px; outline: 1px solid rgba(255, 249, 242, .35); outline-offset: 0; transition: transform .3s var(--ease), outline-color .3s; }
.tagai-credit span { font: 700 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 249, 242, .85); } /* agency-style credit: small capitals, wide tracking */
.tagai-credit:hover span { text-decoration: underline; text-underline-offset: 4px; }
.tagai-credit:hover img { transform: translateY(-2px); outline-color: var(--gold); }
.tagai-credit:focus-visible { outline-color: var(--cream); }
@media (max-width: 720px) { .tagai-credit { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; } .tagai-credit span { font-size: 11px; } .tagai-credit img { height: 48px; } }
.wordmark { margin: 8px 0 0; padding-bottom: .02em; text-align: center; font: 600 clamp(6rem, 27vw, 26rem)/1 var(--serif); letter-spacing: -.04em; color: var(--gold); white-space: nowrap; pointer-events: none; } /* decorative; its tall text box reaches above it and would swallow clicks on the credit */

/* ---------- Inner pages (same system as the homepage) ---------- */

/* Page header: the hero, shorter, title bottom-left. Plain variant (no photo) for legal pages. */
.hero--page { min-height: max(480px, 68svh); align-items: flex-end; }
.hero--page .hero__inner { padding-top: 160px; padding-bottom: 72px; }
.hero--page .hero__title { font-size: clamp(2.8rem, 6.4vw, 6rem); margin-bottom: 20px; }
.hero--plain { min-height: 0; background: var(--sand); color: var(--deep); }
.hero--plain .hero__inner { padding-top: 160px; padding-bottom: 24px; }
.hero--plain .hero__title { color: var(--brown); }
.hero--plain .hero__text { color: var(--ink); }
.crumb { font-size: 14px; margin-bottom: 20px; }
.crumb a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* Long text */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--brown); margin: 56px 0 16px; }
.prose h3 { font-size: 24px; color: var(--deep); margin: 32px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--deep); font-weight: 700; }

/* Text and photo side by side; the photo matches the text's height */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: stretch; }
.split--flip .split__media { order: -1; }
.split__media { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__text { align-self: center; }

/* Numbered feature rows (same rhythm as the FAQ rules) */
.rows { border-top: 1px solid var(--deep); }
.rows li { display: grid; grid-template-columns: 72px 1fr; gap: var(--gap); padding: 28px 0; border-bottom: 1px solid var(--deep); }
.rows__no { font: 500 italic 36px/1 var(--serif); color: var(--brown); font-variant-numeric: lining-nums; }
.rows h3 { font-size: 26px; color: var(--deep); margin-bottom: 8px; }
.rows ul { list-style: disc; padding-left: 1.2em; }
.rows ul li { display: list-item; padding: 0; border: 0; margin-bottom: 6px; }

/* Gallery: natural photo shapes in columns, so no heads are cropped */
.gallery { columns: 3 280px; column-gap: var(--gap); }
.gallery figure { break-inside: avoid; margin: 0 0 var(--gap); }
.gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.gallery figcaption { margin-top: 10px; font: 500 20px/1.2 var(--serif); color: var(--deep); }

/* Closing call to action */
.cta { background: var(--deep); color: var(--cream); padding-block: var(--pad); text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 16px; }
.cta p { max-width: 60ch; margin-inline: auto; color: rgba(255, 249, 242, .85); }
.cta .hero__actions { justify-content: center; margin-top: 32px; }
.cta :focus-visible { outline-color: var(--cream); }
.note { font-size: 14px; color: rgba(255, 249, 242, .75); margin-top: 16px; }

/* Contact rows */
.contact-rows div { display: grid; grid-template-columns: 140px 1fr; gap: var(--gap); padding: 20px 0; border-bottom: 1px solid var(--deep); }
.contact-rows dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); padding-top: 4px; }
.contact-rows dd { margin: 0; font: 500 24px/1.3 var(--serif); color: var(--deep); }
.contact-rows a { text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Fund pages: description, with a donation panel that stays in view */
.fund-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--gap-lg); align-items: start; }
.give-box { position: sticky; top: 120px; background: var(--deep); color: var(--cream); border-radius: var(--radius); padding: 32px; }
.give-box h2 { font-size: 32px; margin-bottom: 12px; }
.give-box .btn { width: 100%; margin-top: 24px; }
.give-box :focus-visible { outline-color: var(--cream); }

/* About: name lines and two counters */
.name-copy { margin: 0 auto; text-align: center; font-size: 18px; }
.stats--two { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin-top: var(--head-gap); }

.cards--two { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.card .ticks li { font-size: 16px; }

/* Founder */
.founder .split__text > img { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; margin-bottom: 24px; }

/* Homepage TIMA feature: TIMA colours (designer pack), Yimiri type and components */
.tima-feature { background: #0B1D3A; color: #fff; padding-bottom: var(--pad); }
.tima-feature__band { height: clamp(72px, 9vw, 128px); overflow: hidden; margin-bottom: var(--pad); }
.tima-feature__band img { width: 100%; height: 100%; object-fit: cover; }
.tima-feature__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap-lg); align-items: center; }
.tima-feature .eyebrow--dark { color: #FFA043; }
.tima-feature__title { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 600; line-height: 1; color: #fff; margin-bottom: 16px; }
.tima-feature__sub { font: 500 italic 20px/1.35 var(--serif); max-width: 36ch; }
.tima-feature p { color: #D9E2EF; max-width: 58ch; }
.tima-feature .tima-feature__sub { color: #fff; }
.tima-feature .hero__actions { margin-top: 32px; }
.tima-feature__btn { background: #F26A21; color: #0B1D3A; }
.tima-feature__btn:hover { background: #FFA043; }
.tima-feature__meta { font-size: 14px; margin-top: 12px; }
.tima-feature__cover { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.tima-feature__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tima-feature__book { position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%, -50%); border-radius: 3px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.tima-feature__cover:hover .tima-feature__book { transform: translate(-50%, -52%); }
.tima-feature :focus-visible { outline-color: #fff; }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1024px) {
  .faq__side { display: block; }
  .faq__side .h2 { white-space: normal; margin-bottom: 24px; }
  .tima-feature__grid { grid-template-columns: 1fr; }
  .tima-feature__cover { aspect-ratio: 3 / 2; }
  .tima-feature__book { width: 34%; }
  .fund-layout { grid-template-columns: 1fr; }
  .give-box { position: static; }
  .split { grid-template-columns: 1fr; gap: var(--head-gap); }
  .split--flip .split__media { order: 0; }
  .split__media { min-height: 0; aspect-ratio: 3 / 2; }
  .yoga__grid { grid-template-columns: 1fr; }
  .yoga__frame { min-height: 0; aspect-ratio: 3 / 2; }
  .focus__layout { grid-template-columns: 1fr; gap: var(--head-gap); }
  .focus__head { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stats li:nth-child(3) { border-left: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--dark { grid-column: 1 / -1; min-height: 0; gap: 32px; }
  .funds { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(340px, 46vw); }
  .funds__intro .h2 { font-size: clamp(3.2rem, 7vw, 4.4rem); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__social { text-align: left; grid-column: 1 / -1; display: flex; gap: 24px; flex-wrap: wrap; }
}

/* Phone */
@media (max-width: 720px) {
  .faq__side { display: block; }
  .faq__side .h2 { margin-bottom: 24px; }
  .cards--two { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 5; }
  .rows li { grid-template-columns: 1fr; gap: 8px; }
  .contact-rows div { grid-template-columns: 1fr; gap: 4px; }
  .contact-rows dd { font-size: 20px; }
  .hero--page .hero__inner { padding-bottom: 48px; }
  body { font-size: 16px; }
  .eyebrow { letter-spacing: .32em; font-size: 12px; }
  .header__logo { grid-column: 1; }
  .header__logo img { height: 36px; }
  .hero { align-items: flex-end; }
  .hero__inner { padding-top: 160px; padding-bottom: 136px; }
  .hero__shade, .hero--page .hero__shade { background: linear-gradient(0deg, rgba(28, 16, 4, .88) 0%, rgba(28, 16, 4, .62) 55%, rgba(28, 16, 4, .25) 100%); }
  .hero .eyebrow--dark { color: var(--cream); }
  .hero__text { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stat { top: 84px; left: 16px; right: auto; }
  .hero__stat strong { font-size: 30px; }
  .avatars img { width: 40px; height: 40px; }
  .hero__card { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .stats { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid rgba(71, 61, 51, .3); padding-top: 24px; }
  .focus__cards { grid-template-columns: 1fr; padding-bottom: 0; }
  .focus__cards .fcard:nth-child(even) { top: 0; }
  .programs { grid-template-columns: 1fr; gap: 40px; }
  .programs li + li::before { left: 50%; top: -22px; width: 1px; height: 24px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card--dark { grid-column: auto; }
  .funds { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .funds__intro .h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .tile { aspect-ratio: 4 / 3; }
  .yoga__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-areas: "side" "img" "list"; row-gap: 32px; }
  .faq__img { min-height: 0; aspect-ratio: 3 / 2; }
  .yoga__frame { min-height: 0; aspect-ratio: 4 / 5; }
  .club { grid-template-columns: 1fr; padding: 0 0 16px; }
  .club__bg { position: relative; width: 100%; height: 300px; }
  .club::after { background: linear-gradient(180deg, transparent 120px, var(--night) 300px); }
  .club__panel { margin: -72px 16px 0; }
  .club__rows div { grid-template-columns: 1fr; gap: 2px; }
  .faq__list summary { font-size: 19px; }
  .menu { padding-bottom: 112px; }
  .menu__aside { left: 16px; bottom: 24px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 249, 242, .3); padding-top: 24px; }
  .footer__legal span { margin-left: 0; }
}

@media (max-width: 720px) {
  .hero--home .hero__inner { padding-block: 146px 108px; }
  .hero--home .hero__shade { background: linear-gradient(0deg, rgba(28, 16, 4, .78) 0%, rgba(28, 16, 4, .58) 55%, rgba(28, 16, 4, .3) 100%); }
  /* Both logos on one row */
  .hero__badges { flex-wrap: nowrap; gap: 14px; }
  .hero__badges .charity { font-size: 13px; line-height: 1.3; }
  .hero__badges .hero-tima { gap: 10px; }
  .hero__badges .hero-tima span { font-size: 0; }
  .hero__badges .hero-tima strong { font-size: 13px; line-height: 1.3; }
}

/* Landing page opening screen uses the full width (owner, 25 Nov 2026); header, counter and card share the same edge */
@media (min-width: 721px) {
  :root { --hero-edge: clamp(24px, 3.2vw, 64px); }
  .hero--home .hero__inner { width: calc(100% - 2 * var(--hero-edge)); }
  .hero--home .hero__stat, .hero--home .hero__card { right: var(--hero-edge); }
  body:has(.hero--home) .header { padding-inline: var(--hero-edge); }
}
/* Bright hero photo: shade behind the text only, so the right of the photo stays clear */
.hero--home.hero--bright .hero__shade { background: radial-gradient(64% 62% at 20% 62%, rgba(28, 16, 4, .7) 0%, rgba(28, 16, 4, .52) 55%, rgba(28, 16, 4, 0) 100%), radial-gradient(26% 24% at 88% 10%, rgba(28, 16, 4, .7), rgba(28, 16, 4, 0)), linear-gradient(90deg, rgba(28, 16, 4, .5) 0%, rgba(28, 16, 4, .3) 40%, rgba(28, 16, 4, 0) 66%), linear-gradient(180deg, rgba(28, 16, 4, .66), transparent 36%); }
.hero--bright .hero__media img { object-position: 30% 100%; }
@media (max-width: 720px) { .hero--home.hero--bright .hero__shade { background: linear-gradient(0deg, rgba(28, 16, 4, .84) 0%, rgba(28, 16, 4, .68) 60%, rgba(28, 16, 4, .66) 100%); } .hero--bright .hero__media img { object-position: 50% 100%; } }
.hero--home.hero--family .hero__media img { object-position: 63% 50%; }
/* Very bright photo: shade only behind the text so the people on the right stay bright */
.hero--home.hero--family .hero__shade { background: radial-gradient(58% 66% at 17% 58%, rgba(28, 16, 4, .8) 0%, rgba(28, 16, 4, .66) 58%, rgba(28, 16, 4, 0) 100%), radial-gradient(22% 22% at 89% 10%, rgba(28, 16, 4, .78), rgba(28, 16, 4, 0)), linear-gradient(90deg, rgba(28, 16, 4, .5) 0%, rgba(28, 16, 4, .3) 34%, rgba(28, 16, 4, 0) 56%), linear-gradient(180deg, rgba(28, 16, 4, .7), transparent 28%); }
@media (max-width: 720px) { .hero--home.hero--family .hero__shade { background: linear-gradient(0deg, rgba(28, 16, 4, .86) 0%, rgba(28, 16, 4, .74) 60%, rgba(28, 16, 4, .74) 100%); } }
/* end bright */
/* Reduced motion: show everything, no movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero__in, .js .hero__media img { opacity: 1; transform: none; }
  .focus__head { position: static; }
}

/* Pre-launch usability fixes (30 Nov 2026) */
.give-box .link { color: var(--cream); } /* was dark brown on the ochre box: invisible */
.footer__social a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; } /* tap targets were 16px tall */

/* "How to give" on fund pages links to the cheque steps: keep the heading clear of the fixed header (2 Dec 2026) */
#ways-title { scroll-margin-top: 128px; }
