/* r11-steps-a.css (round 11 study C, Wednesday, October 14, 2026, INFINITY-WAVE-SITE-STUDY-C, Opus 5.5): OPTION A, the four
   steps as cards, in the look of the four service panels under the hero. Loaded after r9-layout.css. No word moves and no
   tide-stop moves here; the line rule lives in index.html.
   THE IDEA: each step stands in the same box as a service panel (the raised blue, the gold edge, the light along the top,
   the band of scales at the foot), so the page's two sets of four read as one family. The steps are not links, so the
   card does not lift on a hover the way a panel does.
   THE POINTS: on a wide screen each card stands on its point, which sits on the fine thread under the four (pick A of
   round 9), now at the card's text edge, where each panel's point sits above its panel. Stacked, below 981px, each card's
   point rides the line down the left edge at the height of its name, exactly as the stacked panels' points do. */

/* round 2 (Wednesday, October 14, 2026, both critics): THE THREAD FIX moved out to its own file, r11-thread.css, so it can
   ride either letter; and THE NAME CURE below. --leg-px is the card's side padding, which the point and the thread follow */
.course-wrap { --leg-px: clamp(1.5rem, 2.2vw, 2.2rem); }
.leg { padding: clamp(1.7rem, 2.4vw, 2.4rem) var(--leg-px) calc(clamp(1.6rem, 2.2vw, 2.2rem) + var(--band)); --band: 1.75rem;
  background: radial-gradient(420px circle at 50% -30%, var(--iw-glow), transparent 62%), linear-gradient(180deg, var(--iw-panel-lit), var(--iw-panel) 38%, var(--iw-obsidian));
  border: 1px solid var(--iw-gold-a22); border-radius: var(--iw-radius-card); }
.leg::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--iw-gold-lit), transparent); opacity: .55; pointer-events: none; }
.leg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--band); border-top: 1px solid var(--iw-gold-a30); border-radius: 0 0 calc(var(--iw-radius-card) - 1px) calc(var(--iw-radius-card) - 1px); background: url("../img/scales.svg") left top / 39px 19.5px repeat; pointer-events: none; }
.leg-name { margin-bottom: .95rem; }
.course { gap: clamp(1rem, 1.8vw, 1.75rem); }

@media (min-width: 981px) {
  /* the point and the thread start at the card's text edge (the card's 1px edge plus its side padding) */
  .leg .node { left: calc(var(--leg-px) + 1px); }
  .course-wrap::after { left: calc(var(--leg-px) + 1px); }
  /* THE NAME CURE, part 1, every wide width: the four names share one row's height (a subgrid), so the four cards' words
     always begin on one level, even where a name runs to two lines */
  .course { grid-template-rows: auto auto; row-gap: 0; }
  .leg { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}
/* THE NAME CURE, part 2, from 981 to 1179px, where the cards are narrowest (202 to 241px): the side padding drops to 1rem
   and the names to 1.375rem (22px), so the longest name, "Hold the course." (about 7.5 times its size wide), stands on one
   line at every width. From 1180px up nothing changes: the names already stand on one line there */
@media (min-width: 981px) and (max-width: 1179px) {
  .course-wrap { --leg-px: 1rem; }
  .leg-name { font-size: 1.375rem; }
}
@media (max-width: 980px) {
  .course { gap: 1.1rem; }
  .leg .node { top: 2.4rem; }
}
