/* Landing page. Built only from themes.css tokens, so all three looks and
   both color schemes work. Layout: a two-column hero (promise + example
   update), a promise strip, the household rate card, then a full-bleed
   inverted band for horses & farms, the one place the page gets loud. */

body.landing { padding-left: 0; padding-right: 0; }
.landing main, .lnav, .lfoot {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.landing main { display: grid; gap: 72px; padding-block: 8px 72px; }
.landing main > *:not(.band) { max-width: 1120px; width: 100%; margin-inline: auto; }

/* nav */
.lnav { display: flex; align-items: center; gap: 16px; padding-block: 14px; max-width: 1152px; margin-inline: auto; flex-wrap: wrap; }
.lnav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.lnav .brand img { border-radius: 10px; }
.lnav .brand b { font-family: var(--font-display); font-size: 1.15rem; }
.lnav nav { display: flex; gap: 4px; flex-wrap: wrap; }
.lnav nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.lnav nav a:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 760px) { .lnav nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 24px; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; }
.hero h1 span { display: block; color: var(--brand); }
.hero-copy { display: grid; gap: 18px; align-content: start; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { margin: 0; display: grid; gap: 12px; justify-items: center; }
.hero-card > img { width: min(100%, 340px); height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.update { background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 14px 16px; display: grid; gap: 8px; max-width: 340px; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.update-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .update { transform: none; }
}

/* promise strip */
.promises { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-block: 1px solid var(--line); }
.promises li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--brand); }
.promises b { font-family: var(--font-display); font-size: 1.1rem; }
.promises span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sections */
.section { display: grid; gap: 24px; }
.section-head { display: grid; gap: 8px; max-width: 62ch; }
.section-head h2, .band h2, .closing h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

/* household rate card */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; }
.svc-card h3 { font-size: 1.1rem; }
.svc-card .price { font: 700 1.6rem/1.1 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.svc-card .price small { font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.svc-card p:last-of-type { color: var(--ink-2); }
.svc-link { margin-top: 6px; font-weight: 600; font-size: .92rem; }

/* horses & farms: inverted full-bleed band */
/* main carries the side gutter, so the band pulls itself back out to the window edges */
.band { background: var(--ink); color: var(--bg); padding-block: 64px;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; }
.band .eyebrow { color: var(--bg); opacity: .8; display: flex; align-items: center; gap: 8px; }
.band .shoe { width: 22px; height: 22px; }
.farm-intro { display: grid; gap: 16px; align-content: start; }
.farm-intro p { max-width: 56ch; }
.farm-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.farm-lists h3 { font-size: 1.15rem; margin-bottom: 10px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); opacity: .85; }
.btn.on-band { border-color: var(--bg); color: var(--bg); background: transparent; }
.btn.primary.on-band { background: var(--bg); color: var(--ink); }
.band :focus-visible { outline-color: var(--bg); }
@media (max-width: 900px) { .band-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .farm-lists { grid-template-columns: 1fr; } }

/* how it works: a real three-step sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--brand); }
.steps li::before { content: counter(step); font: 700 2rem/1 var(--font-display); color: var(--brand); }
.steps p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--ink); font-size: 1.05rem; list-style-position: outside; }
.faq details p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }

/* closing + footer */
.closing { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 48px 16px; background: var(--surface-2); border-radius: var(--radius); }
.lfoot { max-width: 1152px; margin: 0 auto; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 16px 32px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); }
.lfoot > div { display: grid; gap: 4px; }
.lfoot .contact, .lfoot .links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* meet Kimberlyn: the photo column appears only once a photo exists */
.meet { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.meet.has-photo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
.meet-photo { width: 100%; height: auto; max-width: 100%; border-radius: var(--radius); border: 6px solid var(--brand); box-shadow: var(--shadow); }
.meet-copy { display: grid; gap: 14px; }
.meet-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.meet-copy p:not(.eyebrow) { font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }
.meet .sig { font-family: var(--font-display); font-style: italic; font-size: 1.3rem !important; color: var(--brand) !important; }
@media (max-width: 760px) { .meet.has-photo { grid-template-columns: 1fr; } }
