/* ══ HONEYPOT ══ */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ══ PAGE HEADER ══ */
.page-header {
  background: var(--teal);
  padding: var(--sp-2xl) 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(42, 122, 120, 0.3);
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-header-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.page-header-eyebrow .eyebrow-line {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.page-header-eyebrow .eyebrow-text {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.page-header-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(52px, 5.5vw, 84px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-header-headline em {
  font-style: italic;
  color: var(--teal-light);
}
.page-header-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.62);
  max-width: 580px;
}

.cta-volunteer--dark {
  background: var(--black);
}

/* ══ WAYS TO HELP ══ */
.ways {
  background: var(--linen);
  padding: var(--sp-2xl) 0;
}
.ways-header {
  margin-bottom: var(--sp-md);
}
.ways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.way-card {
  background: var(--white);
  padding: 36px 28px 40px;
  border-top: 3px solid var(--teal-light);
  transition:
    border-color 0.2s,
    background 0.2s;
  cursor: default;
}
.way-card:hover {
  border-top-color: var(--amber);
  background: #fff;
}
.way-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--teal);
  opacity: 0.18;
  margin-bottom: 20px;
  display: block;
  letter-spacing: -0.02em;
}
.way-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.15;
  margin-bottom: 12px;
}
.way-body {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text-lt);
}

/* ══ FORM SECTION ══ */
.form-section {
  background: var(--white);
  padding: var(--sp-2xl) 0;
}
.form-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}

.form-intro-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--teal);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.form-intro-headline em {
  font-style: italic;
}

.form-intro-body {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-lt);
}
.form-intro-body p + p {
  margin-top: 16px;
}

.form-promise {
  background: var(--teal-pale);
  padding: 24px 28px;
  margin-top: 36px;
  border-left: 3px solid var(--teal);
}
.form-promise-text {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--teal-mid);
}
.form-promise-text strong {
  font-weight: 600;
  color: var(--teal);
}
.form-voter-resources {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--teal-pale);
  border: 1.5px solid rgba(26, 92, 90, 0.12);
}
.form-voter-title {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.form-voter-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-voter-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--teal-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.form-voter-links a:hover {
  color: var(--teal);
}

/* ══ THE FORM ══ */
.volunteer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
label .required {
  color: var(--amber);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid rgba(26, 92, 90, 0.18);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
}
input::placeholder,
textarea::placeholder {
  color: rgba(26, 92, 90, 0.3);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A5C5A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid rgba(26, 92, 90, 0.25);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s;
  padding: 0;
}
.checkbox-item input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.checkbox-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.4;
  user-select: none;
}

.form-divider {
  height: 1px;
  background: rgba(26, 92, 90, 0.08);
}

.btn-submit {
  background: var(--teal);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 48px;
  border: none;
  cursor: pointer;
  display: inline-block;
  align-self: flex-start;
  transition: background 0.2s;
}
.btn-submit:hover {
  background: var(--teal-mid);
}

.form-note {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-lt);
  line-height: 1.6;
  opacity: 0.7;
}

/* ══ ANIMATIONS ══ */
.page-header-inner > * {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}
.page-header-inner > *:nth-child(1) {
  animation-delay: 0.1s;
}
.page-header-inner > *:nth-child(2) {
  animation-delay: 0.24s;
}
.page-header-inner > *:nth-child(3) {
  animation-delay: 0.38s;
}

/* ══ RESPONSIVE — TABLET (≤1024px) ══ */
@media (max-width: 1024px) {
  .ways-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-section .container {
    gap: 56px;
  }
}

/* ══ RESPONSIVE — MOBILE (≤768px) ══ */
@media (max-width: 768px) {
  .page-header-headline {
    font-size: clamp(44px, 9vw, 72px);
  }
  .form-section .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ══ RESPONSIVE — SMALL MOBILE (≤480px) ══ */
@media (max-width: 480px) {
  .ways-grid {
    grid-template-columns: 1fr;
  }
}
