/* PBJ Consultancy, v3. Tokens first, then base, components, sections, pages.
   v3 adds photography in "turned" frames (one corner follows the J's curve),
   a scroll-widening stage and GSAP/Lenis/Motion choreography (motion.js). */

:root {
  --navy: #0F2341;
  --navy-hover: #1A3560;
  --navy-raised: #18304F;
  --gold: #A68439;
  --green: #216A53;
  --green-hover: #1A5644;
  --green-light: #E5EEE8;
  --ivory: #F6F5F0;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --ink: #172331;
  --ink-2: #4A5568;
  --ink-3: #5B6474;
  --line: rgba(15, 35, 65, .12);
  --line-strong: rgba(15, 35, 65, .22);

  --on-navy: #F6F5F0;
  --on-navy-2: rgba(246, 245, 240, .78);
  --on-navy-3: rgba(246, 245, 240, .62);
  --line-navy: rgba(246, 245, 240, .14);

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: 20px;
  --band-y: 88px;
  --radius: 10px;
  --radius-lg: 18px;
  --nav-h: 84px;
  --frame-r: 18px;
  --frame-turn: clamp(64px, 9vw, 150px); /* the J's turn, on one corner of a photo */

  --shadow-card: 0 1px 2px rgba(15, 35, 65, .06), 0 18px 40px -18px rgba(15, 35, 65, .22);
  --shadow-object: 0 1px 2px rgba(3, 9, 20, .25), 0 14px 28px -10px rgba(3, 9, 20, .4), 0 44px 72px -28px rgba(3, 9, 20, .55);
}

@media (min-width: 768px) { :root { --gutter: 40px; --band-y: 120px; --nav-h: 92px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; --band-y: 144px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: rgba(15, 35, 65, .35) var(--ivory);
  background: var(--ivory);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  caret-color: var(--green);
}
body.menu-open { overflow: hidden; }

::selection { background: rgba(33, 106, 83, .2); color: var(--navy); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  color: var(--navy);
  font-weight: 600;
  text-wrap: balance;
}

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

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

.skip {
  position: absolute; left: 16px; top: -56px; z-index: 200;
  padding: 10px 18px; background: var(--navy); color: var(--on-navy);
  border-radius: var(--radius); font-weight: 500; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: lining-nums tabular-nums; }

.i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Underwrite: the logo's J tail drawn under a phrase (main.js) ---------- */
.uw { position: relative; display: inline-block; padding-right: .42em; padding-bottom: .44em; isolation: isolate; }
.uw__svg { position: absolute; left: 0; top: 0; z-index: -1; overflow: visible; pointer-events: none; }
.uw__svg path { fill: none; stroke: var(--gold); stroke-linecap: butt; stroke-linejoin: round; }

/* Buttons and links ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn .i { transition: transform .25s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-hover); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: rgba(15, 35, 65, .05); }
.btn--light { background: var(--ivory); color: var(--navy); }
.btn--light:hover { background: var(--white); }
.btn--ghost-dark { border-color: rgba(246, 245, 240, .32); color: var(--on-navy); }
.btn--ghost-dark:hover { border-color: rgba(246, 245, 240, .7); background: rgba(246, 245, 240, .06); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; color: var(--green); text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-underline-offset .2s var(--ease), color .2s var(--ease);
}
.link:hover { text-underline-offset: 9px; color: var(--green-hover); }
.link .i { transition: transform .25s var(--ease-out); }
.link:hover .i { transform: translateX(3px); }
.link--light { color: var(--on-navy); }
.link--light:hover { color: var(--white); }

/* Nav ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav.is-stuck { background: rgba(246, 245, 240, .96); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .nav.is-stuck { background: rgba(246, 245, 240, .78); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); }
}
@media (prefers-reduced-transparency: reduce) { .nav.is-stuck { background: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.nav__logo { display: block; margin-left: -8px; flex: none; border-radius: 6px; }
.nav__logo img { width: 200px; height: auto; }
.nav__links { display: none; }
.nav__cta { display: none; }
.nav__toggle {
  margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent;
  color: var(--navy); cursor: pointer;
}
.nav__toggle .i { width: 22px; height: 22px; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: inline; }

@media (max-width: 1019px) {
  .nav__links.is-open {
    display: flex; flex-direction: column;
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0;
    padding: 24px var(--gutter) 40px; background: var(--ivory);
    border-top: 1px solid var(--line); overflow-y: auto;
  }
  .nav__links.is-open a:not(.btn) {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
    font: 600 30px/1.2 var(--serif); color: var(--navy); text-decoration: none;
  }
  .nav__links.is-open a[aria-current="page"] { color: var(--green); }
  .nav__menu-cta { margin-top: 32px; width: 100%; }
}

@media (min-width: 1020px) {
  .nav__toggle, .nav__menu-cta { display: none; }
  .nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .nav__links a {
    position: relative; padding: 10px 14px; border-radius: 6px;
    font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none;
    transition: color .2s var(--ease);
  }
  .nav__links a:hover { color: var(--green); }
  .nav__links a[aria-current="page"] { color: var(--green); }
  .nav__links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold);
  }
  .nav__cta { display: inline-flex; margin-left: 12px; }
}
.nav__links .btn--green, .nav__links .btn--green:hover { color: var(--white); }

/* Bands and section heads --------------------------------------------- */
.band { padding: var(--band-y) 0; }
.band--white { background: var(--white); }
.band--ivory { background: var(--ivory); }
.band--green { background: var(--green-light); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--navy h2, .band--navy h3 { color: var(--on-navy); }

.section-head { max-width: 46rem; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.018em; }
.section-head p { margin-top: 20px; max-width: 38rem; font-size: 18px; color: var(--ink-2); }
.band--navy .section-head p { color: var(--on-navy-2); }
.section-head--split { display: grid; gap: 20px; max-width: none; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .section-head--split p { margin-top: 0; padding-bottom: 14px; }
}
.section-body { margin-top: 56px; }
@media (min-width: 768px) { .section-body { margin-top: 72px; } }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 36rem; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--ink-2); max-width: 36rem; }

/* Hero ------------------------------------------------------------------ */
.hero { padding: 28px 0 0; }
@media (min-width: 1020px) { .hero { padding-top: 40px; } }
.hero__head { display: grid; gap: 28px; align-items: end; }
@media (min-width: 1020px) { .hero__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.hero__title {
  font-size: clamp(58px, 9.4vw, 136px); line-height: .92; letter-spacing: -.038em; font-weight: 500;
}
.hero__title .line { display: block; }
.hero__title .uw { padding-bottom: .4em; }
.hero__aside { padding-bottom: .9em; }
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 30rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 559px) { .hero__actions .btn { width: 100%; } }

/* Photo frames: rounded, with one corner turned like the J ---------------- */
.frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: var(--frame-r) var(--frame-r) var(--frame-turn) var(--frame-r);
  background: var(--green-light);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame img[data-parallax] { height: 112%; }
.frame--wide { aspect-ratio: 3 / 2; }
/* The gold J tail hugging the turned corner. One per page, at most. */
.frame-signed { position: relative; }
.frame-signed::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; pointer-events: none;
  width: calc(var(--frame-turn) + 46px); height: calc(var(--frame-turn) + 46px);
  border: 0 solid var(--gold); border-width: 0 3px 3px 0;
  border-bottom-right-radius: calc(var(--frame-turn) + 14px);
}

/* Stage: a wide photo that opens out to the page edges on scroll ---------- */
.stage {
  --p: 1; /* 1 = inset to the content column, 0 = full bleed (motion.js scrubs it) */
  position: relative; margin-top: clamp(40px, 6vw, 80px);
  padding-inline: calc(var(--p) * max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))));
}
.stage__media { position: relative; }
.stage__frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; background: var(--navy);
  border-radius: calc(var(--p) * var(--frame-r)) calc(var(--p) * var(--frame-r)) var(--frame-turn) calc(var(--p) * var(--frame-r));
}
@media (min-width: 640px) { .stage__frame { aspect-ratio: 16 / 10; } }
@media (min-width: 1020px) { .stage__frame { aspect-ratio: 2.1 / 1; } }
.stage__frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.stage .stage__card { position: relative; z-index: 2; margin: -56px 16px 0; font-size: 13px; }
.stage .stage__seal { left: auto; right: 16px; top: 16px; font-size: 11px; }
@media (min-width: 640px) {
  .stage .stage__card { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); margin: 0; font-size: clamp(12px, 1.05vw, 15px); }
  .stage .stage__seal { right: clamp(24px, 4vw, 56px); top: clamp(24px, 4vw, 56px); font-size: clamp(11px, 1vw, 14px); }
}
.stage--page { margin: 0; padding-bottom: clamp(40px, 5vw, 72px); }
.page-head:has(+ .stage) { padding-bottom: clamp(40px, 5vw, 64px); }
.stage--page .stage__frame { aspect-ratio: 4 / 3; }
@media (min-width: 1020px) { .stage--page .stage__frame { aspect-ratio: 2.6 / 1; } }

.seal {
  position: absolute; left: 3%; top: 7%; z-index: 2;
  width: 11.5em; height: 11.5em; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--white); color: var(--navy);
  box-shadow: var(--shadow-card);
}
.seal::before {
  content: ""; position: absolute; inset: .55em; border-radius: 50%;
  border: 1px solid var(--gold);
}
.seal__big { display: block; font: 600 3.4em/1 var(--serif); letter-spacing: -.02em; }
.seal__small { display: block; margin-top: .45em; font-size: .92em; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.plan-card {
  position: absolute; left: 0; bottom: 0; z-index: 2; width: 20.5em;
  padding: 1.6em 1.7em 1.5em; border-radius: 1.1em;
  background: var(--white); box-shadow: var(--shadow-card);
}
.plan-card__title { font: 600 1.45em/1.2 var(--serif); color: var(--navy); }
.plan-card__list { margin-top: 1em; }
.plan-card__list li {
  display: flex; align-items: center; gap: .75em;
  padding: .62em 0; border-top: 1px solid var(--line);
  font-size: 1.02em; font-weight: 500; color: var(--ink);
}
.tick {
  flex: none; width: 1.55em; height: 1.55em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
}
.tick svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Book cover objects (products drawn in code) ------------------------- */
.cover {
  position: relative; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2.1em 1.8em 1.9em 2.2em;
  border-radius: .3em .6em .6em .3em;
  background: var(--paper); color: var(--navy);
  box-shadow: var(--shadow-object);
  overflow: hidden; isolation: isolate;
}
.cover::before { /* spine */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .55em; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 35, 65, .1), rgba(15, 35, 65, 0));
}
.cover::after { /* grid, the blueprint */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(15, 35, 65, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 35, 65, .05) 1px, transparent 1px);
  background-size: 1.6em 1.6em; background-position: -1px -1px;
}
.cover__mark { width: max(2.6em, 26px); height: auto; margin: -.45em 0 0 -.45em; }
.cover__title { font: 600 2.05em/1.06 var(--serif); letter-spacing: -.015em; }
.cover__note { margin-top: .55em; font-size: .82em; line-height: 1.45; color: var(--ink-2); max-width: 15em; }
.cover--green { background: var(--green); color: var(--white); }
.cover--green::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
}
.cover--green .cover__note { color: rgba(255, 255, 255, .8); }
.cover--ivory { background: var(--green-light); color: var(--navy); }

/* Home: about split ---------------------------------------------------- */
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1020px) { .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; } }
.split__copy .link { margin-top: 24px; }
.split__copy .prose { margin-top: 28px; }

.order {
  position: relative; padding: 44px 36px 40px; border-radius: var(--radius-lg);
  background: var(--navy); color: var(--on-navy);
}
@media (min-width: 768px) { .order { padding: 56px 56px 52px; } }
.order__list { position: relative; }
.order__list::before { /* the gold spine joining the three */
  content: ""; position: absolute; left: 7px; top: 14px; bottom: 26px; width: 3px; background: var(--gold);
}
.order__list li { position: relative; padding: 0 0 30px 40px; }
.order__list li:last-child { padding-bottom: 0; }
.order__list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
}
.order__list h3 { font-size: 30px; line-height: 1.15; color: var(--on-navy); }
.order__list p { margin-top: 6px; color: var(--on-navy-2); font-size: 16px; max-width: 26rem; }

/* Index list (focus areas) -------------------------------------------- */
.index { border-bottom: 1px solid var(--line); }
.index__row {
  display: grid; gap: 8px 32px; align-items: center;
  padding: 28px 8px; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background-color .25s var(--ease);
}
.index__row > * { transition: transform .35s var(--ease-out); }
.index__row h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
.index__row p { color: var(--ink-2); max-width: 32rem; }
.index__go {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--green); white-space: nowrap;
}
.index__go .i { transition: transform .25s var(--ease-out); }
.index__row:hover { background: var(--white); }
.index__row:hover .index__go .i { transform: translateX(4px); }
@media (min-width: 900px) {
  .index__row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); padding: 34px 16px; }
  .index__row:hover > :not(.index__go) { transform: translateX(8px); }
  .index__go { justify-self: end; }
}

/* Offers --------------------------------------------------------------- */
.offers { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 1020px) { .offers { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; } }

.call {
  padding: 36px 26px; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .call { padding: 52px; } }
.call__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
.call__top h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; max-width: 13em; }
.call__price { display: flex; align-items: baseline; gap: 8px; color: var(--navy); }
.call__price .num { font: 600 clamp(48px, 5vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.call__price span:last-child { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.call__meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--green); }
.call__body { margin-top: 24px; color: var(--ink-2); max-width: 34rem; }
.steps2 { margin-top: 28px; border-bottom: 1px solid var(--line); }
.steps2 li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps2 strong { font: 600 19px/1.4 var(--serif); color: var(--navy); }
.steps2 span { color: var(--ink-2); }
.call__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.call__fine { font-size: 14px; color: var(--ink-3); }
.call__embed { margin-top: 28px; }
.call__embed iframe { width: 100%; height: 680px; border: 0; border-radius: 12px; background: var(--ivory); }

.mindset {
  display: flex; flex-direction: column;
  padding: 36px 26px; border-radius: var(--radius-lg);
  border: 1px solid rgba(33, 106, 83, .35); background: rgba(255, 255, 255, .45);
}
@media (min-width: 768px) { .mindset { padding: 52px 44px; } }
.mindset h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.mindset__meta { margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--green); }
.mindset > p:not(.mindset__meta) { margin-top: 24px; color: var(--ink-2); }
.checks { margin-top: 24px; }
.checks li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .i { color: var(--green); margin-top: 3px; }
.mindset .link { margin-top: auto; padding-top: 28px; align-self: flex-start; }

/* Blueprints (navy band) ---------------------------------------------- */
.feature { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.feature__object { display: grid; place-items: center; padding: 24px 0; }
.feature__object .cover { font-size: clamp(11px, 1.15vw, 15px); width: 22em; max-width: 100%; transform: rotate(-2deg); }
.feature__copy h3 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.feature__price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.feature__price .num { font: 600 clamp(56px, 6vw, 80px)/1 var(--serif); color: var(--on-navy); letter-spacing: -.02em; }
.feature__price span:last-child { font-size: 15px; font-weight: 500; color: var(--on-navy-2); }
.feature__copy > p { margin-top: 20px; color: var(--on-navy-2); max-width: 32rem; }
.feature__copy .checks li { border-color: var(--line-navy); color: var(--on-navy); }
.feature__copy .checks .i { color: var(--gold); }
.feature__copy .btn { margin-top: 32px; }

.shelf { display: grid; gap: 20px; margin-top: 72px; }
@media (min-width: 900px) { .shelf { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 96px; } }
.item {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--navy-raised); border: 1px solid var(--line-navy);
}
@media (min-width: 768px) { .item { padding: 36px; gap: 32px; } }
.item .cover { font-size: 6.4px; width: 18em; box-shadow: 0 1px 2px rgba(3, 9, 20, .3), 0 16px 32px -16px rgba(3, 9, 20, .7); }
.item .cover__title { font-size: 2.7em; }
.item .cover__note { font-size: 1.55em; }
.item h3 { font-size: 24px; line-height: 1.2; }
.item > div p { margin-top: 10px; font-size: 16px; color: var(--on-navy-2); }
.item__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 16px !important; }
.tbc { font-size: 14px; font-weight: 500; color: var(--on-navy-3); }
@media (max-width: 479px) {
  .item { grid-template-columns: 1fr; }
}

/* Process --------------------------------------------------------------- */
.process { position: relative; display: grid; gap: 40px; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.process__line { display: none; }
@media (min-width: 900px) {
  .process__line {
    display: block; position: absolute; left: 22px; right: 0; top: 21px; height: 3px;
    background: var(--gold); transform-origin: left center;
  }
  .process__line::after { /* the upturn, as on the J */
    content: ""; position: absolute; right: 0; bottom: 0; width: 3px; height: 36px; background: var(--gold);
  }
}
.process li { position: relative; }
.process__n {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%;
  background: var(--ivory); border: 2px solid var(--navy);
  font: 600 18px/1 var(--serif); color: var(--navy);
}
.band--white .process__n { background: var(--white); }
.process h3 { margin-top: 24px; font-size: 28px; line-height: 1.15; }
.process p { margin-top: 10px; color: var(--ink-2); max-width: 22rem; }

/* FAQ ------------------------------------------------------------------- */
.faq { border-bottom: 1px solid var(--line); max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 clamp(20px, 2vw, 24px)/1.3 var(--serif); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--green); transition: transform .3s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--ink-2); max-width: 42rem; }
.faq-layout { display: grid; gap: 48px; }
@media (min-width: 1020px) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; } }

/* Statement: one paragraph, read word by word (motion.js) ---------------- */
.statement { padding: var(--band-y) 0; }
.statement__text {
  max-width: 21em;
  font: 500 clamp(30px, 3.9vw, 56px)/1.16 var(--serif); letter-spacing: -.022em;
  color: var(--navy); text-wrap: pretty;
}
.statement__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 40px; }
.statement__foot p { color: var(--ink-2); max-width: 30rem; }

/* Pillars: strategy, mindset, execution -------------------------------- */
.pillars { display: grid; gap: 56px; counter-reset: pillar; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; } }
@media (min-width: 1020px) { .pillars { gap: 40px; } .pillars > li:nth-child(2) { margin-top: 96px; } .pillars > li:nth-child(3) { margin-top: 48px; } }
.pillar__n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 24px;
  border-radius: 50%; border: 1.5px solid var(--gold);
  font: 600 15px/1 var(--serif); color: var(--navy);
}
.pillar h3 { margin-top: 14px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.pillar p { margin-top: 8px; color: var(--ink-2); max-width: 22rem; }

/* Index rows: a photo follows the pointer on hover (motion.js) ---------- */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 220px; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 14px 14px 64px 14px;
  box-shadow: 0 30px 60px -24px rgba(15, 35, 65, .45);
  opacity: 0; visibility: hidden;
}
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); }
.peek img.is-on { opacity: 1; }

/* Offers: mindset card leads with a photo ------------------------------- */
.mindset--photo { background: var(--white); border: 0; box-shadow: var(--shadow-card); overflow: hidden; }
.mindset__media {
  margin: -36px -26px 28px; aspect-ratio: 16 / 10; overflow: hidden;
}
.mindset__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 768px) { .mindset__media { margin: -52px -44px 32px; } }

/* Blueprints: the cover object set on a desk photo ---------------------- */
.desk { position: relative; padding: 0 0 48px; }
.desk .frame { aspect-ratio: 4 / 3; }
.desk .frame img { filter: saturate(.85); }
.desk .cover {
  position: absolute; right: -4%; bottom: 0; width: 13em; max-width: 52%;
  font-size: clamp(9px, 1vw, 13px); transform: rotate(-3deg);
}
@media (max-width: 899px) { .desk { margin-right: 4%; } }

/* Owners: who it is for ------------------------------------------------- */
.owners { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 78%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.owners::-webkit-scrollbar { display: none; }
.owners li { scroll-snap-align: start; }
@media (min-width: 768px) { .owners { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.owners .frame { aspect-ratio: 3 / 4; }
.owners__cap { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.owners__cap strong { display: block; font: 600 22px/1.2 var(--serif); color: var(--navy); }
.owners__cap span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }

/* Close and footer ----------------------------------------------------- */
.close-band { padding: 0 0 var(--band-y); background: var(--ivory); }
.band--white + .close-band { background: var(--white); }
/* When the page's last band is not ivory, the closing panel needs its own lead-in. */
main:has(> section:last-child:not(.band--ivory)) + .close-band { padding-top: var(--band-y); }
main:has(> .band--white:last-child) + .close-band { background: var(--white); }
.close {
  display: grid; gap: 40px; align-items: center;
  padding: 52px 28px; border-radius: 22px;
  background: var(--navy); color: var(--on-navy);
}
@media (min-width: 768px) { .close { padding: 64px; } }
@media (min-width: 1020px) { .close { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; padding: 72px 80px; } }
.close__title { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.02em; color: var(--on-navy); }
.close__copy p { margin-top: 22px; color: var(--on-navy-2); max-width: 30rem; font-size: 18px; }
.close__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 559px) { .close__actions { flex-direction: column; align-items: stretch; } }
.close__media { max-width: 420px; margin-right: 14px; }
.close__media .frame { aspect-ratio: 4 / 5; }
@media (max-width: 1019px) { .close__media { order: -1; max-width: 360px; } }

.footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { width: 200px; margin-left: -8px; }
.footer__brand p { margin-top: 12px; max-width: 22rem; color: var(--ink-2); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__head { margin-bottom: 8px; font: 600 17px/1.4 var(--serif); color: var(--navy); }
.footer__col a { padding: 6px 0; color: var(--ink-2); text-decoration: none; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--green); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3);
}
.footer__credit a { color: var(--ink-2); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; transition: color .2s var(--ease); }
.footer__credit a:hover { color: var(--green); }
@media (min-width: 900px) {
  .footer { padding-top: 80px; }
  .footer__grid { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); }
  .footer__brand { grid-column: auto; }
}

/* Inner pages ---------------------------------------------------------- */
.page-head { padding: 40px 0 var(--band-y); }
@media (min-width: 1020px) { .page-head { padding-top: 64px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-head__grid { display: grid; gap: 40px; margin-top: 28px; align-items: end; }
@media (min-width: 1020px) { .page-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.page-head h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -.022em; }
.page-head .lead { margin-top: 24px; }

.facts { border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.facts dd { font-weight: 500; color: var(--navy); }
@media (max-width: 559px) { .facts div { grid-template-columns: 7rem 1fr; gap: 12px; } }

.jumps { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 32px; }
.jumps a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.jumps a:hover { border-color: var(--green); background: var(--white); }

.detail { display: grid; gap: 48px; }
@media (min-width: 1020px) { .detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }
.detail__aside h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; }
.detail__aside p { margin-top: 20px; color: var(--ink-2); max-width: 30rem; }
@media (min-width: 1020px) { .detail__aside { position: sticky; top: calc(var(--nav-h) + 40px); } }

.who { display: grid; gap: 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .who { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.who li { padding: 22px 0; border-top: 1px solid var(--line); }
.who strong { display: block; font: 600 22px/1.25 var(--serif); color: var(--navy); }
.who span { display: block; margin-top: 6px; color: var(--ink-2); }

/* Blueprints page */
.feature__h { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; color: var(--on-navy); }
.product-panel {
  display: grid; gap: 32px; align-items: center;
  padding: 36px 28px; border-radius: var(--radius-lg);
  background: var(--ivory); border: 1px solid var(--line);
}
.band--ivory .product-panel { background: var(--white); }
.product-panel .cover { font-size: clamp(9px, 2.4vw, 10px); width: 19em; max-width: 100%; margin: 0 auto; transform: rotate(-2deg); }
@media (min-width: 640px) {
  .product-panel { grid-template-columns: auto 1fr; gap: 36px; padding: 40px; }
  .product-panel .cover { width: 16em; }
  .product-panel .cover { margin: 0; }
}
.detail__aside .link { margin-top: 20px; }
.product-panel .facts div { grid-template-columns: 6.5rem 1fr; }

.page-head--tight { padding-bottom: 56px; }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 14px/1.4 var(--sans); color: var(--ink-3); background: var(--ivory); }
.compare tbody th { font: 600 19px/1.3 var(--serif); color: var(--navy); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { color: var(--ink-2); }
.compare .num { color: var(--navy); font-weight: 600; }

/* About page */
.principles { display: grid; gap: 0; counter-reset: p; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.principles li { padding: 30px 0; border-top: 1px solid var(--line); }
.principles h3 { font-size: 28px; line-height: 1.15; }
.principles p { margin-top: 10px; color: var(--ink-2); max-width: 30rem; }

.mark-story { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1020px) { .mark-story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; } }
.mark-story__plate {
  display: grid; place-items: center; padding: 64px 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.mark-story__plate img { width: min(320px, 80%); }
.mark-story__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.swatch { display: inline-flex; align-items: center; gap: 8px; }
.swatch::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c); }

/* Contact form ---------------------------------------------------------- */
.contact { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1020px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.form {
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .form { padding: 48px; } }
.form h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.form > p { margin-top: 10px; color: var(--ink-2); }
.form__grid { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2341' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(15, 35, 65, .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: var(--white);
  box-shadow: 0 0 0 3px rgba(33, 106, 83, .18);
}
.field [aria-invalid="true"] { border-color: #A3352B; background: #FFF8F7; }
.field__error { display: none; margin-top: 6px; font-size: 14px; font-weight: 500; color: #A3352B; }
.field [aria-invalid="true"] ~ .field__error { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.form__note { font-size: 14px; color: var(--ink-3); }
.form__done { display: none; padding: 8px 0; }
.form.is-sent .form__grid, .form.is-sent .form__foot { display: none; }
.form.is-sent .form__done { display: block; margin-top: 24px; }
.form__done strong { display: block; font: 600 26px/1.2 var(--serif); color: var(--navy); }
.form__done p { margin-top: 8px; color: var(--ink-2); }

.side { display: grid; gap: 20px; }
.side__card { padding: 32px; border-radius: var(--radius-lg); background: var(--white); }
.side__card--navy { background: var(--navy); color: var(--on-navy); }
.side__card h3 { font-size: 26px; line-height: 1.15; }
.side__card--navy h3 { color: var(--on-navy); }
.side__card p { margin-top: 10px; color: var(--ink-2); }
.side__card--navy p { color: var(--on-navy-2); }
.side__card .btn { margin-top: 22px; }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; padding: 64px 0 var(--band-y); }
.lost h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.lost p { margin-top: 20px; }
.lost .hero__actions { margin-top: 32px; }

/* Blog: list ------------------------------------------------------------- */
.blog-band { padding-top: clamp(48px, 6vw, 80px); }
.post-grid { display: grid; gap: 48px 32px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card__link { display: block; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 3 / 2; --frame-turn: 64px; }
.post-card__media img { transition: transform .8s var(--ease-out); }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__blank { display: grid; place-items: center; width: 100%; height: 100%; background: var(--navy); }
.post-card__blank img { width: 56px; height: auto; opacity: .9; }
.post-card__date { margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.post-card__title { margin-top: 6px; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.15; text-wrap: balance; }
.post-card__excerpt { margin-top: 10px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--green); }
.post-card__go .i { transition: transform .25s var(--ease-out); }
.post-card__link:hover .post-card__go .i { transform: translateX(4px); }
.post-empty { grid-column: 1 / -1; padding: 48px 0; color: var(--ink-2); font-size: 19px; }

/* Blog: one post --------------------------------------------------------- */
.post { padding: 40px 0 var(--band-y); }
@media (min-width: 1020px) { .post { padding-top: 64px; } }
.post__head { max-width: calc(46rem + var(--gutter) * 2); }
.post__draft { margin-top: 20px; padding: 10px 14px; border-radius: var(--radius); background: #FBF4E6; color: #6B4A12; font-size: 15px; font-weight: 500; }
.post__title { margin-top: 24px; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.025em; }
.post__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.post__cover { margin-top: clamp(32px, 4vw, 56px); }
.post__cover img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--frame-r) var(--frame-r) var(--frame-turn) var(--frame-r);
}
.prose-post { max-width: calc(40rem + var(--gutter) * 2); margin-top: clamp(40px, 5vw, 64px); font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose-post > * + * { margin-top: 1.1em; }
.prose-post h2 { margin-top: 1.8em; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; }
.prose-post h3 { margin-top: 1.6em; font-size: 24px; line-height: 1.2; }
.prose-post h2 + *, .prose-post h3 + * { margin-top: .6em; }
.prose-post a { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose-post ul, .prose-post ol { padding-left: 1.3em; }
.prose-post ul { list-style: disc; }
.prose-post ol { list-style: decimal; }
.prose-post li + li { margin-top: .4em; }
.prose-post li::marker { color: var(--green); }
.prose-post blockquote { padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font: 500 clamp(22px, 2vw, 26px)/1.4 var(--serif); color: var(--navy); }
.prose-post img { width: 100%; height: auto; border-radius: var(--frame-r); }
.prose-post figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.prose-post hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post__cta { max-width: calc(40rem + var(--gutter) * 2); margin-top: clamp(48px, 6vw, 80px); }
.post__cta-box { padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: var(--on-navy); }
.post__cta-title { font: 600 26px/1.2 var(--serif); }
.post__cta-box p:not(.post__cta-title) { margin-top: 10px; color: var(--on-navy-2); }
.post__cta-box .btn { margin-top: 22px; }
.post__cta .link { margin-top: 24px; }

/* Pages made from templates (body.tpl) -------------------------------------
   Text cleared in the editor disappears, and so do rows left with nothing in
   them. Inside the editor (html.cms-edit) everything stays visible to refill. */
html:not(.cms-edit) .tpl main [data-cms]:empty,
html:not(.cms-edit) .tpl .faq details:has(summary [data-cms]:empty),
html:not(.cms-edit) .tpl .checks li:has([data-cms]:empty),
html:not(.cms-edit) .tpl .steps2 li:has(strong:empty),
html:not(.cms-edit) .tpl .facts div:has(dd:empty) { display: none; }
.checks--big { margin-top: 0; }
.checks--big li { padding: 18px 0; font: 600 clamp(20px, 2vw, 24px)/1.3 var(--serif); color: var(--navy); }
.checks--big .i { width: 22px; height: 22px; margin-top: 4px; }
.text-page { padding-top: clamp(40px, 5vw, 64px); }
.text-page .prose-post { margin-top: 0; }

/* Cookie consent (tracking.js) -------------------------------------------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 26rem;
  padding: 22px 22px 18px; border-radius: var(--radius-lg); background: var(--white); color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 35, 65, .1), 0 24px 48px -16px rgba(15, 35, 65, .35);
}
.consent__title { font: 600 20px/1.25 var(--serif); color: var(--navy); }
.consent p:not(.consent__title) { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.consent__actions { display: flex; gap: 10px; margin-top: 16px; }
.consent__actions .btn { flex: 1; min-height: 44px; padding: 0 14px; font-size: 15px; }
.footer__consent { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; cursor: pointer; }
.footer__consent:hover { color: var(--green); }

/* Toast ----------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  max-width: min(92vw, 30rem); padding: 14px 20px; border-radius: var(--radius);
  background: var(--navy); color: var(--on-navy); font-size: 15px; font-weight: 500;
  box-shadow: 0 1px 2px rgba(3, 9, 20, .3), 0 16px 32px -12px rgba(3, 9, 20, .5);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Motion. Content is visible by default; main.js adds .motion, motion.js adds
   .has-gsap once its libraries load. Hidden-before-entrance states only apply
   then, and .motion-failsafe (set from the page head) undoes them if it never does. */
@media (prefers-reduced-motion: no-preference) {
  .motion .plan-card .tick { animation: tick .5s var(--ease-out) both; }
  .motion .plan-card li:nth-child(1) .tick { animation-delay: 1.5s; }
  .motion .plan-card li:nth-child(2) .tick { animation-delay: 1.75s; }
  .motion .plan-card li:nth-child(3) .tick { animation-delay: 2s; }
  .motion .process__line { transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
  .motion .process__line::after { transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out) 1.25s; }
  .motion .process.is-in .process__line, .motion .process.is-in .process__line::after { transform: none; }
  .js:not(.motion-failsafe) [data-intro], .js:not(.motion-failsafe) [data-reveal] { opacity: 0; }
  .has-gsap .statement__text .w { color: rgba(15, 35, 65, .16); }
}
@keyframes tick { from { transform: scale(.4); background: var(--line-strong); } 60% { transform: scale(1.12); } }

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