/* Hero: the opening of the home, on the stage (public_components.css). The controller gives its figure: Gargalo or Partitura. */

/* Title: the title of a stage (public_components.css), at the size and the spacing of this opening. The marker is the block that hugs one word. */
.hero__title { --stage-title-size: var(--hero-title-size, var(--fs-hero-title)); --stage-title-leading: .9; --stage-title-tracking: -.035em; }
.hero__lead { display: block; }
.hero__mark { margin-top: .09em; }

/* Subtitle: the support of a stage, in two voices. The first sentence is the context. The second one says what a maker does, so it carries the weight of a title. */
.hero__subtitle { margin-top: 2rem; }

/* The call names the course and, in a smaller line, what the person builds in it. The phase of the launch stands beside it. */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.25rem; margin-top: 2.25rem; }
.hero-cta { padding-inline: var(--space-l); }
.hero-cta__label { display: grid; gap: calc(var(--space-xs) / 2); text-wrap: balance; }
.hero-cta__label strong { font-weight: var(--fw-title); }
.hero-cta__label small { font-size: var(--fs-caption); font-weight: var(--fw-body); }
/* The still ruby shows only while the figure is stopped. */
.hero-cta__still { display: none; }
[data-cycle-paused="true"] .hero-cta > picture.icon { display: none; }
[data-cycle-paused="true"] .hero-cta__still { display: block; }
/* In a stack, the launch goes below the call, and its label and its count share one line. */
.hero__actions--stack { flex-direction: column; align-items: flex-start; gap: .875rem; }
.hero__actions--stack .launch-line__label { display: inline; margin-right: .25em; font-size: inherit; }

/* The pot is the mark of the site. It leans beside the note of the hero, at the foot of the figure, on the line of the call. */
.hero__base { position: absolute; right: 0; bottom: 6.5rem; display: flex; align-items: flex-end; }
.hero__pot { flex: none; width: 6.5rem; transform: rotate(-7deg); }
.hero__pot img { width: 100%; border: var(--border) solid var(--ink); border-radius: 1rem; background: var(--ink); box-shadow: 6px 6px 0 var(--highlight); }
.hero__base .sticker--hero { position: relative; z-index: 1; margin: 0 0 .5rem -1.5rem; color: var(--ink); }

/* The tools of the opening: the button that shares this view, and the pause of the motion. */
.hero-tools { --tools-size: var(--target-size); position: absolute; display: flex; align-items: center; gap: .75rem; }
.hero-tools__share { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: var(--tools-size); min-height: var(--tools-size); padding: 0 1rem; border: 1px solid var(--stage-rule); border-radius: var(--radius-pill); background: var(--stage-bg); color: var(--stage-text); font-family: var(--font-display); font-size: var(--fs-caption); font-weight: var(--fw-ui); line-height: 1.2; white-space: nowrap; cursor: pointer; }
.hero-tools__share:hover { background: var(--stage-rule); }
.hero-tools__share[hidden] { display: none; }
.hero-tools .figure-pause { width: var(--tools-size); height: var(--tools-size); background: var(--stage-bg); }
.hero-tools .figure-pause:hover { background: var(--stage-rule); }
/* The answer of the copy. While the button shows its label, the label says the answer, and this element speaks to a screen reader only. */
/* When the button keeps only its icon, the answer shows above the tools, and then it goes out. */
.hero-tools__status { position: absolute; right: 0; bottom: calc(100% + .5rem); z-index: 1; width: max-content; max-width: min(20rem, 80vw); margin: 0; padding: .375rem .75rem; border-radius: var(--radius-btn); background: var(--surface); color: var(--ink); font-size: var(--fs-caption); font-weight: var(--fw-ui); line-height: 1.3; pointer-events: none; clip-path: var(--tools-status-clip, inset(50%)); }
.hero-tools__status:empty { display: none; }
/* With no access to the clipboard, the page has no share button and says nothing: the address bar already has the link. */
.hero-tools__share[hidden] ~ .hero-tools__status { display: none; }

/* Gargalo: the marker of the title is the point where the work opens. */
.hero--gargalo .hero__inner { position: relative; container-type: inline-size; padding-block: clamp(.75rem, 3.6vh, 2.25rem) 5.5rem; }
/* The title and the figure share one grid: the indent, the marker and the room at its right. The line of the marker is the line of the flow. */
/* The height of the screen limits the title, so the call stays on the first screen of a short notebook. */
.hero__flow, .hero--gargalo .hero__subtitle { --hero-title-size: clamp(4.5rem, min(14cqi, 20.5vh), 10.5rem); }
.hero__flow {
  --indent: calc(var(--hero-title-size) * .95);
  --bleed: max(var(--gutter), (100vw - var(--container)) / 2);
  display: grid;
  grid-template-columns: var(--indent) auto minmax(0, 1fr);
  row-gap: calc(var(--hero-title-size) * .09);
}
.hero--gargalo .hero__title { display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-column: 1 / -1; grid-row: 1 / 3; }
.hero--gargalo .hero__lead { grid-column: 1 / -1; grid-row: 1; }
.hero--gargalo .hero__mark { grid-column: 2; grid-row: 2; margin-top: 0; }
.maker-flow__in, .maker-flow__out { position: relative; grid-row: 2; }
.maker-flow__in { grid-column: 1; }
.maker-flow__out { grid-column: 3; }
/* The line comes from the edge of the screen, so the work comes from outside the page. */
/* Far from the marker, the dots stand close, as a queue. Near the marker, the queue opens and each dot goes in. */
.maker-flow__trunk { position: absolute; right: 0; top: 50%; width: calc(100% + var(--bleed)); height: 1.5rem; overflow: hidden; translate: 0 -50%; }
.maker-flow__trunk::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; margin-top: -.75px; background: var(--stage-text); }
.maker-flow__dot { position: absolute; top: 50%; width: .5625rem; height: .5625rem; margin: -.28125rem 0 0 -.28125rem; border-radius: 50%; background: var(--stage-text); }
.maker-flow__dot:nth-child(1) { left: 2%; }
.maker-flow__dot:nth-child(2) { left: 6%; }
.maker-flow__dot:nth-child(3) { left: 12%; }
.maker-flow__dot:nth-child(4) { left: 21%; }
.maker-flow__dot:nth-child(5) { left: 35%; }
.maker-flow__dot:nth-child(6) { left: 56%; }
.maker-flow__dot:nth-child(7) { left: 84%; }
/* A dash with no length and a round cap is a dot. The dot moves when the offset of the dash moves. */
.maker-flow__lane { fill: none; stroke: var(--stage-signal); stroke-width: 5; stroke-linecap: round; }
.maker-flow__beads { fill: none; stroke: var(--stage-strong); stroke-width: 13; stroke-linecap: round; stroke-dasharray: .001 2000; }
/* The end of a lane is a confirmed delivery: the accent of the language, which is the color of a confirmation. */
.maker-flow__node { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent); }
/* The fan takes its size from the title, so the three lanes keep their place beside the marker. Its text takes its size from the page width. */
.maker-flow__fan { --fan-h: calc(var(--hero-title-size) * 2); position: absolute; left: 0; top: 50%; display: grid; grid-template-columns: calc(var(--fan-h) * .5357) max-content; height: var(--fan-h); translate: 0 -50%; }
.maker-flow__fan svg { width: 100%; height: 100%; overflow: visible; }
.maker-flow__harness svg { overflow: visible; }
.maker-flow__outcomes { display: grid; grid-template-rows: repeat(3, 1fr); margin: 0; }
.maker-flow__outcomes li { display: flex; align-items: center; gap: .75rem; color: var(--stage-strong); font-size: clamp(1.125rem, 2.15cqi, 1.625rem); font-weight: var(--fw-title); line-height: 1.1; letter-spacing: var(--tracking-title); white-space: nowrap; }
/* The last outcome hangs below the marker, so the subtitle starts below it. */
.hero--gargalo .hero__subtitle { margin-top: calc(var(--hero-title-size) * .2 + 1.5rem); }
/* The foot holds the tools and the figure of a narrow page. On a wide page, the tools stand at the corner of the stage, below the pot. */
.hero__foot { display: contents; }
.hero--gargalo .hero-tools { right: 0; bottom: 1.5rem; }
.maker-flow__alone { display: none; }

/* Partitura: the title is one line as wide as the page. The text and the call share the line below it. The score is the band at the foot. */
.hero--partitura { padding-bottom: 2rem; }
.hero--partitura .hero__inner { container-type: inline-size; padding-top: 1rem; }
.hero--partitura .hero__title { --hero-title-size: clamp(4.5rem, min(13.6cqi, 20vh), 10.5rem); line-height: 1; white-space: nowrap; }
.hero--partitura .hero__lead { display: inline; }
.hero--partitura .hero__mark { margin-top: 0; }
.hero__pitch { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(2rem, 5vw, 4.5rem); margin-top: 1.5rem; }
.hero--partitura .hero__subtitle { max-width: 36em; margin-top: 0; }
.hero--partitura .hero__actions { margin-top: 0; }
/* The tools stand on the head line of the score, at the right edge of the page content. The label of the line stands at the left of them. */
.hero__band { position: relative; margin-top: 2rem; }
.hero--partitura .hero-tools { --tools-size: 2.25rem; z-index: 2; top: 0; right: max(var(--gutter), (100% - var(--container)) / 2); }
/* On a wide page, the tools of this opening are smaller than a touch target, so they fit the head line of the score. An area around each one keeps the size of a target. */
.hero--partitura .hero-tools :is(.hero-tools__share, .figure-pause) { position: relative; }
/* The area starts at the padding edge of the tool, inside its line of 1px. */
.hero--partitura .hero-tools :is(.hero-tools__share, .figure-pause)::after { content: ""; position: absolute; inset: calc((var(--tools-size) - var(--target-size)) / 2 - 1px); }

/* Below this width, the pot would stand on the end of the subtitle, so the figure stands with no pot. */
@media (max-width: 1180px) {
  .hero__base { display: none; }
}

@media (max-width: 900px) {
  .hero--gargalo .hero__inner { padding-block: 1.5rem 4.5rem; }
  .hero__flow { --hero-title-size: clamp(4.5rem, 26cqi, 9rem); display: block; }
  .hero--gargalo .hero__title { display: block; }
  .hero--gargalo .hero__mark { margin-top: .09em; }
  .maker-flow__in, .maker-flow__out { display: none; }
  .hero--gargalo .hero__subtitle { margin-top: 1.5rem; }
  /* On a narrow page, the two tools stand at the top right corner of the figure, and the share button keeps only its icon. */
  .hero__foot { position: relative; display: block; margin-top: 3rem; }
  .hero--gargalo .hero-tools, .hero--partitura .hero-tools { --tools-size: var(--target-size); --tools-status-clip: none; }
  .hero-tools__share { padding: 0; }
  .hero-tools__label { display: none; }
  .hero--gargalo .hero-tools { top: 0; bottom: auto; }
  .maker-flow__alone { display: grid; justify-items: start; }
  .maker-flow__pill { padding: var(--space-xs) var(--space-l); border-radius: var(--radius-pill); background: var(--highlight); color: var(--ink); font-size: var(--fs-card-title); font-weight: 800; line-height: 1.2; letter-spacing: var(--tracking-title); }
  .maker-flow__harness { display: grid; grid-template-columns: 48px minmax(0, 1fr); margin-left: 1.25rem; }
  .maker-flow__alone .maker-flow__outcomes { grid-template-rows: repeat(3, 56px); }
  .maker-flow__alone .maker-flow__outcomes li { font-size: var(--fs-control-large); white-space: normal; }
  .maker-flow__alone .maker-flow__node { width: 1.875rem; height: 1.875rem; }

  .hero--partitura { padding-bottom: 3rem; }
  .hero--partitura .hero__inner { padding-top: 1.5rem; }
  .hero--partitura .hero__title { --hero-title-size: clamp(4.5rem, 26cqi, 9rem); line-height: .9; white-space: normal; }
  .hero--partitura .hero__lead { display: block; }
  .hero--partitura .hero__mark { margin-top: .09em; }
  .hero__pitch { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
  .hero--partitura .hero__actions { gap: 1.25rem; }
  .hero__band { margin-top: 2.75rem; }
  .hero--partitura .hero-tools { right: var(--gutter); }
}

@media (max-width: 560px) {
  .hero__subtitle { margin-top: 1.5rem; }
  .hero__actions { margin-top: 1.75rem; }
  /* On a phone, the label of the line needs the whole head of the score. So the two tools take a row of their own above the score, and the answer of the copy shows at their left. */
  .hero__band { margin-top: 2rem; }
  .hero--partitura .hero-tools { position: relative; top: auto; right: auto; justify-content: flex-end; margin-inline: var(--gutter); }
  .hero--partitura .hero-tools__status { right: calc(2 * var(--tools-size) + 1.25rem); bottom: auto; top: 50%; max-width: calc(100% - 2 * var(--tools-size) - 1.25rem); translate: 0 -50%; }
  .hero--partitura .cycle-score { margin-top: .75rem; }
  /* The call keeps its ruby on a phone. A smaller ruby, less padding and a smaller second line keep the ruby, the label and the arrow on one row. */
  .hero__actions .button { width: 100%; gap: .625rem; padding-inline: var(--space-s); }
  .hero__actions .button > picture.icon, .hero__actions .button > picture.icon img, .hero-cta__still { width: 1.75rem; height: 1.75rem; }
  .hero-cta__label small { font-size: clamp(.75rem, 3.3vw, .875rem); }
  /* On a phone, the launch is one line below the call: the label, and then the count. */
  .hero__actions .launch-line { font-size: var(--fs-caption); }
  .hero__actions .launch-line__label { display: inline; margin-right: .25em; font-size: inherit; }
  .hero__actions .launch-line__unit + .launch-line__unit { margin-left: .125em; }
  .hero__actions .launch-line__unit strong { font-size: var(--fs-control-large); }
}

/* Below 380px, a smaller ruby and less room around it keep the call on one row. */
@media (max-width: 379px) {
  .hero__actions .button { gap: .5rem; padding-inline: .625rem; }
  .hero__actions .button > picture.icon, .hero__actions .button > picture.icon img, .hero-cta__still { width: 1.5rem; height: 1.5rem; }
}

/* The lanes draw themselves once from the marker, and the outcomes arrive at their ends. */
/* Then the work keeps one beat: a dot goes into the marker, three beads go out, and the three deliveries answer. */
@media (prefers-reduced-motion: no-preference) {
  /* One beat is the time between two dots that go into the marker. Each time of the continuous motion comes from the beat, so the figure keeps one rhythm at any speed. */
  .hero--gargalo { --flow-beat: 2.4s; }
  /* Seven dots share one trip, so one dot goes into the marker at each beat. */
  .maker-flow__dot { animation: maker-flow-pull calc(var(--flow-beat) * 7) linear infinite; animation-delay: calc(var(--dot) * var(--flow-beat) * -1); animation-play-state: var(--cycle-play-state, paused); }
  .maker-flow__beads { animation: maker-flow-beads var(--flow-beat) linear infinite; animation-play-state: var(--cycle-play-state, paused); }
  /* A delivery answers when its bead arrives: the lane says which part of the trip is its own. A bead runs the longest lane in .8 of a beat. */
  .maker-flow__node { animation: maker-flow-node var(--flow-beat) ease-out infinite; animation-delay: calc(var(--arrive) * var(--flow-beat) * .8); animation-play-state: var(--cycle-play-state, paused); }
  .maker-flow__lane { stroke-dasharray: 1; stroke-dashoffset: 1; animation: maker-flow-draw .7s cubic-bezier(.3, .7, .2, 1) .35s forwards; }
  .maker-flow__stream { opacity: 0; animation: maker-flow-show .3s ease-out 1s forwards; }
  .maker-flow__outcomes li { opacity: 0; animation: maker-flow-arrive .4s ease-out .85s forwards; }
  .maker-flow__outcomes li:nth-child(2) { animation-delay: .95s; }
  .maker-flow__outcomes li:nth-child(3) { animation-delay: 1.05s; }
  .hero-tools__status:not(:empty) { animation: hero-tools-status 2.8s ease-out forwards; }
}
/* Each step of the path is longer than the step before it: the dot goes faster as it comes near the marker. */
@keyframes maker-flow-pull { 0% { left: 0; } 14.3% { left: 4%; } 28.6% { left: 9%; } 42.9% { left: 16%; } 57.1% { left: 27%; } 71.4% { left: 44%; } 85.7% { left: 68%; } 100% { left: 100%; } }
/* The beads go at one speed for the length of the longest lane. A bead that passes the end of its lane is out of the drawing. */
@keyframes maker-flow-beads { 0% { stroke-dashoffset: 0; } 80%, 100% { stroke-dashoffset: calc(var(--flow-max) * -1px); } }
@keyframes maker-flow-node { 0%, 30%, 100% { scale: 1; } 8% { scale: 1.18; } }
@keyframes maker-flow-draw { to { stroke-dashoffset: 0; } }
@keyframes maker-flow-show { to { opacity: 1; } }
@keyframes maker-flow-arrive { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-tools-status { 0%, 82% { opacity: 1; } 100% { opacity: 0; } }

.keynote:has(+ .section-divider) { border-bottom: 0; }
.keynote + .section-divider + .audience { border-top: 0; }

.keynote__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
  gap: var(--space-xl);
}

.keynote__story .section__title { max-width: 22ch; text-wrap: balance; }
.keynote__story .prose { margin-top: var(--space-l); }
.keynote__story .prose > * + * { margin-top: var(--space-l); }

.keynote__lesson {
  padding: var(--space-xl);
  border-radius: var(--radius-panel);
  background: var(--panel-bg);
  color: var(--panel-text);
  font-size: var(--fs-ui-body);
}

.keynote__takeaway {
  color: var(--panel-title);
  font-size: var(--fs-card-title);
  font-weight: var(--fw-title);
  line-height: var(--lh-ui-title);
  text-wrap: balance;
}

.keynote__lesson > * + * { margin-top: var(--space-l); }

@media (max-width: 1100px) {
  .keynote__lesson { padding: var(--space-l); }
}

@media (max-width: 900px) {
  .keynote__layout { grid-template-columns: minmax(0, 1fr); }
}

/* Code got cheap */
.contrast-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.625rem;
  margin-top: 3.5rem;
}

/* The mark opens the title of its card and takes its size from the title. */
.contrast-cards__icon { display: inline-block; width: 1.1em; height: 1.1em; margin-inline-end: .3em; vertical-align: -.25em; }
.contrast-cards__icon--yes { color: var(--accent); }
.contrast-cards__icon--no { color: var(--rails); }

.sticker--corner {
  position: absolute;
  right: -1.75rem;
  bottom: -2.5rem;
  transform: rotate(4deg);
}

/* AI leads the shared layers. Each profile then has a readable route. */
.pathways__heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: var(--space-xl); }
.pathways .section__title { text-wrap: balance; }
.pathways__heading .section__lead { margin: 0; font-size: var(--fs-reading); color: var(--ink-muted); }
.pathways__layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; margin-top: 3rem; padding: .5rem; border: var(--border-thin) solid var(--ink); border-radius: var(--radius-card); background: var(--panel-bg); color: var(--surface); }
.pathways__layer { display: grid; grid-template-rows: subgrid; grid-row: span 3; min-width: 0; padding: var(--space-l); }
.pathways__layer + .pathways__layer { border-left: 1px solid var(--terminal-rule); }
.pathways__layer-mark { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.pathways__layer-mark .icon { flex: none; }
.pathways__role { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--panel-text); }
.pathways__layer h3 { font-size: var(--fs-card-title); line-height: var(--lh-ui-title); text-wrap: balance; }
.pathways__layer--ai h3 { color: var(--highlight); }
.pathways__layer--ai .pathways__layer-mark .icon { color: var(--highlight); }
.pathways__layer--rails h3, .pathways__layer--foundation h3 { color: var(--surface); }
.pathways__layer p { margin-top: .75rem; font-size: var(--fs-control); color: var(--panel-text); line-height: var(--lh-ui); }
.pathways__profiles { margin-top: 2rem; }
.pathways__profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); align-items: start; gap: 2.5rem; padding-block: 2rem; border-bottom: var(--border-thin) solid var(--rail-tie); }
.pathways__profile-heading h3 { font-size: var(--fs-card-title); line-height: var(--lh-ui-title); }
.pathways__profile-heading p { max-width: 31ch; margin-top: .75rem; color: var(--ink-muted); font-size: var(--fs-control); line-height: var(--lh-ui); }
.pathways ol.pathways__route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 0; }
.pathways__step { position: relative; min-width: 0; padding-top: 1rem; border-top: var(--border-thin) solid var(--ink); }
.pathways__step:not(:last-child)::after { content: ""; position: absolute; width: .5rem; height: .5rem; border-top: var(--border-thin) solid var(--ink); border-right: var(--border-thin) solid var(--ink); top: -.3125rem; right: 0; transform: rotate(45deg); }
.pathways__number { display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .75rem; background: var(--surface-muted); border: var(--border-thin) solid var(--ink); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: var(--fw-title); }
.pathways__step--rails .pathways__number { background: var(--ink); color: var(--surface); }
.pathways__step strong { font-size: var(--fs-control-large); line-height: var(--lh-ui); }
.pathways__step p { margin-top: .5rem; color: var(--ink-muted); font-size: var(--fs-control); line-height: var(--lh-ui); }
.pathways__step--optional { border-top-style: dashed; }
.pathways__optional { display: inline-block; margin-top: .75rem; padding: .25rem .5rem; background: var(--surface-muted); border-radius: .25rem; color: var(--ink-muted); font-size: var(--fs-caption); line-height: var(--lh-caption); }
.pathways__destination { display: flex; gap: 1rem; align-items: start; max-width: 56rem; margin: 2.5rem auto 0; }
.pathways__destination > .icon { flex: none; margin-top: .25rem; color: var(--accent-fill); }
.pathways__closing { font-size: var(--fs-card-title); line-height: var(--lh-ui-title); font-weight: var(--fw-title); }
.pathways__note { margin-top: .75rem; color: var(--ink-muted); font-size: var(--fs-ui-body); line-height: var(--lh-body); }
@media (max-width: 1000px) {
  .pathways__heading { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pathways__profile { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pathways__profile-heading p { max-width: 60ch; }
}
@media (max-width: 900px) {
  .pathways__layers { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 2rem; }
  .pathways__layer { grid-template-rows: auto auto auto; grid-row: auto; padding: 1.25rem; }
  .pathways__layer + .pathways__layer { border-left: 0; border-top: 1px solid var(--terminal-rule); }
  .pathways__layer-mark { margin-bottom: .75rem; }
}
@media (max-width: 600px) {
  .pathways ol.pathways__route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pathways__step { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; border-top: 0; padding: 0 0 1.5rem; }
  .pathways__step:last-child { padding-bottom: 0; }
  .pathways__step:not(:last-child)::after { width: 0; height: calc(100% - 2rem); border: 0; border-left: var(--border-thin) solid var(--rail-tie); transform: none; top: 2rem; left: calc(1rem - 1px); }
  .pathways__step--optional { border: 0; }
  .pathways__number { margin: 0; }
  .pathways__step p { margin-top: .25rem; }
}

/* We don't claim. We measure. */
.scorecards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.125rem;
  margin-top: 3.5rem;
}

.sticker--between {
  position: absolute;
  top: -2rem;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%) rotate(-5deg);
}

.scorecard { padding: 2.75rem 2.375rem 2.25rem; }

.scorecard .branch-link { font-size: var(--fs-control-large); }

.scorecard__score {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-top: .5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: .9;
}

.scorecard__score strong { font-size: var(--fs-metric-xl); letter-spacing: -0.02em; }
.scorecard__score .fraction__max { font-size: var(--fs-metric-unit); }
.scorecard--after .scorecard__score strong { color: var(--accent); }

.scorecard__metric {
  margin-block: 1.125rem .875rem;
  color: var(--ink-muted);
  font-weight: var(--fw-ui);
  font-size: var(--fs-control);
  line-height: var(--lh-ui);
}

.scorecard__text {
  margin-top: 1.25rem;
  font-size: var(--fs-reading);
  line-height: var(--lh-body);
}

.measure__closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.5rem;
}

.measure__claim {
  max-width: 880px;
  font-family: var(--font-display);
  font-weight: var(--fw-title);
  font-size: var(--fs-card-title);
  line-height: var(--lh-ui-title);
  letter-spacing: var(--tracking-title);
}

.measure__closing .button { flex: none; }

.terminal {
  background: var(--ink);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--terminal-shadow);
  color: var(--terminal-text);
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  gap: .625rem;
  padding: 1rem 1.375rem;
  border-bottom: 1px solid var(--terminal-rule);
}

.terminal__bar > span {
  width: .8125rem;
  height: .8125rem;
  border-radius: 50%;
  background: var(--terminal-dot-1);
}

.terminal__bar > span:nth-child(2) { background: var(--terminal-dot-2); }
.terminal__bar > span:nth-child(3) { background: var(--terminal-dot-3); }

.terminal__body {
  padding: 1.5rem 1.75rem 1.75rem;
  overflow-x: auto;
  font-size: var(--fs-code);
  line-height: 2.35;
}

.terminal__prompt { color: var(--terminal-prompt); font-weight: 700; }
.terminal__comment { color: var(--terminal-comment); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* The audience is an editorial spread, with one lead profile. */
.audience__heading { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; }
.audience__heading .section__lead { margin: 0; max-width: 44ch; font-size: var(--fs-reading); color: var(--ink-muted); }
.profiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.5rem; margin-top: 3rem; }
.profile { min-width: 0; padding: 2rem; border: var(--border-thin) solid var(--ink); border-radius: var(--radius-card); }
.profile--experienced { grid-row: span 2; display: flex; flex-direction: column; background: var(--panel-bg); color: var(--surface); padding: 2.5rem; }
.profile--junior { background: var(--surface); }
.profile--vibe { background: var(--bg); }
.profile__heading { display: flex; gap: 1rem; align-items: center; }
.profile__icon { flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: var(--border-thin) solid var(--ink); border-radius: var(--radius-btn); background: var(--surface-muted); color: var(--ink); }
.profile--experienced .profile__heading { flex-direction: column; align-items: start; gap: 1.5rem; }
.profile--experienced .profile__icon { background: var(--highlight); }
.profile__name { font-size: var(--fs-card-title); line-height: var(--lh-ui-title); }
.profile--experienced .profile__name { font-size: var(--fs-ui-title); color: var(--panel-title); max-width: 15ch; }
.profile__facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.25rem; margin-top: 1.75rem; }
.profile__facts dt { color: var(--ink-muted); font-weight: var(--fw-ui); font-size: var(--fs-caption); line-height: var(--lh-caption); margin-bottom: .5rem; }
.profile__facts dd { font-size: var(--fs-control); line-height: var(--lh-ui); }
.profile__goal { border-left: 1px solid var(--rail-tie); padding-left: 1.25rem; }
.profile__want { font-weight: var(--fw-ui); }
.profile--experienced .profile__facts { grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-block: 2rem; }
.profile--experienced .profile__facts dt { color: var(--panel-text); }
.profile--experienced .profile__facts dd { font-size: var(--fs-reading); }
.profile--experienced .profile__goal { border-left: 0; border-top: 1px solid var(--terminal-rule); padding: 2rem 0 0; }
.profile__direction { display: flex; gap: .75rem; align-items: start; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rail-tie); font-weight: var(--fw-ui); font-size: var(--fs-caption); line-height: var(--lh-caption); }
.profile__direction .icon { flex: none; }
.profile--experienced .profile__direction { margin-top: auto; padding-top: 1.5rem; border-color: var(--terminal-rule); color: var(--panel-text); }

/* A lesson explains the decision; the project keeps the working instructions. */
.how-workshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); margin-top: 3rem; border: var(--border-thin) solid var(--ink); border-radius: var(--radius-card); overflow: hidden; }
.how-workshop__lesson, .how-workshop__practice { min-width: 0; padding: 2.5rem; }
.how-workshop__lesson { background: var(--surface); }
.how-workshop__practice { background: var(--panel-bg); color: var(--surface); }
.how-workshop__eyebrow { display: flex; gap: .75rem; align-items: center; font-size: var(--fs-caption); font-weight: var(--fw-ui); }
.how-workshop h3 { margin-top: 1.5rem; font-size: var(--fs-ui-title); line-height: var(--lh-ui-title); }
.how-workshop h3 + p { margin-top: 1rem; font-size: var(--fs-reading); line-height: var(--lh-body); color: var(--ink-muted); }
.how-workshop__practice h3 { color: var(--panel-title); }
.how-workshop__practice h3 + p { color: var(--panel-text); }
.how-workshop__questions { display: grid; gap: 1rem; margin-top: 2rem; }
.how-workshop__questions li { display: flex; gap: .875rem; align-items: start; padding-top: 1rem; border-top: var(--border-thin) solid var(--rail-tie); font-size: var(--fs-control-large); font-weight: var(--fw-ui); }
.how-workshop__questions .icon { flex: none; margin-top: .125rem; }
.how-workshop__file { margin-top: 1.75rem; border: 1px solid var(--terminal-rule); border-radius: var(--radius-btn); overflow: hidden; }
.how-workshop__file-bar { display: flex; align-items: center; gap: .75rem; padding: .875rem 1rem; border-bottom: 1px solid var(--terminal-rule); color: var(--panel-text); font-size: var(--fs-caption); }
.how-workshop__file-bar > span:last-child { margin-left: auto; }
.snippet { margin-top: 1.75rem; padding: 1.25rem; background: var(--surface-muted); border: var(--border-thin) solid var(--ink); border-radius: var(--radius-btn); font-size: var(--fs-code-small); line-height: 1.7; white-space: pre-wrap; }
.how-workshop .snippet { margin: 0; border: 0; border-radius: 0; background: var(--panel-bg); color: var(--terminal-text); overflow-wrap: anywhere; }
.how__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-top: 2rem; }
.how__closing { max-width: 30ch; font-size: var(--fs-card-title); line-height: var(--lh-ui-title); font-weight: var(--fw-title); }
.features { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 3.25rem; font-weight: var(--fw-ui); font-size: var(--fs-control); line-height: var(--lh-ui); }
.features li { display: flex; align-items: center; gap: .875rem; }
.how__footer .features { flex-direction: column; gap: .75rem; margin: 0; }

/* Who's behind it */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  margin-top: 3.5rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.person__photo {
  display: grid;
  place-items: center;
  flex: none;
  width: 9rem;
  height: 9rem;
  border: var(--border-thin) solid var(--ink);
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-code);
}

img.person__photo { object-fit: cover; }

.person__name { font-size: var(--fs-card-title); line-height: var(--lh-ui-title); }

.person__bio {
  margin-top: .75rem;
  color: var(--ink-muted);
  font-size: var(--fs-ui-body);
  line-height: var(--lh-ui);
}

.team { padding-bottom: 5rem; }

@media (max-width: 1100px) {
  .profiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .measure__closing { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .contrast-cards, .scorecards, .people, .how-workshop, .profiles { grid-template-columns: minmax(0, 1fr); }
  .profile--experienced { grid-row: auto; }
  .audience__heading { display: block; }
  .audience__heading .section__lead { margin-top: 1.5rem; }
  .scorecards { gap: 3.5rem; }
  .sticker--between { top: calc(50% - 1.75rem); }
  .sticker--corner { right: .5rem; bottom: -2rem; }
  .person { align-items: flex-start; }
}

@media (max-width: 560px) {
  .profile, .profile--experienced, .how-workshop__lesson, .how-workshop__practice { padding: 1.5rem; }
  .profile__facts { grid-template-columns: minmax(0, 1fr); }
  .profile__goal { border-left: 0; border-top: 1px solid var(--rail-tie); padding: 1.25rem 0 0; }
  .profile__heading { align-items: start; }
  .person__photo { width: 6rem; height: 6rem; }
  .scorecard { padding: 2rem 1.5rem; }
}
