/* SHEEP STUDIO LTD — ink and chartreuse.
   One brief changing state four times: question, idea, artwork, release.
   Built mobile-first. Everything below 640px is the base; wider screens are additions. */

:root {
  --shs-ground: #101010;
  --shs-pane: #1A1A18;
  --shs-pane-alt: #15150F;
  --shs-raise: #24241E;
  --shs-ink: #F4F4EC;
  --shs-quiet: #9A9A8E;
  --shs-live: #C8F04A;
  --shs-hot: #FF6B57;

  --shs-rule: rgb(154 154 142 / 0.34);
  --shs-rule-hard: rgb(154 154 142 / 0.62);
  --shs-live-wash: rgb(200 240 74 / 0.14);
  --shs-live-edge: rgb(200 240 74 / 0.42);
  --shs-hot-wash: rgb(255 107 87 / 0.16);
  --shs-ink-soft: rgb(244 244 236 / 0.72);
  --shs-shadow: rgb(0 0 0 / 0.55);

  --shs-gutter: 1.25rem;
  --shs-step: 0.75rem;
  --shs-measure: 36rem;
  --shs-cap-w: 16rem;
  --shs-flap: 150ms;

  color-scheme: dark;
}

/* The painted ground stays ink in BOTH scheme states. A visitor whose system asks for light does
   not get a different studio; they get the same one, with the quiet tones lifted a little so the
   small print survives a bright room. Nothing here turns the page pale. */


*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--shs-ground);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--shs-ground);
  color: var(--shs-ink);
  font-family: Epilogue, "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

body.shs-held { overflow: hidden; }

h1, h2, h3, .shs-display {
  font-family: Anton, "Haettenschweiler", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 0.92;
  margin: 0;
}

p { margin: 0 0 1.05em; max-width: var(--shs-measure); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--shs-ink); }
em { font-style: normal; color: var(--shs-live); }

a { color: var(--shs-live); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--shs-ink); background: var(--shs-live-wash); }

:focus-visible {
  outline: 3px solid var(--shs-live);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------------------------------------------------------------- skip link */

.shs-skip {
  position: absolute;
  left: -200vmax;
  top: 0;
  z-index: 90;
  padding: 1rem 1.3rem;
  background: var(--shs-live);
  color: #101010;
  font-weight: 700;
  text-decoration: none;
  transition: left 120ms linear;
}
.shs-skip:focus { left: 0; }

/* ---------------------------------------------------------------- top bar + full-screen nav */

.shs-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem var(--shs-gutter);
  background: var(--shs-ground);
  border-bottom: 3px solid var(--shs-rule);
}

.shs-sig {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  font-size: 0.8125rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--shs-quiet);
  text-decoration: none;
}
.shs-sig:hover { color: var(--shs-ink); background: none; }
.shs-sig svg { display: block; flex: none; }

.shs-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--shs-raise);
  border: 3px solid var(--shs-live-edge);
  color: var(--shs-ink);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.shs-trigger:hover,
.shs-trigger[aria-expanded="true"] {
  background: var(--shs-live);
  border-color: var(--shs-live);
  color: #101010;
}
.shs-trigger__bars {
  display: grid;
  gap: 3px;
  width: 20px;
  flex: none;
}
.shs-trigger__bars i {
  display: block;
  height: 3px;
  background: currentColor;
  transition: transform 180ms ease, width 180ms ease;
}
.shs-trigger__bars i:nth-child(2) { width: 70%; }
.shs-trigger:hover .shs-trigger__bars i:nth-child(2) { width: 100%; }

.shs-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  background: var(--shs-ground);
  background-image:
    radial-gradient(var(--shs-live-wash) 1px, transparent 1.2px);
  background-size: 14px 14px;
  overflow-y: auto;
}
.shs-overlay[data-open="true"] { display: flex; animation: shs-rise 220ms ease both; }

.shs-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--shs-gutter);
  border-bottom: 3px solid var(--shs-rule);
}
.shs-overlay__label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shs-quiet);
}

.shs-close {
  min-height: 48px;
  min-width: 48px;
  padding: 0.6rem 1.1rem;
  background: var(--shs-raise);
  border: 3px solid var(--shs-rule-hard);
  color: var(--shs-ink);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.shs-close:hover { background: var(--shs-hot); border-color: var(--shs-hot); color: #101010; }

/* The page list. It is the SAME markup in the overlay and at the foot of the document, so the
   version a visitor without scripting meets is not a lesser one. */
.shs-pages { list-style: none; margin: 0; padding: var(--shs-gutter); display: grid; gap: 0.7rem; }

.shs-pages a,
.shs-pages .shs-here {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  min-height: 56px;
  padding: 1rem 1.1rem;
  background: var(--shs-pane);
  border-left: 6px solid var(--shs-rule-hard);
  color: var(--shs-ink);
  text-decoration: none;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.shs-pages a:hover {
  background: var(--shs-raise);
  border-left-color: var(--shs-live);
  transform: translateX(4px);
}
.shs-pages .shs-here {
  border-left-color: var(--shs-live);
  background: var(--shs-raise);
  color: var(--shs-quiet);
}
.shs-pages b {
  font-family: Anton, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: inherit;
}
.shs-pages .shs-here b { color: var(--shs-ink); }
.shs-pages span {
  font-size: 0.8125rem;
  color: var(--shs-quiet);
  letter-spacing: 0.04em;
}
.shs-pages .shs-here span::after {
  content: " — you are here";
  color: var(--shs-live);
}

.shs-overlay__foot {
  margin-top: auto;
  padding: 1.2rem var(--shs-gutter) 1.6rem;
  border-top: 3px solid var(--shs-rule);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--shs-quiet);
}
.shs-overlay__foot b {
  display: block;
  margin-bottom: 0.3rem;
  font-family: Anton, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shs-ink);
}

/* ---------------------------------------------------------------- the opener */

.shs-open {
  position: relative;
  padding: 2.6rem var(--shs-gutter) 2.2rem;
  background:
    radial-gradient(rgb(200 240 74 / 0.10) 1px, transparent 1.3px) 0 0 / 11px 11px,
    linear-gradient(176deg, var(--shs-pane) 0%, var(--shs-ground) 78%);
  border-bottom: 3px solid var(--shs-live-edge);
  overflow: hidden;
}

.shs-open__kick {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--shs-live);
}

/* The split-flap title. Letters are real text in the document; the flap is decoration layered
   over them, so with scripting off the name is simply set and still. */
.shs-flaps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 1.4rem;
  font-size: clamp(2.6rem, 15.5vw, 7.5rem);
}
.shs-flaps__word { display: flex; flex-wrap: wrap; gap: 4px; }
.shs-flaps__gap { width: 0.42em; }

.shs-cell {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 0.7em;
  padding: 0.1em 0 0.06em;
  background: var(--shs-raise);
  color: var(--shs-ink);
  overflow: hidden;
}
.shs-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--shs-ground);
  opacity: 0.85;
}
.shs-cell--live { background: var(--shs-live); color: #101010; }
.shs-cell--live::after { background: rgb(16 16 16 / 0.5); }

.shs-cell__glyph { display: block; transform-origin: 50% 0; }

.shs-cell__leaf {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50%;
  background: var(--shs-pane-alt);
  transform-origin: 50% 100%;
  transform: scaleY(0);
  pointer-events: none;
}

.shs-js .shs-flaps--run .shs-cell__glyph {
  animation: shs-settle 340ms cubic-bezier(0.22, 1.4, 0.36, 1) both;
  animation-delay: calc(var(--shs-i, 0) * var(--shs-flap));
}
.shs-js .shs-flaps--run .shs-cell__leaf {
  animation: shs-leaf 300ms ease-in both;
  animation-delay: calc(var(--shs-i, 0) * var(--shs-flap));
}

.shs-lede {
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--shs-ink);
}
.shs-open p { color: var(--shs-ink-soft); }

.shs-states {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.shs-states a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  background: var(--shs-pane);
  border: 3px solid transparent;
  color: var(--shs-ink);
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.shs-states a:hover { border-color: var(--shs-live); background: var(--shs-raise); }
.shs-states a i {
  flex: none;
  font-family: Anton, "Arial Narrow", sans-serif;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--shs-live);
}

.shs-mark {
  position: absolute;
  right: -3.5rem;
  bottom: -3rem;
  width: 17rem;
  opacity: 0.4;
  pointer-events: none;
}
.shs-mark path, .shs-mark rect, .shs-mark circle, .shs-mark line { vector-effect: non-scaling-stroke; }

/* ---------------------------------------------------------------- state panes */

.shs-state {
  padding: 2.4rem var(--shs-gutter);
  background: var(--shs-pane);
  border-bottom: 3px solid var(--shs-rule);
}
.shs-state:nth-of-type(even) {
  background: var(--shs-pane-alt);
  background-image: radial-gradient(rgb(255 107 87 / 0.08) 1px, transparent 1.2px);
  background-size: 13px 13px;
}

.shs-cap { margin: 0 0 1.6rem; }
.shs-cap__no {
  display: block;
  font-family: Anton, "Arial Narrow", sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--shs-live);
}
.shs-state:nth-of-type(even) .shs-cap__no { color: var(--shs-hot); }

.shs-cap h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.9rem, 8.5vw, 3.1rem);
  text-shadow: 0.055em 0.055em 0 var(--shs-live-wash);
}
.shs-state:nth-of-type(even) .shs-cap h2 { text-shadow: 0.055em 0.055em 0 var(--shs-hot-wash); }

.shs-cap__note {
  padding-left: 0.9rem;
  border-left: 3px solid var(--shs-live-edge);
  font-size: 0.9375rem;
  color: var(--shs-quiet);
  max-width: 22rem;
}

.shs-body > :last-child { margin-bottom: 0; }

.shs-state--plain > h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 7.5vw, 2.9rem);
  text-shadow: 0.055em 0.055em 0 var(--shs-live-wash);
}
.shs-state--plain > p { max-width: var(--shs-measure); }

/* Load choreography: timer-driven, on load only, never tied to scrolling.
   The hiding rule is keyed on .shs-anim, which the same script that runs the cascade adds a
   moment before starting it. If script.js never arrives, nothing is ever hidden. */
.shs-lit { opacity: 1; }
.shs-anim .shs-dim { opacity: 0; }
.shs-anim .shs-dim.shs-lit { animation: shs-wake 460ms ease-out both; }

/* ---------------------------------------------------------------- lists in the panes */

.shs-pins {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: var(--shs-measure);
}
.shs-pins li {
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  background: var(--shs-ground);
  position: relative;
  transition: background 160ms ease;
}
.shs-pins li:hover { background: var(--shs-raise); }
.shs-pins li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--shs-live);
}
.shs-pins b { display: block; font-weight: 700; }

.shs-tests {
  margin: 0 0 1.3rem;
  padding: 0 0 0 1.4rem;
  max-width: var(--shs-measure);
  counter-reset: shs-t;
  list-style: none;
}
.shs-tests li {
  position: relative;
  padding: 0.3rem 0 0.9rem 1.6rem;
  border-left: 3px solid var(--shs-rule);
}
.shs-tests li:last-child { padding-bottom: 0.2rem; }
.shs-tests li::before {
  counter-increment: shs-t;
  content: counter(shs-t, decimal-leading-zero);
  position: absolute;
  left: -1.35rem;
  top: 0.28rem;
  width: 2.4rem;
  font-family: Anton, "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  text-align: center;
  background: var(--shs-pane-alt);
  color: var(--shs-live);
}
.shs-state:nth-of-type(even) .shs-tests li::before { background: var(--shs-pane-alt); }

.shs-out {
  margin: 0;
  display: grid;
  gap: 0;
  max-width: var(--shs-measure);
}
.shs-out dt {
  padding: 0.65rem 0.9rem 0.2rem;
  background: var(--shs-ground);
  font-weight: 700;
  color: var(--shs-live);
}
.shs-out dd {
  margin: 0 0 0.5rem;
  padding: 0 0.9rem 0.75rem;
  background: var(--shs-ground);
  color: var(--shs-ink-soft);
}

.shs-nots { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.5rem;
  max-width: var(--shs-measure); }
.shs-nots li {
  padding: 0.65rem 0.9rem;
  border-left: 6px solid var(--shs-hot);
  background: var(--shs-pane);
  color: var(--shs-ink-soft);
  transition: border-left-width 150ms ease, padding-left 150ms ease;
}
.shs-nots li:hover { border-left-width: 10px; padding-left: 0.6rem; }

/* ---------------------------------------------------------------- the crop tool */

.shs-crop {
  margin: 1.4rem 0 0;
  padding: 1.15rem;
  background: var(--shs-ground);
  border: 3px solid var(--shs-rule-hard);
}
.shs-crop h3 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
  color: var(--shs-ink);
}

.shs-fields {
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.shs-fields legend {
  display: block;
  padding: 0;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shs-quiet);
}
.shs-fieldrow { display: grid; gap: 0.8rem; }
.shs-field { display: grid; gap: 0.35rem; min-width: 0; }
.shs-field label {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shs-quiet);
}
.shs-field input {
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  background: var(--shs-raise);
  border: 3px solid var(--shs-rule);
  color: var(--shs-ink);
  font-family: inherit;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 150ms ease, background 150ms ease;
}
.shs-field input:hover { border-color: var(--shs-rule-hard); }
.shs-field input:focus { border-color: var(--shs-live); background: var(--shs-pane); }

.shs-field select {
  min-height: 48px;
  width: 100%;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  background: var(--shs-raise);
  border: 3px solid var(--shs-rule);
  color: var(--shs-ink);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.shs-field select:hover { border-color: var(--shs-rule-hard); }
.shs-field select:focus { border-color: var(--shs-live); background: var(--shs-pane); }

.shs-go {
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  background: var(--shs-live);
  border: 3px solid var(--shs-live);
  color: #101010;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 120ms ease;
}
.shs-go:hover { background: var(--shs-ink); border-color: var(--shs-ink); }
.shs-go:active { transform: translateY(2px); }

.shs-say {
  margin: 0.8rem 0 0;
  min-height: 1.4em;
  font-size: 0.875rem;
  color: var(--shs-hot);
}
.shs-say:empty { display: none; }

.shs-crop__grid { display: grid; gap: 1.2rem; }

.shs-draw {
  margin: 0;
  padding: 0.9rem;
  background: var(--shs-pane-alt);
}
.shs-draw svg { display: block; width: 100%; height: auto; }
.shs-crop .shs-draw svg { max-width: 24rem; margin: 0 auto; }
.shs-draw figcaption {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: var(--shs-quiet);
}
.shs-draw__master { fill: none; stroke: var(--shs-rule-hard); stroke-width: 2; stroke-dasharray: 7 5; }
.shs-draw__kept { fill: var(--shs-live-wash); stroke: var(--shs-live); stroke-width: 3; }
.shs-draw__lost { fill: rgb(255 107 87 / 0.12); stroke: none; }
.shs-draw__tick { stroke: var(--shs-quiet); stroke-width: 1.5; }
.shs-draw__text { fill: var(--shs-quiet); font-family: Epilogue, sans-serif; font-size: 13px; }

.shs-tableWrap { overflow-x: auto; }
table.shs-sizes {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.shs-sizes-note {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  color: var(--shs-quiet);
}
.shs-sizes th, .shs-sizes td { padding: 0.5rem 0.4rem; text-align: right; }
.shs-sizes td { white-space: nowrap; }
.shs-sizes thead th {
  background: var(--shs-raise);
  color: var(--shs-ink);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shs-sizes th[scope="row"] {
  text-align: left;
  font-weight: 700;
  color: var(--shs-live);
  white-space: nowrap;
}
.shs-sizes tbody tr { background: var(--shs-pane); transition: background 140ms ease; }
.shs-sizes tbody tr:nth-child(even) { background: var(--shs-pane-alt); }
.shs-sizes tbody tr:hover { background: var(--shs-raise); }
.shs-sizes td b { font-weight: 700; color: var(--shs-hot); }

@media (max-width: 26rem) {
  .shs-sizes td { white-space: normal; }
  .shs-sizes th[scope="row"] { white-space: normal; }
}

@media (min-width: 40rem) {
  table.shs-sizes { font-size: 0.9375rem; }
  .shs-sizes th, .shs-sizes td { padding: 0.55rem 0.6rem; }
}

.shs-hedge {
  margin: 1rem 0 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--shs-hot);
  font-size: 0.9375rem;
  color: var(--shs-quiet);
  max-width: var(--shs-measure);
}

/* ---------------------------------------------------------------- registered facts + contact */

.shs-start { background: var(--shs-ground); }

.shs-reach {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  margin: 0.4rem 0 1.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--shs-live);
  border: 3px solid var(--shs-live);
  color: #101010;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.shs-reach:hover {
  background: var(--shs-ground);
  color: var(--shs-live);
  box-shadow: 8px 8px 0 var(--shs-live-wash);
}

.shs-facts {
  margin: 0;
  display: grid;
  gap: 0;
  max-width: 34rem;
  border-top: 3px solid var(--shs-rule);
}
.shs-facts div {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--shs-rule);
}
.shs-facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shs-quiet);
}
.shs-facts dd { margin: 0; color: var(--shs-ink); }

/* ---------------------------------------------------------------- sub-page prose */

.shs-read { padding: 2.2rem var(--shs-gutter) 2.8rem; }
.shs-read h1 {
  font-size: clamp(2.1rem, 11vw, 4.4rem);
  margin-bottom: 1rem;
  text-shadow: 0.05em 0.05em 0 var(--shs-live-wash);
}
.shs-read h2 {
  margin: 2.1rem 0 0.75rem;
  font-size: clamp(1.6rem, 6.5vw, 2.3rem);
  color: var(--shs-ink);
}
.shs-read h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--shs-live);
}
.shs-read ul, .shs-read ol { max-width: var(--shs-measure); padding-left: 1.2rem; }
.shs-read li { margin-bottom: 0.5rem; }
.shs-stage {
  margin: 1.6rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--shs-pane);
  border-left: 6px solid var(--shs-live);
}
.shs-stage h2 { margin-top: 0; }
.shs-stage:nth-of-type(even) { border-left-color: var(--shs-hot); background: var(--shs-pane-alt); }

/* ---------------------------------------------------------------- foot */

.shs-footnav {
  padding-top: 1.4rem;
  border-top: 3px solid var(--shs-rule);
  background: var(--shs-ground);
}
.shs-footnav__label {
  margin: 0 var(--shs-gutter);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shs-quiet);
}

.shs-foot {
  padding: 1.6rem var(--shs-gutter) 2.4rem;
  background: var(--shs-ground);
  border-top: 3px solid var(--shs-live-edge);
  font-size: 0.9375rem;
  color: var(--shs-quiet);
}
.shs-foot__name {
  display: block;
  margin-bottom: 0.35rem;
  font-family: Anton, "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--shs-ink);
}
.shs-foot address { font-style: normal; margin-bottom: 0.6rem; max-width: 26rem; }
.shs-foot p { margin-bottom: 0.4rem; max-width: 32rem; }
.shs-foot a { color: var(--shs-live); }

/* ---------------------------------------------------------------- keyframes */

@keyframes shs-settle {
  0%   { transform: rotateX(-88deg) translateY(-0.06em); opacity: 0.2; }
  62%  { transform: rotateX(9deg) translateY(0); opacity: 1; }
  100% { transform: rotateX(0deg) translateY(0); opacity: 1; }
}

@keyframes shs-leaf {
  0%   { transform: scaleY(1); opacity: 0.95; }
  70%  { transform: scaleY(0.12); opacity: 0.5; }
  100% { transform: scaleY(0); opacity: 0; }
}

@keyframes shs-wake {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shs-rise {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shs-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.8; }
}

.shs-mark__spark { animation: shs-pulse 4.2s ease-in-out infinite; }

/* ---------------------------------------------------------------- wider screens */

@media (min-width: 40rem) {
  :root { --shs-gutter: 2rem; }
  .shs-fieldrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body { font-size: 1.09375rem; }
  .shs-states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shs-open { padding: 3.4rem var(--shs-gutter) 3rem; }
  .shs-state { padding: 3.2rem var(--shs-gutter); }
  .shs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; }
}

@media (min-width: 62rem) {
  :root { --shs-gutter: 3.25rem; --shs-cap-w: 19rem; --shs-measure: 38rem; }

  /* The pinned caption column: the pane's body travels, the state it belongs to stays put. */
  .shs-state {
    display: grid;
    grid-template-columns: var(--shs-cap-w) minmax(0, 40rem);
    justify-content: start;
    gap: 0 3rem;
    padding: 4.2rem var(--shs-gutter);
  }
  .shs-state:nth-of-type(even) {
    grid-template-columns: minmax(0, 40rem) var(--shs-cap-w);
    justify-content: end;
  }
  /* The crop tool is an instrument rather than prose, so its pane runs wider than a column of
     text would. */
  #artwork { grid-template-columns: minmax(0, 46rem) var(--shs-cap-w); }
  .shs-state:nth-of-type(even) .shs-cap { grid-column: 2; grid-row: 1; }
  .shs-state:nth-of-type(even) .shs-body { grid-column: 1; grid-row: 1; }

  /* The two panes that carry no pinned caption keep a single measure. */
  .shs-state--plain,
  .shs-state--plain:nth-of-type(even) { display: block; }
  .shs-cap {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    margin: 0;
  }
  .shs-cap__no { font-size: 3.6rem; }
  .shs-open { padding: 5rem var(--shs-gutter) 4rem; }
  .shs-lede { font-size: 1.3125rem; max-width: 38rem; }
  .shs-states { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
  .shs-states a { flex-direction: column; align-items: flex-start; gap: 0.3rem; min-height: 86px; }
  .shs-mark { right: 4.5rem; top: 19rem; bottom: auto; width: 19rem; opacity: 0.5; }
  /* The reading pages echo the index: blocks alternate which edge of the column they hug,
     so the measure stays readable instead of stretching to fill the width. */
  .shs-read { max-width: 58rem; }
  .shs-read > p { max-width: 42rem; }
  .shs-stage { max-width: 44rem; }
  .shs-stage:nth-of-type(even) { margin-left: auto; }
  .shs-read h2 { max-width: 26ch; }
  .shs-read > h2 { max-width: 30ch; }
  .shs-fieldrow { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
  .shs-state--plain { max-width: 70rem; }
  .shs-state--plain > h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); max-width: 24ch; }
  .shs-state--plain > p { max-width: 42rem; }
  .shs-nots { max-width: 100%; columns: 2; column-gap: 2.2rem; display: block; }
  .shs-nots li { break-inside: avoid; margin-bottom: 0.55rem; }
  .shs-facts { max-width: 44rem; }
  .shs-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 2.5rem var(--shs-gutter); }
  .shs-pages a, .shs-pages .shs-here { flex-direction: column; min-height: 118px; }
  .shs-footnav__label { margin-left: var(--shs-gutter); }
}

@media (min-width: 82rem) {
  .shs-open__inner, .shs-read { margin-inline: auto; }
  .shs-state { gap: 0 5rem; }
  .shs-flaps { font-size: 8.2rem; }
}

/* ---------------------------------------------------------------- reduced motion
   Last block in the file and every declaration forced, so no later selector and no higher
   specificity elsewhere can quietly win this argument back. */

/* ---------------------------------------------------------------------------------------------
   Studio art. Two halftone plates, same ink as the rest of the page, placed where they say
   something the prose cannot: the ram closes the opener because it IS the studio's face, and the
   dispersing flock sits in 04 because release is exactly that -- the work thinning out across
   placements until the last of it is one dot.

   Width and height are on the <img>, so the box is reserved before the bytes land and nothing
   below it jumps. The frame is a rule plus a wash, never a drop shadow: this page has no
   shadows anywhere else. */

.shs-art {
  margin: calc(var(--shs-gutter) * 1.4) 0 0;
  padding: 0;
  border: 1px solid var(--shs-rule);
  background: var(--shs-pane);
  overflow: hidden;
  transition: border-color .32s ease, background-color .32s ease;
}

.shs-art img {
  display: block;
  width: 100%;
  height: auto;
  /* the plates are drawn on the page's own ground, so they sit flush with no inner padding */
  background: var(--shs-ground);
}

.shs-art figcaption {
  margin: 0;
  padding: .85rem var(--shs-gutter) 1rem;
  max-width: var(--shs-measure);
  color: var(--shs-ink-soft);
  border-top: 1px solid var(--shs-rule);
}

.shs-art:hover,
.shs-art:focus-within {
  border-color: var(--shs-live-edge);
  background: var(--shs-live-wash);
}

/* The ram is the opener's closing beat, so it runs wider than the measure and keeps the
   generous black field on its right where the dots have already stopped. */
.shs-art--ram {
  margin-top: calc(var(--shs-gutter) * 1.8);
}

.shs-art--flock {
  margin-top: calc(var(--shs-gutter) * 1.2);
}

@media (min-width: 60rem) {
  .shs-art--ram { margin-right: calc(var(--shs-gutter) * -0.5); }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .shs-cell__leaf { display: none !important; }
  .shs-anim .shs-dim { opacity: 1 !important; }
  .shs-mark__spark { opacity: 0.6 !important; }
  .shs-pages a:hover { transform: none !important; }
  .shs-go:active { transform: none !important; }
}


/* gcf:theme-pinned */
:root { color-scheme: dark; }
