/* ==========================================================================
   Evansville Tree Removal — Design System
   Palette: Timber / Forest / Moss / Charcoal / Off-white / Ember
   Type: Archivo (display/UI) + Public Sans (body)
   ========================================================================== */

:root {
  --timber: #14261D;
  --forest: #1E4630;
  --moss: #4E7B54;
  --moss-tint: rgba(78, 123, 84, 0.13);
  --charcoal: #23262A;
  --offwhite: #F6F3EC;
  --card: #FFFDF8;
  --section-alt: #EFEBE0;
  --ember: #C0692B;
  --ember-tint: rgba(192, 105, 43, 0.07);
  --ink: #3E443F;
  --muted: #6B6F6A;
  --faint: #8A8F86;
  --line: rgba(20, 38, 29, 0.14);
  --line-soft: rgba(20, 38, 29, 0.1);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;

  --container: 1120px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-btn: 10px;
}

/* -------------------------------------------------------------------- */
/* Reset */
/* -------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* Keep hash/focus targets clear of sticky header when scrolling lead forms. */
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--offwhite);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* -------------------------------------------------------------------- */
/* Type */
/* -------------------------------------------------------------------- */

.eyebrow {
  font: 700 11px/1.3 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss);
}
.eyebrow--light { color: #8FBE97; }

h1, .h1 {
  font: 800 clamp(34px, 5vw, 58px)/1.06 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--timber);
  text-wrap: balance;
}
h2, .h2 {
  font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--timber);
  text-wrap: balance;
}
h3, .h3 {
  font: 700 clamp(20px, 2.2vw, 26px)/1.18 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--timber);
}
h4, .h4 {
  font: 700 16px/1.3 var(--font-display);
  color: var(--timber);
}
p, .body-text {
  font: 400 15px/1.6 var(--font-body);
  color: var(--ink);
  text-wrap: pretty;
}
@media (min-width: 900px) {
  p, .body-text { font-size: 17px; line-height: 1.65; max-width: 62ch; }
}
.lede { font-size: 17px; }
@media (min-width: 900px) { .lede { font-size: 19px; } }

.caption { font: 600 13px var(--font-body); color: var(--faint); }
.on-dark { color: var(--offwhite); }
.on-dark p, .on-dark .body-text { color: rgba(246,243,236,.78); }
.on-dark .eyebrow { color: #8FBE97; }

/* -------------------------------------------------------------------- */
/* Layout */
/* -------------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1100px) { .container { padding: 0 40px; } }

.section { padding: 48px 0; }
.section--tight { padding: 32px 0; }
.section--alt { background: var(--section-alt); }
.section--dark { background: var(--timber); }
@media (min-width: 900px) { .section { padding: 88px 0; } .section--tight { padding: 56px 0; } }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack--lg { gap: 24px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.lead-split > .form-panel { order: -1; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .lead-split > .form-panel { order: 0; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------------------------------------------------- */
/* Buttons & pills */
/* -------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font: 700 16px var(--font-display);
  border: none;
  width: 100%;
}
@media (min-width: 560px) { .btn { width: auto; } }
.btn-primary { background: var(--forest); color: var(--offwhite); }
.btn-primary:hover { background: #245839; }
.btn-secondary { background: transparent; color: var(--forest); border: 1.5px solid rgba(30,70,48,.32); }
.btn-secondary:hover { background: rgba(30,70,48,.06); }
.btn-inverse { background: var(--offwhite); color: var(--timber); }
.btn-inverse:hover { background: #fff; }
.btn-ember { background: var(--ember); color: #FFF6EE; }
.btn-ember:hover { background: #a85723; }
.btn-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .btn-row { flex-direction: row; } }

.pill-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ember); color: #FFF6EE;
  font: 700 13px var(--font-display);
}

.tag {
  display: inline-flex; padding: 7px 13px; border-radius: 999px;
  background: var(--moss-tint); color: var(--forest);
  font: 600 12px var(--font-body);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* -------------------------------------------------------------------- */
/* Cards */
/* -------------------------------------------------------------------- */

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px;
}
.card h4 { margin-bottom: 6px; }
.card p { font-size: 14px; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font: 700 13px var(--font-body); color: var(--moss);
}

.photo-well {
  border-radius: var(--radius);
  background: var(--charcoal);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: rgba(246,243,236,.55);
  font: 600 11px/1.4 var(--font-body);
}
@media (min-width: 900px) { .photo-well { min-height: 340px; } }
.photo-well--sm { min-height: 150px; }

.photo-well--map {
  display: block;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--card);
  color: inherit;
}
.photo-well--map img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.dash-item { display: flex; gap: 11px; }
.dash-item::before {
  content: "\2014";
  color: var(--moss);
  font: 700 15px var(--font-display);
  flex: none;
}
.dash-item p, .dash-item div { font-size: 14px; line-height: 1.55; }
.dash-item b { color: var(--timber); }

.numbered-item { display: flex; gap: 12px; }
.numbered-item .num {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: var(--forest); color: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  font: 700 13px var(--font-display);
}
.numbered-item--ember .num { background: var(--ember); color: #FFF6EE; }

.data-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 16px; background: var(--card);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.data-table .row:last-child { border-bottom: none; }
.data-table .row .k { font-weight: 600; color: var(--timber); }
.data-table .row .v { color: var(--muted); text-align: right; font-size: 13px; }

.triage-table .row { gap: 12px; }
.triage-table .label { flex: none; width: 64px; font: 700 13px var(--font-display); }
.triage-table .row:nth-child(1) .label { color: var(--ember); }
.triage-table .row:nth-child(2) .label { color: var(--moss); }
.triage-table .row:nth-child(3) .label { color: var(--faint); }
.triage-table .desc { font-size: 13px; line-height: 1.5; }

.callout {
  border: 1px solid rgba(192,105,43,.3);
  background: var(--ember-tint);
  border-radius: var(--radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 9px;
}
.callout p { font-size: 14px; }

/* -------------------------------------------------------------------- */
/* Header / nav */
/* -------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--offwhite);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
@media (min-width: 640px) { .site-header__row { padding: 14px 32px; } }
@media (min-width: 1100px) { .site-header__row { padding: 16px 40px; max-width: var(--container); margin: 0 auto; } }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  flex: none; width: 40px; height: 40px; border-radius: 8px;
  background: var(--forest); color: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  font: 800 12px var(--font-display); letter-spacing: .04em;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name span:first-child { font: 800 13px var(--font-display); letter-spacing: .02em; color: var(--timber); }
.brand__name span:last-child { font: 600 10px var(--font-display); letter-spacing: .16em; color: var(--moss); }

.desktop-nav { display: none; }
@media (min-width: 900px) {
  .desktop-nav { display: flex; align-items: center; gap: 28px; }
  .desktop-nav a { font: 600 14px var(--font-body); color: var(--timber); }
  .desktop-nav a:hover { color: var(--moss); }
  .desktop-nav .btn { height: 44px; padding: 0 20px; font-size: 14px; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  display: flex; flex-direction: column; gap: 4px; padding: 10px;
  background: none; border: none;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--timber); }
.nav-toggle span:last-child { width: 15px; }

.nav-sheet {
  position: fixed; inset: 0; z-index: 50;
  background: var(--timber);
  display: flex; flex-direction: column;
  padding: 20px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .28s ease, visibility 0s linear .28s;
}
.nav-sheet.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .28s ease, visibility 0s;
}
.nav-sheet__top { display: flex; align-items: center; justify-content: space-between; }
.nav-sheet__close { background: none; border: none; color: var(--offwhite); font: 800 24px var(--font-display); line-height: 1; padding: 8px; }
.nav-sheet__links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.nav-sheet__links a {
  padding: 14px 4px; font: 700 22px var(--font-display); color: var(--offwhite);
  border-bottom: 1px solid rgba(246,243,236,.1);
}
.nav-sheet__links a.is-current { color: #8FBE97; }
.nav-sheet .btn { margin-top: 16px; }
@media (min-width: 900px) { .nav-sheet { display: none !important; } }

/* Emergency lead sheet (in-page form for Request CTAs; iOS keypad needs same-tap focus) */
.emergency-sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.emergency-sheet.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .2s ease, visibility 0s;
}
/* Skip open animation when focusing tel in the same tap (iOS keypad + visible form). */
.emergency-sheet.is-instant,
.emergency-sheet.is-instant .emergency-sheet__panel {
  transition: none !important;
}
.emergency-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 38, 29, .55);
  border: 0; padding: 0; cursor: pointer;
}
.emergency-sheet__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  max-height: min(92vh, 920px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--charcoal);
  color: var(--offwhite);
  border-radius: 16px 16px 0 0;
  padding: 16px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform .28s ease;
  box-shadow: 0 -12px 40px rgba(0,0,0,.35);
}
.emergency-sheet.is-open .emergency-sheet__panel { transform: translateY(0); }
.emergency-sheet__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.emergency-sheet__eyebrow {
  margin: 0 0 4px; font: 700 11px var(--font-display);
  letter-spacing: .08em; text-transform: uppercase; color: #E8A06A;
}
.emergency-sheet__title {
  display: block; font: 800 20px var(--font-display); color: var(--offwhite);
}
.emergency-sheet__close {
  flex-shrink: 0;
  background: none; border: none; color: var(--offwhite);
  font: 800 28px var(--font-display); line-height: 1; padding: 4px 8px;
  cursor: pointer;
}
.emergency-sheet .form-panel { margin: 0; box-shadow: none; }
.emergency-sheet .form-panel--dark a { color: #8FBE97; }
@media (min-width: 900px) {
  .emergency-sheet { align-items: center; padding: 24px; }
  .emergency-sheet__panel {
    border-radius: 16px;
    max-height: min(88vh, 860px);
    transform: translateY(24px) scale(.98);
    opacity: .96;
  }
  .emergency-sheet.is-open .emergency-sheet__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.alert-bar {
  background: var(--ember); color: #FFF6EE;
  font: 700 13px var(--font-display);
  text-align: center;
  padding: 10px 16px;
}
.alert-bar a { text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb { font: 500 12px var(--font-body); color: var(--faint); padding: 16px 0 0; }
.breadcrumb span { color: var(--forest); font-weight: 600; }

/* -------------------------------------------------------------------- */
/* Hero */
/* -------------------------------------------------------------------- */

.hero {
  display: flex; flex-direction: column; gap: 24px;
  /* Horizontal inset matches .container / .site-header__row (20→32→40).
     Same element carries both .container and .hero; a vertical-only
     padding shorthand would zero the container’s side padding. */
  padding: 32px 20px 40px;
}
@media (min-width: 640px) {
  .hero { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: center; gap: 56px; padding: 64px 32px 80px; }
  .hero__copy { flex: 1; }
  .hero__media { flex: 1; }
  /* Home: CTAs are siblings of media so mobile can order them under the photo.
     Desktop keeps CTAs under copy via two-row grid (media spans both rows). */
  .hero:has(.hero__ctas) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "copy media"
      "ctas media";
    column-gap: 56px;
    row-gap: 16px;
    align-items: center;
  }
  .hero:has(.hero__ctas) .hero__copy { grid-area: copy; align-self: end; flex: unset; }
  .hero:has(.hero__ctas) .hero__ctas { grid-area: ctas; align-self: start; }
  .hero:has(.hero__ctas) .hero__media { grid-area: media; align-self: center; flex: unset; }
}
@media (min-width: 1100px) {
  .hero { padding-left: 40px; padding-right: 40px; }
}
.hero__copy { display: flex; flex-direction: column; gap: 16px; }
.hero__media .photo-well { min-height: 240px; }
.hero__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--charcoal);
}
@media (min-width: 900px) {
  .hero__media .photo-well { min-height: 420px; }
  .hero__media img { height: 420px; }
}

/* Mobile / small tablet: fit more hero photo above the fold */
@media (max-width: 899px) {
  .alert-bar {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 20px;
    /* keep left/right from base / 640px rules (20px / 32px) */
  }
  .hero__copy { gap: 10px; }
  /* Home only: copy → photo → CTAs (thumb-reachable primary actions) */
  .hero:has(.hero__ctas) .hero__copy { order: 1; }
  .hero:has(.hero__ctas) .hero__media { order: 2; }
  .hero__ctas { order: 3; }
  .hero h1,
  .hero .h1 {
    font-size: clamp(26px, 6.5vw, 34px);
    line-height: 1.05;
  }
  .hero .lede {
    font-size: 14px;
    line-height: 1.4;
  }
  .hero .btn-row { gap: 10px; }
  .hero .btn {
    height: 44px;
    font-size: 14px;
    padding: 0 18px;
  }
  .hero__media .photo-well { min-height: 260px; }
  .hero__media img { height: 260px; }
}

/* Phones: reclaim more first-viewport space for the climber photo */
@media (max-width: 640px) {
  .alert-bar {
    padding: 6px 12px;
    font-size: 12px;
  }
  .hero {
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 16px;
    /* horizontal stays 20px from base (.container / header match) */
  }
  .hero__copy { gap: 10px; }
  .hero h1,
  .hero .h1 {
    font-size: clamp(24px, 6.2vw, 28px);
    line-height: 1.05;
    letter-spacing: -0.025em;
  }
  .hero .lede {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .hero .btn-row { gap: 8px; }
  .hero .btn {
    height: 42px;
    font-size: 14px;
    padding: 0 16px;
  }
  .hero__media .photo-well { min-height: min(42vh, 300px); }
  .hero__media img { height: min(42vh, 300px); }
}

.hero--ember { background: var(--charcoal); color: var(--offwhite); }
.hero--ember .body-text { color: rgba(246,243,236,.78); }

/* -------------------------------------------------------------------- */
/* Sticky mobile CTA bar */
/* -------------------------------------------------------------------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 20px 16px;
  background: rgba(246,243,236,.95);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20,38,29,.1);
  transform: translateY(120%);
  transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
/* While a lead-form field is focused, tuck the bar away so it cannot sit above the
   keypad and steal space (or look like the form submit). */
.sticky-cta.is-keyboard-hidden,
.sticky-cta.is-visible.is-keyboard-hidden { transform: translateY(120%); }
.sticky-cta .btn { height: 50px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* -------------------------------------------------------------------- */
/* FAQ accordion */
/* -------------------------------------------------------------------- */

.faq-item {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0;
  font: 600 15px/1.4 var(--font-body); color: var(--timber);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font: 700 20px var(--font-display); color: var(--moss);
  flex: none;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 0 16px; font-size: 14px; line-height: 1.55; }

/* -------------------------------------------------------------------- */
/* Forms */
/* -------------------------------------------------------------------- */

.form-panel {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(20,38,29,.06);
  display: flex; flex-direction: column; gap: 18px;
  width: 100%; max-width: 100%; min-width: 0;
}
@media (min-width: 900px) { .form-panel { padding: 32px; } }

.form-panel--dark {
  background: var(--timber); border: none;
  box-shadow: none;
}
.form-panel--dark label, .form-panel--dark .field-hint { color: rgba(246,243,236,.8); }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* Inline estimate/contact: keep focused fields out from under sticky header / keypad. */
[data-lead-form] .field {
  scroll-margin-top: 80px;
  scroll-margin-bottom: 36px;
}
/* Emergency sheet scrolls inside its panel — don't add page scroll-margins there. */
.emergency-sheet [data-lead-form] .field {
  scroll-margin-top: 12px;
  scroll-margin-bottom: 12px;
}
.field label { font: 600 13px var(--font-body); color: var(--timber); }
.form-panel--dark .field label { color: rgba(246,243,236,.85); }
.field .optional { font-weight: 400; color: var(--muted); }
.form-panel--dark .field .optional { color: rgba(246,243,236,.55); }
.field-row { display: grid; gap: 12px; }
.field-row--city-zip { grid-template-columns: 1fr 7.5rem; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field textarea,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 48px; border-radius: 9px; border: 1.5px solid var(--line);
  background: var(--offwhite); padding: 0 14px;
  font: 400 15px var(--font-body); color: var(--timber);
}
.form-panel--dark .field input,
.form-panel--dark .field textarea { background: var(--offwhite); }
.field textarea { height: 100px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--forest); outline-offset: 1px;
}
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid .choice-row,
.field.is-invalid .radio-option {
  outline: 2px solid var(--ember); outline-offset: 1px;
}
.field-hint { font: 400 12px var(--font-body); color: var(--muted); }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.choice-pill {
  position: relative;
  max-width: 100%;
  padding: 10px 14px; border-radius: 999px; border: 1.5px solid rgba(20,38,29,.2);
  font: 600 13px var(--font-body); color: var(--charcoal); background: transparent;
}
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill:has(input:checked) { background: var(--forest); border-color: var(--forest); color: var(--offwhite); }
.form-panel--dark .choice-pill {
  border-color: rgba(246,243,236,.3);
  color: var(--offwhite);
}

.radio-option {
  display: flex; gap: 10px; align-items: center; padding: 12px 14px;
  border-radius: 9px; border: 1.5px solid rgba(20,38,29,.18); cursor: pointer;
}
.radio-option:has(input:checked) { border-color: var(--forest); background: rgba(78,123,84,.08); }
.radio-option input { accent-color: var(--forest); width: 18px; height: 18px; }
.radio-option span { font: 600 14px var(--font-body); color: var(--charcoal); }
.form-panel--dark .radio-option { border-color: rgba(246,243,236,.25); }
.form-panel--dark .radio-option span { color: var(--offwhite); }
.form-panel--dark .radio-option:has(input:checked) {
  border-color: #8FBE97;
  background: rgba(143,190,151,.12);
}

.file-drop {
  border: 1.5px dashed rgba(30,70,48,.35); border-radius: 9px;
  background: rgba(78,123,84,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 20px; text-align: center; cursor: pointer; position: relative;
}
.file-drop strong { font: 700 13px var(--font-display); color: var(--forest); }
.file-drop span { font: 400 12px var(--font-body); color: var(--muted); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop__clear {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 6px 10px;
  border: 0;
  background: none;
  font: 600 12px var(--font-body);
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-panel--dark .file-drop { border-color: rgba(246,243,236,.35); background: transparent; }
.form-panel--dark .file-drop span { color: rgba(246,243,236,.7); }
.form-panel--dark .file-drop__clear { color: #8FBE97; }

.photo-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}
.photo-thumbs[hidden] { display: none; }
.photo-thumbs__item {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--charcoal);
}
.photo-thumbs__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-status { font: 600 13px var(--font-body); padding: 10px 0 0; }
.form-status[data-state="success"] { color: var(--moss); }
.form-status[data-state="error"] { color: var(--ember); }

.progress-track { display: flex; gap: 8px; }
.progress-track .bar { height: 3px; flex: 1; border-radius: 2px; background: rgba(30,70,48,.18); }
.progress-track .bar.is-active { background: var(--forest); }
.step-label { font: 600 12px var(--font-body); color: var(--faint); }

/* -------------------------------------------------------------------- */
/* Footer */
/* -------------------------------------------------------------------- */

.site-footer { background: var(--timber); color: var(--offwhite); padding: 48px 0 28px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0; }
.footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 140px; }
.footer-col span:first-child { font: 700 10px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #8FBE97; margin-bottom: 2px; }
.footer-col a { font: 400 13px var(--font-body); color: rgba(246,243,236,.8); }
.footer-col a:hover { color: #fff; }
.footer-rule { height: 1px; background: rgba(246,243,236,.16); margin: 20px 0; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom .lead { font: 600 13px/1.5 var(--font-body); color: var(--offwhite); }
.footer-bottom .fine { font: 400 12px/1.5 var(--font-body); color: rgba(246,243,236,.6); }
.footer-bottom .copy { font: 400 12px var(--font-body); color: rgba(246,243,236,.45); }

/* -------------------------------------------------------------------- */
/* Utility spacing */
/* -------------------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.pad-bottom-sticky { padding-bottom: 92px; }
@media (min-width: 900px) { .pad-bottom-sticky { padding-bottom: 0; } }

/* Guide cards */
.guide-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: var(--charcoal);
}
.guide-card figcaption {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide-card figcaption h4 { margin: 0; }
.guide-card figcaption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  max-width: none;
}
