/* Appliance Service — site styles
   One typeface (Archivo, variable width + weight). Headings run wide and heavy to echo the
   logo's wordmark; body text stays at normal width. Yellow is reserved for action. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --gold: #ffbd10;
  --gold-deep: #f99d1b;
  --gold-soft: #fff4cf;
  --char: #23211d;      /* dark bands: hero, footer */
  --char-2: #2f2c27;    /* raised surfaces on dark */
  --char-3: #45413a;
  --ink: #1e1c19;       /* body text */
  --muted: #5c5a55;
  --line: #d9d8d3;
  --paper: #ffffff;
  --stone: #eeeeeb;     /* alternate section background */
  --on-dark: #f3f2ee;
  --on-dark-muted: #b9b6ae;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --space: clamp(56px, 8vw, 104px);

  --wide: 125%;
  --semi: 112%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; font-stretch: var(--semi); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-stretch: var(--wide); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 60ch; margin-top: .75rem; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.narrow { max-width: 62ch; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section.alt { background: var(--stone); }

/* ---------- Icons ---------- */
.icon { width: 28px; height: 28px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 56px; padding: .85em 1.5em; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffcd3f; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--char-3); }
.btn-line-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line-ink { border-color: var(--ink); color: var(--ink); }
.btn-line-ink:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 260px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.site-nav ul a:hover { background: var(--stone); }
.site-nav ul a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: var(--semi); text-decoration: none; white-space: nowrap; }
.nav-phone .icon { width: 20px; height: 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-toggle .icon-close { display: none; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .brand img { width: 190px; }
  .site-nav {
    position: fixed; inset: 69px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    display: none; max-height: calc(100vh - 69px); overflow-y: auto;
  }
  .header-row { min-height: 68px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nav-actions .btn { min-height: 52px; }
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--char); color: var(--on-dark); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5.4rem); line-height: .95; font-weight: 850; letter-spacing: -0.025em; max-width: 9ch; }
.hero-lead { font-size: 1.1875rem; color: var(--on-dark-muted); max-width: 52ch; margin: 1.25rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-hours { display: flex; align-items: center; gap: 10px; margin: 1.5rem 0 0; color: var(--on-dark-muted); font-size: .9375rem; }
.hero-hours .icon { width: 20px; height: 20px; color: var(--gold); }

.picker { background: var(--char-2); border-radius: 10px; padding: clamp(20px, 3vw, 32px); }
.picker h2 { font-size: 1.375rem; color: #fff; margin-bottom: 18px; }
.picker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.picker-grid a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 1 / .92; padding: 10px 6px; text-align: center; text-decoration: none;
  background: var(--char); border: 1px solid var(--char-3); border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; line-height: 1.2; color: var(--on-dark);
  transition: background-color .15s, color .15s, border-color .15s;
}
.picker-grid .icon { width: 36px; height: 36px; color: var(--gold); transition: color .15s; }
.picker-grid a:hover, .picker-grid a:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.picker-grid a:hover .icon, .picker-grid a:focus-visible .icon { color: var(--ink); }
.picker-more { margin: 18px 0 0; font-size: .9375rem; color: var(--on-dark-muted); }
.picker-more a { color: #fff; font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--gold); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
@media (max-width: 520px) {
  .picker-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Facts ---------- */
.facts-section { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; flex-direction: column; gap: 14px; }
.facts .icon { width: 36px; height: 36px; color: var(--ink); padding: 0; }
.facts h3 { font-size: 1.0625rem; }
.facts p { margin: 6px 0 0; color: var(--muted); font-size: .9688rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts li { flex-direction: row; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 28px 0 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 50%; background: var(--gold); font-weight: 800; font-size: 1.125rem; position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--line); }
.steps h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { margin: 0; grid-row: span 2; }
  .steps li:not(:last-child)::after { top: 44px; bottom: -28px; left: 21px; right: auto; width: 2px; height: auto; }
}

/* ---------- Services lists ---------- */
.services-section { background: var(--stone); }
.split-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.service-columns { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); }
.service-columns > div > h3 { font-size: 1.25rem; font-stretch: var(--semi); font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.service-columns h3 a { text-decoration: none; }
.service-columns h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.service-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.service-columns > div:last-child .service-links { columns: 1; }
.service-links li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.service-links a { display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; font-weight: 600; }
.service-links .icon { width: 30px; height: 30px; color: var(--muted); }
.service-links a:hover .icon { color: var(--ink); }
.service-links a:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.callout { margin-top: 32px; padding: 22px 24px; background: var(--paper); border-left: 4px solid var(--gold); }
.callout h3 { font-size: 1.125rem; border: 0; padding: 0; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--muted); }
.callout.wide { max-width: 760px; background: var(--stone); }
.section.alt .callout.wide, .services-section .callout { background: var(--paper); }
@media (max-width: 820px) { .service-columns { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service-links { columns: 1; } }

/* ---------- Work photos ---------- */
.work-section { overflow: hidden; }
.work-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 300px); gap: 14px;
  list-style: none; margin: 32px 0 0; padding: 0 var(--gutter) 12px;
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.work-strip li { scroll-snap-align: start; }
.work-strip figure { margin: 0; }
.work-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.work-strip figcaption { margin-top: 10px; font-size: .9375rem; font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews-section { background: var(--char); color: var(--on-dark); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.star { width: 18px; height: 18px; }
.review-featured { margin: 0; position: sticky; top: 120px; }
.review-featured .star { width: 24px; height: 24px; }
.review-featured blockquote { margin: 20px 0 0; }
.review-featured p { font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.35; font-weight: 500; color: #fff; }
.review-featured figcaption, .review figcaption { font-weight: 700; color: var(--on-dark-muted); }
.review-list h2 { color: #fff; margin-bottom: 8px; }
.review { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--char-3); }
.review blockquote { margin: 10px 0 8px; }
.review p { margin: 0; color: var(--on-dark); }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } .review-featured { position: static; } }

/* ---------- Brands ---------- */
.brands-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: end; }
.brands-head p { margin: 0; color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; list-style: none; margin: 40px 0 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-row img { height: 34px; width: auto; filter: grayscale(1) contrast(1.2); opacity: .85; }
.also { margin-top: 20px; color: var(--muted); }
.also a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
@media (max-width: 760px) { .brands-head { grid-template-columns: 1fr; } .logo-row { gap: 20px 32px; } .logo-row img { height: 28px; } }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; list-style: none; margin: 32px 0 0; padding: 0; }
.brand-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 140px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.brand-grid img { max-height: 48px; width: auto; }
.brand-grid span { font-size: .875rem; color: var(--muted); }
.brand-names { columns: 4 160px; column-gap: 32px; list-style: none; margin: 24px 0; padding: 0; }
.brand-names li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* ---------- Service area ---------- */
.area { border-top: 1px solid var(--line); }
.area-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.city-list { columns: 3 140px; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.city-list li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.zip-check { margin-top: 28px; max-width: 380px; }
.zip-check label { display: block; font-weight: 700; margin-bottom: 8px; }
.zip-row { display: flex; gap: 8px; }
.zip-row input { flex: 1; }
.zip-result { margin: 10px 0 0; min-height: 1.6em; font-weight: 600; }
.zip-result.ok { color: #1d6b2f; }
.zip-result.no { color: #8a3a00; }
@media (max-width: 820px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); padding: clamp(40px, 6vw, 72px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-stretch: var(--wide); }
.cta-band p { margin: 10px 0 0; font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--char); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 72px) 0 0; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; font-weight: 700; color: #fff; margin-bottom: 14px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 8px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--char-3); }
.hours dt { color: var(--on-dark); }
.hours dd { margin: 0; text-align: right; }
.footer-base { margin-top: 48px; padding-bottom: 24px; }
.footer-base p { border-top: 1px solid var(--char-3); padding-top: 20px; }
.footer-base p { margin: 0; font-size: .875rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--char); border-top: 1px solid var(--char-3); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; font-weight: 800; text-decoration: none; color: #fff; }
  .mobile-bar a:first-child { background: var(--gold); color: var(--ink); }
  .mobile-bar .icon { width: 22px; height: 22px; }
  body { padding-bottom: 58px; }
}

/* ---------- Inner page heroes ---------- */
.page-hero { background: var(--char); color: var(--on-dark); padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.page-hero-grid.has-photo, .page-hero-grid:has(.hero-icon) { grid-template-columns: 1.4fr 1fr; }
.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 380px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 8px; }
.hero-icon { justify-self: end; display: grid; place-items: center; width: clamp(160px, 22vw, 260px); aspect-ratio: 1; border-radius: 50%; background: var(--char-2); color: var(--gold); }
.hero-icon .icon { width: 50%; height: 50%; stroke-width: 1.6; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .9063rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .page-hero-grid.has-photo, .page-hero-grid:has(.hero-icon) { grid-template-columns: 1fr; }
  .hero-icon { display: none; }
  .hero-photo { justify-self: start; max-width: none; }
  .hero-photo img { aspect-ratio: 16 / 10; }
}

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); padding-top: var(--space); padding-bottom: var(--space); align-items: start; }
.prose p { font-size: 1.125rem; max-width: 66ch; }
.prose p:first-child { font-size: 1.25rem; }
.block { margin-top: 56px; }
.block h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 8px 14px; background: var(--stone); border-radius: 999px; font-weight: 600; font-size: .9375rem; }

.problems { border-top: 1px solid var(--line); margin-top: 8px; }
.problems details { border-bottom: 1px solid var(--line); }
.problems summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.problems summary::-webkit-details-marker { display: none; }
.problems summary .toggle { width: 22px; height: 22px; transition: transform .2s; }
.problems details[open] summary .toggle { transform: rotate(45deg); }
.problems ul { margin: -4px 0 20px; padding-left: 1.2em; color: var(--muted); }
.problems li { margin-bottom: 4px; }
.problems li::marker { color: var(--gold-deep); }

.tips { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.tips div { border-top: 3px solid var(--gold); padding-top: 14px; }
.tips dt { font-weight: 700; margin-bottom: 4px; }
.tips dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .tips { grid-template-columns: 1fr; } }

.parts { columns: 3 170px; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.parts li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: .9688rem; }

.detail-aside { position: sticky; top: 100px; display: grid; gap: 24px; }
.book-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 24px; display: grid; gap: 10px; }
.book-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.card-facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; font-size: .9375rem; }
.card-facts li { display: flex; gap: 12px; align-items: flex-start; }
.card-facts .icon { width: 22px; height: 22px; margin-top: 1px; }
.side-nav h2 { font-size: 1rem; font-stretch: 100%; font-weight: 700; margin-bottom: 8px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: .9688rem; }
.side-nav .icon { width: 22px; height: 22px; color: var(--muted); }
.side-nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.side-nav a[aria-current="page"] { font-weight: 700; }
.side-nav a[aria-current="page"] .icon { color: var(--gold-deep); }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

/* ---------- Tiles (hub pages) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; margin: 40px 0 0; padding: 0; }
.tile-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 24px; background: var(--paper); text-decoration: none; transition: background-color .15s; }
.tile-grid .icon { width: 40px; height: 40px; color: var(--ink); }
.tile-grid h3 { font-size: 1.125rem; }
.tile-grid p { margin: 0; color: var(--muted); font-size: .9688rem; }
.tile-grid a:hover { background: var(--gold-soft); }
.section.alt .tile-grid a { background: var(--paper); }
.section.alt .tile-grid a:hover { background: var(--gold-soft); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-van { margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 32px 0 0; }
.values div { border-top: 3px solid var(--gold); padding-top: 14px; }
.values dt { font-weight: 800; font-stretch: var(--semi); font-size: 1.125rem; margin-bottom: 6px; }
.values dd { margin: 0; color: var(--muted); }
.affiliations { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; }
.affiliations p { margin: 0; color: var(--muted); }
.affiliations ul { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.affiliations img { height: 56px; width: auto; }
@media (max-width: 820px) { .about-grid, .affiliations { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; line-height: 1.5; }
.contact-card strong { display: block; }
a.contact-card:hover { border-color: var(--ink); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 8px; background: var(--stone); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 50px; background: #fff;
  border: 1.5px solid #a9a7a1; border-radius: var(--radius);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 189, 16, .55); }
[aria-invalid="true"] { border-color: #b3261e; }

.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-form { max-width: 640px; }
.book-form fieldset { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.book-form legend { font-size: 1.375rem; font-weight: 800; font-stretch: var(--semi); margin-bottom: 18px; padding: 0; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); min-height: 1.4em; }
.hint.ok { color: #1d6b2f; font-weight: 600; }
.hint.warn { color: #8a3a00; font-weight: 600; }
.field-row.thirds { grid-template-columns: 1fr 1fr 1fr; }
.field-row.wide-first { grid-template-columns: 2fr 1fr; }
.zip-field { max-width: 220px; }
.zip-out { margin-top: 8px; padding: 18px 20px; background: #fff3e8; border-left: 4px solid #c25700; }
.zip-out h3 { margin-bottom: 4px; }
.zip-out p { margin: 0; }
.locked.is-locked { opacity: .35; pointer-events: none; user-select: none; }
.locked { transition: opacity .2s; }

/* Big choice cards, small pills, day and time pickers — all radio buttons underneath. */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice, .pill, .day, .slot { position: relative; }
.choice input, .pill input, .day input, .slot input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid #a9a7a1; border-radius: var(--radius); cursor: pointer; }
.choice small { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #a9a7a1; border-radius: 999px; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 68px; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.days > p { grid-column: 1 / -1; width: max-content; max-width: min(60ch, 100%); white-space: normal; margin: 0; }
.days:has(> p) { display: block; }
.day span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 82px; border: 1.5px solid #a9a7a1; border-radius: var(--radius); cursor: pointer; line-height: 1.2; }
.day strong { font-size: 1.375rem; font-stretch: var(--semi); }
.day small { font-size: .8125rem; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.slot span { display: grid; place-items: center; min-height: 52px; padding: 8px; border: 1.5px solid #a9a7a1; border-radius: var(--radius); text-align: center; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.choice input:checked + span, .pill input:checked + span, .day input:checked + span, .slot input:checked + span { background: var(--gold); border-color: var(--ink); }
.day input:checked + span small { color: var(--ink); }
.choice input:checked + span small { color: var(--ink); }
.choice input:focus-visible + span, .pill input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.choice span:hover, .pill span:hover, .day span:hover, .slot span:hover { border-color: var(--ink); }
[aria-invalid="true"].choice-grid, [aria-invalid="true"].pill-grid, [aria-invalid="true"].days, [aria-invalid="true"].slots { outline: 2px solid #b3261e; outline-offset: 6px; border-radius: 4px; }
.book-form legend .opt { font-size: 1rem; font-stretch: 100%; }
.form-error { color: #b3261e; font-weight: 600; min-height: 1.4em; }
.book-aside { position: sticky; top: 100px; }
.book-aside .book-card { border-width: 1px; border-color: var(--line); background: var(--stone); }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } .book-aside { position: static; order: -1; } }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } .slots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .field-row, .field-row.thirds, .field-row.wide-first { grid-template-columns: 1fr; } .zip-field { max-width: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
