/* ==========================================================================
   SmartLockPro — redesign, October 2026

   Layout, type scale and motion adapted from the "Refract" reference design
   (github.com/RayVelez27/instalanding.ai, pages/craft-studio-webgl-landing-page,
   MIT licence). Owner's decisions: Refract's cool greys and ink, a LIGHT
   theme, and brass as the single accent in place of Refract's rainbow prism
   gradient — brass is the material keys and locks are actually made of.

   Not adopted from the reference: its Three.js glass knot (a CDN import map
   and a WebGL scene on the critical path would cost the page-speed this site
   ranks on), and its muted text colour. Refract's grey secondary text
   measures 4.15:1 on its own ground — below WCAG AA — so --steel here is
   #40444c at 8.05:1, the "comfortable, not just passing" bar this stylesheet
   settled on before the redesign.

   Width: content fills a laptop screen behind a modest --gutter, so more
   fits across and type can be larger, but stops at --wrap so it does not
   sprawl across a large monitor. Anything full-bleed that must line up with
   the content edge (nav pill, carousel track, CTA panel) uses --edge, the
   distance from the viewport edge to that content edge. Running prose keeps
   a readable measure (--measure) either way.
   ========================================================================== */

/* ---------- fonts ---------- */
/* Self-hosted on purpose: a Google Fonts request sends every visitor's IP to
   Google before consent, which would make the privacy policy untrue. All
   three families are SIL Open Font License. */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var-latin.f5af7a761c2b.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin.9b8dd1ecf641.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.bc891bdd08ad.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var-latin.b636a65da4f0.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #e8e9ec;
  --paper: #f3f4f6;
  --surface: #ffffff;
  --ink: #0d0f14;
  --ink-2: #1a1d24;

  /* 8.05:1 on --bg, 8.88 on --paper, 9.77 on white. */
  --steel: #40444c;
  --line: rgba(13, 15, 20, 0.14);
  --line-soft: rgba(13, 15, 20, 0.08);

  /* Brass, measured against the new greys rather than carried over.
     --brass (#b8752b) is 3.08:1 on --bg, so it is decoration and text-on-dark
     only. --brass-text is the same hue deep enough for text on grey (5.29 on
     --bg, 5.84 on --paper). --brass-fill carries white text at 5.16. */
  --brass: #b8752b;
  --brass-hover: #9c6222;
  --brass-text: #8a5117;
  --brass-fill: #9c5f1f;
  --brass-fill-hover: #834d16;
  --brass-lt: #e8b872;

  --on-dark: #f3f4f6;
  --on-dark-dim: rgba(243, 244, 246, 0.72);

  --good: #047857;
  --warn: #b45309;
  --danger: #b91c1c;

  --gutter: clamp(16px, 2.6vw, 40px);
  --wrap: 1440px;
  /* Only valid where 100% is the viewport width (direct children of the page). */
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  --wrap-narrow: 860px;
  --measure: 68ch;

  --radius: 14px;
  --radius-lg: 26px;
  --pill: 999px;
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(13, 15, 20, 0.04), 0 18px 40px -22px rgba(13, 15, 20, 0.28);
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-display: "Inter Tight", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Was clamp(64px, 8vw, 128px): two sections side by side left up to 256px
     of empty page (owner, 2026-10-17). */
  --section-y: clamp(56px, 6.4vw, 96px);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (max-width: 620px) {
  body {
    font-size: 17px;
  }
}
main {
  flex: 1;
}
/* 720, not 800: at this tight tracking 800 set every heading as a dense
   block (owner, 2026-10-16). The variable face renders the in-between
   weight properly. The wordmark, prices and footer mark stay heavy. */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 720;
  letter-spacing: -0.018em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
  color: inherit;
}
h3 {
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--brass-text);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brass-hover);
}
img {
  max-width: 100%;
  height: auto;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--brass-fill);
  outline-offset: 3px;
  border-radius: 6px;
}
[x-cloak] {
  display: none !important;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--pill);
}
.skip:focus {
  left: 12px;
}

/* ---------- layout ---------- */
/* Full width behind a small gutter. padding-inline, never the padding
   shorthand — an element that also sets padding-top/bottom would zero the
   gutters (the trap that put the old hero copy flush to the screen edge). */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section-sm {
  padding-block: clamp(40px, 5vw, 72px);
}
.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.sec-head {
  max-width: 980px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.96rem);
  letter-spacing: -0.022em;
  margin-top: 14px;
}
.sec-head p {
  color: var(--steel);
  font-size: clamp(18px, 1.4vw, 21px);
  max-width: 44em;
  margin: 18px 0 0;
}
.section-dark .sec-head p {
  color: var(--on-dark-dim);
}

/* Mono eyebrow with a brass square, Refract's labelling idiom with the
   accent swapped in. .label is the pre-redesign name, still used by
   templates across the site; both render identically. */
.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}
.eyebrow::before,
.label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brass);
  border-radius: 2px;
  flex: none;
}
.section-dark .eyebrow,
.section-dark .label,
.mc--dark .eyebrow {
  color: var(--on-dark-dim);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brass-fill);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 15px 24px;
  border: 1.5px solid var(--brass-fill);
  border-radius: var(--pill);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
  box-shadow: 0 10px 24px -14px rgba(156, 95, 31, 0.7);
}
.btn:hover {
  background: var(--brass-fill-hover);
  border-color: var(--brass-fill-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  font-size: 17px;
  padding: 18px 28px;
}
.btn-block {
  width: 100%;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(13, 15, 20, 0.28);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.section-dark .btn-outline,
.mc--dark .btn-outline,
.band .btn-outline {
  color: var(--on-dark);
  border-color: rgba(243, 244, 246, 0.3);
}
.section-dark .btn-outline:hover,
.mc--dark .btn-outline:hover,
.band .btn-outline:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- cards ---------- */
.card {
  display: block;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.2vw, 36px);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--lift);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}
a.card:hover {
  transform: translateY(-3px);
  background: var(--surface);
  color: inherit;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(13, 15, 20, 0.05),
    0 28px 50px -24px rgba(13, 15, 20, 0.32);
}
.card h3 {
  font-size: clamp(21px, 1.7vw, 26px);
  margin-bottom: 12px;
}
.card p {
  color: var(--steel);
  font-size: 17px;
  margin: 0;
}
.card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--brass-text);
}
a.card:hover .go svg {
  transform: translateX(3px);
}
.card .go svg {
  transition: transform 0.25s var(--ease-out);
}

/* ---------- nav ---------- */
/* A floating pill, inset from the edges by the same gutter as the content.
   The header itself is transparent and click-through; only the pill takes
   pointer events, so it never blocks the page behind its margins. */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: var(--gutter) var(--edge) 0;
  pointer-events: none;
}
.nav .nav-in {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  max-width: none;
  padding-inline: 22px 8px;
  background: rgba(243, 244, 246, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--pill);
  box-shadow: var(--lift);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand:hover {
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav-links > a,
.menu-btn {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 13px;
  border-radius: var(--pill);
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out);
}
.nav-links > a:hover,
.menu-btn:hover,
.menu-btn[aria-expanded="true"] {
  background: rgba(13, 15, 20, 0.06);
  color: var(--ink);
}
.menu-btn svg {
  transition: transform 0.25s var(--ease-out);
}
.has-menu {
  position: relative;
}
.menu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  z-index: 70;
}
.menu-panel-in {
  min-width: 290px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  box-shadow:
    0 30px 60px -28px rgba(13, 15, 20, 0.4),
    0 2px 6px rgba(13, 15, 20, 0.05);
  padding: 10px;
  display: grid;
}
.menu-panel-in a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  padding: 10px 14px;
  border-radius: 12px;
}
.menu-panel-in a:hover {
  background: var(--bg);
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.nav-cta .tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--pill);
  font-variant-numeric: tabular-nums;
}
.nav-cta .tel:hover {
  background: rgba(13, 15, 20, 0.06);
  color: var(--ink);
}
.nav-cta .wa {
  display: inline-flex;
  color: #128c4b;
  padding: 10px;
  border-radius: var(--pill);
}
.nav-cta .wa:hover {
  background: rgba(13, 15, 20, 0.06);
  color: #0d6e3a;
}
.nav-cta .btn {
  padding: 13px 22px;
  font-size: 15px;
  box-shadow: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 10px;
  border-radius: var(--pill);
  cursor: pointer;
}
.nav-mobile {
  display: none;
  pointer-events: auto;
  margin-top: 8px;
  background: var(--surface);
  border-radius: 26px;
  box-shadow: 0 30px 60px -28px rgba(13, 15, 20, 0.4);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.nav-mobile .wrap {
  display: grid;
  padding-block: 12px 16px;
}
.nav-mobile a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile .btn {
  margin-top: 12px;
}
.nav-mobile .btn-stack {
  margin-top: 8px;
}
.btn-wa {
  background: #128c4b;
  border-color: #128c4b;
}
.btn-wa:hover {
  background: #0d6e3a;
  border-color: #0d6e3a;
}
@media (max-width: 1320px) {
  .nav-cta .tel {
    display: none;
  }
}
@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  /* x-show only toggles an inline display, so the stylesheet has to allow
     the panel here or the burger opens nothing. */
  .nav-mobile {
    display: block;
  }
  .nav .nav-in {
    padding-inline: 18px 6px;
  }
  .nav-cta {
    margin-left: auto;
  }
}
@media (max-width: 430px) {
  .nav .nav-in {
    min-height: 58px;
    gap: 8px;
    padding-inline: 14px 4px;
  }
  .brand {
    font-size: 17px;
  }
  .nav-cta .btn {
    padding: 11px 15px;
    font-size: 14px;
  }
  .nav-cta .wa {
    padding: 8px;
  }
}
/* The smallest phones (320px): the pill ran 12px past the screen. */
@media (max-width: 350px) {
  .nav .nav-in {
    gap: 4px;
  }
  .brand {
    font-size: 15.5px;
  }
  .nav-cta .btn {
    padding: 10px 12px;
    font-size: 13px;
  }
  .hero-copy .eyebrow {
    white-space: normal;
    font-size: 9px;
    max-width: 100%;
  }
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(28px, 4vw, 64px);
  /* A sub-pixel from the rotating area name (an unbreakable inline-grid)
     made the page scroll sideways on 320px phones. Clip, not hidden: no
     scroll container is created. */
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: center;
}
.hero-copy {
  padding-block: clamp(8px, 2vw, 32px);
}
.hero-title {
  font-size: clamp(2.75rem, 5.7vw, 5.13rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-top: 22px;
}
.hero-sub {
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.5;
  color: var(--steel);
  max-width: 32em;
  margin: clamp(20px, 2vw, 30px) 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 2.6vw, 40px);
}
.hero-contact {
  display: none;
}
.hero-price {
  margin: 22px 0 0;
  font-size: 16px;
  color: var(--steel);
}
.hero-price strong {
  color: var(--ink);
  font-size: 19px;
}
.hero-media {
  position: relative;
  height: clamp(440px, 76vh, 880px);
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--lift);
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s var(--ease-out),
    visibility 0s linear 0.9s;
}
.hero-slide.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--ease-out);
}
.hero-slide img,
.hero-slide .clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(243, 244, 246, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 34em;
}
.hero-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 6px;
  background: rgba(13, 15, 20, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 10px;
  border-radius: var(--pill);
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    width 0.3s var(--ease-out),
    background 0.3s;
}
.hero-dots button.on {
  width: 24px;
  background: #fff;
}
/* Facts strip. dt comes first in the markup for meaning; visually the figure
   leads, so the pair is reversed with flex rather than reordering the HTML. */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(28px, 3.5vw, 56px) 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 20px 4px 0;
}
.hero-stats > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.52rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1180px) {
  .hero-contact {
    display: inline-flex;
  }
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-slide figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 13.5px;
    padding: 8px 12px;
    border-radius: 12px;
  }
  /* The clip goes ABOVE the headline on phones and tablets: below it, it
     started at the very bottom of the first screen and nobody saw it move.
     Order only — the h1 stays first in the HTML for crawlers and screen
     readers. Sized so the headline still sits in the first screen. */
  .hero-media {
    order: -1;
    height: clamp(240px, 40svh, 460px);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .hero-stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
/* Phone: the quote button gets the full row and the two secondary routes
   share the next, so three stacked pills don't push the picture off the fold. */
@media (max-width: 520px) {
  .hero-actions .btn {
    flex: 1 1 0;
    padding-inline: 14px;
  }
  .hero-actions .btn:first-child {
    flex-basis: 100%;
  }
  .featprod-save {
    border-radius: 14px;
  }
}

/* Phones: the clip becomes the hero's background and the words sit over
   its lower part on a dark fade, the way mobile sites usually open. A
   stacked clip-then-headline read as a desktop layout squeezed down. The
   h1 is still the first thing in the HTML; only the painting changes. */
@media (max-width: 720px) {
  .hero {
    padding-top: 0;
  }
  .hero-grid {
    gap: 0;
  }
  .hero-grid > .hero-copy,
  .hero-grid > .hero-media {
    grid-area: 1 / 1;
  }
  /* Edge to edge and the full first screen under the header bar: an inset
     rounded card read as a framed picture rather than the page opening. */
  .hero-media {
    order: 0;
    height: auto;
    min-height: min(calc(100svh - 60px), 820px);
    margin-inline: calc(var(--gutter) * -1);
    border-radius: 0;
    box-shadow: none;
    background: var(--ink);
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      to top,
      rgba(8, 9, 12, 0.94) 0%,
      rgba(8, 9, 12, 0.78) 38%,
      rgba(8, 9, 12, 0.18) 66%,
      rgba(8, 9, 12, 0) 80%
    );
  }
  /* The clip fills only the top of the card — the part that shows above
     the words — and fades into the dark ground behind them. Covering the
     whole tall card zoomed a near-square clip in until only a thin slice of
     its middle was left. */
  .hero-slide img,
  .hero-slide .clip {
    height: 66%;
    bottom: auto;
    object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  }
  .hero-slide figcaption {
    display: none;
  }
  .hero-copy {
    position: relative;
    z-index: 3;
    align-self: end;
    padding: 0 4px 26px;
    color: #fff;
  }
  .hero-copy .eyebrow {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(9.5px, 2.85vw, 11px);
    letter-spacing: 0.07em;
    white-space: nowrap;
  }
  .hero-copy .rotator {
    color: #fff;
  }
  .hero-title {
    color: #fff;
    font-size: clamp(2.05rem, 9vw, 2.6rem);
    line-height: 0.98;
    margin-top: 12px;
  }
  .hero-sub {
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    margin-top: 12px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .hero-actions .btn,
  .hero-actions .btn:first-child {
    flex: 1 1 0;
    padding: 15px 12px;
    font-size: 16px;
  }
  .hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
  }
  /* The burger menu carries Contact on a phone; over the clip a third
     button is one too many. */
  .hero-actions .hero-contact {
    display: none;
  }
  .hero-price {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
  }
  .hero-price strong {
    color: #fff;
  }
}

/* Rotating coverage area in the eyebrow. CSS-only, real DOM text, pinned to
   "Manchester" under reduced motion. */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.5em;
  color: var(--ink);
  font-weight: 600;
}
.rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  animation: rotate-area 18s infinite;
}
.rotator > span:nth-child(2) {
  animation-delay: 3s;
}
.rotator > span:nth-child(3) {
  animation-delay: 6s;
}
.rotator > span:nth-child(4) {
  animation-delay: 9s;
}
.rotator > span:nth-child(5) {
  animation-delay: 12s;
}
.rotator > span:nth-child(6) {
  animation-delay: 15s;
}
@keyframes rotate-area {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  3%,
  14% {
    opacity: 1;
    transform: translateY(0);
  }
  17%,
  100% {
    opacity: 0;
    transform: translateY(-70%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rotator > span {
    animation: none;
  }
  .rotator > span:first-child {
    opacity: 1;
  }
}

/* Inter Tight at -0.04em closes the WORD gaps as well as the letter gaps,
   so at display sizes "Smart lock" read as one word. Word spacing is put
   back on every large heading rather than loosening the letters. */
.hero-title,
.sec-head h2,
.mc-title,
.featprod-head h2,
.h-section,
.h-block,
.band h2,
.page-head h1,
.statement {
  word-spacing: 0.07em;
}

/* ---------- statement (scroll-lit) ---------- */
.statement-sec {
  padding-block: clamp(56px, 7vw, 112px);
}
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.9vw, 3.51rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.1;
  max-width: 24em;
  margin-top: 26px;
  color: var(--ink);
}
.statement p {
  margin: 0;
}
.statement p + p {
  margin-top: 0.6em;
}
.statement em,
.statement i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brass-text);
}
/* Dimming only applies once the script has split the words, so with no
   script the paragraph is simply at full strength. */
.statement.is-armed .w {
  opacity: 0.16;
  transition: opacity 0.45s var(--ease-out);
}
.statement.is-armed .w.is-lit {
  opacity: 1;
}

/* ---------- media carousel ---------- */
.mc {
  padding-block: var(--section-y);
  overflow: hidden;
}
.mc--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.mc--light {
  background: var(--bg);
  color: var(--ink);
}
.mc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3.4vw, 52px);
}
.mc-head-copy {
  max-width: 980px;
}
.mc-title {
  font-size: clamp(2rem, 4.4vw, 3.96rem);
  letter-spacing: -0.022em;
  margin-top: 14px;
}
.mc--dark .mc-title {
  color: #fff;
}
.mc-intro {
  font-size: clamp(18px, 1.4vw, 21px);
  max-width: 40em;
  margin: 18px 0 0;
  color: var(--steel);
}
.mc--dark .mc-intro {
  color: var(--on-dark-dim);
}
.mc-controls {
  display: flex;
  gap: 8px;
  flex: none;
}
.mc-btn {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--pill);
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.85;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    opacity 0.2s;
}
.mc-btn:hover {
  opacity: 1;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.mc--dark .mc-btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.mc-btn[disabled] {
  opacity: 0.3;
  cursor: default;
}
.mc-track {
  --card-w: clamp(250px, 24vw, 430px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-w);
  gap: clamp(12px, 1.2vw, 18px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 4px var(--edge) 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 127, 127, 0.45) transparent;
}
.mc--landscape .mc-track {
  --card-w: clamp(300px, 44vw, 800px);
}
.mc-track:focus-visible {
  outline-offset: -2px;
}
.mc-card {
  scroll-snap-align: start;
  min-width: 0;
}
.mc-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink-2);
}
.mc--landscape .mc-media {
  aspect-ratio: 16 / 10;
}
.mc-media img,
.mc-media .clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* A clip sits over its poster image and fades in only once it is actually
   playing, so a slow connection shows the still rather than a black box. */
.clip {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.clip.is-playing {
  opacity: 1;
}
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 7px 10px;
  border-radius: var(--pill);
  background: rgba(13, 15, 20, 0.74);
  color: #fff;
  vertical-align: middle;
}
.mc-media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.mc-body {
  padding: 18px 4px 0;
}
.mc-body h3 {
  font-size: clamp(20px, 1.6vw, 25px);
}
.mc-body h3 a {
  color: inherit;
  text-decoration: none;
}
.mc-body h3 a:hover {
  text-decoration: underline;
}
.mc-body p {
  margin: 8px 0 0;
  font-size: 16.5px;
  color: var(--steel);
}
.mc--dark .mc-body p {
  color: var(--on-dark-dim);
}
@media (max-width: 760px) {
  .mc-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .mc-controls {
    display: none;
  }
  .mc-track {
    --card-w: 78vw;
  }
  .mc--landscape .mc-track {
    --card-w: 86vw;
  }
}

/* ---------- showreel ---------- */
/* One wide stage, clips back to back, the words on the footage, and a row
   of captions under it that switch the stage. The stage is inset by the
   gutter alone, not the content width, so it is the widest thing on the
   page. */
.reel {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: var(--section-y);
}
.reel .eyebrow {
  color: var(--on-dark-dim);
}
.reel-head {
  margin-bottom: clamp(28px, 3.4vw, 52px);
}
.reel-title {
  font-size: clamp(2rem, 4.4vw, 3.96rem);
  letter-spacing: -0.022em;
  line-height: 1;
  color: #fff;
  margin-top: 14px;
  max-width: 16em;
  word-spacing: 0.07em;
}
.reel-intro {
  margin: 18px 0 0;
  max-width: 40em;
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--on-dark-dim);
}
.reel-stage {
  position: relative;
  margin-inline: var(--gutter);
  /* Leaves room for the caption row under it, so the stage and the captions
     that switch it fit on one laptop screen together. */
  height: clamp(440px, calc(100svh - 275px), 820px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #07080b;
  isolation: isolate;
}
.reel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s var(--ease),
    visibility 0s linear 0.7s;
}
.reel-slide.is-on {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.7s var(--ease),
    visibility 0s;
  z-index: 1;
}
.reel-fill,
.reel-fg,
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* On a wide screen every clip is shown whole, set right of centre so the
   words have the left side, over a blurred and darkened copy of itself.
   The stage is far wider than 16:9, so filling it would crop a landscape
   clip into a soft close-up. "Fill" only applies on the upright phone
   stage, where a landscape clip should fill the frame. */
.reel-fill {
  object-fit: cover;
  filter: blur(42px) saturate(1.15) brightness(0.5);
  transform: scale(1.2);
}
.reel-fg,
.reel-video {
  object-fit: contain;
  object-position: 76% 50%;
}
.reel-video {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.reel-video.is-playing {
  opacity: 1;
}
/* A still slide drifts very slightly while it is on stage, so the reel
   reads as moving footage before any real footage is in it. */
.reel-slide.is-on .reel-fg {
  animation: reel-drift var(--reel-ms, 6500ms) linear both;
}
@keyframes reel-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}
.reel-slide.is-paused .reel-fg {
  animation-play-state: paused;
}
.reel-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: min(46%, 640px);
  padding: clamp(28px, 4vw, 64px);
  display: grid;
  gap: 14px;
  justify-items: start;
}
/* The words get their own shade rather than relying on what the footage
   happens to show behind them. */
.reel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      90deg,
      rgba(5, 6, 8, 0.72) 0%,
      rgba(5, 6, 8, 0.38) 38%,
      rgba(5, 6, 8, 0) 62%
    ),
    linear-gradient(0deg, rgba(5, 6, 8, 0.5) 0%, rgba(5, 6, 8, 0) 45%);
  pointer-events: none;
}
.reel-slide-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 720;
  letter-spacing: -0.022em;
  line-height: 1;
  word-spacing: 0.07em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.reel-copy p {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 30em;
}
.reel-link {
  color: var(--brass-lt);
  font-weight: 600;
  text-decoration: none;
}
.reel-link:hover {
  color: #fff;
}
/* Entrance for the words on each new slide. */
.reel-slide.is-on .reel-copy > * {
  animation: reel-rise 0.8s var(--ease-out) both;
}
.reel-slide.is-on .reel-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.reel-slide.is-on .reel-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes reel-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reel-toggle {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  width: 48px;
  height: 48px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(13, 15, 20, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease);
}
.reel-toggle[hidden] {
  display: none;
}
.reel-toggle:hover {
  background: rgba(13, 15, 20, 0.85);
}
.reel-toggle:focus-visible {
  outline: 2px solid var(--brass-lt);
  outline-offset: 3px;
}
.reel-ico-play,
.reel-toggle[aria-pressed="true"] .reel-ico-pause {
  display: none;
}
.reel-toggle[aria-pressed="true"] .reel-ico-play {
  display: block;
}
/* Captions under the stage. Each one is a tab: the bar on top fills as its
   clip plays, and choosing one puts that clip on stage. */
.reel-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
  margin-top: clamp(22px, 2.4vw, 34px);
}
.reel-tab {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 6px;
  text-align: left;
  color: var(--on-dark-dim);
  font: inherit;
  cursor: pointer;
  display: grid;
  gap: 8px;
  align-content: start;
  transition: color 0.25s var(--ease);
}
.reel-tab:hover,
.reel-tab.is-on {
  color: #fff;
}
.reel-tab:focus-visible {
  outline: 2px solid var(--brass-lt);
  outline-offset: 6px;
  border-radius: 4px;
}
.reel-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin-bottom: 8px;
}
.reel-bar::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--brass-lt);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.reel-tab strong {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.reel-tab-cap {
  font-size: 15px;
  line-height: 1.45;
  color: var(--on-dark-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Narrower screens: the words go under the picture's lower edge on a
   bottom shade, and the captions become a swipeable strip. */
@media (max-width: 1000px) {
  /* An explicit height, not aspect-ratio + min-height: on a 360px phone
     the min-height was transferred through the ratio to the WIDTH, pushing
     the stage 24px past the screen edge. */
  .reel-stage {
    height: clamp(400px, calc((100vw - 2 * var(--gutter)) * 1.25), 82svh);
  }
  .reel-fg,
  .reel-video {
    object-position: 50% 50%;
  }
  .reel-slide--fill .reel-fg,
  .reel-slide--fill .reel-video {
    object-fit: cover;
  }
  .reel-slide::after {
    background: linear-gradient(
      0deg,
      rgba(5, 6, 8, 0.86) 0%,
      rgba(5, 6, 8, 0.5) 34%,
      rgba(5, 6, 8, 0) 62%
    );
  }
  .reel-copy {
    width: 100%;
    padding: 22px 76px 24px 22px;
    gap: 10px;
  }
  .reel-tabs {
    grid-auto-columns: minmax(64%, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .reel-tabs::-webkit-scrollbar {
    display: none;
  }
  .reel-tab {
    scroll-snap-align: start;
  }
  .reel-tab-cap {
    display: none;
  }
}
@media (min-width: 600px) and (max-width: 1000px) {
  .reel-stage {
    height: clamp(400px, calc((100vw - 2 * var(--gutter)) * 0.8), 82svh);
  }
  .reel-tabs {
    grid-auto-columns: minmax(38%, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reel-slide,
  .reel-slide.is-on {
    transition: none;
  }
  .reel-slide.is-on .reel-fg,
  .reel-slide.is-on .reel-copy > * {
    animation: none;
  }
}

/* ---------- reveal ---------- */
/* Only elements still BELOW the fold when the script runs are hidden, so
   nothing on screen at load ever blinks out and back. */
.is-pending {
  opacity: 0;
  transform: translateY(22px);
}
.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

/* ---------- service grid ---------- */
.grid-1,
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: clamp(12px, 1.2vw, 18px);
}
.grid-1 {
  grid-template-columns: minmax(0, 760px);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.svc {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(12px, 1.2vw, 18px);
}
.svc-col {
  display: grid;
  gap: clamp(12px, 1.2vw, 18px);
  grid-template-rows: repeat(3, 1fr);
}
.svc-feature {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-feature img {
  width: 100%;
  height: clamp(240px, 24vw, 380px);
  object-fit: cover;
  display: block;
}
.svc-feature .fbody {
  padding: clamp(24px, 2.2vw, 36px);
}
.svc-feature h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  margin-bottom: 10px;
}
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brass-fill);
  color: #fff;
  padding: 7px 11px;
  border-radius: var(--pill);
}
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .grid-3,
  .svc {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-col {
    grid-template-rows: none;
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.section-dark .steps {
  border-top-color: rgba(255, 255, 255, 0.16);
}
.step {
  position: relative;
  padding: 30px 26px 8px 0;
}
.step + .step {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.section-dark .step + .step {
  border-left-color: rgba(255, 255, 255, 0.16);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brass);
}
.step + .step::before {
  left: 26px;
}
.step .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass-text);
  letter-spacing: 0.1em;
}
.section-dark .step .n {
  color: var(--brass-lt);
}
.step h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  margin: 12px 0 10px;
}
.step p {
  font-size: 16.5px;
  color: var(--steel);
  margin: 0;
}
.section-dark .step p {
  color: var(--on-dark-dim);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .step:nth-child(3)::before {
    left: 0;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step + .step {
    padding-left: 0;
    border-left: 0;
  }
  .step + .step::before {
    left: 0;
  }
}

/* ---------- page head + prose ---------- */
.page-head {
  padding-block: clamp(36px, 5vw, 84px) clamp(28px, 3vw, 48px);
}
.page-head h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.86rem);
  letter-spacing: -0.025em;
  line-height: 0.96;
  margin-top: 18px;
  max-width: 18em;
}
.page-head .intro,
.page-head .intro p {
  font-size: clamp(19px, 1.5vw, 23px);
  color: var(--steel);
  max-width: 36em;
}
.page-head .intro {
  margin-top: 22px;
}
.head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.crumb {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.crumb a {
  color: var(--steel);
  text-decoration: none;
}
.crumb a:hover {
  color: var(--ink);
}
.prose {
  font-size: 18px;
  line-height: 1.7;
  max-width: var(--measure);
}
.prose > * {
  margin: 0;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.34rem);
}
.prose h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
}
.prose > * + h2 {
  margin-top: 1.6em;
}
.prose > * + h3 {
  margin-top: 1.4em;
}
.prose > h2 + *,
.prose > h3 + * {
  margin-top: 0.5em;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose li::marker {
  color: var(--brass);
}
.prose strong {
  font-weight: 700;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35em;
  line-height: 1.4;
}
.section-dark .prose,
.section-dark .prose p {
  color: var(--on-dark);
}

/* ---------- trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding-block: clamp(32px, 4vw, 56px);
}
.trust > div {
  padding: 6px 22px 6px 0;
}
.trust > div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.trust dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-lt);
}
.trust dd {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.2;
}
.trust dd span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--on-dark-dim);
}
.trust dd a {
  color: var(--brass-lt);
}
@media (max-width: 900px) {
  .trust {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .trust > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 520px) {
  .trust {
    grid-template-columns: 1fr;
  }
  .trust > div + div {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- pricing ---------- */
.price-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.2vw, 36px);
  box-shadow: var(--lift);
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.9vw, 2.75rem);
  font-weight: 720;
  letter-spacing: -0.022em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-card .unit {
  font-size: 16px;
  color: var(--steel);
}
.price-card .desc {
  color: var(--steel);
  margin: 14px 0 0;
}
.fineprint {
  font-size: 15px;
  color: var(--steel);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: 0;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.faq-q svg {
  flex: none;
  transition: transform 0.25s var(--ease-out);
}
.faq-q:hover {
  color: var(--brass-text);
}
.faq-a {
  padding: 0 0 24px;
  color: var(--steel);
  font-size: 17.5px;
  max-width: var(--measure);
}
.faq-a p {
  margin: 0 0 0.8em;
}

/* ==========================================================================
   Retained from the pre-redesign stylesheet: forms, booking, success
   panels, shop, cart and checkout. They re-skin through the tokens above;
   selectors the redesign replaced have been removed from them.
   ========================================================================== */

/* ---------- forms ---------- */
.field {
  display: block;
  margin-bottom: 18px;
}
.field > label,
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 117, 43, 0.18);
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6772' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.errorlist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: var(--danger);
  font-size: 14.5px;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.steps-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 22px;
}
.steps-bar .on {
  /* On the white form card, so the deeper brass: --brass is 3.74:1 here. */
  color: var(--brass-text);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.choice {
  display: block;
  text-align: center;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
}
.choice:has(:checked) {
  border-color: var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass);
}
.choice input {
  display: block;
  margin: 0 auto 8px;
  accent-color: var(--brass);
}

/* ---------- misc ---------- */

.notice {
  padding: 14px 18px;
  border-left: 3px solid var(--brass);
  background: rgba(184, 117, 43, 0.07);
  font-size: 15px;
}
.ok-msg {
  color: var(--good);
  font-weight: 600;
}

.form-success {
  color: #1f6f4a;
  font-weight: 600;
  background: #eaf6ef;
  border: 1px solid #bfe0cd;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0;
}
.hidden {
  display: none;
}

/* ---------- layout helpers (used by templates instead of inline styles) ---------- */
.measure {
  max-width: 820px;
}
.measure-text {
  max-width: var(--measure);
}
.mt-sm {
  margin-top: 20px;
}
.mt-md {
  margin-top: 34px;
}
.mt-lg {
  margin-top: 70px;
}
.mt-xl {
  margin-top: 80px;
}
.mb-md {
  margin-bottom: 28px;
}
.h-section {
  font-size: clamp(2rem, 4.2vw, 3.78rem);
  font-weight: 720;
  letter-spacing: -0.022em;
  max-width: 17em;
}
.h-block {
  font-size: clamp(1.9rem, 3.4vw, 3.06rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  margin: 14px 0 28px;
}
.h-sub {
  font-size: 24px;
  font-weight: 720;
  margin-bottom: 10px;
}
.btn-grow {
  flex: 1;
  justify-content: center;
}
.btn-wa {
  background: #25d366;
  border-color: #25d366;
  margin-top: 10px;
}
.btn-stack {
  margin-top: 10px;
}
.row {
  display: flex;
  gap: 10px;
}
.img-full {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}
.img-portrait {
  display: block;
  max-width: 420px;
  border: 1px solid var(--line);
}
/* ---------- brands we fit ---------- */
.brands {
  padding-block: var(--section-y);
}
.brands-head {
  max-width: 980px;
}
.brands-title {
  font-size: clamp(2rem, 4.2vw, 3.78rem);
  letter-spacing: -0.022em;
  line-height: 1;
  word-spacing: 0.07em;
  margin-top: 14px;
}
.brands-list {
  list-style: none;
  margin: clamp(28px, 3.4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brands-list li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 34px) clamp(14px, 1.6vw, 26px);
  border-left: 1px solid var(--line);
}
.brands-list li:first-child {
  border-left: 0;
  padding-left: 0;
}
/* The names are set in our own display face on purpose — a brand's logo
   would suggest an endorsement we do not have. */
.brands-name {
  font-family: var(--font-display);
  font-weight: 720;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brands-note {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--steel);
}
.brands-more {
  margin: 18px 0 0;
}
.brands-more a {
  font-weight: 600;
  color: var(--brass-text);
  text-decoration: none;
}
.brands-more a:hover {
  color: var(--ink);
}
@media (max-width: 1000px) {
  .brands-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
  }
  .brands-list li,
  .brands-list li:first-child {
    border-left: 0;
    padding: 20px 16px 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .brands-list li:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }
  /* An odd one out takes the whole row rather than leaving a half-empty cell. */
  .brands-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ---------- coverage map ---------- */
.cover {
  padding-block: var(--section-y);
}
.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.cover-title {
  font-size: clamp(2rem, 4.2vw, 3.78rem);
  letter-spacing: -0.022em;
  line-height: 1;
  word-spacing: 0.07em;
  margin-top: 14px;
}
.cover-lede {
  margin: 18px 0 0;
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--steel);
  max-width: 34em;
}
.cover-counties {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cover-counties li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.cover-counties strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  min-width: 10em;
}
.cover-counties span {
  color: var(--steel);
  font-size: 16px;
}
.cover-further {
  margin: 20px 0 0;
  font-size: 17px;
  max-width: 36em;
}
.cover-key {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  font-size: 14.5px;
  color: var(--steel);
}
.cover-key li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cover-key i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.cover-key-nw {
  background: var(--brass-fill);
}
.cover-key-further {
  background: repeating-linear-gradient(
    45deg,
    #dfe1e6 0 3px,
    rgba(156, 95, 31, 0.45) 3px 4.5px
  );
}
.cover-check {
  margin-top: 26px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.cover-check .row {
  margin-top: 8px;
}
.cover-check .input {
  flex: 1;
  min-width: 0;
}
.cover-check [aria-live] p {
  margin: 12px 0 0;
}
.cover-map {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(10px, 1.6vw, 22px);
  box-shadow: var(--lift);
}
.cover-map figcaption {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--steel);
}
.cmap {
  display: block;
  width: 100%;
  height: auto;
}
.cmap-land {
  fill: #dfe1e6;
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.cmap-further {
  fill: url(#cmap-hatch);
}
.cmap-hatch-bg {
  fill: transparent;
}
.cmap-hatch-line {
  stroke: rgba(156, 95, 31, 0.32);
  stroke-width: 1.6;
}
.cmap-regions path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.cmap-nw path {
  fill: var(--brass-fill);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill 0.2s var(--ease);
}
.cmap-nw path:hover {
  fill: var(--brass-text);
}
.cmap-ring {
  fill: rgba(255, 255, 255, 0.35);
  stroke: #fff;
  stroke-width: 2;
}
.cmap-dot {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 2;
}
.cmap-labels text,
.cmap-city {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  fill: #fff;
  pointer-events: none;
}
.cmap-labels text.out {
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
}
.cmap-city {
  fill: var(--ink);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  font-size: 14px;
}
.cmap-leader {
  stroke: var(--ink);
  stroke-width: 1.2;
}
@media (max-width: 900px) {
  .cover-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* On a phone the map comes first: it is the answer at a glance, and the
     county list beneath it is the detail. */
  .cover-map {
    order: -1;
  }
  .cmap-labels text {
    font-size: 19px;
  }
  /* The dot stays; its label crowded "Greater Manchester" at this size. */
  .cmap-city {
    display: none;
  }
}
@media (max-width: 600px) {
  .cover-counties li {
    display: block;
  }
  .cover-counties strong,
  .cover-counties span {
    display: block;
    min-width: 0;
  }
  .cover-counties span {
    margin-top: 2px;
  }
}
.wrap-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}
.post-body {
  padding-bottom: 70px;
}
.brand-footer {
  margin-bottom: 14px;
}
.footer-blurb {
  margin: 0;
  max-width: 290px;
}
.meta-line {
  margin-top: 18px;
}
.lede-gap {
  margin: 0 0 26px;
}
.date-line {
  margin: 0 0 34px;
}
.warn-msg {
  color: var(--warn);
  font-weight: 600;
}

/* ---------- StreamField rhythm ----------
   Wagtail wraps every block in .block-<name>, so spacing lives here rather
   than as per-template classes. An earlier pass converted inline styles to
   classes and silently dropped several margin-top values, which is why
   images and grids ended up flush against whatever preceded them. */
.streamfield {
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px);
}
.streamfield-flush {
  padding-top: 0;
}
.block-hero {
  margin-top: 0;
}
.block-heading {
  margin-top: clamp(64px, 7.5vw, 128px);
}
.block-paragraph {
  margin-top: 22px;
}
/* Full-section blocks carry their own vertical padding; they butt up to
   their neighbours rather than adding a margin on top of it. */
.block-media_carousel,
.block-showreel {
  margin-top: var(--section-y);
}
/* These pad themselves top and bottom, so a margin on top would double it. */
.block-statement,
.block-featured_products,
.block-brands,
.block-coverage_map {
  margin-top: 0;
}
.block-statement + .block-paragraph {
  margin-top: 0;
}
.block-image,
.block-portrait_image {
  margin-top: 34px;
}
.block-service_grid {
  margin-top: clamp(28px, 3vw, 44px);
}
.block-quote {
  margin-top: 36px;
}
.block-faq {
  margin-top: 64px;
}
.block-reviews_coming_soon {
  margin-top: 0;
}
.streamfield > *:first-child {
  margin-top: 0;
}

/* ---------- video ---------- */
.block-video {
  margin-top: 36px;
}
.video-figure {
  margin: 0;
  max-width: 820px;
}
.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: var(--ink);
  border: 1px solid var(--line);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-figure figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: var(--steel);
}
.video-figure figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

.legal-address {
  margin: 4px 0 18px;
  padding-left: 16px;
  border-left: 2px solid var(--brass);
  font-style: normal;
  line-height: 1.65;
}

.price-card .extra-lock {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--steel);
}
.price-card .extra-lock strong {
  color: var(--ink);
}

/* ---------- post-submission success panel ----------
   Replaces the single line of green text that used to be the entire
   confirmation, which left the visitor on a page with no way onward. */
.success-panel {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: var(--surface);
  padding: 32px 34px 34px;
}
.success-panel:focus {
  outline: none;
}
.success-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-fill);
  margin: 0 0 10px;
}
.success-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.success-lead {
  margin: 0 0 22px;
  font-size: 17px;
  color: var(--ink);
}
.success-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.success-steps li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--steel);
}
.success-steps span {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brass-fill);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.success-note {
  font-size: 15.5px;
  color: var(--steel);
  margin: 0 0 24px;
}
.success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.field-hint {
  font-size: 14px;
  color: var(--steel);
  margin: 6px 0 0;
}
.choice-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- photo upload guidance ---------- */
.photo-guide {
  border-left: 3px solid currentColor;
  padding: 2px 0 2px 16px;
  margin: 0 0 16px;
  opacity: 0.92;
}
.photo-guide-lead {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 15px;
}
.photo-guide-list {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.55;
}
.photo-guide-list li + li {
  margin-top: 6px;
}
.photo-guide-note {
  margin: 0;
  font-size: 14.5px;
  opacity: 0.75;
}

/* Example photos in the booking form's photo guidance. Two side by side on
   anything wider than a phone, stacked below that. Fixed aspect via the
   width/height attributes on the <img>, so the layout does not jump while
   they load. */
.photo-guide-examples {
  display: grid;
  gap: 14px;
  list-style: none;
  padding-left: 0;
  counter-reset: none;
}
@media (min-width: 560px) {
  .photo-guide-examples {
    grid-template-columns: 1fr 1fr;
  }
}
.photo-guide-examples li + li {
  margin-top: 0;
}
.photo-guide-examples figure {
  margin: 0;
}
.photo-guide-examples img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.photo-guide-examples figcaption {
  padding-top: 7px;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* .label on dark grounds. --brass-text is tuned for paper and drops to 3.67
   on the hero's near-black, so the original brass returns here at 5.06. */
.hero .label,
.section-dark .label,

/* ---------- mid-article offer card ---------- */
/* Sits in the reading flow of a blog post. The label is deliberately small and
   the button deliberately large: the sentence explains, the button is the
   thing being offered, and a reader scanning at speed should be able to act
   without reading a word of it. */
.post-offer {
  max-width: 820px;
  margin: 44px auto;
  padding: 26px 28px;
  /* A faint warm tint rather than --brass-lt (#e8b872), which is a mid brass
     and far too saturated behind body text now the page ground is pure white.
     This lifts the card off the page without competing with the brass rule or
     the button. */
  background: #fbf7f1;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
}
.post-offer-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.post-offer-line {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--steel);
}
.post-offer-btn {
  font-size: 17px;
  padding: 14px 26px;
}
@media (max-width: 560px) {
  .post-offer {
    /* .wrap's 28px gutter already insets the article, so the card only needs
       its own breathing room, not another full gutter. */
    margin: 32px 0;
    padding: 22px 20px;
  }
  .post-offer-line {
    font-size: 15px;
  }
  .post-offer-btn {
    display: block;
    text-align: center;
    font-size: 17px;
  }
}

/* ---------- booking form, step 1 context ---------- */
.book-assure {
  list-style: none;
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.book-assure li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--steel);
}
.book-assure li:last-child {
  margin-bottom: 0;
}
.book-assure li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
}
.book-assure strong {
  color: var(--ink);
}
/* .card p is (0,1,1) and sets margin:0, so the bare .field-hint rule further
   up (0,1,0) loses inside this form and its margin has never applied here.
   Scoped to match the specificity rather than reaching for !important — the
   same trap as .wrap and .article-body h2, and the reason the old
   .book-step-hint rule existed before the hint moved under the select. */
.card p.field-hint {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--steel);
}
/* .card p is (0,1,1) and sets margin:0, so a bare .book-step-hint (0,1,0)
   loses. This form lives inside .card, which is also why the pre-existing
   .field-hint rule's margin has never actually applied here. Matching the
   specificity rather than reaching for !important. */

/* ---------- shop: catalog, product page, featured block ---------- */
.prodgrid {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.prodgrid > li {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 0 18px;
  background: #fff;
  overflow: hidden;
}
.prodgrid img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 14px;
}
.prodgrid h2 {
  margin: 0 18px 6px;
  font-size: 1.1rem;
  line-height: 1.25;
}
.prodgrid a {
  text-decoration: none;
  color: inherit;
}
.prodgrid a:hover h2 {
  color: var(--brass);
}
.prodgrid p {
  margin: 0 18px 10px;
  font-size: 0.95rem;
  color: var(--steel);
}
.card-price {
  margin: 0 18px 2px;
  font-size: 1.02rem;
}
.card-price strong {
  font-size: 1.3rem;
}
.card-price-alt {
  margin: 0 18px;
  font-size: 0.9rem;
  color: var(--steel);
}

.product {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 26px 0 0;
}
.product-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.product-buy {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--paper-2, #fbfaf8);
}
.price-fitted {
  margin: 0 0 4px;
}
.price-fitted .price-amount {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}
.price-supply {
  margin: 0 0 18px;
  color: var(--steel);
}
.price-supply .price-amount {
  font-weight: 600;
}
.price-label {
  font-size: 0.95rem;
}
.stock-out {
  margin: 0 0 16px;
  font-weight: 600;
}
.product-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--steel);
}
/* .prod-spec, NOT .spec: the hero strip already owns .spec, and a second
   definition later in the file overrode its grid-template-columns — turning a
   four-across desktop strip into 2x2. Order won, not specificity, so moving
   the rule would not have helped; the name had to change. */
.prod-spec {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  max-width: 620px;
}
.prod-spec dt {
  font-weight: 600;
}
.prod-spec dd {
  margin: 0;
  color: var(--steel);
}
@media (max-width: 900px) {
  .prodgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 620px) {
  .prodgrid {
    grid-template-columns: 1fr;
  }
}
.price-save {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--brass);
  font-weight: 600;
}

.price-save s {
  color: var(--steel);
  font-weight: 400;
}

/* ---------- cart and checkout ---------- */
.cartlist {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cartlist > li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-mode {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--steel);
}
.cart-price {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--steel);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
}
.cart-deal,
.cart-nudge {
  margin: 6px 0 0;
  font-size: 15px;
}
.cart-deal {
  color: var(--good);
  font-weight: 600;
}
.cart-nudge {
  color: var(--brass-text);
}
.cart-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 15px;
}
.cart-saving {
  display: block;
  font-size: 15px;
  color: var(--good);
}
.price-deals {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(184, 117, 43, 0.1);
  font-size: 15.5px;
}
.price-deals li + li {
  margin-top: 4px;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.qty-select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  font: inherit;
}
.cart-total {
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.cart-note {
  color: var(--steel);
  max-width: 60ch;
  margin: 0 0 20px;
}
.field-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.5;
  font-size: 0.95rem;
}
.field-consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}
#payment-element {
  margin: 0 0 20px;
}
.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /* Was #c6cbd3, set for the old dark header — near-invisible on the light
     one the redesign brought in. */
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--pill);
}
.nav-cart:hover {
  color: var(--brass-text);
  background: rgba(13, 15, 20, 0.06);
}
/* The count sits on the icon's corner, not beside it: inline, it widened the
   phone header past the screen edge the moment something was added. */
.nav-cart {
  position: relative;
}
.nav-cart-n {
  position: absolute;
  top: 1px;
  right: 0;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  background: var(--brass-fill);
  color: #fff;
  border-radius: 999px;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--paper);
}

/* Shop buy controls. .btn-ghost is the lock-only choice: a real option, given
   real weight, but not the one competing with supplied-and-fitted. */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14, 17, 22, 0.25);
}
.btn-ghost:hover {
  background: rgba(14, 17, 22, 0.05);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-sm {
  font-size: 13.5px;
  padding: 9px 15px;
}
.product-buy form + form {
  margin-top: 9px;
}
.card-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.card-buy form {
  margin: 0;
}
/* Inside a shop card the buttons line up with the card's text (18px in,
   like every paragraph above them) and sit at the bottom, so a row of
   cards of different lengths keeps its buttons level. */
.prodgrid > li {
  display: flex;
  flex-direction: column;
}
.prodgrid .card-buy {
  margin: auto 18px 0;
  padding-top: 14px;
}

/* Brand, basket, CTA and burger do not all fit on a 375px phone — the row ran
   47px past the viewport and scrolled the page sideways. The CTA is the one
   that earns its place there; the burger menu carries a Basket link.
   This has to sit AFTER .nav-cart's own display rule, not with the other
   narrow-width rules a few hundred lines up: same specificity, so the later
   declaration wins and putting it there did nothing. */
@media (max-width: 430px) {
  .nav-cart {
    display: none;
  }
}

/* The header row overflowed every page by up to 58px on small phones —
   brand + CTA + burger against 28px gutters and a 28px gap. Longhand padding
   only: .nav-in also carries .wrap, and a shorthand here would zero the
   vertical padding .wrap's own rule is not setting. */
@media (max-width: 430px) {
  .nav-in {
    padding-left: 15px;
    padding-right: 15px;
    gap: 8px;
  }
  .brand {
    font-size: 16px;
  }
  /* Brand, WhatsApp, CTA and burger against a 375px viewport is 21px more
     than fits. Both contact routes stay — they are the two things a phone
     visitor actually taps — so the space comes out of type and gaps. */
  .nav-cta {
    gap: 8px;
  }
}

/* The header row is flex, and flex items shrink before their container
   overflows — so once the basket joined the row, "How it works", "About us"
   and the CTA broke mid-label into two lines instead of pushing the page
   wide. That is why an overflow check read zero while the bar looked mangled:
   nothing overflowed, the labels were being squashed.
   Labels never break; the row tightens its gaps instead, and collapses to the
   burger when even that is not enough. */
.nav-links a,
.nav-links > div > button,
.nav-cta .tel,
.nav-cta .btn {
  white-space: nowrap;
}
.nav-cta .btn,
.nav-cta .tel,
.nav-wa,
.nav-cart {
  flex-shrink: 0;
}
@media (min-width: 1181px) and (max-width: 1460px) {
  .nav-links {
    gap: 18px;
  }
  .nav-in {
    gap: 18px;
  }
  .nav-cta {
    gap: 10px;
  }
}

/* Phones: a full-width bar instead of the floating pill. Inset by a gutter
   and rounded, the pill lost ~40px of width, and that is exactly what the
   basket and WhatsApp needed — the basket had been hidden below 430px to
   make the row fit. Everything a phone visitor taps now fits: brand,
   WhatsApp, basket, the quote button and the menu. Sits after every other
   nav rule so it wins on order as well as specificity. */
@media (max-width: 720px) {
  .nav {
    padding: 0;
  }
  .nav .nav-in {
    min-height: 60px;
    padding-inline: 14px 6px;
    gap: 6px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    box-shadow: 0 6px 20px -16px rgba(13, 15, 20, 0.5);
    background: rgba(243, 244, 246, 0.92);
  }
  .nav-cta {
    gap: 0;
  }
  .nav-cart {
    display: inline-flex;
    padding: 9px;
  }
  .nav-cta .wa {
    padding: 9px;
  }
  .nav-cta .btn {
    margin-left: 4px;
    padding: 10px 15px;
    font-size: 14px;
  }
  .nav-toggle {
    padding: 9px;
  }
  .nav-mobile {
    margin-top: 0;
    border-radius: 0 0 22px 22px;
  }
}
@media (max-width: 380px) {
  .nav .nav-in {
    padding-inline: 10px 2px;
    gap: 2px;
  }
  .brand {
    font-size: 15px;
    gap: 7px;
  }
  .nav-cart,
  .nav-cta .wa,
  .nav-toggle {
    padding: 7px;
  }
  .nav-cta .btn {
    padding: 9px 11px;
    font-size: 13px;
  }
}
/* 320px phones: the logo alone. font-size 0 hides the wordmark visually
   while leaving "SmartLockPro" as the link's accessible name. */
@media (max-width: 340px) {
  .brand {
    font-size: 0;
    gap: 0;
  }
}

/* ---------- checkout ---------- */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 320px);
  gap: 34px;
  align-items: start;
  margin-top: 26px;
}
.checkout-form {
  padding: 30px;
}
.checkout-sum {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  position: sticky;
  top: 92px;
}
.checkout-sum h2 {
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.checkout-sum ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkout-sum li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.checkout-sum li small {
  display: block;
  color: var(--steel);
  font-size: 13px;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 0;
  font-size: 17px;
}
.checkout-note {
  font-size: 13.5px;
  color: var(--steel);
  margin: 14px 0 0;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .checkout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  /* Summary first on a phone: they should see what they are paying for before
     a screenful of fields, not after it. */
  .checkout-sum {
    order: -1;
    position: static;
  }
  .checkout-form {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   Redesign components that sit AFTER the retained component rules above.
   ========================================================================== */

/* ---------- featured products ---------- */
/* Its own section with its own .wrap (it used to be a .wrap around a
   section), so on the homepage it runs the full width like every other band,
   and inside an article it still reads as a self-contained panel. */
.featprod {
  padding-block: var(--section-y);
}
.featprod-head {
  max-width: 980px;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.featprod-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.96rem);
  letter-spacing: -0.022em;
  margin-top: 14px;
}
.featprod-intro {
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--steel);
  max-width: 40em;
  margin: 18px 0 0;
}
.featprod-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}
.featprod-item {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--lift);
}
.featprod-media {
  display: block;
  background: var(--surface);
  overflow: hidden;
}
.featprod-media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.featprod-item:hover .featprod-media img {
  transform: scale(1.03);
}
.featprod-body {
  padding: clamp(22px, 2.2vw, 36px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.featprod-body h3 {
  font-size: clamp(22px, 2vw, 30px);
}
.featprod-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.featprod-body h3 a:hover {
  color: var(--brass-text);
}
.featprod-sum {
  color: var(--steel);
  margin: 12px 0 0;
  font-size: 17px;
}
.featprod-price {
  margin: 22px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.featprod-price strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 3.78rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.featprod-price span {
  color: var(--steel);
  font-size: 17px;
}
.featprod-save {
  margin: 12px 0 0;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  background: rgba(184, 117, 43, 0.14);
  color: var(--brass-text);
  font-weight: 600;
  font-size: 15px;
  padding: 7px 13px;
  border-radius: var(--pill);
}
.featprod-save s {
  font-weight: 400;
  opacity: 0.75;
}
.featprod-alt {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 16px;
}
.featprod-deal {
  margin: 12px 0 0;
  align-self: flex-start;
  background: rgba(184, 117, 43, 0.14);
  color: var(--brass-text);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 12px;
}
.featprod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
}
.featprod-note {
  margin: 22px 0 0;
  max-width: 52em;
  color: var(--steel);
  font-size: 15.5px;
}
/* One product: a wide two-column feature rather than a lonely card. */
.featprod--single .featprod-grid {
  grid-template-columns: minmax(0, 1fr);
}
.featprod--single .featprod-item {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.featprod--single .featprod-media img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 420px;
}
.featprod--single .featprod-body {
  padding: clamp(28px, 3.4vw, 60px);
  justify-content: center;
}
.featprod--single .featprod-actions {
  margin-top: 0;
}
@media (max-width: 900px) {
  .featprod--single .featprod-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .featprod--single .featprod-media img {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
}
/* Two to four products: one row. Four across on wide screens; on phones the
   row keeps going sideways and swipes, with the next card peeking in so it
   is obvious there is more. Cheapest is first (the block sorts them). */
.featprod--row .featprod-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * clamp(12px, 1.2vw, 18px)) / 4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: none;
}
.featprod--row .featprod-grid::-webkit-scrollbar {
  display: none;
}
.featprod--row .featprod-item {
  scroll-snap-align: start;
}
.row-arrows {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.row-arrows[hidden] {
  display: none;
}
.row-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}
.row-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.featprod--row .featprod-body {
  padding: clamp(18px, 1.6vw, 26px);
}
.featprod--row .featprod-body h3 {
  font-size: clamp(19px, 1.5vw, 23px);
}
.featprod--row .featprod-sum {
  font-size: 15.5px;
}
.featprod--row .featprod-price strong {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
}
.featprod--row .featprod-price span,
.featprod--row .featprod-alt {
  font-size: 15px;
}
.featprod--row .featprod-save {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  border-radius: 12px;
}
.featprod--row .featprod-actions {
  padding-top: 20px;
}
/* Yale fitting card: the brand set in our own display type on a plain
   panel, the same shape as a product photo. */
.featprod-brand {
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  background: var(--ink);
  text-decoration: none;
}
.featprod-brand span {
  font-family: var(--font-display);
  font-weight: 760;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--paper);
}
.featprod-more {
  margin: 26px 0 0;
}
@media (max-width: 900px) {
  .featprod--row .featprod-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 320px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .featprod--row .featprod-grid::-webkit-scrollbar {
    display: none;
  }
  .featprod--row .featprod-item {
    scroll-snap-align: start;
  }
}
/* Inside an article it is a panel in the reading column, not a full band. */
.post-body .featprod,
.streamfield:not(.streamfield-flush) .featprod {
  padding-block: 0;
  margin-block: 52px;
}

/* ---------- CTA band ---------- */
/* An inset ink panel with the gutter around it, rather than a full-bleed
   strip — Refract's closing-statement idiom with brass for the action. */
.band {
  margin: var(--section-y) var(--edge) 0;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 32px;
  overflow: hidden;
}
.band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 34px;
  flex-wrap: wrap;
  padding-block: clamp(48px, 7vw, 120px);
  padding-inline: clamp(24px, 4vw, 72px);
}
.band h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: -0.025em;
  line-height: 0.96;
  max-width: 13em;
  color: #fff;
}
.band p {
  margin: 18px 0 0;
  color: var(--on-dark-dim);
  font-size: clamp(18px, 1.4vw, 21px);
  max-width: 34em;
}
.band .btn {
  font-size: 17px;
  padding: 18px 28px;
}

/* ---------- blog list ---------- */
.post-list {
  display: grid;
  gap: clamp(12px, 1.2vw, 18px);
}
.post-item {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.2vw, 34px);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--lift);
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}
.post-item:hover {
  transform: translateY(-2px);
  background: var(--surface);
  color: inherit;
}
.post-item h2 {
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 8px;
}
.post-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.post-item p {
  color: var(--steel);
  margin: 12px 0 0;
  font-size: 17px;
  max-width: var(--measure);
}

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  bottom: var(--gutter);
  left: var(--gutter);
  right: var(--gutter);
  max-width: 460px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 24px;
  padding: 22px 24px;
  z-index: 90;
  font-size: 15.5px;
  box-shadow: 0 30px 60px -24px rgba(13, 15, 20, 0.6);
}
.cookie p {
  margin: 0 0 16px;
}
.cookie a {
  color: var(--brass-lt);
}
.cookie .row {
  display: flex;
  gap: 8px;
}
.cookie .btn {
  padding: 12px 18px;
  font-size: 15px;
  box-shadow: none;
}
.cookie .btn-outline {
  color: var(--on-dark);
  border-color: rgba(243, 244, 246, 0.3);
}
.cookie .btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: var(--section-y);
  background: var(--ink);
  color: var(--on-dark-dim);
  padding-top: clamp(56px, 6vw, 96px);
  overflow: hidden;
}
.template-homepage .site-footer {
  margin-top: var(--gutter);
}
.site-footer .brand {
  color: #fff;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
.footer-blurb {
  margin: 16px 0 0;
  max-width: 26em;
  font-size: 16.5px;
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 16px;
}
.site-footer a:hover {
  color: var(--brass-lt);
}
.fnote {
  margin: clamp(40px, 4vw, 64px) 0 0;
  max-width: 64em;
  font-size: 13.5px;
  line-height: 1.6;
}
.fbot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-block: 22px;
  font-size: 14px;
}
/* The closing wordmark, set so large it is cropped by the footer's bottom
   edge — Refract's sign-off, in the brand's own name. Decorative only. */
.footer-mark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.78;
  font-size: clamp(4rem, 15.5vw, 12.4rem);
  color: rgba(243, 244, 246, 0.07);
  margin: clamp(16px, 2vw, 32px) 0 -0.12em;
  white-space: nowrap;
  user-select: none;
}
@media (max-width: 900px) {
  .fgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fgrid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- utilities (sparingly) ---------- */
.center {
  text-align: center;
}
.muted {
  color: var(--steel);
}
.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;
}
.stack > * + * {
  margin-top: 1rem;
}

/* ---- Services mega panel + grouped mobile menu (2026-10-16) ---------- */
.menu-panel--mega {
  left: -12px;
  transform: none;
}
.menu-mega {
  width: max-content;
  grid-template-columns: repeat(3, max-content);
  gap: 4px 10px;
  padding: 16px;
}
.menu-group {
  display: grid;
  align-content: start;
}
.menu-group-label {
  margin: 4px 14px 6px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.menu-mega a {
  white-space: nowrap;
}
.nav-mobile .wrap {
  gap: 0;
}
.mnav-group {
  border-bottom: 1px solid var(--line-soft);
}
.mnav-group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 10px;
}
.mnav-group > summary::-webkit-details-marker {
  display: none;
}
.mnav-group > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}
.mnav-group[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.mnav-links {
  display: grid;
  padding: 0 0 10px;
}
.nav-mobile .mnav-links a:not(.btn) {
  font-size: 16px;
  font-weight: 450;
  padding: 10px 10px 10px 18px;
  border-bottom: 0;
  color: var(--ink-2);
}
.mnav-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  padding-top: 6px;
}
.nav-mobile .mnav-quick a:not(.btn) {
  font-size: 16px;
  padding: 11px 10px;
}
.mnav-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.nav-mobile .mnav-actions .btn {
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .mnav-group > summary::after {
    transition: none;
  }
}

/* ---------- "Ask us" corner widget (2026-10-16) ----------
   Charcoal card and brass accents, the same pairing as the cookie banner and
   the dark bands, so it reads as part of the site rather than a bolted-on
   third-party chat. Sits above page content (z 80) but below the cookie
   banner (90) and the nav panels, and the script never shows both at once. */
.assist {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}
.assist[hidden] {
  display: none;
}
.assist.is-in {
  opacity: 1;
  transform: none;
}
.assist > * {
  pointer-events: auto;
}
.assist-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px 0 18px;
  /* Brass, not charcoal: the corner sits over light and dark bands alike,
     and charcoal vanished on the dark ones. The ring keeps an edge on both. */
  border: 0;
  border-radius: var(--pill);
  background: var(--brass-fill);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.55),
    0 18px 36px -14px rgba(13, 15, 20, 0.6),
    0 2px 6px rgba(13, 15, 20, 0.14);
  transition:
    background 0.2s,
    transform 0.2s var(--ease-out);
}
.assist-launch svg {
  color: #fff;
  flex: none;
}
.assist-launch:hover {
  background: var(--brass-fill-hover);
  transform: translateY(-1px);
}
.assist-launch:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.assist-ctrl:focus-visible,
.assist-act:focus-visible {
  outline: 3px solid var(--brass-lt);
  outline-offset: 3px;
}
.assist-card {
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow:
    0 30px 60px -24px rgba(13, 15, 20, 0.6),
    0 2px 8px rgba(13, 15, 20, 0.15);
  transform-origin: bottom right;
  animation: assist-pop 0.32s var(--ease-out);
}
.assist-card[hidden] {
  display: none;
}
@keyframes assist-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}
.assist-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.assist-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.assist-who {
  flex: 1;
  min-width: 0;
}
.assist-title {
  margin: 0;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.25;
  color: #fff;
}
.assist-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}
.assist-ctrls {
  display: flex;
  gap: 2px;
  margin-right: -6px;
  align-self: flex-start;
}
.assist-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}
.assist-ctrl:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.assist-msg {
  margin: 14px 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
.assist-actions {
  display: grid;
  gap: 8px;
}
.assist-act {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 550;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.assist-act:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.assist-act svg {
  flex: none;
  color: var(--brass-lt);
}
.assist-act--wa {
  background: #128c4b;
  border-color: #128c4b;
}
.assist-act--wa svg {
  color: #fff;
}
.assist-act--wa:hover {
  background: #0d6e3a;
}
/* Phones: a plain round button, no label, a little smaller — present but not
   competing with the page. The card keeps the full width it needs. */
@media (max-width: 720px) {
  /* Right edge on the page's own 16px text line (it sat 2px outside it at
     14px), and lifted clear of the bottom edge, where phones put the
     home-swipe bar. The safe-area inset adds room on phones that have one. */
  .assist {
    right: 16px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  .assist-launch {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
  .assist-launch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .assist-card {
    width: min(340px, calc(100vw - 32px));
    padding: 16px 16px 14px;
  }
  .assist-msg {
    font-size: 14.5px;
    margin: 12px 0 14px;
  }
  .assist-act {
    padding: 11px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .assist,
  .assist-launch {
    transition: none;
  }
  .assist-card {
    animation: none;
  }
}
@media print {
  .assist {
    display: none !important;
  }
}

/* Heading tracking relaxed 2026-10-17: Inter Tight is already a tight cut,
   and the extra -0.045em to -0.065em made heavy display sizes collide ("ri"
   in Pricing, digits running into the dash in prices).

   Price ranges: "From" set small above the figures, the figures kept on one
   line, and a little air either side of the dash. */
.amount-from {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--steel);
  margin-bottom: 4px;
}
.amount-fig {
  white-space: nowrap;
}
.range-dash {
  margin: 0 0.08em;
  font-weight: 500;
}

/* A section straight after the page heading: the heading already carries
   its own bottom space, so a full section top on top of it doubled the gap
   (about 170-226px on /pricing/ and /book/). */
.page-head + .section {
  padding-top: clamp(4px, 1vw, 12px);
}
/* The showreel is a dark band with its own section padding; a full block
   margin above it as well put ~200px between the hero stats and its heading. */
.block-showreel {
  margin-top: clamp(24px, 3vw, 40px);
}

/* ---------- quote form: error summary + optional marks (2026-10-17) ---- */
.form-errors {
  background: #fdf1ef;
  border: 1px solid #e7b4ab;
  color: #7a1f12;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 1.5;
}
.form-errors p {
  margin: 0;
}
.form-errors p + p {
  margin-top: 6px;
}
.form-errors:focus {
  outline: 3px solid #e7b4ab;
  outline-offset: 2px;
}
/* Clear of the sticky header when scrolled into view. */
.form-errors,
.success-panel {
  scroll-margin-top: 110px;
}
.optional {
  font-weight: 400;
  color: var(--steel);
  font-size: 0.9em;
}

/* A safety sign shown at sign size, not as a full-width band. */
.sign-figure {
  margin: 20px 0 28px;
  max-width: 380px;
}
.sign-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.sign-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
}

/* Shop: fitting-only brands, set out like the products above them. */
.shop-fitting-head {
  margin-top: clamp(48px, 6vw, 80px);
}
.shop-fitting-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.shop-fitting-head p {
  color: var(--steel);
  margin: 10px 0 0;
}
.shop-brand-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin: 0 0 14px;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 760;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

/* Google reviews block — real reviews from the dashboard, word for word. */
.review-grid {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars {
  margin: 0;
  color: var(--brass);
  font-size: 1.15rem;
  letter-spacing: 2px;
}
.review-star-off {
  color: var(--line);
}
.review-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}
.review-who {
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}
.review-who span {
  color: var(--steel);
}
.review-source {
  font-size: 0.88rem;
  color: var(--brass-text);
}
.review-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Delivery: lock-only orders, UK. */
.price-delivery {
  margin: -10px 0 18px;
  font-size: 0.92rem;
  color: var(--steel);
}
.cart-delivery {
  margin: 0 0 6px;
  color: var(--steel);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 0;
  font-size: 15px;
}

/* Reviews page: rating line and the case-study list, newest first. */
.review-summary {
  margin: 6px 0 0;
  color: var(--steel);
}
.review-summary strong {
  color: var(--ink);
}
.cases-intro {
  margin: 6px 0 0;
  color: var(--steel);
  max-width: 60ch;
}
.case-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.case-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.case-row:hover,
.case-row:focus-visible {
  border-color: var(--brass);
  box-shadow: 0 6px 20px rgba(13, 15, 20, 0.08);
}
.case-row img,
.case-nophoto {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: var(--paper);
}
.case-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 10px;
}
.case-date {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.case-text strong {
  font-size: 1.2rem;
  line-height: 1.3;
}
.case-summary {
  color: var(--steel);
  line-height: 1.55;
}
.case-go {
  margin-top: 4px;
  font-weight: 600;
  color: var(--brass-text);
}
.case-go::after {
  content: " →";
}
@media (max-width: 700px) {
  .case-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 12px;
  }
  .case-text strong {
    font-size: 1.02rem;
  }
  .case-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
  }
}
/* Straight after a page intro, the reviews don't need a full section gap. */
.reviews-block {
  padding-top: clamp(24px, 4vw, 48px);
}

/* Full sections on the page's own ground (featured locks, brands, Google
   reviews, case studies, coverage map, statement) pad themselves top and
   bottom. Side by side, or next to the body padding or a heading's margin,
   the spaces stacked: 190-280px of empty page between them (owner,
   2026-10-18). At each join only one space is kept. */
:is(
    .block-featured_products,
    .block-brands,
    .block-google_reviews,
    .block-case_studies,
    .block-coverage_map,
    .block-statement
  )
  + :is(
    .block-featured_products,
    .block-brands,
    .block-google_reviews,
    .block-case_studies,
    .block-coverage_map
  )
  > *,
.streamfield
  > :is(
    .block-google_reviews,
    .block-case_studies,
    .block-coverage_map,
    .block-brands,
    .block-featured_products
  ):first-child
  > * {
  padding-top: 0;
}
.streamfield
  > :is(
    .block-google_reviews,
    .block-case_studies,
    .block-coverage_map,
    .block-brands,
    .block-featured_products
  ):last-child
  > * {
  padding-bottom: 0;
}
:is(
    .block-featured_products,
    .block-brands,
    .block-google_reviews,
    .block-case_studies,
    .block-coverage_map
  )
  + .block-heading {
  margin-top: 0;
}
/* A light photo carousel is on the page ground too: its own padding is the
   gap, so no margin above it and no heading margin after it (/how-it-works/
   had 245px above and 200px below). A dark one keeps its margin. */
.block-media_carousel:has(> .mc--light) {
  margin-top: 0;
}
.block-media_carousel:has(> .mc--light) + .block-heading {
  margin-top: 0;
}
/* /pricing/: two price sections and the page body on one ground; each
   adding a full top on top of the previous bottom left ~270px. */
.price-sec + .price-sec,
.price-sec + .streamfield {
  padding-top: 0;
}

/* /book/ (Google Ads "Get a Free Quote" sitelink): form with a help panel
   beside it on computers, under it on phones. */
.quote-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.quote-layout {
  display: grid;
  gap: 28px;
}
.quote-aside h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}
.quote-aside h3 {
  font-size: 1.05rem;
  margin: 22px 0 6px;
}
.quote-aside p,
.quote-aside li {
  line-height: 1.6;
}
.quote-aside ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}
@media (min-width: 960px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* Call-to-action row inside sitelink landing pages. */
.sitelink-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Catalogue-led offer and verified first-party proof. */
.hero-offers {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}
.hero-offers p {
  margin: 0;
}
.hero-offers small {
  font-size: 13px;
}
.hero-proof,
.hero-reassurance {
  font-size: 14px;
  margin-top: 14px;
}
.hero-proof a {
  color: inherit;
  text-underline-offset: 4px;
}
@media (max-width: 720px) {
  .template-homepage .hero-grid {
    min-height: 0;
  }
  .template-homepage .hero-media {
    min-height: 0;
    height: 100%;
  }
  .template-homepage .hero-copy {
    padding: 32px 0 26px;
    align-self: start;
  }
  .template-homepage .hero-title {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.05;
  }
  .template-homepage .hero-sub {
    font-size: 16px;
  }
  .template-homepage .hero-offers {
    font-size: 16px;
    color: #fff;
  }
  .template-homepage .hero-offers small {
    color: rgba(255, 255, 255, 0.85);
  }
  .template-homepage .hero-proof,
  .template-homepage .hero-reassurance {
    color: #fff;
  }
  .template-homepage .hero-media::after {
    background: rgba(8, 9, 12, 0.83);
  }
}

.template-campaign .campaign-intro {
  padding-block: clamp(32px, 6vw, 72px);
}
.template-campaign h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  max-width: 19ch;
  line-height: 1.05;
}
.template-campaign .campaign-lede,
.template-campaign .intro {
  max-width: 48rem;
  font-size: 19px;
  margin-block: 20px;
}
.template-campaign .campaign-price {
  font-size: 22px;
  margin-block: 20px;
}
.template-campaign .campaign-price strong {
  font-size: 30px;
}
.template-campaign .btn {
  margin-block: 16px;
}
.template-campaign .campaign-assurance {
  font-size: 14px;
}
.template-campaign .campaign-details {
  max-width: 960px;
}
.template-campaign .campaign-details li {
  margin-block: 12px;
}
.template-campaign .campaign-details h2 {
  margin-block: 28px 16px;
}
.installation-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  list-style: none;
  padding: 0;
}
.hp .installation-routes {
  display: block;
}
.hp .installation-routes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 0;
  list-style: none;
}
@media (min-width: 721px) {
  .template-homepage .hero-title {
    font-size: clamp(36px, 4.3vw, 64px);
    line-height: 1.03;
  }
  .template-homepage .hero {
    padding-top: clamp(28px, 4vw, 58px);
  }
  .template-homepage .hero-media {
    max-height: 620px;
  }
}

.manchester-case-lead {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 16px;
}
.streamfield--manchester-case > :is(.block-image, .block-portrait_image) img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
@media (min-width: 900px) {
  .manchester-case-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
  }
  .manchester-case-intro h1 {
    font-size: clamp(2.5rem, 4.3vw, 4.6rem);
  }
  .streamfield--manchester-case {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    grid-auto-flow: row dense;
    column-gap: clamp(32px, 5vw, 80px);
    width: calc(100% - 56px);
    max-width: 1200px;
    margin-inline: auto;
  }
  .streamfield--manchester-case > :is(.block-heading, .block-paragraph) {
    grid-column: 1;
    margin-top: 0;
  }
  .streamfield--manchester-case > .block-heading {
    align-self: end;
    margin-bottom: 20px;
  }
  .streamfield--manchester-case > :is(.block-image, .block-portrait_image) {
    grid-column: 2;
    grid-row: span 2;
    align-self: center;
    margin: 24px 0;
  }
  .streamfield--manchester-case > * > .wrap {
    padding-inline: 0;
  }
  .streamfield--manchester-case > .block-media_carousel {
    grid-column: 1 / -1;
  }
}
@media (max-width: 899px) {
  .manchester-case-lead {
    margin-top: 28px;
  }
  .streamfield--manchester-case > :is(.block-image, .block-portrait_image) img {
    max-width: 560px;
  }
}

/* Homepage case studies */
.recent-work .recent-work-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.recent-work-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 24%;
}
.recent-work-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.recent-work-copy p {
  margin-bottom: 18px;
}
.recent-work-copy .go {
  margin-top: auto;
}
@media (max-width: 620px) {
  .recent-work .recent-work-card {
    gap: 14px;
    padding: 12px;
  }
  .recent-work .recent-work-card:has(.recent-work-photo) {
    display: grid;
    grid-template-columns: min(110px, 34%) minmax(0, 1fr);
  }
  .recent-work-photo {
    aspect-ratio: 3 / 4;
    object-position: center;
    border-radius: 10px;
    align-self: start;
  }
  .recent-work-copy {
    padding: 0;
  }
  .recent-work-copy h3 {
    margin-bottom: 5px;
    font-size: 18px;
  }
  .recent-work-copy p {
    margin-bottom: 7px;
  }
  .recent-work-copy p,
  .recent-work-copy .go {
    font-size: 14px;
  }
}
