/* Little Letters · Playground prototype (Phase 05.2), Paper Polish + Letter Drawer (Phase 05.3)
   The font is the release WOFF2 in fonts/, copied there by build.py. */

/* Phase 05.5B: the site uses the same LittleLetters-Regular.woff2 that ships in the download.
   block (not swap) keeps the handwriting from flashing in a fallback font; index.html preloads it. */
@font-face {
  font-family: "Little Letters";
  src: url("fonts/LittleLetters-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  --ivory: #F7F3EA;
  --paper: #FFFCF6;
  --graphite: #34342F;
  --graphite-soft: #64635B;
  --terracotta: #A66D60;
  /* Phase 05.7B: a deeper terracotta for small text (5.2:1 on ivory, 5.6:1 on paper).
     --terracotta stays for rules, doodles, tape and focus rings. */
  --terracotta-ink: #8F584B;
  --sage: #84947B;
  --border: #E4DDD1;

  --letters: "Little Letters", ui-rounded, system-ui, sans-serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --edge: 20px;
  --measure: 1180px;
}

@media (min-width: 480px) { :root { --edge: 24px; } }
@media (min-width: 720px) { :root { --edge: clamp(48px, 6.5vw, 96px); } }

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

html {
  background: var(--ivory);
  color: var(--graphite);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(132, 148, 123, 0.28); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 3px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--edge);
  top: 12px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transform: translateY(-200%);
  z-index: 30;
}
.skip:focus { transform: none; }

/* Header ------------------------------------------------------------ */

main > section,
.site-footer,
.site-header-inner {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--edge));
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* Phase 05.1: a slim strip of paper that stays at the top. The room it takes is kept clear for
   anchor jumps and keyboard focus by scroll-padding on html. */
:root { --header-space: 108px; }
@media (min-width: 880px) { :root { --header-space: 76px; } }
html { scroll-padding-top: var(--header-space); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Solid paper, so whatever scrolls beneath leaves cleanly at the bottom edge. */
  background: var(--grain), var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 14px -14px rgba(52, 52, 47, 0.4);
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* Phones and tablets: wordmark and Download on the first row, the five links on their own row below. */
.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "mark get" "nav nav";
  align-items: center;
  gap: 4px 16px;
  padding-top: 8px;
  padding-bottom: 4px;
}

.wordmark { grid-area: mark; justify-self: start; }
.site-header nav { grid-area: nav; }
.header-download { grid-area: get; }

@media (min-width: 880px) {
  .site-header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "mark nav get";
    gap: 0 32px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-header nav { justify-self: end; }
  .site-header ul { gap: 24px; }
}

.wordmark,
.site-header nav a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark { font-weight: 600; }

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Five links in one row down to 320 px: they close up a little below 480 px and again below
   380 px, so "About" stays inside the margin. They wrap rather than scroll if text is enlarged. */
@media (max-width: 479px) {
  .site-header ul { column-gap: 16px; }
}
@media (max-width: 379px) {
  .site-header ul { column-gap: 12px; }
}

.site-header nav a { color: var(--graphite-soft); }
.site-header nav a:hover { color: var(--graphite); }
.site-header nav a:hover,
.site-header nav a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* The one filled thing in the header: small, graphite ink on paper, the same pill as the site's buttons. */
.header-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px 7px 15px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
  background: var(--graphite);
  color: var(--paper);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header-download:hover { background: #45453F; }
.header-download span { font-size: 12px; }

@media (max-width: 879px) {
  .header-download { min-height: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .header-download { transition: background-color 120ms ease; }
}

/* Hero -------------------------------------------------------------- */

.hero {
  padding-top: clamp(56px, 15vw, 96px);
  padding-bottom: clamp(64px, 17vw, 96px);
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: var(--letters);
  font-weight: 400;
  /* "letters." is 3.03 em wide; keep it inside narrow screens. */
  font-size: clamp(56px, 24vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-title span { display: block; }

.hero-tagline {
  margin: 0.8em 0 0;
  font-family: var(--letters);
  font-size: clamp(24px, 6.6vw, 30px);
  line-height: 1.3;
}

.hero-tagline .phrase { display: block; }

.underlined {
  position: relative;
  white-space: nowrap;
}

.underline {
  position: absolute;
  left: -0.04em;
  right: -0.02em;
  bottom: -0.2em;
  width: calc(100% + 0.06em);
  height: 0.32em;
  overflow: visible;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 0.056em;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}

.hero-note {
  margin: 1.9em 0 0;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--graphite-soft);
}

@media (min-width: 720px) {
  .hero {
    padding-top: clamp(96px, 12vw, 168px);
    padding-bottom: clamp(80px, 9vw, 128px);
    text-align: left;
  }

  .hero-title {
    /* "little letters." is 5.32 em wide: 11vw keeps it on one line with room to spare. */
    font-size: clamp(88px, 11vw, 160px);
    line-height: 1.1;
    margin-left: -0.04em;
    white-space: nowrap;
  }

  .hero-title span { display: inline-block; }

  .hero-tagline { margin-top: 0.9em; font-size: clamp(30px, 3.1vw, 42px); }
  .hero-tagline .phrase { display: inline-block; }
  .hero-note { margin-top: 1.4em; font-size: 16px; }
}

/* Phase 05.1: the hero writes itself in once. Each line rises a few pixels out of a soft blur, a beat
   after the one before, and the terracotta underline is drawn last, left to right. Nothing loops.
   The inline script in index.html adds .hero-wait only when motion is welcome, and .hero-go once
   the letters have loaded (or after 1.2 s), so without it the hero is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .hero-wait .hero .rise,
  .hero-wait .hero .underline { opacity: 0; }

  .hero-go .hero .rise {
    animation: rise 760ms cubic-bezier(0.22, 0.7, 0.25, 1) calc(var(--i, 0) * 130ms + 60ms) both;
  }

  .hero-go .hero .underline {
    animation: underline 640ms cubic-bezier(0.45, 0.05, 0.3, 1) 840ms both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); filter: blur(1.5px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes underline {
  from { opacity: 0.85; clip-path: inset(-60% 100% -60% -4%); }
  to { opacity: 0.85; clip-path: inset(-60% -4% -60% -4%); }
}

/* Playground -------------------------------------------------------- */

.label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  font: 500 13px/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.margin-mark {
  font-family: var(--letters);
  font-size: 22px;
  line-height: 0;
  color: var(--terracotta);
  letter-spacing: 0;
  transform: translateY(0.18em);
}

.play { padding-bottom: clamp(72px, 12vw, 128px); }

.sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(52, 52, 47, 0.04), 0 12px 32px -24px rgba(52, 52, 47, 0.18);
}

/* A pencil margin line, the one notebook detail on the sheet. */
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44px;
  width: 1px;
  background: var(--terracotta);
  opacity: 0.28;
  pointer-events: none;
}

.writing {
  --size: 72px;
  display: block;
  width: 100%;
  min-height: calc(var(--size) * 1.3 * 2 + 64px);
  margin: 0;
  padding: 32px 28px 32px 68px;
  border: 0;
  border-radius: 6px;
  resize: none;
  overflow: hidden;
  font-family: var(--letters);
  font-size: var(--size);
  /* 1.3 keeps capital accents inside a box that clips; DESIGN.md asks for 1.2 or more. */
  line-height: 1.3;
  color: var(--graphite);
  caret-color: var(--terracotta);
  overflow-wrap: break-word;
  /* Faint rules on the font's baseline: half-leading 0.15 em plus the 0.8 em ascent. */
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent 0.95em,
    rgba(132, 148, 123, 0.32) 0.95em,
    rgba(132, 148, 123, 0.32) calc(0.95em + 1px),
    transparent calc(0.95em + 1px)
  );
  background-size: 100% 1.3em;
  background-origin: content-box;
  background-clip: content-box;
}

.writing:focus { outline: none; }
.sheet:has(.writing:focus-visible) {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 20px;
  font-size: 14px;
}

.size {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 260px;
  max-width: 420px;
}

.size label { color: var(--graphite-soft); }

.size output {
  min-width: 4.5ch;
  font-variant-numeric: tabular-nums;
  color: var(--graphite-soft);
  text-align: right;
}

input[type="range"] {
  flex: 1;
  min-width: 0;
  height: 32px;
  margin: 0;
  background: transparent;
  accent-color: var(--graphite);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  background: var(--paper);
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  background: var(--paper);
}

/* Forced colors repaint the track's background away; draw it in the system text color instead. */
@media (forced-colors: active) {
  input[type="range"]::-webkit-slider-runnable-track { forced-color-adjust: none; background: CanvasText; }
  input[type="range"]::-moz-range-track { forced-color-adjust: none; background: CanvasText; }
}

.actions {
  display: flex;
  gap: 10px;
}

button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--graphite);
  font: 500 14px/1.2 var(--sans);
  cursor: pointer;
}

button:hover { border-color: var(--sage); }
button:active { background: var(--ivory); }

#surprise {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}
#surprise:hover { background: #45453F; }

@media (prefers-reduced-motion: no-preference) {
  button { transition: background-color 120ms ease, border-color 120ms ease; }
}

.missing {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--graphite-soft);
}

@media (max-width: 719px) {
  .sheet::before { left: 28px; }
  .writing { --size: 44px; padding: 24px 18px 24px 44px; }
  .controls { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
  .size { max-width: none; flex-basis: auto; }
  /* Quieter on phones: sized to their words, 44 px tall for thumbs. */
  .actions { gap: 8px; }
  .actions button { min-height: 44px; padding: 8px 16px; font-size: 14px; }
  #surprise { background: var(--paper); border-color: var(--graphite); color: var(--graphite); }
  #surprise:hover { background: var(--ivory); }
}

/* About ------------------------------------------------------------- */

.about,
.drawer,
.wild {
  position: relative;
  padding-top: clamp(40px, 8vw, 64px);
  padding-bottom: clamp(72px, 12vw, 128px);
}

.about::before,
.drawer::before,
.wild::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--edge);
  right: var(--edge);
  border-top: 1px solid var(--border);
}

.about-body { max-width: 38rem; }

.about-lede {
  margin: 0 0 20px;
  font-family: var(--letters);
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.3;
}

.about-body p { margin-top: 0; }
.about-body p:not(.about-lede) { color: var(--graphite-soft); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 28px 0 0;
  font-size: 14px;
}
.facts dt { color: var(--graphite-soft); }
.facts dd { margin: 2px 0 0; }

/* Footer ------------------------------------------------------------ */

.site-footer {
  padding-bottom: 40px;
  font-size: 13px;
  color: var(--graphite-soft);
}
.site-footer p { margin: 0; }

/* Phase 05.1: who made it, quietly under the pencil line. */
.footer-credit {
  margin-top: 10px !important;
  font-size: 12px;
  line-height: 1.6;
}
.footer-credit .credit-bit { white-space: nowrap; }
.footer-credit a {
  text-decoration-color: rgba(166, 109, 96, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-credit a:hover { color: var(--graphite); text-decoration-color: var(--terracotta); }

/* The one doodle: a pencil finishing its line. */
.doodle {
  display: inline-block;
  width: 66px;
  height: 15px;
  margin-left: 10px;
  vertical-align: -3px;
  overflow: visible;
  fill: none;
  stroke: var(--graphite-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doodle-trail { stroke: var(--terracotta); opacity: 0.7; }
.doodle-pencil { opacity: 0.85; }

/* The Letter Drawer ---------------------------------------------------- */

.drawer-title {
  margin: 0;
  font-family: var(--letters);
  font-weight: 400;
  font-size: clamp(44px, 12vw, 72px);
  line-height: 1.1;
}

.drawer-intro {
  margin: 0.35em 0 0;
  font-family: var(--letters);
  font-size: clamp(22px, 5.4vw, 28px);
  line-height: 1.3;
  color: var(--graphite-soft);
}

.drawer-intro .phrase { display: block; }
@media (min-width: 600px) { .drawer-intro .phrase { display: inline; } }

.drawer-app { margin-top: clamp(28px, 6vw, 48px); }

.drawer-body {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

/* Selected character: a sheet from the same notebook as the playground. */
.preview {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(52, 52, 47, 0.04), 0 12px 32px -24px rgba(52, 52, 47, 0.18);
}

@media (max-width: 379px) {
  .preview { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 10px 12px 10px 8px; }
  .preview-stage { font-size: 60px; }
  .preview-copy { padding-inline: 12px 12px; }
}

/* On phones the selected letter stays in view while you browse, docked just below the header. */
@media (max-width: 959px) {
  .preview {
    position: sticky;
    top: var(--header-space);
    z-index: 2;
  }
}

.preview-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.16em 0 0.06em;
  font-family: var(--letters);
  font-size: 72px;
  line-height: 1;
  border-right: 1px solid rgba(166, 109, 96, 0.28);
}

/* Guides from the font's metrics: x-height 0.534 em and baseline 0.8 em down. */
.preview-ruled {
  display: block;
  width: 100%;
  height: 1em;
  text-align: center;
  background-image:
    linear-gradient(to bottom,
      transparent 0.266em, rgba(132, 148, 123, 0.18) 0.266em,
      rgba(132, 148, 123, 0.18) calc(0.266em + 1px), transparent calc(0.266em + 1px),
      transparent 0.8em, rgba(132, 148, 123, 0.42) 0.8em,
      rgba(132, 148, 123, 0.42) calc(0.8em + 1px), transparent calc(0.8em + 1px));
}

.preview-glyph {
  display: inline-block;
  min-width: 0.3em;
  color: var(--graphite);
  user-select: all;
  -webkit-user-select: all;
}

.preview-info { min-width: 0; }

.preview-name {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.preview-meta {
  margin: 2px 0 10px;
  font-size: 13px;
  color: var(--graphite-soft);
}

.preview-code {
  white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--terracotta-ink);
}

.preview-copy {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px 6px 12px;
  font-size: 13px;
}

.preview-copy-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-copy.is-copied { border-color: var(--terracotta); }
.preview-copy.is-copied .preview-copy-icon { color: var(--terracotta); }

/* Filters ----------------------------------------------------------- */

.drawer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.chip {
  min-height: 36px;
  padding: 6px 13px;
  background: transparent;
  border-color: var(--border);
  color: var(--graphite-soft);
  font-size: 13px;
  font-weight: 500;
}

.chip:hover { color: var(--graphite); }

.chip-count {
  margin-left: 2px;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.chip[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--graphite);
  color: var(--graphite);
}

/* Specimens --------------------------------------------------------- */

.drawer-group { margin-top: 24px; }

.drawer-group-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.drawer-group-count {
  font-weight: 400;
  letter-spacing: 0;
}

.specimens {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specimen {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
  height: 60px;
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--paper);
  font: 400 28px/1 var(--letters);
  color: var(--graphite);
  /* Leaves room for the sticky preview when focus scrolls a tile into view. */
  scroll-margin-top: 150px;
  scroll-margin-bottom: 16px;
}

/* Each specimen sits on its own faint baseline. */
.specimen-ink {
  display: block;
  width: 100%;
  height: 1em;
  padding-top: 0.04em;
  text-align: center;
  background-image: linear-gradient(to bottom,
    transparent 0.84em, rgba(132, 148, 123, 0.26) 0.84em,
    rgba(132, 148, 123, 0.26) calc(0.84em + 1px), transparent calc(0.84em + 1px));
  pointer-events: none;
}

.specimen:hover { border-color: var(--sage); background: var(--paper); }
.specimen:active { background: var(--ivory); }

.specimen[aria-pressed="true"] {
  border-color: var(--terracotta);
  box-shadow: inset 0 0 0 1px var(--terracotta);
}

/* A small pencil tick in the corner of the chosen specimen. */
.specimen[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.specimen:focus-visible { outline-offset: 2px; }

.drawer-note,
.drawer-empty {
  display: flex;
  gap: 8px;
  max-width: 38rem;
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--graphite-soft);
}

.drawer-note .margin-mark { font-size: 18px; transform: translateY(0.3em); }

@media (min-width: 720px) {
  .specimens { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; }
  .specimen { height: 68px; font-size: 32px; }
}

@media (min-width: 960px) {
  .drawer-body {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 340px);
    grid-template-areas: "browse preview";
    gap: 48px;
    align-items: start;
  }

  .drawer-browse { grid-area: browse; }

  .preview {
    grid-area: preview;
    position: sticky;
    top: var(--header-space);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  .preview-stage {
    padding: 0.2em 24px 0.12em 56px;
    font-size: clamp(150px, 15vw, 196px);
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  /* The notebook margin line, as on the writing sheet. */
  .preview-stage::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 36px;
    width: 1px;
    background: var(--terracotta);
    opacity: 0.28;
  }

  .preview-info { padding: 18px 24px 22px 56px; }
  .preview-name { font-size: 16px; }
  .preview-meta { margin: 4px 0 16px; }
  .specimen { scroll-margin-top: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .specimen { transition: border-color 120ms ease, box-shadow 120ms ease; }
}
