:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --text-lg: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  --text-xl: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.15rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.75rem, 1.1rem + 4.2vw, 5.25rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Light palette: ivory / navy / gold */
  --paper: #F2EEE6;        /* Ivory: primary background */
  --paper-2: #F9F6F0;      /* Cream: alternate surface */
  --ink: #212C33;          /* Ink navy: headings and body */
  --ink-2: #465660;        /* Slate: secondary text */
  --rule: #DEDBD2;         /* Stroke: rules and borders */
  --accent: #C9A962;       /* Gold: lines, bullets, decorative only */
  --accent-ink: #7E653D;   /* Deep gold: accent text on light backgrounds */
  --action: #2D3A50;       /* Slate blue: buttons */

  /* Dark palette: navy / gold / stone (Method, Contact, footer) */
  --navy: #2D3A50;
  --navy-deep: #212C33;
  --gold-light: #D8B579;
  --on-navy: #CFCAC0;
  --rule-navy: #4A5A6E;

  --font-display: 'Lora', 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --max: 1180px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(242 238 230 / 0.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.header--scrolled { border-bottom-color: var(--rule); }
.header__inner { display: flex; align-items: center; gap: var(--space-8); min-height: 72px; }
.wordmark {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  text-decoration: none; letter-spacing: -0.015em; white-space: nowrap;
}
.wordmark__to { font-style: italic; font-weight: 400; color: var(--accent-ink); }
.wordmark--small { font-size: 1.125rem; }
.header nav { margin-left: auto; }
.nav { display: flex; gap: var(--space-6); }
.nav a { font-size: var(--text-sm); text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--action); color: var(--paper); text-decoration: none;
  font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.01em;
  padding: 0.8rem 1.25rem; border-radius: var(--radius);
  transition: background .2s ease;
}
.btn:hover { background: var(--navy-deep); }
.btn--small { padding: 0.55rem 0.9rem; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); color: var(--ink); }
.link-arrow { font-size: var(--text-sm); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.link-arrow::after { content: " \2192"; color: var(--accent-ink); }
.link-arrow:hover { color: var(--accent-ink); }

.eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink); margin: 0 0 var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
}
.eyebrow--light { color: #E5CFA0; }
.idx { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-weight: 500; color: var(--accent-ink); font-size: var(--text-xs); }

.hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(560px, 72vh, 760px); display: flex; align-items: center; padding-block: clamp(4rem, 9vw, 7.5rem); border-bottom: 1px solid var(--rule); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; opacity: .62; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgb(242 238 230 / .92) 30%, rgb(242 238 230 / .35) 62%, rgb(242 238 230 / .1) 100%); }
.hero__inner { width: 100%; }
.hero__copy { max-width: 40rem; }
.hero__title {
  font-family: var(--font-display); font-size: clamp(2.55rem, 1.15rem + 2.5vw, 4.05rem); font-weight: 500;
  line-height: 0.98; letter-spacing: -0.03em;
}
.title-break { display: inline; }
@media (min-width: 900px) {
  .hero__title { max-width: none; }
  .title-break { display: block; }
}
.hero__lede { margin-top: var(--space-6); max-width: 36rem; color: var(--ink-2); }
.hero__ctas { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }

.standard { border-block: 1px solid var(--rule); }
.standard__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.standard__grid li { padding: var(--space-8) var(--space-6) var(--space-8) 0; border-left: 1px solid var(--rule); padding-left: var(--space-5); display: grid; gap: var(--space-3); align-content: start; }
.standard__grid li:first-child { border-left: 0; padding-left: 0; }
.standard__grid h2 { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.15; font-weight: 500; }
.standard__grid p { font-size: var(--text-sm); color: var(--ink-2); }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__title { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }

.diagnosis__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.diagnosis__body { display: grid; gap: var(--space-5); color: var(--ink-2); max-width: 46ch; padding-top: 2.6rem; }

.method { background: var(--navy); color: var(--paper); }
.method .eyebrow, .method .idx { color: var(--gold-light); }
.method .section__title { max-width: 16em; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.stage { border-top: 1px solid var(--rule-navy); padding-top: var(--space-5); display: grid; gap: var(--space-4); align-content: start; }
.stage h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; }
.stage p { font-size: var(--text-sm); color: var(--on-navy); }

.feature {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--ink);
  margin-bottom: var(--space-2);
}
.feature__meta { display: grid; gap: var(--space-3); align-content: start; }
.feature h3, .fee h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.1; }
.offer__tag { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin: 0; }
.offer__price { font-size: var(--text-lg); font-weight: 500; font-variant-numeric: tabular-nums; margin: 0; white-space: nowrap; }
.offer__price span { font-weight: 400; font-size: var(--text-sm); color: var(--ink-2); }
.feature__body { display: grid; gap: var(--space-5); color: var(--ink-2); }
.offer__list { display: grid; gap: var(--space-3); font-size: var(--text-sm); color: var(--ink); }
.offer__list li { padding-left: 1.1rem; position: relative; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 1.5px; background: var(--accent); }

.fees { display: grid; grid-template-columns: 1fr 1fr; }
.fee { padding: var(--space-8) var(--space-8) var(--space-8) 0; border-bottom: 1px solid var(--rule); display: grid; gap: var(--space-3); align-content: start; }
.fee:nth-child(odd) { padding-right: var(--space-10); border-right: 1px solid var(--rule); }
.fee:nth-child(even) { padding-left: var(--space-10); padding-right: 0; }
.fee__top { display: grid; gap: var(--space-2); justify-items: start; }
.fee p { font-size: var(--text-sm); color: var(--ink-2); }
.fee-note { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--ink-2); max-width: 68ch; }

.band { position: relative; min-height: clamp(420px, 56vw, 640px); overflow: hidden; display: grid; }
.band img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.band__overlay {
  position: relative; z-index: 1; display: flex; align-items: flex-end;
  min-height: inherit;
  background: linear-gradient(to top, rgb(33 44 51 / .78) 0%, rgb(33 44 51 / .15) 62%);
  padding-bottom: clamp(2.5rem, 6vw, 5rem); padding-top: 8rem;
}
.band__quote { margin: 0; }
.band__quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; color: var(--paper); max-width: 22ch; font-weight: 500; }

.investors__grid, .practice__grid, .faq__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.investors__body, .practice__body { display: grid; gap: var(--space-6); color: var(--ink-2); max-width: 62ch; justify-items: start; }
.checks { display: grid; gap: var(--space-4); }
.checks li { padding-left: 1.6rem; position: relative; font-size: var(--text-sm); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border: 1.5px solid var(--accent); border-radius: 50%; }
.checks strong { color: var(--ink); font-weight: 600; }

.practice { background: var(--paper-2); border-block: 1px solid var(--rule); }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-2); padding-top: var(--space-6); border-top: 1px solid var(--rule); }
.scope h3 { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: var(--space-4); font-weight: 600; }
.scope li { font-size: var(--text-sm); color: var(--ink); padding: var(--space-2) 0; border-bottom: 1px solid var(--rule); }

.faq__list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-54%); color: var(--accent-ink); font-size: 1.35rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 2rem var(--space-6) 0; color: var(--ink-2); font-size: var(--text-sm); max-width: 62ch; }

.cta { background: var(--navy); color: var(--paper); padding-block: clamp(4.5rem, 8vw, 7rem); }
.cta__inner { display: grid; gap: var(--space-5); justify-items: start; }
.cta__title { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.02; letter-spacing: -0.025em; max-width: 14ch; }
.cta p { color: var(--on-navy); max-width: 46ch; }
.cta .eyebrow { color: var(--gold-light); }
.cta .btn--light:hover { background: var(--gold-light); color: var(--navy-deep); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-3); }
.copy {
  border-bottom: 1px solid var(--gold-light); padding: 0.7rem 0.2rem; color: var(--paper);
  font-size: var(--text-sm);
}
.copy:hover { color: var(--gold-light); }
.cta__mail { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; font-size: var(--text-sm); color: var(--on-navy); user-select: all; }

.footer { background: var(--navy-deep); color: var(--on-navy); font-size: var(--text-xs); border-top: 1px solid var(--rule-navy); }
.footer__inner { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); align-items: center; justify-content: space-between; padding-block: var(--space-8); }
.footer .wordmark { color: var(--paper); }
.footer .wordmark__to { color: var(--gold-light); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header__inner { justify-content: space-between; }
  .diagnosis__grid, .investors__grid, .practice__grid, .faq__grid, .feature { grid-template-columns: 1fr; }
  .hero__bg img { object-position: 85% 100%; opacity: .45; }
  .hero__bg::after { background: linear-gradient(180deg, rgb(242 238 230 / .95) 0%, rgb(242 238 230 / .88) 55%, rgb(242 238 230 / .55) 100%); }
  .hero { min-height: 0; }
  .standard__grid { grid-template-columns: 1fr 1fr; }
  .standard__grid li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .standard__grid li:nth-child(n+3) { border-top: 1px solid var(--rule); padding-top: var(--space-6); }
  .stages { grid-template-columns: 1fr 1fr; }
  .fee:nth-child(odd) { border-right: 0; padding-right: 0; }
  .fee:nth-child(even) { padding-left: 0; }
}
@media (max-width: 640px) {
  .fees, .stages, .scope, .standard__grid { grid-template-columns: 1fr; }
  .standard__grid li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--space-6); }
  .standard__grid li:first-child { border-top: 0; padding-top: var(--space-8); }
  
  .btn--small { padding: 0.5rem 0.7rem; font-size: var(--text-xs); }
  .wordmark { font-size: 1.15rem; }
  .band__quote p { max-width: 18ch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.btn--small { white-space: nowrap; }
.btn__short { display: none; }
@media (max-width: 640px) {
  .btn__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn__short { display: inline; }
  .header__inner { gap: var(--space-4); }
}

/* Handover */
.handover { border-top: 1px solid var(--rule); }
.handover__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.handover__intro { display: grid; gap: var(--space-5); color: var(--ink-2); max-width: 46ch; padding-top: 2.6rem; }
.handover__source { font-size: var(--text-xs); color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: var(--space-4); }
.handover__source a { color: var(--ink); text-underline-offset: 2px; }
.handover__label { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--space-5); }
.inherit { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.inherit li { padding: var(--space-6) var(--space-6) var(--space-8) 0; border-bottom: 1px solid var(--rule); display: grid; gap: var(--space-3); align-content: start; }
.inherit li:not(:nth-child(3n+1)) { padding-left: var(--space-6); border-left: 1px solid var(--rule); }
.inherit h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.15; }
.inherit p { font-size: var(--text-sm); color: var(--ink-2); }
.handover__close { margin-top: var(--space-8); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; max-width: 34ch; }
@media (max-width: 960px) {
  .handover__head { grid-template-columns: 1fr; }
  .handover__intro { padding-top: 0; }
  .inherit { grid-template-columns: 1fr 1fr; }
  .inherit li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .inherit li:nth-child(even) { padding-left: var(--space-6); border-left: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .inherit { grid-template-columns: 1fr; }
  .inherit li, .inherit li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Bought in pieces */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8) clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 4vw, 3rem) 0; margin-bottom: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--rule); }
.split__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.15; max-width: 16ch; }
.split__list { align-self: end; }
.split__list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); font-size: var(--text-sm); }
.split__list li:first-child { border-top: 1px solid var(--ink); }
.split__what { color: var(--ink); font-weight: 500; }
.split__who { color: var(--ink-2); text-align: right; }
.split__body { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); color: var(--ink-2); }
.split__body p { max-width: 46ch; }
@media (max-width: 960px) {
  .split, .split__body { grid-template-columns: 1fr; }
  .split__body { gap: var(--space-5); }
}

/* Four pieces figure */
.pieces { grid-column: 1 / -1; margin: 0; }
.pieces__svg { display: block; width: 100%; height: auto; }
.pieces__stack { display: none; gap: var(--space-5); }
@media (max-width: 720px) {
  .pieces__svg--wide { display: none; }
  .pieces__stack { display: grid; }
}
