/* ==========================================================================
   VALLEY ANGELS: "Light in the Valley"
   A warm ivory, gold-lit editorial system. Newsreader + Instrument Sans.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */

/* ON RECORD: the original dark palette. The site shipped light-only, but these
   are the exact values the dark treatment used, should it ever come back.

     --void #0b0907   --ink #131009   --ink-2 #1c1710   --ink-3 #29221a
     --ink-4 #3a3125  --ivory #f7f2e8 --ivory-2 #e6dcc9 --mute #a99e8a
     --mute-2 #7d7462 --gold-lt #f8d98d --gold-dk #a97a14
     --gold-text: var(--gold)          --gold-glow rgba(232,176,58,.30)
     --surface #1c1710                 --card-hover #201a12
     --hdr-bg rgba(11,9,7,.82)         --logo-filter brightness(0) invert(1)
     --grain-op .27                    --grain-blend overlay
     --halo-op .55                     --ray-color rgba(232,176,58,.075)
     --duo-end #16120c                 --duo-scrim rgba(11,9,7,.55)
     --hero-filter grayscale(.72) contrast(1.1) brightness(.5) sepia(.3)
     --hero-scrim-a rgba(11,9,7,.86)   --hero-scrim-b rgba(11,9,7,.62)
     --line rgba(247,242,232,.13)      --line-2 rgba(247,242,232,.07)
     --shadow-frame 0 34px 80px -30px rgba(0,0,0,.85)
*/

:root {
  --void:      #fbf7ee;
  --ink:       #f4edde;
  --ink-2:     #ece2cf;
  --ink-3:     #e3d7c0;
  --ink-4:     #d5c7ab;

  --surface:   #fffdf7;
  --card-hover:#fffefa;

  --ivory:     #191307;
  --ivory-2:   #3c3323;
  --mute:      #6b6252;
  --mute-2:    #756b5b;

  --gold:      #e8b03a;
  --gold-lt:   #a9760d;
  --gold-dk:   #6f4d05;
  --gold-glow: rgba(232, 176, 58, .42);

  --clay:      #c26a42;
  --sage:      #6f8257;

  /* gold used as TYPE, darkened to a readable contrast on ivory. The fill gold
     on buttons and bands stays exactly the brand colour. */
  --gold-text: #8a6008;

  /* text that always sits on a gold surface, and text that always sits on ink. */
  --on-light:  #131009;
  --on-dark:   #f7f2e8;

  --hdr-bg:    rgba(251, 247, 238, .84);
  --logo-filter: brightness(1);
  --grain-op:  .07;
  --grain-blend: normal;
  --halo-op:   .40;
  --ray-color: rgba(169, 122, 20, .11);


  --hero-filter: grayscale(.28) contrast(1.02) brightness(1.04) sepia(.1);
  --hero-scrim-a: rgba(251, 247, 238, .93);
  --hero-scrim-b: rgba(251, 247, 238, .42);

  --shadow-frame: 0 30px 70px -34px rgba(60, 44, 12, .38);

  --line:      rgba(25, 19, 7, .15);
  --line-2:    rgba(25, 19, 7, .08);
  --line-ink:  rgba(19, 16, 9, .13);

  --max: 1240px;
  --gut: clamp(20px, 5vw, 60px);

  --f-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --f-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io:  cubic-bezier(.65, 0, .35, 1);
  --e-soft: cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 .34em;
  text-wrap: balance;
}

p { margin: 0 0 .92em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-text); text-decoration: none; }

::selection { background: var(--gold); color: var(--on-light); }

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 20px; z-index: 200;
  background: var(--gold); color: var(--on-light);
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
  position: relative;
}
.wrap--narrow { max-width: 880px; }
.wrap--wide { max-width: 1520px; }

section { position: relative; }

.band {
  padding-block: clamp(48px, 6.4vw, 92px);
  position: relative;
}
.band--tight { padding-block: clamp(30px, 3.8vw, 56px); }
.band--cta { padding-block: clamp(32px, 3.8vw, 54px); }

/* grounds */
.g-void  { background: var(--void); }
.g-ink   { background: var(--ink); }
.g-ink2  { background: var(--ink-2); }
.g-gold  { background: var(--gold); color: var(--on-light); }
.g-gold h1, .g-gold h2, .g-gold h3, .g-gold h4 { color: var(--on-light); }
.g-gold 
/* ---------------------------------------------------------------- grain + light */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain-op);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor-following halo, dark sections only */
.halo {
  position: fixed;
  top: 0; left: 0;
  width: 620px; height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, var(--gold-glow), transparent 66%);
  opacity: 0;
  transition: opacity .5s var(--e-soft);
  will-change: transform;
}
.halo.is-on { opacity: var(--halo-op); }

/* scroll progress */
.prog {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ---------------------------------------------------------------- type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 15px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.g-gold .eyebrow { color: rgba(19,16,9,.62); }

.h-xl {
  font-size: clamp(2.55rem, 6.6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 72;
}
.h-lg {
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-variation-settings: 'opsz' 48;
}
/* the mission statement runs a full two sentences per line, so it sizes one
   step down from .h-lg to hold each line unbroken from about 450px up. */
.h-lg--wide {
  font-size: clamp(1.9rem, 4.5vw, 3.7rem);
  max-width: none;
}
.h-md {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h-sm {
  font-size: clamp(1.22rem, 1.9vw, 1.5rem);
  line-height: 1.22;
  letter-spacing: -0.014em;
}

em, .ital {
  font-style: italic;
  font-variation-settings: 'opsz' 40;
}
.gold { color: var(--gold-text); }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  line-height: 1.6;
  color: var(--mute);
  max-width: 56ch;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}
.g-gold .lead { color: rgba(19,16,9,.7); }

.fine {
  font-size: .82rem;
  line-height: 1.62;
  color: var(--mute-2);
  letter-spacing: 0;
  text-wrap: pretty;
}

.body-lg { font-size: 1.06rem; color: var(--ivory-2);   text-wrap: pretty;
}

.sec-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 42px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 15px; }

/* ---------------------------------------------------------------- reveal

   Text is simply there. The only scroll-triggered animation left is on
   graphics: the image wipe and the hairline rules.
   ------------------------------------------------------------------------- */

/* headline line breaks, no animation */
.split-line { display: block; }

/* image clip reveal (applied to the img, never the box: a fully clipped box has
   zero area and IntersectionObserver would never fire) */
.clip-in > img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--e-out);
  transition-delay: var(--d, 0ms);
}
.clip-in.is-in > img { clip-path: inset(0 0 0 0); }

/* each section arrives as one unit as you reach it. Gated behind .sec-anim,
   which an inline head script sets, so nothing is hidden when JS is off. */
.sec-anim main > section:not(.hero):not(.phero),
.sec-anim main > .marquee,
.sec-anim main > .pmarquee,
.sec-anim .ftr {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .85s var(--e-soft), transform .95s var(--e-out);
}
/* the negations above raise specificity, so the reveal has to carry them too */
.sec-anim main > section:not(.hero):not(.phero).is-in,
.sec-anim main > .marquee.is-in,
.sec-anim main > .pmarquee.is-in,
.sec-anim .ftr.is-in {
  opacity: 1;
  transform: none;
}

/* the whole page arrives as one fade */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--void);
  pointer-events: none;
  animation: veil-out .75s var(--e-soft) forwards;
}
@keyframes veil-out {
  to { opacity: 0; visibility: hidden; }
}

/* ---------------------------------------------------------------- photos */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--e-out), filter .8s var(--e-soft);
}

/* one warm grade on every photograph, so a 2048px shot and a 960px snapshot
   sit together as a single set */
.ph--warm img {
  filter: sepia(.18) saturate(.92) contrast(1.06) brightness(1.02);
}
.ph--warm::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(232, 176, 58, .12), transparent 52%, rgba(60, 44, 12, .10));
}

/* group shots: bias the crop toward the top so nobody loses their head */
.ph--top img { object-position: 50% 16%; }

.ph--frame {
  border-radius: 2px;
  box-shadow: var(--shadow-frame), 0 0 0 1px var(--line);
}
a:hover .ph img, .ph--zoom:hover img { transform: scale(1.05); }

.ph-cap {
  margin-top: 14px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute-2);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --bg: var(--gold);
  --fg: var(--on-light);
  --fg-hover: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--e-out), color .4s var(--e-soft), border-color .4s var(--e-soft);
  will-change: transform;
}
.btn > * { position: relative; z-index: 2; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: var(--ivory);
  transform: translate3d(0, 101%, 0);
  transition: transform .55s var(--e-out);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--fg-hover); }
.btn .arw { transition: transform .45s var(--e-out); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ivory);
  --fg-hover: var(--on-light);
  border-color: rgba(25, 19, 7, .3);
}
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { border-color: var(--gold); }

.btn--ink {
  --bg: var(--on-light);
  --fg: var(--on-dark);
  --fg-hover: var(--on-light);
}
.btn--ink::before { background: var(--gold); }

.btn--ghost-ink {
  --bg: transparent;
  --fg: var(--on-light);
  --fg-hover: var(--on-dark);
  border-color: rgba(19,16,9,.3);
}
.btn--ghost-ink::before { background: var(--on-light); }
.btn--ghost-ink:hover { border-color: var(--on-light); }

.btn--lg { padding: 17px 34px; font-size: .92rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn-row--center { justify-content: center; }

/* text link with animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold-text);
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color .3s var(--e-soft), background-size .5s var(--e-out);
}
.tlink:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------------------------------------------------------------- header */

.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  transition: background .55s var(--e-soft), backdrop-filter .55s var(--e-soft), box-shadow .55s var(--e-soft);
}
.hdr::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity .55s var(--e-soft);
}
/* soft fade behind the nav so the links stay readable over a bright photograph */
.hdr::before {
  content: "";
  position: absolute;
  inset: 0 0 -34px 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--void) 0%, rgba(251, 247, 238, .72) 48%, transparent 100%);
  transition: opacity .55s var(--e-soft);
}
.hdr.is-stuck::before { opacity: 0; }
.hdr .wrap { z-index: 1; }
.hdr.is-stuck {
  background: var(--hdr-bg);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.hdr.is-stuck::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); transition: transform .5s var(--e-io), background .55s var(--e-soft); }
.hdr { transition: transform .5s var(--e-io), background .55s var(--e-soft), backdrop-filter .55s var(--e-soft); }

.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(11px, 1.3vw, 17px);
  transition: padding .55s var(--e-soft);
}
.hdr.is-stuck .wrap { padding-block: 13px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img {
  height: clamp(38px, 4vw, 50px);
  width: auto;
  filter: var(--logo-filter);
  transition: height .55s var(--e-soft), filter .4s var(--e-soft);
}
.brand:hover img { filter: none; }
.hdr.is-stuck .brand img { height: 36px; }

.brand-sub {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mute-2);
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.5;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  position: relative;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ivory-2);
  transition: color .3s var(--e-soft);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--e-out);
}
.nav a:hover { color: var(--gold-text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--gold-text); }

.nav .btn { padding: 12px 26px; font-size: .8rem; }
.nav .btn::after { display: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 111;
  flex: none;
  transition: border-color .35s var(--e-soft), background .35s var(--e-soft);
}
.burger span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .5s var(--e-out), opacity .3s var(--e-soft);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger:hover { border-color: var(--gold-text); }
body.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.hdr-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

/* full-screen mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--ink);
  padding: 120px var(--gut) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .85s var(--e-out);
  overflow-y: auto;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(232,176,58,.14), transparent 65%);
  pointer-events: none;
}
.menu ol { list-style: none; margin: 0; padding: 0; position: relative; }
.menu li { overflow: hidden; }
.menu li a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--ivory);
  transform: translateY(110%);
  transition: transform .8s var(--e-out), color .3s var(--e-soft);
}
body.menu-open .menu li a { transform: none; }
.menu li:nth-child(1) a { transition-delay: .12s; }
.menu li:nth-child(2) a { transition-delay: .18s; }
.menu li:nth-child(3) a { transition-delay: .24s; }
.menu li:nth-child(4) a { transition-delay: .30s; }
.menu li:nth-child(5) a { transition-delay: .36s; }
.menu li:nth-child(6) a { transition-delay: .42s; }
.menu li a:hover { color: var(--gold-text); }
.menu li a i {
  font-family: var(--f-sans);
  font-style: normal;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold-dk);
}
.menu-foot {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: .84rem;
  color: var(--mute-2);
  opacity: 0;
  transition: opacity .6s var(--e-soft) .5s;
}
body.menu-open .menu-foot { opacity: 1; }

@media (max-width: 940px) {
  .nav { display: none; }
  .burger { display: block; }
  .brand-sub { display: none; }
}
@media (min-width: 941px) {
  .menu { display: none; }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: clamp(540px, 80svh, 742px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--void);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-filter);
  transform: scale(1.04);
  animation: kenburns 26s var(--e-soft) infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.6%, -1.2%, 0); }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--hero-scrim-a) 0%, var(--hero-scrim-a) 23%, var(--hero-scrim-b) 53%, transparent 76%),
    linear-gradient(to top, var(--void) 1%, transparent 36%),
    radial-gradient(110% 75% at 80% 18%, rgba(232,176,58,.20), transparent 60%);
}

/* narrow screens have no room for a side-lit scrim, so go back to a vertical one */
@media (max-width: 880px) {
  .hero-media::after {
    background:
      linear-gradient(to top, var(--void) 1%, var(--hero-scrim-a) 38%, transparent 74%),
      radial-gradient(110% 70% at 78% 16%, rgba(232,176,58,.20), transparent 62%);
  }
  /* more of the photograph shows through now, so the credentials need
     a darker ink to stay legible over the canopy */
  .hero-meta { color: var(--ivory-2); }
}

/* slow rotating halo rays behind the headline */
.rays {
  position: absolute;
  top: -34%; right: -24%;
  width: min(1020px, 96vw);
  aspect-ratio: 1;
  z-index: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--ray-color) 0deg 4deg, transparent 4deg 17deg);
  -webkit-mask-image: radial-gradient(circle, transparent 14%, #000 30%, transparent 64%);
  mask-image: radial-gradient(circle, transparent 14%, #000 30%, transparent 64%);
  animation: spin 120s linear infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero .wrap {
  z-index: 2;
  padding-bottom: clamp(32px, 4.5vh, 56px);
  padding-top: clamp(74px, 8.5vh, 98px);
}

.hero h1 { margin-bottom: 18px; max-width: 14ch; }
.hero .lead { max-width: 50ch; color: var(--ivory-2); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-bottom: 18px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.scroll-cue {
  position: absolute;
  right: var(--gut);
  bottom: clamp(56px, 9vh, 110px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.scroll-cue i {
  display: block;
  width: 1px; height: 54px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0; width: 1px; height: 18px;
  background: var(--gold-lt);
  animation: cue 2.4s var(--e-io) infinite;
}
@keyframes cue {
  0% { top: -18px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 54px; opacity: 0; }
}
@media (max-width: 880px) { .scroll-cue { display: none; } }

/* main.js stamps data-past once the date is behind us; without this the
   block sat at 0 / 00 / 00 for ever instead of standing down */
[data-countdown][data-past] { display: none; }

@media (max-width: 620px) {
  /* sizing for this row now lives with the rest of the phone rules, which
     hold it on a single line; only the dot and the top padding belong here */
  .hero-meta span::before { width: 4px; height: 4px; }
  .hero .wrap { padding-top: clamp(96px, 12vh, 132px); }
}

/* page hero (interior pages) */
.phero {
  position: relative;
  padding-top: clamp(96px, 10.5vh, 124px);
  padding-bottom: clamp(24px, 3.2vw, 42px);
  overflow: hidden;
  background: var(--ink);
}
.phero .wrap { z-index: 2; }
.phero h1 { max-width: 17ch; margin-bottom: 13px; }
.phero .lead { max-width: 52ch; }
.phero-glow {
  position: absolute;
  top: -40%; left: 50%;
  width: min(1300px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232,176,58,.17), transparent 62%);
  pointer-events: none;
}
.phero-mark {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-48%);
  width: min(430px, 48vw);
  aspect-ratio: 170 / 110;
  background: var(--ivory);
  opacity: .05;
  -webkit-mask: url('../images/logo.png') center / contain no-repeat;
  mask: url('../images/logo.png') center / contain no-repeat;
  pointer-events: none;
}

/* ---------------------------------------------------------------- marquee */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 19px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
  padding-right: clamp(28px, 4vw, 52px);
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--ivory);
  white-space: nowrap;
}
.marquee-track > span::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* photo marquee */
.pmarquee { overflow: hidden; border-block: 1px solid var(--line); }
.pmarquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 12px 0;
  animation: slide 64s linear infinite;
  will-change: transform;
}
.pmarquee-track .ph {
  flex: none;
  width: clamp(230px, 26vw, 380px);
  aspect-ratio: 4 / 3;
}

/* ---------------------------------------------------------------- pillars */

.pillars { border-top: 1px solid var(--line); }
.pillar {
  display: grid;
  grid-template-columns: 82px 1fr minmax(0, 44ch) 42px;
  gap: clamp(20px, 3vw, 46px);
  align-items: start;
  padding-block: clamp(18px, 2.2vw, 28px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .6s var(--e-out);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 -24px;
  background: linear-gradient(90deg, rgba(232,176,58,.09), transparent 62%);
  opacity: 0;
  transition: opacity .6s var(--e-soft);
  pointer-events: none;
}
.pillar:hover::before { opacity: 1; }
.pillar:hover { padding-left: 14px; }

.pillar-n {
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold-dk);
  padding-top: .55em;
}
.pillar h3 { margin-bottom: 0; }
.pillar p { color: var(--mute); margin: 0; font-size: .98rem; }
.pillar-go {
  justify-self: end;
  align-self: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-text);
  transition: background .45s var(--e-out), color .45s var(--e-out), transform .45s var(--e-out);
}
.pillar:hover .pillar-go { background: var(--gold); color: var(--on-light); transform: rotate(-45deg); }

@media (max-width: 860px) {
  .pillar { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .pillar-n  { grid-column: 1 / -1; grid-row: 1; padding-top: 0; }
  .pillar h3 { grid-column: 1; grid-row: 2; }
  .pillar-go { grid-column: 2; grid-row: 2; }
  .pillar p  { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------------------------------------------------------------- year grid

   The record of who each tournament carried. Ruled like a ledger, but laid
   out as cells so seven short entries fill the measure instead of stranding
   a column of white space to the right.
   ------------------------------------------------------------------------- */

.years {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.yr-cell {
  padding: clamp(18px, 1.9vw, 26px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--e-soft);
}
.yr-cell:hover { background: rgba(232, 176, 58, .05); }
.yr-cell--now { background: rgba(232, 176, 58, .09); }

.yr-cell-n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 2.7vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}
.yr-cell-who {
  display: block;
  margin-top: 13px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-2);
  line-height: 1.5;
  text-wrap: pretty;
}
.yr-cell-note {
  display: block;
  margin-top: 9px;
  font-size: .88rem;
  color: var(--mute);
  line-height: 1.55;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .years { grid-template-columns: minmax(0, 1fr); }
}

/* big stat figures */
.figs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(22px, 2.8vw, 44px);
}
.fig { position: relative; padding-top: 17px; border-top: 1px solid var(--line); }
.fig .n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 7px;
}
.fig .l {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute-2);
  line-height: 1.5;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- history rail

   A genuine horizontal scroller: wheel, swipe, drag or arrow through it. No
   sticky section and no hijacking of the page's vertical scroll.
   ------------------------------------------------------------------------- */

.tl-head {
  padding-inline: var(--gut);
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
  margin-bottom: clamp(18px, 2.4vw, 32px);
}

.tl-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.tl-viewport::-webkit-scrollbar { display: none; }
.tl-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tl-viewport:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; }

.tl-track {
  display: flex;
  width: max-content;
  gap: clamp(14px, 1.8vw, 24px);
  padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  padding-block: 4px;
}

.tl-card {
  flex: none;
  width: clamp(252px, 27vw, 340px);
  scroll-snap-align: start;
  padding: 22px 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: border-color .5s var(--e-soft), background .5s var(--e-soft);
}
.tl-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--e-out);
}
.tl-card:hover::before { transform: scaleX(1); }
.tl-card:hover { border-color: rgba(232,176,58,.55); background: var(--card-hover); }
.tl-card .yr {
  font-family: var(--f-display);
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--gold-text);
  margin-bottom: 11px;
  display: block;
}
.tl-card h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: 8px; }
.tl-card p { font-size: .92rem; color: var(--mute); margin: 0; }
.tl-card .ph { margin-top: 15px; aspect-ratio: 16 / 9; }

/* controls */
.tl-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max);
  width: 100%;
  margin: clamp(16px, 2.2vw, 28px) auto 0;
  padding-inline: var(--gut);
}
.tl-nav {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-text);
  cursor: pointer;
  transition: border-color .35s var(--e-soft), background .35s var(--e-soft), color .35s var(--e-soft), opacity .3s var(--e-soft);
}
.tl-nav:hover:not([disabled]) { background: var(--gold); border-color: var(--gold); color: var(--on-light); }
.tl-nav[disabled] { opacity: .28; cursor: default; }

.tl-prog { flex: 1; }
.tl-prog i {
  display: block;
  height: 1px;
  background: var(--line);
  position: relative;
}
.tl-prog i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--gold-text);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform .18s linear;
}


/* ---------------------------------------------------------------- quote */

.quote {
  max-width: 46ch;
  margin-inline: auto;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.014em;
  font-variation-settings: 'opsz' 32;
}
.quote-mark {
  display: block;
  font-size: 1.7rem;
  line-height: .5;
  color: var(--gold-text);
  margin-bottom: 14px;
  font-style: normal;
}
.quote-by {
  display: block;
  margin-top: 14px;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute-2);
}

/* ---------------------------------------------------------------- countdown */

.count {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 42px);
}
.count > div { min-width: 74px; }
.count .n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
}
.g-gold .count .n { color: var(--on-light); }
.count .l {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-top: 8px;
}
.g-gold .count .l { color: rgba(19,16,9,.6); }

/* ---------------------------------------------------------------- feature split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.6vw, 58px);
  align-items: center;
}
.split--wide-l { grid-template-columns: 1.16fr .84fr; }
.split--wide-r { grid-template-columns: .84fr 1.16fr; }
.split .ph { aspect-ratio: 4 / 3; }
@media (max-width: 880px) {
  .split, .split--wide-l, .split--wide-r { grid-template-columns: 1fr; }
  .split .media-first { order: -1; }
}

/* ---------------------------------------------------------------- cards / tiers */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.card {
  position: relative;
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .55s var(--e-soft), transform .55s var(--e-out), background .55s var(--e-soft);
}
.card::after {
  content: "";
  position: absolute;
  inset: auto auto -60% -30%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,176,58,.16), transparent 66%);
  opacity: 0;
  transition: opacity .6s var(--e-soft);
  pointer-events: none;
}
.card:hover { border-color: rgba(232,176,58,.34); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h2, .card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.card p { color: var(--mute); font-size: .96rem; }

.card-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 15px;
  color: var(--gold-text);
  transition: background .5s var(--e-out), color .5s var(--e-out), border-color .5s var(--e-out);
}
.card:hover .card-icon { background: var(--gold); color: var(--on-light); border-color: var(--gold); }

.badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.badge--now  { background: rgba(138,155,116,.2); color: var(--sage); border: 1px solid rgba(138,155,116,.35); }
.badge--soon { background: var(--line-2); color: var(--mute-2); border: 1px solid var(--line); }
.badge--gold { background: var(--gold); color: var(--on-light); }
.badge--out  { background: var(--on-light); color: var(--gold); border: 1px solid var(--on-light); }
.badge + .badge { margin-left: 8px; }

/* sponsorship tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tier {
  background: var(--ink);
  padding: clamp(18px, 2vw, 24px) clamp(14px, 1.5vw, 19px);
  position: relative;
  transition: background .5s var(--e-soft);
}
.tier:hover { background: var(--surface); }
.tier--feat { background: var(--surface); }
.tier--feat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
}
.tier .t-name {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 11px;
}
.tier .t-amt {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.tier p { font-size: .84rem; line-height: 1.5; color: var(--mute); margin: 0; }

@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* five tiers in two columns leaves a hole; let the last one run wide */
  .tier:last-child { grid-column: 1 / -1; }
}
@media (max-width: 440px)  { .tiers { grid-template-columns: 1fr; } }

/* impact tiers on donate */
.gift {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: baseline;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}
.gift .amt {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--gold-text);
  min-width: 3.6ch;
}
.gift p { margin: 0; color: var(--mute); }

/* ---------------------------------------------------------------- event block */

.event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.event-a { padding: clamp(22px, 2.6vw, 38px); background: var(--surface); }
.event-b {
  padding: clamp(22px, 2.6vw, 38px);
  background: var(--ink);
  border-left: 1px solid var(--line);
}
.dl { display: grid; gap: 0; }
.dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.dl > div:last-child { border-bottom: 0; }
.dl dt {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute-2);
  padding-top: .3em;
}
.dl dd { margin: 0; color: var(--ivory-2);   text-wrap: pretty;
}
@media (max-width: 880px) {
  .event { grid-template-columns: 1fr; }
  .event-b { border-left: 0; border-top: 1px solid var(--line); }
  .dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------------------------------------------------------------- forms */



/* ---------------------------------------------------------------- contact list */

.clist { list-style: none; margin: 0; padding: 0; }
.clist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.clist li:first-child { border-top: 1px solid var(--line); }
.clist .k {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 7px;
}
.clist .v { font-size: 1.04rem; color: var(--ivory);   text-wrap: pretty;
}
.clist .v a { color: var(--ivory); transition: color .3s var(--e-soft); }
.clist .v a:hover { color: var(--gold-text); }
.clist .i { color: var(--gold-text); padding-top: 3px; }

/* ---------------------------------------------------------------- CTA */

.cta {
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
}
.cta h2 { margin-bottom: 16px; }
.cta .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- footer */

.ftr {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 66px);
  padding-bottom: 24px;
}
.ftr-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(22px, 2.8vw, 44px);
  padding-bottom: clamp(28px, 3.2vw, 44px);
  border-bottom: 1px solid var(--line);
}
.ftr .brand img { height: 46px; }
.ftr h3 {
  font-family: var(--f-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 14px;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 8px; }
.ftr li a, .ftr address a {
  color: var(--ivory-2);
  font-size: .95rem;
  font-style: normal;
  transition: color .3s var(--e-soft);
}
.ftr li a:hover, .ftr address a:hover { color: var(--gold-text); }
.ftr address { font-style: normal; color: var(--mute); font-size: .95rem; line-height: 1.75; }
.ftr-blurb { color: var(--mute); font-size: .95rem; max-width: 34ch; margin-top: 15px; }

.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  padding-top: 20px;
  font-size: .78rem;
  color: var(--mute-2);
  letter-spacing: .03em;
}
.ftr-bottom a { color: var(--mute-2); }
.ftr-bottom a:hover { color: var(--gold-text); }
.ftr-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(25, 19, 7, .28);
  transition: color .3s var(--e-soft), text-decoration-color .3s var(--e-soft);
}
.ftr-credit a:hover { text-decoration-color: var(--gold-text); }

@media (max-width: 940px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- floating give */

.give-fab {
  position: fixed;
  right: clamp(16px, 2.4vw, 30px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 27px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-light);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  box-shadow: 0 18px 44px -14px rgba(232,176,58,.55);
  opacity: 0;
  transform: translateY(22px) scale(.94);
  pointer-events: none;
  transition: opacity .6s var(--e-out), transform .6s var(--e-out), background .35s var(--e-soft);
}
.give-fab.is-in { opacity: 1; transform: none; pointer-events: auto; }
.give-fab:hover { background: var(--ivory); }
.give-fab i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--on-light);
  animation: pip 2.4s var(--e-io) infinite;
}
@keyframes pip { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (max-width: 620px) { .give-fab { padding: 13px 22px; font-size: .78rem; } }

/* ---------------------------------------------------------------- motion off */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .clip-in > img { clip-path: none !important; }
  .page-veil { display: none; }
  .sec-anim main > section,
  .sec-anim main > .marquee,
  .sec-anim main > .pmarquee,
  .sec-anim .ftr { opacity: 1 !important; transform: none !important; }
  .hero-media img { transform: scale(1.06); }
  .rays, .halo { display: none; }
  .give-fab { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------------------------------------------------------------- phones

   Below 620px every page reads as one centred column. The heroes are the
   exception: their headlines stay ranged left, which is what gives them
   their weight. Anything laid out as a row of label and value stacks so
   it can centre honestly rather than sitting lopsided.
   ------------------------------------------------------------------------- */

@media (max-width: 620px) {

  main .wrap,
  .ftr .wrap { text-align: center; }

  .hero .wrap,
  .phero .wrap { text-align: left; }

  /* anything inline-flex needs telling separately from text-align */
  main .btn-row,
  .ftr .btn-row,
  main .tlink,
  .ftr .tlink { justify-content: center; }

  /* the rule-and-label eyebrows read better ranged left above their section */
  main .sec-head--center .eyebrow,
  main .eyebrow,
  .ftr .eyebrow {
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }

  .hero .eyebrow,
  .phero .eyebrow,
  .hero .btn-row,
  .phero .btn-row,
  .hero-meta { justify-content: flex-start; }

  /* measures that were pinned left need re-centring */
  main .lead,
  main .body-lg,
  main .sec-head,
  main .fine,
  .sec-head .lead { margin-inline: auto; }

  .hero h1,
  .hero .lead,
  .phero h1,
  .phero .lead { margin-inline: 0; }

  /* label/value rows stack and centre */
  .clist li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }
  .dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    justify-items: center;
  }
  .dl dd { text-align: center; }
  .ftr-bottom { justify-content: center; text-align: center; }
  .count { justify-content: center; }
  .event { grid-template-columns: 1fr; }

  /* the footer nav simply repeats the menu behind the burger */
  /* the three credentials hold one line by shrinking with the viewport */
  .hero-meta {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 clamp(7px, 2.4vw, 15px);
    font-size: clamp(.44rem, 2.15vw, .62rem);
    letter-spacing: .08em;
    color: var(--ivory-2);
    white-space: nowrap;
  }
  .hero-meta span { gap: clamp(5px, 1.6vw, 10px); }

  /* the pillar number belongs beside its heading, not stranded above it */
  .pillar {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: center;
    gap: 10px 11px;
  }
  .pillar-n  { grid-column: 1; grid-row: 1; align-self: baseline; }
  .pillar h3 { grid-column: 2; grid-row: 1; text-align: left; }
  .pillar p  { grid-column: 1 / -1; grid-row: 2; }
  .pillar-go { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
  /* the paragraph reads better ranged to the same edge as the number */
  .pillar p { text-align: left; }

  /* the beams carry further on a narrow screen */
  .rays {
    width: min(1500px, 178vw);
    top: -20%;
    right: -46%;
  }

  /* one button width everywhere, so stacked calls to action line up */
  main .btn-row,
  .ftr .btn-row { flex-direction: column; align-items: center; }
  main .btn-row .btn,
  .ftr .btn-row .btn { width: 100%; max-width: 310px; }
  /* a lone button keeps its natural width; only a pair needs matching */
  main .btn-row .btn:only-child,
  .ftr .btn-row .btn:only-child { width: auto; max-width: none; }

  /* the home hero keeps its two buttons sized to their labels */
  .hero .btn-row { flex-direction: row; align-items: flex-start; }
  .hero .btn-row .btn { width: auto; max-width: none; }

  /* the text sits lower and the wash over the lower frame is much lighter,
     so the cut-out family shows through instead of being painted out */
  .hero .wrap { padding-bottom: clamp(12px, 2vh, 22px); }
  /* a soft halo keeps the type legible over the picture, which is cheaper
     than painting the picture out again */
  .hero h1,
  .hero .lead,
  .hero-meta { text-shadow: 0 1px 12px rgba(251, 247, 238, .9), 0 0 30px rgba(251, 247, 238, .75); }
  .hero-media::after {
    background:
      linear-gradient(to top,
        var(--void) 0%,
        rgba(251, 247, 238, .70) 20%,
        rgba(251, 247, 238, .34) 46%,
        transparent 72%),
      radial-gradient(110% 70% at 78% 16%, rgba(232,176,58,.20), transparent 62%);
  }

  /* the ghost button sits straight on the photograph, so it needs a ground
     of its own rather than relying on the picture behind it */
  .hero .btn--ghost {
    --bg: rgba(251, 247, 238, .93);
    border-color: rgba(25, 19, 7, .16);
  }

  .ftr-nav { display: none; }
  .ftr-top { grid-template-columns: 1fr; }
  .ftr .brand { display: inline-block; }
  .ftr .brand img { height: 78px; }
}
