/* ==========================================================
   CodeOrchard brand tokens
   ========================================================== */
:root {
  /* Brand palette (from the logo sheet) */
  --ink: #0E1512;     /* soil */
  --paper: #EAF2EC;   /* mist */
  --leaf: #9BE36D;    /* new growth */
  --moss: #3F8A1E;    /* mature leaf */

  /* Derived */
  --moss-deep: #2E6914;          /* moss darkened for small text on paper (AA) */
  --ink-2: #16201B;              /* raised surface on ink */
  --ink-3: #223029;              /* borders on ink */
  --ink-70: #36443C;             /* body copy on paper */
  --ink-55: #56655C;             /* secondary copy on paper */
  --on-ink: #B4C4B9;             /* secondary copy on ink */
  --line: #C9D9CD;
  --field: #F6FAF6;
  --tint: #DFEBE2;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --r-lg: 14px;
  --r: 8px;
  --r-sm: 5px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

main { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: var(--moss-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; }
h1, h2 { font-stretch: 112%; font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }

/* ==========================================================
   Brand mark + wordmark
   ========================================================== */
.brand {
  --mark-ink: var(--paper); --mark-leaf: var(--leaf);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--paper);
}
.brand-mark { width: 46px; height: 31px; }
.brand-word { font-size: 1.55rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; }
.brand-word span { color: var(--leaf); }
.brand:focus-visible { outline-color: var(--leaf); border-radius: 4px; }

/* The terminal-style tagline from the logo sheet */
.prompt { font-family: var(--font-mono); font-size: .95rem; color: var(--on-ink); letter-spacing: .01em; }
.prompt-caret { color: var(--leaf); margin-right: .35em; }
.cursor { color: var(--leaf); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.4em;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  font: 700 1rem/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-leaf { background: var(--leaf); color: var(--ink); }
.btn-leaf:hover { background: #b2ef8c; }
.btn-leaf:focus-visible { outline-color: var(--leaf); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--moss-deep); }
.btn-line-light { border-color: #3a4a41; color: var(--paper); }
.btn-line-light:hover { border-color: var(--leaf); color: var(--leaf); }
.btn-line-light:focus-visible { outline-color: var(--leaf); }
.btn-sm { padding: .65em 1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-color: var(--ink-3); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: var(--on-ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--paper); }
.site-nav a.active { color: var(--paper); border-bottom-color: var(--leaf); }
.site-nav a:not(.btn):focus-visible { outline-color: var(--leaf); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle:focus-visible { outline-color: var(--leaf); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero { background: var(--ink); color: var(--paper); padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 12.5em; margin-bottom: .45em; }
.hero .prompt { margin-bottom: 26px; }
.lead { font-size: 1.15rem; color: var(--on-ink); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-note { color: #8a9c90; font-size: .95rem; margin: 0; }

/* Hero checklist: one row per thing we set up, ticked off in plain words */
.orchard {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--r-lg);
  padding: 22px 24px 8px;
}
.orchard-cmd { font-size: .95rem; font-weight: 700; color: var(--paper); margin: 0 0 10px; }
.orchard-row {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--ink-3);
}
.orchard-check {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(155, 227, 109, .14);
}
.orchard-check svg { width: 16px; height: 16px; fill: none; stroke: var(--leaf); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.orchard-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.orchard-text strong { color: var(--paper); font-size: 1rem; }
.orchard-text span { color: #8a9c90; font-size: .88rem; }
.orchard-status {
  font-size: .78rem; font-weight: 700; color: var(--leaf);
  padding: .3em .7em; border: 1px solid rgba(155, 227, 109, .35); border-radius: 999px;
}

.orchard.grow .orchard-row { animation: row-in .5s ease both; animation-delay: var(--d); }
.orchard.grow .orchard-check svg { stroke-dasharray: 24; animation: tick .4s ease both; animation-delay: calc(var(--d) + .25s); }
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tick { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Scroll reveal (classes added by JS) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.revealed { opacity: 1; transform: none; }

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-leaf { background: var(--leaf); }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end;
  margin-bottom: 48px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-55); max-width: 30em; }
.section-intro { color: var(--ink-55); max-width: 30em; }

/* ==========================================================
   Services: a list, not a card grid
   ========================================================== */
.service-list { border-top: 2px solid var(--ink); }

.service-row {
  width: 100%;
  display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
  gap: 28px; align-items: center;
  padding: 24px 12px;
  text-align: left; font: inherit; color: inherit;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s ease;
}
.service-row h3 { margin: 0; font-size: 1.2rem; }
.service-row p { margin: 0; color: var(--ink-55); font-size: .98rem; }
.service-row .more {
  font-weight: 700; font-size: .92rem; color: var(--moss-deep); white-space: nowrap;
  padding: .5em .9em; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.service-row:hover { background: rgba(155, 227, 109, .16); }
.service-row:hover .more { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.service-row:focus-visible { outline-offset: -3px; }

.service-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--ink);
}
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--leaf); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================
   Finder
   ========================================================== */
.finder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.finder-form { display: grid; gap: 8px; margin-top: 28px; }

.check {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--field);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.check:hover { border-color: var(--moss); }
.check input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 22px; height: 22px; margin: 0;
  border: 2px solid var(--ink-55); border-radius: 4px;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.check input::after {
  content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform .15s ease;
}
.check input:checked { background: var(--leaf); border-color: var(--ink); }
.check input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.check:has(input:checked) { border-color: var(--ink); background: #fff; }

.finder-result {
  --mark-ink: #5b6f62; --mark-leaf: var(--leaf);
  position: sticky; top: 100px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-lg);
  padding: 30px;
  min-height: 340px;
}
.finder-empty { min-height: 280px; display: grid; place-content: center; text-align: center; color: var(--on-ink); }
.finder-empty p { max-width: 20em; margin: 0 auto; }
.finder-mark { width: 64px; height: 70px; margin: 0 auto 18px; }

.finder-result h3 { font: 400 .9rem/1.4 var(--font-mono); color: var(--on-ink); margin-bottom: 18px; }
.finder-result h3 span { color: var(--leaf); }
.rec-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 0; }
.rec-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0; border-top: 1px dashed var(--ink-3);
  animation: pop .3s ease both;
}
.rec-list .rec-num { font-family: var(--font-mono); color: var(--leaf); font-size: .85rem; padding-top: 3px; }
.rec-list strong { display: block; }
.rec-list span.why { color: var(--on-ink); font-size: .93rem; }

@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================
   Process: four growth stages
   ========================================================== */
.process {
  --mark-ink: var(--ink); --mark-leaf: var(--moss);
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-bottom: 2px solid var(--ink);
}
.process li { padding: 0 28px 32px 0; display: flex; flex-direction: column; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stage { width: 54px; height: 58px; margin-bottom: 22px; transform-origin: 50% 100%; }
.stage-1 { transform: scale(.4); }
.stage-2 { transform: scale(.6); }
.stage-3 { transform: scale(.8); }
.step-num { font-family: var(--font-mono); font-size: .85rem; color: var(--moss-deep); margin-bottom: 6px; }
.process h3 { font-size: 1.35rem; }
.process p { color: var(--ink-55); font-size: .98rem; margin: 0; }

/* ==========================================================
   About
   ========================================================== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.team { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.person-initial {
  width: 64px; height: 64px; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--ink); color: var(--leaf);
  font-size: 1.8rem; font-weight: 800; font-stretch: 112%;
}
.person h3 { font-size: 1.4rem; margin-bottom: .1em; }
.person-role { font-weight: 600; color: var(--moss-deep); font-size: .95rem; margin-bottom: .6em; }
.person p:not(.person-role) { color: var(--ink-70); }
.person-contact {
  display: inline-flex; align-items: center; gap: 8px; margin: 2px 22px 0 0;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.person-contact span { word-break: break-all; border-bottom: 1px solid var(--line); }
.person-contact:hover span { border-color: var(--moss); }
.person-contact svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--moss-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================
   Why
   ========================================================== */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why-grid h2 { margin: 0; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.why-list li { color: #24361b; padding-top: 14px; border-top: 2px solid var(--ink); }
.why-list strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font: 400 1.5rem/1 var(--font-mono); color: var(--moss-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq details p { color: var(--ink-70); padding-bottom: 22px; margin: 0; max-width: 38em; }

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-details li + li { margin-top: 12px; }
.contact-details svg { width: 20px; height: 20px; fill: none; stroke: var(--moss-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-details a { color: var(--ink); }

.contact-form {
  background: var(--field); border-radius: var(--r-lg); padding: 32px;
  border: 1.5px solid var(--line);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(63, 138, 30, .2); }
.field input.invalid { border-color: #c2412d; }
.field textarea { resize: vertical; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 8px 13px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff;
  font-size: .9rem; font-weight: 500; cursor: pointer; user-select: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip span:hover { border-color: var(--moss); }
.chip input:checked + span { background: var(--leaf); border-color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--moss); outline-offset: 2px; }

.form-note { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-note.error { color: #b23a26; }
.form-note.ok { color: var(--moss-deep); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 52px 0; }
.footer-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-prompt { margin: 0; }
.footer-copy { margin: 0; font-size: .9rem; }

/* ==========================================================
   Service dialog
   ========================================================== */
.service-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  border: 0; border-radius: var(--r-lg); padding: 0;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(14, 21, 18, .6);
}
.service-dialog::backdrop { background: rgba(14, 21, 18, .7); }
.service-dialog[open] { animation: dialog-in .22s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.dialog-body { padding: 40px; }
.dialog-body .service-icon { margin-bottom: 18px; }
.dialog-body h3 { font-size: 1.6rem; font-stretch: 110%; font-weight: 800; letter-spacing: -.02em; }
.dialog-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: var(--r);
  border: 0; background: var(--tint); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.dialog-close:hover { background: var(--ink); color: var(--paper); }
.dialog-summary { color: var(--ink-70); font-size: 1.05rem; }
.dialog-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin: 28px 0 32px; padding-top: 24px; border-top: 2px solid var(--ink); }
.dialog-cols h4 { font-size: 1rem; font-weight: 700; margin-bottom: .9em; }
/* Stays in view while the details scroll on short screens, settling back at the end. */
#dialog-cta { position: sticky; bottom: 20px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 17px; height: 17px; border-radius: 4px;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.8' fill='none' stroke='%230E1512' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ticks-soft li { color: var(--ink-70); }
.ticks-soft li::before { background: none; border: 2px solid var(--moss); width: 9px; height: 9px; border-radius: 50%; top: .55em; left: 4px; }

/* ==========================================================
   Finder: floating "view suggestions" pill (mobile only)
   ========================================================== */
.finder-pill {
  position: fixed; z-index: 40;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 160%);
  display: none;
  padding: .9em 1.3em;
  border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--leaf); color: var(--ink);
  font: 700 .98rem/1 var(--font-sans);
  box-shadow: 0 14px 30px -12px rgba(14, 21, 18, .6);
  cursor: pointer;
  transition: transform .25s ease;
}
.finder-pill.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================
   Responsive
   ========================================================== */

/* Tablet */
@media (max-width: 1000px) {
  .hero-grid { gap: 40px; }
  .service-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .service-row p { grid-column: 2 / 3; grid-row: 2; margin-top: -18px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(n+3) { padding-top: 32px; border-top: 1px solid var(--line); }
  .why-list { grid-template-columns: 1fr; gap: 22px; }
}

/* Mobile menu + single-column layouts */
@media (max-width: 860px) {
  html { scroll-padding-top: 64px; }
  .nav-wrap { height: 64px; }
  .brand-mark { width: 40px; height: 27px; }
  .brand-word { font-size: 1.35rem; }

  .nav-toggle { display: block; margin-right: -8px; }
  .site-nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px calc(32px + env(safe-area-inset-bottom));
    background: var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav a:not(.btn) {
    padding: 18px 0; font-size: 1.3rem; font-weight: 700; color: var(--paper);
    border-bottom: 1px solid var(--ink-3);
  }
  .site-nav a.active { color: var(--leaf); border-bottom-color: var(--ink-3); }
  .site-nav .btn { margin-top: 24px; padding: 1em; font-size: 1.05rem; }

  /* Scroll lock while the menu is open. Mobile browsers ignore overflow:hidden for
     touch scrolling, so the body is pinned in place (see setMenu in main.js) and
     the header is fixed so the close button can't scroll away. */
  body.menu-open { position: fixed; left: 0; right: 0; overflow: hidden; }
  body.menu-open .site-header { position: fixed; left: 0; right: 0; top: 0; }

  .hero { padding: 44px 0 64px; }
  .hero-grid, .finder-grid, .why-grid, .contact-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .orchard { max-width: 520px; }

  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 32px; }

  .finder-result { position: static; min-height: 0; }
  .finder-empty { min-height: 160px; }
  .finder-pill { display: block; }
}

/* Phones */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  h1 { font-size: clamp(2.3rem, 11vw, 2.9rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.1rem); }
  .lead { font-size: 1.05rem; }
  .prompt { font-size: .82rem; }

  .hero { padding: 32px 0 52px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { padding: 1em 1.4em; }
  .orchard { padding: 18px 16px 6px; }
  .orchard-row { grid-template-columns: 26px 1fr auto; gap: 10px; }
  .orchard-check { width: 26px; height: 26px; }
  .orchard-text strong { font-size: .95rem; }
  .orchard-text span, .orchard-status { font-size: .74rem; }

  .section { padding: 56px 0; }

  .service-row { grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 20px 4px; align-items: start; }
  .service-row .service-icon { width: 40px; height: 40px; grid-row: span 3; }
  .service-row p { grid-column: 2; grid-row: auto; margin: 0; }
  .service-row .more { grid-column: 2; justify-self: start; margin-top: 8px; }

  .check { padding: 14px; min-height: 56px; }

  .process { grid-template-columns: 1fr; }
  .process li, .process li + li, .process li:nth-child(n+3) {
    display: grid; grid-template-columns: 54px 1fr; column-gap: 18px;
    padding: 24px 0; border-left: 0; border-top: 1px solid var(--line);
  }
  .process li:first-child { border-top: 0; }
  .process .stage { grid-row: span 3; margin: 0; width: 46px; height: 50px; }

  .person { grid-template-columns: 48px 1fr; gap: 16px; }
  .person-initial { width: 48px; height: 48px; font-size: 1.4rem; }
  .person-contact { display: flex; margin-top: 6px; }

  .faq summary { padding: 18px 0; font-size: 1rem; }

  .contact-form, .finder-result { padding: 24px 18px; }
  .chip span { padding: 10px 13px; }
  .field input, .field textarea { font-size: 16px; } /* stops iOS zooming on focus */

  .footer-wrap { flex-direction: column; align-items: flex-start; }

  /* Service details become a bottom sheet */
  .service-dialog {
    width: 100%; max-width: 100%;
    max-height: 88vh; max-height: 88dvh;
    margin: auto 0 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .service-dialog[open] { animation: sheet-in .3s ease; }
  .dialog-body { padding: 36px 20px calc(24px + env(safe-area-inset-bottom)); }
  .dialog-body::before {
    content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 4px; background: var(--line);
  }
  .dialog-close { top: 14px; right: 14px; }
  .dialog-cols { grid-template-columns: 1fr; gap: 22px; margin: 22px 0 26px; }
  #dialog-cta { width: 100%; }
}

@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
