/* ============================================================
   IronWood Computer Services
   ------------------------------------------------------------
   Dials:  DESIGN_VARIANCE 5 · MOTION_INTENSITY 3 · VISUAL_DENSITY 4

   Audience is residential clients skewing older, plus small
   offices. That is an accessibility-critical constraint and it
   outranks visual ambition throughout: 18px base text, 1.7 body
   leading, 44px minimum tap targets, AA+ contrast in both modes,
   and no scroll hijacking.

   SHAPE RULE (documented, applied everywhere):
     containers / cards / images .... var(--r)     14px
     interactive: buttons, inputs ... var(--r-sm)  10px

   COLOR RULE: one accent, copper, taken from the logo. It is the
   only non-neutral hue on the page in either mode.
   ============================================================ */

/* ---------- Tokens ----------
   Neutrals carry a slight evergreen cast rather than being pure grey. The
   category default is corporate blue (competitors ship #1e73be, #4380d1,
   #007bff), which reads safe and looks identical to everyone else. Copper
   against a green-tinted neutral is warmer, matches the actual promise of a
   person coming to your house, and echoes the pine in the mark. */
:root {
  /* The site is dark only - there is no light theme and no toggle, so these
     are the whole palette rather than one branch of it. color-scheme tells
     the browser to render native UI (form controls, scrollbars, autofill)
     to match, which CSS variables alone cannot do. */
  color-scheme: dark;

  --bg:          #151b18;
  --surface:     #1c2420;
  --surface-2:   #232d28;
  --ink:         #e9ede9;
  --ink-soft:    #a3ada6;
  --line:        #303c36;

  --copper:      #e0904a;  /* graphic / decorative      */
  --copper-btn:  #e0904a;  /* button fill, dark label   */
  --copper-ink:  #151b18;  /* label on --copper-btn     */
  --copper-link: #e8a05f;  /* copper as text on --bg    */

  /* Muted text sitting on --surface-2 needs to be a step lighter than
     --ink-soft to stay at AAA (7:1); --ink-soft only reaches 6.15 there.
     This is the role the old --forest-soft played on the brand band. */
  --panel-soft:  #b8c2bb;

  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .38);

  --r:    14px;
  --r-sm: 10px;

  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
                  "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { max-width: 100%; display: block; }
a { color: var(--copper-link); }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; max-width: 65ch; }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--copper-btn); color: var(--copper-ink);
  padding: .85rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--copper-ink); }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

/* Grid blowout guard. An `auto` minimum track size refuses to shrink below a
   child's intrinsic width, which lets wide images push the page sideways on
   narrow viewports. Every grid child opts out of that minimum. */
.hero-inner > *, .about-inner > *, .contact-inner > *, .bento > *,
.fact-grid > *, .area-grid > *, .footer-inner > *, .creds > *,
.process li > *, .field-row > * { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: .95rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;
  padding: var(--btn-py) 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: inherit; font-weight: 600; font-size: 1.02rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), transform .12s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--copper-btn); color: var(--copper-ink); }
.btn--primary:hover { background: var(--copper-link); color: var(--copper-ink); }
.btn--primary:hover { background: #eea363; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 46px; padding: .6rem 1.15rem; font-size: .96rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.btn-spinner { display: none; width: 1.05em; height: 1.05em; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent; }
.btn.is-busy .btn-spinner { display: block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-busy .btn-spinner { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 76px;
}
.brand { flex: none; display: block; }
.brand img { height: 44px; width: auto; }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; flex: none; }
.primary-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; flex: none; }
.primary-nav .btn, .header-phone { flex: none; }
.primary-nav a {
  color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500;
  padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .18s var(--ease);
}
.primary-nav ul a:hover { border-bottom-color: var(--copper); }
/* Competitors all run the phone large in the header. It is the highest-intent
   action for this audience, who would rather call than fill in a form. */
.header-phone {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid var(--copper); padding-bottom: 1px;
}
.header-phone:hover { color: var(--copper-link); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .6rem;
  min-height: 46px; padding: .5rem .9rem;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; content: "";
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; inset: 76px 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: .5rem var(--gutter) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .primary-nav ul a:hover { border-bottom-color: var(--line); color: var(--copper-link); }
  .header-phone { padding: 1rem 0; font-size: 1.3rem; }
  .primary-nav .btn { margin-top: .5rem; }
}

/* ---------- Hero: asymmetric split ---------- */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-inner {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); }
}
.hero-copy h1 { margin-bottom: .35em; }
.lede { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2rem; }
.hero-phone { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.hero-phone a {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--copper);
  padding-bottom: 2px; white-space: nowrap;
}
.hero-phone a:hover { color: var(--copper-link); }

.hero-media img {
  width: 100%; height: auto; aspect-ratio: 6 / 7; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow);
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-title { max-width: 20ch; }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 2.5rem; }

/* ---------- Services bento (4 cells, exact count) ---------- */
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.75rem; }
@media (min-width: 860px) {
  .bento { grid-template-columns: repeat(12, minmax(0,1fr)); grid-auto-rows: minmax(0, auto); }
  .b1 { grid-column: 1 / 8;  grid-row: 1 / 3; }
  .b2 { grid-column: 8 / 13; grid-row: 1 / 2; }
  .b3 { grid-column: 8 / 13; grid-row: 2 / 3; }
  .b4 { grid-column: 1 / 13; grid-row: 3 / 4; }
}

.bento-cell {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); display: flex; flex-direction: column;
}
.bento-body { padding: clamp(1.4rem, 2.4vw, 2rem); }
.bento-body p { margin-bottom: 0; color: var(--ink-soft); }
.bento-body h3 { margin-bottom: .4em; }

.bento-cell--photo img { width: 100%; height: 100%; object-fit: cover; flex: 1 1 auto; min-height: 200px; }
.b1 img { min-height: 300px; }
.bento-cell--tint { background: var(--surface-2); }
.bento-cell--accent {
  background: var(--copper-btn); border-color: transparent; color: var(--copper-ink);
}
.bento-cell--accent p { color: color-mix(in srgb, var(--copper-ink) 85%, transparent); }
@media (min-width: 860px) {
  .bento-cell--accent .bento-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; }
  .bento-cell--accent h3 { margin-bottom: 0; }
  .bento-cell--accent p { max-width: none; }
}

/* ---------- Process: stacked, ruled, no cards ---------- */
.process { list-style: none; margin: 2.75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.process li { padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) {
  .process li { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0,1fr); gap: 3rem; align-items: baseline; }
  .process h3 { margin-bottom: 0; }
}
.process p { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- About: split ---------- */
.about-inner { display: grid; gap: clamp(2.25rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .about-inner { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
}
.about-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow);
}
.about-copy p { color: var(--ink-soft); }
.creds { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 640px) { .creds { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .creds { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.creds li { background: var(--surface); padding: 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.creds strong { font-family: var(--font-display); font-size: 1.15rem; }
.creds span { font-size: .92rem; color: var(--ink-soft); line-height: 1.45; }

/* Apple's certification stamps, reproduced as supplied. They are the only
   light surfaces on the site; that is deliberate, because the alternative is
   altering someone else's mark to suit our palette. */
.stamps {
  display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px; margin-top: 1.75rem;
}
.stamp {
  background: #fff; border-radius: var(--r); padding: 1.25rem;
  box-shadow: var(--shadow);
}
.stamp img { display: block; width: 100%; height: auto; }

/* ---------- Service area band ---------- */
.band { background: var(--surface-2); padding: clamp(3.5rem, 7vw, 6rem) 0; border-block: 1px solid var(--line); }
.band-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 2.75rem; }
.area-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 760px) { .area-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.area-grid h3 { font-size: 1.05rem; margin-bottom: .5em; padding-bottom: .5em; border-bottom: 2px solid var(--copper); }
.area-grid p { margin: 0; color: var(--ink-soft); line-height: 2; }

/* ---------- Billing facts ---------- */
.fact-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .fact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
/* Plain ruled columns, not cards. Elevation would communicate nothing here,
   and it would duplicate the card family used by the reviews grid. */
.fact { padding: 1.5rem 0 0; border-top: 2px solid var(--copper); }
.fact h3 { font-size: 1.12rem; }
.fact p { margin-bottom: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); } }
.contact-copy p { color: var(--ink-soft); }
.contact-direct { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-direct div { display: grid; gap: .15rem; }
.contact-direct dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-soft); }
.contact-direct dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }
.contact-direct a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--copper); }
.contact-direct a:hover { color: var(--copper-link); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem);
}
/* align-content:start stops a two-row field from stretching to match a
   three-row neighbour in the same grid row, which inflates its input. */
.field { display: grid; gap: .5rem; margin-bottom: 1.35rem; align-content: start; }
.field-row { display: grid; gap: 1.35rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.field-row .field { margin-bottom: 1.35rem; }

label { font-weight: 600; font-size: .98rem; }
input, textarea {
  width: 100%; min-height: 52px; padding: .8rem .95rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease);
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
input:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus-visible, textarea:focus-visible { border-color: var(--copper); outline-offset: 1px; }

.field-hint { margin: 0; font-size: .89rem; color: var(--ink-soft); }
.field-error { margin: 0; font-size: .89rem; font-weight: 600; color: #ff9b96; }
.field.has-error input, .field.has-error textarea { border-color: #ff9b96; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin: 1.25rem 0 0; padding: .95rem 1.1rem; border-radius: var(--r-sm);
  font-size: .98rem; font-weight: 600;
}
.form-status.is-ok  { background: color-mix(in srgb, var(--copper) 14%, var(--surface)); color: var(--ink); border: 1px solid var(--copper); }
.form-status.is-bad { background: color-mix(in srgb, #a8201f 10%, var(--surface)); color: var(--ink); border: 1px solid #a8201f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 5vw, 4rem); }
.footer-inner { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 3rem; } }
.footer-brand img { height: 38px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--ink-soft); font-size: .96rem; max-width: 38ch; }
.site-footer h2 { font-size: .84rem; text-transform: uppercase; letter-spacing: .09em;
  font-family: var(--font-body); font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-nav a, .footer-contact a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--copper-link); }
.footer-contact p { color: var(--ink-soft); line-height: 2; }
.footer-legal { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; font-size: .88rem; color: var(--ink-soft); max-width: none; }

/* ---------- Assurance strip (directly under the hero) ----------
   Every competitor site puts a trust bar here. Ours carries only verifiable
   facts, since there are no reviews to show yet. */
.assurance { border-block: 1px solid var(--line); background: var(--surface); }
.assurance ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0,1fr);
}
@media (min-width: 700px) { .assurance ul { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.assurance li {
  padding: 1.5rem 0; display: grid; gap: .2rem; align-content: start;
  border-bottom: 1px solid var(--line);
}
.assurance li:last-child { border-bottom: 0; }
@media (min-width: 700px) {
  .assurance li { padding: 1.75rem 1.75rem 1.75rem 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .assurance li:last-child { border-right: 0; }
}
.assurance strong { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; }
.assurance span { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- What you will not get (risk reversal) ---------- */
.nots-grid { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: minmax(0,1fr); margin-top: 2.5rem; }
@media (min-width: 760px) { .nots-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.nots-grid > div { display: grid; gap: .3rem; align-content: start; padding-left: 1.5rem; position: relative; }
.nots-grid > div::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .7rem; height: 2px; background: var(--copper);
}
.nots-grid h3 { font-size: 1.1rem; margin-bottom: 0; }
.nots-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Brand band ----------
   Used once, and where the mark gets its large, memorable placement. It sits
   on --surface-2 so it reads as a raised panel; the old --forest was within a
   hex step of --bg and vanished once the site became dark-only. */
.brandband {
  background: var(--surface-2); color: var(--ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.brandband-inner {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0,1fr);
  max-width: 980px;   /* narrower than .shell so the pair stays a unit */
}
@media (min-width: 820px) { .brandband-inner { grid-template-columns: minmax(0,auto) minmax(0,1fr); } }
.brandband-mark { justify-self: center; }
.brandband-mark img { width: clamp(140px, 20vw, 200px); height: auto; }
.brandband h2 { color: var(--ink); max-width: 26ch; }
.brandband p { color: var(--panel-soft); font-size: 1.08rem; max-width: 56ch; }
.brandband p:last-child { margin-bottom: 0; }
.brandband strong { color: var(--copper); font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0,1fr); margin-top: 2.5rem; }
@media (min-width: 820px) { .reviews-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem; display: grid; gap: 1rem; align-content: start;
}
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.review figcaption { font-size: .92rem; color: var(--ink-soft); }
.review figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; }
.reviews-empty {
  border: 1.5px dashed var(--line); border-radius: var(--r);
  padding: clamp(2rem, 4vw, 3rem); text-align: center; margin-top: 2.5rem;
}
.reviews-empty p { margin-inline: auto; color: var(--ink-soft); }
.reviews-empty p:last-child { margin-bottom: 0; }

/* ---------- Bento watermark ---------- */
.bento-cell--accent { position: relative; overflow: hidden; }
.bento-mark {
  position: absolute; right: -1.5rem; bottom: -2.5rem; width: 170px; height: auto;
  opacity: .13; pointer-events: none; user-select: none;
}
@media (max-width: 859px) { .bento-mark { width: 120px; right: -1rem; bottom: -1.75rem; } }

/* ---------- Sticky call bar (small screens only) ----------
   Local-service standard. The phone is the highest-intent action and it should
   never be more than a thumb away on a phone. */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
    position: fixed; inset: auto 0 0; z-index: 30;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .callbar .btn { width: 100%; min-height: 50px; }
  .callbar .btn--ghost {
    background: transparent; color: var(--ink); border-color: var(--line);
  }
  .callbar .btn--ghost:hover { border-color: var(--copper); color: var(--copper-link); }
  body { padding-bottom: 5.5rem; }
}

/* ---------- Reveal (the only automatic motion; MOTION_INTENSITY 3) ----------
   Purpose: establishes reading order on a long single-page scroll.
   Collapses to fully static under reduced-motion.                         */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.is-visible {
    opacity: 1; transform: none;
    transition: opacity .55s var(--ease), transform .55s var(--ease);
  }
}


/* ============================================================
   MULTI-PAGE ADDITIONS
   ------------------------------------------------------------
   Added when the single page became a five-section site plus
   per-town service-area pages. Same tokens, same shape rule,
   same one-accent constraint — no second design system.
   ============================================================ */

/* ---------- Ghost button ----------
   Previously only existed scoped inside .callbar. Promoted to a real
   variant now that secondary actions appear on every page. */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-link); }

/* ---------- Page head ----------
   The top block on every page that is not the home page. Replaces the
   hero, so it carries the same breathing room above it. */
.pagehead {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.pagehead h1 { max-width: 18ch; }
.pagehead .lede {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 58ch;
  margin-top: 1rem;
}

/* ---------- "See more" link under a section ---------- */
.section-more { margin: 2.75rem 0 0; }

/* ---------- Closing call to action ----------
   Sits on the tinted .band so it reads as a stop, not another section. */
.cta-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .cta-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
.cta-inner h2 { margin-bottom: .35em; }
.cta-inner p { color: var(--ink-soft); margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (min-width: 820px) { .cta-actions { justify-content: flex-end; } }

/* ---------- Services detail ----------
   Ruled rows rather than cards. The bento above already carries the card
   family; repeating it here would flatten the hierarchy. */
.detail-list { display: grid; gap: 0; margin-top: 1rem; }
.detail {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}
.detail:first-child { border-top: 0; padding-top: 0; }
.detail h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  padding-bottom: .45em;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
  margin-bottom: 1rem;
}
.detail p { color: var(--ink-soft); }
@media (min-width: 900px) {
  .detail { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2.5rem; }
  .detail h3 { margin-top: 0; }
}

/* ---------- Service-area index ----------
   Whole-card links. The <a> wraps the block, so text-decoration is reset
   here and re-applied only to the affordance line. */
/* Wide banner under the service-area intro. The file is already cut to 21/9,
   so object-fit has nothing to crop at this ratio — it is there for the
   narrow breakpoint below, where the box goes 3/2. */
.area-banner-wrap { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.area-banner {
  width: 100%;
  /* Without this the height="" attribute lands as a presentational hint and
     pins the box, leaving aspect-ratio with nothing to do. .hero-media img
     already does the same thing for the same reason. */
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .area-banner { aspect-ratio: 3 / 2; } }

.arealist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .arealist { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1040px) { .arealist { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.arealist a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s var(--ease), transform .12s var(--ease);
}
.arealist a:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .arealist a:hover { transform: none; }
}
.arealist h2 {
  font-size: 1.5rem;
  margin-bottom: .4rem;
}
.arealist p {
  color: var(--ink-soft);
  font-size: .97rem;
  margin-bottom: 1.1rem;
  max-width: none;
}
.arealist-more {
  margin-top: auto;
  color: var(--copper-link);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------- Individual service-area page ---------- */
.area-body { max-width: 60ch; }
.area-body p { color: var(--ink-soft); }
.area-body > :first-child { margin-top: 0; }

.area-hoods { margin-top: 3rem; }
.area-hoods h2 {
  font-size: 1.15rem;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}
.area-hoods ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: .6rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
  color: var(--ink-soft);
}
@media (min-width: 760px) { .area-hoods ul { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---------- Contact ---------- */
.contact-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .97rem;
}

/* Response policy. A panel rather than a note: this is the one commitment on
   the site a visitor is entitled to hold me to, so it gets weight. Text sits
   on --surface-2, so muted copy uses --panel-soft to hold AAA (7:1) - the
   --ink-soft used elsewhere only reaches 6.15 against this background. */
.response-policy {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface-2);
  border-left: 2px solid var(--copper);
  border-radius: var(--r-sm);
}
.response-policy h2 {
  margin: 0 0 .75rem;
  font-size: 1.12rem;
  line-height: 1.3;
}
.response-policy p {
  margin-bottom: 0;
  color: var(--panel-soft);
  font-size: .97rem;
}
.response-policy .response-urgent {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.response-policy strong { color: var(--ink); }
.response-policy b {
  color: var(--copper-link);
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .contact-form, .btn { display: none; }
  body { font-size: 12pt; background: #fff; color: #000; }
}
