/* ==========================================================================
   PEERS MOVING CO: "THE SIDE OF THE TRUCK"
   One shared sheet for every page. No build step.

   The company's identity has been painted on the side of its trucks for more
   than fifty years: the orange script, the black outline, "You call, we haul"
   and the phone number. This sheet takes its colors and its one flourish (the
   swoosh under the name) from that paint, and lets the real photographs do
   the rest.

   Palette is the client's and is fixed:
     orange #D95E00, black #1A1A1A, cream #FFF8F2. The site stays light.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  --cream:   #FFF8F2;   /* page ground */
  --white:   #FFFFFF;   /* raised surfaces */
  --tint:    #FBEADB;   /* orange wash for alternate bands */
  --line:    #E7DDD2;   /* hairlines on cream and white */
  --line-2:  #8A8279;   /* form field borders, 3.7:1 on white */

  --ink:     #1A1A1A;   /* company black: text, outlines */
  --muted:   #55504A;   /* secondary text, 7.6:1 on cream */

  --accent:      #D95E00;  /* company orange: fills, rules, marks. Ink text on it (4.6:1). */
  --accent-text: #9A4300;  /* orange dark enough to read as text on cream (6.6:1) */

  --display: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body:    'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  --pad:    clamp(1.25rem, 4vw, 3rem);
  --shell:  1200px;
  --gap:    1.5rem;
  --radius: 12px;
  --tap:    56px;
  --lift:   0 22px 48px -30px rgba(26, 26, 26, .38);

  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.8-4.9 4.6 1.3 6.7L12 17.5l-5.9 3.3 1.3-6.7-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M1 12C60 3 190 1 299 5c-2 2-3 4-3 6C190 7 70 9 3 15z' fill='%23D95E00'/%3E%3C/svg%3E");

  /* Names the interior pages' inline styles already use. --orange is used there
     as a text color, so it maps to the readable orange, not the fill. */
  --orange:    var(--accent-text);
  --orange-dk: var(--accent-text);
  --orange-md: #EBC3A0;
  --orange-lt: var(--tint);
  --black:     var(--ink);
  --gray:      var(--muted);
  --border:    var(--line);
  --serif:     var(--display);
  --sans:      var(--body);
}

/* --- 2. Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;          /* 19px: sized for readers over sixty */
  line-height: 1.65;
  font-weight: 400;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--display); font-weight: 700;
  line-height: 1.12; letter-spacing: -.01em; color: var(--ink); text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
strong, b { font-weight: 700; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
:is(.foot, .util, .bookbar) :where(a, button):focus-visible { outline-color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- 3. Layout primitives ------------------------------------------------ */

.shell, .container, .page-hero-inner {
  width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad);
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 1rem 1.5rem; font-weight: 700;
}
.skip:focus { left: 0; color: #fff; }
.center { text-align: center; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--white { background: var(--white); }
.section--tint, .section--alt, .section-alt { background: var(--tint); }
.section--alt + .section--alt, .section-alt + .section-alt { padding-top: 0; }
.section + .section:not([class*="--"]):not(.section-alt) { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

h2.hd, .section h2, .h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3.hd, .section h3, .h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.lede, .lead { font-size: clamp(1.2rem, 1.9vw, 1.4rem); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.hd + .lede { margin-top: 1rem; }

/* Legacy pages carry a small label above most headings. The headings read
   fine without it, so it is not shown. */
.ey, .stencil { display: none; }

/* --- 4. Buttons ---------------------------------------------------------- */

.btn, .btn-cta, .btn-white, .btn-ghost, .btn-submit, .btn-orange, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--tap); padding: .8rem 1.7rem;
  font-family: var(--body); font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 8px;
  background: var(--accent); color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover, .btn-cta:hover, .btn-white:hover, .btn-submit:hover, .btn-orange:hover, .wp-block-button__link:hover {
  background: var(--ink); color: #fff;
}
.btn:active, .btn-cta:active, .btn-white:active, .btn-ghost:active, .btn-submit:active, .btn-orange:active, .tel:active { transform: translateY(2px); }
.btn--ghost, .btn-ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover, .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn--lg { font-size: 1.3rem; padding: 1rem 2rem; min-height: 64px; }
.btn--block, .btn-submit { width: 100%; }
.btn-submit:disabled { opacity: .6; cursor: progress; }
button svg:not([width]), a svg:not([width]) { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* --- 5. Utility bar + header --------------------------------------------- */

.util { background: var(--ink); color: #F3ECE4; font-size: 1rem; line-height: 1.4; }
.util .shell { display: flex; flex-wrap: wrap; gap: .15rem 2rem; padding-block: .55rem; align-items: center; }
.util a { color: inherit; }
.util .sep { display: none; }
.badge { font-weight: 600; }
.badge.open { color: #9BE0A4; }
.badge.closed { color: #F3ECE4; }

.masthead {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.masthead .shell { display: flex; align-items: center; gap: 1.25rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 62px; width: auto; }
.brand > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: .7rem .8rem; border-radius: 6px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 5px;
  background: var(--swoosh) center / 100% 100% no-repeat;
  opacity: 0; transition: opacity .15s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { opacity: 1; }

.tel {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: var(--tap); padding: .6rem 1.2rem;
  font-size: 1.25rem; font-weight: 700; text-decoration: none;
  color: var(--ink); background: var(--accent); border: 2px solid var(--ink); border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.tel:hover { background: var(--ink); color: #fff; }
.tel--xl { font-family: var(--display); font-size: clamp(1.7rem, 4.4vw, 2.5rem); padding: .7rem 1.5rem; min-height: 72px; }
.burger { display: none; }

/* --- 6. Home hero -------------------------------------------------------- */
/* Words on cream to the left, the fleet as it stands in Dover today to the
   right, cut on the same slant as the script on the trucks. Text never sits
   on the photograph. */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: stretch; background: var(--cream); overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__copy {
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5.5rem)
           max(var(--pad), calc((100vw - var(--shell)) / 2 + var(--pad)));
  display: flex; flex-direction: column; justify-content: center;
}
.hero__motto {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--accent-text); margin: 1rem 0 0;
}
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); line-height: 1.02; letter-spacing: -.02em; }
.hero h1::after, .page-hero h1::after {
  content: ""; display: block; height: .22em; min-height: 10px;
  width: min(9.5em, 78%); margin-top: .28em;
  background: var(--swoosh) left center / 100% 100% no-repeat;
}
.hero__sub { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 36ch; margin: 1rem 0 0; }
.hero__sub b { color: var(--ink); }
.hero-actions { margin: 2rem 0 0; display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__photo { position: relative; min-height: clamp(380px, 68vh, 720px); clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 62%; }

@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: settle 1.4s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* Four plain facts under the hero */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts li { margin: 0; padding: 1.5rem 1.5rem 1.5rem 0; }
.facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 1.3rem; line-height: 1.25; }
.facts span { color: var(--muted); font-size: 1.05rem; line-height: 1.4; display: block; margin-top: .25rem; }

/* --- 7. Then and now ----------------------------------------------------- */
/* The same phone number on the 1972 truck, the 1973 truck and today's fleet. */

.years {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr 1fr;
}
.years figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--lift); }
.years figure:nth-child(3) { grid-column: 1 / -1; }
.years img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.years figure:nth-child(3) img { aspect-ratio: 21 / 9; object-position: 50% 68%; }
.years figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--cream); color: var(--ink); padding: .55rem 1.2rem .5rem 1rem;
  border-top-right-radius: var(--radius);
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .years img { animation: develop linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  }
}
@keyframes develop { from { transform: scale(1.1); filter: sepia(.75) contrast(.88) blur(2px); } to { transform: none; filter: none; } }

/* --- 8. Services --------------------------------------------------------- */
/* Rows, not boxes: nine links read as a list of what the crews do. */

.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 2px solid var(--ink); }
.slip { display: block; text-decoration: none; color: inherit; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
a.slip:hover { color: inherit; }
.slip h3 { display: inline-block; padding-bottom: .3rem; background: var(--swoosh) left bottom / 0 7px no-repeat; transition: background-size .25s cubic-bezier(.2, .7, .2, 1); }
a.slip:hover h3, a.slip:focus-visible h3 { background-size: 100% 7px; }
.slip h3, .slip h2 { font-size: clamp(1.4rem, 2.2vw, 1.65rem); margin-bottom: .15rem; }
.slip p { display: block; }
.slip h2 a { color: var(--ink); text-decoration: none; }
.slip p { color: var(--muted); margin: 0; max-width: 52ch; }
.slip__no, .slip .more { display: none; }

/* --- 9. Story + reasons -------------------------------------------------- */

.story-grid, .quote-grid { gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story-grid p { max-width: 60ch; }

.ledger {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
.ledger li { margin: 0; padding: 1.2rem 0; border-top: 1px solid var(--line); display: block; }
.ledger .mk { display: none; }
.ledger b { font-family: var(--display); font-size: 1.3rem; line-height: 1.25; display: block; margin-bottom: .25rem; }
.ledger span span { color: var(--muted); display: block; }

/* --- 10. Reviews --------------------------------------------------------- */

.rev, .rev-grid > * {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column;
}
.rev-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important; }
.stars {
  font-size: 0; line-height: 0; margin: 0; width: 7.5rem; height: 1.5rem; background: var(--accent);
  -webkit-mask: var(--star) left center / 1.5rem 1.5rem repeat-x; mask: var(--star) left center / 1.5rem 1.5rem repeat-x;
}
.rev blockquote, .rev-text { margin: .9rem 0 1.2rem; font-size: 1.15rem; line-height: 1.6; }
.rev .who, .reviewer {
  margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 1.05rem; display: flex; gap: .2rem .6rem; flex-wrap: wrap; align-items: baseline;
}
.rev .who b, .rev-name { color: var(--ink); font-weight: 700; }
.rev-av { display: none; }

/* --- 11. Towns ----------------------------------------------------------- */

.run-list { list-style: none; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; columns: 4 190px; column-gap: clamp(1.5rem, 4vw, 3rem); }
.run-list li { margin: 0; break-inside: avoid; border-bottom: 1px solid rgba(26, 26, 26, .16); }
.run-list a {
  display: flex; align-items: center; min-height: 52px; padding: .45rem 0;
  font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.run-list a:hover { color: var(--accent-text); text-decoration: underline; }
.run-list small { font-size: 1rem; font-weight: 400; color: var(--muted); margin-left: .6rem; }

.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; }

/* --- 12. Forms ----------------------------------------------------------- */

.form, .form-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--lift); padding: clamp(1.4rem, 3vw, 2.25rem);
}
.form__hd { margin-bottom: 1.4rem; }
.form__hd h3 { font-size: 1.8rem; }
.form__hd p { color: var(--muted); margin: .3rem 0 0; }
.field { margin-bottom: 1.1rem; }
.field--half, .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--half > span { display: block; }
.field label, .form-card label { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea,
.form-card input, .form-card select, .form-card textarea {
  width: 100%; min-height: var(--tap); padding: .75rem .9rem;
  font-family: var(--body); font-size: 1.125rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: 8px;
}
.field textarea, .form-card textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
:is(.field, .form-card) :is(input, select, textarea)::placeholder { color: #6F6860; opacity: 1; }
:is(.field, .form-card) :is(input, select, textarea):focus { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; }
.form__note, .qform > p:not(.form-status) { color: var(--muted); font-size: 1rem; margin: .9rem 0 0; }
.form-status:empty { display: none; }
.form-status {
  margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 8px; font-weight: 600;
  background: var(--tint); border: 1.5px solid var(--orange-md); color: var(--ink);
}
.form-status.is-error { background: #FDECEA; border-color: #B3261E; color: #7A1712; }
.form-card[style*="sticky"] { top: 108px !important; }

/* --- 13. FAQ ------------------------------------------------------------- */

.faq, .faq-list { border-top: 2px solid var(--ink); max-width: 900px; }
.faq details, .faq-item { border-bottom: 1px solid var(--line); }
.faq summary, .faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; list-style: none;
  padding: 1.15rem 0; min-height: 64px; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.3;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 16px no-repeat,
    var(--tint);
}
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat, var(--accent); }
.faq .ans, .faq-ans-inner { padding: 0 0 1.4rem; color: var(--muted); max-width: 68ch; }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-chev { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent-text); transition: transform .2s ease; }
.faq-item.open .faq-chev { transform: rotate(180deg); }

/* --- 14. Footer ---------------------------------------------------------- */

.foot { background: var(--ink); color: #EDE5DC; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 1.1rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot h4 { font-family: var(--display); font-size: 1.3rem; color: #fff; margin-bottom: .9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .2rem; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__bar a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .tagline { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin: 0; }
.foot .tagline::after { content: ""; display: block; width: min(11rem, 60%); height: 12px; margin-top: .5rem; background: var(--swoosh) left / 100% 100% no-repeat; }
.foot .fine { font-size: 1.02rem; color: #D8CFC5; }
.foot .btn--ghost { color: #fff; border-color: #fff; }
.foot .btn--ghost:hover { background: #fff; color: var(--ink); text-decoration: none; }
.foot__bar { border-top: 1px solid #3A3531; margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.foot__bar a { text-decoration: underline; }

/* --- 15. Interior page hero ---------------------------------------------- */

.page-hero { background: var(--tint); position: relative; overflow: hidden; padding-block: clamp(2.25rem, 5vw, 4.25rem); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.02em; max-width: 18ch; }
.page-hero h1 em { font-style: normal; }
.page-hero p { color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; max-width: 56ch; margin: 1.25rem 0 0; }
.page-hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.75rem; }
.breadcrumb { font-size: 1rem; color: var(--muted); margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--ink); }

@media (min-width: 1040px) {
  .page-hero::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36%;
    background: url("/assets/img/fleet-today-960.webp") 40% 62% / cover no-repeat;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page-hero h1, .page-hero p, .page-hero-cta, .page-hero .breadcrumb, .page-hero .stat-row { max-width: min(60%, 44rem); }
}

/* --- 16. Interior components --------------------------------------------- */

.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-block: 0 clamp(2rem, 4vw, 3rem); overflow: hidden;
}
.stat-box { padding: 1.35rem 1.4rem; border-left: 1px solid var(--line); margin-left: -1px; }
.stat-box-n { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.stat-box-l { color: var(--muted); font-size: 1.05rem; line-height: 1.35; margin-top: .2rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); }
.costrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1rem; margin-block: 1.25rem; }
.service-features, .check-list { margin-block: 1.25rem 2rem; border-top: 2px solid var(--ink); }
.sf-item, .check-item { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }

.card, .town-card, .svc, .area-card, .costcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.card-icon, .sf-icon, .check-mark, .cl-box { display: none; }
.card h3, .costcard h4, .town-name, .sf-title {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.25; display: block; margin-bottom: .35rem;
}
.town-sub, .sf-desc, .card p, .costcard p, .check-item p { color: var(--muted); margin: 0; display: block; }
a.card, a.town-card, a.svc, a.area-card { text-decoration: none; color: inherit; display: block; transition: border-color .15s ease, transform .15s ease; }
a.card:hover, a.town-card:hover, a.svc:hover, a.area-card:hover { border-color: var(--ink); transform: translateY(-2px); color: inherit; }

/* Checklist rows: a drawn box the reader can tick with a pen once printed. */
.checklist-section { margin-bottom: 2.5rem; }
.checklist-section h3 { margin-bottom: .75rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.cl-item { position: relative; padding: .85rem 0 .85rem 2.6rem; border-bottom: 1px solid var(--line); }
.cl-item::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.35rem; height: 1.35rem; border: 2px solid var(--ink); border-radius: 4px; background: var(--white); }

/* Call-to-action band: the one place the orange runs edge to edge. */
.cta-banner {
  background: var(--accent); color: var(--ink); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
}
.cta-banner h2, .cta-banner h3 { color: var(--ink); }
.cta-banner p { color: var(--ink); font-weight: 600; font-size: 1.25rem; opacity: 1 !important; max-width: 52ch; margin-inline: auto; }
.cta-banner .ey { color: var(--ink); }
.cta-banner a { color: var(--ink); }
.cta-banner .btn-white, .cta-banner .btn-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-banner .btn-white:hover, .cta-banner .btn-cta:hover { background: var(--white); color: var(--ink); }
.cta-banner a[style] {
  background: transparent !important; color: var(--ink) !important; border: 2px solid var(--ink) !important;
  border-radius: 8px; min-height: var(--tap); padding: .8rem 1.7rem !important; text-decoration: none; font-size: 1.1875rem;
}
.cta-banner a[style]:hover { background: var(--ink) !important; color: #fff !important; }

.inline-cta {
  background: var(--tint); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between;
}
.inline-cta p { margin: .4rem 0 0; }
.tipbox, .callout {
  background: var(--tint); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin-block: 1.75rem;
}
.tipbox p:last-child, .callout p:last-child { margin-bottom: 0; }
.section--tint .tipbox, .section-alt .tipbox, .section-alt .callout, .section-alt .inline-cta { background: var(--white); }

/* Long-form copy */
.town-body, .prose, .rich, .guide-more { max-width: 70ch; }
:is(.town-body, .prose, .rich, .guide-more) h2 { margin: 2.25rem 0 .75rem; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
:is(.town-body, .prose, .rich, .guide-more) h3 { margin: 1.75rem 0 .5rem; }
:is(.town-body, .prose, .rich, .guide-more) > :first-child { margin-top: 0; }
:is(.town-body, .prose, .rich, .guide-more) li { margin-bottom: .6em; }
.town-body section, main > section > section { padding: 0; }
.wp-block-buttons { margin-block: 1.5rem; }

/* About page timeline: a real sequence, so it gets a spine. */
.timeline { margin-top: 1.75rem; border-left: 2px solid var(--ink); padding-left: 1.75rem; max-width: 68ch; }
.tl-item { position: relative; padding-bottom: 1.75rem; }
.tl-dot { position: absolute; left: calc(-1.75rem - 9.5px); top: .55rem; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); border: 3px solid var(--cream); font-size: 0; }
.tl-year { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.9rem; line-height: 1.1; }
.tl-text { color: var(--muted); margin-top: .25rem; }

/* Strip inherited Elementor wrappers that leaked into /resources/ */
.elementor, .elementor-container, .elementor-widget-wrap, .elementor-element {
  display: block; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; width: auto;
}

/* Thank-you and 404: no masthead, one centered message. */
body > .logo { display: flex; justify-content: center; padding: clamp(2rem, 6vw, 4rem) var(--pad) 0; }
body > .logo img { height: 96px; width: auto; }
body > .check { display: none; }
body > h1 { text-align: center; font-size: clamp(2.2rem, 6vw, 3.6rem); padding: 1.5rem var(--pad) 0; }
body > h1 em { font-style: italic; color: var(--accent-text); }
body > p { text-align: center; max-width: 46ch; margin: 1rem auto 0; padding-inline: var(--pad); font-size: 1.25rem; }
body > p.detail { color: var(--muted); font-size: 1.1rem; }
body > .btns, body > .links { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; padding: 2rem var(--pad) 0; }
body > .links { gap: .25rem 1.5rem; padding-bottom: 4rem; }
body > .links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
a[href*="maps.google"], a[href*="google.com/maps"] { display: inline-flex !important; align-items: center; min-height: 44px; }

/* --- 17. Mobile call bar ------------------------------------------------- */

.bookbar, .float-call { display: none; }

/* --- 18. Responsive ------------------------------------------------------ */

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: var(--tap); height: var(--tap); color: var(--ink);
    border: 2px solid var(--ink); border-radius: 8px; cursor: pointer; font-size: 0;
    background: linear-gradient(var(--ink), var(--ink)) center 17px / 24px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 24px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center 34px / 24px 3px no-repeat, var(--white);
  }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; inset: 100% 0 auto; background: var(--white);
    border-bottom: 2px solid var(--ink); padding: .5rem var(--pad) 1.25rem;
    box-shadow: 0 24px 40px -24px rgba(26, 26, 26, .4);
  }
  .nav.is-open a { padding: 1rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; min-height: var(--tap); display: flex; align-items: center; font-size: 1.25rem; }
  .nav.is-open a::after { display: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; clip-path: none; }
  .hero__copy { padding: 2rem var(--pad) 2.75rem; }
  .hero__sub { max-width: 46ch; }
  .two-col { grid-template-columns: 1fr; }
  .form-card[style*="sticky"] { position: static !important; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 1.1rem 1rem 1.1rem 0; }
  .facts li + li { padding-left: 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { font-size: 1.125rem; padding-bottom: 84px; }
  .masthead .shell { gap: .6rem; padding-block: .45rem; }
  .brand img { height: 50px; }
  .tel { font-size: 1.05rem; padding: .5rem .7rem; }
  .util .shell > span:not(.badge):not(:first-child) { display: none; }
  .util .shell { justify-content: space-between; }
  .field--half, .frow { grid-template-columns: 1fr; gap: 0; }
  .frow .fg:last-child { margin-bottom: 1rem; }
  .years { grid-template-columns: 1fr; }
  .years figure:nth-child(3) img { aspect-ratio: 3 / 2; }
  [style*="repeat(4,1fr)"], [style*="repeat(3,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  [style*="repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
  .run-list { columns: 2 140px; }
  .hero-actions .btn, .page-hero-cta > a { flex: 1 1 100%; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-box { border-top: 1px solid var(--line); margin-top: -1px; }
  .foot__bar { flex-direction: column; }

  .bookbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--white); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
    border-top: 2px solid var(--ink);
  }
  .bookbar a {
    min-height: var(--tap); display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; font-weight: 700; text-decoration: none; border-radius: 8px; border: 2px solid var(--ink);
  }
  .bookbar .call { background: var(--accent); color: var(--ink); }
  .bookbar .quote { background: var(--white); color: var(--ink); }
}

@media (max-width: 400px) {
  .masthead .tel { display: none; }   /* the call bar at the bottom already carries the number */
}

@media print {
  .util, .masthead, .bookbar, .float-call, .form, .form-card, .cta-banner, .foot, .page-hero::after { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; font-size: 12pt; }
}
