/* Reach Back & Lift 1 — site styles
   Idea: the logo is a figure climbing stairs with a torch. The stair step is the
   one recurring shape; everything else stays quiet. */

@font-face{font-family:'Zodiak';src:url('/fonts/zodiak-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Zodiak';src:url('/fonts/zodiak-700i.woff2') format('woff2');font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:'Zodiak';src:url('/fonts/zodiak-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Zodiak';src:url('/fonts/zodiak-900.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:'Supreme';src:url('/fonts/supreme-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Supreme';src:url('/fonts/supreme-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Supreme';src:url('/fonts/supreme-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Supreme';src:url('/fonts/supreme-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}

:root {
  --navy: #0b2e59;
  --navy-deep: #06203f;
  --gold: #f9a51a;
  --gold-deep: #b86f00;
  --sky: #eef4fb;
  --sky-line: #d3e0ef;
  --ink: #0d1b2a;
  --ink-soft: #44546a;
  --white: #ffffff;
  --display: "Zodiak", Georgia, "Times New Roman", serif;
  --body: "Supreme", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --step: clamp(14px, 2.2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.04; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1.1em; max-width: 66ch; text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 9vw, 120px); }
.band-sky { background: var(--sky); }
.band-navy { background: var(--navy); color: #dbe6f3; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a:not(.btn) { color: var(--gold); }
.band-navy .lede { color: #c4d4e8; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--body); font-weight: 800; font-size: 1.05rem; line-height: 1;
  padding: 1em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #ffb840; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.band-navy .btn-line, .hero .btn-line, .page-head .btn-line { color: var(--white); }
.btn-line:hover { background: rgba(249,165,26,.16); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sky-line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--navy); }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--gold-deep); }
.nav .btn { padding: .8em 1.4em; }
.has-menu { position: relative; }
.has-menu > button { font: inherit; font-weight: 600; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.has-menu > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.menu { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 270px; background: var(--white); border: 1px solid var(--sky-line); border-radius: 14px; padding: 10px; box-shadow: 0 18px 40px rgba(6,32,63,.14); display: none; }
.has-menu.open .menu, .has-menu:focus-within .menu { display: block; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.menu a:hover { background: var(--sky); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; font: inherit; font-weight: 700; padding: .5em 1em; cursor: pointer; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 120px; overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav a, .has-menu > button { font-size: 1.25rem; padding: 16px 0; border-bottom: 1px solid var(--sky-line); width: 100%; justify-content: space-between; }
  .nav .btn { margin-top: 20px; border-bottom: 0; justify-content: center; padding: 1em; }
  .menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .menu a { font-size: 1.05rem; padding: 12px 0; }
  .has-menu > button::after { display: none; }
  .brand img { height: 48px; }
}

/* Hero: text on navy, photo cut along a staircase */
.hero { background: var(--navy); color: #dbe6f3; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: var(--white); }
.hero h1 .climb { display: block; }
.hero h1 .climb:nth-child(2) { padding-left: .55em; }
.hero h1 .climb:nth-child(3) { padding-left: 1.1em; color: var(--gold); }
.hero .lede { color: #c9d8ea; max-width: 34em; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 72% 20%;
  clip-path: polygon(0 100%, 0 75%, 25% 75%, 25% 50%, 50% 50%, 50% 25%, 75% 25%, 75% 0, 100% 0, 100% 100%);
}
.hero-photo figcaption { margin-top: 12px; font-size: .9rem; color: #a9bfd9; text-align: right; }
.hero-note { position: absolute; left: 0; top: 4%; width: 46%; font-family: var(--display); font-weight: 700; color: var(--gold); font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.2; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3.4; }
  .hero-note { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .climb { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero h1 .climb:nth-child(2) { animation-delay: .12s; }
  .hero h1 .climb:nth-child(3) { animation-delay: .24s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* Page head for inner pages */
.page-head { background: var(--navy); color: #dbe6f3; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.page-head h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-head .lede { color: #c9d8ea; }
.crumb { font-weight: 600; color: var(--gold); text-decoration: none; display: inline-block; margin-bottom: 18px; }
.crumb:hover { color: var(--white); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sky-line); }
.fact { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--sky-line); }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--sky-line); }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .98rem; line-height: 1.4; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact { padding-right: 14px; }
}

/* Staircase of programs: each card sits one step higher than the last */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.stair { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border-radius: 6px; overflow: hidden; border-bottom: 8px solid var(--navy); transition: border-color .2s ease; }
.stair:hover { border-color: var(--gold); color: inherit; }
.stair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stair-body { padding: 20px 20px 24px; }
.stair-body p { font-size: .98rem; color: var(--ink-soft); margin-bottom: .8em; }
.stair-body .more { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
@media (min-width: 981px) {
  .stair:nth-child(1) { margin-bottom: 0; }
  .stair:nth-child(2) { margin-bottom: 44px; }
  .stair:nth-child(3) { margin-bottom: 88px; }
  .stair:nth-child(4) { margin-bottom: 132px; }
}
@media (max-width: 980px) { .stairs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stairs { grid-template-columns: 1fr; } }

/* Two-column story blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; border-radius: 6px; object-fit: cover; }
.stepcut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2 * var(--step)), calc(100% - var(--step) * 2) calc(100% - 2 * var(--step)), calc(100% - var(--step) * 2) calc(100% - var(--step)), calc(100% - var(--step) * 4) calc(100% - var(--step)), calc(100% - var(--step) * 4) 100%, 0 100%); border-radius: 0 !important; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.pull { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--navy); max-width: 24ch; border-left: 6px solid var(--gold); padding-left: 22px; margin: 0 0 1em; }
.band-navy .pull { color: var(--white); }
.sig { font-weight: 600; color: var(--ink-soft); }
.band-navy .sig { color: #c4d4e8; }

.prose h2 { margin-top: 1.4em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; max-width: 64ch; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold-deep); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 36px); }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.plain-card { border-top: 4px solid var(--gold); padding-top: 18px; }
.plain-card p { color: var(--ink-soft); font-size: 1rem; }
.band-navy .plain-card p { color: #c4d4e8; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: 4 / 3; }
.gallery .g-wide { grid-column: span 8; } .gallery .g-tall { grid-column: span 4; } .gallery .g-half { grid-column: span 6; } .gallery .g-third { grid-column: span 4; }
@media (max-width: 700px) { .gallery > * { grid-column: span 12 !important; } }

.partners { display: flex; flex-wrap: wrap; gap: 10px 12px; padding: 0; margin: 1.2em 0 0; list-style: none; }
.partners li { border: 1px solid var(--sky-line); background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--navy); }

/* Giving panel */
.give { background: var(--white); color: var(--ink); border-radius: 14px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 24px 60px rgba(6,32,63,.22); border-top: 8px solid var(--gold); }
.give h2, .give h3 { color: var(--navy); font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .3em; }
.give p { font-size: .98rem; color: var(--ink-soft); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sky); border-radius: 999px; padding: 4px; margin: 18px 0; }
.seg label { text-align: center; padding: 11px 8px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--navy); font-family: var(--display); }
.seg input, .amounts input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { background: var(--navy); color: var(--white); }
.seg input:focus-visible + label, .amounts input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amounts label { display: block; text-align: center; padding: 15px 6px; border: 2px solid var(--sky-line); border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--navy); cursor: pointer; }
.amounts input:checked + label { border-color: var(--navy); background: var(--navy); color: var(--white); }
.custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; border: 2px solid var(--sky-line); border-radius: 10px; padding: 4px 14px; }
.custom:focus-within { border-color: var(--navy); }
.custom span { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.custom input { border: 0; outline: 0; font: inherit; font-size: 1.15rem; padding: 12px 0; width: 100%; background: transparent; color: var(--ink); }
.give-toward { min-height: 3.2em; margin: 14px 0 6px; font-weight: 600; color: var(--navy); font-size: 1rem; }
.give .btn { width: 100%; font-size: 1.15rem; padding: 1.15em; margin-top: 8px; }
.give-fine { font-size: .84rem !important; margin: 14px 0 0; line-height: 1.5; }
.give-embed iframe { width: 100%; min-height: 720px; border: 0; border-radius: 10px; }

.countdown { display: inline-flex; gap: 10px; align-items: stretch; margin: 6px 0 22px; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 12px 14px; min-width: 74px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .82rem; color: #c4d4e8; }
.tag { display: inline-block; background: var(--gold); color: var(--navy-deep); font-family: var(--display); font-weight: 800; padding: 7px 14px; border-radius: 999px; font-size: .98rem; margin-bottom: 18px; }

.gt-hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
@media (max-width: 860px) { .gt-hero .wrap { grid-template-columns: 1fr; } .gt-hero .hero-photo, .gt-hero .wrap > div > img { display: none; } }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-weight: 600; display: grid; gap: 6px; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; padding: 14px; border: 2px solid var(--sky-line); border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 0; }
.form .hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #116432; } .form-status.err { color: #a12b12; }

/* Footer */
.site-foot { background: var(--navy-deep); color: #b9cade; padding-block: clamp(48px, 7vw, 88px) 110px; font-size: .98rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.site-foot h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.site-foot a { color: #dbe6f3; text-decoration: none; display: block; padding: 4px 0; }
.site-foot a:hover { color: var(--gold); }
.site-foot p { max-width: 34ch; }
.foot-mark { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--white); margin-bottom: 8px; }
.foot-mark em { color: var(--gold); font-style: normal; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .88rem; color: #8ea5c0; }
.foot-legal p { max-width: none; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* Sticky give bar on phones */
.give-bar { display: none; }
@media (max-width: 920px) {
  .give-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy-deep); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between; border-top: 3px solid var(--gold); }
  .give-bar span { color: var(--white); font-weight: 600; font-size: .95rem; line-height: 1.25; }
  .give-bar .btn { padding: .85em 1.3em; white-space: nowrap; }
  body.no-give-bar .give-bar { display: none; }
}

.center { text-align: center; } .center p, .center h2 { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-l { margin-bottom: clamp(28px, 4vw, 56px); }
video { max-width: 100%; border-radius: 10px; background: #000; }

/* Giving Tuesday hero: the sunrise takeoff film plays behind the appeal */
.gt-film { position: relative; isolation: isolate; }
.gt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; border-radius: 0; }
.gt-film::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,32,63,.82) 0%, rgba(6,32,63,.55) 38%, rgba(6,32,63,.9) 100%); }
.gt-film h1 { text-shadow: 0 2px 26px rgba(0,0,0,.45); font-size: clamp(2.5rem, 9.5vw, 5rem); }
.gt-film .lede, .gt-early { color: #eef3fa; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.countdown div { backdrop-filter: blur(6px); background: rgba(6,32,63,.5); }
section[id], div[id] { scroll-margin-top: 84px; }
@media (max-width: 860px) { .gt-film .wrap { padding-top: 28px; } .countdown { gap: 6px; } .countdown div { min-width: 0; flex: 1; padding: 10px 6px; } .countdown { display: flex; } }

/* sticky Contact + Donate on phones, every page */
@media (max-width: 920px) {
  .give-bar { gap: 10px; }
  .give-bar .btn { flex: 1; min-height: 50px; }
  .give-bar .btn-line { color: #fff; flex: .8; }
  .give-bar .btn-gold { flex: 1.2; font-size: 1.1rem; }
  .site-foot { padding-bottom: 120px; }
}

/* fund something specific */
.give-items { display: grid; gap: 8px; margin: 6px 0 14px; padding-top: 14px; border-top: 1px solid var(--sky-line); }
.give-items-h { font-weight: 800; color: var(--navy) !important; margin: 0 0 2px; font-size: 1rem !important; }
.give-items button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 16px; border: 2px solid var(--navy); border-radius: 12px; background: #fff; color: var(--navy); font: 700 1.02rem var(--body); cursor: pointer; text-align: left; }
.give-items button b { font: 800 1.2rem var(--display); background: var(--gold); color: var(--navy-deep); border-radius: 999px; padding: 4px 14px; white-space: nowrap; }
.give-items button:hover, .give-items button:active { background: var(--navy); color: #fff; }
