/* =============================================================================
   LocalSwarm.ai · 5 · Season playbook   (#season · prefix: season-)
   The 12-month timeline is drawn as a technical drawing: a double-ruled sheet
   with zone ticks and crop marks, dimension brackets over a month ruler (two
   rows, because Apr–Sep and Sep–Nov honestly share September), phase notes
   keyed to the balloons, and a title-block legend in the bottom-right corner.
   ≤900px: the notes become a vertical timeline with a 12-month key strip each.
   ============================================================================= */

.season-section {
  --season-ink: var(--navy);                          /* drafting line colour */
  --season-ink-2: #4E6E96;                            /* second hatch tone on navy fills */
  --season-label: #4A5F7D;                            /* small labels: 6.5:1 on white */
  --season-rule: rgba(30, 58, 95, .22);
  --season-faint: rgba(30, 58, 95, .11);
  --season-ext: rgba(30, 58, 95, .42);                /* extension / projection lines */
  --season-paper: var(--white);
  --season-hatch: repeating-linear-gradient(-45deg, rgba(30, 58, 95, .26) 0 1px, transparent 1px 5px);
}
.season-section :focus-visible { outline-color: var(--navy); }   /* base yellow ring is ~1.6:1 on the white sheet; navy is ~11:1 */

/* ---------- Header: title left, body right (stacks ≤900px) ---------- */
.season-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(40px, 5.4vw, 72px);
  margin-bottom: clamp(44px, 5vw, 64px);
}
.season-title { margin-bottom: 0; color: var(--ink); font-weight: 400; }
.season-head__body {
  justify-self: end;
  max-width: 470px;
  margin: 0;
  padding-bottom: 6px;
  font-size: 16.5px;
  line-height: 1.75;
}

/* ---------- The sheet: thin trim line, zone ticks, crop marks ---------- */
.season-sheet {
  --season-gap: 8px;
  --season-tick: linear-gradient(var(--season-ext), var(--season-ext));
  position: relative;
  padding: var(--season-gap);
  border: 1px solid var(--season-ext);
  background:
    var(--season-tick) 25% 0 / 1px var(--season-gap) no-repeat,
    var(--season-tick) 50% 0 / 1px var(--season-gap) no-repeat,
    var(--season-tick) 75% 0 / 1px var(--season-gap) no-repeat,
    var(--season-tick) 25% 100% / 1px var(--season-gap) no-repeat,
    var(--season-tick) 50% 100% / 1px var(--season-gap) no-repeat,
    var(--season-tick) 75% 100% / 1px var(--season-gap) no-repeat,
    var(--season-tick) 0 33.333% / var(--season-gap) 1px no-repeat,
    var(--season-tick) 0 66.667% / var(--season-gap) 1px no-repeat,
    var(--season-tick) 100% 33.333% / var(--season-gap) 1px no-repeat,
    var(--season-tick) 100% 66.667% / var(--season-gap) 1px no-repeat,
    var(--season-paper);
  box-shadow: 0 46px 90px -64px rgba(15, 23, 42, .55), 0 2px 6px -4px rgba(15, 23, 42, .12);
}
.season-sheet::before {   /* crop marks, aligned to the trim line, 6px clear of each corner */
  --season-mk: linear-gradient(var(--season-ext), var(--season-ext));
  content: '';
  position: absolute;
  inset: -19px;
  pointer-events: none;
  background:
    var(--season-mk) left 0 top 18px / 12px 1px no-repeat,
    var(--season-mk) left 18px top 0 / 1px 12px no-repeat,
    var(--season-mk) right 0 top 18px / 12px 1px no-repeat,
    var(--season-mk) right 18px top 0 / 1px 12px no-repeat,
    var(--season-mk) left 0 bottom 18px / 12px 1px no-repeat,
    var(--season-mk) left 18px bottom 0 / 1px 12px no-repeat,
    var(--season-mk) right 0 bottom 18px / 12px 1px no-repeat,
    var(--season-mk) right 18px bottom 0 / 1px 12px no-repeat;
}

.season-fig {   /* the heavy border line */
  --season-pad: 32px;
  position: relative;
  margin: 0;
  padding: 22px var(--season-pad) 0;
  border: 2px solid var(--season-ink);
}

.season-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--season-rule);
}
.season-cap__fig {
  padding-right: 14px;
  border-right: 1px solid var(--season-rule);
  font: 800 10px/1 var(--f-code);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--season-ink);
}
.season-cap__name {
  font: 700 14px/1 var(--f-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.season-cap__note {
  margin-left: auto;
  font: 700 8.5px/1 var(--f-code);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* =============================================================================
   The drawing (desktop). Every y position lives in these variables:
   y2 = outer bracket row, y1 = inner bracket row, ya = axis, yo = overall dimension.
   ============================================================================= */
.season-plot {
  --y2: 50px;
  --y1: 86px;
  --ya: 118px;
  --yo: 192px;
  position: relative;
  height: 206px;
  margin-top: 24px;
  color: var(--season-ink);
}

/* Quarter separators below the ruler; the outer two run on as the overall dimension's extension lines */
.season-plot::after {
  --season-sep: linear-gradient(var(--season-ext), var(--season-ext));
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--ya) + 15px);
  height: calc(var(--yo) - var(--ya) - 7px);
  pointer-events: none;
  opacity: .6;
  background:
    var(--season-sep) 0 0 / 1px 100% no-repeat,
    var(--season-sep) 100% 0 / 1px 100% no-repeat,
    var(--season-sep) calc(25% + .25px) 0 / 1px 45px no-repeat,
    var(--season-sep) calc(50% + .5px) 0 / 1px 45px no-repeat,
    var(--season-sep) calc(75% + .75px) 0 / 1px 45px no-repeat;
}

/* ---------- Axis: object line, ruler ticks, months, quarters ---------- */
.season-axis { position: absolute; left: 0; right: 0; top: var(--ya); height: 0; }
.season-axis__rule {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: currentColor;
}
.season-axis__ticks {
  position: absolute;
  left: 0;
  top: 1px;
  width: 100%;
  height: 14px;
  overflow: visible;
}
.season-axis__ticks path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  shape-rendering: crispEdges;
}
.season-axis__t1 { opacity: .4; }
.season-axis__t2 { opacity: .75; }

.season-axis__months,
.season-axis__quarters {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  text-align: center;
  white-space: nowrap;
}
.season-axis__months {
  top: 22px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  font: 700 11.5px/1 var(--f-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--season-label);
}
.season-axis__months > span { position: relative; padding-left: .16em; }   /* re-centre past the trailing tracking */
.season-axis__months > .season-is-now { color: var(--ink); }
.season-axis__months > .season-is-now::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  width: 16px;
  height: 2px;
  margin-left: -8px;
  background: var(--yellow);
}
.season-axis__quarters {
  top: 48px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  font: 700 8px/1 var(--f-code);
  letter-spacing: .24em;
  color: var(--text-3);
}
.season-axis__quarters > span { padding-left: .24em; }

/* ---------- Overlap: September, hatched like a section cut ---------- */
.season-overlap {
  position: absolute;
  z-index: 2;
  left: calc(8 / 12 * 100%);
  width: calc(100% / 12);
  top: var(--y2);
  height: calc(var(--ya) - var(--y2));
  background: var(--season-hatch);
}
.season-overlap__label {
  position: absolute;
  left: 50%;
  top: calc((var(--y1) - var(--y2)) / 2);
  transform: translate(-50%, -50%);
  padding: 2px 4px 2px calc(4px + .16em);
  background: var(--season-paper);
  font: 700 9.5px/1 var(--f-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--season-ink);
}

/* ---------- Dimension brackets ---------- */
.season-dim {
  --season-d: calc(.35s + var(--i, 0) * .15s);    /* draw-in stagger */
  position: absolute;
  z-index: 2;
  left: calc(var(--a) / 12 * 100%);
  width: calc((var(--b) - var(--a)) / 12 * 100%);
  top: calc(var(--y) - 8px);
  height: 16px;
  display: flex;
  align-items: center;
  color: var(--season-ink);
  transition: opacity .25s var(--ease-out), color .25s var(--ease-out);
}
.season-dim--r1 { --y: var(--y1); --season-ext-h: calc(var(--ya) - var(--y1) + 8px); }
.season-dim--r2 { --y: var(--y2); --season-ext-h: calc(var(--ya) - var(--y2) + 8px); }
.season-dim--overall { --y: var(--yo); }

/* End tick (solid, 16px) + dashed extension line down to the axis. Centred on the month boundary so shared ticks coincide. */
.season-dim--r1::before, .season-dim--r1::after,
.season-dim--r2::before, .season-dim--r2::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: var(--season-ext-h);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 1px 16px no-repeat,
    repeating-linear-gradient(to bottom, var(--season-ext) 0 3px, transparent 3px 6px) 0 16px / 1px calc(100% - 16px) no-repeat;
}
.season-dim::before { left: -.5px; }
.season-dim::after { right: -.5px; }

.season-dim__line {
  position: relative;
  flex: 1 1 0;
  min-width: 12px;
  height: 1px;
  background: currentColor;
}
.season-dim__line--l::before,
.season-dim__line--r::after {   /* arrowheads, tips on the end ticks */
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-color: transparent;
}
.season-dim__line--l::before { left: 0; border-width: 3px 7px 3px 0; border-right-color: currentColor; }
.season-dim__line--r::after { right: 0; border-width: 3px 0 3px 7px; border-left-color: currentColor; }
.season-dim--shift .season-dim__line--l { flex: 0 0 var(--season-l, 18px); }   /* tag nudged clear of the today line */

.season-dim__tag {
  position: relative;
  z-index: 2;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  background: var(--season-paper);    /* lines break around text, as on a real drawing */
  font: 700 11px/1 var(--f-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.season-dim__name { margin-right: -.14em; }
.season-dim__num {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--season-paper);
  font: 800 8.5px/1 var(--f-code);
  letter-spacing: .02em;
  transition: background-color .25s, color .25s, border-color .25s;
}
.season-dim__val {
  font: 800 9px/1 var(--f-code);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.season-dim--overall .season-dim__name { font-weight: 600; color: var(--season-label); }

.season-dim.season-is-now .season-dim__num { background: var(--ink); border-color: var(--ink); color: var(--season-paper); }
.season-dim.season-is-lit { color: var(--ink); }
.season-dim.season-is-lit .season-dim__num { background: var(--season-ink); border-color: var(--season-ink); color: var(--season-paper); }
.season-sheet--focus .season-dim[data-phase]:not(.season-is-lit) { opacity: .26; }

/* ---------- Today marker ---------- */
.season-today {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(var(--season-today, 0) * 100%);
  width: 0;
  height: calc(var(--ya) + 12px);
}
.season-has-today .season-today { display: block; }
.season-today__line {
  position: absolute;
  left: -.5px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: var(--ink);
}
.season-today__flag {
  position: absolute;
  left: -.5px;
  top: 0;
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 calc(8px + .14em);
  background: var(--yellow);
  color: var(--ink);
  font: 800 9px/1 var(--f-code);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.season-today--flip .season-today__flag { left: auto; right: -.5px; }
.season-today__dot {
  position: absolute;
  left: -5px;
  top: calc(var(--ya) - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.season-today__dot::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  animation: season-ping 2.8s var(--ease-out) infinite;
  animation-play-state: paused;
}
.season-live .season-today__dot::after { animation-play-state: running; }
@keyframes season-ping {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

/* ---------- Plotter draw-in (only once JS arms it; reduced motion never arms) ---------- */
.season-armed .season-axis__rule,
.season-armed .season-axis__ticks {
  clip-path: inset(-3px 100% -3px -3px);
  transition: clip-path 1s var(--ease-in-out);
}
.season-armed .season-axis__months,
.season-armed .season-axis__quarters,
.season-armed .season-plot::after {
  opacity: 0;
  transition: opacity .6s var(--ease-out) .3s;
}
.season-armed .season-dim--r1::before, .season-armed .season-dim--r1::after,
.season-armed .season-dim--r2::before, .season-armed .season-dim--r2::after {
  clip-path: inset(100% 0 0 0);    /* projected up from the axis */
  transition: clip-path .45s var(--ease-out) var(--season-d);
}
.season-armed .season-dim__line { transition: clip-path .6s var(--ease-out) calc(var(--season-d) + .12s); }
.season-armed .season-dim__line--l { clip-path: inset(-4px 0 -4px 100%); }   /* grows outward from the tag */
.season-armed .season-dim__line--r { clip-path: inset(-4px 100% -4px 0); }
.season-armed .season-dim__tag {
  opacity: 0;
  transform: scale(.88);
  transition: opacity .35s var(--ease-out) calc(var(--season-d) + .06s), transform .45s var(--ease-out) calc(var(--season-d) + .06s);
}
.season-armed .season-overlap { opacity: 0; transition: opacity .5s var(--ease-out) .95s; }
.season-armed .season-today__line { clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-out) 1.3s; }
.season-armed .season-today__flag,
.season-armed .season-today__dot { opacity: 0; transition: opacity .35s var(--ease-out) 1.6s; }

.season-is-drawn .season-axis__rule,
.season-is-drawn .season-axis__ticks { clip-path: inset(-3px -3px -3px -3px); }
.season-is-drawn .season-axis__months,
.season-is-drawn .season-axis__quarters { opacity: 1; }
.season-is-drawn .season-plot::after { opacity: .6; }
.season-is-drawn .season-dim--r1::before, .season-is-drawn .season-dim--r1::after,
.season-is-drawn .season-dim--r2::before, .season-is-drawn .season-dim--r2::after { clip-path: inset(0); }
.season-is-drawn .season-dim__line--l,
.season-is-drawn .season-dim__line--r { clip-path: inset(-4px 0 -4px 0); }
.season-is-drawn .season-dim__tag { opacity: 1; transform: none; }
.season-is-drawn .season-overlap { opacity: 1; }
.season-is-drawn .season-today__line { clip-path: inset(0); }
.season-is-drawn .season-today__flag,
.season-is-drawn .season-today__dot { opacity: 1; }

/* =============================================================================
   Phase notes (desktop: a four-column notes block under the drawing)
   ============================================================================= */
.season-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--season-rule);
  border-bottom: 1px solid var(--season-rule);
}
.season-note {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px clamp(14px, 1.7vw, 22px) 22px;
}
.season-note + .season-note { border-left: 1px solid var(--season-rule); }
.season-note.season-is-lit { background: rgba(30, 58, 95, .035); }

.season-note__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 27px;
  margin-bottom: 14px;
}
.season-note__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--season-ink);
  border-radius: 50%;
  background: var(--season-paper);
  color: var(--season-ink);
  font: 800 9.5px/1 var(--f-code);
  letter-spacing: .04em;
  transition: box-shadow .25s var(--ease-out);
}
.season-note.season-is-now .season-note__num { background: var(--ink); border-color: var(--ink); color: var(--season-paper); }
.season-note.season-is-lit .season-note__num { box-shadow: 0 0 0 4px rgba(30, 58, 95, .12); }
.season-note__when {
  font: 700 10px/1 var(--f-code);
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--season-label);
}

.season-note__title {
  margin-bottom: 10px;
  font: 400 26px/1.02 var(--f-display-2);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.season-note__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* "Running now": a status flag on the notes block's top rule (matches the yellow today flag) */
.season-note__now {
  position: absolute;
  top: -.5px;                                 /* centred on the 1px rule above the cell */
  right: clamp(12px, 1.5vw, 18px);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 7px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 10px/1 var(--f-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.season-note__now[hidden] { display: none; }
.season-note__now::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  animation: dotPulse 2.4s ease infinite;
  animation-play-state: paused;
}
.season-live .season-note__now::before { animation-play-state: running; }

/* Mechanism → plan list, laid out like a drawing's parts list. Neutral on purpose: no tier gets an accent here. */
.season-bom { margin-top: auto; padding-top: 18px; }
.season-bom__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--season-rule);
  font: 700 9.5px/1 var(--f-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.season-bom__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 8px 0 7px;
}
.season-bom__row + .season-bom__row { border-top: 1px solid var(--season-faint); }
.season-bom__name {
  font: 700 13px/1.2 var(--f-label);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}
.season-bom__plan {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font: 600 11.5px/1 var(--f-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--season-label);
}

.season-meter { flex: none; display: inline-flex; gap: 2px; }
.season-meter__cell { width: 7px; height: 7px; border: 1px solid var(--season-ext); }
.season-meter__cell--on { background: var(--season-ink); border-color: var(--season-ink); }

/* Mobile-only pieces */
.season-key,
.season-note__overlap { display: none; }

/* =============================================================================
   Foot: general notes + title block (flush into the bottom-right corner)
   ============================================================================= */
.season-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: end;
  column-gap: 40px;
  margin: 30px calc(-1 * var(--season-pad)) 0 0;
}
.season-gn { padding-bottom: var(--season-pad); }
.season-gn__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 10.5px/1 var(--f-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.season-gn__label::before { content: ''; flex: none; width: 14px; height: 1px; background: var(--season-ink); }
.season-gn__list {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin-top: 12px;
  counter-reset: season-gn;
}
.season-gn__list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  counter-increment: season-gn;
}
.season-gn__list li::before {
  content: counter(season-gn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font: 800 9px/21.6px var(--f-code);
  letter-spacing: .08em;
  color: var(--season-label);
}
.season-gn__list strong { color: var(--ink); }
.season-gn__cta { margin-top: 20px; }

.season-tb {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;                                   /* the gaps are the cell rules */
  margin: 0;
  background: var(--season-rule);
  border-top: 2px solid var(--season-ink);
  border-left: 2px solid var(--season-ink);
}
.season-tb__cell { min-width: 0; padding: 8px 10px 9px; background: var(--season-paper); }
.season-tb__cell--title { grid-column: span 3; }
.season-tb__cell--legend { grid-column: 1 / -1; padding-bottom: 11px; }
.season-tb dt {
  margin-bottom: 6px;
  font: 700 8.5px/1 var(--f-code);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.season-tb dd {
  font: 700 12.5px/1.2 var(--f-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.season-tb .season-tb__brand { font: 800 10px/1 var(--f-code); letter-spacing: .14em; color: var(--season-ink); }
.season-tb__brand span { color: var(--glow-blue); }
.season-tb__brand .season-tb__swarm { color: var(--yellow); }
.season-tb .season-tb__title { font: 400 22px/1 var(--f-display-2); letter-spacing: .03em; }
.season-tb__sub {   /* "Phase 03" under today's date (added by JS) */
  display: block;
  margin-top: 3px;
  font: 600 11px/1.2 var(--f-label);
  letter-spacing: .06em;
  color: var(--season-label);
}

.season-legend { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 1px; }
.season-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 600 11px/1.2 var(--f-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.season-legend .season-legend__wide { flex-basis: 100%; }
.season-legend__glyph { flex: none; overflow: visible; color: var(--season-ink); }
.season-legend__hatch { flex: none; width: 22px; height: 10px; border: 1px solid var(--season-ext); background: var(--season-hatch); }
.season-legend__flagbox { fill: var(--yellow); }
.season-legend__flagpole { stroke: var(--ink); stroke-width: 1; }

/* =============================================================================
   ≤900px: vertical timeline
   ============================================================================= */
@media (max-width: 900px) {
  .season-head { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .season-head__body { justify-self: start; max-width: 640px; padding-bottom: 0; }

  .season-fig { --season-pad: 22px; padding-top: 18px; }
  .season-cap__note { margin-left: 0; flex-basis: 100%; }
  .season-plot { display: none; }

  .season-notes {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 26px;
    border: 0;
  }
  .season-notes::before {   /* the time axis, dashed between phases */
    content: '';
    position: absolute;
    left: 13px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, var(--season-ext) 0 3px, transparent 3px 7px);
  }
  .season-note { padding: 0 0 38px 46px; }
  .season-note + .season-note { border-left: 0; }
  .season-note:last-child { padding-bottom: 6px; }
  .season-note.season-is-lit { background: none; }

  .season-note__num { position: absolute; left: 0; top: 0; z-index: 1; }
  .season-note::before,
  .season-note::after { content: ''; position: absolute; background: var(--season-ink); }
  .season-note::before { left: 13px; top: 33px; bottom: 38px; width: 1px; }   /* the phase's bracket */
  .season-note::after { left: 6px; bottom: 38px; width: 15px; height: 1px; }  /* its end tick */
  .season-note:last-child::before,
  .season-note:last-child::after { bottom: 6px; }

  .season-note__head { margin-bottom: 12px; }
  .season-note__now { top: 4px; right: 0; transform: none; }

  /* Each phase carries a to-scale 12-month key strip: exact months, the shared September, and today */
  .season-key {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-bottom: 16px;
    border: 1px solid var(--season-rule);
    background: var(--season-paper);
  }
  .season-key__m {
    display: grid;
    place-items: center;
    height: 20px;
    font: 700 9.5px/1 var(--f-label);
    color: var(--text-3);
  }
  .season-key__m + .season-key__m { border-left: 1px solid var(--season-faint); }
  .season-key__m--on { background: var(--season-ink); color: var(--season-paper); }
  .season-key__m--ov { background: repeating-linear-gradient(-45deg, var(--season-ink) 0 3px, var(--season-ink-2) 3px 5px); }
  .season-key__today {
    display: none;
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: calc(var(--season-today, 0) * 100%);
    width: 2px;
    margin-left: -1px;
    background: var(--yellow);
    box-shadow: 0 0 0 1px var(--ink);
  }
  .season-has-today .season-key__today { display: block; }

  .season-note__overlap {   /* sits in the gap between phases 02 and 03, on the axis */
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 0;
    top: -30px;
    height: 20px;
    font: 700 10px/1 var(--f-label);
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--season-label);
  }
  .season-note__overlap::before {
    content: '';
    flex: none;
    width: 27px;
    height: 20px;
    border: 1px solid var(--season-rule);
    background: var(--season-hatch), var(--season-paper);
  }

  .season-foot {
    grid-template-columns: minmax(0, 1fr);
    margin: 34px calc(-1 * var(--season-pad)) 0;
  }
  .season-gn { padding: 0 var(--season-pad) 26px; }
  .season-tb { border-left: 0; }
}

@media (max-width: 600px) {
  .season-title { font-size: min(36px, 9.6vw); }

  .season-sheet { --season-gap: 5px; }
  .season-sheet::before {
    inset: -14px;
    background:
      var(--season-mk) left 0 top 13px / 9px 1px no-repeat,
      var(--season-mk) left 13px top 0 / 1px 9px no-repeat,
      var(--season-mk) right 0 top 13px / 9px 1px no-repeat,
      var(--season-mk) right 13px top 0 / 1px 9px no-repeat,
      var(--season-mk) left 0 bottom 13px / 9px 1px no-repeat,
      var(--season-mk) left 13px bottom 0 / 1px 9px no-repeat,
      var(--season-mk) right 0 bottom 13px / 9px 1px no-repeat,
      var(--season-mk) right 13px bottom 0 / 1px 9px no-repeat;
  }
  .season-fig { --season-pad: 16px; padding-top: 16px; }
  .season-cap__fig { padding-right: 12px; }
  .season-cap__name { font-size: 13px; letter-spacing: .14em; }

  .season-note { padding-left: 40px; }
  .season-note__title { font-size: 24px; }
  .season-note__text { font-size: 14px; }

  .season-tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-tb__cell--title,
  .season-tb__cell--today { grid-column: 1 / -1; }
  .season-legend { gap: 7px 14px; }
}

/* ---------- Reduced motion: drawn, still, no loops ---------- */
@media (prefers-reduced-motion: reduce) {
  .season-today__dot::after,
  .season-note__now::before { animation: none; }
  .season-armed .season-axis__rule,
  .season-armed .season-axis__ticks,
  .season-armed .season-dim__line,
  .season-armed .season-dim::before,
  .season-armed .season-dim::after,
  .season-armed .season-today__line { clip-path: none; }
  .season-armed .season-axis__months,
  .season-armed .season-axis__quarters,
  .season-armed .season-dim__tag,
  .season-armed .season-overlap,
  .season-armed .season-today__flag,
  .season-armed .season-today__dot { opacity: 1; transform: none; }
  .season-armed .season-plot::after { opacity: .6; }
}
