/* Presivate — brand tokens from "Route 3 – Quiet Luxury Tech" */
:root {
  --night: #1D302B;          /* page base: green-black from LinkedIn banner */
  --graphite: #0F172A;       /* Midnight Graphite */
  --sage: #49685F;           /* Deep Sage */
  --sage-light: #8FB3A5;     /* sage tint for text/accents on dark (AA on --night) */
  --cream: #F8F5EE;          /* Soft Cream */
  --misty: #E8EEF0;          /* Misty Tone */
  --pale: #D6D9DC;           /* Pale Grey */
  --text: var(--cream);
  --text-muted: #AEB9B5;     /* ~9:1 on --night */
  --line: rgba(248, 245, 238, 0.12);
  --glass: rgba(52, 80, 72, 0.5);
  --glass-strong: rgba(58, 88, 79, 0.7);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
.form-card { color-scheme: light; } /* the cream form keeps light dropdowns */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip; /* clip, unlike hidden, can't be scrolled sideways by focus or scripts */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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: -60px; z-index: 100;
  background: var(--cream); color: var(--night); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 500 0.975rem/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--cream); color: var(--night); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid rgba(248, 245, 238, .35); color: var(--cream); min-height: 40px; padding: 8px 18px; }
.btn-ghost:hover { border-color: var(--cream); background: rgba(248, 245, 238, .06); }

.text-link {
  color: var(--text-muted); text-decoration: underline; text-decoration-color: rgba(174, 185, 181, .4);
  text-underline-offset: 5px; padding: 12px 4px; transition: color .2s ease;
}
.text-link:hover { color: var(--cream); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, .06), 0 30px 60px -30px rgba(0, 0, 0, .6);
}

/* ---------- Glows (the reference's horizon light, in sage/misty/cream) ---------- */
.glow { position: absolute; pointer-events: none; z-index: 0; }
.glow-case {
  top: 10%; right: -10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(73, 104, 95, .45), rgba(73, 104, 95, 0));
  filter: blur(40px);
}
.glow-consult {
  inset: 0;
  background:
    radial-gradient(60% 70% at 0% 50%, rgba(73, 104, 95, .45), rgba(73, 104, 95, 0) 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(232, 238, 240, .10), rgba(232, 238, 240, 0) 70%);
}
.glow-footer {
  left: -10%; right: -10%; bottom: 0; height: 75%;
  background:
    radial-gradient(40% 40% at 50% 70%, rgba(248, 245, 238, .3), rgba(248, 245, 238, 0) 70%),
    radial-gradient(36% 60% at 20% 70%, rgba(73, 104, 95, 1), rgba(73, 104, 95, 0) 72%),
    radial-gradient(36% 60% at 82% 70%, rgba(110, 145, 170, .75), rgba(110, 145, 170, 0) 72%);
  filter: blur(28px);
}

/* ---------- Header ---------- */
/* transparent over the light at the top; frosted once you scroll */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(29, 48, 43, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(29, 48, 43, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
/* the header runs wider than the page content, so the logo sits further left and the button further right */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; gap: 24px; max-width: 1440px; }
.brand { display: block; padding: 6px 0; justify-self: start; }
/* full logo with tagline, sized so "Presivate" matches the wordmark-only version */
.brand { display: flex; align-items: center; }
.brand img { height: 68px; width: auto; transform: translateY(4px); } /* optical nudge: lines "Presivate" up with the menu text */

/* links grouped in one outlined, frosted pill */
.site-nav {
  display: flex; align-items: center; gap: 2px; font-size: .95rem; font-weight: 500;
  padding: 6px; border-radius: 999px;
  border: 1px solid rgba(248, 245, 238, .28);
  background: rgba(29, 48, 43, .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, .08);
}
.site-nav a:not(.btn) {
  color: var(--cream); text-decoration: none; padding: 9px 18px; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav a:not(.btn):hover { background: rgba(248, 245, 238, .08); }
.nav-cta-mobile { display: none; }

.header-end { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* dark button with a glowing gradient edge: warm light bottom-left, blue top-right */
.btn-glow {
  position: relative; color: #fff; font-weight: 600; border-radius: 14px; min-height: 48px; padding: 12px 26px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--night), var(--night)) padding-box,
    linear-gradient(225deg, #8CC0EE 0%, rgba(143, 179, 165, .7) 45%, #F0D29A 100%) border-box;
  box-shadow:
    -6px 6px 20px -4px rgba(233, 206, 150, .7),
    6px -6px 20px -4px rgba(127, 176, 218, .75),
    inset -4px 4px 14px rgba(233, 206, 150, .18),
    inset 4px -4px 14px rgba(127, 176, 218, .22);
  transition: box-shadow .25s ease, transform .15s ease;
}
.btn-glow:hover {
  box-shadow:
    -8px 8px 26px -6px rgba(233, 206, 150, .75),
    8px -8px 26px -6px rgba(127, 176, 218, .8),
    inset 0 0 18px rgba(143, 179, 165, .28);
}

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; color: var(--cream); cursor: pointer; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: centred copy above a giant glowing wordmark ---------- */
.lede { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); max-width: 34rem; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* the header floats over the hero, so the light can run all the way to the top of the screen */
.site-header { margin-bottom: calc(-1 * var(--header-h)); }
:root { --header-h: 84px; }
@media (max-width: 960px) { :root { --header-h: 76px; } }
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(36px, 4.5vw, 64px)); }
.hero::after { /* melt the planet into the next section: no hard seam */
  content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(29, 48, 43, 0), var(--night));
}
.hero .lede { margin-top: 20px; }
.lede-strap { display: block; margin-top: 6px; color: var(--cream); font-weight: 600; text-wrap: balance; }
.hero .lede { text-wrap: balance; }
.hero .hero-actions { margin-top: 28px; }
.hero-center { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 14ch; }
.hero .lede { margin-inline: auto; max-width: 38rem; }
.hero-actions { justify-content: center; }

.hero-stage {
  position: relative; margin-top: clamp(22px, 1.8vw, 28px);
  /* taller below the horizon so the planet's curve runs off both screen edges */
  height: clamp(220px, 30vw, 440px);
}
/* coloured light behind the letters: sage, misty blue and a warm cream core */
.aurora {
  position: absolute; left: -10%; right: -10%; top: 0; bottom: 0;
  background:
    radial-gradient(26% 40% at 50% 58%, rgba(255, 244, 222, .6), rgba(255, 244, 222, 0) 70%),
    radial-gradient(32% 62% at 27% 60%, rgba(73, 104, 95, 1), rgba(73, 104, 95, 0) 72%),
    radial-gradient(30% 58% at 75% 60%, rgba(110, 145, 175, .9), rgba(110, 145, 175, 0) 72%),
    radial-gradient(70% 45% at 50% 75%, rgba(143, 179, 165, .5), rgba(143, 179, 165, 0) 80%);
  filter: blur(30px);
}
.hero-mark {
  position: absolute; z-index: 2; left: 50%; top: 4%; transform: translateX(-50%);
  display: flex; align-items: baseline; gap: .12em; white-space: nowrap;
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: .9;
  font-size: clamp(4.5rem, 18vw, 16rem);
  user-select: none;
}
.hero-mark .main {
  /* bright, clean cream letters that warm to a soft sage at the base (no muddy blue) */
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF8 35%, var(--cream) 58%, #CFE0D8 82%, #A9C7BA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 250, 238, .45)) drop-shadow(0 0 56px rgba(143, 179, 165, .4));
}
/* echoes: faint copies of the wordmark that glide outward from behind it
   and fade away toward the screen edges. --mark-fs matches the wordmark size;
   the main word is 3.87em wide, so each track starts right at its edge. */
.hero-stage { --mark-fs: clamp(4.5rem, 18vw, 16rem); }
.hero-mark { font-size: var(--mark-fs); }
.echo {
  position: absolute; z-index: 1; top: 4%; overflow: hidden;
  width: calc(50% - var(--mark-fs) * 1.94 - 0.06 * var(--mark-fs));
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: .9;
  font-size: var(--mark-fs); white-space: nowrap; user-select: none; pointer-events: none;
  color: rgba(248, 245, 238, .11);
}
/* brightest where they leave the wordmark, gone by the screen edge */
.echo--left {
  left: 0;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 7%, rgba(0, 0, 0, .45) 45%, transparent 92%);
  mask-image: linear-gradient(to left, transparent 0, #000 7%, rgba(0, 0, 0, .45) 45%, transparent 92%);
}
.echo--right {
  right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, rgba(0, 0, 0, .45) 45%, transparent 92%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, rgba(0, 0, 0, .45) 45%, transparent 92%);
}
.echo-run { display: inline-flex; will-change: transform; }
.echo-run span { padding: 0 .175em; } /* even spacing on every word keeps the loop seamless */
.echo--left .echo-run { position: absolute; right: 0; animation: echo-out-left 900s linear infinite; }
.echo--right .echo-run { position: absolute; left: 0; animation: echo-out-right 900s linear infinite; }
/* six identical words: sliding by exactly three of them loops with no jump,
   and the track is always full right up to the wordmark */
@keyframes echo-out-left  { from { transform: translateX(50%); } to { transform: translateX(0); } }
@keyframes echo-out-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.echo { height: 1.05em; }
@media (max-width: 600px) { .echo { display: none; } } /* too little room beside the wordmark on phones */
@media (prefers-reduced-motion: reduce) { .echo-run { animation: none; } }
.hero-stage.is-paused .echo-run { animation-play-state: paused; }
/* the dark planet: its rim is the light source the streaks rise from */
.horizon {
  position: absolute; z-index: 3; left: 50%; top: 53%; transform: translateX(-50%);
  width: 180vw; height: 120vw; border-radius: 50%;
  /* a dark sage silhouette: only a thin band of atmosphere at the rim catches the light */
  background:
    radial-gradient(ellipse 30vw 34px at 50% 0, rgba(255, 240, 212, .22), rgba(255, 240, 212, 0) 100%),
    radial-gradient(ellipse 26vw 60px at 32% 0, rgba(80, 150, 125, .28), rgba(80, 150, 125, 0) 100%),
    radial-gradient(ellipse 26vw 60px at 68% 0, rgba(95, 145, 200, .22), rgba(95, 145, 200, 0) 100%),
    linear-gradient(180deg, #2C4740 0, #1B2D28 22px, #15241F 70px, #15241F 100%);
  box-shadow:
    inset 0 2px 5px rgba(255, 248, 232, .5),
    inset 0 10px 26px rgba(143, 179, 165, .2),
    0 -1px 0 rgba(255, 252, 244, .95),
    0 -3px 6px rgba(255, 248, 232, .7),
    0 -12px 40px rgba(248, 240, 220, .45),
    0 -40px 120px rgba(143, 179, 165, .55),
    0 -90px 220px rgba(110, 145, 175, .35);
}
/* hot spot at the centre of the rim, where the light is brightest */
.hero-stage::after {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 53%;
  width: min(70vw, 900px); height: 220px; transform: translate(-50%, -62%);
  background: radial-gradient(50% 50% at 50% 60%, rgba(255, 246, 226, .75), rgba(233, 216, 180, .35) 35%, rgba(143, 179, 165, 0) 70%);
  filter: blur(18px); pointer-events: none;
}

/* rising light streaks: brand-coloured light, cut into uneven vertical beams, fading upward */
.rays {
  position: absolute; z-index: 0; inset: 0 0 0 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 8%, rgba(0, 0, 0, .85) 30%, rgba(0, 0, 0, .35) 62%, transparent 92%);
  mask-image: linear-gradient(to top, #000 8%, rgba(0, 0, 0, .85) 30%, rgba(0, 0, 0, .35) 62%, transparent 92%);
}
/* hero: the light rises in a dome that follows the curve of the world, tallest in the middle */
.rays--dome {
  -webkit-mask-image: radial-gradient(ellipse 62% 96% at 50% 100%, #000 0%, rgba(0, 0, 0, .9) 30%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .12) 85%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 96% at 50% 100%, #000 0%, rgba(0, 0, 0, .9) 30%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .12) 85%, transparent 100%);
}
/* a handful of tall beams that reach the top of the screen, fading as they climb */
.rays--tall {
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .95) 12%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .18) 80%, rgba(0, 0, 0, .06) 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .95) 12%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .18) 80%, rgba(0, 0, 0, .06) 100%);
}
.rays-beams {
  position: absolute; inset: 0 -3%;
  background: linear-gradient(90deg,
    rgba(60, 130, 105, 1) 0%, rgba(110, 175, 150, 1) 28%, rgba(236, 206, 150, 1) 42%,
    rgba(255, 246, 228, 1) 50%, rgba(190, 220, 235, 1) 58%, rgba(95, 145, 200, 1) 74%, rgba(60, 110, 150, 1) 100%);
  --b: transparent;
  -webkit-mask-image: linear-gradient(90deg,
    var(--b) 23%, rgba(0,0,0,.7) 23.8%, var(--b) 24.9%,
    var(--b) 33.5%, rgba(0,0,0,.55) 34.2%, var(--b) 35.4%,
    var(--b) 44%, rgba(0,0,0,.85) 45%, var(--b) 46.4%,
    var(--b) 51.5%, rgba(0,0,0,.6) 52.2%, var(--b) 53%,
    var(--b) 61%, rgba(0,0,0,.75) 62%, var(--b) 63.3%,
    var(--b) 74%, rgba(0,0,0,.5) 74.7%, var(--b) 75.8%);
  mask-image: linear-gradient(90deg,
    var(--b) 23%, rgba(0,0,0,.7) 23.8%, var(--b) 24.9%,
    var(--b) 33.5%, rgba(0,0,0,.55) 34.2%, var(--b) 35.4%,
    var(--b) 44%, rgba(0,0,0,.85) 45%, var(--b) 46.4%,
    var(--b) 51.5%, rgba(0,0,0,.6) 52.2%, var(--b) 53%,
    var(--b) 61%, rgba(0,0,0,.75) 62%, var(--b) 63.3%,
    var(--b) 74%, rgba(0,0,0,.5) 74.7%, var(--b) 75.8%);
  filter: blur(9px);
  animation: beams-sway 26s ease-in-out infinite alternate;
}
@keyframes beams-sway {
  from { transform: translateX(-14px); opacity: .85; }
  50%  { opacity: 1; }
  to   { transform: translateX(16px); opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .rays-beams { animation: none; } }
.rays.is-paused .rays-beams { animation-play-state: paused; }
.rays-inner {
  position: absolute; inset: 0 -5%;
  background:
    radial-gradient(45% 75% at 50% 100%, rgba(255, 240, 212, .95), rgba(255, 240, 212, 0) 70%),
    linear-gradient(90deg,
      rgba(60, 120, 100, 0) 0%,
      rgba(60, 130, 105, .95) 12%,
      rgba(110, 175, 150, 1) 26%,
      rgba(236, 206, 150, 1) 41%,
      rgba(255, 246, 228, 1) 50%,
      rgba(190, 220, 235, 1) 59%,
      rgba(95, 145, 200, 1) 73%,
      rgba(60, 110, 150, .9) 88%,
      rgba(60, 110, 150, 0) 100%);
  /* three overlapping beam patterns with different spacings = irregular, uneven light */
  -webkit-mask-image:
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(0,0,0,.6) 52px, transparent 80px 113px),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(0,0,0,.5) 88px, transparent 120px 171px),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(0,0,0,.3) 22px, transparent 30px 47px),
    linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22));
  mask-image:
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(0,0,0,.6) 52px, transparent 80px 113px),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(0,0,0,.5) 88px, transparent 120px 171px),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(0,0,0,.3) 22px, transparent 30px 47px),
    linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22));
  filter: blur(12px) saturate(115%);
  animation: rays-drift 40s linear infinite alternate;
}
@keyframes rays-drift {
  from { -webkit-mask-position: 0 0, 0 0, 0 0, 0 0; mask-position: 0 0, 0 0, 0 0, 0 0; }
  to   { -webkit-mask-position: 226px 0, -342px 0, 94px 0, 0 0; mask-position: 226px 0, -342px 0, 94px 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .rays-inner { animation: none; } }
.rays.is-paused .rays-inner { animation-play-state: paused; }

/* the same live light, carried through the page.
   "float" versions fade at both ends so sections blend into each other with no seams */
.rays--float {
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%, rgba(0, 0, 0, .55) 62%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0, #000 30%, rgba(0, 0, 0, .55) 62%, transparent 100%);
}
/* section glows fade out before the section edge, so nothing gets cut off in a hard line */
.glow-consult, .glow-contact {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%);
}
.rays--faint { opacity: .16; }
.rays--soft { opacity: .3; }
.rays--footer { opacity: .75; }
.rays--flip .rays-inner { transform: scaleX(-1); } /* mirror colours so sections don't all match */
.rays--slow .rays-inner { animation-duration: 55s; animation-direction: alternate-reverse; }
/* keep the copy crisp over the light */
.hero h1 { text-shadow: 0 2px 30px rgba(29, 48, 43, .55); }
.hero .lede { color: #C9D2CE; text-shadow: 0 1px 16px rgba(29, 48, 43, .9); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; overflow: clip; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); } /* keep anchor targets clear of the sticky header */
.section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.section > .container { position: relative; z-index: 1; }

/* Services */
.wwd-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.wwd-label { color: var(--sage-light); font-weight: 500; margin-bottom: 16px; }
#services .wwd-head h2 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; max-width: 11ch; }
.wwd-copy p { color: var(--text-muted); max-width: 34rem; }
.wwd-copy p + p { margin-top: 16px; }
.wwd-copy .wwd-lead { color: var(--cream); font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.5; }
.wwd-copy strong { color: var(--cream); font-weight: 600; }

.wwd-subhead { margin-top: clamp(56px, 7vw, 88px); font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; }
.help-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card {
  display: flex; flex-direction: column; padding: 30px 28px 32px;
  border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(143, 179, 165, .12), transparent 70%),
    var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .25s ease, transform .25s var(--ease-out);
}
.help-card:hover { border-color: rgba(143, 179, 165, .45); transform: translateY(-3px); }
.help-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.help-n {
  font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, var(--sage-light)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.help-top .icon { width: 30px; height: 30px; margin: 0; }
.help-card h4 { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.help-card p { margin-top: 12px; color: var(--text-muted); }

.goal {
  margin-top: 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 56px); border-radius: 24px;
  background:
    radial-gradient(60% 140% at 100% 100%, rgba(143, 179, 165, .3), transparent 70%),
    var(--sage);
}
.goal h3 { font-size: 1rem; font-weight: 500; color: #DCE6E2; white-space: nowrap; }
.goal p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }

.icon { width: 24px; height: 24px; fill: none; stroke: var(--sage-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* Case study */
.case { overflow: hidden; }
.case-top { display: grid; grid-template-columns: 1.15fr .85fr; }
.case-copy { padding: clamp(32px, 5vw, 64px); }
.case-client { color: var(--sage-light); font-size: .95rem; margin-bottom: 16px; }
/* big section header above the whole case study, same weight as "Results our clients can see." */
.section .case-section-title {
  font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em;
  max-width: 16ch; margin-bottom: clamp(28px, 4vw, 48px); text-wrap: balance;
}
/* the case study's own title keeps its previous look */
.case-copy .case-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; max-width: 18ch; }
.case-copy > p:not(.case-client) { margin-top: 20px; color: var(--text-muted); max-width: 36rem; }

/* Before / After */
.case-compare { display: grid; grid-template-columns: .8fr 1.2fr; border-top: 1px solid var(--line); }
.case-before, .case-after { padding: clamp(28px, 4.5vw, 56px) clamp(32px, 5vw, 64px); }
.case-before { border-right: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.case-compare h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; margin-bottom: 20px; }
.case-before h3 { color: var(--text-muted); }
.case-before li { position: relative; padding: 12px 0 12px 32px; color: var(--text-muted); }
.case-before li + li { border-top: 1px solid var(--line); }
.case-before li::before, .case-before li::after {
  content: ""; position: absolute; left: 4px; top: calc(12px + .8em); width: 14px; height: 1.5px;
  background: rgba(248, 245, 238, .45); transform: rotate(45deg);
}
.case-before li::after { transform: rotate(-45deg); }
.case-after > p { color: var(--text-muted); max-width: 40rem; }
.case-after > p:first-of-type { color: var(--cream); font-size: 1.1rem; }
.case-after > p + p { margin-top: 12px; }
.case-after ol { margin-top: 20px; display: grid; gap: 12px; counter-reset: step; }
.case-after ol li {
  position: relative; counter-increment: step;
  display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius-md); line-height: 1.5;
  background: rgba(248, 245, 238, .04); border: 1px solid var(--line);
}
/* big, crisp step numbers: bold lining figures in a cream disc with a sage ring */
.case-after ol li::before {
  content: counter(step);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  background: var(--cream); color: var(--night);
  box-shadow: 0 0 0 4px rgba(143, 179, 165, .28), 0 6px 16px -6px rgba(0, 0, 0, .5);
}
/* a short line links each step to the next, so it reads as a sequence */
.case-after ol li:not(:last-child)::after {
  content: ""; position: absolute; left: 38px; bottom: -13px; width: 2px; height: 12px;
  background: rgba(143, 179, 165, .5); border-radius: 1px;
}

/* The result */
.case-result {
  padding: clamp(32px, 5vw, 60px) clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 100% 100%, rgba(143, 179, 165, .3), transparent 70%),
    var(--sage);
}
.case-result h3 { font-size: .95rem; font-weight: 500; color: #DCE6E2; }
.case-result-lead {
  margin-top: 10px; font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; max-width: 24ch; text-wrap: balance;
}
.case-result p:last-child { margin-top: 18px; color: #E4ECE8; max-width: 44rem; font-size: 1.05rem; }

.case-visual {
  position: relative; display: grid; place-items: center; padding: 40px 32px;
  background:
    radial-gradient(70% 60% at 50% 110%, rgba(248, 245, 238, .14), transparent 70%),
    radial-gradient(80% 80% at 70% 20%, rgba(73, 104, 95, .7), transparent 70%),
    linear-gradient(160deg, #2C4A42, #1A2A26);
  border-left: 1px solid var(--line);
}
/* caption above the example window */
.queue-wrap { width: 100%; max-width: 380px; }
.queue-caption { margin-bottom: 18px; padding: 0 4px; }
.queue-caption h4 { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.2; color: var(--cream); text-wrap: balance; }

/* "Overnight run": a small app window showing the automation's results */
.queue {
  width: 100%; max-width: 380px; padding: 20px;
  border-radius: 20px; border: 1px solid rgba(248, 245, 238, .14);
  background: linear-gradient(180deg, rgba(36, 58, 51, .82), rgba(24, 40, 35, .9));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(248, 245, 238, .08);
}
.queue-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 4px 16px; border-bottom: 1px solid var(--line); }
.queue-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--cream); line-height: 1.2; }
.queue-sub { margin-top: 3px; font-size: .8rem; color: var(--text-muted); }
.queue-live {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: rgba(143, 179, 165, .16); color: var(--sage-light);
}
.queue-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-light); box-shadow: 0 0 0 3px rgba(143, 179, 165, .2); }

.queue-list { margin-top: 12px; display: grid; gap: 6px; }
.queue-row {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px; font-size: .9rem;
  background: rgba(248, 245, 238, .035); border: 1px solid transparent;
}
.q-job { display: flex; flex-direction: column; color: var(--cream); font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.3; min-width: 0; }
.q-job small { font-size: .75rem; font-weight: 400; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-icon { width: 28px; height: 28px; border-radius: 50%; position: relative; }
.q-tag { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* registered: sage tick */
.queue-row.done .q-icon { background: rgba(143, 179, 165, .2); }
.queue-row.done .q-icon::after {
  content: ""; position: absolute; left: 10.5px; top: 7px; width: 6px; height: 11px;
  border: solid var(--sage-light); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.queue-row.done .q-tag { color: var(--sage-light); background: rgba(143, 179, 165, .12); }

/* flagged: warm gold, so a person checks it */
.queue-row.check { background: rgba(233, 206, 150, .08); border-color: rgba(233, 206, 150, .35); }
.queue-row.check .q-icon { background: rgba(233, 206, 150, .2); }
.queue-row.check .q-icon::before { content: ""; position: absolute; left: 13px; top: 7px; width: 2px; height: 9px; border-radius: 1px; background: #E9CE96; }
.queue-row.check .q-icon::after { content: ""; position: absolute; left: 13px; top: 18px; width: 2px; height: 2px; border-radius: 1px; background: #E9CE96; }
.queue-row.check .q-tag { color: #1D302B; background: #E9CE96; }
.queue-row.check .q-job small { color: #E3D3B0; }

.queue-more { padding: 6px 12px 0 52px; font-size: .78rem; color: var(--text-muted); }
.queue.is-ready .queue-more { opacity: 0; }
.queue.is-run .queue-more { opacity: 1; transition: opacity .45s ease 1.25s; }
.queue-foot { margin-top: 16px; padding: 14px 4px 2px; border-top: 1px solid var(--line); }
.queue-bar { height: 6px; border-radius: 999px; background: rgba(248, 245, 238, .08); overflow: hidden; display: flex; }
.queue-bar span { width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sage-light) 0 93.75%, #E9CE96 93.75% 100%); /* 15 of 16 registered */ transform-origin: left; }
.queue-foot p { margin-top: 10px; font-size: .8rem; color: var(--text-muted); }
.queue-foot strong { color: var(--cream); font-weight: 600; }

/* plays once when scrolled into view: rows tick in, then the bar fills */
.queue.is-ready .queue-row { opacity: 0; transform: translateY(8px); }
.queue.is-ready .queue-bar span { transform: scaleX(0); }
.queue.is-ready .queue-live { opacity: 0; }
.queue.is-run .queue-row { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s var(--ease-out); }
.queue.is-run .queue-row:nth-child(2) { transition-delay: .25s; }
.queue.is-run .queue-row:nth-child(3) { transition-delay: .5s; }
.queue.is-run .queue-row:nth-child(4) { transition-delay: .75s; }
.queue.is-run .queue-row:nth-child(5) { transition-delay: 1s; }
.queue.is-run .queue-bar span { transform: scaleX(1); transition: transform 1.4s var(--ease-out) .2s; }
.queue.is-run .queue-live { opacity: 1; transition: opacity .4s ease 1.5s; }

/* Testimonials: results first, then the carousel */
.testimonials { overflow: hidden; }
.results-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.testimonials .results-head h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; font-weight: 600; max-width: 12ch; }
.results-head p { color: var(--text-muted); max-width: 26rem; font-size: 1.05rem; }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result {
  display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px);
  border-radius: 28px; position: relative; overflow: hidden;
  container-type: inline-size;
}
.result-light { background: var(--cream); color: var(--night); }
.result-dark {
  color: var(--cream); border: 1px solid rgba(143, 179, 165, .35);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(143, 179, 165, .3), transparent 70%),
    var(--sage);
}

.pill {
  align-self: flex-start; display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 500; line-height: 1.4;
}
.result-light .pill { background: var(--sage); color: var(--cream); }
.result-dark .pill { background: var(--cream); color: var(--night); }

.result-figure {
  margin-top: 28px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 18cqi, 6.25rem); line-height: .95; letter-spacing: -0.03em; white-space: nowrap;
}
.result-figure .arrow { font-family: var(--sans); font-weight: 400; font-size: .6em; vertical-align: .18em; opacity: .7; }
.result-label { margin-top: 14px; font-size: 1.05rem; max-width: 30rem; }
.result-light .result-label { color: #3D4A46; }
.result-dark .result-label { color: #DCE6E2; }

.result-points { margin-top: 24px; display: grid; gap: 10px; }
.result-points li { position: relative; padding-left: 30px; }
.result-points li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
}
.result-points li::after {
  content: ""; position: absolute; left: 6.5px; top: calc(.3em + 4px); width: 4px; height: 8px;
  border: solid; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.result-light .result-points li::before { background: var(--sage); }
.result-light .result-points li::after { border-color: var(--cream); }
.result-dark .result-points li::before { background: var(--cream); }
.result-dark .result-points li::after { border-color: var(--sage); }
.result-points strong { font-weight: 600; }

.result-quote { margin: auto 0 0; padding-top: 28px; }
.result-quote blockquote { margin: 0; padding-top: 24px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.result-quote blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.55; }
.result-quote figcaption { margin-top: 14px; font-size: .95rem; }
.result-light .result-quote figcaption { color: #3D4A46; }
.result-quote figcaption strong { font-weight: 600; color: inherit; }
.result-light .result-quote figcaption strong { color: var(--night); }

/* More from our clients */
.more-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 7vw, 80px); }
.more-head h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--cream); color: var(--night); border: 1px solid var(--cream);
  transition: background-color .2s ease, opacity .2s ease, transform .15s ease;
}
.carousel-btn:hover:not(:disabled) { background: #fff; }
.carousel-btn:active:not(:disabled) { transform: scale(.95); }
.carousel-btn:disabled { background: transparent; color: var(--text-muted); border-color: var(--line); cursor: default; }
.carousel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.carousel {
  margin-top: 24px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .carousel { scroll-behavior: auto; } }

.quote {
  flex: 0 0 min(400px, 86%); scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; padding: 28px 30px;
  border-radius: 24px; border: 1px solid var(--line); background: var(--glass);
}
.pill-quiet { background: rgba(143, 179, 165, .16); color: var(--sage-light); }
/* star rating + topic tag share the top row of each testimonial card */
.quote-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: 20px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: #E9CE96; filter: drop-shadow(0 0 6px rgba(233, 206, 150, .35)); }
.quote blockquote { margin: 0; }
.quote blockquote p { color: #D9DFDC; }
.quote blockquote p + p { margin-top: 14px; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 22px; }
.quote figcaption::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 18px; }
.who { font-weight: 500; }
.role { font-size: .9rem; color: var(--text-muted); }

/* Consultation */
.consultation { overflow: hidden; }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.consultation h2 { max-width: 14ch; }
.consultation .btn { margin-top: 32px; }
.consult-steps { display: grid; gap: 14px; }
.consult-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--radius-md); background: var(--glass); border: 1px solid var(--line); }
/* same clear numbers as the case study steps: bold lining figures on a cream disc */
.step-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  background: var(--cream); color: var(--night);
  box-shadow: 0 0 0 4px rgba(143, 179, 165, .28), 0 6px 16px -6px rgba(0, 0, 0, .5);
}
.consult-steps h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
.consult-steps p { margin-top: 4px; color: var(--text-muted); font-size: .95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
/* the card stays in view while you read the story beside it */
.about-side { position: sticky; top: calc(var(--header-h) + 32px); }

.about-mark {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; border-radius: 28px;
  border: 1px solid rgba(248, 245, 238, .14);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(143, 179, 165, .18), transparent 70%),
    linear-gradient(180deg, #2B453E, #1D302B 70%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(248, 245, 238, .08);
}
.about-rays { opacity: .9; }
.about-pv {
  position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 34%;
  filter: drop-shadow(0 0 22px rgba(255, 250, 238, .45)) drop-shadow(0 0 60px rgba(143, 179, 165, .45));
}
/* a small world at the foot of the card, its rim lit like the hero's */
.about-world {
  position: absolute; z-index: 3; left: 50%; top: 70%; transform: translateX(-50%);
  width: 200%; height: 140%; border-radius: 50%;
  background: linear-gradient(180deg, #2C4740 0, #1B2D28 14px, #15241F 50px);
  box-shadow:
    inset 0 2px 4px rgba(255, 248, 232, .5),
    0 -1px 0 rgba(255, 252, 244, .9),
    0 -4px 10px rgba(255, 248, 232, .55),
    0 -18px 50px rgba(143, 179, 165, .55),
    0 -50px 120px rgba(110, 145, 175, .3);
}
.about-id { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 22px; }
.about-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--cream); line-height: 1.2; }
.about-role { margin-top: 2px; font-size: .9rem; color: var(--sage-light); }

.about-fact {
  margin-top: 16px; display: flex; align-items: baseline; gap: 10px;
  padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass);
  color: var(--text-muted); font-size: .95rem;
}
.about-fact span {
  font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  background: linear-gradient(180deg, #fff, var(--sage-light)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

#about .about-copy h2 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; }
.about-copy > p { margin-top: 18px; color: var(--text-muted); max-width: 38rem; }
.about-copy > .about-lead { margin-top: 24px; color: var(--cream); font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; }
/* the line that sums it all up */
.about-quote {
  margin: 34px 0 0; padding: 4px 0 4px 24px; max-width: 38rem;
  border-left: 3px solid; border-image: linear-gradient(180deg, #E9CE96, var(--sage-light)) 1;
}
.about-quote p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.22; letter-spacing: -0.01em; color: var(--cream); text-wrap: balance; }
.about-copy > .about-close { margin-top: 22px; color: var(--cream); font-weight: 600; font-size: 1.1rem; }
.about-cta { margin-top: 28px; }
/* Contact form */
.contact-section { overflow: hidden; }
.glow-contact {
  inset: 0;
  background:
    radial-gradient(50% 60% at 85% 40%, rgba(73, 104, 95, .5), rgba(73, 104, 95, 0) 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(110, 145, 170, .14), rgba(110, 145, 170, 0) 70%);
}
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-intro h2 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; max-width: 12ch; }
.contact-book { margin-top: 28px; }
.contact-alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-muted); }
.contact-alt p { font-weight: 600; color: var(--cream); }
.contact-alt span { display: block; margin-top: 6px; }

.form-head { margin-bottom: 24px; }
.form-head h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.15; margin-top: 10px; }
.form-head p { margin-top: 6px; color: #3D4A46; }
.form-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(73, 104, 95, .12); color: #2F4740;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.btn-outline { border: 1px solid rgba(248, 245, 238, .45); color: var(--cream); }
.btn-outline:hover { border-color: var(--cream); background: rgba(248, 245, 238, .08); }

.form-card {
  background: var(--cream); color: var(--night);
  border-radius: 28px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--sage); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--night);
  background: #EFEBE1; border: 1px solid #C9C6BD; border-radius: 14px;
  padding: 13px 16px; min-height: 52px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1311' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6E7671; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9BA39F; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(73, 104, 95, .3);
}
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.field-hint { font-size: .875rem; color: #55605B; }
.field-error { font-size: .9rem; color: #B42318; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.btn-dark { background: var(--night); color: var(--cream); min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn-dark:hover:not(:disabled) { background: #284039; }
.btn-dark:disabled { opacity: .6; cursor: progress; }
.form-card :focus-visible { outline-color: var(--sage); }
.form-note { font-size: .875rem; color: #55605B; }
.form-status { margin-top: 16px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; font-weight: 500; }

.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; outline: none; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 18px; fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.form-success p { margin: 10px auto 0; max-width: 28rem; color: #3D4A46; }

/* ---------- Footer: the giant glowing wordmark ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 96px); }
.footer-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-line { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; padding: 8px 0; }
.footer-nav a:hover { color: var(--cream); }

.wordmark {
  position: relative; z-index: 1; margin: clamp(24px, 4vw, 48px) 0 0; text-align: center;
  font-family: var(--serif); font-weight: 500; line-height: .9; letter-spacing: -0.03em;
  font-size: clamp(4.5rem, 21vw, 19rem);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 35%, var(--sage-light) 70%, rgba(73, 104, 95, .25) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(143, 179, 165, .25));
  user-select: none;
}

.footer-base {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 24px; padding-bottom: 32px; font-size: .875rem; color: #D3DCD8;
  /* a soft sage halo so the small print stays readable over the bright streaks */
  text-shadow: 0 0 6px rgba(29, 48, 43, .95), 0 0 14px rgba(29, 48, 43, .8);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { flex-basis: 100%; order: 3; font-size: .8rem; color: #C2CDC8; max-width: 60rem; }

/* form privacy line */
.form-privacy { margin-top: 16px; font-size: .875rem; color: #55605B; }
.form-privacy a { color: #2F4740; font-weight: 600; }

/* ---------- Privacy notice page ---------- */
.legal-hero { position: relative; overflow: hidden; overflow: clip; padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px); }
.legal-hero-inner { position: relative; z-index: 1; }
.legal-eyebrow { color: var(--sage-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.legal-hero h1 { margin-top: 12px; font-size: clamp(2.75rem, 7vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -0.02em; }

.legal-layout {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px);
  align-items: start; padding-bottom: clamp(72px, 10vw, 128px);
}
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass);
  max-height: calc(100vh - var(--header-h) - 48px); overflow: auto;
}
.legal-toc-title { font-weight: 600; color: var(--cream); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; font-size: .9rem; color: var(--text-muted); }
.legal-toc a { color: var(--text-muted); text-decoration: none; display: inline-block; padding: 3px 0; }
.legal-toc a:hover { color: var(--cream); }

.legal-body { max-width: 46rem; color: #D3DCD8; line-height: 1.7; }
.legal-body p, .legal-body ul, .legal-body address { margin: 0 0 16px; }
.legal-body .legal-intro { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--cream); line-height: 1.6; }
.legal-body h2 {
  margin: 56px 0 18px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-body h2 span { color: var(--sage-light); margin-right: .25em; font-variant-numeric: lining-nums; }
.legal-body h3 { margin: 28px 0 8px; font-family: var(--sans, Inter), sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--cream); }
.legal-body ul { padding-left: 1.25em; }
.legal-body li { margin-bottom: 8px; padding-left: 4px; }
.legal-body li::marker { color: var(--sage-light); }
.legal-body strong { color: var(--cream); font-weight: 600; }
.legal-body a { color: var(--cream); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-address { font-style: normal; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); }
.legal-back { margin-top: 40px; }
.legal-back .btn { text-decoration: none; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (max-width: 600px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .consult-grid, .about-grid, .wwd-top, .help-grid { grid-template-columns: 1fr; }
  .goal { grid-template-columns: 1fr; }
  .case-top, .case-compare { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .case-visual { border-left: 0; border-top: 1px solid var(--line); }
  .case-before { border-right: 0; }
  .about-side { position: static; max-width: 380px; }
  .about-mark { aspect-ratio: 1; }
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .nav-toggle { display: grid; }
  .site-header:has(.site-nav.is-open) { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--night); border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
    min-height: calc(100dvh - 76px);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn):hover { background: none; color: var(--sage-light); }
  .brand img { height: 56px; }
}
@media (max-width: 420px) {
  .header-cta { padding: 10px 14px; min-height: 44px; font-size: .9rem; }
  .brand img { height: 46px; }
}
@media (max-width: 360px) {
  /* very small phones: the header keeps logo + menu; "Book a call" moves into the menu */
  .header-cta { display: none; }
  .site-nav.is-open .nav-cta-mobile { display: inline-flex; margin-top: 16px; }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .service-list { padding: 4px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .case-visual { padding: 24px 14px; }
  .queue { padding: 16px 14px; }
  .queue-row { gap: 10px; padding: 10px; }
  .q-job small { white-space: normal; }
  .form-actions .btn { width: 100%; }
  .consult-steps li { padding: 18px; gap: 14px; }
  .consultation .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
