@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-condensed-800i.woff2?v=73f94496e8") format("woff2");
}

:root {
  --night: #010714;
  --navy: #013369;
  --red: #d50a0a;
  --red-ink: #b80808;
  --paper: #fbf8f5;
  --surface: #f1ede6;
  --surface-2: #ebe6dd;
  --ink: #0b1b36;
  --muted: #566176;
  --quiet: #687183;
  --line: rgba(11, 27, 54, 0.12);
  --term: #111214;
  --term-bar: #1b1c1f;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  overflow-x: hidden;
}

a { color: inherit; }

code { font-family: var(--mono); font-size: 0.9em; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 650;
  color: #fff;
  background: var(--red);
  text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Hero: a night game ----------
   The Kiln burst rises from the bottom like stadium light. Its white core is
   the page's paper color, so the light runs into the content below. */

.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  max-height: 1100px;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}

.burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* Shown before the shader's first frame and where WebGL isn't available.
     It overrides the engine's own fallback so the horizon sits in the same place. */
  background:
    radial-gradient(150% 62% at 50% 112%,
      var(--paper) 0,
      var(--paper) 50%,
      #ff6b5f 53%,
      var(--red) 56%,
      #2a56b8 61%,
      rgba(11, 47, 110, 0.55) 68%,
      rgba(1, 7, 20, 0) 80%),
    var(--night) !important;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: linear-gradient(to bottom, rgba(251, 248, 245, 0), var(--paper) 92%);
  pointer-events: none;
}

.bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.005em;
}
.mark svg { width: 26px; height: 26px; }
.mark-arc { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mark-play { fill: var(--red); }

.bar-links { display: flex; gap: 22px; }

.bar-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.bar-link:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.hero-main {
  position: absolute;
  left: 0;
  right: 0;
  top: 15%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
.eyebrow .sep { margin: 0 0.7em; }

.wordmark {
  margin: 22px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(64px, 12.5vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 10px 40px rgba(1, 7, 20, 0.6);
}
.wordmark span { display: inline-block; }
.wordmark span + span { position: relative; }
/* A red underline swoosh under "Replay", like a broadcast graphic. */
.wordmark span + span::after {
  content: "";
  position: absolute;
  left: 4%;
  right: -2%;
  bottom: -0.06em;
  height: 0.075em;
  border-radius: 99px;
  background: var(--red);
  transform: skewX(-18deg);
}

.tagline {
  max-width: 640px;
  margin: 30px 0 0;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* Pills are only for buttons. */
.button {
  display: inline-block;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 30px -10px rgba(213, 10, 10, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { transform: translateY(-1px); background: #e0130f; }

.button.ghost {
  color: #fff;
  background: rgba(1, 7, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.button.ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(1, 7, 20, 0.5); }

.button.ghost.dark {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(11, 27, 54, 0.22);
  backdrop-filter: none;
}
.button.ghost.dark:hover { border-color: rgba(11, 27, 54, 0.45); background: transparent; }

/* The latest play: a broadcast-style tag, then the play. */
.latest {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(680px, 100%);
  margin-top: 34px;
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
}
.latest[hidden] { display: none; }

.latest-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px 3px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  background: var(--red);
}
.latest-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.latest.fresh .latest-dot { display: block; animation: blink 1.4s ease-in-out infinite; }

.latest-text {
  text-align: left;
  text-shadow: 0 1px 12px rgba(1, 7, 20, 0.8);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.latest:hover .latest-text { text-decoration-color: rgba(255, 255, 255, 0.5); }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.hero :focus-visible { outline-color: #fff; }

/* ---------- Sections ---------- */

.statement, .plays, .use, .steps, .fine, .foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 28px 0;
}

.statement { padding-top: 56px; }

.title {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.title:focus { outline: none; }

.section-lede {
  max-width: 620px;
  margin: 12px 0 0;
  font-size: 17px;
  color: var(--muted);
  text-wrap: pretty;
}

.statement p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #7d8494;
  text-wrap: pretty;
}
.statement em { font-style: normal; color: var(--ink); }

.note { max-width: 860px; margin: 22px 0 0; font-size: 13.5px; color: var(--quiet); }
.note a { color: var(--muted); text-underline-offset: 3px; }
.note code { color: var(--muted); }

/* ---------- Big plays ---------- */

.plays-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
}

.controls { display: flex; flex-wrap: wrap; gap: 8px; }
.controls[hidden] { display: none; }

/* Site-made dropdowns (no native selects). */
.dd { position: relative; }

.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.15s;
}
.dd-btn:hover, .dd.open .dd-btn { background: var(--surface-2); }
.dd-label { color: var(--muted); }
.dd-value { font-weight: 650; white-space: nowrap; }
.dd-chev {
  width: 7px;
  height: 7px;
  margin: 0 2px 0 4px;
  border-right: 1.7px solid var(--muted);
  border-bottom: 1.7px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}
.dd.open .dd-chev { transform: translateY(2px) rotate(225deg); }

.dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: max(100%, 230px);
  max-width: calc(100vw - 32px);
  max-height: 340px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 27, 54, 0.08), 0 20px 44px -16px rgba(11, 27, 54, 0.32);
  outline: none;
  animation: menu-in 0.12s ease-out;
}
.dd-menu[hidden] { display: none; }
.dd-menu.flip { left: auto; right: 0; }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.dd-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.dd-opt.active { background: var(--surface); }
.dd-check { flex: none; display: grid; place-items: center; width: 14px; height: 14px; }
.dd-opt[aria-selected="true"] .dd-check::after {
  content: "";
  width: 5px;
  height: 10px;
  margin-top: -3px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
}
.dd-opt-label { flex: 1; white-space: nowrap; }
.dd-logo { flex: none; width: 22px; height: 22px; object-fit: contain; }
.dd-value { display: inline-flex; align-items: center; gap: 7px; }
.dd-value .dd-logo { width: 20px; height: 20px; }
.dd-opt[aria-selected="true"] .dd-opt-label { font-weight: 650; }
.dd-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.dd-opt.none { color: var(--muted); }

/* Play cards: a flat card with the clip inset, then the play. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.play {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px;
  border-radius: 22px;
  background: var(--surface);
  transition: background-color 0.2s, box-shadow 0.3s;
}
.play:hover { background: var(--surface-2); }
.play.flash { box-shadow: 0 0 0 2px var(--red); }
.play:focus { outline: none; }
.play:focus-visible { box-shadow: 0 0 0 2px var(--red); }

.play-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 15px;
  background: var(--night);
}

.media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--night);
  cursor: pointer;
}
.media .thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.media:hover .thumb { transform: scale(1.03); }
.media iframe { width: 100%; height: 100%; border: 0; display: block; }
.media:focus-visible { outline-offset: -4px; outline-color: #fff; border-radius: 15px; }

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(213, 10, 10, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.play-icon::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #fff;
}
.media-out {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  color: #fff;
  background: rgba(1, 7, 20, 0.7);
}
.media:hover .play-icon { transform: translate(-50%, -50%) scale(1.08); }

/* Every card: the team's color with a jersey-mesh texture, the player, and what happened. */
.media.bug {
  --team: #013369;
  --team-hi: #2a5486;
  --team-lo: #03101f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 14px 18px;
  text-align: left;
  font: inherit;
  /* Jersey mesh: two offset rows of dimples over the team-color gradient. */
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.2) 0 1.2px, rgba(255, 255, 255, 0.09) 1.7px 2.2px, transparent 2.7px) 0 0 / 7px 6px,
    radial-gradient(circle, rgba(0, 0, 0, 0.2) 0 1.2px, rgba(255, 255, 255, 0.09) 1.7px 2.2px, transparent 2.7px) 3.5px 3px / 7px 6px,
    radial-gradient(130% 120% at 0% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%),
    linear-gradient(100deg, var(--team-hi) 0%, var(--team) 38%, var(--team-lo) 100%);
}
.bug-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bug-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 9px 0 5px;
  border-radius: 5px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.12);
}
.bug-logo { width: 24px; height: 24px; object-fit: contain; margin-top: -1px; }
.bug-top, .bug-main, .bug-btn { position: relative; z-index: 1; }
/* Cut-out photo of the player who made the play, standing in the bottom-right corner. */
.bug-player {
  position: absolute;
  right: -4%;
  bottom: 0;
  height: 88%;
  width: auto;
  max-width: 62%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 10px 24px rgba(1, 7, 20, 0.55));
  pointer-events: none;
  transition: transform 0.35s;
}
.media.bug:hover .bug-player { transform: scale(1.03); transform-origin: bottom right; }
.bug-src { font-size: 11.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.bug-main { display: flex; flex-direction: column; gap: 2px; max-width: 64%; }
.bug-head {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
.bug-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
/* Watch button: a real button, so it's a pill. */
.bug-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.bug-btn.yt { padding-left: 11px; }
.bug-play { width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent var(--red); }
.media.bug:hover .bug-btn { transform: translateY(-1px); }

.play-body { display: flex; flex-direction: column; flex: 1; padding: 16px 12px 8px; }

.play-title { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }

.play-desc { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.play-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
}

.match { font-weight: 650; color: var(--navy); }
.match.exact { color: var(--red-ink); }
.match.likely { color: var(--muted); }

.play-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.play-links a { color: var(--muted); font-weight: 600; text-decoration: none; }
.play-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 56px 0;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.more-wrap .button[hidden] { display: none; }

/* ---------- Use it your way: one terminal window ---------- */

.use-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) 1.6fr;
  gap: 44px;
  align-items: start;
  margin-top: 40px;
}

.modes { display: flex; flex-direction: column; }

.mode {
  display: block;
  padding: 16px 0 16px 20px;
  border: 0;
  border-left: 2px solid var(--line);
  font: inherit;
  text-align: left;
  color: var(--muted);
  background: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.mode:hover { border-left-color: rgba(11, 27, 54, 0.35); }
.mode[aria-selected="true"] { border-left-color: var(--red); }
.mode-name { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; color: var(--quiet); transition: color 0.2s; }
.mode:hover .mode-name, .mode[aria-selected="true"] .mode-name { color: var(--ink); }
.mode-desc { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.mode:focus-visible { outline-offset: -2px; }

.term {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--term);
  box-shadow: 0 34px 70px -34px rgba(1, 7, 20, 0.55), 0 2px 6px rgba(1, 7, 20, 0.12);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 10px 0 16px;
  background: var(--term-bar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.term-dots { display: flex; gap: 7px; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3b40; }
.term-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: #8a8c92;
}
.term-copy {
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #c4c6cc;
  background: transparent;
  cursor: pointer;
}
.term-copy:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.term-copy:focus-visible { outline-color: #fff; }

.term-body {
  display: grid;
  padding: 20px 22px 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3b40 transparent;
}
.term-body:focus-visible { outline-offset: -3px; outline-color: #fff; }

/* All three outputs share one cell, so switching tabs never changes the height. */
.term-pre {
  grid-area: 1 / 1;
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #d4d5d9;
  white-space: pre;
}
.term-pre[hidden] { display: block; visibility: hidden; }
.term-pre code { font-size: inherit; }
.term-pre .p, .term-pre .r { color: #ff5a4e; }
.term-pre .c { color: #7d7f86; }
.term-pre .hl { color: #fff; font-weight: 600; }
.term-pre .k { color: #e2e3e6; }
.term-pre .s { color: #f2b8ae; }
.term-pre .n { color: #ff8a7f; }
.term-pre .ok { color: #9ad3a6; }

/* ---------- How it finds the clip ---------- */

.step-list, .fine-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 36px;
}
.step-list { grid-template-columns: repeat(4, 1fr); }
.fine-list { grid-template-columns: repeat(3, 1fr); }

.step-list li { padding-top: 20px; border-top: 2px solid var(--ink); }
.fine-list li { padding-top: 18px; border-top: 1px solid var(--line); }

.step-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--red);
}

.step-list h3, .fine-list h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.step-list p, .fine-list p { margin: 0; font-size: 15px; color: var(--muted); text-wrap: pretty; }

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

.foot { padding-top: 112px; padding-bottom: 64px; font-size: 13px; color: var(--quiet); }
.foot p { margin: 4px 0; }
.foot a { color: var(--muted); text-decoration-color: rgba(11, 27, 54, 0.25); text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

/* ---------- Smaller screens ---------- */

/* Tall portrait tablets: don't leave a big empty sky between the text and the glow. */
@media (min-width: 641px) and (max-aspect-ratio: 4/5) {
  .hero { max-height: 920px; }
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .fine-list { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .bar { padding: 18px 20px; }
  .bar-links { gap: 16px; }
  .bar-link:not([href^="https"]) { display: none; }
  .hero { min-height: 660px; }
  .hero-main { top: 13%; }
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; line-height: 1.9; }
  .eyebrow span:not(.sep) { display: block; }
  .eyebrow .sep { display: none; }
  .term-title { visibility: hidden; }
  .wordmark { font-size: clamp(60px, 21vw, 100px); }
  .wordmark span { display: block; }
  .wordmark span + span { display: inline-block; }
  .tagline { margin-top: 24px; }
  .latest { flex-direction: column; gap: 8px; font-size: 15px; }
  .latest-text { text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .statement, .plays, .use, .steps, .fine, .foot { padding-left: 20px; padding-right: 20px; padding-top: 80px; }
  .statement { padding-top: 40px; }
  .grid, .step-list { grid-template-columns: 1fr; }
  .controls { width: 100%; }
  .dd { flex: 1 1 auto; }
  .dd-btn { width: 100%; }
  .dd-value { flex: 1; text-align: left; }
  .mode { padding: 12px 0 12px 16px; }
  .term-body { padding: 16px 16px 20px; }
  .term-pre { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .latest.fresh .latest-dot { animation: none; }
  .dd-menu { animation: none; }
  .button, .media img, .play-icon, .dd-chev { transition: none; }
}
