/* ══════════════════════════════════════════════════════════════════
   AKOYA PROPERTY — styles, draft 3: "roofline & cairn"
   ROOFLINE  the logo's open-gable A — section markers, image frames,
             the roof over a new section.
   CAIRN     the logo's balanced stones — the intro, the process stack.
   SCRIPT    the logo's handwritten line — only ever on people.
   Behind it, the calm drawing-sheet grid from draft 2.
   ══════════════════════════════════════════════════════════════════ */

@property --forest { syntax: '<color>'; inherits: true; initial-value: #1B4332; }
@property --sage { syntax: '<color>'; inherits: true; initial-value: #8A9A76; }

:root {
  /* Sampled from the logo files — ESTIMATES, verify against brand spec */
  --forest: #1B4332;
  --sage: #8A9A76;
  --cream: #F5E8DC;
  --ink: #0F2A1F;
  /* Forest = Akoya Group (neutral). Audience colours: investors sage, owners clay, partners slate */
  --clay: #9A4F37;
  --slate: #2F4858;

  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --script: 'Mrs Saint Delafield', cursive;

  --gut: clamp(16px, 3vw, 40px);
  --top: 64px;
  /* The roof point scales with the width, in proportion to the logo, so it
     meets the logo the same way on a phone as on a desktop */
  --roof-h: clamp(26px, 7.8vw, 80px);
  --hair: 1px;
  --gridline: color-mix(in srgb, var(--sage) 38%, transparent);
  --ease: cubic-bezier(.65, 0, .25, 1);
  --settle: cubic-bezier(.3, 1.35, .5, 1);   /* a stone finding its balance */
  --roof: polygon(0 14%, 50% 0, 100% 14%, 100% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--cream); color: var(--forest); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(26px, 2.4vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }

.mono { font: 400 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.display { font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -.045em; line-height: 1; font-weight: 300; margin-bottom: .5em; }
.display--xl { font-size: clamp(50px, 8vw, 132px); }
.lede { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.38; letter-spacing: -.01em; }
.note { font: 400 12px/1.5 var(--mono); margin-top: 14px; }
.tbc { font: 500 .78em/1.3 var(--mono); letter-spacing: 0; text-transform: none; background: repeating-linear-gradient(45deg, rgb(255 190 60 / .38) 0 6px, transparent 6px 12px); outline: 1px dashed currentColor; padding: 1px 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--cream); color: var(--forest); padding: 8px 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.arr { width: .5em; height: .5em; vertical-align: .2em; margin-left: .3em; flex: none; }
.gable { width: 1.05em; height: 1.15em; fill: currentColor; margin-right: 10px; vertical-align: -.3em; }

[data-tone="forest"] { --bg: var(--forest); --fg: var(--cream); --rule: rgb(245 232 220 / .28); --accent: var(--sage); }
[data-tone="cream"]  { --bg: var(--cream);  --fg: var(--forest); --rule: color-mix(in srgb, var(--forest) 20%, transparent); --accent: var(--sage); }
[data-tone="sage"]   { --bg: var(--sage);   --fg: var(--ink);   --rule: rgb(15 42 31 / .25); --accent: var(--forest); }
[data-tone="clay"]   { --bg: var(--clay);   --fg: var(--cream); --rule: rgb(245 232 220 / .3); --accent: var(--cream); }
[data-tone="slate"]  { --bg: var(--slate);  --fg: var(--cream); --rule: rgb(245 232 220 / .3); --accent: var(--sage); }
[data-tone] { background: var(--bg); color: var(--fg); }
/* The structural grid is drawn INTO each section's background, so it
   always sits behind text and images. Three layers: dash-dot gaps (in
   the section's own colour) over solid column lines over the colour. */
:root { --cols: 4; }
main > [data-tone], .intro, .foot { background:
  linear-gradient(to bottom, transparent 0 16px, var(--bg) 16px 20px, transparent 20px 22px, var(--bg) 22px 26px) 0 0 / 100% 26px,
  linear-gradient(to right, var(--gridline) 0 1px, transparent 1px) var(--gut) 0 / calc((100% - 2 * var(--gut)) / var(--cols)) 100% repeat-x,
  var(--bg); }
/* the right-hand edge line, which the repeat can't reach */
main > [data-tone]::after, .intro::after, .foot::after { content: ''; position: absolute; top: 0; bottom: 0; right: var(--gut); width: 1px; pointer-events: none;
  background: linear-gradient(to bottom, var(--gridline) 0 16px, transparent 16px 20px, var(--gridline) 20px 22px, transparent 22px 26px) 0 0 / 1px 26px; }
main > [data-tone] { position: relative; }

/* ── the sheet grid, quietly in the background ────────────────── */
.gridlines { position: fixed; z-index: 1; inset: 0 var(--gut); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
/* Drawn as a structural grid: dash-dot centre lines, lettered grid
   bubbles at the head of each line, crosses where the grid meets a
   section's heading, and a datum level on each section. */
.gridlines { --dashdot: linear-gradient(to bottom, var(--gridline) 0 16px, transparent 16px 20px, var(--gridline) 20px 22px, transparent 22px 26px); }
.gridlines span { position: relative; }

.gridlines span::before, .gridlines span:last-child::after {
  content: attr(data-g); position: absolute; top: calc(var(--top) + 14px); left: -11px; width: 22px; height: 22px; border-radius: 50%;
  border: var(--hair) solid var(--gridline); display: grid; place-items: center; font: 500 10px/1 var(--mono); color: var(--sage); background: transparent; }
.gridlines span:last-child::after { content: attr(data-g2); left: auto; right: -11px; }
.js .is-home:not(.past-intro) .gridlines span::before, .js .is-home:not(.past-intro) .gridlines span::after { top: 14px; }
.sheethead::before { content: ''; position: absolute; left: -5px; right: -5px; top: -5px; height: 11px; pointer-events: none;
  --x: linear-gradient(var(--sage), var(--sage));
  background: var(--x) 0 5px / 11px 1px no-repeat, var(--x) 5px 0 / 1px 11px no-repeat,
    var(--x) 25% 5px / 11px 1px no-repeat, var(--x) calc(25% + 1.25px) 0 / 1px 11px no-repeat,
    var(--x) 50% 5px / 11px 1px no-repeat, var(--x) 50% 0 / 1px 11px no-repeat,
    var(--x) 75% 5px / 11px 1px no-repeat, var(--x) calc(75% - 1.25px) 0 / 1px 11px no-repeat,
    var(--x) 100% 5px / 11px 1px no-repeat, var(--x) calc(100% - 5px) 0 / 1px 11px no-repeat; }
.level { display: flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; }
.sheethead { gap: 16px; }
.level span { opacity: .55; }
.datum { width: 12px; height: 10px; fill: var(--sage); overflow: visible; }
.row { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }
.row > * { padding: 0 16px; min-width: 0; }
.c1 { grid-column: span 1; } .c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; }
.cstart3 { grid-column-start: 3; }

/* ── the logo ─────────────────────────────────────────────────── */
.cairn, .groupmark { display: block; fill: currentColor; fill-rule: evenodd; overflow: visible; }
.cairn--top { height: 17px; width: auto; }
.cairn--intro { width: 100%; height: auto; position: relative; z-index: 2; }
.groupmark--foot { width: min(calc(100% - 32px), 760px); height: auto; margin: 0 16px; position: relative; z-index: 2; }

/* ── header: logo · one row of links · phone + one action ──── */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--top); padding: 0 calc(var(--gut) + 16px);
  display: flex; align-items: center; gap: 40px; border-bottom: var(--hair) solid var(--rule);
  transition: background-color .3s, color .3s, transform .45s var(--ease), visibility 0s; }
.top__home { color: inherit; text-decoration: none; flex: none; }
.top__nav { flex: 1; }
.top__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 1.8vw, 30px); }
.top__nav a { white-space: nowrap; font-size: 14px; letter-spacing: -.005em; text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.top__nav a:hover, .top__nav a[aria-current] { background-size: 100% 1px; }
.top__end { display: flex; align-items: center; gap: 22px; flex: none; }
.top__tel { font: 400 12px/1 var(--mono); letter-spacing: .06em; text-decoration: none; white-space: nowrap; opacity: .85; }
.top__cta { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; padding: 12px 18px; border: var(--hair) solid currentColor; transition: background-color .25s, color .25s; }
.top__cta:hover { background: var(--fg); color: var(--bg); }
.top__menu { display: none; align-items: center; gap: 10px; border: 0; background: none; color: inherit; cursor: pointer; padding: 8px 0; }
.top__menu i { width: 22px; height: 10px; position: relative; }
.top__menu i::before, .top__menu i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.top__menu i::before { top: 0; } .top__menu i::after { bottom: 0; }
.menu-open .top__menu i::before { transform: translateY(4.25px) rotate(45deg); }
.menu-open .top__menu i::after { transform: translateY(-4.25px) rotate(-45deg); }
/* Home: nothing but the three doors until the visitor moves past them */
.js .is-home .top { transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.js .is-home.past-intro .top, .js .is-home.menu-open .top { transform: none; visibility: visible; transition: background-color .3s, color .3s, transform .45s var(--ease); }

.menu { position: fixed; z-index: 45; inset: 0; padding: calc(var(--top) + 6vh) var(--gut) var(--gut); display: flex; flex-direction: column; justify-content: space-between; }
.menu__list { list-style: none; margin: 0; padding: 0 16px; }
.menu__list a { display: block; text-decoration: none; font-size: clamp(38px, 6vw, 88px); letter-spacing: -.045em; line-height: 1.1; font-weight: 300; }
.menu__list a:hover, .menu__list a[aria-current] { color: var(--sage); }
.menu__foot { padding: 0 16px; }
.menu__foot a { text-decoration: none; }
/* The menu opens like a roof being raised: a gable that lifts to full height */
.js .menu { visibility: hidden; clip-path: polygon(0 0, 50% 0, 100% 0, 100% 0, 0 0); transition: clip-path .6s var(--ease), visibility 0s .6s; }
.js .menu-open .menu { visibility: visible; clip-path: polygon(0 0, 50% 0, 100% 0, 100% 100%, 0 100%); transition: clip-path .6s var(--ease); }
html:not(.js) .menu { display: none; }

/* ── intro: three doors, and the cairn being built ────────────── */
.intro { position: relative; min-height: 100vh; min-height: 100svh; padding: var(--gut); display: flex; flex-direction: column; }
.intro__top { margin-top: 7vh; align-items: start; }
.intro__top .signals { padding: 0; }
.intro__ask { opacity: .7; margin: 0 0 18px; }
/* The title block: a ruled box saying what this is and who it's by,
   as on every construction drawing. */
.titleblock { justify-self: end; width: min(100%, 380px); margin: 0; border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); padding: 0 !important; margin-right: 16px; }
.titleblock > div { padding: 14px 18px; }
.titleblock > div + div { border-top: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); }
.titleblock dt { opacity: .7; margin-bottom: 8px; }
.titleblock dd { margin: 0; font-size: 15px; line-height: 1.45; opacity: .9; }
.titleblock .titleblock__what { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; opacity: 1; }
.titleblock__foot { display: flex; gap: 14px; align-items: baseline; }
.titleblock__foot dt { margin: 0; }
.titleblock__foot dd { font-size: 11px; }
.signals { list-style: none; margin: 0; padding: 0 16px; position: relative; z-index: 2; }
/* A door that opens along a seam. The word is two clipped halves; on
   hover they part and the description appears in the gap between them. */
.signal { display: inline-flex; align-items: center; gap: .25em; text-decoration: none; padding: 2px 0; --size: clamp(34px, 4.6vw, 68px); }
.signal__word { position: relative; display: inline-block; font-size: var(--size); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; line-height: 1.15; }
.signal__top, .signal__bot { display: block; transition: transform .5s var(--ease), color .3s; }
.signal__top { clip-path: inset(0 0 50% 0); }
.signal__bot { position: absolute; inset: 0; clip-path: inset(50% 0 0 0); }
.signal__sub { position: absolute; left: 0; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: clamp(10px, .9vw, 12px); letter-spacing: .12em; color: var(--cream); padding-left: .1em;
  clip-path: inset(50% 0 50% 0); transition: clip-path .5s var(--ease); }
.signal .arr { width: .32em; height: .32em; font-size: var(--size); margin-left: .1em; transition: transform .45s var(--ease); }
.signal:hover .signal__top, .signal:focus-visible .signal__top { transform: translateY(-.4em); }
.signal:hover .signal__bot, .signal:focus-visible .signal__bot { transform: translateY(.4em); }
.signal:hover .signal__sub, .signal:focus-visible .signal__sub { clip-path: inset(0); transition-delay: .08s; }
.signal:hover .arr, .signal:focus-visible .arr { transform: translate(4px, -.4em); color: var(--sage); }
.signals li + li { margin-top: 10px; }
/* the opened word needs room so it never touches its neighbours */
.signals li { transition: margin .5s var(--ease); }
.signals li:has(.signal:hover), .signals li:has(.signal:focus-visible) { margin-block: .35em; }
/* Touch screens can't hover: keep the word whole, description underneath */
@media (hover: none), (max-width: 600px) {
  /* word and arrow share the first row; the description sits below */
  .signal { display: grid; grid-template-columns: auto 1fr; column-gap: .25em; align-items: center; }
  .signal__word { display: contents; }
  .signal__top { grid-column: 1; grid-row: 1; clip-path: none; font-size: var(--size); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; line-height: 1.15; }
  .signal__bot { display: none; }
  .signal .arr { grid-column: 2; grid-row: 1; justify-self: start; margin: 0; }
  .signal__sub { grid-column: 1 / -1; grid-row: 2; position: static; translate: none; clip-path: none; display: block; white-space: normal; margin-top: 2px; }
}
.signals li + li { margin-top: 6px; }
.intro .cairn--intro { margin-top: auto; }
/* Choosing a door changes the room: the whole first screen takes that
   audience's colour while it's hovered or focused. */
/* ── audience colours on interaction ─────────────────────────────
   Hover (or focus) any link to an audience and the whole page shifts:
   the brand's main colour (--forest: dark sections, headings, header)
   and its accent (--sage: grid, levels, details) take that audience's
   colours. Cream never changes. Forest itself is the Akoya Group state.
     investors  deep sage #5A6A4A   (brand sage is too pale for light text)
     owners     clay      #9A4F37
     partners   slate     #2F4858 */
body { transition: --forest .6s var(--ease), --sage .6s var(--ease); }
body:has(:is(a[href^="/invest"], a[href*="btl.akoyaproperty"], a[href*="topic=plan"], a[href*="topic=brr"], a[href*="topic=btl"], a[href*="topic=large"]):is(:hover, :focus-visible)) { --forest: #5A6A4A; --sage: #A9B994; }
body:has(:is(a[href^="/owners"], a[href*="topic=owner"]):is(:hover, :focus-visible)) { --forest: var(--clay); --sage: #C9937E; }
body:has(:is(a[href^="/partners"], a[href*="topic=developer"], a[href*="topic=jv"]):is(:hover, :focus-visible)) { --forest: var(--slate); --sage: #8BA3B3; }

/* On the door screens the text and logo take a pale tint of the colour */
:is(.intro, .sec--doors) { transition: color .6s var(--ease); }
body:has(:is(a[href^="/invest"], a[href*="btl.akoyaproperty"], a[href*="topic=plan"], a[href*="topic=brr"], a[href*="topic=btl"], a[href*="topic=large"]):is(:hover, :focus-visible)) :is(.intro, .sec--doors) { --fg: #E4EBD8; }
body:has(:is(a[href^="/owners"], a[href*="topic=owner"]):is(:hover, :focus-visible)) :is(.intro, .sec--doors) { --fg: #F6D9CC; }
body:has(:is(a[href^="/partners"], a[href*="topic=developer"], a[href*="topic=jv"]):is(:hover, :focus-visible)) :is(.intro, .sec--doors) { --fg: #D6E3EB; }
:is(.intro, .sec--doors) .signal:is(:hover, :focus-visible) :is(.signal__sub, .arr) { color: var(--fg); }

/* The hovered button itself is lifted, gains a shadow and an arrow */
.btn { position: relative; transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); }
.btn::after { content: '↗'; display: inline-block; width: 0; opacity: 0; overflow: hidden; transform: translate(-6px, 4px); transition: width .35s var(--ease), opacity .3s, transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgb(0 0 0 / .45); }
.btn:hover::after { width: 1em; opacity: 1; transform: none; }

/* Letters rise from the ground line; then the stones are stacked,
   lowest first, each dropping and settling. The round stone is last. */
.intro .cairn__letters { animation: ground .8s var(--ease) both; }
@keyframes ground { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.intro .cairn__stone { animation: stack .55s var(--settle) both; animation-delay: calc(.55s + var(--i) * .16s); }
@keyframes stack { from { transform: translateY(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
/* The pearl: its highlight appears as it lands, then one lustre passes over it */
.pearl { pointer-events: none; }
.intro .pearl__glow { animation: glow .8s ease-out both; animation-delay: 1.5s; }
@keyframes glow { from { opacity: 0; } to { opacity: 1; } }
.intro .pearl__sheen { animation: sheen 1.3s cubic-bezier(.4, 0, .2, 1) both; animation-delay: 1.6s; }
@keyframes sheen { from { transform: translateX(0); } to { transform: translateX(200px); } }
.intro .signals li, .intro .intro__ask, .intro .titleblock { animation: arrive .7s var(--ease) both; }
.intro .titleblock { animation-delay: .3s; }
.intro .intro__ask { animation-delay: 1s; }
.intro .signals li:nth-child(1) { animation-delay: 1.15s; }
.intro .signals li:nth-child(2) { animation-delay: 1.25s; }
.intro .signals li:nth-child(3) { animation-delay: 1.35s; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── sections ─────────────────────────────────────────────────── */
.hero { min-height: 90vh; padding: calc(var(--top) + 40px) var(--gut) 72px; display: flex; flex-direction: column; }
.hero .sheethead + .row { margin-top: auto; }
.hero--short { min-height: 68vh; }
/* Heroes that end in doors: everything, doors included, fits the first screen */
.hero--doors { min-height: 100vh; min-height: 100svh; padding-bottom: 130px; }
.hero--doors .display { margin-bottom: .4em; }
.hero__ask { margin: 0 0 14px; opacity: .75; }
.hero--doors .signals--inline { margin-top: 0; align-items: start; }
.hero--doors .signals--inline li + li { margin-top: 0; }
.hero--doors .signal { --size: clamp(28px, 3vw, 46px); }
.hero--doors .signal__top { white-space: nowrap; }
.sec { position: relative; padding: 110px var(--gut) 120px; }
/* A new section arrives under a roof: its top edge is the gable. */
.sec--roof { margin-top: calc(-1 * var(--roof-h)); padding-top: calc(var(--roof-h) + 90px); clip-path: polygon(0 var(--roof-h), 50% 0, 100% var(--roof-h), 100% 100%, 0 100%); z-index: 3; }
.sheethead { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 0; border-top: var(--hair) solid var(--rule); margin-bottom: clamp(48px, 7vw, 96px); }
.sheethead p { margin: 0; }
.hero .sheethead { border-top: 0; }

.js .rise { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rise:not(.in) { opacity: 0; transform: translateY(26px); }

/* ── photos: roof-framed, forest duotone until real photography ── */
.photo { position: relative; margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; width: 100%; background:
  radial-gradient(circle at 30% 40%, rgb(245 232 220 / .3), transparent 60%),
  radial-gradient(circle, rgb(138 154 118 / .85) 1.1px, transparent 1.5px) 0 0 / 6px 6px, var(--forest); }
[data-tone="forest"] .photo { background-color: var(--ink); }
.photo--gable { clip-path: var(--roof); }
.photo--wide { aspect-ratio: 16 / 7; clip-path: polygon(0 10%, 50% 0, 100% 10%, 100% 100%, 0 100%); }
@media (max-width: 600px) { .photo--wide { aspect-ratio: 4 / 3; } }
.photo--portrait { aspect-ratio: 4 / 5; clip-path: var(--roof); }
.photo.has-img { background: var(--sage); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.case__gallery { margin-top: 20px; grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
.case__gallery .photo { margin-bottom: 8px; }
.case__label { opacity: .7; margin: 6px 0 0; }
@media (max-width: 600px) { .case__gallery { grid-template-columns: 1fr 1fr; } .case__gallery > :first-child { grid-column: 1 / -1; } }
.case__detail { opacity: .7; margin: 4px 0 0; }
.photo figcaption { position: absolute; left: 12px; bottom: 10px; right: 12px; color: var(--cream); }

/* ── two ways ─────────────────────────────────────────────────── */
.ways .way { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 20px; }
.ways .way h2 { margin: 12px 0 14px; max-width: 18ch; }
.ways .way > p:not(.mono) { max-width: 52ch; }
.list { list-style: none; padding: 0; margin: 12px 0 0; width: 100%; }
.list li { border-top: var(--hair) solid var(--rule); }
.list li:last-child { border-bottom: var(--hair) solid var(--rule); }
.list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; text-decoration: none; font-size: 20px; letter-spacing: -.015em; transition: padding .3s var(--ease); }
.list a { transition: padding .3s var(--ease), color .25s; }
.list a:hover { padding-left: 10px; }
.list em { display: block; font: normal 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-top: 4px; }
.way .btn { margin-top: 8px; }

/* ── how we work: four bays on the grid, one beam across them ── */
.sec--process { min-height: 100vh; padding-top: calc(var(--top) + 20px); padding-bottom: 48px; display: flex; flex-direction: column; justify-content: center; }
.sec--process .sheethead { margin-bottom: 28px; }
.display--sm { font-size: clamp(38px, 4vw, 60px); }
.sec--process .lede { align-self: end; margin-bottom: 1.2em; }
.bays { margin: 12px -16px 0; }
/* dimension string: a line from A to E, a grid bubble at each bay line */
.bays__dim { position: relative; height: 34px; }
.bays__dim span { position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--sage); transform-origin: 0 50%; }
.bays__dim b { position: absolute; top: 5px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 1px solid var(--sage); background: var(--bg);
  display: grid; place-items: center; font: 500 10px/1 var(--mono); color: var(--sage); }
.bays__dim b:nth-of-type(1) { left: 0; } .bays__dim b:nth-of-type(2) { left: 25%; } .bays__dim b:nth-of-type(3) { left: 50%; }
.bays__dim b:nth-of-type(4) { left: 75%; } .bays__dim b:nth-of-type(5) { left: 100%; }
.bays__cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.bays__cols li { padding: 22px 22px 30px; border-left: 1px solid var(--rule); }
.bays__cols li:last-child { border-right: 1px solid var(--rule); }
.bays__cols h3 { margin: 18px 0 10px; font-size: clamp(22px, 2vw, 28px); }
.bays__cols li > p:last-child { font-size: 15px; line-height: 1.5; opacity: .85; margin: 0; }
.bays__cols a { color: inherit; }
/* the beam: spans all four bays, carries the consultant and the call */
.beam { background: var(--cream); color: var(--forest); display: grid; grid-template-columns: 3fr 1fr; gap: 28px; align-items: center; padding: 22px; position: relative; }
.beam::before, .beam::after { content: ''; position: absolute; top: -9px; width: 1px; height: 9px; background: var(--sage); }
.beam::before { left: 0; } .beam::after { right: 0; }
.beam__who { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: center; }
.beam__mark { width: 56px; height: 60px; fill: var(--forest); }
.beam__who .photo { margin: 0; }
.beam__who .photo figcaption { display: none; }
.beam__who p { margin: 0 0 6px; max-width: 60ch; }
.beam__name { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.beam__act { display: flex; flex-direction: column; align-items: flex-start; }
.beam__act .note { margin-top: 10px; }
.btn.btn--forest { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn--forest:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.js .bays:not(.built) .bays__dim span { transform: scaleX(0); }
.js .bays__dim span { transition: transform 1.2s var(--ease); }
.js .bays:not(.built) .bays__dim b, .js .bays:not(.built) .bays__cols li { opacity: 0; transform: translateY(14px); }
.js .bays__dim b { transition: opacity .3s, transform .4s var(--ease); }
.js .bays__dim b:nth-of-type(2) { transition-delay: .3s; } .js .bays__dim b:nth-of-type(3) { transition-delay: .6s; }
.js .bays__dim b:nth-of-type(4) { transition-delay: .9s; } .js .bays__dim b:nth-of-type(5) { transition-delay: 1.2s; }
.js .bays__cols li { transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(.15s + var(--i) * .3s); }
.js .bays:not(.built) .beam { transform: translateY(-24px); opacity: 0; }
.js .beam { transition: transform .7s var(--settle) 1.4s, opacity .4s 1.4s; }

.plainstages { list-style: none; margin: 0; padding: 0; }
.plainstages li { border-top: 1px solid var(--rule); padding: 14px 0; }
.plainstages h3 { margin: 6px 0; }

/* ── how we work: one group, three sides ─────────────────────── */
.sides { grid-template-columns: repeat(3, 1fr); gap: 0; margin: 12px -16px 0; }
.side { display: flex; flex-direction: column; min-height: 420px; padding: 26px 26px 28px; text-decoration: none; color: var(--cream);
  clip-path: polygon(0 18px, 50% 0, 100% 18px, 100% 100%, 0 100%); padding-top: 44px; transition: transform .45s var(--ease), background-color .6s var(--ease); }
.side--inv { background: #5A6A4A; } .side--own { background: var(--clay); } .side--par { background: var(--slate); }
.side + .side { margin-left: 1px; }
.side h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.03em; line-height: 1.12; margin: 26px 0 16px; }
.side p:not(.mono) { font-size: 15px; opacity: .85; max-width: 36ch; }
.side .mono { opacity: .8; }
.side__go { margin-top: auto; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid; padding-bottom: 4px; align-self: flex-start; }
.side .arr { transition: transform .35s var(--ease); }
.side:hover { transform: translateY(-8px); }
.side:hover .arr { transform: translate(3px, -3px); }

/* ── proof: running totals ──────────────────────────────────── */
.counters { position: relative; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 -16px; }
.counters__row { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; }
.counters__row > div { padding: 26px 16px 22px; border-left: 1px solid var(--rule); }
.counters__row > div:first-child { border-left: 0; }
.count { font-variant-numeric: tabular-nums; }
.counters dd { margin: 0 0 12px; font-size: clamp(40px, 4.4vw, 72px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.counters dt { opacity: .7; }
.is-sample { background: repeating-linear-gradient(45deg, rgb(255 190 60 / .12) 0 10px, transparent 10px 20px); }
.sample { position: absolute; top: -11px; right: 16px; margin: 0; padding: 3px 8px; background: rgb(255 190 60 / .9); color: var(--ink); font-size: 10px; }
.proof-foot { margin-top: 28px; align-items: center; }
.proof-foot p { margin: 0; }
.proof-foot__btn { text-align: right; }

/* ── case studies ─────────────────────────────────────────────── */
.cases { row-gap: 40px; }
.casecard a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.casecard__panel { aspect-ratio: 4 / 3; margin: 0 0 20px; clip-path: var(--roof); background: var(--slate); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.casecard__panel span:first-child { font-size: clamp(48px, 5vw, 80px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.casecard__panel .mono { opacity: .8; margin-top: 8px; }
.casecard--inv .casecard__panel { background: #5A6A4A; } .casecard--own .casecard__panel { background: var(--clay); } .way .casecard__panel { background: var(--forest); }
.partner-stats > div { border-top: 1px solid var(--rule); padding-top: 16px !important; }
.partner-stats .link { display: inline-block; margin-top: 12px; }
.casecard h3 { margin: 8px 0 10px; }
.casecard p { font-size: 15px; }
.casecard__stats { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 14px; margin: 6px 0 18px; border-top: 1px solid var(--rule); }
.casecard__stats > div { padding-top: 10px; display: flex; flex-direction: column; }
.casecard__stats dd { margin-top: auto !important; }
.casecard__stats dt { font-size: 10px; opacity: .65; }
.casecard__stats dd { margin: 4px 0 0; font-size: 15px; }
.casecard .link { align-self: flex-start; margin-top: auto; }
.casecard a:hover .photo { filter: brightness(1.15); }
.cases__more { display: flex; align-items: flex-end; }
.case .row + .row { margin-top: 40px; }
.case .casecard__stats { grid-template-columns: 1fr; }
.counters__note { margin: 14px 16px 0; opacity: .7; }
.case__quote { margin: 0; }
.case__quote .sig { font: 400 40px/1 var(--script); color: var(--forest); margin-top: 12px; }
.quote { font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.03em; line-height: 1.2; margin: 0; }

/* ── client voices ───────────────────────────────────────────── */
.voices { row-gap: 32px; }
.voice { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule); padding-top: 22px !important; }
.voice blockquote { margin: 0 0 22px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 300; letter-spacing: -.02em; line-height: 1.3; }
.voice figcaption { margin-top: auto; display: grid; gap: 6px; }
.voice .sig { font: 400 40px/1 var(--script); color: var(--sage); }
.voice .sig .tbc { font-family: var(--mono); font-size: 12px; }
.voices__more { display: flex; align-items: flex-end; }
.tagline { display: flex; align-items: center; margin-top: 8px; opacity: .8; }

/* ── audience-led pages: the page's main colour is the audience's ── */
body.aud-inv { --forest: #5A6A4A; --sage: #A9B994; }
body.aud-own { --forest: var(--clay); --sage: #C9937E; }
body.aud-par { --forest: var(--slate); --sage: #8BA3B3; }

/* ── investors page ───────────────────────────────────────────── */
.hero__foot { align-items: end; margin-top: 28px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.btn--line { background: transparent; color: var(--fg); border-color: currentColor; }
.btn.btn--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.starts { list-style: none; margin: 8px 0 0; padding: 0; }
.starts li { border-top: 1px solid var(--rule); }
.starts li:last-child { border-bottom: 1px solid var(--rule); }
.starts a { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr auto; gap: 24px; align-items: center; padding: 22px 0; text-decoration: none; transition: padding .35s var(--ease), color .25s; }
.starts a:hover { padding-left: 12px; color: var(--forest); }
.starts__q { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }
.starts__who { font-size: 15px; opacity: .8; }
.starts__rec { opacity: .8; }

/* the deals as a schedule, like a drawing's door or window schedule */
.schedule { margin: 8px -16px 0; border-top: 1px solid var(--rule); }
.schedule__row { display: grid; grid-template-columns: 1fr 1.6fr 1.6fr 1.6fr; border-bottom: 1px solid var(--rule); }
.schedule__row > span { padding: 14px 16px; border-left: 1px solid var(--rule); font-size: 15px; line-height: 1.45; }
.schedule__row > span:first-child { border-left: 0; opacity: .7; padding-top: 16px; }
.schedule__head > span { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; padding-top: 18px; padding-bottom: 18px; }
.schedule__head em { display: block; font-style: normal; font-size: 10px; opacity: .7; margin-bottom: 8px; }
.schedule__cta > span { padding-top: 18px; padding-bottom: 20px; }

.cases--inv { margin-top: 56px; }

.sec--next .display { margin-bottom: .6em; }
.nextsteps { list-style: none; margin: 0; padding: 0 16px; }
.nextsteps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--rule); }
.nextsteps li:last-child { border-bottom: 1px solid var(--rule); }
.nextsteps .mono { opacity: .7; padding-top: 5px; }
.nextsteps h3 { margin: 0 0 6px; }
.nextsteps p { margin: 0; opacity: .85; font-size: 15px; }
.sec--next a:not(.btn) { color: inherit; }

/* ── owners page ──────────────────────────────────────────────── */
.ownersteps { list-style: none; margin: 40px -16px 36px; padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.ownersteps li { padding: 20px 16px 24px; border-left: 1px solid var(--rule); }
.ownersteps li:first-child { border-left: 0; }
.ownersteps .mono { opacity: .6; }
.ownersteps h3 { margin: 16px 0 8px; }
.ownersteps p { margin: 0; font-size: 15px; opacity: .85; }
.earn { margin: 24px 0 0; border-top: 1px solid var(--rule); }
.earn > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.earn dd { margin: 0; }
.case__meta { margin-top: 32px; row-gap: 28px; }
.sec--band { padding-top: 70px; padding-bottom: 70px; }
.band__act { text-align: right; align-self: center; }

/* ── partners page ────────────────────────────────────────────── */
.reasons > div { border-top: 1px solid var(--rule); padding-top: 18px !important; }
.reasons h3 { margin: 14px 0 10px; }
.reasons p:last-child { font-size: 15px; opacity: .85; }
.sec--next .btn + .btn { margin-left: 8px; }
[data-tone="forest"] .way a { color: inherit; }

/* ── filters (case studies, resources) ─────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-self: end; }
.filter { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; padding: 12px 16px; border: 1px solid currentColor; transition: background-color .3s, color .3s; }
.filter--inv:hover { background: #5A6A4A; border-color: #5A6A4A; }
.filter--own:hover { background: var(--clay); border-color: var(--clay); }
.filter--par:hover { background: var(--slate); border-color: var(--slate); }
body:has(.filter--inv:hover) { --forest: #5A6A4A; --sage: #A9B994; }
body:has(.filter--own:hover) { --forest: var(--clay); --sage: #C9937E; }
body:has(.filter--par:hover) { --forest: var(--slate); --sage: #8BA3B3; }
body:has(a[data-aud="own"]:hover) { --forest: var(--clay); --sage: #C9937E; }
body:has(a[data-aud="par"]:hover) { --forest: var(--slate); --sage: #8BA3B3; }
body:has(a[data-aud="inv"]:hover) { --forest: #5A6A4A; --sage: #A9B994; }

/* ── about ─────────────────────────────────────────────────────── */
.meaning { margin-top: 48px; row-gap: 32px; }
.meaning > div { border-top: 1px solid var(--rule); padding-top: 20px !important; }
.meaning .gable, .meaning__stones { width: 34px; height: 38px; fill: var(--forest); margin: 0 0 14px; display: block; }
.meaning__sig { font: 400 48px/38px var(--script); color: var(--forest); margin: 0 0 14px; height: 38px; }
.meaning__line { height: 38px; margin: 0 0 14px; display: flex; align-items: center; }
.meaning h3 { margin: 0 0 10px; }
.meaning p:last-child { font-size: 15px; opacity: .85; }

/* ── resources ─────────────────────────────────────────────────── */
.guides { grid-template-columns: repeat(3, 1fr); }
.guides__col { display: flex; flex-direction: column; gap: 28px; }
.guides__aud { border-top: 3px solid; padding-top: 12px; }
.guides__col--inv .guides__aud { border-color: #5A6A4A; } .guides__col--own .guides__aud { border-color: var(--clay); } .guides__col--par .guides__aud { border-color: var(--slate); }
.guide h3 { margin: 4px 0 6px; font-size: 20px; }
.guide--soon { border-top: 1px solid var(--rule); padding-top: 14px; }
.guide__soon { opacity: .6; margin: 0 0 8px; }
.guide .note { margin: 0; }
.form--inline { align-content: end; }

/* ── lower-commitment band ──────────────────────────────────────── */
.soft { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.soft .row { align-items: start; }
.soft__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.03em; margin-top: 14px; }
.soft__guide { background: var(--forest); color: var(--cream); padding: 24px !important; transition: background-color .6s var(--ease); }
.soft__name { font-size: 22px; letter-spacing: -.02em; margin: 0 0 6px; }
.soft__what { opacity: .85; font-size: 15px; }
.soft__field { display: flex; gap: 8px; margin-top: 16px; }
.soft__field input { flex: 1; min-width: 0; font: 400 16px/1.4 var(--sans); padding: 12px 14px; border: 1px solid rgb(245 232 220 / .5); background: transparent; color: inherit; border-radius: 0; }
.soft__field input::placeholder { color: rgb(245 232 220 / .6); }
.soft__guide .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.soft__links { list-style: none; margin: 0; display: grid; gap: 18px; padding-top: 6px !important; }

/* ── phone action bar: the page's main action + tap to call ─────── */
.mbar { display: none; }
@media (max-width: 600px) {
  .mbar { display: flex; position: fixed; z-index: 48; left: 12px; right: 12px; bottom: 12px; gap: 8px;
    transform: translateY(140%); transition: transform .45s var(--ease); }
  .show-mbar .mbar { transform: none; }
  .menu-open .mbar, .form-in-view .mbar { transform: translateY(140%); }
  .mbar__main { flex: 1; justify-content: center; background: var(--forest); color: var(--cream); border-color: var(--forest); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); }
  .mbar__call { flex: none; width: 52px; display: grid; place-items: center; background: var(--cream); color: var(--forest); border: 1px solid var(--forest); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); }
  .mbar__call svg { width: 20px; height: 20px; }
  .foot { padding-bottom: 96px; }
  .soft__field { flex-direction: column; }
}

/* ── guide pages ──────────────────────────────────────────────── */
.guide a { display: block; text-decoration: none; }
.guide a:hover h3 { color: var(--forest); }
.article__meta { opacity: .75; }
.article__body { max-width: 68ch; }
.article__body h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; margin: 1.6em 0 .5em; }
.article__body p { font-size: 18px; line-height: 1.6; }
.article__side { position: sticky; top: calc(var(--top) + 24px); align-self: start; }
.article__side ul { list-style: none; padding: 0; margin: 10px 0 32px; display: grid; gap: 14px; }
.article__side .link { text-transform: none; letter-spacing: 0; font: 400 15px/1.4 var(--sans); border: 0; }
.article__side .btn { margin-top: 10px; }

/* ── legal pages ──────────────────────────────────────────────── */
.legal .article__body ul { padding-left: 1.1em; margin: 0 0 1em; }
.legal .article__body li { font-size: 17px; line-height: 1.6; margin-bottom: .5em; }
.legal .article__body h2:first-child { margin-top: 0; }
.foot__legal { margin: 28px 16px 0; position: relative; z-index: 2; text-transform: none; letter-spacing: .02em; }
.foot__legal a, .cookie-settings { color: inherit; }
.cookie-settings { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.foot__legal .cookie-settings { text-decoration: none; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover, .foot__legal .cookie-settings:hover { text-decoration: underline; }

/* ── cookie consent: a quiet card, reject as easy as accept ─────── */
.consent { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(420px, calc(100% - 32px)); padding: 20px;
  background: var(--cream); color: var(--forest); border: 1px solid var(--forest); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .45); }
.consent[hidden] { display: none; }
.consent p { font-size: 14.5px; line-height: 1.5; margin: 0 0 12px; }
.consent .mono { display: flex; align-items: center; font-size: 11.5px; }
.consent a { color: inherit; }
.consent__choose { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.consent__choose[hidden] { display: none; }
.consent__choose label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.consent__choose .mono { margin-left: auto; opacity: .6; font-size: 10px; }
.consent__choose input { width: 18px; height: 18px; accent-color: var(--forest); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent__btns .btn { padding: 13px 16px; flex: 1; justify-content: center; }
.consent__more { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; background: none; border: 0; color: inherit; cursor: pointer; padding: 10px 4px; text-decoration: underline; }
/* phones: a compact strip, not a sheet */
@media (max-width: 600px) {
  .consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 14px 12px; }
  .consent p { font-size: 13px; margin-bottom: 10px; }
  .consent #consent-h { display: none; }
  .consent__btns .btn { padding: 11px 10px; font-size: 11px; }
}
.consent-open .mbar { transform: translateY(140%) !important; }

/* ── Zoho forms, in the site's own style ─────────────────────────── */
.zform__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.zform__fields > label { grid-column: 1 / -1; display: grid; gap: 6px; }
.zform__fields > label.half { grid-column: span 1; }
.zform__fields > label[hidden] { display: none; }
.zform .mono em { font-style: normal; opacity: .55; text-transform: none; letter-spacing: 0; }
.zform input, .zform select, .zform textarea { font: 400 16px/1.4 var(--sans); padding: 12px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; border-radius: 0; width: 100%; }
.zform select { appearance: none; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 0 center / 6px 6px no-repeat; padding-right: 24px; cursor: pointer; }
.zform option { color: var(--ink); background: var(--cream); }
.zform input[type=file] { border-bottom-style: dashed; font-size: 14px; }
.zform input:focus-visible, .zform select:focus-visible, .zform textarea:focus-visible { outline: none; border-bottom-width: 2px; }
.zform .is-invalid { border-bottom-color: #C8553D; border-bottom-width: 2px; }
.zform label.check { display: flex !important; align-items: flex-start; gap: 10px; font-size: 15px; }
.zform label.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--forest); }
.zform__error { margin: 16px 0 0; padding: 10px 12px; border-left: 3px solid #C8553D; background: rgb(200 85 61 / .12); font-size: 15px; }
.zform > .btn { margin-top: 22px; }
.zform__note { margin-top: 12px; }
.zform__note a { color: inherit; }
.zform--guide .zform__fields { gap: 12px 16px; }
.soft__guide .zform input { border-bottom-color: rgb(245 232 220 / .6); }
.soft__guide .zform .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.sec--form .zform .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.thanks__side .btn { margin-bottom: 4px; }
@media (max-width: 600px) { .zform__fields { grid-template-columns: 1fr; } .zform__fields > label.half { grid-column: 1 / -1; } }

/* ── founder story, direct contact options ─────────────────────── */
.story__body p:not(.lede):not(.mono) { font-size: 18px; line-height: 1.65; max-width: 62ch; }
.story__sign { display: flex; gap: 28px; margin: 28px 0 4px; }
.story__sign .sig { font: 400 52px/1 var(--script); color: var(--forest); }
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.direct .btn { color: var(--cream); border-color: rgb(245 232 220 / .6); }
.wa-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.wa-list .link { padding: 4px 0; }
.voice .sig { font: 400 40px/1 var(--script); color: var(--forest); }
.legal code { font-family: var(--mono); font-size: .9em; }

/* ── team: eight people, portrait with the signature across it ── */
.team { row-gap: 48px; }
.member__frame { position: relative; }
.member__frame .photo { margin: 0; }
.member .sig { position: absolute; left: 14px; bottom: 6px; margin: 0; font: 400 clamp(38px, 3.4vw, 54px)/1 var(--script); color: var(--cream); }
.member h3 { margin: 16px 0 4px; font-size: 20px; }
.member .mono { opacity: .7; margin: 0; }

/* ── routes, lists, buttons ───────────────────────────────────── */
.routes .route { display: flex; flex-direction: column; align-items: flex-start; }
.routes .route h3 { margin: 10px 0 12px; }
.routes .route .link { margin-top: auto; }
.route--note { border-top: var(--hair) solid var(--rule); padding-top: 18px !important; }

.faq { display: flex; flex-direction: column; align-items: flex-start; }
.faq details { width: 100%; border-top: var(--hair) solid var(--rule); }
.faq details:last-of-type { border-bottom: var(--hair) solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; cursor: pointer; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 14px; height: 14px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; background: currentColor; }
.faq summary i::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.faq summary i::after { top: 0; bottom: 0; left: 6.5px; width: 1px; transition: transform .3s var(--ease); }
.faq details[open] summary i::after { transform: scaleY(0); }
.faq details p { max-width: 52ch; }
.faq details > :last-child { margin-bottom: 20px; }
.faq .lede { margin-bottom: 28px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; text-decoration: none;
  padding: 17px 26px; background: var(--fg); color: var(--bg); border: var(--hair) solid var(--fg); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
[data-tone="forest"] .btn:hover, .btn--cream:hover { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.btn--cream { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.link { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; border-bottom: var(--hair) solid; padding-bottom: 4px; }
.link:hover, .list a:hover { color: var(--forest); }
:is([data-tone="forest"], [data-tone="clay"], [data-tone="slate"]) :is(.link, .list a):hover { color: var(--sage); }

.figures > div { border-top: var(--hair) solid var(--rule); padding-top: 16px; }
.figure { font-size: clamp(36px, 4vw, 64px); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.figures .link { display: inline-block; margin-top: 12px; }

/* People: the script signature, as under the wordmark */
.person .sig { font: 400 clamp(40px, 3.6vw, 56px)/1 var(--script); color: var(--accent); margin: -34px 0 0 -4px; position: relative; }
.person h3 { margin-bottom: 4px; }
.person .mono { margin-bottom: 14px; }
.tel { font-size: 20px; letter-spacing: -.02em; text-decoration: none; border-bottom: var(--hair) solid; }

.articles h3 { margin: 10px 0 12px; }

.doors__ask { position: relative; z-index: 2; padding: 0 16px; margin-bottom: 20px; opacity: .75; }
.signals--end { display: flex; flex-wrap: wrap; gap: 8px 48px; }
.signals--end li + li { margin-top: 0; }
.signals--inline { list-style: none; margin: 48px 0 0; padding: 0; }
.signals--inline li { padding: 0 16px; }

.form { display: grid; gap: 16px; align-content: start; }
.form label { display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--sans); padding: 12px 0; border: 0; border-bottom: var(--hair) solid currentColor; background: transparent; color: inherit; border-radius: 0; }
.form .btn { justify-self: start; margin-top: 10px; }

/* ── footer ───────────────────────────────────────────────────── */
.foot { position: relative; padding: 80px var(--gut) var(--gut); }
.foot__cols > * { border-top: var(--hair) solid var(--rule); padding-top: 14px; }
.foot__line { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.1; margin: 22px 0; max-width: 20ch; }
.foot__links { list-style: none; margin: 0; display: grid; gap: 6px; align-content: start; }
.foot__links a { overflow-wrap: anywhere; text-decoration: none; font: 400 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.foot__links a:hover { text-decoration: underline; }
.proof { margin: 64px 0 56px; }
.proof > div { border-top: var(--hair) solid var(--rule); padding-top: 12px; }
.proof dd { margin: 6px 0 0; font-size: 18px; }
.foot__small { margin: 32px 16px 0; opacity: .75; max-width: 100ch; position: relative; z-index: 2; text-transform: none; letter-spacing: .02em; }

/* ── narrow screens ───────────────────────────────────────────── */
/* With eight links, the phone number gives way first on mid-size screens */
@media (max-width: 1240px) { .top__tel { display: none; } }
/* Below 1100px the full row no longer fits comfortably: switch to the menu */
@media (max-width: 1100px) { .top__nav, .top__tel { display: none; } .top { justify-content: space-between; } .top__menu { display: flex; } .top__end { gap: 16px; } }

@media (max-width: 900px) {
  .top__nav, .top__tel, .top__cta { display: none; }
  .top { justify-content: space-between; }
  .top__menu { display: flex; }
  .sec--process { min-height: 0; }
  .hero--doors { padding-bottom: 90px; }
  .hero--doors .signal__top { white-space: normal; }
  .hero--doors .signals--inline li + li { margin-top: 18px; }
  .ownersteps { grid-template-columns: 1fr 1fr; }
  .ownersteps li:nth-child(3) { border-left: 0; }
  .ownersteps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .band__act { text-align: left; }
  .article__side { position: static; }
  .soft .c1, .soft .c2 { grid-column: 1 / -1; }
  .guides { grid-template-columns: 1fr; row-gap: 48px; }
  .meaning .c1 { grid-column: 1 / -1; }
  .reasons .c1 { grid-column: 1 / -1; }
  .counters__row { grid-template-columns: 1fr 1fr; }
  .counters__row > div { border-left: 0; border-top: 1px solid var(--rule); }
  .proof-foot__btn { text-align: left; }
  .cases .c1 { grid-column: 1 / -1; }
  .starts a { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .starts__who, .starts__rec { grid-column: 1; }
  .starts a .arr { grid-row: 1; grid-column: 2; }
  .schedule__head { display: none; }
  .schedule { border-top: 0; }
  .schedule__row { grid-template-columns: 1fr; }
  .schedule__row > span { border-left: 0; }
  .schedule__row > span:first-child { padding-bottom: 0; }
  .schedule__row > span[data-p]::before { content: attr(data-p); display: block; font: 400 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin-bottom: 4px; }
  .sides { grid-template-columns: 1fr; }
  .side { min-height: 0; }
  .side + .side { margin: 1px 0 0; }
  .bays__dim { display: none; }
  .bays__cols { grid-template-columns: 1fr 1fr; }
  .bays__cols li { border-top: 1px solid var(--rule); }
  .beam { grid-template-columns: 1fr; }
  .beam__who { grid-template-columns: 40px 1fr; }
  .beam__mark { width: 40px; height: 44px; }
  .team .c1 { grid-column: span 1; margin-top: 0 !important; }
  .gridlines, .row { grid-template-columns: repeat(2, 1fr); }
  .gridlines span:nth-child(n+3) { display: none; }
  :root { --cols: 2; }
  .gridlines span:nth-child(2)::after { content: 'C'; position: absolute; top: calc(var(--top) + 14px); right: -11px; width: 22px; height: 22px; border-radius: 50%; border: var(--hair) solid var(--gridline); display: grid; place-items: center; font: 500 10px/1 var(--mono); color: var(--sage); }
  .sheethead::before { display: none; }
  .c2, .c3, .c4 { grid-column: 1 / -1; }
  .cstart3 { grid-column-start: 1; }
  .routes .c1, .people .c1, .articles .c1 { grid-column: 1 / -1; }
  .figures .c1, .foot__cols .c1 { grid-column: span 1; }
  .row > * + * { margin-top: 32px; }
  .figures .c1:nth-child(2), .foot__cols .c1 + .c1 { margin-top: 0; }
  .partner-stats > * { margin-top: 0 !important; }
  .partner-stats .c1 { grid-column: span 1; }
  .sec--roof { padding-top: calc(var(--roof-h) + 72px); }
  .stone { padding: 18px 24px; }
  .proof { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .proof > * + * { margin-top: 0; }
  .intro__top { margin-top: 2vh; }
  .titleblock { order: -1; justify-self: stretch; width: auto; margin: 0 16px 28px; }
  .titleblock > div:nth-child(2) { display: none; }
  /* A shorter scroll between sections, and easier tapping */
  .sec { padding-top: 80px; padding-bottom: 88px; }
  .sheethead { margin-bottom: 40px; }
  .faq summary { padding: 18px 0; }
  .foot__links { gap: 4px; }
  .foot__links a { display: inline-block; padding: 8px 0; }
  .list a, .starts a { min-height: 56px; }
  .link { display: inline-block; padding: 12px 0 6px; }
}

/* ── tablet (601–900px): the desktop arrangement, adapted ──────────*/
@media (min-width: 601px) and (max-width: 900px) { .top__cta { display: inline-block; } }
/*
   Not the phone's single column: two to four across wherever the
   content allows, so an iPad reads like the designed layout. */
@media (min-width: 601px) and (max-width: 900px) {
  .row { row-gap: 32px; }
  .row > * + * { margin-top: 0; }
  /* home hero: doors left, title block right, as on desktop */
  .intro__top .c2 { grid-column: span 1; }
  .titleblock { order: 0; justify-self: end; margin: 0 16px 0 0; }
  .titleblock > div:nth-child(2) { display: block; }
  .intro__top { margin-top: 6vh; }
  .hero--doors .signals--inline .c2 { grid-column: span 1; }
  .hero--doors .signals--inline li + li { margin-top: 0; }
  /* grids */
  .team { grid-template-columns: repeat(4, 1fr); }
  .cases, .routes, .people, .articles, .voices { grid-template-columns: 1fr 1fr; }
  .cases .c1, .routes .c1, .people .c1, .articles .c1, .voices .c1 { grid-column: span 1; }
  .meaning .c1, .reasons .c1 { grid-column: span 1; }
  .sides { grid-template-columns: repeat(3, 1fr); }
  .side { min-height: 360px; padding: 38px 18px 22px; }
  .side + .side { margin: 0 0 0 1px; }
  .side h3 { font-size: 22px; }
  .counters__row { grid-template-columns: repeat(3, 1fr); }
  .counters__row > div:nth-child(-n+3) { border-top: 0; }
  .counters__row > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
  .guides { grid-template-columns: repeat(3, 1fr); }
  .soft .c1 { grid-column: span 1; }
  .soft .c2 { grid-column: 1 / -1; order: 3; }
  /* the deals stay a side-by-side schedule */
  .schedule { border-top: 1px solid var(--rule); }
  .schedule__head { display: grid; }
  .schedule__row { grid-template-columns: .8fr 1fr 1fr 1fr; }
  .schedule__row > span { border-left: 1px solid var(--rule); font-size: 14px; padding: 12px; }
  .schedule__row > span:first-child { border-left: 0; padding-bottom: 12px; }
  .schedule__row > span[data-p]::before { display: none; }
  .schedule__head > span { font-size: 18px; }
}

/* Tablet hero: desktop arrangement, but sized to its content, so the
   logo sits a comfortable step below the doors, not half a screen away */
@media (min-width: 601px) and (max-width: 900px) {
  /* same composition as desktop: the doors and title block balanced in
     the space above the logo, which sits on the roof point */
  .intro { padding-top: 48px; }
  .intro__top { margin-block: auto; }
  .intro .cairn--intro { margin-top: 0; }
}

.deal-cards { display: none; }
.deal-card { border-top: 3px solid var(--forest); padding-top: 16px !important; }
.deal-card h3 { margin: 8px 0 14px; font-size: 24px; }
.deal-card dl { margin: 0 0 18px; }
.deal-card dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.deal-card dt { opacity: .65; padding-top: 3px; }
.deal-card dd { margin: 0; font-size: 15px; line-height: 1.45; }

/* ── phone (≤600px) ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .guides { grid-template-columns: 1fr; }
  .guides__col + .guides__col { margin-top: 48px !important; }
  /* stories read top to bottom, one column */
  .case__meta > .c1, .case .row > .c1 { grid-column: 1 / -1; margin-top: 24px !important; }
  .case__meta > .c1:first-child, .case .row > .c1:first-child { margin-top: 0 !important; }
  .ownersteps { margin-left: 0; margin-right: 0; }
  .hero, .hero--doors { min-height: 0; padding-top: calc(var(--top) + 36px); }
  .hero .sheethead + .row { margin-top: 18vh; }
  .hero--short .sheethead + .row { margin-top: 10vh; }
  /* the comparison table becomes one card per deal type */
  .schedule { display: none; }
  .deal-cards { display: grid; row-gap: 40px; margin-top: 8px; }
  .level span { display: none; }
  .sec { padding-top: 60px; padding-bottom: 64px; }
  .sec--roof { padding-top: calc(var(--roof-h) + 56px); }
  .sheethead { margin-bottom: 32px; }
  .mbar .mbar__main { background: var(--forest); color: var(--cream); border-color: var(--forest); }
  /* Phone hero reads top to bottom: the brand builds first, then who we
     are, then the three doors, closed by the roof point. No dead space. */
  /* same composition as desktop, stacked: title block at the top, the
     doors centred in the space below it, the logo on the roof point */
  .intro { padding-top: 40px; }
  .intro__top { flex: 1; display: flex; flex-direction: column; margin-top: 0; }
  .intro__doors { margin-block: auto; padding-block: 28px; }
  .intro .cairn--intro { margin-top: 0; }
  .titleblock { margin-bottom: 36px; }
  .intro__ask { margin-bottom: 14px; }
  .titleblock__foot { flex-direction: column; gap: 6px; }
  .intro .signals li + li { margin-top: 18px; }
  .sides { grid-template-columns: 1fr; }
  .voices .c1, .cases__more, .voices__more { grid-column: 1 / -1; }
  .display--xl { font-size: clamp(44px, 12vw, 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pearl__sheen { display: none; }
  .js .rise, .js .bays * { translate: none !important; opacity: 1 !important; transform: none !important; }
}

/* Small keyword label inside a display H1 (reads as the page's subject) */
.kicker { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; margin-bottom: 1.4em; font-weight: 400; }

/* Long-form articles (content/articles/*.md) */
.article__body--long { max-width: 72ch; }
.article__body--long h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 400; margin: 1.4em 0 .4em; }
.article__body--long ul, .article__body--long ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article__body--long li { font-size: 18px; line-height: 1.6; margin-bottom: .45em; }
.article__body--long a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.article__body--long strong { font-weight: 500; }
.article__meta a { color: inherit; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 16px; line-height: 1.45; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.table-scroll th { font: 400 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.artcard a { display: block; color: inherit; text-decoration: none; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding-top: 18px; }
.artcard h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; margin: .4em 0 .4em; }
.artcard p:not(.mono) { font-size: 17px; line-height: 1.55; margin-bottom: 1em; }
@media (max-width: 600px) {
  .table-scroll table { font-size: 14px; }
  .table-scroll table:has(th:nth-child(4)) { min-width: 640px; }
  .table-scroll th, .table-scroll td { padding-right: 12px; }
}

/* Article reading aids */
.answer { background: var(--forest); color: var(--cream); padding: clamp(22px, 3vw, 36px); margin: 0 0 32px; }
.answer > :last-child { margin-bottom: 0; }
.answer p, .answer li { color: var(--cream); }
.answer > p:not(.answer__label):first-of-type { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.answer__label { opacity: .75; margin-bottom: 10px; }
.answer ul { margin-bottom: 1em; }
.toc { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding: 18px 0; margin: 0 0 40px; }
.toc ol { margin: 10px 0 0; padding-left: 1.4em; columns: 2 260px; column-gap: 32px; }
.toc li { font-size: 16px !important; margin-bottom: .35em !important; break-inside: avoid; }
.toc a { text-decoration: none !important; }
.toc a:hover, .toc a:focus-visible { text-decoration: underline !important; }
.table-scroll tr.total td { border-top: 1.5px solid currentColor; font-size: 18px; }
.table--bars td.bar { width: 55%; }
.bar { white-space: nowrap; }
.bar__track { display: inline-block; vertical-align: middle; width: calc(100% - 64px); height: 10px; background: color-mix(in srgb, currentColor 12%, transparent); margin-right: 10px; }
.bar__fill { display: block; height: 100%; background: var(--forest); }
.bar__val { font-variant-numeric: tabular-nums; }

/* About: founders */
.founders { row-gap: 40px; }
.founder { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding-top: 20px; min-width: 0; }
.founder h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 300; margin: 0 0 6px; }
.founder .mono { opacity: .75; margin-bottom: 16px; }
.founder p:not(.mono) { font-size: 18px; line-height: 1.6; max-width: 60ch; }
.table-scroll tr.group th { font: 500 15px/1.4 var(--sans); text-transform: none; letter-spacing: 0; opacity: 1; padding-top: 18px; border-bottom: 1px solid currentColor; }

/* Article author: portrait in the byline and an "About the author" box */
.byline { display: flex; align-items: center; gap: 14px; }
.byline__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.authorbox { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; margin-top: 56px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.authorbox > div { min-width: 0; }
.authorbox__img { width: 120px; height: 120px; object-fit: cover; object-position: 50% 20%; clip-path: var(--roof); }
.authorbox h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; margin: 6px 0 10px !important; }
.authorbox p { font-size: 17px !important; }
.authorbox .mono { font-size: 11.5px !important; opacity: .75; margin: 0; }
@media (max-width: 600px) { .authorbox { grid-template-columns: 1fr; } .authorbox__img { width: 96px; height: 96px; } }
.artcard--featured h2 { font-size: clamp(34px, 4.4vw, 64px); max-width: 18ch; }
.artcard--featured p:not(.mono) { font-size: 19px; max-width: 60ch; }
/* wide tables: the first column stays put while the rest scrolls */
.table-scroll table:has(th:nth-child(5)) :is(th, td):first-child { position: sticky; left: 0; background: var(--cream); z-index: 1; box-shadow: 1px 0 0 color-mix(in srgb, currentColor 12%, transparent); }
.table-scroll table:has(th:nth-child(5)) th:first-child { opacity: 1; color: color-mix(in srgb, var(--forest) 75%, var(--cream)); }
.toc .mono { font-size: 11.5px !important; opacity: .75; margin: 0; }

/* ── Buy-to-let calculator ─────────────────────────────────────────── */
.calc { align-items: start; row-gap: 40px; }
.calc__form, .calc__out { min-width: 0; }
.calc__out { position: sticky; top: calc(var(--top) + 16px); }
.calc__group { border: 0; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); margin: 0 0 8px; padding: 16px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.calc__group > legend { padding: 0 8px 0 0; opacity: .8; }
.calc__group > :is(.cf--radios, .cf--check, .calc__sd, .calc__if-works, .calc__if-mortgage, .calc__if-reval, .calc__if-sale) { grid-column: 1 / -1; }
.calc__if-works, .calc__if-mortgage, .calc__if-reval, .calc__if-sale { display: none; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.calc__form.is-works .calc__if-works, .calc__form.is-mortgage .calc__if-mortgage, .calc__form:not(.is-sale) .calc__if-reval, .calc__form.is-sale .calc__if-sale { display: grid; }
.cf { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 15px; line-height: 1.35; }
.cf small { font-size: 13px; opacity: .7; }
.cf__in { display: flex; align-items: center; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, var(--cream) 70%, white); }
.cf__in:focus-within { outline: 2px solid var(--forest); outline-offset: 1px; }
.cf__in i { font-style: normal; padding: 0 10px; opacity: .6; font-size: 14px; white-space: nowrap; }
.cf input[type=number], .cf select { font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; padding: 10px 10px; width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.cf select { border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, var(--cream) 70%, white); }
.cf input:focus, .cf select:focus { outline: none; }
.cf select:focus-visible { outline: 2px solid var(--forest); }
.cf--radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cf--radios legend { width: 100%; padding: 0; margin-bottom: 6px; }
.cf--radios label, .cf--check { display: inline-flex; align-items: center; gap: 8px; flex-direction: row; cursor: pointer; }
.cf--radios input, .cf--check input { accent-color: var(--forest); width: 18px; height: 18px; }
.calc__sd { font-size: 15px; margin: 0; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.calc__actions .link { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
.calc__label { opacity: .75; margin-bottom: 12px; }
.calc__out h3 { font-size: 20px; font-weight: 400; margin: 28px 0 10px; }
.calc__headline { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in srgb, var(--cream) 30%, var(--forest)); }
.calc__headline > div { background: var(--forest); color: var(--cream); padding: 18px 20px; }
.calc__headline .mono { opacity: .8; margin: 0 0 6px; }
.calc__big { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.03em; margin: 0; font-variant-numeric: tabular-nums; }
.calc__summary { font-size: 18px; line-height: 1.5; margin: 18px 0 0; }
.calc__dl { margin: 0; display: grid; gap: 0; }
.calc__dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-size: 15px; }
.calc__dl dt { opacity: .85; }
.calc__dl dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.calc__checks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; font-size: 15px; }
.calc__checks li { display: flex; justify-content: space-between; gap: 12px; }
.calc__pass, .calc__fail, .calc__na { font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; white-space: nowrap; align-self: center; }
.calc__pass { background: var(--forest); color: var(--cream); }
.calc__fail { background: var(--clay); color: var(--cream); }
.calc__na { border: 1px solid color-mix(in srgb, currentColor 30%, transparent); opacity: .7; }
.calc__verdict { font-size: 17px; line-height: 1.5; padding: 14px 16px; background: color-mix(in srgb, var(--forest) 8%, transparent); }
.calc__note, .calc__small { font-size: 14px; line-height: 1.5; opacity: .85; }
.calc__chart { width: 100%; height: auto; display: block; }
.calc__axis { stroke: currentColor; opacity: .3; }
.calc__tick { font: 400 10px var(--mono); fill: currentColor; opacity: .7; }
.calc__l { fill: none; stroke-width: 2.5; }
.calc__l--value { stroke: var(--forest); }
.calc__l--equity { stroke: #8A9A76; }
.calc__l--loan { stroke: var(--clay); stroke-dasharray: 5 4; }
.calc__legend { font-size: 13px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.calc__legend .k { display: inline-block; width: 18px; height: 3px; margin-right: 6px; vertical-align: middle; }
.k--value { background: var(--forest); } .k--equity { background: #8A9A76; } .k--loan { background: var(--clay); }
.calc__next { margin-top: 36px; padding-top: 18px; border-top: 1px solid currentColor; }
.calc__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.calc__x { background: none; border: 0; cursor: pointer; color: inherit; font-size: 16px; }
@media (max-width: 900px) { .calc__out { position: static; } }
@media (max-width: 600px) {
  .calc__group, .calc__if-works, .calc__if-mortgage, .calc__if-reval, .calc__if-sale { grid-template-columns: 1fr; }
  .calc__headline { grid-template-columns: 1fr; }
}
/* "Run your own numbers" callout and the pinned tool on Resources */
.callout { border-left: 3px solid var(--forest); padding: 14px 18px; margin: 32px 0; background: color-mix(in srgb, var(--forest) 6%, transparent); }
.callout .mono { margin: 0 0 6px; opacity: .8; font-size: 11.5px !important; }
.callout p:not(.mono) { margin: 0; }
.toolbanner { display: grid; gap: 8px; padding: clamp(22px, 3vw, 36px); background: var(--forest); color: var(--cream); text-decoration: none; margin-bottom: 40px; }
.toolbanner strong { font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1.05; }
.toolbanner span:not(.mono):not(.link) { font-size: 18px; max-width: 60ch; opacity: .9; }
.toolbanner .mono { opacity: .75; }
.toolbanner .link { color: inherit; margin-top: 6px; }
@media print {
  .top, .foot, .mbar, .consent, .calc__form, .calc__next, .hero, .article, #calc-compare button { display: none !important; }
  .calc { display: block; } .calc__out { position: static; }
}
.calc__group > .cf--full { grid-column: 1 / -1; margin: 0; }
/* calculator v2: quick start, detail in expandable sections, full report unlocked with contact details */
.calc__quick { border-top: 0; padding-top: 0; }
.calc__hint { margin: 18px 0 6px; }
.calc__more { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.calc__more:last-of-type { border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.calc__more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; font-size: 17px; }
.calc__more summary::-webkit-details-marker { display: none; }
.calc__more summary::after { content: '+'; font: 300 22px/1 var(--sans); }
.calc__more[open] summary::after { content: '−'; }
.calc__more summary small { flex: 1; font-size: 13px; opacity: .65; }
.calc__more summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.calc__more > .calc__group { border-top: 0; padding-top: 0; }
.calc__if-mortgage-block { display: none; }
.calc__form.is-mortgage .calc__if-mortgage-block { display: block; }
.calc__full-only { display: none !important; }
.is-unlocked .calc__full-only { display: block !important; }
.is-unlocked .calc__actions.calc__full-only { display: flex !important; }
.is-unlocked .calc__locked-only { display: none !important; }
.calc__gate { margin-top: 28px; padding: clamp(20px, 2.6vw, 30px); background: var(--forest); color: var(--cream); }
.calc__gate h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; margin: 6px 0 10px; }
.calc__gate .mono { opacity: .8; margin: 0; }
.calc__unlocks { padding-left: 1.1em; margin: 0 0 22px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.calc__gate .zform label span.mono { color: var(--cream); }
.calc__gate .zform input { background: color-mix(in srgb, var(--cream) 92%, white); color: var(--forest); }
.calc__gate .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.calc__gate .note { font-size: 13px; opacity: .85; }
.calc__gate .note a { color: inherit; }
.calc__sink { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }
.calc__gate .note { font: 400 13px/1.5 var(--sans); text-transform: none; letter-spacing: 0; }
/* Articles: reading column left, "In this guide" sticky on the right */
.article__body--long { max-width: none; }
.artgrid { display: grid; grid-template-columns: minmax(0, 72ch) minmax(220px, 300px); justify-content: space-between; column-gap: 64px; align-items: start; }
.artmain { grid-column: 1; grid-row: 1; min-width: 0; }
.artgrid > .toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--top) + 24px); margin: 0; border-bottom: 0; }
.artgrid > .toc ol { columns: 1; }
.article__body--long .authorbox { max-width: 72ch; }
@media (max-width: 900px) {
  .artgrid { display: block; }
  .artgrid > .toc { position: static; margin: 0 0 32px; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
  .artgrid > .toc ol { columns: 2 240px; }
}

.proof-foot__alt { display: block; margin-top: 14px; font-size: 15px; }
.proof-foot__alt a, .way__alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.way__alt { font-size: 15px; margin-top: 14px; opacity: .9; }
.calc__stocklabel { margin: 16px 0 10px; opacity: .8; }
.calc__stock { display: grid; gap: 10px; }
.calc__home { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; color: inherit; text-decoration: none; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); padding: 8px; }
.calc__home:hover, .calc__home:focus-visible { border-color: currentColor; }
.calc__home img { width: 120px; height: 90px; object-fit: cover; }
.calc__home > span { display: grid; gap: 3px; font-size: 14px; min-width: 0; }
.calc__home strong { font-weight: 500; font-size: 15px; }
.calc__home em { font-style: normal; font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }

/* Resources index: equal cards, each one obviously a link */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.rcard { display: flex; flex-direction: column; gap: 12px; padding: 24px; min-height: 260px; color: var(--forest); text-decoration: none; background: color-mix(in srgb, var(--cream) 55%, white); border: 1px solid color-mix(in srgb, var(--forest) 20%, transparent); transition: border-color .2s, transform .2s, box-shadow .2s; }
.rcard:hover, .rcard:focus-visible { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--forest) 60%, transparent); outline: none; }
.rcard__kind { opacity: .75; }
.rcard__title { font-size: clamp(22px, 2vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.12; }
.rcard__sum { font-size: 16px; line-height: 1.5; opacity: .9; }
.rcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--forest) 15%, transparent); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.rcard__by { display: inline-flex; align-items: center; gap: 8px; }
.rcard__by img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.rcard__go { font: 400 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.rcard:hover .rcard__title, .rcard:focus-visible .rcard__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rcard--tool { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.rcard--tool .rcard__foot { border-top-color: color-mix(in srgb, var(--cream) 25%, transparent); }
.rcard--featured { border-width: 2px; border-color: color-mix(in srgb, var(--forest) 45%, transparent); }
@media (min-width: 901px) { .rcard--tool, .rcard--featured { grid-column: span 1; } }
