/* generated by scripts/build.mjs from src/home/<section>/<id>.css: edit the sources, not this file */

/* ---- hero / a: Sends growth into orbit ---- */
/* Hero option A: wall of lesson covers.
   Text on the left; three columns of lesson cover tiles drift slowly on the right and bleed off the edge.
   The root .opt-hero-a never gets a display value, so the switcher's [hidden] keeps working.
   Every headline option of the hero (options.json, "design": "a") renders with this same markup, stylesheet and script.
   The text starts on the 1240 px column that the header and the other home sections share (--pad-x, --gut). */

.opt-hero-a .hA {
  --tw: 264px;          /* tile width */
  --gap: 14px;
  --pad-x: max(var(--gut, 20px), calc((100% - 1240px) / 2));      /* the shared column (the early version used the --pw token: 1304 px at 1440) */
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  column-gap: 56px;
  align-items: center;
  min-height: clamp(600px, calc(100svh - var(--hd-h, 64px)), 840px);      /* the first screen under the header (no switcher bar any more) */
  padding-left: var(--pad-x);
  overflow: hidden;
  background: #fff;
}

/* ---------- copy ---------- */
.opt-hero-a .hA-copy { position: relative; z-index: 2; padding: 64px 0 72px; }
.opt-hero-a .hA-h {
  margin: 0;
  max-width: 10.5em;
  font-size: clamp(44px, 4.7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 500;
  color: var(--ink, #111);
  text-wrap: balance;
}
.opt-hero-a .hA-p {
  margin: 28px 0 0;
  max-width: 25em;
  font-size: 20px;
  line-height: 30px;
  color: var(--ink-2, #555);
  text-wrap: pretty;
}
.opt-hero-a .hA-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; margin-top: 40px; padding: 0 22px 0 24px;
  border-radius: var(--r-btn, 4px);
  background: var(--ink, #111); color: #fff;
  font-size: 16px; line-height: 24px; font-weight: 500;
  transition: background .25s var(--ease), transform .15s;
}
.opt-hero-a .hA-btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.opt-hero-a .hA-btn:hover { background: #262626; }
.opt-hero-a .hA-btn:hover svg { transform: translateX(3px); }
.opt-hero-a .hA-btn:active { transform: scale(.97); }
.opt-hero-a .hA-btn:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 3px; }

/* ---------- the wall ---------- */
.opt-hero-a .hA-wall {
  position: relative;
  align-self: stretch;
  display: flex;
  gap: var(--gap);
  contain: size;        /* the columns are very tall: the copy sets the height, the wall only fills it */
  overflow: hidden;
  -webkit-mask: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.opt-hero-a .hA-col { position: relative; flex: none; width: var(--tw); }
.opt-hero-a .hA-track {
  display: flex; flex-direction: column;
  animation: heroA-up var(--dur, 80s) linear infinite;
  will-change: transform;
}
.opt-hero-a .hA-col1 .hA-track { --dur: 78s; }
.opt-hero-a .hA-col2 .hA-track { --dur: 92s; animation-name: heroA-down; margin-top: -120px; }
.opt-hero-a .hA-col3 .hA-track { --dur: 70s; margin-top: -40px; }
.opt-hero-a .hA-set { display: flex; flex-direction: column; gap: var(--gap); padding-bottom: var(--gap); }
.opt-hero-a .hA-wall:hover .hA-track,
.opt-hero-a .hA.is-paused .hA-track { animation-play-state: paused; }

@keyframes heroA-up   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes heroA-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes heroA-left { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes heroA-right{ from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- a tile: the cover image over a quiet halftone fallback ---------- */
.opt-hero-a .hA-tile {
  position: relative; display: block; flex: none;
  width: var(--tw); aspect-ratio: 16 / 10;
  border-radius: var(--r-card, 8px);
  overflow: hidden; isolation: isolate;
  background: #F6F5F2;
  box-shadow: inset 0 0 0 1px rgb(17 17 17 / .06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* fallback art: a soft wash of the lesson colour and a halftone cluster, until /assets/covers/<slug>-art-sm.webp exists */
.opt-hero-a .hA-tile::before,
.opt-hero-a .hA-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.opt-hero-a .hA-light {
  background:
    radial-gradient(70% 95% at var(--at, 80% 80%), color-mix(in oklab, var(--c) 38%, #fff) 0%, rgb(255 255 255 / 0) 72%),
    linear-gradient(160deg, #FBFAF8, #F1EFEA);
}
.opt-hero-a .hA-dark {
  background:
    radial-gradient(70% 95% at var(--at, 80% 80%), color-mix(in oklab, var(--c) 26%, #111) 0%, rgb(17 17 17 / 0) 70%),
    #111;
  box-shadow: none;
}
.opt-hero-a .hA-tile::before {
  background: radial-gradient(circle, var(--c) 1.5px, transparent 1.9px) 0 0 / 6px 6px;
  -webkit-mask: radial-gradient(48% 70% at var(--at, 80% 80%), #000 0%, rgb(0 0 0 / .55) 40%, transparent 72%);
          mask: radial-gradient(48% 70% at var(--at, 80% 80%), #000 0%, rgb(0 0 0 / .55) 40%, transparent 72%);
}
.opt-hero-a .hA-tile::after {
  background: radial-gradient(circle, var(--c) 2.3px, transparent 2.7px) 3px 3px / 12px 12px;
  -webkit-mask: radial-gradient(26% 40% at var(--at, 80% 80%), #000 0%, transparent 100%);
          mask: radial-gradient(26% 40% at var(--at, 80% 80%), #000 0%, transparent 100%);
  opacity: .9;
}
.opt-hero-a .hA-tile.has-art::before { background: var(--art) center / cover no-repeat; -webkit-mask: none; mask: none; }
.opt-hero-a .hA-tile.has-art::after { display: none; }
.opt-hero-a .hA-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease);
}
.opt-hero-a .hA-tile img.is-in { opacity: 1; }
.opt-hero-a .hA-t {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 11px;
  border-radius: var(--r-btn, 4px);
  background: rgb(255 255 255 / .94);
  box-shadow: 0 1px 2px rgb(17 17 17 / .08);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink, #111);
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.opt-hero-a .hA-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgb(17 17 17 / .35); }
.opt-hero-a .hA-tile:hover .hA-t { background: var(--ink, #111); color: #fff; }
.opt-hero-a .hA-tile:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 3px; }

/* ---------- wide screens: keep the text column readable ---------- */
@media (min-width: 1600px) {
  .opt-hero-a .hA { --tw: 300px; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) and (min-width: 760px) {
  .opt-hero-a .hA { --tw: 240px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
}

/* ---------- phone: copy first, then three rows of tiles sliding sideways ---------- */
@media (max-width: 759px) {
  .opt-hero-a .hA {
    --tw: 176px; --gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 0;
  }
  .opt-hero-a .hA-copy { padding: 44px var(--gut, 20px) 36px; }
  .opt-hero-a .hA-h { font-size: 42px; line-height: 44px; letter-spacing: -.03em; }
  .opt-hero-a .hA-p { margin-top: 18px; font-size: 17px; line-height: 26px; }
  .opt-hero-a .hA-btn { margin-top: 28px; }
  .opt-hero-a .hA-wall {
    flex-direction: column; gap: var(--gap);
    contain: none; padding-bottom: 36px;
    -webkit-mask: none; mask: none;
  }
  .opt-hero-a .hA-col { width: auto; }
  .opt-hero-a .hA-track { flex-direction: row; width: max-content; animation-name: heroA-left; margin: 0; }
  .opt-hero-a .hA-col2 .hA-track { animation-name: heroA-right; margin: 0; }
  .opt-hero-a .hA-col3 .hA-track { margin: 0 0 0 -60px; }
  .opt-hero-a .hA-col1 .hA-track { --dur: 60s; }
  .opt-hero-a .hA-col2 .hA-track { --dur: 70s; }
  .opt-hero-a .hA-col3 .hA-track { --dur: 54s; }
  .opt-hero-a .hA-set { flex-direction: row; padding: 0 var(--gap) 0 0; }
  .opt-hero-a .hA-t { left: 8px; bottom: 8px; height: 24px; padding: 0 8px; font-size: 12px; }
}

/* ---------- reduced motion: a still wall ---------- */
@media (prefers-reduced-motion: reduce) {
  .opt-hero-a .hA-track { animation: none; }
  .opt-hero-a .hA-tile, .opt-hero-a .hA-tile img { transition: none; }
}


/* ---- promise / b: Five tall cards with 3D objects ---- */
/* Promise, option B "Five tall cards with 3D objects": one tall card per skill area, a halftone 3D object on a soft tint */
.opt-promise-b {
  padding: 128px 0;
  color: var(--ink, #111);
  font-family: var(--font-sans, 'Satoshi', system-ui, sans-serif);
}
.opt-promise-b .pb-in { max-width: var(--wrap, 1320px); margin: 0 auto; padding: 0 var(--gut, 40px); }
.opt-promise-b .pb-h { margin: 0 auto; max-width: 720px; text-align: center; font-size: 44px; line-height: 48px; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }

.opt-promise-b .pb-row { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.opt-promise-b .pb-card {
  --pb-a: #FFF4EC; --pb-b: #FFE3CE; --pb-d: #F58E43;
  position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--ll-line-2, #ECEAE6), 0 1px 2px rgb(17 17 17 / .03);
  transition: transform .5s var(--ease, ease), box-shadow .5s var(--ease, ease);
}
.opt-promise-b .pb-social { --pb-a: #FDF3F0; --pb-b: #F7DCD3; --pb-d: #C98470; }
.opt-promise-b .pb-creators { --pb-a: #F7F3FD; --pb-b: #E5DBF8; --pb-d: #9F86DD; }
.opt-promise-b .pb-search { --pb-a: #F0FAFD; --pb-b: #D3EFFA; --pb-d: #5FBFE0; }
.opt-promise-b .pb-ai { --pb-a: #F0FBF9; --pb-b: #CFF3EC; --pb-d: #66CDBF; }

/* the art panel: a soft tint, a corner of halftone dots, the object floating gently */
.opt-promise-b .pb-art {
  position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: 10px; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 100%, var(--pb-b), transparent 70%), linear-gradient(180deg, var(--pb-a), var(--pb-b));
}
.opt-promise-b .pb-art::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(circle, var(--pb-d) 0 1px, transparent 1.5px); background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(120% 70% at 100% 0%, #000 0%, transparent 55%);
  mask-image: radial-gradient(120% 70% at 100% 0%, #000 0%, transparent 55%);
}
.opt-promise-b .pb-art img {
  position: absolute; left: 50%; top: 50%; width: 112%; height: auto; max-width: none; translate: -50% -50%;
  animation: opt-promise-b-float 7s ease-in-out infinite;
  transition: scale .6s var(--ease, ease);
}
.opt-promise-b .pb-social .pb-art img { animation-delay: -1.4s; }
.opt-promise-b .pb-creators .pb-art img { animation-delay: -2.8s; }
.opt-promise-b .pb-search .pb-art img { animation-delay: -4.2s; }
.opt-promise-b .pb-ai .pb-art img { animation-delay: -5.6s; }
@keyframes opt-promise-b-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-2.5%) rotate(-1.2deg); } }

.opt-promise-b .pb-txt { display: flex; flex-direction: column; flex: 1; padding: 18px 14px 12px; }
.opt-promise-b .pb-name { margin: 0; font-size: 22px; line-height: 28px; letter-spacing: -.015em; font-weight: 500; }
.opt-promise-b .pb-line { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-2, #555); text-wrap: pretty; }
.opt-promise-b .pb-logos { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; }
.opt-promise-b .pb-logos img { width: 20px; height: 20px; object-fit: contain; }
.opt-promise-b .pb-logos .pb-dark { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #111; }
.opt-promise-b .pb-logos .pb-dark img { width: 13px; height: 13px; }

@media (hover: hover) {
  .opt-promise-b .pb-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ll-line, #E4E2DD), 0 22px 40px -24px rgb(17 17 17 / .28); }
  .opt-promise-b .pb-card:hover .pb-art img { scale: 1.06; }
}

@media (max-width: 1180px) {
  .opt-promise-b .pb-name { font-size: 20px; line-height: 26px; }
  .opt-promise-b .pb-line { font-size: 15px; line-height: 22px; }
}

/* below a laptop: one sideways row of cards that snaps, the next card peeking in */
@media (max-width: 1023px) {
  .opt-promise-b { padding: 72px 0; }
  .opt-promise-b .pb-in { padding: 0; max-width: none; }
  .opt-promise-b .pb-h { margin: 0; padding: 0 var(--gut, 16px); max-width: 560px; text-align: left; font-size: 28px; line-height: 36px; letter-spacing: -.02em; }
  .opt-promise-b .pb-row {
    margin-top: 28px; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut, 16px); padding: 0 var(--gut, 16px) 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .opt-promise-b .pb-row::-webkit-scrollbar { display: none; }
  .opt-promise-b .pb-card { flex: 0 0 min(290px, 76vw); scroll-snap-align: start; }
  .opt-promise-b .pb-art { aspect-ratio: 1 / 1; }
  .opt-promise-b .pb-name { font-size: 22px; line-height: 28px; }
  .opt-promise-b .pb-line { font-size: 16px; line-height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .opt-promise-b .pb-art img { animation: none; }
  .opt-promise-b .pb-card, .opt-promise-b .pb-art img { transition: none; }
}


/* ---- operators / a: Growth charts in halftone dots ---- */
/* operators · option a · growth charts ("Growth stories"): four companies, each shown by a result its team shared in public,
   drawn as a halftone bar chart whose bars keep the real ratio of the numbers. Markup is generated by _tools/gen.mjs.
   Four in a row from 1240 px, two by two on a tablet, one under another on a phone. */
.opt-operators-a { padding: 120px 0; }
.opt-operators-a .ra { width: min(100% - 2 * var(--gut, 40px), 1240px); margin: 0 auto; }
.opt-operators-a .ra-h { margin: 0; max-width: 16ch; font-size: 44px; line-height: 48px; letter-spacing: -.025em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.opt-operators-a .ra-p { margin: 18px 0 0; font-size: 20px; line-height: 30px; color: var(--ink-2); }

/* one row of four results between two warm hairlines, hairline dividers between them */
.opt-operators-a .ra-grid { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ll-line); border-bottom: 1px solid var(--ll-line); }
.opt-operators-a .ra-cell { --dot: var(--c-orange); min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 48px 24px 44px; }
.opt-operators-a .ra-cell:first-child { padding-left: 0; }
.opt-operators-a .ra-cell:last-child { padding-right: 0; }
.opt-operators-a .ra-cell + .ra-cell { border-left: 1px solid var(--ll-line); }
.opt-operators-a .ra-cell--orange { --dot: #FF8A45; }
.opt-operators-a .ra-cell--blue { --dot: var(--c-blue-d); }
.opt-operators-a .ra-cell--aqua { --dot: var(--c-aqua-d); }
.opt-operators-a .ra-cell--violet { --dot: #A893DD; }

/* the chart: dots on a hairline floor */
.opt-operators-a .ra-plot { width: 100%; padding-bottom: 14px; border-bottom: 1px solid var(--ll-line-2); }
.opt-operators-a .ra-chart { display: block; width: 100%; height: auto; max-height: 200px; overflow: visible; }
/* in the row of four the outer cells are wider than the inner ones, so every chart gets the same height: one scale, one floor */
@media (min-width: 1240px) { .opt-operators-a .ra-chart { height: 144px; } }
.opt-operators-a .ra-b { fill: var(--dot); }
.opt-operators-a .ra-b--from { fill: #D4D1CA; }

/* the result is the loudest line; the person is quiet meta under it */
/* in a row of four the widest result ($15M to $100M) must fit a quarter of the column, so the numbers run a little smaller */
.opt-operators-a .ra-num { margin: 30px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: clamp(32px, 2.7vw, 38px); line-height: 1.15; letter-spacing: -.035em; font-weight: 500; color: var(--ink); white-space: nowrap; }
.opt-operators-a .ra-to { flex: none; width: 28px; height: 18px; color: var(--ink-3); }
.opt-operators-a .ra-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.opt-operators-a .ra-what { margin: 12px 0 0; max-width: 28ch; font-size: 17px; line-height: 26px; color: var(--ink-2); text-wrap: pretty; }
.opt-operators-a .ra-who { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: baseline; gap: 8px; max-width: 100%; font-size: 15px; line-height: 20px; color: var(--ink); }
.opt-operators-a .ra-who b { font-weight: 500; white-space: nowrap; }
.opt-operators-a .ra-who span { color: var(--ink-3); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.opt-operators-a .ra-who .x-ico { flex: none; align-self: center; width: 12px; height: 12px; color: var(--ink-3); transition: transform var(--d-arrow, .3s) var(--ease), color .2s var(--ease); }
.opt-operators-a .ra-who:hover span { color: var(--ink); text-decoration-color: var(--link-underline); }
.opt-operators-a .ra-who:hover .x-ico { transform: translate(2px, -2px); color: var(--ink); }
.opt-operators-a .ra-who:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

/* bars rise from the floor once the row scrolls into view (a.js arms this only when motion is allowed) */
.opt-operators-a .ra.is-armed .ra-b { clip-path: inset(100% 0 0 0); }
.opt-operators-a .ra.is-armed.is-in .ra-b { clip-path: inset(0 0 0 0); transition: clip-path 1.4s cubic-bezier(.2, .7, .1, 1) calc(var(--i) * 140ms + 120ms); }

/* tablet: two by two, the numbers at full size */
@media (max-width: 1239px) {
  .opt-operators-a .ra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-operators-a .ra-cell, .opt-operators-a .ra-cell:first-child, .opt-operators-a .ra-cell:last-child { padding: 44px 40px 40px 0; }
  .opt-operators-a .ra-cell:nth-child(even) { padding: 44px 0 40px 40px; }
  .opt-operators-a .ra-cell + .ra-cell { border-left: 0; }
  .opt-operators-a .ra-cell:nth-child(even) { border-left: 1px solid var(--ll-line); }
  .opt-operators-a .ra-cell:nth-child(n + 3) { border-top: 1px solid var(--ll-line); }
  .opt-operators-a .ra-num { gap: 12px; font-size: 48px; line-height: 52px; }
  .opt-operators-a .ra-to { width: 34px; height: 20px; }
}

@media (max-width: 759px) {
  .opt-operators-a { padding: 72px 0; }
  .opt-operators-a .ra-h { font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
  .opt-operators-a .ra-p { margin-top: 12px; font-size: 17px; line-height: 26px; }
  .opt-operators-a .ra-grid { margin-top: 40px; }
  .opt-operators-a .ra-grid { grid-template-columns: minmax(0, 1fr); }
  .opt-operators-a .ra-cell, .opt-operators-a .ra-cell:first-child, .opt-operators-a .ra-cell:last-child,
  .opt-operators-a .ra-cell:nth-child(even) { padding: 32px 0 30px; border-left: 0; }
  .opt-operators-a .ra-cell + .ra-cell { border-top: 1px solid var(--ll-line); }
  .opt-operators-a .ra-chart { height: 100px; width: auto; max-width: 100%; }
  .opt-operators-a .ra-plot { padding-bottom: 10px; }
  .opt-operators-a .ra-num { margin-top: 22px; gap: 10px; font-size: 40px; line-height: 44px; }
  .opt-operators-a .ra-to { width: 28px; height: 18px; }
  .opt-operators-a .ra-what { margin-top: 8px; font-size: 16px; line-height: 24px; }
  .opt-operators-a .ra-who { padding-top: 16px; align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .opt-operators-a .ra-who span, .opt-operators-a .ra-who .x-ico { transition: none; }
  .opt-operators-a .ra-who:hover .x-ico { transform: none; }
}


/* ---- lessons / b: Grid of lesson previews ---- */
/* Lessons, option B "Grid of lesson previews": a calm four-column grid of preview tiles, each with a title and a very short line.
   From the early version's "Grid with goal filters", with the goal chips, lengths, status tags and play discs taken out (owner, round 2).
   The column is the 1240 px column that the header and the other home sections share. */
.opt-lessons-b {
  --g: max(var(--gut, 40px), calc((100% - 1240px) / 2));
  padding: 120px 0;
  background: #fff;
  color: var(--ink, #111);
  font-family: var(--font-sans, 'Satoshi', system-ui, sans-serif);
}
.opt-lessons-b .lb-in { margin-inline: var(--g); }
.opt-lessons-b .lb-h { margin: 0; font-size: 44px; line-height: 48px; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }

.opt-lessons-b .lb-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 24px; }
.opt-lessons-b .lb-t { display: block; color: inherit; text-decoration: none; outline: none; }

.opt-lessons-b .nw { white-space: nowrap; }

/* the cover; until the cover file exists, a soft glow of the goal's two accent colours with a halftone sun */
.opt-lessons-b .lb-img {
  position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; isolation: isolate;
  background: #F6F4F0;
}
.opt-lessons-b .lb-fx {
  position: absolute; inset: 0; container-type: inline-size;
  background:
    radial-gradient(70% 80% at var(--x) var(--y), color-mix(in srgb, var(--ca) 42%, transparent), transparent 70%),
    radial-gradient(80% 90% at calc(100% - var(--x)) calc(100% - var(--y)), color-mix(in srgb, var(--cb) 38%, transparent), transparent 72%),
    #F6F4F0;
  transition: transform .7s var(--ease, ease);
}
.opt-lessons-b .lb-fx::before,
.opt-lessons-b .lb-fx::after { content: ""; position: absolute; inset: 0; background-position: center; --d: clamp(8px, 2.2cqw + 4px, 16px); background-size: var(--d) var(--d); }
.opt-lessons-b .lb-fx::before {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ca) 82%, #111) 0 calc(var(--d) * .22), transparent calc(var(--d) * .27));
  -webkit-mask: radial-gradient(circle 28cqw at var(--x) var(--y), #000 0 36%, transparent 100%);
  mask: radial-gradient(circle 28cqw at var(--x) var(--y), #000 0 36%, transparent 100%);
}
.opt-lessons-b .lb-fx::after {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ca) 82%, #111) 0 calc(var(--d) * .1), transparent calc(var(--d) * .15));
  -webkit-mask: radial-gradient(circle 54cqw at var(--x) var(--y), transparent 0 20%, #000 40%, transparent 100%);
  mask: radial-gradient(circle 54cqw at var(--x) var(--y), transparent 0 20%, #000 40%, transparent 100%);
  opacity: .8;
}
.opt-lessons-b .lb-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent;
  transition: transform .7s var(--ease, ease);
}
.opt-lessons-b .lb-img.no-cover img { display: none; }
.opt-lessons-b .lb-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(17 17 17 / .06);
}
.opt-lessons-b .lb-title { margin: 18px 0 0; font-size: 20px; line-height: 26px; letter-spacing: -.012em; font-weight: 500; }
.opt-lessons-b .lb-line { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--ink-2, #555); text-wrap: pretty; }
.opt-lessons-b .lb-t:hover .lb-img img,
.opt-lessons-b .lb-t:hover .lb-fx { transform: scale(1.045); }
.opt-lessons-b .lb-t:hover .lb-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgb(102 205 191 / .9); }
.opt-lessons-b .lb-t:focus-visible .lb-img { outline: 2px solid var(--ink, #111); outline-offset: 3px; }


@media (max-width: 1099px) {
  .opt-lessons-b .lb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .opt-lessons-b { padding: 72px 0; }
  .opt-lessons-b .lb-h { font-size: 30px; line-height: 36px; letter-spacing: -.02em; }
  .opt-lessons-b .lb-grid { margin-top: 32px; grid-template-columns: 1fr; gap: 22px; }
  .opt-lessons-b .lb-t { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; }
  .opt-lessons-b .lb-img { border-radius: 6px; }
  .opt-lessons-b .lb-title { margin: 0; font-size: 17px; line-height: 22px; }
  .opt-lessons-b .lb-line { margin-top: 3px; font-size: 14px; line-height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .opt-lessons-b .lb-img img, .opt-lessons-b .lb-fx { transition: none; }
  .opt-lessons-b .lb-t:hover .lb-img img, .opt-lessons-b .lb-t:hover .lb-fx { transform: none; }
}


/* ---- closing / a: Centred promise with channel rings ---- */
/* closing · option a · centred promise with five channel rings that meet where "you" stand, then four open answers */
.opt-closing-a { position: relative; overflow: hidden; padding: 136px 0 112px; }
.opt-closing-a .ca { position: relative; width: min(100% - 2 * var(--gut, 20px), 1240px); margin: 0 auto; }

/* a faint dot grid in the two top corners, fading toward the middle */
.opt-closing-a .ca-dots { position: absolute; inset: -136px calc(50% - 50vw) auto; height: 760px; pointer-events: none;
  background: radial-gradient(circle, #DAD7D0 1.1px, transparent 1.5px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(60% 70% at 50% 40%, transparent 30%, #000 80%), linear-gradient(180deg, #000 40%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(60% 70% at 50% 40%, transparent 30%, #000 80%), linear-gradient(180deg, #000 40%, transparent 100%);
  mask-composite: intersect; opacity: .9; }

.opt-closing-a .ca-top { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.opt-closing-a .ca-h { margin: 0; max-width: 13ch; font-size: 72px; line-height: 74px; letter-spacing: -.035em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.opt-closing-a .ca-p { margin: 22px 0 0; max-width: 34ch; font-size: 20px; line-height: 30px; color: var(--ink-2); text-wrap: balance; }
.opt-closing-a .ca-btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; margin-top: 36px; padding: 0 22px 0 24px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 16px; line-height: 20px; font-weight: 500; white-space: nowrap; transition: background-color .2s var(--ease); }
.opt-closing-a .ca-btn:hover { background: #2a2a2a; }
.opt-closing-a .ca-btn svg { transition: transform var(--d-arrow, .35s) var(--ease); }
.opt-closing-a .ca-btn:hover svg { transform: translateX(3px); }
.opt-closing-a .ca-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* the rings */
.opt-closing-a .ca-vis { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 28px auto 0; }
.opt-closing-a .ca-svg { width: 100%; height: 100%; overflow: visible; }
.opt-closing-a .ca-ring { transform: translateY(-74px); animation: closing-a-breathe 8s ease-in-out calc(var(--k) * -1.6s) infinite alternate; }
.opt-closing-a .ca-ring circle { fill-opacity: .035; stroke-width: 1.6; }
.opt-closing-a .ca-half { transform-box: fill-box; transform-origin: center; animation: closing-a-glowing 5s ease-in-out infinite alternate; }
.opt-closing-a .ca-glow { transform-box: fill-box; transform-origin: center; }
.opt-closing-a .ca-pulse { transform-box: fill-box; transform-origin: center; stroke-width: 1.5; opacity: 0; animation: closing-a-pulse 3.2s var(--ease) 1.6s infinite; }
.opt-closing-a .ca-lab { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 999px; background: rgb(255 255 255 / .92); font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.opt-closing-a .ca-you { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 20px); display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; line-height: 18px; font-weight: 500; box-shadow: 0 10px 24px -12px rgb(17 17 17 / .5); transition: opacity .8s var(--ease) .9s; }

@keyframes closing-a-breathe { from { transform: translateY(-74px); } to { transform: translateY(-86px); } }
@keyframes closing-a-pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
@keyframes closing-a-glowing { from { transform: scale(.92); } to { transform: scale(1.08); } }
@keyframes closing-a-spread { from { transform: translateY(0) scale(.55); opacity: 0; } to { transform: translateY(-74px) scale(1); opacity: 1; } }

/* entrance: the rings start stacked in the centre and open like a flower once the block is on screen */
.opt-closing-a .ca-vis.is-armed .ca-ring { opacity: 0; animation: none; }
.opt-closing-a .ca-vis.is-armed .ca-lab,
.opt-closing-a .ca-vis.is-armed .ca-you,
.opt-closing-a .ca-vis.is-armed .ca-half { opacity: 0; }
.opt-closing-a .ca-half { transition: opacity 1s var(--ease) .8s; }
.opt-closing-a .ca-vis.is-armed .ca-lab { transform: translate(-50%, -30%); }
.opt-closing-a .ca-vis.is-in .ca-ring { opacity: 1; animation: closing-a-spread 1.5s var(--ease) calc(var(--k) * .09s) both, closing-a-breathe 8s ease-in-out calc(1.6s + var(--k) * .09s) infinite alternate; }
.opt-closing-a .ca-vis.is-in .ca-lab { opacity: 1; transform: translate(-50%, -50%); transition-delay: .7s; }
.opt-closing-a .ca-vis.is-in .ca-you,
.opt-closing-a .ca-vis.is-in .ca-half { opacity: 1; }

/* four short answers, open, in one calm row */
.opt-closing-a .ca-faq { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.opt-closing-a .ca-faq li { padding-top: 24px; border-top: 1px solid var(--ll-line); }
.opt-closing-a .ca-faq h3 { margin: 0; font-size: 18px; line-height: 26px; letter-spacing: -.01em; font-weight: 500; color: var(--ink); }
.opt-closing-a .ca-faq p { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-2); text-wrap: pretty; }

@media (max-width: 1023px) {
  .opt-closing-a .ca-h { font-size: 60px; line-height: 64px; }
  .opt-closing-a .ca-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; }
}

@media (max-width: 759px) {
  .opt-closing-a { padding: 80px 0 64px; }
  .opt-closing-a .ca-dots { inset: -80px calc(50% - 50vw) auto; height: 520px; background-size: 12px 12px; }
  .opt-closing-a .ca-h { font-size: 40px; line-height: 44px; letter-spacing: -.025em; }
  .opt-closing-a .ca-p { margin-top: 16px; font-size: 17px; line-height: 26px; }
  .opt-closing-a .ca-btn { margin-top: 28px; }
  .opt-closing-a .ca-vis { width: min(100%, 360px); margin-top: 24px; }
  .opt-closing-a .ca-lab { padding: 2px 7px; font-size: 13px; line-height: 18px; }
  .opt-closing-a .ca-you { height: 24px; padding: 0 10px; font-size: 13px; transform: translate(-50%, 14px); }
  .opt-closing-a .ca-faq { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .opt-closing-a .ca-faq li { padding: 20px 0; }
  .opt-closing-a .ca-faq li:last-child { padding-bottom: 0; }
  .opt-closing-a .ca-faq p { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .opt-closing-a .ca-ring,
  .opt-closing-a .ca-vis.is-in .ca-ring { animation: none; opacity: 1; transform: translateY(-74px); }
  .opt-closing-a .ca-pulse, .opt-closing-a .ca-half { animation: none; }
  .opt-closing-a .ca-lab, .opt-closing-a .ca-you { transition: none; }
}

