/* Published by Cloudflare Pages from github.com/J5316/mtvh-redesign (main). */
/* My Treasure Valley Handyman — site styles.
   Colours are the live site's own system (custom.css + logo): blue #0B5789, navy #03365C,
   red #B22222, neutrals #F7F7F7 / #DBDFDF / #222. Blue is the one action colour; red is
   reserved for ratings and the guarantee mark. */

:root {
  --blue: #0b5789;
  --blue-dark: #003e70;
  --navy: #03365c;
  --navy-deep: #001d43;
  --red: #b22222;
  --ink: #1d2327;
  --ink-2: #4a5357;          /* secondary text, 8.1:1 on white */
  --paper: #ffffff;
  --paper-2: #f4f6f7;        /* the live #f7f7f7, a touch cooler to sit with the blue */
  --rule: #dbdfdf;
  --on-dark: #ffffff;
  --on-dark-2: #c3d2de;      /* 9.6:1 on --navy-deep */

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", "Segoe UI", sans-serif;

  --s-13: 0.8125rem;
  --s-15: 0.9375rem;
  --s-17: 1.0625rem;
  --s-20: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --s-28: clamp(1.5rem, 1.3rem + 0.9vw, 1.75rem);
  --s-40: clamp(2rem, 1.6rem + 1.8vw, 2.5rem);
  --s-56: clamp(2.5rem, 1.9rem + 2.7vw, 3.5rem);
  --s-80: clamp(3rem, 2rem + 4.6vw, 5rem);

  --gut: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --max: 76rem;
  --r: 6px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-press: 160ms;
  --t-ui: 220ms;
  --t-enter: 560ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--s-17)/1.6 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: #fff; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: var(--s-56); }
h2 { font-size: var(--s-40); }
h3 { font-size: var(--s-28); line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }
mark { background: none; color: inherit; font-weight: 600; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 0.5rem 1rem; z-index: 99; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 3.25rem; padding: 0 1.4rem;
  border: 2px solid var(--blue); border-radius: var(--r);
  font: 600 var(--s-17)/1 var(--text);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out),
              transform var(--t-press) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.dark .btn-line { border-color: #fff; color: #fff; }
.dark .btn-line:hover { background: #fff; color: var(--navy-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.actions .btn { flex: 1 1 13rem; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: block; flex: none; }
.brand img { width: 8.5rem; }
.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav a {
  padding: 0.5rem 0.7rem; border-radius: var(--r);
  color: var(--ink); font-weight: 600; font-size: var(--s-15); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--paper-2); }
.head-call { display: flex; align-items: center; gap: 0.9rem; }
.head-call .tel { font: 700 var(--s-20)/1 var(--display); color: var(--navy); text-decoration: none; letter-spacing: 0.01em; }
.head-call .tel small { display: block; font: 600 0.72rem/1.2 var(--text); color: var(--ink-2); letter-spacing: 0; }
.head-call .btn { min-height: 2.75rem; padding: 0 1.1rem; font-size: var(--s-15); }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .head-call { margin-left: auto; }
}
@media (max-width: 720px) {
  .site-head .wrap { min-height: 3.75rem; }
  .brand img { width: 6.75rem; }
  .head-call .btn { display: none; }
  .head-call .tel small { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; margin-right: -0.4rem;
    background: none; border: 0; color: var(--navy); cursor: pointer; border-radius: var(--r);
  }
}
@media (min-width: 721px) and (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 0;
    font: 600 var(--s-15) var(--text); color: var(--navy); cursor: pointer; padding: 0.5rem; }
}

/* drawer (mobile + tablet) */
.drawer { position: fixed; inset: 0; z-index: 40; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 29, 67, 0.45); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(24rem, 88vw);
  background: #fff; overflow-y: auto; padding: 1rem 1.25rem 7rem;
  animation: slide-in var(--t-enter) var(--ease-out);
}
@keyframes slide-in { from { transform: translateX(12%); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
.drawer-scrim { animation: fade-in var(--t-ui) var(--ease-out); }
/* closing plays the entrance backwards, then site.js hides the drawer */
.drawer.closing .drawer-panel { animation: slide-in var(--t-ui) var(--ease-out) reverse forwards; }
.drawer.closing .drawer-scrim { animation: fade-in var(--t-ui) var(--ease-out) reverse forwards; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.drawer-top button { width: 2.75rem; height: 2.75rem; border: 0; background: none; color: var(--navy); cursor: pointer; }
.drawer h2 { font-size: var(--s-20); color: var(--ink-2); font-family: var(--text); font-weight: 600; margin: 1.25rem 0 0.25rem; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.drawer li a:hover { color: var(--blue); }
.drawer .cols { columns: 2; column-gap: 1rem; }
.drawer .cols li { break-inside: avoid; }

/* mobile action bar: both actions within thumb reach on every page */
.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97); border-top: 1px solid var(--rule);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .dock .btn { min-height: 3rem; padding: 0 0.5rem; }
  /* site.js sets .away while the page's own Text/Quote buttons are in view */
  .dock { transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), visibility 0s; }
  .dock.away { transform: translateY(110%); visibility: hidden; transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.25s; }
  body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
}

/* ---------- hero (home) ---------- */
.hero { padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(2.5rem, 5vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--s-80); line-height: 0.95; letter-spacing: -0.015em; margin-bottom: 0.3em; }
.hero h1 .sub { display: block; font: 600 var(--s-28)/1.2 var(--display); color: var(--ink-2); letter-spacing: 0; margin-top: 0.55em; }
.hero .lead { font-size: var(--s-20); color: var(--ink); max-width: 34em; margin-bottom: 1.6rem; }
.proof {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0; padding: 0; list-style: none;
  font-size: var(--s-15); color: var(--ink-2); font-weight: 600;
}
.proof li { display: flex; align-items: center; gap: 0.45rem; }
.proof svg { width: 1.1rem; height: 1.1rem; color: var(--blue); flex: none; }
.stars { color: var(--red); letter-spacing: 0.06em; font-size: 1rem; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 40%; border-radius: var(--r); background: var(--paper-2); }
.hero-photo figcaption { margin-top: 0.6rem; font-size: var(--s-13); color: var(--ink-2); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; margin: 0 calc(var(--gut) * -1); }
  .hero-photo img { aspect-ratio: 16 / 11; border-radius: 0; }
  .hero-photo figcaption { padding: 0 var(--gut); }
}

/* ---------- awards / numbers ---------- */
.standing { background: var(--paper-2); border-block: 1px solid var(--rule); padding: clamp(1.75rem, 4vw, 3rem) 0; }
.standing .wrap { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: clamp(1rem, 3vw, 3rem); align-items: center; }
.badges { display: flex; gap: 0.75rem; }
.badges img { width: 5.5rem; height: auto; }
.stat b { display: block; font: 700 var(--s-56)/1 var(--display); color: var(--navy); }
.stat > span { display: block; font-size: var(--s-15); color: var(--ink-2); font-weight: 600; margin-top: 0.3rem; max-width: 16em; }
@media (max-width: 860px) {
  .standing .wrap { grid-template-columns: 1fr 1fr; }
  .badges { grid-column: 1 / -1; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 6.5rem) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { margin: 0; max-width: 18em; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 30em; }

/* before / after job cards */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.job { margin: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.pair picture { position: relative; display: block; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tag {
  position: absolute; left: 0.5rem; top: 0.5rem;
  padding: 0.2rem 0.5rem; border-radius: 3px;
  font: 600 0.75rem/1.3 var(--text); letter-spacing: 0.02em;
  background: rgba(255,255,255,0.94); color: var(--ink);
}
.tag.after { background: var(--blue); color: #fff; }
@media (max-width: 960px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .jobs { grid-template-columns: 1fr; }
  .pair img { aspect-ratio: 1 / 1.1; }
}
.single img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }

/* services index: a typographic list, not an icon grid */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.svc-list li { border-bottom: 1px solid var(--rule); }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem; padding: 1.05rem 0; text-decoration: none; color: var(--ink); }
.svc-list .name { font: 700 var(--s-28)/1.1 var(--display); color: var(--navy); transition: color var(--t-ui) var(--ease-out); }
.svc-list .what { grid-column: 1; font-size: var(--s-15); color: var(--ink-2); }
.svc-list .go { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--blue); transition: transform var(--t-ui) var(--ease-out); }
.svc-list a:hover .name { color: var(--blue); }
.svc-list a:hover .go { transform: translateX(4px); }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }
.also { margin-top: 1.75rem; color: var(--ink-2); max-width: 60em; }
.also strong { color: var(--ink); }

/* reviews: the one dark band */
.dark { background: var(--navy-deep); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark a { color: #fff; }
.reviews .score { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.reviews .score b { font: 700 var(--s-80)/0.9 var(--display); }
.reviews .score span { color: var(--on-dark-2); font-weight: 600; }
.reviews .score .stars { color: #ff6b5e; font-size: 1.2rem; }  /* the red, lifted to 5.9:1 on navy */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin: clamp(2rem, 4vw, 3rem) 0 2rem; padding: 0; list-style: none; }
.quotes li { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 1.1rem; }
.quotes blockquote { margin: 0 0 0.9rem; font-size: var(--s-17); line-height: 1.55; }
.quotes blockquote mark { background: none; color: #fff; font-weight: 600; }
.quotes .who { font-size: var(--s-13); color: var(--on-dark-2); font-weight: 600; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .quotes { grid-template-columns: 1fr; } }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1rem; border-top: 3px solid var(--navy); }
.steps li::before { content: counter(s); display: block; font: 700 var(--s-40)/1 var(--display); color: var(--blue); margin-bottom: 0.4rem; }
.steps h3 { font-size: var(--s-20); font-family: var(--text); font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.3; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* area + hours */
.area { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 5rem); }
.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.towns a, .towns span {
  display: inline-block; padding: 0.55rem 1rem; border: 1px solid var(--rule); border-radius: var(--r);
  font-weight: 600; color: var(--navy); text-decoration: none; background: #fff;
}
.towns a:hover { border-color: var(--blue); color: var(--blue); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.25rem; font-size: var(--s-15); }
.facts dt { font-weight: 600; color: var(--ink-2); }
.facts dd { margin: 0; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } }

/* ---------- quote form ---------- */
.quote-sec { background: var(--paper-2); border-top: 1px solid var(--rule); }
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote-grid .big-tel { display: inline-block; font: 700 var(--s-56)/1 var(--display); color: var(--navy); text-decoration: none; margin: 0.2rem 0 1rem; }
.quote-grid .big-tel:hover { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: var(--s-15); margin-bottom: 0.35rem; }
.field label .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
  font: 400 1rem/1.4 var(--text); color: var(--ink);
  background: #fff; border: 1px solid #9aa4a8; border-radius: var(--r);
  transition: border-color var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 87, 137, 0.25); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .err { display: none; color: var(--red); font-size: var(--s-13); font-weight: 600; margin-top: 0.3rem; }
.field [aria-invalid="true"] ~ .err { display: block; }
.form .note { font-size: var(--s-13); color: var(--ink-2); margin: 0.75rem 0 0; }
.form .btn { width: 100%; }
.sent { display: none; }
.form.done .sent { display: block; animation: rise-in var(--t-enter) var(--ease-out); }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
.form.done .fill { display: none; }
.sent h3 { font-size: var(--s-28); }
.sent pre { white-space: pre-wrap; font: 400 var(--s-15)/1.5 var(--text); background: var(--paper-2); border-radius: var(--r); padding: 0.9rem 1rem; margin: 0 0 1rem; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.page-head .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-head.no-photo .wrap { grid-template-columns: minmax(0, 46rem); }
.crumbs { font-size: var(--s-13); color: var(--ink-2); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-2); }
.page-head .lead { font-size: var(--s-20); max-width: 36em; }
@media (max-width: 860px) { .page-head .wrap { grid-template-columns: 1fr; } }

.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.prose { max-width: 42rem; }
.prose h2 { font-size: var(--s-40); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--s-28); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--blue); font-size: var(--s-20); }
.prose blockquote footer { font-size: var(--s-15); color: var(--ink-2); margin-top: 0.4rem; font-weight: 600; }
.prose .band { font: 700 var(--s-28)/1.15 var(--display); color: var(--navy); margin: 2rem 0; }

.aside { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.card { border: 1px solid var(--rule); border-radius: var(--r); padding: 1.25rem; background: #fff; }
.card h2 { font-size: var(--s-28); margin-bottom: 0.3rem; }
.card p { font-size: var(--s-15); color: var(--ink-2); }
.card .btn { width: 100%; margin-top: 0.5rem; }
.card .tel { font: 700 var(--s-28)/1 var(--display); color: var(--navy); text-decoration: none; }
.card blockquote { margin: 0; font-size: var(--s-15); }
.card .who { display: block; margin-top: 0.5rem; font-size: var(--s-13); font-weight: 600; color: var(--ink-2); }
.guarantee { display: flex; gap: 0.75rem; align-items: flex-start; }
.guarantee svg { flex: none; width: 2.25rem; height: 2.25rem; color: var(--red); }
.guarantee p { margin: 0; }
@media (max-width: 960px) {
  .body-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}

/* FAQ */
.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 { font-size: var(--s-28); margin-bottom: 0.5rem; }
details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--s-17);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.5rem/1 var(--text); color: var(--blue); transition: transform var(--t-ui) var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 40em; }
.answer { overflow: hidden; }

/* gallery */
.job .single img { aspect-ratio: 8 / 5; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }

/* values */
.values { margin: 0; padding: 0; list-style: none; counter-reset: v; }
.values li { counter-increment: v; display: grid; grid-template-columns: 2.5rem 1fr; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); font-size: var(--s-20); }
.values li::before { content: counter(v, decimal-leading-zero); font: 700 var(--s-17)/1.6 var(--display); color: var(--blue); }

/* ---------- footer ---------- */
.site-foot { padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: var(--s-15); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 0.9fr; gap: 2rem 3rem; }
.site-foot .cols { columns: 2; column-gap: 2rem; }
.site-foot .cols li { break-inside: avoid; }
.site-foot h2 { font: 600 var(--s-15)/1.3 var(--text); color: var(--on-dark-2); margin: 0 0 0.75rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.45rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-brand .word { font: 700 var(--s-28)/1.05 var(--display); color: #fff; margin: 0 0 0.3rem; }
.foot-brand .motto { color: var(--on-dark-2); margin-bottom: 1rem; }
.foot-brand .tel { font: 700 var(--s-40)/1 var(--display); }
.legal { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.18); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; color: var(--on-dark-2); font-size: var(--s-13); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* preview banner (only while hosted off his domain) */
.preview-note { background: var(--navy); color: #fff; font-size: var(--s-13); text-align: center; padding: 0.4rem var(--gut); }
.preview-note a { color: #fff; }

/* ---------- entrance motion: fade + short rise, once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

/* utilities (kept out of style="" so the CSP needs no 'unsafe-inline') */
.foot-sub { margin-top: 0.5rem; color: var(--on-dark-2); }
.hours-note { margin-top: 1rem; color: var(--ink-2); font-size: var(--s-15); }
.linkish { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.more-link { margin-top: 2rem; }
.section[data-flush] { padding-top: 0; }

/* spam trap: off-screen field people never see or fill */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
