@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --brown: #3a190c;
  --paper: #f1efe1;
  --ivory: #fdf8ed;
  --forest: #25481f;
  --forest-deep: #102d1c;
  --leaf: #99b533;
  --signal: #edf815;
  --sand: #ebd070;
  --ink: #171a16;
  --muted: #63685e;
  --line: rgba(37, 72, 31, 0.2);
  --shell: min(100% - 48px, 1280px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  transform: translateY(-180%);
  background: var(--signal);
  color: var(--ink);
  font-weight: 600;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(253, 248, 237, 0.14);
  background: rgba(16, 45, 28, 0.97);
  color: var(--ivory);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img {
  width: clamp(106px, 9vw, 136px);
  filter: brightness(0) invert(1);
}

.brand > span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0.65rem;
  border-left: 1px solid currentColor;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.site-nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--signal);
}

.site-nav__portal {
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(253, 248, 237, 0.28);
}

.request {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.8rem, 6vw, 5.2rem);
  background:
    radial-gradient(circle at 88% 20%, rgba(153, 181, 51, 0.2), transparent 32%),
    linear-gradient(130deg, var(--forest) 0%, var(--forest-deep) 82%);
  color: var(--ivory);
}

.request::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.5px, transparent 0.7px);
  background-size: 4px 4px;
}

.request__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.request .eyebrow {
  color: var(--sand);
}

.request h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.9vw, 6.35rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.request__copy > p {
  margin-bottom: 1.6rem;
  color: rgba(253, 248, 237, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.request__copy strong {
  color: var(--signal);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  background: var(--signal);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

.equipment {
  padding-block: clamp(2.8rem, 5.5vw, 5rem);
}

.equipment__heading {
  display: grid;
  align-items: end;
  margin-bottom: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 3rem;
}

.equipment__heading h2,
.donate h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.equipment__heading > p {
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.equipment-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.equipment-card {
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
}

.equipment-card--priority {
  box-shadow: inset 0 4px 0 var(--signal);
  background: var(--paper);
}

.equipment-card__title {
  display: grid;
  align-items: start;
  margin-bottom: 1.5rem;
  grid-template-columns: 34px 1fr;
  gap: 0.7rem;
}

.equipment-card__title span {
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.equipment-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  align-items: start;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
  grid-template-columns: 19px 1fr;
  gap: 0.65rem;
}

.checklist i {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 0.22rem;
  border: 1px solid var(--leaf);
}

.checklist i::after {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  transform: rotate(42deg);
  border-right: 1px solid var(--forest);
  border-bottom: 1px solid var(--forest);
  content: "";
}

.camera-note {
  margin-bottom: 0;
  padding: 1.1rem 1.3rem;
  background: var(--brown);
  color: rgba(253, 248, 237, 0.8);
  font-size: 0.87rem;
}

.camera-note strong {
  color: var(--sand);
}

.donate {
  padding-block: clamp(3.2rem, 6vw, 5.5rem);
  background: var(--sand);
  color: var(--brown);
}

.donate__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.donate .eyebrow {
  color: var(--brown);
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(58, 25, 12, 0.24);
  list-style: none;
}

.steps li {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(58, 25, 12, 0.24);
  grid-template-columns: 44px 1fr;
  gap: 0.8rem;
}

.steps span {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.steps p {
  margin-bottom: 0;
}

.donate__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 25, 12, 0.24);
  grid-column: 1 / -1;
}

.donate__contact p {
  max-width: 660px;
  margin-bottom: 0;
}

.donate__contact a {
  display: grid;
  flex: 0 0 auto;
  gap: 0.2rem;
  min-width: min(100%, 355px);
  padding: 0.9rem 1.1rem;
  background: var(--forest-deep);
  color: var(--ivory);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.donate__contact a:hover {
  transform: translateY(-2px);
  background: var(--brown);
}

.email-cta__label {
  color: var(--sand);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email-cta strong {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.email-cta i {
  margin-left: 0.3rem;
  color: var(--signal);
  font-style: normal;
}

.site-footer {
  padding-block: 1.2rem;
  background: var(--forest-deep);
  color: rgba(253, 248, 237, 0.55);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .request__inner,
  .equipment__heading,
  .donate__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .donate__contact {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1280px);
  }

  .site-header__inner {
    min-height: 66px;
  }

  .brand img {
    width: 100px;
  }

  .site-nav a:not(.site-nav__portal) {
    display: none;
  }

  .site-nav__portal {
    padding: 0.5rem 0.6rem;
    font-size: 0.62rem !important;
  }

  .request {
    padding-block: 2.5rem;
  }

  .request h1 {
    font-size: clamp(2.55rem, 12.5vw, 4rem);
  }

  .equipment {
    padding-block: 2.5rem;
  }

  .equipment__heading {
    margin-bottom: 1.4rem;
  }

  .equipment-card {
    padding: 1.25rem;
  }

  .donate__contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .donate__contact a {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
