/* Small explicit reset replaces the former Tailwind preflight. */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

svg {
  display: block;
  vertical-align: middle;
}

.lucide {
  flex-shrink: 0;
}

small {
  font-size: 80%;
}

:root {
  --ink: #17211d;
  --forest: #143a2b;
  --forest-deep: #0b2a20;
  --moss: #58745d;
  --snow: #f4f5ef;
  --white: #ffffff;
  --signal: #f0a72e;
  --line: #cbd0c4;
  --muted: #5d6962;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 0.3rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(790px, 100svh);
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgb(7 27 21 / 68%) 0%,
      rgb(7 27 21 / 48%) 47%,
      rgb(7 27 21 / 5%) 100%
    ),
    linear-gradient(0deg, rgb(7 27 21 / 18%) 0%, transparent 38%),
    url('trap-in-snow-steven-greig.webp');
  background-position: center top;
  background-size: cover;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 100% 7.5rem;
  content: '';
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.wordmark small {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wordmark-logo {
  display: block;
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
}

nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.7rem);
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a,
.header-action,
.footer-facebook {
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible,
.header-action:hover,
.header-action:focus-visible,
.footer-facebook:hover,
.footer-facebook:focus-visible {
  color: var(--signal);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(calc(100% - 4rem), var(--max));
  flex: 1;
  margin: 0 auto;
  padding: clamp(4rem, 9vh, 7rem) 0 8rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 940px;
  margin-bottom: 1.8rem;
  font-size: clamp(4rem, 8vw, 7.8rem);
}

h1 em {
  color: var(--signal);
  font-weight: 400;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 2.1rem;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.join-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 750;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--signal);
  color: #1f271f;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffb845;
}

.button-quiet {
  border-color: rgb(255 255 255 / 55%);
  background: rgb(9 38 29 / 25%);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: var(--white);
  color: var(--forest-deep);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: max(2rem, calc((100% - var(--max)) / 2));
  bottom: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scroll-cue svg {
  color: var(--signal);
}

.hero-location {
  position: absolute;
  z-index: 2;
  right: max(2rem, calc((100% - var(--max)) / 2));
  bottom: 4.4rem;
  width: 130px;
  height: auto;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 20%));
}

.hero-credit {
  position: absolute;
  z-index: 2;
  right: max(2rem, calc((100% - var(--max)) / 2));
  bottom: 2.4rem;
  margin: 0;
  color: rgb(255 255 255 / 64%);
  font-size: 0.65rem;
}

.hero-credit a {
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.facts {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  align-items: stretch;
  width: min(100%, 1500px);
  margin: 0 auto;
  background: var(--white);
}

.facts > p {
  display: flex;
  margin: 0;
  padding: 2.7rem max(2rem, 5vw);
  align-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.facts dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.facts dl div {
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
}

.facts dl div:last-child {
  border-right: 0;
}

.facts dt {
  color: var(--forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.facts dd {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) max(2rem, calc((100% - var(--max)) / 2));
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label svg {
  color: var(--signal);
}

.section h2 {
  margin-bottom: 2.2rem;
  color: var(--forest-deep);
  font-size: clamp(3.2rem, 6.3vw, 6.4rem);
}

.about {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(3rem, 8vw, 9rem);
  background:
    radial-gradient(
      circle at 12% 90%,
      rgb(240 167 46 / 10%),
      transparent 28rem
    ),
    var(--snow);
}

.about-copy h2 {
  max-width: 850px;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 900px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.columns p {
  margin-bottom: 0;
}

.work {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 7vw, 8rem);
  background: var(--forest-deep);
  color: var(--white);
}

.section-label-light {
  color: rgb(255 255 255 / 76%);
}

.work h2 {
  margin-top: 3rem;
  color: var(--white);
}

.focus-grid {
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.focus-grid article {
  display: grid;
  grid-template-columns: 2rem 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}

.focus-grid article > svg {
  color: var(--signal);
}

.focus-number {
  color: rgb(255 255 255 / 48%);
  font-size: 0.7rem;
  font-weight: 700;
}

.focus-grid h3 {
  margin: -0.3rem 0 0.45rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.focus-grid p {
  grid-column: 3;
  max-width: 520px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 66%);
  font-size: 0.96rem;
  line-height: 1.75;
}

.join {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  background: var(--white);
}

.join-main > h2 {
  max-width: 850px;
  margin-top: 3rem;
}

.join-main > p {
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.volunteer-resources {
  margin: 0 0 2rem;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 0.25rem solid var(--signal);
}

@media (min-width: 901px) {
  .volunteer-resources {
    margin-bottom: 3rem;
  }
}

.volunteer-resources > a {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.volunteer-resources > a:hover,
.volunteer-resources > a:focus-visible {
  color: var(--ink);
}

.volunteer-resources > p {
  max-width: 40rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button-dark {
  background: var(--forest-deep);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--forest);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.5rem;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 750;
}

.join-note {
  padding: clamp(2rem, 4vw, 3.5rem);
  border-left: 0.35rem solid var(--signal);
  background: var(--snow);
}

.join-note > svg {
  color: var(--forest);
}

.join-note p {
  margin: 3rem 0 2rem;
  color: var(--forest-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.join-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 750;
}

.links-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--snow);
}

.kicker {
  margin-bottom: 2rem;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.links-section h2 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.link-list {
  border-top: 1px solid var(--line);
}

.link-list > a {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    padding 180ms ease;
}

.link-list > a:hover,
.link-list > a:focus-visible {
  padding-left: 0.65rem;
  color: var(--forest);
}

.link-number {
  color: var(--moss);
  font-size: 0.65rem;
  font-weight: 750;
}

.link-copy strong,
.link-copy small {
  display: block;
}

.link-copy strong {
  color: var(--forest-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.link-copy small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.supporters {
  padding: clamp(3rem, 6vw, 5rem) max(2rem, calc((100% - var(--max)) / 2));
  background: var(--white);
  text-align: center;
}

.supporters h2 {
  margin: 0 0 2.5rem;
  color: var(--forest-deep);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.supporter-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.supporter-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7rem;
  padding: 1rem;
}

.supporter-logos a:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 4px;
}

.supporter-logos img {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: auto;
}

.supporter-logos .supporter-logo-chet {
  max-width: 21rem;
}

@media (max-width: 620px) {
  .supporters {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .supporter-logos {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem max(2rem, calc((100% - var(--max)) / 2));
  background: var(--forest-deep);
  color: var(--white);
}

.footer-wordmark .wordmark-logo {
  width: 4.5rem;
  height: 4.5rem;
}

footer p {
  margin: 0;
  color: rgb(255 255 255 / 57%);
  font-size: 0.7rem;
  text-align: center;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.footer-affiliation {
  grid-column: 1 / -1;
  flex-basis: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 24%);
  color: rgb(255 255 255 / 80%);
  font-size: 0.875rem;
  text-align: left;
}

.footer-affiliation a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-affiliation a:hover,
.footer-affiliation a:focus-visible {
  color: var(--signal);
}

@media (max-width: 900px) {
  .hero-inner {
    padding-bottom: 15rem;
  }

  .hero-location {
    width: 100px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .facts,
  .about,
  .work,
  .join,
  .links-section {
    grid-template-columns: 1fr;
  }

  .facts > p {
    padding: 1.4rem 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-heading h2 {
    max-width: 700px;
  }

  .join-note {
    max-width: 650px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: max(760px, 100svh);
    background-image:
      linear-gradient(90deg, rgb(7 27 21 / 68%) 0%, rgb(7 27 21 / 40%) 100%),
      linear-gradient(0deg, rgb(7 27 21 / 20%) 0%, transparent 45%),
      url('trap-in-snow-steven-greig.webp');
    background-position: 25% center;
  }

  .site-header,
  .hero-inner {
    width: min(calc(100% - 2.5rem), var(--max));
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
  }

  .wordmark-logo,
  .footer-wordmark .wordmark-logo {
    width: 4rem;
    height: 4rem;
  }

  .header-action {
    font-size: 0.72rem;
  }

  .hero-inner {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 5.3rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    left: 1.25rem;
    bottom: 1.2rem;
  }

  .hero-location {
    right: 1.25rem;
    bottom: 5.5rem;
    width: 76px;
  }

  .hero-credit {
    right: 1.25rem;
    bottom: 3.7rem;
    max-width: calc(100% - 2.5rem);
    text-align: right;
  }

  .facts dl {
    grid-template-columns: 1fr;
  }

  .facts dl div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    align-items: center;
    padding: 1.4rem 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts dl div:last-child {
    border-bottom: 0;
  }

  .facts dd {
    margin-top: 0;
  }

  .section {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .section h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .focus-grid article {
    grid-template-columns: 1.5rem 2.6rem 1fr;
  }

  .join-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .link-list > a {
    grid-template-columns: 1.6rem 1fr auto;
    gap: 0.8rem;
  }

  footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
  }

  .footer-tagline {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 7rem);
  background: #e9ede3;
}

.contact-copy > p:last-child { max-width: 32rem; color: var(--muted); }
.contact .kicker { color: var(--forest); }
.contact-form { min-width: 0; }
.contact-form fieldset { min-width: 0; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form label { display: block; margin-bottom: 1.25rem; font-size: 1rem; font-weight: 650; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #7d8a7e;
  border-radius: 0.25rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; min-height: 10rem; }
.contact-form :is(input, textarea, button):focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.contact-form button { cursor: pointer; font-family: inherit; margin-top: 1.25rem; }
.contact-form button:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }
.contact-privacy { color: var(--muted); font-size: 0.875rem; line-height: 1.6; margin: 0 0 1.25rem; }
.contact-privacy a,
.contact-form noscript a { text-decoration: underline; text-underline-offset: 0.2em; }
.contact-status { margin-top: 1rem; font-size: 1rem; color: var(--forest-deep); }
.contact-status:empty { display: none; }
.contact-error { color: #852b1d; }
.visually-hidden,
.contact-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .contact-fields { grid-template-columns: 1fr; gap: 0; }
}
