/* JPL Carpet & Pest. One stylesheet for every page. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --boiler-teal: #0F3D44;
  --ink: #0A1F23;
  --steam: #F4F8F7;
  --lagoon-tint: #D5ECE8;
  --fibre-grey: #5F6E6C;
  --call-red: #C5352A;
  --stain-brown: #8A6A4F;

  --call-red-hover: #A92B21;
  --line: var(--lagoon-tint);
  --focus: var(--call-red);
  --logo-accent: var(--fibre-grey);

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.8vw, 2.875rem);
  --step-4: clamp(2.375rem, 1.7rem + 3.4vw, 4.5rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 6px;
  --space: clamp(64px, 9vw, 120px);

  /* The diagonal: 12 degrees off vertical. tan(12deg) = 0.2126 */
  --tan12: 0.2126;
  --cut: clamp(28px, 4.5vw, 64px);

  --header-h: 68px;
  --callbar-h: 60px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--steam);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }
figure { margin: 0; }
.card__media picture,
.diag-photo picture,
.wipe__layer picture,
.page-hero__media picture { height: 100%; }
.pos-low img { object-position: 50% 80%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.15; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--boiler-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }

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

:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

.visually-hidden {
  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: 12px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--steam);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space); }
.section--tint { background: var(--lagoon-tint); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--boiler-teal);
  margin: 0 0 14px;
}

.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; }
.muted { color: var(--fibre-grey); }
.section--tint .muted,
.section--tint .fine-print,
.section--tint .steps p { color: var(--ink); }

.fine-print {
  font-size: var(--step--1);
  color: var(--fibre-grey);
  line-height: 1.55;
}
.fine-print ul { margin: 0; padding-left: 1.1em; }
.fine-print li + li { margin-top: 4px; }

.phone-num {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
}

.icon {
  width: 24px; height: 24px;
  flex: none;
  stroke-width: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--call { background: var(--call-red); color: #fff; }
.btn--call:hover { background: var(--call-red-hover); }

.btn--ghost { border-color: var(--boiler-teal); color: var(--boiler-teal); background: transparent; }
.btn--ghost:hover { background: var(--boiler-teal); color: var(--steam); }

.on-dark .btn--ghost,
.btn--ghost-light { border-color: var(--lagoon-tint); color: var(--steam); }
.on-dark .btn--ghost:hover,
.btn--ghost-light:hover { background: var(--lagoon-tint); color: var(--boiler-teal); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  color: var(--call-red);
  text-decoration: none;
}
.text-link .icon { width: 20px; height: 20px; transition: transform 0.18s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }
.section--tint .text-link { color: var(--boiler-teal); }

/* ---------- Dark sections ---------- */
.on-dark {
  background: var(--boiler-teal);
  color: var(--steam);
  --focus: var(--lagoon-tint);
  --logo-accent: var(--lagoon-tint);
}
.on-dark a:not(.btn) { color: var(--steam); }
.on-dark .eyebrow { color: var(--lagoon-tint); }
.on-dark .muted,
.on-dark .fine-print { color: var(--lagoon-tint); }
.on-dark .text-link { color: var(--steam); }

/* The diagonal cut reused as a section edge */
.cut-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--space) + var(--cut)); margin-top: calc(var(--cut) * -1); }
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(var(--space) + var(--cut)); }
.cut-both { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-block: calc(var(--space) + var(--cut)); margin-block: calc(var(--cut) * -1); position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--steam);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--boiler-teal);
  text-decoration: none;
  min-height: 44px;
}
.brand svg { width: auto; height: 42px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--boiler-teal);
  cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--boiler-teal); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-nav a:hover { color: var(--boiler-teal); text-decoration: underline; }
.header-call { display: none; }

/* Mobile nav panel */
.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--steam);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
}
.site-nav.is-open li + li { border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-nav ul { display: flex; gap: clamp(16px, 2.4vw, 32px); }
  .site-nav.is-open li + li { border: 0; }
  .header-call { display: inline-flex; min-height: 48px; padding-inline: 18px; }
  .brand svg { height: 48px; }
  .site-header__inner { gap: 32px; }
  .site-nav { margin-left: auto; }
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--steam);
  border-top: 1px solid var(--line);
  transition: transform 0.22s ease;
}
.call-bar .btn { width: 100%; min-height: 52px; font-size: 1.125rem; }
.call-bar.is-hidden { transform: translateY(110%); }
body { padding-bottom: calc(var(--callbar-h) + 16px); }
@media (min-width: 900px) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Home hero: the clean-stripe wipe ---------- */
.hero { position: relative; background: var(--boiler-teal); }

.wipe {
  --pos: 55;
  --skew: 60px;
  position: relative;
  height: clamp(300px, 52svh, 460px);
  overflow: hidden;
  background: var(--stain-brown);
  user-select: none;
  -webkit-user-select: none;
}
.wipe__layer {
  position: absolute;
  inset: 0;
}
.wipe__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
/* Dirty side sits on the left of the edge */
.wipe__layer--dirty img { filter: saturate(0.45) brightness(0.82) contrast(0.95); }
.wipe__layer--dirty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--stain-brown);
  mix-blend-mode: multiply;
  opacity: 0.62;
}
/* Clean side: clipped to the right of the diagonal edge */
.wipe__layer--clean {
  clip-path: polygon(
    calc(var(--pos) * 1% + var(--skew)) 0,
    100% 0,
    100% 100%,
    calc(var(--pos) * 1% - var(--skew)) 100%
  );
}
.wipe__layer--clean img { filter: brightness(1.08) saturate(1.05); }

.wipe__edge {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--pos) * 1%);
  width: 0;
  pointer-events: none;
}
.wipe__edge::before {
  content: "";
  position: absolute;
  top: -10%; bottom: -10%;
  left: -2px;
  width: 4px;
  background: var(--steam);
  transform: rotate(12deg);
  box-shadow: 0 0 0 1px rgba(10, 31, 35, 0.18);
}
.wipe__handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  border: 3px solid var(--steam);
  background: var(--boiler-teal);
  color: var(--steam);
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(10, 31, 35, 0.35);
  --focus: var(--steam);
}
.wipe__handle:active { cursor: grabbing; }
.wipe__handle svg { width: 34px; height: 34px; }
.wipe__handle:focus-visible { outline: 3px solid var(--call-red); outline-offset: 4px; border-radius: 50%; }

.hero__panel {
  position: relative;
  padding: 32px var(--gutter) 40px;
  background: var(--steam);
}
.hero__panel h1 { margin-bottom: 18px; color: var(--ink); }
.hero__panel .lede { margin-bottom: 26px; }
.hero__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: var(--step--1);
  color: var(--fibre-grey);
}
.hero__hours .icon { width: 18px; height: 18px; color: var(--boiler-teal); }

.hero-line { display: block; }

@media (min-width: 900px) {
  .wipe { height: clamp(420px, 58svh, 560px); }
  .hero__panel { padding: 48px var(--gutter) 56px; }
  .hero__panel > * { max-width: 760px; }
}
@media (min-width: 1280px) {
  .wipe { --hero-h: min(86svh, 820px); height: var(--hero-h); min-height: 640px; }
  .hero__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(46%, 700px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px max(48px, calc((100vw - var(--maxw)) / 2 - 40px)) 48px 160px;
    background: linear-gradient(90deg, rgba(244, 248, 247, 0.55) 0, rgba(244, 248, 247, 0.9) 140px, rgba(244, 248, 247, 0.95) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    clip-path: polygon(calc(min(86svh, 820px) * var(--tan12)) 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero__panel > * { max-width: 500px; }
  .hero__panel h1 { font-size: clamp(2.75rem, 3.6vw, 3.6rem); }
  .hero-line { white-space: nowrap; }
}

/* ---------- Proof strip ---------- */
.proof {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 44px);
}
.proof__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 28px;
}
.proof__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.25;
}
.proof__item .icon {
  width: 44px; height: 44px;
  padding: 9px;
  border-radius: var(--radius);
  background: var(--lagoon-tint);
  color: var(--boiler-teal);
}
.proof .fine-print { margin-top: 22px; max-width: 72ch; }
@media (min-width: 560px) { .proof__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .proof__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split {
  max-width: none;
  display: grid;
  gap: 16px 48px;
  align-items: end;
}
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; } }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.card:hover { border-color: var(--boiler-teal); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lagoon-tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--low img { object-position: 50% 72%; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.card__body h3 { margin: 0; font-size: var(--step-2); }
.card__body p { margin: 0; }
.card__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-stretch: 108%;
  color: var(--ink);
}
.price small { font-size: 0.875rem; font-weight: 600; color: var(--fibre-grey); text-transform: uppercase; letter-spacing: 0.06em; }
.price strong { font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price--lg strong { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); }
.section--tint .price small { color: var(--ink); }

.cards-note { margin-top: 20px; }

/* ---------- Steam steps (a real sequence, numbered) ---------- */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-left > :first-child { order: -1; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
}

.steps { counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--boiler-teal);
  color: var(--steam);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 1.375rem;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--fibre-grey); }

/* Photo with the diagonal edge */
.diag-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lagoon-tint);
  clip-path: polygon(calc(100% * var(--tan12) * 0.5) 0, 100% 0, 100% 100%, 0 100%);
}
.diag-photo img { width: 100%; height: 100%; object-fit: cover; }
.diag-photo--tall { aspect-ratio: 4 / 5; }
.diag-photo--wide { aspect-ratio: 4 / 3; }
.diag-photo--flip { clip-path: polygon(0 0, 100% 0, calc(100% - 100% * var(--tan12) * 0.5) 100%, 0 100%); }

/* ---------- End of lease band ---------- */
.lease-band { position: relative; z-index: 1; }
.lease-band h2 { max-width: 18ch; }
.lease-band__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) { .lease-band__grid { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.lease-band__list { display: grid; gap: 12px; margin-bottom: 28px; }
.lease-band__list li { display: flex; gap: 12px; align-items: flex-start; }
.lease-band__list .icon { color: var(--lagoon-tint); margin-top: 3px; }
.lease-band__note {
  border-left: 4px solid var(--lagoon-tint);
  padding: 6px 0 6px 18px;
  margin-bottom: 28px;
  font-size: var(--step-1);
  line-height: 1.45;
}

/* ---------- Other services grid ---------- */
.mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.mini-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.mini-grid .icon { color: var(--boiler-teal); }
@media (min-width: 600px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
@media (min-width: 1000px) {
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
}
.mini-grid + .text-link { margin-top: 20px; }

/* ---------- Customer comment ---------- */
.comment {
  display: grid;
  gap: 28px;
  align-items: end;
}
@media (min-width: 900px) { .comment { grid-template-columns: 1fr auto; gap: 64px; } }
.comment blockquote { margin: 0; }
.comment blockquote p {
  font-family: var(--font-display);
  font-stretch: 104%;
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 34ch;
  margin-bottom: 20px;
}
.comment blockquote p::before { content: "\201C"; color: var(--boiler-teal); }
.comment blockquote p::after { content: "\201D"; color: var(--boiler-teal); }
.comment figcaption { font-weight: 600; }
.comment__aside { font-size: var(--step--1); }

/* ---------- Service area and hours ---------- */
.info-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid--stack { grid-template-columns: 1fr; }
}
.info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: var(--step-1);
  margin: 0;
}
.info__label .icon { color: var(--boiler-teal); }
.info p { margin: 0; }
.info a { min-height: 44px; display: inline-flex; align-items: center; }
.contact-lines { display: grid; gap: 4px; }
.contact-lines a { font-weight: 600; overflow-wrap: anywhere; }
.contact-lines .phone-num { font-size: 1.375rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 96px); }
.cta-band__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(48px, 7vw, 80px) 32px; font-size: var(--step--1); border-top: 1px solid rgba(213, 236, 232, 0.2); }
.site-footer .brand { color: var(--steam); }
.site-footer .brand svg { height: 52px; }
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-grid h2 {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lagoon-tint);
  margin-bottom: 12px;
}
.footer-name { margin: 18px 0 0; font-weight: 600; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-list .icon { width: 18px; height: 18px; color: var(--lagoon-tint); }
.footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(213, 236, 232, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--lagoon-tint);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  display: grid;
  background: var(--boiler-teal);
  color: var(--steam);
  overflow: hidden;
  --focus: var(--lagoon-tint);
}
.page-hero__media { position: relative; height: clamp(200px, 36vw, 280px); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__text { padding: 36px var(--gutter) 48px; }
.page-hero__text h1 { max-width: 16ch; margin-bottom: 16px; }
.page-hero__text .lede { color: var(--lagoon-tint); }
.page-hero .eyebrow { color: var(--lagoon-tint); }
.page-hero .btn-row { margin-top: 24px; }
@media (min-width: 900px) {
  .page-hero { grid-template-columns: 1.05fr 1fr; min-height: 460px; }
  .page-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 48px 64px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  }
  .page-hero__media { height: auto; order: 2; }
  .page-hero__media picture { position: absolute; inset: 0; }
  .page-hero__media {
    clip-path: polygon(calc(460px * var(--tan12)) 0, 100% 0, 100% 100%, 0 100%);
    margin-left: calc(460px * var(--tan12) * -1);
  }
}

/* ---------- Detail blocks (services, end of lease) ---------- */
.detail { scroll-margin-top: calc(var(--header-h) + 16px); }
.detail + .detail { border-top: 1px solid var(--line); }
.detail__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 20px 0 24px;
}
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks .icon {
  width: 28px; height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: var(--lagoon-tint);
  color: var(--boiler-teal);
  stroke-width: 2.5;
}
.section--tint .ticks .icon { background: #fff; }

.pill-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  padding: 8px 14px;
  border: 1px solid var(--boiler-teal);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--boiler-teal);
  background: #fff;
}

.note-box {
  border-left: 4px solid var(--boiler-teal);
  background: #fff;
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}
.section--tint .note-box { background: var(--steam); }

.line-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.line-list h3 { margin: 0; font-size: var(--step-1); }
.line-list p { margin: 0; }
@media (min-width: 700px) { .line-list li { grid-template-columns: minmax(200px, 0.8fr) 1.2fr; align-items: baseline; } }
.section--tint .line-list,
.section--tint .line-list li { border-color: rgba(15, 61, 68, 0.2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: var(--step-1);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 3px solid var(--boiler-teal);
  border-bottom: 3px solid var(--boiler-teal);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 22px; max-width: 64ch; }

/* ---------- Three-up feature blocks ---------- */
.trio { display: grid; gap: 20px; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio__item {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trio__item .icon {
  width: 48px; height: 48px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--boiler-teal);
  color: var(--steam);
  margin-bottom: 18px;
}
.trio__item h3 { margin-bottom: 8px; }

/* ---------- Contact page ---------- */
.tap-targets { display: grid; gap: 14px; }
@media (min-width: 800px) { .tap-targets { grid-template-columns: 1fr 1.45fr 1fr; } }
@media (min-width: 800px) and (max-width: 1099px) { .tap--email strong { font-size: 1rem; } }
.tap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--boiler-teal);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.tap .icon { width: 32px; height: 32px; color: var(--boiler-teal); }
.tap span { display: grid; gap: 2px; min-width: 0; }
.tap small { font-size: var(--step--1); font-weight: 600; color: var(--fibre-grey); }
.tap strong { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.tap:hover { background: var(--lagoon-tint); }
.tap:hover small { color: var(--ink); }
.tap--call { background: var(--call-red); border-color: var(--call-red); color: #fff; }
.tap--call .icon,
.tap--call small { color: #fff; }
.tap--call:hover { background: var(--call-red-hover); border-color: var(--call-red-hover); }
.tap--call:hover small { color: #fff; }
.tap--call strong { font-variant-numeric: tabular-nums; font-size: 1.5rem; }

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field .hint { font-size: var(--step--1); color: var(--fibre-grey); margin: 0; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--fibre-grey);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--boiler-teal) 50%), linear-gradient(135deg, var(--boiler-teal) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--boiler-teal); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--call-red); }
.field__error {
  display: none;
  margin: 0;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--call-red);
}
.field__error.is-shown { display: block; }
.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status.is-success { background: var(--lagoon-tint); color: var(--ink); border-left: 4px solid var(--boiler-teal); }
.form-status.is-error { background: #fff; color: var(--ink); border: 2px solid var(--call-red); }
.form-status a { font-weight: 800; }

/* ---------- Scroll reveal (only once JS opts in) ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion: everything stops ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 380px) {
  .btn { padding-inline: 16px; font-size: 1rem; }
  .btn-row .btn { width: 100%; }
  .tap strong { font-size: 1.125rem; }
  .tap--call strong { font-size: 1.3rem; }
}
