:root,
[data-bs-theme="dark"] {
    --kf-bg: #12100d;
    --kf-surface: #1b1814;
    --kf-surface-2: #231f1a;
    --kf-tint: #17140f;
    --kf-ink: #f3ece2;
    --kf-muted: #a99f92;
    --kf-line: rgba(243, 236, 226, .09);
    --kf-accent: #e3643f;
    --kf-accent-dark: #c9502d;
    --kf-dark-text: #14110e;
    --kf-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --kf-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --kf-radius: 14px;
    --kf-header-h: 76px;
    --bs-body-bg: var(--kf-bg);
    --bs-body-color: var(--kf-ink);
    --bs-body-font-family: var(--kf-sans);
    --bs-link-color: var(--kf-accent);
    --bs-link-color-rgb: 227, 100, 63;
    --bs-link-hover-color: var(--kf-accent-dark);
    --bs-link-hover-color-rgb: 201, 80, 45;
    --bs-border-color: var(--kf-line);
    --bs-secondary-color: var(--kf-muted);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--kf-header-h) + 70px);
}

body {
    font-family: var(--kf-sans);
    background-color: var(--kf-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 85% -10%, rgba(227, 100, 63, .14), transparent 60%),
        radial-gradient(ellipse 60% 40% at -10% 30%, rgba(214, 160, 82, .07), transparent 60%);
    background-repeat: no-repeat;
    color: var(--kf-ink);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--kf-header-h);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.has-hero {
    padding-top: 0;
}

h1, h2, h3, .section-title, .page-title {
    font-family: var(--kf-serif);
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--kf-ink);
}

::selection {
    background: var(--kf-accent);
    color: #fff;
}

.text-ink {
    color: var(--kf-ink);
}

.text-muted-kf {
    color: var(--kf-muted);
}

.eyebrow {
    display: inline-block;
    font-family: var(--kf-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--kf-accent);
    margin-bottom: .75rem;
}

.eyebrow-light {
    color: rgba(255, 255, 255, .8);
}

.section {
    padding: 6rem 0;
}

.section-tint {
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(227, 100, 63, .08), transparent 70%),
        var(--kf-tint);
    border-top: 1px solid var(--kf-line);
    border-bottom: 1px solid var(--kf-line);
}

.section-title {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.1;
    margin: 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.lead-kf {
    font-family: var(--kf-serif);
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--kf-ink);
}

.link-arrow {
    font-weight: 500;
    color: var(--kf-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--kf-ink);
    padding-bottom: 2px;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}

.link-arrow:hover {
    color: var(--kf-accent);
    border-color: var(--kf-accent);
}

.btn {
    font-weight: 500;
    border-radius: 999px;
    padding: .6rem 1.4rem;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.btn-lg {
    padding: .85rem 1.9rem;
    font-size: 1rem;
}

.btn-sm {
    padding: .45rem 1.1rem;
    font-size: .875rem;
}

.btn-accent {
    background: var(--kf-accent);
    border: 1px solid var(--kf-accent);
    color: #fff;
}

.btn-accent:hover,
.btn-accent:focus-visible,
.btn-accent:active {
    background: var(--kf-accent-dark) !important;
    border-color: var(--kf-accent-dark) !important;
    color: #fff !important;
}

.btn-ghost-light {
    border: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
    background: transparent;
}

.btn-ghost-light:hover {
    background: var(--kf-ink);
    color: var(--kf-dark-text);
    border-color: var(--kf-ink);
}

.btn-accent {
    box-shadow: 0 10px 30px -10px rgba(227, 100, 63, .6);
}

.btn-light {
    background: var(--kf-ink);
    border-color: var(--kf-ink);
    color: var(--kf-dark-text);
}

.btn-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--kf-dark-text);
}

/* Header */
.site-header {
    height: var(--kf-header-h);
    background: rgba(18, 16, 13, .82);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: background-color .3s, border-color .3s;
}

.site-header.is-scrolled {
    border-color: var(--kf-line);
}

.navbar-kf {
    height: 100%;
    padding: 0;
}

.navbar-kf .navbar-brand {
    font-family: var(--kf-serif);
    font-size: 1.5rem;
    color: var(--kf-ink);
    letter-spacing: -.01em;
}

.brand-mark {
    font-style: italic;
    color: var(--kf-accent);
}

.navbar-kf .nav-link {
    color: var(--kf-ink);
    font-size: .95rem;
    font-weight: 500;
    padding: .5rem .25rem !important;
    position: relative;
}

.navbar-kf .nav-link::after {
    content: '';
    position: absolute;
    left: .25rem;
    right: .25rem;
    bottom: .2rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.navbar-kf .nav-link:hover::after,
.navbar-kf .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-kf .nav-link.active {
    color: var(--kf-accent);
}

.navbar-kf .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f3ece2' stroke-linecap='round' stroke-width='1.6' d='M5 9h20M5 15h20M5 21h20'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .site-header {
        height: auto;
        min-height: var(--kf-header-h);
        background: var(--kf-bg);
    }

    .navbar-kf {
        min-height: var(--kf-header-h);
    }

    .navbar-kf .navbar-collapse {
        padding: .5rem 0 1.5rem;
    }

    .navbar-kf .nav-link {
        font-size: 1.125rem;
        padding: .6rem 0 !important;
    }

    .navbar-kf .nav-link::after {
        display: none;
    }
}

@media (min-width: 992px) {
    body.has-hero .site-header:not(.is-scrolled) {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.has-hero .site-header:not(.is-scrolled) .navbar-brand,
    body.has-hero .site-header:not(.is-scrolled) .nav-link,
    body.has-hero .site-header:not(.is-scrolled) .brand-mark {
        color: #fff;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: hero-zoom 14s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 16, 13, .6) 0%, rgba(18, 16, 13, .1) 35%, rgba(18, 16, 13, .8) 85%, var(--kf-bg) 100%),
        linear-gradient(90deg, rgba(20, 16, 12, .55) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    padding-top: calc(var(--kf-header-h) + 4rem);
    padding-bottom: 6rem;
}

.hero-text {
    max-width: 640px;
    animation: fade-up .9s ease-out both;
}

.hero-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: .45rem .9rem;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    margin-bottom: 1.75rem;
}

.hero-title {
    color: #fff;
    font-size: clamp(3.25rem, 8vw, 6.5rem);
    line-height: .95;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: #ffd8c9;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
    max-width: 480px;
    margin-bottom: 2.25rem;
}

@keyframes hero-zoom {
    to {
        transform: scale(1);
    }
}

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

    to {
        opacity: 1;
        transform: none;
    }
}

/* Values */
.value-num {
    display: block;
    font-family: var(--kf-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--kf-accent);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--kf-line);
}

.value-title {
    font-size: 1.6rem;
    margin-bottom: .75rem;
}

/* Dish card */
.dish-card {
    height: 100%;
    background: var(--kf-surface);
    border: 1px solid var(--kf-line);
    border-radius: calc(var(--kf-radius) + 4px);
    padding: .6rem;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}

.dish-card:hover {
    border-color: rgba(227, 100, 63, .35);
    box-shadow: 0 24px 50px -25px rgba(0, 0, 0, .8);
}

.dish-body {
    padding: 0 .75rem .75rem;
}

.dish-media {
    aspect-ratio: 4 / 3;
    border-radius: var(--kf-radius);
    overflow: hidden;
    background: var(--kf-surface-2);
    margin-bottom: 1.25rem;
}

.dish-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.dish-card:hover .dish-media img {
    transform: scale(1.06);
}

.dish-name {
    font-size: 1.4rem;
    margin: 0;
}

.dish-price {
    font-weight: 600;
    color: var(--kf-accent);
    white-space: nowrap;
}

.dish-price small {
    font-size: .7em;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--kf-muted);
}

.dish-desc {
    color: var(--kf-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin: .6rem 0 0;
}

/* Split media */
.split-media {
    border-radius: var(--kf-radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

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

.split-media-tall {
    aspect-ratio: 3 / 4;
}

/* CTA */
.cta {
    background:
        radial-gradient(ellipse 70% 120% at 100% 100%, rgba(227, 100, 63, .35), transparent 60%),
        radial-gradient(ellipse 50% 80% at 0% 0%, rgba(214, 160, 82, .12), transparent 60%),
        var(--kf-surface-2);
    border: 1px solid var(--kf-line);
    color: #fff;
    border-radius: calc(var(--kf-radius) * 1.5);
    padding: clamp(2.5rem, 6vw, 4.5rem);
}

.cta-title {
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, .7);
    max-width: 520px;
}

.cta-phone {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
}

.cta-phone a {
    color: #fff;
}

/* Page head */
.page-head {
    padding: 5rem 0 4rem;
}

.page-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.page-lead {
    font-size: 1.15rem;
    color: var(--kf-muted);
    max-width: 560px;
    margin: 0;
}

/* Menu */
.menu-nav {
    position: sticky;
    top: var(--kf-header-h);
    z-index: 10;
    background: rgba(18, 16, 13, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--kf-line);
    border-bottom: 1px solid var(--kf-line);
}

.menu-nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 1.1rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.menu-nav-list::-webkit-scrollbar {
    display: none;
}

.menu-nav-list a {
    color: var(--kf-muted);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s;
}

.menu-nav-list a:hover {
    color: var(--kf-accent);
}

.menu-section {
    padding: 5rem 0 1rem;
}

.menu-section:last-child {
    padding-bottom: 6rem;
}

/* About */
.quote {
    font-family: var(--kf-serif);
    font-style: italic;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--kf-accent);
    border-left: 2px solid var(--kf-accent);
    padding-left: 1.5rem;
    margin: 0;
}

.quote span {
    display: block;
    font-family: var(--kf-sans);
    font-style: normal;
    font-size: .95rem;
    color: var(--kf-muted);
    margin-top: .5rem;
}

.mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
    height: 100%;
    min-height: 460px;
}

.mosaic-item {
    position: relative;
    margin: 0;
    border-radius: var(--kf-radius);
    overflow: hidden;
}

.mosaic-item:first-child {
    grid-row: span 2;
}

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

.mosaic-item figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(18, 16, 13, .75);
    backdrop-filter: blur(6px);
    color: var(--kf-ink);
    font-size: .8rem;
    font-weight: 500;
    padding: .35rem .8rem;
    border-radius: 999px;
}

/* Contact */
.contact-list dt {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--kf-accent);
    margin-bottom: .4rem;
}

.contact-list dd {
    font-size: 1.05rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--kf-line);
}

.contact-list dd:last-child {
    border-bottom: 0;
}

.contact-list a {
    color: var(--kf-ink);
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--kf-accent);
}

.form-panel {
    background: var(--kf-surface);
    border: 1px solid var(--kf-line);
    border-radius: calc(var(--kf-radius) * 1.5);
    padding: clamp(1.75rem, 4vw, 3rem);
}

.form-panel .form-label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--kf-ink);
}

.form-panel .form-control {
    background: var(--kf-bg);
    border: 1px solid var(--kf-line);
    border-radius: 10px;
    padding: .75rem 1rem;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.form-panel .form-control {
    color: var(--kf-ink);
}

.form-panel .form-control:focus {
    background: var(--kf-surface-2);
    color: var(--kf-ink);
    border-color: var(--kf-accent);
    box-shadow: 0 0 0 4px rgba(227, 100, 63, .18);
}

.form-panel textarea.form-control {
    min-height: 160px;
}

.captcha-img {
    cursor: pointer;
    border-radius: 10px;
    background: var(--kf-ink);
    border: 1px solid var(--kf-line);
}

/* Error */
.site-error {
    padding: 8rem 0;
}

.error-code {
    display: block;
    font-family: var(--kf-serif);
    font-style: italic;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: 1;
    color: var(--kf-accent);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: #0d0b09;
    border-top: 1px solid var(--kf-line);
    color: var(--kf-muted);
}

.footer-brand {
    font-family: var(--kf-serif);
    font-size: 1.75rem;
    color: var(--kf-ink);
}

.footer-lead {
    max-width: 340px;
}

.site-footer .eyebrow {
    font-size: .7rem;
}

.footer-list li {
    padding: .3rem 0;
}

.site-footer a {
    color: var(--kf-muted);
    text-decoration: none;
    transition: color .2s;
}

.site-footer a:hover {
    color: var(--kf-accent);
}

.footer-bottom {
    border-top: 1px solid var(--kf-line);
    font-size: .85rem;
}

/* Reveal animation */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 767.98px) {
    .section {
        padding: 4rem 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-head {
        padding: 3.5rem 0 3rem;
    }

    .mosaic {
        min-height: 360px;
    }

    .menu-section {
        padding-top: 3.5rem;
    }
}

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

    .hero-img,
    .hero-text {
        animation: none;
        transform: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .dish-media img {
        transition: none;
    }
}
