:root {
  color-scheme: light;
  --navy: #243447;
  --card: #2F4359;
  --cream: #FAF7EF;
  --panel: #F0EADD;
  --red: #9E2A2F;
  --red-hover: #7F2025;
  --muted: #54524C;
  --on-navy: #CBD3DC;
  --line: #D6CDBD;
  --input-border: #CFC5B3;
  --placeholder: #77736B;
  --copyright: #AEB9C6;
  --white: #FFFFFF;
  --serif: "Baskervville", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
.wordmark,
.footer-name,
.step-num {
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  color: var(--navy);
  font-size: 38px;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

h2 {
  color: var(--navy);
  font-size: 30px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h3,
.wordmark,
.footer-name {
  color: var(--navy);
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.label {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--red);
  white-space: pre-wrap;
}

.step-num {
  color: var(--red);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 5;
  background: var(--navy);
  color: var(--cream);
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
}

.skip:focus {
  top: 12px;
}

.sr-only,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 14px;
}

.nav-inner {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.wordmark {
  text-decoration: none;
  color: var(--navy);
}

.wordmark:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  padding: 8px 18px 8px 0;
  transition: opacity 0.4s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.hero {
  padding: 48px 20px 72px;
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
  width: 100%;
}

.rule {
  width: 56px;
  height: 3px;
  background: var(--red);
  align-self: flex-start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-self: flex-start;
}

.hero-picture {
  width: 100%;
  height: 440px;
  flex: none;
  line-height: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  box-shadow:
    0 2px 6px 0 rgba(36, 52, 71, 0.1),
    0 14px 30px 0 rgba(36, 52, 71, 0.14);
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 47px;
  padding: 12px 24px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  opacity: 0.8;
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
  white-space: nowrap;
}

.btn-outline:hover {
  opacity: 0.8;
}

.band {
  padding: 72px 20px;
}

.about,
.involved {
  background: var(--panel);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.where {
  background: var(--navy);
  color: var(--on-navy);
}

.where h2,
.issue h3 {
  color: var(--cream);
}

.where .label,
.where p,
.issue p {
  color: var(--on-navy);
}

.issues {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.issue {
  background: var(--card);
  border: 1px solid rgba(250, 247, 239, 0.16);
  border-radius: 4px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 224px;
}

.issue-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps {
  width: 100%;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.resources {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.resource-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  min-height: 150px;
}

.resource-card h3 {
  width: 100%;
}

.resource-card h3 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.4s ease;
}

.resource-card h3 a:hover {
  color: var(--red);
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.email-link {
  display: inline-block;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.4s ease;
}

.email-link:hover {
  color: var(--red);
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 28px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow:
    0 1px 2px 0 rgba(36, 52, 71, 0.06),
    0 6px 18px 0 rgba(0, 0, 0, 0.06);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field .label {
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  margin: 0;
  padding: 12px;
  height: 48px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

textarea {
  height: 144px;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--red);
}

.btn-submit {
  width: 100%;
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn-submit:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  opacity: 1;
}

.btn-submit:active {
  background: var(--red);
  border-color: var(--red);
  opacity: 0.75;
}

.btn-submit:disabled {
  cursor: default;
  opacity: 1;
}

.btn-submit:disabled:hover {
  background: var(--red);
  border-color: var(--red);
}

.site-footer {
  background: var(--navy);
  padding: 44px 20px 36px;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-name {
  color: var(--cream);
}

.footer-role {
  color: var(--on-navy);
}

.footer-copy {
  color: var(--copyright);
}

a:focus-visible,
button:focus-visible,
.skip:focus {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-submit:focus-visible {
  outline-color: var(--navy);
}

@media (min-width: 540px) {
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  h3,
  .wordmark,
  .footer-name { font-size: 22px; }
}

@media (min-width: 640px) {
  h1 { font-size: 44px; }
  h2 { font-size: 33px; }
}

@media (min-width: 810px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3,
  .wordmark,
  .footer-name { font-size: 23px; }
  p { font-size: 17px; }
  .label { font-size: 13px; }

  .site-nav { padding: 18px 32px; }
  .nav-inner {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
  .wordmark { flex: 1; }
  .nav-links { gap: 8px; flex-wrap: nowrap; }
  .nav-links a { padding: 10px 14px; }

  .hero { padding: 72px 32px 80px; }
  .hero-row {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .hero-copy { flex: 1; width: auto; }
  .hero-picture { width: 300px; height: 390px; }

  .band { padding: 80px 32px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }

  .issues {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .issue { height: 100%; }

  .step {
    grid-template-columns: 48px 180px minmax(0, 1fr);
    gap: 32px;
  }

  .resources {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .resource-card { height: 100%; }

  .contact-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .contact-copy,
  .contact-form { flex: 1; min-width: 0; }
  .contact-form { padding: 32px; }

  .site-footer { padding: 48px 32px 44px; }
}

@media (min-width: 1200px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3,
  .wordmark,
  .footer-name { font-size: 24px; }

  .site-nav { padding: 18px 40px; }
  .hero { padding: 96px 40px; }
  .hero-row { gap: 64px; }
  .hero-picture { width: 440px; height: 550px; }

  .band { padding: 96px 40px; }
  .split { gap: 64px; }
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: 48px 260px minmax(0, 1fr); }
  .contact-row { gap: 64px; }
  .site-footer { padding: 52px 40px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .nav-links a,
  .wordmark,
  .resource-card h3 a,
  .email-link { transition: none; }
}
