/* About page: how ManySpace decides, drawn from its own formulas (app/Http/Art/AboutArt.php), and what is finished.
   The figures sit in night windows (always dark, like the lab plates); their hue is --tint, set by data-dom or a tint-* class.
   Strokes and fills are the .af-* classes below: lines carry the hue, scaffolding is faint text, the review point is bone. */

.about-wide { max-width: 1100px; margin-top: var(--sp-7); }
.about-wide h2 { font-size: 1.35rem; margin: 0 0 var(--sp-4); }

/* Four figures, two by two; one column on a phone. */
.about-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.about-card { padding: var(--sp-4); display: grid; align-content: start; gap: var(--sp-3); min-width: 0; }
.about-card h3 { margin: var(--sp-2) var(--sp-1) 0; font-size: 1.1rem; }
.about-card p { margin: 0 var(--sp-1) var(--sp-1); color: var(--text-2); }
@media (max-width: 760px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* The night window: the same surface as .labview, at the proportion of the plate (360 x 170). */
.about-fig { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 360 / 170;
  background-image: radial-gradient(120% 80% at 50% 120%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 62%), var(--stardust), linear-gradient(180deg, color-mix(in srgb, var(--tint) 7%, var(--bg-raised)), var(--bg));
  background-size: auto, 180px 180px, auto; background-repeat: no-repeat, repeat, no-repeat;
  box-shadow: inset 0 2px 12px var(--glass-shade), inset 0 -1px 0 color-mix(in srgb, var(--tint) 30%, transparent); }
.about-fig > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.about-fig--row { display: flex; align-items: center; justify-content: space-evenly; }
.af-row { display: flex; align-items: flex-end; justify-content: space-evenly; width: 100%; padding-inline: var(--sp-3); }
.af-step { display: grid; justify-items: center; gap: var(--sp-2); }

.about-fig .af-grid { fill: none; stroke: var(--text); stroke-opacity: .07; stroke-width: 1; }
.about-fig .af-axis { fill: none; stroke: var(--text-3); stroke-opacity: .75; stroke-width: 1.1; }
.about-fig .af-curve { fill: none; stroke: var(--tint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--tint) 70%, transparent)); }
.about-fig .af-dash { fill: none; stroke: var(--text-2); stroke-opacity: .7; stroke-width: 1.2; stroke-dasharray: 4 4; }
.about-fig .af-tick { fill: none; stroke: var(--bone); stroke-width: 2; stroke-linecap: round; }
.about-fig .af-text { font: 500 11px/1.2 var(--font-ui); fill: var(--text-2); color: var(--text-2); }
.about-fig .af-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* A dark keyline under a label that sits across a curve; the colour is the window's own ground. */
.about-fig .af-halo { paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
.about-fig .af-halo-fill { fill: var(--tint); fill-opacity: .16; stroke: none; }
.about-fig .af-planet { fill: color-mix(in srgb, var(--tint) 48%, var(--bg)); stroke: none; }
.about-fig .af-planet--goal { fill: var(--bone); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--bone) 70%, transparent)); }
.about-fig .af-line { fill: none; stroke: var(--tint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--tint) 70%, transparent)); }
.about-fig .af-label { font: 500 12px/1.2 var(--font-ui); fill: var(--text-2); }
.about-fig .af-label--goal { fill: var(--text); font-weight: 600; }

/* Included and not included: two glass cards, each a list with hairlines between rows. */
.about-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 760px) { .about-lists { grid-template-columns: minmax(0, 1fr); } }
.about-list { list-style: none; margin: 0; padding: 0; }
.about-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--line); color: var(--text-2); }
.about-list li:first-child { border-top: 0; padding-top: 0; }
.about-list li > span { min-width: 0; }
.about-mark { width: 18px; height: 18px; margin-top: 2px; }
.about-mark--yes { color: var(--green); }
.about-mark--no { color: var(--text-3); }

.about-after { margin-top: var(--sp-7); }
.about-credits { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-2); color: var(--text-3); font-size: .9rem; }
.about-credits a { color: var(--text-2); }
.about-credits__photos { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: grid; gap: var(--sp-1); font-size: .85rem; line-height: 1.45; }
.about-credits__photos span { color: var(--text-3); }
@media (min-width: 760px) { .about-credits__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-5); } }

/* The photo band: the page's head on the Whirlpool galaxy; the figures and the credits sit below it on the page. */
.about-band { margin-top: var(--sp-5); border-radius: var(--r-lg); }
.about-band__in { padding-inline: clamp(var(--sp-4), 3vw, var(--sp-6)); }
@media (max-width: 759px) { .photo-band.about-band::before { background: linear-gradient(180deg, var(--photo-scrim-strong), var(--photo-scrim) 70%, var(--photo-scrim-strong)); } }
