/* =============================================
   The Railsplitter — Shared Stylesheet
   Lincoln High School · Los Angeles, CA
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,600;1,400&family=DM+Serif+Display:ital@0;1&display=swap");

/* ── Tokens ────────────────────────────────── */
:root {
  --f-display: "Playfair Display", Georgia, serif;
  --f-body: "Source Serif 4", Georgia, serif;
  --f-sans: "DM Sans", system-ui, sans-serif;

  --c-ink: #1a1916;
  --c-orange: #c85500;
  --c-bg: #fafaf7;
  --c-surface: #ffffff;
  --c-rule: #ddd9d0;
  --c-muted: #6e6b64;
  --c-light: #9b9890;

  --max-w: 1240px;
  --x-pad: clamp(16px, 3vw, 32px);
  --gap: 28px;
}

/* ── Reset ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul,
ol,
blockquote {
  margin: 0;
  padding: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ── Base ──────────────────────────────────── */
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Top Bar ───────────────────────────────── */
.top-bar {
  padding: 6px var(--x-pad);
  border-bottom: 1px solid var(--c-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-bar__left,
.top-bar__right {
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: var(--c-muted);
  letter-spacing: 0.03em;
}
.top-bar__right a {
  color: var(--c-orange);
}
.top-bar__right a:hover {
  text-decoration: underline;
}

/* ── Masthead ──────────────────────────────── */
.masthead {
  text-align: center;
  padding: 22px var(--x-pad) 16px;
}
.masthead__rule-top {
  border: none;
  border-top: 1px solid var(--c-ink);
  margin-bottom: 14px;
}
.masthead__wordmark {
  font-family: var(--f-display);
  font-size: clamp(54px, 9.5vw, 108px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--c-ink);
  display: block;
}
.masthead__tagline {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 16px;
  display: block;
}
.masthead__rule-bottom {
  border: none;
  border-top: 3px double var(--c-ink);
  margin-top: 14px;
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-rule);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--x-pad);
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__inner::-webkit-scrollbar {
  display: none;
}
.nav__item {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding: 13px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
  display: inline-block;
}
.nav__item:hover,
.nav__item--active {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}

/* ── Wrap ──────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--x-pad);
}

/* ── Label ─────────────────────────────────── */
.label {
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-orange);
  display: block;
}

/* ── Image Placeholder ─────────────────────── */
.img-ph {
  background: #e8e4dc;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-ph--sports {
  background: linear-gradient(160deg, #e6dfd3 0%, #d4c8b4 100%);
}
.img-ph--features {
  background: linear-gradient(160deg, #dce4df 0%, #c8d4cc 100%);
}
.img-ph--opinion {
  background: linear-gradient(160deg, #e4dcdc 0%, #d0c4c4 100%);
}
.img-ph--reviews {
  background: linear-gradient(160deg, #dcdce8 0%, #c8c8d8 100%);
}
.img-ph--news {
  background: linear-gradient(160deg, #e4e0d8 0%, #cec8bc 100%);
}
.img-ph__credit {
  position: absolute;
  bottom: 7px;
  right: 10px;
  font-family: var(--f-sans);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 25, 22, 0.35);
}

/* ── Hero Grid ─────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1px 320px;
  gap: 0 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-rule);
}
.hero__divider {
  background: var(--c-rule);
  align-self: stretch;
}
.hero__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.hero__headline {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.hero__headline a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero__meta {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-muted);
}
.hero__meta strong {
  font-weight: 600;
  color: var(--c-ink);
}
.hero__dek {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

.hero__aside {
  display: flex;
  flex-direction: column;
}
.hero__aside-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-rule);
}
.hero__aside-item:first-child {
  padding-top: 2px;
}
.hero__aside-item:last-child {
  border-bottom: none;
}
.hero__aside-hed {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.hero__aside-hed a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero__aside-dek {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Section Header ────────────────────────── */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 30px 0 14px;
  border-bottom: 2px solid var(--c-ink);
  margin-bottom: 24px;
}
.sec-head__title {
  font-family: var(--f-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sec-head__more {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-left: auto;
  white-space: nowrap;
}
.sec-head__more:hover {
  text-decoration: underline;
}

/* ── Grids ─────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 44px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Article Card ──────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card__img {
  overflow: hidden;
  display: block;
  position: relative;
}
.card__img .img-ph {
  aspect-ratio: 3/2;
}
.card__hed {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.card a:hover .card__hed {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card__meta {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-muted);
}
.card__meta strong {
  font-weight: 600;
  color: var(--c-ink);
}
.card__dek {
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

/* ── Split Row (Opinion + Reviews) ─────────── */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 36px;
  padding-bottom: 52px;
}
.split-divider {
  background: var(--c-rule);
}

/* ── Review Card ───────────────────────────── */
.rev-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-rule);
  margin-bottom: 18px;
}
.rev-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.rev-card__thumb {
  flex: 0 0 68px;
}
.rev-card__thumb .img-ph {
  width: 68px;
  height: 96px;
}
.rev-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rev-card__hed {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
.rev-card a:hover .rev-card__hed {
  text-decoration: underline;
}
.rev-card__meta {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-muted);
}
.rev-card__meta strong {
  color: var(--c-ink);
  font-weight: 600;
}

/* ── Read More ─────────────────────────────── */
.read-more {
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.read-more:hover {
  text-decoration: underline;
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: #1a1916;
  color: #fafaf7;
  padding: 52px var(--x-pad) 32px;
  margin-top: 64px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1px 1fr 1px 1fr;
  gap: 0 40px;
}
.footer__wordmark {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.footer__school {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.38);
  margin-bottom: 20px;
}
.footer__address {
  font-family: var(--f-sans);
  font-size: 13px;
  color: rgba(250, 250, 247, 0.5);
  line-height: 1.8;
}
.footer__divider {
  background: rgba(250, 250, 247, 0.1);
}
.footer__col-title {
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(250, 250, 247, 0.7);
}
.footer__links a:hover {
  color: #fff;
}
.footer__staff-item {
  margin-bottom: 14px;
}
.footer__staff-role {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.35);
  margin-bottom: 2px;
}
.footer__staff-name {
  font-family: var(--f-sans);
  font-size: 14px;
  color: rgba(250, 250, 247, 0.75);
}
.footer__staff-list,
.footer__staff-empty {
  font-family: var(--f-sans);
  font-size: 14px;
  color: rgba(250, 250, 247, 0.55);
}
.footer__bottom {
  max-width: var(--max-w);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  font-family: var(--f-sans);
  font-size: 11px;
  color: rgba(250, 250, 247, 0.28);
  text-align: center;
  line-height: 1.9;
}

/* ── Article Page ──────────────────────────── */
.art-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.art-header__crumb {
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: var(--c-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.art-header__crumb a {
  color: var(--c-orange);
}
.art-header__crumb a:hover {
  text-decoration: underline;
}
.art-header__label {
  margin-bottom: 12px;
}
.art-header__hed {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.art-header__dek {
  font-family: var(--f-body);
  font-size: 20px;
  font-style: italic;
  color: var(--c-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.art-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
.art-header__author {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
}
.art-header__issue {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--c-muted);
}

.art-lead-img {
  max-width: 860px;
  margin: 36px auto;
  padding: 0 24px;
}
.art-lead-img .img-ph {
  aspect-ratio: 16/9;
}
.art-caption {
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: var(--c-light);
  margin-top: 7px;
  padding-left: 2px;
}

.art-body {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 24px 72px;
}
.art-body p {
  font-size: 19px;
  line-height: 1.78;
  margin-bottom: 26px;
  text-wrap: pretty;
}
.art-body p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-size: 78px;
  font-weight: 900;
  float: left;
  line-height: 0.72;
  margin: 10px 10px -4px 0;
  color: var(--c-orange);
}
.art-secondary-image {
  margin: 38px -70px;
}
.art-secondary-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #f4f1eb;
}
.art-secondary-image figcaption {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  color: var(--c-muted);
  font-family: var(--f-sans);
  font-size: 12px;
  line-height: 1.45;
}
.art-secondary-image__credit {
  color: var(--c-light);
  font-size: 11px;
}
.art-body h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 40px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--c-rule);
}
.art-body blockquote {
  border-left: 3px solid var(--c-orange);
  padding: 2px 0 2px 20px;
  margin: 32px 0;
}
.art-body blockquote p {
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--c-muted);
  margin-bottom: 0;
}
.art-body blockquote p::first-letter {
  all: unset;
}
.art-body ul {
  padding-left: 22px;
  margin-bottom: 28px;
}
.art-body ul li {
  list-style: disc;
  font-size: 18.5px;
  line-height: 1.7;
  margin-bottom: 8px;
  text-wrap: pretty;
}
.art-body .survey-note {
  background: #f0ede7;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 32px 0;
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}
.art-body .survey-note strong {
  color: var(--c-ink);
}

/* ── Related Articles ──────────────────────── */
.related {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  border-top: 2px solid var(--c-ink);
}
.related__title {
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rel-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rel-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--c-surface);
  position: relative;
}
.rel-card__img img,
.rel-card__img .img-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rel-card__hed {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.rel-card a:hover .rel-card__hed {
  text-decoration: underline;
}
.rel-card__meta {
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: var(--c-muted);
}

/* ── Section Page ──────────────────────────── */
.sec-page-head {
  padding: 42px 0 22px;
  border-bottom: 3px solid var(--c-ink);
  margin-bottom: 36px;
}
.sec-page-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sec-page-bar {
  width: 52px;
  height: 4px;
  background: var(--c-orange);
  margin-top: 14px;
}
.sec-page-count {
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: var(--c-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.sec-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--c-rule);
  align-items: start;
}
.sec-featured__img {
  overflow: hidden;
}
.sec-featured__img .img-ph {
  aspect-ratio: 4/3;
}
.sec-featured__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}
.sec-featured__hed {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.sec-featured__hed a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sec-featured__dek {
  font-size: 16.5px;
  color: var(--c-muted);
  line-height: 1.65;
  text-wrap: pretty;
}
.sec-featured__meta {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-muted);
}
.sec-featured__meta strong {
  font-weight: 600;
  color: var(--c-ink);
}

/* ── Tweaks Panel ──────────────────────────── */
.tweaks-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  transition: background 0.2s;
}
.tweaks-fab:hover {
  background: var(--c-orange);
}
.tweaks-fab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tweaks-panel {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 1000;
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: 10px;
  padding: 20px 20px 16px;
  width: 248px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 18px;
}
.tweaks-panel.open {
  display: flex;
}
.tweaks-panel__heading {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.tweaks-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tweaks-group__label {
  font-family: var(--f-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-ink);
}
.tweaks-swatches {
  display: flex;
  gap: 8px;
}
.tweaks-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    border-color 0.15s,
    transform 0.15s;
  outline: none;
  flex-shrink: 0;
}
.tweaks-swatch:hover {
  transform: scale(1.1);
}
.tweaks-swatch.active {
  border-color: var(--c-ink);
}
.tweaks-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tweaks-chip {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border: 1px solid var(--c-rule);
  border-radius: 20px;
  cursor: pointer;
  background: transparent;
  color: var(--c-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.tweaks-chip:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}
.tweaks-chip.active {
  background: var(--c-ink);
  color: var(--c-bg);
  border-color: var(--c-ink);
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__divider {
    display: none;
  }
  .hero__aside {
    border-top: 1px solid var(--c-rule);
    margin-top: 24px;
    padding-top: 8px;
  }
  .split-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .split-divider {
    display: none;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
  .footer__divider {
    display: none;
  }
  .related__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sec-featured {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .art-secondary-image {
    margin: 28px 0;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .related__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ── Skip Link ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--c-orange);
  color: #fff;
  padding: 8px 18px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--c-ink);
  outline-offset: 2px;
}

/* ── Breaking News ─────────────────────────── */
.breaking {
  background: var(--c-orange);
  color: #fff;
  padding: 9px var(--x-pad);
  display: flex;
  align-items: center;
  gap: 14px;
}
.breaking__badge {
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.breaking__text {
  font-family: var(--f-body);
  font-size: 14px;
  font-style: italic;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breaking__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.breaking__close:hover {
  color: #fff;
}

/* ── Search Button (nav) ───────────────────── */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 13px 14px;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  transition: color 0.15s;
  flex-shrink: 0;
}
.search-btn:hover {
  color: var(--c-orange);
}
.search-btn svg {
  width: 16px;
  height: 16px;
}

/* ── Nav Issue Badge ───────────────────────── */
.nav__issue {
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  white-space: nowrap;
  padding: 13px 0 13px 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Search Overlay ────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(26, 25, 22, 0.93);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-overlay__inner {
  width: 100%;
  max-width: 640px;
}
.search-overlay__label {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.35);
  margin-bottom: 10px;
  display: block;
}
.search-overlay__form {
  position: relative;
}
.search-overlay__input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(250, 250, 247, 0.25);
  color: #fafaf7;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  padding: 8px 0;
  outline: none;
  caret-color: var(--c-orange);
  transition: border-color 0.2s;
}
.search-overlay__input::placeholder {
  color: rgba(250, 250, 247, 0.18);
}
.search-overlay__input:focus {
  border-bottom-color: var(--c-orange);
}
.search-overlay__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(250, 250, 247, 0.45);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 6px;
  transition: color 0.15s;
}
.search-overlay__close:hover {
  color: #fff;
}
.search-overlay__hints {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-overlay__hint {
  font-family: var(--f-sans);
  font-size: 12px;
  color: rgba(250, 250, 247, 0.4);
  background: rgba(250, 250, 247, 0.06);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.search-overlay__hint:hover {
  background: rgba(250, 250, 247, 0.13);
  color: #fff;
}
.search-overlay__shortcut {
  margin-top: 20px;
  font-family: var(--f-sans);
  font-size: 11px;
  color: rgba(250, 250, 247, 0.25);
  letter-spacing: 0.04em;
}
.search-overlay__shortcut kbd {
  background: rgba(250, 250, 247, 0.1);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 10px;
}

/* ── Progress Bar ──────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--c-orange);
  z-index: 200;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Back To Top ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  color: var(--c-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
}
.back-to-top svg {
  width: 14px;
  height: 14px;
}

/* ── Author Bio ────────────────────────────── */
.author-bio {
  max-width: 660px;
  margin: 0 auto;
  padding: 28px 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--c-rule);
}
.author-bio__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8e4dc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-muted);
}
.author-bio__name {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.author-bio__role {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ── Share Row ─────────────────────────────── */
.share-row {
  max-width: 660px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-row__label {
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-right: 2px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid var(--c-rule);
  border-radius: 20px;
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-muted);
  background: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.share-btn:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}
.share-btn.copied {
  border-color: #1f6344;
  color: #1f6344;
}
.share-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Archive Page ──────────────────────────── */
.archive-head {
  padding: 42px 0 22px;
  border-bottom: 3px solid var(--c-ink);
  margin-bottom: 40px;
}
.archive-title {
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.archive-bar {
  width: 52px;
  height: 4px;
  background: var(--c-orange);
  margin-top: 14px;
}
.archive-sub {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}
.issue-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-rule);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.18s;
  cursor: pointer;
}
.issue-card:hover {
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.09);
}
.issue-card__cover {
  aspect-ratio: 8.5/11;
  background: #e8e4dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.issue-card__cover--2 {
  background: #dde4dc;
}
.issue-card__cover--3 {
  background: #e0dce8;
}
.issue-card__cover--4 {
  background: #e4dcdc;
}
.issue-card__cover--5 {
  background: #dce1e8;
}
.issue-card__cover--6 {
  background: #e8e4dc;
}
.issue-card__bg-num {
  position: absolute;
  font-family: var(--f-display);
  font-size: 200px;
  font-weight: 900;
  color: rgba(26, 25, 22, 0.06);
  line-height: 1;
  bottom: -24px;
  right: -16px;
  pointer-events: none;
  user-select: none;
}
.issue-card__wordmark {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--c-ink);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 10px;
}
.issue-card__rule {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(26, 25, 22, 0.15);
  margin: 10px 0;
}
.issue-card__badge {
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-orange);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.issue-card__theme {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 14px;
  color: var(--c-muted);
  text-align: center;
}
.issue-card__body {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--c-rule);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.issue-card__label {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-orange);
}
.issue-card__hls {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.issue-card__hl {
  font-family: var(--f-body);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--c-ink);
  padding-left: 10px;
  border-left: 2px solid var(--c-rule);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.issue-card__count {
  font-family: var(--f-sans);
  font-size: 11px;
  color: var(--c-light);
  margin-top: 4px;
}
.issue-card__link {
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-orange);
  display: inline-block;
  margin-top: 2px;
}
.issue-card__link:hover {
  text-decoration: underline;
}

/* ── About Page ────────────────────────────── */
.about-hero {
  background: var(--c-ink);
  color: var(--c-bg);
  padding: 60px var(--x-pad) 52px;
  text-align: center;
}
.about-hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
}
.about-hero__mission {
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.65;
  color: rgba(250, 250, 247, 0.7);
  max-width: 660px;
  margin: 22px auto 0;
  text-wrap: pretty;
}
.about-hero__mission p {
  margin: 0;
}
.about-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--x-pad) 80px;
}
.about-sec-head {
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 52px 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-rule);
}
.about-contact-box {
  background: #f0ede7;
  border-radius: 6px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 40px;
}
.about-contact-box__divider {
  background: var(--c-rule);
}
.about-contact-box__head {
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.about-contact-box p {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-ink);
}
.about-contact-box a {
  color: var(--c-orange);
}
.about-contact-box a:hover {
  text-decoration: underline;
}

/* ── Search Results Page ───────────────────── */
.search-page-head {
  padding: 42px 0 24px;
  border-bottom: 2px solid var(--c-ink);
  margin-bottom: 36px;
}
.search-page-input {
  width: 100%;
  font-family: var(--f-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--c-ink);
  background: none;
  border: none;
  border-bottom: 2px solid var(--c-rule);
  padding: 8px 0;
  outline: none;
  caret-color: var(--c-orange);
  transition: border-color 0.2s;
}
.search-page-input:focus {
  border-bottom-color: var(--c-orange);
}
.search-page-count {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--c-muted);
  margin-top: 12px;
}
.search-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.filter-chip {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--c-rule);
  border-radius: 20px;
  cursor: pointer;
  background: transparent;
  color: var(--c-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}
.filter-chip.active {
  background: var(--c-ink);
  color: var(--c-bg);
  border-color: var(--c-ink);
}
.search-results {
  display: flex;
  flex-direction: column;
  margin-bottom: 64px;
}
.search-result {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-rule);
}
.search-result:first-child {
  border-top: 1px solid var(--c-rule);
}
.search-result__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.search-result__hed {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.search-result a:hover .search-result__hed {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search-result__dek {
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result__meta {
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: var(--c-muted);
}
.search-result__meta strong {
  font-weight: 600;
  color: var(--c-ink);
}
.search-result__thumb .img-ph {
  aspect-ratio: 3/2;
}
.search-empty {
  padding: 72px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.search-empty__hed {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
}
.search-empty__sub {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--c-muted);
}

/* ── 404 Page ──────────────────────────────── */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  gap: 16px;
}
.not-found__num {
  font-family: var(--f-display);
  font-size: clamp(100px, 18vw, 180px);
  font-weight: 900;
  line-height: 1;
  color: var(--c-rule);
  letter-spacing: -0.06em;
}
.not-found__kicker {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-top: -12px;
}
.not-found__hed {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 500px;
}
.not-found__dek {
  font-family: var(--f-body);
  font-size: 17px;
  color: var(--c-muted);
  max-width: 440px;
  line-height: 1.65;
  text-wrap: pretty;
}
.not-found__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-ink);
  color: var(--c-bg);
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 3px;
  margin-top: 10px;
  transition: background 0.15s;
  letter-spacing: 0.04em;
}
.not-found__home:hover {
  background: var(--c-orange);
}
.not-found__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.not-found__link {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--c-orange);
  font-weight: 600;
}
.not-found__link:hover {
  text-decoration: underline;
}

/* ── Print ─────────────────────────────────── */
@media print {
  .top-bar,
  .nav,
  .breaking,
  .share-row,
  .author-bio,
  .related,
  .footer,
  .back-to-top,
  .tweaks-fab,
  .tweaks-panel,
  .progress-bar,
  .search-overlay {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    -webkit-print-color-adjust: exact;
  }
  .masthead {
    padding: 12pt 0 8pt;
  }
  .masthead__wordmark {
    font-size: 36pt;
  }
  .masthead__rule-top,
  .masthead__rule-bottom {
    display: block;
  }
  .art-header {
    max-width: 100%;
    padding: 18pt 0 0;
  }
  .art-header__hed {
    font-size: 22pt;
  }
  .art-header__dek {
    font-size: 13pt;
  }
  .art-lead-img {
    max-width: 100%;
    padding: 0;
  }
  .art-body {
    max-width: 100%;
    padding: 0 0 16pt;
  }
  .art-body p {
    font-size: 11pt;
    line-height: 1.55;
    margin-bottom: 10pt;
  }
  .art-body p:first-of-type::first-letter {
    font-size: 44pt;
  }
  a {
    color: inherit !important;
  }
  @page {
    margin: 0.75in;
  }
}

/* ── Responsive extras ─────────────────────── */
@media (max-width: 960px) {
  .about-contact-box {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-contact-box__divider {
    display: none;
  }
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .search-result {
    grid-template-columns: 1fr;
  }
  .search-result__thumb {
    display: none;
  }
}
