/* Dondi Hopkins — site styles
   One stylesheet for every page. Plain CSS, no build step.
   Grounds: bone (#F2F1EE) and navy (#010028). Yellow (#DFDC1F) is used on navy only. */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --surface: var(--bone);
  --navy: #010028;
  --navy-2: #13124d;
  --navy-3: #2a2970;
  --bone: #f2f1ee;
  --bone-2: #e6e4de;
  --bone-3: #d8d5cc;
  --ink: #010028;
  --muted: #46455d;
  --yellow: #dfdc1f;
  --yellow-hover: #ecea6b;
  --on-navy: #f2f1ee;
  --on-navy-muted: #bdbccc;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --m: clamp(20px, 2.23vw, 32px);
  --gutter: clamp(16px, 1.67vw, 24px);
  --section: clamp(96px, 10.5vw, 160px);
  --header-h: 76px;

  /* type scale: nine steps at most on any page */
  --fs-small: 0.9375rem;                                   /* 15 */
  --fs-body: 1.0625rem;                                    /* 17 */
  --fs-lead: clamp(1.125rem, 1rem + 0.35vw, 1.25rem);      /* 18 to 20 */
  --fs-h3: 1.5rem;                                         /* 24 */
  --fs-statement: clamp(1.5rem, 1rem + 1.25vw, 2.125rem);  /* 24 to 34 */
  --fs-h2: clamp(1.875rem, 1.25rem + 1.53vw, 2.625rem);    /* 30 to 42 */
  --fs-name: clamp(2.75rem, 5.4vw, 5rem);                  /* 44 to 80 */
  --fs-display: clamp(3.25rem, 9vw, 9rem);                 /* 52 to 144 */
  /* the window width without a classic scrollbar; site.js measures --sbw */
  --vw: calc(100vw - var(--sbw, 0px));
  --monument: min(290px, calc((var(--vw) - 2 * var(--m)) / 5.72));
  --hero-cap: var(--monument);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 260ms;
}
@media (max-width: 767px) {
  :root { --header-h: 64px; --hero-cap: 30vw; --section: 56px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; z-index: 100; left: var(--m); top: -80px;
  padding: 12px 18px; background: var(--yellow); color: var(--navy);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.name {
  font-family: var(--serif);
  font-size: var(--fs-name);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement {
  font-family: var(--serif);
  font-size: var(--fs-statement);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--muted); }
.on-navy .muted, .section--navy .muted, .site-footer .muted { color: var(--on-navy-muted); }
.prose > * + * { margin-top: 1em; }
.prose p, .prose li { max-width: 64ch; text-wrap: pretty; }
.prose h3 { margin-top: 1.6em; }
.prose h3 + * { margin-top: 0.5em; }
.bullets { list-style: none; display: grid; gap: 0.5em; }
.bullets li { position: relative; padding-left: 1.2em; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.38em; height: 0.38em; background: currentColor;
}
.prose .bullets { margin-top: 0.8em; }

.link {
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-hover) ease;
}
.prose a:not(.btn) {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover, .prose a:not(.btn):hover { text-decoration-color: currentColor; }
}
.links-row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 0;
  font-family: var(--sans); font-size: var(--fs-body); font-weight: 600; line-height: 1.1;
  text-align: center; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--navy { background: var(--navy); color: var(--bone); }
.btn--paper { background: var(--bone); color: var(--navy); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--tone { background: var(--bone-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--navy:hover { background: var(--navy-3); }
  .btn--paper:hover { background: #fff; }
  .btn--yellow:hover { background: var(--yellow-hover); }
  .btn--tone:hover { background: var(--bone-3); }
}
.only-narrow { display: none; }
@media (max-width: 767px) {
  .btn { min-height: 48px; padding: 0 18px; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ---------- layout ---------- */
.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: var(--section); }
.section--navy { --surface: var(--navy); background: var(--navy); color: var(--on-navy); }
.section--tone { --surface: var(--bone-2); background: var(--bone-2); }
.section--flush-top { padding-top: 0; }
.section--navy + .section:not(.section--navy) { padding-top: calc(var(--section) * 0.7); }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__head > p { margin-top: 20px; max-width: 58ch; }
.section__head--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.section__head--split .h2 { grid-column: 1 / span 6; }
.section__head--split > p { grid-column: 7 / -1; margin-top: 0; }
.caption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }
.section--navy .caption, .on-navy .caption { color: var(--on-navy-muted); }
.caption a { color: inherit; }
@media (max-width: 1023px) {
  .section__head--split { display: block; }
  .section__head--split > p { margin-top: 20px; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  color: var(--on-navy);
  pointer-events: none;
  transition: transform 320ms var(--ease-out), background-color 240ms ease;
}
.site-header.is-solid { background-color: var(--navy); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__bar {
  height: var(--header-h); padding-inline: var(--m);
  display: flex; align-items: center; gap: 20px;
}
.site-header__bar > * { pointer-events: auto; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 54px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(18px, 2.1vw, 34px); list-style: none; }
.site-nav a {
  display: block; padding-block: 12px;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.01em;
  text-decoration: underline 2px transparent; text-underline-offset: 8px;
  transition: text-decoration-color var(--t-hover) ease;
}
.site-nav a[aria-current="page"] { text-decoration-color: var(--yellow); }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { text-decoration-color: currentColor; }
  .site-nav a[aria-current="page"]:hover { text-decoration-color: var(--yellow); }
}
.menu-toggle {
  display: none; background: none; border: 0; padding: 12px 4px;
  font-size: var(--fs-small); font-weight: 600;
  text-decoration: underline 2px; text-underline-offset: 6px;
}
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 767px) {
  .brand img { height: 42px; }
  .site-header__bar { gap: 14px; }
}

/* ---------- menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; overflow-y: auto;
  background: var(--navy); color: var(--on-navy);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__bar { height: var(--header-h); padding-inline: var(--m); display: flex; align-items: center; gap: 14px; flex: none; }
.menu__links { list-style: none; padding: 28px var(--m) 0; display: grid; gap: 2px; }
.menu__links a {
  display: inline-block; padding-block: 4px;
  font-family: var(--serif); font-size: var(--fs-name); line-height: 1.06; letter-spacing: -0.02em;
  text-decoration: none;
}
.menu__links a[aria-current="page"] { color: var(--yellow); }
.menu__foot { margin-top: auto; padding: 40px var(--m) 40px; display: grid; gap: 6px; font-size: var(--fs-body); }
.menu__foot a { text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .menu__links li { opacity: 0; transform: translateY(18px); transition: opacity 360ms var(--ease-out), transform 520ms var(--ease-expo); }
  .menu.is-open .menu__links li { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i, 0) * 50ms); }
}

/* ---------- hero ---------- */
.hero {
  --hero-em: 5.72;
  /* --fit is set by site.js when a browser draws the title wider than planned */
  --hero-size: calc(min(var(--hero-cap), calc((var(--vw) - 2 * var(--m)) / var(--hero-em))) * var(--fit, 1));
  --title-drop: calc(var(--hero-size) * 0.1);
  position: relative; isolation: isolate; overflow: clip;
  height: 100svh; min-height: 600px; max-height: 1300px;
  background: #16161c; color: var(--on-navy);
}
.hero--inner { height: 88svh; min-height: 560px; }
.hero--flat { --title-drop: calc(var(--hero-size) * -0.02); }
/* g, p and y drop 0.26em below the baseline; this keeps the whole letter above the photo's edge */
.hero--descends { --title-drop: calc(var(--hero-size) * 0.2); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media > img, .hero__media > video, .hero__media > picture, .hero__media > picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media > img, .hero__media > picture > img { object-position: var(--pos, 50% 50%); }
@media (max-width: 767px) { .hero__media > img, .hero__media > picture > img { object-position: var(--pos-narrow, var(--pos, 50% 50%)); } }
.hero__media::before, .hero__media::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero__media::before { top: 0; height: 200px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0)); } /* taste-skill-ignore: neutral scrim over a photo */
.hero__media::after { bottom: 0; height: 56%; background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.44) 46%, rgba(0, 0, 0, 0) 100%); } /* taste-skill-ignore: neutral scrim over a photo */
.hero__content {
  position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: var(--title-drop);
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 28px; align-items: end;
}
.hero__lead {
  grid-area: 1 / 1; max-width: 40ch; margin-bottom: clamp(18px, 2vw, 30px);
  font-size: var(--fs-lead); font-weight: 500; line-height: 1.4; text-wrap: balance;
}
.hero__film { grid-area: 1 / 2; align-self: start; margin-bottom: clamp(18px, 2vw, 30px); }
.hero__actions { grid-area: 1 / 3; justify-self: end; align-self: start; margin-bottom: clamp(18px, 2vw, 30px); display: flex; align-items: center; gap: 24px; }
.hero__title {
  grid-area: 2 / 1 / 3 / 4;
  font-family: var(--serif); font-weight: 500; font-size: var(--hero-size);
  line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap;
  margin-left: -0.035em;
  /* the display cut of Source Serif; Safari otherwise draws the wider text cut */
  font-variation-settings: "opsz" 60;
}
.hero__film {
  background: none; border: 0; padding: 12px 2px; color: inherit;
  font-size: var(--fs-small); font-weight: 600;
  text-decoration: underline 2px; text-underline-offset: 6px;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .hero__film:hover { text-decoration-color: currentColor; } }

/* title beside its sentence, for short page names */
.hero--side .hero__content { grid-template-columns: auto minmax(0, 1fr); }
.hero--side .hero__title { grid-area: 1 / 1; }
.hero--side .hero__aside {
  grid-area: 1 / 2; justify-self: end; max-width: 30rem;
  margin-bottom: calc(var(--hero-size) * 0.16 + 6px);
  display: grid; gap: 22px; justify-items: start;
}
.hero--side .hero__lead, .hero--side .hero__actions { margin: 0; grid-area: auto; justify-self: start; }
@media (min-width: 768px) { .hero--side .hero__content { padding-top: calc(var(--hero-size) * 0.32); } }

/* masked lines */
/* the mask has room for descenders (0.26em) and for letters that overhang their box,
   and it only clips while the line slides in; site.js adds .is-open when it lands */
.line { display: block; padding: 0.04em 0.08em 0.2em; margin: -0.04em -0.08em -0.2em; }
@media (prefers-reduced-motion: no-preference) { .js .line:not(.is-open) { overflow: clip; } }
.line > [data-line] { display: block; }
.hero--home .hero__title .line { display: inline-block; vertical-align: bottom; }
.hero--rel .hero__title .line:nth-child(-n+2) { display: inline-block; vertical-align: bottom; }
/* wide screens: the bridge's white truss sits behind the sentence, so the left side is shaded too */
@media (min-width: 1024px) {
  .hero--rel .hero__media::before { height: 100%; background: linear-gradient(to right, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 30%, rgba(0, 0, 0, 0) 56%), linear-gradient(to bottom, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0) 200px); } /* taste-skill-ignore: neutral scrim over a photo */
  /* About: a cream chair sits behind the sentence; the shade stops before Dondi's raised hand */
  .hero--about .hero__media::before { height: 100%; background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.52) 28%, rgba(0, 0, 0, 0) 41%), linear-gradient(to bottom, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0) 200px); } /* taste-skill-ignore: neutral scrim over a photo */
}

/* phones: button top right, sentence above the name */
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero--inner { height: 80svh; min-height: 520px; }
  .hero--home { --hero-em: 3.3; }
  .hero--home .hero__title .line { display: block; }
  .hero__content { top: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto; column-gap: 16px; }
  .hero__actions { grid-area: 1 / 1 / 2 / 3; justify-self: end; margin: calc((var(--header-h) - 48px) / 2) 0 0; }
  .hero__lead { grid-area: 3 / 1; max-width: 26ch; margin-bottom: 16px; }
  .hero__film { grid-area: 3 / 2; align-self: end; margin-bottom: 8px; }
  .hero__title { grid-area: 4 / 1 / 5 / 3; }
  .hero--side .hero__content { grid-template-columns: minmax(0, 1fr) auto; }
  .hero--side .hero__aside { display: contents; }
  .hero--side .hero__title { grid-area: 4 / 1 / 5 / 3; }
  .hero--side .hero__lead { grid-area: 3 / 1 / 4 / 3; margin-bottom: 16px; }
  .hero--side .hero__actions { grid-area: 1 / 1 / 2 / 3; justify-self: end; margin: calc((var(--header-h) - 48px) / 2) 0 0; }
}

/* portrait photo (Calendar): landscape screens give the photo a panel on the right and set the
   name and sentence on a navy field beside it; phones and portrait tablets keep it full-bleed */
@media (min-width: 768px) and (orientation: landscape) {
  .hero--portrait {
    --photo-w: 42%;
    --photo-gap: clamp(32px, 4vw, 64px);
    --hero-size: calc(min(var(--hero-cap), calc((var(--vw) * 0.58 - var(--m) - var(--photo-gap)) / var(--hero-em))) * var(--fit, 1));
    background: var(--navy);
  }
  .hero--portrait .hero__media { left: auto; width: var(--photo-w); }
  .hero--portrait .hero__media > img { object-position: var(--pos-split, 50% 20%); }
  .hero--portrait .hero__media::after { display: none; }
  .hero--portrait .hero__content { right: calc(var(--photo-w) + var(--photo-gap)); grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .hero--portrait .hero__aside { grid-area: 1 / 1; justify-self: start; margin-bottom: clamp(28px, 3.4vw, 48px); }
  .hero--portrait .hero__title { grid-area: 2 / 1; }
}

/* navy field hero (Book Shelf, 404) */
.hero--field { background: var(--navy); }
.hero--field .hero__media::before, .hero--field .hero__media::after { display: none; }
.shelf {
  position: absolute; z-index: 1; left: var(--m); right: var(--m);
  top: calc(var(--header-h) + clamp(24px, 4vh, 56px));
  bottom: calc(var(--hero-size) * 1.02 + var(--title-drop) + clamp(96px, 12vh, 140px));
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 52px);
}
.shelf a { display: block; height: 100%; transition: transform var(--t-ui) var(--ease-out); }
.shelf img { height: 100%; width: auto; max-width: none; }
@media (hover: hover) and (pointer: fine) { .shelf a:hover { transform: translateY(-8px); } }
@media (max-width: 767px) {
  .shelf { bottom: calc(var(--hero-size) * 1.02 + var(--title-drop) + 150px); gap: 10px; }
}

/* article hero */
.hero--article { height: 74svh; min-height: 520px; }
.hero--article .hero__content { bottom: clamp(36px, 5vw, 64px); grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.hero--article .hero__title {
  grid-area: 2 / 1 / 3 / 11; white-space: normal; font-size: var(--fs-name);
  line-height: 1.02; letter-spacing: -0.03em; margin-left: -0.02em; text-wrap: balance;
  font-variation-settings: normal;
}
.hero--article .hero__meta { grid-area: 1 / 1 / 2 / 13; margin-bottom: 20px; font-size: var(--fs-body); font-weight: 600; }
.hero--article .hero__meta a { text-decoration: none; }
.hero--article .hero__meta a:hover { text-decoration: underline 2px; text-underline-offset: 5px; }
@media (max-width: 767px) {
  .hero--article { height: 70svh; }
  .hero--article .hero__content { top: auto; grid-template-rows: auto auto; }
  .hero--article .hero__title { grid-area: 2 / 1 / 3 / 13; }
}

/* ---------- load and reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(125%); animation: line-up 1000ms var(--ease-expo) forwards; animation-delay: calc(160ms + var(--i, 0) * 110ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 700ms var(--ease-out) forwards; animation-delay: var(--d, 560ms); }
  .js .shelf a { opacity: 0; transform: translateY(28px); animation: rise 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i, 0) * 120ms); }

  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .rise-lines [data-line] { transform: translateY(125%); transition: transform 1000ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .rise-lines.is-in [data-line] { transform: none; }

  .js .hero__media > img, .js .hero__media > picture > img { animation: settle 2600ms var(--ease-out) both; }

  /* contain: paint keeps the cover inside its own box, even if a layout rule sets the box back to position: static */
  .js .shutter { overflow: clip; contain: paint; }
  :where(.js .shutter) { position: relative; }
  .js .shutter::after {
    content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: var(--surface); transform-origin: 50% 100%; transition: transform 1100ms var(--ease-in-out);
  }
  .js .shutter.is-in::after { transform: scaleY(0); }
  /* the zoom uses the scale property, so it composes with any transform an image already has */
  .js .shutter img { scale: 1.06; transition: scale 1500ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .shutter.is-in img { scale: 1; }
  .js .showcase__plate.shutter img { transition: scale 1500ms var(--ease-out), opacity 500ms var(--ease-out), transform 700ms var(--ease-expo); }
}
@keyframes line-up { to { transform: none; } }
@keyframes settle { from { transform: scale(1.05); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes swap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- home: intro ---------- */
.intro__text { grid-column: 1 / span 5; align-self: start; }
.intro__text .h2 { margin-bottom: 28px; }
.intro__text .first { font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; }
.intro__text .prose { max-width: 34rem; }
.intro__photo { grid-column: 7 / -1; align-self: start; }
.intro__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 1023px) {
  .intro__text { grid-column: 1 / -1; }
  .intro__photo { grid-column: 1 / -1; margin-top: 48px; }
}

/* ---------- home: features ---------- */
.features { position: relative; }
.features .section__head { margin-bottom: clamp(36px, 4vw, 56px); }
.features__grid { row-gap: 40px; align-items: start; }
.features__group:nth-of-type(n) { grid-column: span 4; }
.features__group .h3 { margin-bottom: 14px; }
.features__list { list-style: none; display: grid; justify-items: start; }
.cap {
  display: block; max-width: 100%; padding: 6px 0; border: 0; background: none; text-align: left;
  font-size: var(--fs-body); line-height: 1.4; color: var(--muted);
  transition: color var(--t-hover) ease;
}
.cap.is-on, .cap:focus-visible { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cap:hover { color: var(--ink); } }
.features__sum { display: none; margin-top: 14px; }
.features__more { margin-top: 32px; }
/* the bubble beside the line being read; site.js places it and flips it to stay on screen */
.tip {
  --arrow: 24px;
  position: absolute; z-index: 5; left: 0; top: 0;
  width: max-content; max-width: min(19rem, calc(var(--vw) - 24px));
  padding: 14px 18px 16px;
  background: var(--navy); color: var(--on-navy);
  pointer-events: none;
}
.tip[hidden] { display: none; }
.tip::before { content: ""; position: absolute; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.tip[data-side="right"]::before { left: -6px; top: calc(var(--arrow) - 6px); }
.tip[data-side="left"]::before { right: -6px; top: calc(var(--arrow) - 6px); }
.tip[data-side="bottom"]::before { top: -6px; left: calc(var(--arrow) - 6px); }
.tip[data-side="top"]::before { bottom: -6px; left: calc(var(--arrow) - 6px); }
.tip__title { font-family: var(--serif); font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.tip__text { margin-top: 6px; font-size: var(--fs-small); line-height: 1.5; }
.tip[data-side="right"] { --tx: -6px; }
.tip[data-side="left"] { --tx: 6px; }
.tip[data-side="bottom"] { --ty: -6px; }
.tip[data-side="top"] { --ty: 6px; }
.tip.is-in { animation: tip-in 200ms var(--ease-out); }
@keyframes tip-in { from { opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)); } }
@media (prefers-reduced-motion: reduce) { .tip.is-in { animation: none; } }
@media (max-width: 767px) {
  .features__group:nth-of-type(n) { grid-column: 1 / -1; }
  .features__list { display: none; }
  .features__sum { display: block; }
  .features__hint, .tip { display: none; }
}

/* ---------- home: training series lineup ---------- */
.lineup { margin-top: clamp(40px, 5vw, 64px); }
.lineup th, .lineup td { padding: 0.55em 12px 0.55em 0; font-size: var(--fs-lead); line-height: 1.35; text-align: left; vertical-align: baseline; font-weight: 400; }
.lineup td:first-child { width: 36%; font-weight: 600; }
.lineup td:nth-child(2) { width: 38%; }
.lineup td:nth-child(3) { width: 14%; }
.lineup td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.lineup .lineup__group th {
  position: sticky; top: 0; z-index: 1; background: var(--navy);
  padding-top: 1.4em; padding-bottom: 0.4em; color: var(--yellow); font-weight: 600;
}
.lineup tbody:first-of-type .lineup__group th { padding-top: 0.2em; }
.lineup__links { margin-top: clamp(40px, 5vw, 56px); }
.lineup__links .link { color: var(--yellow); }
@media (max-width: 767px) {
  .lineup, .lineup tbody, .lineup tr, .lineup th, .lineup td { display: block; width: auto !important; }
  .lineup tr:not(.lineup__group) { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; }
  .lineup td { padding: 0; }
  .lineup td:first-child { grid-column: 1 / -1; font-size: var(--fs-h3); font-family: var(--serif); line-height: 1.25; }
  .lineup td:nth-child(2) { grid-column: 1 / -1; font-size: var(--fs-body); margin-top: 2px; }
  .lineup td:nth-child(3), .lineup td:nth-child(4) { font-size: var(--fs-small); color: var(--on-navy-muted); margin-top: 4px; }
  .lineup td:nth-child(4) { text-align: right; }
}

/* ---------- home: Core Nine scoreboard ---------- */
.board-intro { grid-column: 1 / span 5; }
.board-intro .h2 { margin-bottom: 24px; }
.board-intro p + p { margin-top: 1em; }
.board-intro figure { margin-top: 40px; }
.board { grid-column: 7 / -1; }
.board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; }
.board__head + .board__list { margin-top: 0; }
.board__list + .board__head { margin-top: 40px; }
.board__score { font-weight: 600; font-variant-numeric: tabular-nums; }
.board__date { color: var(--muted); font-size: var(--fs-small); }
.board__list { list-style: none; display: grid; gap: 2px; }
.habit {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 16px; align-items: start;
  padding: 14px 16px; background: var(--bone-2); cursor: pointer;
  transition: background-color var(--t-hover) ease;
}
.habit--count { cursor: default; }
@media (hover: hover) and (pointer: fine) { label.habit:hover { background: var(--bone-3); } }
.habit input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 26px; height: 26px;
  background: var(--bone); border: 2px solid var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: background-color var(--t-hover) ease;
}
.habit input[type="checkbox"]::after {
  content: ""; width: 12px; height: 7px; border-left: 3px solid var(--bone); border-bottom: 3px solid var(--bone);
  opacity: 0; transform: translateY(-2px) rotate(-45deg) scale(0.6); transition: transform 220ms var(--ease-out), opacity 160ms ease;
}
.habit input[type="checkbox"]:checked { background: var(--ink); }
.habit input[type="checkbox"]:checked::after { opacity: 1; transform: translateY(-2px) rotate(-45deg) scale(1); }
.habit input[type="checkbox"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.habit__box { width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--ink); background: var(--bone); display: grid; place-items: center; transition: background-color var(--t-hover) ease; }
.habit__box::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--bone); border-bottom: 3px solid var(--bone); opacity: 0; transform: translateY(-2px) rotate(-45deg) scale(0.6); transition: transform 220ms var(--ease-out), opacity 160ms ease; }
.habit.is-done .habit__box { background: var(--ink); }
.habit.is-done .habit__box::after { opacity: 1; transform: translateY(-2px) rotate(-45deg) scale(1); }
.habit__text { display: grid; gap: 2px; }
.habit__name { font-weight: 600; line-height: 1.3; }
.habit__note { font-size: var(--fs-small); line-height: 1.45; }
.habit__tag { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
.habit.is-done .habit__name { text-decoration: line-through 2px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }
.counter { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-left: 44px; font-variant-numeric: tabular-nums; }
.counter button {
  width: 44px; height: 40px; border: 0; background: var(--ink); color: var(--bone);
  font-size: var(--fs-lead); font-weight: 600; line-height: 1;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.counter button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .counter button:hover { background: var(--navy-3); } }
.counter output { min-width: 2.2ch; text-align: right; font-weight: 600; font-size: var(--fs-lead); }
.counter__of { color: var(--muted); }
.counter__icon { display: none; }
.counter .bump.is-bump { animation: bump 280ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); } }
.week { margin-top: 40px; }
.week__days { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.week__day { display: grid; gap: 6px; justify-items: center; font-size: var(--fs-small); }
.week__bar { position: relative; width: 100%; height: 72px; background: var(--bone-2); overflow: hidden; }
.week__bar span { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v, 0) * 100%); background: var(--ink); transition: height 500ms var(--ease-out); }
.week__day.is-today .week__label { font-weight: 700; text-decoration: underline 2px; text-underline-offset: 4px; }
.week__n { font-variant-numeric: tabular-nums; color: var(--muted); }
.board__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: var(--fs-small); color: var(--muted); }
.board__clear { background: none; border: 0; padding: 0; color: var(--ink); font-size: var(--fs-small); font-weight: 600; text-decoration: underline 2px; text-underline-offset: 4px; }
@media (max-width: 1023px) {
  .board-intro, .board { grid-column: 1 / -1; }
  .board { margin-top: 48px; }
}

/* ---------- home: book showcase ---------- */
.showcase__split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: stretch; }
.showcase__plate { grid-column: 1 / span 6; position: relative; aspect-ratio: 1; background: var(--bone-2); overflow: hidden; }
.showcase__plate img {
  position: absolute; left: 50%; top: 50%; height: 74%; width: auto; max-width: none;
  transform: translate(-50%, -46%); opacity: 0;
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-expo);
}
.showcase__plate img.is-on, .no-js .showcase__plate img:first-child { opacity: 1; transform: translate(-50%, -50%); }
.showcase__body { grid-column: 8 / -1; display: flex; flex-direction: column; }
.showcase__body > .h2 { margin-bottom: 28px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.tabs [role="tab"] {
  background: none; border: 0; padding: 10px 0; color: var(--muted);
  font-size: var(--fs-body); font-weight: 600;
  text-decoration: underline 2px transparent; text-underline-offset: 8px;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); text-decoration-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .tabs [role="tab"]:hover { color: var(--ink); } }
.showcase__panels { margin-top: 36px; flex: 1; display: flex; flex-direction: column; }
.showcase__panel { display: flex; flex-direction: column; flex: 1; }
.showcase__panel[hidden] { display: none; }
.showcase__panel.is-swap { animation: swap-in 360ms var(--ease-out); }
.showcase__panel .statement { font-weight: 500; }
.showcase__sub { margin-top: 10px; font-size: var(--fs-body); font-style: italic; color: var(--muted); }
.showcase__panel .prose { margin-top: 22px; max-width: 34rem; }
.cells { margin-top: auto; padding-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cell {
  display: flex; align-items: center; min-height: 72px; padding: 14px 20px;
  font-weight: 600; text-decoration: none; line-height: 1.25;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.cell:active { transform: scale(0.985); }
.cell--ink { background: var(--navy); color: var(--bone); }
.cell--tone { background: var(--bone-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .cell--ink:hover { background: var(--navy-3); }
  .cell--tone:hover { background: var(--bone-3); }
}
.no-js .showcase__panel[hidden] { display: flex; }
@media (max-width: 1023px) {
  .showcase__plate { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .showcase__body { grid-column: 1 / -1; margin-top: 40px; }
  .showcase__body > .h2 { order: -1; }
}
@media (max-width: 767px) {
  .showcase__plate { aspect-ratio: 1; }
  .cells { grid-template-columns: 1fr; }
}

/* ---------- testimonial ---------- */
.voices { min-height: 100svh; display: flex; flex-direction: column; }
.voices__grid { flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gutter); row-gap: 56px; }
.voices__title { grid-column: 1 / -1; grid-row: 1; }
.voices__lead { grid-column: 3 / span 8; grid-row: 2; align-self: center; text-align: center; }
.voices__lead blockquote p { font-family: var(--serif); font-size: var(--fs-statement); line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.voices__lead figcaption { margin-top: 24px; }
.voices__corner { grid-column: 1 / span 4; grid-row: 3; align-self: end; }
.voices__corner + .voices__corner { grid-column: 9 / span 4; }
.voices__corner blockquote p { font-size: var(--fs-body); line-height: 1.55; }
.voices figcaption { margin-top: 14px; font-size: var(--fs-small); line-height: 1.45; }
.voices figcaption strong { display: block; font-size: var(--fs-body); font-weight: 600; }
.voices__more { grid-column: 1 / -1; grid-row: 4; text-align: center; }
@media (max-width: 1023px) {
  .voices__lead { grid-column: 1 / -1; }
  .voices__corner { grid-column: 1 / span 6; }
  .voices__corner + .voices__corner { grid-column: 7 / span 6; }
}
@media (max-width: 767px) {
  .voices { min-height: 0; }
  .voices__lead { text-align: left; }
  .voices__grid { row-gap: 48px; }
  .voices__title, .voices__lead, .voices__corner, .voices__corner + .voices__corner, .voices__more { grid-column: 1 / -1; grid-row: auto; }
  .voices__more { text-align: left; }
}

/* ---------- tables: recognition, career, rhythm ---------- */
.stepped { font-family: var(--serif); font-size: var(--fs-name); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.stepped span { display: block; }
.stepped span + span { padding-left: calc(2 * (100% + var(--gutter)) / 12); }
.ledger { margin-top: clamp(40px, 5vw, 72px); }
.ledger th, .ledger td { padding: 16px 14px; text-align: left; vertical-align: baseline; line-height: 1.4; }
.ledger thead th { padding-top: 0; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.ledger tbody tr:nth-child(odd) { background: var(--bone-2); }
.section--tone .ledger tbody tr:nth-child(odd) { background: var(--bone); }
.ledger tbody th { font-weight: 600; }
.ledger td:last-child, .ledger th:last-child { text-align: right; }
.ledger--left td:last-child, .ledger--left th:last-child { text-align: left; }
.ledger .year { width: 16%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger a { text-underline-offset: 0.2em; }
@media (max-width: 767px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: auto !important; text-align: left !important; }
  .ledger tr { padding: 14px 14px; }
  .ledger th, .ledger td { padding: 0; }
  .ledger td { margin-top: 2px; }
  .ledger td:last-child { color: var(--muted); font-size: var(--fs-small); }
  /* phones: a spaced list, not a stack of boxes */
  .ledger tbody tr, .section--tone .ledger tbody tr:nth-child(odd), .ledger tbody tr:nth-child(odd) { background: none; padding: 0; }
  .ledger tbody tr + tr { margin-top: 22px; }
}

/* ---------- CTA ---------- */
.cta { --cta-em: 6; min-height: min(88svh, 62vw); display: flex; flex-direction: column; padding-block: clamp(96px, 11vw, 160px) clamp(56px, 6vw, 88px); }
.cta__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95;
  font-size: calc(min(var(--fs-display), calc((var(--vw) - 2 * var(--m)) / var(--cta-em))) * var(--fit, 1));
  font-variation-settings: "opsz" 60;
}
.cta__row { margin-top: auto; padding-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: end; }
.cta__row p { grid-column: 1 / span 5; font-size: var(--fs-lead); line-height: 1.45; }
.cta__row .btn { grid-column: 10 / -1; justify-self: end; }
@media (max-width: 1023px) {
  .cta__row p { grid-column: 1 / span 7; }
  .cta__row .btn { grid-column: 8 / -1; justify-self: end; }
}
@media (max-width: 767px) {
  .cta { min-height: min(76svh, 150vw); }
  .cta__row p { grid-column: 1 / -1; }
  .cta__row .btn { grid-column: 1 / -1; justify-self: start; }
}
/* the last section before a closing CTA ends a little sooner, so the colour change does the spacing */
.section:has(+ .cta) { padding-bottom: calc(var(--section) * 0.6); }
/* a navy section before the CTA has no colour change, so it keeps its full spacing and a rule marks the turn */
.section--navy:has(+ .cta) { padding-bottom: var(--section); }
.section--navy + .cta { position: relative; }
.section--navy + .cta::before { content: ""; position: absolute; top: 0; left: var(--m); right: var(--m); height: 1px; background: var(--navy-3); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); overflow: clip; padding-top: clamp(96px, 11vw, 160px); }
.footer__top { row-gap: 56px; align-items: start; }
.footer__places { grid-column: 1 / span 6; list-style: none; display: grid; gap: 8px; }
.footer__places a, .footer__places span {
  font-family: var(--serif); font-size: var(--fs-statement); line-height: 1.2; color: var(--yellow);
  text-decoration: underline 2px transparent; text-underline-offset: 0.16em; overflow-wrap: anywhere;
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .footer__places a:hover { text-decoration-color: var(--yellow); } }
.footer__nav { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.footer__nav h2, .footer__affil h2 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; color: var(--on-navy-muted); margin-bottom: 14px; }
.footer__nav ul { list-style: none; display: grid; gap: 8px; }
.footer__nav a { font-size: var(--fs-small); text-decoration: underline 2px transparent; text-underline-offset: 5px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { text-decoration-color: currentColor; } }
.footer__affil { margin-top: clamp(72px, 8vw, 120px); }
.footer__logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 4vw, 64px); }
.footer__logos a { display: block; transition: opacity var(--t-hover) ease; }
.footer__logos img { height: clamp(44px, 4.4vw, 60px); width: auto; }
.footer__legal { margin-top: clamp(56px, 6vw, 88px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--fs-small); color: var(--on-navy-muted); }
.footer__legal a { color: var(--on-navy); }
.footer__name {
  margin: clamp(48px, 6vw, 80px) 0 -0.2em;
  padding-inline: var(--m);
  font-family: var(--serif); font-weight: 500; font-size: calc(var(--monument) * var(--fit, 1));
  line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap;
  font-variation-settings: "opsz" 60;
  text-indent: -0.035em; color: var(--on-navy);
}
@media (max-width: 1023px) {
  .footer__places, .footer__nav { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__places a, .footer__places span { font-size: 1.5rem; }
}

/* ---------- about ---------- */
.story__text { grid-column: 1 / span 6; }
.story__text .h2 { margin-bottom: 28px; }
.story__text .first { font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; }
.story__photo { grid-column: 8 / -1; align-self: start; position: sticky; top: 110px; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.markets__grid { row-gap: 56px; }
.market { grid-column: span 6; }
.market img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.market .h3 { margin-top: 28px; }
.market p { margin-top: 12px; max-width: 54ch; }
.coachlife__quote { grid-column: 1 / span 9; }
.coachlife__quote .statement { text-wrap: balance; }
.coachlife__quote figcaption { margin-top: 20px; font-weight: 600; }
.coachlife__photo { grid-column: 1 / span 5; grid-row: 2; margin-top: clamp(48px, 5vw, 72px); }
.coachlife__photo img { width: 100%; max-width: 30rem; aspect-ratio: 5 / 6; object-fit: cover; }
.coachlife__text { grid-column: 7 / -1; grid-row: 2; align-self: start; margin-top: clamp(48px, 5vw, 72px); }
.coachlife__text .h2 { margin-bottom: 24px; }
.coachlife__text .bullets { margin-top: 20px; }
.coachlife__text .btn { margin-top: 36px; }
.affil__group + .affil__group { margin-top: clamp(64px, 7vw, 104px); }
.affil__group .h3 { margin-bottom: 12px; }
.affil__group > p { max-width: 58ch; }
.affil__logos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gutter); margin-top: 40px; align-items: end; }
.affil__logos--lead { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.affil__logos li { display: grid; gap: 16px; align-content: end; }
.affil__logos img { height: clamp(52px, 5vw, 76px); width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
.affil__logos--lead img { height: clamp(64px, 7vw, 108px); }
.affil__logos span { font-size: var(--fs-small); color: var(--on-navy-muted); }
/* Compass and Coldwell Banker are long one-line marks: sized by height and centred on a shared line.
   The Coldwell Banker wordmark is under half the height of its monogram, so that logo sits taller to read at Compass's size. */
.affil__logos--wide { align-items: center; }
.affil__logos--wide li { align-content: center; }
.affil__logos--wide img { height: clamp(22px, 2.2vw, 32px); object-position: left center; }
.affil__logos--wide .affil__monogram img { height: clamp(30px, 3vw, 43px); }
@media (max-width: 1023px) {
  .story__text, .story__photo { grid-column: 1 / -1; }
  .story__photo { position: relative; top: auto; margin-top: 48px; }
  .story__photo img { aspect-ratio: 4 / 5; max-height: 80svh; }
  .coachlife__quote, .coachlife__photo, .coachlife__text { grid-column: 1 / -1; grid-row: auto; }
  .coachlife__photo { margin-top: 40px; }
  .coachlife__text { margin-top: 56px; }
  .affil__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .market { grid-column: 1 / -1; }
  .affil__logos, .affil__logos--lead { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .affil__logos--wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- coaching ---------- */
.approach__quote { grid-column: 1 / span 6; }
.approach__quote figcaption { margin-top: 20px; font-weight: 600; }
.approach__text { grid-column: 8 / -1; }
.approach__text .h2 { margin-bottom: 24px; }
.approach__photo { grid-column: 1 / -1; margin-top: clamp(56px, 7vw, 96px); }
.approach__photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 1023px) {
  .approach__quote, .approach__text { grid-column: 1 / -1; }
  .approach__text { margin-top: 48px; }
  .approach__photo img { aspect-ratio: 4 / 3; }
}

/* plan finder */
.finder { align-items: start; }
.finder__ask { grid-column: 1 / span 5; }
.finder__ask legend { padding: 0; margin-bottom: 18px; font-weight: 600; }
.finder__ask fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder__opts { display: grid; gap: 2px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: block; padding: 16px 18px 16px 52px; background: var(--bone-2);
  font-size: var(--fs-body); font-weight: 500; line-height: 1.35;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
  position: relative;
}
.opt span::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 2px solid currentColor; background: transparent;
  transition: background-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.opt input:checked + span { background: var(--navy); color: var(--bone); }
.opt input:checked + span::before { background: var(--yellow); border-color: var(--yellow); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .opt:hover input:not(:checked) + span { background: var(--bone-3); } }
.finder__result { grid-column: 7 / -1; }
.plan { padding-bottom: 8px; }
.plan + .plan { margin-top: 56px; }
.js .plan + .plan { margin-top: 0; }
.plan[hidden] { display: none; }
.no-js .plan[hidden] { display: block; }
.plan.is-swap { animation: swap-in 360ms var(--ease-out); }
.plan__name { font-family: var(--serif); font-size: var(--fs-name); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.plan__for { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; }
.plan .bullets { margin-top: 24px; }
.plan__note { margin-top: 20px; }
.plan .btn { margin-top: 32px; }
@media (max-width: 1023px) {
  .finder__ask, .finder__result { grid-column: 1 / -1; }
  .finder__result { margin-top: 48px; }
}

/* held picture, passing captions */
.held { align-items: start; }
.held__frame { grid-column: 1 / span 6; position: sticky; top: calc(50svh - min(36svh, 30vw) + 20px); }
.held__frame-inner { position: relative; aspect-ratio: 4 / 5; max-height: 72svh; overflow: hidden; background: var(--bone-2); }
.held__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease-out); }
.held__frame img.is-on { opacity: 1; }
.held__list { grid-column: 8 / -1; list-style: none; }
.held__item { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
.held__item:first-child { min-height: 50svh; justify-content: flex-start; padding-top: 0; }
.held__item .name { color: var(--muted); transition: color 300ms ease; }
.held__item.is-active .name, .no-js .held__item .name { color: var(--ink); }
.held__item p { margin-top: 16px; max-width: 46ch; }
.held__item .link { margin-top: 16px; align-self: flex-start; }
.held__item img.held__inline { display: none; }
@media (max-width: 1023px) {
  .held__frame { display: none; }
  .held__list { grid-column: 1 / -1; }
  .held__item, .held__item:first-child { min-height: 0; padding-block: 0 56px; }
  .held__item .name { color: var(--ink); }
  .held__item img.held__inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
}
@media (max-width: 767px) {
  /* phones: the picture sits beside the words, so five ways to work fit in a few screens */
  .held__item, .held__item:first-child { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: 16px; align-content: start; justify-content: stretch; padding-block: 0 80px; }
  .held__item:last-child { padding-bottom: 0; }
  .held__item .name { grid-column: 1 / -1; grid-row: 1; margin-bottom: 16px; }
  .held__item img.held__inline { grid-column: 1; grid-row: 2 / span 2; aspect-ratio: 4 / 5; margin-bottom: 0; }
  .held__item p { grid-column: 2; grid-row: 2; margin-top: 0; }
  .held__item .link { grid-column: 2; grid-row: 3; align-self: start; }
}

/* AgentOS weeks */
.agentos__text { grid-column: 1 / span 6; }
.agentos__text .h2 { margin-bottom: 24px; }
.agentos__facts { margin-top: 28px; }
.agentos__facts strong { font-weight: 600; color: var(--yellow); }
.agentos__text .btn { margin-top: 36px; }
.agentos__slide { grid-column: 8 / -1; align-self: center; }
.agentos__slide img { width: 100%; }
.weeks { margin-top: clamp(80px, 9vw, 140px); align-items: start; }
.weeks__list { grid-column: 1 / span 8; list-style: none; }
.weeks__item { min-height: 26svh; display: flex; flex-direction: column; justify-content: center; }
.weeks__item:first-child { min-height: 18svh; justify-content: flex-start; }
.weeks__name { color: var(--on-navy-muted); transition: color 300ms ease; }
.weeks__item.is-active .weeks__name, .no-js .weeks__name { color: var(--on-navy); }
.weeks__meta { margin-top: 10px; color: var(--on-navy); }
.weeks__stage { grid-column: 9 / -1; position: sticky; top: calc(50svh - 15vw - 30px); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; aspect-ratio: 1; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; padding: 12px;
  background: var(--navy-2); color: var(--on-navy-muted); font-size: var(--fs-small); line-height: 1.25;
  transition: background-color 420ms var(--ease-out), color 420ms var(--ease-out);
}
.tile.is-done { background: var(--navy-3); color: var(--on-navy); }
.tile.is-on { background: var(--yellow); color: var(--navy); }
.tile b { font-weight: 600; }
.weeks__facts { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: var(--fs-body); }
.weeks__facts [data-week-num] { font-weight: 600; white-space: nowrap; }
.weeks__facts [data-week-desc] { text-align: right; }
.js .weeks__meta { display: none; }
@media (max-width: 1023px) {
  .agentos__text, .agentos__slide { grid-column: 1 / -1; }
  .agentos__slide { margin-top: 48px; }
  .weeks__stage { display: none; }
  .weeks__list { grid-column: 1 / -1; }
  .weeks__item, .weeks__item:first-child { min-height: 0; padding-bottom: 36px; }
  .weeks__name { color: var(--on-navy); }
  .js .weeks__meta { display: block; }
}

/* short reads */
.reads__grid { row-gap: 64px; }
.series { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gutter); align-items: start; }
.series figure img { width: 100%; aspect-ratio: 450 / 582; object-fit: cover; object-position: top; background: #fff; }
.series .h3 { margin-bottom: 12px; }
.series .bullets { margin-top: 18px; }
.series .bullets li { font-weight: 500; }
.series__meta { margin-top: 6px; }
.reads__more { margin-top: clamp(48px, 5vw, 72px); }
@media (max-width: 1023px) { .series { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .series { grid-template-columns: 1fr; }
  .series figure { margin-bottom: 24px; max-width: 10rem; }
}

/* reviews */
.reviews__cols { columns: 3; column-gap: var(--gutter); }
.review { break-inside: avoid; padding: 0 0 56px; }
.review .h3 { margin-bottom: 12px; }
.review blockquote p { font-size: var(--fs-body); line-height: 1.55; }
.review figcaption { margin-top: 14px; font-size: var(--fs-small); line-height: 1.45; }
.review figcaption strong { display: block; font-size: var(--fs-body); font-weight: 600; }
.more-reviews > summary { list-style: none; cursor: pointer; }
.more-reviews:not([open]) > :not(summary) { display: none; }
.more-reviews > summary::-webkit-details-marker { display: none; }
.more-reviews__close, .more-reviews[open] .more-reviews__open { display: none; }
.more-reviews[open] .more-reviews__close { display: inline; }
.more-reviews[open] > summary { margin-bottom: 56px; }
@media (max-width: 1023px) { .reviews__cols { columns: 2; } }
@media (max-width: 767px) {
  .reviews__cols { columns: 1; }
  /* phones: four reviews up front, the rest behind More reviews */
  .reviews__cols--main > .review:nth-child(n+5) { display: none; }
  #reviews:has(.more-reviews[open]) .reviews__cols--main > .review { display: block; }
}

/* ---------- Real Estate Life ---------- */
.feature-post { align-items: center; }
.feature-post__img { grid-column: 1 / span 7; display: block; overflow: hidden; }
.feature-post__img img, .post__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feature-post__img:hover img, .post__img:hover img { transform: scale(1.03); }
}
.feature-post__text { grid-column: 9 / -1; }
.feature-post__text .h3, .post .h3 { margin-top: 0; }
.feature-post__text .h3 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
.feature-post__text p:not(.post__date), .post p:not(.post__date) { margin-top: 14px; max-width: 54ch; }
.feature-post__text .link, .post .link { display: inline-block; margin-top: 16px; }
.post__date { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.posts { list-style: none; margin-top: clamp(72px, 8vw, 112px); display: grid; gap: 56px; }
.post { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.post__img { grid-column: 1 / span 4; display: block; overflow: hidden; }
.post__text { grid-column: 6 / span 6; }
.h3 a, .feature-post__text .h3 a { text-decoration: none; }
.h3 a:hover { text-decoration: underline 2px; text-underline-offset: 0.16em; }
@media (max-width: 1023px) {
  .feature-post__img, .feature-post__text { grid-column: 1 / -1; }
  .feature-post__text { margin-top: 28px; }
  .post__img { grid-column: 1 / span 5; }
  .post__text { grid-column: 7 / -1; }
}
@media (max-width: 767px) {
  .post__img, .post__text { grid-column: 1 / -1; }
  .post__text { margin-top: 18px; }
}
.watch { align-items: center; }
.watch__img { grid-column: 1 / span 7; display: block; position: relative; overflow: hidden; }
.watch__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .watch__img:hover img { transform: scale(1.03); } }
.watch__text { grid-column: 9 / -1; }
.watch__text .h2 { margin-bottom: 20px; }
.watch__text .btn { margin-top: 32px; }
@media (max-width: 1023px) {
  .watch__img, .watch__text { grid-column: 1 / -1; }
  .watch__text { margin-top: 32px; }
}
.handouts { margin-top: clamp(40px, 5vw, 64px); list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gutter); }
.handouts img { width: 100%; aspect-ratio: 450 / 582; object-fit: cover; object-position: top; background: #fff; }
.handouts .h3 { margin-top: 18px; font-size: var(--fs-lead); }
.handouts p { margin-top: 6px; }
@media (max-width: 1023px) {
  .handouts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .handouts li { grid-column: span 2; }
  .handouts li:nth-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 767px) {
  .handouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .handouts li, .handouts li:nth-child(-n+2) { grid-column: span 1; }
  .handouts li:first-child { grid-column: 1 / -1; }
}
.subscribe { align-items: end; }
.subscribe__text { grid-column: 1 / span 5; }
.subscribe__text .h2 { margin-bottom: 20px; }
.subscribe__form { grid-column: 7 / -1; }
@media (max-width: 1023px) {
  .subscribe__text, .subscribe__form { grid-column: 1 / -1; }
  .subscribe__form { margin-top: 36px; }
}

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gutter); }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label, .field .label { font-size: var(--fs-small); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: var(--bone-2); color: var(--ink); font-size: var(--fs-body); line-height: 1.4;
  transition: background-color var(--t-hover) ease;
}
.field textarea { min-height: 168px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23010028' stroke-width='2'/%3E%3C/svg%3E"); background-position: calc(100% - 18px) 50%; background-size: 12px 8px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--bone-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field .hint { font-size: var(--fs-small); color: var(--muted); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.form__note { font-size: var(--fs-small); color: var(--muted); max-width: 52ch; }
.form__status { grid-column: 1 / -1; padding: 16px 18px; background: var(--navy); color: var(--bone); font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status.is-swap { animation: swap-in 360ms var(--ease-out); }
.form__status a { color: var(--yellow); }
.form--inline { grid-template-columns: 1fr 1fr auto; align-items: end; }
.form--inline .btn { min-height: 54px; }
@media (max-width: 767px) {
  .form, .form--inline { grid-template-columns: 1fr; }
}

/* send it from your own email: the list that follows Send until Wix Forms is connected */
.mailpick { grid-column: 1 / -1; padding: 28px clamp(20px, 2.23vw, 32px) 24px; background: var(--navy); color: var(--on-navy); }
.mailpick[hidden] { display: none; }
.mailpick.is-swap { animation: swap-in 360ms var(--ease-out); }
.subscribe > .mailpick { grid-column: 7 / -1; margin-top: 28px; }
@media (max-width: 1023px) { .subscribe > .mailpick { grid-column: 1 / -1; } }
.mailpick__lead { margin-top: 10px; max-width: 62ch; color: var(--on-navy-muted); }
.mailpick__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.mailpick__opt {
  display: grid; gap: 3px; align-content: center; min-height: 68px; padding: 12px 16px;
  border: 1px solid var(--navy-3); border-radius: 0; background: transparent; color: var(--on-navy);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, border-color var(--t-hover) ease;
}
.mailpick__opt:active { transform: scale(0.97); }
.mailpick__opt:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.mailpick__name { font-weight: 600; line-height: 1.2; }
.mailpick__sub { font-size: var(--fs-small); line-height: 1.3; color: var(--on-navy-muted); }
.mailpick__opt.is-first { background: var(--bone); border-color: var(--bone); color: var(--navy); }
.mailpick__opt.is-first .mailpick__sub { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .mailpick__opt:hover { background: var(--navy-2); border-color: var(--on-navy-muted); }
  .mailpick__opt.is-first:hover { background: #fff; border-color: #fff; }
}
.mailpick__live { margin-top: 18px; font-weight: 500; }
.mailpick__live:empty { display: none; }
.mailpick__copy { display: grid; gap: 8px; margin-top: 18px; }
.mailpick__copy[hidden] { display: none; }
.mailpick__copy label { font-size: var(--fs-small); font-weight: 600; }
.mailpick__copy textarea {
  width: 100%; min-height: 180px; padding: 12px 14px; border: 0; border-bottom: 2px solid var(--on-navy-muted); border-radius: 0;
  background: var(--navy-2); color: var(--on-navy); font: inherit; font-size: var(--fs-small); line-height: 1.45; resize: vertical;
}
.mailpick__copy textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.mailpick__help { margin-top: 18px; font-size: var(--fs-small); color: var(--on-navy-muted); }
.mailpick__help a { color: var(--yellow); }
.mailpick__help a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 767px) {
  .mailpick__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mailpick__opt { min-height: 72px; padding: 12px 14px; }
}

/* ---------- connect ---------- */
.contact__form { grid-column: 1 / span 7; }
.contact__form .h2 { margin-bottom: 32px; }
.contact__details { grid-column: 9 / -1; display: grid; gap: 36px; align-content: start; }
.contact__details .h3 { margin-bottom: 8px; }
.contact__details a { overflow-wrap: anywhere; }
.contact__coach img { width: 100%; max-width: 440px; height: auto; }
@media (max-width: 767px) { .contact__coach img { width: 60%; } }
.big-line { font-family: var(--serif); font-size: var(--fs-statement); line-height: 1.2; text-decoration: none; }
.big-line:hover { text-decoration: underline 2px; text-underline-offset: 0.16em; }
.office__photo { grid-column: 1 / span 7; }
.office__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.office__text { grid-column: 9 / -1; align-self: center; }
.office__text .h2 { margin-bottom: 20px; }
.office__text p + p { margin-top: 1em; }
.office__text .btn { margin-top: 32px; }
.talks__text { grid-column: 1 / span 6; }
.talks__text .h2 { margin-bottom: 20px; }
.talks__list { list-style: none; margin-top: 36px; display: grid; gap: 2px; }
.talks__list li { padding: 18px 20px; background: var(--bone-2); }
.talks__list b { display: block; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.talks__list span { display: block; margin-top: 4px; }
.talks__text .btn { margin-top: 36px; }
/* the talk photo is a 480 px phone picture, so it stops growing at 600 px */
.talks__photo { grid-column: 8 / -1; position: sticky; top: 110px; justify-self: end; width: 100%; max-width: 600px; }
.talks__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% 30%; }
@media (max-width: 1023px) {
  .contact__form, .contact__details, .office__photo, .office__text, .talks__text, .talks__photo { grid-column: 1 / -1; }
  .contact__details { margin-top: 56px; }
  .office__text { margin-top: 0; }
  .office__photo { order: 2; margin-top: 48px; }
  .talks__photo { position: relative; top: auto; margin-top: 48px; justify-self: start; }
}

/* ---------- calendar ---------- */
.dates__list { grid-column: 1 / span 7; }
/* a 640 px group photo, shown whole at its own shape */
.dates__photo { grid-column: 9 / -1; align-self: start; width: 100%; max-width: 640px; }
.dates__photo img { width: 100%; height: auto; }
.events { list-style: none; display: grid; gap: 2px; }
.event { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 24px; padding: 22px 20px; background: var(--bone-2); }
.event__date { font-family: var(--serif); line-height: 1.1; }
.event__date b { display: block; font-size: var(--fs-statement); font-weight: 500; font-variant-numeric: tabular-nums; }
.event__date span { display: block; margin-top: 4px; font-family: var(--sans); font-size: var(--fs-small); color: var(--muted); }
.event .h3 { margin-bottom: 6px; }
.event__when { font-weight: 600; font-variant-numeric: tabular-nums; }
.event__desc { margin-top: 10px; max-width: 58ch; }
.event__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.event__actions button { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline 2px; text-underline-offset: 5px; }
.empty { padding: 28px 24px; background: var(--bone-2); }
.empty .h3 { margin-bottom: 10px; }
.empty .btn { margin-top: 24px; }
.empty[hidden] { display: none; }
.rhythm__images { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; align-items: end; }
.rhythm__images figure:first-child { grid-column: 1 / span 3; }
.rhythm__images figure:nth-child(2) { grid-column: 4 / span 3; }
.rhythm__images figure:last-child { grid-column: 7 / -1; }
.rhythm__images img { width: 100%; background: #fff; }
.live__text { grid-column: 1 / span 6; }
.live__text .h2 { margin-bottom: 20px; }
.live__text p + p { margin-top: 1em; }
.live__steps { grid-column: 8 / -1; list-style: none; align-self: start; display: grid; gap: 28px; padding: clamp(24px, 2.6vw, 40px); background: var(--bone-2); }
.live__steps b { display: block; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.live__steps span { display: block; margin-top: 4px; }
@media (max-width: 1023px) {
  .dates__list, .dates__photo, .live__text, .live__steps { grid-column: 1 / -1; }
  .dates__photo { margin-top: 48px; }
  .live__steps { margin-top: 40px; }
  .rhythm__images figure:first-child { grid-column: 1 / span 6; }
  .rhythm__images figure:nth-child(2) { grid-column: 7 / span 6; }
  .rhythm__images figure:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .event { grid-template-columns: 1fr; row-gap: 12px; }
}

/* ---------- book shelf ---------- */
.book { align-items: start; }
.book__cover { grid-column: 1 / span 5; position: sticky; top: 110px; }
.book__cover img { width: 100%; max-width: 30rem; }
.book__text { grid-column: 7 / -1; }
.book--flip .book__cover { grid-column: 8 / -1; grid-row: 1; justify-self: end; }
.book--flip .book__text { grid-column: 1 / span 6; grid-row: 1; }
.book__text .h2 { margin-bottom: 14px; }
.book__sub { font-size: var(--fs-lead); font-style: italic; line-height: 1.45; }
.book__text .prose { margin-top: 28px; }
.book__lines { margin-top: 36px; display: grid; gap: 14px; }
.book__lines p { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; }
.facts { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-size: var(--fs-body); }
.facts dt { font-weight: 600; }
.facts dd { font-variant-numeric: tabular-nums; }
.book__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.companions { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gutter); }
.companions figure img { width: 100%; }
.companions .h3 { margin-top: 18px; font-size: var(--fs-lead); }
.companions p { margin-top: 6px; }
.coming { display: inline-block; margin-top: 20px; padding: 6px 12px; background: var(--yellow); color: var(--navy); font-size: var(--fs-small); font-weight: 700; }
.bts__quote { margin-top: 36px; }
.bts__quote figcaption { margin-top: 14px; font-size: var(--fs-small); }
.chapters { margin-top: clamp(64px, 7vw, 104px); }
.chapters .h3 { margin-bottom: 20px; }
.chapters ol { columns: 2; column-gap: var(--gutter); padding-left: 1.6em; }
.chapters li { break-inside: avoid; padding: 6px 0 6px 6px; font-variant-numeric: tabular-nums; }
.chapters li::marker { color: var(--on-navy-muted); }
.field-notes { margin-top: 48px; }
.field-notes .h3 { margin-bottom: 16px; }
.field-notes .bullets { gap: 0.8em; }
.bts .book__actions .link { color: var(--yellow); }
@media (max-width: 1023px) {
  .book__cover, .book--flip .book__cover { grid-column: 1 / -1; grid-row: auto; position: relative; top: auto; justify-self: start; }
  .book__cover img { max-width: 22rem; }
  .book__text, .book--flip .book__text { grid-column: 1 / -1; grid-row: auto; margin-top: 40px; }
}
@media (max-width: 767px) {
  .companions { grid-template-columns: 1fr; }
  .chapters ol { columns: 1; }
}

/* ---------- article ---------- */
.section--article { padding-bottom: calc(var(--section) * 0.6); }
.article { align-items: start; }
.article__aside { grid-column: 1 / span 3; position: sticky; top: 110px; display: grid; gap: 14px; font-size: var(--fs-small); }
.article__aside .link { font-size: var(--fs-body); }
.article__body { grid-column: 4 / span 6; }
.article__body > p:first-child { font-size: var(--fs-lead); line-height: 1.5; font-weight: 500; }
.article__body .h3 { margin-top: 1.8em; }
.article__end { margin-top: 48px; padding: 24px; background: var(--bone-2); }
.article__end p + p { margin-top: 10px; }
@media (max-width: 1023px) {
  .article__aside { grid-column: 1 / -1; position: static; grid-auto-flow: column; justify-content: start; gap: 24px; margin-bottom: 36px; }
  .article__body { grid-column: 1 / -1; }
}
.more-posts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.more-posts a.post__img img { aspect-ratio: 3 / 2; }
.more-posts .h3 { margin-top: 16px; font-size: var(--fs-lead); }
@media (max-width: 767px) { .more-posts { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.doors { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gutter); }
.doors__img { display: block; }
.doors__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .doors__img:hover img { transform: scale(1.03); } }
.doors .h3 { margin-top: 18px; }
.doors p { margin-top: 8px; max-width: 40ch; }
@media (max-width: 767px) { .doors { grid-template-columns: 1fr; } }
.lost-links { list-style: none; margin-top: clamp(56px, 6vw, 88px); display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ---------- reduced motion: everything visible, nothing travels ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .menu, .hero__media, .footer__name, .cta { display: none !important; }
  .hero { height: auto; min-height: 0; color: var(--ink); background: none; }
  .hero__content { position: static; }
}
