@font-face {
    font-display:swap;
    font-family:'Familjen Grotesk';
    font-style:normal;
    font-weight:400 700;
    src:url('../fonts/zq-grotesk.woff2') format('woff2');
    unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-display:swap;
    font-family:'Familjen Grotesk';
    font-style:normal;
    font-weight:400 700;
    src:url('../fonts/zq-grotesk-ext.woff2') format('woff2');
    unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    ascent-override:109.06%;
    font-family:'Familjen Grotesk Fallback';
    size-adjust:94.44%;
    src:local('Arial');
}
@font-face {
    font-display:swap;
    font-family:'Source Serif 4';
    font-style:normal;
    font-weight:200 900;
    src:url('../fonts/zq-serif.woff2') format('woff2');
    unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-display:swap;
    font-family:'Source Serif 4';
    font-style:normal;
    font-weight:200 900;
    src:url('../fonts/zq-serif-ext.woff2') format('woff2');
    unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    ascent-override:90.81%;
    font-family:'Source Serif 4 Fallback';
    size-adjust:114.52%;
    src:local('Times New Roman');
}

/* base layer: tokens, reset, type, header, nav, footer, consent bar */
:root {
    --zq-field: #f8f8fa;
    --zq-furrow: #eceef2;
    --zq-gap-note: 16px; /* shift + 8px, keeps the next block clear of the offset */
    --zq-grotesk: 'Familjen Grotesk', 'Familjen Grotesk Fallback', Arial, sans-serif;
    --zq-line: 2px;
    --zq-loam: #14161b;
    --zq-mono: ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas, monospace;
    --zq-night: #1c212b;
    --zq-seam: #181b21;
    --zq-serif: 'Source Serif 4', 'Source Serif 4 Fallback', 'Times New Roman', serif;
    --zq-shift: 8px; /* offset of shadows and offset frames */
    --zq-thread: #5c626e;
    --zq-wrap: 1240px;
    --zq-zircon: #b23e12; /* oklch(52.3% 0.159 38.4) */
    --zq-zircon-deep: #92300a; /* oklch(45% 0.139 38.3) */
    --zq-zircon-glow: #f48048; /* oklch(72.1% 0.159 44.9), accent on dark bands */
    --zq-zircon-line: oklch(52.3% 0.159 38.4); /* decorative strokes only */
    --zq-zircon-mist: oklch(52.3% 0.159 38.4 / 0.13); /* watermark tint, alpha in colour not opacity */
}

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

/* :not(#id) lifts specificity above any single class that sets display */
[hidden]:not(#zq-none) {
    display: none;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--zq-field);
    scroll-padding-top: 16px;
}

body {
    background: var(--zq-field);
    color: var(--zq-loam);
    font-family: var(--zq-serif);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
    overflow-x: clip;
}

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

h1,
h2,
h3 {
    font-family: var(--zq-grotesk);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 0.5em;
}

h2 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
    font-size: 1.3rem;
}

p,
ul,
ol {
    margin: 0 0 1em;
}

a {
    color: var(--zq-zircon);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--zq-zircon-deep);
}

:focus-visible {
    outline: 3px solid var(--zq-zircon);
    outline-offset: 2px;
}

button,
input,
select,
textarea {
    font: inherit;
}

table {
    border-collapse: collapse;
    width: 100%;
}

.wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--zq-wrap);
    padding-left: 24px;
    padding-right: 24px;
}

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

.skip-link {
    background: var(--zq-night);
    color: var(--zq-field);
    left: 16px;
    padding: 12px 18px;
    position: absolute;
    top: -80px;
    z-index: 500;
}

.skip-link:focus {
    color: var(--zq-field);
    top: 16px;
}

/* labels: mono, wide tracking */
.eyebrow {
    color: var(--zq-thread);
    font-family: var(--zq-mono);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.mark-line {
    background: linear-gradient(transparent 68%, var(--zq-zircon-glow) 68%, var(--zq-zircon-glow) 92%, transparent 92%);
    color: inherit;
    padding: 0 0.06em;
}

.btn {
    align-items: center;
    background: var(--zq-zircon);
    border: var(--zq-line) solid var(--zq-seam);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--zq-seam);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--zq-grotesk);
    font-size: 1.05rem;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 12px 28px;
    text-decoration: none;
    transition: transform 0.12s, box-shadow 0.12s;
}

.btn:hover {
    background: var(--zq-zircon-deep);
    box-shadow: 1px 1px 0 var(--zq-seam);
    color: #fff;
    transform: translate(3px, 3px);
}

.btn:disabled {
    cursor: wait;
}

.btn-ghost {
    background: var(--zq-field);
    color: var(--zq-loam);
}

.btn-ghost:hover {
    background: var(--zq-night);
    color: var(--zq-field);
}

/* header: logo centred, nav as a sibling row below */
.site-head {
    background: var(--zq-field);
    border-bottom: var(--zq-line) solid var(--zq-seam);
    position: relative;
    z-index: 300;
}

.head-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto 1fr;
    min-height: 76px;
}

.head-aside {
    color: var(--zq-thread);
    font-family: var(--zq-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    margin: 0;
    text-transform: uppercase;
}

.brand-mark {
    align-items: center;
    color: var(--zq-loam);
    display: inline-flex;
    font-family: var(--zq-grotesk);
    font-size: 1.7rem;
    font-weight: 700;
    gap: 10px;
    grid-column: 2;
    letter-spacing: 0.02em;
    min-height: 48px;
    text-decoration: none;
}

.brand-mark img {
    height: 34px;
    width: 34px;
}

.bag-link {
    align-items: center;
    border: var(--zq-line) solid var(--zq-seam);
    border-radius: 999px;
    color: var(--zq-loam);
    display: inline-flex;
    font-family: var(--zq-grotesk);
    font-weight: 700;
    gap: 8px;
    justify-self: end;
    min-height: 46px;
    padding: 6px 8px 6px 16px;
    text-decoration: none;
}

.bag-link:hover {
    background: var(--zq-night);
    color: var(--zq-field);
}

.bag-count {
    background: var(--zq-zircon);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-family: var(--zq-mono);
    font-size: 0.9rem;
    min-width: 32px;
    padding: 4px 8px;
    text-align: center;
}

.menu-toggle {
    align-items: center;
    background: var(--zq-field);
    border: var(--zq-line) solid var(--zq-seam);
    border-radius: 999px;
    color: var(--zq-loam);
    cursor: pointer;
    display: none;
    font-family: var(--zq-grotesk);
    font-weight: 700;
    gap: 8px;
    justify-self: start;
    min-height: 46px;
    padding: 6px 16px;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    background: currentColor;
    display: block;
    height: 2px;
    position: relative;
    width: 18px;
}

.menu-bars::before,
.menu-bars::after {
    content: '';
    position: absolute;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.site-nav {
    background: var(--zq-field);
    border-bottom: var(--zq-line) solid var(--zq-seam);
}

.nav-panel {
    display: flex;
    justify-content: center;
}

.nav-close {
    display: none;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    border-left: var(--zq-line) solid var(--zq-seam);
    color: var(--zq-loam);
    display: block;
    font-family: var(--zq-grotesk);
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 14px 26px;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-list li:last-child a {
    border-right: var(--zq-line) solid var(--zq-seam);
}

/* hard hover: full inversion, no easing */
.nav-list a:hover,
.nav-list a[aria-current='page'] {
    background: var(--zq-night);
    color: var(--zq-field);
}

/* page frame */
.band-light {
    background: var(--zq-furrow);
}

.band-dark {
    background: var(--zq-night);
    color: var(--zq-field);
}

.band-dark a {
    color: var(--zq-zircon-glow);
}

/* buttons keep white text on dark bands */
.band-dark .btn,
.band-dark .btn:hover {
    color: #fff;
}

.band-dark .eyebrow {
    color: #c3c7d0;
}

.rule-top {
    border-top: var(--zq-line) solid var(--zq-seam);
}

/* rhythm grows towards the footer */
.pad-1 {
    padding-bottom: 56px;
    padding-top: 56px;
}

.pad-2 {
    padding-bottom: 72px;
    padding-top: 72px;
}

.pad-3 {
    padding-bottom: 92px;
    padding-top: 92px;
}

.pad-4 {
    padding-bottom: 116px;
    padding-top: 116px;
}

.reveal {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.io-ready .reveal:not(.shown) {
    opacity: 0;
    transform: translateY(24px);
}

/* footer: one row of links + one legal paragraph */
.site-foot {
    background: var(--zq-night);
    border-top: 6px solid var(--zq-zircon-line);
    color: #d5d8df;
    padding-bottom: 72px;
    padding-top: 72px;
}

.foot-links {
    border-bottom: 1px solid #3a4150;
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
    list-style: none;
    margin: 0 0 28px;
    padding: 0 0 22px;
}

.foot-links a {
    align-items: center;
    color: var(--zq-zircon-glow);
    display: inline-flex;
    font-family: var(--zq-grotesk);
    min-height: 44px;
    padding: 0 10px;
}

.foot-links a:hover {
    color: #fff;
}

.foot-legal {
    font-size: 0.95rem;
    margin: 0;
    max-width: 960px;
}

.foot-legal a {
    color: var(--zq-zircon-glow);
}

/* consent bar: fixed corner card, never in page flow */
.cc-notice {
    background: var(--zq-night);
    border: var(--zq-line) solid var(--zq-zircon-glow);
    bottom: 16px;
    box-shadow: 6px 6px 0 var(--zq-seam);
    color: var(--zq-field);
    left: 16px;
    max-width: 380px;
    padding: 16px 18px;
    position: fixed;
    z-index: 350;
}

.cc-text {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0 0 12px;
}

.cc-text a {
    color: var(--zq-zircon-glow);
}

.cc-actions {
    display: flex;
    gap: 10px;
}

.cc-actions .btn {
    box-shadow: none;
    flex: 1;
    font-size: 0.95rem;
    min-height: 44px;
    padding: 8px 14px;
}

@media (max-width: 820px) {
    .head-aside {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .brand-mark {
        font-size: 1.4rem;
    }

    .brand-mark img {
        height: 28px;
        width: 28px;
    }

    /* mobile: nav turns into an opaque full-screen panel */
    .site-nav {
        background: var(--zq-field);
        border: 0;
        inset: 0;
        overflow-y: auto;
        position: fixed;
        visibility: hidden;
        z-index: 400;
    }

    .site-nav.visible-now {
        visibility: visible;
    }

    .nav-panel {
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        padding-bottom: 32px;
        padding-top: 20px;
    }

    .nav-close {
        align-self: flex-end;
        background: var(--zq-night);
        border: 0;
        border-radius: 999px;
        color: var(--zq-field);
        cursor: pointer;
        display: inline-flex;
        font-family: var(--zq-grotesk);
        font-weight: 700;
        margin-bottom: 20px;
        min-height: 46px;
        padding: 10px 22px;
    }

    .nav-list {
        border-top: var(--zq-line) solid var(--zq-seam);
        flex-direction: column;
    }

    .nav-list a,
    .nav-list li:last-child a {
        border-bottom: var(--zq-line) solid var(--zq-seam);
        border-left: 0;
        border-right: 0;
        font-size: 1.4rem;
        padding: 18px 4px;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bag-link {
        padding-left: 12px;
    }

    .pad-1,
    .pad-2 {
        padding-bottom: 44px;
        padding-top: 44px;
    }

    .pad-3,
    .pad-4 {
        padding-bottom: 60px;
        padding-top: 60px;
    }

    .cc-notice {
        bottom: 0;
        box-shadow: none;
        left: 0;
        max-width: none;
        padding: 12px 16px;
        right: 0;
    }

    .cc-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}
