/* Ironwood demo: warm limestone ground, charcoal ink, burnt-clay accent. */

:root {
  --paper: #F5F1EA;
  --paper-deep: #EAE3D8;
  --paper-raised: #FAF7F2;
  --paper-bright: #FFFDF9;
  --line: #DCD2C3;
  --ink: #22201D;
  --ink-soft: #5E574E;
  --accent: #A2482B;
  --accent-hover: #853921;
  --accent-ink: #FFF8F2;
  --error: #9B2C2C;
  --glow-warm: #E0B99A;
  --glow-cool: #A8A49B;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --measure: 62ch;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --nav-height: 72px;
}

/* ===== 01-base.css ===== */

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }   /* the hidden attribute always wins over component display rules */

h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Particle canvas ---------- */

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Everything else sits above the canvas */
.site-header, main, .site-footer {
  position: relative;
  z-index: 1;
}

/* ===== 02-buttons.css ===== */

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 500 0.9375rem/1 var(--font-body);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.button-primary:hover { background: #000; border-color: #000; }

.button-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.button-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button-outline:hover { background: var(--ink); color: var(--paper); }

/* ===== 03-header.css ===== */

/* ---------- Sticky header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;   /* above main, so content scrolls under the header and the mobile menu overlays it */
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  font-variation-settings: "opsz" 32, "SOFT" 40;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-amp { font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9375rem;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color 160ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { font-weight: 500; }

.nav-menu-cta { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease, background-color 160ms ease;
}
.nav-toggle-bars { top: 50%; left: 50%; margin: -0.75px 0 0 -9px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }

/* ===== 04-hero.css ===== */

/* ---------- Hero ---------- */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(80px, 12vh, 150px);
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(3rem, 10.5vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -0.005em;
  color: var(--accent);
}

.hero-copy {
  max-width: var(--measure);
  margin: clamp(28px, 4vw, 44px) auto 0;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}

.hero-meta {
  margin-top: clamp(40px, 6vw, 72px);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* Home hero: copy on the left, a featured project print on the right */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-top: clamp(72px, 11vh, 140px);
  text-align: left;
}
.hero-split .hero-title { font-size: clamp(3rem, 6vw, 5.5rem); }   /* sized so "A Home You Love." holds one line */
.hero-split .hero-copy { margin-left: 0; margin-right: 0; }
.hero-split .hero-actions { justify-content: flex-start; }

.hero-feature {
  justify-self: end;
  max-width: 440px;
  transform: rotate(1.25deg);
  box-shadow:
    0 1px 1px color-mix(in srgb, var(--ink) 5%, transparent),
    0 28px 56px -28px color-mix(in srgb, var(--ink) 45%, transparent);
}
.hero-feature:hover { transform: rotate(0deg) translateY(-3px); }
.hero-feature-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  outline: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.hero-feature-media:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-feature:hover .hero-feature-media img { transform: scale(1.025); }
.hero-feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-feature .hero-feature-link { margin-top: 4px; padding-top: 6px; font-size: 0.875rem; }

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-copy { margin-left: auto; margin-right: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-feature { justify-self: center; width: min(100%, 420px); text-align: left; }
}

/* ===== 05-card-photo.css ===== */

/* Work photos inside Home showcase cards and Services ledger cells */
.card-photo {
  aspect-ratio: 4 / 3;
  margin-bottom: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  background: var(--paper-deep);
  outline: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card-photo-wide { aspect-ratio: 16 / 9; }
.card-photo-low img { object-position: 50% 85%; }
.showcase-card:hover .card-photo img,
.service:hover .card-photo img { transform: scale(1.03); }
/* The lead card spans two rows, so its photo grows to fill the extra height */
.showcase-card-lead .card-photo { flex: 1 1 auto; min-height: 280px; aspect-ratio: auto; }
@media (max-width: 760px) {
  .showcase-card-lead .card-photo { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
}

/* ===== 06-showcase.css ===== */

/* ---------- Showcase: review strip, highlights, asymmetric service grid ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.showcase {
  border-top: 1px solid var(--line);
}

/* Full-width band; the cards inside align to the page container */
.review-strip {
  width: 100%;
  padding: clamp(28px, 4vw, 48px) 0;
  background: color-mix(in srgb, var(--paper-deep) 85%, transparent);
  border-bottom: 1px solid var(--line);
}

.review-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.review-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.review-text::before { content: "\201C"; }
.review-text::after { content: "\201D"; }

.review-by {
  margin-top: auto;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.showcase-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(72px, 10vw, 128px);
}

/* Highlights: one horizontal row, divided by hairlines */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight {
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
}
.highlight:first-child { padding-left: 0; }
.highlight:last-child { border-right: 0; padding-right: 0; }

.highlight h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.highlight p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* Asymmetric grid: the lead card runs the full height of the left column */
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(44px, 6vw, 72px);
}

.showcase-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 55%, transparent);
}
.showcase-card-lead {
  grid-row: 1 / span 2;
  padding: clamp(32px, 4.5vw, 64px);
  background: color-mix(in srgb, var(--paper-deep) 70%, transparent);
}

.showcase-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.showcase-card-lead h3 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-variation-settings: "opsz" 96, "SOFT" 30;
  letter-spacing: -0.025em;
}

.showcase-card p {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.9875rem;
  text-wrap: pretty;
}
.showcase-card-lead p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.text-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: clamp(24px, 3vw, 36px);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--accent);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size 220ms ease, color 160ms ease;
}
.text-link:hover {
  color: var(--accent-hover);
  background-size: 0% 1px;
}

/* ===== 07-motion.css ===== */

/* Scroll reveal: hidden on load, slid and faded in by the observer in app.js */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible,
html.reveal-fallback .reveal {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Home hero entrance: copy rises in line by line, then the featured print
   drops in and settles at its tilt. fill-mode "backwards" only holds the
   start state during the delay, so hover transforms still work afterwards. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-print {
  from { opacity: 0; transform: translateY(28px) rotate(4deg); }
  to { opacity: 1; transform: rotate(1.25deg); }
}
.hero-split .hero-text > * { animation: hero-rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-split .hero-text > :nth-child(2) { animation-delay: 120ms; }
.hero-split .hero-text > :nth-child(3) { animation-delay: 220ms; }
.hero-split .hero-text > :nth-child(4) { animation-delay: 320ms; }
.hero-split .hero-text > :nth-child(5) { animation-delay: 420ms; }
.hero-feature { animation: hero-print 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 280ms backwards; }

/* Photos settle into place: they start a touch zoomed and ease back as they
   scroll into view. Uses the separate "scale" property so it stacks with the
   hover zoom (which uses "transform"). app.js adds html.photo-motion and .is-in. */
/* Only scale moves (no fade), so a photo is never hidden even if the observer is late. */
html.photo-motion .card-photo img,
html.photo-motion .gallery-item img {
  scale: 1.1;
  transition:
    scale 1600ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.photo-motion .is-in img { scale: 1; }

/* ===== 08-plans.css ===== */

/* ---------- Estimates: centered head, scope toggle, three plans ---------- */

.estimates-head {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}
.estimates-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.estimates-head p {
  margin: 20px auto 0;
  max-width: 52ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Segmented control with a sliding thumb behind the active option */
.scope-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 420px);
  margin: clamp(32px, 4vw, 44px) auto 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper-deep) 80%, transparent);
}
.scope-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: var(--ink);
  border-radius: var(--radius);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scope-toggle[data-scope="repairs"] .scope-thumb { transform: translateX(100%); }

.scope-option {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  font: 500 0.9375rem/1 var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 200ms ease;
}
.scope-option.is-active { color: var(--paper); }
.scope-option:focus-visible { outline-offset: -3px; outline-color: var(--paper); }
.scope-option:not(.is-active):hover { color: var(--ink); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 72px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 260ms ease, box-shadow 260ms ease;
}
.plan:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--ink) 30%, transparent);
}

/* Featured plan: luminous gradient border drawn on the border box, paper on top */
.plan-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(160deg,
      color-mix(in srgb, var(--accent) 80%, transparent) 0%,
      color-mix(in srgb, var(--glow-warm) 70%, transparent) 45%,
      color-mix(in srgb, var(--accent) 45%, transparent) 100%) border-box;
  box-shadow:
    0 0 0 5px color-mix(in srgb, var(--accent) 6%, transparent),
    0 0 48px -8px color-mix(in srgb, var(--accent) 22%, transparent),
    0 24px 48px -28px color-mix(in srgb, var(--accent) 35%, transparent);
}
.plan-featured:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 5px color-mix(in srgb, var(--accent) 9%, transparent),
    0 0 56px -6px color-mix(in srgb, var(--accent) 30%, transparent),
    0 28px 52px -28px color-mix(in srgb, var(--accent) 40%, transparent);
}

.plan-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.plan h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 48, "SOFT" 30;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.plan-desc {
  margin-top: 14px;
  min-height: 5.2em;
  color: var(--ink-soft);
  font-size: 0.9875rem;
  text-wrap: pretty;
  transition:
    opacity 220ms ease var(--swap-delay, 0ms),
    transform 220ms ease var(--swap-delay, 0ms);
}
.plan-desc.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
}
.plan-price-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 48, "SOFT" 40;
  font-size: 1.625rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.plan-price-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.plan .button {
  margin-top: clamp(24px, 3vw, 32px);
  width: 100%;
}

/* ===== 09-reviews.css ===== */

/* ---------- Testimonials: glass cards ---------- */

.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.glass-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: color-mix(in srgb, var(--paper) 42%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent),
    0 14px 36px -20px color-mix(in srgb, var(--ink) 22%, transparent);
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 260ms ease, box-shadow 260ms ease;
}
/* Blurred color layer behind the glass */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 15% 0%, color-mix(in srgb, var(--glow-warm) 55%, transparent), transparent 70%),
    radial-gradient(55% 45% at 100% 100%, color-mix(in srgb, var(--glow-cool) 35%, transparent), transparent 70%);
  filter: blur(18px);
  opacity: 0.9;
  transition: opacity 260ms ease;
}
.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent),
    0 22px 44px -22px color-mix(in srgb, var(--ink) 28%, transparent);
}
.glass-card:hover::before { opacity: 1; }

.glass-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Profile photo placeholder: neutral silhouette on a paper disc */
.avatar {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-color: var(--paper-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='18' r='8' fill='%235C554C' fill-opacity='0.45'/%3E%3Cpath d='M8 44c1.5-9 8-14 16-14s14.5 5 16 14z' fill='%235C554C' fill-opacity='0.45'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.glass-who { min-width: 0; }
.glass-name {
  font-weight: 500;
  font-size: 0.9875rem;
  line-height: 1.3;
}
.glass-project {
  margin-top: 3px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.placeholder-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px dashed color-mix(in srgb, var(--ink) 28%, transparent);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-soft);
  vertical-align: middle;
}

.glass-quote { margin: 0; }
.glass-quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.glass-card:not(.glass-card-placeholder) .glass-quote p::before { content: "\201C"; }
.glass-card:not(.glass-card-placeholder) .glass-quote p::after { content: "\201D"; }

.glass-meta {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ===== 10-gallery.css ===== */

/* ---------- Our Work: photo gallery and lightbox ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}
.gallery > li { display: flex; }

/* Gallery frame: paper mat, keyline around the print, caption on the mat */
.frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: clamp(10px, 1.1vw, 14px) clamp(10px, 1.1vw, 14px) 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow:
    0 1px 1px color-mix(in srgb, var(--ink) 4%, transparent),
    0 10px 24px -16px color-mix(in srgb, var(--ink) 28%, transparent);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 300ms ease;
}
.frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 1px color-mix(in srgb, var(--ink) 5%, transparent),
    0 20px 36px -18px color-mix(in srgb, var(--ink) 34%, transparent);
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-deep);
  overflow: hidden;
  cursor: zoom-in;
  /* keyline: a thin dark rule just inside the mat, like a print border */
  outline: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  outline-offset: 0;
}
.gallery-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery-item { aspect-ratio: 4 / 5; }
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.frame:hover .gallery-item img { transform: scale(1.025); }

/* Hover cue on gallery photos that open larger */
.gallery-item:not(.gallery-item-static) { position: relative; }
.gallery-item:not(.gallery-item-static)::after {
  content: "View larger";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 12px 6px 30px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6' fill='none' stroke='%23F6F2EB' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") 11px center / 13px no-repeat,
    color-mix(in srgb, var(--ink) 78%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font: 500 0.75rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.frame:hover .gallery-item::after,
.gallery-item:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery-item:not(.gallery-item-static)::after { display: none; }
}

.frame figcaption {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 2px 16px;
}
.frame-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 24, "SOFT" 40;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.frame-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}
/* "Pictured:" line sits at the bottom of every frame so rows line up */

.gallery-credit {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px) clamp(16px, 7vw, 96px);
  border: 0;
  background: transparent;
  color: var(--paper);
}
.lightbox::backdrop {
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightbox-in 220ms ease;
}
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 140px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  transition: opacity 200ms ease;
}
.lightbox-img.is-loading { opacity: 0.25; }
.lightbox-caption {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  max-width: 72ch;
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}
.lightbox-count { flex: 0 0 auto; font-variant-numeric: tabular-nums; }

.lightbox-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.lightbox-btn:hover {
  background: color-mix(in srgb, var(--paper) 14%, transparent);
  border-color: color-mix(in srgb, var(--paper) 60%, transparent);
}
.lightbox-btn:focus-visible { outline-color: var(--paper); }
.lightbox-prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox-close { right: clamp(8px, 2vw, 28px); top: clamp(8px, 2vw, 28px); }

/* ===== 11-contact-tips.css ===== */

/* ---------- Contact link popups ---------- */

.tip {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 32px -16px color-mix(in srgb, var(--ink) 45%, transparent);
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--tip-x, 0), calc(var(--tip-y, 0) + 4px));
  transition: opacity 160ms ease, transform 160ms ease;
}
.tip.is-visible {
  opacity: 1;
  transform: translate(var(--tip-x, 0), var(--tip-y, 0));
}
.tip::after {
  content: "";
  position: absolute;
  left: var(--arrow-x, 50%);
  width: 10px; height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}
.tip[data-side="top"]::after { bottom: -5px; }
.tip[data-side="bottom"]::after { top: -5px; }

.tip-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 24, "SOFT" 40;
  font-size: 1rem;
  line-height: 1.25;
}
.tip-body {
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}

/* ===== 12-page-blocks.css ===== */

/* ---------- Multi-page: page openers, request steps, CTA band ---------- */

.section.page-first {
  border-top: 0;
  padding-top: clamp(64px, 9vw, 112px);
}
.section-head h1,
.estimates-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 120, "SOFT" 30;
  font-size: clamp(2.75rem, 6.2vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.step {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}
.step h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.step p {
  margin-top: 10px;
  font-size: 0.9875rem;
  color: var(--ink-soft);
}

.cta-band {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-deep) 85%, transparent);
}
.cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--gutter);
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.cta-inner p {
  margin-top: 14px;
  color: var(--ink-soft);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* ===== 13-form.css ===== */

/* ---------- Estimate request form ---------- */

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.request-form {
  display: grid;
  gap: clamp(28px, 3vw, 36px);
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper-raised) 88%, transparent);
  box-shadow: 0 14px 36px -26px color-mix(in srgb, var(--ink) 30%, transparent);
}

.form-group {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-group > legend,
.choice-field > legend {
  padding: 0;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.choice-field.field > legend {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0;
}
.optional {
  margin-left: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field > label {
  font-weight: 500;
  font-size: 0.9375rem;
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"],
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.request-form textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.request-form select {
  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 d='M7 10l5 5 5-5' fill='none' stroke='%235C554C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.request-form input:hover,
.request-form select:hover,
.request-form textarea:hover { border-color: color-mix(in srgb, var(--ink) 32%, transparent); }
.request-form input:focus-visible,
.request-form select:focus-visible,
.request-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  background: var(--paper-bright);
}
.request-form [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 12%, transparent);
}

.field-hint { font-size: 0.8125rem; color: var(--ink-soft); }
.field-error { font-size: 0.8125rem; font-weight: 500; color: var(--error); }

/* Segmented choice pills built on real radio inputs */
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
/* Inside a form row, the pills become an even two-up segmented control */
.choice-field.field .choice-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.choice-field.field .pill span {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  text-align: center;
  line-height: 1.2;
}
.choice-field.field > legend { margin-bottom: 7px; }
.pill:hover span { border-color: color-mix(in srgb, var(--ink) 36%, transparent); color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Tap-to-choose groups: wrapping chips under a small label */
.chip-field > legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.chip-field .pill span { min-height: 42px; padding: 0 14px; }
.pill input:checked + span { transform: translateY(-1px); }
.pill span { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease; }
/* Checkbox chips gain a check mark when chosen */
.pill-check span::before {
  content: "";
  width: 0;
  height: 9px;
  margin-right: 0;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  opacity: 0;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: width 160ms ease, margin-right 160ms ease, opacity 160ms ease;
}
.pill-check input:checked + span::before { width: 5px; margin-right: 9px; opacity: 1; }

/* Live preview of the text message the form will write */
.msg-preview {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.msg-preview-label {
  justify-self: start;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.msg-bubble {
  max-width: min(100%, 460px);
  padding: 12px 16px;
  border-radius: 18px 18px 4px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.msg-bubble:empty { display: none; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: 0.8125rem; color: var(--ink-soft); max-width: 62ch; }

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  font-size: 0.9375rem;
}
.form-status strong { display: block; margin-bottom: 2px; font-weight: 600; }
.form-status.is-error {
  border-left-color: var(--error);
  background: color-mix(in srgb, var(--error) 7%, transparent);
}

/* ===== 14-contact-aside.css ===== */

/* Contact sidebar */
.request-aside {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper-deep) 75%, transparent);
}
.request-aside h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.request-aside h3:not(:first-child) { margin-top: 10px; }

.next-steps { display: grid; gap: 14px; }
.next-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-steps p { font-size: 0.9375rem; color: var(--ink-soft); padding-top: 6px; }
.aside-note { font-size: 0.8125rem; color: var(--ink-soft); padding-top: 14px; border-top: 1px solid var(--line); }

.contact-sub { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; }

/* ===== 15-about.css ===== */

/* ---------- About page ---------- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-story { display: grid; gap: 1.1em; max-width: 60ch; }
.about-story p {
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.about-story p:first-child {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}
.about-photo .frame { box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--ink) 35%, transparent); }
.gallery-item-static { cursor: default; }

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value {
  padding: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 26px);
  border-right: 1px solid var(--line);
}
.value:first-child { padding-left: 0; }
.value:last-child { border-right: 0; padding-right: 0; }
.value h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.value p { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-soft); }

/* "Read all reviews" card sits in the review grid beside the two quotes */
.glass-card-link { padding: 0; }
.review-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: clamp(26px, 3vw, 36px);
}
.review-link-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 48, "SOFT" 40;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.review-link-body { color: var(--ink-soft); font-size: 0.9875rem; }
.review-link-cta {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--accent);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size 220ms ease;
}
.review-link:hover .review-link-cta { background-size: 0% 1px; }

/* Keep the About photo close to the story's height so tall photos don't leave a gap */
.about-layout { align-items: center; }
.about-photo .gallery-item { aspect-ratio: 4 / 3; }

/* ===== 16-service-area.css ===== */

/* ---------- Service area ---------- */

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.area-towns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}
.area-town {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 0 clamp(16px, 2vw, 24px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  letter-spacing: -0.01em;
}
.area-town:nth-child(4n) { border-right: 0; }
.area-town:nth-last-child(-n + 4) { border-bottom: 0; }
.area-town.is-home { background: var(--accent); color: var(--accent-ink); }

.area-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper-deep) 75%, transparent);
}
.area-card-label { font-size: 0.875rem; color: var(--ink-soft); }
.area-card-address {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 48, "SOFT" 40;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.area-card-note { color: var(--ink-soft); font-size: 0.9375rem; }
.area-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }

/* ===== 17-sections.css ===== */

/* ---------- Sections ---------- */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.section-head p {
  max-width: 48ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Services: a bordered ledger, not cards */

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}

.service {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service:nth-child(3n) { border-right: 0; }
.service:nth-last-child(-n + 3) { border-bottom: 0; }

.service h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.service p {
  margin-top: 12px;
  font-size: 0.9875rem;
  color: var(--ink-soft);
}

.note {
  max-width: var(--measure);
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--paper-deep) 80%, transparent);
  color: var(--ink-soft);
  font-size: 0.9875rem;
}
.note strong { color: var(--ink); font-weight: 600; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}

.contact-row {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
.contact-row:last-child { border-right: 0; }

.contact-row dt {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.contact-row dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.contact-row dd a { border-bottom: 1px solid var(--line); transition: border-color 160ms ease; }
.contact-row dd a:hover { border-color: var(--ink); }

/* ===== 18-footer.css ===== */

/* ---------- Footer ---------- */

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 56px) var(--gutter) 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.footer-brand { display: grid; gap: 4px; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
}
.footer-brand a { border-bottom: 1px solid var(--line); }
.footer-brand a:hover { border-color: var(--ink); color: var(--ink); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-content: start;
  justify-content: flex-end;
}
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--ink); }
.footer-nav a[aria-current="page"] { font-weight: 500; }
.footer-note { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }

/* ===== 19-responsive.css ===== */

/* ---------- Responsive ---------- */

/* Menu button below 1080px: five page links and the estimate button need that much room on one line */
@media (max-width: 1080px) {
  .nav { gap: 12px; position: relative; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; flex: 0 0 auto; }

  /* Dropdown panel under the sticky header */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px color-mix(in srgb, var(--ink) 40%, transparent);
    font-size: 1.0625rem;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav-menu-cta { display: block; padding-top: 16px; }
  .nav-menu-cta .button { display: flex; width: 100%; padding: 0; color: var(--accent-ink); }
}

@media (max-width: 1024px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .service:nth-last-child(-n + 2) { border-bottom: 0; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-row { border-bottom: 1px solid var(--line); }
  .contact-row:nth-child(2n) { border-right: 0; }
  .contact-row:nth-last-child(-n + 2) { border-bottom: 0; }

  .review-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid, .glass-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .plan-featured { order: -1; }
  .plan-grid { padding-top: 12px; }
  .request-layout { grid-template-columns: 1fr; }
  .about-layout, .area-layout { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(2n) { border-right: 0; padding-right: 0; }
  .value:nth-child(2n + 1) { padding-left: 0; }
  .value:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .request-aside { position: static; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .brand { font-size: 1rem; white-space: normal; line-height: 1.15; flex: 1 1 auto; min-width: 0; }

  .section-head { grid-template-columns: 1fr; align-items: start; }

  .service-list, .contact-grid { grid-template-columns: 1fr; }
  .service, .contact-row { border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child, .contact-row:last-child { border-bottom: 0; }

  .hero-actions .button { width: 100%; max-width: 360px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: 0; }
  .area-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-town { min-height: 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .area-town:nth-child(2n) { border-right: 0; }
  .area-town:nth-last-child(-n + 2) { border-bottom: 0; }
  .area-card-actions .button { width: 100%; }
  .form-actions .button { width: 100%; }
  .cta-actions .button { width: 100%; max-width: 360px; }

  .review-strip-inner { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .highlight { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: 0; }
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .showcase-card-lead { grid-row: auto; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .lightbox-img { max-height: calc(100dvh - 180px); }
}

/* ===== 20-stories.css ===== */

/* Gallery: project stories, photo beside a Before / The work / Result ledger */
.story-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper-deep) 60%, transparent);
}
.story:nth-child(2n) .story-photo { order: 2; }   /* alternate sides */
.story-photo { margin: 0; aspect-ratio: 4 / 3; }
.story-body { padding: 4px clamp(0px, 1vw, 12px) 4px 0; }
.story-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.story h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.story-steps { display: grid; margin-top: clamp(18px, 2vw, 26px); }
.story-steps div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.story-steps dt { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.story-steps dd { margin: 0; font-size: 0.9875rem; color: var(--ink-soft); text-wrap: pretty; }
.story-note {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
  .story:nth-child(2n) .story-photo { order: 0; }
  .story-steps div { grid-template-columns: 1fr; gap: 2px; }
}

/* ===== 21-mobile-bar.css ===== */

/* Phone quick-contact bar: hidden above phone width; app.js adds .is-shown */
.mobile-bar { display: none; }

@media (max-width: 760px) {
  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    padding: 8px;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 45%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 24px));
    transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 220ms ease, visibility 0s linear 320ms;
  }
  .mobile-bar.is-shown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 220ms ease, visibility 0s;
  }
  .mobile-bar .button {
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
  }
  .mobile-bar .button-outline { background: var(--paper); }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .plan:hover, .glass-card:hover { transform: none; }
  .plan-desc.is-swapping { opacity: 1; transform: none; }
  .frame:hover, .frame:hover .gallery-item img { transform: none; }
  .hero-feature, .hero-feature:hover { transform: rotate(1.25deg); }
  .mobile-bar { transform: none; }
  .hero-split .hero-text > *, .hero-feature { animation: none; }
  html.photo-motion .card-photo img, html.photo-motion .gallery-item img { scale: 1; }
  .pill input:checked + span { transform: none; }
  .hero-feature:hover .hero-feature-media img, .showcase-card:hover .card-photo img, .service:hover .card-photo img { transform: none; }
  .lightbox[open] { animation: none; }
}

/* ===== 22-faq.css ===== */

/* ---------- FAQ: questions that open one at a time ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 52rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  transition: border-color 250ms ease, background 250ms ease;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--paper-raised);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Chevron that turns when the answer opens */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }

.faq-answer {
  padding: 0 24px 22px;
  max-width: var(--measure);
  color: var(--ink-soft);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.faq-item[open] .faq-answer { animation: faq-open 350ms cubic-bezier(0.2, 0.7, 0.2, 1); }

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-answer { animation: none; }
}

/* ===== 23-facts.css ===== */

/* ---------- Facts strip: numbers that count up ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}

.fact {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; }

.fact-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.fact-affix { color: var(--accent); }
.fact-label {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Two per row on phones, with rules between the rows */
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n + 2) { border-top: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ===== 24-steps.css ===== */

/* ---------- Process steps on a line that draws across ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
/* The grey rail, then the accent track drawn over it (app.js adds html.steps-motion and .is-drawn) */
.steps::before,
.steps-track {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--line);
}
.steps-track {
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(1);
}
html.steps-motion .steps-track { transform: scaleX(0); transition: transform 1600ms cubic-bezier(0.2, 0.7, 0.2, 1) 200ms; }
html.steps-motion .steps-track.is-drawn { transform: scaleX(1); }

.steps-item {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
}
.steps-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 6px var(--paper);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}
.steps-label {
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.steps-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.steps-item p {
  color: var(--ink-soft);
  font-size: 0.9875rem;
}

/* Stacked steps: the rail only makes sense in a single row */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before, .steps-track { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== 25-before-after.css ===== */

/* ---------- Before and after: drag the handle to compare ---------- */

.before-after {
  margin: 0;
  max-width: 900px;
}

.ba-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  touch-action: pan-y;
}
.ba-frame:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }

.ba-layer { position: absolute; inset: 0; }
.ba-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The after photo is cut off left of the handle */
.ba-after { clip-path: inset(0 0 0 var(--split)); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: var(--paper-bright);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    var(--paper-bright);
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--ink) 45%, transparent);
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 70%, transparent);
  color: var(--paper-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

/* The real control: an invisible range input over the whole photo */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba-caption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* ===== 26-gallery-filter.css ===== */

/* ---------- Gallery room filter ---------- */

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.gallery-filter-option {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  font: 500 0.9375rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.gallery-filter-option:hover { border-color: var(--accent); color: var(--ink); }
.gallery-filter-option[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* Photos fade in when a filter brings them back */
@keyframes gallery-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.gallery > li.is-filtered-in { animation: gallery-in 380ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@media (prefers-reduced-motion: reduce) {
  .gallery > li.is-filtered-in { animation: none; }
}

/* ===== 27-demo-banner.css ===== */

/* ---------- Demo label ---------- */

.demo-banner {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  padding: 8px var(--gutter);
}
.demo-banner p { max-width: var(--container); margin: 0 auto; }
.demo-banner strong {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
