/* Turner Turf Farms - v2 redesign. Mobile-first. Static CSS, no build step.
   Palette and fonts carried over from v1. Sections:
   1 base  2 header/nav  3 buttons  4 hero + photo slots  5 content blocks
   6 quote page  7 faq  8 footer + mobile bar  9 placeholders  10 wide screens */

/* 1 base */
:root {
  --bg: #f3efe4;
  --paper: #fffdf8;
  --ink: #1a2418;
  --muted: #3d4a38;
  --green: #1b4a2c;
  --green-deep: #102818;
  --header: #143322;
  --line: #d9d1c2;
  --sand: #efe6d4;
  --rock: #8a3e28;
  --gold: #f3c84b;
  --focus: #f3c84b;
  --max: 72rem;
  --measure: 42rem;
  --bar-h: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 420px at 100% -10%, #e7efe3 0%, transparent 60%), var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Candara, "Trebuchet MS", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: var(--bar-h); /* room for the sticky mobile bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--rock); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus); }
.skip-link {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 50;
  transform: translateY(-160%);
  background: var(--focus); color: var(--green-deep); font-weight: 700;
  text-decoration: none; padding: 0.7rem 1rem; border-radius: 0.4rem;
}
.skip-link:focus { transform: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
main { display: block; }
main:focus { outline: none; }
.page { padding-top: 1.5rem; padding-bottom: 3rem; }
h1, h2, h3 {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  line-height: 1.2; color: var(--green-deep); font-weight: 700;
}
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.45rem, 4vw, 1.95rem); margin: 0 0 0.55rem; }
h3 { font-size: 1.2rem; margin: 1.15rem 0 0.35rem; }
p { margin: 0 0 0.9rem; }
.kicker {
  margin: 0 0 0.35rem; color: var(--rock); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem;
}
.lede { font-size: 1.15rem; max-width: 46rem; }
.prose p, .prose li, .card p, .card li { max-width: 68ch; }
.note { font-style: italic; }
.small { font-size: 0.9rem; color: var(--muted); }
address { font-style: normal; }
.section { margin-top: 2.25rem; }
.section > h2 { margin-bottom: 0.4rem; }
.section-intro { max-width: 46rem; margin-bottom: 1.1rem; }

/* 2 header / nav */
.site-header { background: var(--header); color: #f7f4ec; position: relative; z-index: 20; }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.7rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem;
}
.brand { color: #f7f4ec; text-decoration: none; display: flex; flex-direction: column; gap: 0.05rem; padding: 0.2rem 0.15rem; }
.brand:hover { color: #fff; }
.brand-name {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.brand-place { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #d7e6cf; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .header-call { display: none; } /* desktop only; phones use the sticky bar */
.nav-toggle {
  display: none; min-height: 44px; padding: 0.4rem 0.9rem;
  background: transparent; color: #f7f4ec; border: 2px solid #4d7a5c;
  border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; }
.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; display: grid; gap: 0.25rem; margin: 0; padding: 0.4rem 0 0.5rem; }
.site-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0.4rem 0.85rem;
  color: #e7f0e2; text-decoration: none; border-radius: 0.6rem; font-size: 1rem;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-nav a[aria-current="page"] { background: #f3efe4; color: var(--green-deep); font-weight: 700; }
.site-nav a.nav-cta { background: var(--gold); color: var(--green-deep); font-weight: 700; }
.site-nav a.nav-cta:hover { background: #ffd966; color: var(--green-deep); }

/* 3 buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0.6rem 1.25rem; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #f7f4ec; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--rock); border-color: var(--rock); color: #fff; }
.btn-accent { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.btn-accent:hover { background: #ffd966; border-color: #ffd966; color: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.on-dark .btn-ghost { color: #f7f4ec; border-color: #9cc4a8; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
.btn-row .btn { flex: 1 1 12rem; }
.btn-venmo { background: #008CFF; border-color: #008CFF; color: #fff; }
.btn-venmo:hover { background: #0074d6; border-color: #0074d6; color: #fff; }
.btn-venmo-sm { min-height: 40px; padding: 0.35rem 1rem; font-size: 0.95rem; }
.pay-section .btn-venmo { min-width: 10rem; }
.footer-venmo { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0.7rem 0 0; }
.footer-venmo-handle { color: #cfe0c8; font-weight: 600; }
.site-footer .btn-venmo { color: #fff; }
.site-footer .btn-venmo:hover { color: #fff; }

/* 4 hero + photo slots */
.hero-band {
  background: linear-gradient(160deg, var(--header) 0%, #1d4a31 100%);
  color: #f7f4ec; padding: 1.75rem 0 2rem;
}
.hero-band h1, .hero-band h2 { color: #fff; }
.hero-band .kicker { color: var(--gold); }
.hero-grid { display: grid; gap: 1.25rem; }
.hero-band .lede { color: #e7f0e2; }
.hero-band .small { color: #cfe0c8; }
.page-hero { background: var(--header); color: #f7f4ec; padding: 1.5rem 0 1.6rem; }
.page-hero h1 { color: #fff; margin-bottom: 0.3rem; }
.page-hero p { color: #e7f0e2; margin: 0; max-width: 46rem; }
.page-hero .kicker { color: var(--gold); }

/* Photo slots: the frame keeps one shape, so swapping in a new photo with
   the same file name needs no CSS change. See PHOTOS.md. */
.photo-slot { margin: 0; }
.photo-slot img { width: 100%; border-radius: 1rem; object-fit: cover; }
.photo-slot figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.hero-band .photo-slot figcaption { color: #cfe0c8; }
.hero-photo img { aspect-ratio: 2 / 1; border: 3px solid rgba(255, 255, 255, 0.18); }
/* Smaller photos stay near their real size so they are not blown up and blurry. */
.small-photo { max-width: 24rem; margin: 1.1rem 0; }
.small-photo img { width: 100%; }
.center-photo { margin: 1.25rem auto; max-width: 24rem; }
.center-photo img { width: 100%; border-radius: 0.9rem; }

/* 5 content blocks */
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.25rem 1.2rem 1.35rem; box-shadow: 0 10px 30px rgba(16, 40, 24, 0.05);
}
.panel + .panel { margin-top: 1rem; }
.cards { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem 1.15rem; }
.card h3 { margin-top: 0; }
.stats { display: grid; gap: 0.7rem; grid-template-columns: repeat(2, 1fr); margin: 1.1rem 0 0; padding: 0; list-style: none; }
.stats li { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 0.8rem; padding: 0.7rem 0.8rem; }
.stat-num { display: block; font-family: Palatino, Georgia, serif; font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat-label { font-size: 0.88rem; color: #d7e6cf; }
.facts { display: grid; gap: 0.7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.facts li { background: var(--sand); border-radius: 0.75rem; padding: 0.8rem 1rem; }
.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.8rem 0 0; }
.towns li { background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem; font-weight: 600; }
.contact-list { margin: 0; display: grid; gap: 1rem; }
.contact-list div { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 700; font-size: 1.1rem; }
.contact-list dd { margin: 0.2rem 0 0; }
.contact-list a { font-weight: 600; }
.place { display: grid; gap: 1rem; margin-top: 1.5rem; }
.place + .place { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.map { margin: 0; }
.map img { width: 100%; max-width: 271px; border-radius: 0.8rem; border: 1px solid var(--line); }
.steps, .bullets { padding-left: 1.25rem; }
.steps li, .bullets li { margin: 0.55rem 0; }
.steps li::marker { color: var(--green); font-weight: 700; }
.substeps { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 0.95rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600;
}
.toc a:hover { background: var(--sand); }
.callout {
  background: var(--sand); border-left: 6px solid var(--green); border-radius: 0.6rem;
  padding: 0.9rem 1.1rem; margin: 1rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.cta-band { background: var(--green-deep); color: #f7f4ec; margin-top: 3rem; padding: 2rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e7f0e2; max-width: 46rem; }
.pdf-link {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0.4rem 0 1rem; padding: 0.45rem 0.95rem;
  background: var(--green); color: #f7f4ec; text-decoration: none; border-radius: 999px; font-weight: 700;
}
.pdf-link:hover { background: var(--rock); color: #fff; }
.season-grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 0.9rem; }
.season { background: var(--paper); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.9rem 1rem; }
.season h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.season p { margin: 0; font-size: 0.98rem; }

/* 6 quote page */
.quote-layout { display: grid; gap: 1.25rem; grid-template-areas: "area" "est" "order"; }
.quote-layout .area-step { grid-area: area; }
.quote-layout .estimate { grid-area: est; }
.quote-layout .order-step { grid-area: order; }
.quote-layout .panel + .panel { margin-top: 0; }
.field { margin: 0 0 1rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 0.3rem; padding: 0; }
.field .hint { display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 0.65rem 0.85rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid #b9b19f; border-radius: 0.6rem;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--green); }
.field-row { display: grid; gap: 0 0.9rem; grid-template-columns: 1fr; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.choice { display: grid; gap: 0.5rem; grid-template-columns: 1fr 1fr; }
.choice label {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 0;
  min-height: 52px; padding: 0.5rem 0.6rem; text-align: center; font-weight: 700;
  background: #fff; border: 2px solid #b9b19f; border-radius: 0.7rem; cursor: pointer;
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice label:has(input:checked) { background: var(--green); border-color: var(--green); color: #fff; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--green-deep); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus); }
.choice-lg { grid-template-columns: 1fr; gap: 0.7rem; }
.choice-lg label {
  min-height: 4.5rem; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left; padding: 0.85rem 1rem; border-radius: 0.9rem; gap: 0.2rem;
}
.choice-lg .choice-title { display: block; font-size: 1.05rem; line-height: 1.25; }
.choice-lg .choice-sub { display: block; font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.choice-lg label:has(input:checked) .choice-sub { color: #d7e6cf; }
.method-choice legend { margin-bottom: 0.55rem; }
.pickup-note { margin: 0 0 1rem; }
.pickup-note p:last-child { margin-bottom: 0; }
.order-step { background: var(--sand); box-shadow: none; }
.order-step summary {
  cursor: pointer; list-style: none; display: block;
  min-height: 52px; padding: 0.15rem 0.15rem 0.15rem 0;
  border-radius: 0.6rem;
}
.order-step summary::-webkit-details-marker { display: none; }
.order-step summary::marker { content: ''; }
.order-step .order-title { display: block; font-size: 1.15rem; font-weight: 700; color: var(--green-deep); }
.order-step .order-optional { font-weight: 500; color: var(--muted); }
.order-step .order-sub { display: block; font-weight: 500; color: var(--muted); margin-top: 0.15rem; }
.order-step summary:focus { outline: none; }
.order-step summary:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus); }
.order-step .order-body { padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 0.7rem; }
.cta-band .btn-row { margin-top: 1.2rem; }
.hero-band .quote-ctas { margin-top: 1.15rem; margin-bottom: 0.2rem; }
.estimate { background: var(--green-deep); color: #f7f4ec; border-radius: 1rem; padding: 1.2rem 1.2rem 1.3rem; }
.estimate h2 { color: #fff; font-size: 1.35rem; }
.estimate .empty { color: #d7e6cf; margin: 0; }
.est-lines { margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0; }
.est-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.est-lines dt { color: #d7e6cf; }
.est-lines dd { margin: 0; font-weight: 700; text-align: right; }
.est-lines .total { border-bottom: 0; padding-top: 0.8rem; font-size: 1.35rem; }
.est-lines .total dt { color: #fff; font-weight: 700; }
.est-lines .total dd { color: var(--gold); }
.estimate .fine { margin: 0.9rem 0 0; font-size: 0.88rem; color: #cfe0c8; }
.estimate .vehicle { margin: 0.8rem 0 0; background: rgba(255,255,255,0.1); border-radius: 0.6rem; padding: 0.6rem 0.8rem; font-size: 0.95rem; }
.form-status { margin: 0.8rem 0 0; font-weight: 700; }
.mail-fallback { margin-top: 1rem; }
.mail-fallback pre {
  white-space: pre-wrap; word-break: break-word; background: #fff; border: 1px solid var(--line);
  border-radius: 0.6rem; padding: 0.8rem; font: 0.9rem/1.5 ui-monospace, Menlo, Consolas, monospace;
}
[hidden] { display: none !important; }

/* 7 faq */
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 0.8rem; margin: 0 0 0.7rem; }
.faq-list summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; min-height: 48px; list-style-position: inside; }
.faq-list summary::marker { color: var(--green); }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list .answer { padding: 0.8rem 1.1rem 0.4rem; }
.faq-list .answer p, .faq-list .answer li { max-width: 68ch; }

/* 8 footer + sticky mobile bar */
.site-footer { background: var(--green-deep); color: #e7f0e2; margin-top: 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 1.6rem 1.25rem 1.2rem; display: grid; gap: 1.2rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: 0.4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.15rem 0; }
.site-footer .copy { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 1.4rem; font-size: 0.92rem; color: #cfe0c8; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--header); border-top: 2px solid var(--gold);
}
.mobile-bar .btn { min-height: 52px; font-size: 0.98rem; padding: 0.5rem 0.4rem; white-space: nowrap; }
.mobile-bar .btn-call { background: transparent; border-color: #9cc4a8; color: #fff; }

/* 9 placeholders (every one starts with a bracket, so grep "\[" finds them) */
.placeholder {
  background: #fff4c2; border: 2px dashed #b58900; border-radius: 0.5rem;
  padding: 0.1rem 0.45rem; font-weight: 700; color: #4a3a00;
}
.placeholder-block { display: block; padding: 0.8rem 1rem; margin: 0.6rem 0; }

/* Call page: number and email are inserted by JS, never in the HTML source */
.contact-reveals { display: grid; gap: 1.25rem; margin: 1.1rem 0 1.25rem; }
.phone-reveal, .email-reveal { margin: 0.6rem 0 0; font-size: 1.7rem; font-weight: 700; }
.phone-reveal a, .email-reveal a { text-decoration: none; }
.email-reveal { font-size: 1.25rem; overflow-wrap: anywhere; }

/* 10 wider screens */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .header-actions .header-call { display: inline-flex; min-height: 44px; padding: 0.4rem 1rem; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; flex-basis: 100%; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem; padding: 0.1rem 0 0.35rem; }
  .site-nav a { padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.97rem; }
  .site-nav li:last-child { margin-left: auto; }
  .hero-band { padding: 2.5rem 0 2.75rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .page-hero { padding: 2rem 0 2.2rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .choice-lg { grid-template-columns: 1fr 1fr; }
  .place { grid-template-columns: minmax(14rem, 20rem) 1fr; align-items: start; }
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .choice-lg { grid-template-columns: 1fr 1fr; }
  .quote-layout { grid-template-columns: 1.25fr 1fr; grid-template-areas: "area est" "order order"; align-items: start; }
  .quote-layout .estimate { position: sticky; top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* extras */
h4 { font-size: 1.02rem; margin: 0.9rem 0 0.25rem; color: var(--green); }
.place address { margin-bottom: 0.6rem; font-weight: 600; }
