/* SKY for First Responders: shared styles for every page.
   Art of Living brand standards: Poppins + Lora, navy / orange / purple on white.
   House style: flat surfaces separated by tone and space (no shadows, no hairlines),
   five type sizes, two-line headlines, one authored motion layer. */

:root {
  --ink: #222222;
  --text-2: #525252;
  --subhead: #707070;
  --white: #FFFFFF;
  --off-white: #F2F2F2;
  --orange: #FF9800;
  --purple: #8441AB;
  --navy: #021F2F;
  --navy-2: #163450;
  --navy-3: #1F4366;
  --gold: #EBDA98;
  --radius: 16px;
  --ease: .3s ease;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-body: 'Poppins', sans-serif;
  --font-head: 'Lora', serif;
  --measure: 62ch;

  /* the type scale: seven sizes, used everywhere */
  --t-small: 14px;
  --t-body: 16px;
  --t-lg: 18px;
  --t-h3: 24px;
  --t-statement: 32px;
  --t-h2: 48px;
  --t-h1: 80px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scrollbar-color: var(--navy-2) var(--off-white);
  accent-color: var(--orange);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  caret-color: var(--orange);
}
::selection { background: var(--orange); color: var(--ink); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: inherit; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: var(--t-h2); line-height: 1.12; letter-spacing: -.015em; }
h3 { font-size: var(--t-h3); line-height: 1.25; }
.statement { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1.3; letter-spacing: -.01em; max-width: 30ch; }
.body-lg { font-size: var(--t-lg); line-height: 1.65; max-width: var(--measure); }
.small { font-size: var(--t-small); }
.nums { font-variant-numeric: lining-nums tabular-nums; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--off-white);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--gold); }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 128px 0; }
.band-light { background: var(--off-white); }
.band-orange { background: var(--orange); color: var(--ink); }
.band-navy { background: var(--navy-2); color: var(--white); }
.band-hero { background: var(--navy); color: var(--white); }

/* Buttons: flat, one fill colour, rounded as the brand specifies */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius);
  font: 600 var(--t-small)/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--off-white); }
.btn-solid:hover { background: #000; }
.btn-white { background: var(--off-white); color: var(--ink); }
.btn-white:hover { background: var(--white); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #FFA826; }
.btn-sm { min-height: 44px; padding: 10px 20px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .35em;
  transition: opacity var(--ease);
}
.text-link svg { width: 18px; height: 18px; transition: transform var(--ease); }
.text-link:hover { opacity: .8; }
.text-link:hover svg { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--navy); color: var(--white); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-header .logo-link { display: inline-flex; padding: 6px 0; }
.sky-logo { width: 62px; height: auto; filter: brightness(0) invert(1); }
.header-actions { display: flex; align-items: center; gap: 32px; }
.header-buttons { display: flex; align-items: center; gap: 8px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--t-small);
  font-weight: 600;
  color: rgba(242, 242, 242, .82);
  text-decoration: none;
  transition: color var(--ease);
}
.site-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .45em; }
.site-nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .45em; }

/* Hero: the docx title and subtitle, then its three photos */
.hero { padding: 40px 0 56px; }
.hero h1 { max-width: none; margin-bottom: 24px; letter-spacing: -.03em; line-height: 1.02; }
.hero .statement { color: var(--off-white); margin: 0; max-width: 30ch; }
.hero-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin: 0 0 20px; }
.hero-event { font-size: var(--t-lg); font-weight: 600; color: var(--white); margin: 0 0 8px; }
.hero-note { font-size: var(--t-small); color: var(--gold); margin: 0; max-width: var(--measure); }
.hero .photo-row { margin-top: 40px; }
.hero .photo-row figure { aspect-ratio: auto; height: clamp(150px, 26vh, 300px); }

/* Photo rows: the three docx photos for each break, all visible at once */
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-row figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--off-white); }
.band-hero .photo-row figure, .band-navy .photo-row figure { background: var(--navy-3); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }

/* Problem statement */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.intro .statement { color: var(--ink); margin: 0; }
.intro .body-lg { margin: 0; color: var(--ink); }

/* Pillars: the docx lead-in sentences, each a full-width row: title left, text right */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.pillar + .pillar { border-top: 1px solid rgba(34, 34, 34, .25); /* taste-skill-ignore: dividers requested by the client */ }
.pillar { padding: 56px 0; }
.pillar:first-child { padding-top: 0; }
.pillar:last-child { padding-bottom: 0; }
.pillar { margin: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; font-size: var(--t-lg); line-height: 1.65; color: var(--ink); }
.pillar p { margin: 0; max-width: var(--measure); }
.pillar .pillar-title { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); max-width: 20ch; }

/* How Our Program Works */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.how h2 { margin-bottom: 24px; }
.how-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--off-white); }
.how-photo img { width: 100%; height: 100%; object-fit: cover; }
.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; max-width: var(--measure); }
.features li { color: var(--ink); padding-left: 28px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); }
.features strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }

/* Real stories */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { margin: 0; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-bottom: 96px; }
.video-card { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--off-white); }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--navy); }
.video-card figcaption strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: var(--t-h3); line-height: 1.25; color: var(--ink); margin-bottom: 6px; }
.video-card figcaption span { color: var(--text-2); line-height: 1.6; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.text-link-dark { color: var(--ink); margin-top: 24px; }
.quote { margin: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; align-items: start; }
.quote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--white); }
.quote blockquote { margin: 0 0 16px; font-family: var(--font-head); font-style: italic; font-size: var(--t-lg); line-height: 1.6; }
.quote figcaption { font-size: var(--t-small); line-height: 1.5; color: var(--text-2); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: var(--t-body); }

/* Cost of waiting: one white panel, three ways to act */
.cost-head { max-width: 900px; margin-bottom: 56px; }
.cost-head .statement { margin: 0 0 16px; max-width: 28ch; }
.cost-head p:last-child { font-size: var(--t-lg); margin: 0; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.way { background: var(--white); border-radius: var(--radius); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.way h3 { margin: 0; }
.way p { margin: 0; color: var(--text-2); }
.way .contact a { color: var(--ink); font-weight: 600; }
.way .btn { margin-top: auto; align-self: flex-start; }
.together { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1.3; margin: 48px 0 0; }

/* Retreats */
.retreat-head { margin-bottom: 48px; }
.retreat-head h2 { margin: 0; max-width: 24ch; }
.retreats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 72px; }
.retreat-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
.retreat-text h3 { grid-column: 1; grid-row: 1 / span 3; margin: 0; font-size: var(--t-statement); line-height: 1.25; max-width: 14ch; }
.retreat-text p { grid-column: 2; margin: 0 0 1em; max-width: var(--measure); color: var(--ink); }
.retreat-text .confidential { color: var(--text-2); margin: 8px 0 0; }
.events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.event { background: var(--navy-2); color: var(--white); border-radius: var(--radius); padding: 40px 36px; display: grid; gap: 10px; }
.event-date { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1.2; letter-spacing: -.01em; color: var(--gold); margin: 0 0 6px; }
.event h3 { margin: 0; color: var(--white); }
.event-where { color: rgba(242, 242, 242, .88); margin: 0 0 20px; }
.event .btn { justify-self: start; }
.confidential { font-size: var(--t-small); color: var(--text-2); margin: 24px 0 0; }

/* Donate page */
.give-hero { padding: 40px 0 64px; }
.give-hero .photo-row figure { aspect-ratio: auto; height: clamp(150px, 24vh, 260px); }
.give-hero h1 { max-width: 20ch; margin: 48px 0 20px; }
.give-hero .statement { color: var(--off-white); margin: 0; max-width: 32ch; }
.give .copy { max-width: var(--measure); }
.give .copy > p { color: var(--ink); }
.give .copy .body-lg { color: var(--ink); }
.give h2 { font-size: var(--t-statement); margin: 56px 0 16px; }
.give-now { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1.3; margin: 0; }
.give-hero .hero-actions { margin: 36px 0 16px; }
.give-proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; margin-top: 112px; }
.give-quote { margin: 0; }
.give-quote blockquote { margin: 0 0 24px; font-family: var(--font-head); font-style: italic; font-size: var(--t-statement); line-height: 1.35; letter-spacing: -.01em; }
.give-quote figcaption { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; font-size: var(--t-small); color: var(--text-2); line-height: 1.4; }
.give-quote figcaption strong { display: block; color: var(--ink); font-size: var(--t-body); }
.give-quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--off-white); }
.give-fact p { font-size: var(--t-lg); line-height: 1.6; color: var(--ink); margin: 0 0 8px; max-width: 34ch; }
.give-ask { margin-top: 112px; scroll-margin-top: 100px; }
.give-contact { margin: 40px 0 0; max-width: var(--measure); color: var(--text-2); }
.give-contact a { color: var(--ink); font-weight: 600; }
.tier-featured { background: var(--navy-2); }
.tier-featured .tier-amount, .tier-featured p { color: var(--white); }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tier { background: var(--off-white); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.tier .tier-amount { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1.1; margin: 0 0 4px; color: var(--ink); }
.tier p { margin: 0 0 16px; color: var(--text-2); font-size: var(--t-body); }
.tier .btn { margin-top: auto; align-self: stretch; }
.thanks { font-family: var(--font-head); font-style: italic; font-size: var(--t-h3); line-height: 1.4; margin: 96px auto 0; text-align: center; max-width: 30ch; }

/* Footer */
.site-footer { padding: 72px 0 56px; background: var(--off-white); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.footer-logo { height: 56px; width: auto; }
.footer-contact { display: grid; gap: 6px; text-align: right; }
.footer-contact a { color: var(--ink); font-weight: 600; }
.footer-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 16px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); }
.footer-note { width: 100%; font-size: var(--t-small); color: var(--text-2); margin: 0; max-width: 80ch; }

/* Research page */
.doc-hero { padding: 80px 0 96px; }
.doc-hero h1 { max-width: 22ch; margin-bottom: 24px; }
.doc-hero .doc-lead { color: var(--off-white); font-size: var(--t-lg); max-width: 52ch; margin: 0; }
.stat-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; margin-top: 64px; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stat-list li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px 20px; background: var(--navy-2); border-radius: 12px; margin: 0; }
.stat-num { font-family: var(--font-head); font-size: var(--t-statement); line-height: 1; color: var(--orange); font-variant-numeric: lining-nums tabular-nums; }
.stat-text { color: var(--off-white); }
.stat-list.on-light li { background: var(--off-white); }
.stat-list.on-light .stat-num { color: var(--purple); }
.stat-list.on-light .stat-text { color: var(--ink); }
.hero-facts { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 72px; color: var(--off-white); }
.hero-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.hero-facts svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.hero-facts small { display: block; color: rgba(242, 242, 242, .78); font-size: var(--t-small); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin-top: 56px; }

.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 108px; }
.toc p { font-weight: 600; margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 8px 0; font-size: var(--t-small); line-height: 1.4; color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.doc { min-width: 0; }
.doc-section { margin-bottom: 128px; scroll-margin-top: 100px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-section > p, .doc-section > ul, .doc-section .prose { max-width: var(--measure); }
.doc-section h2 { font-size: 36px; margin-bottom: 24px; }
.doc-section h3 { margin: 48px 0 16px; }
.doc-section h4 { font-family: var(--font-body); font-size: var(--t-body); font-weight: 600; margin: 32px 0 8px; }
.doc-section ul { padding-left: 1.2em; color: var(--text-2); }
.doc-section li { margin-bottom: 8px; }
.doc-section li::marker { color: var(--orange); }
.cite { font-size: .875em; color: var(--text-2); font-variant-numeric: lining-nums; white-space: nowrap; }
.source { font-size: var(--t-small); color: var(--text-2); margin-top: 16px; }
.chart { margin: 32px 0 0; background: var(--off-white); border-radius: var(--radius); padding: 24px; }
.chart img { width: 100%; height: auto; border-radius: 8px; background: var(--white); }
.chart figcaption { font-size: var(--t-small); color: var(--text-2); margin-top: 16px; line-height: 1.55; }
.chart figcaption strong { color: var(--ink); }
.chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.chart-pair .chart { margin-top: 32px; }
.impact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.impact-panel { border-radius: var(--radius); padding: 32px; background: var(--off-white); }
.impact-panel h3 { margin: 0 0 16px; }
.impact-panel ul { margin: 0; }
.impact-panel .stat-list li { background: var(--white); }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
.result { padding: 36px 28px; background: var(--navy-2); color: var(--white); border-radius: var(--radius); }
.result h3 { font-family: var(--font-body); font-size: var(--t-body); font-weight: 600; color: var(--gold); margin: 0 0 8px; }
.result-num { font-family: var(--font-head); font-size: var(--t-h2); line-height: 1; margin: 0 0 16px; font-variant-numeric: lining-nums tabular-nums; }
.result p:last-child { margin: 0; color: rgba(242, 242, 242, .9); }
.study { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 48px; }
.study h3 { margin-top: 0; }
.study .chart { margin-top: 0; }
.study.wide { grid-template-columns: minmax(0, 1fr); }
.pull { margin: 48px 0 0; max-width: 56ch; font-family: var(--font-head); font-style: italic; font-size: var(--t-h3); line-height: 1.45; }
.pull footer { font-family: var(--font-body); font-style: normal; font-size: var(--t-small); color: var(--text-2); margin-top: 16px; }
.references { margin-top: 24px; border-radius: var(--radius); background: var(--off-white); }
.references summary { cursor: pointer; padding: 20px 24px; font-weight: 600; min-height: 44px; }
.references summary:hover { color: var(--navy-2); }
.references ol { margin: 0; padding: 0 24px 24px 3.2em; font-size: var(--t-body); line-height: 1.6; color: var(--text-2); max-width: none; }
.references li { margin-bottom: 8px; padding-left: 4px; }
.cta-band { padding: 112px 0; }
.cta-band h2 { max-width: 24ch; }
.cta-band p { color: rgba(242, 242, 242, .9); }
.cta-band .hero-actions { margin-bottom: 0; }

/* Motion: one authored layer. Heroes rise on load; everything else rises once as it enters. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .hero .photo-row figure, .give-hero .photo-row figure { animation: settle 1.1s var(--ease-out) both; animation-delay: calc(.35s + var(--i, 0) * 120ms); }
  .hero .photo-row img, .give-hero .photo-row img { animation: settle-img 1.6s var(--ease-out) both, drift 26s ease-in-out 1.6s infinite alternate; animation-delay: calc(.35s + var(--i, 0) * 120ms), calc(2s + var(--i, 0) * 120ms); }
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .photo-row figure img, .how-photo img { transition: transform .8s var(--ease-out); }
  .photo-row figure:hover img, .how-photo:hover img { transform: scale(1.04); }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { clip-path: inset(14% 0 0 0 round var(--radius)); transform: translateY(24px); } to { clip-path: inset(0 0 0 0 round var(--radius)); transform: none; } }
@keyframes settle-img { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-property: color, background-color, border-color, opacity !important; transition-duration: .15s !important; transition-delay: 0s !important; }
}

/* Donate: a picture beside the story */
.give-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: start; }
.give-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--off-white); position: sticky; top: 108px; }
.give-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Tablet */
@media (max-width: 1024px) {
  .give-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .give-proof { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 80px; }
  .give-ask { margin-top: 80px; }
  .give-photo { position: static; aspect-ratio: 16 / 10; order: -1; }
  :root { --t-h1: 60px; --t-h2: 36px; --t-statement: 28px; }
  section { padding: 96px 0; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-actions { margin-top: 4px; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 720px; }
  .pillar { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: var(--measure); }
  .pillar { padding: 40px 0; }
  .site-nav { gap: 20px; }
  .header-actions { gap: 20px; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .retreat-text { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .retreat-text h3, .retreat-text p { grid-column: 1; grid-row: auto; max-width: var(--measure); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .tiers { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .how-photo { aspect-ratio: 16 / 10; }
  .quotes { gap: 48px 40px; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; margin-bottom: 72px; padding: 24px; background: var(--off-white); border-radius: var(--radius); }
  .toc ol { columns: 2; column-gap: 32px; }
  .study { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doc-section h2 { font-size: 30px; }
}

/* Tablet only: the donation amounts as a list, so a button never sits above the next amount */
@media (min-width: 761px) and (max-width: 1024px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { flex-direction: row; align-items: center; gap: 24px; }
  .tier .tier-amount { min-width: 96px; margin: 0; }
  .tier p:not(.tier-amount) { margin: 0; flex: 1; }
  .tier .btn { margin-top: 0; align-self: center; min-width: 180px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --t-h1: 32px; --t-h2: 28px; --t-statement: 24px; --t-h3: 22px; }
  .retreat-head h2 { font-size: var(--t-h3); }
      .doc-hero h1 { font-size: 28px; }
  .give-hero .photo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .give-hero .photo-row figure { aspect-ratio: 3 / 4; }
  .give-photo { aspect-ratio: 4 / 3; }
  section { padding: 72px 0; }
  .site-nav { display: none; }
  .hero { padding: 24px 0 40px; }
  .hero .photo-row { margin-top: 28px; }
  .hero-event { font-size: var(--t-body); }
  .hero .statement { max-width: none; }
  .photo-row { grid-template-columns: minmax(0, 1fr); }
  .photo-row figure { aspect-ratio: 16 / 10; }
  .videos { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-bottom: 72px; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .quote { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .quote img { width: 56px; height: 56px; }
  .section-head { margin-bottom: 40px; }
  .sky-logo { width: 52px; }
  .site-header .btn-sm { padding: 10px 14px; }
  .footer-contact { text-align: left; }
  .give-hero { padding: 48px 0 64px; }
  .give-hero h1 { margin-top: 48px; }
  .give-quote blockquote { font-size: var(--t-lg); line-height: 1.5; }
  .give-proof { margin-top: 56px; }
  .give-ask { margin-top: 56px; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tier { padding: 20px; }
  .tier:last-child { grid-column: 1 / -1; }
  .events { grid-template-columns: minmax(0, 1fr); }
  .way { padding: 28px 24px; }
  .event { padding: 24px; }
  .doc-hero { padding: 48px 0 64px; }
  .stat-lists, .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-facts { gap: 16px; }
  .stat-list li { grid-template-columns: 72px minmax(0, 1fr); padding: 12px 16px; }
  .toc ol { columns: 1; }
  .chart-pair, .impact { grid-template-columns: minmax(0, 1fr); }
  .results { grid-template-columns: minmax(0, 1fr); }
  .doc-section { margin-bottom: 80px; }
  .doc-section h2 { font-size: 26px; }
  .references ol { padding-left: 2.6em; padding-right: 16px; }
  .cta-band { padding: 72px 0; }
}
/* Phone carousels: photo rows, videos and testimonials become swipeable panels that rotate by themselves (site.js turns this on) */
@media (max-width: 760px) {
  .is-carousel { display: flex !important; align-items: flex-start; transition: height .35s var(--ease-out); grid-template-columns: none; position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .is-carousel::-webkit-scrollbar { display: none; }
  .is-carousel > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
  .photo-row.is-carousel figure, .give-hero .photo-row.is-carousel figure { aspect-ratio: 16 / 9; height: auto; }
  .hero .photo-row.is-carousel figure { aspect-ratio: 16 / 9; }
  .quotes.is-carousel { max-width: none; }
  .carousel-dots { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 8px; }
  .carousel-dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; border-radius: 50%; color: var(--ink); }
  .carousel-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--subhead); transition: background var(--ease), transform var(--ease); }
  .carousel-dot[aria-current="true"]::before { background: var(--navy-2); transform: scale(1.4); }
  .band-hero .carousel-dot::before, .band-navy .carousel-dot::before { background: rgba(242, 242, 242, .5); }
  .band-hero .carousel-dot[aria-current="true"]::before, .band-navy .carousel-dot[aria-current="true"]::before { background: var(--orange); }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 340px) {
  .header-buttons a:first-child { display: none; }
}


/* Video: a big play button over every thumbnail (site.js adds it) */
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(2, 31, 47, .30); color: var(--ink); transition: background-color var(--ease); }
.video-play span { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform var(--ease); }
.video-play svg { margin-left: 4px; }
.video-play:hover { background: rgba(2, 31, 47, .12); }
.video-play:hover span { transform: scale(1.1); }
/* while playing, the whole picture (above the control bar) is an invisible pause button */
.video.is-playing .video-play { background: transparent; inset: 0 0 56px 0; height: auto; }
.video.is-playing .video-play span { display: none; }

/* Results line beside the stories */
.proof-line { font-size: var(--t-lg); line-height: 1.65; max-width: var(--measure); margin: 0 0 64px; color: var(--ink); }
.proof-line a { font-weight: 600; }

/* Tap targets: every stand-alone link is at least 44px tall */
.footer-contact a, .way .contact a { display: inline-flex; align-items: center; min-height: 44px; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 0; }

/* Home: the program photo breaks out to the edge of the screen */
@media (min-width: 1025px) {
  .how-photo { aspect-ratio: 4 / 5; margin-right: calc(-1 * max(24px, (100vw - 1200px) / 2 + 24px)); border-radius: var(--radius) 0 0 var(--radius); }
}
@media (max-width: 760px) {
  .video-play span { width: 68px; height: 68px; }
  .event { padding: 28px 24px; }
}

/* Phone carousels: big previous and next arrows over the picture */
.carousel-wrap { position: relative; }
.carousel-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(34, 34, 34, .74); color: var(--white); transform: translateY(-50%); transition: background-color var(--ease), transform var(--ease); }
.carousel-arrow:hover { background: rgba(34, 34, 34, .92); }
.carousel-arrow:active { transform: translateY(-50%) scale(.94); }
.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }

/* Pillars stack the title over the paragraph; the problem statement gets a wider column. The sentences stay on two lines. */
.intro { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.pillar { display: block; }
.pillar .pillar-title { max-width: none; margin-bottom: 16px; }
.pillar p:not(.pillar-title) { max-width: var(--measure); }
@media (max-width: 1024px) { .intro { grid-template-columns: minmax(0, 1fr); } }

.container.is-carousel { scroll-padding-inline: 24px; }
@media (max-width: 380px) { .container.is-carousel { scroll-padding-inline: 16px; } }
.proof-line a.text-link { display: inline; min-height: 0; }
.proof-line a.text-link svg { display: inline; vertical-align: -3px; margin-left: 6px; }
.event-for { display: block; margin-top: 8px; font-family: var(--font-body); font-size: var(--t-body); font-weight: 600; letter-spacing: 0; color: rgba(242, 242, 242, .88); }
.event .event-for { margin: 0 0 12px; display: block; margin-top: 0; }
