:root {
    --bg: #f6efe4;
    --bg-soft: rgba(255, 250, 242, 0.82);
    --surface: #fffaf2;
    --surface-strong: #ffffff;
    --ink: #193637;
    --muted: #5d726e;
    --line: rgba(25, 54, 55, 0.12);
    --brand: #0f6a66;
    --brand-strong: #0b4f4c;
    --accent: #d66a45;
    --accent-soft: rgba(214, 106, 69, 0.12);
    --shadow: 0 22px 50px rgba(42, 56, 53, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(214, 106, 69, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 106, 102, 0.16), transparent 26%),
        linear-gradient(180deg, #fcf6eb 0%, #f7efe5 52%, #fefbf6 100%);
    font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--brand-strong);
    color: #fff;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.page-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 2.5rem;
}

.topbar {
    position: sticky;
    top: 0.75rem;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: calc(var(--radius-lg) + 4px);
    background: rgba(255, 250, 242, 0.78);
    box-shadow: 0 14px 35px rgba(38, 47, 45, 0.08);
    backdrop-filter: blur(18px);
    transition: padding 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

body.is-scrolled .topbar {
    box-shadow: 0 18px 45px rgba(38, 47, 45, 0.14);
}

.topbar__spacer {
    min-width: 1px;
}

.brand {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    grid-column: 2;
}

.brand__eyebrow,
.browser__eyebrow,
.section-heading__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.brand__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand__logo {
    display: block;
    width: min(190px, 32vw);
    height: auto;
    transition: width 0.22s ease, transform 0.22s ease;
}

.brand__title {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    grid-column: 3;
    justify-self: end;
}

.menu-toggle,
.mobile-menu-overlay,
.mobile-drawer {
    display: none;
}

.lang-switcher__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
}

.lang-switcher__buttons {
    display: inline-flex;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    background: rgba(15, 106, 102, 0.08);
}

.lang-switcher__button {
    border: 0;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--brand-strong);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-switcher__button:hover,
.lang-switcher__button:focus-visible {
    background: rgba(15, 106, 102, 0.12);
    outline: none;
}

.lang-switcher__button.is-active {
    background: var(--brand-strong);
    color: #fff;
}

.menu-toggle {
    grid-column: 3;
    justify-self: end;
    width: 3rem;
    height: 3rem;
    padding: 0.65rem;
    border: 1px solid rgba(25, 54, 55, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(18, 31, 31, 0.12);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0.22rem 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(18, 31, 31, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: min(340px, 88vw);
    padding: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(250, 245, 236, 0.96);
    box-shadow: -18px 0 42px rgba(16, 28, 27, 0.16);
    backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.24s ease;
    overflow-y: auto;
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-drawer__eyebrow,
.mobile-drawer__label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.mobile-drawer__close {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 106, 102, 0.08);
    color: var(--brand-strong);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-drawer__block + .mobile-drawer__block {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(25, 54, 55, 0.1);
}

.mobile-drawer__label {
    margin: 0 0 0.8rem;
}

.mobile-drawer__nav {
    display: grid;
    gap: 0.65rem;
}

.mobile-drawer__link {
    width: 100%;
    text-align: left;
}

body.is-menu-open {
    overflow: hidden;
}

body.is-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.is-menu-open .mobile-drawer {
    transform: translateX(0);
}

body.is-menu-open .menu-toggle {
    background: rgba(11, 25, 26, 0.92);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body.is-menu-open .menu-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.is-menu-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

body.is-menu-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
    gap: 1.4rem;
    align-items: stretch;
    margin-bottom: 1.8rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 10% -1rem auto auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 106, 69, 0.16), transparent 68%);
    pointer-events: none;
}

.hero__copy,
.hero__panel,
.browser,
.menu-section,
.empty-state,
.page-footer {
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: var(--bg-soft);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero__copy {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: var(--radius-xl);
}

.hero__copy::after {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -4rem;
    width: 220px;
    height: 220px;
    border-radius: 32px;
    transform: rotate(18deg);
    background: linear-gradient(180deg, rgba(15, 106, 102, 0.12), rgba(214, 106, 69, 0.06));
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__title,
.browser__title,
.section-heading__title,
.empty-state__title {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: -0.04em;
}

.hero__title {
    max-width: 12ch;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 0.95;
}

.hero__text,
.browser__text,
.section-heading__text,
.empty-state__text,
.page-footer__text {
    color: var(--muted);
}

.hero__text {
    max-width: 60ch;
    margin: 1.2rem 0 0;
    font-size: 1.05rem;
}

.hero__quote {
    margin: 1.1rem 0 0;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.15rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible,
.download-card__link:hover,
.download-card__link:focus-visible,
.page-footer__link:hover,
.page-footer__link:focus-visible,
.section-nav__link:hover,
.section-nav__link:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button--primary {
    background: var(--brand-strong);
    color: #fff;
    box-shadow: 0 14px 32px rgba(11, 79, 76, 0.2);
}

.button--ghost {
    border: 1px solid rgba(15, 106, 102, 0.18);
    background: rgba(255, 255, 255, 0.56);
    color: var(--brand-strong);
}

.hero__panel {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: var(--radius-xl);
}

.stats-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.stat,
.download-card__link {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
}

.stat {
    display: grid;
    gap: 0.15rem;
}

.stat__value {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
}

.stat__label {
    color: var(--muted);
    font-size: 0.88rem;
}

.download-card {
    display: grid;
    gap: 0.8rem;
}

.download-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    color: var(--brand-strong);
    transition: transform 0.2s ease, background 0.2s ease;
}

.download-card__link::after {
    content: "PDF";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    background: rgba(15, 106, 102, 0.08);
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.browser {
    margin-bottom: 1rem;
    padding: 1.35rem;
    border-radius: 0;
}

.browser__title {
    margin-top: 0.3rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.browser__text {
    max-width: 64ch;
    margin: 0.6rem 0 0;
}

.searchbar {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.3rem;
}

.searchbar__label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.searchbar__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.searchbar__input {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 106, 102, 0.14);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}

.searchbar__input:focus {
    border-color: rgba(15, 106, 102, 0.38);
    outline: 2px solid rgba(15, 106, 102, 0.08);
    outline-offset: 2px;
}

.searchbar__clear {
    border: 0;
    min-height: 3.2rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(15, 106, 102, 0.08);
    color: var(--brand-strong);
    font-weight: 700;
    cursor: pointer;
}

.searchbar__note {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.section-nav {
    position: sticky;
    top: 6.25rem;
    z-index: 20;
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.9rem;
    margin-bottom: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0;
    background: var(--bg-soft);
    box-shadow: 0 16px 38px rgba(38, 47, 45, 0.12);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
}

.section-nav::-webkit-scrollbar {
    display: none;
}

.section-nav__link {
    flex: 0 0 auto;
    padding: 0.78rem 1rem;
    border: 1px solid rgba(15, 106, 102, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.68);
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.section-nav__link.is-active {
    background: var(--brand-strong);
    border-color: transparent;
    color: #fff;
}

.section-nav__link.is-hidden {
    display: none;
}

.empty-state {
    padding: 2rem;
    margin-bottom: 1.6rem;
    border-radius: 0;
    text-align: center;
}

.empty-state__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.empty-state__text {
    margin: 0.5rem auto 0;
    max-width: 42ch;
}

.menu-layout {
    display: grid;
    gap: 1.3rem;
}

.menu-section {
    padding: 1.35rem;
    border-radius: 0;
    scroll-margin-top: 8.4rem;
    animation: fade-up 0.55s ease both;
}

.menu-section:nth-child(2n) {
    background: rgba(255, 249, 240, 0.88);
}

.menu-section:target {
    box-shadow: 0 26px 60px rgba(15, 106, 102, 0.16);
}

.section-heading {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
    min-height: clamp(180px, 26vw, 250px);
    padding: clamp(1.2rem, 3vw, 2rem);
    align-content: end;
    background: linear-gradient(135deg, rgba(15, 106, 102, 0.88), rgba(214, 106, 69, 0.78));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-heading__content {
    max-width: min(100%, 720px);
    padding: 1rem 1.1rem;
    border-top: 2px solid rgba(255, 241, 219, 0.82);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(11, 25, 26, 0.24), rgba(11, 25, 26, 0.1));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(2px);
}

.section-heading .section-heading__eyebrow {
    color: rgba(255, 241, 219, 0.88);
}

.section-heading__title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.section-heading__text {
    max-width: 54ch;
    margin: 0;
    color: rgba(255, 248, 240, 0.86);
}

.menu-section__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.menu-group {
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 106, 102, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(30, 41, 39, 0.08);
}

.menu-group__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-strong);
}

.menu-list {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.menu-item {
    display: grid;
    grid-template-columns: auto minmax(16px, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
}

.menu-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.menu-item__name {
    font-weight: 600;
}

.menu-item__leader {
    display: block;
    height: 1px;
    background-image: linear-gradient(to right, rgba(25, 54, 55, 0.12) 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
}

.menu-item__price {
    font-weight: 800;
    color: var(--brand-strong);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    margin-top: 1.6rem;
    border-radius: 0;
}

.page-footer__text {
    margin: 0;
}

.page-footer__link {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(15, 106, 102, 0.08);
    color: var(--brand-strong);
    font-weight: 700;
}

.back-to-top-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 0;
    border-radius: 50%;
    background: var(--brand-strong);
    color: #fff;
    box-shadow: 0 18px 36px rgba(11, 79, 76, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.back-to-top-float:hover,
.back-to-top-float:focus-visible {
    transform: translateY(-2px);
    background: var(--brand);
    outline: none;
}

.back-to-top-float span {
    font-size: 0;
    line-height: 1;
}

.back-to-top-float span::before {
    content: "\2191";
    font-size: 1.35rem;
    font-weight: 800;
}

[hidden] {
    display: none !important;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .stats-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100%, calc(100% - 1rem));
        padding-top: 0.5rem;
    }

    .topbar {
        top: 0.4rem;
        grid-template-columns: 3rem 1fr 3rem;
        padding: 0.8rem 0.95rem;
    }

    body.is-scrolled .topbar {
        padding: 0.5rem 0.85rem;
    }

    body.is-scrolled .brand__logo {
        width: min(96px, 28vw);
    }

    .topbar__spacer {
        display: block;
        width: 3rem;
        height: 3rem;
    }

    .brand {
        grid-column: 2;
        gap: 0;
    }

    .brand__eyebrow {
        display: none;
    }

    .brand__logo {
        width: min(136px, 38vw);
    }

    .lang-switcher--desktop,
    .section-nav {
        display: none;
    }

    .menu-toggle,
    .mobile-menu-overlay,
    .mobile-drawer {
        display: block;
    }

    .lang-switcher--mobile {
        display: block;
        justify-self: auto;
    }

    .lang-switcher--mobile .lang-switcher__buttons {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem;
        padding: 0.35rem;
    }

    .lang-switcher--mobile .lang-switcher__button {
        width: 100%;
    }

    .hero__copy,
    .hero__panel {
        border-radius: 24px;
    }

    .hero__title {
        max-width: 100%;
    }

    .searchbar__controls {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-section {
        scroll-margin-top: 6rem;
    }

    .page-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .topbar {
        padding: 0.9rem 1rem;
    }

    .hero__copy,
    .hero__panel,
    .browser,
    .menu-section,
    .page-footer,
    .empty-state {
        padding: 1rem;
    }

    .section-heading__content {
        padding: 0.9rem 0.95rem;
    }

    .brand__logo {
        width: min(124px, 42vw);
    }

    body.is-scrolled .brand__logo {
        width: min(88px, 30vw);
    }

    .stats-card {
        grid-template-columns: 1fr;
    }

    .menu-section__groups {
        grid-template-columns: 1fr;
    }

    .menu-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem;
    }

    .menu-item__leader {
        display: none;
    }

    .back-to-top-float {
        right: 0.8rem;
        bottom: 0.8rem;
        width: 3.15rem;
        height: 3.15rem;
    }
}
