:root {
    --ink: #1d1712;
    --ink-soft: #5c5148;
    --paper: #fff4e8;
    --card: #fffdf9;
    --line: rgba(29, 23, 18, 0.12);
    --paprika: #e23b2f;
    --yolk: #f0a202;
    --basil: #1e8a55;
    --sea: #1d6fe8;
    --berry: #d63d78;
    --plum: #2a1638;
    --shadow: 0 22px 50px rgba(70, 28, 12, 0.12);
    --display: "Fraunces", Georgia, serif;
    --body: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 0% 0%, #ffd9b8 0 18%, transparent 36%),
        radial-gradient(circle at 100% 0%, #ffd0dc 0 16%, transparent 34%),
        radial-gradient(circle at 80% 100%, #d8f3e4 0 18%, transparent 40%),
        var(--paper);
    font-family: var(--body);
    font-size: 1.05rem;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, .brand-name, .story-title, .hero-title {
    font-family: var(--display);
    letter-spacing: -0.03em;
    line-height: 1.08;
}
a { color: inherit; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.skip {
    position: absolute;
    left: 12px;
    top: 0;
    transform: translateY(-150%);
    background: var(--ink);
    color: white;
    padding: 8px 12px;
    border-radius: 999px;
    z-index: 40;
}
.skip:focus { position: fixed; top: 12px; transform: none; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 244, 232, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--paprika), var(--yolk), var(--basil), var(--sea), var(--berry)) 1;
}
.header-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 76px;
}
.brand, .brand-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
}
.brand-name, .brand-footer span:last-child {
    font-family: var(--display);
    font-size: 1.45rem;
}
.mark { color: var(--paprika); display: inline-flex; }
.brand-footer .mark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--yolk);
}
.nav-toggle {
    margin-left: auto;
    border: 0;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
}
.site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fffaf4;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
}
.site-nav.is-open { display: grid; gap: 8px; }
.nav-link {
    text-decoration: none;
    font-weight: 650;
    padding: 8px 2px;
}
.nav-link.is-active { color: var(--paprika); }
.header-search { display: flex; gap: 8px; }
.header-search input, .search-form input, .contact-form input, .contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    background: white;
    border-radius: 14px;
    padding: 10px 12px;
}
.header-search button, .search-form button, .contact-form button, .button {
    border: 0;
    background: var(--paprika);
    color: white;
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.button { box-shadow: var(--shadow); }

.hero-wrap { padding: 28px 0 8px; }
.hero {
    display: grid;
    gap: 22px;
    align-items: center;
}
.hero-media, .story-media {
    display: block;
    border-radius: 28px;
    overflow: hidden;
    background: #f3d7c2;
    box-shadow: var(--shadow);
}
.hero-media img, .story-media img, .story-fallback {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.story-fallback {
    display: block;
    background:
        radial-gradient(circle at 20% 20%, #fff 0 8%, transparent 9%),
        linear-gradient(145deg, var(--yolk), var(--paprika) 55%, var(--berry));
}
.hero-copy h1, .page-head h1, .story-head h1 {
    margin: 10px 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
}
.hero-title, .story-title, .lane-title { text-decoration: none; }
.kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--berry);
}
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.meta-line { color: var(--ink-soft); font-size: 0.95rem; }
.chip {
    display: inline-flex;
    margin: 8px 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1.5px var(--line);
}
.story-card:nth-child(4n + 1) .chip { background: #ffe8dc; }
.story-card:nth-child(4n + 2) .chip { background: #fff1c9; }
.story-card:nth-child(4n + 3) .chip { background: #e5f7ee; }
.story-card:nth-child(4n + 4) .chip { background: #e7f0ff; }

.band { padding: 28px 0 10px; }
.band-head, .lane-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.band-head h2, .lanes h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.text-link { font-weight: 700; }
.story-grid {
    display: grid;
    gap: 18px;
}
.story-card {
    background: var(--card);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.story-copy { padding: 14px 16px 18px; }
.story-copy h3 { margin: 4px 0 8px; font-size: 1.35rem; }
.story-copy p { margin: 0; color: var(--ink-soft); }

.lanes { padding: 10px 0 40px; }
.lane-grid { display: grid; gap: 16px; }
.lane {
    background: white;
    border-radius: 24px;
    padding: 8px 18px 14px;
    box-shadow: var(--shadow);
}
.lane ul { list-style: none; margin: 0; padding: 0; }
.lane li { padding: 10px 0; border-top: 1px solid var(--line); }
.lane a { text-decoration: none; font-weight: 650; }
.lane-title { font-size: 1.5rem; }

.story-head { padding-top: 28px; max-width: 860px; }
.story-sheet { max-width: 820px; }
.story-section { margin: 28px 0 36px; }
.story-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.story-section figure { margin: 0 0 16px; }
.story-section img { width: 100%; border-radius: 24px; }
.story-section figcaption { color: var(--ink-soft); font-size: 0.85rem; margin-top: 6px; }
.prose p, .prose li { font-size: 1.08rem; }
.prose a { color: #9d241c; font-weight: 650; }
.note {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--ink-soft);
}
.related { padding-bottom: 48px; }
.page-head { padding-top: 32px; max-width: 820px; }
.legal h2 { margin-top: 1.4em; }
.search-form, .contact-form { display: grid; gap: 12px; max-width: 560px; }
.contact-form label { display: grid; gap: 6px; font-weight: 650; }
.honey { position: absolute; left: -9999px; }
.form-note, .form-error {
    background: white;
    border-radius: 16px;
    padding: 12px 14px;
}
.form-error { box-shadow: inset 4px 0 0 var(--paprika); }
.empty { color: var(--ink-soft); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 36px; }
.pager-link {
    text-decoration: none;
    background: white;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
}
.pager-link.is-current { background: var(--ink); color: white; }

.site-footer {
    background: var(--plum);
    color: #fff6ec;
    padding: 36px 0 18px;
    margin-top: 20px;
}
.footer-grid { display: grid; gap: 22px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; color: #fff6ec; }
.footer-base { border-top: 1px solid rgba(255, 246, 236, 0.16); margin-top: 18px; padding-top: 12px; color: rgba(255, 246, 236, 0.75); }

@media (min-width: 860px) {
    .nav-toggle { display: none; }
    .site-nav {
        display: flex;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        margin-left: auto;
        align-items: center;
        gap: 14px;
    }
    .header-search input { width: 180px; }
    .hero { grid-template-columns: 1.15fr 0.85fr; gap: 36px; }
    .story-grid { grid-template-columns: repeat(2, 1fr); }
    .lane-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 0.7fr 0.8fr; }
}
@media (min-width: 1100px) {
    .story-grid { grid-template-columns: repeat(4, 1fr); }
}
