:root {
    --ink: #11110f;
    --soft: #4e504a;
    --muted: #777a70;
    --paper: #fbf8ef;
    --white: #fffef9;
    --line: #22221f;
    --green: #145a41;
    --yellow: #f1c84b;
    --orange: #d66b35;
    --danger: #8b2222;
    --radius: 8px;
    --shadow: 12px 12px 0 rgba(17, 17, 15, 0.12);
    --serif: "IBM Plex Serif", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(17, 17, 15, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(17, 17, 15, 0.05) 1px, transparent 1px),
        var(--paper);
    background-size: 36px 36px;
    font-family: var(--sans);
    line-height: 1.55;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.gate-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.age-gate.is-dismissed {
    display: none !important;
}

input,
textarea,
button {
    font: inherit;
}

.sr-only,
.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    transform: translateY(-140%);
    padding: 10px 14px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
}

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

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 17, 15, 0.76);
    backdrop-filter: blur(14px);
}

.age-card {
    width: min(560px, 100%);
    padding: clamp(28px, 5vw, 46px);
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.age-card h2 {
    margin: 8px 0 12px;
    font-size: clamp(2.1rem, 6vw, 3.5rem);
}

.age-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: min(1240px, calc(100% - 28px));
    min-height: 82px;
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    background: rgba(255, 254, 249, 0.92);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 7px 7px 0 rgba(17, 17, 15, 0.16);
    backdrop-filter: blur(14px);
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: var(--ink);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(251, 248, 239, 0.18);
}

.brand strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.1;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 4px 4px 0 rgba(17, 17, 15, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 rgba(17, 17, 15, 0.2);
}

.site-nav .nav-cta,
.button.primary {
    background: var(--yellow);
}

.button.plain {
    background: var(--white);
}

.button.full {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 9px;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 rgba(17, 17, 15, 0.16);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 7px 0;
    background: var(--ink);
}

.hero,
.section,
.notice-strip,
.site-footer {
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(54px, 8vw, 110px) 0 48px;
}

.kicker,
.eyebrow,
.flag {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 18px;
    padding: 8px 12px;
    background: var(--yellow);
    border: 2px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2 {
    margin: 0;
    font-family: var(--serif);
    letter-spacing: 0;
    line-height: 0.98;
}

h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 7vw, 6.6rem);
}

h2 {
    font-size: clamp(2.2rem, 4.8vw, 4.9rem);
}

h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.lede {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--soft);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-panel {
    position: relative;
    min-width: 0;
}

.hero-panel img {
    width: 100%;
    min-height: 520px;
    max-height: 680px;
    object-fit: cover;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    filter: saturate(0.82) contrast(1.04);
}

.status-strip {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 18px;
    color: var(--paper);
    background: rgba(17, 17, 15, 0.91);
    border: 2px solid var(--line);
    border-radius: var(--radius);
}

.status-strip span {
    display: block;
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-strip strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.1;
}

.notice-strip {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px;
    background: #fff1c0;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.notice-strip strong {
    flex: 0 0 auto;
}

.section {
    padding: clamp(70px, 9vw, 118px) 0 0;
}

.grid-two {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(340px, 1fr);
    gap: 22px;
    align-items: start;
}

.section-copy p:not(.eyebrow),
.section-head p,
.lab-copy p,
.resource-copy p,
.contact-card p {
    color: var(--soft);
    font-size: 1.06rem;
}

.risk-list {
    display: grid;
    gap: 12px;
}

.risk-list article,
.flag-card,
.check-shell,
.lab-copy,
.resource-links,
.contact-card,
.contact-form,
.site-footer {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 7px 7px 0 rgba(17, 17, 15, 0.14);
}

.risk-list article {
    padding: 20px;
}

.risk-list span {
    color: var(--orange);
    font-weight: 900;
}

.risk-list h3 {
    margin-top: 6px;
}

.risk-list p,
.flag-card p {
    margin: 10px 0 0;
    color: var(--soft);
}

.section-head {
    max-width: 850px;
    margin-bottom: 28px;
}

.check-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    overflow: hidden;
}

.checklist {
    display: grid;
    gap: 0;
}

.checklist label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 2px solid rgba(17, 17, 15, 0.1);
    font-weight: 800;
}

.checklist label:last-child {
    border-bottom: 0;
}

.checklist input {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    accent-color: var(--yellow);
}

.score-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 42px);
    color: var(--paper);
    background: var(--ink);
}

.score-card span {
    color: var(--yellow);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.score-card strong {
    margin-top: 12px;
    font-family: var(--serif);
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: 0.9;
}

.score-card p {
    margin: 16px 0 0;
    color: rgba(251, 248, 239, 0.8);
}

.lab-section {
    display: grid;
    grid-template-columns: minmax(350px, 0.9fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.lab-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    filter: saturate(0.76) contrast(1.02);
}

.lab-copy {
    padding: clamp(26px, 5vw, 48px);
}

.accordion {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

details {
    padding: 16px;
    background: var(--paper);
    border: 2px solid rgba(17, 17, 15, 0.16);
    border-radius: var(--radius);
}

summary {
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 900;
}

details p {
    margin: 12px 0 0;
}

.flag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.flag-card {
    min-height: 230px;
    padding: 20px;
    border-color: var(--danger);
}

.flag-card strong {
    display: block;
    color: var(--danger);
    font-size: 1.2rem;
    line-height: 1.1;
}

.resources,
.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(340px, 1fr);
    gap: 22px;
    align-items: start;
}

.resource-links {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.resource-links a {
    display: block;
    padding: 16px;
    background: var(--paper);
    border: 2px solid rgba(17, 17, 15, 0.16);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

.resource-links a:hover {
    border-color: var(--line);
}

.contact-card,
.contact-form {
    padding: clamp(24px, 4vw, 42px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 900;
}

input,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(241, 200, 75, 0.34);
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    max-width: min(380px, calc(100% - 36px));
    padding: 16px 18px;
    color: var(--paper);
    background: var(--ink);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(140%);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    margin-top: clamp(80px, 10vw, 120px);
    margin-bottom: 28px;
    padding: 24px;
    background: var(--ink);
    color: var(--paper);
}

.footer-brand {
    color: var(--paper);
}

.footer-brand .brand-mark {
    border-color: var(--paper);
}

.footer-brand small,
.site-footer p {
    color: rgba(251, 248, 239, 0.72);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
    justify-content: flex-end;
}

.site-footer nav a {
    padding: 10px 12px;
    border: 2px solid rgba(251, 248, 239, 0.22);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 900;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(251, 248, 239, 0.22);
}

.js-enabled .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 560ms ease, transform 560ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal,
.js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .menu-toggle {
        display: block;
    }

    .site-header {
        position: sticky;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: grid;
        padding: 12px;
        background: var(--white);
        border: 2px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav a {
        justify-content: flex-start;
    }

    .hero,
    .grid-two,
    .lab-section,
    .resources,
    .contact,
    .check-shell,
    .site-footer {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: 760px;
        font-size: clamp(3.1rem, 10vw, 5.6rem);
    }

    .hero-panel img,
    .lab-image img {
        min-height: 420px;
    }

    .flag-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    body {
        background-size: 28px 28px;
    }

    .site-header,
    .hero,
    .section,
    .notice-strip,
    .site-footer {
        width: min(100% - 22px, 1240px);
    }

    .brand small {
        display: none;
    }

    h1 {
        font-size: clamp(2.65rem, 15vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .hero {
        padding-top: 44px;
    }

    .hero-actions,
    .age-actions {
        display: grid;
    }

    .notice-strip {
        display: grid;
    }

    .hero-panel img,
    .lab-image img {
        min-height: 340px;
    }

    .status-strip {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .form-grid,
    .flag-grid {
        grid-template-columns: 1fr;
    }

    .flag-card {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
