/* ============================================
   TASTE MACHINES — Premium Editorial Design
   Stratechery / Craig Mod inspired
   ============================================ */

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

:root {
    --bg: #FAFAF7;
    --bg-warm: #F3F2ED;
    --bg-alt: #EEEDEA;
    --fg: #1a1a1a;
    --fg-secondary: #525252;
    --fg-muted: #8C8C8C;
    --accent: #C4362A;
    --accent-hover: #A32D23;
    --accent-light: rgba(196, 54, 42, 0.06);
    --border: #DEDCD6;
    --border-light: #ECEAE4;
    --card-bg: #FFFFFF;
    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'Space Mono', 'Courier New', monospace;
    --max-width: 680px;
    --wide-width: 1040px;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- DARK MODE ---- */

[data-theme="dark"] {
    --bg: #151515;
    --bg-warm: #1C1C1C;
    --bg-alt: #222222;
    --fg: #ECECEC;
    --fg-secondary: #B0B0B0;
    --fg-muted: #777777;
    --accent: #E8564B;
    --accent-hover: #F06D63;
    --accent-light: rgba(232, 86, 75, 0.08);
    --border: #2E2E2E;
    --border-light: #262626;
    --card-bg: #1C1C1C;
}

[data-theme="dark"] nav {
    background: rgba(21, 21, 21, 0.92);
}

[data-theme="dark"] .theme-toggle svg .sun {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle svg .moon {
    opacity: 1;
}

/* ---- BASE ---- */

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--transition-smooth);
}

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

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

/* ---- READING PROGRESS BAR ---- */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 200;
    transition: width 0.1s linear;
}

/* ---- NAVIGATION ---- */

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

.nav-logo {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--fg-secondary);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--fg-muted);
    background: var(--accent-light);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

.theme-toggle svg .sun {
    fill: var(--fg-secondary);
    opacity: 1;
    transition: opacity 0.2s;
}

.theme-toggle svg .moon {
    fill: var(--fg-secondary);
    opacity: 0;
    transition: opacity 0.2s;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--fg);
    transition: all 0.3s var(--transition-smooth);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(3.25px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* ---- FADE-IN ANIMATION ---- */

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- HOMEPAGE HERO ---- */

.home-hero {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.home-hero-inner {
    max-width: 640px;
}

.home-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--fg);
    margin-bottom: 1.75rem;
}

.home-hero h1 em {
    font-style: italic;
    color: var(--accent);
    position: relative;
}

.home-hero-deck {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--fg-secondary);
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.home-hero-byline {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-hero-byline::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

/* ---- FEATURED ESSAY ---- */

.featured {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

.featured-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.featured-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: border-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.featured-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    color: inherit;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card-content h2 {
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1.18;
    margin-bottom: 1rem;
    color: var(--fg);
}

.featured-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fg-secondary);
    margin-bottom: 1.5rem;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--fg-muted);
    font-family: var(--mono);
    letter-spacing: 0.03em;
}

.featured-card-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3rem;
    border-left: 1px solid var(--border-light);
}

.featured-pullquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--fg);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.25rem;
}

.featured-pullquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 2px;
    background: var(--accent);
}

.featured-read-more {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1.25rem;
}

.featured-read-more::after {
    content: '\2192';
    transition: transform 0.3s var(--transition-smooth);
}

.featured-card:hover .featured-read-more::after {
    transform: translateX(4px);
}

/* ---- ESSAY LIST (New design — clean numbered list) ---- */

.essays-section {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.essays-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--fg);
}

.essays-section-header h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--fg);
}

.essays-section-count {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.essays-list {
    list-style: none;
}

.essay-list-item {
    border-bottom: 1px solid var(--border);
}

.essay-list-link {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.5rem 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s var(--transition-smooth);
}

.essay-list-link:hover {
    color: inherit;
}

.essay-list-link:hover .essay-list-title {
    color: var(--accent);
}

.essay-list-link:hover .essay-list-arrow {
    opacity: 1;
    transform: translateX(0);
}

.essay-list-number {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--fg-muted);
    padding-top: 0.3rem;
}

.essay-list-content {
    min-width: 0;
}

.essay-list-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--fg);
    margin-bottom: 0.4rem;
    transition: color 0.2s var(--transition-smooth);
}

.essay-list-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--fg-muted);
    max-width: 600px;
}

.essay-list-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.72rem;
    color: var(--fg-muted);
    font-family: var(--mono);
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding-top: 0.3rem;
}

.essay-list-arrow {
    font-size: 1.1rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s var(--transition-smooth);
}

/* ---- ABOUT SECTION (HOME) ---- */

.about-section {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 4rem 2rem 4rem;
    border-top: 1px solid var(--border);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text h2 {
    font-family: var(--serif);
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--fg-secondary);
    margin-bottom: 1rem;
}

.about-text p strong {
    color: var(--fg);
    font-weight: 500;
}

.about-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.about-links-list a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--fg-secondary);
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: all 0.25s var(--transition-smooth);
    text-decoration: none;
}

.about-links-list a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-stat {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: border-color 0.3s;
}

.about-stat:hover {
    border-color: var(--accent);
}

.about-stat-number {
    font-family: var(--serif);
    font-size: 2.4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.about-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--fg-muted);
    text-transform: uppercase;
    font-family: var(--mono);
}

/* ---- SUBSCRIBE SECTION ---- */

.subscribe-section {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.subscribe-box {
    padding: 4rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscribe-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.subscribe-box h3 {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.subscribe-box > p {
    color: var(--fg-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 0.85rem 1.15rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 3px 0 0 3px;
    color: var(--fg);
    outline: none;
    transition: border-color 0.2s;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--fg-muted);
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--accent);
}

.subscribe-form button {
    padding: 0.85rem 1.75rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background 0.25s var(--transition-smooth), transform 0.15s;
    white-space: nowrap;
}

.subscribe-form button:hover {
    background: var(--accent-hover);
}

.subscribe-form button:active {
    transform: scale(0.98);
}

.subscribe-note {
    font-size: 0.72rem;
    color: var(--fg-muted);
    margin-top: 0.85rem;
    font-family: var(--mono);
    letter-spacing: 0.03em;
}

/* ---- ESSAY PAGE ---- */

.essay {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.essay-header {
    padding: 5rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.essay-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.essay-meta span {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.essay-number {
    color: var(--accent) !important;
}

.essay-header h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin-bottom: 1.25rem;
}

.essay-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--fg-secondary);
    margin-bottom: 1.5rem;
}

.essay-byline {
    font-size: 0.88rem;
    color: var(--fg-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.essay-byline strong {
    color: var(--fg);
    font-weight: 500;
}

.byline-sep {
    color: var(--border);
}

/* ---- ESSAY BODY ---- */

.essay-body {
    padding-bottom: 3rem;
}

.essay-body p {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--fg-secondary);
    margin-bottom: 1.5rem;
}

.essay-body .essay-lede {
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--fg);
}

/* Drop cap on lede paragraph */
.essay-body .essay-lede::first-letter {
    float: left;
    font-family: var(--serif);
    font-size: 3.8rem;
    line-height: 0.8;
    padding-top: 0.08em;
    padding-right: 0.12em;
    color: var(--accent);
    font-weight: 400;
}

.essay-body h2 {
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1.25;
    color: var(--fg);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.essay-body em {
    font-style: italic;
}

.essay-body strong {
    font-weight: 600;
    color: var(--fg);
}

/* ---- ESSAY FOOTER ---- */

.essay-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.share-label,
.next-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 0.5rem;
}

.share-links {
    display: flex;
    gap: 1rem;
}

.share-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    transition: opacity 0.2s;
}

.share-links a:hover {
    opacity: 0.7;
}

.next-link {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--fg);
    text-decoration: none;
    transition: color 0.2s;
}

.next-link:hover {
    color: var(--accent);
}

.next-link .arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.next-link:hover .arrow {
    transform: translateX(4px);
}

/* ---- PREV/NEXT ESSAY NAV ---- */

.essay-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.essay-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.essay-nav-inner.nav-next-only {
    grid-template-columns: 1fr;
}

.essay-nav-inner.nav-prev-only {
    grid-template-columns: 1fr;
}

.essay-nav-item {
    text-decoration: none;
    color: inherit;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: border-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.essay-nav-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    color: inherit;
}

.essay-nav-item.nav-next {
    text-align: right;
}

.essay-nav-direction {
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 0.5rem;
}

.essay-nav-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--fg);
    transition: color 0.2s var(--transition-smooth);
}

.essay-nav-item:hover .essay-nav-title {
    color: var(--accent);
}

.essay-nav-arrow {
    display: inline-block;
    transition: transform 0.2s var(--transition-smooth);
}

.essay-nav-item.nav-prev:hover .essay-nav-arrow {
    transform: translateX(-4px);
}

.essay-nav-item.nav-next:hover .essay-nav-arrow {
    transform: translateX(4px);
}

/* ---- ESSAY SUBSCRIBE ---- */

.essay-subscribe {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.subscribe-inner {
    padding: 2.5rem;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 3px;
    text-align: center;
}

.subscribe-inner h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.subscribe-inner > p {
    color: var(--fg-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.subscribe-inner .subscribe-form {
    max-width: 400px;
}

/* ---- COLOPHON ---- */

.colophon {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--border);
}

.colophon-item {
    text-align: center;
}

.colophon-label {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 0.25rem;
}

.colophon-value {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--fg-secondary);
}

.colophon-value a {
    color: var(--fg-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--border);
}

.colophon-value a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* ---- SITE FOOTER ---- */

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.site-footer .footer-inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    font-size: 0.78rem;
    color: var(--fg-muted);
}

.site-footer p a {
    color: var(--fg-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--border);
}

.site-footer p a:hover {
    color: var(--accent);
}

.site-footer .footer-links {
    display: flex;
    gap: 1.5rem;
}

.site-footer .footer-links a {
    font-size: 0.78rem;
    color: var(--fg-muted);
    transition: color 0.2s;
}

.site-footer .footer-links a:hover {
    color: var(--accent);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-card-aside {
        padding-left: 0;
        border-left: none;
        padding-top: 2rem;
        border-top: 1px solid var(--border-light);
    }

    .featured-pullquote {
        padding-left: 1.25rem;
    }

    .essay-list-link {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }

    .essay-list-meta {
        display: none;
    }

    .essay-list-arrow {
        display: none;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .colophon {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--transition-smooth);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.1rem;
        font-family: var(--serif);
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }

    .home-hero {
        padding: 4rem 1.25rem 3rem;
    }

    .home-hero h1 {
        font-size: 2.2rem;
    }

    .featured {
        padding: 3rem 1.25rem 2rem;
    }

    .featured-card {
        padding: 1.75rem;
    }

    .featured-card-content h2 {
        font-size: 1.4rem;
    }

    .featured-pullquote {
        font-size: 1.1rem;
    }

    .essays-section {
        padding: 2rem 1.25rem 3rem;
    }

    .essay-list-link {
        grid-template-columns: 36px 1fr;
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .essay-list-title {
        font-size: 1.15rem;
    }

    .essay-list-excerpt {
        font-size: 0.85rem;
    }

    .about-section {
        padding: 2.5rem 1.25rem 3rem;
    }

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

    .subscribe-section {
        padding: 0 1.25rem 3rem;
    }

    .subscribe-box {
        padding: 2.5rem 1.5rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"] {
        border-right: 1px solid var(--border);
        border-radius: 3px;
    }

    .subscribe-form button {
        border-radius: 3px;
        width: 100%;
    }

    .essay {
        padding: 0 1.25rem;
    }

    .essay-header {
        padding: 3rem 0 2rem;
    }

    .essay-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .essay-footer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .essay-subscribe {
        padding: 0 1.25rem 2rem;
    }

    .essay-nav {
        padding: 0 1.25rem 2rem;
    }

    .essay-nav-inner {
        grid-template-columns: 1fr;
    }

    .essay-nav-item.nav-next {
        text-align: left;
    }

    .colophon {
        padding: 2rem 1.25rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .site-footer .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .essays-section-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .essay-body .essay-lede::first-letter {
        font-size: 3.2rem;
    }
}
