/* ======================================================
   GGA.ie — Main Stylesheet
   An independent LGBTQ+ GAA community hub
   Palette: GAA emerald + warm cream + rainbow accent
   ====================================================== */

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

:root {
    --emerald: #1a5d3b;
    --emerald-dark: #0f3e26;
    --emerald-mid: #2e7d4f;
    --cream: #faf7f0;
    --cream-alt: #f2eadf;
    --ink: #161616;
    --ink-soft: #2a2a2a;
    --text: #33352f;
    --text-soft: #6b6d67;
    --border: #e4dccb;
    --border-dark: #c9bfa7;
    --white: #ffffff;
    --sunrise: #e85a2a;
    --gold: #c08e1a;
    --pride-red:    #e40303;
    --pride-orange: #ff8c00;
    --pride-yellow: #ffcf00;
    --pride-green:  #008026;
    --pride-blue:   #0047a0;
    --pride-violet: #732982;
    --shadow-sm: 0 1px 3px rgba(15,62,38,0.08);
    --shadow-md: 0 6px 18px rgba(15,62,38,0.09);
    --shadow-lg: 0 16px 40px rgba(15,62,38,0.14);
    --radius: 10px;
    --radius-lg: 18px;
    --maxw: 1180px;
    --maxw-read: 740px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--emerald);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
a:hover { color: var(--emerald-dark); border-bottom-color: var(--emerald-mid); }

img, svg { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}
.container.narrow { max-width: var(--maxw-read); }

/* Pride rainbow strip — subtle, used as a thin accent line */
.rainbow-strip {
    height: 4px;
    background: linear-gradient(90deg,
        var(--pride-red) 0 16.66%,
        var(--pride-orange) 16.66% 33.33%,
        var(--pride-yellow) 33.33% 50%,
        var(--pride-green) 50% 66.66%,
        var(--pride-blue) 66.66% 83.33%,
        var(--pride-violet) 83.33% 100%);
}
.rainbow-underline {
    background: linear-gradient(90deg,
        var(--pride-red),
        var(--pride-orange),
        var(--pride-yellow),
        var(--pride-green),
        var(--pride-blue),
        var(--pride-violet));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 4px;
    padding-bottom: 2px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: inherit;
    color: var(--ink);
    line-height: 1.22;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 700; margin-bottom: .7rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
h4 { font-size: 1.05rem; font-weight: 600; }

p  { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .97rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    line-height: 1;
    letter-spacing: .01em;
}
.btn-primary {
    background: var(--emerald);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--emerald-dark); color:#fff; transform: translateY(-1px); box-shadow: var(--shadow-md); border-bottom-color: transparent; }
.btn-ghost {
    background: transparent;
    color: var(--emerald);
    border-color: var(--emerald);
}
.btn-ghost:hover { background: var(--emerald); color:#fff; border-bottom-color: transparent; }
.btn-large { padding: 18px 32px; font-size: 1.05rem; }

/* Nav */
.navbar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.2);
}
.nav-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    border-bottom: 0;
}
.logo:hover { color: var(--emerald); border-bottom: 0; }
.logo-icon {
    width: 36px; height: 36px;
    color: var(--emerald);
    flex: 0 0 auto;
}
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .95rem;
    border-bottom: 0;
}
.nav-menu a:hover { background: var(--cream-alt); color: var(--emerald-dark); }
.nav-cta {
    background: var(--emerald);
    color: #fff !important;
}
.nav-cta:hover { background: var(--emerald-dark); color: #fff !important; }
.menu-toggle { display: none; background: transparent; border: 0; width: 34px; height: 34px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px auto; width: 22px; transition: transform .2s ease; }

@media (max-width: 820px) {
    .menu-toggle { display: inline-block; }
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
                background: var(--cream); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
                padding: 10px 14px 20px; display: none; }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 10px; border-radius: 8px; }
}

/* Hero */
.hero {
    padding: 80px 22px 72px;
    background:
        radial-gradient(ellipse at 85% -10%, rgba(46,125,79,0.14), transparent 60%),
        radial-gradient(ellipse at 10% 120%, rgba(192,142,26,0.12), transparent 60%),
        var(--cream);
    border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { color: var(--ink); }
.hero-subtitle { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-soft); max-width: 660px; margin: 0 auto 1.8rem; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
    margin-top: 1.8rem;
    font-size: .9rem;
    color: var(--text-soft);
    letter-spacing: .02em;
}

/* Sections */
section { padding: 64px 0; }
.section-intro { color: var(--text-soft); max-width: 640px; margin: 0 auto 2.2rem; text-align: center; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .5rem; }

/* Alt backgrounds */
.bg-cream-alt { background: var(--cream-alt); }
.bg-emerald {
    background: var(--emerald-dark);
    color: #e9ead1;
}
.bg-emerald h2, .bg-emerald h3 { color: #fff; }
.bg-emerald p { color: #d7dccd; }
.bg-emerald a { color: #fff; border-bottom-color: rgba(255,255,255,0.45); }
.bg-emerald a:hover { color: #fff; border-bottom-color: #fff; }

/* Pillars grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.pillar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-icon { width: 44px; height: 44px; color: var(--emerald); margin-bottom: 6px; }
.pillar-card h3 { color: var(--ink); }
.pillar-card p { color: var(--text); font-size: .97rem; }
.pillar-card .link-arrow {
    margin-top: auto;
    padding-top: 10px;
    font-weight: 600;
    color: var(--emerald);
    border-bottom: 0;
}
.pillar-card .link-arrow:hover { color: var(--emerald-dark); }

/* Club / resource cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 6px;
}
.card-tag {
    align-self: flex-start;
    background: var(--cream-alt);
    color: var(--emerald-dark);
    border: 1px solid var(--border-dark);
    font-size: .78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.card h3 { color: var(--ink); }
.card .card-meta { color: var(--text-soft); font-size: .88rem; }
.card p { font-size: .96rem; }
.card .link-arrow {
    margin-top: auto;
    padding-top: 10px;
    font-weight: 600;
    border-bottom: 0;
}
.link-arrow:hover { border-bottom: 0; }

/* Fiction cards */
.fiction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.fiction-card {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--emerald);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 6px;
}
.fiction-card .card-meta { color: var(--text-soft); font-size: .85rem; }
.fiction-card h3 { color: var(--ink); }
.fiction-card .link-arrow { margin-top: auto; padding-top: 10px; font-weight: 600; }
.fiction-card-new { border-left-color: var(--gold); position: relative; }
.fiction-card-new::before { content: "NEW"; position: absolute; right: 16px; top: 14px; font-size: .68rem; letter-spacing: .12em; font-weight: 700; color: var(--emerald-dark); background: #eef5e9; border-radius: 999px; padding: 4px 8px; }

.community-callout { background: linear-gradient(135deg, #eef5e9 0%, #fff8e7 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.community-callout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; align-items: center; }
.notebook-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px; position: relative; }
.notebook-card h3 { margin-top: 8px; }
.notebook-card li { margin-bottom: 8px; }
.notebook-mark { color: var(--gold); font-family: Georgia, serif; font-size: 5rem; line-height: .6; }
.eyebrow { color: var(--emerald); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.prompt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 36px; }
.prompt-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.prompt-card > span { color: var(--emerald); font-weight: 700; font-size: .78rem; letter-spacing: .1em; }
.prompt-card h2 { font-size: 1.15rem; margin: 8px 0; }
.prompt-card p { font-size: .92rem; margin-bottom: 0; }
.story-invitation { padding-top: 12px; }
.submission-form { max-width: 760px; }
.form-field label span, .field-help { color: var(--text-soft); font-weight: 400; font-size: .82rem; }
.field-help { margin: 6px 0 18px; }
.submission-checks { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 18px 0 22px; }
.submission-checks legend { color: var(--ink); font-weight: 700; padding: 0 8px; }
.submission-checks label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 10px 0; color: var(--ink-soft); font-size: .92rem; }
.submission-checks input { margin-top: 4px; }
.story-next { background: #eef5e9; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin: 38px 0 24px; }
.story-next h2 { margin-top: 4px; }
.review-stamp, .source-note { color: var(--text-soft); font-size: .86rem; }
.review-stamp { background: #eef5e9; border: 1px solid var(--border); border-radius: 9px; padding: 12px 15px; margin-bottom: 28px; }
.directory-entry { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin: 22px 0; box-shadow: var(--shadow-sm); }
.principle-grid, .comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.principle-grid section, .comparison-grid section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.principle-grid h3, .comparison-grid h3 { margin-top: 0; }
.mailbag-feature { background: linear-gradient(135deg, var(--emerald-dark), var(--emerald)); color: #fff; border-radius: var(--radius-lg); padding: 34px; margin: 0 0 38px; box-shadow: var(--shadow-md); }
.mailbag-feature .eyebrow { color: #dce8ca; }
.mailbag-feature h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.mailbag-feature p { color: #eef4e7; }
.story-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 22px 0 28px; }
.story-filter, .story-filter-link { appearance: none; background: #fff; border: 1px solid var(--border-dark); border-radius: 999px; color: var(--ink-soft); cursor: pointer; font: inherit; font-size: .86rem; padding: 8px 14px; text-decoration: none; }
.story-filter:hover, .story-filter.active, .story-filter-link:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.faq-list summary { color: var(--ink); cursor: pointer; font-weight: 700; }
.faq-list details p { margin: 12px 0 0; }
.prompt-context { background: #eef5e9; border-left: 4px solid var(--emerald); border-radius: 7px; color: var(--ink-soft); padding: 10px 14px; }
[hidden] { display: none !important; }

/* Article body (fiction pages, blog) */
.article-body {
    max-width: var(--maxw-read);
    margin: 0 auto;
    padding: 0 22px;
}
.article-body h2 { margin-top: 2.2rem; }
.article-body h3 { margin-top: 1.8rem; }
.article-body p  { font-size: 1.06rem; color: var(--ink-soft); }
.article-body ul, .article-body ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
    color: var(--ink-soft);
}
.article-body li { margin-bottom: .4rem; }
.article-body blockquote {
    border-left: 4px solid var(--emerald);
    padding: 6px 18px;
    margin: 18px 0;
    color: var(--text);
    background: var(--cream-alt);
    border-radius: 0 10px 10px 0;
    font-style: italic;
}
.article-meta {
    color: var(--text-soft);
    font-size: .9rem;
    margin-bottom: 12px;
}
.article-tag-row {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px;
}
.tag {
    background: var(--cream-alt);
    color: var(--emerald-dark);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
}

/* Disclaimer banner */
.fiction-notice, .notice {
    background: #fff8e7;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--ink-soft);
    font-size: .95rem;
    margin: 14px 0 22px;
}
.notice.danger {
    background: #fff0ec;
    border-left-color: var(--sunrise);
}
.notice strong { color: var(--ink); }

/* Resource / support block */
.support-block {
    background: var(--emerald-dark);
    color: #e4e9d9;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 20px 0;
}
.support-block h3 { color: #fff; }
.support-block a { color: #fff; border-bottom-color: rgba(255,255,255,.4); }

/* Enquiry form */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    max-width: 620px;
    margin: 0 auto;
}
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 14px; }
.form-field label { display: block; font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 5px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: 9px;
    border: 1.5px solid var(--border-dark);
    background: var(--cream);
    font: inherit;
    color: var(--ink);
    transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--emerald);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-honeypot { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footnote { font-size: .82rem; color: var(--text-soft); margin-top: 10px; }

/* News / blog index */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: start;
}
.news-row .news-date { color: var(--text-soft); font-size: .9rem; white-space: nowrap; }
.news-row h3 { margin-bottom: .35rem; }
.news-row p { font-size: .96rem; margin-bottom: 0; }
@media (max-width: 620px) { .news-row { grid-template-columns: 1fr; } }

/* Pride quote block — small wink of colour */
.quote-strip {
    border-left: 4px solid var(--pride-green);
    padding: 8px 14px;
    font-style: italic;
    color: var(--ink-soft);
    background: #fff;
    border-radius: 0 10px 10px 0;
}

/* Footer */
.footer {
    background: var(--emerald-dark);
    color: #cfd5c1;
    padding: 48px 22px 36px;
    font-size: .92rem;
    margin-top: 40px;
}
.footer a { color: #fff; border-bottom-color: rgba(255,255,255,.3); }
.footer a:hover { border-bottom-color: #fff; }
.footer-grid {
    max-width: var(--maxw);
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h4 { color: #fff; margin-bottom: .35rem; }
.footer-brand p  { color: #b9c4a6; font-size: .92rem; }
.footer-col h5 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-copy {
    max-width: var(--maxw);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    color: #9aa68a;
    font-size: .86rem;
}

/* Breadcrumbs */
.crumbs { color: var(--text-soft); font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: var(--emerald); }
.crumbs span { color: var(--text-soft); }

/* Utility */
.page-title { padding: 48px 0 28px; text-align: center; }
.page-title h1 { margin-bottom: .5rem; }
.page-title p { color: var(--text-soft); max-width: 640px; margin: 0 auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.link-arrow::after { content: " →"; }

@media (max-width: 720px) {
    section { padding: 48px 0; }
    .hero { padding: 60px 22px 52px; }
    .community-callout-grid, .prompt-grid, .principle-grid, .comparison-grid { grid-template-columns: 1fr; }
    .story-filters { justify-content: flex-start; }
}

/* ======================================================
   2026 queer community editorial refresh
   Warm paper, sporting colour and independent-zine energy.
   ====================================================== */

:root {
    --emerald: #087451;
    --emerald-dark: #103c32;
    --emerald-mid: #15926a;
    --cream: #fff8ef;
    --cream-alt: #f4e9dc;
    --ink: #251f24;
    --ink-soft: #40363e;
    --text: #4b4147;
    --text-soft: #776c71;
    --border: #d9cbbd;
    --border-dark: #a8988c;
    --sunrise: #f06a48;
    --gold: #f0b92e;
    --magenta: #d93682;
    --violet: #7046a3;
    --sky: #77cbd4;
    --shadow-sm: 3px 3px 0 rgba(37, 31, 36, .12);
    --shadow-md: 6px 6px 0 rgba(37, 31, 36, .13);
    --shadow-lg: 9px 9px 0 rgba(37, 31, 36, .14);
    --radius: 6px;
    --radius-lg: 10px;
    --maxw-read: 760px;
}

body {
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream);
    background-image: radial-gradient(rgba(37, 31, 36, .055) .65px, transparent .65px);
    background-size: 8px 8px;
}

a { text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(23, 100, 71, .24);
    outline-offset: 3px;
}

h1, h2, h3, h4, h5 {
    letter-spacing: -.02em;
}
h1, h2 {
    font-family: Georgia, 'Times New Roman', serif;
}
h1 { font-weight: 700; font-size: clamp(2.55rem, 5.7vw, 5rem); line-height: .98; }
h2 { font-weight: 700; font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.05; }
h3 { font-weight: 600; }

.rainbow-strip { height: 3px; }

.navbar {
    background: rgba(255, 248, 239, .96);
    border-bottom: 2px solid var(--ink);
    backdrop-filter: blur(10px);
}
.nav-container { padding-top: 12px; padding-bottom: 12px; }
.logo { letter-spacing: -.02em; }
.logo-icon { width: 32px; height: 32px; }
.nav-menu { gap: 2px; }
.nav-menu a {
    border-radius: 9px;
    padding: 8px 12px;
    color: var(--ink-soft);
}
.nav-menu a:hover { background: #f7d7e5; color: var(--ink); }
.nav-cta {
    background: var(--magenta) !important;
    border: 1px solid var(--ink) !important;
    box-shadow: 3px 3px 0 var(--ink);
    padding-inline: 16px !important;
}
.nav-cta:hover { background: var(--violet) !important; }

.btn {
    padding: 13px 21px;
    border-width: 2px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: -.005em;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary {
    background: var(--magenta);
    border-color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:hover {
    background: var(--violet);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
}
.btn-ghost {
    color: var(--ink);
    border-color: var(--ink);
    background: #fffdf9;
    box-shadow: 4px 4px 0 var(--gold);
}
.btn-ghost:hover {
    background: #fff0a8;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-large { padding: 15px 24px; font-size: 1rem; }

.hero {
    padding: clamp(76px, 10vw, 124px) 22px clamp(68px, 9vw, 108px);
    background: #f8d9e6;
    border-bottom: 2px solid var(--ink);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "CLUBHOUSE · STORIES · SUPPORT · PRIDE";
    position: absolute;
    right: -42px;
    bottom: 34px;
    padding: 8px 54px;
    background: var(--gold);
    border-block: 2px solid var(--ink);
    color: var(--ink);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    transform: rotate(-4deg);
}
.hero-content { max-width: 980px; margin-left: max(0px, calc((100vw - var(--maxw)) / 2)); text-align: left; }
.hero h1 { max-width: 860px; margin-inline: 0; }
.hero-subtitle {
    max-width: 700px;
    margin-top: 1.3rem;
    margin-left: 0;
    margin-bottom: 2rem;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.65;
}
.hero-ctas { gap: 14px; justify-content: flex-start; }
.hero-trust { margin-top: 2rem; letter-spacing: 0; }

section { padding: 78px 0; }
.section-head { max-width: 760px; margin: 0 0 2.25rem; text-align: left; }
.section-head.text-center { margin-inline: auto; text-align: center; }
.section-intro { max-width: 700px; margin: 0 0 2.35rem; text-align: left; }
.text-center .section-intro,
.section-intro.text-center { margin-inline: auto; text-align: center; }
.bg-cream-alt { background: #f4e9dc; border-block: 1px solid var(--border-dark); }
.bg-emerald { background: var(--emerald-dark); color: #eef0ec; }
.bg-emerald p { color: #cfd5d0; }

.pillars-grid,
.cards-grid,
.fiction-grid { gap: 16px; }
.pillar-card,
.card,
.fiction-card,
.notebook-card,
.prompt-card,
.directory-entry,
.news-row,
.form-card,
.faq-list details {
    background: #fffdf9;
    border: 1.5px solid var(--ink);
    box-shadow: var(--shadow-sm);
}
.pillar-card,
.card,
.fiction-card,
.notebook-card,
.prompt-card {
    border-radius: var(--radius-lg);
}
.pillar-card { padding: 28px; }
.pillar-card:hover,
.card:hover,
.fiction-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-md);
    border-color: var(--ink);
}
.pillar-icon { width: 38px; height: 38px; color: var(--emerald); }
.pillars-grid > :nth-child(2),
.cards-grid > :nth-child(3n + 2) { box-shadow: 4px 4px 0 rgba(217, 54, 130, .34); }
.pillars-grid > :nth-child(3),
.cards-grid > :nth-child(3n) { box-shadow: 4px 4px 0 rgba(112, 70, 163, .28); }
.pillars-grid > :nth-child(4) { box-shadow: 4px 4px 0 rgba(240, 185, 46, .55); }
.fiction-card { overflow: hidden; border-left-width: 3px; }
.fiction-grid > :nth-child(4n + 1) { border-left-color: var(--magenta); }
.fiction-grid > :nth-child(4n + 2) { border-left-color: var(--violet); }
.fiction-grid > :nth-child(4n + 3) { border-left-color: var(--emerald); }
.fiction-grid > :nth-child(4n) { border-left-color: var(--sunrise); }
.fiction-card-new::before {
    background: var(--sunrise);
    letter-spacing: .04em;
}

.tag,
.card-tag,
.eyebrow,
.review-stamp {
    letter-spacing: .035em;
}
.story-filter {
    border-radius: 999px;
    border-color: var(--ink);
    background: #fffdf9;
    color: var(--ink-soft);
}
.story-filter:hover,
.story-filter.active {
    background: var(--violet);
    border-color: var(--ink);
    color: #fff;
}

.mailbag-feature,
.community-callout,
.story-invitation {
    border-radius: var(--radius-lg);
    box-shadow: none;
}
.mailbag-feature { background: #1d2925; }
.notice,
.fiction-notice {
    border-radius: 12px;
    background: #fff0a8;
    border-color: var(--ink);
}

.page-title {
    padding: 72px 0 38px;
    text-align: left;
    border-bottom: 2px solid var(--ink);
    background: #cdebe4;
}
.page-title h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.page-title p { max-width: 700px; margin: 0; font-size: 1.08rem; }
.crumbs { margin-bottom: 20px; }

.article-body {
    font-size: 1.04rem;
    line-height: 1.78;
}
.article-body h2 { margin-top: 2.8rem; }
.article-body h3 { margin-top: 2.15rem; }
.article-meta { border-color: var(--border); }
.quote-strip {
    background: #f8d9e6;
    border-left-color: var(--magenta);
}

.form-card { border-radius: var(--radius-lg); }
.form-field input,
.form-field select,
.form-field textarea {
    border-radius: 10px;
    border: 1.5px solid var(--ink);
    background: #fffdf9;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(23, 100, 71, .12);
}

.footer {
    margin-top: 56px;
    padding-top: 58px;
    background: #2b2029;
    color: #cacdc7;
}
.footer-brand p { color: #aeb3ab; }
.footer-copy { color: #969b94; }

@media (max-width: 820px) {
    .nav-menu {
        background: rgba(255, 248, 239, .98);
        border-bottom: 2px solid var(--ink);
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 720px) {
    section { padding: 58px 0; }
    .hero { padding: 70px 22px 64px; }
    .hero h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
    .hero::after { display: none; }
    .page-title { padding: 52px 0 28px; }
    .page-title h1 { font-size: clamp(2.15rem, 10.5vw, 3rem); }
    .pillar-card, .card, .fiction-card, .notebook-card, .prompt-card { padding: 23px; }
}

/* Private support tools and printable ally resources */
.privacy-banner {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #cdebe4;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 var(--emerald);
}
.private-tool { padding: clamp(22px, 4vw, 38px); }
.private-tool .form-field { margin-bottom: 20px; }
.message-output { min-height: 390px !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9rem; }
.tool-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.text-button { border: 0; background: transparent; color: var(--text-soft); text-decoration: underline; cursor: pointer; padding: 10px; }
.pathway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pathway-grid label { display: block; position: relative; cursor: pointer; }
.pathway-grid input { position: absolute; opacity: 0; }
.pathway-grid span {
    display: flex;
    min-height: 126px;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    background: #fffdf9;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 4px 4px 0 var(--gold);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.pathway-grid label:nth-child(2n) span { box-shadow: 4px 4px 0 rgba(217,54,130,.45); }
.pathway-grid small { display: block; margin-top: 5px; color: var(--text-soft); }
.pathway-grid input:focus-visible + span { outline: 3px solid rgba(23,100,71,.28); outline-offset: 3px; }
.pathway-grid input:checked + span { background: #f8d9e6; transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.pathway-output { margin-top: 28px; padding: clamp(24px, 5vw, 42px); background: #fff0a8; border: 2px solid var(--ink); box-shadow: var(--shadow-md); }
.support-directory { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 34px; }
.support-block { padding: 28px; background: #fffdf9; border: 1.5px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.support-block.urgent { background: #fff0a8; }
.support-block h2 { font-size: 1.75rem; }
.ally-pack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ally-card { min-height: 310px; padding: 30px; background: #fffdf9; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--magenta); break-inside: avoid; }
.ally-card:nth-child(2n) { box-shadow: 6px 6px 0 var(--violet); }
.ally-card:nth-child(3n) { box-shadow: 6px 6px 0 var(--gold); }
.ally-card h2 { font-size: 2rem; }
.card-number { font-weight: 800; letter-spacing: .12em; color: var(--magenta); }
.ally-card-links { background: #cdebe4; }
.support-dock {
    position: fixed;
    z-index: 45;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    background: #fff0a8;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    box-shadow: 4px 4px 0 var(--ink);
    font-size: .82rem;
}
.support-dock a { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--ink); }

@media (max-width: 720px) {
    .pathway-grid, .support-directory, .ally-pack { grid-template-columns: 1fr; }
    .pathway-grid span { min-height: 108px; }
    .ally-card { min-height: 0; }
    .support-dock { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
}

@media print {
    .navbar, .rainbow-strip, .footer, .screen-only, .support-dock, .tool-actions { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .page-title { padding: 20px 0; background: #fff; }
    section { padding: 20px 0; }
    .ally-pack { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ally-card { min-height: 0; padding: 18px; box-shadow: none; }
    .ally-card h2 { font-size: 19pt; }
    .private-tool { border: 0; box-shadow: none; padding: 0; }
    .private-tool input, .private-tool textarea { border: 1px solid #555; min-height: 60px; }
}
