/* ==========================================================================
   1. DESIGN TOKENS
   Every color/font/spacing value used sitewide lives here. When final brand
   assets arrive, edit values in this block only — nothing else in the file
   should need to change.
   ========================================================================== */

:root {
  /* Color — official campaign palette, confirmed by Beth from the
     campaign sign and Facebook cover. */
  --color-primary: #062F7C;        /* official campaign blue */
  --color-primary-dark: #041F52;
  --color-green: #6BA021;          /* official campaign green — accents,
                                       non-text-bearing surfaces only, see
                                       --color-green-dark for why */
  --color-green-dark: #4F7818;     /* green, deepened for AA text contrast
                                       — the official #6BA021 measures ~3.1:1
                                       against white text (fails WCAG AA's
                                       4.5:1 for normal-weight body/button
                                       text); this shade measures ~5.2:1.
                                       Used for the CTA button background. */
  --color-red: #CC0414;            /* official campaign red — reserved for
                                       small, sparing accents only (per the
                                       source assets' own restrained use of
                                       it), never large fills or text-bearing
                                       surfaces. Not used in the Hero. */
  --color-text: #1A202C;
  --color-text-muted: #52606D;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F8FB;         /* soft, warm-neutral section background */
  --color-primary-tint: #EEF2FA;   /* very light tint of the primary blue —
                                       used as a section background where we
                                       want a soft brand presence without
                                       the Hero's full-strength dark blue */
  --color-border: #E2E8F0;

  /* Type — PLACEHOLDER: Libre Franklin / Source Sans 3 pending Beth's
     confirmation (see PROJECT-BRIEF.md Section 7). Falls back gracefully to
     the system stack until font files are self-hosted, so nothing breaks
     in the meantime. */
  --font-heading: 'Libre Franklin', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Fluid type scale — scales smoothly between mobile and desktop instead
     of jumping at breakpoints. */
  --font-size-h1: clamp(1.75rem, 1.1rem + 3vw, 3rem);
  --font-size-h2: clamp(1.5rem, 1.05rem + 2vw, 2.25rem);
  --font-size-subhead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --font-size-body: 1rem;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --content-max-width: 68rem;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

/* Respect users who've asked for reduced motion. Broadened 2026-08-06 to
   cover every transition/animation sitewide (e.g. the Priorities card
   hover, the new Facebook button hover) with one rule, rather than
   patching each hover effect individually as they're added. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   Shared across every homepage section, not just the Hero.
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  z-index: 100;
}

.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-sm);
}

/* Visually hides content while keeping it available to screen readers —
   used for the extra "(opens in a new tab)" context on the Facebook link.
   Standard, well-established pattern (sometimes called "sr-only"). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. COMPONENTS: BUTTON
   Shared by the Hero CTA, the Facebook "Follow" link, and now a secondary
   variant for lower-priority actions.
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;             /* comfortable tap target on mobile */
  padding: 0.875rem 1.75rem;
  border-radius: 999px;         /* pill shape reads friendlier than a sharp rectangle */
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.1s ease;
}

.button--primary {
  background-color: var(--color-green-dark);
  color: #fff;
}

.button--primary:hover {
  background-color: #3E5E12;
}

.button--primary:active {
  transform: scale(0.98);
}

.button--secondary {
  /* Outlined, not filled — a deliberately quieter treatment than
     .button--primary's solid green, so the survey CTA keeps top visual
     priority sitewide. */
  background-color: var(--color-bg);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  gap: 0.5rem; /* space between the Facebook icon and its label */
}

.button--secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.button--secondary:active {
  transform: scale(0.98);
}

.button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   5. COMPONENT: HERO
   ========================================================================== */

.hero {
  /* Mobile-first: smaller background image, since this is the file phones
     on cellular connections actually download. The flat linear-gradient
     layered under the photo acts as a solid color tint over the whole
     image — simpler and more reliably readable than a directional gradient,
     since content position can shift responsively. 0.62 alpha measures
     ~5.5:1 contrast for white text even over the photo's brightest sky
     area — comfortably passes WCAG AA (4.5:1). */
  background-image:
    linear-gradient(rgba(6, 47, 124, 0.62), rgba(6, 47, 124, 0.62)),
    url('../images/hero-bg-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Not background-attachment: fixed — that "parallax" effect is
     unreliable on mobile Safari and isn't worth the risk on a page most
     visitors will hit on a phone. */
  padding-block: var(--space-2xl) var(--space-xl);
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.hero__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  max-width: 32rem;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.hero__subhead {
  font-size: var(--font-size-subhead);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero__cta {
  margin-top: var(--space-xs);
}

/* Tablet: 600px+ — swap in the full-resolution background now that we're
   likely off a cellular-only mobile connection */
@media (min-width: 600px) {
  .hero {
    background-image:
      linear-gradient(rgba(6, 47, 124, 0.62), rgba(6, 47, 124, 0.62)),
      url('../images/hero-bg.jpg');
  }

  .hero__photo {
    width: 180px;
    height: 180px;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .hero__container {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: var(--space-2xl);
  }

  .hero__photo {
    width: 260px;
    height: 260px;
    flex-shrink: 0;
  }

  .hero__content {
    align-items: flex-start;
    max-width: 36rem;
  }
}

/* ==========================================================================
   6. COMPONENT: ABOUT
   ========================================================================== */

.about {
  /* Explicit, even though it matches the page default — every section
     declares its own background so the alternating light/white rhythm
     between sections is a deliberate, visible decision here in the CSS,
     not an accident of inheritance. */
  background-color: var(--color-bg);
  padding-block: var(--space-2xl);
}

.about__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  /* Narrower than the Hero's content width on purpose — long-form reading
     text is most legible around 60-75 characters per line; the Hero's
     short marketing lines didn't have this constraint. */
  max-width: 38rem;
}

.about__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.about__quote {
  margin: 0;
  padding-left: var(--space-md);
  border-left: 4px solid var(--color-green-dark);
  font-family: var(--font-heading);
  font-size: var(--font-size-subhead);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
}

.about__quote p {
  margin: 0;
}

.about__bio {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about__bio p {
  font-size: var(--font-size-body);
  color: var(--color-text);
  line-height: 1.65; /* slightly more generous than the base 1.5 — long-form
                         paragraphs read easier with a bit more breathing
                         room between lines than short UI text does */
}

/* ==========================================================================
   7. COMPONENT: SURVEY
   ========================================================================== */

.survey {
  /* bg-alt (not white) — visually separates this section from About above
     without needing a divider line, continuing the alternating-background
     rhythm established there. */
  background-color: var(--color-bg-alt);
  padding-block: var(--space-2xl);
}

.survey__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 38rem;
  text-align: center; /* short marketing-style lines here, unlike About's
                          long-form paragraphs — centering reads fine */
}

.survey__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-primary);
}

.survey__intro {
  font-size: var(--font-size-subhead);
  color: var(--color-text);
  line-height: 1.5;
}

.survey__trust-signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-weight: 600;
  color: var(--color-text);
}

.survey__trust-signals li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.survey__trust-signals li::before {
  content: "✓";
  color: var(--color-green-dark);
  font-weight: 700;
}

.survey__cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.survey__pulse {
  width: 100%;
  margin-top: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.survey__pulse-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.survey__pulse-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0 0 var(--space-sm);
}

.survey__pulse-stat dt {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.survey__pulse-stat dd {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.survey__pulse-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
}

/* Tablet: 600px+ */
@media (min-width: 600px) {
  .survey__trust-signals {
    flex-direction: row;
    gap: var(--space-lg);
  }

  .survey__pulse-stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-xl);
  }

  .survey__pulse-stat {
    flex: 1;
    max-width: 12rem;
  }
}

/* ==========================================================================
   8. COMPONENT: PRIORITIES
   ========================================================================== */

.priorities {
  /* white — continues the alternating rhythm against Survey's bg-alt
     directly above it */
  background-color: var(--color-bg);
  padding-block: var(--space-2xl);
}

.priorities__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  /* Deliberately NOT overriding max-width here, unlike .about__container
     and .survey__container — those narrowed to ~38rem for single-column
     reading text. A three-card grid needs the full width the shared
     .container primitive already provides (--content-max-width, 68rem),
     so this block only adds layout (flex/gap), not width. */
}

.priorities__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.priorities__intro {
  font-size: var(--font-size-subhead);
  color: var(--color-text);
  line-height: 1.5;
  text-align: center;
  max-width: 38rem; /* keep the intro line at a comfortable reading width
                        even though the section itself is wider, for the
                        cards below */
}

.priorities__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
}

.priorities__card {
  background-color: var(--color-bg-alt);
  border-top: 3px solid var(--color-green-dark);
  border-radius: 12px;                              /* was 8px — slightly softer */
  /* height is intentionally unset — cards size to their content. The
     3-up row below uses align-items: stretch (not fixed heights) so all
     three still line up evenly even though nothing forces a height. */
  padding: 2.25rem 2rem;                              /* was var(--space-lg) (2.5rem all sides) —
                                        slightly more top/bottom room now that
                                        the badge sits above the heading */
  box-shadow: 0 2px 10px rgba(6, 47, 124, 0.06);      /* soft — barely-there lift, not a hard dropshadow */
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.priorities__badge {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;                               /* pill, matches the site's button shape language */
  background-color: rgba(6, 47, 124, 0.08);           /* soft tint of the primary blue — no new color token needed */
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.priorities__card-heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);                     /* was part of a uniform var(--space-sm) gap —
                                        now explicitly larger than the badge-to-heading
                                        spacing above, per the request for more room
                                        between heading and paragraph */
}

.priorities__card-text {
  font-size: var(--font-size-body);
  color: var(--color-text);
  line-height: 1.6;
}

.priorities__footnote {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.priorities__footnote-lead {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.priorities__footnote-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Desktop: 1024px+ — three columns, once each card has enough width to
   stay readable rather than cramped (see design note in the review) */
@media (min-width: 1024px) {
  .priorities__grid {
    flex-direction: row;
    align-items: stretch;
  }

  .priorities__card {
    flex: 1;
  }
}

/* Hover only where hovering is the actual input method (not a screen-size
   guess) AND at desktop width — a large touchscreen tablet matching
   min-width:1024px shouldn't get a hover state it can't cleanly trigger
   or release. Understated, matches the "calm" brief: a small lift, a
   slightly deeper shadow, and the top accent brightening from the
   deepened --color-green-dark to the official, brighter --color-green —
   reusing existing tokens rather than introducing a new hover-only color. */
@media (hover: hover) and (min-width: 1024px) {
  .priorities__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(6, 47, 124, 0.12);
    border-top-color: var(--color-green);
  }
}

/* ==========================================================================
   9. COMPONENT: FACEBOOK
   Deliberately compact — this is a secondary "stay connected" handoff,
   not a second primary conversion goal. Smaller vertical padding than
   every other section, on purpose.
   ========================================================================== */

.facebook {
  background-color: var(--color-primary-tint);
  padding-block: var(--space-xl); /* other sections use --space-2xl —
                                       intentionally more compact here */
}

.facebook__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  max-width: 34rem; /* narrower than most sections — this is a short,
                        secondary handoff, not a reading-heavy block */
  text-align: center;
}

.facebook__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green-dark);
  margin: 0;
}

.facebook__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-primary);
}

.facebook__text {
  font-size: var(--font-size-body);
  color: var(--color-text);
  line-height: 1.6;
}

.facebook__button {
  margin-top: var(--space-xs);
}

.facebook__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.facebook__note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ==========================================================================
   10. COMPONENT: FOOTER
   ========================================================================== */

.site-footer {
  /* --color-primary-dark was defined in the tokens block back when the
     palette was first set up, but nothing used it until now — this is
     its first real job: a genuinely dark navy, distinct from the Hero's
     photo-tinted blue, for a footer that reads as "utility," not "brand
     moment." */
  background-color: var(--color-primary-dark);
  color: #fff;
  padding-block: var(--space-lg);
}

.site-footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.site-footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.site-footer__link {
  color: #fff;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  /* Underline (not color alone) distinguishes these as links against the
     dark background — white text and white links would otherwise be
     visually identical without it. */
}

.site-footer__link:hover {
  color: var(--color-green);
}

.site-footer__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer__disclaimer {
  max-width: 30rem;
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem; /* comfortably readable, not shrunk down —
                           per "avoid tiny disclaimer text" */
  line-height: 1.5;
  color: #fff;
}

.site-footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Tablet: 600px+ */
@media (min-width: 600px) {
  .site-footer__links {
    flex-direction: row;
  }

  /* Separator via ::before on every link after the first, rather than a
     manually-placed span in the HTML — scales automatically whether a
     page's footer has 2 links (homepage: email, Facebook) or 3 (Contact
     page adds Home; homepage now adds Contact) without editing this rule.
     Decorative punctuation like this is not announced by screen readers. */
  .site-footer__link:not(:first-child)::before {
    content: "\00B7";
    margin-inline-end: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
  }
}

/* ==========================================================================
   11. COMPONENT: SITE HEADER
   Secondary pages only (e.g. Contact) — a compact wordmark bar, not the
   homepage's photographic Hero. Centered, matching every other block on
   the site rather than introducing a new left-aligned "traditional nav"
   pattern that doesn't exist anywhere else here.
   ========================================================================== */

.site-header {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-md);
}

.site-header__container {
  display: flex;
  justify-content: center;
}

.site-header__wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
  text-decoration: none;
}

.site-header__wordmark:hover {
  text-decoration: underline;
}

.site-header__wordmark:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   12. COMPONENT: CONTACT INTRO
   ========================================================================== */

.contact-intro {
  background-color: var(--color-bg);
  padding-block: var(--space-2xl) var(--space-xl);
}

.contact-intro__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.contact-intro__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green-dark);
  margin: 0;
  /* Same small-label treatment as .facebook__eyebrow — duplicated rather
     than shared across files right now, since only the Contact page was
     in scope this round. Worth extracting into one shared ".eyebrow"
     utility class later if a third instance of this pattern shows up. */
}

.contact-intro__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
}

.contact-intro__text {
  font-size: var(--font-size-subhead);
  color: var(--color-text);
  line-height: 1.5;
}

.contact-intro__email {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--font-size-body);
  color: var(--color-text-muted);
}

.contact-intro__email a {
  color: var(--color-primary);
}

.contact-intro__email-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.contact-intro__reassurance {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 32rem;
  /* Warm and readable, but smaller than .contact-intro__text and no bold
     weight — visually secondary to the H1 and the main intro line, per
     the request. */
}

/* ==========================================================================
   13. COMPONENT: CONTACT FORM
   ========================================================================== */

.contact-form-section {
  background-color: var(--color-bg-alt);
  padding-block: var(--space-2xl);
}

.contact-form-card {
  width: 100%;
  max-width: 43.75rem; /* 700px — within the requested 650-720px range */
  margin-inline: auto;
  background-color: var(--color-bg);
  border-radius: 12px;
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 2px 10px rgba(6, 47, 124, 0.06); /* same soft, blue-tinted
                                                      shadow language as the
                                                      Priorities cards */
}

.form-status {
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 var(--space-md);
}

.form-status--success {
  background-color: rgba(107, 160, 33, 0.12);
  color: var(--color-green-dark);
}

.form-status--validation-error,
.form-status--server-error {
  background-color: rgba(204, 4, 20, 0.08);
  color: var(--color-red);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form__required-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-form__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.contact-form__required {
  color: var(--color-red); /* --color-red's first real functional use —
                               a small, purposeful, non-decorative use is
                               exactly what "sparing accents only" allows */
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  min-height: 44px; /* consistent tap-target sizing with buttons/links sitewide */
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form__textarea {
  min-height: 160px; /* comfortably sized, not a cramped 2-line box */
  resize: vertical;
}

.contact-form__input:focus-visible,
.contact-form__select:focus-visible,
.contact-form__textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(6, 47, 124, 0.15);
}

.contact-form__turnstile {
  min-height: 0; /* no reserved space yet — widget isn't loaded, so there's
                     nothing to avoid a layout shift for today */
}

.contact-form__privacy {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.contact-form__submit {
  width: 100%;
  margin-top: var(--space-xs);
}
