:root {
    --bg: #ece5d8;
    --paper: #f5efe4;
    --olive: #4d553b;
    --olive-deep: #3f4631;
    --ink: #2d261d;
    --muted: #6f6658;
    --line: rgba(54, 42, 27, 0.12);
    --white: #ffffff;
    --accent: #b8a07c;
    --shadow: 0 24px 60px rgba(44, 31, 17, 0.12);
    --radius: 28px;
    --transition: 240ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.38), transparent 26%),
        linear-gradient(180deg, #efe7db 0%, #e8dfd1 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
        radial-gradient(rgba(60, 48, 33, 0.045) 0.7px, transparent 0.7px);
    background-size: auto, 9px 9px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

img {
    display: block;
    width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3,
.brand-mark {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.96;
}

.page-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.side-nav {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 22px 28px 18px;
    border-right: 1px solid rgba(54, 42, 27, 0.08);
    background: rgba(246, 239, 227, 0.82);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.brand-block {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: fit-content;
}

.brand-mark {
    font-size: 3rem;
}

.brand-copy {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    color: var(--muted);
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.nav-menu a {
    position: relative;
    font-size: 0.8rem;
    color: var(--muted);
    transition: color var(--transition), transform var(--transition);
}

.nav-menu a::before {
    content: "+";
    position: absolute;
    left: -14px;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ink);
    transform: translateX(4px);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    opacity: 1;
}

.side-meta {
    display: grid;
    gap: 18px;
    margin-top: auto;
}

.meta-block {
    display: grid;
    gap: 6px;
}

.meta-label {
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

.meta-value {
    font-size: 0.8rem;
    color: var(--ink);
}

.side-socials {
    display: flex;
    gap: 14px;
    font-size: 0.75rem;
    color: var(--muted);
}

.leaf-mark {
    width: 72px;
    height: 118px;
    opacity: 0.45;
    background:
        radial-gradient(circle at 20% 24%, transparent 28px, rgba(174, 158, 132, 0.28) 29px, transparent 31px),
        linear-gradient(145deg, transparent 48%, rgba(174, 158, 132, 0.34) 49%, rgba(174, 158, 132, 0.34) 51%, transparent 52%);
    mask:
        radial-gradient(circle at 50% 20%, transparent 16px, black 16px),
        linear-gradient(black, black);
    align-self: flex-start;
}

.content {
    padding: 16px;
}

.section-anchor {
    scroll-margin-top: 24px;
}

.hero-panel,
.story-grid,
.signature-band,
.space-panel,
.origin-band,
.journal-panel,
.footer-panel {
    margin-bottom: 16px;
}

.hero-panel {
    position: relative;
    min-height: min(900px, calc(100vh - 32px));
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #6e5b43;
}

.hero-image,
.space-visual img,
.origin-visual img,
.mosaic-card img,
.journal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(25, 16, 9, 0.46) 0%, rgba(25, 16, 9, 0.2) 38%, rgba(25, 16, 9, 0.12) 100%),
        linear-gradient(180deg, rgba(20, 15, 8, 0.15) 0%, rgba(20, 15, 8, 0.34) 100%);
}

.hero-badge,
.hero-brand,
.hero-copy,
.hero-rail {
    position: absolute;
    z-index: 2;
}

.hero-badge {
    top: 28px;
    right: 28px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(248, 242, 232, 0.9);
    color: var(--ink);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.hero-brand {
    top: 132px;
    right: clamp(28px, 7vw, 92px);
    text-align: left;
    color: rgba(255, 247, 238, 0.9);
}

.hero-brand .brand-mark {
    font-size: clamp(3rem, 5vw, 4.6rem);
}

.hero-copy {
    left: clamp(32px, 7vw, 78px);
    bottom: clamp(40px, 8vw, 82px);
    max-width: 520px;
    color: var(--white);
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-copy h1 {
    font-size: clamp(3.8rem, 8vw, 6rem);
    margin-bottom: 20px;
}

.hero-text {
    max-width: 360px;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover {
    transform: translateY(-1px);
}

.button-dark {
    background: rgba(56, 61, 43, 0.88);
    color: var(--white);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.button-light {
    background: rgba(255, 255, 255, 0.92);
    color: var(--olive-deep);
}

.hero-rail {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.rail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.rail-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.story-grid,
.space-panel,
.journal-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr) minmax(0, 0.82fr);
    gap: 16px;
}

.paper-card,
.mosaic-card,
.space-visual,
.origin-visual,
.journal-card,
.signature-band,
.footer-panel {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.paper-card {
    padding: clamp(28px, 3vw, 44px);
    border-radius: 28px;
    background: rgba(246, 239, 227, 0.94);
}

.paper-card h2,
.origin-copy h2,
.signature-head h2,
.footer-copy h2 {
    font-size: clamp(2.8rem, 4.3vw, 4rem);
    margin-bottom: 18px;
}

.paper-card p:not(.section-kicker),
.origin-copy p:not(.section-kicker),
.footer-copy p:not(.section-kicker) {
    color: var(--muted);
    max-width: 420px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--ink);
}

.text-link::after {
    content: "->";
    transition: transform var(--transition);
}

.text-link:hover::after {
    transform: translateX(4px);
}

.mosaic-card,
.space-visual,
.origin-visual,
.journal-card {
    overflow: hidden;
    border-radius: 28px;
    background: #d7ccb9;
}

.mosaic-card {
    min-height: 300px;
}

.mosaic-large {
    grid-row: span 2;
    min-height: 620px;
}

.signature-band {
    padding: clamp(28px, 4vw, 48px);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(186, 173, 116, 0.2), transparent 26%),
        linear-gradient(135deg, #4f5a3b 0%, #3b432d 100%);
    color: var(--white);
}

.signature-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 34px;
}

.section-kicker-light,
.text-link-light,
.signature-band .drink-card p,
.signature-band .drink-label {
    color: rgba(245, 239, 228, 0.76);
}

.drink-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.drink-card {
    display: grid;
    justify-items: center;
    text-align: center;
}

.drink-thumb {
    width: min(220px, 100%);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 18px;
}

.drink-thumb img {
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.drink-card:hover .drink-thumb img {
    transform: scale(1.06);
}

.drink-label {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.drink-card h3 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.drink-card p {
    font-size: 0.9rem;
}

.drink-price {
    margin-top: 8px;
    font-size: 0.92rem;
}

.space-panel {
    align-items: stretch;
}

.space-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.space-visual {
    grid-column: span 2;
    min-height: 440px;
}

.origin-band {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.95fr) 0.8fr;
    gap: 0;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #445135 0%, #596549 100%);
    color: var(--white);
    border: 1px solid rgba(77, 85, 59, 0.18);
    box-shadow: var(--shadow);
}

.origin-copy {
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin-visual {
    min-height: 340px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.journal-panel {
    align-items: stretch;
}

.journal-grid {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.journal-card {
    background: rgba(248, 242, 233, 0.94);
}

.journal-card img {
    aspect-ratio: 1.16;
}

.journal-card h3,
.journal-card .text-link,
.journal-card .journal-date {
    padding-left: 22px;
    padding-right: 22px;
}

.journal-card .journal-date {
    display: inline-block;
    padding-top: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.journal-card h3 {
    padding-top: 10px;
    font-size: 1.72rem;
    line-height: 1.06;
}

.journal-card .text-link {
    padding-bottom: 22px;
}

.footer-panel {
    padding: clamp(28px, 4vw, 48px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 30%, rgba(184, 160, 124, 0.18), transparent 20%),
        linear-gradient(135deg, #48553a 0%, #3d4630 100%);
    color: var(--white);
}

.footer-cta {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(180px, 0.45fr) minmax(280px, 0.7fr);
    gap: 30px;
    align-items: start;
}

.footer-lead {
    color: rgba(245, 239, 228, 0.78);
}

.footer-info {
    display: grid;
    gap: 18px;
    color: rgba(245, 239, 228, 0.84);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.booking-form label {
    display: grid;
    gap: 7px;
    font-size: 0.8rem;
    color: rgba(245, 239, 228, 0.84);
}

.booking-notes {
    grid-column: span 2;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    outline: none;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: rgba(245, 239, 228, 0.48);
}

.booking-form textarea {
    resize: vertical;
    min-height: 102px;
}

.booking-form button,
.booking-message {
    grid-column: span 2;
}

.booking-message {
    min-height: 24px;
    font-size: 0.84rem;
    color: rgba(245, 239, 228, 0.86);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    color: rgba(245, 239, 228, 0.7);
    font-size: 0.8rem;
}

.footer-brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 18px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ai-guide {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 15;
}

#toggleChat {
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    background: #48553a;
    color: var(--white);
    box-shadow: 0 18px 34px rgba(43, 49, 35, 0.28);
    cursor: pointer;
}

.ai-chat-window {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 340px;
    height: 470px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(248, 242, 233, 0.98);
    box-shadow: 0 24px 60px rgba(30, 22, 12, 0.24);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #465239;
    color: var(--white);
}

#closeChat {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.92rem;
}

.message.bot {
    background: rgba(70, 82, 57, 0.08);
}

.message.user {
    align-self: flex-end;
    background: #465239;
    color: var(--white);
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(54, 42, 27, 0.08);
}

.chat-input input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(54, 42, 27, 0.12);
    background: var(--white);
}

.chat-input button {
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #465239;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 1180px) {
    .page-shell {
        grid-template-columns: 116px 1fr;
    }

    .side-nav {
        padding-inline: 12px;
        align-items: center;
    }

    .brand-copy,
    .side-meta,
    .leaf-mark {
        display: none;
    }

    .brand-mark {
        font-size: 2.2rem;
    }

    .nav-menu {
        align-items: center;
    }

    .nav-menu a::before {
        display: none;
    }

    .content {
        padding: 12px;
    }

    .story-grid,
    .space-panel,
    .journal-panel,
    .footer-cta {
        grid-template-columns: 1fr 1fr;
    }

    .story-card,
    .journal-intro,
    .space-copy,
    .footer-copy {
        grid-column: span 2;
    }

    .space-visual,
    .journal-grid {
        grid-column: span 2;
    }

    .drink-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .origin-band {
        grid-template-columns: 1fr;
    }

    .origin-visual {
        min-height: 280px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        grid-template-columns: 1fr;
    }

    .side-nav {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(54, 42, 27, 0.08);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 16px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

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

    .side-socials {
        margin-left: auto;
    }

    .hero-panel {
        min-height: 720px;
    }

    .hero-brand,
    .hero-rail {
        display: none;
    }

    .hero-badge {
        top: 18px;
        right: 18px;
    }

    .hero-copy {
        right: 20px;
        left: 20px;
        bottom: 26px;
    }

    .story-grid,
    .space-panel,
    .journal-panel,
    .journal-grid,
    .footer-cta,
    .booking-form,
    .drink-grid {
        grid-template-columns: 1fr;
    }

    .mosaic-large,
    .story-card,
    .journal-intro,
    .space-copy,
    .space-visual,
    .journal-grid,
    .booking-notes,
    .booking-form button,
    .booking-message {
        grid-column: span 1;
    }

    .mosaic-large {
        min-height: 380px;
    }

    .paper-card h2,
    .origin-copy h2,
    .signature-head h2,
    .footer-copy h2 {
        font-size: 2.7rem;
    }

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

    .ai-guide {
        right: 14px;
        left: auto;
        bottom: 14px;
    }

    #toggleChat {
        width: auto;
        min-width: 132px;
    }

    .ai-chat-window {
        width: min(calc(100vw - 28px), 380px);
    }
}
