/* ==========================================================================
   Scroll-motion pages (services.html, program.html). Sits on top of
   site.css, which carries the site-wide bubble cursor. Giant type, chapter
   openers that stay pinned while the detail slides up over them, words that
   light up as you scroll, and word rows driven by the scroll. Pattern
   borrowed from bdsn.club, kept in the FogWorks colours and type.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Giant type and line reveals. Lines only start hidden once motion.js has
   added .gp-js, so the words are never lost if the script fails.
   -------------------------------------------------------------------------- */

.mega {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.5rem, min(8.2vw, 14vh), 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.mega .pink { color: var(--pink); }
.mega .outline { color: transparent; -webkit-text-stroke: 2px var(--gold); }
.mega .grad {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.lines .ln { display: block; overflow: hidden; padding: 0.02em 0 0.06em; }
.lines .ln > span { display: inline-block; }
.gp-js .lines .ln > span {
  transform: translateY(112%);
  transition: transform 1.15s cubic-bezier(0.19, 1, 0.22, 1);
}
.gp-js .lines .ln:nth-child(2) > span { transition-delay: 0.09s; }
.gp-js .lines .ln:nth-child(3) > span { transition-delay: 0.18s; }
.gp-js .lines .ln:nth-child(4) > span { transition-delay: 0.27s; }
.gp-js .lines.is-in .ln > span { transform: none; }

/* Stagger for anything carrying --d. */
.motion-page .reveal { transition-delay: var(--d, 0s); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.gp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px var(--pad-x) 110px;
  overflow: hidden;
  text-align: center;
}
.gp-hero > * { position: relative; z-index: 1; }
.gp-hero .community-blob { position: absolute; z-index: 0; top: -120px; right: -120px; }

.meta-row {
  position: absolute !important;
  left: var(--pad-x); right: var(--pad-x);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.meta-row.top { top: 100px; }
.meta-row.bottom { bottom: 30px; }
.meta-row b { color: var(--white); font-weight: 700; }
.meta-row em { font-style: normal; color: var(--pink); }

.hero-words {
  font-size: min(13vw, 17vh, 12rem);
  line-height: 0.92;
  color: var(--white);
}
.hero-words .ln { will-change: transform; }

.hero-sub {
  max-width: 46ch;
  margin: 34px auto 0;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--on-dark);
}
.hero-cta { justify-content: center; }

.scroll-cue {
  position: absolute !important;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.scroll-cue i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Words that light up as you scroll. motion.js wraps every word in .w and
   turns them .on in reading order; key phrases light up pink or gold.
   -------------------------------------------------------------------------- */

.lit .w { color: rgba(16, 42, 67, 0.14); transition: color 0.4s var(--ease); }
.lit .w.on { color: var(--navy); }
.lit .w.k-pink.on { color: var(--pink); }
.lit .w.k-gold.on { color: var(--gold-ink); }
.band-dark .lit .w { color: rgba(255, 255, 255, 0.14); }
.band-dark .lit .w.on { color: var(--white); }
.band-dark .lit .w.k-gold.on { color: var(--gold); }
.band-dark .lit .w.k-pink.on { color: var(--pink-light); }

.lit-xl {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.55rem, 3.7vw, 3.1rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}
.lit-md {
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Statement and the three levels. The cards step up like a staircase: each
   level stands taller than the one before, carries a bigger share of the
   pink meter, and rises into place one after another.
   -------------------------------------------------------------------------- */

.gp-statement { padding: 130px var(--pad-x) 110px; }

.levels {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
  margin-top: 84px;
}
.levels > li { min-width: 0; }
.levels .reveal {
  transform: translateY(90px);
  transition: opacity 0.8s var(--ease) var(--d, 0s),
              transform 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) var(--d, 0s);
}
.levels .reveal.is-visible { transform: none; }

.level a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 32px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--silver);
  background: linear-gradient(160deg, #0a1e30 0%, #163450 100%);
  box-shadow: 0 18px 44px rgba(10, 30, 48, 0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.level a::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
}
.level-1 a { min-height: 400px; }
.level-2 a { min-height: 480px; }
.level-3 a { min-height: 560px; border: 1px solid rgba(212, 175, 55, 0.45); }
.level a:hover { transform: translateY(-10px); box-shadow: 0 30px 70px rgba(10, 30, 48, 0.4); }

.level-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.level-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.meter { display: inline-flex; gap: 5px; }
.meter i { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
/* data-fill says how many segments are lit: 1 of 3, 2 of 4, and so on. */
.meter[data-fill="1"] i:nth-child(-n+1),
.meter[data-fill="2"] i:nth-child(-n+2),
.meter[data-fill="3"] i:nth-child(-n+3),
.meter[data-fill="4"] i:nth-child(-n+4) { background: var(--pink); }

.level-num {
  margin: 14px 0 auto;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(6.5rem, 11vw, 10.5rem);
  font-weight: 700;
  line-height: 0.85;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 55%, #b8932a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: left bottom;
}
.level a:hover .level-num { transform: scale(1.08) rotate(-3deg); }
.level-name {
  margin-top: 26px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
}
.level-desc { margin-top: 10px; font-size: 0.93rem; line-height: 1.6; color: var(--on-dark); }
.level-go {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-light);
}

/* Screen-reader-only text, e.g. "Level 1:" ahead of each opener title. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Chapters. The opener stays pinned for a screen while the body slides up
   over it like a card; motion.js feeds --t (0 to 1) so the opener shrinks,
   lifts and fades as it gets covered.
   -------------------------------------------------------------------------- */

.chapter { position: relative; padding: 0; }

.opener {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px var(--pad-x) 40px;
  overflow: hidden;
}
.opener-cream { background: var(--cream); color: var(--navy); }

.opener-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px 44px;
  align-items: center;
  transform-origin: left center;
  transform: translateY(calc(var(--t, 0) * -70px)) scale(calc(1 - var(--t, 0) * 0.1));
  opacity: calc(1 - var(--t, 0) * 0.8);
}

.opener-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.opener h2 { color: inherit; }
.opener .mega { font-size: clamp(2.3rem, min(5.6vw, 11vh), 6rem); }

/* "Level 1 of 3" with the same three-segment meter as the level cards. */
.level-badge { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); }
.level-badge .meter i { background: rgba(16, 42, 67, 0.15); }

/* The giant level numeral beside each title. */
.opener-level {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(7rem, min(17vw, 32vh), 16rem);
  font-weight: 700;
  line-height: 0.8;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 55%, #b8932a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  filter: drop-shadow(0 14px 24px rgba(212, 175, 55, 0.25));
}
.opener-level.reveal {
  transform: scale(0.55) rotate(-8deg);
  transition: opacity 0.6s var(--ease), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.opener-level.reveal.is-visible { transform: none; }

/* Pill-shaped photos with an offset gold ring, as on the about photo at
   bdsn.club. They tilt as the opener is covered. */
.oval-wrap { position: relative; justify-self: end; }
.oval-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  transform: rotate(7deg);
  pointer-events: none;
}
.oval {
  position: relative;
  display: block;
  width: clamp(190px, 23vw, 330px);
  aspect-ratio: 2 / 3;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16, 42, 67, 0.22);
  transform: rotate(calc(var(--t, 0) * -9deg));
}
.oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(calc(1.06 + var(--t, 0) * 0.14));
}

/* The card that slides over the opener. */
.chapter-body {
  position: relative;
  z-index: 2;
  padding: 104px var(--pad-x) 110px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -26px 60px rgba(10, 30, 48, 0.18);
}
.body-white { background: var(--white); }

.body-title {
  margin: 4px 0 22px;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.band-dark .body-title { color: var(--white); }
.big-lede {
  max-width: 44ch;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy);
}

.stats-big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 64px 0 72px;
}
.stat-big { min-width: 0; padding-top: 18px; border-top: 2px solid var(--gold); }
.stat-big strong {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.stat-big span {
  display: block;
  max-width: 26ch;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Included lists as big rows that slide in from the left. */
.rows { list-style: none; border-top: 1px solid var(--rule-light); }
.rows .row {
  display: grid;
  grid-template-columns: 34px 1fr 40px;
  gap: 18px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--rule-light);
  min-width: 0;
  transform: translateX(-46px);
  transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s),
              background-color 0.35s var(--ease), padding 0.35s var(--ease);
}
.rows .row.is-visible { transform: none; }
.rows .row:hover { background: var(--cream); padding-left: 22px; }
/* Rows carry a pink dot instead of a number, so 1, 2 and 3 only ever mean a level. */
.row-n { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.row-t { min-width: 0; font-size: clamp(1rem, 1.5vw, 1.18rem); font-weight: 500; line-height: 1.5; color: var(--navy); }
.row-a {
  font-size: 1.3rem;
  color: var(--pink);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.rows .row:hover .row-a { opacity: 1; transform: none; }

.split-2 {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  margin-top: 76px;
  align-items: start;
}
.split-2 > * { min-width: 0; }
.who-text { font-size: 1.02rem; line-height: 1.7; color: var(--ink-muted); }
.band-dark .who-text { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Word rows driven by the scroll
   -------------------------------------------------------------------------- */

.words-band {
  position: relative;
  z-index: 3;
  padding: 44px 0;
  overflow: hidden;
  background: var(--navy-deep);
  border-top: 1px solid var(--rule-dark);
}
.words-row { white-space: nowrap; }
.words-row + .words-row { margin-top: 4px; }
.words-inner { display: inline-flex; will-change: transform; }
.words-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding-right: 0.45em;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--white);
}
.words-inner span::after { content: '\25CF'; font-size: 0.24em; color: var(--pink); -webkit-text-stroke: 0; }
.words-inner span.o { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }

/* --------------------------------------------------------------------------
   Step rail
   -------------------------------------------------------------------------- */

.step-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.step-rail.is-shown { opacity: 1; pointer-events: auto; }
.step-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; }
.step-rail b {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(10, 30, 48, 0.85);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step-rail span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 30, 48, 0.88);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.step-rail a.is-active b { background: var(--pink); border-color: var(--pink); color: var(--white); transform: scale(1.12); }
.step-rail a:hover span,
.step-rail a:focus-visible span { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */

.closing {
  position: relative;
  z-index: 3;
  padding: 130px var(--pad-x) 110px;
  text-align: center;
  overflow: hidden;
}
.mega-close { font-size: clamp(3.4rem, 13vw, 12rem); line-height: 0.92; color: var(--navy); }
.mega-close i { display: inline-block; font-style: normal; color: var(--pink); animation: aWave 1.9s ease-in-out infinite; }
.mega-close i:nth-child(2) { animation-delay: 0.12s; }
.mega-close i:nth-child(3) { animation-delay: 0.24s; }
@keyframes aWave {
  0%, 55%, 100% { transform: translateY(0); }
  25%           { transform: translateY(-0.12em); }
}
.closing-cta { justify-content: center; margin-top: 34px; }
.oval-close { display: inline-block; margin-top: 70px; }
.oval-close .oval { width: clamp(180px, 20vw, 280px); transform: none; }
.closing-note {
  max-width: 62ch;
  margin: 56px auto 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.closing .tagline { display: block; margin-top: 26px; }

.to-top { color: var(--on-dark); text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.to-top:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .step-rail { display: none; }
}

@media (max-width: 860px) {
  .meta-row.top { top: 90px; }
  .meta-row.bottom { display: none; }
  .gp-hero { padding: 140px var(--pad-x) 90px; }
  .meta-row { font-size: 0.58rem; letter-spacing: 0.14em; }

  .opener { padding: 88px var(--pad-x) 30px; }
  .opener-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; transform-origin: center; }
  .opener-meta { font-size: 0.6rem; letter-spacing: 0.16em; }
  .opener-meta span:last-child { text-align: right; }
  .oval-wrap { justify-self: center; }
  .oval { width: clamp(130px, 34vw, 200px); }
  .opener-level { font-size: clamp(5.5rem, 26vw, 9rem); margin-bottom: -8px; }

  .chapter-body { padding: 72px var(--pad-x) 80px; border-radius: 24px 24px 0 0; }
  .split-2 { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; }

  /* Stacked levels step in from the left, so they still read as a climb. */
  .levels { grid-template-columns: 1fr; gap: 16px; margin-top: 56px; }
  .level-1 a, .level-2 a, .level-3 a { min-height: 0; }
  .level-2 { margin-left: 18px; }
  .level-3 { margin-left: 36px; }
  .level a { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; padding: 24px 22px; }
  .level-top { grid-column: 1 / -1; margin-bottom: 6px; }
  .level-num { grid-row: span 3; margin: 0; font-size: 5.5rem; }
  .level-name { margin-top: 0; }
  .level-go { grid-column: 2; margin-top: 12px; padding-top: 12px; }
  .gp-statement { padding: 96px var(--pad-x) 84px; }
  .closing { padding: 100px var(--pad-x) 90px; }
}

@media (max-width: 560px) {
  .stats-big { gap: 12px; margin: 48px 0 56px; }
  .stat-big span { font-size: 0.74rem; }
  .rows .row { grid-template-columns: 24px 1fr; gap: 10px; padding: 20px 4px; }
  .row-a { display: none; }
  .opener-meta span:last-child { display: none; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-js .lines .ln > span { transform: none; transition: none; }
  .opener-inner, .opener-level, .oval, .oval img { transform: none !important; opacity: 1 !important; }
  .rows .row, .levels .reveal { transform: none; }
  .mega-close i, .scroll-cue i { animation: none; }
}

/* ==========================================================================
   All Twenty Days (program.html): four weeks instead of three levels, and
   the day-by-day lists.
   ========================================================================== */

.hero-kicker {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-words.four { font-size: min(11vw, 11.5vh, 10rem); }
.gp-hero.tight { padding-top: 140px; padding-bottom: 100px; }
.gp-hero.tight .hero-sub { margin-top: 26px; max-width: 58ch; }

/* Four week cards, stepping up like the levels. */
.levels-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.levels-4 .level a { padding: 26px 24px 28px; }
.levels-4 .level-1 a { min-height: 380px; }
.levels-4 .level-2 a { min-height: 440px; }
.levels-4 .level-3 a { min-height: 500px; border: 0; }
.levels-4 .level-4 a { min-height: 560px; border: 1px solid rgba(212, 175, 55, 0.45); }
.levels-4 .meter i { width: 20px; }
.levels-4 .level-num { font-size: clamp(5.5rem, 9vw, 8.5rem); }
.level-days {
  margin-top: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Day rows: "Day 1" with the pink dot, then the title and what you build. */
.rows.day-list .row { grid-template-columns: 104px 1fr 40px; align-items: start; }
.row-day {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 3px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-ink);
}
.row-day::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}
.row-t b {
  display: block;
  margin-bottom: 4px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.08em;
  font-weight: 700;
  color: var(--navy);
}
.row-d { display: block; font-size: 0.95rem; font-weight: 400; color: var(--ink-muted); }
.day-list .row-a { align-self: center; }

.closing-cta .btn-outline { background: var(--white); }

/* Week openers: one big word sized per week (--solo), a row of pink-dot
   chips previewing the five days, numeral and photo spanning both rows. */
.opener .mega.solo { font-size: clamp(2.4rem, min(var(--solo, 6vw), 15vh), 8rem); }
.has-chips .opener-level { grid-column: 1; grid-row: 2 / span 2; }
.has-chips .mega { grid-column: 2; grid-row: 2; align-self: end; }
.has-chips .opener-chips { grid-column: 2; grid-row: 3; align-self: start; }
.has-chips .oval-wrap { grid-column: 3; grid-row: 2 / span 2; }
.opener-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.opener-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.opener-chips li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .levels-4 { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .levels-4 .level a { min-height: 0 !important; height: 100%; }
}
@media (max-width: 860px) {
  .has-chips .opener-level, .has-chips .mega, .has-chips .opener-chips, .has-chips .oval-wrap { grid-column: auto; grid-row: auto; }
  .opener .mega.solo { font-size: clamp(2.2rem, 10vw, 4rem); }
  .opener-chips { justify-content: center; margin: 0 auto; }
  .levels-4 { grid-template-columns: 1fr; }
  .levels-4 .level-4 { margin-left: 54px; }
  .levels-4 .level-num { font-size: 5.5rem; }
  .level-days { grid-column: 2; }
}
@media (max-width: 560px) {
  .levels-4 .level-2 { margin-left: 12px; }
  .levels-4 .level-3 { margin-left: 24px; }
  .levels-4 .level-4 { margin-left: 36px; }
  .rows.day-list .row { grid-template-columns: 1fr; gap: 8px; }
  .opener-chips { display: none; }
}
