/* ==========================================================================
   lukehjohnson.com
   A broadsheet-inspired design: ink on paper, condensed headline type,
   newspaper rules, and one American red borrowed from the Dead Air America
   cover.
   ========================================================================== */

:root {
  --paper: #fbfaf7;
  --paper-2: #f0eee8;
  --ink: #141414;
  --ink-2: #4f4d48;
  --ink-3: #75726a;
  --rule-soft: #d8d5cd;
  --red: #b3161f;
  --red-deep: #8f1118;

  --night: #0c0c0c;
  --night-2: #191919;
  --night-ink: #efece5;
  --night-ink-2: #a9a69e;
  --night-red: #ff6a5e;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p, h1, h2, h3, h4, ul, ol, figure, blockquote {
  margin: 0;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type primitives ---------- */

.kicker {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--red);
}

.meta {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-3);
}

.meta .dot {
  margin-inline: 0.5em;
  color: var(--rule-soft);
}

.prose a,
.inline-link {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover,
.inline-link:hover {
  color: var(--red);
}

.more-link {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.more-link::after {
  content: " \2192";
  color: var(--red);
}

.more-link:hover {
  color: var(--red);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--night-ink);
  border-color: var(--night-ink);
  color: var(--night);
}

.btn-light.btn-ghost {
  background: transparent;
  color: var(--night-ink);
}

.btn-light:hover,
.btn-light.btn-ghost:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Masthead / navigation ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  font-stretch: 80%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.nav a {
  position: relative;
  padding-block: 6px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 22px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transition: border-color 0.15s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  border-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  opacity: 1;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  opacity: 1;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 4px solid var(--ink);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 1.6rem;
    font-stretch: 75%;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .nav a::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--red);
  }
}

/* ---------- Home: nameplate ---------- */

.nameplate {
  padding-top: clamp(16px, 3vw, 28px);
  container-type: inline-size;
}

.dateline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--ink);
}

.dateline span:nth-child(2) {
  text-align: center;
}

.dateline span:last-child {
  text-align: right;
}

.nameplate-title {
  margin: clamp(10px, 2vw, 22px) 0 clamp(8px, 1.4vw, 16px);
  font-family: var(--display);
  font-size: clamp(3rem, 14vw, 12rem);
  /* "LUKE JOHNSON" sets at ~5.75em wide; size it to fill the column exactly. */
  font-size: 17cqi;
  font-stretch: 66%;
  font-weight: 900;
  letter-spacing: -0.012em;
  line-height: 0.8;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.double-rule {
  height: 9px;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.tagline {
  padding: clamp(14px, 2vw, 20px) 0;
  font-family: var(--text);
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-2);
  border-bottom: 1px solid var(--ink);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.ticker > * {
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
}

.ticker > * + * {
  border-left: 1px solid var(--rule-soft);
}

.ticker strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-stretch: 70%;
  font-weight: 800;
  line-height: 1;
}

.ticker span {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

a.ticker-item:hover strong {
  color: var(--red);
}

@media (max-width: 560px) {
  .dateline span:nth-child(2) {
    display: none;
  }

  .ticker > * {
    padding-inline: 4px;
  }
}

/* ---------- Home: front page ---------- */

.front {
  display: grid;
  gap: 40px;
  padding-block: clamp(32px, 5vw, 56px);
}

@media (min-width: 1000px) {
  .front {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 0;
  }

  .front > .lead-story {
    padding-right: 40px;
  }

  .front > .profile {
    padding-left: 40px;
    border-left: 1px solid var(--rule-soft);
  }
}

.lead-story .kicker {
  margin-bottom: 14px;
}

.lead-title {
  font-family: var(--text);
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-wrap: balance;
}

.lead-title a,
.story-title a,
.entry-title a {
  text-decoration: none;
}

.lead-title a:hover,
.story-title a:hover,
.entry-title a:hover {
  color: var(--red);
}

.lead-deck {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 44em;
}

.lead-story .meta {
  margin-top: 18px;
}

.lead-story .btn-row {
  margin-top: 22px;
}

.secondary {
  display: grid;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

@media (min-width: 640px) {
  .secondary {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .secondary > :first-child {
    padding-right: 24px;
  }

  .secondary > :last-child {
    padding-left: 24px;
    border-left: 1px solid var(--rule-soft);
  }
}

.story .kicker {
  margin-bottom: 8px;
}

.story-title {
  font-family: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.story p:not(.kicker):not(.meta) {
  margin-top: 10px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story .meta {
  margin-top: 12px;
}

.profile figure {
  position: relative;
}

.profile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(0.15) contrast(1.03);
}

.profile figcaption {
  margin-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.profile h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 1.9rem;
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.profile p {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.profile .more-link {
  display: inline-block;
  margin-top: 16px;
}

/* ---------- Section heads ---------- */

.section {
  padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-top: 12px;
  border-top: 5px solid var(--ink);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-stretch: 70%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

/* ---------- Headline index (column list) ---------- */

.headline-index {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: idx;
}

@media (min-width: 760px) {
  .headline-index {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
}

.headline-index li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  counter-increment: idx;
}

.headline-index li::before {
  content: counter(idx, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 4px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

.headline-index h3 {
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}

.headline-index a {
  text-decoration: none;
}

.headline-index a:hover {
  color: var(--red);
}

.headline-index .meta {
  margin-top: 6px;
}

/* ---------- Dead Air America ---------- */

.daa {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
}

/* Faint broadcast scan lines */
.daa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.daa-grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
  padding-block: clamp(48px, 8vw, 104px);
}

@media (min-width: 900px) {
  .daa-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 88px);
  }
}

.daa-cover {
  justify-self: center;
  width: min(62%, 380px);
}

@media (min-width: 900px) {
  .daa-cover { width: min(100%, 380px); }
}

.daa-cover img {
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

.daa .kicker {
  color: var(--night-red);
}

.daa-title {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  font-stretch: 66%;
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.daa-sub {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--red);
  max-width: 30em;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
}

.daa-copy > p:not(.kicker):not(.daa-sub):not(.on-air) {
  margin-top: 18px;
  max-width: 36em;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--night-ink-2);
}

.on-air {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.on-air::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-red);
  box-shadow: 0 0 0 0 rgba(255, 106, 94, 0.6);
  animation: on-air 2.2s ease-out infinite;
}

@keyframes on-air {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 106, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 94, 0); }
}

.daa .btn-row {
  margin-top: 26px;
}

/* ---------- Outlets ---------- */

.outlets-lede {
  max-width: 34em;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.outlets-lede strong {
  font-weight: 700;
  color: var(--red);
}

.outlet-roll {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-stretch: 75%;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ink-2);
}

.outlet-roll a {
  text-decoration: none;
  white-space: nowrap;
}

.outlet-roll a:hover {
  color: var(--ink);
}

.outlet-roll .sep {
  margin-inline: 0.15em;
  color: var(--red);
  font-weight: 400;
}

/* ---------- Book shelf (home) ---------- */

.shelf {
  display: grid;
  gap: 32px;
}

@media (min-width: 700px) {
  .shelf {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.shelf-book {
  display: grid;
  grid-template-columns: minmax(96px, 150px) 1fr;
  gap: 20px;
  align-items: start;
}

.shelf-book img {
  width: 100%;
  box-shadow: 0 1px 0 var(--ink), 6px 8px 0 var(--paper-2);
  border: 1px solid var(--ink);
}

.shelf-book h3 {
  margin-top: 6px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
}

.shelf-book p:not(.kicker) {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.shelf-book .more-link {
  display: inline-block;
  margin-top: 12px;
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
}

.cta-inner {
  display: grid;
  gap: 24px;
  align-items: end;
  padding-block: clamp(44px, 7vw, 88px);
}

@media (min-width: 860px) {
  .cta-inner {
    grid-template-columns: 1.5fr 1fr;
  }

  .cta-inner .btn-row {
    justify-content: flex-end;
  }
}

.cta h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-stretch: 66%;
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

.cta p {
  margin-top: 16px;
  max-width: 32em;
  color: var(--ink-2);
}

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

.site-footer {
  background: var(--night);
  color: var(--night-ink);
}

.footer-inner {
  display: grid;
  gap: 28px;
  padding-block: 48px 32px;
}

.footer-top {
  display: grid;
  gap: 24px;
}

@media (min-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.footer-mark {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-stretch: 70%;
  font-weight: 900;
  line-height: 0.9;
  text-decoration: none;
}

.footer-mark span {
  color: var(--night-red);
}

.footer-sub {
  margin-top: 10px;
  font-style: italic;
  color: var(--night-ink-2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--night-red);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night-ink-2);
}

.footer-base a {
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--night-ink);
}

.social {
  display: flex;
  gap: 20px;
}

/* ---------- Inner page header ---------- */

.page-head {
  padding-top: clamp(28px, 5vw, 56px);
}

.page-head-inner {
  padding-bottom: clamp(20px, 3vw, 32px);
}

.page-title {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  font-stretch: 66%;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.page-deck {
  margin-top: 20px;
  max-width: 36em;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

.page-head-split {
  display: grid;
  gap: 28px;
  align-items: end;
}

@media (min-width: 860px) {
  .page-head-split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.page-head-split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
}

.page-head-split figcaption {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Writing page ---------- */

.toolbar {
  display: grid;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--ink);
}

@media (min-width: 760px) {
  .toolbar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.25rem;
  font-style: italic;
  -webkit-appearance: none;
  appearance: none;
}

.search input::placeholder {
  color: var(--ink-3);
}

.search input:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter:hover {
  border-color: var(--red);
  color: var(--red);
}

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

.result-count {
  padding-top: 14px;
}

.entries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry {
  display: grid;
  gap: 10px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule-soft);
}

@media (min-width: 760px) {
  .entry {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 32px;
  }
}

.entry-side {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

@media (min-width: 760px) {
  .entry-side {
    flex-direction: column;
    padding-top: 6px;
  }
}

.entry-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.entry-desc {
  margin-top: 10px;
  max-width: 44em;
  color: var(--ink-2);
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 14px;
}

.entry-links .meta {
  color: var(--ink);
}

.entry-links a {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.entry-links a:hover {
  color: var(--red);
}

.entry-also {
  margin-top: 8px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-3);
}

.empty {
  padding-block: 40px;
  font-style: italic;
  color: var(--ink-3);
}

.directory {
  display: grid;
  gap: 32px 40px;
}

@media (min-width: 640px) {
  .directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.directory-group h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
}

.directory-group h3 span {
  font-size: 0.85rem;
  font-stretch: 100%;
  color: var(--red);
}

.directory-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-group li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  line-height: 1.3;
}

.directory-group a {
  font-weight: 600;
  text-decoration: none;
}

.directory-group a:hover {
  color: var(--red);
}

.directory-group li span {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}

/* ---------- Books page ---------- */

.book-row {
  display: grid;
  gap: 28px;
  padding-block: 36px;
  border-bottom: 1px solid var(--rule-soft);
}

.book-row:first-child {
  padding-top: 0;
}

@media (min-width: 820px) {
  .book-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
  }
}

.book-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 460px;
}

.book-covers figure img {
  width: 100%;
  aspect-ratio: 342 / 445;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.book-covers figcaption {
  margin-top: 6px;
}

.book-row h3 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.book-row p:not(.kicker) {
  margin-top: 14px;
  max-width: 34em;
  color: var(--ink-2);
}

.book-row .btn-row {
  margin-top: 22px;
}

.photo-feature {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 820px) {
  .photo-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.photo-feature img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.photo-feature figcaption {
  margin-top: 8px;
}

.pull-quote {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.pull-quote::before {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin-bottom: 20px;
  background: var(--red);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--rule-soft);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 22px;
  max-width: 46em;
  color: var(--ink-2);
}

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

.answer-box {
  padding: 0 0 24px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.5;
}

.article-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1000px) {
  .article-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 72px;
  }
}

.fact-sheet {
  align-self: start;
}

@media (min-width: 1000px) {
  .fact-sheet {
    position: sticky;
    top: 96px;
  }
}

.fact-sheet h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.3rem;
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-sheet dl {
  margin: 0;
}

.fact-sheet div {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.fact-sheet dt {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.fact-sheet dd {
  margin: 2px 0 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.prose {
  max-width: 40em;
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.prose h2 {
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p + p {
  margin-top: 1.1em;
}

.prose > p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  font-family: var(--display);
  font-size: 4.6em;
  font-stretch: 66%;
  font-weight: 900;
  line-height: 0.78;
  color: var(--red);
}

.prose ul {
  margin-top: 1em;
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose li::marker {
  color: var(--red);
}

.roles {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}

@media (min-width: 640px) {
  .roles {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

.roles div {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.roles h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-stretch: 75%;
  font-weight: 800;
  text-transform: uppercase;
}

.roles p {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 80px;
  }
}

.contact-aside h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.3rem;
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-aside li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 1.12rem;
}

.contact-aside li::before {
  content: "\2014";
  color: var(--red);
}

.contact-aside p {
  margin-top: 24px;
  color: var(--ink-2);
}

.contact-aside .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}

.form {
  display: grid;
  gap: 22px;
}

@media (min-width: 640px) {
  .form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.form-pair {
  display: grid;
  gap: 22px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1rem;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 0;
  border-color: var(--red);
}

.form-status {
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-3);
}

.form-status[data-status="success"] {
  color: #1d6b38;
  font-style: normal;
}

.form-status[data-status="error"] {
  color: var(--red);
  font-style: normal;
}

/* ---------- 404 ---------- */

.not-found {
  padding-block: clamp(56px, 10vw, 120px);
}

.not-found .btn-row {
  margin-top: 28px;
}

/* ---------- Email links ---------- */

.contact-email {
  display: inline-block;
  margin: 6px 0 4px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--red);
}

.contact-aside .contact-or {
  margin: 0 0 32px;
}

.footer-email {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--night-red);
  text-underline-offset: 4px;
}

.footer-email:hover {
  color: var(--night-red);
}

.cta .btn {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.cta .btn-ghost {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

/* ---------- Column cover photos ---------- */

.lead-photo,
.story-photo,
.entry-photo,
.index-thumb {
  overflow: hidden;
  background: var(--paper-2);
}

.lead-photo img,
.story-photo img,
.entry-photo img,
.index-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-photo {
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
}

.story-photo {
  aspect-ratio: 3 / 2;
  margin-bottom: 14px;
}

.headline-index li.has-thumb {
  grid-template-columns: 2.4rem 1fr 100px;
}

.index-thumb {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  width: 88px;
  height: 66px;
}

.entry-photo {
  aspect-ratio: 16 / 9;
  order: -1;
}

@media (min-width: 760px) {
  .entry.has-photo {
    grid-template-columns: 200px minmax(0, 1fr) 220px;
  }

  .entry-photo {
    order: 0;
    aspect-ratio: 3 / 2;
    align-self: start;
    margin-top: 6px;
  }
}
