:root {
    --paper: #f7f4ee;
    --paper-soft: #fffdf8;
    --ink: #0a0a0a;
    --ink-soft: #242424;
    --muted: #6d655b;
    --line: #151515;
    --line-soft: rgba(10, 10, 10, .14);
    --smoke: #ece6dc;
    --accent: #8f1111;
    --shadow: 0 18px 42px rgba(10, 10, 10, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(10, 10, 10, .035) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(180deg, var(--paper-soft), var(--paper));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, calc(100% - 32px));
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 100;
    transform: translateY(-160%);
    padding: 9px 12px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 2px;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 2px solid var(--ink);
    background: rgba(247, 244, 238, .92);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.brand-seal {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-size: .78rem;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 18px;
    color: var(--ink-soft);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.desktop-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
}

.desktop-nav a:hover,
.site-footer a:hover,
.content-panel a:hover,
.legal a:hover {
    color: var(--accent);
}

.mobile-menu {
    position: relative;
}

.mobile-menu summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 2px solid var(--ink);
    border-radius: 2px;
    background: var(--paper-soft);
    cursor: pointer;
    list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu summary span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
}

.mobile-menu nav {
    position: absolute;
    right: 0;
    top: 54px;
    width: min(280px, calc(100vw - 32px));
    padding: 8px;
    border: 2px solid var(--ink);
    background: var(--paper-soft);
    box-shadow: var(--shadow);
}

.mobile-menu nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 12px;
    color: var(--ink-soft);
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-menu nav a:hover {
    background: var(--ink);
    color: var(--paper);
}

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 44px 0 34px;
    border-bottom: 2px solid var(--ink);
}

.hero-grid,
.split,
.contact-grid,
.support-grid,
.footer-grid {
    display: grid;
    gap: 24px;
}

.hero-copy h1,
.page-hero h1,
.section h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 680px;
    font-size: clamp(2.65rem, 9vw, 5.6rem);
}

.page-hero h1 {
    font-size: clamp(2.15rem, 7vw, 3.8rem);
}

.section h2 {
    font-size: clamp(1.65rem, 5vw, 2.7rem);
}

.hero-copy p,
.page-hero p,
.section p {
    color: var(--muted);
    font-size: .98rem;
}

.hero-copy .lead {
    max-width: 590px;
    color: var(--ink);
    font-size: clamp(1.18rem, 3.8vw, 1.55rem);
    font-weight: 700;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.button-row,
.button-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.button-stack {
    align-content: start;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 2px solid var(--ink);
    border-radius: 2px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.button-primary {
    background: var(--ink);
    color: var(--paper);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 5px 5px 0 var(--line-soft);
}

.hero-panel {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 2px solid var(--ink);
    background:
        repeating-linear-gradient(90deg, rgba(10, 10, 10, .09) 0 1px, transparent 1px 12px),
        var(--paper-soft);
    box-shadow: 10px 10px 0 var(--ink);
}

.hero-panel span,
.hero-panel em {
    color: var(--muted);
    font-style: normal;
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.hero-panel strong {
    max-width: 320px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 5.8vw, 3.2rem);
    line-height: 1.04;
    font-weight: 700;
}

.section,
.page-hero {
    padding: 52px 0;
}

.page-hero {
    border-bottom: 2px solid var(--ink);
    background:
        linear-gradient(90deg, rgba(10, 10, 10, .04) 1px, transparent 1px) 0 0 / 20px 20px,
        var(--paper-soft);
}

.section-muted {
    background: var(--smoke);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 22px;
}

.collection-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.collection-card,
.feature-card,
.content-panel,
.newsletter-box {
    border: 2px solid var(--ink);
    background: var(--paper-soft);
    box-shadow: 6px 6px 0 rgba(10, 10, 10, .12);
}

.collection-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
}

.collection-card span,
.feature-card span {
    color: var(--accent);
    font-weight: 800;
}

.collection-card h3,
.feature-card h3,
.content-panel h2,
.site-footer h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0;
}

.collection-card p,
.content-panel p,
.legal p,
.site-footer p {
    color: var(--muted);
}

.feature-card {
    min-height: 108px;
    padding: 18px;
}

.feature-card span {
    display: block;
    width: 32px;
    height: 3px;
    margin-bottom: 22px;
    background: var(--ink);
}

.amazon-section {
    background: var(--ink);
    color: var(--paper);
}

.amazon-section p {
    color: #d9d1c5;
}

.amazon-section .section-kicker {
    color: #ffffff;
}

.amazon-section .button-primary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

.amazon-section .button-secondary {
    color: var(--paper);
    border-color: var(--paper);
}

.newsletter-box {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.newsletter form {
    display: grid;
    gap: 10px;
}

.newsletter input,
.newsletter button {
    min-height: 44px;
    width: 100%;
    border-radius: 2px;
    border: 2px solid var(--ink);
    padding: 10px 12px;
    font: inherit;
}

.newsletter input {
    background: var(--paper);
    color: var(--ink);
}

.newsletter button {
    background: transparent;
    color: var(--ink);
    font-weight: 800;
    text-transform: uppercase;
}

.content-panel,
.legal {
    padding: 22px;
}

.content-panel a,
.legal a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal h2 {
    margin-top: 28px;
    font-size: clamp(1.25rem, 4vw, 1.65rem);
}

.legal h2:first-child {
    margin-top: 0;
}

.clean-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

details {
    border-top: 1px solid var(--line-soft);
    padding: 12px 0;
}

summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 800;
}

.site-footer {
    border-top: 2px solid var(--ink);
    padding: 42px 0 22px;
    background: var(--ink);
    color: var(--paper);
}

.footer-brand {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    min-height: 28px;
    color: #d9d1c5;
}

.site-footer h2 {
    font-size: 1rem;
    text-transform: uppercase;
}

.small-print,
.copyright {
    font-size: .84rem;
    color: #bdb4a7;
}

.copyright {
    margin-top: 24px;
}

.not-found {
    min-height: 52vh;
    display: flex;
    align-items: center;
}

@media (min-width: 680px) {
    .collection-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter-box,
    .contact-grid,
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter form {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (min-width: 920px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
        align-items: center;
    }

    .split {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr) minmax(220px, .7fr);
    }
}
