:root {
  --ink: #07080b;
  --ink-raised: #0e1015;
  --moon: #ece6da;
  --dust: #8c8678;
  --hair: #24231f;
  --flare: #ff5a1f;

  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --dots: "Doto", "Geist Mono", monospace;

  --max: 1280px;
  --gutter: 32px;
  color-scheme: dark;
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .masthead { padding-top: 22px; padding-bottom: 18px; }
}
@media (max-width: 520px) {
  #today { display: none; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--moon);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* A sparse, fixed field of stars: a handful of 1px points, never a pattern. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, var(--moon), transparent 60%),
    radial-gradient(1px 1px at 78% 9%, var(--moon), transparent 60%),
    radial-gradient(1px 1px at 63% 42%, var(--dust), transparent 60%),
    radial-gradient(1px 1px at 91% 66%, var(--moon), transparent 60%),
    radial-gradient(1px 1px at 24% 81%, var(--dust), transparent 60%),
    radial-gradient(1.5px 1.5px at 45% 27%, var(--moon), transparent 60%),
    radial-gradient(1px 1px at 6% 58%, var(--dust), transparent 60%),
    radial-gradient(1px 1px at 37% 93%, var(--moon), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  line-height: 1.5;
}

/* ── Masthead ─────────────────────────────────────────── */

.masthead {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter) 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hair);
}

.wordmark {
  position: relative;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wordmark b { font-weight: 600; margin-left: 0.32em; }

/* The flare moon: a dot on a slow orbit near the end of the wordmark. */
.wordmark .moon {
  position: absolute;
  top: 0.08em;
  right: -0.42em;
  width: 0.26em;
  height: 0.26em;
}
.wordmark .moon::after {
  content: "";
  position: absolute;
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: var(--flare);
  top: 0;
  left: 0;
  transform-origin: 0.13em 0.13em;
  animation: orbit 14s linear infinite;
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(0.11em); }
  to { transform: rotate(360deg) translateX(0.11em); }
}

/* One baseline for every item: nav, date and languages read as one line. */
.masthead-meta {
  display: flex;
  align-items: baseline;
  gap: 22px;
}
.masthead-meta .label { font-size: 11px; }

/* The language picker: a native select, styled as a label with a chevron. */
.lang {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moon);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238C8678' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 9px 6px;
  border: 1px solid var(--hair);
  border-radius: 0;
  padding: 7px 30px 7px 11px;
  line-height: 1.2;
  cursor: pointer;
}
.lang:hover, .lang:focus-visible { border-color: var(--dust); }
.lang option { background: var(--ink); color: var(--moon); text-transform: none; letter-spacing: 0.04em; }

.powered { color: var(--dust); text-transform: none; letter-spacing: 0.08em; }
.powered:hover { color: var(--flare); }

#app {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Load motion ──────────────────────────────────────── */

.rise {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
  animation-delay: calc(var(--d, 0) * 70ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.photo { background: var(--ink-raised); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease, transform 1.6s ease; }
.photo img.loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .photo img { transition: none; }
  .wordmark .moon::after { animation: none; }
}

/* ── Cover ────────────────────────────────────────────── */

.cover {
  position: relative;
  display: block;
  margin: 36px 0 0;
}
.cover .photo { aspect-ratio: 21 / 9; }
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 8, 11, 0.96) 0%, rgba(7, 8, 11, 0.7) 34%, rgba(7, 8, 11, 0.15) 72%, rgba(7, 8, 11, 0) 100%),
    linear-gradient(to right, rgba(7, 8, 11, 0.7) 0%, rgba(7, 8, 11, 0.25) 50%, rgba(7, 8, 11, 0) 75%);
  pointer-events: none;
}
.cover-text {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 52px);
  max-width: 980px;
}
.cover h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.cover .dek {
  font-weight: 300;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  color: #d8d1c3;
  max-width: 62ch;
  margin: 0 0 18px;
}
.cover:hover h1 { color: #fff; }
.cover:hover .photo img.loaded { transform: scale(1.015); }

.kicker { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.kicker .label:first-child { color: var(--flare); }

/* ── Index ────────────────────────────────────────────── */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 72px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.index { list-style: none; margin: 0; padding: 0; }
.index li { border-bottom: 1px solid var(--hair); }
.index a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
}
.index .num {
  font-family: var(--dots);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--dust);
  padding-top: 2px;
}
.index a:hover .num { color: var(--flare); }
.index h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 1.75vw, 25px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-wrap: balance;
  transition: color 0.25s ease;
}
.index p {
  margin: 0 0 14px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.6;
  color: #c3bcae;
  max-width: 68ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.index .photo { aspect-ratio: 3 / 2; }
.index a:hover h3 { color: var(--flare); }

@media (max-width: 860px) {
  .cover .photo { aspect-ratio: 4 / 5; }
  .index a { grid-template-columns: 34px minmax(0, 1fr); gap: 16px; }
  .index .photo { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 9; margin-bottom: 4px; }
  .index .num { grid-row: 1 / span 2; }
}

/* ── Story ────────────────────────────────────────────── */

.story-head {
  max-width: 1040px;
  margin: 56px auto 0;
  text-align: center;
}
.story-head .kicker { justify-content: center; }
.story-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 22px 0 26px;
  text-wrap: balance;
}
.story-head .dek {
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: #d8d1c3;
  max-width: 54ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.story-figure { margin: 52px 0 0; }
.story-figure .photo { aspect-ratio: 21 / 9; }
.story-figure figcaption { margin-top: 10px; }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 66ch) 280px;
  justify-content: center;
  gap: 72px;
  margin: 56px 0 0;
}

/* A newspaper column: justified, hyphenated in the page's language, airy. */
.body {
  font-size: 18px;
  line-height: 1.9;
  font-weight: 300;
  color: #e2dccf;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.body strong, .body b { font-weight: 500; color: var(--moon); }
.body p { margin: 0 0 1.25em; }
.body > p:first-child::first-letter {
  font-family: var(--display);
  font-weight: 500;
  float: left;
  font-size: 3.6em;
  line-height: 0.9;
  padding: 0.04em 0.12em 0 0;
  color: var(--flare);
}
.body a { border-bottom: 1px solid var(--dust); }
.body a:hover { color: var(--flare); border-color: var(--flare); }
.body h2, .body h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; margin: 1.8em 0 0.6em; }
.body blockquote { margin: 1.4em 0; padding-left: 22px; border-left: 1px solid var(--flare); color: #d8d1c3; }

.rail { position: sticky; top: 28px; align-self: start; display: grid; gap: 34px; }
.rail-block { border-top: 1px solid var(--hair); padding-top: 14px; }
.rail-block h4 { margin: 0 0 14px; }
.big-number {
  font-family: var(--dots);
  font-weight: 800;
  font-size: 68px;
  line-height: 0.9;
  margin: 0 0 8px;
}
.big-number + .label { display: block; }

.spectrum { display: flex; height: 6px; gap: 2px; margin: 14px 0 12px; }
.spectrum span { display: block; min-width: 2px; }
.spectrum .aligned { background: var(--moon); }
.spectrum .neutral { background: var(--dust); }
.spectrum .critical { background: var(--flare); }
.spectrum-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spectrum-legend li { display: flex; justify-content: space-between; gap: 10px; }
.spectrum-legend .swatch { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 1px; }
.swatch.spectrum-aligned { background: var(--moon); }
.swatch.spectrum-neutral { background: var(--dust); }
.swatch.spectrum-critical { background: var(--flare); }

.rail .versions { display: flex; gap: 14px; flex-wrap: wrap; }
.rail .versions a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--dust); padding-bottom: 2px; }
.rail .versions a:hover { color: var(--flare); border-color: var(--flare); }

.sources { margin: 64px auto 0; max-width: calc(66ch + 352px); }
.sources table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.sources th { text-align: left; padding: 0 0 10px; border-bottom: 1px solid var(--hair); }
.sources td { padding: 13px 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; }
.sources td.outlet { font-size: 16px; }
.sources td.outlet a:hover { color: var(--flare); }
.sources td.code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--dust); width: 90px; }

.story-foot { margin: 40px auto 0; max-width: calc(66ch + 352px); padding: 18px 0 0; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.story-foot .ai-note { margin: 0; max-width: 60ch; }
.back { white-space: nowrap; }
.back:hover { color: var(--flare); }

@media (max-width: 960px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rail { position: static; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .story-figure .photo { aspect-ratio: 4 / 3; }
  .story-head { text-align: left; }
  .story-head .kicker { justify-content: flex-start; }
  .story-head .dek { margin: 0; }
  .sources td.code { width: 54px; }
}

/* ── States and footer ────────────────────────────────── */

.state { padding: 120px 0; text-align: center; }
.state p { font-family: var(--display); font-weight: 300; font-size: 26px; margin: 0 0 12px; }

.colophon {
  width: 100%;
  max-width: var(--max);
  margin: 96px auto 0;
  padding: 22px var(--gutter) 34px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

:focus-visible { outline: 1px solid var(--flare); outline-offset: 4px; }

/* ── Sections nav ─────────────────────────────────────── */

.sections { display: flex; gap: 18px; }
.sections a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  /* An underline, not a border: it must not change the link's box. */
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.sections a:hover { color: var(--moon); }
.sections a[aria-current="page"] { color: var(--moon); text-decoration-color: var(--flare); }

/* ── Map ──────────────────────────────────────────────── */

:root {
  --tone-negative: var(--flare);
  --tone-mixed: #e2a65f;
  --tone-neutral: var(--moon);
  --tone-positive: #7fd6c2;
}

.map-head { max-width: 900px; margin: 56px 0 0; }
.map-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.map-head .dek { font-weight: 300; font-size: clamp(16px, 1.35vw, 19px); color: #d8d1c3; margin: 0; max-width: 62ch; }

.map { position: relative; margin: 40px 0 0; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map .land circle { fill: var(--moon); opacity: 0.22; }
.map-scroll { overflow-x: auto; scrollbar-width: none; }
.map-scroll::-webkit-scrollbar { display: none; }
.map .src { fill: none; stroke: var(--moon); stroke-width: 0.8; opacity: 0.55; }
.map .arc {
  fill: none;
  stroke-linecap: round;
  opacity: 0.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.6s cubic-bezier(0.3, 0.6, 0.2, 1) forwards;
  animation-delay: calc(400ms + var(--i, 0) * 60ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; }

.tone-negative { --tone: var(--tone-negative); }
.tone-mixed { --tone: var(--tone-mixed); }
.tone-neutral { --tone: var(--tone-neutral); }
.tone-positive { --tone: var(--tone-positive); }
.arc { stroke: var(--tone); }

.point { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
/* A finger-sized target around every point; the pulse and the label never take the tap. */
.point .hit { fill: transparent; pointer-events: all; }
.point .pulse, .point text { pointer-events: none; }
.point .core { fill: var(--tone); stroke: var(--ink); stroke-width: 1.5; transition: stroke 0.2s ease; }
.point .pulse {
  fill: none;
  stroke: var(--tone);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3.2s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 500ms);
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}
.point text {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  fill: var(--dust);
  paint-order: stroke;
  stroke: var(--ink);
  stroke-width: 3px;
}
.point:hover text, .point.selected text, .point:focus-visible text { fill: var(--moon); }
.point.selected .core, .point:focus-visible .core { stroke: var(--moon); }

.place-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  border: 1px solid var(--hair);
  padding: 9px 13px;
  min-height: 40px;
}
.chip .dot { width: 8px; height: 8px; }
.chip .count { color: var(--moon); }
.chip:hover { color: var(--moon); border-color: var(--dust); }
.chip[aria-pressed="true"] { color: var(--moon); border-color: var(--tone); }

.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  margin: 48px 0 0;
}
.map-panel .section-head { margin-top: 0; }
.map-panel .section-head h2 { font-size: 15px; }

.place-list { list-style: none; margin: 0; padding: 0; }
.place-list li { border-bottom: 1px solid var(--hair); }
.place-list a { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
.place-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.place-list a:hover strong { color: var(--flare); }
.place-list .dot { margin-top: 7px; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend .ring { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--moon); opacity: 0.7; }
.legend .line { width: 18px; height: 1px; background: var(--dust); }

.side-note { font-size: 14px; font-weight: 300; color: var(--dust); margin: 0 0 12px; }
.off-map { list-style: none; margin: 0; padding: 0; }
.off-map li { border-top: 1px solid var(--hair); }
.off-map a { display: block; padding: 11px 0; font-size: 15px; line-height: 1.4; }
.off-map a:hover { color: var(--flare); }

@media (max-width: 960px) {
  .place-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  border: 1px solid var(--hair);
  padding: 9px 13px;
  min-height: 40px;
}
.chip .dot { width: 8px; height: 8px; }
.chip .count { color: var(--moon); }
.chip:hover { color: var(--moon); border-color: var(--dust); }
.chip[aria-pressed="true"] { color: var(--moon); border-color: var(--tone); }

.map-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 720px) {
  .masthead { flex-wrap: wrap; row-gap: 14px; }
  .masthead-meta { width: 100%; justify-content: space-between; gap: 14px; }
  .map-scroll { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .map-scroll svg { width: 820px; max-width: none; }
  .sections { gap: 16px; }
}
.section-head { flex-wrap: wrap; gap: 6px 16px; }
@media (prefers-reduced-motion: reduce) {
  .map .arc { animation: none; stroke-dashoffset: 0; }
  .point .pulse { animation: none; opacity: 0; }
}


/* ── Attribution ──────────────────────────────────────── */

/* Passages that come from a source: a faint underline until one is chosen. */
mark.attr {
  background: none;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 90, 31, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: help;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, text-decoration-color 0.2s ease;
  outline: none;
}
mark.attr.on { background: rgba(255, 90, 31, 0.16); color: var(--moon); text-decoration-color: var(--flare); }
.attr-legend li { cursor: pointer; border-radius: 2px; padding: 2px 0; }
.attr-legend li.on .label, .attr-legend li:hover .label { color: var(--moon); }
.attr-legend li.on .label:first-child { color: var(--flare); }
.attr-legend li.own { cursor: default; border-top: 1px solid var(--hair); padding-top: 8px; margin-top: 4px; }
.sources tr[data-src] { cursor: pointer; }
.sources tr.on td.outlet, .sources tr.on td.outlet a { color: var(--flare); }
.share-head { text-align: right; }
.sources td.share { text-align: right; white-space: nowrap; width: 130px; }
.share-bar { display: inline-block; width: 54px; height: 4px; background: var(--hair); margin-right: 10px; vertical-align: 2px; }
.share-bar span { display: block; height: 100%; background: var(--dust); }
.sources tr.on .share-bar span { background: var(--flare); }
.attr-pop {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 20;
  max-width: calc(100vw - 40px);
  background: var(--ink-raised);
  color: var(--moon);
  border: 1px solid var(--flare);
  padding: 10px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .sources td.share { width: 74px; }
  .share-bar { display: none; }
}


/* ── Search ───────────────────────────────────────────── */

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

.search { padding: 64px 0 0; }

/* The query is the page's headline: set in the display face, on a hairline
   that turns flare while it has focus. */
.search-form input {
  display: block;
  width: 100%;
  margin: 18px 0 0;
  padding: 6px 0 22px;
  border: 0;
  border-bottom: 1px solid var(--hair);
  border-radius: 0;
  background: transparent;
  color: var(--moon);
  caret-color: var(--flare);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 5.4vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
}
.search-form input:focus { border-bottom-color: var(--flare); }
.search-form input::placeholder { color: var(--dust); opacity: 0.45; }
.search-form input::-webkit-search-cancel-button,
.search-form input::-webkit-search-decoration { appearance: none; }

.search-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-top: 18px;
}
.search-count { margin: 0; min-height: 30px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.search-count .dots {
  font-family: var(--dots);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: var(--moon);
}
.search-count .none { font-family: var(--display); font-weight: 300; font-size: 19px; color: var(--moon); }

.search-filters { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.chips { display: flex; gap: 16px; }
.chips button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  /* As in the masthead: an underline, never a border, so no chip moves. */
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: color 0.2s ease;
}
.chips button:hover { color: var(--moon); }
.chips button[aria-pressed="true"] { color: var(--moon); text-decoration-color: var(--flare); }
.chips + .chips { padding-left: 28px; border-left: 1px solid var(--hair); }

.search-hint { display: block; margin: 22px 0 0; max-width: 72ch; line-height: 1.7; text-transform: none; letter-spacing: 0.04em; }

.results { margin-top: 26px; border-top: 1px solid var(--hair); transition: opacity 0.2s ease; }
.searching .results { opacity: 0.45; }
.results .excerpt { -webkit-line-clamp: 3; }
mark.hit { background: none; color: var(--flare); }

.results-more { display: flex; justify-content: center; padding: 36px 0 0; }
.results-more .more {
  padding: 12px 22px;
  border: 1px solid var(--hair);
  color: var(--moon);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.results-more .more:hover { border-color: var(--flare); color: var(--flare); }

@media (max-width: 720px) {
  .search { padding-top: 36px; }
  .search-bar { flex-direction: column; align-items: flex-start; }
  .chips + .chips { padding-left: 0; border-left: 0; }
}
