/* NODZ — printable A5 flyer (/promo/flyer). Screen: preview on a grey desk; print: exactly one A5 page. */
@font-face {
    font-family: "Saira Stencil One";
    src: url("../fonts/saira-stencil-one-latin-400.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-latin-wght.woff2") format("woff2");
    font-weight: 200 900;
    font-display: swap;
}
@font-face {
    font-family: "Special Elite";
    src: url("../fonts/special-elite-latin-400.woff2") format("woff2");
    font-display: swap;
}

@page { size: A5 portrait; margin: 0; }

:root {
    --paper: #F4F0E3;
    --ink: #20241C;
    --nav: #283021;
    --olive: #576C3F;
    --rust: #7A2E2B;
}

* { box-sizing: border-box; }

html { background: #8a8a80; }
body {
    margin: 0;
    color: var(--ink);
    font-family: "Source Sans 3", system-ui, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.flyer-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    padding: 12px 16px;
    background: var(--nav);
    color: var(--paper);
    font-size: 15px;
}
.flyer-tools a { color: var(--paper); }
.flyer-tools button {
    font: inherit;
    font-weight: 700;
    padding: 6px 16px;
    border: 0;
    border-radius: 3px;
    background: var(--rust);
    color: #fff;
    cursor: pointer;
}
.flyer-tools a:focus-visible, .flyer-tools button:focus-visible { outline: 3px solid #E8C872; outline-offset: 2px; }

.flyer {
    width: 148mm;
    height: 210mm;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.flyer__head {
    background: var(--nav);
    padding: 9mm 10mm 6mm;
    text-align: center;
}
.flyer__logo { width: 62mm; height: auto; display: block; margin: 0 auto; }
.flyer__subtitle {
    margin: 3mm 0 0;
    color: #D9D3BE;
    font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
    font-size: 11pt;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.flyer__stripe { height: 2.2mm; background: var(--rust); }

.flyer__body { padding: 8mm 11mm 2mm; flex: 1; }
.flyer__title {
    margin: 0 0 3mm;
    font-family: "Saira Stencil One", Impact, "Arial Black", sans-serif;
    font-weight: 400;
    font-size: 21pt;
    line-height: 1.1;
    color: var(--olive);
}
.flyer__lead { margin: 0 0 5mm; font-size: 12.5pt; line-height: 1.4; }
.flyer__points { margin: 0; padding: 0; list-style: none; font-size: 12pt; line-height: 1.35; }
.flyer__points li {
    position: relative;
    padding: 1.6mm 0 1.6mm 8mm;
    border-bottom: 0.3mm dashed rgba(87, 108, 63, 0.45);
}
.flyer__points li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 1.4mm;
    color: var(--rust);
}

.flyer__qr {
    display: flex;
    align-items: center;
    gap: 6mm;
    margin: 0 11mm 6mm;
    padding: 4mm;
    border: 0.6mm solid var(--ink);
    background: #fff;
}
.flyer__code { width: 36mm; height: 36mm; flex: none; }
.flyer__code svg { width: 100%; height: 100%; display: block; }
.flyer__scan { margin: 0 0 1mm; font-size: 12pt; }
.flyer__host {
    margin: 0;
    font-family: "Saira Stencil One", Impact, "Arial Black", sans-serif;
    font-size: 26pt;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.flyer__foot {
    padding: 3mm 11mm 4mm;
    background: var(--olive);
    color: var(--paper);
    font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
    font-size: 9pt;
    text-align: center;
}

@media screen and (max-width: 620px) {
    .flyer { width: auto; height: auto; margin: 16px; }
}

@media print {
    html { background: none; }
    .flyer-tools { display: none; }
    .flyer { margin: 0; box-shadow: none; width: 148mm; height: 210mm; }
}
