:root {
  --bg: #f6f1eb;
  --panel: #fffdfb;
  --primary: #6e3b39;
  --primary-dark: #472827;
  --accent: #c9a98a;
  --text: #2d2a2b;
  --muted: #665d5c;
  --line: rgba(87, 62, 59, 0.18);
  --shadow: 0 18px 45px rgba(57, 38, 35, 0.08);
  --hero-bg: #f3ece2;
  --about-bg: #612f30;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

section[id] {
  scroll-margin-top: 10px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620 620'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dbb7b7' opacity='0.38'%3E%3Cpath d='M310 120c-43-57-114-76-176-49-76 33-110 118-92 196 17 72 80 129 153 181 36 26 75 48 115 68 40-20 79-42 115-68 73-52 136-109 153-181 18-78-16-163-92-196-62-27-133-8-176 49zm-60 80c-29-7-67 1-88 32-30 43-22 95 12 131 33 35 76 52 118 62 13 3 27 3 40 0 11-3 22-10 31-18 13 10 31 16 49 14 27-2 52-18 66-43 17-31 18-69 2-99-25-48-84-76-142-66-23 5-41 17-56 34l-32-47zm157 1l39 57-34 29c-28 24-66 40-105 49-25 6-52 5-77-5 44 46 95 68 146 75 56 11 117-10 152-58 32-44 35-101 12-147-16-32-43-56-85-60-27-2-52 4-48 60z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80vmin;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 235, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name,
.brand-tag {
  margin: 0;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
}

.brand-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.96rem;
}

.main-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.hero {
  padding: 4.5rem 0 3.25rem;
  background: var(--hero-bg);
  color: var(--primary-dark);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.08rem;
  max-width: 52rem;
  margin-bottom: 1rem;
}

.muted {
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button.primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}

.button.secondary {
  border: 1px solid rgba(110, 59, 57, 0.2);
  background: var(--accent);
  color: var(--primary-dark);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(110, 59, 57, 0.15);
  border-radius: 1.25rem;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  color: var(--primary-dark);
}

.hero-panel h2 {
  font-size: 2rem;
}

.about-section {
  background: var(--about-bg);
  color: #fff;
}

.about-section h2,
.about-section p,
.about-section .section-kicker {
  color: #fff;
}

.content-section {
  padding: 4rem 0;
}

.blue-underline {
  text-decoration: underline;
  text-decoration-color: white;
}

.content-section.alt {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-status {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  margin-bottom: 1.6rem;
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  color: inherit;
}

.volunteer-form.submitted {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  text-align: center;
}

.volunteer-form.submitted > * {
  display: none;
}

.volunteer-form.submitted > .form-status,
.volunteer-form.submitted > .resubmit-button {
  display: block;
}

.volunteer-form.submitted > .form-status {
  margin-bottom: 1.2rem;
}

.volunteer-form.submitted > .resubmit-button {
  border: 0;
  cursor: pointer;
}

p {
  margin: 0 0 1.2rem;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  justify-content: center;
  align-items: stretch;
}

.card-grid .info-card:nth-child(4) {
  grid-column: 1;
}

.card-grid .info-card:nth-child(5) {
  grid-column: 2;
}

.info-card,
.contact-card,
.volunteer-form,
.story-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  width: 100%;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.volunteer-form {
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.checkbox-label span {
  flex: 1;
}

.checkbox-label input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  margin-left: auto;
  accent-color: var(--primary);
}


label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(110, 59, 57, 0.25);
  border-color: var(--primary);
}

.contact-card {
  margin-top: 1.5rem;
}

.contact-person {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.supporters {
  margin-top: 2rem;
}

.supporters ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.supporters li {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  text-align: center;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--accent);
  font-size: 1.1rem;
  background: rgba(201, 169, 138, 0.12);
  border-radius: 0.8rem;
  color: var(--primary-dark);
}

.raw-form {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  white-space: pre-wrap;
  font-family: "Inter", sans-serif;
  line-height: 1.8;
  color: var(--text);
}

.paper-checklist {
  margin-top: 2rem;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #fdf8f2 0%, #f5efe9 100%);
  border: 1px solid rgba(110, 59, 57, 0.18);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(110, 59, 57, 0.05);
}

.paper-checklist p {
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.paper-checklist ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.55rem 1rem;
}

.paper-checklist li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.5;
  color: var(--text);
}

.paper-checklist li::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.5;
}

.form-page .volunteer-form {
  margin-top: 0.75rem;
}

.story-panel {
  margin: 2rem 0;
}

.signature {
  font-weight: 700;
  margin-top: 1.5rem;
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 0;
  margin-top: 0;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

#remember {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--hero-bg);
  border-top: 1px solid rgba(110, 59, 57, 0.12);
  border-bottom: 1px solid rgba(110, 59, 57, 0.12);
  box-shadow: inset 0 0 0 1px rgba(110, 59, 57, 0.03);
  margin-bottom: 0;
  padding: 4rem 0 3rem;
}

#remember .container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

#remember h2 {
  color: var(--primary-dark);
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .hero-inner,
  .footer-inner {
    display: block;
  }

  .main-nav {
    margin-top: 1rem;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-panel {
    margin-top: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
