/* =========================================================
   Lynne James – McKenzie Friend
   ========================================================= */

/* ---------- Fonts (self-hosted, from Google Fonts: Fraunces & Karla, SIL OFL) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latin.woff2") format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-normal-latin.woff2") format('woff2');
  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: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin.woff2") format('woff2');
  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: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin.woff2") format('woff2');
  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: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin.woff2") format('woff2');
  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: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/karla-normal-latin.woff2") format('woff2');
  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;
}

:root {
  /* Palette: the original site's navy, cyan and light grey on white */
  --ink: #1c244b;
  --ink-soft: #324a6d;
  --ink-mute: #5f6f88;
  --cream: #ffffff;
  --sand: #f2f2f2;
  --sand-deep: #e2e2e2;
  --white: #ffffff;
  --teal: #1f8a9c;
  --teal-bright: #4bbcd0;
  --teal-tint: #e3f3f5;
  --coral: #b8434f;
  --coral-tint: #e3f3f5;
  --line: rgba(28, 36, 75, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(28, 36, 75, 0.06), 0 2px 8px rgba(28, 36, 75, 0.05);
  --shadow: 0 2px 4px rgba(28, 36, 75, 0.04), 0 12px 32px rgba(28, 36, 75, 0.09);
  --shadow-lg: 0 24px 60px rgba(28, 36, 75, 0.16);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 350; }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.005em; font-variation-settings: "opsz" 24; }

h1 em, h2 em {
  font-style: italic;
  color: var(--teal);
  font-weight: 300;
}

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

a { color: var(--teal); text-underline-offset: 3px; }

:focus-visible {
  outline: 2.5px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.section { padding-block: var(--section-y); }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.prose p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { --btn-bg: var(--teal-bright); box-shadow: 0 6px 18px rgba(75, 188, 208, 0.3); }
.btn-primary:hover { --btn-bg: #3aaec3; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(75, 188, 208, 0.38); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(28, 36, 75, 0.25); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(28, 36, 75, 0.04); }

.btn-light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding-block: 6px;
}
.nav ul a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav ul a:hover::after,
.nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar {
  position: absolute; left: 13px; right: 13px;
  height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-bar:nth-of-type(2) { top: 19px; }
.nav-toggle-bar:nth-of-type(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { top: 22.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { top: 22.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(28, 36, 75, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav ul a::after { display: none; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  /* soft colour wash behind the portrait */
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  right: -240px; top: 0;
  background: radial-gradient(closest-side, rgba(73, 189, 207, 0.20), transparent 70%),
              radial-gradient(closest-side at 30% 70%, rgba(28, 36, 75, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { max-width: 34em; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.95rem; color: var(--ink-soft);
}
.hero-points li, .contact-list li { display: flex; align-items: center; gap: 8px; }
.hero-points svg, .contact-list svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.hero-media { position: relative; }

.hero-photo {
  position: relative;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-quote {
  position: absolute;
  left: -48px; bottom: 56px;
  max-width: 270px;
  margin: 0;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-quote blockquote {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}
.hero-quote figcaption {
  font-size: 0.85rem; font-weight: 700; color: var(--teal);
  letter-spacing: 0.04em;
}
.hero-quote::before {
  content: "★★★★★";
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #e3a63b;
  margin-bottom: 6px;
}

.hero-badge {
  position: absolute;
  right: -18px; top: 40px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--teal-bright);
}
.hero-badge-label { font-size: 0.72rem; line-height: 1.3; margin-top: 6px; opacity: 0.9; }

/* Desktop: fit the whole hero in the first screen, centred vertically */
@media (min-width: 901px) {
  .hero {
    --hero-h: calc(100svh - var(--header-h));
    min-height: var(--hero-h);
    display: flex;
    align-items: center;
    padding-block: clamp(24px, 4vh, 48px);
  }
  .hero > .container { width: 100%; }
  .hero-copy h1 { font-size: clamp(2.4rem, min(5vw, 8.5vh), 4.6rem); margin-bottom: clamp(14px, 2.5vh, 24px); }
  .hero-copy .lead { font-size: clamp(1rem, min(1.6vw, 2.6vh), 1.25rem); margin-bottom: clamp(18px, 3.5vh, 34px); }
  .hero-actions { margin-bottom: clamp(18px, 3.5vh, 36px); }
  .hero-media {
    /* photo is 4:5, so cap its width by the available height */
    width: min(100%, calc((var(--hero-h) - clamp(48px, 8vh, 96px)) * 0.8));
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-quote { left: -8px; bottom: 28px; max-width: 230px; padding: 16px 18px; }
  .hero-quote blockquote { font-size: 1rem; }
  .hero-badge { right: -6px; top: 24px; width: 104px; height: 104px; }
  .hero-badge-num { font-size: 1.7rem; }
}

/* ---------- About ---------- */
.about { background: var(--sand); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.about-copy .lead { color: var(--ink); }

.signature-row {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.signature-row img { height: 58px; width: auto; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 3 / 2; }
}

/* ---------- Services ---------- */
.services { background: var(--white); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro { font-size: 1.1rem; }

.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s, background-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.service-media {
  display: block;
  margin: -32px -30px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.04); }
.service-card h3 { margin: 22px 0 10px; }
.service-card p { margin: 0; font-size: 1rem; }

.service-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  position: relative;
  margin-top: -26px;
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s, color 0.3s;
}
.service-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } .service-card { padding: 26px 22px; } }

/* ---------- Process ---------- */
.process {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  left: -260px; bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(73, 189, 207, 0.22), transparent);
  pointer-events: none;
}
.process h2, .process h3 { color: var(--white); }

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.process .container { max-width: 1320px; }
.process-main h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.process-intro { font-size: 1.12rem; max-width: 36em; margin-bottom: clamp(36px, 5vw, 56px); }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.step { padding: 4px clamp(14px, 1.6vw, 24px); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; }
.step p { margin: 0; font-size: 0.95rem; }
.step-num {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal-bright);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(75, 188, 208, 0.7);
  display: grid; place-items: center;
}

/* Cost comparison, inside the process section */
.cost-compare {
  display: grid; gap: 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  color: var(--ink-soft);
}
.cost-context {
  margin: 0;
  font-size: 0.9rem; font-weight: 600;
  color: var(--ink-mute);
}
.cost-bars { display: grid; gap: 22px; }
.cost-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label value" "track track";
  gap: 8px 16px;
  align-items: end;
}
.cost-bar-label { grid-area: label; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.cost-bar-value {
  grid-area: value;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--ink);
  line-height: 1;
}
.cost-bar-track {
  grid-area: track;
  height: 14px;
  border-radius: 999px;
  background: var(--sand);
  overflow: hidden;
}
.cost-bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) 0.2s;
}
.cost-bar-fill--lynne { background: var(--teal-bright); }
.cost-bar-fill--sol { background: var(--sand-deep); }
.is-visible .cost-bar-fill { transform: scaleX(1); }
.cost-note { margin: 0; font-size: 0.82rem; color: var(--ink-mute); }

.cost-saving {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--teal-tint);
  color: var(--ink);
}
.cost-saving strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1;
  color: var(--teal);
}
.cost-saving span { font-weight: 600; font-size: 0.98rem; }

@media (max-width: 1080px) {
  .process-grid { grid-template-columns: 1fr; }
  .cost-compare { max-width: 560px; }
}
@media (max-width: 680px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step, .step:first-child { padding: 0 0 0 0; border-left: 0; }
  .step + .step { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--sand); }
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.review {
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.review-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.review blockquote { margin: 0; }
.review-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
  font-variation-settings: "opsz" 48;
}
.review-body {
  position: relative;
  font-size: 0.98rem;
  overflow: hidden;
  max-height: 7.6em;
  transition: max-height 0.6s var(--ease);
}
.review-body p { margin-bottom: 0.8em; }
.review-body::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white));
  transition: opacity 0.3s;
  pointer-events: none;
}
.review.is-expanded .review-body::after { opacity: 0; }

.review-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.1rem;
  background: var(--coral-tint); color: var(--teal);
}
.review:nth-child(even) .review-avatar { background: var(--teal-tint); color: var(--teal); }
.review-name { font-weight: 700; color: var(--ink); }
.review-more {
  margin-left: auto;
  border: 0; background: none; padding: 8px 0;
  font: 600 0.92rem var(--font-body);
  color: var(--teal);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(31, 138, 156, 0.35);
  text-underline-offset: 4px;
}
.review-more:hover { text-decoration-color: currentColor; }
.review-more[hidden] { display: none; }

@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Social ---------- */
.social { background: var(--white); }
.social-card {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--teal) 0%, #2aa3b5 100%);
  color: rgba(255, 255, 255, 0.9);
}
.social-card h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.social-card p { margin: 0; }
.social-copy { flex: 1; }
.social-icon {
  flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
.social-icon svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .social-card { flex-direction: column; align-items: flex-start; }
}

/* ---------- Contact ---------- */
.contact { background: var(--teal-tint); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.contact-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; gap: 14px;
}
.contact-list li { align-items: flex-start; }
.contact-list svg { margin-top: 3px; }
.contact-list strong { color: var(--ink); }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-mute); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--font-body);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(28, 36, 75, 0.28); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(73, 189, 207, 0.2);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--coral); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.8px solid var(--ink-soft);
  border-bottom: 1.8px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.95rem; cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px; height: 20px; margin: 2px 0 0;
  accent-color: var(--teal);
}
.consent.has-error span { color: #b8434f; }

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

.form-status { margin: 0; font-size: 0.95rem; min-height: 1.5em; }
.form-status.is-error { color: #b8434f; }
.form-status.is-success {
  color: var(--ink);
  background: var(--teal-tint);
  padding: 14px 16px;
  border-radius: 12px;
}

.contact-form button[disabled] { opacity: 0.7; cursor: progress; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 64px 32px;
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 36px;
}
.footer-brand img { height: 92px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--teal-bright); }
.footer-base {
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  position: relative;
  padding-top: 24px;
  font-size: 0.86rem;
}
.footer-base::before {
  content: "";
  position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.footer-base p { margin: 0; }
.footer-note { max-width: 560px; opacity: 0.75; }
.footer-company { flex-basis: 100%; font-size: 0.8rem; opacity: 0.6; }
.footer-base a { color: inherit; margin-left: 10px; }
.footer-base a:hover { color: var(--teal-bright); }

/* ---------- 404 page ---------- */
.not-found { min-height: calc(100svh - var(--header-h) - 200px); display: flex; align-items: center; }
.not-found-inner { max-width: 760px; }
.not-found .lead { max-width: 34em; margin-bottom: 34px; }

/* ---------- Legal pages ---------- */
.legal-inner { max-width: 800px; }
.legal-body h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 0.3em; }
.legal-updated { margin: 0 0 2em; font-size: 0.95rem; color: var(--ink-mute); }
.legal-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h3 { font-size: 1.15rem; margin: 1.4em 0 0.4em; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body ul { padding-left: 1.2em; color: var(--ink-soft); }
.legal-body li { margin-bottom: 0.4em; }
.legal-body strong { color: var(--ink); }
.legal-body a { overflow-wrap: anywhere; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex;
    align-items: center; justify-content: center;
    position: fixed;
    left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
    min-height: 54px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(28, 36, 75, 0.35);
    transform: translateY(140%);
    transition: transform 0.4s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 760px;
  margin-inline: auto;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; align-items: center; gap: 16px 24px; }
.cookie-banner p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner a { color: var(--teal-bright); }
.cookie-banner-actions { display: flex; gap: 10px; flex: none; }
.has-cookie-banner .mobile-cta { display: none; }

@media (max-width: 700px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

.footer-link-btn {
  margin-left: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--teal-bright); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
