:root {
    --slate: #2A2A2A;
    --chalk: #F5F5F0;
    --rule: #555;
    --accent: #C8E600;
    --muted: #9A9A91;
    --display: "DM Serif Display", Georgia, serif;
    --ui: "Space Grotesk", Arial, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { background: var(--slate); color: var(--chalk); scroll-behavior: smooth; }
body { margin: 0; background: var(--slate); color: var(--chalk); font-family: var(--ui); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.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; }

.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner, .site-footer__inner, .page-shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 24px; }
.site-header__issue, .site-header__nav, .eyebrow, .meta, .filter-bar, .site-footer__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-header__issue { color: var(--accent); }
.site-header__brand { font-family: var(--display); font-size: clamp(28px, 3vw, 43px); letter-spacing: -.04em; text-align: center; line-height: 1; }
.site-header__nav { display: flex; justify-content: flex-end; gap: 18px; }
.site-header__nav a, .text-link { border-bottom: 1px solid transparent; transition: color 180ms ease, border-color 180ms ease; }
.site-header__nav a:hover, .site-header__nav a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--accent); border-color: var(--accent); }

.page-shell { padding: 42px 0 88px; }
.home-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; }
.home-intro h1, .archive-heading, .section-heading, .about-heading { margin: 0; font-family: var(--display); font-size: clamp(42px, 7vw, 96px); line-height: .93; letter-spacing: -.055em; font-weight: 400; }
.home-intro__dek { max-width: 360px; margin: 0; color: #D5D5CB; }

.cover-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr); min-height: min(68vh, 720px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cover-panel { position: relative; min-height: 520px; overflow: hidden; background: #171717; }
.cover-panel img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform 500ms var(--ease), filter 500ms var(--ease); }
.cover-panel:hover img { transform: scale(1.025); filter: contrast(1.08); }
.cover-panel__mark { position: absolute; left: 28px; bottom: 26px; color: var(--accent); font-size: clamp(54px, 10vw, 150px); font-weight: 700; line-height: .8; letter-spacing: -.1em; mix-blend-mode: screen; }
.lead-story { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 72px); border-left: 1px solid var(--rule); background: var(--chalk); color: var(--slate); }
.lead-story__top { display: flex; justify-content: space-between; gap: 16px; }
.lead-story .eyebrow { color: #687100; }
.lead-story h2 { margin: 30px 0 18px; max-width: 680px; font-family: var(--display); font-size: clamp(42px, 6vw, 88px); line-height: .92; letter-spacing: -.055em; font-weight: 400; }
.lead-story__dek { max-width: 470px; margin: 0; font-size: 18px; line-height: 1.45; }
.lead-story__foot { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid #B4B4AA; padding-top: 16px; }
.lead-story .text-link { color: var(--slate); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); color: #BFC0B5; }
.filter-bar a { transition: color 180ms ease; }
.filter-bar a:hover, .filter-bar a:focus-visible { color: var(--accent); }
.filter-bar__active { color: var(--accent); }
.story-section { padding-top: 34px; }
.story-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; }
.story-section__head h2 { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 18px; border-top: 1px solid var(--rule); }
.story-card { grid-column: span 4; padding: 18px 0 30px; border-bottom: 1px solid var(--rule); }
.story-card:nth-child(3n + 1) { grid-column: span 5; }
.story-card:nth-child(3n + 2) { grid-column: span 3; }
.story-card:nth-child(3n) { grid-column: span 4; }
.story-card__image-wrap { display: block; aspect-ratio: 1.18 / 1; overflow: hidden; background: #191919; margin-bottom: 15px; }
.story-card:nth-child(3n + 2) .story-card__image-wrap { aspect-ratio: .82 / 1; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease), opacity 220ms ease; }
.story-card:hover img { transform: scale(1.035); opacity: .88; }
.story-card h3 { margin: 7px 0 8px; max-width: 430px; font-family: var(--display); font-size: clamp(24px, 3vw, 42px); line-height: .98; letter-spacing: -.04em; font-weight: 400; }
.story-card p { margin: 0; max-width: 430px; color: #C5C5BB; }
.story-card__link { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.archive-heading, .section-heading, .about-heading { padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.archive-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.archive-card img { width: 150px; height: 150px; object-fit: cover; }
.archive-card h2 { margin: 5px 0 8px; font-family: var(--display); font-size: clamp(25px, 3vw, 44px); line-height: .96; font-weight: 400; letter-spacing: -.04em; }
.archive-card p { margin: 0; color: #C5C5BB; }

.article-page { max-width: 1160px; margin: 0 auto; }
.article-header { display: grid; grid-template-columns: minmax(0, .82fr) minmax(300px, 1.18fr); gap: 48px; align-items: end; border-bottom: 1px solid var(--rule); padding-bottom: 34px; }
.article-header h1 { margin: 16px 0 18px; font-family: var(--display); font-size: clamp(52px, 8vw, 120px); line-height: .88; font-weight: 400; letter-spacing: -.065em; }
.article-header__dek { margin: 0; font-size: 20px; line-height: 1.4; color: #D2D2C8; }
.article-header__image { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; }
.article-body { max-width: 720px; margin: 54px auto 0; font-family: Georgia, serif; font-size: 20px; line-height: 1.72; color: #E1E1D8; }
.article-body p { margin: 0 0 1.4em; }
.article-body a { color: var(--accent); }

.info-layout { max-width: 900px; }
.info-layout p { max-width: 680px; font-family: Georgia, serif; font-size: 23px; line-height: 1.55; color: #D8D8CF; }
.info-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 48px; border-top: 1px solid var(--rule); }
.info-list__item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.info-list__item h2 { margin: 0 0 8px; font-family: var(--display); font-size: 34px; font-weight: 400; }
.newsletter-form { display: flex; max-width: 620px; margin-top: 38px; border-bottom: 1px solid var(--chalk); }
.newsletter-form input { flex: 1; min-width: 0; border: 0; padding: 14px 0; background: transparent; color: var(--chalk); outline: 0; }
.newsletter-form button { border: 0; background: var(--accent); color: var(--slate); padding: 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

.site-footer { border-top: 1px solid var(--rule); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0 34px; color: #BFC0B5; }
.site-footer__label { color: var(--accent); }

@media (max-width: 820px) {
    .site-header__inner { grid-template-columns: 1fr auto; min-height: 76px; }
    .site-header__brand { grid-column: 1; grid-row: 1; text-align: left; }
    .site-header__issue { display: none; }
    .site-header__nav { grid-column: 2; grid-row: 1; gap: 12px; font-size: 10px; }
    .site-header__nav a:nth-child(n+4) { display: none; }
    .cover-grid, .article-header { grid-template-columns: 1fr; }
    .cover-panel { min-height: 52vh; }
    .cover-panel img { min-height: 52vh; }
    .lead-story { min-height: 480px; border-left: 0; border-top: 1px solid var(--rule); }
    .story-card, .story-card:nth-child(3n + 1), .story-card:nth-child(3n + 2), .story-card:nth-child(3n) { grid-column: span 6; }
    .archive-grid, .info-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .site-header__inner, .site-footer__inner, .page-shell { width: min(100% - 28px, 1440px); }
    .home-intro { display: block; }
    .home-intro__dek { margin-top: 18px; }
    .story-card, .story-card:nth-child(3n + 1), .story-card:nth-child(3n + 2), .story-card:nth-child(3n) { grid-column: span 12; }
    .archive-card { grid-template-columns: 100px 1fr; }
    .archive-card img { width: 100px; height: 100px; }
    .newsletter-form { display: block; border: 0; }
    .newsletter-form input { width: 100%; border-bottom: 1px solid var(--chalk); }
    .newsletter-form button { min-height: 44px; margin-top: 12px; }
}

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