/* =====================================================
   VIO — minimal, editorial, cream-toned layout
   ===================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Design Tokens ---------- */
:root {
    --bg: #f2ede3;            /* cream */
    --bg-soft: #ebe6dc;       /* slightly darker cream for sections */
    --ink: #2a2a28;           /* near-black text */
    --ink-soft: #5a5851;      /* muted body copy */
    --ink-mute: #8a877f;      /* faint small caps */
    --line: #c9c3b6;          /* hairline divider */
    --dark: #1c1c1a;          /* reserve btn */
    --dark-panel: #2e2a22;    /* gift card panel */

    --max: 1400px;
    --gutter: clamp(20px, 4vw, 64px);
    --section-y: clamp(72px, 10vw, 140px);

    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Typography Utilities ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
}

h2,
h3 {
    font-family: var(--serif);
    font-weight: 300;
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.005em;
}

h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

h3 {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 48ch;
    margin: 0;
}

/* hairline underline link used throughout */
.link-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--ink);
}
.link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--ink);
    transform-origin: left center;
    transition: transform 0.4s ease;
}
.link-underline:hover::after {
    transform: scaleX(0.6);
}

/* ===================================================== */
/* HEADER                                                 */
/* ===================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(242, 237, 227, 0.92);
    backdrop-filter: saturate(1.1) blur(8px);
    -webkit-backdrop-filter: saturate(1.1) blur(8px);
    border-bottom-color: var(--line);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    height: 96px;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right {
    justify-content: flex-end;
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.menu-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
    height: 12px;
}
.menu-icon span {
    display: block;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.is-open .menu-icon span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}
.menu-btn.is-open .menu-icon span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

.search-btn {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    opacity: 0.85;
}
.search-btn:hover {
    opacity: 1;
}

.brand {
    justify-self: center;
    display: inline-flex;
    align-items: center;
}

/* VIO wordmark — text-based logo using Cormorant Garamond */
.brand-logo {
    display: inline-block;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.75rem;
    letter-spacing: 0.42em;
    color: var(--ink);
    line-height: 1;
    padding-left: 0.21em;
}

.brand-logo--footer {
    font-size: 2.1rem;
}

.lang-btn {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--ink);
    position: relative;
    padding-bottom: 2px;
}
.lang-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--ink);
    opacity: 0.6;
}

.btn-reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 38px;
    padding: 0 18px;
    background: var(--dark);
    color: #efe9dc;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: background 0.25s ease, color 0.25s ease;
}
.btn-reserve:hover {
    background: #000;
}

/* ===================================================== */
/* MENU OVERLAY                                           */
/* ===================================================== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}
.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s;
}

.menu-overlay-inner {
    max-width: var(--max);
    margin: 0 auto;
    height: 100%;
    padding: 140px var(--gutter) 60px;
    display: flex;
    align-items: flex-start;
}

.menu-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
}

.menu-col h3 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
    margin-bottom: 28px;
}

.menu-col ul li {
    margin-bottom: 14px;
}

.menu-col a {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.005em;
    color: var(--ink);
    display: inline-block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.menu-col a:hover {
    transform: translateX(6px);
    opacity: 0.7;
}

/* ===================================================== */
/* HERO                                                   */
/* ===================================================== */
.hero {
    padding: 136px var(--gutter) 24px;
    max-width: var(--max);
    margin: 0 auto;
}

.hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f0f0e;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: radial-gradient(1200px 600px at 50% 50%, #2a2a28 0%, #0f0f0e 100%);
    z-index: 0;
}

.hero-caption {
    margin-top: 14px;
}

/* ===================================================== */
/* FEATURED                                               */
/* ===================================================== */
.featured {
    max-width: var(--max);
    margin: 0 auto;
    padding: var(--section-y) var(--gutter) 0;
}

.featured-heading {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 720px;
    margin-bottom: 60px;
}

.featured-heading h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.25;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}

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

.feature-media img,
.feature-media video,
.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
}

.feature-text h3 {
    margin-top: 2px;
}

.feature-text p {
    margin-top: 2px;
}

.feature-text .link-underline {
    margin-top: 10px;
}

/* ===================================================== */
/* SEASONAL                                               */
/* ===================================================== */
.seasonal {
    padding: var(--section-y) 0 0;
    overflow: hidden;
}

.seasonal-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--gutter);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

.seasonal-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
}

.seasonal-intro p {
    max-width: 32ch;
}

.seasonal-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: clamp(20px, 2.5vw, 36px);
    padding-right: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.seasonal-track::-webkit-scrollbar {
    display: none;
}

.season-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.season-media {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-soft);
    margin-bottom: 10px;
}

.season-media img,
.season-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.season-card h3 {
    font-size: 1.3rem;
}

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

.season-card .link-underline {
    margin-top: 6px;
    align-self: flex-start;
}


/* ===================================================== */
/* DIVIDER                                                */
/* ===================================================== */
.divider {
    max-width: var(--max);
    margin: var(--section-y) auto;
    padding: 0 var(--gutter);
    display: flex;
    justify-content: center;
}
.divider span {
    width: 120px;
    height: 1px;
    background: var(--line);
}

/* ===================================================== */
/* WORLD OF VIO                                           */
/* ===================================================== */
.world {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.world-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.world-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.world-media {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-soft);
}

.world-media img,
.world-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.world-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #d5cfc1 0%, #b8b0a0 100%);
    color: rgba(0, 0, 0, 0.35);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.world-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
}

.world-text h3 {
    font-size: 1.35rem;
}

.world-text p {
    font-size: 0.9rem;
}

.world-text .link-underline {
    margin-top: 14px;
    align-self: flex-start;
}

/* ===================================================== */
/* NEWSLETTER                                             */
/* ===================================================== */
.newsletter {
    margin-top: var(--section-y);
    padding: var(--section-y) var(--gutter);
    background: var(--bg-soft);
}

.newsletter-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.newsletter h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.newsletter p {
    max-width: 56ch;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 460px;
    border-bottom: 1px solid var(--ink);
    margin-top: 8px;
}

.newsletter-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 4px;
    font: inherit;
    color: var(--ink);
    outline: none;
}
.newsletter-form input::placeholder {
    color: var(--ink-mute);
}

.newsletter-form button {
    padding: 12px 18px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}

/* ===================================================== */
/* FOOTER                                                 */
/* ===================================================== */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 80px var(--gutter) 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(30px, 4vw, 80px);
}

.footer-brand .brand-logo {
    display: block;
}

.footer-tag {
    margin-top: 18px;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    line-height: 1.4;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
    margin: 0 0 18px;
}

.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    font-size: 0.9rem;
    color: var(--ink);
    opacity: 0.85;
    transition: opacity 0.25s ease;
}
.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--line);
}
.footer-bottom-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px var(--gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
}
.footer-legal {
    display: flex;
    gap: 22px;
}

/* ===================================================== */
/* RESERVATION BAR                                        */
/* ===================================================== */
.reserve-bar {
    background: var(--bg);
    padding: 28px var(--gutter) 0;
    margin-top: -36px;
    position: relative;
    z-index: 5;
}

.reserve-form {
    max-width: var(--max);
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.4fr 1px 1fr 1px 1fr 1px 1.1fr auto;
    align-items: stretch;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.18);
}

.reserve-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 18px 22px;
    min-height: 84px;
}

.reserve-field .eyebrow {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--ink-mute);
}

.reserve-field select,
.reserve-field input {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: none;
    padding: 0;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    line-height: 1.3;
}

.reserve-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%235a5851' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 22px;
}

.reserve-field input::-webkit-calendar-picker-indicator {
    opacity: 0.45;
    cursor: pointer;
}

.reserve-divider {
    background: var(--line);
    width: 1px;
    align-self: stretch;
    margin: 18px 0;
}

.reserve-submit {
    background: var(--dark);
    color: #f2ede3;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0 36px;
    min-width: 220px;
    border: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.reserve-submit:hover {
    background: #000;
}

/* ===================================================== */
/* CATEGORY SEARCH                                        */
/* ===================================================== */
.categories {
    padding: var(--section-y) var(--gutter);
    background: var(--bg);
}

.categories-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.categories-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.categories-intro p {
    color: var(--ink-soft);
    margin: 0;
}

.cat-group {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cat-group-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.4s ease;
}

.cat-tile:hover {
    transform: translateY(-3px);
}

.cat-media {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-soft);
    position: relative;
}

.cat-media img,
.cat-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.cat-tile:hover .cat-media img,
.cat-tile:hover .cat-media video {
    transform: scale(1.04);
}

.cat-placeholder {
    background: linear-gradient(160deg, #d5cfc1 0%, #b8b0a0 100%);
    color: rgba(0, 0, 0, 0.4);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.cat-label {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.01em;
    text-align: center;
}

.cat-tile.is-active .cat-media {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
}
.cat-tile.is-active .cat-label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* ===================================================== */
/* RESPONSIVE                                             */
/* ===================================================== */
@media (max-width: 860px) {
    .header-inner {
        height: 76px;
    }
    .brand-logo {
        font-size: 1.35rem;
    }
    .brand-logo--footer {
        font-size: 1.7rem;
    }

    .reserve-bar {
        margin-top: -24px;
        padding-top: 24px;
    }
    .reserve-form {
        grid-template-columns: 1fr;
    }
    .reserve-divider {
        width: auto;
        height: 1px;
        margin: 0 22px;
    }
    .reserve-submit {
        min-width: 0;
        width: 100%;
        padding: 18px 24px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .categories-inner {
        gap: 48px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .seasonal-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-right: var(--gutter);
    }
    .seasonal-intro {
        position: static;
    }
    .seasonal-track {
        grid-auto-columns: minmax(220px, 70vw);
        padding-right: var(--gutter);
    }

    .world-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .menu-overlay-inner {
        padding-top: 110px;
    }
}

@media (max-width: 640px) {
    .menu-label {
        display: none;
    }
    .header-right .lang-btn {
        display: none;
    }
    .btn-reserve {
        min-width: 88px;
        height: 34px;
        font-size: 0.78rem;
    }
    .hero {
        padding-top: 108px;
    }
    .hero-media {
        aspect-ratio: 4 / 5;
    }
    .footer-cols {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
        border-bottom: 0;
    }
    .newsletter-form input {
        border-bottom: 1px solid var(--ink);
    }
    .newsletter-form button {
        margin-top: 12px;
        border: 1px solid var(--ink);
    }
}

/* ===================================================== */
/* PLACEHOLDERS                                           */
/* ===================================================== */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #d8d2c5 0%, #b5ae9e 100%);
    color: rgba(0, 0, 0, 0.3);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
