/* =========================================================
   ARC MENU PAGE
   Royal navy + soft ivory + champagne gold, full-bleed photo layout.

    1. Tokens          6. Kitchen tiles
    2. Base            7. Menu bar (tabs + search)
    3. Buttons         8. Menu categories and dish cards
    4. Header          9. Gallery, CTA, footer
    5. Hero, intro    10. Responsive / motion
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    --charcoal:   #14233c;
    --charcoal-2: #1c2f4f;
    --ink:        #0c1628;
    --ivory:      #f5f2ec;
    --paper:      #fdfbf7;
    --line:       #e3ddd2;
    --text:       #1f2633;
    --muted:      #6b7280;
    --gold:       #c9a96e;
    --gold-deep:  #8a6428;
    --gold-soft:  #efe3cc;

    --f-head:   "Oswald", "Arial Narrow", Arial, sans-serif;
    --f-body:   "Inter", Arial, Helvetica, sans-serif;
    --f-script: "Playfair Display", Georgia, serif;

    --wrap: 1200px;
    --radius: 14px;
    --head-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
    background: var(--ivory);
    color: var(--text);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(92%, var(--wrap)); margin: 0 auto; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }

h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; letter-spacing: .5px; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.6vw, 54px); }

.kicker {
    display: block;
    margin-bottom: 15px;
    color: var(--gold-deep);
    font-family: var(--f-head);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* Photo slot: shows a styled placeholder until the picture file exists */
.ph {
    position: relative;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, rgba(201,169,110,.08) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, #233a5e, #14233c);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .6s ease; }
.ph.loaded img { opacity: 1; }
.ph.loaded .ph-empty { display: none; }
.ph-empty {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: rgba(201,169,110,.75);
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-align: center;
    padding: 10px;
}
.ph-empty .ico { width: 44px; height: 44px; opacity: .85; }
.ph-empty span { max-width: 90%; color: rgba(255,255,255,.45); }

/* ---------- 3. Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 30px;
    border: 2px solid transparent; border-radius: 50px;
    font-family: var(--f-head); font-size: 15px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold  { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8bc87; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark  { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-line  { border-color: var(--charcoal); color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 13px; }

/* ---------- 4. Header ---------- */
.site-head {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    height: var(--head-h); padding: 0 4%;
    color: #fff;
    background: linear-gradient(180deg, rgba(12,22,40,.6), transparent);
    transition: background .3s, box-shadow .3s;
}
.site-head.solid { background: var(--charcoal); box-shadow: 0 4px 20px rgba(12,22,40,.3); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: 15px; letter-spacing: 2px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand b { color: var(--gold); font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { font-family: var(--f-head); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; position: relative; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s; }
.main-nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff; transition: .3s; }

/* ---------- 5. Hero and intro ---------- */
.hero {
    position: relative;
    display: grid; place-items: center;
    min-height: 100vh; min-height: 100svh;
    color: #fff; text-align: center;
    overflow: hidden;
}
.hero-ph { position: absolute; inset: 0; }
.hero-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,40,.4), rgba(12,22,40,.25) 40%, rgba(12,22,40,.75)); }
.hero-ph .ph-empty { justify-content: flex-end; padding-bottom: 110px; }
.hero-inner { position: relative; z-index: 2; padding: 120px 20px 90px; }
.hero-kicker { color: var(--gold); font-family: var(--f-head); font-size: 15px; letter-spacing: 6px; text-transform: uppercase; }
.hero h1 { margin: 14px 0 18px; font-size: clamp(64px, 12vw, 150px); font-weight: 600; line-height: .92; letter-spacing: 2px; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero-line { font-family: var(--f-head); font-size: clamp(10px, 1vw, 10px); letter-spacing: 3px; text-transform: uppercase; }
.hero-line i { color: var(--gold); font-style: normal; margin: 0 6px; }
.hero .btn-row { justify-content: center; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; z-index: 2; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.intro { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; background: var(--paper); }
.intro-ph { min-height: 420px; }
.intro-text { display: flex; flex-direction: column; justify-content: center; padding: 70px 8% 70px 7%; }
.intro-text h2 { color: var(--charcoal); }
.script { margin: 10px 0 18px; color: var(--gold-deep); font-family: var(--f-script); font-style: italic; font-size: 24px; }
.intro-text p:not(.script) { max-width: 520px; color: #4a5263; }

/* ---------- 6. Kitchen tiles ---------- */
.kitchens { padding: 90px 0 100px; background: var(--ivory); }
.kitchens h2 { margin-bottom: 40px; color: var(--charcoal); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; color: #fff; }
.tile-ph { position: absolute; inset: 0; }
.tile-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,22,40,.8)); }
.tile-ph .ph-empty { justify-content: flex-start; padding-top: 30px; }
.tile:hover .ph img { transform: scale(1.06); }
.tile-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.tile-label b { display: block; font-family: var(--f-head); font-size: 26px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.tile-label i { display: block; font-size: 13px; font-style: normal; color: rgba(255,255,255,.8); }
.tile-label b::after { content: " \2192"; color: var(--gold); transition: margin .25s; }
.tile:hover .tile-label b::after { margin-left: 6px; }

/* ---------- 7. Menu bar ---------- */
.menu-bar {
    position: sticky; top: var(--head-h); z-index: 90;
    display: flex; align-items: center; gap: 16px;
    padding: 12px 4%;
    background: var(--charcoal-2);
    box-shadow: 0 6px 18px rgba(12,22,40,.2);
}
.tabs { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
    flex: none; padding: 9px 18px; border-radius: 50px;
    color: rgba(255,255,255,.85);
    font-family: var(--f-head); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
    transition: background .2s, color .2s;
}
.tabs a:hover { color: var(--gold); }
.tabs a.active { background: var(--gold); color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; flex: none; width: 240px; padding: 0 14px; border-radius: 50px; background: rgba(255,255,255,.1); color: var(--gold); }
.search svg { width: 18px; height: 18px; flex: none; }
.search input { width: 100%; padding: 10px 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14px; }
.search input:focus { outline: none; }
.search input::placeholder { color: rgba(255,255,255,.55); }

/* ---------- 8. Menu categories and dish cards ---------- */
.menu { padding: 80px 0 40px; }
.menu-intro { margin-bottom: 50px; }
.menu-intro h2 { color: var(--charcoal); }

.cat { width: min(92%, var(--wrap)); margin: 0 auto 90px; }
.cat-hero {
    display: grid; grid-template-columns: 1.4fr 1fr;
    overflow: hidden;
    margin-bottom: 44px;
    border-radius: var(--radius);
    background: var(--charcoal);
    color: #fff;
    box-shadow: 0 20px 40px rgba(20,35,60,.18);
}
.cat-hero.flip { grid-template-columns: 1fr 1.4fr; }
.cat-hero.flip .cat-ph { order: 2; }
.cat-ph { min-height: 340px; }
.cat-text { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.cat-text .kicker { color: var(--gold); }
.cat-text h2 { font-size: clamp(36px, 4.4vw, 58px); }
.cat-text p { margin-top: 12px; color: rgba(255,255,255,.75); font-size: 17px; }
.cat-text h2::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 18px; background: var(--gold); }

.sub { margin-bottom: 52px; }
.sub-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sub-head h3 { color: var(--charcoal); font-size: 30px; }
.sub-meta { color: var(--muted); font-size: 14px; }

.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.dish {
    display: flex; flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: transform .25s, box-shadow .25s;
}
.dish:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20,35,60,.12); }
.dish:hover .ph img { transform: scale(1.05); }
.dish-ph { aspect-ratio: 4 / 3; }
.dish-ph .ph-empty .ico { width: 36px; height: 36px; }
.dish-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.dish-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dish h4 { color: var(--charcoal); font-size: 19px; line-height: 1.2; }
.price { flex: none; color: var(--gold-deep); font-family: var(--f-head); font-size: 18px; font-weight: 500; white-space: nowrap; }
.price .rs { font-size: 12px; letter-spacing: 1px; }
.price .sep { color: #c9c0b0; }
.opt { align-self: flex-start; padding: 2px 10px; border-radius: 50px; background: var(--gold-soft); color: #6e5124; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.desc { color: var(--muted); font-size: 14px; line-height: 1.5; }

.notebox { padding: 26px 30px; border-left: 4px solid var(--gold); border-radius: var(--radius); background: var(--charcoal); color: #fff; }
.notebox h3 { margin-bottom: 10px; color: var(--gold); font-size: 24px; }
.notebox ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 30px; }
.notebox li::before { content: "\25C6"; margin-right: 8px; color: var(--gold); font-size: 11px; }

.empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 18px; }

/* ---------- 9. Gallery, CTA, footer ---------- */
.gallery { padding: 90px 0; background: var(--paper); }
.gallery h2 { margin-bottom: 40px; color: var(--charcoal); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g { border-radius: var(--radius); }
.g1 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; }

.cta {
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(201,169,110,.2), transparent 70%),
        var(--charcoal);
}
.cta h2 { font-size: clamp(40px, 6vw, 72px); }
.cta p { max-width: 560px; margin: 12px auto 0; color: rgba(255,255,255,.75); }

.site-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 50px 20px 40px; background: var(--ink); color: rgba(255,255,255,.65); text-align: center; font-size: 14px; }
.site-foot img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 6px; }
.site-foot strong { color: var(--gold); font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: 3px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 14px 0; font-family: var(--f-head); letter-spacing: 2px; text-transform: uppercase; }
.foot-links a:hover { color: var(--gold); }
.site-foot small { color: rgba(255,255,255,.4); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 20px; box-shadow: 0 6px 18px rgba(12,22,40,.3); opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Fade-in on scroll (added by menu.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1024px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .cat-hero, .cat-hero.flip { grid-template-columns: 1fr; }
    .cat-hero.flip .cat-ph { order: 0; }
    .cat-ph { min-height: 260px; }
    .search { width: 190px; }
}

@media (max-width: 860px) {
    :root { --head-h: 64px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: var(--head-h); left: 0; right: 0;
        flex-direction: column; gap: 22px;
        padding: 30px 20px 36px;
        background: var(--charcoal);
        transform: translateY(-120%); transition: transform .35s ease;
    }
    .main-nav.open { transform: none; }
    .site-head.menu-open { background: var(--charcoal); }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .intro { grid-template-columns: 1fr; }
    .intro-ph { min-height: 300px; }
    .intro-text { padding: 50px 6%; }
    .menu-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 4%; }
    .search { width: 100%; }
    .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .g4 { grid-column: span 1; }
    html { scroll-padding-top: 170px; }
}

@media (max-width: 560px) {
    .brand span { font-size: 12px; letter-spacing: 1px; }
    .brand img { width: 38px; height: 38px; }
    .tiles { grid-template-columns: 1fr; gap: 14px; }
    .tile { aspect-ratio: 16 / 9; }
    .kitchens, .gallery { padding: 64px 0; }
    .cat { margin-bottom: 64px; }
    .cat-ph { min-height: 200px; }
    .cat-text { padding: 28px 22px; }
    .sub-head h3 { font-size: 25px; }
    /* dishes become compact rows: photo on the left, text on the right */
    .dish-grid { grid-template-columns: 1fr; gap: 12px; }
    .dish { flex-direction: row; }
    .dish-ph { flex: none; width: 108px; aspect-ratio: auto; min-height: 108px; }
    .dish-ph .ph-empty span { display: none; }
    .dish-ph .ph-empty .ico { width: 28px; height: 28px; }
    .dish-body { flex: 1; min-width: 0; padding: 12px 14px; gap: 4px; }
    .dish-top { flex-direction: column; gap: 2px; }
    .dish h4 { font-size: 17px; }
    .price { font-size: 16px; }
    .desc { font-size: 13px; }
    .btn { padding: 0 22px; }
    .hero .btn-row .btn { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-head, .menu-bar, .hero, .intro, .kitchens, .gallery, .cta, .to-top, .ph { display: none !important; }
    body { background: #fff; }
    .dish { break-inside: avoid; }
}

/* ---------- placeholder tidy-ups ---------- */
.hero-ph .ph-empty,
.tile-ph .ph-empty span,
.cat-ph .ph-empty span { display: none; }
.cat-ph .ph-empty .ico { width: 64px; height: 64px; }
@media (max-width: 560px) {
    .hero-kicker { font-size: 12px; letter-spacing: 3px; }
    .hero-line { letter-spacing: 1.5px; }
    .tile-ph .ph-empty { padding-top: 18px; }
}
.hero-kicker, .hero-line { text-shadow: 0 2px 12px rgba(0,0,0,.6); }

/* ---------- PDF download ---------- */
.dl-ico { width: 18px; height: 18px; margin-right: 8px; flex: none; }
.pdf-btn {
    display: inline-flex; align-items: center; flex: none;
    height: 40px; padding: 0 16px; border-radius: 50px;
    background: var(--gold); color: var(--ink);
    font-family: var(--f-head); font-size: 14px; letter-spacing: 1.5px;
    transition: background .2s;
}
.pdf-btn:hover { background: #d8bc87; }
.pdf-btn .dl-ico { margin-right: 6px; }
.menu-intro .btn-row { margin-top: 20px; }
@media (max-width: 860px) {
    .menu-bar { display: grid; grid-template-columns: 1fr auto; }
    .menu-bar .tabs { grid-column: 1 / -1; }
}