/* Bio-Imkerei Brunner Berg – design system
   Follows the brand sheet by designer Florian Hulan (brunner-berg-designsystem, 2026-11-19):
   two brand colours, honey as large flat fields, ink for text, white paper as ground.
   Condensed type throughout. Square corners, no shadows, no gradients. */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
/* Roboto Condensed, SIL Open Font License 1.1 (static/fonts/OFL-roboto-condensed.txt).
   Web stand-in for Univers Next Pro Condensed, which is used in print only. */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-condensed-latin-var.9e5e97447fcc.woff2") format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-condensed-latin-var-italic.713a5bc84e74.woff2") format('woff2');
}

/* ---------- Tokens ---------- */
:root {
    /* Colour, from the designer's brand sheet. Two brand colours: honey (CMYK 0/35/88/0)
       as surface only, ink (CMYK 0/35/88/100) for text. Contrast (WCAG): ink on paper 17.9,
       on honey 9.8; muted on paper 7.6, on paper-deep 6.9. Honey on paper is 1.8, so never
       honey text or thin honey lines on light grounds, and never muted text on honey. */
    --ink: #1c160d;                  /* brand black, warm brown-black */
    --ink-soft: #3d3427;             /* derived: lead text */
    --muted: #5c5346;                /* text-muted */
    --paper: #ffffff;                /* paper / surface */
    --paper-deep: #f6f2ea;           /* derived: quiet sections, image grounds */
    --white: #ffffff;                /* form fields, document mats */
    --on-ink: #ffffff;               /* text on black (only where an editor picks black) */
    --on-ink-soft: rgba(255, 255, 255, 0.84);
    --on-ink-muted: rgba(255, 255, 255, 0.7);
    --on-ink-faint: rgba(255, 255, 255, 0.6);
    --honey: #f9b22b;                /* surface-brand; text on it is always ink */
    --accent: var(--ink);            /* the brand has no third colour */
    --error: #a02a12;
    --line: #e4dccd;                 /* rule: hairlines, dividers */
    --line-inverse: rgba(255, 255, 255, 0.2);
    --line-on-honey: rgba(28, 22, 13, 0.3);
    --scrim: rgba(28, 22, 13, 0.94);
    /* No shadows in the brand: documents get a hairline frame instead */
    --shadow-document: 0 0 0 1px var(--line);
    --gold: #d9a520;
    --silver: #a9adb1;
    --bronze: #a8693a;

    /* Type. Condensed throughout: Roboto Condensed, Regular and Bold. Titles in capitals,
       running text in sentence case. --serif stays as an alias so older rules keep working. */
    --sans: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --serif: var(--sans);
    /* The one handwritten entry on the jar. Falls back to the bold condensed label style
       until a self-hosted handwriting face is added: change only these lines then. */
    --hand: var(--sans);
    --hand-weight: 700;
    --hand-stretch: 100%;
    --hand-transform: uppercase;
    /* Roboto Condensed has one width; the stretch tokens stay for the fallback chain. */
    --stretch-lockup: 100%;
    --stretch-head: 100%;
    --stretch-ui: 100%;

    --text-display: clamp(2.75rem, 5.4vw + 0.75rem, 5.75rem);
    --text-h1: clamp(2.5rem, 4.6vw + 1rem, 5rem);
    --text-h2: clamp(2rem, 2.8vw + 1rem, 3.5rem);
    --text-h3: clamp(1.3125rem, 0.5vw + 1.15rem, 1.5rem);     /* title 24/30 */
    --text-lead: clamp(1.1875rem, 0.4vw + 1.05rem, 1.375rem);  /* contact 22/30 */
    --text-body: 1.0625rem;                                    /* body 17/24 */
    --text-small: 0.9375rem;
    --text-label: 0.75rem;

    /* Space (4 px base) */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4rem;
    --s-9: 6rem;
    --gutter: clamp(1.25rem, 4.5vw, 4rem);
    --section: clamp(4.5rem, 9vw, 9rem);
    --grid-gap: clamp(1rem, 2.4vw, 2rem);
    --container: 82rem;
    --header-h: 4.5rem;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M0 6h24M19 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E");
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: var(--text-body);
    line-height: 1.42;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
    text-wrap: balance;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* h1 and h2 in bold condensed capitals; the emphasised part drops to the regular weight
   instead of italics, as in the title block. */
h1,
h2 {
    font-family: var(--sans);
    font-stretch: var(--stretch-head);
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 0.95;
    text-transform: uppercase;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.25; }
h4 { font-size: 1.25rem; line-height: 1.2; }

h3 em,
h4 em,
h1 em,
h2 em {
    font-style: normal;
    font-weight: 400;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

a {
    color: inherit;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: text-decoration-color 0.2s, color 0.2s;
}

a:hover { text-decoration-thickness: 2px; }

/* Yellow lines and underlines only on black; on light grounds and on honey they are ink. */
.on-ink a { text-decoration-color: var(--honey); }

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

ul,
ol,
dl,
dd,
figure {
    margin: 0;
    padding: 0;
}

ul,
ol { list-style: none; }

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

::selection {
    background: var(--honey);
    color: var(--ink);
}

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

.on-ink :focus-visible { outline-color: var(--honey); }

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -4rem;
    z-index: 200;
    padding: var(--s-3) var(--s-4);
    background: var(--ink);
    color: var(--on-ink);
    font-family: var(--sans);
    font-size: var(--text-small);
}

.skip-link:focus { top: var(--s-3); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- Layout ---------- */
main { flex: 1 0 auto; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-top: 0; }

/* Two plain white sections in a row: one gap, not two stacked paddings.
   Body blocks arrive wrapped in div.w-block-*, so look through that wrapper. */
:is(.section, [class^='w-block-']:has(> .section:last-child:not(.section--deep, .section--honey, .on-ink))):not(.section--deep, .section--honey, .on-ink)
    + .section:not(.section--deep, .section--honey, .on-ink),
:is(.section, [class^='w-block-']:has(> .section:last-child:not(.section--deep, .section--honey, .on-ink))):not(.section--deep, .section--honey, .on-ink)
    + [class^='w-block-'] > .section:first-child:not(.section--deep, .section--honey, .on-ink) {
    padding-top: 0;
}
.section--deep { background: var(--paper-deep); }
.section--honey { background: var(--honey); }

.on-ink {
    background: var(--ink);
    color: var(--on-ink);
}

.on-ink .label,
.on-ink .muted { color: var(--on-ink-muted); }

/* Section heading: label, headline, optional link on the right */
.section-head {
    display: grid;
    gap: var(--s-4) var(--s-6);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head__aside {
    align-self: end;
    justify-self: start;
}

@media (min-width: 48rem) {
    .section-head {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .section-head .label { grid-column: 1 / -1; }
}

/* Two columns: media and text */
.split {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

@media (min-width: 56rem) {
    .split { grid-template-columns: repeat(12, 1fr); }
    .split > :first-child { grid-column: 1 / span 6; }
    .split > :last-child { grid-column: 8 / span 5; }
    .split--text-first > :first-child { grid-column: 1 / span 5; }
    .split--text-first > :last-child { grid-column: 7 / span 6; }
    .split--top { align-items: start; }
}

/* ---------- Type helpers ---------- */
.label {
    display: block;
    font-family: var(--sans);
    font-size: var(--text-label);
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--muted);
}

.label--rule {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.label--rule::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: currentColor;
}

.on-ink .label--rule::before { background: var(--honey); }

.lead {
    font-size: var(--text-lead);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 36em;
}

.on-ink .lead { color: var(--on-ink-soft); }

.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.measure { max-width: 34em; }
.stack > * + * { margin-top: var(--s-5); }
.stack-lg > * + * { margin-top: var(--s-6); }

/* Small brand field: honey surface, bold condensed ink capitals */
.tag {
    display: inline-block;
    padding: 0.38em 0.6em 0.32em;
    background: var(--honey);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-stretch: var(--stretch-head);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.tag--honey {
    background: var(--honey);
    color: var(--ink);
}

/* ---------- Buttons and links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    min-height: 3.25rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: var(--on-ink);
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
    background: var(--honey);
    border-color: var(--honey);
    color: var(--ink);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--on-ink);
}

.btn--honey {
    background: var(--honey);
    border-color: var(--honey);
    color: var(--ink);
}

.btn--honey:hover {
    background: var(--paper);
    border-color: var(--paper);
}

/* Secondary button on black: outlined in white */
.on-ink .btn--ghost {
    border-color: var(--on-ink);
    color: var(--on-ink);
}

.on-ink .btn--ghost:hover {
    background: var(--on-ink);
    border-color: var(--on-ink);
    color: var(--ink);
}

/* On honey a honey hover would vanish: buttons turn white instead */
.section--honey .btn:hover,
.label-block .btn:hover {
    background: var(--paper);
    border-color: var(--ink);
    color: var(--ink);
}

.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3);
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    padding-block: 0.35em;
    border-bottom: 2px solid var(--ink);
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.25s;
}

.arrow-link::after,
.btn--arrow::after {
    content: '';
    flex: none;
    width: 1.6em;
    height: 0.75em;
    background: currentColor;
    -webkit-mask: var(--arrow) center / contain no-repeat;
    mask: var(--arrow) center / contain no-repeat;
    transition: transform 0.3s var(--ease);
}

.arrow-link:hover { border-color: currentColor; }

.on-ink .arrow-link { border-bottom-color: var(--honey); }
.on-ink .arrow-link:hover { border-bottom-color: currentColor; }

.arrow-link:hover::after,
.btn--arrow:hover::after { transform: translateX(0.3em); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.site-header.is-scrolled,
.nav-open .site-header { border-bottom-color: var(--line); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    height: var(--header-h);
}

/* Header mark: the portrait signet, then the business name in ink capitals */
.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    min-width: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(0.9375rem, 0.4vw + 0.8rem, 1.125rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Pixel crop from the brand sheet (216 px high): keep it at half size or less */
.brand__signet {
    flex: none;
    width: auto;
    height: calc(var(--header-h) - 0.75rem);
}

.brand__tag { font-weight: 400; margin-inline-end: calc(0.3em - var(--s-3)); }

.site-nav__list {
    display: flex;
    gap: clamp(1.1rem, 1.9vw, 2rem);
}

.site-nav a {
    position: relative;
    display: block;
    padding-block: 0.6rem;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-stretch: var(--stretch-ui);
    font-weight: 500;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current='page']::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    flex: none;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-toggle__icon {
    position: relative;
    width: 1.5rem;
    height: 0.625rem;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}

.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon::after { bottom: 0; }
.nav-open .nav-toggle__icon::before { transform: translateY(0.25rem) rotate(45deg); }
.nav-open .nav-toggle__icon::after { transform: translateY(-0.25rem) rotate(-45deg); }

/* Open menu: the cross alone. "Schließen" is wider than "Menü" and ran into the
   business name on phones; the label stays for screen readers. */
.nav-open .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.nav-open .nav-toggle {
    min-width: 2.75rem;
    justify-content: flex-end;
}

.site-nav__contact { display: none; }

@media (max-width: 63.99rem) {
    :root { --header-h: 4rem; }

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

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: var(--s-6);
        padding: var(--s-5) var(--gutter) var(--s-6);
        background: var(--paper);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-0.5rem);
        transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
    }

    .nav-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.25s, transform 0.3s var(--ease);
    }

    .nav-open body { overflow: hidden; }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .site-nav__list li { border-bottom: 1px solid var(--line); }

    .site-nav a {
        padding-block: 0.7rem;
        font-size: clamp(1.625rem, 6vw, 2.125rem);
        font-weight: 700;
        letter-spacing: 0;
    }

    .site-nav a::after { display: none; }

    .site-nav a[aria-current='page'] {
        text-decoration: underline;
        text-decoration-thickness: 3px;
        text-underline-offset: 0.15em;
    }

    .site-nav__contact {
        display: block;
        font-family: var(--sans);
        font-size: var(--text-small);
        line-height: 1.7;
        color: var(--muted);
    }

    .site-nav__contact a {
        display: inline;
        padding: 0;
        font: inherit;
        letter-spacing: 0;
        color: var(--ink);
    }
}

/* ---------- Label block (once per page, at the top) ----------
   The title block is the main stage: one flat, square honey field over the full width,
   ink text only. The facts below the title are divided from it by an ink hairline. */
.label-block {
    background: var(--honey);
    color: var(--ink);
}

.label-block__top { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(1.75rem, 3.5vw, 3rem); }

.label-block__honey { padding-bottom: clamp(2rem, 4vw, 3.5rem); }

.label-block__honey > .container > :first-child {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
    border-top: 1px solid var(--ink);
}

.label-block .label,
.label-block .lead { color: var(--ink); }

.label-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
}


@media (min-width: 60rem) {
    .label-block__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: end;
        column-gap: var(--grid-gap);
    }

    .label-block__grid > .lockup { grid-column: 1 / span 7; }
    .label-block__aside { grid-column: 9 / span 4; }

    /* Buttons end on the baseline of the last lockup line, not on its line box */
    .label-block__aside.btn-row { margin-bottom: 1rem; }
}

/* The title block lockup, sizes from the brand sheet: overline 32/36 regular, main
   word up to 120 px bold at line-height 0.9, subline 26/32 regular, all capitals and
   flush left. --lockup-scale shrinks it for the compact product label. */
.lockup {
    --lockup-scale: 1;
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    letter-spacing: 0;
    hyphens: none;
    text-transform: uppercase;
}

.lockup__line { display: block; }

.lockup__line--1 {
    font-size: calc(var(--lockup-scale) * clamp(1.25rem, 1.8vw + 0.75rem, 2rem));
    font-weight: 400;
    line-height: 1.125;
}

.lockup__line--2 {
    margin-block: 0.03em;
    margin-inline-start: -0.04em;
    font-size: calc(var(--lockup-scale) * clamp(3.5rem, 11vw, 7.5rem));
    font-weight: 700;
    line-height: 0.9;
}

.lockup__line--3 {
    font-size: calc(var(--lockup-scale) * clamp(1rem, 1.4vw + 0.6rem, 1.625rem));
    font-weight: 400;
    line-height: 1.23;
    text-wrap: balance;
}

/* Yellow field: up to three facts, label with colon above a bold condensed value */
.label-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: var(--s-5) var(--grid-gap);
}

.label-facts dd {
    margin-top: var(--s-2);
    font-family: var(--sans);
    font-size: clamp(1.375rem, 1.1vw + 1rem, 2.125rem);
    font-stretch: var(--stretch-head);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-transform: uppercase;
}

.label-block__note { margin-top: var(--s-5); }

/* Page head of inner pages: the page title takes the place of the lockup */
.label-block--head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.label-block--head .label-block__top { padding-block: clamp(2rem, 4.5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem); }
.label-block--head .label-block__honey { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }

.label-block__title {
    margin-top: var(--s-4);
    color: var(--ink);
    /* Long event and post titles: hyphenate only long words, never leaving a stub */
    hyphenate-limit-chars: 12 5 5;
}

.label-block__title:first-child { margin-top: 0; }
.label-block--head .lead { margin-top: var(--s-5); }

/* Without facts the honey field simply ends below the title */
.label-block .label-block__honey--strip {
    height: clamp(0.75rem, 1.4vw, 1.125rem);
    padding: 0;
}

/* Compact variant for product pages: lockup at about half size, less padding */
.label-block--compact .label-block__top { padding-block: clamp(1.5rem, 3.5vw, 3rem) clamp(1rem, 2.2vw, 1.75rem); }
.label-block--compact .label-block__honey { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.label-block--compact .label-block__honey > .container > :first-child { padding-top: clamp(1rem, 2.2vw, 1.5rem); }
.label-block--compact .label-block__grid { gap: var(--s-5); }
.label-block--compact .lockup { --lockup-scale: 0.6; }
.label-block--compact .label-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: var(--s-4) var(--grid-gap); }
.label-block--compact .label-facts dd { font-size: clamp(1.125rem, 0.8vw + 0.9rem, 1.625rem); }
.label-block--compact .label-block__note { margin-top: var(--s-3); padding-top: var(--s-3); }
.label-block--compact .varieties { font-size: clamp(0.8125rem, 0.5vw + 0.7rem, 1.0625rem); }
.label-block--compact .varieties { letter-spacing: 0.03em; }
.label-block--compact .varieties__item { gap: 0.5em; padding-block: 0.25em; }

/* Long variety names hyphenate instead of widening the column */
.varieties__item > span {
    min-width: 0;
    hyphens: auto;
    overflow-wrap: break-word;
}
.label-block--compact .varieties--brand { columns: 2; column-gap: var(--s-4); }
.label-block--compact .varieties--brand li { break-inside: avoid; }

@media (min-width: 60rem) {
    .label-block--compact .label-block__grid > .lockup { grid-column: 1 / span 4; }
    .label-block--compact .label-block__aside { grid-column: 6 / span 7; }
}

.label-facts + .label-block__note {
    padding-top: var(--s-4);
    border-top: 1px solid var(--ink);
}

/* The handwritten entry (see --hand) */
.hand {
    font-family: var(--hand);
    font-stretch: var(--hand-stretch);
    font-weight: var(--hand-weight);
    text-transform: var(--hand-transform);
}

/* ---------- Variety list ----------
   Every line is led by a pointy-top hexagon, always in ink. On the honey label: outlined
   hexagons, the current variety filled, crossed and in bold. On paper: outlined. */
.varieties {
    font-family: var(--sans);
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
    font-stretch: var(--stretch-head);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.varieties__item {
    display: flex;
    align-items: center;
    gap: 0.65em;
    padding-block: 0.4em;
    text-decoration: none;
}

a.varieties__item:hover span {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

.hex {
    flex: none;
    width: 0.9em;
    height: 1.035em;
    overflow: visible;
}

.hex__shape { fill: currentColor; }

.hex__cross {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.2;
}

.varieties--brand { color: var(--ink); }

.varieties--brand .hex__shape {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.varieties--brand [aria-current] { font-weight: 700; }
.varieties--brand [aria-current] .hex__shape { fill: currentColor; }
.varieties--brand [aria-current] .hex__cross { stroke: var(--honey); }

/* On paper: one column on narrow screens, two on medium, three on wide, filled top to
   bottom per column. */
.varieties--paper {
    column-gap: var(--grid-gap);
    color: var(--ink);
}

.varieties--paper li { break-inside: avoid; }

@media (min-width: 40rem) {
    .varieties--paper { columns: 2; }
}

@media (min-width: 64rem) {
    .varieties--paper { columns: 3; }
}

.varieties--paper .hex__shape {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.varieties--paper .hex__cross { stroke: currentColor; }

.varieties-block .label { margin-bottom: var(--s-2); }
.varieties-block--before { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.varieties-block--after { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Hero image and seal (below the label block) ---------- */
/* Compact intro row directly under the label: heading and text left, photo right */
.hero {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero__grid {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.hero__media {
    position: relative;
    max-width: 34rem;
    margin-left: clamp(0rem, 6vw, 2.5rem);
}

.hero__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 68% 50%;
}

/* "Bio-Imker des Jahres": round, white on gold, as in the brand sheet */
.seal__ground { fill: var(--honey); }
.seal__ring { fill: none; stroke: var(--paper); }
.seal__text { fill: var(--paper); font-family: var(--sans); }

.seal {
    position: absolute;
    left: clamp(-2.5rem, -6vw, -1rem);
    bottom: clamp(-2.75rem, -5vw, -1.75rem);
    width: clamp(7rem, 15vw, 10rem);
    height: auto;
    transform: rotate(-9deg);
}

/* The seal links to the awards; the ring shows keyboard focus */
.seal-link:focus-visible { outline: none; }
.seal-link:focus-visible .seal { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 50%; }

@media (min-width: 48rem) {
    .hero__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: start;
        column-gap: var(--grid-gap);
    }

    .hero__text { grid-column: 1 / span 6; }

    .hero__media {
        grid-column: 7 / span 6;
        margin-left: 0;
    }
}

@media (min-width: 60rem) {
    .hero__media { grid-column: 8 / span 5; }
}

/* ---------- Facts strip ---------- */
.facts {
    display: grid;
    border-top: 1px solid var(--line);
}

.fact {
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line);
}

.fact__value {
    display: block;
    margin-top: var(--s-2);
    font-size: clamp(1.875rem, 2.4vw + 1rem, 3rem);
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.fact__text {
    margin-top: var(--s-2);
    font-family: var(--sans);
    font-size: var(--text-small);
    line-height: 1.5;
    color: var(--muted);
}

@media (min-width: 48rem) {
    .facts { grid-template-columns: repeat(3, 1fr); }

    .fact {
        padding: var(--s-6) var(--s-6) var(--s-6) 0;
    }

    .fact + .fact {
        padding-left: var(--s-6);
        border-left: 1px solid var(--line);
    }
}

.offer__text {
    margin-top: var(--s-3);
    font-size: var(--text-body);
    line-height: 1.55;
    color: var(--ink);
}

/* ---------- Products ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) var(--grid-gap);
}

@media (min-width: 48rem) {
    .product-grid:not(.product-grid--4) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Four featured items: 2 x 2 until all four fit in one row */
@media (min-width: 60rem) {
    .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--paper-deep);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.035); }

.product-card__media .tag {
    position: absolute;
    top: var(--s-3);
    left: var(--s-3);
    z-index: 1;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: var(--s-4);
}

/* The same look as h2 or h3: the tag follows the heading levels of the page. */
.product-card__title {
    font-size: clamp(1.1875rem, 0.9vw + 1rem, 1.625rem);
    font-stretch: normal;
    letter-spacing: 0;
    line-height: 1.12;
    text-transform: none;
}

.product-card__title a { text-decoration: none; }

/* Whole card is the link target */
.product-card__title a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
}

.product-card__text {
    display: -webkit-box;
    margin-top: var(--s-2);
    overflow: hidden;
    font-size: clamp(0.9375rem, 0.3vw + 0.875rem, 1rem);
    line-height: 1.45;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-2) var(--s-4);
    margin-top: auto;
    padding-top: var(--s-4);
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

.product-card__meta a {
    position: relative;
    z-index: 3;
    color: var(--ink);
    font-weight: 600;
}

/* ---------- Marked list (stations, steps) ----------
   Each item is led by the outlined hexagon of partials/hexagon.html: ink on light
   grounds, yellow on black. No counters. */
.numbered { border-top: 1px solid var(--line); }

.on-ink .numbered,
.on-ink .numbered li { border-color: var(--line-inverse); }

.numbered li {
    display: flex;
    align-items: baseline;
    gap: var(--s-4);
    padding-block: clamp(0.9rem, 1.6vw, 1.35rem);
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.375rem, 1.6vw + 1rem, 2.25rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.numbered .hex {
    width: 0.6em;
    height: 0.69em;
    color: var(--ink);
    transform: translateY(0.06em);
}

.numbered .hex__shape {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.on-ink .numbered .hex { color: var(--honey); }

/* ---------- Awards ---------- */
.document {
    width: min(100%, 17rem);
    margin-inline: auto;
    padding: 0.6rem;
    background: var(--white);
    box-shadow: var(--shadow-document);
    transform: rotate(-2.5deg);
}

.document img { width: 100%; }

.award-list { border-top: 1px solid var(--line); }

.award {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: var(--s-2) var(--s-5);
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line);
}

.award__year {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.award__title {
    font-size: 1.3125rem;
    line-height: 1.25;
}

.award__text {
    margin-top: var(--s-1);
    font-family: var(--sans);
    font-size: var(--text-small);
    color: var(--muted);
}

.medals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: var(--s-3);
}

.medal {
    width: 0.875rem;
    height: 0.875rem;
    box-sizing: border-box;
    border: 1px solid var(--line);
}

.medal--gold { background: var(--gold); }
.medal--silver { background: var(--silver); }
.medal--bronze { background: var(--bronze); }

/* ---------- Event and post rows ---------- */
.rows { border-top: 1px solid var(--line); }

.row {
    position: relative;
    display: grid;
    gap: var(--s-2) var(--s-6);
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
    border-bottom: 1px solid var(--line);
}

.row__date {
    font-family: var(--sans);
    font-size: var(--text-small);
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.row__title { font-size: var(--text-h3); }
.row__title a { text-decoration: none; }

.row__title a::before {
    content: '';
    position: absolute;
    inset: 0;
}

.row:hover .row__title a {
    text-decoration: underline;
    text-decoration-color: currentColor;
}

.row__text {
    margin-top: var(--s-2);
    color: var(--muted);
    max-width: 40em;
}

.row__text--full p { margin: 0 0 var(--s-2); }
.row__text--full ul { margin: 0; padding-left: 1.1em; }
.row__text--full li + li { margin-top: 0.15em; }

.row__meta {
    font-family: var(--sans);
    font-size: var(--text-small);
    color: var(--muted);
}

/* A full address must not squeeze the title column; it wraps instead. */
@media (min-width: 52rem) { .row__meta { max-width: 18rem; } }

@media (min-width: 52rem) {
    .row {
        grid-template-columns: 11rem 1fr auto;
        align-items: baseline;
    }
}

.empty {
    padding-block: var(--s-6);
    border-block: 1px solid var(--line);
    font-size: var(--text-lead);
    font-style: italic;
    color: var(--ink-soft);
}

/* ---------- Contact band ---------- */
.contact-band {
    display: grid;
    gap: var(--s-6);
    align-items: end;
}

.contact-band__links {
    display: grid;
    gap: var(--s-1);
    font-size: clamp(1.375rem, 1.4vw + 1rem, 2rem);
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.contact-band__links a {
    text-decoration-color: var(--ink);
    text-decoration-thickness: 1px;
    overflow-wrap: anywhere;
}

@media (min-width: 56rem) {
    .contact-band { grid-template-columns: 7fr 5fr; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5em;
    color: var(--line);
}

/* ---------- Filter tabs ---------- */
.filters {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filters > * {
    flex: none;
    margin-bottom: -1px;
    padding: 0.9rem 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.11em;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.filters > *:hover { color: var(--ink); }

.filters > .is-active {
    border-bottom-color: var(--ink);
    color: var(--ink);
}

/* ---------- Spec list ---------- */
.spec { border-top: 1px solid var(--line); }

.spec > div {
    display: grid;
    grid-template-columns: minmax(7rem, 2fr) 5fr;
    gap: var(--s-4);
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.spec dt {
    padding-top: 0.3em;
    font-family: var(--sans);
    font-size: var(--text-label);
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Product detail ---------- */
.product-detail__media {
    position: relative;
    background: var(--paper-deep);
}

.product-detail__media img { width: 100%; }

.product-detail__media .tag {
    position: absolute;
    top: var(--s-4);
    left: var(--s-4);
}

/* "Symbolbild" on a stand-in photo (SiteImage.is_symbolic), quiet in the lower corner */
.photo-note {
    position: absolute;
    right: var(--s-3);
    bottom: var(--s-3);
    z-index: 1;
    padding: 0.3em 0.55em;
    background: rgb(255 255 255 / 0.85);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.75rem;
    line-height: 1.2;
}

/* "Weitere Fotos": portrait crops like the product photos, so jars keep their lids */
.product-gallery { margin-top: clamp(2.5rem, 5vw, 4rem); }

.product-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6) var(--grid-gap);
    margin-top: var(--s-5);
}

@media (min-width: 40rem) { .product-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .product-gallery__grid { grid-template-columns: repeat(5, 1fr); } }

.product-gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--paper-deep);
}

.product-gallery__item figcaption { color: var(--ink-soft); }

.price {
    font-family: var(--sans);
    font-size: 1rem;
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
}

@media (min-width: 56rem) {
    .product-detail__sticky {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }
}

/* ---------- Checklist ---------- */
.checklist li {
    position: relative;
    padding: 0.55rem 0 0.55rem 2rem;
    border-bottom: 1px solid var(--line);
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 1rem;
    height: 2px;
    background: var(--ink);
}

/* ---------- Forms ---------- */
.field + .field,
.field--row + .field,
.field + .field--row { margin-top: var(--s-5); }

.field label {
    display: block;
    margin-bottom: var(--s-2);
    font-family: var(--sans);
    font-size: var(--text-label);
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field input,
.field textarea,
.field select {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.field textarea {
    min-height: 10rem;
    resize: vertical;
}

.field input:hover,
.field textarea:hover { border-color: var(--muted); }

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 2px 0 var(--ink);
}

.field .errorlist {
    margin-top: var(--s-2);
    font-family: var(--sans);
    font-size: var(--text-small);
    color: var(--error);
}

.field--row {
    display: grid;
    gap: var(--s-5);
}

.field--row .field { margin-top: 0; }

@media (min-width: 36rem) {
    .field--row { grid-template-columns: 1fr 1fr; }
}

.form-note {
    margin-top: var(--s-4);
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ---------- Contact details ---------- */
.contact-list { border-top: 1px solid var(--line); }

.contact-list > div {
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line);
}

.contact-list dd {
    margin-top: var(--s-2);
    font-size: clamp(1.25rem, 0.8vw + 1.05rem, 1.625rem);
    letter-spacing: -0.012em;
    line-height: 1.3;
}

.contact-list a { overflow-wrap: anywhere; }

/* ---------- Gallery ---------- */
.gallery {
    columns: 2;
    column-gap: var(--grid-gap);
}

@media (min-width: 40rem) { .gallery { columns: 3; } }
@media (min-width: 64rem) { .gallery { columns: 4; } }

.gallery__item {
    break-inside: avoid;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.gallery__item[hidden] { display: none; }

.gallery__button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--paper-deep);
    cursor: zoom-in;
    overflow: hidden;
}

.gallery__button img {
    width: 100%;
    transition: transform 0.9s var(--ease), opacity 0.3s;
}

.gallery__button:hover img { transform: scale(1.03); }

.gallery__caption {
    margin-top: var(--s-3);
    font-size: 1.0625rem;
    line-height: 1.3;
}

.gallery__caption span {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

.lightbox {
    max-width: none;
    max-height: none;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: var(--s-7) var(--gutter) var(--s-6);
    border: 0;
    background: var(--scrim);
    color: var(--on-ink);
}

.lightbox[open] {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: var(--s-4);
    justify-items: center;
}

.lightbox::backdrop { background: transparent; }

.lightbox img {
    align-self: center;
    width: auto;
    height: auto;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox__caption {
    font-family: var(--sans);
    font-size: var(--text-small);
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: var(--s-4);
    right: var(--gutter);
    min-height: 2.75rem;
    border: 0;
    background: none;
    color: var(--on-ink);
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-stretch: var(--stretch-ui);
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
}

/* ---------- Documents grid (certificates) ---------- */
/* Scans are small originals: two per row on phones, never wider than 17rem */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem) var(--grid-gap);
}

.doc-grid figure { max-width: 17rem; }

@media (min-width: 40rem) {
    .doc-grid { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
}

.doc-grid figure img {
    width: 100%;
    padding: 0.5rem;
    background: var(--white);
    box-shadow: var(--shadow-document);
}

/* Awards: the list keeps a reading width, the certificates fill the row below */
.award-intro { max-width: 46rem; }
.doc-grid--wide { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Veranstaltungsfoto of an award: full width under the list, never cropped */
.award-photo { margin-top: clamp(2.5rem, 5vw, 4rem); }
.award-photo img { width: 100%; }
.award-photo__credit::before { content: " · "; }

/* ---------- Prose (blog, long text) ---------- */
.prose {
    max-width: 38em;
    font-size: clamp(1.125rem, 0.3vw + 1.05rem, 1.3125rem);
    line-height: 1.65;
}

.prose h2,
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose img { margin-block: var(--s-6); }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    margin-top: var(--s-8);
    font-family: var(--sans);
    font-size: var(--text-small);
    font-weight: 600;
}

.pagination > * {
    display: grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding-inline: var(--s-3);
    border: 1px solid var(--line);
    text-decoration: none;
}

.pagination a:hover { border-color: var(--ink); }

.pagination [aria-current] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--on-ink);
}

/* ---------- Media frame ---------- */
.frame { background: var(--paper-deep); }

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--4x3 { aspect-ratio: 4 / 3; }

figcaption {
    margin-top: var(--s-3);
    font-family: var(--sans);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted);
}

/* ---------- Footer ---------- */
/* A closing honey field like the title block: ink text, ink hairlines */
.site-footer {
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: var(--s-6);
    background: var(--honey);
    color: var(--ink);
    font-family: var(--sans);
    font-size: var(--text-small);
    line-height: 1.7;
}

.site-footer__mark {
    font-family: var(--sans);
    font-size: clamp(1.75rem, 3.6vw + 0.5rem, 3.5rem);
    font-stretch: var(--stretch-head);
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 0.95;
    text-transform: uppercase;
}

.site-footer__mark em {
    font-style: normal;
    font-weight: 400;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--s-6) var(--grid-gap);
}

/* Pixel crop from the brand sheet (533 px wide): at most about half size */
.site-footer__signature {
    width: min(100%, 17rem);
    height: auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6) var(--grid-gap);
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-top: var(--s-6);
    border-top: 1px solid var(--ink);
}

@media (min-width: 56rem) {
    .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.site-footer .label {
    margin-bottom: var(--s-3);
    color: var(--ink);
}

.site-footer p { margin: 0; }
.site-footer li + li { margin-top: 0.15rem; }

.site-footer a {
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-footer a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s-2) var(--s-6);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line-on-honey);
    font-size: 0.8125rem;
    color: var(--ink);
}

.site-footer__legal ul {
    display: flex;
    gap: var(--s-5);
}

/* ---------- Style guide page ---------- */
.swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: var(--grid-gap);
}

.swatch__chip {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
}

.swatch__name {
    margin-top: var(--s-3);
    font-size: 1.125rem;
    line-height: 1.2;
}

.swatch__code {
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

.type-specimen > div {
    display: grid;
    gap: var(--s-2) var(--s-6);
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 52rem) {
    .type-specimen > div {
        grid-template-columns: 12rem 1fr;
        align-items: baseline;
    }
}

.space-scale > div {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    margin-bottom: var(--s-2);
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

.space-scale i {
    display: block;
    height: 0.75rem;
    background: var(--ink);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(1.25rem);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    }

    .js [data-reveal].is-in {
        opacity: 1;
        transform: none;
    }
}

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

/* ---------- Print ---------- */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .btn-row { display: none !important; }

    body { background: var(--white); }
}

/* ---------- CMS content ---------- */
.site-footer__legal li + li { margin-top: 0; }

.notice {
    max-width: 44em;
    padding: var(--s-4) var(--s-5);
    border-left: 4px solid var(--ink);
    background: var(--paper-deep);
    font-family: var(--sans);
}

.section--notice { padding-block: 0 var(--s-6); }

.price-list-note { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.section--honey .label,
.section--honey .lead { color: var(--ink); }

.fact__text p,
.form-note p { margin: 0; }

/* Honeypot field of the contact form: off-screen, because some bots skip display:none. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Coming-soon page (core/coming_soon.html) ----------
   Like the cover of the brand sheet: a flat honey band across the top. */
.coming-soon { border-top: clamp(4rem, 9vw, 6.5rem) solid var(--honey); }

.coming-soon__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--s-5);
    min-height: 100vh;
    min-height: 100svh;
    padding-block: var(--s-8);
}

.coming-soon__brand { align-self: flex-start; margin: 0 0 var(--s-5); }

.coming-soon__heading {
    max-width: 14em;
    margin: 0;
    font-size: var(--text-h1);
}

.coming-soon__text { max-width: 36em; }

.coming-soon__text p { margin: 0; }

.coming-soon__text p + p { margin-top: var(--s-4); }

.coming-soon__contact { margin: var(--s-4) 0 0; }

/* Upcoming events on the holding page: date column and text, stacked on phones. */
.coming-soon__events { max-width: 52em; }

.coming-soon__events-heading { margin: 0 0 var(--s-4); font-size: var(--text-h3); }

.coming-soon__event {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: var(--s-2) var(--s-5);
    padding-block: var(--s-5);
    border-top: 1px solid var(--line);
}

.coming-soon__event:last-child { border-bottom: 1px solid var(--line); }

.coming-soon__event .row__date,
.coming-soon__event .row__title,
.coming-soon__event .row__meta { margin: 0; text-align: left; }

.coming-soon__event-text { margin-top: var(--s-3); }

.coming-soon__event-text p { margin: 0 0 var(--s-2); }

.coming-soon__event-text ul { margin: 0; padding: 0; list-style: none; }

@media (max-width: 40rem) {
    .coming-soon__event { grid-template-columns: 1fr; }
}
