/* Driven by Alumni. Navy showroom, one bright object, quiet everything else. */
:root {
  --navy: #000927;
  --navy-2: #050f2e;
  --navy-3: #0b1a3a;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.46);
  --powder: #a4c8e1;
  --grey: #d1d3d5;
  --line: rgba(164, 200, 225, 0.18);
  --display: "Montserrat", "proxima-nova", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --col: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--navy); color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; }
body { font-size: 17px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--powder); outline-offset: 3px; }
.wrap { width: min(var(--col), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--powder); font-weight: 500; }
h1, h2, h3 { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: 15px; letter-spacing: 0.14em; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 56ch; }

/* buttons: square, uppercase, tracked. On navy the primary is white, the outline is powder. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 34px; border: 2px solid var(--ink); background: var(--ink); color: var(--navy); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--powder); }
.btn--outline:hover { background: var(--powder); color: var(--navy); border-color: var(--powder); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: var(--navy); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(110% 80% at 50% 12%, var(--navy-3) 0%, var(--navy-2) 45%, var(--navy) 78%); }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-stage canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-stage .fallback { position: absolute; inset: 0; background: url("bus-still.png") center 55% / contain no-repeat; display: none; }
.no-webgl .hero-stage canvas { display: none; }
.no-webgl .hero-stage .fallback { display: block; }
.hero-top { padding-top: clamp(28px, 5vh, 56px); text-align: center; pointer-events: none; }
.hero-top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
.hero h1 { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(44px, 8.4vw, 112px); letter-spacing: 0.01em; line-height: 0.92; text-shadow: 0 10px 60px rgba(0, 0, 0, .55); }
.hero h1 em { font-style: normal; color: var(--powder); }
.hero .lede { margin: 18px auto 0; text-align: center; font-size: clamp(16px, 1.5vw, 19px); }
.hero-mid { position: relative; }
.hint { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; white-space: nowrap; }

/* ---------- the load sequence: words, then the lede, then the dashboard ---------- */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
.hero h1 .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .08em; margin: 0 -.06em -.08em; }
.hero h1 .w { display: inline-block; transform: translateY(112%); animation: rise 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero h1 .w1 { animation-delay: .15s; }
.hero h1 .w2 { animation-delay: .32s; }
.hero h1 .w3 { animation-delay: .55s; }
.hero-top .brand { opacity: 0; animation: fade-up .8s ease-out .05s forwards; }
.hero .lede { opacity: 0; animation: fade-up .9s cubic-bezier(.2, .8, .2, 1) 1.15s forwards; }
.hero-bottom { opacity: 0; animation: fade-up .9s cubic-bezier(.2, .8, .2, 1) 1.5s forwards; }
.hint { opacity: 0; animation: fade-in .8s ease-out 2.4s forwards; }

/* ---------- scroll reveals (only when the script is running, so a no-JS page stays readable) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 130ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
.hero-bottom { padding-bottom: clamp(20px, 4vh, 44px); }

/* the dashboard: readout + a road with a bus on it */
.dash { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: end; padding: 22px clamp(18px, 2.6vw, 30px); border: 1px solid var(--line); background: rgba(0, 9, 39, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.readout { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.readout strong { font-family: var(--mono); font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: .9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.readout strong small { font-size: .5em; color: var(--powder); margin-left: 2px; }
.road { position: relative; height: 34px; }
.road-track { position: absolute; inset: 12px 0 12px; background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.road-track::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 2px dashed rgba(255, 255, 255, .16); transform: translateY(-1px); }
.road-fill { position: absolute; left: 0; top: 12px; bottom: 12px; width: 0; background: var(--powder); box-shadow: 0 0 22px rgba(164, 200, 225, .55); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.road-bus { position: absolute; left: 0; top: 50%; width: 46px; height: 24px; transform: translate(-40%, -50%); transition: left 1.6s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.road-flag { position: absolute; right: 0; top: 50%; transform: translate(35%, -50%); width: 26px; height: 26px; }
.road-labels { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.dash-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.dash-note { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 > div { background: var(--navy); padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.grid-3 h3 { color: var(--powder); }
.grid-3 p { color: var(--ink-2); font-size: 16px; }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy-2); border: 1px solid var(--line); overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 12px; padding: 24px; }
.video-empty img { height: 90px; width: auto; opacity: .55; }
.video-empty p { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.video-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.letter { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote { font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.quote::before { content: "\201C"; color: var(--powder); }
.quote::after { content: "\201D"; color: var(--powder); }
.letter-body { display: grid; gap: 18px; color: var(--ink-2); font-size: 16px; }
.letter-body details summary { cursor: pointer; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--powder); padding: 4px 0; }
.letter-body details summary::-webkit-details-marker { display: none; }
.letter-body details summary::before { content: "+ "; }
.letter-body details[open] summary::before { content: "\2212 "; }
.letter-body details > div { display: grid; gap: 14px; padding-top: 14px; }
.sign { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }

/* the plaque: brushed metal, engraved names */
.plaque { position: relative; padding: clamp(26px, 4vw, 44px); background: linear-gradient(100deg, #c9ccd1 0%, #eef0f2 22%, #b9bdc4 45%, #e6e8eb 70%, #c2c6cc 100%); color: #1e2330; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), inset 0 0 0 6px rgba(0, 0, 0, .08), 0 30px 80px rgba(0, 0, 0, .55); border-radius: 4px; }
.plaque::before { content: ""; position: absolute; inset: 0; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px); pointer-events: none; mix-blend-mode: overlay; }
/* one pass of light across the metal as the plaque arrives */
.plaque::after { content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .85) 46%, rgba(255, 255, 255, .25) 52%, transparent 64%); transform: translateX(-130%); mix-blend-mode: overlay; }
.plaque.in::after { animation: glint 1.5s ease-out .35s forwards; }
@keyframes glint { to { transform: translateX(130%); } }
.plaque-screw { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fafafa, #8b9098 60%, #4d525b); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.plaque-screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: rgba(0, 0, 0, .5); transform: rotate(-30deg); }
.plaque-screw:nth-child(1) { top: 10px; left: 10px; } .plaque-screw:nth-child(2) { top: 10px; right: 10px; } .plaque-screw:nth-child(3) { bottom: 10px; left: 10px; } .plaque-screw:nth-child(4) { bottom: 10px; right: 10px; }
.plaque-title { text-align: center; font-weight: 900; letter-spacing: .22em; font-size: clamp(14px, 1.6vw, 18px); text-transform: uppercase; color: #262b38; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.plaque-sub { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #4d5361; margin-top: 6px; }
.plaque-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(0, 0, 0, .18); }
.plaque-names li { list-style: none; font-family: var(--mono); font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: #2a2f3b; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.5em; }
/* the engraving tip: the character being cut is bright, then settles into the metal */
.plaque-names li .hot { color: #fff; text-shadow: 0 0 6px rgba(255, 255, 255, .95), 0 0 16px rgba(164, 200, 225, .9); }
.plaque-names li small { color: #6b7180; margin-left: 6px; letter-spacing: .04em; }
.plaque-names li.you { color: #7a8190; }
.plaque-names li.you::after { content: ""; display: inline-block; width: 8px; height: 13px; margin-left: 6px; vertical-align: -2px; background: #7a8190; animation: blink 1.1s steps(2) infinite; }
.plaque-names ul { display: contents; }
.plaque-empty { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #6b7180; text-align: center; padding: 12px 0; }
@keyframes blink { to { opacity: 0; } }
/* try your own name */
.try { display: grid; grid-template-columns: 1fr 150px auto; gap: 12px; align-items: end; margin-bottom: 26px; }
.try-field { display: grid; gap: 7px; }
.try-field span { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--powder); }
.try-field input { font: inherit; font-family: var(--mono); font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 0; padding: 0 14px; min-height: 52px; width: 100%; -webkit-appearance: none; appearance: none; }
.try-field input::placeholder { color: var(--ink-3); }
.try-field input:focus { outline: none; border-color: var(--powder); box-shadow: 0 0 0 2px rgba(164, 200, 225, .35); }
.try .btn { min-height: 52px; white-space: nowrap; }
.try-note { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.plaque-names li.you.cut { color: #2a2f3b; }
.plaque-names li.you.cut::after { display: none; }
.plaque-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.plaque-cta[hidden] { display: none; }
.plaque-cta p { font-size: 18px; font-weight: 500; }
.plaque-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #5a606e; }

.give { text-align: center; }
.give .section-head { margin-inline: auto; text-align: center; }
.amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.amounts li { font-family: var(--mono); font-size: 14px; letter-spacing: .12em; padding: 10px 18px; border: 1px solid var(--line); color: var(--ink-2); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

.foot { padding: 40px 0 120px; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-mark { height: 26px; width: auto; opacity: .85; }
.foot-impact { display: flex; align-items: center; gap: 16px; }
.foot-impact span { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.foot-impact img { height: 48px; width: auto; }
.foot-line { border-top: 1px solid var(--line); padding-top: 18px; }
.foot p { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(0, 9, 39, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.sticky strong { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.sticky strong small { font-size: 11px; letter-spacing: .2em; color: var(--powder); margin-left: 6px; text-transform: uppercase; }
.sticky .btn { min-height: 46px; padding: 0 22px; font-size: 13px; }
.sticky.show { display: flex; }

/* Blackbaud's overlay centres itself against the viewport; copied from the live make-a-gift page. */
.blackbaud-adaptive-donation-form-dialog { top: 50%; left: 50%; }

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; align-items: stretch; }
  .dash-cta { justify-content: stretch; }
  .dash-cta .btn { flex: 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .letter { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .dash-cta { flex-direction: column; }
  .hero-top { padding-top: 22px; }
  .brand img { height: 24px; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .dash { padding: 18px 16px; }
  .btn { padding: 0 22px; min-height: 52px; font-size: 14px; }
  .try { grid-template-columns: 1fr 110px; }
  .try .btn { grid-column: 1 / -1; }
  .plaque-names { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; }
  .plaque-names li { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road-fill, .road-bus { transition: none; }
  .plaque-names li.you::after { animation: none; }
  .hero h1 .w, .hero-top .brand, .hero .lede, .hero-bottom, .hint { animation: none; opacity: 1; transform: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .plaque.in::after { animation: none; }
}
