/* ============================================================
   The Local — a journal of everyday city life
   Direction: civic information design. Cool bone paper, a
   committed vermilion field, a transit-line topic system, an
   editorial reading list and a serif display voice.
   ============================================================ */

/* ---------- Faces (self-hosted, OFL) ---------- */
@font-face {
  font-family: "DM Serif Display";
  src: url("assets/dm-serif.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/work-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f1f2ee;
  --paper-2: #e7e9e3;
  --paper-3: #dde0d8;
  --ink: #14171a;
  --ink-soft: #454b4f;
  --ink-faint: #6a7073;
  --hair: #c6cac1;
  --rule: #14171a;
  --verm: #e5411c;
  --verm-ink: #14171a;
  --cobalt: #1f4fd8;
  --focus: #1f4fd8;

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --page: 1320px;
  --measure: 68ch;
  --step: clamp(1rem, 0.7rem + 0.55vw, 1.125rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

/* ---------- Browser surfaces ---------- */
::selection {
  background: var(--verm);
  color: var(--verm-ink);
}

:focus {
  outline: none;
}

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

@supports (scrollbar-color: red blue) {
  html {
    scrollbar-color: var(--ink-faint) transparent;
  }
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font: 600 14px/1 var(--mono);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* ============================================================
   Masthead
   ============================================================ */
.masthead {
  background: var(--verm);
  color: var(--verm-ink);
  border-bottom: 3px solid var(--rule);
}

.masthead__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 48px) clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.wordmark {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.015em;
}

.wordmark a {
  text-decoration: none;
  display: inline-block;
}

.wordmark__the {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(0.7rem, 0.6rem + 0.3vw, 0.85rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 0.7em;
}

.wordmark__local {
  display: block;
  font-size: clamp(3.2rem, 1.4rem + 7vw, 6rem);
}

.masthead__tagline {
  margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.8rem + 0.8vw, 1.5rem);
  letter-spacing: -0.01em;
  max-width: 24ch;
}

.masthead__standfirst {
  margin-top: 14px;
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}

.masthead__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 30px);
  min-width: 0;
}

.netmap {
  border-top: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  padding: 12px 0;
}
.netmap svg {
  width: 100%;
  height: auto;
  display: block;
}

.imprint {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.imprint div {
  border-top: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  padding-top: 8px;
}
.imprint dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}
.imprint dd {
  margin-top: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================================
   Topic lines rail
   ============================================================ */
.lines {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--verm);
  border-top: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
}

.line {
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  text-align: left;
  padding: 16px 18px 18px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  cursor: pointer;
  position: relative;
  color: var(--verm-ink);
  transition: background 0.18s var(--ease);
}
.lines .line:last-child {
  border-right: 0;
}
.line + .line {
  padding-left: 18px;
}

.line__badge {
  grid-row: 1 / span 2;
  align-self: start;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--c, var(--ink));
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.line__name {
  grid-column: 2;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.15;
}
.line__count {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.line:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.line[aria-pressed="true"] {
  background: var(--paper);
}
.line[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--ink);
}
.line[aria-pressed="true"] .line__count {
  opacity: 1;
}

/* ============================================================
   Browse / toolbar
   ============================================================ */
.browse {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 26px;
  padding: 20px 0 18px;
}

.toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.toolbar__field--search {
  flex: 1 1 320px;
}
.toolbar__field--toggle {
  margin-left: auto;
}

.field-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.search-wrap,
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 17px;
  color: var(--ink-faint);
  pointer-events: none;
}

#search {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 11px 14px 11px 38px;
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
#search::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}
#search:hover {
  border-color: var(--ink-soft);
}
#search:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

#filter {
  appearance: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 11px 40px 11px 14px;
  min-width: 190px;
  cursor: pointer;
}
#filter:hover {
  border-color: var(--ink-soft);
}
.select-arrow {
  position: absolute;
  right: 14px;
  width: 12px;
  color: var(--ink);
  pointer-events: none;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rule);
  background: #fff;
  padding: 10px 12px 10px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.toggle-btn__icon {
  width: 14px;
  height: 16px;
}
.toggle-btn__count {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
}
.toggle-btn:hover {
  background: var(--paper-2);
}
.toggle-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.toggle-btn[aria-pressed="true"] .toggle-btn__count {
  background: var(--verm);
  color: var(--verm-ink);
}

.result-count {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   Story list
   ============================================================ */
.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.story {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 44px;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) clamp(8px, 1.4vw, 18px);
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: background 0.2s var(--ease);
}

.story:hover,
.story:focus-within {
  background: var(--paper-2);
}

.story__rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.story__code {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--c, var(--ink));
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.story__index {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.story__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 0.9rem + 2.2vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}

.open-item {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.28s var(--ease);
}
.story:hover .open-item,
.open-item:focus-visible {
  background-size: 100% 2px;
}

.story__summary {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.story__meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.story__meta .sep {
  color: var(--hair);
}
.story__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--c, var(--ink));
  font-weight: 600;
}
.story__cat::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--c, var(--ink));
}

.story__go {
  align-self: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}
.story:hover .story__go {
  background: var(--ink);
  color: var(--paper);
  transform: translate(3px, -3px);
}
.story__go svg {
  width: 15px;
  height: 15px;
}

/* reveal */
.story.reveal {
  animation: reveal 0.34s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 26ms);
}
@keyframes reveal {
  from {
    transform: translateY(12px);
  }
  to {
    transform: none;
  }
}

/* ============================================================
   Empty state
   ============================================================ */
.empty-state {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  max-width: 52ch;
}
.empty-state__glyph {
  width: 120px;
  height: 40px;
  color: var(--ink-faint);
  margin-bottom: 26px;
}
.empty-state__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 2.5rem);
  line-height: 1.05;
}
.empty-state__text {
  margin-top: 14px;
  color: var(--ink-soft);
}
.empty-state .btn {
  margin-top: 26px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  appearance: none;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}
.btn:hover {
  background: var(--paper-2);
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--verm);
  color: var(--verm-ink);
}
.btn--ghost {
  border-color: transparent;
  background: transparent;
  padding-left: 0;
}
.btn--ghost:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   Detail view
   ============================================================ */
.detail {
  animation: detail-in 0.32s var(--ease) both;
}
@keyframes detail-in {
  from {
    transform: translateY(10px);
  }
  to {
    transform: none;
  }
}

.detail__bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px clamp(20px, 4vw, 48px);
}

.detail__bar .btn--ghost {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.save-btn[aria-pressed="true"] {
  background: var(--verm);
  border-color: var(--verm);
  color: var(--verm-ink);
}
.save-btn[aria-pressed="true"]:hover {
  background: color-mix(in srgb, var(--verm) 84%, #000);
  color: var(--verm-ink);
}
.save-btn svg {
  width: 15px;
  height: 17px;
}

.detail__layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.article {
  min-width: 0;
}

.article__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: balance;
}

.article__standfirst {
  margin-top: clamp(16px, 2.4vw, 26px);
  font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 40ch;
  font-weight: 400;
}

.article__meta {
  margin-top: clamp(20px, 2.6vw, 30px);
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.article__meta .sep {
  color: var(--hair);
}
.article__meta .story__cat {
  font-size: 0.74rem;
}

.article__figure {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
}
.article__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: saturate(0.92) contrast(1.02);
}
.article__figure figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.article__body {
  margin-top: clamp(30px, 4vw, 48px);
  max-width: var(--measure);
  font-size: var(--step);
  line-height: 1.72;
}
.article__body p + p {
  margin-top: 1.15em;
}
.article__body > p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 3.6em;
  line-height: 0.78;
  padding: 0.06em 0.1em 0 0;
  color: var(--verm);
}

.article__rail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.rail-block {
  border-top: 2px solid var(--rule);
  padding-top: 14px;
}
.rail-block__label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rail-block__value {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
}
.rail-block__sub {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.related li {
  border-bottom: 1px solid var(--hair);
}
.related button {
  appearance: none;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  cursor: pointer;
  display: grid;
  gap: 6px;
  color: inherit;
}
.related button:hover {
  color: var(--c, var(--cobalt));
}
.related .related__title {
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.16;
}
.related .related__meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   Colophon
   ============================================================ */
.colophon {
  border-top: 3px solid var(--rule);
  background: var(--paper-2);
  margin-top: 40px;
}
.colophon__grid {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.colophon__note {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
}
.colophon__mark {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.1;
  text-align: right;
  color: var(--ink);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .masthead__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .masthead__aside {
    margin-top: 6px;
  }
  .lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .line {
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  }
  .line:nth-child(3n) {
    border-right: 0;
  }
  .line + .line {
    padding-left: 18px;
  }
  .detail__layout {
    grid-template-columns: 1fr;
  }
  .article__rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    border-top: 3px solid var(--rule);
    padding-top: 24px;
  }
  .colophon__grid {
    grid-template-columns: 1fr 1fr;
  }
  .colophon__mark {
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .masthead__inner {
    padding-bottom: 18px;
  }
  .wordmark__local {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }
  .imprint {
    grid-template-columns: 1fr 1fr;
  }
  .imprint div:last-child {
    grid-column: 1 / -1;
  }
  .lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .line:nth-child(3n) {
    border-right: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  }
  .line:nth-child(2n) {
    border-right: 0;
  }
  .line + .line {
    padding-left: 16px;
  }

  .toolbar {
    gap: 14px;
    padding: 16px 0 14px;
  }
  .toolbar__field--search {
    flex-basis: 100%;
  }
  .toolbar__field--toggle {
    margin-left: 0;
  }
  .result-count {
    order: 5;
  }

  .story {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 26px 4px;
  }
  .story__rail {
    grid-row: 1 / span 2;
    align-items: center;
  }
  .story__code {
    width: 26px;
    height: 26px;
    font-size: 0;
  }
  .story__code::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #fff;
  }
  .story__index {
    writing-mode: vertical-rl;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }
  .story__go {
    display: none;
  }
  .story__title {
    max-width: none;
  }

  .detail__bar {
    padding: 12px 16px;
  }
  .detail__layout {
    padding-left: 20px;
    padding-right: 20px;
  }
  .article__body {
    max-width: none;
  }
  .colophon__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .story.reveal {
    transform: none;
  }
}
