/* Field Study: page-scoped rules. Kit classes carry everything else (site/kit/README.md). */

/* The drawings are the matter: contour lines in ink at rest, in the panel's hue while it is lit. One panel is lit at a time. */
[data-hue="approach"] { --lit: var(--th-approach); }
[data-hue="core"] { --lit: var(--th-core); }
[data-hue="recede"] { --lit: var(--th-recede); }

.fs-svg { display: block; width: 100%; height: auto; }
.fs-svg path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.fs-c {
  stroke: var(--th-ink-2); stroke-width: 1;
  transition: stroke .6s var(--th-ease-decay), stroke-dashoffset 900ms var(--th-ease-decay);   /* the kit's th-dg-draw sets the dash; this keeps its timing and adds the colour */
}
/* The plate scales with its column, so the widths are set per width to land on 1.2 to 1.8 px as drawn (the viewBox is 300 wide) */
.fs-l1 { stroke-opacity: .55; }
.fs-l2 { stroke-opacity: .8; stroke-width: 1.2; transition-delay: 0s, 140ms; }
.fs-l3 { stroke-opacity: 1; stroke-width: 1.45; transition-delay: 0s, 280ms; }
.fs-o { stroke: var(--th-ink-2); stroke-width: 1; stroke-dasharray: 1.5 2.5; stroke-opacity: .7; }
[data-lit] .fs-c { stroke: var(--lit); }
@media (min-width: 720px) {
  .fs-fig .fs-c { stroke-width: .55; } .fs-fig .fs-l2 { stroke-width: .65; } .fs-fig .fs-l3 { stroke-width: .8; } .fs-fig .fs-o { stroke-width: .55; }
}
@media (min-width: 1100px) {
  .fs-fig .fs-c { stroke-width: .5; } .fs-fig .fs-l2 { stroke-width: .6; } .fs-fig .fs-l3 { stroke-width: .72; } .fs-fig .fs-o { stroke-width: .5; }
}

/* hero: the three stills on one plate, the first lit */
.fs-hero { margin: 0; }
.fs-hero-grid { display: grid; }
.fs-hero-cell { display: grid; gap: 16px 28px; align-items: center; padding: var(--th-space-4) var(--th-space-4); }
.fs-hero-cell + .fs-hero-cell { border-top: 1px solid var(--th-hairline); }
@media (min-width: 520px) { .fs-hero-cell { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
.fs-hero-label { margin: 0; font: 500 17px/1.3 var(--th-font-ui); letter-spacing: -.005em; color: var(--th-ink); }
.fs-hero-label span { display: block; margin-bottom: 6px; font: var(--th-label); letter-spacing: var(--th-label-track); color: var(--lit); }   /* the number takes the field's hue */
.fs-hero-label small { display: block; margin-top: 6px; font: 400 14px/1.45 var(--th-font-ui); color: var(--th-ink-2); }
/* the hero shows all three fields lit, each in its own hue (the Doppler set: approach, core, recede), so no thumbnail reads as switched off next to a blue one */
.fs-hero .fs-c { stroke: var(--lit); }
/* numbers and units in running text never split across lines (1e-3, 10 ms) */
.nw { white-space: nowrap; }
.fs-hero .fs-svg {
  max-width: 300px; aspect-ratio: 16 / 10; height: auto;
  border-radius: var(--th-r-inner); background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--th-hairline-strong);   /* a window: the contours are a crop of a larger field, so the crop gets rounded edges instead of a flat cut */
}
.fs-hero .fs-c { stroke-width: 1.15; } .fs-hero .fs-l1 { stroke-width: 1; } .fs-hero .fs-l3 { stroke-width: 1.4; } .fs-hero .fs-o { stroke-width: 1; }

/* section 1: three panels. The plate is a figure of the kit's family; the numbered pins sit on real contour points and match the key list */
.fs-panels { display: grid; gap: 88px; }
.fs-panel { display: grid; gap: 24px; scroll-margin-top: calc(var(--th-nav-total, 64px) + 62px); }
.fs-panel-head { display: grid; gap: 10px; }
.fs-panel-head h3 { margin: 0; }
@media (max-width: 719px) { .fs-panels { gap: 72px; } }
.fs-plate-wrap { position: relative; }
.fg-pin {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  font: 500 12px/1 var(--th-font-ui); font-style: normal; font-variant-numeric: tabular-nums; color: var(--th-ink);
  background: var(--th-void); box-shadow: 0 0 0 1.25px var(--th-ink); pointer-events: none;
}
.fg-pin--dot { box-shadow: 0 0 0 1.25px var(--th-ink); }   /* the same solid ring as the other pins; the key lists the inclusions with the same marker */
.fs-cols { display: grid; gap: 24px 40px; }
@media (min-width: 900px) { .fs-cols { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.fs-eq .th-formula { margin: 0; }
.fs-vars { margin: 12px 0 0; color: var(--th-ink-2); font: 400 14px/1.5 var(--th-font-ui); max-width: 52ch; }

/* section 3 */
.fs-note { margin-top: 20px; color: var(--th-ink-2); max-width: 66ch; }

