/* ==========================================================================
   BRAND TOKENS — the only block that changes when the real logo lands.
   Swap these values and the entire site re-skins. Nothing below hardcodes
   a colour or a font family.
   ========================================================================== */
:root {
  /* --- Surfaces: true black, straight off the House of Epoxy mark --- */
  --ink:            #000000;
  --ink-raised:     #0C0A06;   /* warm near-black — never a cool grey */
  --ink-line:       #2A2317;   /* gold-tinted hairline, matches the logo's frame */
  --concrete:       #F6F1E6;   /* warm ivory for light sections */
  --concrete-deep:  #E4DAC4;

  /* --- Accent: the gold gradient sampled from the logo --- */
  --metal:          #D4AF37;   /* core gold */
  --metal-bright:   #F7E7B4;   /* champagne highlight (top of the logo gradient) */
  --metal-deep:     #A9791C;   /* deep bronze (bottom of the gradient) */
  --patina:         #8C6239;   /* warm bronze — the second swirl in a metallic pour */
  --pearl:          #EFE0BC;

  /* --- Text --- */
  --text-on-dark:        #F2EAD8;   /* warm ivory, not white */
  --text-on-dark-muted:  #A2977F;   /* 6.9:1 on black */
  --text-on-light:       #14100A;
  --text-on-light-muted: #5A5040;   /* 7.1:1 on --concrete */

  /* --- Semantic --- */
  --surface:      var(--ink);
  --on-surface:   var(--text-on-dark);
  --cta:          var(--metal);
  --on-cta:       #171104;          /* near-black on gold = 8.4:1 */
  --focus:        var(--metal-bright);
  --danger:       #E2564B;
  --border:       var(--ink-line);

  /* --- Type ---------------------------------------------------------------
     Display: Playfair Display — high-contrast Didone serif. The closest
     Google-hosted match to the logo's engraved Roman capitals, and it keeps
     the "floors become art" promise in the letterforms themselves.
     Body: Jost — geometric sans whose wide-tracked capitals mirror the
     "PREMIUM EPOXY FLOORING" lockup exactly.
     ------------------------------------------------------------------- */
  --font-display: 'Playfair Display', 'Didot', 'Times New Roman', serif;
  --font-body:    'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid scale — no media queries needed, never overflows a 320px phone */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.55rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3:  clamp(2.05rem, 1.6rem + 2.2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.8rem + 4vw, 4.8rem);
  --step-5:  clamp(3.1rem, 1.9rem + 6vw, 7rem);

  /* --- Spacing: spacious marketing scale (density dial: low) --- */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  --radius:     14px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-soft:  0 1px 2px rgb(0 0 0 / 0.28), 0 8px 24px -12px rgb(0 0 0 / 0.45);
  --shadow-lift:  0 2px 6px rgb(0 0 0 / 0.3), 0 24px 48px -20px rgb(0 0 0 / 0.55);

  /* --- Motion: 150-300ms band per the UX ruleset --- */
  --ease:      cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:  160ms;
  --dur:       240ms;
  --dur-slow:  460ms;

  --wrap: 1200px;
  --header-h: 72px;
}

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

/* Any component with a `display` value outbids the UA stylesheet's
   [hidden] { display: none }. Restate it so `hidden` always wins. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* belt-and-braces against horizontal scroll */
}

body.nav-open { overflow: hidden; }

/* A Didone wants air, not the tight tracking a grotesk would take. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

img, canvas, svg, video { max-width: 100%; display: block; }

img { height: auto; }

/* Visible focus for every keyboard user — never removed. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100px;
  z-index: 200;
  background: var(--cta);
  color: var(--on-cta);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-3); }

/* ==========================================================================
   REVEAL — the stagger, done in CSS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ==========================================================================
   BUTTONS — 44px minimum target, everywhere
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition:
    transform var(--dur-fast) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--cta);
  color: var(--on-cta);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--metal-bright); box-shadow: var(--shadow-lift); }

.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: color-mix(in srgb, var(--text-on-dark) 26%, transparent);
}
.btn--ghost:hover {
  border-color: var(--text-on-dark);
  background: color-mix(in srgb, var(--text-on-dark) 8%, transparent);
}

.btn--light {
  background: var(--text-on-light);
  color: var(--concrete);
}
.btn--light:hover { background: #000; }

.btn--wide { width: 100%; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

/* The crest, used whole. It carries the wordmark and tagline itself, so no
   separate text lockup sits beside it. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--text-on-dark);
}

/* The crest carries the identity; the wordmark carries legibility. At 46px
   the engraved text inside the crest is texture, not type — so the name is
   set alongside it in the same Playfair capitals the crest uses. */
.logo__text {
  display: grid;
  gap: 2px;
  line-height: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
}
.logo__text .is-house {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--metal);
}
.logo__text .is-epoxy {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, var(--metal-bright), var(--metal) 58%, var(--metal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo__crest {
  height: 56px;
  width: auto;
  display: block;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.logo:hover .logo__crest {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--metal) 45%, transparent));
}
.logo--footer { gap: 0; }
.logo--footer .logo__crest { height: 148px; }

@media (max-width: 599px) {
  /* On a narrow header the crest alone reads better than a cramped pair. */
  .logo__text { display: none; }
}

@media (max-width: 599px) {
  .logo__crest { height: 48px; }
}

.nav {
  display: none;
  gap: var(--space-5);
  margin-left: auto;
  font-size: var(--step--1);
  font-weight: 500;
}
.nav a {
  color: var(--text-on-dark-muted);
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--metal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--text-on-dark); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--step--1);
  min-height: 44px;
  padding-inline: var(--space-2);
  color: var(--text-on-dark);
}
.header__phone svg { width: 16px; height: 16px; color: var(--metal); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }

.menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--ink);
  padding: var(--space-5) 1.25rem var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  overflow-y: auto;
}
.menu a {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.menu__cta { margin-top: var(--space-5); display: grid; gap: var(--space-3); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__actions { margin-left: 0; }
  .header__phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .menu { display: none !important; }
}

/* ==========================================================================
   HERO — the metallic pour, generated in CSS. This is the thesis:
   the most characteristic thing in an epoxy floor's world is the pour itself.
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 8vw, 7rem) clamp(3.5rem, 9vw, 8rem);
  overflow: hidden;
}

/* The pour sits BEHIND the brand, not over it. Black stays dominant; the gold
   is a glint catching the light in one corner, the way the real mark reads. */
.hero__pour {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 150%;
  z-index: -2;
  background:
    radial-gradient(46% 42% at 78% 28%, color-mix(in srgb, var(--metal) 62%, transparent) 0%, transparent 66%),
    radial-gradient(40% 38% at 88% 62%, color-mix(in srgb, var(--patina) 58%, transparent) 0%, transparent 64%),
    radial-gradient(38% 34% at 62% 14%, color-mix(in srgb, var(--metal-bright) 40%, transparent) 0%, transparent 62%);
  filter: blur(72px) saturate(1.15);
  opacity: 0.34;
  /* Fade to pure black on the left so the headline sits on true black. */
  mask-image: linear-gradient(100deg, transparent 8%, #000 58%);
  animation: pour 30s ease-in-out infinite alternate;
}

/* Only transform + opacity animate — stays on the compositor, no repaints. */
@keyframes pour {
  0%   { transform: rotate(0deg)   scale(1);    opacity: 0.26; }
  50%  { transform: rotate(5deg)   scale(1.08); opacity: 0.38; }
  100% { transform: rotate(-3deg)  scale(1.03); opacity: 0.3; }
}

/* Suspended flake, drawn once to canvas */
.hero__flake {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  mask-image: radial-gradient(70% 70% at 72% 40%, #000 20%, transparent 92%);
}

.hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

/* Tracking matched to the "PREMIUM EPOXY FLOORING" lockup in the mark. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--metal);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: currentColor;
  flex: none;
}

/* The diamond rule from the crest, reused as a section ornament. */
.ornament {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--metal-deep);
  margin-bottom: var(--space-4);
}
.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}
.ornament span {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--metal);
  flex: none;
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 500;   /* the size carries the weight; heavy Didone turns muddy */
  margin-bottom: var(--space-4);
}
/* Italic gold on "art" — the one word the whole brand rests on. Vertical
   gradient mirrors the logo's own champagne-to-bronze fill. */
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(178deg, var(--metal-bright) 12%, var(--metal) 52%, var(--metal-deep) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: var(--step-1);
  color: var(--text-on-dark-muted);
  max-width: 46ch;
  margin-bottom: var(--space-5);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  color: var(--text-on-dark-muted);
}
.hero__note svg { width: 16px; height: 16px; color: var(--patina); flex: none; }

/* Split path: residential default, commercial equal-access */
.paths {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.path {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--ink-raised) 70%, transparent);
  backdrop-filter: blur(8px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.path:hover {
  border-color: color-mix(in srgb, var(--metal) 65%, transparent);
  transform: translateY(-3px);
  background: var(--ink-raised);
}
.path__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--metal) 16%, transparent);
  color: var(--metal-bright);
  flex: none;
}
.path__icon svg { width: 22px; height: 22px; }
.path h3 { font-size: var(--step-1); margin-bottom: 2px; }
.path p { font-size: var(--step--1); color: var(--text-on-dark-muted); }
.path__arrow { margin-left: auto; color: var(--text-on-dark-muted); flex: none; }
.path:hover .path__arrow { color: var(--metal-bright); }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-7); }
  .paths { margin-top: 0; }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust {
  border-block: 1px solid var(--border);
  background: var(--ink-raised);
  padding-block: var(--space-5);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  text-align: center;
}
.trust__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--metal-bright);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.trust__label {
  font-size: var(--step--1);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-2);
}
@media (min-width: 760px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding-block: clamp(3.5rem, 9vw, var(--space-8)); }
.section--light {
  background: var(--concrete);
  color: var(--text-on-light);
}
.section--light .section__lede { color: var(--text-on-light-muted); }

.section__head { max-width: 62ch; margin-bottom: var(--space-6); }
.section__head h2 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.section__lede { font-size: var(--step-1); color: var(--text-on-dark-muted); }

.section--light .eyebrow { color: var(--metal-deep); }

/* ==========================================================================
   SYSTEMS — flake vs metallic, the two things you actually sell
   ========================================================================== */
.systems {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 880px) {
  .systems { grid-template-columns: 1fr 1fr; }
}

.system {
  border: 1px solid var(--concrete-deep);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.system:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgb(0 0 0 / 0.35);
}

/* Swatch previews the finish itself — no photo required. */
.system__swatch {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.system__swatch--flake {
  background: var(--concrete-deep);
}
.system__swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Overlapping soft clouds, no hard centre — a real metallic pour has drifting
   movement, not the radial spokes a conic gradient produces. */
.system__swatch--metallic {
  background:
    radial-gradient(58% 70% at 18% 24%, color-mix(in srgb, var(--metal-bright) 88%, transparent), transparent 58%),
    radial-gradient(52% 62% at 72% 22%, color-mix(in srgb, var(--patina) 82%, transparent), transparent 56%),
    radial-gradient(70% 68% at 84% 76%, color-mix(in srgb, var(--metal) 92%, transparent), transparent 60%),
    radial-gradient(64% 60% at 34% 88%, color-mix(in srgb, #2A1D0C 92%, transparent), transparent 62%),
    radial-gradient(46% 44% at 52% 52%, color-mix(in srgb, var(--metal-deep) 78%, transparent), transparent 64%),
    linear-gradient(140deg, #1A1206, #6E4E12 45%, #3A2A12);
}
/* A slow, wide sheen across the surface — the light moving over resin. */
.system__swatch--metallic::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(118deg, transparent 32%, rgb(255 255 255 / 0.3) 47%, transparent 60%);
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen {
  from { transform: translate3d(-14%, 0, 0); }
  to   { transform: translate3d(14%, 0, 0); }
}

.system__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.system h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.system p { color: var(--text-on-light-muted); margin-bottom: var(--space-4); }

.spec {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: var(--space-2);
  font-size: var(--step--1);
}
.spec li { display: flex; gap: var(--space-2); align-items: flex-start; }
.spec svg { width: 17px; height: 17px; color: var(--metal); flex: none; margin-top: 3px; }
.system .btn { margin-top: auto; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.steps {
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}

.step {
  position: relative;
  padding-top: var(--space-5);
  border-top: 2px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: calc(-1 * var(--space-4));
  left: 0;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--metal);
  background: var(--surface);
  padding-right: var(--space-3);
}
.step h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.step p { font-size: var(--step--1); color: var(--text-on-dark-muted); }
.step__time {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--patina);
}

/* ==========================================================================
   WORK — gallery + before/after
   ========================================================================== */
.compare {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-raised);
  border: 1px solid var(--border);
}
.compare__stage {
  position: relative;
  aspect-ratio: 16 / 10;   /* reserved space — CLS stays at 0 */
}
.compare__layer {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
}
.compare__layer--after { clip-path: inset(0 0 0 50%); }

.compare__tag {
  position: absolute;
  top: var(--space-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgb(0 0 0 / 0.62);
  color: #fff;
  backdrop-filter: blur(6px);
}
.compare__tag--before { left: var(--space-3); }
.compare__tag--after { right: var(--space-3); }

.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25);
}
.compare__handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-lift);
}

/* The range input is the actual control: keyboard + screen reader native. */
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare__range:focus-visible { opacity: 0; }
.compare__range:focus-visible ~ .compare__handle::after {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.gallery figure { margin: 0; }
.gallery__frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-raised);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease);
}
.gallery figure:hover .gallery__frame { transform: scale(1.015); }
.gallery figcaption {
  margin-top: var(--space-2);
  font-size: var(--step--1);
  color: var(--text-on-dark-muted);
}

/* Placeholder treatment — obviously intentional, not a broken image. */
.ph {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  padding: var(--space-4);
  background:
    repeating-linear-gradient(-45deg,
      color-mix(in srgb, var(--metal) 7%, transparent) 0 12px,
      transparent 12px 24px);
  color: var(--text-on-dark-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ph svg { width: 26px; height: 26px; opacity: 0.5; }

/* ==========================================================================
   SERVICE AREA — the database flags "no map" as a conversion anti-pattern
   ========================================================================== */
.areas {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 900px) {
  .areas { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
}

.area-map {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--concrete-deep);
  background: #fff;
}
.area-map iframe { width: 100%; height: 100%; border: 0; }

.towns {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-2) var(--space-4);
}
.towns li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  color: var(--text-on-light-muted);
}
.towns svg { width: 14px; height: 14px; color: var(--metal); flex: none; }

/* ==========================================================================
   REVIEWS — kept prominent; hiding them is the second flagged anti-pattern
   ========================================================================== */
.reviews {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--ink-raised);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.stars { display: flex; gap: 3px; color: var(--metal-bright); }
.stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0; font-size: var(--step-0); }
.review figcaption {
  margin-top: auto;
  font-size: var(--step--1);
  color: var(--text-on-dark-muted);
}
.review cite { font-style: normal; font-weight: 600; color: var(--text-on-dark); display: block; }

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.quote {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 940px) {
  .quote { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); }
}

.quote__card {
  background: var(--ink-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, var(--space-6));
}

.progress { display: flex; gap: var(--space-2); margin-bottom: var(--space-5); }
.progress span {
  height: 4px;
  flex: 1;
  border-radius: var(--radius-pill);
  background: var(--border);
  transition: background-color var(--dur) var(--ease);
}
.progress span.is-done,
.progress span.is-current { background: var(--metal); }

/* Steps are all visible without JS; the class hides the inactive ones. */
.is-stepped [data-step]:not(.is-active) { display: none; }

fieldset { border: 0; margin: 0; padding: 0; }
legend {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  margin-bottom: var(--space-2);
  padding: 0;
}
legend + p { color: var(--text-on-dark-muted); font-size: var(--step--1); margin-bottom: var(--space-4); }

.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.field label { font-size: var(--step--1); font-weight: 600; }
.field .hint { font-size: 0.8rem; color: var(--text-on-dark-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--space-3);
  font: inherit;
  font-size: 16px; /* 16px minimum stops iOS zooming on focus */
  color: var(--text-on-dark);
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--metal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--metal) 26%, transparent);
}
.field input:user-invalid,
.field select:user-invalid { border-color: var(--danger); }

/* Tile radios — big tap targets, one tap advances the step */
.tiles { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile { position: relative; }
.tile input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.tile span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 76px;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ink);
  font-weight: 600;
  font-size: var(--step--1);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tile small { font-weight: 400; color: var(--text-on-dark-muted); }
.tile input:checked + span {
  border-color: var(--metal);
  background: color-mix(in srgb, var(--metal) 12%, var(--ink));
}
.tile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile:hover span { border-color: color-mix(in srgb, var(--metal) 55%, transparent); }

.form-actions { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.form-actions .btn--primary { flex: 1; }

.quote__aside { display: grid; gap: var(--space-4); }
.quote__point { display: flex; gap: var(--space-4); align-items: flex-start; }
.quote__point svg { width: 22px; height: 22px; color: var(--metal); flex: none; margin-top: 3px; }
.quote__point h3 { font-size: var(--step-1); margin-bottom: 4px; }
.quote__point p { font-size: var(--step--1); color: var(--text-on-dark-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 74ch; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--concrete-deep); }
.faq__item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-4) 0;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.faq__item button svg {
  width: 20px; height: 20px;
  flex: none;
  color: var(--metal-deep);
  transition: transform var(--dur) var(--ease);
}
.faq__item button[aria-expanded='true'] svg { transform: rotate(45deg); }

/* 0fr → 1fr animates height with no JS measurement */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p {
  color: var(--text-on-light-muted);
  padding-bottom: var(--space-4);
  max-width: 68ch;
}

/* ==========================================================================
   FINAL CTA + FOOTER
   ========================================================================== */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3.5rem, 10vw, var(--space-8));
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 110%, color-mix(in srgb, var(--metal) 42%, transparent), transparent 70%);
}
.final h2 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.final p { color: var(--text-on-dark-muted); font-size: var(--step-1); max-width: 52ch; margin-inline: auto; margin-bottom: var(--space-5); }
.final__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-6) var(--space-5);
  font-size: var(--step--1);
  color: var(--text-on-dark-muted);
}
.footer__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: var(--space-6);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer a:hover { color: var(--metal-bright); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
}

/* ==========================================================================
   STICKY MOBILE CALL BAR — call and quote at equal weight on phones
   ========================================================================== */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.callbar .btn { min-height: 50px; padding-inline: var(--space-3); }

@media (min-width: 900px) {
  .callbar { display: none; }
}
@media (max-width: 899px) {
  body { padding-bottom: 76px; } /* reserve space so the bar never covers content */
}

/* ==========================================================================
   TOUCH TARGETS — text links in lists are the usual offenders. On pointer:
   coarse devices every one of them gets to the 44px minimum.
   ========================================================================== */
@media (pointer: coarse) {
  .footer ul a,
  .quote__point a,
  .faq__panel a,
  .menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer ul { gap: 0; }
}

.logo { min-height: 44px; }

/* ==========================================================================
   REDUCED MOTION — honoured globally, per the two High-severity UX rules
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .hero__pour { animation: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .header, .callbar, .menu, .hero__pour, .hero__flake { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}

/* ==========================================================================
   ═══ CINEMATIC LAYER ═══
   Cross-page transitions, split-text reveals, pinned scroll, magnetics.
   Everything here is progressive enhancement: unsupported browsers get the
   plain page, and prefers-reduced-motion switches all of it off.
   ========================================================================== */

/* --- Cross-document view transitions -------------------------------------
   One line enables real animated navigation between pages in Chrome, Edge
   and Safari 18.2+. Everywhere else it's an ordinary instant page load.
   ------------------------------------------------------------------- */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vt-out 300ms cubic-bezier(0.4, 0, 1, 1) both;
}
::view-transition-new(root) {
  animation: vt-in 520ms var(--ease-out) both;
}
@keyframes vt-out {
  to { opacity: 0; transform: translateY(-10px) scale(0.995); filter: blur(3px); }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(16px) scale(1.006); filter: blur(4px); }
}

/* The chrome persists and morphs instead of flashing out and back in. */
.header    { view-transition-name: site-header; }
.callbar   { view-transition-name: call-bar; }
.footer    { view-transition-name: site-footer; }

/* A gold seam sweeps across the cut — the pour, as a transition. */
::view-transition-new(root)::before { content: ''; }

html::view-transition-group(root) { animation-duration: 520ms; }

/* --- Gold scroll progress rail --- */
.progress-rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress-rail span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--metal-deep), var(--metal), var(--metal-bright));
  box-shadow: 0 0 12px color-mix(in srgb, var(--metal) 60%, transparent);
}

/* --- Split-text headline reveal ------------------------------------------
   Words rise out of a clipped line, the way pigment surfaces in a pour.
   ------------------------------------------------------------------- */
.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;   /* room for descenders inside the clip */
  margin-bottom: -0.08em;
}
.split-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1000ms var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 55ms);
  will-change: transform;
}
.is-in .split-word,
[data-reveal].is-in .split-word { transform: translateY(0); }

/* --- Magnetic buttons: the CTA leans toward the cursor --- */
.magnetic {
  transition:
    transform 380ms var(--ease-out),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.magnetic.is-pulled { transition-duration: 90ms; }

/* Gold bloom that follows the pointer across a button */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 0.55), transparent 68%);
  opacity: 0;
  transition: transform 620ms var(--ease-out), opacity 620ms var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.btn--primary > * { position: relative; z-index: 1; }

/* --- Hero video layer ----------------------------------------------------
   Sits above the CSS pour and below the flake. If the video is missing or
   the connection is slow, the generated pour still carries the hero.
   ------------------------------------------------------------------- */
/* Graded, not just dimmed. The footage is bright, cool and grey; the brand is
   black and gold. Desaturating, warming and darkening it lets the clip read as
   the room behind the type instead of a competing image. */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.42) sepia(0.22) brightness(0.58) contrast(1.12);
  transition: opacity 1400ms var(--ease);
}
.hero__video.is-ready { opacity: 0.55; }

.hero::after {
  /* Keeps type legible over any footage that lands behind it. The left side,
     where the headline sits, stays close to true black. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(92deg,
      var(--ink) 4%,
      color-mix(in srgb, var(--ink) 88%, transparent) 34%,
      color-mix(in srgb, var(--ink) 55%, transparent) 62%,
      color-mix(in srgb, var(--ink) 28%, transparent) 100%),
    linear-gradient(0deg, var(--ink) 3%, transparent 46%),
    /* a wash of gold over the whole frame ties it to the mark */
    linear-gradient(120deg, color-mix(in srgb, var(--metal-deep) 20%, transparent), transparent 70%);
}

/* With footage behind them, the path cards need their own backing to stay
   readable — the frosted panel alone isn't enough over a bright plate. */
.hero__video.is-ready ~ .wrap .path {
  background: color-mix(in srgb, var(--ink) 78%, transparent);
}

/* --- Pinned scroll chapter ----------------------------------------------
   The section sticks while its panels cross-fade under scroll control.
   ------------------------------------------------------------------- */
.pin { position: relative; }
.pin__viewport {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  overflow: hidden;
}
/* Every panel occupies the same grid cell, so the stack is exactly as tall as
   its tallest panel. The previous approach left panel 1 in flow and absolutely
   positioned the rest, which meant a taller later panel overflowed the box and
   the section jumped height as you scrolled. */
.pin__panels { display: grid; }
.pin__panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms var(--ease), transform 500ms var(--ease-out);
  pointer-events: none;
  will-change: opacity, transform;
}
.pin__panel.is-live {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* The outgoing panel exits upward, so the pair reads as one continuous move
   rather than two unrelated fades. */
.pin__panel.is-past { transform: translateY(-24px); }

.pin__rail {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.pin__rail span {
  height: 2px;
  flex: 1;
  background: var(--border);
  overflow: hidden;
  border-radius: 2px;
}
/* Filled continuously from scroll position (--p, 0→1) instead of snapping
   between states. The rail becomes a real progress readout for the chapter. */
.pin__rail span::before {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: var(--metal);
}
.pin__rail span.is-live { background: color-mix(in srgb, var(--metal) 26%, var(--border)); }

/* --- Swatch ripple on hover --- */
.system__swatch { position: relative; }
.system__swatch::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%),
    rgb(255 255 255 / 0.42), transparent 42%);
  opacity: 0;
  transition: opacity 520ms var(--ease);
  pointer-events: none;
}
.system:hover .system__swatch::before { opacity: 1; }

/* --- Section index numerals, the ornament from the crest --- */
.chapter-no {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  color: var(--metal-deep);
  display: block;
  margin-bottom: var(--space-3);
}

/* --- Page hero (interior pages) --- */
.pagehead {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.pagehead::before {
  content: '';
  position: absolute;
  inset: -60% -30% auto -30%;
  height: 160%;
  z-index: -1;
  background: radial-gradient(44% 40% at 72% 30%, color-mix(in srgb, var(--metal) 46%, transparent), transparent 68%);
  filter: blur(80px);
  opacity: 0.4;
}
.pagehead h1 { font-size: var(--step-4); font-weight: 500; }
.pagehead p { color: var(--text-on-dark-muted); font-size: var(--step-1); max-width: 56ch; margin-top: var(--space-4); }

.crumbs {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-4);
}
.crumbs a:hover { color: var(--metal); }
.crumbs svg { width: 12px; height: 12px; }

/* --- Gallery filters --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.filter {
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-on-dark-muted);
  font: inherit;
  font-size: var(--step--1);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filter:hover { border-color: var(--metal-deep); color: var(--text-on-dark); }
.filter[aria-pressed='true'] {
  background: var(--metal);
  border-color: var(--metal);
  color: var(--on-cta);
}
.tile-out {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

/* --- Nav active state --- */
.nav a[aria-current='page'] { color: var(--metal); }
.nav a[aria-current='page']::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
  .split-word { transform: none !important; transition: none !important; }
  .magnetic { transform: none !important; }
  /* Un-stack the grid so the chapters read as an ordinary list of sections. */
  .pin { min-height: 0 !important; }
  .pin__viewport { position: static; height: auto; }
  .pin__panels { display: block; }
  .pin__panel { grid-area: auto; opacity: 1 !important; transform: none !important; }
  .pin__panel + .pin__panel { margin-top: var(--space-6); }
  .pin__rail { display: none; }
  .hero__video { display: none; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.prices {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.price {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--ink-raised);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}
.section--light .price { border-color: var(--concrete-deep); background: #fff; }

.price__label {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--metal-deep);
  margin-bottom: var(--space-3);
}
.price__figure {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-2);
}
.price__figure small {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--text-on-dark-muted);
  letter-spacing: 0;
}
.section--light .price__figure small { color: var(--text-on-light-muted); }
.price__note { font-size: var(--step--1); color: var(--text-on-dark-muted); margin-bottom: var(--space-4); }
.section--light .price__note { color: var(--text-on-light-muted); }
.price .spec { margin-bottom: var(--space-5); }
.price .btn { margin-top: auto; }

/* Differentiator row */
.edges { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.edge { display: flex; flex-direction: column; gap: var(--space-3); }
.edge__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--metal) 14%, transparent);
  color: var(--metal);
}
.edge__icon svg { width: 24px; height: 24px; }
.edge h3 { font-size: var(--step-1); }
.edge p { color: var(--text-on-dark-muted); font-size: var(--step--1); }
.section--light .edge p { color: var(--text-on-light-muted); }

/* Exact-footage field: separated from the tiles so it reads as a refinement
   of the choice above rather than a fifth option. */
.field--exact {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
/* Strip the spinner arrows — they invite fiddling on a number this large. */
.field--exact input[type='number'] { -moz-appearance: textfield; appearance: textfield; }
.field--exact input[type='number']::-webkit-outer-spin-button,
.field--exact input[type='number']::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* File input — the default control is unstyleable and ugly; the button part
   is the one piece we can reach. */
.field input[type='file'] {
  padding: var(--space-2);
  font-size: var(--step--1);
  cursor: pointer;
}
.field input[type='file']::file-selector-button {
  font: inherit;
  font-weight: 600;
  font-size: var(--step--1);
  margin-right: var(--space-3);
  padding: 10px var(--space-4);
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--metal) 14%, transparent);
  color: var(--metal-bright);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.field input[type='file']::file-selector-button:hover {
  background: color-mix(in srgb, var(--metal) 26%, transparent);
  border-color: var(--metal);
}

/* Service area, grouped by direction. Same check-list pattern as before, just
   split into legs so forty-odd towns don't read as one wall of names. */
.legs { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
.leg h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--metal);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.leg h3::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--metal) 45%, transparent), transparent);
}
.section--light .leg h3 { color: var(--metal-deep); }
.leg .towns { margin-top: 0; }

@media (min-width: 700px) {
  .legs { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); }
}

/* Photo slots. Netlify Forms takes one file per field, so three discrete
   inputs rather than one `multiple` — laid out as a row so it still reads
   as a single ask rather than three separate questions. */
.field--photos { border: 0; padding: 0; margin-bottom: var(--space-4); }
.photos__label {
  font-size: var(--step--1);
  font-weight: 600;
  padding: 0;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
}
.photos__grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: var(--space-2);
}
.photo-slot {
  display: grid;
  gap: 6px;
  padding: var(--space-3);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.photo-slot:hover { border-color: var(--metal); background: color-mix(in srgb, var(--metal) 7%, var(--ink)); }
.photo-slot span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
}
.photo-slot input[type='file'] {
  font-size: 0.76rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-on-dark-muted);
}
.photo-slot input[type='file']::file-selector-button {
  font: inherit;
  font-size: 0.74rem;
  margin-right: var(--space-2);
  padding: 6px var(--space-3);
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--metal) 12%, transparent);
  color: var(--metal-bright);
  cursor: pointer;
}
