@charset "UTF-8";

/* Revision 9: typography, semantic hierarchy and restrained visual polish. */
:root {
    --font-latin: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-cjk: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
    --font-interface: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
    --text-primary: #eadfeb;
    --text-muted: #cdbfce;
    --surface: #341935;
    --surface-raised: #3d203e;
    --border-soft: rgba(213, 191, 214, 0.34);
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    color: var(--text-primary);
    background: radial-gradient(circle at 50% -10%, #3a2d3b 0, #252525 38rem);
    font-family: var(--font-interface);
    font-size: 16px;
    font-kerning: normal;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

/* The moving geometric background dated the design and competed with text. */
.animateme {
    display: none;
}

h1,
h2,
h3,
p,
a,
button,
input,
select,
textarea {
    font-family: inherit;
}

h1,
h2,
h3 {
    color: var(--text-primary);
    font-weight: 750;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* Desktop identity: brand text is decorative, not part of the heading outline. */
.brand-latin,
.brand-chinese,
.brand-fullname {
    margin: 0;
    color: var(--text-primary);
}

.brand-latin {
    padding: 0;
    font-size: clamp(34px, 4.1vw, 48px);
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 0.88;
    text-align: left;
}

.brand-latin span {
    display: block;
}

.brand-latin span + span {
    margin-top: 12px;
}

.brand-chinese {
    padding: 0;
    font-family: var(--font-cjk);
    font-size: clamp(46px, 6.4vw, 76px);
    font-weight: 750;
    letter-spacing: 0.09em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.brand-fullname {
    padding: 0 18px 3px;
    font-size: clamp(17px, 2.4vw, 25px);
    font-weight: 650;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: center;
}

.item6.container > a {
    font-family: var(--font-latin);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.3;
}

@media screen and (min-width: 801px) {
    .grid-container {
        grid-template-columns: minmax(96px, 0.65fr) minmax(185px, 1.35fr) minmax(270px, 2fr);
        grid-template-areas:
            "logo name chinese"
            "fullname fullname fullname"
            "navbar navbar navbar";
        gap: 1px;
    }

    .grid-container > .item1,
    .grid-container > .item2,
    .grid-container > .item4 {
        display: flex;
        min-height: 138px;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        padding: 14px 18px;
    }

    .grid-container > .item1 img {
        display: block;
        width: auto !important;
        max-width: none !important;
        height: 110px;
        object-fit: contain;
    }

    .grid-container > .item5 {
        padding: 10px 18px;
    }
}

@media screen and (max-width: 800px) {
    div.hideinmobile {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

.homepage-intro {
    max-width: 920px;
    margin: 34px auto 30px;
    padding: 0 24px;
    text-align: center;
}

.homepage-intro h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

html[lang^="zh"] .homepage-intro h1 {
    letter-spacing: 0.025em;
    line-height: 1.22;
}

.homepage-intro p {
    max-width: 62ch;
    margin: 15px auto 0;
    color: var(--text-muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}

.homepage-intro .homepage-quick-facts {
    display: flex;
    max-width: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 17px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.homepage-quick-facts > * {
    display: inline-flex;
    align-items: center;
}

.homepage-quick-facts > * + *::before {
    margin-right: 9px;
    color: #b793b9;
    content: "•";
}

.homepage-quick-facts a {
    color: inherit;
    text-decoration-color: rgba(234, 223, 235, 0.55);
    text-underline-offset: 3px;
}

.homepage-carousel,
.reservation-cta,
.words,
.recommendation-page {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
}

.homepage-carousel {
    overflow: hidden;
}

.words {
    margin-top: 26px !important;
    margin-bottom: 34px;
    overflow: hidden;
}

.story-title {
    max-width: 780px;
    margin: 0 auto;
    padding: 30px 28px 0;
    font-size: clamp(27px, 3vw, 36px);
    letter-spacing: -0.025em;
    line-height: 1.18;
    text-align: left;
}

html[lang^="zh"] .story-title {
    letter-spacing: 0.03em;
}

.para {
    max-width: 780px;
    margin: 0 auto;
    padding: 17px 28px 34px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: clamp(17px, 1.9vw, 19px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.78;
    text-align: left;
}

html[lang^="zh"] .para {
    line-height: 1.95;
}

.copy {
    padding: 16px 24px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.55;
}

.reservation-result-phone,
.reservation-result-phone:visited,
.reservation-result a[x-apple-data-detectors],
.reservation-result a[x-apple-data-detectors]:visited {
    color: var(--text-primary) !important;
    text-decoration-color: rgba(234, 223, 235, 0.6) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.reservation-result-phone:hover,
.reservation-result-phone:focus,
.reservation-result a[x-apple-data-detectors]:hover,
.reservation-result a[x-apple-data-detectors]:focus {
    color: #ffffff !important;
}

/* Chef recommendations now read as a modern card grid. */
.recommendation-page {
    max-width: 1100px;
    margin: 30px auto 36px;
    padding: 30px;
    background: rgba(52, 25, 53, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.menu-document-action {
    margin: 0;
    text-align: center;
}

.section-divider {
    max-width: 170px;
    margin: 28px auto;
    border: 0;
    border-top: 1px solid var(--border-soft);
}

.recommend-title {
    margin: 0 0 28px;
    padding: 0;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

html[lang^="zh"] .recommend-title {
    letter-spacing: 0.04em;
}

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

.recommendation-grid .left,
.recommendation-grid .right {
    float: none;
    width: auto;
    margin: 0;
}

.dish-list {
    display: grid;
    gap: 22px;
}

.dish-list li {
    padding: 20px;
    overflow: hidden;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.dish-list li:last-child {
    border-bottom: 1px solid var(--border-soft);
}

.dish-list a {
    display: block;
    border-radius: 7px;
}

.dish-list img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
    border-radius: 7px;
}

.dish-list .menu {
    margin: 0;
    padding: 12px 8px 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.dish-list .menu + .menu {
    padding-top: 4px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Keep the recommendation-page copyright inside its rounded panel. */
.recommendation-page > .copy {
    position: static;
    float: none;
    width: auto;
    max-width: none;
    margin: 30px -30px -30px;
    padding: 17px 24px 18px;
    background: rgba(26, 15, 27, 0.5);
    border-top: 1px solid var(--border-soft);
    border-radius: 0 0 9px 9px;
    box-shadow: none;
}

@media screen and (max-width: 760px) {
    .homepage-intro {
        margin-top: 25px;
        margin-bottom: 23px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .homepage-intro .homepage-quick-facts {
        flex-direction: column;
        gap: 4px;
        margin-top: 16px;
    }

    .homepage-quick-facts > * + *::before {
        display: none;
    }

    .story-title {
        padding: 25px 22px 0;
    }

    .para {
        padding: 14px 22px 28px;
    }

    .recommendation-page {
        margin: 22px 12px 30px;
        padding: 23px 15px;
    }

    .recommendation-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dish-list {
        gap: 18px;
    }

    .recommendation-page > .copy {
        margin: 24px -15px -23px;
        padding-right: 18px;
        padding-left: 18px;
    }
}

.homepage-carousel img[data-photo-viewer-item],
.dish-list a[data-photo-viewer-item] {
    cursor: zoom-in;
}

.homepage-carousel img[data-photo-viewer-item]:focus-visible,
.dish-list a[data-photo-viewer-item]:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -4px;
}

.photo-viewer-carousel-open {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background: rgba(20, 11, 21, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.34);
    font: 700 25px/1 var(--font-interface);
    cursor: zoom-in;
}

.photo-viewer-carousel-open:hover,
.photo-viewer-carousel-open:focus {
    color: #341935;
    background: #ffffff;
}

.photo-viewer-carousel-open:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

body.photo-viewer-open {
    overflow: hidden;
}

.photo-viewer[hidden] {
    display: none !important;
}

.photo-viewer {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #f5edf6;
    font-family: var(--font-interface);
}

.photo-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 7, 10, 0.94);
    cursor: zoom-out;
}

.photo-viewer-shell {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1180px, 96vw);
    height: min(900px, 94vh);
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: #1a111b;
    border: 1px solid rgba(234, 223, 235, 0.45);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

.photo-viewer-toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 10px 8px 18px;
    background: #341935;
    border-bottom: 1px solid rgba(234, 223, 235, 0.24);
}

.photo-viewer-counter {
    color: #eadfeb;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
}

.photo-viewer-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.photo-viewer-tool,
.photo-viewer-nav {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 11px;
    color: #f5edf6;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(234, 223, 235, 0.34);
    border-radius: 7px;
    font: 700 22px/1 var(--font-interface);
    cursor: pointer;
}

.photo-viewer-tool:hover,
.photo-viewer-tool:focus,
.photo-viewer-nav:hover,
.photo-viewer-nav:focus {
    color: #341935;
    background: #ffffff;
}

.photo-viewer-tool:focus-visible,
.photo-viewer-nav:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

.photo-viewer-tool:disabled {
    opacity: 0.42;
    cursor: default;
}

.photo-viewer-reset {
    min-width: 62px;
    font-size: 13px;
}

.photo-viewer-close {
    margin-left: 5px;
    font-size: 28px;
}

.photo-viewer-stage {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #090909;
    touch-action: none;
    user-select: none;
}

.photo-viewer-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.12s ease-out;
    user-select: none;
    -webkit-user-drag: none;
}

.photo-viewer.is-interacting .photo-viewer-image {
    transition: none;
}

.photo-viewer.is-zoomed .photo-viewer-image {
    cursor: grab;
}

.photo-viewer.is-zoomed .photo-viewer-image:active {
    cursor: grabbing;
}

.photo-viewer-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 50px;
    height: 58px;
    padding: 0;
    background: rgba(20, 11, 21, 0.72);
    transform: translateY(-50%);
    font-size: 38px;
}

.photo-viewer-previous {
    left: 12px;
}

.photo-viewer-next {
    right: 12px;
}

.photo-viewer-footer {
    padding: 12px 18px 14px;
    text-align: center;
    background: #241525;
    border-top: 1px solid rgba(234, 223, 235, 0.2);
}

.photo-viewer-caption,
.photo-viewer-help {
    margin: 0;
    padding: 0;
    font-family: inherit;
}

.photo-viewer-caption {
    color: #f5edf6;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
}

.photo-viewer-help {
    margin-top: 3px;
    color: #cdbfce;
    font-size: 12px;
    line-height: 1.4;
}

@media screen and (max-width: 640px) {
    .photo-viewer {
        padding: 0;
    }

    .photo-viewer-shell {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .photo-viewer-toolbar {
        min-height: 56px;
        gap: 8px;
        padding-left: 12px;
    }

    .photo-viewer-tools {
        gap: 4px;
    }

    .photo-viewer-tool {
        min-width: 42px;
        min-height: 42px;
        padding: 6px 9px;
    }

    .photo-viewer-reset {
        min-width: 56px;
    }

    .photo-viewer-nav {
        width: 46px;
        height: 54px;
    }

    .photo-viewer-previous {
        left: 8px;
    }

    .photo-viewer-next {
        right: 8px;
    }

    .photo-viewer-footer {
        padding: 10px 12px 12px;
    }

    .photo-viewer-caption {
        font-size: 14px;
    }
}

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

    .photo-viewer-image {
        transition: none;
    }
}
