/* ==========================================================================
   Med ze Lhotky — main stylesheet
   BEM naming: block__element--modifier
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
    --color-base: #FFFFFF;
    --color-pollen: #FBF3DA; /* page background — light pollen */
    --color-wax: #FFFCF2; /* cards — beeswax */
    --color-propolis: #38270F; /* text — dark propolis */
    --color-honey: #D98E04; /* accent — liquid honey */
    --color-honey-dark: #A66A00;
    --color-meadow: #5F7A45; /* secondary — meadow behind the hives */
    --color-meadow-bright: #3C9E43; /* vivid green — availability badge */
    --color-soldout: #C0392B; /* red — sold-out badge */
    --color-line: #E4D5AC;
    --color-text-muted: #5A4728;
    --color-text-muted-dark: #CFC29B; /* muted text on dark background */
    --color-footnote: #7A6540;

    --font-serif: 'Fraunces', serif;
    --font-hand: 'Caveat', 'Segoe Script', 'Comic Sans MS', cursive;
    --font-sans: 'Inter', system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* no blue/grey flash when tapping links & buttons on mobile */
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

body {
    font-family: var(--font-sans);
    background: var(--color-pollen);
    color: var(--color-propolis);
    line-height: 1.65;
    font-size: 17px;
}

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

a {
    color: var(--color-honey-dark)
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--color-honey);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   container — page-width wrapper
   -------------------------------------------------------------------------- */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
}

/* --------------------------------------------------------------------------
   announcement — promo bar at the very top of the page
   -------------------------------------------------------------------------- */
.announcement {
    background: var(--color-pollen);
    color: var(--color-propolis);
    text-align: center;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.announcement__text {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    align-items: center;
    display: flex;
    gap: 5px;
}

.announcement__text strong {
    font-weight: 800;
}


/* --------------------------------------------------------------------------
   hero — full-height header with honeycomb backdrop
   -------------------------------------------------------------------------- */
.hero {
    min-height: min(92svh, 880px);
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid var(--color-propolis);
    position: relative;
    overflow: hidden;
    background-color: var(--color-base);
}

/* subtle honeycomb pattern, hero only */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16.2 V48.5 L28 64.7 L0 48.5 V16.2 Z M28 64.7 V97' fill='none' stroke='%23e9d4b6' stroke-width='1.2'/%3E%3C/svg%3E");
    mask-image: radial-gradient(90% 90% at 70% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(90% 90% at 70% 30%, #000 0%, transparent 70%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns:minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
    padding-block: clamp(32px, 6vh, 72px);
}

.hero__title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2.9rem, 7.2vw, 6.2rem);
    line-height: 1.1;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.hero__title em {
    font-style: normal;
    color: var(--color-honey-dark);
}

.hero__intro {
    margin-top: 26px;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    max-width: 34em;
    color: var(--color-text-muted);
}

.hero__actions {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* --------------------------------------------------------------------------
   topbar — brand + navigation
   -------------------------------------------------------------------------- */
.topbar {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns:1fr auto 1fr;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    padding-top: 1rem;
}

.topbar__brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .01em;
    color: var(--color-propolis);
    text-decoration: none;
}

.topbar__brand:hover {
    color: var(--color-honey-dark);
}

.topbar__nav {
    display: flex;
    gap: clamp(14px, 2.5vw, 34px);
    flex-wrap: wrap;
}

.topbar__link {
    text-decoration: none;
    color: var(--color-propolis);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.topbar__link:hover {
    border-bottom-color: var(--color-honey)
}

.topbar__contact {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    line-height: 1.25;
}

.topbar__contact-icon {
    display: flex;
    align-items: center;
    color: var(--color-honey-dark);
}

.topbar__phones {
    display: flex;
    flex-direction: column;
}

.topbar__phone {
    text-decoration: none;
    color: var(--color-propolis);
    font-weight: 700;
    white-space: nowrap;
}

.topbar__phone:hover {
    color: var(--color-honey-dark);
}

/* hamburger — hidden until the nav no longer fits (md breakpoint below) */
.topbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    padding: 9px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.topbar__toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--color-propolis);
    transition: transform .2s ease, opacity .2s ease;
}

/* open state — the three bars fold into an X */
.topbar__toggle[aria-expanded="true"] .topbar__toggle-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.topbar__toggle[aria-expanded="true"] .topbar__toggle-bar:nth-child(2) {
    opacity: 0;
}

.topbar__toggle[aria-expanded="true"] .topbar__toggle-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   eyebrow — small uppercase section kicker
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-meadow);
    margin-bottom: 20px;
}

.eyebrow::before {
    content: "\2014";
}

/* --------------------------------------------------------------------------
   button
   -------------------------------------------------------------------------- */
.button {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 15px 30px;
    border-radius: 6px;
    border: 3px solid var(--color-propolis);
    transition: transform .12s ease, box-shadow .12s ease;
}

.button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--color-propolis);
}

.button--primary {
    background: var(--color-honey);
    color: var(--color-propolis);
}

.button--ghost {
    background: transparent;
    color: var(--color-propolis);
}

/* --------------------------------------------------------------------------
   sign-scene — honey jar photo
   -------------------------------------------------------------------------- */
.sign-scene {
    position: relative;
    justify-self: center;
    /* Fill the grid cell; the backdrop is width:100% of this, so the scene
       can never spill into the hero text the way the old fixed 230% comb
       did. minmax(0, …) on the grid track keeps it from widening the column.
       max-width caps it so the single-column layout doesn't blow the scene
       up full-width (which detached the price-tag from the jar). */
    width: 100%;
    max-width: 520px;
}

.sign-scene__comb {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
    width: 100%;
    height: auto;
    /* only vertical centering — the comb is shorter than the jar; width:100%
       already pins it horizontally, so no translateX is needed */
    transform: translateY(-50%);
    pointer-events: none;
}

/* jar + price-tag, sized to the jar so the tag's percentages stay anchored
   to it regardless of the backdrop width */
.sign-scene__stage {
    position: relative;
    z-index: 1;
    width: 43.5%;
    margin-inline: auto;
    /* query container so the price-tag can scale with the jar (cqw below),
       keeping the same relative position and overlap at every width */
    container-type: inline-size;
}

.sign-scene__jar {
    position: relative;
    z-index: 1; /* above the price-tag, so the tag's edge tucks behind the jar */
    display: block;
    width: 100%;
    height: auto;
    transform: translateX(10%) rotate(2deg);
    filter: drop-shadow(6px 8px 0 rgba(56, 39, 15, .16));
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   price-tag — price on a price-gun sticker label (scalloped sides)
   -------------------------------------------------------------------------- */
.price-tag {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .13em;
    padding: .57em 1.48em;
    /* scales with the jar (cqw of .sign-scene__stage); everything inside is
       em-based off this, so the whole tag keeps its proportions */
    font-size: clamp(14px, 9.7cqw, 23px);
    text-align: center;
    transform: rotate(-3deg);
    filter: drop-shadow(4px 4px 0 rgba(56, 39, 15, .18));
}

/* stuck onto the jar, low on the honey — anchored to the stage (jar box) so
   it keeps the same spot at every width; z-index below the jar tucks its
   right edge behind the glass */
.sign-scene .price-tag {
    position: absolute;
    left: -22%;
    bottom: 45%;
    z-index: 0;
    transform: translateX(-50%) rotate(3deg);
}

.price-tag__shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.price-tag__shape path {
    fill: var(--color-base);
    stroke: var(--color-propolis);
    stroke-width: 2.5;
}

.price-tag__value {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1em;
    line-height: 1;
    color: var(--color-propolis);
    letter-spacing: .01em;
}

.price-tag__badge {
    font-size: .55em;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-base);
    background-color: var(--color-meadow-bright);
    padding: 0 .63em;
    border-radius: 50px;
    margin-top: .27em;
}

.price-tag__badge--soldout {
    background-color: var(--color-soldout);
}

/* --------------------------------------------------------------------------
   bee — animated bee (SVG), roams the whole hero section
   -------------------------------------------------------------------------- */
.bee {
    position: absolute;
    width: 30px;
    height: auto;
    pointer-events: none;
    z-index: 2;
}

.bee__wing {
    transform-box: fill-box;
    transform-origin: 50% 95%;
    animation: wing-flutter .18s ease-in-out infinite alternate;
}

.bee__wing--rear {
    animation-delay: .09s
}

@keyframes wing-flutter {
    from {
        transform: rotate(-10deg) scaleY(1)
    }
    to {
        transform: rotate(16deg) scaleY(.65)
    }
}

.bee--1 {
    top: 7%;
    left: 8%;
    animation: fly-path-1 44s ease-in-out infinite;
}

/* top edge, drifts right */
.bee--2 {
    top: 14%;
    left: 92%;
    width: 24px;
    animation: fly-path-2 51s ease-in-out infinite;
    animation-delay: -17s;
}

/* right edge, drifts down */
.bee--3 {
    top: 88%;
    left: 10%;
    width: 34px;
    animation: fly-path-1 58s ease-in-out infinite;
    animation-delay: -29s;
}

/* bottom edge, drifts right */
.bee--4 {
    top: 11%;
    left: 58%;
    width: 26px;
    animation: fly-path-3 37s ease-in-out infinite;
    animation-delay: -9s;
}

/* top edge, drifts left */
.bee--5 {
    top: 90%;
    left: 64%;
    width: 28px;
    animation: fly-path-3 49s ease-in-out infinite;
    animation-delay: -23s;
}

/* bottom edge, drifts left */
.bee--6 {
    top: 28%;
    left: 2%;
    width: 22px;
    animation: fly-path-2 39s ease-in-out infinite;
    animation-delay: -6s;
}

/* left edge, drifts down */
/* The bee artwork faces LEFT; scaleX(-1) flips it to face right. The flip
   follows the current flight direction and happens in a 0.2% keyframe gap
   (a few dozen ms), so it reads as a sudden snap, not a mirroring animation. */
@keyframes fly-path-1 { /* drift right along a horizontal edge, then back */
    0% {
        transform: translate(0, 0) rotate(0deg) scaleX(-1)
    }
    12% {
        transform: translate(7vw, -3vh) rotate(9deg) scaleX(-1)
    }
    24% {
        transform: translate(14vw, 2vh) rotate(-6deg) scaleX(-1)
    }
    37% {
        transform: translate(22vw, -4vh) rotate(12deg) scaleX(-1)
    }
    50% {
        transform: translate(30vw, 1vh) rotate(-4deg) scaleX(-1)
    }
    62% {
        transform: translate(36vw, -2vh) rotate(8deg) scaleX(-1)
    }
    62.2% {
        transform: translate(36vw, -2vh) rotate(8deg) scaleX(1)
    }
    74% {
        transform: translate(26vw, 4vh) rotate(-11deg) scaleX(1)
    }
    87% {
        transform: translate(12vw, -1vh) rotate(5deg) scaleX(1)
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scaleX(1)
    }
}

@keyframes fly-path-2 { /* drift down along a side edge, weaving left/right */
    0% {
        transform: translate(0, 0) rotate(0deg) scaleX(1)
    }
    11% {
        transform: translate(-2vw, 6vh) rotate(-10deg) scaleX(1)
    }
    11.2% {
        transform: translate(-2vw, 6vh) rotate(-10deg) scaleX(-1)
    }
    23% {
        transform: translate(2vw, 14vh) rotate(7deg) scaleX(-1)
    }
    23.2% {
        transform: translate(2vw, 14vh) rotate(7deg) scaleX(1)
    }
    34% {
        transform: translate(-3vw, 22vh) rotate(-5deg) scaleX(1)
    }
    34.2% {
        transform: translate(-3vw, 22vh) rotate(-5deg) scaleX(-1)
    }
    46% {
        transform: translate(2vw, 30vh) rotate(11deg) scaleX(-1)
    }
    46.2% {
        transform: translate(2vw, 30vh) rotate(11deg) scaleX(1)
    }
    57% {
        transform: translate(-2vw, 38vh) rotate(-8deg) scaleX(1)
    }
    57.2% {
        transform: translate(-2vw, 38vh) rotate(-8deg) scaleX(-1)
    }
    71% {
        transform: translate(2vw, 26vh) rotate(6deg) scaleX(-1)
    }
    71.2% {
        transform: translate(2vw, 26vh) rotate(6deg) scaleX(1)
    }
    84% {
        transform: translate(-1vw, 12vh) rotate(-12deg) scaleX(1)
    }
    84.2% {
        transform: translate(-1vw, 12vh) rotate(-12deg) scaleX(-1)
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scaleX(-1)
    }
}

@keyframes fly-path-3 { /* drift left along a horizontal edge, then back */
    0% {
        transform: translate(0, 0) rotate(0deg) scaleX(1)
    }
    12% {
        transform: translate(-8vw, 3vh) rotate(-7deg) scaleX(1)
    }
    24% {
        transform: translate(-16vw, -2vh) rotate(9deg) scaleX(1)
    }
    36% {
        transform: translate(-24vw, 4vh) rotate(-4deg) scaleX(1)
    }
    48% {
        transform: translate(-32vw, -3vh) rotate(12deg) scaleX(1)
    }
    60% {
        transform: translate(-36vw, 2vh) rotate(-8deg) scaleX(1)
    }
    60.2% {
        transform: translate(-36vw, 2vh) rotate(-8deg) scaleX(-1)
    }
    73% {
        transform: translate(-24vw, -4vh) rotate(5deg) scaleX(-1)
    }
    86% {
        transform: translate(-10vw, 2vh) rotate(-10deg) scaleX(-1)
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scaleX(-1)
    }
}

/* --------------------------------------------------------------------------
   sign — hand-written sign card hanging on strings
   -------------------------------------------------------------------------- */
.sign {
    justify-self: center;
    border: 3px solid var(--color-propolis);
    background-color: var(--color-base);
    border-radius: 10px;
    padding: 20px 40px;
    text-align: center;
    transform: rotate(2.2deg);
    max-width: 360px;
    width: 100%;
    position: relative;
    top: 48px;
    z-index: 1;
    box-shadow: 4px 4px 0 var(--color-propolis);
}

.sign--tilt-left {
    transform: rotate(-1.8deg)
}

.sign__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(4rem, 6vw, 5.5rem);
    line-height: 1;
    color: var(--color-propolis);
    letter-spacing: .02em;
}

.sign__title--small {
    font-size: 2.6rem;
    line-height: 1.15;
}

/* --------------------------------------------------------------------------
   section — shared section layout, dark variant for the sale section
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(56px, 9vh, 110px) 0
}

.section--bordered {
    border-bottom: 3px solid var(--color-propolis)
}

.section__header {
    margin-bottom: clamp(32px, 5vh, 56px)
}

.section__header .eyebrow {
    margin-bottom: 12px
}

.section__title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.12;
    letter-spacing: -.01em;
}

.section__lead {
    margin-top: 14px;
    color: var(--color-text-muted);
    font-size: 1.08rem;
}

.section--dark {
    background: var(--color-propolis);
    color: var(--color-pollen);
}

.section--dark .eyebrow {
    color: #C9BC85
}

.section--dark .section__title {
    color: var(--color-pollen)
}

.section--dark .section__lead {
    color: var(--color-text-muted-dark)
}

/* --------------------------------------------------------------------------
   photo-slider — photo carousel in the about section (Splide)
   -------------------------------------------------------------------------- */
.photo-slider__figure {
    aspect-ratio: 4/3;
    border-radius: 8px;
    background: var(--color-wax);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.photo-slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.photo-slider__caption {
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-honey-dark);
}

/* Splide's track clips overflow — give the bottom shadow room to show */
.photo-slider .splide__track {
    padding-bottom: 20px;
    margin-bottom: -20px;
}

/* theme Splide controls to match the site */
.photo-slider .splide__arrow {
    background: var(--color-wax);
    border: 3px solid var(--color-propolis);
    width: 44px;
    height: 44px;
    opacity: 1;
}

.photo-slider .splide__arrow svg {
    fill: var(--color-propolis)
}

.photo-slider .splide__arrow:hover {
    background: var(--color-honey)
}

.photo-slider .splide__pagination {
    bottom: -2.2em
}

.photo-slider .splide__pagination__page {
    background: var(--color-line);
    opacity: 1;
}

.photo-slider .splide__pagination__page.is-active {
    background: var(--color-honey);
    transform: scale(1.3);
}

.photo-slider.splide {
    padding-bottom: 2.6em
}

/* room for pagination dots below */

/* --------------------------------------------------------------------------
   products — card grid in the sale section
   -------------------------------------------------------------------------- */
.products {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

/* --------------------------------------------------------------------------
   card — product / info card
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-wax);
    color: var(--color-propolis);
    border: 3px solid var(--color-propolis);
    border-radius: 10px;
    padding: 30px 30px 28px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, .35);
}

.card__title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.card__price {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    color: var(--color-honey-dark);
    line-height: 1.1;
}

.card__price-unit {
    font-size: .45em;
    font-weight: 700;
    color: var(--color-text-muted);
}

.card__list {
    list-style: none;
    margin-top: 18px;
}

.card__list-item {
    padding: 9px 0 9px 30px;
    border-top: 2px dashed var(--color-line);
    position: relative;
    font-size: 1rem;
}

.card__list-item::before {
    content: "⬡";
    position: absolute;
    left: 2px;
    color: var(--color-honey);
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   badge
   -------------------------------------------------------------------------- */
.badge {
    display: inline-block;
    margin-bottom: 14px;
    background: var(--color-meadow-bright);
    color: var(--color-base);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 100px;
}

.badge--dark {
    background: var(--color-honey-dark)
}

.badge--soldout {
    background: var(--color-soldout)
}

/* badge sitting inline in a line of text — no bottom margin, tighter padding */
.badge--inline {
    margin-bottom: 0;
    padding: 1px 10px;
}

/* --------------------------------------------------------------------------
   disclaimer — hobby beekeeper legal note
   -------------------------------------------------------------------------- */
.disclaimer {
    margin-top: 34px;
    max-width: 56em;
    font-size: .98rem;
    color: var(--color-text-muted-dark);
    padding-left: 18px;
    border-left: 3px solid var(--color-honey);
}

/* --------------------------------------------------------------------------
   info-card — pickup & delivery boxes
   -------------------------------------------------------------------------- */
.info-card {
    background: var(--color-wax);
    border: 3px solid var(--color-propolis);
    border-radius: 10px;
    padding: 32px;
}

.info-card__title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-propolis);
}

.info-card__text {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.info-card__text + .info-card__text {
    margin-top: 10px
}

/* --------------------------------------------------------------------------
   footer — contact section
   -------------------------------------------------------------------------- */
.footer {
    padding: clamp(56px, 9vh, 100px) 0 40px;
    background: var(--color-propolis);
    color: var(--color-pollen);
}

/* dark footer — recolor content for contrast (info-cards stay light) */
.footer .eyebrow {
    color: #C9BC85
}

.footer .section__title {
    color: var(--color-pollen)
}

.footer a {
    color: var(--color-honey)
}

.footer__grid {
    display: grid;
    grid-template-columns:minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.footer__pickup {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__bottom {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 3px solid rgba(251, 243, 218, .25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: .9rem;
    color: var(--color-text-muted-dark);
}

/* --------------------------------------------------------------------------
   contact-list
   -------------------------------------------------------------------------- */
.contact-list {
    list-style: none;
    margin-top: 24px;
    font-size: 1.25rem;
}

.contact-list__item {
    padding: 14px 0;
    border-top: 2px dashed rgba(251, 243, 218, .2);
    display: flex;
    gap: 14px;
    align-items: baseline;
    flex-wrap: wrap;
}

.contact-list__item:last-child {
    border-bottom: 2px dashed rgba(251, 243, 218, .2)
}

/* start of a new person's block (Libor) — a bolder, solid divider */
.contact-list__item--group {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 3px solid rgba(251, 243, 218, .4);
}

.contact-list__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #C9BC85;
    min-width: 90px;
}

/* name under the "Telefon" label — plain, not the uppercase label style */
.contact-list__note {
    font-size: .85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--color-text-muted-dark);
}

.contact-list a {
    align-self: center;
    font-weight: 700;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline
}

/* --------------------------------------------------------------------------
   back-to-top — floating button, revealed once scrolled down the page
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: clamp(16px, 4vw, 40px);
    bottom: clamp(16px, 4vw, 40px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: 3px solid var(--color-propolis);
    background: var(--color-honey);
    color: var(--color-propolis);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, opacity .2s ease;
}

.back-to-top[hidden] {
    display: none;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--color-propolis);
}

.back-to-top__icon {
    display: block;
}

/* --------------------------------------------------------------------------
   error — 404 page (404.php): a full-screen hero with the bees gone
   -------------------------------------------------------------------------- */
.hero--error {
    min-height: min(88svh, 860px);
}

.error {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-block: clamp(96px, 16vh, 160px) clamp(48px, 8vh, 96px);
}

/* "4⬡4" — the zero is an empty honeycomb cell */
.error__code {
    display: flex;
    align-items: center;
    gap: .06em;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(5.5rem, 16vw, 11rem);
    line-height: 1;
    color: var(--color-propolis);
    /* plain, upright digits — no soft/wonky Fraunces quirks */
    font-variation-settings: "SOFT" 0, "WONK" 0;
    margin-bottom: 24px;
}

.error__cell {
    width: .66em;
    height: .76em;
}

.error__cell path {
    fill: var(--color-honey);
    stroke: var(--color-propolis);
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-dasharray: 7 5;
}

.error__title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.error__title em {
    font-style: normal;
    color: var(--color-honey-dark);
}

.error__text {
    margin-top: 22px;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    max-width: 32em;
    color: var(--color-text-muted);
}

.error__actions {
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Responsive — Bootstrap breakpoint md (768): stacks the hero and
   collapses the topbar into the hamburger menu
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns:1fr;
        padding-top: 40px;
    }

    .sign-scene {
        justify-self: center;
        margin-block: 48px;
    }

    .footer__grid {
        grid-template-columns:1fr
    }

    .topbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        /* above the fullscreen menu overlay's context so it clears hero content */
        z-index: 40;
    }

    /* one row: brand left, then phone icon + hamburger on the right */
    .topbar__toggle {
        display: flex;
        order: 2;
        /* stays clickable on top of the open overlay (as a close button) */
        position: relative;
        z-index: 60;
    }

    /* collapse the numbers to a single phone icon linking to #contact */
    .topbar__contact {
        order: 1;
        margin-left: auto;
    }

    .topbar__phones {
        display: none;
    }

    .topbar__contact-icon {
        padding: 6px;
    }

    /* text menu collapses behind the hamburger; opens as a fullscreen overlay */
    .topbar__nav {
        display: none;
    }

    .topbar__nav.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 50;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 24px;
        background: var(--color-pollen);
    }

    .topbar__nav.is-open .topbar__link {
        font-family: var(--font-serif);
        font-size: 2rem;
        font-weight: 700;
        padding: 6px 0;
        border-bottom: none;
    }
}