/* style.css -- Woman Versus. Charcoal + cream editorial design with coral accent.
   Design tokens injected as CSS custom properties via site_tokens_css(). */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding-top: var(--header-height, 72px);
    background: var(--color-bg, #FAF7F2);
    color: var(--color-text, #241F1C);
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.7;
}

a { color: var(--color-accent, #E8536A); text-decoration: none; }
a:hover { color: var(--color-accent-strong, #D63B54); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display, sans-serif);
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: var(--color-text, #241F1C);
}

.text-muted { color: var(--color-text-muted, #6B6560); }

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

.skip-link {
    position: absolute; left: -999px; top: 0; background: #fff; color: #111;
    padding: 0.75rem 1.25rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header ────────────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--color-surface-strong, #1A1A1A);
    z-index: 200;
}

.site-header__inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--header-height, 72px);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo a {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    font-family: var(--font-display, sans-serif);
}

.site-logo__line {
    color: var(--color-text-on-dark, #F5F1EA);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */

.site-nav { margin: 0 auto; }

.site-nav__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 1.9rem;
    align-items: center;
}

.site-nav__list a {
    color: var(--color-text-on-dark-muted, #B9B2A8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
    color: var(--color-text-on-dark, #F5F1EA);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle {
    background: none; border: none; cursor: pointer;
    color: var(--color-text-on-dark, #F5F1EA);
    padding: 0.25rem;
    display: flex;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--color-text-on-dark, #F5F1EA);
    border-radius: 2px;
}

.search-panel {
    position: absolute;
    top: var(--header-height, 72px);
    left: 0; right: 0;
    background: var(--color-surface-strong, #1A1A1A);
    border-top: 1px solid var(--color-border-dark, #3A3532);
    padding: 1rem 1.5rem;
}

.search-panel__inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
}

.search-panel__input {
    flex: 1;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-small, 6px);
    border: 1px solid var(--color-border-dark, #3A3532);
    background: #262220;
    color: var(--color-text-on-dark, #F5F1EA);
    font-size: 0.95rem;
}

.search-panel__submit {
    background: var(--color-accent, #E8536A);
    color: #fff;
    border: none;
    padding: 0 1.25rem;
    border-radius: var(--radius-small, 6px);
    font-weight: 600;
    cursor: pointer;
}

.mobile-nav-panel {
    position: fixed;
    top: var(--header-height, 72px);
    left: 0; right: 0; bottom: 0;
    background: var(--color-surface-strong, #1A1A1A);
    z-index: 190;
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-nav-panel__list {
    list-style: none; margin: 0 0 1.5rem; padding: 0;
    display: flex; flex-direction: column; gap: 0.25rem;
}

.mobile-nav-panel__list a {
    display: block;
    padding: 0.85rem 0.25rem;
    color: var(--color-text-on-dark, #F5F1EA);
    font-size: 1.15rem;
    border-bottom: 1px solid var(--color-border-dark, #3A3532);
}

.mobile-nav-panel__list a.is-active { color: var(--color-accent, #E8536A); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}

.btn--donate,
.btn--primary {
    background: var(--color-accent, #E8536A);
    color: #fff;
}
.btn--donate:hover,
.btn--primary:hover { background: var(--color-accent-strong, #D63B54); color: #fff; }

.btn--outline {
    border-color: rgba(255,255,255,0.6);
    color: var(--color-text-on-dark, #F5F1EA);
    background: transparent;
}
.btn--outline:hover { border-color: #fff; color: #fff; }

.btn--dark {
    background: var(--color-surface-strong, #1A1A1A);
    color: #fff;
}
.btn--dark:hover { background: #000; color: #fff; }

.btn--block { display: block; width: 100%; text-align: center; margin-top: 1rem; }

/* ── Layout ────────────────────────────────────────────────────────────────── */

.page-wrapper {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

.page-wrapper--page,
.page-wrapper--category,
.page-wrapper--author {
    padding-top: 2.5rem;
}

.narrow-wrap { max-width: 760px; margin: 0 auto; }

/* ── Breadcrumbs ───────────────────────────────────────────────────────────── */

.breadcrumbs { padding: 1.25rem 1.5rem 0; max-width: var(--content-width, 1200px); margin: 0 auto; }

.breadcrumbs__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--color-text-muted, #6B6560);
}

.breadcrumbs__item + .breadcrumbs__item::before { content: '/'; margin-right: 0.5rem; }
.breadcrumbs__item.is-current { color: var(--color-text, #241F1C); }
.breadcrumbs__item a { color: var(--color-text-muted, #6B6560); }
.breadcrumbs__item a:hover { color: var(--color-accent, #E8536A); }

/* ── Eyebrow / labels ──────────────────────────────────────────────────────── */

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent, #E8536A);
}

.category-pill {
    display: inline-block;
    background: var(--color-accent, #E8536A);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* ── Hero (homepage) ──────────────────────────────────────────────────────── */

.hero {
    position: relative;
    background: var(--color-surface-strong, #1A1A1A);
    background-image: linear-gradient(180deg, rgba(20,17,15,0.35) 0%, rgba(20,17,15,0.85) 100%), var(--hero-image, none);
    background-size: cover;
    background-position: center 25%;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
}

.hero__inner { max-width: 760px; margin: 0 auto; }

.hero__eyebrow {
    color: var(--color-text-on-dark, #F5F1EA);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
    border-bottom: 3px solid var(--color-accent, #E8536A);
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-serif, Georgia, serif);
    font-weight: 400;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--color-text-on-dark-muted, #B9B2A8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.hero .btn { padding: 0.85rem 1.9rem; font-size: 0.95rem; }

/* ── Section shell ─────────────────────────────────────────────────────────── */

.section { padding: 4.5rem 1.5rem; max-width: var(--content-width, 1200px); margin: 0 auto; }
.section--panel { background: var(--color-panel, #F3EEE6); }
.section--dark { background: var(--color-surface-strong, #1A1A1A); color: var(--color-text-on-dark, #F5F1EA); }
.section--tight { padding-top: 0; }

.section__header { text-align: center; margin-bottom: 2.75rem; }
.section__header--split {
    display: flex; align-items: baseline; justify-content: space-between; text-align: left;
    margin-bottom: 2.25rem; flex-wrap: wrap; gap: 1rem;
}
.section__header h2 { margin-bottom: 0.5rem; }
.section__header p { color: var(--color-text-muted, #6B6560); max-width: 620px; margin: 0 auto; }
.section__header--split p { margin: 0; }

.section__view-all {
    font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
    color: var(--color-accent, #E8536A);
    white-space: nowrap;
}

/* ── Explore the Versus: icon tiles ───────────────────────────────────────── */

.versus-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
}

.versus-tile {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-large, 18px);
    padding: 2rem 1.25rem;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.versus-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-accent, #E8536A);
}

.versus-tile__icon {
    width: 52px; height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--color-panel, #F3EEE6);
    color: var(--color-accent, #E8536A);
    display: flex; align-items: center; justify-content: center;
}

.versus-tile h3 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; margin: 0; }

/* ── Article / story cards ────────────────────────────────────────────────── */

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-card__image {
    aspect-ratio: 4 / 5;
    background: var(--color-panel, #F3EEE6);
    border-radius: var(--radius-medium, 10px);
    overflow: hidden;
    margin-bottom: 1rem;
}

.article-card__image img { width: 100%; height: 100%; object-fit: cover; }

.article-card h3 {
    font-family: var(--font-serif, Georgia, serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.article-card p { color: var(--color-text-muted, #6B6560); font-size: 0.92rem; margin: 0 0 0.5rem; }

.article-card__meta { font-size: 0.78rem; color: var(--color-text-muted, #6B6560); }

.featured-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
}

.featured-grid__secondary {
    display: grid;
    gap: 1.75rem;
}

.article-card--feature .article-card__image { aspect-ratio: 16 / 11; }
.article-card--feature h3 { font-size: 1.55rem; }

@media (max-width: 860px) {
    .featured-grid { grid-template-columns: 1fr; }
}

/* ── Girl Versus band ──────────────────────────────────────────────────────── */

.girl-versus-band {
    background: var(--color-surface-strong, #1A1A1A);
    color: var(--color-text-on-dark, #F5F1EA);
    padding: 4.5rem 1.5rem;
}

.girl-versus-band__inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.girl-versus-band__wordmark {
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--color-accent, #E8536A);
    margin-bottom: 1rem;
}

.girl-versus-band__inner p { color: var(--color-text-on-dark-muted, #B9B2A8); margin-bottom: 1.5rem; font-size: 1.05rem; }

.girl-versus-band__image {
    border-radius: var(--radius-large, 18px);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #2a2522;
}

.girl-versus-band__image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
    .girl-versus-band__inner { grid-template-columns: 1fr; }
    .girl-versus-band__image { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ── Quote band ────────────────────────────────────────────────────────────── */

.quote-band {
    background: var(--color-panel, #F3EEE6);
    padding: 4rem 1.5rem;
    text-align: center;
}

.quote-band blockquote {
    font-family: var(--font-serif, Georgia, serif);
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    max-width: 760px;
    margin: 0 auto 1rem;
    color: var(--color-text, #241F1C);
}

.quote-band cite { color: var(--color-text-muted, #6B6560); font-style: normal; font-size: 0.9rem; }

/* ── Trust bar ─────────────────────────────────────────────────────────────── */

.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-bar__item svg { color: var(--color-accent, #E8536A); margin-bottom: 0.75rem; }
.trust-bar__item h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 0.4rem; }
.trust-bar__item p { color: var(--color-text-muted, #6B6560); font-size: 0.9rem; margin: 0; }

/* ── Newsletter band ───────────────────────────────────────────────────────── */

.newsletter-band {
    background: var(--color-accent, #E8536A);
    color: #fff;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.newsletter-band h2 { color: #fff; margin-bottom: 0.5rem; }
.newsletter-band p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.newsletter-band .btn { background: #1A1A1A; color: #fff; }
.newsletter-band .btn:hover { background: #000; }

/* ── Hub intro (versus topic hubs / category) ────────────────────────────── */

.hub-intro { max-width: 720px; margin: 2rem auto 3rem; text-align: center; }
.hub-intro h1 { font-family: var(--font-serif, Georgia, serif); font-weight: 700; font-size: 2.4rem; }
.hub-intro p { color: var(--color-text-muted, #6B6560); }

.hub-block { max-width: 780px; margin: 0 auto 3rem; }
.hub-block h2 { font-size: 1.4rem; font-weight: 700; font-family: var(--font-body); }
.hub-block .prose { color: var(--color-text-muted, #6B6560); }

.subtopic-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 0.75rem; flex-wrap: wrap;
}

.subtopic-list a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--color-text, #241F1C);
}
.subtopic-list a:hover { border-color: var(--color-accent, #E8536A); color: var(--color-accent, #E8536A); }

/* ── Story / article page ─────────────────────────────────────────────────── */

.story-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding-top: 1.5rem;
}

.story-main { min-width: 0; max-width: 720px; }

.article-header { margin-bottom: 2rem; }
.article-header h1 {
    font-family: var(--font-serif, Georgia, serif);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin: 0.6rem 0 0.8rem;
}

.article-dek {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-text-muted, #6B6560);
    margin-bottom: 1.25rem;
}

.article-byline {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-muted, #6B6560);
    padding-top: 1rem;
    border-top: 1px solid var(--color-border, #E4DCCF);
}

.article-byline__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--color-panel, #F3EEE6);
    color: var(--color-accent, #E8536A);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
    overflow: hidden; flex-shrink: 0;
}
.article-byline__avatar img { width: 100%; height: 100%; object-fit: cover; }

.article-share {
    margin-left: auto;
    display: flex; gap: 0.6rem;
}
.article-share a {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--color-border, #E4DCCF);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted, #6B6560);
}
.article-share a:hover { border-color: var(--color-accent, #E8536A); color: var(--color-accent, #E8536A); }

.article-hero-image {
    border-radius: var(--radius-large, 18px);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--color-panel, #F3EEE6);
    margin-bottom: 2rem;
}
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.prose,
.story-body { font-size: 1.05rem; }
.prose h2, .story-body h2 { font-size: 1.3rem; font-weight: 700; font-family: var(--font-body); margin-top: 2rem; }
.prose p, .story-body p { margin: 0 0 1.3rem; }
.prose ul, .story-body ul { padding-left: 1.25rem; }

.story-body > *:first-child::first-letter {
    float: left;
    font-family: var(--font-serif, Georgia, serif);
    font-size: 4.4rem;
    line-height: 0.82;
    font-weight: 700;
    padding: 0.1rem 0.5rem 0 0;
    color: var(--color-accent, #E8536A);
}

blockquote.pull-quote {
    border-left: 4px solid var(--color-accent, #E8536A);
    margin: 2rem 0;
    padding: 0.25rem 0 0.25rem 1.5rem;
    font-family: var(--font-serif, Georgia, serif);
    font-style: italic;
    font-size: 1.45rem;
    line-height: 1.4;
    color: var(--color-text, #241F1C);
}

.article-tags {
    display: flex; gap: 0.6rem; flex-wrap: wrap;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--color-border, #E4DCCF);
}
.article-tags a {
    font-size: 0.8rem;
    color: var(--color-text-muted, #6B6560);
    background: var(--color-panel, #F3EEE6);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}
.article-tags a:hover { color: var(--color-accent, #E8536A); }

.subject-meta {
    background: var(--color-panel-soft, #FDFBF8);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-medium, 10px);
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--color-text-muted, #6B6560);
    margin-bottom: 2rem;
}

/* ── Sidebar (story pages) ────────────────────────────────────────────────── */

.story-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-medium, 10px);
    padding: 1.5rem;
}

.sidebar-card__title {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted, #6B6560);
    margin-bottom: 0.85rem;
}

.sidebar-card p { font-size: 0.9rem; color: var(--color-text-muted, #6B6560); margin: 0 0 0.75rem; }

.sidebar-card__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-card__links a { font-size: 0.88rem; font-weight: 600; }

.sidebar-card--dark {
    background: var(--color-surface-strong, #1A1A1A);
    color: var(--color-text-on-dark, #F5F1EA);
    border-color: var(--color-surface-strong, #1A1A1A);
}
.sidebar-card--dark .sidebar-card__title { color: var(--color-text-on-dark-muted, #B9B2A8); }
.sidebar-card--dark p { color: var(--color-text-on-dark-muted, #B9B2A8); }

.sidebar-card--accent {
    background: var(--color-accent, #E8536A);
    color: #fff;
    border-color: var(--color-accent, #E8536A);
}
.sidebar-card--accent .sidebar-card__title { color: rgba(255,255,255,0.85); }
.sidebar-card--accent p { color: rgba(255,255,255,0.92); }
.sidebar-card--accent .btn { background: #1A1A1A; }

@media (max-width: 960px) {
    .story-layout { grid-template-columns: 1fr; }
}

/* ── About / static pages ─────────────────────────────────────────────────── */

.static-page { max-width: 760px; margin: 2rem auto; }
.static-page h1 { font-family: var(--font-serif, Georgia, serif); font-weight: 700; font-size: 2.2rem; }
.static-page h2 { font-size: 1.3rem; margin-top: 2rem; }
.static-page .prose p { color: var(--color-text, #241F1C); }

.principle-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1.25rem;
}
.principle-list li {
    padding: 1.25rem 1.5rem;
    background: var(--color-panel-soft, #FDFBF8);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-medium, 10px);
}
.principle-list strong { display: block; margin-bottom: 0.3rem; }

/* ── Forms (submit / contact) ─────────────────────────────────────────────── */

.form-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-large, 18px);
    padding: 2rem;
}

.form-field { margin-bottom: 1.4rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-field .field-hint { display: block; font-size: 0.8rem; color: var(--color-text-muted, #6B6560); margin-top: 0.3rem; }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-small, 6px);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--color-panel-soft, #FDFBF8);
}

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

.form-radio-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-radio-group label { display: flex; align-items: center; gap: 0.4rem; font-weight: 400; }

.form-honeypot { position: absolute; left: -9999px; }

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-medium, 10px);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}
.form-alert--success { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.form-alert--error { background: #FDECEC; color: #B3261E; border: 1px solid #F2B8B5; }

/* ── Resource guides ───────────────────────────────────────────────────────── */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.resource-card {
    display: block;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-medium, 10px);
    padding: 1.75rem;
}
.resource-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.resource-card p { color: var(--color-text-muted, #6B6560); font-size: 0.92rem; margin: 0; }

.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.resource-list li {
    padding: 1.25rem 1.5rem;
    background: var(--color-panel-soft, #FDFBF8);
    border: 1px solid var(--color-border, #E4DCCF);
    border-radius: var(--radius-medium, 10px);
}

/* ── Author page ───────────────────────────────────────────────────────────── */

.author-header { text-align: center; max-width: 620px; margin: 1.5rem auto 3rem; }
.author-header__avatar {
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--color-panel, #F3EEE6);
    color: var(--color-accent, #E8536A);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.4rem;
    margin: 0 auto 1rem;
    overflow: hidden;
}
.author-header .role { color: var(--color-text-muted, #6B6560); margin-top: -0.5rem; }

/* ── Footer ────────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--color-surface-strong, #1A1A1A);
    color: var(--color-text-on-dark-muted, #B9B2A8);
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
}

.site-footer__inner { max-width: var(--content-width, 1200px); margin: 0 auto; padding: 0 1.5rem; }

.site-footer__top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.site-footer__brand-name {
    font-family: var(--font-display, sans-serif);
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1.15rem;
    color: var(--color-text-on-dark, #F5F1EA);
    margin-bottom: 0.6rem;
}

.site-footer__tagline { color: var(--color-text-on-dark, #F5F1EA); font-style: italic; margin: 0 0 0.75rem; }
.site-footer__about { font-size: 0.88rem; margin: 0 0 1.25rem; }

.site-footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; }
.site-footer__social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--color-border-dark, #3A3532);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-on-dark-muted, #B9B2A8);
}
.site-footer__social a:hover { border-color: var(--color-accent, #E8536A); color: var(--color-accent, #E8536A); }

.site-footer__col-heading {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-on-dark, #F5F1EA);
    margin-bottom: 1rem;
}

.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__links a { color: var(--color-text-on-dark-muted, #B9B2A8); font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--color-accent, #E8536A); }

.site-footer__newsletter p { font-size: 0.88rem; margin: 0 0 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-small, 6px);
    border: 1px solid var(--color-border-dark, #3A3532);
    background: #262220;
    color: var(--color-text-on-dark, #F5F1EA);
    font-size: 0.88rem;
}
.newsletter-form button {
    background: var(--color-accent, #E8536A);
    color: #fff;
    border: none;
    padding: 0 1.1rem;
    border-radius: var(--radius-small, 6px);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--color-accent-strong, #D63B54); }

.site-footer__bottom {
    border-top: 1px solid var(--color-border-dark, #3A3532);
    padding-top: 1.25rem;
    font-size: 0.8rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ── Error page ────────────────────────────────────────────────────────────── */

.error-page { text-align: center; padding: 6rem 1.5rem; }
.error-page h1 { font-family: var(--font-serif, Georgia, serif); font-size: 5rem; font-weight: 700; color: var(--color-accent, #E8536A); margin-bottom: 0.5rem; }
.error-page p { font-size: 1.1rem; margin-bottom: 2rem; color: var(--color-text-muted, #6B6560); }

/* ── Mobile ────────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
    .site-nav { display: none; }
    .nav-hamburger { display: flex; }
    .site-footer__top { grid-template-columns: 1fr; gap: 2.25rem; }
    .site-footer__bottom { flex-direction: column; }
}
