/* etrayt — site styles. Tokens and measurements follow the Figma page "Option 3 - hybrid". */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2A2829;
  --body: #5A5657;
  --article: #3B393A;
  --blue: #00609E;
  --blue-deep: #004E81;
  --gold: #C9A24B;
  --gold-light: #D9B65F;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --dark: #242223;
  --on-dark: #E4E1DC;
  --on-dark-muted: #BDB9B3;
  --field: #CBD5E1;
  --placeholder: #8A8687;
  --track: #EDF1F5;
  --planned: #BFD7E7;

  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(22px, 5.5vw, 80px);
  --content: 1120px;
  --header: 90px;

  --section: clamp(76px, 11.7vw, 168px);
  --section-page: clamp(72px, 10.4vw, 150px);
  --section-service: clamp(68px, 9vw, 130px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: var(--blue); color: var(--white); }

.container {
  width: min(var(--content), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.brand { text-transform: none; }

/* ---------- Type ---------- */

h1, h2, h3 { color: var(--ink); font-weight: 300; text-wrap: balance; }

h1 {
  font-size: clamp(42px, 5.85vw, 84px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(34px, 3.9vw, 56px);
  line-height: 1.06;
  letter-spacing: -.03em;
}

h3, .h3 {
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--gold { color: var(--gold-light); }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }

.meta {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.meta--muted { color: var(--body); }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--body); }
.crumbs a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; max-width: 600px; }

.statement {
  font-size: clamp(27px, 2.8vw, 40px);
  font-weight: 300;
  line-height: 1.26;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: pretty;
}
.statement--wide { font-size: clamp(26px, 2.65vw, 38px); line-height: 1.28; max-width: 980px; margin-top: 28px; }

.fine-print { font-size: 14px; line-height: 1.6; color: var(--body); }
.fine-print--rule { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 760px; }

/* ---------- Buttons, links, chips ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 17px; font-weight: 500; line-height: 1.3;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 96, 158, .22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--small { font-size: 16px; }
.btn--large { padding: 16px 34px; }
.btn--ghost { padding-inline: 20px; background: transparent; border-color: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(42, 40, 41, .07); border-color: transparent; color: var(--ink); box-shadow: none; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 500; color: var(--blue);
}
.text-link--ink { color: var(--ink); }
.text-link > span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.text-link .arrow { flex: none; transition: transform .3s var(--ease); }
a.text-link:hover > span, a:hover .text-link > span { background-size: 100% 1px; }
a.text-link:hover .arrow, a:hover .text-link .arrow { transform: translateX(5px); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 15px; line-height: 1.4; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
a.chip:hover, button.chip:hover { background: var(--ink); color: var(--white); }
button.chip { cursor: pointer; font-weight: 500; }
button.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.soon { font-size: 15px; color: var(--placeholder); }
.soon--pill { display: inline-flex; padding: 12px 22px; border: 1px dashed var(--field); border-radius: 999px; color: var(--body); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(41, 41, 41, .05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-header__logo { color: var(--ink); display: inline-flex; padding: 6px 0; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav__list { display: flex; gap: 40px; }
.site-nav__list a {
  position: relative; padding: 8px 0;
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; margin-right: -10px;
  border: 0; background: none; cursor: pointer; border-radius: 10px;
}
.nav-toggle__bars { display: grid; gap: 7px; width: 24px; margin: auto; }
.nav-toggle__bars span { height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Home hero ---------- */

.hero, .page-hero, .article-hero {
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero {
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, 0) 45%, #F8FAFC 100%),
    linear-gradient(90deg, rgba(248, 250, 252, .93) 0%, rgba(248, 250, 252, .68) 50%, rgba(248, 250, 252, .22) 100%),
    url("/assets/img/water.jpg");
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, 0) 45%, #F8FAFC 100%),
    linear-gradient(90deg, rgba(248, 250, 252, .93) 0%, rgba(248, 250, 252, .68) 50%, rgba(248, 250, 252, .22) 100%),
    image-set(url("/assets/img/water.webp") type("image/webp"), url("/assets/img/water.jpg") type("image/jpeg"));
}
/* Covers the sub-pixel seam some browsers leave at the foot of a faded image. */
.hero { box-shadow: inset 0 -2px 0 var(--surface); }
.article-hero { box-shadow: inset 0 -2px 0 var(--white); }
.hero__inner {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(64px, 9.7vw, 140px);
  min-height: min(844px, 100svh - var(--header));
  padding-top: clamp(64px, 10.4vw, 150px);
}
.hero__copy { display: grid; gap: 32px; max-width: 820px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note { font-size: 15px; line-height: 1.6; max-width: 690px; color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); gap: 50px; border-top: 1px solid rgba(42, 40, 41, .25); }
.facts li { display: grid; gap: 2px; align-content: start; padding: 24px 0 40px; }
.facts strong { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.facts span { font-size: 15px; line-height: 1.5; }

/* ---------- Inner page hero ---------- */

.page-hero {
  background-image:
    linear-gradient(90deg, rgba(248, 250, 252, .72) 0%, rgba(248, 250, 252, .2) 100%),
    url("/assets/img/linen.jpg");
  background-image:
    linear-gradient(90deg, rgba(248, 250, 252, .72) 0%, rgba(248, 250, 252, .2) 100%),
    image-set(url("/assets/img/linen.webp") type("image/webp"), url("/assets/img/linen.jpg") type("image/jpeg"));
}
.page-hero__inner { display: grid; gap: 28px; padding-block: clamp(72px, 9.7vw, 140px); }
.page-hero h1 { max-width: 940px; }
.jump { padding-top: 48px; }
.page-hero--short .page-hero__inner { min-height: 60svh; align-content: center; }

.article-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #FFFFFF 100%),
    linear-gradient(90deg, rgba(248, 250, 252, .93) 0%, rgba(248, 250, 252, .6) 50%, rgba(248, 250, 252, .15) 100%),
    image-set(url("/assets/img/linen.webp") type("image/webp"), url("/assets/img/linen.jpg") type("image/jpeg"));
}
.article-hero__inner { display: grid; gap: 24px; padding-block: clamp(64px, 7.6vw, 110px) clamp(48px, 5vw, 72px); }
.article-hero h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.06; max-width: 1060px; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.section--tight { padding-bottom: calc(var(--section) * .9); }
.section--page, .section--faq { padding-block: var(--section-page); }
.section--service { padding-block: var(--section-service); }
.section--latest { padding-block: var(--section-service) clamp(64px, 7.6vw, 110px); }
.section--series { padding-block: clamp(64px, 7.6vw, 110px) var(--section-page); }
.section--keep { padding-block: clamp(64px, 8.3vw, 120px) var(--section-page); }
.section--contact { padding-block: var(--section-page); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 7vw, 100px); align-items: end;
  margin-bottom: clamp(44px, 5.6vw, 80px);
}
.section-head > div { display: grid; gap: 20px; }
.section-head > p { max-width: 460px; }
.section-head--stack { grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--stack > p { max-width: 640px; font-size: 17px; }
.section-head--link { grid-template-columns: 1fr auto; margin-bottom: clamp(36px, 3.9vw, 56px); }
.section-head--link .text-link { padding-bottom: 8px; }

/* ---------- Why etrayt + program plan ---------- */

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 504px); gap: clamp(40px, 6.5vw, 96px); align-items: center; }
.why__copy { display: grid; gap: 28px; }

.plan {
  display: grid; gap: 28px;
  padding: 36px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(41, 41, 41, .12);
}
.plan__head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.plan__status { color: var(--blue); }
.plan__rows { display: grid; gap: 22px; }
.plan__row { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; align-items: center; }
.plan__label { font-size: 14px; line-height: 1.3; color: var(--body); }
.plan__track { position: relative; height: 12px; border-radius: 6px; background: var(--track); }
.plan__bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; transform-origin: left center; }
.plan__bar--complete { background: var(--ink); }
.plan__bar--planned { background: var(--planned); }
.plan__bar--progress { background: var(--blue); }
.plan__milestone {
  position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: var(--gold); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 0 2px var(--white);
}
.plan__today { position: absolute; left: calc(var(--today) * 1%); top: -11px; bottom: -11px; width: 1.5px; margin-left: -.75px; background: var(--gold); }
.plan__row:first-child .plan__today { top: -6px; }
.plan__row:last-child .plan__today { bottom: -6px; }
.plan__legend { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--body); }
.plan__legend li { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 18px; height: 6px; border-radius: 3px; }
.key--complete { background: var(--ink); }
.key--progress { background: var(--blue); }
.key--planned { background: var(--planned); }
.key--milestone { background: var(--gold); }

/* ---------- Service cards (home) ---------- */

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-grid > li { display: flex; }
.service-card {
  display: flex; flex-direction: column; gap: 18px; width: 100%;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); background: var(--white); border-color: #D3DCE7; box-shadow: 0 24px 50px rgba(41, 41, 41, .09); }
.service-card__art { display: flex; align-items: center; height: 116px; }
.service-card__art .illustration { width: 180px; height: 104px; }
.service-card h3 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.service-card p { flex: 1; }
.service-card .text-link { margin-top: 6px; }

.illustration * { vector-effect: non-scaling-stroke; stroke-width: 1.75px; }
.illustration [stroke-opacity] { stroke-width: 1px; }
.illustration .ill-bg { fill: var(--surface); transition: fill .35s var(--ease); }
.service-card:hover .ill-bg { fill: var(--white); }

/* ---------- Approach / principle cards ---------- */

.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.approach-card {
  display: grid; gap: 16px; align-content: start;
  padding: 48px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.approach-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(41, 41, 41, .07); }
.approach-card .icon { margin-bottom: 8px; }

/* ---------- Split layouts, rows ---------- */

.split { display: grid; grid-template-columns: minmax(0, 474fr) minmax(0, 534fr); gap: clamp(40px, 7.8vw, 112px); align-items: start; }
.split--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 504px); }
.split__intro { display: grid; gap: 24px; justify-items: start; }
.split__intro .text-link { margin-top: 8px; }

.rows__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.rows__row:last-child { border-bottom: 1px solid var(--line); }
.rows dt { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.rows dd { font-size: 17px; }

.prose { display: grid; gap: 22px; }
.prose .chips { margin-top: 14px; }

/* ---------- Insight rows (home) ---------- */

.insight-list li { border-top: 1px solid var(--line); }
.insight-list li:last-child { border-bottom: 1px solid var(--line); }
.insight-row {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) 160px; gap: 48px; align-items: baseline;
  padding: 30px 0;
  transition: padding .35s var(--ease), background-color .35s var(--ease);
}
.insight-row__title { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.015em; color: var(--ink); transition: color .25s var(--ease); }
.insight-row__date { font-size: 15px; text-align: right; }
.insight-row:hover { padding-inline: 14px; }
.insight-row:hover .insight-row__title { color: var(--blue); }

/* ---------- Services page ---------- */

.service { display: grid; grid-template-columns: minmax(0, 474fr) minmax(0, 534fr); gap: clamp(40px, 7.8vw, 112px); align-items: end; }
.service__copy { display: grid; gap: 22px; justify-items: start; }
.service__art .illustration { width: 82px; height: 54px; }
.service__art .illustration * { stroke-width: 1.5px; }
.service__art .illustration [stroke-opacity] { stroke-width: .75px; }
.section--service .ill-bg { fill: var(--white); }
.section--service.section--tint .ill-bg { fill: var(--surface); }
.service__copy h2 { font-size: clamp(32px, 3.5vw, 50px); }
.service__copy .text-link { margin-top: 10px; }

.outcome {
  display: grid; gap: 10px;
  padding: 32px 34px;
  background: var(--surface);
  border-top: 3px solid var(--blue);
  border-radius: 14px;
}
.section--tint .outcome { background: var(--white); }
.outcome h3 { font-size: 20px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.outcome p { font-size: 17px; }

.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: clamp(40px, 5.6vw, 80px); }
.question { display: grid; gap: 10px; align-content: start; padding: 28px 0; border-top: 1px solid var(--line); }
.question dt { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.question dd { font-size: 17px; }

/* ---------- About: method ---------- */

.section--dark { background: var(--dark); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: grid; gap: 14px; align-content: start; padding-right: 32px; }
.step__rail { position: relative; height: 13px; margin-bottom: 18px; }
.step__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(255, 255, 255, .28); }
.step__rail::after { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); }
.step__number { font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--gold); }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.step p { font-size: 17px; max-width: 256px; }

/* ---------- About: credentials ---------- */

.credentials > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.credentials > div:last-child { border-bottom: 1px solid var(--line); }
.credentials dt { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--body); }
.credentials dd { font-size: 17px; font-weight: 500; color: var(--ink); }
.credentials + .fine-print { margin-top: 20px; }
.credentials__intro { margin-bottom: 28px; font-size: 17px; }
.credentials--single { justify-self: stretch; margin-top: 4px; }
.credentials--single > div { grid-template-columns: 186px minmax(0, 1fr); }
.credentials--single > div:last-child { border-bottom: 0; }

.matters { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
.matters .eyebrow { padding-top: 14px; }
.matters .statement { margin-top: 0; }

/* ---------- Insights ---------- */

.latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px clamp(40px, 5.6vw, 80px); align-items: center; margin-top: 40px; }
.latest__title { display: grid; gap: 18px; }
.latest__body { display: grid; gap: 26px; justify-items: start; }

.series-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); align-items: center; gap: 24px 40px; margin-bottom: clamp(32px, 3.4vw, 48px); }
.series-head .chips { justify-content: flex-start; }

.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.article-card { display: flex; scroll-margin-top: calc(var(--header) + 24px); }
.article-card[hidden] { display: none; }
.article-card__link {
  display: flex; flex-direction: column; gap: 16px; width: 100%;
  padding: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.article-card__link:hover { transform: translateY(-4px); border-color: #D3DCE7; box-shadow: 0 24px 50px rgba(41, 41, 41, .09); }
.article-card h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.18; }
.article-card__summary { flex: 1; font-size: 17px; }
.article-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 8px; font-size: 15px; }
.article-card__foot .text-link { font-size: 17px; }
.article-card:target .article-card__link { border-color: var(--blue); }

.article-body {
  display: grid; gap: 22px;
  max-width: 720px;
  margin-top: 8px; padding-top: 56px; padding-bottom: clamp(72px, 8.3vw, 120px);
  border-top: 1px solid var(--line);
  font-size: 19px; line-height: 1.7; color: var(--article);
}
.article-body > p a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body > p a:hover { text-decoration-thickness: 2px; }
.article-body > h2 { margin-top: 22px; font-size: clamp(25px, 2.1vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.practice { display: grid; gap: 14px; justify-items: start; margin-top: 30px; padding: 40px; background: var(--surface); border-top: 3px solid var(--gold); border-radius: 16px; }
.practice h2 { font-size: 20px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; color: var(--ink); }
.practice p { font-size: 17px; line-height: 1.6; color: var(--body); }
.practice .text-link { font-size: 17px; }
.article-body > .fine-print { margin-top: 12px; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 529fr) minmax(0, 492fr); gap: clamp(40px, 6.9vw, 99px); align-items: start; }
.enquiry { display: grid; gap: 22px; padding: 48px; background: var(--surface); border-radius: 16px; }
.enquiry h2 { font-size: 30px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--placeholder); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--field);
  border-radius: 8px;
  font-size: 17px; line-height: 1.4; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%232A2829' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 96, 158, .16); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { font-size: 14px; color: #B3261E; }
.field__note { font-size: 14px; line-height: 1.55; }
.enquiry .btn { justify-self: start; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry { position: relative; }
.enquiry__status[data-state="error"] { border-left-color: #B3261E; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.enquiry__status { padding: 14px 16px; background: var(--white); border-left: 3px solid var(--blue); border-radius: 6px; font-size: 15px; color: var(--ink); }
.enquiry__status a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.contact__aside { display: grid; gap: 64px; padding-top: 8px; }
.contact__aside .eyebrow { margin-bottom: 20px; }
.contact__big { font-size: clamp(26px, 2.5vw, 36px); font-weight: 300; line-height: 1.3; letter-spacing: -.02em; color: var(--blue); }
.contact__big a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.contact__big a:hover { background-size: 100% 1px; }
.contact__where { margin-top: 24px; font-size: 17px; }
.contact__where strong { font-weight: 400; }
.next li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.next li:last-child { border-bottom: 1px solid var(--line); }
.next__n { font-size: 15px; font-weight: 600; color: var(--blue); line-height: 1.8; }
.next p { font-size: 17px; }
.next strong { font-weight: 600; color: var(--ink); }

/* ---------- Closing band + footer ---------- */

.closing { background: var(--dark); color: var(--on-dark-muted); }
.closing__cta {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 100px); align-items: end;
  padding-top: var(--section); padding-bottom: clamp(72px, 10.4vw, 150px);
}
.closing__cta h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.04; color: var(--white); }
.closing__body { display: grid; gap: 28px; }
.closing__body p { color: var(--on-dark); }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.closing__phone { font-size: 18px; font-weight: 500; color: var(--white); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.closing__phone:hover { background-size: 100% 1px; }
.closing .btn:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }

.site-footer { padding: 72px 0 40px; }
.closing:not(.closing--footer-only) .site-footer > .container { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 72px; }
.closing:not(.closing--footer-only) .site-footer { padding-top: 0; }
.site-footer__columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.site-footer__brand { display: grid; gap: 20px; align-content: start; color: var(--white); }
.site-footer__brand p { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.site-footer__label { margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; color: var(--gold-light); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer li { font-size: 16px; color: var(--on-dark); }
.site-footer li a { transition: color .2s var(--ease); }
.site-footer li a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.site-footer__address { margin-top: 8px; line-height: 1.6; color: var(--on-dark-muted); }
.site-footer__legal { margin-top: 56px; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .plan .plan__bar { transform: scaleX(0); transition: transform .9s var(--ease); }
.js .plan .plan__milestone, .js .plan .plan__today { opacity: 0; transition: opacity .5s var(--ease) .9s; }
.js .plan.is-visible .plan__bar { transform: scaleX(1); }
.js .plan.is-visible .plan__milestone, .js .plan.is-visible .plan__today { opacity: 1; }
.plan__row:nth-child(2) .plan__bar { transition-delay: .1s; }
.plan__row:nth-child(3) .plan__bar { transition-delay: .2s; }
.plan__row:nth-child(4) .plan__bar { transition-delay: .3s; }
.plan__row:nth-child(5) .plan__bar { transition-delay: .4s; }

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

/* ---------- Tablet ---------- */

@media (max-width: 1040px) {
  :root { --header: 76px; }
  .site-nav, .site-nav__list { gap: 28px; }
  .why { grid-template-columns: 1fr; }
  .why__copy { max-width: 720px; }
  .plan { max-width: 640px; }
  .split, .split--aside { grid-template-columns: 1fr; }
  .matters { grid-template-columns: 1fr; gap: 24px; }
  .matters .eyebrow { padding-top: 0; }
  .latest, .series-head { grid-template-columns: 1fr; }
  .latest__body { max-width: 680px; }
  .service { grid-template-columns: 1fr; align-items: start; }
  .service__copy, .outcome, .split__intro, .prose, .rows, .credentials, .credentials + .fine-print, .credentials__intro { max-width: 680px; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .closing__cta { grid-template-columns: 1fr; align-items: start; }
  .closing__body { max-width: 560px; }
  .site-footer__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; max-width: 320px; }
  .insight-row { grid-template-columns: 170px minmax(0, 1fr) 130px; gap: 28px; }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  :root { --header: 68px; }
  body { font-size: 17px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; gap: 24px; justify-items: start;
    padding: 12px var(--gutter) 32px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(41, 41, 41, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav__list { display: grid; gap: 0; width: 100%; }
  .site-nav__list a { display: block; padding: 16px 0; font-size: 22px; font-weight: 400; border-bottom: 1px solid var(--line); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="page"] { color: var(--blue); }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(248, 250, 252, .55) 0%, rgba(248, 250, 252, .78) 55%, #F8FAFC 100%),
      image-set(url("/assets/img/water.webp") type("image/webp"), url("/assets/img/water.jpg") type("image/jpeg"));
    background-position: center, 62% center;
  }
  .hero__inner { min-height: 0; }
  .hero__copy { gap: 24px; }
  .hero__actions .btn { flex: 1 1 220px; }
  .facts { grid-template-columns: 1fr; gap: 0; border-top: 0; }
  .facts li { padding: 18px 0 20px; border-top: 1px solid rgba(42, 40, 41, .25); }
  .facts li:last-child { padding-bottom: 28px; }
  .hero__actions .btn--ghost { border-color: rgba(42, 40, 41, .5); }
  .jump { padding-top: 32px; }
  .questions { grid-template-rows: none; grid-auto-flow: row; }

  .page-hero { background-position: center, 70% center; }
  .article-hero { background-position: center, center, 70% center; }
  .page-hero { background-image: linear-gradient(90deg, rgba(248, 250, 252, .78) 0%, rgba(248, 250, 252, .45) 100%), image-set(url("/assets/img/linen.webp") type("image/webp"), url("/assets/img/linen.jpg") type("image/jpeg")); }
  .page-hero__inner { gap: 22px; }

  .section-head, .section-head--link { grid-template-columns: 1fr; align-items: start; }
  .service-grid, .approach-grid, .article-grid, .questions { grid-template-columns: 1fr; }
  .service-grid, .approach-grid, .article-grid { gap: 18px; }
  .service-card, .approach-card { padding: 30px 26px; }
  .article-card__link { padding: 30px 26px; }
  .service-card__art { height: 96px; }
  .service-card__art .illustration { width: 150px; height: 87px; }

  .plan { padding: 24px 20px; gap: 22px; }
  .plan__row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .plan__label { font-size: 13px; }

  .rows__row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .rows dt { font-size: 22px; }

  .insight-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .insight-row__date { text-align: left; }
  .insight-row:hover { padding-inline: 0; }

  .outcome { padding: 28px 24px; }
  .steps { grid-template-columns: 1fr; row-gap: 44px; }
  .step { padding-right: 0; }
  .step p { max-width: none; }
  .credentials > div { grid-template-columns: 1fr; gap: 4px; }

  .chips { gap: 8px; }
  .chip { padding: 8px 15px; font-size: 14px; }

  .article-body { font-size: 18px; padding-top: 40px; }
  .practice { padding: 28px 24px; }
  .practice p { font-size: 18px; }

  .enquiry { padding: 30px 22px; margin-inline: calc(var(--gutter) * -.35); }
  .enquiry .btn { justify-self: stretch; }
  .contact__aside { grid-template-columns: 1fr; }

  .closing__actions .btn { flex: 1 1 100%; }
  .site-footer { padding-bottom: 32px; }
  .site-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .site-footer__columns > div:last-child { grid-column: 1 / -1; }
  .site-footer__legal { margin-top: 44px; }
}
