/* Preview 3 courses, splashes, trust — hero rules stay in site.css */
.hero-wordmark .wm-name {
  white-space: nowrap;
  letter-spacing: 0;
}
.hero-wordmark .wm-role { white-space: nowrap; }

/* ---- Full-bleed photo beats. Photos stay bright; no dimming veil. ---- */
.splash {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #d5dbe3;
}
.splash img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02) brightness(1.05);
  transform: scale(1.06) translate3d(var(--sx, 0px), var(--sy, 0px), 0);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.splash-cap {
  position: absolute;
  left: max(1rem, 2.4vw);
  bottom: max(1rem, 2.4vw);
  margin: 0;
  max-width: min(28rem, 86vw);
  padding: 0.55rem 0.9rem 0.6rem;
  background: var(--snow);
  color: var(--navy);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  line-height: 1.3;
  border-radius: 0.3rem 0.75rem 0.75rem 0.3rem;
  box-shadow: 0 10px 28px color-mix(in oklab, var(--navy) 14%, transparent);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .splash img { transition: none; transform: none; }
}

/* ---- Credentials strip ---- */
.trust-strip {
  padding: 1.15rem 0;
  background: color-mix(in oklab, var(--paper) 80%, #fff);
  border-block: 1px solid color-mix(in oklab, var(--navy) 10%, transparent);
}
.trust-strip ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.3rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0 0.4rem;
}
.trust-strip li {
  font-size: clamp(0.62rem, 0.68vw + 0.42rem, 0.75rem);
  letter-spacing: 0.01em;
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
}
/*=====================================================================================================================================================*/
@media (max-width: 700px) {
  .trust-strip ul { flex-wrap: wrap; gap: 0.25rem 0.7rem; }
  .trust-strip li { white-space: normal; }
}
.trust-strip li span {
  font-weight: 500;
  color: var(--navy-soft);
}

/* ---- Why agents: expanding ledger rows ---- */
.reasons {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  border-top: 1px solid color-mix(in oklab, var(--navy) 14%, transparent);
}
.reasons li {
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 14%, transparent);
}
.reasons button {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.6rem 1rem;
  align-items: baseline;
  width: 100%;
  margin: 0;
  padding: 1.05rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.reason-num {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: color-mix(in oklab, var(--navy) 55%, #8aa0b8);
  transition: color 0.3s ease, transform 0.3s ease;
}
.reason-title {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
.reasons li p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 0 0 5.2rem;
  max-width: 40rem;
  opacity: 0;
  color: var(--navy-soft);
  line-height: 1.55;
  transition: max-height 0.4s ease, opacity 0.35s ease, padding-bottom 0.4s ease;
}
.reasons li.is-open .reason-num,
.reasons li:hover .reason-num {
  color: var(--navy);
  transform: translateX(2px);
}
.reasons li.is-open p {
  max-height: 8rem;
  opacity: 1;
  padding-bottom: 1.2rem;
}
/*========================================================================KELTON ABOUT MEDIA QUERIES===============================================================================================*/

@media (max-width: 430px) {
  /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  top:35%;
  left: 5%;
  height:auto;
  width:50vw;
}}

@media (max-width: 600px) and (min-width: 431px) {
  .reasons button { grid-template-columns: 2.6rem 1fr; }
  .reasons li p { padding-left: 2.8rem; }


/* -- About Kelton funnel --*/
#klKleinman {
  position:relative;
  top: -10px;
  left: 5%;
  height:auto;
  width:50vw;
}}

@media (max-width: 700px) and (min-width: 601px) {
  /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  top:25%;
  left: 5%;
  height:auto;
  width:50vw;
}}
@media (max-width: 720px) and (min-width: 701px) {
  /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  top:22%;
  left: 5%;
  height:auto;
  width:50vw;
}
/* This view size has a .wrap ul that's ultra widening the page*/
.trust-strip ul {
  flex-wrap: wrap;
}

}
@media (max-width: 800px) and (min-width: 721px), (max-height:900px) and (min-height: 801px) {
  /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  top:28%;
  left: 5%;
  height:auto;
  width:40vw;
}
/* This view size has a .wrap ul that's ultra widening the page*/
.trust-strip ul {
  flex-wrap: wrap;
}

}
@media (max-width: 980px) and (min-width: 801px) {
  /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  top:32%;
  left: 5%;
  height:auto;
  width:205px;
}
/* This view size has a .wrap ul that's ultra widening the page*/
.trust-strip ul {
  flex-wrap: wrap;
}
}
@media (max-width: 1180px) and (min-width: 981px) {
    /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  top:32%;
  left: 5%;
  height:auto;
  width:20vw;
}
/* This view size has a .wrap ul that's ultra widening the page*/
.trust-strip ul {
  flex-wrap: wrap;
}
}
@media (max-width: 1320px) and (min-width: 1181px) {
    /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  bottom: 22px;
  right: 80px;
  top:auto;
  left:auto;
  height:auto;
  width:35vw;
  z-index:1000;
}
/* This view size has a .wrap ul that's ultra widening the page*/
.trust-strip ul {
  flex-wrap: wrap;
}


}
@media (min-width: 1321px) {
    /* -- About Kelton funnel --*/
#klKleinman {
  position:absolute;
  bottom:35px;
  right: 35px;
  top:auto;
  left:auto;
  height:auto;
  width:560px;
}
/* This view size has a .wrap ul that's ultra widening the page*/
.trust-strip ul {
  flex-wrap: nowrap;
}}


/* ---- Three-step order flow ---- */
.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
  list-style: none;
  counter-reset: order;
}
.order-step {
  position: relative;
  margin: 0;
  padding: 1.25rem 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  cursor: pointer;
  min-height: 11rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.order-step:hover,
.order-step.is-on {
  border-color: var(--navy);
  box-shadow: 0 16px 36px color-mix(in oklab, var(--navy) 10%, transparent);
}
.order-step.is-on { transform: translateY(-3px); }
.order-step h3 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.order-step p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--navy-soft); }
.order-step::before {
  counter-increment: order;
  content: counter(order, decimal-leading-zero);
  display: block;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--navy) 50%, #8aa0b8);
  margin-bottom: 0.55rem;
}
.order-step.is-on::before { color: var(--navy); }
/*================================================================================================================================================================================*/
@media (max-width: 800px) {
  .order-steps { grid-template-columns: 1fr; }
  .order-step { min-height: 0; }
}

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
.svc-chips a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--navy) 16%, transparent);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.svc-chips a:hover,
.svc-chips a:focus-visible {
  background: var(--navy);
  color: var(--snow);
  border-color: var(--navy);
}

/* ---- Visit-day checklist ---- */
.expect-list {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  max-width: 40rem;
}
.expect-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 10%, transparent);
  color: var(--navy-soft);
  line-height: 1.45;
}
.expect-list li::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 35%, transparent);
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.expect-list li.is-lit {
  color: var(--navy);
}
.expect-list li.is-lit::before {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--snow);
}

/* ---- About year rail ---- */
.year-rail {
  margin: 1.3rem 0 0;
}
.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
}
.year-tabs button {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--navy) 16%, transparent);
  background: transparent;
  color: var(--navy-soft);
  cursor: pointer;
}
.year-tabs button.is-on,
.year-tabs button:hover,
.year-tabs button:focus-visible {
  background: var(--navy);
  color: var(--snow);
  border-color: var(--navy);
}
.year-panel { margin: 0; max-width: 38rem; color: var(--navy); line-height: 1.6; }
.cred-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.cred-list li {
  padding: 0.65rem 0.8rem;
  border-radius: 0.6rem;
  background: color-mix(in oklab, var(--navy) 5%, #fff);
  border: 1px solid color-mix(in oklab, var(--navy) 10%, transparent);
  font-size: 0.92rem;
  color: var(--navy);
}
.cred-list strong { font-weight: 650; }

/* ---- Proof stage (one quote at a time) ---- */
.proof-stage {
  position: relative;
  max-width: 42rem;
  min-height: 12rem;
  margin: 1.2rem 0 1.4rem;
}
.proof-slide { margin: 0; }
.proof-slide p {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 1rem;
}
.proof-slide cite {
  font-style: normal;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--navy-soft);
}
.proof-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
}
.proof-nav button {
  border: 1px solid color-mix(in oklab, var(--navy) 18%, transparent);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font: 600 0.78rem/1 Inter, sans-serif;
}
.proof-dots { display: flex; gap: 0.35rem; margin-left: 0.4rem; }
.proof-dots button {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border-radius: 50%;
  background: color-mix(in oklab, var(--navy) 22%, #fff);
}
.proof-dots button.is-on { background: var(--navy); }

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  margin-top: 0.4rem;
}

label .optional {
  font-weight: 500;
  letter-spacing: 0;
  color: var(--navy-soft);
  font-size: 0.78rem;
}



.need-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.4rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.need-grid li {
  padding: 1rem 1rem 0.95rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--navy) 11%, transparent);
}
.need-grid h3 {
  margin: 0 0 0.35rem;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--navy);
}
.need-grid p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--navy-soft); }
/*====================================================================================================================================================================*/
@media (max-width: 700px) { .need-grid { grid-template-columns: 1fr; } }

.faq details {
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  padding: 0.7rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 0.2rem 0;
}
.faq details p {
  margin: 0.5rem 0 0.4rem;
  color: var(--navy-soft);
  max-width: 40rem;
  line-height: 1.55;
}

.assoc, .checklist-page {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist-page li {
  padding: 0.65rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 10%, transparent);
  padding-left: 1.6rem;
  position: relative;
  color: var(--navy);
  line-height: 1.5;
}
.checklist-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  border: 1.5px solid var(--navy);
}


/* ---- Preview 7: paper-card snap + sticky cover ----
   Each section is a sheet. The previous sheet pins (sticky) while the
   next slides up and covers it. Native CSS snap only — no JS assist.
   mandatory when every snap segment is a viewport card; proximity when
   a taller-than-viewport section is present (never-trap).
   Snap is armed only with html.sheet-snap (after the hero runway).
   A 170vh hero with scroll-snap-align: none plus mandatory on html
   has no snap point at y=0, so the browser jumps to the first sheet
   and traps upward scroll there. */
html.js.sheet-snap:not(.is-reduced):not(.has-tall) {
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}
html.js.sheet-snap:not(.is-reduced).has-tall {
  scroll-snap-type: y proximity;
  overscroll-behavior-y: contain;
}
html.is-reduced {
  scroll-snap-type: none;
  overscroll-behavior-y: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.js.sheet-snap:not(.is-reduced) {
    scroll-snap-type: y proximity;
  }
}
.hero,
.hero-pin,
.hero-seal,
.trust-strip {
  scroll-snap-align: none;
}

/* Aaron moved the strip out of the first splash so it sits as a MAIN
   sibling above the figure and rides on top of it. Sticky under the
   nav; z-index is above the first splash (--sheet-z starts at 3) and
   equal to the next paper card (4), so later sheets cover the strip
   as they stack. Not a snap sheet; start anchors stay on the figure. */
main > .trust-strip {
  position: sticky;
  top: var(--header-h);
  z-index: 4;
  background: color-mix(in oklab, var(--snow) 92%, transparent);
  backdrop-filter: blur(8px);
}
html.is-reduced main > .trust-strip {
  position: relative;
  top: auto;
  z-index: auto;
  backdrop-filter: none;
}
@media (prefers-reduced-motion: reduce) {
  main > .trust-strip {
    position: relative;
    top: auto;
    z-index: auto;
    backdrop-filter: none;
  }
}

.splash,
.page-banner,
.course,
.cta-band,
.footer,
.error-page {
  position: sticky;
  top: var(--stick-top, 0px);
  z-index: var(--sheet-z, 1);
  overflow-x: clip;
  /* Snap lives on in-flow sibling anchors, not on these sticky boxes.
     Snap-align on a sticky sheet moves the snap point with the stick and
     traps upward scroll (the previous sheet's start follows the viewport). */
  scroll-snap-align: none;
  scroll-margin-top: 0;
  border-top-left-radius: 0.45rem;
  border-top-right-radius: 0.45rem;
  box-shadow:
    0 -0.5px 0 color-mix(in oklab, #fff 55%, var(--navy)),
    0 -16px 36px color-mix(in oklab, var(--navy) 22%, transparent);
}

.course,
.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    var(--grain),
    var(--paper);
  background-blend-mode: soft-light, normal;
  padding-top: max(clamp(3.5rem, 8vw, 6.5rem), calc(var(--header-h) + 2.2rem));
}
.course:not([data-snap-tall]),
.error-page:not([data-snap-tall]) {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
}
.cta-band:not([data-snap-tall]),
.footer:not([data-snap-tall]) {
  min-height: 100vh;
  min-height: 100dvh;
}

[data-snap-tall] {
  scroll-snap-align: none;
  height: auto;
  max-height: none;
}
/* Bleeds stay viewport-tall even if a stray tall flag is applied. */
.splash,
.page-banner {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
}
/* In-flow snap points (siblings of sticky sheets). 1px so browsers
   honor the target; negative margin keeps layout from shifting. */
.sheet-anchor-start,
.sheet-anchor-end,
.snap-anchor-start,
.snap-anchor-end {
  display: block;
  height: 1px;
  width: 100%;
  margin: 0 0 -1px;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  border: 0;
}
.sheet-anchor-start,
.snap-anchor-start {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
}
.sheet-anchor-end,
.snap-anchor-end {
  scroll-snap-align: end;
  scroll-snap-stop: always;
}
/* While traveling down a tall sheet, only that sheet's bottom (end)
   anchor may snap. Later start anchors stay inert until the bottom
   is reached, so a committed flick cannot skip the last pixels. */
html.tall-hold .sheet-anchor-start:not(.is-live-start),
html.tall-hold .snap-anchor-start:not(.is-live-start),
html.tall-hold .sheet-anchor-end:not(.is-live-end),
html.tall-hold .snap-anchor-end:not(.is-live-end) {
  scroll-snap-align: none;
}
/* Leftover inner anchors from older builds must not snap (they would stick). */
[data-snap-tall] > .snap-anchor-start,
[data-snap-tall] > .snap-anchor-end,
.splash > .snap-anchor-start,
.splash > .snap-anchor-end,
.page-banner > .snap-anchor-start,
.page-banner > .snap-anchor-end,
.course > .snap-anchor-start,
.course > .snap-anchor-end,
.cta-band > .snap-anchor-start,
.cta-band > .snap-anchor-end,
.footer > .snap-anchor-start,
.footer > .snap-anchor-end {
  scroll-snap-align: none;
}

/* Reduced motion: no sticky stacking, no paper lift. */
html.is-reduced .splash,
html.is-reduced .page-banner,
html.is-reduced .course,
html.is-reduced .cta-band,
html.is-reduced .footer,
html.is-reduced .error-page {
  position: relative;
  top: auto;
  box-shadow: none;
  border-radius: 0;
}
@media (prefers-reduced-motion: reduce) {
  .splash,
  .page-banner,
  .course,
  .cta-band,
  .footer,
  .error-page {
    position: relative;
    top: auto;
    box-shadow: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* ---- Inner page banners: type over the first photo, navy scrim only behind text ---- */
.page-banner {
  position: sticky;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #d5dbe3;
  color: var(--snow);
}
.page-banner-media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.page-banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02) brightness(1.06);
  transform: scale(1.06) translate3d(var(--sx, 0px), var(--sy, 0px), 0);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Short navy wash across the top; the stronger scrim lives on the copy. */
  background: linear-gradient(
    in oklab 180deg,
    color-mix(in oklab, var(--navy) 72%, #000) 0%,
    color-mix(in oklab, var(--navy) 36%, transparent) 14%,
    color-mix(in oklab, var(--navy) 10%, transparent) 28%,
    transparent 42%
  );
}
.page-banner-copy {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 2.2rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  max-width: var(--max);
}
.page-banner-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: calc(50% - 50vw);
  right: auto;
  top: calc(var(--header-h) + 0.4rem);
  bottom: 0;
  width: calc(50vw - 50% + clamp(22rem, 46vw, 58rem) + var(--gutter, 2rem));
  max-width: none;
  border-radius: 0 1.15rem 0 0;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--navy) 86%, #000) 0%,
    color-mix(in oklab, var(--navy) 72%, #000) 58%,
    color-mix(in oklab, var(--navy) 36%, transparent) 78%,
    transparent 100%
  );
}
.page-banner h1 {
  color: #fff;
  max-width: 22ch;
  text-shadow: 0 1px 2px color-mix(in oklab, #000 35%, transparent);
}
.page-banner .lede {
  color: color-mix(in oklab, #fff 92%, transparent);
  max-width: 36rem;
  text-shadow: 0 1px 2px color-mix(in oklab, #000 28%, transparent);
}
.page-banner .btn-solid {
  background: var(--snow);
  color: var(--navy);
}
.page-banner .btn-ghost {
  color: #fff;
  border-color: color-mix(in oklab, #fff 55%, transparent);
}
.page-banner .course-actions { margin-top: 1.2rem; }
@media (prefers-reduced-motion: reduce) {
  .page-banner-media img { transition: none; transform: none; }
}

/* Credentials sit on the first home splash so they are not skipped by snap. */
.splash .trust-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 3;
  padding: 0.65rem 0;
  background: color-mix(in oklab, var(--snow) 92%, transparent);
  border-block: 1px solid color-mix(in oklab, var(--navy) 10%, transparent);
  backdrop-filter: blur(8px);
}
.splash .trust-strip ul { justify-content: center; }
.splash .splash-cap { z-index: 3; }

/* ---- Beat carousels over the banner photo ---- */
.page-banner.beat-carousel {
  display: flex;
  flex-direction: column;
}
.page-banner.beat-carousel .page-banner-copy {
  flex: 0 0 auto;
  padding-bottom: 0.4rem;
}
.page-banner.beat-carousel .carousel {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
}
.carousel {
  outline: none;
}
.carousel-viewport {
  position: relative;
  overflow: hidden;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.carousel-track {
  position: relative;
  width: 100%;
}
.carousel-slide {
  width: 100%;
}
.carousel-card {
  margin: 0 auto;
  max-width: 36rem;
  padding: 1.25rem 1.4rem 1.3rem;
  background: color-mix(in oklab, var(--snow) 96%, transparent);
  color: var(--navy);
  border-radius: 0.35rem 0.9rem 0.9rem 0.35rem;
  box-shadow: 0 16px 40px color-mix(in oklab, var(--navy) 22%, transparent);
}
.carousel-card h2,
.carousel-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--navy);
}
.carousel-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--navy);
}
.carousel-card cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--navy-soft);
}
blockquote.carousel-card.quote {
  margin: 0 auto;
  border: 0;
  box-shadow: 0 16px 40px color-mix(in oklab, var(--navy) 22%, transparent);
}
blockquote.carousel-card.quote p { margin: 0; }

.carousel-card .quote p {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  margin: 0;
  color: var(--navy);
}
.carousel-card a.more {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 35%, transparent);
}
.carousel-card .carousel-wow {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.95;
  color: var(--navy);
  margin: 0 0 0.45rem;
  letter-spacing: 0.01em;
}
.standards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem 1.1rem;
}
.standards h3 { font-size: 1.15rem; margin: 0 0 0.3rem; }
.standards p { font-size: 0.88rem; line-height: 1.45; }

/*=======================================================================================*/
@media (max-width: 700px) {
  .standards { grid-template-columns: 1fr; }
  .carousel-card { padding: 1rem 1.05rem 1.1rem; }
}

/* Mode: fade (reviews) */
.beat-carousel[data-carousel="fade"] .carousel-slide {
  position: absolute;
  inset: auto 0 auto 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.beat-carousel[data-carousel="fade"] .carousel-slide.is-on {
  position: relative;
  top: auto;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.beat-carousel[data-carousel="fade"] .carousel-track { min-height: 8rem; }

/* Mode: reel (services index) — peek the next card, soft expo ease */
.beat-carousel[data-carousel="reel"] .carousel-viewport { overflow: hidden; }
.beat-carousel[data-carousel="reel"] .carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(calc(var(--carousel-i, 0) * -78%));
}
.beat-carousel[data-carousel="reel"] .carousel-slide {
  flex: 0 0 74%;
  opacity: 0.45;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.beat-carousel[data-carousel="reel"] .carousel-slide.is-on {
  opacity: 1;
  transform: scale(1);
}
.beat-carousel[data-carousel="reel"] .carousel-card { max-width: none; }

/* Mode: rise (estate) — quiet lift */
.beat-carousel[data-carousel="rise"] .carousel-slide {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateY(1.6rem);
  pointer-events: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.beat-carousel[data-carousel="rise"] .carousel-slide.is-on {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.beat-carousel[data-carousel="rise"] .carousel-card {
  background: color-mix(in oklab, var(--snow) 94%, transparent);
}

/* Mode: stack (divorce) — slight rotate, discrete */
.beat-carousel[data-carousel="stack"] .carousel-viewport { min-height: 14rem; }
.beat-carousel[data-carousel="stack"] .carousel-slide {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateY(0.6rem) rotate(-1.4deg);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.beat-carousel[data-carousel="stack"] .carousel-slide.is-on {
  opacity: 1;
  transform: rotate(0deg);
  pointer-events: auto;
  position: relative;
}
.beat-carousel[data-carousel="stack"] .carousel-card {
  border-left: 4px solid var(--navy);
}

/* Mode: step (PMI) — numbered, slides from the right, tighter easing */
.beat-carousel[data-carousel="step"] .carousel-slide {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateX(2.4rem);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.beat-carousel[data-carousel="step"] .carousel-slide.is-on {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.beat-carousel[data-carousel="step"] .step-no {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin: 0 0 0.35rem;
  font-weight: 650;
}

/* Mode: split (pre-listing) — left accent, ease-out from the side */
.beat-carousel[data-carousel="split"] .carousel-slide {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateX(3.2rem);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.beat-carousel[data-carousel="split"] .carousel-slide.is-on {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.beat-carousel[data-carousel="split"] .carousel-card {
  display: grid;
  grid-template-columns: 0.45rem 1fr;
  gap: 0 1.1rem;
  padding-left: 0.7rem;
  max-width: 38rem;
}
.beat-carousel[data-carousel="split"] .carousel-card::before {
  content: "";
  background: var(--navy);
  border-radius: 2px;
}

/* Mode: tick (measurement) — snappy, precise increments */
.beat-carousel[data-carousel="tick"] .carousel-slide {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateX(1.1rem);
  pointer-events: none;
  transition: opacity 0.28s linear, transform 0.32s cubic-bezier(0.2, 0, 0, 1);
}
.beat-carousel[data-carousel="tick"] .carousel-slide.is-on {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.beat-carousel[data-carousel="tick"] .carousel-card {
  border: 1px solid color-mix(in oklab, var(--navy) 16%, transparent);
  border-radius: 0.2rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  flex: 0 0 auto;
}
.carousel-btn {
  border: 1px solid color-mix(in oklab, var(--snow) 55%, transparent);
  background: color-mix(in oklab, var(--navy) 55%, transparent);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font: 600 0.75rem/1 Inter, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: var(--navy);
  border-color: #fff;
}
.carousel-dots {
  display: flex;
  gap: 0.4rem;
  margin-left: 0.25rem;
  flex-wrap: wrap;
}
.carousel-dots button {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in oklab, #fff 45%, transparent);
  cursor: pointer;
}
.carousel-dots button.is-on {
  background: #fff;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--navy) 35%, transparent);
}
.carousel-progress {
  display: block;
  height: 2px;
  width: min(12rem, 50%);
  margin: 0.65rem 0 0;
  background: color-mix(in oklab, #fff 28%, transparent);
  border: 0;
  appearance: none;
}
.carousel-progress::-webkit-progress-bar { background: color-mix(in oklab, #fff 28%, transparent); }
.carousel-progress::-webkit-progress-value { background: #fff; }
.carousel-progress::-moz-progress-bar { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .beat-carousel .carousel-slide,
  .beat-carousel .carousel-track,
  .page-banner-media img,
  .splash img {
    transition: none !important;
  }
}
@media (max-height: 720px) {
  .page-banner.beat-carousel .lede { display: none; }
  .page-banner.beat-carousel .page-banner-copy { padding-top: calc(var(--header-h) + 1.1rem); }
  .carousel-card .quote p { font-size: 1.15rem; }
}

/* ---- Preview 8: home funnel splashes and course wows ---- */
.splash-funnel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.splash-funnel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    in oklab 180deg,
    color-mix(in oklab, var(--navy) 72%, #000) 0%,
    color-mix(in oklab, var(--navy) 36%, transparent) 14%,
    color-mix(in oklab, var(--navy) 10%, transparent) 28%,
    transparent 42%
  );
}
.splash-copy {
  position: relative;
  z-index: 4;
  /* Banner hugs the type at the bottom; text stays on the wrap grid. */
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  max-width: var(--max);
  color: var(--snow);
}
.splash-has-trust .splash-copy {
  padding-top: 1.25rem;
}
.splash-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  /* Flush with the splash left and bottom (equal 0 inset). Text stays inset on .wrap. */
  left: calc(50% - 50vw);
  right: auto;
  top: 0;
  bottom: 0;
  width: calc(50vw - 50% + clamp(22rem, 46vw, 58rem) + var(--gutter, 2rem));
  max-width: none;
  border-radius: 0 1.15rem 0 0;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--navy) 86%, #000) 0%,
    color-mix(in oklab, var(--navy) 72%, #000) 58%,
    color-mix(in oklab, var(--navy) 36%, transparent) 78%,
    transparent 100%
  );
}
.splash-funnel h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  color: #fff;
  max-width: 22ch;
  margin: 0 0 0.7rem;
  text-shadow: 0 1px 2px color-mix(in oklab, #000 35%, transparent);
}
.splash-funnel .lede {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: color-mix(in oklab, #fff 92%, transparent);
  max-width: 36rem;
  margin: 0;
  text-shadow: 0 1px 2px color-mix(in oklab, #000 28%, transparent);
}
.splash-funnel .btn-solid {
  background: var(--snow);
  color: var(--navy);
}
.splash-funnel .btn-ghost {
  color: #fff;
  border-color: color-mix(in oklab, #fff 70%, transparent);
  background: color-mix(in oklab, var(--navy) 55%, transparent);
}
.splash-funnel .course-actions { margin-top: 1.2rem; }



/* Ghost buttons on cream paper must be navy, not snow-on-snow. */
.course-type .btn-ghost,
.course-split .btn-ghost,
.course-cta-lead .btn-ghost,
.cta-band .btn-ghost {
  color: var(--navy);
  border-color: color-mix(in oklab, var(--navy) 40%, transparent);
  background: transparent;
}
.course-type .btn-ghost:hover,
.course-split .btn-ghost:hover,
.course-cta-lead .btn-ghost:hover,
.cta-band .btn-ghost:hover {
  background: color-mix(in oklab, var(--navy) 7%, transparent);
}
.splash-funnel .carousel {
  position: relative;
  z-index: 4;
  padding-bottom: clamp(1.4rem, 4vw, 2.4rem);
}
.splash-funnel.beat-carousel {
  justify-content: flex-end;
}
.splash-funnel.beat-carousel .splash-copy {
  padding-bottom: 0.4rem;
}

/* Slow parallax under the assembling headline. Overflow stays on .splash
   so the scale cannot inflate scrollHeight. */
@property --py {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
.splash[data-wow="assemble"] img {
  transform: scale(1.12) translate3d(var(--sx, 0px), calc(var(--sy, 0px) + var(--py, 0px)), 0);
}
.splash[data-wow="assemble"].is-playing img {
  animation: wow-parallax 6.5s ease-out both;
}
.splash[data-wow="assemble"].is-wow-mid img {
  --py: -14px;
  animation: none;
}
.splash[data-wow="assemble"].is-played img {
  --py: 16px;
  animation: none;
}
html.is-reduced .splash[data-wow="assemble"] img {
  --py: 0px;
  animation: none;
  transform: none;
}
@keyframes wow-parallax {
  from { --py: -28px; }
  to { --py: 16px; }
}

/* Assemble headline */
.splash-funnel [data-assemble-word] {
  display: inline-block;
}
.splash-funnel.is-armed [data-assemble-word] {
  opacity: 0;
  transform: translate3d(0, 0.55em, 0);
}
.splash-funnel.is-played [data-assemble-word],
html.is-reduced .splash-funnel [data-assemble-word] {
  opacity: 1;
  transform: none;
}
.splash-funnel.is-wow-mid [data-assemble-word] {
  opacity: 1;
  transform: none;
  animation: none;
}
.splash-funnel.is-wow-mid [data-assemble-word]:nth-of-type(n+6) {
  opacity: 0;
  transform: translate3d(0, 0.55em, 0);
}
.splash-funnel.is-wow-mid [data-assemble-word]:nth-of-type(6) {
  opacity: 0.4;
  transform: translate3d(0, 0.28em, 0);
}
.splash-funnel.is-playing [data-assemble-word] {
  animation: wow-assemble 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes wow-assemble {
  from { opacity: 0; transform: translate3d(0, 0.55em, 0); }
  to { opacity: 1; transform: none; }
}

/* Signature underline */
.sign-rule {
  display: block;
  width: min(14rem, 50%);
  height: 2px;
  margin: 0.35rem 0 1rem;
  background: color-mix(in oklab, #fff 80%, transparent);
  transform: scaleX(1);
  transform-origin: left center;
}
.is-armed[data-wow="sign"] .sign-rule {
  transform: scaleX(0);
}
.is-playing[data-wow="sign"] .sign-rule,
.is-wow-mid[data-wow="sign"] .sign-rule {
  animation: wow-sign 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.is-played[data-wow="sign"] .sign-rule,
html.is-reduced [data-wow="sign"] .sign-rule {
  transform: scaleX(1);
  animation: none;
}
.is-wow-mid[data-wow="sign"] .sign-rule { transform: scaleX(0.52); animation: none; }
@keyframes wow-sign {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Ruler across a photo */
.ruler-wow {
  position: absolute;
  left: 12%;
  right: 10%;
  top: 32%;
  bottom: auto;
  z-index: 3;
  pointer-events: none;
  height: 0;
}
.ruler-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: color-mix(in oklab, #fff 86%, var(--navy));
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--navy) 25%, transparent);
}
.ruler-ticks {
  position: absolute;
  left: 0;
  top: -8px;
  height: 18px;
  width: 100%;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    90deg,
    #fff 0 2px,
    transparent 2px 28px
  );
  opacity: 0.9;
}
.ruler-tag {
  position: absolute;
  top: 1.85rem;
  left: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--snow);
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  transform: none;
  right: 0;
  left: auto;
  white-space: nowrap;
}
.is-armed[data-wow="ruler"] .ruler-line,
.is-armed[data-wow="ruler"] .ruler-ticks { width: 0; }
.is-armed[data-wow="ruler"] .ruler-tag {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  left: 0;
  right: auto;
}
.is-playing[data-wow="ruler"] .ruler-line,
.is-playing[data-wow="ruler"] .ruler-ticks {
  animation: wow-ruler 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-playing[data-wow="ruler"] .ruler-tag {
  animation: wow-ruler-tag 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}
.is-played[data-wow="ruler"] .ruler-line,
.is-played[data-wow="ruler"] .ruler-ticks,
.is-wow-mid[data-wow="ruler"] .ruler-line,
.is-wow-mid[data-wow="ruler"] .ruler-ticks,
html.is-reduced [data-wow="ruler"] .ruler-line,
html.is-reduced [data-wow="ruler"] .ruler-ticks {
  width: 100%;
  animation: none;
}
.is-played[data-wow="ruler"] .ruler-tag,
html.is-reduced [data-wow="ruler"] .ruler-tag {
  opacity: 1;
  transform: none;
  left: auto;
  right: 0;
  animation: none;
}
.is-wow-mid[data-wow="ruler"] .ruler-line,
.is-wow-mid[data-wow="ruler"] .ruler-ticks { width: 52%; animation: none; }
.is-wow-mid[data-wow="ruler"] .ruler-tag {
  opacity: 1;
  transform: none;
  left: 48%;
  animation: none;
}
@keyframes wow-ruler {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes wow-ruler-tag {
  from { opacity: 0; transform: translate3d(0, 8px, 0); left: 70%; }
  to { opacity: 1; transform: none; left: auto; }
}

/* Services fan */
.fan-deck {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  perspective: 80rem;
}
.fan-card {
  margin: 0;
  transform-origin: 50% 110%;
}
.is-armed[data-wow="fan"] .fan-card {
  opacity: 0;
  transform: translate3d(0, 2.2rem, 0) rotate(var(--fan-from, 0deg));
}
.fan-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border: 1px solid color-mix(in oklab, var(--navy) 10%, transparent);
  box-shadow: 0 10px 24px color-mix(in oklab, var(--navy) 8%, transparent);
}
.fan-card img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  display: block;
}
.fan-card h3 {
  margin: 0.75rem 0.85rem 0.25rem;
  font-size: 1.05rem;
}
.fan-card p {
  margin: 0 0.85rem 0.95rem;
  font-size: 0.92rem;
}
.is-playing[data-wow="fan"] .fan-card {
  animation: wow-fan 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.is-played[data-wow="fan"] .fan-card,
html.is-reduced [data-wow="fan"] .fan-card {
  opacity: 1;
  transform: none;
  animation: none;
}
.is-wow-mid[data-wow="fan"] .fan-card {
  opacity: 1;
  animation: none;
}
.is-wow-mid[data-wow="fan"] .fan-card:nth-child(1) { transform: translate3d(-8%, 0.6rem, 0) rotate(-9deg); }
.is-wow-mid[data-wow="fan"] .fan-card:nth-child(2) { transform: translate3d(-3%, 0.25rem, 0) rotate(-4deg); }
.is-wow-mid[data-wow="fan"] .fan-card:nth-child(3) { transform: none; }
.is-wow-mid[data-wow="fan"] .fan-card:nth-child(4) { transform: translate3d(3%, 0.25rem, 0) rotate(4deg); }
.is-wow-mid[data-wow="fan"] .fan-card:nth-child(5) { transform: translate3d(8%, 0.6rem, 0) rotate(9deg); }
@keyframes wow-fan {
  from { opacity: 0; transform: translate3d(0, 40%, 0) rotate(var(--fan-from, 0deg)) scale(0.92); }
  to { opacity: 1; transform: none; }
}
.fan-card:nth-child(1) { --fan-from: -16deg; --i: 0; }
.fan-card:nth-child(2) { --fan-from: -8deg; --i: 1; }
.fan-card:nth-child(3) { --fan-from: 0deg; --i: 2; }
.fan-card:nth-child(4) { --fan-from: 8deg; --i: 3; }
.fan-card:nth-child(5) { --fan-from: 16deg; --i: 4; }

/* Split paper + photo */
.split-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}
.split-board-tight { align-items: stretch; }
.split-photo {
  margin: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  min-height: 16rem;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 16rem;
}
.split-photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  background: transparent;
  overflow: visible;
}
.split-photo-stack img { min-height: 10rem; border-radius: 0.55rem; }

/* Timeline draws itself */
.draw-timeline {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0 0 0 1.15rem;
  position: relative;
}
.draw-timeline::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: color-mix(in oklab, var(--navy) 18%, transparent);
  transform: scaleY(1);
  transform-origin: top center;
}
.is-armed[data-wow="timeline"] .draw-timeline::before { transform: scaleY(0); }
.draw-timeline li {
  position: relative;
  padding: 0 0 1.15rem 0.9rem;
}
.is-armed[data-wow="timeline"] .draw-timeline li {
  opacity: 0;
  transform: translate3d(0, 0.6rem, 0);
}
.draw-timeline li::before {
  content: "";
  position: absolute;
  left: -1.08rem;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 3px var(--paper);
}
.draw-timeline h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.draw-timeline p { margin: 0; }
.is-playing[data-wow="timeline"] .draw-timeline::before {
  animation: wow-line 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-playing[data-wow="timeline"] .draw-timeline li {
  animation: wow-step 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-playing[data-wow="timeline"] .draw-timeline li:nth-child(1) { animation-delay: 0.15s; }
.is-playing[data-wow="timeline"] .draw-timeline li:nth-child(2) { animation-delay: 0.4s; }
.is-playing[data-wow="timeline"] .draw-timeline li:nth-child(3) { animation-delay: 0.65s; }
.is-played[data-wow="timeline"] .draw-timeline::before,
html.is-reduced [data-wow="timeline"] .draw-timeline::before,
.is-wow-mid[data-wow="timeline"] .draw-timeline::before {
  transform: scaleY(1);
  animation: none;
}
.is-wow-mid[data-wow="timeline"] .draw-timeline::before { transform: scaleY(0.5); }
.is-played[data-wow="timeline"] .draw-timeline li,
html.is-reduced [data-wow="timeline"] .draw-timeline li {
  opacity: 1;
  transform: none;
  animation: none;
}
.is-wow-mid[data-wow="timeline"] .draw-timeline li:nth-child(1),
.is-wow-mid[data-wow="timeline"] .draw-timeline li:nth-child(2) {
  opacity: 1;
  transform: none;
}
.is-wow-mid[data-wow="timeline"] .draw-timeline li:nth-child(3) {
  opacity: 0;
  transform: translate3d(0, 0.6rem, 0);
}
@keyframes wow-line {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes wow-step {
  from { opacity: 0; transform: translate3d(0, 0.6rem, 0); }
  to { opacity: 1; transform: none; }
}

/* Path doors. Resting pose is the mid-open perspective from Aaron's
   preview-8 screenshot: left card rotateY(32deg), right mirrored. */
.door-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
  margin-top: 1.6rem;
  padding: 0.6rem 0.2rem 1.2rem;
  perspective: 90rem;
}
.door {
  position: relative;
  display: grid;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 0.55rem;
  color: #fff;
  text-decoration: none;
  transform-origin: left center;
  transform: rotateY(32deg);
}
.is-played[data-wow="doors"] .door {
  transition: transform 0.45s ease-in-out;
}
.is-snap-pose[data-wow="doors"] .door,
.is-snap-pose[data-wow="doors"] .door:nth-child(2) {
  transition: none !important;
}
.door:nth-child(2) {
  transform-origin: right center;
  transform: rotateY(-32deg);
}
.is-armed[data-wow="doors"] .door {
  opacity: 0;
  transform: rotateY(72deg);
  transition: none;
}
.is-armed[data-wow="doors"] .door:nth-child(2) { transform: rotateY(-72deg); }
.door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02) brightness(0.85);
}
.door-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.4rem 1.3rem 1.3rem;
  background: linear-gradient(in oklab, transparent 0%, color-mix(in oklab, var(--navy) 82%, #000) 70%);
}
.door h3 { margin: 0 0 0.3rem; color: #fff; }
.door p { margin: 0 0 0.7rem; color: color-mix(in oklab, #fff 90%, transparent); }
.door-go {
  display: inline-block;
  border-bottom: 1px solid color-mix(in oklab, #fff 55%, transparent);
  letter-spacing: 0.03em;
}
.is-playing[data-wow="doors"] .door {
  animation: wow-door 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-playing[data-wow="doors"] .door:nth-child(2) {
  animation: wow-door-r 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.is-played[data-wow="doors"] .door,
.is-wow-mid[data-wow="doors"] .door {
  opacity: 1;
  animation: none;
  transform: rotateY(32deg);
}
.is-played[data-wow="doors"] .door:nth-child(2),
.is-wow-mid[data-wow="doors"] .door:nth-child(2) {
  transform: rotateY(-32deg);
}
.door:hover,
.door:focus-visible,
.is-played[data-wow="doors"] .door:hover,
.is-played[data-wow="doors"] .door:focus-visible,
.is-wow-mid[data-wow="doors"] .door:hover,
.is-wow-mid[data-wow="doors"] .door:focus-visible {
  transform: none;
}
@media (hover: none) {
  /* Touch: ignore sticky :hover, flatten on tap-focus only. */
  .door:hover,
  .is-played[data-wow="doors"] .door:hover,
  .is-wow-mid[data-wow="doors"] .door:hover {
    transform: rotateY(32deg);
  }
  .door:nth-child(2):hover,
  .is-played[data-wow="doors"] .door:nth-child(2):hover,
  .is-wow-mid[data-wow="doors"] .door:nth-child(2):hover {
    transform: rotateY(-32deg);
  }
  .door:focus,
  .door:focus-visible,
  .is-played[data-wow="doors"] .door:focus,
  .is-played[data-wow="doors"] .door:focus-visible {
    transform: none;
  }
}
html.is-reduced [data-wow="doors"] .door,
html.is-reduced [data-wow="doors"] .door:nth-child(2),
html.is-reduced [data-wow="doors"] .door:hover,
html.is-reduced [data-wow="doors"] .door:focus,
html.is-reduced [data-wow="doors"] .door:focus-visible {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}
@keyframes wow-door {
  from { opacity: 0; transform: rotateY(72deg); }
  to { opacity: 1; transform: rotateY(32deg); }
}
@keyframes wow-door-r {
  from { opacity: 0; transform: rotateY(-72deg); }
  to { opacity: 1; transform: rotateY(-32deg); }
}

/* Credential stamps */
.stamp-rack {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.stamp {
  margin: 0;
  padding: 0.85rem 0.9rem 0.8rem;
  border: 2px solid color-mix(in oklab, var(--navy) 55%, transparent);
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--navy) 12%, transparent);
  border-radius: 0.2rem;
  color: var(--navy);
  background: rgb(252, 250, 246); /* was mix(paper 70%, #fff); opaque rgb so contrast can measure */
  transform: rotate(var(--stamp-r, -4deg));
}
.is-armed[data-wow="stamps"] .stamp {
  opacity: 0;
  transform: rotate(var(--stamp-r, -4deg)) scale(1.18) translate3d(0, -18%, 0);
}
.stamp strong { display: block; font-size: 1.05rem; margin: 0.15rem 0; }
.stamp span { display: block; font-size: 0.82rem; }
.stamp:nth-child(1) { --stamp-r: -3.5deg; --i: 0; }
.stamp:nth-child(2) { --stamp-r: 3deg; --i: 1; }
.stamp:nth-child(3) { --stamp-r: 2deg; --i: 2; }
.stamp:nth-child(4) { --stamp-r: -2.5deg; --i: 3; }
.is-playing[data-wow="stamps"] .stamp {
  animation: wow-stamp 0.55s cubic-bezier(0.18, 1, 0.24, 1) both;
  animation-delay: calc(var(--i, 0) * 140ms);
}
.is-played[data-wow="stamps"] .stamp,
html.is-reduced [data-wow="stamps"] .stamp {
  opacity: 1;
  transform: rotate(var(--stamp-r, 0deg));
  animation: none;
}
.is-wow-mid[data-wow="stamps"] .stamp:nth-child(1),
.is-wow-mid[data-wow="stamps"] .stamp:nth-child(2) {
  opacity: 1;
  transform: rotate(var(--stamp-r, 0deg));
}
.is-wow-mid[data-wow="stamps"] .stamp:nth-child(3),
.is-wow-mid[data-wow="stamps"] .stamp:nth-child(4) {
  opacity: 0.35;
  transform: rotate(var(--stamp-r, 0deg)) scale(1.1) translate3d(0, -10%, 0);
}
@keyframes wow-stamp {
  0% { opacity: 0; transform: rotate(var(--stamp-r, 0deg)) scale(1.2) translate3d(0, -22%, 0); }
  70% { opacity: 1; transform: rotate(var(--stamp-r, 0deg)) scale(0.98); }
  100% { opacity: 1; transform: rotate(var(--stamp-r, 0deg)) scale(1); }
}
/*==================================================================================================================================================*/
@media (max-width: 980px) {
  .fan-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fan-deck .fan-card:last-child { grid-column: 1 / -1; }
  .split-board,
  .door-row { grid-template-columns: 1fr; }
  .door { min-height: 16rem; }
  .door,
  .door:nth-child(2) {
    transform-origin: 50% 100%;
  }
  .door { transform: rotateY(14deg); }
  .door:nth-child(2) { transform: rotateY(-14deg); }
  .is-armed[data-wow="doors"] .door { transform: translate3d(0, 1.4rem, 0); }
  .is-armed[data-wow="doors"] .door:nth-child(2) { transform: translate3d(0, 1.4rem, 0); }
  .is-played[data-wow="doors"] .door,
  .is-wow-mid[data-wow="doors"] .door { transform: rotateY(14deg); }
  .is-played[data-wow="doors"] .door:nth-child(2),
  .is-wow-mid[data-wow="doors"] .door:nth-child(2) { transform: rotateY(-14deg); }
  .is-playing[data-wow="doors"] .door { animation-name: wow-door-s; }
  .is-playing[data-wow="doors"] .door:nth-child(2) { animation-name: wow-door-s; animation-delay: 0.12s; }
}
/*====================================================================================================================================================*/
@media (max-width: 980px) and (hover: none) {
  .door:hover,
  .is-played[data-wow="doors"] .door:hover,
  .is-wow-mid[data-wow="doors"] .door:hover { transform: rotateY(14deg); }
  .door:nth-child(2):hover,
  .is-played[data-wow="doors"] .door:nth-child(2):hover { transform: rotateY(-14deg); }
  .door:focus,
  .door:focus-visible,
  .is-played[data-wow="doors"] .door:focus,
  .is-played[data-wow="doors"] .door:focus-visible { transform: none; }
}
@keyframes wow-door-s {
  from { opacity: 0; transform: translate3d(0, 1.4rem, 0); }
  to { opacity: 1; transform: rotateY(14deg); }
}
/*=======================================================================================================================================================*/
@media (max-width: 700px) {
  .fan-deck { grid-template-columns: 1fr; }
  .fan-deck .fan-card:last-child { grid-column: auto; }
  .stamp-rack { grid-template-columns: 1fr; }
  .fan-card img { height: 10rem; }
  .splash-funnel .course-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .splash-funnel [data-assemble-word],
  .sign-rule,
  .ruler-line,
  .ruler-ticks,
  .ruler-tag,
  .fan-card,
  .draw-timeline::before,
  .draw-timeline li,
  .door,
  .door:nth-child(2),
  .stamp {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}



/* ---- Preview 11: reel card planes + mobile landscape sheets ----
   Interpretation of the design-tips reel, applied to home/site cards:
   (1) three planes — oversized type at the back, the subject (photo or
   primary fact) overlapping it, the action in front; (2) signal color
   only on tap targets; (3) skip the middle sizes. Aaron's earlier
   rules in this file are left intact; these come after so landscape
   and card planes can refine them without rewriting those blocks. */

.lede-emph { font-weight: 700; color: inherit; }

/* Fan service cards */
.fan-card a {
  position: relative;
  isolation: isolate;
  background: var(--paper);
}
.fan-card a::before {
  content: attr(data-plane);
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  top: auto;
  bottom: 0.05rem;
  z-index: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 0.72;
  letter-spacing: -0.05em;
  color: color-mix(in oklab, var(--ink) 20%, transparent);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}
.fan-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-left: 0;
  height: 9.8rem;
  margin-bottom: -1.55rem;
  object-fit: cover;
  filter: none;
}
.fan-card h3,
.fan-card p {
  position: relative;
  z-index: 2;
}
.fan-card h3 {
  width: 100%;
  margin: 1.5rem 0.7rem 0.15rem 0;
  padding: 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--ink);
  color: var(--snow);
}
.fan-card p {
  margin: 0 0.7rem 0.35rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--navy-soft);
}
.fan-card a::after {
  content: "View";
  position: relative;
  z-index: 3;
  display: inline-block;
  align-self: flex-start;
  margin: 0.15rem 0.7rem 0.7rem;
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--signal);
}

/* Path doors: keep the angled home base; flatten still comes from
   the earlier hover/focus rules. Photo stays bright (no dim). */
.door::before {
  content: attr(data-plane);
  position: absolute;
  left: -0.08em;
  top: 0.02em;
  z-index: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: clamp(4.6rem, 11vw, 8.5rem);
  line-height: 0.7;
  letter-spacing: -0.07em;
  color: color-mix(in oklab, var(--ink) 22%, transparent);
  pointer-events: none;
  white-space: nowrap;
}
.door img {
  z-index: 1;
  inset: auto;
  width: 86%;
  height: 86%;
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  filter: saturate(1.04) contrast(1.02) brightness(1);
}
.door-copy {
  z-index: 3;
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  padding: 0.7rem 0.95rem 0.8rem;
}
.door h3 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}
.door p {
  font-size: 0.72rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  color: var(--navy-soft);
}
.door-go {
  color: var(--signal);
  border-bottom-color: var(--signal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Credential stamps */
.stamp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: color-mix(in oklab, var(--paper) 85%, #fff);
  border-color: color-mix(in oklab, var(--ink) 35%, transparent);
  color: var(--ink);
}
.stamp::before {
  content: attr(data-plane);
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  z-index: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 0.7;
  letter-spacing: -0.06em;
  color: color-mix(in oklab, var(--ink) 14%, transparent);
  pointer-events: none;
  white-space: nowrap;
}
.stamp strong,
.stamp span,
.stamp {
  /* strong/span stay in front of the word */
}
.stamp strong,
.stamp span {
  position: relative;
  z-index: 1;
}
.stamp strong {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.stamp span {
  font-size: 0.65rem;
  line-height: 1.3;
}

/* Review cards */
.carousel-card.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}
.carousel-card.quote::before {
  content: attr(data-plane);
  position: absolute;
  left: -0.08em;
  top: -0.28em;
  z-index: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 7.4rem;
  line-height: 0.7;
  color: color-mix(in oklab, var(--ink) 12%, transparent);
  pointer-events: none;
}
.carousel-card.quote p {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
}
.carousel-card.quote cite {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
}
.carousel-btn {
  color: var(--snow);
  background: var(--signal);
  border-color: var(--signal);
}
.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: color-mix(in oklab, var(--signal) 88%, #000);
  border-color: var(--signal);
  color: var(--snow);
}

/* Order chips: all are tap targets, so all use the signal; keep them small. */
.svc-chips a {
  color: var(--signal);
  border-color: color-mix(in oklab, var(--signal) 55%, var(--paper));
  background: var(--paper);
  font-size: 0.7rem;
  padding: 0.32rem 0.65rem;
}
.svc-chips a:hover,
.svc-chips a:focus-visible {
  background: var(--signal);
  color: var(--snow);
  border-color: var(--signal);
}

/* Paper-course ghost already navy; keep them as signal tap targets. */
.course-type .btn-ghost,
.course-split .btn-ghost,
.cta-band .btn-ghost {
  color: var(--signal);
  border-color: var(--signal);
}

/* Short landscape: every home sheet has to work at ~390px tall. */
@media (orientation: landscape) and (max-height: 500px) {
  .course,
  .error-page {
    padding-top: calc(var(--header-h) + 1.15rem);
    padding-bottom: 0.8rem;
  }
  .course h2,
  .cta-band h2,
  .splash-copy h2 {
    font-size: clamp(1.35rem, 5.6vh, 2.15rem);
    max-width: 28ch;
  }
  .course .lede,
  .cta-band .lede,
  .splash-copy .lede {
    font-size: 0.82rem;
    margin-top: 0.25rem;
  }
  .course-actions { margin-top: 0.7rem; }

  main > .trust-strip {
    padding: 0.35rem 0;
  }
  .trust-strip li { font-size: 0.6rem; }

  .splash-copy {
    padding-top: 0.4rem;
    padding-bottom: 0.7rem;
  }

  /* Portrait of Kelton: sit in the right/bottom so the name and
     buttons stay readable. Does not rewrite Aaron's portrait queries;
     this landscape block simply wins while the phone is on its side. */
  #klKleinman {
    position: absolute;
    top: auto;
    left: auto;
    right: 3%;
    bottom: 3%;
    width: min(34vh, 30vw);
    height: auto;
    z-index: 2;
  }

  .fan-deck {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.7rem;
  }
  .fan-deck .fan-card:last-child { grid-column: auto; }
  .fan-card img { height: 4.8rem; margin-bottom: -1rem; width: 100%; margin-left: 0; }
  .fan-card a::before { font-size: clamp(1.8rem, 5.5vh, 2.6rem); top: auto; bottom: 0.05rem; }
  .fan-card h3 { margin-top: 1.05rem; }

  .split-board {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    align-items: start;
  }
  .split-photo,
  .split-photo img {
    min-height: 0;
    max-height: calc(100vh - var(--header-h) - 2.4rem);
    object-fit: cover;
  }
  .split-photo-stack img { min-height: 5.5rem; }
  .draw-timeline { margin-top: 0.5rem; }
  .draw-timeline li { padding-bottom: 0.45rem; }
  .draw-timeline h3 { font-size: 0.8rem; }
  .draw-timeline p { font-size: 0.72rem; }

  .door-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 0.45rem;
    padding: 0.15rem 0 0.3rem;
    gap: 0.7rem 0.9rem;
  }
  .door { min-height: 10.5rem; }
  .door::before { font-size: clamp(3.2rem, 10vh, 5rem); }
  .door-copy { padding: 0.7rem 0.8rem 0.7rem; }

  .stamp { padding: 0.45rem 0.55rem 0.4rem; }
  .stamp::before { font-size: 2.6rem; }

  .page-banner-copy {
    padding-top: calc(var(--header-h) + 0.7rem);
    padding-bottom: 1.2rem;
  }

  .carousel-card.quote p { font-size: 0.72rem; }
  .carousel-card.quote::before { font-size: 4.6rem; }
  .carousel { margin-top: 0.3rem; }

  .cta-band { padding-top: calc(var(--header-h) + 0.8rem); padding-bottom: 1rem; }
  .quote-form, .contact-form { font-size: 0.85rem; }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 700px) {
  .fan-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fan-card:nth-child(4),
  .fan-card:nth-child(5) { /* stay in the 3-col grid */ }
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .split-board { grid-template-columns: 0.9fr 1.1fr; }
  .door { min-height: 10rem; }
}

/* While the mobile nav is open or restoring scroll, snap must not
   steal the saved page position (courses.css wins over site.css). */
html.js.sheet-snap.has-tall.nav-open,
html.js.sheet-snap.has-tall.nav-restoring,
html.js.sheet-snap.nav-open,
html.js.sheet-snap.nav-restoring,
html.nav-open,
html.nav-restoring {
  scroll-snap-type: none;
}

/* Preview 13: while a hard-flick trap is easing to the next sheet,
   snap must not fight the programmatic scroll or re-snap past the target. */
html.js.flick-trap,
html.js.sheet-snap.flick-trap,
html.js.sheet-snap.has-tall.flick-trap {
  scroll-snap-type: none;
}

/* ---- Preview 14: design the extra width; card/door/carousel hover ----
   Aaron, 3 Dec 2026: take up the whole screen, thoughtfully. */

@media (min-width: 1200px) and (min-height: 501px) {
  .course h2,
  .cta-band h2 {
    font-size: clamp(2.15rem, 3.8vw, 4.4rem);
  }
  .splash-funnel h2 {
    font-size: clamp(2.15rem, 4.6vw, 5.2rem);
    max-width: 22ch;
  }
  .splash-funnel .lede {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    max-width: var(--measure, 42rem);
  }

  /* Services fan: use the full width; sheet centering is the root rule. */
  #services .fan-deck {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.8rem, 1.4vw, 1.8rem);
    align-items: stretch;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
  }
  #services .fan-card img {
    height: clamp(12rem, 28vh, 26rem);
    margin-bottom: -2rem;
  }
  #services .fan-card a::before {
    font-size: clamp(3.1rem, 5.4vw, 7.2rem);
  }
  #services .fan-card h3 {
    font-size: clamp(0.76rem, 0.95vw, 1rem);
    margin-top: 1.7rem;
  }
  #services .fan-card p {
    font-size: clamp(0.72rem, 0.9vw, 0.95rem);
  }

  .course .split-board {
    align-items: stretch;
    gap: clamp(1.4rem, 3.5vw, 3.5rem);
  }

  .draw-timeline {
    margin-top: 1.6rem;
  }
  .draw-timeline h3 { font-size: clamp(1.1rem, 1.4vw, 1.45rem); }
  .draw-timeline p { font-size: clamp(0.95rem, 1.05vw, 1.15rem); }
  .draw-timeline li { padding-bottom: 1.35rem; }

  #paths .door-row {
    gap: clamp(1.4rem, 3vw, 3rem);
    margin-top: 1.8rem;
  }

  #credentials .stamp-rack {
    gap: clamp(0.85rem, 1.4vw, 1.4rem);
  }
  #credentials .stamp {
    min-height: 7.5rem;
    padding: 1.1rem 1.15rem 1rem;
  }

  .beat-carousel .carousel,
  .page-banner.beat-carousel .carousel,
  .splash-funnel.beat-carousel .carousel {
    max-width: none;
    width: 100%;
  }
  .carousel-card {
    max-width: min(46rem, 100%);
  }
  .carousel-card.quote p {
    font-size: clamp(1.25rem, 1.8vw, 1.85rem);
  }
}

@media (min-width: 1600px) and (min-height: 501px) {
  #services .fan-card img {
    height: clamp(14rem, 32vh, 30rem);
  }
  #credentials .stamp-rack {
    grid-template-columns: 1fr 1fr;
  }
  .stamp::before { font-size: clamp(3.6rem, 5vw, 6rem); }
}

@media (min-width: 1920px) and (min-height: 501px) {
  #services .fan-card a::before {
    font-size: clamp(4rem, 5vw, 8rem);
  }
  .carousel-card { max-width: min(52rem, 100%); }
}

@media (min-width: 2560px) and (min-height: 501px) {
  :root { --gutter: clamp(1.5rem, 2.2vw, 5.5rem); }
  .splash-funnel h2 { font-size: clamp(3rem, 4.2vw, 6rem); }
  #services .fan-card img { height: clamp(16rem, 34vh, 34rem); }
}

/* Cards, doors, chips, carousel — hover on fine pointers only. */
.fan-card a,
.door,
.svc-card,
.carousel-card,
.svc-chips a,
.carousel-btn {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}
.fan-card img {
  transition: transform 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .fan-card a:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px color-mix(in oklab, var(--navy) 16%, transparent);
    border-color: color-mix(in oklab, var(--signal) 45%, var(--navy));
  }
  .fan-card a:hover img {
    transform: scale(1.06);
  }
  .fan-card a:active {
    transform: translateY(-2px);
  }
  .svc-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in oklab, var(--signal) 50%, #fff);
  }
  .carousel-card.quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px color-mix(in oklab, var(--navy) 14%, transparent);
  }
  .svc-chips a:hover,
  .svc-chips a:focus-visible {
    background: var(--signal);
    color: var(--snow);
    border-color: var(--signal);
  }
  .carousel-btn:hover,
  .carousel-btn:focus-visible {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--snow);
    transform: translateY(-1px);
  }
  .carousel-dots button:hover {
    background: var(--signal-on-dark, #cf6500);
  }
  .year-tabs button:hover {
    background: color-mix(in oklab, var(--signal) 14%, transparent);
    border-color: var(--signal);
  }
  /* Doors: keep the 32° rest and flatten on hover (already defined);
     add a light lift/shadow so the hover is unmistakable. */
  .door:hover,
  .door:focus-visible,
  .is-played[data-wow="doors"] .door:hover,
  .is-played[data-wow="doors"] .door:focus-visible {
    box-shadow: 0 18px 40px color-mix(in oklab, var(--navy) 28%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fan-card a,
  .fan-card img,
  .svc-card,
  .carousel-card,
  .door {
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease !important;
  }
  .fan-card a:hover,
  .fan-card a:hover img,
  .svc-card:hover,
  .carousel-card.quote:hover {
    transform: none !important;
  }
}


/* ---- Preview 14: vertically center non-tall course sheets ----
   Aaron, 3 Dec 2026: even just centering the content in the screen helps.
   One rule for every .course / .error-page that is not [data-snap-tall].
   Visible gap above the content (below the header) equals the gap below. */
.course:not([data-snap-tall]),
.error-page:not([data-snap-tall]),
.cta-band:not([data-snap-tall]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  box-sizing: border-box;
  padding-top: var(--header-h);
  padding-bottom: 0;
}
.course:not([data-snap-tall]) > .wrap,
.error-page:not([data-snap-tall]) > .wrap,
.cta-band:not([data-snap-tall]) > .wrap {
  flex: 0 0 auto;
  width: 100%;
  margin-block: 0;
}
/* Tall sheets stay top-started so their bottoms remain reachable. */
.course[data-snap-tall],
.error-page[data-snap-tall] {
  display: block;
  height: auto;
  max-height: none;
  justify-content: flex-start;
  padding-top: max(clamp(3.5rem, 8vw, 6.5rem), calc(var(--header-h) + 2.2rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

/* Landscape compact used to add leftover padding under the header and a
   smaller padding-bottom, which sat short courses high. Keep the same
   optical-center rule; typography compacting stays in the earlier query. */
@media (orientation: landscape) and (max-height: 500px) {
  .course:not([data-snap-tall]),
  .error-page:not([data-snap-tall]),
  .cta-band:not([data-snap-tall]) {
    padding-top: var(--header-h);
    padding-bottom: 0;
  }
}


/* ---- Round 15b: first sheet after the sticky trust strip ----
   Aaron's reorder puts #paths (a paper course) right under the strip.
   The strip is sticky under the header and sits above that first sheet,
   so the sheet's optical-center padding must clear header + strip.
   --strip-h is measured in js/courses.js (0 when the strip is not sticky). */
main > .trust-strip + .sheet-anchor-start + .course:not([data-snap-tall]),
main > .trust-strip + .course:not([data-snap-tall]) {
  padding-top: calc(var(--header-h) + var(--strip-h, 0px));
}
main > .trust-strip + .sheet-anchor-start + .course[data-snap-tall],
main > .trust-strip + .course[data-snap-tall] {
  padding-top: calc(var(--header-h) + var(--strip-h, 0px) + 1.6rem);
}

/* ---- Round 15b item 5: mobile page banners sit at the BOTTOM of the photo ----
   Navy title scrim moves from under the header to the foot of the banner.
   Beat-carousel banners keep the carousel under the header and put the
   title block under it, at the bottom. */
@media (max-width: 980px) {
  .page-banner {
    justify-content: flex-end;
  }
  .page-banner-copy {
    padding-top: 1.4rem;
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  }
  .page-banner-copy::before {
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    width: auto;
    border-radius: 1.15rem 1.15rem 0 0;
    background: linear-gradient(
      90deg,
      color-mix(in oklab, var(--navy) 90%, #000) 0%,
      color-mix(in oklab, var(--navy) 82%, #000) 70%,
      color-mix(in oklab, var(--navy) 66%, #000) 100%
    );
  }
  .page-banner.beat-carousel .carousel-viewport { flex: 0 0 auto; }
  .page-banner.beat-carousel .carousel { justify-content: center; }
  .page-banner.beat-carousel {
    justify-content: flex-start;
    padding-top: var(--header-h);
  }
  .page-banner.beat-carousel .carousel { order: 1; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .page-banner.beat-carousel .page-banner-copy {
    order: 2;
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
  }
  .page-banner.beat-carousel .page-banner-copy::before { top: 0; }
}
@media (max-width: 980px) and (max-height: 720px) {
  .page-banner.beat-carousel .page-banner-copy { padding-top: 0.8rem; }
}

/* ---- Round 15b item 9: About / Kelton banner ----
   Desktop: Aaron's devtools values (no padding-bottom, top -6px).
   Mobile: the banner moves to the bottom right on a more opaque gradient,
   and the family photo is framed so the banner never covers anyone.
   Family box in the photo (fractions): x 0.175-0.735, y 0.355-0.875. */
.page-banner--kelton .page-banner-copy {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 1.2rem);
  padding-bottom: 0;
  max-width: var(--max);
  top: -6px;
}
@media (max-width: 980px) {
  .page-banner--kelton {
    background: color-mix(in oklab, var(--navy) 88%, #000);
    justify-content: flex-end;
  }
  .page-banner--kelton::after { background: linear-gradient(in oklab 180deg, color-mix(in oklab, var(--navy) 72%, #000) 0%, transparent 12%); }
  .page-banner--kelton .page-banner-media {
    inset: var(--header-h) 0 auto 0;
    height: min(calc(100% - var(--header-h)), calc(100vw * 1.02));
  }
  .page-banner--kelton .page-banner-media img {
    object-position: 45.5% 62%;
    transform: none;
  }
  /* soft fade from the photo into the navy below it */
  .page-banner--kelton .page-banner-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 9%;
    background: linear-gradient(in oklab 180deg, transparent, color-mix(in oklab, var(--navy) 88%, #000));
    pointer-events: none;
  }
  .page-banner--kelton .page-banner-copy {
    top: 0;
    align-self: flex-end;
    width: auto;
    max-width: min(30rem, 100%);
    margin: 0;
    padding: 1.1rem var(--gutter) max(1.4rem, env(safe-area-inset-bottom)) 1.2rem;
    text-align: right;
  }
  .page-banner--kelton .page-banner-copy::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    border-radius: 1.15rem 0 0 0;
    background: linear-gradient(
      270deg,
      color-mix(in oklab, var(--navy) 96%, #000) 0%,
      color-mix(in oklab, var(--navy) 92%, #000) 70%,
      color-mix(in oklab, var(--navy) 80%, #000) 100%
    );
  }
  .page-banner--kelton h1,
  .page-banner--kelton .lede { margin-left: auto; }
}
/* Landscape phones / short wide windows: photo on the left, banner in a
   right-hand column at the bottom. */
@media (max-width: 980px) and (min-aspect-ratio: 5/4) {
  .page-banner--kelton .page-banner-media {
    inset: var(--header-h) auto 0 0;
    width: 68%;
    height: auto;
  }
  .page-banner--kelton .page-banner-media img { object-position: 45.5% 50%; }
  .page-banner--kelton .page-banner-media::after {
    top: 0; bottom: 0; left: auto; right: 0; width: 12%; height: auto;
    background: linear-gradient(in oklab 90deg, transparent, color-mix(in oklab, var(--navy) 88%, #000));
  }
  .page-banner--kelton .page-banner-copy {
    width: 32%;
    max-width: none;
    padding: 0.9rem var(--gutter) max(1rem, env(safe-area-inset-bottom)) 0.9rem;
  }
  .page-banner--kelton .page-banner-copy::before { border-radius: 1rem 0 0 0; }
  .page-banner--kelton h1 { font-size: clamp(1.25rem, 3.4vw, 2rem); }
  .page-banner--kelton .lede { font-size: clamp(0.78rem, 1.7vw, 0.95rem); line-height: 1.45; }
}


/* ---- Round 15b item 8: services reel ----
   The active card is centered by a measured translate (js/carousel.js
   sets --reel-x); first and last center too. Plain ease, no overshoot.
   Each service card is one big link: the LEARN MORE link stretches over
   the card, so the whole card is clickable and keyboard focus stays on a
   real <a>. Hover / focus follow the site hover system. */
.beat-carousel[data-carousel="reel"] .carousel-track {
  transform: translate3d(var(--reel-x, 0px), 0, 0);
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.beat-carousel[data-carousel="reel"] .carousel-slide {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.beat-carousel[data-carousel="reel"] .carousel-card {
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.beat-carousel[data-carousel="reel"] .carousel-card a.more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}
.beat-carousel[data-carousel="reel"] .carousel-card:has(a.more) { cursor: pointer; }
.beat-carousel[data-carousel="reel"] .carousel-card:focus-within {
  outline: 2px solid var(--signal, #c24a00);
  outline-offset: 3px;
}
.beat-carousel[data-carousel="reel"] .carousel-card a.more:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .beat-carousel[data-carousel="reel"] .carousel-slide.is-on .carousel-card:has(a.more):hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px color-mix(in oklab, var(--navy) 30%, transparent), 0 6px 16px color-mix(in oklab, var(--signal, #c24a00) 18%, transparent);
    background-color: #fff;
  }
  .beat-carousel[data-carousel="reel"] .carousel-slide.is-on .carousel-card:hover a.more {
    color: color-mix(in oklab, var(--signal, #c24a00) 80%, #000);
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
}
.beat-carousel[data-carousel="reel"] .carousel-card:active { transform: translateY(1px) scale(0.99); }
@media (prefers-reduced-motion: reduce) {
  .beat-carousel[data-carousel="reel"] .carousel-track,
  .beat-carousel[data-carousel="reel"] .carousel-slide,
  .beat-carousel[data-carousel="reel"] .carousel-card { transition: none; }
  .beat-carousel[data-carousel="reel"] .carousel-card:hover,
  .beat-carousel[data-carousel="reel"] .carousel-card:active { transform: none !important; }
}
html.is-reduced .beat-carousel[data-carousel="reel"] .carousel-track { transition: none; }

/* Round 15b: dots over bright banner photos read as white-on-white.
   Give the dot row a soft navy pill so every dot stays visible. */
.page-banner.beat-carousel .carousel-dots {
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--navy) 55%, transparent);
}
.page-banner.beat-carousel .carousel-dots button { background: color-mix(in oklab, #fff 55%, transparent); }
.page-banner.beat-carousel .carousel-dots button.is-on { background: #fff; }
