/* =========================================================
   Urban Exterior: editorial edition
   Type: Plus Jakarta Sans, bold for display
   Colour: paper, ink, one blue from the logo
   Motion: frames draw, glass wipes clean
   ========================================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* colour: three plus white */
  --paper: #F4F2ED;
  --paper-2: #EBE8E1;
  --white: #FFFFFF;
  --ink: #0E1E30;
  --ink-2: #4A5767;
  --ink-3: #5E6A78;
  --blue: #1E6BB0;
  --blue-deep: #165690;
  --blue-light: #8EC0EE;   /* for text on ink */
  --line: rgba(14, 30, 48, .16);
  --line-strong: rgba(14, 30, 48, .42);
  --danger: #B42318;

  /* type */
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans); /* display face: same family, heavier weight */

  /* layout */
  --max: 1320px;
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 2.75rem);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --header-h: 72px;
  --section: clamp(5rem, 3rem + 7vw, 10rem);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-wipe: cubic-bezier(.65, .05, .25, 1);
  --t-fast: 180ms;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

svg[viewBox="0 0 24 24"] {
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.stars {
  font-family: system-ui, sans-serif;
  color: var(--blue);
  letter-spacing: .12em;
  font-size: .8125rem;
}

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform 120ms;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.985); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue-deep); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* underline that draws in from the left */
.link-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  color: var(--ink);
}
.link-arrow::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 10px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(0); }
.link-arrow[data-plan]::after,
.hero-actions .link-arrow::after { content: "→"; transition: transform .4s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(244, 242, 237, .88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  min-height: 44px;
  text-decoration: none;
}
.brand-mark { width: 30px; height: auto; }
.brand-name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: .25rem; }
.nav-list a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 .8rem;
  font-size: .9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.nav-list a::after {
  content: "";
  position: absolute; left: .8rem; right: .8rem; bottom: 10px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--ink); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: .9375rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.header-phone:hover { color: var(--blue); }

.menu-btn {
  display: none;
  align-items: center; gap: .65rem;
  min-height: 44px; padding: 0 .25rem 0 .75rem;
  background: none; border: 0;
  font-weight: 600; font-size: .9375rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn-icon { position: relative; width: 22px; height: 12px; }
.menu-btn-icon span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-btn-icon span:first-child { top: 1px; }
.menu-btn-icon span:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn-icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1100px) { .header-phone { display: none; } }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 520px) { .header-actions .btn-sm { display: none; } }

/* Mobile full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--paper);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .9rem 0;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  text-decoration: none;
  transform: translateY(16px); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.menu.is-open .menu-list a { transform: none; opacity: 1; }
.menu-list li:nth-child(2) a { transition-delay: .04s; }
.menu-list li:nth-child(3) a { transition-delay: .08s; }
.menu-list li:nth-child(4) a { transition-delay: .12s; }
.menu-list li:nth-child(5) a { transition-delay: .16s; }
.menu-list li:nth-child(6) a { transition-delay: .2s; }
.menu-num { font-family: var(--sans); font-size: .75rem; font-weight: 600; color: var(--blue); letter-spacing: .08em; }
.menu-foot { display: grid; gap: .25rem; }
.menu-foot a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.menu-foot a:first-child { font-weight: 800; letter-spacing: -.03em; font-size: 1.5rem; }

/* =========================================================
   Shared typographic pieces
   ========================================================= */
.kicker, .sec-label, .footer-h {
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sec-num {
  display: inline-block;
  min-width: 2.25em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.fig {
  margin-top: .7rem;
  font-size: .78125rem;
  color: var(--ink-3);
  letter-spacing: .01em;
}
.fig span { color: var(--ink); font-weight: 600; margin-right: .4rem; }

/* line masks for display type */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }
/* heavy display weights leave loose punctuation; tuck it back in */
.p { margin-left: -.07em; }
.sec-title em, .hero-title em, .statement-text em, .footer-cta em, .form-success em { color: var(--blue); }

/* =========================================================
   Hero (magazine spread)
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44vw;
  min-height: min(100svh, 980px);
  padding-top: var(--header-h);
}
.hero-text {
  align-self: end;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 5rem) clamp(3rem, 7vh, 5.5rem) var(--edge);
}
.hero-title {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1rem + 5.4vw, 6.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}
.hero-title .kicker { display: block; margin-bottom: 1.75rem; line-height: 1.5; }
.hero-lead { max-width: 31rem; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero-proof {
  display: inline-flex; align-items: center; gap: .75rem;
  min-height: 44px; margin-top: 2rem;
  font-size: .875rem; color: var(--ink-2);
  text-decoration: none;
}
.hero-proof:hover { color: var(--ink); }

.hero-media { position: relative; min-height: 100%; }
.hero-media .wipe { position: absolute; inset: 0; }
.hero-media .fig {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  margin: 0;
  padding: .7rem 1rem .7rem var(--gutter);
  background: var(--paper);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: min(64svh, 560px); min-height: 380px; }
  .hero-media .fig { padding-left: var(--gutter); }
  .hero-text { padding: 2.25rem var(--gutter) 3.5rem; }
  .hero-title { margin: 0 0 1.5rem; }
  .hero-title .kicker { margin-bottom: 1.25rem; }
  .hero-lead { font-size: 1.0625rem; }
  .hero-actions { margin-top: 1.75rem; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   Wipe: the "squeegee" image reveal
   ========================================================= */
.wipe { position: relative; overflow: hidden; background: var(--paper-2); }
.wipe img { width: 100%; height: 100%; object-fit: cover; }
.wipe::after {
  /* the blade: a crisp highlight with a soft wet trail */
  content: "";
  position: absolute; top: -15%; bottom: -15%; left: 0; width: 100%;
  z-index: 2; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) calc(50% - 90px),
    rgba(255,255,255,.18) calc(50% - 30px),
    rgba(255,255,255,.85) calc(50% - 1px),
    rgba(255,255,255,0) calc(50% + 1.5px));
  opacity: 0;
}

@keyframes wipe-in {
  from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to   { clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); }
}
@keyframes blade {
  0%   { transform: translateX(-50%) skewX(var(--skew, -12deg)); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(64%) skewX(var(--skew, -12deg)); opacity: 0; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* hero: runs on load, no JS needed */
.wipe-load { animation: wipe-in 1.3s var(--ease-wipe) .2s both; }
.wipe-load::after { animation: blade 1.3s var(--ease-wipe) .2s both; }
.wipe-load img { animation: settle 2s var(--ease-out) .2s both; }

/* everything else: runs when scrolled into view */
.js .wipe:not(.wipe-load) { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.js .wipe:not(.wipe-load) img { transform: scale(1.08); }
.js .wipe.is-in:not(.wipe-load) { animation: wipe-in 1.15s var(--ease-wipe) var(--wd, 0s) both; clip-path: none; }
.js .wipe.is-in:not(.wipe-load)::after { animation: blade 1.15s var(--ease-wipe) var(--wd, 0s) both; }
.js .wipe.is-in:not(.wipe-load) img { transform: none; transition: transform 1.8s var(--ease-out) var(--wd, 0s); }

/* =========================================================
   Statement
   ========================================================= */
.statement { padding: clamp(4rem, 2rem + 6vw, 8rem) 0 0; border-top: 1px solid var(--line); }
.statement-text {
  max-width: 34ch;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.03em;
  text-indent: clamp(0rem, 12vw, 9rem);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.facts li { padding-top: 1.1rem; border-top: 1px solid var(--line-strong); }
.facts strong { display: block; font-weight: 600; font-size: .9375rem; }
.facts span { display: block; margin-top: .3rem; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }

@media (max-width: 900px) {
  .statement-text { text-indent: 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--section) 0; }
.section-tone { background: var(--paper-2); }

.sec-head {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 1.5rem;
  padding-top: 1.4rem;
  margin-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}
.sec-head::before, .quote-copy::before {
  /* the frame line that draws across */
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--line-strong);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(2.125rem, 1.2rem + 2.9vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.sec-intro { max-width: 34rem; margin-top: 1.5rem; font-size: 1.125rem; color: var(--ink-2); }
.sec-intro a { color: var(--blue); }

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* =========================================================
   01 Services: staggered columns, swipe row on phones
   ========================================================= */
.svc-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 2.25rem);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.svc:nth-child(even) { margin-top: clamp(3rem, 8vw, 8rem); }
.svc figure { margin-bottom: 1.5rem; }
.svc .wipe { aspect-ratio: 3 / 4; }
.svc:nth-child(2) .wipe { --wd: .12s; }
.svc:nth-child(3) .wipe { --wd: .24s; }
.svc:nth-child(4) .wipe { --wd: .36s; }
.svc h3 { margin: 0 0 .6rem; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.02em; }
.svc h3 + p { font-size: .96875rem; color: var(--ink-2); line-height: 1.6; }
.svc-controls { display: none; }

@media (max-width: 1100px) and (min-width: 901px) {
  .svc-list { grid-template-columns: repeat(2, 1fr); row-gap: 4rem; }
}

@media (max-width: 900px) {
  .svc-scroller {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .svc-scroller::-webkit-scrollbar { display: none; }
  .svc-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 360px);
    gap: 1rem;
    width: max-content;
    max-width: none;
  }
  .svc { scroll-snap-align: start; }
  .svc:nth-child(even) { margin-top: 0; }
  .svc .wipe { --wd: 0s !important; }
  .svc-controls { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
}

.circle-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast), opacity var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.circle-btn svg { width: 20px; height: 20px; }
.circle-btn:hover { border-color: var(--ink); }
.circle-btn:active { background: var(--paper-2); }
.circle-btn:disabled { opacity: .3; cursor: default; }
.svc-count { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.svc-count span { color: var(--ink); }

/* =========================================================
   02 Results (the one dark spread)
   ========================================================= */
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .sec-label { color: #B8C2CD; }
.section-dark .sec-num { color: var(--blue-light); }
.section-dark .sec-title em { color: var(--blue-light); }
.section-dark .sec-intro { color: #B8C2CD; }
.section-dark .sec-head::before { background: rgba(244, 242, 237, .28); }
.section-dark :focus-visible { outline-color: var(--blue-light); }

.results {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.sec-head-stack { display: block; margin-bottom: 0; }
.sec-head-stack .sec-title { margin-top: 1.25rem; }

.compare-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 2.25rem; }
.compare-tabs button {
  position: relative;
  min-height: 44px; padding: 0;
  background: none; border: 0;
  font-size: .9375rem; font-weight: 600;
  color: rgba(244, 242, 237, .62);
  cursor: pointer;
  transition: color var(--t-fast);
}
.compare-tabs button::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 8px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.compare-tabs button:hover { color: var(--paper); }
.compare-tabs button[aria-selected="true"] { color: var(--paper); }
.compare-tabs button[aria-selected="true"]::after { transform: scaleX(1); }

.compare-col { min-width: 0; }
.compare {
  aspect-ratio: 1 / 1;
  max-width: 680px;
  margin-left: auto;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.compare > img,
.compare-before img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .32s var(--ease-out);
}
.compare.is-swapping img { opacity: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-before img { filter: saturate(.8); }

.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; pointer-events: none; }
.compare-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -.5px;
  width: 1px; background: var(--paper);
}
.compare-knob {
  position: absolute; top: 50%; left: 0;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 150ms var(--ease-out), box-shadow 150ms;
}
.compare-knob svg { width: 20px; height: 20px; }
.compare-range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  touch-action: pan-y;
}
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 100vh; }
.compare-range::-moz-range-thumb { width: 52px; height: 100vh; border: 0; }
.compare:has(.compare-range:focus-visible) .compare-knob { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--blue-light); }
.compare:has(.compare-range:active) .compare-knob { transform: translate(-50%, -50%) scale(.92); }

.compare-tag {
  position: absolute; top: 1rem; z-index: 3;
  padding: .35rem .65rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  pointer-events: none;
}
.compare-tag-before { left: 1rem; }
.compare-tag-after { right: 1rem; }

@media (max-width: 900px) {
  .results { grid-template-columns: 1fr; gap: 2.5rem; }
  .compare { max-width: none; margin-inline: calc(var(--gutter) * -1); }
}

/* =========================================================
   03 Process
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.step-num {
  display: block;
  font-weight: 800;
  font-size: clamp(2.5rem, 2rem + 1.8vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--blue);
}
.step h3 { margin: 1.25rem 0 .5rem; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.step p { color: var(--ink-2); font-size: .96875rem; max-width: 26rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1rem; padding: 1.5rem 0 2rem; }
  .step-num { grid-row: span 2; font-size: 2.25rem; }
  .step h3 { margin: .2rem 0 .5rem; }
}

/* =========================================================
   04 Plans: an editorial table, rows on phones
   ========================================================= */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.25rem clamp(1.25rem, 2.5vw, 2.5rem) 2rem;
}
.plan + .plan { border-left: 1px solid var(--line-strong); }
.plan-featured { background: var(--paper); }
.plan-featured::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0;
  height: 3px; background: var(--blue);
}
.plan-flag {
  position: absolute; top: 1rem; right: clamp(1.25rem, 2.5vw, 2.5rem);
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.plan h3 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; }
.plan-freq { margin-top: .35rem; font-size: .875rem; color: var(--ink-2); }
.plan-save { margin: 2.25rem 0 1rem; }
.plan-amt {
  display: block;
  font-size: clamp(3.25rem, 2.4rem + 2.6vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.055em;
  font-variant-numeric: lining-nums;
}
.plan-off { display: block; margin-top: .6rem; font-size: .875rem; font-weight: 600; }
.plan-desc { flex: 1; margin-bottom: 1.5rem; font-size: .96875rem; color: var(--ink-2); }
.plan .link-arrow { align-self: flex-start; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "head save" "desc desc" "link link";
    align-items: end;
    column-gap: 1rem;
    padding: 1.75rem 1.25rem 1.25rem;
  }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line-strong); }
  .plan-head { grid-area: head; }
  .plan-save { grid-area: save; margin: 0; text-align: right; }
  .plan-amt { font-size: 2.75rem; }
  .plan-off { margin-top: .35rem; font-size: .75rem; }
  .plan-desc { grid-area: desc; margin: 1rem 0 .5rem; }
  .plan .link-arrow { grid-area: link; justify-self: start; }
  .plan-flag { position: static; grid-column: 1 / -1; margin-bottom: .75rem; }
  .plan-featured { grid-template-areas: "flag flag" "head save" "desc desc" "link link"; }
  .plan-featured .plan-flag { grid-area: flag; }
}

/* =========================================================
   05 Reviews
   ========================================================= */
.quote-feature {
  margin-left: 25%;
  margin-bottom: clamp(4rem, 3rem + 4vw, 7rem);
}
.quote-feature blockquote p {
  position: relative;
  max-width: 30ch;
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.quote-feature blockquote p::before {
  content: "“";
  position: absolute; right: 100%; top: -.05em;
  padding-right: .12em;
  color: var(--blue);
}
.quote-feature figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 1.75rem; font-weight: 600; font-size: .9375rem; }
.via { font-weight: 400; color: var(--ink-3); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.quote { padding-top: 1.4rem; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.quote blockquote { flex: 1; margin: .9rem 0 1.25rem; }
.quote blockquote p { font-size: .96875rem; line-height: 1.65; }
.quote figcaption { font-weight: 600; font-size: .875rem; }
.quote figcaption .via { margin-left: .35rem; }

@media (max-width: 900px) {
  .quote-feature { margin-left: 1.1rem; }
  .quotes { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   06 Areas: columns on desktop, accordions on phones
   ========================================================= */
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.area { border-top: 1px solid var(--line-strong); padding-top: 1.1rem; }
.area summary {
  list-style: none;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  cursor: default;
}
.area summary::-webkit-details-marker { display: none; }
.area ul { margin-top: 1rem; }
.area li { font-size: .9375rem; line-height: 2; color: var(--ink-2); }

@media (max-width: 720px) {
  .areas { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--line-strong); }
  .area { padding: 0; }
  .area summary {
    position: relative;
    display: flex; align-items: center;
    min-height: 64px;
    padding-right: 2.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .area summary::before, .area summary::after {
    content: ""; position: absolute; right: .25rem; top: 50%;
    width: 14px; height: 1.5px; background: var(--ink);
    transition: transform .35s var(--ease-out);
  }
  .area summary::after { transform: rotate(90deg); }
  .area[open] summary::after { transform: rotate(0); }
  .area ul { columns: 2; column-gap: 1rem; margin: 0; padding-bottom: 1.25rem; }
}

/* =========================================================
   07 FAQ
   ========================================================= */
.faq { margin-left: 25%; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  display: flex; align-items: center;
  min-height: 72px;
  padding: 1.1rem 3rem 1.1rem 0;
  font-size: clamp(1.0625rem, .95rem + .45vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%;
  width: 16px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq-a { padding: 0 3rem 1.6rem 0; max-width: 44rem; color: var(--ink-2); }

@supports (interpolate-size: allow-keywords) {
  .faq, .areas { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0; overflow: clip;
    transition: height .4s var(--ease-out), content-visibility .4s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
  @media (max-width: 720px) {
    .area::details-content {
      height: 0; overflow: clip;
      transition: height .4s var(--ease-out), content-visibility .4s allow-discrete;
    }
    .area[open]::details-content { height: auto; }
  }
}

@media (max-width: 900px) {
  .faq { margin-left: 0; }
  .faq-a { padding-right: 0; }
}

/* =========================================================
   08 Quote
   ========================================================= */
.quote-section { border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.quote-copy { position: relative; padding-top: 1.4rem; }
.quote-copy .sec-title { margin-top: 1.25rem; }
.big-phone {
  display: inline-block;
  margin-top: 2.25rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: lining-nums;
  text-decoration: none;
  transition: color var(--t-fast);
}
.big-phone:hover { color: var(--blue); }
.big-email {
  display: flex; align-items: center;
  min-height: 44px; margin-top: .5rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.big-email:hover { color: var(--blue); }

.sheet {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.25rem);
  background: var(--white);
  border: 1px solid var(--line);
}
.quote-form { display: grid; gap: 1.75rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.field { display: grid; gap: .25rem; align-content: start; }
.field label {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
.req { color: var(--danger); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .6rem 0;
  font: inherit;
  font-size: 1.0625rem; /* ≥16px avoids iOS zoom */
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1E30' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .1rem center; background-size: 18px;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: #8A94A0; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 0 var(--blue);
}
.field.has-error input { border-bottom-color: var(--danger); box-shadow: 0 1px 0 0 var(--danger); }
.field-err { margin-top: .35rem; font-size: .8125rem; font-weight: 600; color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* address + short postcode */
.field-row-address { grid-template-columns: 1fr 9rem; }

/* service toggles */
.chips-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips-field legend {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem;
  padding: 0; margin-bottom: .75rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
.legend-hint { font-size: .8125rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.field .chip { font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: inherit; } /* undo .field label caps */
.chip input {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.chip span {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  font-size: .9375rem; font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform 120ms;
}
.chip span::before {
  /* tick that appears when selected */
  content: "";
  width: 0; height: 9px;
  border: solid currentColor; border-width: 0;
  transform: rotate(45deg) translate(-1px, -2px);
  margin-right: 0;
  opacity: 0;
  transition: width var(--t-fast), margin var(--t-fast), opacity var(--t-fast);
}
.chip:hover span { border-color: var(--ink); }
.chip input:active + span { transform: scale(.97); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:checked + span::before { width: 5px; margin-right: .55rem; border-width: 0 2px 2px 0; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.form-error {
  padding: .9rem 1rem;
  font-size: .9375rem; color: var(--danger);
  background: #FEF3F2; border-left: 2px solid var(--danger);
}
.form-error a { color: inherit; font-weight: 700; }

.submit { margin-top: .25rem; }
.spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.submit.is-loading { pointer-events: none; opacity: .85; }
.submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: -.75rem; font-size: .8125rem; color: var(--ink-3); }

.form-success { padding: 3rem 0; outline: none; }
.form-success:not([hidden]) { animation: rise .7s var(--ease-out) both; }
.success-mark { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.4; }
.form-success h3 { margin-top: 1.25rem; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.form-success p { margin-top: 1rem; max-width: 28rem; color: var(--ink-2); }
.form-success a { color: var(--blue); font-weight: 600; }

@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .sheet { margin-inline: calc(var(--gutter) * -1); border-inline: 0; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .field-row-address { grid-template-columns: 1fr 6.5rem; gap: 1.25rem; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: clamp(4rem, 3rem + 4vw, 7rem) 0 2rem; background: var(--ink); color: var(--paper); overflow: hidden; }
.site-footer :focus-visible { outline-color: var(--blue-light); }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.footer-cta { font-size: clamp(2.125rem, 1.3rem + 2.8vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; max-width: 13ch; }
.footer-cta em { color: var(--blue-light); }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(244, 242, 237, .22);
}
.footer-h { color: #A9B4C0; margin-bottom: .75rem; }
.footer-cols li { font-size: .9375rem; color: #D5DBE1; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 40px; color: var(--paper); text-decoration: none; }
.footer-cols a:hover { color: var(--blue-light); }
.footer-mark {
  margin: clamp(3rem, 6vw, 6rem) 0 1.5rem;
  font-size: min(12.4vw, 10.5rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: var(--paper);
}
.footer-base { padding-top: 1.25rem; border-top: 1px solid rgba(244, 242, 237, .22); font-size: .8125rem; color: #A9B4C0; }

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .footer-top .btn { width: 100%; }
}

/* =========================================================
   Mobile action bar
   ========================================================= */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 2fr; gap: .5rem;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(244, 242, 237, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .45s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; }
  .site-footer { padding-bottom: calc(2rem + 72px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Motion
   ========================================================= */
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hero: on load */
.hero-title .ln > span { animation: line-up 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
.hero-fade { animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }

/* section titles: line mask on scroll */
.js .sec-title .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js .sec-title .ln:nth-child(2) > span { transition-delay: .09s; }
.js .is-in .sec-title .ln > span { transform: none; }

/* frame lines draw across */
.js .sec-head::before, .js .quote-copy::before { transform: scaleX(0); }
.js .sec-head.is-in::before, .js .quote-copy.is-in::before { transform: scaleX(1); }

/* quiet fades for supporting content */
.js .reveal-fade, .js .reveal-text {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal-text { transition-duration: 1.3s; }
.js .reveal-fade.is-in, .js .reveal-text.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-delay: 0s !important;
    transition-duration: 1ms !important; transition-delay: 0s !important;
  }
  .wipe, .js .wipe:not(.wipe-load) { clip-path: none !important; animation: none !important; }
  .wipe::after { display: none; }
  .wipe img, .js .wipe:not(.wipe-load) img { transform: none !important; animation: none !important; }
  .js .sec-title .ln > span, .hero-title .ln > span { transform: none; animation: none; }
  .js .reveal-fade, .js .reveal-text, .hero-fade { opacity: 1; transform: none; animation: none; }
  .js .sec-head::before, .js .quote-copy::before { transform: none; }
  .spinner { animation-duration: 1.4s !important; }
}
