/* ============================================================
   KESTLEBROOK PLUMBING & HEATING (demo site by Arkline Design)
   Warm paper, forest green, copper. Fraunces over Public Sans.
   Squarer, calmer, and deliberately nothing like the studio site.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../_shared/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../_shared/fonts/public-sans.woff2") format("woff2");
}

:root {
  --bg: #FAF6EF;
  --surface: #FFFFFF;
  --ink: #1F1C18;
  --muted: #5B564F;
  --accent: #1F5B45;
  --accent-dark: #174634;
  --tint: #E7EFEA;
  --tint-strong: #D6E4DD;
  --copper: #A34D2A;
  --line: #E4DDD2;
  --line-strong: #CFC6B8;
  --field-line: #8F877A;   /* 3.5:1 on white: a form boundary must be visible on its own */
  --placeholder: #EFE8DE;
  --footer: #173F31;
  --footer-muted: #C9D6CF;
  --error: #B42318;
  --emergency: color-mix(in srgb, #A34D2A 8%, #FAF6EF);
  --shadow: 0 2px 12px rgba(31, 28, 24, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ark-bar-h, 36px) + var(--header-h) + 12px);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; line-height: 1.08; }
h3 { font-size: 1.375rem; }
.sub-title { font-size: 1.25rem; margin: 28px 0 12px; }
.intro, .lede { color: var(--muted); max-width: 48ch; }
.intro + .intro { margin-top: 12px; }
p { max-width: 60ch; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.container { max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
section { padding-block: clamp(48px, 8vh, 96px); }

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

.skip {
  position: fixed; top: calc(var(--ark-bar-h, 36px) + 8px); left: 8px; z-index: 950;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transform: translateY(-300%);
  transition: transform 0.2s;
}
.skip:focus-visible { transform: none; outline-color: var(--ink); }

/* copper "pipe rule" above every heading, draws in on reveal */
.rule {
  display: block; width: 40px; height: 2px; border-radius: 2px;
  background: var(--copper); margin-bottom: 14px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.12s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); }
.btn-solid:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--tint); }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--copper); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }
.tel { color: var(--accent); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.tel:hover { text-decoration: underline; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: var(--ark-bar-h, 36px); z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding-inline: clamp(16px, 4vw, 32px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
html.ark-notes-on .site-header[data-note] { position: sticky; }
.site-header .ark-pin { left: 50%; top: calc(100% - 15px); margin-left: -15px; }
@media (min-width: 1200px) {
  .site-header .ark-pin { left: 224px; top: 50%; margin: -15px 0 0 0; }
  /* the docked notes rail shifts the page, not the header: the panel sits
     well below it, and a squeezed header would wrap the nav */
  html.ark-notes-on .site-header { margin-left: -360px; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; min-width: 0; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); flex: none; }
.brand-name {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.375rem; line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.brand-name small {
  display: block; margin-top: 3px;
  font-family: "Public Sans", system-ui, sans-serif; font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.site-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-call .num-long, .btn-quote .long { display: none; }
.btn-call .num-short, .btn-quote .short { display: inline; }
@media (min-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-nav { display: flex; justify-content: center; gap: 24px; }
  .site-nav a {
    position: relative; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--ink);
    padding: 8px 2px;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: var(--copper); transform: scaleX(0); transform-origin: left;
    transition: transform 0.18s var(--ease);
  }
  .site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-current::after { transform: scaleX(1); }
  .btn-call .num-long, .btn-quote .long { display: inline; }
  .btn-call .num-short, .btn-quote .short { display: none; }
}
@media (max-width: 599px) {
  :root { --header-h: 60px; }
  .site-header { gap: 12px; }
  .btn-quote { display: none; }
}
@media (max-width: 379px) { .brand-name small { display: none; } }

/* ============ HERO ============ */
.hero { padding-block: clamp(40px, 8vh, 96px); }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
  .hero-grid:has(.no-photo) { grid-template-columns: 1fr; }
  .hero-grid:has(.no-photo) .hero-text { max-width: 60ch; }
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); color: var(--accent-dark);
  border-radius: 999px; padding: 6px 14px;
  font-weight: 600; font-size: 0.8125rem; line-height: 1.3;
  margin-bottom: 22px;
}
.chip-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--copper); flex: none; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; max-width: 15ch; margin-bottom: 18px; }
.hero .lede { font-size: 1.125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 599px) { .btn-row .btn-lg { width: 100%; } }
.proof {
  margin-top: 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
  font-size: 0.875rem; color: var(--muted);
}
.proof li { display: flex; align-items: flex-start; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--copper); flex: none; margin-top: 3px; }
@media (max-width: 479px) { .proof { grid-template-columns: 1fr; } }

/* photos: framed, placeholder ground, collapse cleanly when missing */
.photo { border-radius: 12px; overflow: hidden; background: var(--placeholder); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.no-photo { display: none; }
.hero-photo { aspect-ratio: 3 / 2; }

/* ============ REVEALS ============ */
html.js .enter {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
html.js .enter.photo { transform: none; transition-duration: 0.5s; }
html.js.is-ready .enter { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .rule.reveal { width: 0; transform: none; transition: width 0.4s var(--ease), opacity 0.3s; }
html.js .rule.reveal.in { width: 40px; }
html.js .photo.reveal { transform: none; }

/* ============ CARDS ============ */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.icon-tint {
  width: 44px; height: 44px; border-radius: 999px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 16px;
  transition: background-color 0.2s;
}
.icon-tint svg { width: 24px; height: 24px; color: var(--accent); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; }

/* ============ PROMISES ============ */
.promises h2 { margin-bottom: 24px; }

/* ============ SERVICES ============ */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.head-photo { width: 96px; height: 96px; flex: none; aspect-ratio: 1; }
@media (max-width: 599px) { .head-photo { display: none; } }
@media (min-width: 900px) { .head-photo { width: 220px; height: 220px; } }
.services-grid { grid-template-columns: 1fr; }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service { padding: 24px; display: flex; flex-direction: column; transition: border-color 0.2s; }
.service h3 { font-size: 1.25rem; }
.service p { font-size: 0.9375rem; }
.service .text-link { margin-top: auto; padding-top: 12px; align-self: flex-start; }
.nowrap { white-space: nowrap; }
.service:hover, .service:focus-within { border-color: var(--accent); }
.service:hover .icon-tint, .service:focus-within .icon-tint { background: var(--tint-strong); }
.closing { text-align: center; margin: 28px auto 0; max-width: none; font-size: 1.0625rem; }

/* ============ EMERGENCY ============ */
.emergency { background: var(--emergency); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 9vh, 96px); }
.emergency h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); max-width: 20ch; }
.emergency .lede { font-size: 1.125rem; }
.steps { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.step { background: var(--surface); border-radius: 12px; border-left: 4px solid var(--copper); padding: 24px; }
.step-photo { aspect-ratio: 4 / 3; border-radius: 8px; margin-top: 18px; }
.step-num {
  display: block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.75rem; line-height: 1;
  color: var(--copper); margin-bottom: 10px; font-variation-settings: "SOFT" 0, "WONK" 0;
}
.step h3 { font-family: "Public Sans", system-ui, sans-serif; font-weight: 600; font-size: 1.1875rem; margin-bottom: 8px; letter-spacing: 0; }
.step p { color: var(--muted); font-size: 1rem; }
.step .btn { margin-top: 18px; }
.footnote { color: var(--muted); font-size: 0.9375rem; margin-top: 22px; }

/* ============ PRICING ============ */
.pricing-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; } }
.visit-steps { display: grid; gap: 12px; }
.visit-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.visit-steps .num {
  flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--tint);
  display: grid; place-items: center; color: var(--copper);
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.125rem;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.tint-box {
  display: block; position: relative;
  background: var(--tint); border-radius: 8px; padding: 14px 16px 14px 46px;
  font-size: 0.9375rem; margin-top: 20px; max-width: none;
}
.tint-box svg { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; color: var(--accent); }
.pricing-photo { display: none; aspect-ratio: 4 / 3; margin-top: 24px; }
@media (min-width: 900px) { .pricing-photo { display: block; } .pricing-photo.no-photo { display: none; } }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 400; font-size: 1.0625rem; }
.price-table th small { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.price-table td {
  text-align: right; padding-left: 16px; white-space: nowrap;
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem;
  font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 0, "WONK" 0;
}
.price-table td small { display: block; font-family: "Public Sans", system-ui, sans-serif; font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.price-table td.quoted { font-family: "Public Sans", system-ui, sans-serif; font-weight: 400; font-size: 0.9375rem; white-space: normal; max-width: 15ch; color: var(--muted); }
.table-note { font-size: 0.8125rem; color: var(--muted); margin: 14px 0 18px; }

/* ============ REVIEWS ============ */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; border: 1px solid var(--copper); color: var(--copper);
  border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 0.8125rem; margin-bottom: 12px;
}
.label { font-size: 0.875rem; color: var(--muted); margin: 6px 0 24px; max-width: 70ch; }
.review { position: relative; display: flex; flex-direction: column; }
.review p { flex: 1; }
.review-tag {
  position: absolute; top: 16px; right: 16px;
  font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px;
}
.stars { display: inline-flex; gap: 2px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; color: var(--copper); }
.review p { color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.review footer { margin-top: 14px; display: grid; gap: 2px; }
.review footer strong { font-weight: 600; font-size: 0.9375rem; }
.review footer span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.875rem; }
.review footer svg { width: 14px; height: 14px; color: var(--copper); }

/* ============ AREA + HOURS ============ */
.area { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.towns li {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1px solid var(--accent); color: var(--accent); border-radius: 999px;
  font-weight: 600; font-size: 0.9375rem;
}
.hours { display: grid; gap: 8px; max-width: 420px; }
.hours div { display: flex; align-items: baseline; }
.hours dt { display: flex; flex: 1; align-items: baseline; }
.hours dt::after { content: ""; flex: 1; min-width: 24px; margin: 0 10px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); }
.hours dd { white-space: nowrap; font-weight: 600; }
@media (max-width: 419px) {
  .hours dt::after { display: none; }
  .hours div { justify-content: space-between; gap: 12px; }
  .hours dd { text-align: right; }
}
.who { padding: 0; overflow: hidden; }
.who-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.who-body { padding: 28px; }
.who-body p { color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 18px; }
.facts dt { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { font-size: 1rem; }

/* ============ QUOTE FORM ============ */
.quote-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; } }
.form-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.field legend, .field > label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; }
.field legend { padding: 0; }
.hint { font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-input { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chip-choice {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--field-line); border-radius: 8px; background: var(--surface);
  font-weight: 600; font-size: 0.9375rem; cursor: pointer; user-select: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.chip-choice:hover { border-color: var(--accent); }
.chip-input:checked + .chip-choice { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip-input:focus-visible + .chip-choice { outline: 2px solid var(--accent); outline-offset: 3px; }
.is-error .chip-choice { border-color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--field-line); border-radius: 8px; background: var(--surface);
  font-size: 1.0625rem; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235B564F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.field input[aria-invalid="true"] { border: 2px solid var(--error); }
.error { display: flex; align-items: flex-start; gap: 6px; color: var(--error); font-size: 0.875rem; margin-top: 8px; max-width: none; }
.error svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.error[hidden] { display: none; }
.helper { font-size: 0.875rem; color: var(--muted); margin-top: 6px; max-width: none; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.urgent-callout { margin: 0 0 18px; }
.urgent-callout[hidden] { display: none; }
#submit-btn { margin-top: 6px; position: relative; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 999px; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { text-align: center; font-size: 0.875rem; color: var(--muted); margin-top: 12px; max-width: none; }
.form-foot.small { font-size: 0.8125rem; margin-top: 6px; }
.form-fields { transition: opacity 0.2s; }
.form-fields.is-leaving { opacity: 0; }
.form-card.is-done { display: grid; align-content: center; }
.form-success { text-align: center; padding: 16px 0; opacity: 0; transition: opacity 0.25s; }
.form-success.is-in { opacity: 1; }
.form-success[hidden] { display: none; }
.success-check { width: 56px; height: 56px; color: var(--copper); margin: 0 auto; }
.success-check .tick { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.4s var(--ease) 0.15s; }
.form-success.is-in .tick { stroke-dashoffset: 0; }
.form-success h3 { font-size: 1.625rem; margin: 16px 0 8px; }
.form-success h3:focus { outline: none; }
.form-success p { color: var(--muted); max-width: 44ch; margin: 0 auto; }
.form-success .btn { margin-top: 20px; }
.text-btn { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--accent); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; cursor: pointer; }
.nudge { animation: nudge 0.3s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ============ FOOTER ============ */
.site-footer { background: var(--footer); color: var(--bg); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 28px; height: 28px; color: var(--bg); flex: none; }
.footer-brand span {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.375rem; line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.footer-brand small { display: block; margin-top: 3px; font-family: "Public Sans", system-ui, sans-serif; font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--footer-muted); }
.footer-line { color: var(--footer-muted); margin-top: 14px; }
.footer-h { font-family: "Public Sans", system-ui, sans-serif; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0; margin-bottom: 10px; }
.footer-phone {
  display: inline-block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.75rem;
  color: var(--bg); text-decoration: none; margin-bottom: 8px; font-variant-numeric: tabular-nums;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.footer-phone:hover { text-decoration: underline; }
.footer-list li { display: block; color: var(--footer-muted); line-height: 1.5; }
.footer-list li:not(:has(a)) { padding: 7px 0; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--bg); text-decoration: none; min-height: 44px; }
.footer-list a:hover { text-decoration: underline; }
.footer-list svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(250, 246, 239, 0.15); margin-top: 40px; padding-top: 20px; font-size: 0.8125rem; color: var(--footer-muted); }
.footer-bottom p { max-width: none; margin-bottom: 6px; }
.footer-bottom a { color: var(--bg); }
.site-footer :focus-visible { outline-color: var(--bg); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .enter, html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .rule.reveal { width: 40px; }
  .nudge { animation: none; }
  .text-link svg, .site-nav a::after, .btn { transition: none; }
}
