/* themonkeytech.com
   Flat colours with one accent (mint in dark mode, green in light), IBM Plex Sans with IBM Plex Mono for
   labels and facts, rounded panels a shade lighter than the page, short literal copy.
   Dark: matte charcoal. Light (follows the visitor's setting): paper and ink.
   After any change here run:  sh www/version-css.sh   (stamps site.css?v=... on every page) */

/* ---- tokens and base ---------------------------------------------------------------------------- */
:root {
  --bg:#111111; --panel:#1B1B1B; --rule:#2A2A2A; --rule-strong:#3A3A3A;
  --ink:#D6D6D2; --sub:#9A9A9A; --accent:#6CD9A8; --on-accent:#111111;
  --warn:#E3B55B; --bad:#E86A6A; --bad-text:#E86A6A;
  --sans:"IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:"IBM Plex Mono", Consolas, monospace;
}
@media (prefers-color-scheme: light) {
  :root { --bg:#F1EFEA; --panel:#FBFAF7; --rule:#D6D3CB; --rule-strong:#B9B5AC; --ink:#141414; --sub:#5C5A55;
          --accent:#0A7A55; --on-accent:#F7F6F3; --bad-text:#B42318; }
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
html:has(dialog[open]) { overflow:hidden; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.6 var(--sans); }
a { color:inherit; }
hr { display:none; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.mono { font-family:var(--mono); }
.wrap { max-width:1040px; margin:0 auto; padding-left:24px; padding-right:24px; }
.word b { color:var(--accent); font-weight:inherit; }
.m-only { display:none !important; }                       /* phone-only pieces (see the phone section) */

/* ---- header ------------------------------------------------------------------------------------ */
header .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:600; font-size:18px; text-decoration:none; }
nav ul { display:flex; gap:20px; list-style:none; margin:0; padding:0; font-size:14px; }
nav a { color:var(--sub); text-decoration:none; }
nav a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
nav a[aria-current="page"] { color:var(--ink); text-decoration:underline; text-decoration-color:var(--accent);
  text-underline-offset:6px; text-decoration-thickness:2px; }
nav .nav-soon { font-size:9.5px; padding:0 4px; margin-left:4px; vertical-align:2px; text-decoration:none; display:inline-block; }
.menu-btn { display:none; }

/* the header logo; on the first page of a visit (html.intro, set in <head>) it draws itself in mint,
   then settles in the text colour */
.logo-svg { width:32px; height:32px; display:block; flex:none; }
.logo-svg .lf { fill:var(--ink); }
.logo-svg .ls { fill:none; stroke:none; }
.intro .logo-svg { overflow:visible; }
.intro .logo-svg .lf { opacity:0; animation:logofill .4s ease 1s forwards; }
.intro .logo-svg .ls { stroke:var(--accent); stroke-width:12; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1;
  animation:draw 1.05s cubic-bezier(.55,0,.25,1) .05s forwards, strokeout .4s ease 1.05s forwards; }
.intro .brand .word { opacity:0; animation:wordin .5s ease .55s forwards; }

/* ---- top of each page -------------------------------------------------------------------------- */
.top { display:grid; grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); gap:64px; padding-top:40px; padding-bottom:28px; }
.top > table { align-self:start; }
.top > :only-child { grid-column:1 / -1; }                 /* no side table: the intro uses the full width */
.label { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--sub); margin:0 0 14px; }
h1 { font-size:44px; line-height:1.08; font-weight:600; letter-spacing:-0.02em; margin:0 0 16px; }
.lead { margin:0 0 28px; max-width:34em; color:#B5B5B0; }   /* opening sentence bold in mint, the rest quieter */
.lead strong { color:var(--accent); font-weight:600; }
@media (prefers-color-scheme: light) { .lead { color:var(--sub); } .lead strong { color:var(--ink); } }
.actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.actions + .quote { margin-top:22px; }
.quote { margin:0; color:var(--sub); font-size:14px; }
.btn { display:inline-block; background:var(--accent); color:var(--on-accent); text-decoration:none; font-weight:600;
  font-size:15px; padding:11px 20px; border-radius:8px; }
.btn:hover { text-decoration:underline; text-underline-offset:3px; }
.btn-2 { display:inline-block; border:1px solid var(--rule-strong); color:var(--ink); text-decoration:none; font-weight:500;
  font-size:15px; padding:10px 18px; border-radius:8px; }
.btn-2:hover { border-color:var(--ink); }
.tag { font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase;
  border:1px solid var(--accent); color:var(--accent); padding:1px 6px; }
h2 .tag { margin-left:6px; vertical-align:2px; }
.build-tag { color:var(--accent); }
.pulse { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--accent); animation:pulse 1.6s ease-in-out infinite; }
.news .tag { margin-right:10px; vertical-align:1px; }
.news a { color:var(--ink); text-underline-offset:3px; white-space:nowrap; }

/* ---- sections: heading on the left, content on a panel on the right ------------------------------ */
section { display:grid; grid-template-columns:minmax(0, 3fr) minmax(0, 9fr); gap:32px; padding-top:20px; padding-bottom:20px; }
h2 { font-size:15px; font-weight:600; margin:0; }

table { width:100%; border-collapse:collapse; font-size:14px; }
.top > table, section > table { border-collapse:separate; border-spacing:0; }
th, td { text-align:left; vertical-align:top; padding:9px 0; border:0; }
th { font-weight:400; color:var(--sub); width:34%; }
.spec th { font-family:var(--mono); font-size:12.5px; }
.spec a { text-decoration:none; }
.spec a:hover { text-decoration:underline; text-underline-offset:3px; }
.services th { color:var(--ink); font-weight:500; font-family:var(--mono); font-size:13.5px; width:20%; text-transform:lowercase; }
.services.svc2 th { font-family:var(--sans); font-size:14.5px; font-weight:600; text-transform:none; width:36%; }
.services td { color:var(--sub); }
.tools-list th { color:var(--ink); font-weight:600; width:24%; }
.tools-list td { color:var(--sub); }
.tools-list + .actions { margin-top:20px; }

ol.steps { list-style:none; margin:0; padding:0; counter-reset:n; }
ol.steps li { counter-increment:n; display:grid; grid-template-columns:48px minmax(0, 1fr); padding:10px 0; }
ol.steps li::before { content:counter(n, decimal-leading-zero); font-family:var(--mono); font-size:13px; color:var(--accent); padding-top:2px; }
ol.steps p { margin:0; }
ol.steps .sub { color:var(--sub); font-size:14px; margin-top:2px; }
/* every section's content (and the top facts table) sits on a rounded panel; after the list and table
   rules on purpose, so its padding wins over theirs */
section > :last-child, .top > table { background:var(--panel); border-radius:12px; padding:20px 24px; }

/* ---- footer: one line ---------------------------------------------------------------------------- */
footer .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; padding-top:28px; padding-bottom:32px;
  font-size:12px; color:var(--sub); }
footer a { text-decoration:none; }
footer a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.f-row { margin:0; display:flex; flex-wrap:wrap; align-items:baseline; row-gap:4px; }
.f-row > * { white-space:nowrap; }
.f-row > * + *::before { content:"\00B7"; margin:0 10px; color:var(--sub); }

/* ---- Home on phones: the launch screen ------------------------------------------------------------
   a large logo that draws itself, then the site links and the live status. The full show plays on the
   first page of a visit (html.intro); otherwise it shows finished. */
.m-launch { display:none; }

/* ---- shop ---------------------------------------------------------------------------------------- */
.products { list-style:none; margin:0; padding:20px 24px; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; }
.products li { margin:0; }
.mock { aspect-ratio:1; border-radius:10px; background:#F4F2EE; border:1px solid #2A2A2A; overflow:hidden; transition:transform .25s ease; }
.products li:hover .mock { transform:translateY(-4px); }
.mock svg { display:block; width:100%; height:100%; }
.mock .cloth { fill:#1C1C1C; }
.mock .cloth-2 { fill:#2B2B2B; }
.mock .seam { fill:none; stroke:#333; stroke-width:2; }
.mock .shadow { fill:#D8D4CB; }
@media (prefers-color-scheme: light) { .mock { border-color:#CFCBC2; } }
.p-name { margin:12px 0 0; font-weight:600; }
.p-sub { margin:2px 0 0; color:var(--sub); font-size:12.5px; }

/* ---- pop-outs over a blurred page: shop sign-up, request form, What to expect -------------------- */
.signup { width:min(440px, calc(100% - 32px)); border:0; border-radius:16px; padding:0; background:var(--panel); color:var(--ink);
  box-shadow:0 24px 60px rgba(0,0,0,.45); }
.signup::backdrop { background:rgba(10,10,10,.45); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.signup[open] { animation:popin .22s ease; }
.signup[open]::backdrop { animation:fadein .22s ease; }
.signup-form, .signup-done { position:relative; padding:30px 28px 26px; }
.signup h2 { font-size:24px; line-height:1.2; margin:0 0 6px; padding:0; text-align:left; }
.signup .label { margin-bottom:10px; }
.signup-sub { margin:0 0 20px; color:var(--sub); font-size:14.5px; }
.signup-field { display:grid; gap:6px; margin-bottom:14px; font-size:12px; color:var(--sub); text-transform:uppercase; letter-spacing:.06em; }
.signup-field input { font:inherit; font-family:var(--sans); font-size:16px; text-transform:none; letter-spacing:0;
  color:var(--ink); background:var(--bg); border:1px solid var(--rule); border-radius:8px; padding:12px 14px; width:100%; }
.signup-field input:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:transparent; }
.signup .btn { width:100%; border:0; cursor:pointer; font:inherit; font-weight:600; font-size:16px; padding:13px; }
.signup .btn:disabled { opacity:.6; cursor:default; }
.signup-msg { margin:10px 0 0; min-height:1.2em; font-size:13.5px; color:#E86A6A; }
.signup-x { position:absolute; top:12px; right:14px; width:34px; height:34px; border:0; border-radius:8px; background:none;
  color:var(--sub); font-size:24px; line-height:1; cursor:pointer; }
.signup-x:hover { color:var(--ink); background:var(--bg); }
.signup-done { text-align:center; padding-top:36px; }
.signup-done h2 { text-align:center; }
.signup-done .btn-2 { cursor:pointer; font:inherit; background:none; }
.signup-check { display:inline-grid; place-items:center; width:54px; height:54px; border-radius:50%; margin-bottom:14px;
  background:color-mix(in srgb, var(--accent) 16%, transparent); color:var(--accent); font-size:26px; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }   /* the honeypot field bots fill in */

/* the request form's pop-out */
.rf-dialog { width:min(680px, calc(100% - 32px)); max-height:min(90vh, 960px); display:none; flex-direction:column; overflow:hidden; }
.rf-dialog[open] { display:flex; }
.rf-dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:22px 28px 14px; border-bottom:1px solid var(--rule); }
.rf-dialog-head h2 { margin:0; font-size:24px; text-align:left; padding:0; }
.rf-dialog-head .label { margin-bottom:6px; }
.rf-dialog-head .signup-x { position:static; flex:none; margin:-4px -8px 0 0; }
.rf-dialog-body { overflow-y:auto; padding:0 28px 22px; overscroll-behavior:contain; }
.rf-dialog-body:focus { outline:none; }
.rf-dialog .rf-group:first-child { padding-top:18px; }
.rf-open-link { color:var(--ink); text-underline-offset:3px; }

/* What to expect (phones) */
.expect-dialog { width:min(460px, calc(100% - 32px)); }
.expect-body { padding:26px 24px 22px; }
.expect-body:focus { outline:none; }
.expect-body h2 { margin:0 0 6px; font-size:24px; text-align:left; padding:0; }
.expect-body .steps { margin:8px 0 0; }
.expect-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.expect-actions .btn, .expect-actions .btn-2 { width:100%; text-align:center; font:inherit; font-weight:600; font-size:16px; padding:13px 10px; cursor:pointer; }
.expect-actions .btn { border:0; }
.expect-actions .btn-2 { background:none; color:var(--ink); }

/* ---- the request form ----------------------------------------------------------------------------- */
.rf-group { border:0; margin:0; padding:20px 0 22px; min-width:0; }
.rf-group + .rf-group { border-top:1px solid var(--rule); }
.rf-legend { float:left; width:100%; padding:0; margin:0 0 14px; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink); }
.rf-legend + * { clear:both; }
.rf-legend span { color:var(--accent); margin-right:8px; }
.rf-legend em, .rf-field em { font-style:normal; color:var(--sub); text-transform:none; letter-spacing:0; margin-left:6px; }
.rf-legend em { display:block; margin:4px 0 0 calc(2ch + 8px); }
.rf-legend + .rf-row > .rf-field { margin-top:0; }

/* choice buttons (Home/Business, when, where) and service tiles */
.rf-seg { display:flex; flex-wrap:wrap; gap:8px; }
.rf-chips { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
.rf-seg label, .rf-chips label { position:relative; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.rf-chips label { display:flex; }
.rf-chips .rf-else { grid-column:1 / -1; }                  /* the catch-all spans the full row */
.rf-seg input, .rf-chips input { position:absolute; opacity:0; width:1px; height:1px; }
.rf-seg span, .rf-chips span { display:inline-block; padding:10px 16px; border:1px solid var(--rule-strong); border-radius:8px; font-size:15px;
  color:var(--ink); background:var(--bg); transition:border-color .15s ease, background .15s ease, color .15s ease; user-select:none; }
.rf-seg:not(.rf-seg-wrap) label { flex:1; }
.rf-seg:not(.rf-seg-wrap) span { display:block; text-align:center; }
.rf-chips span { display:flex; align-items:center; width:100%; min-height:48px; padding:10px 14px; border-radius:10px;
  font-size:14.5px; line-height:1.3; text-align:left; }
.rf-seg input:checked + span, .rf-chips input:checked + span { border-color:var(--accent); background:color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.rf-chips input:checked + span::before { content:"\2713"; flex:none; margin-right:6px; color:var(--accent); }
.rf-seg input:focus-visible + span, .rf-chips input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }

/* text fields */
.rf-row { display:flex; gap:12px; }
.rf-row > .rf-field { flex:1; min-width:0; }
.rf-row > .rf-narrow { flex:0 0 32%; }
.rf-field { display:grid; gap:6px; margin-top:14px; font-size:12px; color:var(--sub); text-transform:uppercase; letter-spacing:.06em; }
.rf-field input, .rf-field textarea, .rf-field select { font:inherit; font-family:var(--sans); font-size:16px; text-transform:none; letter-spacing:0;
  color:var(--ink); background:var(--bg); border:1px solid var(--rule-strong); border-radius:8px; padding:11px 13px; width:100%; }
.rf-field input:not([type=date]), .rf-field select { height:48px; }
.rf-field textarea { resize:vertical; min-height:110px; line-height:1.5; }
.rf-field input:focus, .rf-field textarea:focus, .rf-field select:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:transparent; }
.rf-sub { margin:16px 0 8px; font-size:12px; color:var(--sub); text-transform:uppercase; letter-spacing:.06em; }
.rf-hint { margin:8px 0 0; font-size:12.5px; color:var(--sub); }

/* parts that show for business, an on-site visit, or a preferred date */
.rf .biz, .rf .onsite, .rf .rf-date, .rf .rf-addr { display:none; }
.rf.is-biz .biz, .rf.is-onsite .onsite { display:flex; }
.rf.is-dated .rf-date { display:grid; }
.rf .rf-addr { flex-direction:column; }
.rf.is-onsite .rf-addr { display:flex; }
.rf-addr .rf-row > .rf-state { flex:0 0 84px; }
.rf-addr .rf-row > .rf-zip { flex:0 0 120px; }
.rf-date input { min-height:48px; -webkit-appearance:none; appearance:none; text-align:left; }
.rf-date input::-webkit-date-and-time-value { text-align:left; }
.rf-date input::-webkit-calendar-picker-indicator { opacity:.7; cursor:pointer; }
@media (prefers-color-scheme: dark) { .rf-date input { color-scheme:dark; } }

/* "Business is down right now" */
.rf-down { position:relative; display:none; margin-top:14px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.rf.is-biz .rf-down { display:block; }
.rf-down input { position:absolute; opacity:0; width:1px; height:1px; }
.rf-down span { display:grid; grid-template-columns:22px 1fr; column-gap:12px; padding:12px 14px; border:1px solid var(--rule-strong); border-radius:8px; background:var(--bg); }
.rf-down span::before { content:""; grid-row:span 2; align-self:center; width:20px; height:20px; border-radius:5px; border:1.5px solid var(--rule-strong); box-sizing:border-box; }
.rf-down b { font-weight:500; font-size:15px; }
.rf-down em { font-style:normal; font-size:13px; color:var(--sub); }
.rf-down input:checked + span { border-color:var(--bad); background:color-mix(in srgb, var(--bad) 12%, var(--bg)); }
.rf-down input:checked + span::before { border-color:var(--bad); background:var(--bad); box-shadow:inset 0 0 0 3px var(--bg); }
.rf-down input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }

/* send, messages, and the confirmation */
.rf-send { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; padding-top:22px; border-top:1px solid var(--rule); }
.rf-send .btn { border:0; cursor:pointer; font:inherit; font-weight:600; font-size:16px; padding:13px 26px; }
.rf-send .btn:disabled { opacity:.6; cursor:default; }
.rf-note { margin:0; flex:1; min-width:220px; color:var(--sub); font-size:13.5px; }
.rf-preview { flex-basis:100%; margin:0; font-size:12px; color:var(--sub); }
.rf-preview a { color:var(--ink); text-underline-offset:3px; }
.rf-msg { margin:12px 0 0; min-height:1.2em; font-size:14px; color:var(--bad-text); }
.rf-done { text-align:center; padding:34px 10px 20px; outline:none; }
.rf-done h3 { font-size:24px; margin:4px 0 8px; }
.rf-sub-lead { margin:0 auto 22px; max-width:30em; color:var(--sub); }
#rf-code { color:var(--accent); }

/* ---- tablets and phones --------------------------------------------------------------------------- */
@media (max-width:820px) {
  .top { grid-template-columns:1fr; gap:36px; }
  h1 { font-size:34px; }
  section { grid-template-columns:1fr; gap:14px; }
  section > :last-child, .top > table { padding:16px 18px; }
  .products { grid-template-columns:1fr 1fr; }
}

@media (max-width:640px) {
  .d-only { display:none !important; }
  .m-only { display:inline-block !important; }

  /* the header is a slim bar pinned to the top, with a Menu button that opens the links (www/menu.js);
     on Home it hides at the very top and during the intro, and slides in once scrolled */
  header { position:sticky; top:0; z-index:30; background:var(--bg); box-shadow:0 1px 0 var(--rule); }
  header .wrap { flex-wrap:nowrap; min-height:56px; padding-top:8px; padding-bottom:8px; }
  header .logo-svg { width:26px; height:26px; }
  header .brand { font-size:16px; gap:10px; }
  header nav { display:none; }
  .menu-btn { display:grid; align-content:center; gap:5px; width:44px; height:44px; padding:0 11px; margin-right:-11px;
    border:0; border-radius:8px; background:none; cursor:pointer; }
  .menu-btn span { display:block; height:2px; border-radius:1px; background:var(--ink); transition:transform .2s ease, opacity .2s ease; }
  header.open .menu-btn span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  header.open .menu-btn span:nth-child(2) { opacity:0; }
  header.open .menu-btn span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  header.open nav { display:block; position:absolute; top:100%; left:0; right:0; background:var(--bg);
    padding:4px 16px 14px; box-shadow:0 1px 0 var(--rule); animation:menudrop .18s ease; }
  header.open nav ul { flex-direction:column; gap:0; font-size:17px; }
  header.open nav a { display:block; padding:12px 2px; }
  .home header { position:fixed; left:0; right:0; transform:translateY(-100%); transition:transform .3s ease; }   /* starts hidden: no flash */
  .home header.show { transform:none; }

  /* Home: the launch screen replaces the intro */
  .home .top { display:none; }
  .m-launch { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:26px;
    min-height:100svh; padding:40px 20px 28px; text-align:center; }
  .m-mark { display:flex; flex-direction:column; align-items:center; }
  .m-logo { width:min(46vw, 210px); height:auto; display:block; }
  .m-logo .lf { fill:var(--ink); }
  .m-logo .ls { fill:none; stroke:none; }
  .m-word { margin:14px 0 0; font-weight:600; font-size:26px; letter-spacing:-0.01em; }
  .m-links { list-style:none; margin:0; padding:0; width:min(100%, 340px); display:grid; gap:10px; }
  .m-links .btn, .m-links .btn-2 { display:block; text-align:center; padding:13px 16px; font-size:16px; }
  .m-links .tag { font-size:10px; margin-left:8px; vertical-align:2px; }
  .m-status { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:6px; padding:12px; border-radius:8px;
    background:var(--panel); color:var(--ink); text-decoration:none; font-size:13px; }
  .m-status .dot { width:9px; height:9px; border-radius:50%; background:var(--sub); }
  .m-status[data-level="ok"] .dot { background:var(--accent); }
  .m-status[data-level="partial"] .dot { background:var(--warn); }
  .m-status[data-level="down"] .dot { background:var(--bad); }
  .m-more { color:var(--sub); font-size:12.5px; text-decoration:none; }
  .intro .m-logo { overflow:visible; }
  .intro .m-logo .lf { opacity:0; animation:logofill .5s ease 1.25s forwards; }
  .intro .m-logo .ls { stroke:var(--accent); stroke-width:9; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1;
    animation:draw 1.3s cubic-bezier(.55,0,.25,1) .1s forwards, strokeout .5s ease 1.3s forwards; }
  .intro .m-word { opacity:0; animation:rise .5s ease 1.55s forwards; }
  .intro .m-mark { transform:translateY(24vh); animation:markup .7s cubic-bezier(.4,0,.2,1) 2.35s forwards; }
  .intro .m-links li, .intro .m-more { opacity:0; transform:translateY(10px); animation:linkin .45s ease forwards; }
  .intro .m-links li:nth-child(1) { animation-delay:2.75s; }
  .intro .m-links li:nth-child(2) { animation-delay:2.85s; }
  .intro .m-links li:nth-child(3) { animation-delay:2.95s; }
  .intro .m-links li:nth-child(4) { animation-delay:3.05s; }
  .intro .m-links li:nth-child(5) { animation-delay:3.2s; }
  .intro .m-more { animation-delay:3.4s; }

  /* footer stays one line */
  footer .wrap { align-items:baseline; }
  .f-row { align-items:flex-start; }

  /* the request form fills the screen */
  .rf-dialog { width:100%; max-width:100%; height:100%; max-height:100%; margin:0; border-radius:0; }
  .rf-dialog-head { padding:16px 18px 12px; }
  .rf-dialog-body { padding:0 18px 28px; }
  .rf-row { flex-direction:column; gap:0; }
  .rf-row > .rf-narrow { flex:auto; }
  .rf-addr .rf-row { flex-direction:row; flex-wrap:wrap; gap:0 10px; }
  .rf-addr .rf-row > .rf-field:first-child { flex:1 1 100%; }
  .rf-addr .rf-row > .rf-zip { flex:1 1 0; }
  .rf-seg-wrap label { flex:1 1 calc(50% - 8px); }
  .rf-seg-wrap span { display:block; text-align:center; }
  .rf-send .btn { width:100%; }
}

@media (max-width:520px) {
  .wrap { padding-left:16px; padding-right:16px; }
  .services th, .services td { display:block; width:auto; padding:0; }
  .services tr { display:block; border-top:1px solid var(--rule); padding:10px 0; }
  .services tr:last-child { border-bottom:1px solid var(--rule); }
  .products { grid-template-columns:1fr; padding:16px; }
}

/* ---- motion ---------------------------------------------------------------------------------------- */
@keyframes draw { to { stroke-dashoffset:0; } }
@keyframes logofill { to { opacity:1; } }
@keyframes strokeout { to { stroke-opacity:0; } }
@keyframes wordin { from { opacity:0; transform:translateX(-6px); } to { opacity:1; transform:none; } }
@keyframes rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@keyframes markup { to { transform:none; } }
@keyframes linkin { to { opacity:1; transform:none; } }
@keyframes pulse { 0%, 100% { opacity:1; } 50% { opacity:.25; } }
@keyframes popin { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes fadein { from { opacity:0; } to { opacity:1; } }
@keyframes menudrop { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) {
  .pulse, .signup[open], .signup[open]::backdrop { animation:none; }
  .mock, header.open nav, .menu-btn span, .home header { transition:none; animation:none; }
}

/* ---- Contact: service area map (www/map.js) -------------------------------------------------------- */
.map { height:400px; border-radius:8px; overflow:hidden; background:var(--bg); z-index:0; }
.map-note { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:14px 0 0; font-size:13px; color:var(--sub); }
.key { display:inline-block; width:14px; height:10px; border-radius:2px; }
.key + .key, .map-note .key-area { margin-left:8px; }
.key-county { background:color-mix(in srgb, var(--accent) 35%, transparent); border:2px solid var(--accent); }
.key-area { border:1.5px dashed var(--accent); }
.map .leaflet-control-attribution { font-size:10px; }
@media (prefers-color-scheme: dark) {      /* dark map to match the site */
  .map .leaflet-tile-pane { filter:invert(1) hue-rotate(180deg) brightness(.85) contrast(.85) saturate(.5); }
  .map .leaflet-control-attribution { background:rgba(17,17,17,.75); color:var(--sub); }
  .map .leaflet-control-attribution a { color:var(--ink); }
  .map .leaflet-bar a { background:var(--panel); color:var(--ink); border-color:var(--rule); }
}
@media (max-width:640px) { .map { height:320px; } }

/* ---- sections: one full-width panel each, with a header row (mint icon + title) like the status page -- */
section { display:block; background:var(--panel); border-radius:12px; padding:4px 24px 22px; margin:18px 0; }
section > :last-child { background:none; border-radius:0; padding:0; }
.sec-head { display:flex; align-items:center; gap:14px; padding:14px 0 16px; margin-bottom:8px; border-bottom:1px solid var(--rule); }
.sec-head h2 { font-size:20px; line-height:1.2; font-weight:600; letter-spacing:-0.01em; margin:0; }
.ico { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:10px; color:var(--accent);
  background:color-mix(in srgb, var(--accent) 14%, transparent); border:1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.ico svg { width:20px; height:20px; }
@media (max-width:820px) { section { padding:2px 18px 18px; } section > :last-child { padding:0; } }
.news + .quote { margin-top:10px; }

/* ---- Home: Google reviews + Follow, side by side (stacked on phones) -------------------------------- */
.duo { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:18px 0; }
.duo > section { margin:0; }
.rev { display:flex; flex-direction:column; gap:22px; padding-top:8px; }
.rating { display:flex; align-items:center; gap:18px; margin:0; }
.rating[hidden] { display:none; }
.rating .score { font-size:44px; font-weight:600; line-height:1; }
.rating .stars { display:block; color:var(--accent); letter-spacing:3px; font-size:20px; }
.rating .meta { display:block; color:var(--sub); font-size:14px; margin-top:4px; }
.rev .cta { display:flex; flex-wrap:wrap; gap:10px; }
.socs { display:grid; gap:10px; }
.soc { display:flex; align-items:center; gap:12px; padding:10px 14px; border:1px solid var(--rule); border-radius:10px;
  color:var(--ink); text-decoration:none; }
.soc[hidden] { display:none; }
.soc:hover { border-color:var(--accent); }
.soc svg { flex:none; width:20px; height:20px; color:var(--accent); }
.soc b { font-weight:600; font-size:15px; }
.soc small { margin-left:auto; color:var(--sub); font-size:13px; }
@media (max-width:820px) { .duo { grid-template-columns:1fr; } }
