:root {
  --quote-display-size: 4.75rem;
  --quote-mark-size: 12.625rem;
  --quote-accent: #b5975d;
  --footer-display-size: 4.5rem;
  --training-viewport-clearance: 110px;
  --training-title-size: 2.75rem;
  --section-space: clamp(4.5rem, 6.25vw, 7.5rem);
}
.section-label { font-size: var(--body-xsmall-size); line-height: var(--body-xsmall-line-height); text-transform: uppercase; margin-bottom: .75rem; }
.section-heading { max-width: 38.8125rem; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 2.5vw, var(--heading-h2-size)); line-height: var(--heading-h2-line-height); letter-spacing: var(--heading-h2-tracking); text-wrap: balance; }
.section-body { font-size: var(--body-base-size); line-height: var(--body-base-line-height); }
.home-book, .site-footer { scroll-margin-top: 7rem; }
.home-about { scroll-margin-top: 0; position: relative; background: var(--neutral-white); }
.topics--underlay { position: relative; z-index: 1; }
.topics--underlay::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--neutral-white); opacity: var(--cards-fade, 0); pointer-events: none; }
.home-about--takeover { z-index: 2; box-shadow: 0 -24px 64px rgb(21 37 48 / .06); }
/* A full cream pause separates the biography from the learning sequence. */
.home-quote { background: var(--neutral-warm-ivory); min-height: 100svh; display: grid; grid-template-columns: clamp(3rem, 7vw, 8.5rem) minmax(0, 1fr); align-content: center; padding: clamp(5rem, 8vw, 9.5rem) var(--page-gutter); }
.home-quote__mark { font-family: var(--font-serif); font-size: clamp(5.5rem, 10.520833vw, var(--quote-mark-size)); color: var(--quote-accent); line-height: .8; margin-top: -.09em; }
.home-quote__body { margin: 0; }
.home-quote__text { max-width: 24ch; font-family: var(--font-serif); font-size: clamp(2.5rem, 4.5vw, 5.5rem); line-height: 1.18; letter-spacing: var(--heading-h2-tracking); text-wrap: balance; }
.home-quote__word { display: inline-block; }
.home-quote__author { display: block; margin-top: clamp(2.5rem, 4vw, 4.75rem); font-family: var(--font-body); font-style: normal; font-size: clamp(1rem, 1.25vw, 1.5rem); font-weight: 600; }
/* Portrait and biography share one quiet editorial composition. */
.home-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 9vw, 11rem); row-gap: clamp(3rem, 4vw, 4rem); align-items: center; padding: clamp(7rem, 10vw, 12rem) var(--page-gutter) clamp(5rem, 6vw, 7rem); }
.home-about__heading { grid-column: 1 / -1; }
.home-about__copy { min-width: 0; padding-block: 2rem; }
.home-about .section-label { margin-bottom: 1.5rem; }
.home-about .section-heading { max-width: 23ch; font-size: var(--section-display-size, clamp(2.75rem, 4vw, 4.875rem)); line-height: var(--display-leading); letter-spacing: 0; }
.home-about .home-about__text { max-width: 34.3125rem; margin: 0; text-wrap: pretty; }
.home-about__action { margin-top: 2.5rem; }
.home-about__visual { width: 100%; max-width: 50rem; justify-self: start; }
.home-about__media { width: 100%; transform-origin: left top; position: relative; overflow: hidden; aspect-ratio: 1; background: var(--neutral-warm-ivory); }
/* The desktop scroll pause keeps the complete composition inside the viewport. */
.home-about__image { width: 100%; height: 110%; position: absolute; top: -5%; object-fit: cover; object-position: 65% 65%; }
.home-about:not(:has(.home-about__media)) { grid-template-columns: 1fr; }
.home-about:not(:has(.home-about__media)) .home-about__copy { max-width: 55rem; padding-block: 0; }
/* No stage pin: chapters retain their own space and the visual follows the page. */
.home-learn { background: var(--neutral-white); color: var(--brand-navy); }
.home-learn__intro { min-height: 65svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(6rem, 8vw, 10rem) var(--page-gutter); }
.home-learn__intro .section-label { margin-bottom: 1.5rem; }
.home-learn__intro .section-heading { max-width: 23ch; font-size: clamp(3rem, 5vw, 6rem); line-height: 1.14; letter-spacing: -.035em; }
.training-stack { padding-bottom: clamp(4rem, 7vw, 8rem); }
.training-visual { display: none; }
.training-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 36rem; border-top: 1px solid rgb(21 37 48 / .16); }
.training-panel__media { overflow: hidden; background: var(--neutral-warm-ivory); }
.training-panel__image { width: 100%; height: 100%; object-fit: cover; }
.training-panel__copy { min-width: 0; align-self: center; padding: clamp(3rem, 5vw, 6rem); }
.training-panel__number { display: block; color: #526a7b; font-size: .875rem; font-variant-numeric: tabular-nums; margin-bottom: 2rem; }
.training-panel__title { max-width: 20ch; font-family: var(--font-heading); font-size: clamp(2rem, 2.7vw, 3.25rem); font-weight: 400; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.training-panel__text { max-width: 41ch; margin-top: 2rem; font-size: clamp(1.125rem, 1.25vw, 1.5rem); line-height: 1.55; text-wrap: pretty; }
.training-panel__action { margin-top: 2rem; }
.training-stack--motion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; padding-inline: var(--page-gutter); }
.training-stack--motion .training-visual { display: block; position: sticky; top: calc(var(--admin-bar-height, 0px) + 17svh); height: 66svh; align-self: start; overflow: hidden; background: var(--neutral-warm-ivory); }
.training-visual__frame { position: absolute; inset: 0; }
.training-visual__frame img { width: 100%; height: 100%; object-fit: cover; }
.training-stack--motion .training-panel { display: flex; min-height: 78svh; }
.training-stack--motion .training-panel__media { display: none; }
.training-stack--motion .training-panel__copy { padding: 5svh clamp(1rem, 3vw, 3.5rem) 5svh 0; }
.training-stack--motion .training-panel__copy:focus-within { opacity: 1 !important; }

/* The native book takes centre stage between its title and saved introduction. */
.home-book { position: relative; isolation: isolate; padding: clamp(4rem, 8svh, 6rem) var(--page-gutter) 4rem; min-height: 100svh; background: var(--neutral-white); color: var(--brand-navy); }
.home-book__masthead { grid-column: 1 / 4; min-width: 0; text-align: left; }
.home-book .section-label { margin-bottom: 1.5rem; }
.home-book__title { font-family: var(--font-heading); font-size: var(--section-display-size); font-weight: 600; letter-spacing: -.03em; line-height: var(--display-leading); text-wrap: balance; max-width: 12ch; margin: 0; }
.home-book__artwork { grid-column: 4 / 10; position: relative; align-self: stretch; display: grid; place-items: center; width: 100%; margin: 0; min-width: 0; }
.home-book__stage { display: flow-root; }
.home-book__composition { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.25rem, 2vw, 2.5rem); align-items: center; min-height: max(32rem, calc(100svh - 10rem)); }
.home-book__stage--linger { height: calc(var(--book-stage-height) + var(--book-footer-height, 0px) + 4rem); margin-bottom: calc(-1 * (var(--book-footer-height, 0px) + 4rem)); }
.home-book__stage--linger .home-book__composition { position: sticky; top: var(--book-hold-top); }
.home-book__stage--linger .home-book__artwork { overflow: clip; }
.home-book__visual { width: min(39svh, 24rem, 100%); }
.book-cover-study { position: relative; width: 100%; aspect-ratio: 491 / 632; container-type: inline-size; overflow: hidden; border-radius: 2px 5px 5px 2px; box-shadow: 18px 24px 34px rgb(21 37 48 / .18); }
.book-cover-study > img { position: absolute; max-width: none; width: 325.87%; height: auto; top: -35.6%; left: -140.94%; display: block; }
.book-cover-study__type { position: absolute; inset: 8% 7% 9% 8%; display: flex; flex-direction: column; justify-content: space-between; color: var(--brand-navy, #152530); }
.book-cover-study__title { font-family: var(--font-serif, Georgia, serif); font-size: 12cqw; line-height: 1.15; letter-spacing: -.035em; }
.book-cover-study__author { font-family: var(--font-body, sans-serif); font-size: 3.7cqw; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.home-book__preview-image, .home-book__product-image { display: block; width: 100%; height: auto; max-height: 60svh; object-fit: contain; }
.home-book__visual > :is(.home-book__preview-image, .home-book__product-image) { filter: drop-shadow(12px 18px 18px rgb(21 37 48 / .2)); border-radius: 1px 3px 3px 1px; }
.home-book__summary { grid-column: 10 / -1; min-width: 0; width: 100%; max-width: 32rem; border-top: 1px solid color-mix(in srgb, var(--brand-navy) 24%, transparent); padding-top: 1.5rem; text-align: left; }
.home-book__details { display: grid; justify-items: start; gap: 2rem; }
.home-book__text { margin: 0; max-width: 48ch; font-size: clamp(1rem, 1.05vw, 1.125rem); line-height: 1.6; text-wrap: pretty; }
.home-book__purchase { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.home-book__price { font-size: var(--body-base-size); }
.home-book--text .home-book__masthead { grid-column: 1 / 7; }
.home-book--text .home-book__summary { grid-column: 8 / -1; }
.site-footer { background: var(--brand-navy); color: var(--neutral-white); padding: clamp(4rem, 6.875vw, 8.25rem) var(--page-gutter) 2rem; }
/* Shared footer reveal: the preceding section remains behind the expanding panel. */
.footer-underlay { position: relative; isolation: isolate; }
.footer-scroll-space::after { content: ''; display: block; block-size: var(--footer-reveal-height, 0px); pointer-events: none; }
.footer-underlay--sticky { position: sticky; top: min(0px, calc(100svh - var(--footer-underlay-height, 100svh))); }
.site-footer--native-overlap { margin-top: calc(-1 * var(--footer-reveal-height, 0px)); }
.footer-underlay::before { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--brand-navy); opacity: var(--footer-dim, 0); pointer-events: none; }
/* Keep a reading interval after the final action, on the section's own surface. */
.footer-underlay::after { content: ''; display: block; grid-column: 1 / -1; block-size: clamp(8rem, 32svh, 24rem); pointer-events: none; }
/* The book has its own reading hold. Extend that same sticky composition
   through the footer instead of releasing it and moving its parent again. */
.home-book.footer-underlay::after { display: none; }
/* Contact already has clearance below its content; no empty grid row is needed.
   Keep focused inputs in natural flow for browser keyboard/focus scrolling. */
.footer-underlay--contact::after { display: none; }
.footer-underlay--contact:focus-within { position: relative; top: auto; }
.footer-underlay--contact:focus-within::before { opacity: 0; }
.site-footer--takeover { --footer-edge-space: clamp(16px, 2.1vw, 40px); position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; padding-inline: calc(var(--page-gutter) + var(--footer-edge-space)); clip-path: inset(0 var(--footer-inset, 0px) 0 round var(--footer-radius, 24px) var(--footer-radius, 24px) 0 0); }
.site-footer--takeover .site-footer__legal { margin-top: auto; padding-top: clamp(4rem, 5.15625vw, 6.1875rem); }
.site-footer__contact { display: grid; grid-template-columns: 42% 36% 22%; align-items: start; gap: 0; }
/* Fit the uppercase CONVERSATION inside its column before motion masks are measured. */
.site-footer__heading { max-width: 44rem; font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, var(--footer-display-size)); font-weight: 400; letter-spacing: -.03125rem; line-height: 1.1; text-wrap: balance; }
.site-footer__contact-copy { max-width: 27.625rem; padding-top: clamp(1rem, 2.395833vw, 2.875rem); font-size: var(--body-base-size); line-height: var(--body-base-line-height); }
.site-footer__action { justify-self: center; padding-top: clamp(1rem, 2.395833vw, 2.875rem); }
.site-footer__divider { width: 100%; height: 1px; overflow: hidden; margin-top: clamp(3rem, 5.46875vw, 6.5625rem); }
.site-footer__divider img { width: 100%; height: auto; }
.site-footer.site-footer--compact { min-height: 0; padding-top: clamp(1.5rem, 2vw, 2.5rem); }
.site-footer--compact .site-footer__divider { margin-top: 0; }
.site-footer--compact .site-footer__identity { padding-top: clamp(2rem, 4vw, 4rem); }
.site-footer__identity { display: grid; grid-template-columns: 1fr auto auto; align-items: start; column-gap: clamp(3rem, 8.75vw, 10.5rem); padding-top: clamp(4rem, 9.895833vw, 11.875rem); }
.site-footer__logo { display: block; width: clamp(22rem, 37.96875vw, var(--hero-logo-width)); max-width: 100%; }
.site-footer__logo img { width: 100%; height: auto; }
.site-footer__links { display: flex; flex-direction: column; align-items: start; gap: .625rem; font-size: var(--body-small-size); line-height: 1.5; letter-spacing: .04em; }
.site-footer__links h3 { font-family: var(--font-body); font-size: var(--body-small-size); font-weight: 600; margin: 0 0 .75rem; }
.site-footer__links a, .site-footer__links > span { color: color-mix(in srgb, var(--neutral-white) 70%, var(--brand-navy)); text-decoration: none; }
.site-footer__links a { transition: color .2s ease; }
.site-footer__links a > span { position: relative; }
.site-footer__links a > span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.2em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.site-footer__links a:is(:focus-visible, [aria-current="page"]) { color: var(--neutral-white); }
.site-footer__links a:is(:focus-visible, [aria-current="page"]) > span::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .site-footer__links a:hover { color: var(--neutral-white); }
  .site-footer__links a:hover > span::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__links a, .site-footer__links a > span::after { transition: none; }
}
.site-footer__legal { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--body-xsmall-size); font-weight: 600; letter-spacing: .04em; margin-top: clamp(4rem, 5.15625vw, 6.1875rem); }
.site-footer__legal a { text-decoration: none; }
.site-footer [aria-disabled] { cursor: not-allowed; }
.site-footer :focus-visible { outline-color: var(--neutral-warm-ivory); }
@media (max-width: 1000px) {
  .home-about { gap: 2.5rem; }
  .home-about .section-heading { font-size: clamp(2.5rem, 5.5vw, 3.5rem); }
  .section-body { font-size: 1rem; line-height: 1.6; }
  .training-panel { min-height: 30rem; }
  .training-panel__copy { padding: 2.5rem; }
  .home-book__details { grid-template-columns: 1fr; gap: 1.25rem; }
  .home-book__masthead { grid-column: 1 / 5; grid-row: 1; }
  .home-book__artwork { grid-column: 5 / -1; grid-row: 1 / span 2; }
  .home-book__summary { grid-column: 1 / 5; grid-row: 2; }
  .home-book__composition { row-gap: 2rem; }
  .site-footer__contact { grid-template-columns: 1.2fr 1fr; gap: 2rem; }
  .site-footer__action { grid-column: 2; justify-self: start; padding-top: 0; }
  .site-footer__identity { column-gap: 3rem; }
}
@media (min-width: 1001px) and (max-height: 800px) {
  .home-book .section-label { margin-bottom: 1rem; }
  .home-book__title { font-size: clamp(2.5rem, 4vw, 4.5rem); }
  .home-book__details { gap: 1.5rem; }
}
@media (max-width: 700px) {
  .section-heading { font-size: clamp(1.875rem, 7.8vw, 2.5rem); }
  .home-quote { grid-template-columns: 1fr; padding-block: 5rem; }
  .home-quote__mark { font-size: 6rem; line-height: .9; }
  .home-quote__text { font-size: clamp(2.125rem, 9vw, 3.5rem); line-height: 1.35; text-wrap: pretty; }
  .home-quote__author { margin-top: 2.5rem; font-size: 1rem; }
  .home-about { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 6rem 4rem; }
  .home-about__copy { padding-block: 0; }
  .home-about .section-heading { font-size: clamp(2.25rem, 9.5vw, 3rem); }
  .home-about .section-label { margin-bottom: 1rem; }
  .home-about__action { margin-top: 2rem; }
  .home-about__visual { max-width: 28rem; }
  .home-about__media { aspect-ratio: 4 / 5; }
  .home-learn__intro { min-height: 60svh; padding-block: 6rem; }
  .home-learn__intro .section-heading { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .training-panel { min-height: 0; grid-template-columns: 1fr; }
  .training-panel__media { min-height: 0; aspect-ratio: 4 / 3; }
  .training-panel__copy { padding: 2.5rem var(--page-gutter) 4rem; }
  .training-panel__title { font-size: 1.875rem; }
  .training-panel__text { font-size: 1.125rem; }
  .home-book { padding-block: 4rem 3rem; }
  .home-book__composition { grid-template-columns: 1fr; min-height: 0; gap: 1.5rem; }
  .home-book__masthead, .home-book--text .home-book__masthead { grid-column: 1; grid-row: 1; }
  .home-book .section-label { margin-bottom: 1rem; }
  .home-book__title { font-size: clamp(2.25rem, 8.5vw, 3rem); max-width: none; line-height: 1.12; }
  .home-book__artwork { grid-column: 1; grid-row: 2; padding-block: 2rem; min-height: 0; }
  .home-book__visual { width: min(13.25rem, 32svh, 66vw); }
  .home-book__visual > :is(.home-book__preview-image, .home-book__product-image) { max-height: none; }
  .home-book__summary, .home-book--text .home-book__summary { grid-column: 1; grid-row: 3; max-width: none; padding-top: 1.5rem; }
  .home-book--text .home-book__summary { grid-row: 2; }
  .home-book__text { font-size: 1rem; }
  .home-book__details { gap: 1.5rem; }
  .site-footer { padding-top: 4rem; }
  .site-footer__contact { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer__heading { max-width: 21rem; font-size: clamp(1.25rem, 7.7vw, 2.125rem); line-height: 1.1; text-wrap: initial; }
  .site-footer__contact-copy { padding-top: 0; font-size: 1rem; line-height: 1.6; }
  .site-footer__action { grid-column: auto; }
  .site-footer__identity { grid-template-columns: 1fr 1fr; gap: 3rem 1rem; padding-top: 3.5rem; }
  .site-footer__logo { grid-column: 1 / -1; width: 100%; max-width: 26.25rem; }
  .site-footer__legal { flex-wrap: wrap; font-size: .75rem; margin-top: 3rem; }
  .site-footer__legal p { flex-basis: 100%; margin-top: 1rem; }
}

/* Footer navigation remains easy to tap on every page. */
@media (max-width: 800px) {
  .site-footer__links { gap: 0; }
  .site-footer__links h3 { margin-bottom: .5rem; }
  .site-footer__links a { display: inline-flex; align-items: center; min-height: 36px; }
  .site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer--takeover { min-height: 0; }
  .site-footer--takeover .site-footer__legal { margin-top: 2rem; padding-top: 0; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .training-panel__media { position: relative; }
  .training-panel__media > .training-panel__image { position: absolute; top: -10%; left: 0; height: 120%; }
}
