/* Better With A Sweater - 2026 site styles */
:root {
    --navy: #072366;
    --navy-dark: #04163f;
    --pink: #ec9ab6;
    --pink-soft: #fbe3ec;
    --purple: #6b2491;
    --green: #4fb83a;
    --cream: #fbf7f1;
    --ink: #1d2433;
    --muted: #5b6475;
    --line: #e6e1d8;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 6px 24px rgba(7, 35, 102, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); }
a:hover { color: var(--purple); }

h1, h2, h3, h4 {
    font-family: "Fredoka", "Nunito", sans-serif;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { display: block; width: 150px; height: auto; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; font-weight: 700; color: var(--navy); padding: 8px 12px; border: 2px solid var(--navy); border-radius: 999px; font-size: 0.9rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.site-nav a { display: block; text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a.active { background: var(--pink-soft); color: var(--navy); }
.site-nav a.nav-cta { background: var(--navy); color: var(--white); }
.site-nav a.nav-cta:hover { background: var(--purple); color: var(--white); }

@media (max-width: 860px) {
    .nav-toggle-label { display: inline-block; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .nav-toggle:checked ~ .site-nav { display: block; }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid var(--navy);
    transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: #dfe6f7; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-pink { background: var(--pink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 0.8rem; color: var(--purple); margin-bottom: 8px; }
.section-navy .eyebrow { color: var(--pink); }
.lead { font-size: 1.2rem; color: var(--muted); }
.section-navy .lead { color: #c9d3ee; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 360px; filter: drop-shadow(0 12px 24px rgba(7, 35, 102, 0.18)); }
@media (max-width: 760px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-art { order: -1; }
    .hero-art img { max-width: 220px; }
}

/* Two-column text + photo */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .hero-split { grid-template-columns: 1fr; } }
.photo-card { margin: 0; }
.photo-card img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.photo-card figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.card img.card-icon { width: 96px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 800; text-decoration: none; }
.card .card-link::after { content: " \2192"; }

/* Stats */
.stat { text-align: center; padding: 20px 12px; }
.stat-number { font-family: "Fredoka", sans-serif; font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 600; color: var(--white); line-height: 1; }
.stat-label { margin-top: 8px; color: #c9d3ee; font-weight: 700; }
.section-white .stat-number, .section-pink .stat-number { color: var(--navy); }
.section-white .stat-label, .section-pink .stat-label { color: var(--muted); }

/* Merch */
.merch-art { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.merch-art img { width: 140px; height: 140px; object-fit: contain; }

/* Article pages */
.page-head { padding: 56px 0 32px; }
.article { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 40px; box-shadow: var(--shadow); margin-bottom: 72px; }
@media (max-width: 600px) { .article { padding: 24px 18px; } }
.article h2 { margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.3em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: 0.4em; }
.article figure { margin: 24px auto; text-align: center; }
.article figure img { border-radius: 12px; max-height: 460px; width: auto; }
.article figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.article blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 4px solid var(--pink); background: var(--cream); border-radius: 0 12px 12px 0; }
.article blockquote cite { display: block; font-style: normal; font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.nsfw { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; background: var(--pink-soft); color: var(--purple); padding: 1px 7px; border-radius: 999px; vertical-align: middle; }
.callout { background: var(--pink-soft); border-radius: var(--radius); padding: 24px 28px; margin: 28px 0; }
.callout h3 { margin-top: 0; }
.toc { background: var(--cream); border-radius: 12px; padding: 16px 22px; margin-bottom: 28px; }
.toc ul { margin: 0; }

/* Content warning box at the top of pages with real nudity */
.content-warning { border: 2px solid var(--purple); background: #f6eefb; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; }
.content-warning strong { display: block; font-family: "Fredoka", sans-serif; color: var(--purple); font-size: 1.1rem; margin-bottom: 4px; }
.content-warning p { margin: 0; font-size: 0.95rem; }

/* 18+ gate: media stays blurred until the viewer confirms */
.age-gate { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; margin: 24px auto; max-width: 560px; }
.age-gate .gated-media { display: block; width: 100%; filter: blur(28px); transform: scale(1.08); transition: filter 0.3s; }
.age-gate.revealed .gated-media { filter: none; transform: none; }
.age-gate .gate-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(4, 22, 63, 0.55); color: #fff; }
.age-gate.revealed .gate-overlay { display: none; }
.gate-overlay strong { font-family: "Fredoka", sans-serif; font-size: 1.3rem; }
.gate-overlay p { margin: 6px 0 14px; font-size: 0.95rem; color: #dfe6f7; }
.gate-overlay .btn { background: #fff; color: var(--navy); border-color: #fff; }

/* Articles */
.article-meta { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.short-answer { background: var(--navy); color: #dfe6f7; border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; }
.short-answer strong { display: block; font-family: "Fredoka", sans-serif; color: var(--pink); font-size: 1.1rem; margin-bottom: 4px; }
.short-answer p { margin: 0; }
.zacs-take { border-left: 5px solid var(--purple); background: #f6eefb; border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 28px 0; }
.zacs-take strong.take-label { display: block; font-family: "Fredoka", sans-serif; color: var(--purple); font-size: 1.1rem; margin-bottom: 6px; }
.zacs-take p:last-child { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
@media (max-width: 600px) { .stat-row { grid-template-columns: 1fr; } }
.stat-row div { background: var(--cream); border-radius: 12px; padding: 14px; text-align: center; }
.stat-row b { display: block; font-family: "Fredoka", sans-serif; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat-row span { font-size: 0.9rem; color: var(--muted); }
.sources { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 36px; padding-top: 16px; }
.sources ol { padding-left: 1.3em; }
.article-card h3 { margin-top: 0; }
.article-card .tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b8c3e0; padding: 48px 0 32px; font-size: 0.95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { width: 140px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 20px; font-size: 0.85rem; }
