/* Layout concept: Ontario highway guide-sign panels (green, white border, route-shield numerals, exit tab) on a cool concrete ground, with one signal-yellow call button. */
:root {
  --paper: #eceee9;
  --card: #f7f8f5;
  --field: #ffffff;
  --ink: #142019;
  --muted: #53625a;
  --line: #c8cfc7;
  --sign: #0d5a3a;
  --sign-ink: #f5f8f4;
  --signal: #f4c20d;
  --signal-ink: #1a1500;
  --accent-text: #0d5a3a;
  --focus: #0d5a3a;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-tag: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1511;
    --card: #151e19;
    --field: #0e1511;
    --ink: #e8eee9;
    --muted: #9db0a4;
    --line: #27372d;
    --sign: #14724b;
    --accent-text: #4cc08d;
    --focus: #f4c20d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1511;
  --card: #151e19;
  --field: #0e1511;
  --ink: #e8eee9;
  --muted: #9db0a4;
  --line: #27372d;
  --sign: #14724b;
  --accent-text: #4cc08d;
  --focus: #f4c20d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 76px;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.tag {
  font-family: var(--f-tag);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 { font-family: var(--f-display); text-transform: uppercase; line-height: 0.98; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: 0.01em; }
h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.01em; }
p { margin: 0; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; flex-wrap: wrap; }
.brand { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.brand span { color: var(--accent-text); }
.topnav { display: none; gap: 22px; font-weight: 600; font-size: 0.95rem; }
.topnav a { text-decoration: none; color: var(--muted); }
.topnav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 900px) { .topnav { display: flex; } }
.topnum { display: flex; align-items: center; gap: 12px; }
.open-pill { font-family: var(--f-tag); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.open-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2fb26f; box-shadow: 0 0 0 3px color-mix(in srgb, #2fb26f 30%, transparent); }
.topnum a.num { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; text-decoration: none; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 5.4rem); font-weight: 900; letter-spacing: 0.005em; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lede { margin-top: 20px; max-width: 54ch; font-size: 1.1rem; color: var(--muted); }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.text-link { font-weight: 600; text-underline-offset: 5px; }

/* Guide sign */
.sign {
  position: relative;
  background: var(--sign);
  color: var(--sign-ink);
  border-radius: 18px;
  padding: 40px 28px 28px;
}
.sign::before { content: ""; position: absolute; inset: 8px; border: 2px solid var(--sign-ink); border-radius: 12px; pointer-events: none; opacity: 0.9; }
.sign > * { position: relative; }
.exit-tab {
  position: absolute; top: -16px; left: 32px; z-index: 2;
  background: var(--signal); color: var(--signal-ink);
  font-family: var(--f-tag); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 6px;
}
.sign .kicker { font-family: var(--f-tag); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.sign .bignum { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.9rem, 9vw, 4.6rem); line-height: 1; letter-spacing: 0.02em; margin: 10px 0 4px; text-decoration: none; overflow-wrap: anywhere; }
.sign .sub { font-size: 0.95rem; opacity: 0.92; }
.btn-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 22px; padding: 14px 24px;
  background: var(--signal); color: var(--signal-ink);
  font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform 0.12s ease;
}
.btn-call:hover { transform: translateY(-2px); }
.btn-call:focus-visible { outline-color: var(--sign-ink); }

/* Ribbon */
.ribbon { background: var(--sign); color: var(--sign-ink); }
.ribbon .wrap { padding-block: 14px; display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.15rem; }
.ribbon span { white-space: nowrap; }

/* Sections */
section { padding-block: clamp(44px, 6vw, 84px); }
.sec-head { display: grid; gap: 10px; margin-bottom: 32px; }
.band { border-top: 1px solid var(--line); }

/* Services = the phone menu */
.menu-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.shield {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--signal); color: var(--signal-ink);
  border: 3px solid var(--signal-ink);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1;
}
:root[data-theme="dark"] .shield { border-color: var(--paper); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shield { border-color: var(--paper); } }
.menu-card p { color: var(--muted); }

/* Quote helper */
.quote-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.quote-grid > * { min-width: 0; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.form-grid { display: grid; gap: 14px 16px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-family: var(--f-tag); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .out textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px;
}
.field input:focus-visible, .field select:focus-visible, .out textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.out { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; }
.out textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.out-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-copy {
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 10px; padding: 12px 20px;
}
.btn-copy:hover { opacity: 0.88; }
.out .btn-call { margin-top: 0; padding: 10px 20px; font-size: 1.3rem; }
.out .note { color: var(--muted); font-size: 0.92rem; }

/* How it works */
.steps { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px 24px 26px 0; display: grid; gap: 8px; align-content: start; min-width: 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .step { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 24px; } .step:first-child { padding-left: 0; } .step:last-child { border-right: 0; } }
.step p { color: var(--muted); max-width: 40ch; }

/* Price factors */
.price-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.price-grid > * { min-width: 0; }
@media (min-width: 880px) { .price-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.factors { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.factors div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
@media (min-width: 560px) { .factors div { grid-template-columns: 200px 1fr; gap: 20px; } }
.factors dt { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.factors dd { margin: 0; color: var(--muted); }

/* Service area */
.area-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.area-grid > * { min-width: 0; }
@media (min-width: 880px) { .area-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; list-style: none; margin: 0; padding: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: uppercase; letter-spacing: 0.03em; }
.towns li { display: flex; align-items: center; gap: 10px; }
.towns li::before { content: "\2192"; font-family: var(--f-body); font-weight: 700; color: var(--signal); }
.towns li:first-child { color: var(--signal); }
.sign.area { padding: 32px 28px; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-tag); font-size: 1.4rem; color: var(--accent-text); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* Yard gallery */
#yard[hidden] { display: none; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
@media (min-width: 880px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--field); display: block; }

/* Visit */
.visit-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .visit-grid { grid-template-columns: repeat(3, 1fr); } }
.visit-cell { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.visit-cell .val { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.visit-cell a.val { text-decoration: none; }
.visit-cell .note { color: var(--muted); font-size: 0.95rem; }
.link-arrow { font-weight: 600; text-underline-offset: 4px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 28px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }

/* Sticky call bar (phones) */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--sign);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--sign-ink);
}
.callbar .t { font-family: var(--f-tag); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; }
.callbar .btn-call { margin-top: 0; padding: 10px 18px; font-size: 1.25rem; white-space: nowrap; }
@media (min-width: 880px) { .callbar { display: none; } body { padding-bottom: 0; } }

@media (max-width: 560px) {
  .open-pill { display: none; }
  .towns { grid-template-columns: 1fr; }
  .ribbon .wrap { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-call { transition: none; }
}


/* License-plate logo (call panel) */
.plate-logo { position: relative; background: linear-gradient(#fafaf5, #e7e8e0); border-radius: 24px; box-shadow: 0 0 0 5px #b9bdb4, 0 18px 30px rgba(20,32,25,0.28); padding: 38px 34px 28px; text-align: center; display: grid; justify-items: center; min-width: 0; color: #0d5a3a; }
.plate-logo::before { content: ""; position: absolute; inset: 11px; border: 6px solid #0d5a3a; border-radius: 14px; pointer-events: none; }
.plate-logo > * { position: relative; }
.plate-logo .bolt { position: absolute; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #9fa49b; }
.plate-logo .bolt.l { left: 30px; } .plate-logo .bolt.r { right: 30px; }
.pl-top { font-family: var(--f-tag); font-weight: 600; font-size: clamp(10px, 2.3vw, 15px); letter-spacing: .28em; text-transform: uppercase; margin-top: 4px; }
.pl-name { font-family: var(--f-display); font-weight: 900; font-size: clamp(3.2rem, 11.5vw, 6.2rem); max-width: 100%; line-height: .95; letter-spacing: .04em; text-shadow: 2px 2px 0 #fff; }
.pl-sub { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 4.2vw, 2.2rem); line-height: 1; letter-spacing: .12em; white-space: nowrap; color: #142019; }
.pl-call { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; background: #f4c20d; color: #1a1500; text-decoration: none; border-radius: 8px; padding: 10px 20px; max-width: 100%; transition: transform .12s ease; }
.pl-call:hover { transform: translateY(-2px); }
.pl-call:focus-visible { outline-color: #0d5a3a; }
.pl-open { font-family: var(--f-tag); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.pl-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.6rem, 5.2vw, 2.3rem); letter-spacing: .04em; line-height: 1; white-space: nowrap; }

/* Map */
.map-wrap { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.map-wrap iframe { display: block; width: 100%; height: 320px; }
@media (min-width: 880px) { .map-wrap iframe { height: 380px; } }

/* Multi-page additions */
.towns a { text-decoration: none; color: inherit; }
.towns a:hover { text-decoration: underline; text-underline-offset: 5px; }
.crumbs { font-family: var(--f-tag); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }
.page-hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
.prose { max-width: 66ch; display: grid; gap: 16px; color: var(--muted); font-size: 1.05rem; }
.prose strong { color: var(--ink); }
.prose h2 { color: var(--ink); margin-top: 8px; }
.two-col { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.two-col > * { min-width: 0; }
@media (min-width: 880px) { .two-col { grid-template-columns: 1.2fr 0.8fr; gap: 56px; } }
.link-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .link-grid { grid-template-columns: repeat(3, 1fr); } }
a.menu-card { text-decoration: none; color: inherit; transition: transform .12s ease, border-color .12s ease; }
a.menu-card:hover { transform: translateY(-2px); border-color: var(--ink); }
a.menu-card h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--signal); }
.more { font-family: var(--f-tag); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
footer .wrap { align-items: flex-start; }
.foot-col { display: grid; gap: 8px; }
.foot-col .tag { margin-bottom: 2px; }
