/*
 * Simple Things – návrh D (Figma gUMqVzAMLr9qG6OdS4t43m, uzly 46:131 / 46:240).
 * Mobile-first, desktop od 900 px. Odchylky od návrhu kvůli kontrastu WCAG AA viz README.
 */

:root {
    --cream: #fcf6e8;
    --paper: #fffdf8;
    --sand: #f0e3cc;
    --ink: #1d1311;
    --ink-soft: #251d1b;
    --espresso: #3a2622;
    --burgundy: #783338;
    --burgundy-deep: #6a2a2f;
    --salmon: #e0a18c;
    --olive: #5c6b54;
    --teal: #40b8b8;
    --purple: #5438dc;
    --blush: #d8b5b4;
    --muted: #6e7163;

    --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --label: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;

    --max: 1280px;
    --gutter: 20px;
    --header-h: 68px;
    --focus: var(--ink);
}

@media (min-width: 900px) {
    :root {
        --gutter: 40px;
        --header-h: 84px;
    }
}

/* ---------- Základ ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--label);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

/* Přepínání obsahu mobil / desktop podle návrhu */
.d-only,
.d-only-flex {
    display: none !important;
}

.m-only-flex {
    display: flex;
}

@media (min-width: 900px) {
    .d-only {
        display: inline !important;
    }

    .d-only-flex {
        display: inline-flex !important;
    }

    .m-only,
    .m-only-flex {
        display: none !important;
    }
}

/* ---------- Typografické prvky ---------- */

.eyebrow {
    margin-bottom: 18px;
    color: var(--burgundy);
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Návrh má #b97775 na lososové (2,2:1) – ztmaveno na 4,9:1. */
.eyebrow--menu {
    color: var(--burgundy-deep);
}

.eyebrow--light {
    color: var(--cream);
}

.section-title {
    font-size: clamp(42px, 9vw, 44px);
    line-height: 1.02;
}

@media (min-width: 900px) {
    .section-title {
        font-size: clamp(44px, 3.8vw, 54px);
    }
}

/* ---------- Tlačítka ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 48px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    font-family: var(--label);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--espresso);
    color: var(--cream);
}

.btn--primary:hover {
    background: var(--ink);
}

.btn--burgundy {
    background: var(--burgundy);
    color: var(--cream);
}

.btn--burgundy:hover {
    background: var(--burgundy-deep);
}

.btn--secondary {
    background: var(--cream);
    color: var(--burgundy);
}

.btn--secondary:hover {
    background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* ---------- Hlavička ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    border-bottom: 1px solid rgba(120, 51, 56, 0.12);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
}

.logo {
    margin-right: auto;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--espresso);
    cursor: pointer;
}

.nav-toggle img {
    width: 20px;
    height: 20px;
}

.site-header__cta {
    display: none;
}

.site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 8px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 1px solid rgba(120, 51, 56, 0.12);
    box-shadow: 0 18px 30px -24px rgba(29, 19, 17, 0.5);
}

.site-nav.is-open {
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    display: block;
}

.site-nav ul {
    display: flex;
    flex-direction: column;
}

.site-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(120, 51, 56, 0.12);
    font-family: var(--label);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--burgundy);
}

/* Bez JS: navigace zůstane viditelná pod logem. */
.no-js .nav-toggle {
    display: none;
}

.no-js .site-header__inner {
    flex-wrap: wrap;
}

.no-js .site-nav {
    position: static;
    display: block;
    flex-basis: 100%;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
}

.no-js .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.no-js .site-nav a {
    padding: 6px 0;
    border: 0;
}

@media (min-width: 1151px) {
    .nav-toggle,
    .no-js .nav-toggle {
        display: none;
    }

    .site-nav,
    .no-js .site-nav {
        position: static;
        display: block;
        flex-basis: auto;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .site-nav ul,
    .no-js .site-nav ul {
        flex-direction: row;
        gap: 34px;
    }

    .site-nav a,
    .no-js .site-nav a {
        padding: 6px 0;
        border: 0;
        font-size: 12px;
    }

    .site-nav__menu-link {
        display: none;
    }

    .site-header__cta {
        display: inline-flex;
        min-height: 42px;
        padding: 12px 24px;
    }
}

/* ---------- Hero ---------- */

.hero {
    padding: 28px 0 40px;
}

.hero__grid {
    display: flex;
    flex-direction: column;
}

.hero__copy {
    display: contents;
}

.hero__eyebrow {
    order: 1;
}

.hero__title {
    order: 2;
    margin-bottom: 28px;
    font-size: clamp(48px, 13.5vw, 54px);
    line-height: 0.98;
}

.hero__lead {
    order: 3;
    margin-bottom: 20px;
    font-size: 14px;
}

.chips {
    display: none;
}

.hero__photo {
    order: 4;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 356 / 262;
}

.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

.hero__actions {
    order: 5;
    display: flex;
    flex-direction: column-reverse;
    gap: 18px;
}

.hero__divider {
    display: none;
}

.isic-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 18px 6px 6px;
    border-radius: 999px;
    background: var(--teal);
    color: var(--ink);
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.isic-badge,
.isic-pill__badge {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-family: var(--label);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

@media (min-width: 900px) {
    .hero {
        padding: 0;
    }

    .hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
        max-width: none;
        min-height: clamp(640px, calc(100vh - var(--header-h) - 44px), 820px);
        padding: 0;
    }

    .hero__copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 72px 56px 72px max(var(--gutter), calc((100vw - var(--max)) / 2));
    }

    .hero__eyebrow {
        margin-bottom: 26px;
    }

    .hero__title {
        margin-bottom: 26px;
        font-size: clamp(60px, 5.4vw, 78px);
        line-height: 0.95;
    }

    .hero__lead {
        max-width: 440px;
        margin-bottom: 34px;
        font-size: 18px;
    }

    .chips {
        order: 4;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        max-width: 560px;
        margin-bottom: 32px;
    }

    .chip {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 14px 14px 16px;
        border-radius: 12px;
        background: var(--sand);
        font-size: 12px;
        line-height: 1.35;
    }

    .chip strong {
        font-family: var(--label);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .chip span {
        color: var(--muted);
    }

    .hero__actions {
        order: 5;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .isic-strip {
        align-self: stretch;
        max-width: 560px;
        font-size: 12px;
    }

    .hero__divider {
        display: block;
        margin-block: 72px;
        background: var(--burgundy);
        opacity: 0.35;
    }

    .hero__photo {
        margin: 0;
        border-radius: 0;
        aspect-ratio: auto;
    }
}

/* ---------- Ticker ---------- */

.ticker {
    overflow: hidden;
    background: var(--burgundy);
    color: var(--cream);
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 36s linear infinite;
}

.ticker__track span {
    padding: 14px 0 14px 0.6em;
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track {
        animation: none;
    }
}

/* ---------- Nabídka ---------- */

.menu-section {
    padding: 56px 0 64px;
    background: var(--salmon);
    color: var(--ink);
}

.menu-section__intro .section-title {
    margin-bottom: 28px;
}

.menu-section__text {
    display: none;
}

.isic-card {
    display: none;
}

.menu-cards {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.menu-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name price"
        "desc price";
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    padding: 18px 16px;
    border-radius: 14px;
    background: var(--paper);
}

.menu-card__name {
    grid-area: name;
    font-size: 27px;
    line-height: 1.05;
}

.menu-card__desc {
    grid-area: desc;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.menu-card__price {
    grid-area: price;
    font-family: var(--label);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.isic-pill {
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 6px 18px 6px 6px;
    border-radius: 999px;
    background: var(--teal);
    color: var(--ink);
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (min-width: 900px) {
    .menu-section {
        padding: 96px 0 104px;
    }

    .menu-section__top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
        align-items: end;
        gap: 56px;
        margin-bottom: 56px;
    }

    .menu-section__intro .section-title {
        margin-bottom: 22px;
    }

    .menu-section__text {
        display: block;
        max-width: 460px;
        margin-bottom: 30px;
        font-size: 16px;
    }

    .isic-card {
        position: relative;
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 22px;
        padding: 28px 28px 30px;
        border-radius: 24px;
        background: var(--teal);
        color: var(--ink);
    }

    .isic-card__badge {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 88px;
        height: 88px;
        border-radius: 50%;
        background: var(--purple);
        color: #fff;
        font-family: var(--label);
        line-height: 1.1;
    }

    .isic-card__badge span {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
    }

    .isic-card__badge strong {
        font-size: 20px;
        font-weight: 600;
    }

    .isic-card__eyebrow {
        margin-bottom: 8px;
        color: var(--ink);
        font-family: var(--label);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .isic-card__title {
        margin-bottom: 10px;
        font-family: var(--serif);
        font-size: 30px;
        font-weight: 500;
        line-height: 1.02;
    }

    .isic-card__text {
        max-width: 250px;
        color: var(--ink);
        font-size: 13px;
    }

    .isic-card__big {
        position: absolute;
        right: 28px;
        bottom: 20px;
        color: var(--ink);
        font-family: var(--serif);
        font-size: 44px;
        font-weight: 600;
        line-height: 1;
    }

    .menu-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        margin: 0;
    }

    .menu-card {
        grid-template-areas:
            "name price"
            "desc desc";
        align-items: start;
        align-content: start;
        row-gap: 14px;
        min-height: 200px;
        padding: 28px 26px 44px;
        border: 1px solid var(--burgundy);
        border-radius: 22px;
        position: relative;
    }

    .menu-card::after {
        content: "";
        position: absolute;
        right: 26px;
        bottom: 24px;
        left: 26px;
        height: 1px;
        background: rgba(120, 51, 56, 0.25);
    }

    .menu-card__name {
        font-size: 32px;
    }

    .menu-card__price {
        padding-top: 8px;
        font-size: 14px;
    }

    .menu-card__desc {
        max-width: 300px;
        font-size: 14px;
    }
}

/* ---------- Náš příběh ---------- */

.story {
    --focus: var(--cream);
    padding: 40px 0 56px;
    background: var(--olive);
    color: var(--cream);
}

.story__photo {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 120px 26px 26px 26px;
    aspect-ratio: 356 / 300;
}

.story__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story__card .eyebrow {
    color: var(--cream);
}

.story__card .section-title {
    margin-bottom: 20px;
}

.story__text {
    font-size: 14px;
}

@media (min-width: 900px) {
    .story {
        padding: 40px 0;
    }

    .story__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .story__photo {
        grid-area: 1 / 1;
        margin: 0;
        position: relative;
        border-radius: 36px;
        aspect-ratio: auto;
        min-height: 540px;
    }

    .story__photo img {
        position: absolute;
        inset: 0;
    }

    .story__card {
        --focus: var(--ink);
        grid-area: 1 / 1;
        justify-self: end;
        align-self: stretch;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: min(39%, 480px);
        margin: 26px 64px 26px 0;
        padding: 36px 32px;
        background: var(--cream);
        color: var(--ink);
    }

    .story__card .eyebrow {
        color: var(--burgundy);
    }

    .story__card .section-title {
        margin-bottom: 22px;
    }

    .story__text {
        font-size: 15px;
    }
}

/* ---------- Galerie ---------- */

.gallery {
    padding: 56px 0 72px;
    overflow: hidden;
}

.gallery__inner {
    position: relative;
}

.gallery__title {
    max-width: 8em;
    margin-bottom: 32px;
}

.gallery__grid {
    position: relative;
    display: grid;
    grid-template-columns: 58% 42%;
    padding-bottom: 60px;
}

.gallery__grid::after {
    content: "";
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 36%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--blush);
    z-index: 0;
}

.gallery__item {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 26px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__item--drinks {
    display: none;
}

.gallery__item--raspberry {
    grid-column: 1;
    grid-row: 1;
    margin-top: 40px;
    aspect-ratio: 206 / 240;
}

.gallery__item--avocado {
    grid-column: 2;
    grid-row: 1;
    margin-left: -8%;
    aspect-ratio: 150 / 210;
    z-index: 2;
}

@media (min-width: 900px) {
    .gallery {
        padding: 104px 0 112px;
    }

    .gallery__title {
        max-width: none;
        margin-bottom: 48px;
    }

    .gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        padding: 0;
    }

    .gallery__grid::after {
        display: none;
    }

    .gallery__item,
    .gallery__item--drinks,
    .gallery__item--raspberry,
    .gallery__item--avocado {
        display: block;
        grid-column: auto;
        grid-row: auto;
        margin: 0;
        border-radius: 28px;
        aspect-ratio: 4 / 5;
    }
}

/* ---------- Kde nás najdete ---------- */

.visit {
    --focus: var(--cream);
    padding: 56px 0 64px;
    background: var(--burgundy);
    color: var(--cream);
}

.visit__inner {
    display: flex;
    flex-direction: column;
}

.visit__copy {
    display: contents;
}

.visit__copy .section-title {
    margin-bottom: 22px;
}

.visit__address {
    margin-bottom: 28px;
    font-size: 14px;
}

.visit__address a {
    text-underline-offset: 3px;
}

.visit__street {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.15;
}

.visit__area {
    display: block;
    margin-top: 10px;
    color: rgba(252, 246, 232, 0.8);
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visit__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 14px;
}

.visit__actions {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.visit__link {
    font-family: var(--label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-underline-offset: 4px;
}

.visit__link:hover {
    text-decoration-thickness: 2px;
}

.hours-card {
    --focus: var(--ink);
    order: 1;
    margin-bottom: 28px;
    padding: 26px 22px;
    border-radius: 24px;
    background: var(--cream);
    color: var(--ink);
}

.hours-card__title {
    margin-bottom: 18px;
    font-size: 30px;
}

.hours-card__list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.hours-card__list div {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.hours-card__list dt {
    min-width: 52px;
    font-family: var(--label);
    font-weight: 600;
    text-transform: uppercase;
}

.hours-card__list dd {
    margin: 0;
}

.hours-card__list .is-today dt,
.hours-card__list .is-today dd {
    color: var(--burgundy);
    font-weight: 700;
}

.hours-card__ig {
    display: none;
}

@media (min-width: 900px) {
    .visit {
        padding: 104px 0;
    }

    .visit__inner {
        display: grid;
        grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
        align-items: center;
        gap: 96px;
    }

    .visit__copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        grid-column: 2;
        grid-row: 1;
    }

    .visit__address {
        margin-bottom: 34px;
        font-size: 18px;
    }

    .visit__street {
        font-size: 34px;
    }

    .visit__area {
        font-size: 12px;
    }

    .hours-card {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        padding: 48px 44px;
        border-radius: 36px;
    }

    .hours-card__title {
        margin-bottom: 30px;
        font-size: 42px;
    }

    .hours-card__list {
        gap: 0;
        margin-bottom: 30px;
    }

    .hours-card__list div {
        justify-content: space-between;
        padding: 16px 0;
        border-bottom: 1px solid rgba(120, 51, 56, 0.2);
        font-size: 16px;
    }

    .hours-card__ig {
        display: inline-block;
        color: var(--burgundy);
        font-family: var(--label);
        font-size: 13px;
        font-weight: 600;
        text-underline-offset: 3px;
    }
}

/* ---------- Patička ---------- */

.site-footer {
    --focus: var(--cream);
    padding: 48px 0 32px;
    background: var(--ink);
    color: var(--cream);
}

.site-footer__inner {
    display: grid;
    gap: 28px;
}

.site-footer__brand {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
    line-height: 1.02;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.site-footer__nav a {
    font-family: var(--label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer__nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    color: rgba(252, 246, 232, 0.72);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 900px) {
    .site-footer {
        padding: 88px 0 40px;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 64px 48px;
    }

    .site-footer__brand {
        font-size: 64px;
    }

    .site-footer__nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
    }

    .site-footer__meta {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 28px;
        border-top: 1px solid rgba(252, 246, 232, 0.16);
    }
}

/* ---------- Stránka menu ---------- */

.menu-page {
    padding: 36px 0 72px;
}

.breadcrumbs {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    text-underline-offset: 3px;
}

.menu-page .section-title {
    margin-bottom: 18px;
    font-size: clamp(48px, 7vw, 72px);
}

.menu-page__lead {
    max-width: 560px;
    margin-bottom: 24px;
    font-size: 16px;
}

.menu-page .isic-pill {
    display: inline-flex;
    margin-bottom: 40px;
}

.menu-page__empty {
    padding: 28px;
    border-radius: 22px;
    background: var(--paper);
}

.menu-group {
    margin-bottom: 44px;
}

.menu-group__title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--burgundy);
    color: var(--burgundy);
    font-size: 34px;
}

.menu-list {
    display: grid;
    gap: 2px;
}

.menu-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(120, 51, 56, 0.25);
}

.menu-list__name {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
}

.menu-list__desc {
    margin-top: 2px;
    color: var(--muted);
    font-size: 14px;
}

.menu-list__price {
    font-family: var(--label);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.menu-page__back {
    margin-top: 16px;
}

.menu-page__back .btn--secondary {
    background: var(--espresso);
    color: var(--cream);
}

@media (min-width: 900px) {
    .menu-page {
        padding: 64px 0 112px;
    }

    .menu-page > .container {
        max-width: calc(880px + 2 * var(--gutter));
    }
}

/* ---------- Kurzy ---------- */

.courses-page {
    padding: 36px 0 72px;
}

.courses-page .section-title {
    margin-bottom: 18px;
    font-size: clamp(48px, 7vw, 72px);
}

.courses-page__lead {
    max-width: 620px;
    margin-bottom: 34px;
    font-size: 16px;
}

.course-list {
    display: grid;
    gap: 18px;
}

.course-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(120, 51, 56, 0.16);
    border-radius: 20px;
    background: var(--paper);
}

.course-card__date {
    display: grid;
    align-content: start;
    color: var(--burgundy);
    font-family: var(--label);
    font-size: 13px;
    text-align: center;
}

.course-card__date time span {
    display: block;
    font-family: var(--serif);
    font-size: 42px;
    line-height: 1;
}

.course-card__content h2 {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 500;
    line-height: 1.1;
}

.course-card__content > p {
    margin-bottom: 14px;
    color: var(--muted);
    white-space: pre-line;
}

.course-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

@media (min-width: 900px) {
    .courses-page {
        padding: 64px 0 112px;
    }

    .courses-page > .container {
        max-width: calc(880px + 2 * var(--gutter));
    }
}

@media (max-width: 560px) {
    .course-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 14px;
    }

    .course-card__date time span {
        font-size: 34px;
    }
}

/* ---------- Otevřeno teď ---------- */

.open-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(29, 19, 17, 0.06);
    color: var(--ink);
    font-family: var(--label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
}

a.open-status:hover {
    background: rgba(29, 19, 17, 0.1);
}

.open-status__dot {
    position: relative;
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--muted);
}

.open-status.is-open .open-status__dot {
    background: #3f7a3a;
}

.open-status.is-open .open-status__dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(63, 122, 58, 0.45);
    animation: open-pulse 2.4s ease-out infinite;
}

@keyframes open-pulse {
    0% {
        opacity: 1;
        transform: scale(0.6);
    }

    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.open-status--card {
    margin: -6px 0 18px;
    background: rgba(120, 51, 56, 0.08);
}

@media (min-width: 900px) {
    .open-status--card {
        margin: -12px 0 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .open-status.is-open .open-status__dot::after {
        animation: none;
        opacity: 0;
    }
}

/* ---------- Postupné odhalení při scrollu (jen s JS a bez omezeného pohybu) ---------- */

.js-reveal [data-reveal]:not(ul),
.js-reveal ul[data-reveal] > li {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-reveal [data-reveal].is-visible:not(ul),
.js-reveal ul[data-reveal].is-visible > li {
    opacity: 1;
    transform: none;
}

.js-reveal ul[data-reveal] > li:nth-child(2) {
    transition-delay: 0.1s;
}

.js-reveal ul[data-reveal] > li:nth-child(3) {
    transition-delay: 0.2s;
}

@media print {
    .js-reveal [data-reveal]:not(ul),
    .js-reveal ul[data-reveal] > li {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Chybové stránky ---------- */

.error-page {
    display: grid;
    min-height: 60vh;
    place-items: center;
    padding: 72px 0;
    text-align: center;
}

.error-page .section-title {
    margin-bottom: 16px;
    font-size: clamp(48px, 8vw, 78px);
}

.error-page p {
    max-width: 520px;
    margin: 0 auto 28px;
}

.error-page p:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

/* Recepty a spravované fotografie: zachovávají původní typografii a barvy. */
.recipes-page { padding: 36px 0 72px; }
.recipes-page .section-title { font-size: clamp(42px, 6vw, 72px); margin-bottom: 22px; max-width: 14em; overflow-wrap: anywhere; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 26px; }
.recipe-card { background: var(--paper); border: 1px solid var(--sand); border-radius: 24px; overflow: hidden; }
.recipe-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.recipe-card__link:focus-visible { outline: 3px solid var(--burgundy); outline-offset: -4px; }
.recipe-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recipe-card__body { padding: 24px; display: flex; flex: 1; flex-direction: column; gap: 14px; overflow-wrap: anywhere; }
.recipe-card h2, .recipe-method h2 { font-family: var(--serif); font-size: 34px; line-height: 1.15; font-weight: 500; }
.recipe-card__body > p { margin: 0; }
.recipe-card__action { display: block; margin-top: auto; color: var(--burgundy); font-weight: 700; padding: 12px 0; }
.recipe-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.recipe-detail > .container { max-width: calc(960px + 2 * var(--gutter)); }
.recipe-detail__image { width: 100%; max-height: 600px; object-fit: cover; border-radius: 26px; margin: 10px 0 36px; }
.recipe-method { display: grid; gap: 32px; margin: 30px 0 40px; overflow-wrap: anywhere; }
.recipe-method h2 { margin-bottom: 20px; }
.recipe-ingredients { background: var(--paper); border: 1px solid var(--sand); border-radius: 24px; padding: 24px; align-self: start; }
.recipe-ingredients ul { padding-left: 22px; }
.recipe-ingredients li { padding: 8px 0; }
.recipe-steps { list-style: decimal; padding-left: 28px; }
.recipe-steps li { padding: 0 0 22px 8px; line-height: 1.7; }
.recipe-steps li::marker { font-weight: 700; color: var(--burgundy); }
.course-card__image { grid-column: 1 / -1; width: 100%; max-height: 460px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.gallery__grid--editable { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; }
.gallery__grid--editable::after { display: none; }
.gallery__grid--editable .gallery__item { aspect-ratio: auto; }
.gallery__grid--editable figure { margin: 0; }
.gallery__grid--editable img { display: block; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__grid--editable figcaption { padding: 12px 14px; background: var(--paper); font-size: 13px; overflow-wrap: anywhere; }
@media (min-width: 900px) {
    .recipes-page { padding: 64px 0 112px; }
    .recipe-method { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 48px; }
    .gallery__grid--editable { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media print {
    .recipe-detail .breadcrumbs, .recipe-detail .menu-page__back, .site-header, .site-footer { display: none; }
    .recipe-detail__image { max-height: 250px; }
    .recipe-method { display: block; }
}

/* Ilustrovaný průvodce přípravou – typografie a materiály Simple Things. */
.recipe-guide > .container { max-width: 1280px; }
.recipe-hero { display: grid; gap: 32px; align-items: center; margin: 28px 0 64px; }
.recipe-hero__copy .section-title { font-size: clamp(48px, 6vw, 84px); line-height: .98; margin: 20px 0 24px; max-width: 10em; }
.recipe-hero__intro { color: var(--ink-soft); line-height: 1.8; max-width: 34em; white-space: normal; }
.recipe-hero__photo { position: relative; margin: 0; }
.recipe-hero__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 120px 24px 24px 24px; }
.recipe-hero__photo figcaption { position: absolute; bottom: 20px; left: 20px; right: 20px; width: fit-content; background: var(--cream); border-radius: 30px; padding: 12px 20px; font-family: var(--serif); font-size: 23px; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px 0; margin: 26px 0 8px; border-top: 1px solid var(--sand); }
.recipe-facts > div { padding-right: 24px; border-right: 1px solid var(--sand); }
.recipe-facts > div:last-child { border: 0; }
.recipe-facts dt { text-transform: uppercase; font-family: var(--label); font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.recipe-facts dd { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.recipe-facts dd span { font-size: 20px; }
.recipe-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.recipe-hero__actions .btn { gap: 12px; }
.recipe-workspace { display: grid; gap: 40px; align-items: start; }
.recipe-pantry { min-width: 0; }
.recipe-section-label { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--label); font-size: 10px; color: var(--burgundy); margin-bottom: 18px; }
.recipe-section-label > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--sand); border-radius: 50%; letter-spacing: 0; }
.recipe-shopping { background: var(--paper); border: 1px solid var(--sand); border-radius: 24px; padding: 26px; }
.recipe-shopping h2 { font-family: var(--serif); font-size: 34px; line-height: 1.05; font-weight: 500; margin-bottom: 10px; }
.recipe-shopping__yield { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.ingredient-checklist { list-style: none; padding: 0; margin: 18px 0; }
.ingredient-checklist li + li { border-top: 1px solid var(--sand); }
.ingredient-checklist label { display: flex; align-items: start; gap: 12px; min-height: 48px; padding: 14px 0; cursor: pointer; font-size: 14px; line-height: 1.6; }
.ingredient-checklist input, .step-done input { width: 19px; height: 19px; flex: 0 0 19px; margin: 2px 0 0; accent-color: var(--olive); }
.ingredient-checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.recipe-text-button { background: transparent; border: 0; padding: 12px 0; font: inherit; font-size: 12px; text-decoration: underline; color: var(--burgundy); cursor: pointer; }
.recipe-outline { padding: 28px 8px; }
.recipe-outline ol { list-style: none; margin: 0; padding: 0; }
.recipe-outline a { display: flex; align-items: baseline; gap: 14px; min-height: 44px; padding: 10px 0; font-size: 13px; line-height: 1.5; text-decoration: none; color: var(--ink); }
.recipe-outline a > span { color: var(--burgundy); font-size: 10px; font-family: var(--label); }
.recipe-outline a:hover { color: var(--burgundy); text-decoration: underline; }
.recipe-process { min-width: 0; scroll-margin-top: 110px; }
.recipe-process__heading { margin-bottom: 28px; }
.recipe-process__heading h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 500; line-height: 1.08; margin-bottom: 14px; }
.recipe-process__heading > p { color: var(--muted); font-size: 13px; }
.illustrated-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.method-step { background: var(--paper); border: 1px solid var(--sand); border-radius: 24px; padding: 24px; scroll-margin-top: 110px; overflow-wrap: anywhere; }
.method-step__heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.method-step__number { display: inline-grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; background: var(--burgundy); color: var(--cream); font-family: var(--serif); font-size: 26px; }
.method-step__eyebrow { font-family: var(--label); text-transform: uppercase; font-size: 9px; letter-spacing: .1em; color: var(--muted); margin-bottom: 5px; }
.method-step h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.05; margin: 0; }
.method-step__time { margin-left: auto; white-space: nowrap; padding: 8px 10px; background: var(--cream); border-radius: 20px; font-family: var(--label); font-size: 11px; }
.method-step__content { display: grid; gap: 22px; }
.method-step__body { font-size: 15px; line-height: 1.85; margin: 0; }
.method-step__photo { margin: 0; }
.method-step__photo a { display: block; position: relative; border-radius: 16px; overflow: hidden; }
.method-step__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.method-step__zoom { position: absolute; right: 10px; bottom: 10px; font-family: var(--label); font-size: 10px; border-radius: 20px; padding: 9px 12px; background: var(--cream); color: var(--ink); }
.kitchen-tip { display: flex; gap: 12px; padding: 18px; margin-top: 20px; border-left: 3px solid var(--olive); background: #f1f3e9; border-radius: 0 12px 12px 0; color: var(--espresso); }
.kitchen-tip__mark { color: var(--olive); font-size: 24px; }
.kitchen-tip strong { font-size: 11px; display: block; margin-bottom: 7px; }
.kitchen-tip p { font-size: 13px; line-height: 1.7; margin: 0; }
.method-step__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--sand); }
.step-done { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; font-size: 12px; color: var(--muted); }
.method-step.is-done { border-color: var(--olive); }
.method-step.is-done .method-step__number { background: var(--olive); }
.step-timer { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.step-timer button, .cook-controls button { border: 1px solid var(--sand); border-radius: 30px; background: var(--cream); color: var(--burgundy); font: inherit; font-size: 12px; padding: 11px 15px; min-height: 44px; cursor: pointer; }
.step-timer output { font-variant-numeric: tabular-nums; font-weight: 600; }
.cook-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 16px; margin-bottom: 24px; background: var(--sand); border-radius: 20px; font-family: var(--label); }
.cook-controls > span { text-align: center; font-size: 11px; }
.cook-controls progress { grid-column: 1 / -1; width: 100%; height: 5px; accent-color: var(--burgundy); border: 0; }
.recipe-guide [hidden] { display: none !important; }
.recipe-guide button:disabled { opacity: .4; cursor: default; }
.recipe-finish { margin-top: 32px; display: flex; align-items: start; gap: 20px; border-radius: 24px; background: var(--burgundy); color: var(--cream); padding: 28px; }
.recipe-finish > span { font-size: 42px; color: var(--salmon); }
.recipe-finish h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 10px; line-height: 1.1; }
.recipe-finish p { font-size: 13px; margin: 0; line-height: 1.6; }
.recipe-photo-dialog { max-width: min(92vw, 1100px); max-height: 92vh; padding: 14px; border: 0; border-radius: 20px; background: var(--paper); }
.recipe-photo-dialog::backdrop { background: rgba(29,19,17,.8); }
.recipe-photo-dialog img { max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; display: block; border-radius: 10px; }
.recipe-photo-dialog button { display: block; margin: 0 0 10px auto; border: 0; border-radius: 20px; padding: 12px 20px; background: var(--burgundy); color: white; cursor: pointer; font: inherit; font-size: 12px; }
@media (min-width: 900px) {
    .recipe-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 60px; margin-bottom: 80px; }
    .recipe-hero--text { grid-template-columns: 1fr; }
    .recipe-workspace { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
    .recipe-pantry { position: sticky; top: 110px; }
    .method-step { padding: 28px; }
    .method-step__content--photo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .recipe-hero { margin-bottom: 36px; }
    .recipe-hero__photo img { border-radius: 70px 20px 20px 20px; }
    .recipe-facts { gap: 16px; }
    .recipe-facts > div { padding-right: 16px; }
    .recipe-facts dd { font-size: 25px; }
    .recipe-outline { display: none; }
    .method-step { padding: 20px; }
    .method-step__heading { gap: 10px; flex-wrap: wrap; }
    .method-step h3 { font-size: 28px; }
    .method-step__number { width: 42px; height: 42px; flex-basis: 42px; }
    .method-step__time { margin-left: 52px; }
    .cook-controls { padding: 12px; gap: 8px; }
    .cook-controls button { padding: 10px; font-size: 11px; }
}
@media print {
    .recipe-hero__actions, .recipe-outline, .cook-controls, .method-step__footer, .recipe-text-button, .recipe-photo-dialog { display: none !important; }
    .recipe-guide [data-method-step][hidden] { display: block !important; }
    .recipe-workspace, .recipe-hero { display: block; }
    .recipe-pantry { position: static; }
    .recipe-hero__photo img { max-height: 220px; width: auto; }
    .method-step { break-inside: avoid; }
    .method-step__photo img { max-height: 200px; width: auto; }
}

.cook-controls .cook-controls__exit { grid-column: 1 / -1; justify-self: end; background: transparent; border: 0; padding: 5px 0; min-height: 44px; text-decoration: underline; font-size: 12px; }
@media (min-width: 900px) { .recipe-pantry { max-height: calc(100dvh - 130px); overflow-y: auto; scrollbar-width: thin; } }
