/* The Conservative Thinker — navy field, cream engraving, double rules.
   The flag SVG is the only red and blue on the site. */

:root {
  --navy: #06122a;
  --navy-2: #0b1d3f;
  --cream: #e6decf;
  --cream-dim: #b9b2a4;
  --line: rgba(230, 222, 207, 0.8);
  --line-soft: rgba(230, 222, 207, 0.32);
  --serif: "EB Garamond", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --display: "Playfair Display", "EB Garamond", Georgia, "Times New Roman", serif;
  --measure: 66ch;
  --wrap: 72rem;
  --header: 4.75rem;
}

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

html {
  scroll-behavior: auto;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  background-image: url("/brand/grain.png");
  background-size: 180px 180px;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--cream);
}

:focus {
  outline: none;
}

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

main:focus {
  outline: none;
}

::selection {
  background: var(--cream);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 80;
  background: var(--cream);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(46rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sc,
.kicker,
.brand-name,
.site-nav a,
.btn,
.nav-btn,
.meta,
.crumbs,
.when,
.num,
.tag,
.tags-label,
.section-more,
.chip,
.ticker-label,
.rail-head,
.meta-line {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-weight: 500;
}

h1,
h2,
h3,
.pull,
.signoff {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  margin: 0.35rem 0 0.75rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  margin: 0.55rem 0 1rem;
}

h3 {
  font-size: 1.65rem;
  margin: 0.2rem 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.rules {
  display: block;
  height: 5px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.rules.soft {
  border-color: var(--line-soft);
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--cream-dim);
  font-size: 0.98rem;
}

.dek {
  font-size: 1.3rem;
  line-height: 1.45;
  margin: 0;
}

.prose {
  max-width: var(--measure);
}

.prose.center,
.center {
  margin-inline: auto;
}

.prose a,
.footer-note a,
figcaption a,
.source-list a,
.crumbs a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.prose ul,
.source-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.prose li + li,
.source-list li + li {
  margin-top: 0.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  border-bottom: 1px solid var(--cream);
  box-shadow: 0 4px 0 var(--navy), 0 5px 0 var(--cream);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: var(--header);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
  padding: 0.2rem 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-seal,
.footer-seal,
.mast-seal,
.byline-seal,
.about-seal {
  border-radius: 50%;
  display: block;
  background: var(--navy);
}

.brand-seal {
  width: 2.75rem;
  height: 2.75rem;
}

.brand-name {
  font-size: clamp(1rem, 3.2vw, 1.18rem);
  line-height: 1.05;
  max-width: 12.5rem;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--cream);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
  background: transparent;
}

.nav-btn-close {
  display: none;
}

.nav-toggle:checked ~ .nav-btn .nav-btn-open {
  display: none;
}

.nav-toggle:checked ~ .nav-btn .nav-btn-close {
  display: inline;
}

.nav-toggle:focus-visible + .nav-btn {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.15rem 0 0.85rem;
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.site-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.site-nav a[aria-current="page"] {
  background-image: linear-gradient(var(--cream), var(--cream)), linear-gradient(var(--cream), var(--cream));
  background-size: 100% 1px, 100% 1px;
  background-position: 0 calc(100% - 8px), 0 calc(100% - 4px);
  background-repeat: no-repeat;
}

@media (min-width: 900px) {
  .header-bar {
    flex-wrap: nowrap;
  }

  .nav-toggle,
  .nav-btn {
    display: none;
  }

  .brand-name {
    max-width: none;
    font-size: 1.2rem;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding: 0;
  }
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.05rem;
  cursor: pointer;
}

a.btn:hover,
button.btn:hover:not(:disabled) {
  background: var(--cream);
  color: var(--navy);
  text-decoration: none;
}

button.btn:disabled,
input:disabled {
  cursor: not-allowed;
}
figure.plate {
  margin: 1.4rem 0 0;
}

figure.plate img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-soft);
}

figcaption {
  margin-top: 0.75rem;
  color: var(--cream-dim);
  font-size: 1.05rem;
  line-height: 1.45;
}


.signoff {
  font-style: italic;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 1.25rem 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2.75rem;
  margin-top: 1rem;
}

.footer-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: 1.25rem 0 1rem;
}

.footer-seal {
  width: 4.5rem;
  height: 4.5rem;
}

.footer-note,
.legal {
  text-align: center;
  color: var(--cream-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  list-style: none;
  padding: 0;
  margin: 1.1rem 0;
}

.footer-links a {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.post-body {
  max-width: none;
  font-size: 1.2rem;
  line-height: 1.68;
}

.post-body > p:first-child {
  font-size: 1.32rem;
  line-height: 1.55;
}

.post-body h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-top: 2.1rem;
}

.post-body .rules.soft {
  margin: 2.5rem 0 0.5rem;
}

.post-body .sources-head {
  font-size: 1.35rem;
  margin-top: 1.25rem;
}

.post-body .source-list {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--cream-dim);
}

.post-sign {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  margin-top: 1.5rem;
}


/* ── News layout ──────────────────────────────────── */

.band {
  padding: 2.5rem 0;
}

.band.tight {
  padding: 2rem 0 2.25rem;
}

.lead {
  font-size: 1.28rem;
  line-height: 1.5;
}

.mark {
  display: block;
}

/* Kickers and meta */
.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.05rem 0.5rem 0.15rem;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.16em;
}

.meta-line {
  color: var(--cream-dim);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.tags-label {
  color: var(--cream-dim);
  font-size: 0.88rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  padding: 0.5rem 0 0.4rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 4px 0 var(--navy), inset 0 5px 0 var(--line);
  padding-top: 0.75rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.section-more {
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

a.section-more:hover,
.desk-card:hover .section-more {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line-soft);
  background: var(--navy-2);
  overflow: hidden;
}

.ticker-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.6rem;
}

.ticker-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.1rem 0.6rem 0.2rem;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.85rem;
}

.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticker-track li {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.ticker-track a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  min-height: 2.6rem;
  align-items: center;
  text-decoration: none;
  font-size: 1rem;
}

.ticker-track a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tick-tag {
  color: var(--cream-dim);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
}

.ticker-track li::after {
  content: "✦";
  display: inline-block;
  padding: 0 1.15rem;
  color: var(--cream-dim);
  font-size: 0.7rem;
  vertical-align: middle;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: tick 80s linear infinite;
  }

  .ticker:hover .ticker-track,
  .ticker:focus-within .ticker-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-viewport {
    overflow-x: auto;
  }

  .ticker-track li[aria-hidden="true"] {
    display: none;
  }
}

@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Masthead */
.masthead {
  padding: 1.25rem 0 0.5rem;
}

.masthead-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.4rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 0 var(--navy), 0 5px 0 var(--line);
}

.mast-seal {
  width: 4rem;
  height: 4rem;
}

.mast-text h1 {
  font-size: clamp(1.7rem, 5.2vw, 2.9rem);
  margin: 0;
}

.mast-dek {
  margin: 0.15rem 0 0;
  color: var(--cream-dim);
  font-size: 1.02rem;
  line-height: 1.35;
}

.mast-side {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mast-side .flag {
  width: 2.4rem;
  margin: 0;
}

.mast-date {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.9rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
}

/* Front: lead story + latest rail */
.front {
  padding: 1.5rem 0 0.5rem;
}

.front-grid {
  display: grid;
  gap: 1.75rem;
}

.lead-link {
  display: grid;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.lead-img,
.thumb,
.latest-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--navy-2);
}

.lead-img img,
.thumb img,
.latest-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lead-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lead-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.lead-desk {
  color: var(--cream-dim);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
}

.lead-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 2.85rem);
  line-height: 1.08;
}

.lead-dek {
  font-size: 1.2rem;
  line-height: 1.45;
}

.byline {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.byline .meta-line {
  font-size: 0.95rem;
  letter-spacing: 0;
  font-variant-caps: normal;
}

.lead-link:hover .lead-title,
.tile-link:hover .tile-title,
.latest-list a:hover .latest-title,
.picks-list a:hover .pick-title,
.desk-more a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.latest {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.rail-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cream);
}

@media (prefers-reduced-motion: no-preference) {
  .pulse {
    animation: pulse 2.2s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230, 222, 207, 0.55); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(230, 222, 207, 0); }
}

.latest-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.latest-list li + li {
  border-top: 1px solid var(--line-soft);
}

.latest-list a {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem 0;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.latest-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.latest-title {
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.22;
}

/* Tiles */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.tile {
  border-top: 1px solid var(--line-soft);
}

.tile:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.tile[hidden] {
  display: none;
}

.tile-link {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.9rem;
  padding: 0.9rem 0;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.tile-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.excerpt {
  color: var(--cream-dim);
  font-size: 0.98rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.thumb {
  align-self: start;
}

@media (prefers-reduced-motion: no-preference) {
  .lead-img img,
  .thumb img,
  .latest-thumb img {
    transition: transform 0.45s ease, filter 0.45s ease;
  }

  .tile-link,
  .desk-card,
  .chip {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .lead-link:hover img,
  .tile-link:hover img,
  .latest-list a:hover img {
    transform: scale(1.05);
  }
}

.lead-link:hover img,
.tile-link:hover img,
.latest-list a:hover img {
  filter: brightness(1.12);
}

/* Picks rail */
.picks {
  padding: 1rem 0 1.5rem;
}

.picks-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 78%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-soft) transparent;
}

.picks-list li {
  scroll-snap-align: start;
}

.picks-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  height: 100%;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line-soft);
  background: var(--navy-2);
  text-decoration: none;
  color: inherit;
}

.picks-list a:hover {
  border-color: var(--cream);
}

.pick-num {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.9;
  font-style: italic;
  color: var(--cream-dim);
}

.pick-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pick-title {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.22;
}

/* Desk sections on the homepage */
.desk-grid {
  display: grid;
  gap: 1.75rem;
}

.desk-block-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.desk-icon .mark {
  width: 2.25rem;
  height: 2.25rem;
}

.desk-block-head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.desk-block-head h3 a {
  text-decoration: none;
}

.desk-sub {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.desk-block .tile:last-child {
  border-bottom: 0;
}

.desk-more {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.desk-more li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.desk-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.desk-more a {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.25;
  text-decoration: none;
  display: block;
  margin-bottom: 0.15rem;
}

/* Creed strip */
.creed {
  padding: 1rem 0 2.5rem;
}

.creed-box {
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: 4px;
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.creed-head {
  margin: 0;
  font-size: 1.3rem;
}

.creed-box p {
  margin: 0;
  color: var(--cream-dim);
}

/* Page heads */
.page-head {
  padding: 1.5rem 0 0;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.4rem);
  margin: 0.15rem 0 0.4rem;
}

.page-head .dek {
  max-width: 44rem;
  color: var(--cream-dim);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.page-head .kicker {
  margin: 0;
}

.page-head-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-mark .mark {
  width: 3.5rem;
  height: 3.5rem;
}

.crumbs {
  margin: 0 0 0.8rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after {
  content: "·";
  margin-left: 0.45rem;
  color: var(--cream-dim);
}

.kicker {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.dek {
  font-size: 1.2rem;
  line-height: 1.45;
}

.flag {
  display: block;
  width: 3rem;
  height: auto;
}

/* Blog filter */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.3rem 0.95rem 0.45rem;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.02rem;
  cursor: pointer;
  border-radius: 999px;
}

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

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

.chip .count {
  font-size: 0.82rem;
  opacity: 0.75;
}

.filter-status {
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Posts */
.post-head {
  padding: 1.5rem 0 0.5rem;
}

.post-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.6rem;
}

.post-kicker a {
  color: var(--cream-dim);
  text-decoration: none;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.post-kicker a:hover {
  text-decoration: underline;
}

.post-head h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 0.6rem;
}

.post-head .dek {
  color: var(--cream-dim);
}

.byline-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.byline-seal {
  width: 2.6rem;
  height: 2.6rem;
}

.byline-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.byline-name {
  font-weight: 500;
}

.post-hero {
  margin: 1.25rem 0 1.5rem;
}

.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-soft);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
}

.prose .tag-link,
.tag-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.15rem 0.75rem 0.25rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

.tag-link:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--navy);
}

.post-body .rules.soft {
  margin: 1.75rem 0 0.5rem;
}

.related {
  margin-top: 2rem;
  border-top: 1px solid var(--line-soft);
}

.up-next {
  margin-top: 1.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.up-next a {
  text-decoration: none;
}

.up-next a:hover {
  text-decoration: underline;
}

/* Desk pages */
.desk-about {
  display: grid;
  gap: 2rem;
}

.desk-about h2,
.desk-docs h2 {
  font-size: 1.45rem;
}

.desk-docs .source-list {
  color: var(--cream-dim);
  font-size: 1rem;
}

.desk-cards {
  display: grid;
  gap: 1rem;
}

.desk-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line-soft);
  background: var(--navy-2);
  text-decoration: none;
  color: inherit;
}

.desk-card:hover {
  border-color: var(--cream);
}

.desk-card .num {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

.desk-card-title {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
}

.desk-card-q {
  font-style: italic;
}

.desk-card-blurb {
  color: var(--cream-dim);
}

.desk-card-latest {
  margin-top: 0.4rem;
  font-family: var(--display);
}

/* About */
.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about-seal {
  width: min(14rem, 60vw);
  height: auto;
  justify-self: center;
}

.prose ol {
  padding-left: 1.25rem;
}

.prose ol li + li {
  margin-top: 0.4rem;
}

.footer-brand .flag {
  width: 3rem;
  margin-top: 0.4rem;
}

@media (min-width: 640px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
  }

  .tile,
  .tile:last-child {
    border: 0;
  }

  .tile-link {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.65rem;
    padding: 0 0 0.9rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .desk-block .tile-link {
    grid-template-columns: 9rem 1fr;
    grid-template-rows: none;
    padding: 0.75rem 0;
  }

  .picks-list {
    grid-auto-columns: minmax(16rem, 1fr);
  }

  .masthead-row {
    grid-template-columns: auto 1fr auto;
  }

  .mast-side {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
  }

  .desk-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .masthead {
    padding-top: 1.75rem;
  }

  .mast-seal {
    width: 5.25rem;
    height: 5.25rem;
  }

  .front-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(17rem, 1fr);
    gap: 2.25rem;
  }

  .latest {
    border-top: 0;
    border-left: 1px solid var(--line-soft);
    padding: 0 0 0 1.75rem;
  }

  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tile-grid.wide {
    grid-template-columns: repeat(3, 1fr);
  }

  .picks-list {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }

  .desk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .desk-about {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .desk-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .lead-link {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .lead-title {
    font-size: 2.35rem;
  }

  .desk-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desk-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }

  .tile-grid.wide {
    grid-template-columns: repeat(4, 1fr);
  }

  .desk-block .tile-link {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: 0.5rem 0 0.75rem;
  }
}

@media print {
  body::before,
  .site-header,
  .ticker,
  .nav-btn,
  .skip,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  a {
    color: #111;
  }
}
