:root {
    --bg: #0d0a08;
    --surface: #181210;
    --raised: #221a14;
    --espresso: #241811;
    --ink: #ede4d8;
    --sub: #c6b8a7;
    --muted: #9a8d80;
    --gold: #c9aa70;
    --gold-soft: #e0c898;
    --coral: #d96848;
    --line: rgba(201, 170, 112, 0.16);
    --glow: rgba(201, 170, 112, 0.07);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.56);
    --slant: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
    --zigzag: polygon(0 0, 4% 12px, 8% 0, 12% 12px, 16% 0, 20% 12px, 24% 0, 28% 12px, 32% 0, 36% 12px, 40% 0, 44% 12px, 48% 0, 52% 12px, 56% 0, 60% 12px, 64% 0, 68% 12px, 72% 0, 76% 12px, 80% 0, 84% 12px, 88% 0, 92% 12px, 96% 0, 100% 12px, 100% 100%, 0 100%);
    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.intro-curtain {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 50% 42%, rgba(201, 170, 112, 0.07), transparent 60%),
        linear-gradient(160deg, #0a0806, #18100a);
    animation: introExit 1.1s cubic-bezier(.78, 0, .2, 1) 1.75s forwards;
}

html.show-intro .intro-curtain {
    display: grid;
}

.intro-card {
    position: relative;
    width: min(520px, calc(100vw - 48px));
    padding: clamp(28px, 6vw, 52px);
    border: 1px solid rgba(201, 170, 112, 0.36);
    border-radius: 8px 44px 8px 44px;
    background: rgba(201, 170, 112, 0.05);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(201, 170, 112, 0.07);
    text-align: center;
    transform: rotate(-1.5deg) scale(0.94);
    animation: introCard 1.25s cubic-bezier(.2, .85, .2, 1) forwards;
}

.intro-kicker,
.intro-card small {
    display: block;
    color: var(--sub);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro-card strong {
    display: block;
    margin: 8px 0 14px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 9vw, 82px);
    line-height: 0.9;
}

.intro-line {
    display: block;
    width: 0;
    height: 12px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, var(--gold), var(--coral));
    clip-path: var(--zigzag);
    animation: introLine 0.9s ease 0.38s forwards;
}

body.intro-done .intro-curtain {
    display: none;
}

html.skip-intro .intro-curtain,
html.intro-finished .intro-curtain {
    display: none;
}

html.skip-intro .site-header {
    animation-delay: 0s;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px clamp(18px, 4vw, 52px);
    background: rgba(13, 10, 8, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    transform: translateY(-16px);
    opacity: 0;
    animation: slideDown 0.75s ease 1.05s forwards;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--bg);
    background: var(--gold);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 22px;
    transition: transform 0.3s ease, border-radius 0.3s ease;
}

.brand:hover .brand-mark {
    border-radius: 8px 50% 8px 50%;
    transform: rotate(-10deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 28px);
    color: var(--sub);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    text-decoration: none;
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 7px;
    background: var(--gold);
    clip-path: var(--zigzag);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--gold);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    opacity: 1;
    transform: translateY(0);
}

.reserve-link {
    color: var(--gold-soft) !important;
    border-bottom: 0;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--raised);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: clamp(620px, calc(92vh - 72px), 860px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding: clamp(30px, 5vw, 68px) clamp(18px, 6vw, 88px) clamp(32px, 5vw, 58px);
    background:
        linear-gradient(90deg, rgba(13, 10, 8, 0.98) 0%, rgba(13, 10, 8, 0.84) 44%, rgba(13, 10, 8, 0.44) 100%),
        url("assets/cafe-bg-opt.webp") center / cover no-repeat;
    overflow: hidden;
    clip-path: var(--slant);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 36%, rgba(201, 170, 112, 0.07), transparent 50%);
    pointer-events: none;
}

.hero::after,
.profile-hero::after {
    content: "";
    position: absolute;
    left: clamp(18px, 6vw, 88px);
    right: clamp(18px, 6vw, 88px);
    bottom: 26px;
    height: 18px;
    background: linear-gradient(90deg, var(--gold), var(--coral), var(--gold-soft));
    clip-path: var(--zigzag);
    opacity: 0.55;
    animation: crawl 10s linear infinite;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 720px;
    animation: heroCopyIn 1s cubic-bezier(.2, .85, .2, 1) 1.55s both;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 11vw, 138px);
    line-height: 0.88;
    letter-spacing: 0;
    animation: titleTilt 8s ease-in-out infinite;
    transform-origin: left center;
}

.lead {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--sub);
    font-size: clamp(16px, 2vw, 21px);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, clip-path 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.button.primary {
    color: var(--bg);
    background: var(--gold);
    box-shadow: 0 12px 28px rgba(201, 170, 112, 0.26);
}

.button.ghost {
    color: var(--ink);
    background: transparent;
}

.button.light {
    color: var(--ink);
    border-color: rgba(237, 228, 216, 0.46);
}

.hero-visual {
    position: relative;
    min-height: clamp(430px, 56vh, 540px);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(201, 170, 112, 0.06), rgba(217, 104, 72, 0.03)),
        var(--raised);
    box-shadow: var(--shadow);
    backdrop-filter: blur(4px);
    overflow: hidden;
    clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
    transform: rotate(1.2deg);
    animation: visualFloat 5.8s ease-in-out infinite, heroVisualIn 1s cubic-bezier(.2, .85, .2, 1) 1.35s both;
}

.hero-visual::before {
    content: "GAEMAS";
    position: absolute;
    right: -24px;
    bottom: 18px;
    color: rgba(201, 170, 112, 0.07);
    font-family: Georgia, serif;
    font-size: clamp(72px, 10vw, 128px);
    font-weight: 800;
}

.hero-visual img {
    position: relative;
    width: min(76%, 390px);
    max-height: 470px;
    object-fit: contain;
    border: 8px solid rgba(201, 170, 112, 0.18);
    border-radius: 8px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
    animation: portraitBreathe 5.4s ease-in-out infinite;
}

.receipt-note {
    position: absolute;
    left: 22px;
    bottom: 22px;
    width: min(220px, calc(100% - 44px));
    padding: 16px;
    color: var(--ink);
    background: rgba(16, 12, 9, 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.44);
    transform: rotate(-3deg);
    animation: noteWiggle 5s ease-in-out infinite;
}

.receipt-note span,
.receipt-note small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.receipt-note strong {
    display: block;
    margin: 3px 0;
    font-size: 20px;
    color: var(--gold);
}

.quick-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 clamp(18px, 6vw, 88px);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    transform: translateY(-18px) rotate(-0.6deg);
    box-shadow: var(--shadow);
}

.quick-status div {
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 20px;
    background: var(--surface);
    transition: transform 0.25s ease, background 0.25s ease;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 10px 100%);
}

.quick-status div:hover {
    background: var(--raised);
    transform: translateY(-5px) rotate(1deg);
}

.quick-status span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.quick-status strong {
    color: var(--ink);
    font-size: clamp(18px, 2.4vw, 25px);
}

.section {
    padding: clamp(64px, 9vw, 116px) clamp(18px, 6vw, 88px);
    position: relative;
}

.section::before {
    content: "";
    display: block;
    width: min(220px, 42vw);
    height: 14px;
    margin: 0 0 28px;
    background: linear-gradient(90deg, var(--gold), var(--coral));
    clip-path: var(--zigzag);
    opacity: 0.65;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-heading h2,
.mood-copy h2,
.profile-copy h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: clamp(31px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.menu-page-hero,
.reserve-page-hero {
    position: relative;
    min-height: 56vh;
    display: grid;
    align-items: center;
    padding: clamp(56px, 8vw, 104px) clamp(18px, 6vw, 88px);
    background:
        linear-gradient(90deg, rgba(13, 10, 8, 0.97), rgba(13, 10, 8, 0.74)),
        url("assets/cafe-bg-opt.webp") center / cover no-repeat;
    clip-path: var(--slant);
    overflow: hidden;
}

.menu-page-hero {
    min-height: 38vh;
    padding-top: clamp(38px, 6vw, 72px);
    padding-bottom: clamp(42px, 6vw, 76px);
}

.reserve-page-hero {
    min-height: 42vh;
}

.reserve-page-hero h1 {
    max-width: 980px;
    font-size: clamp(44px, 8vw, 96px);
}

.menu-page-hero h1 {
    max-width: 980px;
    font-size: clamp(38px, 6vw, 76px);
}

.menu-page-section {
    padding-top: clamp(28px, 5vw, 54px);
    padding-bottom: clamp(42px, 6vw, 72px);
}

.menu-board-head {
    display: none;
    grid-template-columns: 64px 88px minmax(0, 1fr) 86px 142px;
    gap: 16px;
    align-items: center;
    max-width: 1120px;
    margin-inline: auto;
    margin-bottom: 6px;
    padding: 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.menu-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 18px;
    max-width: 1120px;
    margin-inline: auto;
}

.menu-board .menu-card {
    min-height: 500px;
    display: flex;
    align-items: stretch;
    padding: 10px;
    border-radius: 8px 28px 8px 28px;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    transform: rotate(var(--card-tilt, 0deg));
}

.menu-board .menu-card::before {
    top: 0;
    left: 14px;
    right: 14px;
    bottom: auto;
    width: auto;
    height: 10px;
    clip-path: var(--zigzag);
}

.menu-board .menu-card:hover {
    transform: translateY(-8px) rotate(var(--card-tilt, 0deg));
}

.menu-board .menu-image {
    width: 100%;
    height: clamp(280px, 25vw, 360px);
    aspect-ratio: auto;
    margin: 0 0 10px;
    border-radius: 8px;
    transform-origin: center;
}

.menu-board .menu-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-board .menu-topline span {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1;
}

.menu-board .menu-topline strong {
    padding: 4px 10px;
    color: var(--bg);
    background: var(--coral);
    border-radius: 999px;
    font-size: 13px;
}

.menu-copy h3 {
    margin: 0 0 2px;
    color: var(--ink);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "HGS明朝E", Georgia, serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0.03em;
}

.menu-copy p {
    max-width: 620px;
    color: var(--sub);
    font-size: 12px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-board .menu-copy p {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.menu-price {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    text-align: right;
}

.menu-card {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--raised);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    transform: rotate(var(--card-tilt, 0deg));
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.menu-card:nth-child(odd) {
    --card-tilt: -0.55deg;
}

.menu-card:nth-child(even) {
    --card-tilt: 0.55deg;
}

.menu-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 10px;
    background: var(--gold);
    clip-path: var(--zigzag);
    opacity: 0.45;
}

.menu-card:hover {
    transform: translateY(-8px) rotate(var(--card-tilt, 0deg));
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 170, 112, 0.22);
}

.menu-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.menu-card:nth-child(2) {
    background: rgba(20, 30, 22, 0.92);
}

.menu-card:nth-child(3) {
    background: rgba(16, 22, 30, 0.92);
}

.menu-card:nth-child(4) {
    background: rgba(34, 20, 16, 0.92);
}

.menu-card:nth-child(5),
.menu-card:nth-child(9) {
    background: rgba(30, 24, 16, 0.92);
}

.menu-card:nth-child(6),
.menu-card:nth-child(10) {
    background: rgba(26, 20, 16, 0.9);
}

.menu-card:nth-child(7) {
    background: rgba(16, 24, 32, 0.92);
}

.menu-card:nth-child(8) {
    background: rgba(36, 28, 14, 0.92);
}

.menu-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(201, 170, 112, 0.12);
    margin-bottom: 16px;
    background: var(--surface);
    clip-path: polygon(0 0, 100% 8px, calc(100% - 8px) 100%, 8px calc(100% - 8px));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.menu-board .menu-card:hover .menu-image {
    transform: none;
}

.menu-card:hover .menu-image {
    transform: scale(1.02);
    filter: saturate(1.06) brightness(1.05);
}

.menu-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.menu-card h3 {
    margin: 20px 0 12px;
    color: var(--ink);
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.2;
}

.menu-card p {
    margin: 0;
    color: var(--sub);
    font-size: 14px;
}

.menu-actions {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.menu-board .menu-actions {
    padding-top: 8px;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-self: stretch;
}

.menu-board .detail-link,
.menu-board .menu-button {
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1;
}

.detail-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 8px;
    color: var(--gold);
    background: rgba(201, 170, 112, 0.06);
    font-weight: 800;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.detail-link:hover {
    background: rgba(201, 170, 112, 0.16);
    transform: translateY(-3px) rotate(0.5deg);
}

.menu-button {
    min-height: 38px;
    margin-top: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: transparent;
    font-weight: 800;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-actions .menu-button {
    margin-top: 0;
}

.menu-button:hover,
.button:hover {
    transform: translateY(-3px) rotate(-0.5deg);
}

.menu-button:hover {
    color: var(--bg);
    background: var(--gold);
    border-color: var(--gold);
}

.menu-modal[hidden] {
    display: none;
}

.menu-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 30px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.menu-modal.is-open,
.menu-modal.is-closing {
    pointer-events: auto;
}

.menu-modal.is-open {
    opacity: 1;
}

.menu-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 6, 4, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.menu-modal.is-open .menu-modal__backdrop {
    opacity: 1;
}

.menu-modal__panel {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: min(86vh, 760px);
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    overflow: auto;
    padding: clamp(22px, 4vw, 40px);
    color: #302924;
    background: #fff0c9;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px 8px 24px 8px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    outline: none;
    opacity: 0;
    transform: translateY(24px) scale(0.96) rotate(-0.6deg);
    transition: opacity 0.24s ease, transform 0.28s cubic-bezier(.2, .85, .2, 1);
}

.menu-modal.is-open .menu-modal__panel {
    opacity: 1;
    transform: none;
}

.menu-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 3px solid #fff7df;
    border-radius: 14px;
    color: #fff7df;
    background: #3a322d;
    font-size: 34px;
    line-height: 0.8;
    cursor: pointer;
}

.menu-modal__image-wrap {
    min-height: 0;
}

.menu-modal__image-wrap img {
    width: 100%;
    max-height: 620px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px 8px 18px 8px;
    box-shadow: 0 16px 36px rgba(48, 41, 36, 0.22);
}

.menu-modal__content {
    display: grid;
    align-content: center;
    gap: 16px;
    min-width: 0;
    padding-right: 28px;
}

.menu-modal__content .menu-topline {
    justify-content: flex-start;
    gap: 10px;
    color: #6a5d50;
}

.menu-modal__content .menu-topline span {
    color: #302924;
}

.menu-modal__content h2 {
    margin: 0;
    color: #302924;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
}

.menu-modal__price {
    color: var(--coral);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.4vw, 30px);
}

.menu-modal__content > p {
    margin: 0;
    color: #4d443d;
    font-weight: 700;
}

.menu-modal__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(48, 41, 36, 0.16);
}

.menu-modal__stats article {
    min-height: 116px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.menu-modal__stats span {
    color: #8f5a3d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.menu-modal__stats p {
    margin: 8px 0 0;
    color: #4d443d;
    font-size: 13px;
    line-height: 1.55;
}

.mood-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
    padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 88px);
    background:
        radial-gradient(ellipse at 28% 54%, rgba(201, 170, 112, 0.05), transparent 64%),
        linear-gradient(115deg, #0a0806, #141008);
    clip-path: polygon(0 42px, 100% 0, 100% calc(100% - 38px), 0 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}



.mood-band::before {
    content: "";
    position: absolute;
    inset: 16px auto auto 0;
    width: 100%;
    height: 12px;
    background: rgba(201, 170, 112, 0.14);
    clip-path: var(--zigzag);
}

.mood-copy p:not(.eyebrow) {
    max-width: 680px;
    color: var(--sub);
}

.mood-copy h2 {
    color: var(--ink);
}

.mood-list {
    display: grid;
    gap: 12px;
}

.mood-list p {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(201, 170, 112, 0.12);
    transition: transform 0.22s ease, color 0.22s ease;
}

.mood-list p:hover {
    transform: translateX(10px) skewX(-4deg);
    color: var(--gold);
}

.mood-list span {
    display: inline-block;
    min-width: 58px;
    color: var(--gold);
    font-weight: 800;
}

.exterior-section {
    padding-bottom: clamp(36px, 6vw, 76px);
}

.exterior-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 980px;
}

.exterior-layout img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 8px 46px 8px 46px;
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.exterior-layout p {
    max-width: 780px;
    margin: 0;
    color: var(--sub);
    font-size: clamp(15px, 1.6vw, 18px);
}

.map-section {
    padding-top: clamp(54px, 8vw, 96px);
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: clamp(20px, 4vw, 44px);
    align-items: center;
    max-width: 1180px;
}

.map-layout img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 8px 42px 8px 42px;
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.map-copy {
    padding: 24px;
    color: var(--espresso);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 34px 8px 34px 8px;
    box-shadow: 0 12px 30px rgba(37, 25, 20, 0.08);
    transform: rotate(0.8deg);
}

.map-copy span {
    color: var(--coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.map-copy p {
    margin: 14px 0 0;
    color: #3d3a35;
}

.reserve-section,
.reserve-page-section {
    padding-top: clamp(58px, 8vw, 92px);
}

.reserve-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 860px;
}

.reserve-form-detailed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
}

.reserve-form label {
    display: grid;
    gap: 8px;
    color: var(--sub);
    font-size: 13px;
    font-weight: 800;
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
    min-height: 52px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--raised);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.reserve-form select option {
    background: var(--raised);
    color: var(--ink);
}

.reserve-form textarea {
    resize: vertical;
}

.reserve-form input[type="range"] {
    padding-inline: 0;
    clip-path: none;
    accent-color: var(--gold);
    background: transparent;
}

.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 170, 112, 0.14);
    transform: translateY(-2px);
}

.wide {
    grid-column: 1 / -1;
}

.form-note {
    min-height: 28px;
    margin: 18px 0 0;
    color: var(--gold);
    font-weight: 800;
}

.form-note.is-visible {
    max-width: 1080px;
    padding: 16px 18px;
    border: 1px solid rgba(201, 170, 112, 0.22);
    border-radius: 8px 28px 8px 28px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.reserve-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 clamp(18px, 6vw, 88px) clamp(64px, 8vw, 96px);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    transform: rotate(-0.35deg);
}

.reserve-info article {
    min-height: 128px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 22px;
    background: var(--surface);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.reserve-info span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.reserve-info strong {
    color: var(--ink);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
}

.delivery-section {
    padding-top: clamp(46px, 7vw, 82px);
}

.delivery-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
    max-width: 1180px;
    margin-inline: auto;
}

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

.delivery-item {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    min-height: 360px;
    padding: 12px;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 8px 28px 8px 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.delivery-item img {
    width: 100%;
    height: clamp(180px, 16vw, 240px);
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(201, 170, 112, 0.12);
    clip-path: polygon(0 0, 100% 8px, calc(100% - 8px) 100%, 8px calc(100% - 8px));
}

.delivery-item h3 {
    margin: 0 0 8px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.18;
}

.delivery-item p {
    margin: 0;
    color: var(--sub);
    font-size: 13px;
    line-height: 1.5;
}

.delivery-item strong {
    display: block;
    margin-top: 8px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
}

.delivery-qty {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
}

.delivery-qty button {
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    font-weight: 900;
    cursor: pointer;
}

.delivery-qty input {
    min-height: 36px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    font-weight: 900;
    text-align: center;
}

.delivery-qty input::-webkit-outer-spin-button,
.delivery-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.delivery-qty input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.delivery-summary,
.delivery-confirm,
.delivery-complete {
    padding: clamp(18px, 3vw, 28px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px 34px 8px 34px;
    box-shadow: var(--shadow);
    clip-path: polygon(0 26px, 26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.delivery-summary {
    position: sticky;
    top: 92px;
}

.delivery-summary span,
.delivery-surprise span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.delivery-summary > strong {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
}

.delivery-summary-list,
.delivery-summary p,
.delivery-complete > p {
    color: var(--sub);
}

.delivery-summary-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.delivery-summary-empty {
    margin: 0;
    line-height: 1.7;
}

.delivery-summary-row {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 8px 20px 8px 20px;
    text-align: left;
}

.delivery-summary-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.delivery-summary-copy strong {
    min-width: 0;
    color: var(--ink);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
    font-size: 15px;
    line-height: 1.35;
}

.delivery-summary-copy small {
    flex: 0 0 auto;
    color: var(--gold);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.delivery-summary-controls {
    display: inline-grid;
    grid-template-columns: 30px 28px 30px 30px;
    gap: 6px;
    align-items: center;
    justify-self: end;
}

.delivery-summary-controls button {
    min-height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    font-weight: 900;
    cursor: pointer;
}

.delivery-summary-controls output {
    display: grid;
    min-height: 30px;
    place-items: center;
    color: var(--gold);
    font-family: Georgia, "Yu Mincho", serif;
    font-weight: 900;
}

.delivery-summary-controls .summary-remove {
    color: var(--gold);
}

.delivery-summary .button {
    width: 100%;
    margin-top: 16px;
}

.delivery-summary .button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.delivery-confirm,
.delivery-complete {
    max-width: 960px;
    margin: clamp(28px, 5vw, 52px) auto 0;
    text-align: center;
}

.delivery-confirm[hidden],
.delivery-complete[hidden] {
    display: none;
}

.delivery-confirm h2,
.delivery-complete h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
}

.delivery-confirm-list,
.delivery-random-list {
    display: grid;
    gap: 10px;
    margin: 22px auto;
    max-width: 680px;
}

.delivery-confirm-row,
.delivery-random-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 8px 22px 8px 22px;
    text-align: left;
}

.delivery-random-row.has-price {
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
}

.delivery-confirm-row.has-price {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    row-gap: 4px;
}

.delivery-confirm-row.has-price .delivery-line-price {
    grid-column: 2 / -1;
    justify-self: end;
    margin-top: -6px;
    margin-right: 8px;
    color: var(--gold);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: 14px;
    line-height: 1;
    opacity: 0.92;
}

.delivery-confirm-row img,
.delivery-random-row img {
    width: 72px;
    height: 72px;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.delivery-confirm-row strong,
.delivery-random-row strong {
    color: var(--ink);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
}

.delivery-confirm-row span,
.delivery-random-row span {
    color: var(--gold);
    font-weight: 900;
}

.delivery-line-price {
    color: var(--ink);
    font-family: Georgia, "Yu Mincho", serif;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.delivery-confirm-total {
    display: block;
    color: var(--gold);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: clamp(24px, 3vw, 36px);
}

.delivery-price-total {
    margin-top: 8px;
    color: var(--ink);
    font-size: clamp(20px, 2.6vw, 30px);
}

.delivery-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.delivery-surprise {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 22px 0;
    text-align: left;
}

.delivery-surprise img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px 30px 8px 30px;
    border: 1px solid var(--line);
}

.delivery-surprise h3 {
    margin: 8px 0 10px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
    font-size: clamp(24px, 3vw, 38px);
}

.delivery-checkout-layout {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
    max-width: 1120px;
    margin-inline: auto;
}

.checkout-order-card {
    position: sticky;
    top: 92px;
    margin-top: 0;
}

.checkout-order-card h2 {
    font-size: clamp(26px, 3.4vw, 42px);
}

.checkout-order-card .button {
    margin-top: 18px;
}

.checkout-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(18px, 3vw, 30px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px 8px 30px 8px;
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.checkout-form label {
    display: grid;
    gap: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px 18px 8px 18px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--raised);
    font: inherit;
}

.checkout-form textarea {
    resize: vertical;
}

.checkout-form .wide-field,
.checkout-actions {
    grid-column: 1 / -1;
}

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.delivery-complete-page {
    display: grid;
    min-height: calc(100vh - 160px);
    align-items: center;
    padding-top: clamp(38px, 7vw, 86px);
}

.delivery-complete h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: clamp(32px, 4.8vw, 58px);
    line-height: 1.05;
}

.delivery-complete-address {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--gold);
    font-weight: 800;
}

.profile-hero {
    position: relative;
    min-height: calc(78vh - 72px);
    display: grid;
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 6vw, 78px);
    padding: clamp(38px, 6vw, 88px) clamp(18px, 6vw, 88px);
    background:
        linear-gradient(90deg, rgba(13, 10, 8, 0.96), rgba(13, 10, 8, 0.8)),
        url("assets/cafe-bg-opt.webp") center / cover no-repeat;
    clip-path: var(--slant);
    overflow: hidden;
}

.profile-image {
    min-height: 420px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(150deg, rgba(201, 170, 112, 0.08), rgba(217, 104, 72, 0.04)),
        var(--raised);
    box-shadow: var(--shadow);
    clip-path: polygon(0 28px, 28px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
    transform: rotate(-1.1deg);
    animation: visualFloat 6.2s ease-in-out infinite;
}

.profile-image img {
    width: min(82%, 420px);
    max-height: 620px;
    border-radius: 8px;
    object-fit: contain;
    border: 8px solid rgba(201, 170, 112, 0.16);
    animation: portraitBreathe 5.4s ease-in-out infinite;
}

.profile-copy h1 {
    font-size: clamp(48px, 8vw, 104px);
}

.profile-section {
    padding-top: 40px;
}

.story {
    max-width: 920px;
    columns: 2 320px;
    column-gap: 44px;
}

.story p {
    break-inside: avoid;
    margin: 0 0 1.4em;
    color: var(--sub);
    padding-left: 14px;
    border-left: 4px solid rgba(201, 170, 112, 0.22);
    transform: skewX(-1.2deg);
}

.weird-index {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0 clamp(18px, 6vw, 88px) clamp(66px, 8vw, 96px);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    transform: rotate(0.45deg);
}

.weird-index article {
    min-height: 240px;
    padding: 24px;
    background: var(--surface);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
    transition: transform 0.25s ease, background 0.25s ease;
}

.weird-index article:hover {
    background: var(--raised);
    transform: translateY(-6px) rotate(-1deg);
}

.weird-index span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.weird-index h3 {
    margin: 36px 0 12px;
    color: var(--ink);
    font-size: clamp(19px, 2.2vw, 24px);
}

.weird-index p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.quote-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(38px, 6vw, 64px) clamp(18px, 6vw, 88px);
    background:
        radial-gradient(ellipse at 60% 50%, rgba(201, 170, 112, 0.05), transparent 70%),
        var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    clip-path: polygon(0 0, 100% 28px, 100% 100%, 0 calc(100% - 28px));
}

.quote-band p {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Yu Mincho", serif;
    font-size: clamp(26px, 4vw, 48px);
    line-height: 1.18;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 30px clamp(18px, 6vw, 88px);
    color: var(--muted);
    background: var(--bg);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.order-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    max-width: min(360px, calc(100vw - 36px));
    padding: 14px 16px;
    color: var(--bg);
    background: var(--gold);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.order-toast.above-modal {
    z-index: 90;
}

.order-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Centering polish
   ========================================================= */
.hero-copy,
.section-heading,
.mood-copy,
.exterior-layout,
.map-copy,
.menu-page-hero > div,
.reserve-page-hero > div,
.menu-card,
.menu-modal__content,
.profile-copy,
.story {
    text-align: center;
}

.section::before {
    margin-inline: auto;
}

.lead,
.hero-copy .lead,
.menu-page-hero .lead,
.reserve-page-hero .lead,
.profile-copy .lead,
.mood-copy p:not(.eyebrow),
.exterior-layout p,
.map-copy p {
    margin-left: auto;
    margin-right: auto;
}

.menu-copy,
.menu-modal__content {
    align-items: center;
}

.menu-price {
    align-self: center;
    text-align: center;
}

.menu-modal__content {
    justify-items: center;
}

.menu-modal__content .menu-topline {
    justify-content: center;
}

.menu-modal__content .button {
    justify-self: center;
}

.mood-band,
.map-layout {
    justify-items: center;
}

.mood-list {
    width: 100%;
    max-width: 620px;
}

.mood-list p {
    justify-content: center;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(34px) rotate(-0.7deg);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .85, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

.reveal-delay-1 { transition-delay: 55ms; }
.reveal-delay-2 { transition-delay: 110ms; }
.reveal-delay-3 { transition-delay: 165ms; }
.reveal-delay-4 { transition-delay: 220ms; }
.reveal-delay-5 { transition-delay: 275ms; }
.reveal-delay-6 { transition-delay: 330ms; }
.reveal-delay-7 { transition-delay: 385ms; }

@keyframes introCard {
    0% { opacity: 0; transform: rotate(-6deg) scale(0.82) translateY(24px); }
    60% { opacity: 1; transform: rotate(1.2deg) scale(1.02) translateY(0); }
    100% { opacity: 1; transform: rotate(-1.5deg) scale(1); }
}

@keyframes introLine {
    to { width: min(260px, 70%); }
}

@keyframes introExit {
    0% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    100% { opacity: 0; visibility: hidden; clip-path: polygon(0 0, 100% 0, 100% 0, 0 16%); }
}

@keyframes slideDown {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCopyIn {
    from { opacity: 0; transform: translateX(-36px) skewX(-4deg); }
    to { opacity: 1; transform: none; }
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: translateX(44px) rotate(5deg) scale(0.96); }
    to { opacity: 1; transform: rotate(1.2deg) scale(1); }
}

@keyframes visualFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@keyframes portraitBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

@keyframes noteWiggle {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(1.5deg) translateY(-4px); }
}

@keyframes titleTilt {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(-0.7deg); }
}

@keyframes crawl {
    from { background-position: 0 0; }
    to { background-position: 220px 0; }
}

@media (max-width: 980px) {
    .hero,
    .profile-hero,
    .mood-band {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 0;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
    }

    .hero-visual,
    .profile-image {
        min-height: 360px;
    }

    .menu-grid,
    .weird-index,
    .map-layout,
    .delivery-form,
    .delivery-checkout-layout,
    .delivery-grid,
    .reserve-form-detailed,
    .reserve-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-modal__panel {
        grid-template-columns: 1fr;
        max-height: 88vh;
    }

    .menu-modal__image-wrap img {
        max-height: 360px;
    }

    .menu-board-head {
        display: none;
    }

    .menu-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .menu-board .menu-card {
        min-height: 460px;
        display: flex;
        align-items: stretch;
        padding: 12px;
        transform: rotate(var(--card-tilt, 0deg));
    }

    .menu-board .menu-image {
        width: 100%;
        height: clamp(250px, 40vw, 340px);
        aspect-ratio: auto;
        margin-bottom: 12px;
    }

    .menu-board .menu-topline {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-board .menu-topline span {
        font-size: 16px;
        font-family: inherit;
    }

    .menu-board .menu-price {
        margin: 10px 0 0;
    }

    .menu-board .menu-actions {
        padding-top: 12px;
    }

    .hero-visual,
    .profile-image,
    .quick-status,
    .weird-index {
        transform: none;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 42px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 18px 18px;
        background: rgba(13, 10, 8, 0.98);
        border-bottom: 1px solid var(--line);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a::after {
        bottom: 4px;
    }

    .hero,
    .profile-hero {
        padding-top: 38px;
    }

    .hero-visual,
    .profile-image {
        min-height: 320px;
    }

    .quick-status,
    .menu-grid,
    .weird-index,
    .map-layout,
    .delivery-form,
    .delivery-checkout-layout,
    .delivery-grid,
    .delivery-surprise,
    .checkout-form,
    .reserve-form,
    .reserve-form-detailed,
    .reserve-info {
        grid-template-columns: 1fr;
    }

    .menu-modal {
        padding: 10px;
    }

    .menu-modal__panel {
        padding: 18px;
        gap: 18px;
        border-radius: 18px 8px 18px 8px;
    }

    .menu-modal__content {
        padding-right: 0;
    }

    .menu-modal__stats {
        grid-template-columns: 1fr;
    }

    .menu-modal__close {
        top: 12px;
        right: 12px;
    }

    .delivery-random-row.has-price {
        grid-template-columns: 72px minmax(0, 1fr) auto;
    }

    .delivery-line-price {
        grid-column: 2 / -1;
    }

    .menu-board {
        grid-template-columns: 1fr;
    }

    .quick-status div {
        min-height: 72px;
    }

    .menu-card {
        min-height: 430px;
    }

    .delivery-summary {
        position: static;
    }

    .menu-copy p {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .quote-band,
    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .mood-band,
    .profile-hero,
    .menu-page-hero,
    .reserve-page-hero,
    .quote-band {
        clip-path: none;
    }
}

@media (max-width: 460px) {
    .brand span:last-child {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .receipt-note {
        position: static;
        width: calc(100% - 28px);
        margin: -12px 14px 14px;
    }

    .hero-visual {
        align-content: center;
        gap: 10px;
    }
}

/* =========================================================
   Full center alignment override
   ========================================================= */
body {
    text-align: center;
}

img,
svg,
video,
canvas {
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.brand,
.site-nav,
.hero-actions,
.quote-band,
footer {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-nav {
    flex-wrap: wrap;
}

.hero,
.quick-status,
.mood-band,
.section,
.menu-page-hero,
.reserve-page-hero,
.profile-hero,
.map-layout,
.weird-index,
.menu-board,
.menu-grid,
.menu-modal__panel,
.menu-modal__content,
.menu-modal__stats {
    justify-items: center;
    text-align: center;
}

.hero > *,
.menu-page-hero > *,
.reserve-page-hero > *,
.profile-hero > *,
.mood-band > *,
.map-layout > *,
.section > * {
    justify-self: center;
}

.lead,
p,
h1,
h2,
h3,
button,
input,
select,
textarea {
    text-align: center;
}

.menu-card,
.menu-board .menu-card,
.menu-copy,
.menu-modal__content,
.weird-index article,
.profile-image,
.story,
.story p,
.map-copy,
.exterior-layout {
    align-items: center;
    justify-items: center;
    text-align: center;
}

.menu-topline,
.menu-board .menu-topline,
.menu-modal__content .menu-topline {
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.menu-actions,
.menu-board .menu-actions {
    width: 100%;
    justify-content: center;
}

.menu-price,
.menu-modal__price {
    align-self: center;
    justify-self: center;
    text-align: center;
}

.mood-list {
    margin-left: auto;
    margin-right: auto;
}

/* Keep the header in its original left/right navigation layout. */
.site-header {
    justify-content: space-between;
    flex-wrap: nowrap;
    text-align: left;
}

.site-header .brand {
    justify-content: flex-start;
    text-align: left;
}

.site-header .site-nav {
    justify-content: flex-end;
    align-items: center;
    text-align: left;
    flex-wrap: nowrap;
}

@media (max-width: 720px) {
    .site-header {
        justify-content: space-between;
    }

    .site-header .site-nav {
        flex-wrap: nowrap;
        align-items: stretch;
        text-align: left;
    }
}

/* Keep the index chef visual in its original hero position. */
.hero {
    justify-items: stretch;
}

.hero > * {
    justify-self: stretch;
}

.hero-copy {
    text-align: center;
}

.hero-visual {
    justify-self: stretch;
    align-self: center;
    text-align: initial;
}

.hero-visual img {
    margin: 0;
}

/* Keep the top status strip stretched like the original. */
.quick-status {
    justify-items: stretch;
}

.quick-status div {
    width: 100%;
    justify-self: stretch;
}

@media (max-width: 980px) {
    .hero-visual {
        justify-self: center;
    }
}

/* Keep the reservation memo in its original form layout. */
.reserve-page-section {
    display: block;
    text-align: center;
}

.reserve-page-section::before {
    margin-left: auto;
    margin-right: auto;
}

.reserve-page-section .section-heading {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    justify-self: start;
    text-align: left;
}

.reserve-page-section .section-heading * {
    text-align: left;
}

.reserve-form,
.reserve-form-detailed {
    width: 100%;
    max-width: 1080px;
    justify-items: stretch;
    margin-left: auto;
    margin-right: auto;
    justify-self: start;
    text-align: left;
}

.reserve-form label {
    align-items: stretch;
    justify-items: stretch;
    width: auto;
    text-align: left;
}

.reserve-form label,
.reserve-form label *,
.reserve-form input,
.reserve-form select,
.reserve-form textarea {
    text-align: left;
}

.reserve-form input[type="range"] {
    text-align: initial;
}

.reserve-form .button.wide {
    justify-self: stretch;
    text-align: center;
}

.form-note {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    justify-self: start;
    text-align: left;
}

/* Keep delivery controls readable while the page stays centered. */
.delivery-form,
.delivery-grid,
.delivery-item,
.delivery-summary,
.delivery-confirm,
.delivery-complete,
.delivery-checkout-layout {
    text-align: center;
}

.delivery-item p,
.delivery-summary p,
.delivery-complete > p,
.delivery-surprise,
.checkout-form,
.checkout-form label,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    text-align: left;
}

.delivery-qty input {
    text-align: center;
}

.checkout-actions {
    text-align: center;
}


/* =========================================================
   Mobile menu and delivery polish
   ========================================================= */
@media (max-width: 720px) {
    body {
        overflow-x: hidden;
    }

    .section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .menu-page-hero,
    .reserve-page-hero {
        min-height: 0;
        padding: 34px 16px 30px;
    }

    .menu-page-hero h1,
    .reserve-page-hero h1 {
        font-size: clamp(34px, 12vw, 48px);
        line-height: 1.06;
    }

    .menu-page-hero .lead,
    .reserve-page-hero .lead {
        max-width: 34em;
        font-size: 14px;
        line-height: 1.75;
    }

    .menu-page-section,
    .delivery-section {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .menu-board {
        width: min(100%, 430px);
        gap: 14px;
        margin-inline: auto;
    }

    .menu-board .menu-card,
    .menu-card {
        min-height: 0;
        padding: 12px;
        border-radius: 8px 22px 8px 22px;
        transform: none;
    }

    .menu-card:hover,
    .menu-board .menu-card:hover {
        transform: translateY(-3px);
    }

    .menu-board .menu-image,
    .menu-image {
        height: clamp(190px, 58vw, 260px);
        margin-bottom: 10px;
    }

    .menu-board .menu-topline span {
        font-size: 15px;
    }

    .menu-board .menu-topline strong {
        font-size: 13px;
        padding: 5px 12px;
    }

    .menu-copy h3,
    .menu-card h3 {
        margin: 10px 0 6px;
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.18;
    }

    .menu-board .menu-copy p,
    .menu-card p {
        min-height: 3.2em;
        font-size: 13px;
        line-height: 1.6;
        -webkit-line-clamp: 2;
    }

    .menu-price {
        margin-top: 10px;
        font-size: 16px;
    }

    .menu-board .menu-actions,
    .menu-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-top: 12px;
    }

    .menu-board .detail-link,
    .menu-board .menu-button,
    .detail-link,
    .menu-button {
        min-height: 42px;
        font-size: 14px;
    }

    .menu-modal__panel {
        width: min(100%, 420px);
        max-height: 86vh;
        padding: 16px;
    }

    .menu-modal__image-wrap img {
        max-height: 240px;
    }

    .delivery-form {
        width: min(100%, 460px);
        gap: 16px;
        margin-inline: auto;
    }

    .delivery-summary {
        order: -1;
        position: static;
        width: 100%;
        padding: 16px;
        margin-inline: auto;
    }

    .delivery-summary > strong {
        margin-top: 6px;
        font-size: clamp(34px, 12vw, 48px);
    }

    .delivery-summary-list {
        gap: 8px;
        margin-top: 14px;
    }

    .delivery-summary-row {
        gap: 8px;
        padding: 10px;
    }

    .delivery-summary-copy {
        align-items: start;
    }

    .delivery-summary-copy strong {
        font-size: 14px;
    }

    .delivery-summary-controls {
        grid-template-columns: 30px 28px 30px 30px;
        justify-self: end;
    }

    .delivery-grid {
        width: 100%;
        gap: 12px;
    }

    .delivery-item {
        min-height: 0;
        grid-template-columns: 108px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 10px 12px;
        padding: 10px;
        text-align: left;
    }

    .delivery-item img {
        width: 108px;
        height: 108px;
        grid-row: 1 / 3;
    }

    .delivery-item h3 {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .delivery-item p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .delivery-item strong {
        margin-top: 6px;
        font-size: 14px;
    }

    .delivery-qty {
        grid-column: 2;
        grid-template-columns: 38px minmax(54px, 1fr) 38px;
        gap: 8px;
        align-self: end;
    }

    .delivery-qty button,
    .delivery-qty input {
        min-height: 38px;
    }

    .delivery-summary .button {
        min-height: 46px;
        margin-top: 14px;
    }
}

@media (max-width: 430px) {
    .menu-board,
    .delivery-form {
        width: 100%;
    }

    .menu-board .menu-image,
    .menu-image {
        height: clamp(172px, 55vw, 220px);
    }

    .delivery-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 9px 10px;
    }

    .delivery-item img {
        width: 92px;
        height: 92px;
    }

    .delivery-item h3 {
        font-size: 16px;
    }

    .delivery-item p {
        -webkit-line-clamp: 2;
    }

    .delivery-qty {
        grid-template-columns: 34px minmax(46px, 1fr) 34px;
        gap: 6px;
    }

    .delivery-summary-copy {
        display: grid;
        gap: 4px;
    }

    .delivery-summary-copy small {
        justify-self: end;
    }
}

/* =========================================================
   Mobile compact list refinement
   ========================================================= */
@media (max-width: 720px) {
    .delivery-summary-list {
        height: 72px;
        min-height: 72px;
        overflow-y: auto;
        overscroll-behavior: contain;
        align-content: start;
        padding-right: 2px;
        scrollbar-gutter: stable;
    }

    .delivery-summary-empty {
        min-height: 42px;
        display: grid;
        place-items: center;
    }

    .delivery-summary-row {
        min-height: 58px;
    }

    .menu-board {
        width: min(100%, 460px);
        gap: 12px;
    }

    .menu-board .menu-card {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        gap: 7px 12px;
        align-items: start;
        padding: 10px;
        text-align: left;
    }

    .menu-board .menu-image {
        grid-row: 1 / 5;
        width: 108px;
        height: 108px;
        margin: 0;
    }

    .menu-board .menu-copy,
    .menu-board .menu-price {
        grid-column: 2;
    }

    .menu-board .menu-topline {
        position: absolute;
        top: 10px;
        right: 12px;
        z-index: 2;
        display: inline-flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .menu-board .menu-topline span {
        font-size: 13px;
    }

    .menu-board .menu-topline strong {
        padding: 4px 9px;
        font-size: 12px;
    }

    .menu-board .menu-copy {
        display: grid;
        justify-items: start;
        text-align: left;
    }

    .menu-board .menu-copy h3,
    .menu-card h3 {
        margin: 0 0 4px;
        font-size: 18px;
        line-height: 1.18;
        text-align: left;
    }

    .menu-board .menu-copy p,
    .menu-card p {
        min-height: 2.9em;
        font-size: 12px;
        line-height: 1.45;
        text-align: left;
        -webkit-line-clamp: 2;
    }

    .menu-board .menu-price {
        justify-self: start;
        align-self: end;
        margin: 0;
        font-size: 13px;
        text-align: left;
    }

    .menu-board .menu-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-top: 2px;
    }

    .menu-board .detail-link,
    .menu-board .menu-button {
        min-height: 38px;
        font-size: 13px;
    }

    .menu-modal {
        padding: 8px;
    }

    .menu-modal__panel {
        width: min(100%, 420px);
        max-height: 92dvh;
        gap: 12px;
        padding: 14px;
        border-radius: 18px 8px 18px 8px;
    }

    .menu-modal__image-wrap img {
        width: 100%;
        max-height: 210px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .menu-modal__content {
        display: grid;
        gap: 10px;
        justify-items: stretch;
        text-align: left;
    }

    .menu-modal__content .menu-topline {
        justify-content: space-between;
    }

    .menu-modal__content h2 {
        font-size: clamp(24px, 8vw, 34px);
        line-height: 1.08;
        text-align: left;
    }

    .menu-modal__price {
        justify-self: start;
    }

    .menu-modal__content > p {
        max-height: 5em;
        overflow: auto;
        text-align: left;
    }

    .menu-modal__stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .menu-modal__stats article {
        padding: 10px;
    }

    .menu-modal__stats p {
        max-height: 4.8em;
        overflow: auto;
        font-size: 12px;
        line-height: 1.55;
    }

    .menu-modal__content .button {
        width: 100%;
        min-height: 46px;
    }
}

@media (max-width: 430px) {
    .menu-board .menu-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 6px 10px;
    }

    .menu-board .menu-image {
        width: 92px;
        height: 92px;
    }

    .menu-board .menu-topline span {
        font-size: 12px;
    }

    .menu-board .menu-topline strong {
        padding: 3px 8px;
        font-size: 11px;
    }

    .menu-board .menu-copy h3,
    .menu-card h3 {
        font-size: 16px;
    }

    .menu-board .menu-copy p,
    .menu-card p {
        min-height: 2.8em;
        font-size: 11.5px;
    }

    .menu-board .menu-price {
        font-size: 12px;
    }

    .menu-board .detail-link,
    .menu-board .menu-button {
        min-height: 36px;
        font-size: 12px;
    }

    .menu-modal__panel {
        max-height: 94dvh;
        padding: 12px;
    }

    .menu-modal__image-wrap img {
        max-height: 170px;
    }
}

/* Mobile overlap repair */
@media (max-width: 720px) {
    .delivery-summary-list {
        height: 68px;
        min-height: 68px;
    }

    .delivery-summary-empty {
        min-height: 38px;
    }

    .delivery-summary-row {
        min-height: 56px;
    }

    .menu-board .menu-card {
        padding: 12px 10px 10px;
    }

    .menu-board .menu-topline {
        top: 12px;
        right: 14px;
    }

    .menu-board .menu-copy {
        padding-top: 30px;
    }
}

@media (max-width: 430px) {
    .menu-board .menu-copy {
        padding-top: 26px;
    }

    .delivery-summary-list {
        height: 62px;
        min-height: 62px;
    }
}

/* Delivery summary reserves space for three selected items. */
.delivery-summary-list {
    overflow-y: auto;
    overscroll-behavior: contain;
    align-content: start;
    scrollbar-gutter: stable;
}

.delivery-summary-list.has-items {
    height: 242px;
    min-height: 242px;
    max-height: 242px;
}

.delivery-summary-list:not(.has-items) {
    height: auto;
    min-height: 0;
    max-height: none;
}

@media (max-width: 720px) {
    .delivery-summary-list.has-items {
        height: 232px;
        min-height: 232px;
        max-height: 232px;
    }

    .delivery-summary-list:not(.has-items) {
        height: 62px;
        min-height: 62px;
        max-height: 62px;
    }
}

@media (max-width: 430px) {
    .delivery-summary-list.has-items {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .delivery-summary-list:not(.has-items) {
        height: 54px;
        min-height: 54px;
        max-height: 54px;
    }
}

/* Larger delivery summary controls */
.delivery-summary-copy strong {
    font-size: 16px;
}

.delivery-summary-copy small {
    font-size: 13px;
}

.delivery-summary-controls {
    grid-template-columns: 34px 34px 34px 34px;
    gap: 7px;
}

.delivery-summary-controls button,
.delivery-summary-controls output {
    min-height: 34px;
    font-size: 16px;
}

@media (max-width: 720px) {
    .delivery-summary-copy strong {
        font-size: 15.5px;
    }

    .delivery-summary-copy small {
        font-size: 13px;
    }

    .delivery-summary-controls {
        grid-template-columns: 34px 34px 34px 34px;
        gap: 7px;
    }

    .delivery-summary-controls button,
    .delivery-summary-controls output {
        min-height: 34px;
        font-size: 16px;
    }
}

/* Delivery summary layout repair */
.delivery-summary-row {
    grid-template-columns: 1fr;
}

.delivery-summary-copy {
    width: 100%;
}

.delivery-summary-controls {
    justify-self: end;
    width: auto;
    max-width: 100%;
}

@media (max-width: 720px) {
    .delivery-summary-list.has-items {
        height: 258px;
        min-height: 258px;
        max-height: 258px;
    }

    .delivery-summary-row {
        min-height: 72px;
        grid-template-columns: 1fr;
    }

    .delivery-summary-copy {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .delivery-summary-copy strong {
        overflow-wrap: anywhere;
    }

    .delivery-summary-controls {
        grid-template-columns: 32px 30px 32px 32px;
        justify-self: end;
        gap: 6px;
    }

    .delivery-summary-controls button,
    .delivery-summary-controls output {
        min-height: 32px;
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .delivery-summary-list.has-items {
        height: 252px;
        min-height: 252px;
        max-height: 252px;
    }

    .delivery-summary-controls {
        grid-template-columns: 31px 28px 31px 31px;
        gap: 5px;
    }

    .delivery-summary-controls button,
    .delivery-summary-controls output {
        min-height: 31px;
        font-size: 14px;
    }
}

/* Fixed delivery summary frame when the order has many items. */
.delivery-summary {
    box-sizing: border-box;
    overflow: hidden;
}

.delivery-summary.has-items {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: stretch;
}

.delivery-summary.has-items .delivery-summary-list {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto;
}

.delivery-summary.has-items .button {
    align-self: end;
}

@media (max-width: 720px) {
    .delivery-summary.has-items {
        height: 430px;
        min-height: 430px;
        max-height: 430px;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items {
        height: 410px;
        min-height: 410px;
        max-height: 410px;
    }
}

/* Keep mobile delivery summary at the single-item frame height. */
@media (max-width: 720px) {
    .delivery-summary.has-items {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }

    .delivery-summary.has-items .delivery-summary-list {
        min-height: 86px !important;
        max-height: 86px !important;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items {
        height: 224px;
        min-height: 224px;
        max-height: 224px;
    }

    .delivery-summary.has-items .delivery-summary-list {
        min-height: 80px !important;
        max-height: 80px !important;
    }
}

/* Final mobile delivery summary sizing: no overlap, fixed frame. */
@media (max-width: 720px) {
    .delivery-summary.has-items {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        row-gap: 8px;
    }

    .delivery-summary.has-items > strong {
        font-size: clamp(34px, 10vw, 44px);
    }

    .delivery-summary.has-items .delivery-summary-list {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: auto;
    }

    .delivery-summary.has-items .button {
        margin-top: 0;
        align-self: end;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items {
        height: 286px;
        min-height: 286px;
        max-height: 286px;
        row-gap: 7px;
    }

    .delivery-summary.has-items > strong {
        font-size: clamp(32px, 10vw, 40px);
    }
}

/* Variable delivery summary: grows up to three items, then scrolls. */
.delivery-summary.has-items {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: auto auto auto auto;
}

.delivery-summary.has-items .delivery-summary-list {
    height: auto !important;
    min-height: 0 !important;
    max-height: 242px !important;
    overflow-y: auto;
}

.delivery-summary.has-items .button {
    margin-top: 16px;
    align-self: auto;
}

@media (max-width: 720px) {
    .delivery-summary.has-items {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        row-gap: 0;
    }

    .delivery-summary.has-items .delivery-summary-list {
        height: auto !important;
        min-height: 0 !important;
        max-height: 232px !important;
        overflow-y: auto;
    }

    .delivery-summary.has-items .delivery-summary-row {
        min-height: 72px;
    }

    .delivery-summary.has-items .button {
        margin-top: 14px;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items .delivery-summary-list {
        max-height: 224px !important;
    }

    .delivery-summary.has-items .delivery-summary-row {
        min-height: 70px;
    }
}

/* Three full summary rows without clipping. */
@media (max-width: 720px) {
    .delivery-summary.has-items .delivery-summary-list {
        max-height: 252px !important;
    }

    .delivery-summary.has-items .delivery-summary-row {
        min-height: 76px;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items .delivery-summary-list {
        max-height: 244px !important;
    }

    .delivery-summary.has-items .delivery-summary-row {
        min-height: 74px;
    }
}

/* Mobile quantity dropdowns */
.delivery-mobile-qty,
.summary-qty-select {
    display: none;
}

.delivery-mobile-qty span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.delivery-mobile-qty select,
.summary-qty-select {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 720px) {
    .delivery-qty {
        display: none;
    }

    .delivery-mobile-qty {
        grid-column: 2;
        display: grid;
        grid-template-columns: auto minmax(76px, 1fr);
        gap: 8px;
        align-items: center;
        align-self: end;
    }

    .delivery-mobile-qty select {
        width: 100%;
    }

    .delivery-summary-controls {
        grid-template-columns: minmax(92px, 1fr) 34px;
        align-items: center;
    }

    .delivery-summary-controls [data-summary-minus],
    .delivery-summary-controls [data-summary-plus],
    .delivery-summary-controls output {
        display: none;
    }

    .summary-qty-select {
        display: block;
        width: 100%;
        min-height: 34px;
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .delivery-mobile-qty {
        grid-template-columns: auto minmax(64px, 1fr);
        gap: 6px;
    }

    .delivery-mobile-qty select,
    .summary-qty-select {
        min-height: 32px;
        font-size: 14px;
    }

    .delivery-summary-controls {
        grid-template-columns: minmax(82px, 1fr) 31px;
    }
}

/* Slightly larger cart item names */
.delivery-summary-copy strong {
    font-size: 17px;
}

@media (max-width: 720px) {
    .delivery-summary-copy strong {
        font-size: 16.5px;
    }
}

@media (max-width: 430px) {
    .delivery-summary-copy strong {
        font-size: 15.5px;
    }
}

/* Stable mobile cart layout */
@media (max-width: 720px) {
    .delivery-summary.has-items {
        display: block;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 18px 16px;
        overflow: hidden;
    }

    .delivery-summary.has-items > span {
        display: block;
        margin-bottom: 4px;
    }

    .delivery-summary.has-items > strong {
        margin: 0 0 14px;
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1;
    }

    .delivery-summary.has-items .delivery-summary-list {
        display: grid;
        gap: 8px;
        height: auto !important;
        min-height: 0 !important;
        max-height: 292px !important;
        margin-top: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .delivery-summary.has-items .delivery-summary-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "copy copy"
            ". controls";
        gap: 9px 10px;
        min-height: 92px;
        padding: 11px 12px;
        align-items: center;
    }

    .delivery-summary.has-items .delivery-summary-copy {
        grid-area: copy;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
    }

    .delivery-summary.has-items .delivery-summary-copy strong {
        min-width: 0;
        font-size: 16px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .delivery-summary.has-items .delivery-summary-copy small {
        flex: 0 0 auto;
        font-size: 13px;
    }

    .delivery-summary.has-items .delivery-summary-controls {
        grid-area: controls;
        display: grid;
        grid-template-columns: 96px 34px;
        gap: 7px;
        justify-self: end;
        align-items: center;
    }

    .delivery-summary.has-items .summary-qty-select {
        width: 96px;
        min-height: 34px;
        font-size: 15px;
    }

    .delivery-summary.has-items .summary-remove {
        width: 34px;
        min-height: 34px;
        font-size: 15px;
    }

    .delivery-summary.has-items .button {
        min-height: 48px;
        margin-top: 14px;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items {
        padding: 16px 14px;
    }

    .delivery-summary.has-items > strong {
        font-size: clamp(32px, 9vw, 40px);
        margin-bottom: 12px;
    }

    .delivery-summary.has-items .delivery-summary-list {
        max-height: 280px !important;
    }

    .delivery-summary.has-items .delivery-summary-row {
        min-height: 88px;
        padding: 10px;
    }

    .delivery-summary.has-items .delivery-summary-copy strong {
        font-size: 15px;
    }

    .delivery-summary.has-items .delivery-summary-copy small {
        font-size: 12px;
    }

    .delivery-summary.has-items .delivery-summary-controls {
        grid-template-columns: 86px 32px;
        gap: 6px;
    }

    .delivery-summary.has-items .summary-qty-select {
        width: 86px;
        min-height: 32px;
        font-size: 14px;
    }

    .delivery-summary.has-items .summary-remove {
        width: 32px;
        min-height: 32px;
        font-size: 14px;
    }
}

/* Responsive checkout order thumbnails */
.checkout-order-card {
    width: 100%;
    box-sizing: border-box;
}

.checkout-order-card .delivery-confirm-list {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 720px) {
    .checkout-order-card {
        width: min(100%, 460px);
        padding: 18px;
    }

    .checkout-order-card .delivery-confirm-row {
        grid-template-columns: clamp(54px, 18vw, 72px) minmax(0, 1fr) auto;
        gap: 10px;
        padding: 9px;
    }

    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: clamp(54px, 18vw, 72px) minmax(0, 1fr) auto;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: clamp(54px, 18vw, 72px);
        height: clamp(54px, 18vw, 72px);
    }

    .checkout-order-card .delivery-confirm-row strong {
        min-width: 0;
        font-size: clamp(13px, 3.8vw, 16px);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .checkout-order-card .delivery-confirm-row span {
        font-size: 13px;
        white-space: nowrap;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        grid-column: 2 / -1;
        justify-self: end;
        margin-right: 0;
        font-size: 13px;
    }
}

@media (max-width: 430px) {
    .checkout-order-card {
        padding: 16px 14px;
    }

    .checkout-order-card .delivery-confirm-row {
        grid-template-columns: clamp(48px, 16vw, 62px) minmax(0, 1fr) auto;
        gap: 8px;
    }

    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: clamp(48px, 16vw, 62px) minmax(0, 1fr) auto;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: clamp(48px, 16vw, 62px);
        height: clamp(48px, 16vw, 62px);
    }
}

/* Full-width mobile checkout layout */
@media (max-width: 720px) {
    .delivery-checkout-layout {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        justify-items: stretch;
    }

    .checkout-order-card,
    .delivery-checkout-layout .delivery-confirm,
    .delivery-checkout-layout .checkout-form {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    .checkout-order-card {
        padding: 16px 14px;
    }

    .checkout-order-card .delivery-confirm-list {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        grid-template-columns: minmax(46px, 17vw) minmax(0, 1fr) auto;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: min(17vw, 64px);
        height: min(17vw, 64px);
        min-width: 46px;
        min-height: 46px;
    }
}

@media (max-width: 430px) {
    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: minmax(42px, 15vw) minmax(0, 1fr) auto;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: min(15vw, 56px);
        height: min(15vw, 56px);
        min-width: 42px;
        min-height: 42px;
    }
}

/* Mobile max content width */
@media (max-width: 720px) {
    .menu-board,
    .delivery-form,
    .delivery-checkout-layout,
    .checkout-order-card,
    .delivery-checkout-layout .checkout-form,
    .menu-modal__panel {
        width: min(100%, 470px);
        max-width: 470px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Larger checkout line prices */
.checkout-order-card .delivery-line-price {
    font-size: 16px;
}

@media (max-width: 720px) {
    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        font-size: 14px;
    }
}

/* Even larger checkout line prices */
.checkout-order-card .delivery-line-price {
    font-size: 18px;
}

@media (max-width: 720px) {
    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        font-size: 17px;
    }
}

@media (max-width: 430px) {
    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        font-size: 16px;
    }
}

/* Desktop emphasis for checkout line prices */
@media (min-width: 721px) {
    .checkout-order-card .delivery-line-price {
        font-size: 22px;
    }
}

/* Desktop emphasis for the whole checkout order card */
@media (min-width: 721px) {
    .delivery-checkout-layout {
        grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
        max-width: 1280px;
    }

    .checkout-order-card {
        padding: clamp(30px, 3vw, 42px);
    }

    .checkout-order-card h2 {
        font-size: clamp(44px, 4vw, 58px);
    }

    .checkout-order-card .delivery-confirm-list {
        gap: 14px;
        max-width: 100%;
    }

    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: 96px minmax(0, 1fr) auto;
        gap: 18px;
        padding: 14px;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: 96px;
        height: 96px;
    }

    .checkout-order-card .delivery-confirm-row strong {
        font-size: 20px;
        line-height: 1.3;
    }

    .checkout-order-card .delivery-confirm-row span {
        font-size: 18px;
    }

    .checkout-order-card .delivery-line-price {
        font-size: 22px;
    }

    .checkout-order-card .delivery-confirm-total {
        font-size: clamp(34px, 3vw, 46px);
    }

    .checkout-order-card .button {
        min-height: 52px;
        font-size: 17px;
    }
}
/* Wider delivery product tiles on desktop */
@media (min-width: 1024px) {
    .delivery-form {
        width: min(calc(100% - 48px), 1460px);
        max-width: 1460px;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
        gap: clamp(22px, 2.4vw, 36px);
    }

    .delivery-grid {
        gap: 18px;
    }
}
/* Slightly smaller delivery product tiles */
.delivery-item {
    min-height: 332px;
    padding: 10px;
    gap: 10px;
}

.delivery-item img {
    height: clamp(160px, 14vw, 210px);
}

.delivery-item h3 {
    font-size: clamp(17px, 1.7vw, 21px);
    margin-bottom: 6px;
}

.delivery-item p {
    font-size: 12.5px;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .delivery-item {
        min-height: 0;
        padding: 9px;
        gap: 9px;
    }

    .delivery-item img {
        height: clamp(92px, 28vw, 126px);
    }
}

/* Smaller checkout product tiles with stronger text */
.checkout-order-card .delivery-confirm-list {
    gap: 10px;
}

.checkout-order-card .delivery-confirm-row,
.checkout-order-card .delivery-confirm-row.has-price {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 10px 12px;
    min-height: 0;
}

.checkout-order-card .delivery-confirm-row img {
    width: 76px;
    height: 76px;
}

.checkout-order-card .delivery-confirm-row strong {
    font-size: 21px;
    line-height: 1.28;
}

.checkout-order-card .delivery-confirm-row span {
    font-size: 19px;
}

.checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
.checkout-order-card .delivery-line-price {
    font-size: 19px;
}

@media (min-width: 721px) {
    .checkout-order-card .delivery-confirm-list {
        gap: 11px;
    }

    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: 82px minmax(0, 1fr) auto;
        gap: 15px;
        padding: 11px 13px;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: 82px;
        height: 82px;
    }

    .checkout-order-card .delivery-confirm-row strong {
        font-size: 22px;
    }

    .checkout-order-card .delivery-confirm-row span {
        font-size: 20px;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
    .checkout-order-card .delivery-line-price {
        font-size: 21px;
    }
}

@media (max-width: 720px) {
    .checkout-order-card .delivery-confirm-list {
        gap: 9px;
    }

    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 11px;
        padding: 9px 10px;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: 64px;
        height: 64px;
        min-width: 0;
        min-height: 0;
    }

    .checkout-order-card .delivery-confirm-row strong {
        font-size: 17px;
    }

    .checkout-order-card .delivery-confirm-row span {
        font-size: 15px;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
    .checkout-order-card .delivery-line-price {
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 8px 9px;
    }

    .checkout-order-card .delivery-confirm-row img {
        width: 58px;
        height: 58px;
    }

    .checkout-order-card .delivery-confirm-row strong {
        font-size: 16px;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
    .checkout-order-card .delivery-line-price {
        font-size: 15px;
    }
}

/* Raise checkout price without moving quantity */
.checkout-order-card .delivery-confirm-row,
.checkout-order-card .delivery-confirm-row.has-price {
    align-items: center;
}

.checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
    grid-column: 2 / -1;
    justify-self: end;
    margin: -22px 0 0;
}

@media (min-width: 721px) {
    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        margin-top: -24px;
    }
}

@media (max-width: 720px) {
    .checkout-order-card .delivery-confirm-row,
    .checkout-order-card .delivery-confirm-row.has-price {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price {
        margin-top: -18px;
    }
}
/* Wider desktop delivery order summary */
@media (min-width: 1024px) {
    .delivery-form {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    }

    .delivery-summary {
        width: 100%;
        max-width: 420px;
    }
}
/* Smaller delivery checkout page text */
.checkout-order-card h2 {
    font-size: clamp(36px, 3.4vw, 50px);
}

.checkout-order-card .delivery-confirm-row strong {
    font-size: 19px;
}

.checkout-order-card .delivery-confirm-row span {
    font-size: 17px;
}

.checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
.checkout-order-card .delivery-line-price {
    font-size: 18px;
}

.checkout-order-card .delivery-confirm-total {
    font-size: clamp(28px, 2.6vw, 38px);
}

.checkout-order-card .button,
.checkout-form .button {
    font-size: 15px;
}

.checkout-form label {
    font-size: 13.5px;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    font-size: 14px;
}

@media (min-width: 721px) {
    .checkout-order-card h2 {
        font-size: clamp(38px, 3.5vw, 52px);
    }

    .checkout-order-card .delivery-confirm-row strong {
        font-size: 20px;
    }

    .checkout-order-card .delivery-confirm-row span {
        font-size: 18px;
    }

    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
    .checkout-order-card .delivery-line-price {
        font-size: 19px;
    }

    .checkout-form label {
        font-size: 14px;
    }

    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        font-size: 14.5px;
    }
}

@media (max-width: 720px) {
    .checkout-order-card h2 {
        font-size: clamp(30px, 8vw, 40px);
    }

    .checkout-order-card .delivery-confirm-row strong {
        font-size: 15.5px;
    }

    .checkout-order-card .delivery-confirm-row span,
    .checkout-order-card .delivery-confirm-row.has-price .delivery-line-price,
    .checkout-order-card .delivery-line-price {
        font-size: 14px;
    }

    .checkout-form label {
        font-size: 13px;
    }

    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        font-size: 14px;
    }

    .checkout-form .button {
        font-size: 15px;
    }
}

/* Footer copyright line */
footer {
    flex-wrap: wrap;
}

.footer-copy {
    flex-basis: 100%;
    display: block;
    color: rgba(169, 154, 132, 0.82);
    font-size: 12px;
    line-height: 1.45;
}

/* Taller delivery order frame and scroll area */
.delivery-summary.has-items {
    max-height: none !important;
}

.delivery-summary.has-items .delivery-summary-list {
    max-height: 340px !important;
}

@media (min-width: 721px) {
    .delivery-summary.has-items .delivery-summary-list {
        max-height: 360px !important;
    }
}

@media (max-width: 720px) {
    .delivery-summary.has-items .delivery-summary-list {
        max-height: 320px !important;
    }
}

@media (max-width: 430px) {
    .delivery-summary.has-items .delivery-summary-list {
        max-height: 300px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .intro-curtain {
        display: none;
    }

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