﻿/* ============================================================
   IMPASTO — cinematic homepage
   Inspired by the story film language, built as a restaurant landing.
   No chapters, no pin-lift. Original archived in Backups/index-old.html.
   ============================================================ */

/* ── Arrival intro (short title card) ───────────────── */
.hc-intro {
    position: fixed;
    inset: 0;
    z-index: 2000000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0705;
    pointer-events: none;
}

.hc-intro.is-out {
    animation: hcIntroOut 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hc-intro__bar {
    position: absolute;
    inset-inline: 0;
    height: clamp(18px, 5.5vh, 56px);
    background: #050403;
    z-index: 2;
}

.hc-intro__bar--top {
    top: 0;
    transform-origin: top center;
    animation: hcIntroBar 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hc-intro__bar--bottom {
    bottom: 0;
    transform-origin: bottom center;
    animation: hcIntroBar 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hc-intro__glow {
    position: absolute;
    width: min(72vw, 420px);
    height: min(72vw, 420px);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(197, 88, 39, 0.38) 0%, rgba(216, 185, 106, 0.12) 38%, rgba(10, 7, 5, 0) 70%);
    animation: hcIntroGlow 2.35s ease both;
}

.hc-intro__mark {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-inline: 24px;
}

.hc-intro__logo {
    width: clamp(132px, 38vw, 210px);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
    animation: hcIntroLogo 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hc-intro__rule {
    display: block;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d8b96a, transparent);
    transform-origin: center;
    animation: hcIntroRule 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hc-intro__place {
    font-family: var(--sc-font-body);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(216, 185, 106, 0.82);
    animation: hcIntroPlace 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html[dir='rtl'] .hc-intro__place {
    letter-spacing: 0.08em;
    text-transform: none;
}

@keyframes hcIntroGlow {
    0% { opacity: 0; transform: scale(0.7); }
    28% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.55; transform: scale(1.08); }
}

@keyframes hcIntroLogo {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); }
    18% { opacity: 0; transform: scale(0.9) translateY(10px); }
    42% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes hcIntroRule {
    0%, 28% { transform: scaleX(0); opacity: 0; }
    48% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 1; }
}

@keyframes hcIntroPlace {
    0%, 38% { opacity: 0; transform: translateY(8px); }
    58% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes hcIntroBar {
    0% { transform: scaleY(1); }
    78% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}

@keyframes hcIntroOut {
    to { opacity: 0; visibility: hidden; }
}

@keyframes hcHeroArrive {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

body.hc-waiting {
    overflow: hidden;
}

body.hc-waiting .sc-hero__inner,
body.hc-waiting .sc-cue {
    opacity: 0;
}

body.hc-intro-done .sc-hero__inner {
    animation: hcHeroArrive 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.hc-intro-done .sc-cue {
    animation: hcHeroArrive 1.05s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .hc-intro,
    .hc-intro * {
        animation: none !important;
    }

    .hc-intro {
        display: none;
    }

    body.hc-waiting .sc-hero__inner,
    body.hc-waiting .sc-cue,
    body.hc-intro-done .sc-hero__inner,
    body.hc-intro-done .sc-cue {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

.sc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(26px, 4.4vh, 44px);
}

.sc-hero .sc-btn {
    min-width: 168px;
}

.sc-hero .sc-btn--ghost {
    background: rgba(10, 7, 5, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ── Ticker ─────────────────────────────────────────── */
.hc-ticker {
    overflow: hidden;
    border-block: 1px solid rgba(216, 185, 106, 0.14);
    background: rgba(10, 7, 5, 0.55);
    padding-block: 14px;
}

.hc-ticker__track {
    display: flex;
    width: max-content;
    animation: hcTicker 42s linear infinite;
}

html[dir='ltr'] .hc-ticker__track {
    animation-direction: reverse;
}

.hc-ticker span {
    padding-inline: 28px;
    font-family: var(--sc-font-display);
    font-size: clamp(0.78rem, 1.1vw, 0.95rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(216, 185, 106, 0.72);
    white-space: nowrap;
}

@keyframes hcTicker {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

/* ── Shared section rhythm ──────────────────────────── */
.hc-section {
    position: relative;
    padding: clamp(72px, 12vh, 140px) clamp(18px, 5vw, 72px);
}

.hc-kicker {
    display: inline-block;
    font-size: clamp(0.68rem, 0.95vw, 0.8rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--sc-terra-soft);
    margin-bottom: 14px;
}

.hc-title {
    margin: 0;
    font-family: var(--sc-font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: 1.4;
    color: #f0e0b6;
}

.hc-text {
    margin: 16px 0 0;
    max-width: 46ch;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 2;
    font-weight: 300;
    color: rgba(244, 239, 230, 0.82);
}

.hc-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--sc-ease), transform 1s var(--sc-ease);
}

.hc-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ── About: editorial stills ────────────────────────── */
.hc-about {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(36px, 6vw, 88px);
    max-width: 1280px;
    margin: 0 auto;
}

.hc-about__stills {
    position: relative;
    min-height: clamp(320px, 52vw, 560px);
}

.hc-about__stills figure {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(216, 185, 106, 0.2);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.hc-about__stills img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) brightness(0.88);
}

.hc-about__stills figure:nth-child(1) {
    width: 58%;
    aspect-ratio: 4 / 5;
    inset-inline-start: 0;
    top: 8%;
    z-index: 1;
}

.hc-about__stills figure:nth-child(2) {
    width: 46%;
    aspect-ratio: 3 / 4;
    inset-inline-end: 0;
    top: 0;
    z-index: 2;
}

.hc-about__stills figure:nth-child(3) {
    width: 42%;
    aspect-ratio: 16 / 10;
    inset-inline-start: 28%;
    bottom: 0;
    z-index: 3;
}

.hc-about .sc-btn {
    margin-top: 28px;
}

html[dir='ltr'] .hc-about {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

html[dir='ltr'] .hc-about__copy {
    order: 2;
}

/* ── Signature dishes: filmstrip ────────────────────── */
.hc-dishes {
    padding-inline: 0;
}

.hc-dishes__head {
    max-width: 1280px;
    margin: 0 auto clamp(28px, 4vh, 48px);
    padding-inline: clamp(18px, 5vw, 72px);
}

.hc-reel {
    display: flex;
    gap: clamp(14px, 2vw, 28px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px clamp(18px, 5vw, 72px) 28px;
    -webkit-overflow-scrolling: touch;
}

.hc-reel::-webkit-scrollbar {
    display: none;
}

.hc-poster {
    flex: 0 0 auto;
    width: min(72vw, 280px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.hc-poster__frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(216, 185, 106, 0.18);
    background: #060504;
}

.hc-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) brightness(0.86);
    transition: transform 0.9s var(--sc-ease), filter 0.9s var(--sc-ease);
}

.hc-poster:hover img,
.hc-poster:focus-visible img {
    transform: scale(1.06);
    filter: none;
}

.hc-poster__name {
    display: block;
    margin-top: 14px;
    font-family: var(--sc-font-display);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--sc-cream);
}

.hc-poster__tag {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(216, 185, 106, 0.65);
}

.hc-dishes__more {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

/* ── Full-bleed atmosphere scenes ───────────────────── */
.hc-scene {
    position: relative;
    min-height: min(88svh, 820px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(72px, 12vh, 140px) clamp(18px, 5vw, 72px);
}

.hc-scene__video,
.hc-scene__scrim {
    position: absolute;
    inset: 0;
}

.hc-scene__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.04);
    filter: saturate(0.92) brightness(0.72);
}

.hc-scene__scrim {
    z-index: 1;
    background:
        linear-gradient(to left, rgba(10, 7, 5, 0.18) 0%, rgba(10, 7, 5, 0.72) 52%, rgba(10, 7, 5, 0.92) 100%);
}

html[dir='ltr'] .hc-scene__scrim {
    background:
        linear-gradient(to right, rgba(10, 7, 5, 0.18) 0%, rgba(10, 7, 5, 0.72) 52%, rgba(10, 7, 5, 0.92) 100%);
}

.hc-scene--end .hc-scene__scrim {
    background:
        linear-gradient(to right, rgba(10, 7, 5, 0.18) 0%, rgba(10, 7, 5, 0.72) 52%, rgba(10, 7, 5, 0.92) 100%);
}

html[dir='ltr'] .hc-scene--end .hc-scene__scrim {
    background:
        linear-gradient(to left, rgba(10, 7, 5, 0.18) 0%, rgba(10, 7, 5, 0.72) 52%, rgba(10, 7, 5, 0.92) 100%);
}

.hc-scene__copy {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.hc-scene--end {
    justify-content: flex-end;
}

html[dir='ltr'] .hc-scene--end {
    justify-content: flex-start;
}

.hc-scene .sc-btn {
    margin-top: 28px;
}

.hc-scene .hc-text {
    color: rgba(244, 239, 230, 0.88);
}

/* ── Menu invitation ────────────────────────────────── */
.hc-invite {
    text-align: center;
    padding-block: clamp(90px, 16vh, 160px);
}

.hc-invite .hc-text {
    margin-inline: auto;
}

.hc-invite__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* ── Instagram ──────────────────────────────────────── */
.hc-ig {
    padding: clamp(40px, 8vh, 90px) clamp(18px, 5vw, 60px);
    text-align: center;
}

.hc-ig__handle {
    display: block;
    margin: 8px 0 clamp(28px, 4vh, 42px);
    font-family: var(--sc-font-num);
    letter-spacing: 0.22em;
    color: rgba(216, 185, 106, 0.7);
    text-decoration: none;
}

.hc-ig__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 18px);
    max-width: 920px;
    margin: 0 auto;
}

.hc-ig__grid a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(216, 185, 106, 0.16);
}

.hc-ig__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--sc-ease), filter 0.8s var(--sc-ease);
    filter: saturate(0.9) brightness(0.86);
}

.hc-ig__grid a:hover img {
    transform: scale(1.06);
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .hc-ticker__track { animation: none; }
    .hc-reveal { opacity: 1; transform: none; }
}

/* English i18n forces body text-align:left — keep cinematic blocks centred */
html.lang-en body[data-page="home"] .sc-hero,
html.lang-en body[data-page="home"] .hc-invite,
html.lang-en body[data-page="home"] .hc-ig,
html.lang-en body[data-page="home"] .hc-dishes__head,
html.lang-en body[data-page="home"] .hc-dishes__more {
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   MOBILE FIRST — same sections, one clear column
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    body[data-page="home"] #header.sc-header {
        padding-top: calc(10px + env(safe-area-inset-top, 0px));
    }

    body[data-page="home"] #header.sc-header .container {
        padding-inline: 16px;
    }

    body[data-page="home"] #header.sc-header .custom-logo {
        width: 104px;
    }

    body[data-page="home"] .sc-hero {
        min-height: 100svh;
        min-height: 100dvh;
        justify-content: center;
        padding:
            calc(96px + env(safe-area-inset-top, 0px))
            20px
            calc(78px + env(safe-area-inset-bottom, 0px));
    }

    body[data-page="home"] .sc-hero__inner {
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
    }

    body[data-page="home"] .sc-hero__word {
        font-size: clamp(2.55rem, 13.5vw, 3.5rem);
        line-height: 1.12;
    }

    html.lang-en body[data-page="home"] .sc-hero__word {
        letter-spacing: 0.12em;
        font-size: clamp(2.2rem, 11vw, 3.1rem);
    }

    body[data-page="home"] .sc-hero__rule {
        margin-top: 18px;
        width: 72px;
    }

    body[data-page="home"] .sc-hero__lede {
        margin-top: 16px;
        max-width: 32ch;
        font-size: 0.98rem;
        line-height: 1.8;
    }

    body[data-page="home"] .sc-hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 22px auto 0;
        gap: 10px;
    }

    body[data-page="home"] .sc-hero .sc-btn,
    body[data-page="home"] .hc-about .sc-btn,
    body[data-page="home"] .hc-dishes__more .sc-btn,
    body[data-page="home"] .hc-scene .sc-btn,
    body[data-page="home"] .hc-invite .sc-btn {
        width: 100%;
        min-width: 0;
        max-width: 300px;
        margin-inline: auto;
        padding: 13px 22px;
        letter-spacing: 0.1em;
        font-size: 0.78rem;
    }

    body[data-page="home"] .sc-cue {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
        font-size: 0.6rem;
        letter-spacing: 0.22em;
    }

    body[data-page="home"] .sc-cue__line {
        height: 28px;
    }

    .hc-ticker {
        padding-block: 11px;
    }

    .hc-ticker span {
        padding-inline: 18px;
        font-size: 0.72rem;
        letter-spacing: 0.18em;
    }

    .hc-kicker {
        letter-spacing: 0.18em;
        font-size: 0.68rem;
        margin-bottom: 10px;
    }

    .hc-title {
        font-size: clamp(1.35rem, 6.4vw, 1.75rem);
        line-height: 1.45;
        text-wrap: balance;
    }

    .hc-text {
        margin-top: 12px;
        max-width: none;
        font-size: 0.95rem;
        line-height: 1.85;
    }

    .hc-section {
        padding: 56px 20px;
    }

    .hc-about,
    html[dir='ltr'] .hc-about {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    html[dir='ltr'] .hc-about__copy {
        order: 0;
    }

    .hc-about__copy {
        order: 1;
    }

    .hc-about .sc-btn {
        margin-top: 22px;
        display: flex;
    }

    .hc-about__stills {
        order: 0;
        position: relative;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        grid-template-rows: 1fr 0.72fr;
        gap: 8px;
        min-height: 0;
        width: 100%;
        aspect-ratio: 5 / 4;
    }

    .hc-about__stills figure {
        position: relative;
        inset: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        border-radius: 14px;
    }

    .hc-about__stills figure:nth-child(1) {
        grid-row: 1 / 3;
        width: auto;
    }

    .hc-about__stills figure:nth-child(2),
    .hc-about__stills figure:nth-child(3) {
        width: auto;
        inset-inline: auto;
    }

    .hc-dishes {
        padding: 48px 0 56px;
    }

    .hc-dishes__head {
        text-align: center;
        margin-bottom: 22px;
        padding-inline: 20px;
    }

    .hc-dishes__head .hc-title {
        max-width: 16ch;
        margin-inline: auto;
    }

    .hc-reel {
        gap: 12px;
        padding: 4px 20px 20px;
        scroll-padding-inline: 20px;
    }

    .hc-poster {
        width: min(70vw, 230px);
        scroll-snap-align: start;
    }

    .hc-poster__name {
        margin-top: 10px;
        font-size: 0.98rem;
    }

    .hc-poster__tag {
        margin-top: 8px;
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .hc-dishes__more {
        padding-inline: 20px;
    }

    .hc-dishes__more .sc-btn {
        display: flex;
    }

    .hc-scene,
    .hc-scene--end,
    html[dir='ltr'] .hc-scene--end {
        min-height: 0;
        height: auto;
        aspect-ratio: auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px));
        min-height: min(78svh, 640px);
    }

    .hc-scene__scrim,
    html[dir='ltr'] .hc-scene__scrim,
    .hc-scene--end .hc-scene__scrim,
    html[dir='ltr'] .hc-scene--end .hc-scene__scrim {
        background:
            linear-gradient(180deg,
                rgba(10, 7, 5, 0.12) 0%,
                rgba(10, 7, 5, 0.42) 42%,
                rgba(10, 7, 5, 0.92) 100%);
    }

    .hc-scene__copy {
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
        text-align: center;
        padding-top: 28px;
    }

    html.lang-en .hc-scene__copy {
        text-align: center;
    }

    .hc-scene .hc-text {
        margin-inline: auto;
    }

    .hc-scene .sc-btn {
        display: flex;
        margin-top: 20px;
    }

    .hc-invite {
        padding-block: 64px;
        padding-inline: 20px;
    }

    .hc-invite__actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 24px;
    }

    .hc-invite .sc-btn {
        display: flex;
        margin-top: 0;
    }

    .hc-ig {
        padding: 40px 20px calc(48px + env(safe-area-inset-bottom, 0px));
    }

    .hc-ig .sc-kicker {
        letter-spacing: 0.14em;
        font-size: 0.72rem;
    }

    .hc-ig .sc-kicker::before,
    .hc-ig .sc-kicker::after {
        width: 18px;
        margin-inline: 8px;
    }

    .hc-ig__handle {
        margin-bottom: 22px;
        letter-spacing: 0.16em;
        font-size: 0.85rem;
    }

    .hc-ig__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .hc-ig__grid a {
        border-radius: 10px;
    }

    body[data-page="home"] .sc-footer {
        padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    }

    body[data-page="home"] .sc-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    body[data-page="home"] .sc-footer__nav {
        justify-content: center;
        gap: 12px 18px;
    }

    body[data-page="home"] .sc-footer__logo img {
        width: 110px;
    }
}

@media (max-width: 640px) {
    .hc-ig__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hc-ig__grid a:last-child {
        grid-column: auto;
        aspect-ratio: 1;
    }
}

@media (max-width: 380px) {
    body[data-page="home"] .sc-hero__word {
        font-size: 2.35rem;
    }

    .hc-poster {
        width: 74vw;
    }

    .hc-title {
        font-size: 1.28rem;
    }
}

@media (max-height: 700px) and (max-width: 900px) {
    body[data-page="home"] .sc-hero {
        padding-block:
            calc(80px + env(safe-area-inset-top, 0px))
            calc(56px + env(safe-area-inset-bottom, 0px));
    }

    body[data-page="home"] .sc-hero__lede {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hc-scene,
    .hc-scene--end {
        min-height: min(70svh, 560px);
    }
}
