/* ==========================================================================
   Holland Taxaties
   Quiet luxury: navy, cream and gold. EB Garamond with real small caps.
   Square corners, hairline dividers, shadows only on floating panels.
   ========================================================================== */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Mrs Saint Delafield';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/mrs-saint-delafield-latin.woff2') format('woff2');
}

:root {
  --bg: #F7F5F1;
  --paper: #FDFCF9;
  --cream: #F0ECE4;
  --navy: #13263F;
  --navy-900: #0D1B2E;
  --navy-line: rgba(253, 252, 249, .14);
  --ink: #13263F;
  --text: #2F3D54;
  --muted: #5B6678;
  --on-navy: #C9D0DB;
  --on-navy-strong: #E4E8EE;
  --gold: #B7965E;
  --gold-ink: #7F6130;
  --gold-light: #CDB17D;
  --wa: #1F7556;
  --wa-dark: #175C43;
  --line: #E2DACB;
  --line-strong: #CDBFA6;
  --mark-light: #EADFC8;

  --serif: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --script: 'Mrs Saint Delafield', 'Snell Roundhand', cursive;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-float: 0 40px 70px -40px rgba(13, 27, 46, .42), 0 6px 18px -10px rgba(13, 27, 46, .12);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.62;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Subtle paper grain, fixed so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .1 0 0 0 0 .16 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--navy); color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; font-variant-numeric: oldstyle-nums; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ph {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}
.ph--xl { font-size: 2.75rem; color: var(--navy); }

.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;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 24px;
  pointer-events: none;
}

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

.section { padding-block: clamp(5rem, 9vw, 8.5rem); }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-ink);
  font-size: 1.02rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .2em;
  line-height: 1.4;
}

.rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 1.6rem 0;
  background: var(--gold);
}

.display {
  font-size: clamp(2.45rem, 1.5rem + 2.05vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.display em,
.h2 em {
  display: block;
  font-style: italic;
  font-size: .84em;
  line-height: 1.16;
  letter-spacing: -.005em;
}
.display .line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.display .line > span { display: block; }

.h2 { font-size: clamp(2.15rem, 1.5rem + 2.1vw, 3.15rem); }
.h2 em { margin-top: .12em; }

.lead {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 54px;
  padding: 0 1.75rem;
  border: 1px solid var(--navy);
  border-radius: 1px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .15em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ph { font-size: 1.1rem; }
.ph--arrow { transition: transform .3s var(--ease); }
.btn:hover .ph--arrow,
.link-arrow:hover .ph--arrow { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--paper); }
.btn--primary:hover { background: var(--navy-900); border-color: var(--navy-900); }

.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--paper); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .16em;
  text-decoration: none;
  transition: border-color .3s var(--ease);
}
.link-arrow .ph { font-size: 1.05rem; }
.link-arrow:hover { border-bottom-color: currentColor; }

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold);
}
.stars svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Opaque, no backdrop-filter: iOS 26 Safari tints its top bar from this */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(13, 27, 46, .5);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(2.5rem, 4.5vw, 4.5rem);
  height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--navy);
  line-height: 1;
  text-decoration: none;
}
.brand-mark {
  width: 22px;
  height: 27px;
  margin-bottom: 6px;
  stroke-width: 1.4;
}
.brand-name {
  margin-right: -.18em;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand-sub {
  margin-top: 6px;
  margin-right: -.52em;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .52em;
  text-transform: uppercase;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.5rem);
}
.nav a {
  position: relative;
  padding: .45rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .15em;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: .15em;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.5rem);
}
.header-cta { min-height: 46px; padding: 0 1.35rem; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .ph { font-size: 1.85rem; }
.menu-toggle .ph--close { display: none; }
.menu-toggle[aria-expanded="true"] .ph--menu { display: none; }
.menu-toggle[aria-expanded="true"] .ph--close { display: block; }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 1.25rem var(--gutter) 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.8rem;
  text-decoration: none;
}
.mobile-menu nav a .ph { font-size: 1.15rem; color: var(--gold); }
.mobile-menu .btn { margin-top: 2rem; }
.mobile-menu-contact {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
}
.mobile-menu-contact a { color: var(--ink); }

/* Lock scrolling on <html>: html has overflow-x: clip, so overflow on body would not reach the
   viewport and would instead make body a scroll container, detaching the sticky header */
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
/* Full-bleed photo under a navy scrim; the copy sits on the dark side */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-grid {
  display: flex;
  align-items: center;
  min-height: max(620px, calc(100svh - var(--header-h)));
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy);
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 46, .92) 0%, rgba(13, 27, 46, .8) 30%, rgba(13, 27, 46, .32) 58%, rgba(13, 27, 46, .04) 80%),
    linear-gradient(0deg, rgba(13, 27, 46, .55) 0%, rgba(13, 27, 46, 0) 38%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding-block: clamp(4rem, 7vw, 6rem) clamp(8rem, 12vw, 10rem);
}
.hero-copy .display { color: var(--paper); font-size: clamp(2.6rem, 1.4rem + 3vw, 4.6rem); }
.hero-copy .display em { color: var(--mark-light); }
.hero-copy .lead { max-width: 30rem; color: var(--on-navy-strong); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 2rem;
  margin-top: 2.4rem;
}
.hero .btn--primary { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.hero .btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--paper);
  font-size: 1.15rem;
  text-decoration: none;
}
.phone-link .ph { font-size: 1.2rem; color: var(--gold-light); }
.phone-link > span {
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.phone-link:hover > span { border-bottom-color: currentColor; }

.hero-proof { display: none; }

/* ---------- USP strip ---------- */
.usp {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(4rem, 7vw, 5.5rem));
}
.usp-list {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.75rem clamp(1.25rem, 2.2vw, 2.1rem);
}
.usp-item + .usp-item { border-left: 1px solid var(--line); }
.usp-item .ph--xl { font-size: 2.6rem; }
.usp-item h3 { margin-bottom: .2rem; font-size: 1.32rem; line-height: 1.2; }
.usp-item p { color: var(--muted); font-size: 1rem; line-height: 1.45; }

.usp-item--score {
  padding: 0;
  background: var(--navy);
  border-color: var(--navy);
}
.usp-score {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  height: 100%;
  padding: 1.75rem clamp(1.25rem, 2.2vw, 2.1rem);
  color: var(--paper);
  text-decoration: none;
}
.usp-score-value {
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: -.02em;
}
.usp-score-meta { display: flex; flex-direction: column; gap: .4rem; }
.usp-score .stars { color: var(--gold-light); }
.usp-score-label {
  color: var(--on-navy);
  font-size: .98rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .18em;
  line-height: 1.2;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.usp-score:hover .usp-score-label { border-bottom-color: currentColor; }

/* ---------- Over ons ---------- */
.about { padding-top: clamp(6rem, 11vw, 9.5rem); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.portrait {
  position: relative;
  margin: 22px 0 0 22px;
}
.portrait-frame { position: relative; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 1px solid var(--gold);
}
.portrait-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}
.portrait-plate {
  position: absolute;
  right: clamp(-2.5rem, -3vw, -1rem);
  bottom: 2.75rem;
  padding: 1.15rem 1.6rem;
  background: var(--navy);
  box-shadow: var(--shadow-float);
}
.portrait-name {
  display: block;
  color: var(--paper);
  font-size: 1.4rem;
  line-height: 1.2;
}
.portrait-role {
  display: block;
  margin-top: .2rem;
  color: var(--gold-light);
  font-size: .95rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .17em;
}

.about-copy p { max-width: 36rem; }

.dropcap::first-letter {
  float: left;
  margin: .06em .12em 0 0;
  color: var(--navy);
  font-size: 4.15em;
  line-height: .8;
}

.about-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: 36rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.signature {
  margin: 0;
  color: var(--navy);
  font-family: var(--script);
  font-size: 3.1rem;
  line-height: 1;
}
.creds {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.creds-label {
  margin-right: .25rem;
  color: var(--muted);
  font-size: .98rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .16em;
}
.creds img {
  height: 46px;
  width: auto;
  padding: 5px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
}

/* ---------- Reviews ---------- */
.reviews {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(ellipse 60% 70% at 88% 0%, rgba(205, 177, 125, .07), transparent 70%),
    var(--navy);
  color: var(--on-navy);
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.reviews-title {
  color: var(--paper);
  font-size: clamp(2.1rem, 1.5rem + 1.7vw, 2.8rem);
}

.score { display: flex; align-items: center; gap: 1.25rem; }
.score-value {
  color: var(--paper);
  font-size: clamp(5rem, 3.8rem + 4vw, 7.25rem);
  line-height: .82;
  letter-spacing: -.025em;
}
.score-meta { display: flex; flex-direction: column; gap: .55rem; }
.score-meta .stars { color: var(--gold-light); }
.score-meta .stars svg { width: 20px; height: 20px; }
.score-label {
  color: var(--on-navy);
  font-size: 1rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .18em;
}

.review-nav {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-line);
}
.js .review-nav { display: flex; }

.review-people { display: flex; }
.review-person {
  position: relative;
  width: 50px;
  height: 50px;
  margin-left: -9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform .4s var(--ease-out);
}
.review-person:first-child { margin-left: 0; }
.review-person img {
  width: 100%;
  height: 100%;
  border: 2px solid var(--navy);
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(.7);
  opacity: .55;
  transition: opacity .4s var(--ease), filter .4s var(--ease), box-shadow .4s var(--ease);
}
.review-person:hover img { opacity: .9; filter: none; }
.review-person[aria-current="true"] { z-index: 2; transform: translateY(-4px); }
.review-person[aria-current="true"] img {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 1px var(--gold-light);
}

.review-arrows { display: flex; gap: .5rem; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(253, 252, 249, .32);
  border-radius: 1px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.icon-btn .ph { font-size: 1.2rem; }
.icon-btn:hover { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.icon-btn:active { transform: translateY(1px); }

.review-stage {
  position: relative;
  padding-left: clamp(0rem, 5vw, 4.5rem);
  border-left: 1px solid var(--navy-line);
}
.js .review-stage {
  display: grid;
  grid-template-rows: auto auto auto;
}
.review-mark {
  display: block;
  height: 3.1rem;
  color: var(--gold-light);
  font-size: 7.5rem;
  font-style: italic;
  line-height: .78;
}
.review { margin: 0; }
.review + .review { margin-top: 2.5rem; }
.js .review {
  grid-row: 2;
  grid-column: 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .9s var(--ease-out), visibility 0s .9s;
}
.js .review.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .9s var(--ease) .15s, transform 1s var(--ease-out) .15s, visibility 0s;
}
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.55rem, 1.1rem + 1.25vw, 2.2rem);
  font-style: italic;
  line-height: 1.34;
  font-variant-numeric: lining-nums;
}
.review figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1rem;
  margin-top: 2rem;
}
.review-name {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--paper);
  font-size: 1.22rem;
}
.review-name::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold-light);
}
.review-place {
  color: var(--gold-light);
  font-size: 1rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .18em;
}

.review-progress {
  display: none;
  height: 1px;
  margin-top: 2.75rem;
  background: rgba(253, 252, 249, .1);
  overflow: hidden;
}
.js .review-progress { display: block; grid-row: 3; }
.review-progress span {
  display: block;
  height: 100%;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
}
.review-progress span.is-running { animation: review-progress var(--review-ms, 7000ms) linear forwards; }
.reviews:hover .review-progress span,
.reviews:focus-within .review-progress span,
.reviews.is-paused .review-progress span { animation-play-state: paused; }

@keyframes review-progress { to { transform: scaleX(1); } }

/* ---------- Taxaties (use cases) ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.cases-media {
  position: relative;
  margin-bottom: 3.5rem;
}
.cases-media img {
  width: 100%;
  aspect-ratio: 824 / 964;
  object-fit: cover;
}
.cases-quote {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: calc(-1 * clamp(1rem, 4vw, 4rem));
  bottom: -3.5rem;
  margin: 0;
  padding: 1.75rem 2rem 1.6rem;
  background: var(--navy);
  box-shadow: var(--shadow-float);
}
.cases-quote p {
  margin: 0;
  color: var(--paper);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.42;
}
.cases-quote p::before {
  content: "\201C";
  display: block;
  height: 1.5rem;
  color: var(--gold-light);
  font-size: 3.4rem;
  line-height: .85;
}
.cases-quote footer {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.1rem;
  color: var(--gold-light);
  font-size: .95rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .2em;
}
.cases-quote footer::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.5rem 0 2.75rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.case {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}
.case:nth-child(even) {
  padding: 2rem 0 2rem 2rem;
  border-left: 1px solid var(--line);
}
.case:nth-child(n + 3) { border-bottom: 0; }
.case h3 { margin: 1.1rem 0 .4rem; font-size: 1.5rem; }
.case p { color: var(--muted); font-size: 1.06rem; line-height: 1.55; }

/* ---------- Werkwijze ---------- */
.werkwijze { background: var(--cream); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; }
.step::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 80px;
  right: calc(-2.5rem + 16px);
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
}
.step:last-child::after { display: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.45rem;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.step:hover .step-num { background: var(--navy); color: var(--paper); }
.step h3 { margin: 1.75rem 0 .6rem; font-size: 1.55rem; }
.step p { color: var(--muted); font-size: 1.06rem; line-height: 1.6; }

.werkwijze-note {
  margin: clamp(3.5rem, 6vw, 5rem) 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
}
.werkwijze-note a {
  color: var(--ink);
  font-style: normal;
  font-variant-numeric: lining-nums;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- Werkgebied ---------- */
.city {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
}
.city-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
  filter: saturate(.5) contrast(1.05);
  transition: transform 1.6s var(--ease-out);
}
.city:hover .city-bg { transform: scale(1.03); }
.city::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(13, 27, 46, .9) 0%, rgba(13, 27, 46, .8) 100%);
}

.city-inner {
  max-width: calc(46rem + 2 * var(--gutter));
  text-align: center;
}
.city-mark {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.4rem;
  color: var(--mark-light);
  stroke-width: 1.15;
}
.city-title {
  margin-right: -.16em;
  color: var(--paper);
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.city-tag {
  margin: .7rem 0 0;
  color: var(--gold-light);
  font-size: 1.05rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .22em;
}
.city-text {
  max-width: 31rem;
  margin: 1.2rem auto 0;
  text-wrap: balance;
  color: var(--on-navy-strong);
  font-size: 1.15rem;
}
.city .link-arrow { color: var(--paper); }

/* Plaatsen rondom Den Haag: een rustige regel namen, geen blikvanger */
.places { margin: clamp(2.5rem, 5vw, 3.25rem) 0 clamp(2rem, 4vw, 2.5rem); }
.places-title {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.1rem;
  color: var(--gold-light);
  font-size: .98rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .22em;
  line-height: 1.5;
}
.places-title::before,
.places-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--navy-line);
}

.places-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.places-list li {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--on-navy-strong);
  font-size: 1.08rem;
  white-space: nowrap;
}
.places-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  opacity: .8;
  transform: rotate(45deg);
}

.places-note {
  margin: 1.1rem 0 0;
  color: var(--on-navy);
  font-size: 1rem;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact {
  --overhang: clamp(3rem, 5vw, 4rem);
  padding-block: clamp(5rem, 9vw, 8.5rem) calc(clamp(5rem, 9vw, 8.5rem) + var(--overhang));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}

/* Navy panel runs the full height of the form; the form overhangs its foot */
.contact-panel {
  display: flex;
  flex-direction: column;
  margin-left: calc(-1 * var(--edge));
  padding: clamp(3rem, 5vw, 4.5rem) calc(clamp(2rem, 4vw, 3.5rem) + 4rem) clamp(3rem, 5vw, 4.5rem) var(--edge);
  background: var(--navy);
  color: var(--on-navy);
}
.contact-title {
  color: var(--paper);
  font-size: clamp(2.15rem, 1.5rem + 2.1vw, 3.15rem);
}
.contact-lead {
  max-width: 24rem;
  color: var(--on-navy-strong);
  font-size: 1.28rem;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0;
  padding: 1.35rem 0;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}
.contact-person img {
  width: 62px;
  height: 62px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  object-fit: cover;
}
.contact-person-name {
  display: block;
  color: var(--paper);
  font-size: 1.3rem;
  line-height: 1.25;
}
.contact-person-role {
  display: block;
  color: var(--gold-light);
  font-size: .98rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .17em;
}

.contact-list {
  display: grid;
  gap: 1.35rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 1rem;
}
.contact-list .ph {
  grid-row: span 2;
  margin-top: .2rem;
  font-size: 1.4rem;
  color: var(--gold-light);
}
.contact-label {
  color: var(--on-navy);
  font-size: .98rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .17em;
  line-height: 1.35;
}
.contact-value {
  color: var(--paper);
  font-size: 1.22rem;
  line-height: 1.35;
  text-decoration: none;
  word-break: break-word;
}
a.contact-value {
  justify-self: start;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
a.contact-value:hover { border-bottom-color: currentColor; }

.form-card {
  position: relative;
  z-index: 2;
  align-self: start;
  margin: clamp(3rem, 6vw, 5rem) 0 calc(-1 * var(--overhang)) -4rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
}
.form-title { font-size: clamp(1.7rem, 1.4rem + .8vw, 2.1rem); }
.form-card .rule { margin: 1.25rem 0 1.4rem; }
.form-card > p { color: var(--muted); max-width: 34rem; }
.form-embed {
  position: relative;
  margin-top: 1.5rem;
  min-height: 640px;
}
.form-card iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}
.form-loading {
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  margin: 0;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  transition: opacity .4s var(--ease);
}
.form-loading::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 0 auto 1.1rem;
  background: var(--gold);
  animation: loading-line 1.6s var(--ease) infinite alternate;
}
.form-embed.is-loaded .form-loading { opacity: 0; }
@keyframes loading-line {
  from { transform: scaleX(.3); opacity: .5; }
  to { transform: scaleX(1); opacity: 1; }
}
.form-help {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}
.form-help a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(4rem, 7vw, 6rem);
  background: var(--navy-900);
  color: var(--on-navy);
  font-size: 1.08rem;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-rule { flex: 1; height: 1px; background: var(--navy-line); }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--paper);
  line-height: 1;
  text-decoration: none;
}
.footer-brand svg {
  width: 30px;
  height: 36px;
  margin-bottom: 9px;
  color: var(--mark-light);
  stroke-width: 1.3;
}
.footer-brand .brand-name { font-size: 1.65rem; }
.footer-brand .brand-sub { font-size: .64rem; }

.footer-tagline {
  margin: 1.5rem 0 0;
  color: var(--on-navy-strong);
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--navy-line);
}
.footer-col {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}
.footer-col + .footer-col { border-left: 1px solid var(--navy-line); }
.footer-col h3 {
  margin-bottom: 1.1rem;
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .2em;
}
.footer-col ul {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a { text-decoration: none; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-logos { display: flex; justify-content: center; gap: .75rem; }
.footer-logos img {
  height: 54px;
  width: auto;
  padding: 6px 10px;
  background: var(--paper);
}

.footer-bottom {
  border-top: 1px solid var(--navy-line);
  font-size: .98rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 1.4rem;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .16em;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.to-top:hover { color: var(--paper); }

/* ---------- Mobile action bar ---------- */
/* A solid bar on the bottom edge, mirroring the header (iOS 26 Safari tints its toolbar from it).
   Once the hero scrolls away the bar folds to the right into a WhatsApp button and the strip fades out. */
.mobile-cta {
  --cta-h: 52px;
  --cta-pad: .6rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  padding: var(--cta-pad) var(--gutter) calc(var(--cta-pad) + env(safe-area-inset-bottom));
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 40px -34px rgba(13, 27, 46, .5);
  transition: transform .45s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), visibility 0s;
}
.mobile-cta.is-hidden { transform: translateY(100%); }

.mobile-cta-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  height: var(--cta-h);
  clip-path: inset(0 0 0 0 round 1px);
  transition: clip-path .55s var(--ease-out), opacity .3s var(--ease), visibility 0s;
}
.mobile-cta-bar .btn { min-height: 0; height: 100%; }
.mobile-cta-bar .btn--outline { width: var(--cta-h); padding: 0; }
.mobile-cta-bar .btn--outline .ph { font-size: 1.3rem; }

.mobile-cta-wa {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--cta-pad) + env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: var(--cta-h);
  height: var(--cta-h);
  border: 1px solid rgba(253, 252, 249, .22);
  border-radius: 50%;
  background: var(--wa);
  color: var(--paper);
  box-shadow: 0 0 0 4px rgba(247, 245, 241, .55), 0 16px 30px -12px rgba(13, 27, 46, .5);
  opacity: 0;
  visibility: hidden;
  transform: scale(.55);
  transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s .3s, background-color .3s var(--ease);
}
.mobile-cta-wa:hover { background: var(--wa-dark); }
.mobile-cta-wa svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }

.mobile-cta.is-collapsed {
  background-color: transparent;
  border-top-color: transparent;
  box-shadow: none;
  visibility: hidden;
  transition: transform .45s var(--ease), background-color .35s var(--ease) .1s, border-color .35s var(--ease) .1s, box-shadow .35s var(--ease), visibility 0s .55s;
}
.mobile-cta.is-collapsed .mobile-cta-bar {
  clip-path: inset(0 0 0 calc(100% - var(--cta-h)) round calc(var(--cta-h) / 2));
  opacity: 0;
  visibility: hidden;
  transition: clip-path .55s var(--ease-out), opacity .25s var(--ease) .3s, visibility 0s .55s;
}
.mobile-cta.is-collapsed .mobile-cta-bar .btn { color: transparent; transition-duration: .15s; }
.mobile-cta.is-collapsed .mobile-cta-wa {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ease) .3s, transform .55s var(--ease-out) .3s, visibility 0s, background-color .3s var(--ease);
}

/* ---------- Pointer ---------- */
/* Only with a real mouse; site.js feeds the eased pointer position in as
   --px/--py (-1..1, [data-depth]) and --mx/--my (px, [data-glow]) */
@property --glow {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Hero: the room drifts against the cursor and sinks slower than the page */
  .hero-media img {
    scale: 1.06;
    translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -12px + var(--sy, 0px));
  }
  .hero-copy { translate: calc(var(--px, 0) * 6px) calc(var(--py, 0) * 4px); }

  /* Photo, frame and plate sit at different depths */
  .portrait-frame::before { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px); }
  .portrait-frame img,
  .cases-media img { translate: calc(var(--px, 0) * 4px) calc(var(--py, 0) * 3px); }
  .portrait-plate,
  .cases-quote { translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 9px); }

  .city .city-bg { scale: 1.06; translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); }

  /* A soft light follows the cursor across cards */
  [data-glow] { transition: --glow .6s var(--ease); }
  [data-glow]:hover { --glow: 1; }
  .usp-item,
  .case {
    background-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), rgba(183, 150, 94, calc(var(--glow) * .13)), transparent 70%);
  }
  .usp-item--score {
    background-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), rgba(205, 177, 125, calc(var(--glow) * .16)), transparent 70%);
  }
  .city::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 50%), rgba(205, 177, 125, calc(var(--glow) * .16)), transparent 70%);
  }

  /* Icons lift toward the light */
  .usp-item .ph--xl,
  .case .ph--xl { transition: translate .6s var(--ease-out), color .6s var(--ease); }
  .usp-item:hover .ph--xl,
  .case:hover .ph--xl { translate: 0 -4px; color: var(--gold-ink); }

  /* Buttons lean toward the cursor */
  .btn[data-magnetic] {
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .15s var(--ease), translate .5s var(--ease-out);
  }
  .icon-btn[data-magnetic] {
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), translate .5s var(--ease-out);
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance: headline lines rise out of their masks, image settles */
  .js .hero-in {
    animation: rise 1.1s var(--ease-out) both;
    animation-delay: calc(var(--d, 0) * 120ms + 120ms);
  }
  .js .display .line > .hero-in { animation-name: rise-line; animation-duration: 1.2s; }
  .js .hero-media img { animation: settle 2s var(--ease-out) both; }
  .js .usp-item {
    animation: rise 1s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 90ms + 650ms);
  }

  /* Sections reveal as they enter the viewport */
  .js [data-reveal]:not(.is-visible) > * { opacity: 0; }
  .js [data-reveal].is-visible > * {
    animation: rise 1s var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * 100ms);
  }

  /* Werkwijze: connectors draw from step to step */
  .js .step::after {
    transform: scaleX(0);
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 260ms + 350ms);
  }
  .js .steps.is-visible .step::after { transform: scaleX(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rise-line {
  from { transform: translateY(108%); }
  to { transform: translateY(0); }
}
@keyframes settle {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .review-progress { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-right { gap: 1rem; }

  .usp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp-item:nth-child(odd) { border-left: 0; }
  .usp-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand-mark { width: 19px; height: 23px; margin-bottom: 5px; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { margin-top: 5px; font-size: .54rem; }

  .usp { margin-top: -3rem; }

  .about-grid,
  .reviews-grid,
  .cases-grid { grid-template-columns: 1fr; }

  .portrait { max-width: 500px; margin-right: 1rem; }
  .portrait-plate { right: -1rem; }

  .review-stage {
    padding: 2.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--navy-line);
  }
  .reviews-grid { gap: 3rem; }

  .cases-media { max-width: 560px; margin-right: 1.5rem; }
  .cases-quote { right: -1.5rem; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.5rem; }
  .step::after { display: none; }


  .contact { --overhang: 0px; padding-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel {
    margin-right: calc(-1 * var(--edge));
    padding: 3.5rem var(--edge) 6rem;
  }
  .contact-list { margin-top: 0; }
  .form-card { margin: -3.5rem 0 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-col + .footer-col { border-left: 0; border-top: 1px solid var(--navy-line); }
}

/* Larger screens: only the WhatsApp button, bottom right */
@media (min-width: 769px) {
  .mobile-cta {
    --cta-h: 58px;
    display: block;
    left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .mobile-cta-bar { display: none; }
  .mobile-cta .mobile-cta-wa {
    right: clamp(20px, 2.5vw, 40px);
    bottom: clamp(20px, 2.5vw, 36px);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-cta-wa:hover { transform: scale(1.06); }
  .mobile-cta.is-hidden .mobile-cta-wa {
    opacity: 0;
    visibility: hidden;
    transform: scale(.55);
  }
}

@media (max-width: 768px) {
  .mobile-cta { display: block; }
  html:not(.js) body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* A fixed full-width overlay at the top edge is what iOS 26 Safari tints its bars from;
     the grain is invisible at phone size anyway */
  body::after { display: none; }

  /* Hero: the photo fills the screen between header and action bar, copy sits at the bottom */
  .hero-grid {
    align-items: flex-end;
    min-height: calc(100svh - var(--header-h) - 52px - 1.2rem - 1px - env(safe-area-inset-bottom));
  }
  .hero-media img { object-position: 64% 50%; }
  .hero-media::after {
    background: linear-gradient(to top, rgba(13, 27, 46, .94) 0, rgba(13, 27, 46, .86) 300px, rgba(13, 27, 46, .5) 430px, rgba(13, 27, 46, 0) 580px);
  }
  .hero-copy { padding-block: 3rem 2rem; }
  .hero-copy .display { font-size: clamp(2.45rem, 1.5rem + 2.05vw, 3.4rem); }
  .hero-copy .rule,
  .hero-copy .lead,
  .hero-actions { display: none; }

  .hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    margin: 1.4rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(253, 252, 249, .2);
    color: var(--on-navy-strong);
    font-size: 1.02rem;
    font-variant-numeric: lining-nums;
  }
  .hero-proof .stars { color: var(--gold-light); }
  .hero-proof .stars svg { width: 15px; height: 15px; }
  .hero-proof-sep { margin-inline: .3rem; color: var(--gold-light); }

  .usp { margin-top: 0; padding-top: 2.5rem; }
  /* The Google score already sits in the hero on phones */
  .usp-item--score { display: none; }
  .usp-list .usp-item--score + .usp-item { border-top: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1.1rem; }
  .lead { font-size: 1.18rem; }
  .header-cta { display: none; }

  .hero-actions { gap: 1rem 1.5rem; }

  .usp-list { grid-template-columns: 1fr; }
  .usp-item,
  .usp-item:nth-child(odd) { border-left: 0; }
  .usp-item + .usp-item { border-left: 0; border-top: 1px solid var(--line); }
  .usp-item { padding: 1.35rem 1.4rem; }
  .usp-score { padding: 1.35rem 1.4rem; }

  .about-foot { flex-direction: column; align-items: flex-start; }
  .creds { flex-wrap: wrap; }
  .creds-label { flex-basis: 100%; }

  .review-nav { gap: 1.25rem; }

  .case-list { grid-template-columns: 1fr; }
  .case,
  .case:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
  .case:nth-child(n + 3) { border-bottom: 1px solid var(--line); }
  .case:last-child { border-bottom: 0; }
  .case {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .25rem 1.25rem;
  }
  .case .ph--xl { grid-row: span 2; font-size: 2.4rem; }
  .case h3 { margin: 0; }

  .cases-quote { left: 1rem; right: -1rem; padding: 1.4rem 1.5rem; }
  .cases-quote p { font-size: 1.2rem; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 1.25rem;
    padding-bottom: 2.25rem;
  }
  .step::after {
    display: block;
    top: 72px;
    bottom: 8px;
    left: 32px;
    right: auto;
    width: 1px;
    height: auto;
    transform-origin: top;
  }
  .js .step::after { transform: scaleY(0); }
  .js .steps.is-visible .step::after { transform: scaleY(1); }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin: .9rem 0 .4rem; }
  .step p { grid-column: 2; }

  .places-list { gap: .4rem 1.15rem; }
  .places-list li { font-size: 1.02rem; }

  .contact-panel { padding-bottom: 5.5rem; }
  .form-card iframe { height: 700px; }
  .form-embed { min-height: 700px; }

  .footer-mark { gap: 1.25rem; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .js .step::after { transform: none; }
}
