:root {
  --tributary-navy: #0e2a47;
  --tributary-evergreen: #4e6c5c;
  --tributary-gold: #c9a65c;
  --tributary-stone: #ede9e3;
  --tributary-off-white: #f9f9f9;
  --ink: var(--tributary-navy);
  --deep: var(--tributary-navy);
  --water: #e9eee9;
  --paper: var(--tributary-off-white);
  --surface: #fff;
  --sand: var(--tributary-stone);
  --muted: #475b67;
  --line: #c8c6be;
  --accent: var(--tributary-gold);
  --gutter: clamp(1.125rem, 4.8vw, 4.5rem);
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
  --n: var(--tributary-navy);
  --n2: var(--tributary-evergreen);
  --river: var(--tributary-gold);
  --p: var(--tributary-off-white);
  --s: var(--tributary-stone);
  --q: var(--water);
  --i: var(--tributary-navy);
  --m: var(--muted);
  accent-color: var(--tributary-evergreen);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

:is(.home-hero, .site-footer, .event-feature) :is(a, button):focus-visible {
  outline-color: var(--tributary-gold);
}

.home-giving :is(a, button):focus-visible {
  outline-color: var(--surface);
}

.wrap,
body > header .w,
body > footer .w {
  width: min(74rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip:focus {
  color: var(--ink);
  border: 1px solid currentColor;
  z-index: 12;
}

.site-header,
body > header:has(.w.nav) {
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header .navigation,
body > header .w.nav {
  display: flex;
  min-height: 4.75rem;
  height: auto;
  gap: clamp(.5rem, 2.2vw, 2rem);
}

.site-header .logo,
body > header .brand {
  margin-right: auto;
}

.site-header .logo img,
body > header .brand-logo {
  display: block;
  width: clamp(9.25rem, 17vw, 11.25rem);
  height: auto;
  filter: brightness(.51) saturate(1.17);
}

.site-header .navigation nav,
body > header .w.nav nav {
  gap: clamp(.6rem, 1.9vw, 1.65rem);
  overflow: visible;
  white-space: normal;
}

.site-header .navigation nav a,
body > header .w.nav nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .25rem .125rem;
  color: inherit;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.site-header .navigation nav a:hover,
.site-header .navigation nav a[aria-current],
body > header .w.nav nav a:not(.cta):hover {
  text-decoration: underline;
  text-decoration-color: var(--tributary-evergreen);
  text-decoration-thickness: 2px;
  text-underline-offset: .32em;
}

.button,
.site-header .navigation > .button,
body > header .w.nav .cta {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.15rem;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid var(--ink);
  gap: .75rem;
  border-radius: .5rem;
  font: 700 .95rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
}

.site-header .navigation > .button,
body > header .w.nav .cta {
  min-width: 4.8rem;
  color: var(--ink);
  background: var(--tributary-gold);
  border-color: var(--tributary-gold);
}

.button:hover,
.site-header .navigation > .button:hover,
body > header .w.nav .cta:hover {
  color: var(--surface);
  background: #27455e;
  border-color: #27455e;
  text-decoration: none;
}

.actions {
  gap: .65rem;
  margin-block: 1.5rem;
}

.actions .button + .button {
  color: var(--ink);
  border-color: var(--tributary-evergreen);
}

.actions .button + .button:hover {
  color: var(--ink);
  background: var(--water);
}

h1,
h2 {
  font: 400 clamp(2rem, 4.2vw, 3.875rem)/1.03 var(--display);
  letter-spacing: -.042em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.375rem);
}

h3 {
  font-size: clamp(1.14rem, 1.5vw, 1.3rem);
  letter-spacing: -.022em;
  line-height: 1.26;
}

p {
  line-height: 1.7;
}

.mast,
body > main .subhero {
  background: var(--ink);
  color: var(--surface);
  padding-block: clamp(2.25rem, 6vw, 5.375rem);
}

.mast h1,
body > main .subhero h1 {
  max-width: 18ch;
}

.section {
  padding-block: clamp(2.8rem, 6vw, 5.25rem);
}

.section-heading {
  align-items: baseline;
}

.section-heading > a {
  padding-block: .45rem;
  text-decoration-thickness: 1px;
}

.home-hero {
  background: var(--ink);
  color: var(--surface);
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.75rem, 4.6vw, 4.25rem);
}

.home-hero .hero-copy {
  padding-block: clamp(3rem, 6vw, 5.75rem);
}

.home-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 6vw, 5.9rem);
  letter-spacing: -.055em;
  line-height: .94;
  text-wrap: balance;
}

.home-hero p {
  max-width: 39ch;
  margin-top: clamp(1.1rem, 2.8vw, 1.75rem);
  color: #f0f1ed;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.58;
}

.home-hero .actions {
  margin-top: 1.55rem;
}

.home-hero .button,
.event-feature .button {
  min-width: 6.25rem;
  color: var(--ink);
  background: var(--tributary-gold);
  border-color: var(--tributary-gold);
}

.home-hero .button:hover,
.event-feature .button:hover {
  color: var(--ink);
  background: #e1c88d;
  border-color: #e1c88d;
}

.home-hero .actions .button + .button,
.event-feature .actions .button + .button {
  background: transparent;
  color: var(--surface);
  border-color: #cbd4ce;
}

.home-hero .actions .button + .button:hover,
.event-feature .actions .button + .button:hover {
  color: var(--surface);
  background: #254d42;
}

.home-hero .hero-photo {
  min-height: 0;
  aspect-ratio: 1.4;
  margin: 1.75rem 0;
  background: var(--tributary-evergreen);
  border-radius: .5rem;
}

.home-hero .hero-photo img,
.story-photo img,
.fund-photo img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translateY(-50%);
}

.home-hero .photo-raft img {
  height: 100%;
  object-position: 32% 50%;
}

.story-photo,
.fund-photo {
  border-radius: 0;
}

.photo-chairlift:is(.story-photo, .fund-photo) img {
  height: 228%;
}

.grid,
.metrics {
  gap: 1rem clamp(1rem, 3vw, 2rem);
}

.grid article,
.home-pillars .grid article {
  background: transparent;
  border: solid var(--line);
  border-width: 1px 0 0;
  border-radius: 0;
  padding: 1rem 0 .55rem;
}

.grid article h3 {
  overflow-wrap: break-word;
}

.grid article h3 a,
.program-list h3 a {
  text-decoration: underline;
  text-decoration-color: var(--tributary-evergreen);
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.grid article h3 a:hover,
.program-list h3 a:hover {
  text-decoration-thickness: 2px;
}

.grid article p,
.program-list article p {
  margin: .5rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.program-list,
.home-options .program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1.3rem clamp(1.25rem, 4vw, 3.25rem);
  margin: 1.5rem 0 .85rem;
}

.program-list article,
.home-options .program-list article {
  background: transparent;
  border: solid var(--tributary-evergreen);
  border-width: 1px 0 0;
  border-radius: 0;
  padding: .85rem 0 .45rem;
}

.program-list h3 {
  font-size: 1.13rem;
}

.event-feature {
  background: var(--tributary-stone);
  padding-block: clamp(1.6rem, 4.5vw, 3.5rem);
}

.event-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  width: min(74rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: .5rem;
  overflow: hidden;
}

.event-feature-inner > .event-feature-photo {
  position: relative;
  min-height: 17.5rem;
  margin: 0;
  background: var(--tributary-evergreen);
  isolation: isolate;
  overflow: hidden;
}

.event-feature-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 49%;
  transform: none;
}

.event-feature-photo img[src$="/chairlift.webp"] {
  top: 50%;
  bottom: auto;
  height: 228%;
  object-position: center;
  transform: translateY(-50%);
}

.event-feature-photo--poster img {
  object-fit: contain;
}

.event-feature-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(1.35rem, 4.75vw, 4rem);
}

.event-feature-copy h2,
.event-feature-copy h3 {
  margin-block: 0 .6rem;
  max-width: 17ch;
}

.event-feature-copy h2 {
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}

.event-feature-copy p {
  max-width: 47ch;
  margin: .5rem 0;
  color: #eff0ea;
  line-height: 1.58;
}

.event-feature-copy .label,
.event-feature-copy .event-date,
.event-feature-copy time {
  color: #ead7a9;
}

.event-feature-copy .label,
.event-feature-copy .event-date {
  font-size: .86rem;
  font-weight: 700;
}

.event-feature-copy .actions {
  margin: 1.1rem 0 0;
}

.event-feature-copy > .button {
  margin-top: .75rem;
}

.event-agenda,
.event-agenda > .grid,
.home-events .event-agenda,
.home-events .event-agenda > .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.event-agenda,
.home-events .event-agenda {
  margin-block: 1.15rem 1.4rem;
}

.event-agenda > .grid,
.home-events .event-agenda > .grid {
  margin-block: 0;
}

.event-agenda .event-card {
  display: grid;
  grid-template-columns: minmax(9rem, .58fr) minmax(0, 1.8fr) minmax(8rem, .6fr);
  grid-template-rows: repeat(4, auto);
  column-gap: clamp(1rem, 4vw, 3rem);
  row-gap: .2rem;
  align-items: start;
  padding: 1.1rem 0 1.2rem;
  margin: 0;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.event-agenda .event-card > :where(h3, p:not(.event-date)) {
  grid-column: 2;
}

.event-agenda .event-card .event-date {
  grid-area: 1 / 1 / -1 / 2;
  margin: .05rem 0 0;
  color: var(--tributary-evergreen);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}

.event-agenda .event-card h3 {
  margin: 0;
}

.event-agenda .event-card h3 a {
  text-decoration-line: underline;
  text-decoration-color: var(--tributary-evergreen);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.event-agenda .event-card h3 a:hover {
  text-decoration-thickness: 2px;
}

.event-agenda .event-card p:not(.event-date) {
  margin: 0;
  color: var(--muted);
  font-size: .925rem;
}

.event-agenda .event-card > a {
  grid-area: 1 / 3 / -1 / 4;
  justify-self: start;
  align-self: center;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.home-story-wrap {
  background: var(--tributary-stone);
}

.home-impact > div {
  border-top-color: var(--tributary-evergreen);
}

.home-impact dt {
  color: var(--tributary-evergreen);
  font-variant-numeric: lining-nums tabular-nums;
}

.home-giving {
  color: var(--surface);
  background: var(--tributary-evergreen);
}

.home-giving .actions .button,
.home-giving .actions .button + .button:hover {
  color: var(--ink);
  background: var(--tributary-gold);
  border-color: var(--tributary-gold);
}

.home-giving .actions .button:hover {
  color: var(--ink);
  background: #e1c88d;
  border-color: #e1c88d;
}

.home-giving .actions .button + .button {
  color: var(--surface);
  background: transparent;
  border-color: #d3dbd5;
}

.venue-map-plot,
.map-area,
.map-north,
.map-scale {
  background-color: var(--water);
}

.venue-map-locations li {
  border-radius: 0;
}

.site-footer,
body > footer:has(.w.foot) {
  color: #f5f5f0;
  background: var(--ink);
  border-top: 3px solid var(--tributary-gold);
}

.site-footer .foot,
body > footer .w.foot {
  padding-block: 2rem 2.35rem;
}

.site-footer .foot strong {
  font: 400 1.42rem/1.1 var(--display);
}

.site-footer .foot p {
  max-width: 29ch;
  color: #e2e8e9;
  font-size: .89rem;
  line-height: 1.55;
}

.site-footer .foot > div:last-child {
  gap: .2rem 1rem;
  max-width: 34rem;
}

.site-footer a,
body > footer:has(.w.foot) a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #a3b1bd;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.site-footer a:hover,
body > footer:has(.w.foot) a:hover {
  text-decoration-color: var(--tributary-gold);
  text-decoration-thickness: 2px;
}

.partner-mast .actions .button:first-child {
  color: var(--ink);
  background: var(--tributary-gold);
  border-color: var(--tributary-gold);
}

.partner-mast .actions .button:first-child:hover {
  background: var(--surface);
  border-color: var(--surface);
}

.partner-grid h3 a {
  text-decoration: underline;
  text-decoration-color: var(--tributary-evergreen);
  text-decoration-thickness: 1px;
}

.partner-grid h3 a:hover {
  text-decoration-thickness: 2px;
}

.partner-grid .partner-links a {
  min-height: 2.75rem;
}

@media (max-width: 63.99rem) {
  .site-header,
  body > header:has(.w.nav) {
    position: relative;
  }

  .site-header .navigation,
  body > header .w.nav {
    flex-wrap: wrap;
    min-height: auto;
    padding-block: .4rem .2rem;
    row-gap: .15rem;
  }

  .site-header .navigation nav,
  body > header .w.nav nav {
    order: 3;
    flex-wrap: wrap;
    width: 100%;
    padding-top: .05rem;
    row-gap: 0;
    column-gap: clamp(.55rem, 2.8vw, 1.25rem);
  }

  .site-header .navigation nav a,
  body > header .w.nav nav a {
    font-size: .85rem;
  }

  .home-hero .hero-grid {
    gap: clamp(1rem, 3vw, 2rem);
  }

  .site-footer .foot > div:last-child {
    max-width: none;
  }
}

@media (max-width: 43rem) {
  .home-hero .hero-grid,
  .home-story,
  .fund-story,
  .event-feature-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero .hero-grid {
    gap: 0;
  }

  .home-hero .hero-copy {
    padding-block: 2.65rem 1.75rem;
  }

  .home-hero h1 {
    font-size: clamp(2.9rem, 11vw, 4.8rem);
  }

  .home-hero .hero-photo {
    min-height: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1.7;
    margin: 0 0 1.5rem;
  }

  .event-feature-inner > .event-feature-photo {
    min-height: 0;
    aspect-ratio: 2;
  }

  .event-feature-copy h2 {
    max-width: 17ch;
  }

  .event-agenda .event-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding-block: .9rem 1.05rem;
    gap: .25rem;
  }

  .event-agenda .event-card > :where(h3, p:not(.event-date)),
  .event-agenda .event-card .event-date,
  .event-agenda .event-card > a {
    grid-area: auto;
  }

  .event-agenda .event-card > a {
    min-height: 2.75rem;
  }

  .site-footer .foot,
  body > footer .w.foot {
    flex-direction: column;
    align-items: start;
    gap: .8rem;
  }
}

@media (max-width: 30rem) {
  .home-options .program-list,
  .program-list {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }

  .navigation nav a {
    font-size: .83rem;
  }

  .site-header .navigation nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 .4rem;
  }

  .site-header .navigation nav a {
    justify-self: start;
  }
}

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

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