/* =========================================================================
   Gabriella's Edit — screen.css
   Built from the Gabriella's Growth brand kit.
   Palette 01 "Signature" (Night): oxblood anchors, espresso + taupe ground,
   paper for contrast. One expressive type voice + one utility voice per block.
   ========================================================================= */

/* ----------------------------------------------------------------------------
   0. Tokens
   ---------------------------------------------------------------------------- */
:root {
    --oxblood: #580E09;
    --espresso: #41302D;
    --near-black: #12100F;
    --warm-brown: #6F564A;
    --taupe: #7F634C;
    --olive: #616454;
    --paper: #E0DED8;
    --paper-bright: #EEECE5;
    --cream: #F4EEE2;
    --amber: #C77B30;
    --amber-deep: #A8631F;

    --ink: #211a18;              /* body text on light */
    --ink-soft: #5c4f4a;         /* secondary text on light */
    --bg: var(--paper-bright);
    --bg-raised: #F6F4EE;
    --hairline: rgba(65, 48, 45, 0.18);

    --font-head: var(--gh-font-heading, 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    --font-body: var(--gh-font-body, 'Lora', Georgia, 'Times New Roman', serif);
    --font-mono: 'Courier Prime', 'Courier New', Courier, monospace;
    --font-script: 'Beau Rivage', 'Snell Roundhand', 'Brush Script MT', cursive;

    --wrap: 1120px;
    --read: 42rem;
    --step: clamp(1.5rem, 1rem + 2vw, 2.5rem);

    --radius: 4px;
    --shadow-pop: 6px 6px 0 var(--amber-deep);
}

/* Note: this is a light editorial design by intention (matches the brand's
   Night/Signature palette used on a paper ground). A proper dark-mode pass is
   a later polish item — omitted for v1 so the oxblood brand color renders
   correctly for every reader. */

/* ----------------------------------------------------------------------------
   1. Reset / base
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5em; }
p { margin: 0 0 1.2em; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.5rem 0; }

.visually-hidden {
    position: absolute !important;
    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: var(--oxblood); color: var(--cream);
    padding: 0.75rem 1rem; z-index: 100;
    font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------------------
   2. Shared pieces
   ---------------------------------------------------------------------------- */
.eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    color: var(--oxblood);
    margin: 0 0 1rem;
}

.btn-pop {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--cream);
    background: var(--amber);
    padding: 0.9rem 1.5rem;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-pop:hover,
.btn-pop:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--amber-deep);
}
.btn-pop:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--amber-deep); }

.tag-pill {
    display: inline-block;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    color: var(--cream);
    background: var(--taupe);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.issue-stamp {
    display: inline-block;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    color: var(--cream);
    background: var(--near-black);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
}

.section-head { margin-bottom: 2.5rem; }
.section-head__title { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.75rem); margin: 0; }
.section-head__desc { font-family: var(--font-body); font-style: italic; color: var(--ink-soft); max-width: var(--read); margin: 0.75rem 0 0; }
.section-head__rule { width: 3.5rem; height: 2px; background: var(--oxblood); margin-top: 1.25rem; }
.section-head--author { text-align: center; }
.section-head--author .section-head__rule { margin-left: auto; margin-right: auto; }
.author-avatar { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; margin: 0 auto 1rem; }

/* ----------------------------------------------------------------------------
   3. Site header
   ---------------------------------------------------------------------------- */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 1.75rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
.site-header__mark {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--oxblood);
}
.site-header__glyph {
    width: clamp(2.6rem, 2rem + 2vw, 3.4rem);
    height: auto;
}
.site-header__name {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.2rem);
    font-weight: 700;
}
.site-header__tagline {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.66rem;
    color: var(--ink-soft);
    margin: 0.25rem 0 0;
}

.site-nav { width: 100%; margin-top: 0.75rem; }
.site-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.site-nav__item a {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.site-nav__item a:hover { color: var(--amber-deep); border-bottom-color: var(--amber-deep); }
.site-nav__item--current a { border-bottom-color: var(--oxblood); }
.site-nav__item--cta a {
    color: var(--cream);
    background: var(--amber);
    border: 0;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
}
.site-nav__item--cta a:hover { background: var(--amber-deep); color: var(--cream); }
.site-nav__toggle {
    display: none;
    position: relative;
    width: 2rem;
    height: 1.5rem;
    background: none;
    border: 0;
    cursor: pointer;
    margin: 0 auto;
    padding: 0;
}
.site-nav__toggle-bar,
.site-nav__toggle-bar::before,
.site-nav__toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav__toggle-bar { top: 50%; transform: translateY(-50%); }
.site-nav__toggle-bar::before { top: -0.5rem; }
.site-nav__toggle-bar::after { top: 0.5rem; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar::before { top: 0; transform: rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* Home header goes full oxblood */
.site-header--home {
    background: var(--oxblood);
    border-bottom: none;
}
.site-header--home .site-header__mark { color: var(--cream); }
.site-header--home .site-header__tagline { color: rgba(244, 238, 226, 0.7); }
.site-header--home .site-nav__item a { color: var(--cream); }
.site-header--home .site-nav__item a:hover { color: #fff; border-bottom-color: #fff; }
.site-header--home .site-nav__item--current a { border-bottom-color: var(--cream); }
.site-header--home .site-nav__item--cta a { background: var(--amber); color: var(--cream); }

/* ----------------------------------------------------------------------------
   4. Home hero
   ---------------------------------------------------------------------------- */
.home-hero {
    background: var(--oxblood);
    color: var(--cream);
}
.home-hero__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(3rem, 2rem + 8vw, 6rem) 1.5rem clamp(3.5rem, 2rem + 9vw, 7rem);
    text-align: center;
}
.home-hero__eyebrow { color: rgba(244, 238, 226, 0.75); }
.home-hero__headline {
    font-size: clamp(2.1rem, 0.5rem + 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--cream);
    overflow-wrap: break-word;
    hyphens: auto;
}
.home-hero__sub {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(1.25rem, 1rem + 2vw, 1.9rem);
    margin: 0.75rem 0 0;
    color: var(--cream);
}
.home-hero__blurb {
    max-width: 34rem;
    margin: 1.5rem auto 0;
    color: rgba(244, 238, 226, 0.8);
    font-size: 1.05rem;
}
.home-hero__form {
    display: flex;
    gap: 0.5rem;
    max-width: 30rem;
    margin: 2.25rem auto 0;
}
.home-hero__form input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: var(--radius);
    font: inherit;
    font-size: 1rem;
    background: var(--cream);
    color: var(--ink);
}
.home-hero__form button {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--cream);
    background: var(--amber);
    border: 0;
    border-radius: var(--radius);
    padding: 0 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-pop);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.home-hero__form button:hover { transform: translate(2px,2px); box-shadow: 4px 4px 0 var(--amber-deep); }
.home-hero__note { font-family: var(--font-mono); font-size: 0.78rem; margin-top: 0.75rem; min-height: 1.2em; color: #F6C9C5; }
.home-hero__note--success { color: var(--cream); display: none; }
.home-hero__member { margin-top: 1.5rem; }
.home-hero__member a { color: var(--amber); }

/* ----------------------------------------------------------------------------
   5. Issue list + cards
   ---------------------------------------------------------------------------- */
.issue-list__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(3rem, 2rem + 6vw, 5.5rem) 1.5rem;
}
.issue-feed { border-top: 2px solid var(--oxblood); }

.issue-card {
    position: relative;
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--hairline);
}
.issue-card--has-image { grid-template-columns: 9rem 1fr 15rem; }
.issue-card__link { position: absolute; inset: 0; z-index: 1; }
.issue-card__meta {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--amber-deep);
    line-height: 1.6;
}
.issue-card__dot { display: block; opacity: 0.5; }
.issue-card__title {
    font-size: clamp(1.3rem, 1rem + 1.8vw, 1.9rem);
    margin: 0 0 0.5rem;
    transition: color 0.15s ease;
}
.issue-card:hover .issue-card__title { color: var(--oxblood); }
.issue-card__excerpt {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--ink-soft);
    margin: 0 0 1rem;
    font-size: 1rem;
}
.issue-card__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.issue-card__more {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--amber-deep);
}
.issue-card__image { z-index: 0; }
.issue-card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}
.pagination a { color: var(--amber-deep); text-decoration: none; }
.pagination .page-number { color: var(--ink-soft); }

/* ----------------------------------------------------------------------------
   6. Single post
   ---------------------------------------------------------------------------- */
.post-header__inner,
.page-header__inner {
    max-width: var(--read);
    margin: 0 auto;
    padding: clamp(2.5rem, 2rem + 5vw, 4.5rem) 1.5rem 1.5rem;
    text-align: center;
}
.post-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}
.post-header__dot { opacity: 0.5; }
.post-header__title { font-size: clamp(2rem, 1.4rem + 4vw, 3.25rem); margin: 0; }
.post-header__dek {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 34rem;
    margin: 1.25rem auto 0;
}
.post-header__byline {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--ink);
}

.post-image {
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}
.post-image img { width: 100%; border-radius: var(--radius); }
.post-image figcaption {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-align: center;
    color: var(--ink-soft);
    margin-top: 0.75rem;
}

/* ----------------------------------------------------------------------------
   7. Post content (Koenig)
   ---------------------------------------------------------------------------- */
.post-content {
    max-width: var(--read);
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
}
.gh-content > * { margin-bottom: 1.5rem; }
.gh-content p { font-size: 1.15rem; }
.gh-content h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem); margin-top: 2.5rem; }
.gh-content h3 { font-size: 1.3rem; margin-top: 2rem; }
.gh-content h4 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    color: var(--oxblood);
    margin-top: 2rem;
}
.gh-content a { color: var(--amber-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gh-content a:hover { color: var(--oxblood); }
/* linked images: no underline, subtle affordance on hover */
.gh-content figure a,
.gh-content a:has(img) { display: block; text-decoration: none; }
.gh-content figure a img { transition: opacity 0.15s ease, box-shadow 0.15s ease; }
.gh-content figure a:hover img { opacity: 0.92; box-shadow: 0 0 0 3px var(--amber); }
.gh-content ul, .gh-content ol { padding-left: 1.3rem; }
.gh-content li { margin-bottom: 0.5rem; font-style: italic; }
.gh-content li::marker { color: var(--amber-deep); }
.gh-content blockquote {
    margin: 2rem 0;
    padding-left: 1.4rem;
    border-left: 3px solid var(--oxblood);
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--espresso);
}
.gh-content figure { margin: 2rem 0; }
.gh-content img { border-radius: var(--radius); margin-inline: auto; }
.gh-content figcaption {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-align: center;
    color: var(--ink-soft);
    margin-top: 0.6rem;
}
.gh-content hr { margin: 3rem auto; width: 3.5rem; border-top: 2px solid var(--oxblood); }
.gh-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-raised);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}
.gh-content pre {
    background: var(--near-black);
    color: var(--cream);
    padding: 1.25rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.9rem;
}
.gh-content pre code { background: none; padding: 0; }

/* Koenig cards */
.kg-width-wide { max-width: 1000px; margin-inline: auto; }
.kg-width-full { max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-card-hascaption { text-align: center; }
.kg-bookmark-card {
    display: block;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
}
.kg-bookmark-container { display: flex; text-decoration: none; color: inherit; }
.kg-bookmark-content { padding: 1.1rem 1.25rem; flex: 1; }
.kg-bookmark-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 0.35rem; }
.kg-bookmark-description { font-size: 0.95rem; color: var(--ink-soft); }
.kg-bookmark-metadata { font-family: var(--font-mono); font-size: 0.72rem; margin-top: 0.6rem; color: var(--ink-soft); }
.kg-bookmark-thumbnail { flex: 0 0 33%; max-width: 200px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card {
    display: flex;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--bg-raised);
    border-left: 3px solid var(--amber);
    font-size: 1rem;
}
.kg-callout-card p { margin: 0; }
.kg-button-card { text-align: center; }
.kg-btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    text-decoration: none;
    color: var(--cream);
    background: var(--amber);
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
}
.kg-toggle-card { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1rem 1.25rem; }
.kg-toggle-heading-text { font-family: var(--font-head); font-weight: 700; }
.gh-content .kg-header-card { text-align: center; padding: 2.5rem 1rem; }

/* ----------------------------------------------------------------------------
   8. Post CTA
   ---------------------------------------------------------------------------- */
.post-cta { background: var(--oxblood); color: var(--cream); margin-top: 4rem; }
.post-cta__inner {
    max-width: var(--read);
    margin: 0 auto;
    padding: clamp(3rem, 2rem + 5vw, 4.5rem) 1.5rem;
    text-align: center;
}
.post-cta .eyebrow { color: rgba(244,238,226,0.7); }
.post-cta__title { color: var(--cream); font-size: clamp(1.6rem, 1.2rem + 2.5vw, 2.4rem); }
.post-cta__body { color: rgba(244,238,226,0.85); max-width: 32rem; margin: 0 auto 1.75rem; }
.post-cta__form { display: flex; gap: 0.5rem; max-width: 28rem; margin: 0 auto; }
.post-cta__form input {
    flex: 1; padding: 0.85rem 1rem; border: 0; border-radius: var(--radius);
    font: inherit; font-size: 1rem; background: var(--cream); color: var(--ink);
}
.post-cta__form button {
    font-family: var(--font-head); font-weight: 700; color: var(--cream);
    background: var(--amber); border: 0; border-radius: var(--radius);
    padding: 0 1.4rem; cursor: pointer; box-shadow: var(--shadow-pop);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.post-cta__form button:hover { transform: translate(2px,2px); box-shadow: 4px 4px 0 var(--amber-deep); }
.post-cta__note { font-family: var(--font-mono); font-size: 0.78rem; margin-top: 0.75rem; min-height: 1.2em; color: #F6C9C5; }
.post-cta__note--success { color: var(--cream); display: none; }

/* ----------------------------------------------------------------------------
   9. Read more
   ---------------------------------------------------------------------------- */
.read-more__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem,2rem+5vw,5rem) 1.5rem; }

/* ----------------------------------------------------------------------------
   10. Doorway pages (Ask the Archive / The Niitty Griitty)
   ---------------------------------------------------------------------------- */
.doorway { display: flex; align-items: center; min-height: 70vh; }
.doorway__inner {
    max-width: 40rem;
    margin: 0 auto;
    padding: clamp(3rem, 2rem + 8vw, 6rem) 1.5rem;
    text-align: center;
}
/* Ask the Archive doorway — the deep-red app-logo card, matching the ATA hero */
.doorway__ata-card {
    display: block;
    max-width: 26rem;
    margin: 0.5rem auto 0;
    padding: clamp(2.75rem, 2rem + 6vw, 4.5rem) clamp(1.75rem, 1rem + 4vw, 3rem);
    background: #6E1015;
    border-radius: 28px;
    box-shadow: 12px 14px 0 rgba(65, 48, 45, 0.14);
}
.doorway__ata-mark { width: 100%; height: auto; }
.doorway__lockup { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; }
.doorway__lockup-lead {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.9rem;
    color: var(--oxblood);
}
.doorway__lockup-word {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 2.5rem + 8vw, 6rem);
    line-height: 0.9;
    color: var(--oxblood);
}
.doorway__rule { width: 10rem; height: 1px; background: var(--oxblood); margin: 2rem auto 1.5rem; }
.doorway--archive .doorway__copy { margin-top: 2.25rem; }
.doorway__lede { font-size: 1.15rem; color: var(--ink-soft); font-style: italic; }
.doorway__cta { margin-top: 2rem; }
.doorway__content { margin-top: 2.5rem; text-align: left; }

/* Niitty Griitty doorway — its own darker, louder identity */
.doorway--niitty { background: var(--near-black); color: var(--cream); }
.doorway--niitty .doorway__eyebrow { color: rgba(244,238,226,0.6); }
.doorway__lockup--niitty { gap: 0; }
.doorway__lockup-stack {
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.82;
    font-size: clamp(3rem, 2rem + 9vw, 6.5rem);
    color: var(--cream);
}
.doorway__lockup-stack--accent {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 500;
    text-transform: none;
    color: #E4534A;
    margin-left: 0.4em;
}
.doorway--niitty .doorway__rule { background: #E4534A; }
.doorway--niitty .doorway__lede { color: rgba(244,238,226,0.8); }

/* ----------------------------------------------------------------------------
   11. Error
   ---------------------------------------------------------------------------- */
.error-page { display: flex; align-items: center; min-height: 60vh; }
.error-page__inner { max-width: 34rem; margin: 0 auto; padding: 4rem 1.5rem; text-align: center; }
.error-page__title { font-size: clamp(1.8rem, 1.4rem + 3vw, 2.75rem); }
.error-page__message { color: var(--ink-soft); margin-bottom: 2rem; }

/* ----------------------------------------------------------------------------
   12. Site footer
   ---------------------------------------------------------------------------- */
.site-footer { background: var(--near-black); color: var(--cream); margin-top: 4rem; }
.site-footer__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(3rem, 2rem + 5vw, 4.5rem) 1.5rem;
    text-align: center;
}
.site-footer__mark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--cream);
    text-decoration: none;
}
.site-footer__mark img { width: 2.9rem; height: auto; }
.site-footer__name {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 1rem;
    font-weight: 700;
}
.site-footer__signoff {
    font-family: var(--font-body);
    font-style: italic;
    color: rgba(244,238,226,0.75);
    margin: 0.25rem 0 0;
}
.site-footer__subscribe { display: flex; gap: 0.5rem; max-width: 26rem; margin: 2rem auto 0; flex-wrap: wrap; justify-content: center; }
.site-footer__subscribe input {
    flex: 1; min-width: 12rem; padding: 0.75rem 1rem; border: 0; border-radius: var(--radius);
    font: inherit; background: var(--cream); color: var(--ink);
}
.site-footer__subscribe button {
    font-family: var(--font-head); font-weight: 700; color: var(--cream); background: var(--amber);
    border: 0; border-radius: var(--radius); padding: 0 1.3rem; cursor: pointer;
}
.site-footer__message { display: none; width: 100%; font-family: var(--font-mono); font-size: 0.76rem; margin-top: 0.5rem; }
.site-footer__social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}
.site-footer__social a {
    color: rgba(244, 238, 226, 0.75);
    transition: color 0.15s ease, transform 0.15s ease;
}
.site-footer__social a:hover { color: var(--cream); transform: translateY(-2px); }
.site-footer__nav ul {
    list-style: none; padding: 0; margin: 2rem 0 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
}
.site-footer__nav a {
    font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em;
    font-size: 0.72rem; color: rgba(244,238,226,0.8); text-decoration: none;
}
.site-footer__nav a:hover { color: var(--cream); }
.site-footer__legal {
    margin: 2rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: rgba(244,238,226,0.5);
}
.site-footer__legal a { color: inherit; }

/* ----------------------------------------------------------------------------
   13. Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 720px) {
    .issue-card,
    .issue-card--has-image {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .issue-card__meta { display: flex; gap: 0.5rem; }
    .issue-card__dot { display: inline; }
    .issue-card__image { order: -1; }
    .issue-card__image img { aspect-ratio: 16 / 9; }
    .home-hero__form,
    .post-cta__form { flex-direction: column; }
    .home-hero__form button,
    .post-cta__form button { padding: 0.85rem; }

    .site-nav { color: inherit; }
    .site-header .site-nav { color: var(--ink); }
    .site-header--home .site-nav { color: var(--cream); }
    .site-nav__toggle { display: block; }
    .site-nav__menu {
        display: none;
        flex-direction: column;
        gap: 0.9rem;
        margin-top: 1rem;
    }
    .site-nav__menu--open { display: flex; }
    .site-nav__item--cta { margin-top: 0.25rem; }
}

@media (max-width: 480px) {
    body { font-size: 1.0625rem; }
    .site-header__inner { padding: 1.25rem 1rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
