/* Monarch Cafe preview. Plain CSS, no build step. */
:root {
  --bg: #f6f0e6;
  --bg-alt: #ede4d4;
  --surface: #fffaf2;
  --ink: #1d1813;
  --ink-soft: #5a4f43;
  --line: #d9ccb6;
  --gold: #82601d;
  --gold-strong: #6a4d16;
  --on-gold: #fffaf2;
  --hero-ink: #fbf3e4;
  --shadow: 0 18px 40px -24px rgba(40, 28, 10, .45);
  --radius: 14px;
  --wrap: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12100d; --bg-alt: #1b1712; --surface: #201b15; --ink: #f3e9d8; --ink-soft: #b9aa94;
    --line: #3a3127; --gold: #d8ad5b; --gold-strong: #e8c27a; --on-gold: #17130e;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12100d; --bg-alt: #1b1712; --surface: #201b15; --ink: #f3e9d8; --ink-soft: #b9aa94;
  --line: #3a3127; --gold: #d8ad5b; --gold-strong: #e8c27a; --on-gold: #17130e;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.eyebrow { font: 700 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 700 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-strong); }
.btn-line { border-color: currentColor; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand span { font: 600 1.45rem/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.nav .btn { padding: 11px 18px; }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--ink); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.theme-toggle svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; padding: 10px 0; min-height: 0; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 8px; padding-top: 6px; }
  .brand span { font-size: 1.2rem; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: var(--hero-ink); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,10,6,.7) 0%, rgba(14,10,6,.25) 60%, rgba(14,10,6,0) 100%), linear-gradient(180deg, rgba(14,10,6,.1) 0%, rgba(14,10,6,.3) 45%, rgba(14,10,6,.85) 100%); }
.hero-inner { position: relative; z-index: 1; padding: clamp(72px, 12vh, 120px) 0 clamp(48px, 8vw, 96px); }
.hero h1 { max-width: 14ch; animation: rise .9s .15s both cubic-bezier(.2,.7,.2,1); }
.hero p { max-width: 46ch; font-size: 1.15rem; color: #eadfcb; animation: rise .9s .3s both cubic-bezier(.2,.7,.2,1); }
.hero .eyebrow { color: #e3bd71; animation: rise .9s both cubic-bezier(.2,.7,.2,1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; animation: rise .9s .45s both cubic-bezier(.2,.7,.2,1); }
.hero .btn-gold { background: #d8ad5b; color: #17130e; }
.hero .btn-gold:hover { background: #e8c27a; }
.hero .btn-line { color: #fbf3e4; }
.hero.short { min-height: min(56vh, 520px); }
@keyframes settle { to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Open strip */
.open-strip { background: var(--ink); color: var(--bg); }
.open-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: space-between; padding: 18px 0; font-weight: 600; font-size: .95rem; }
.open-strip b { color: var(--gold); font-weight: 700; }
:root[data-theme="dark"] .open-strip, :root:not([data-theme="light"]) .open-strip { }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .open-strip { background: #2a231b; color: var(--ink); } }
:root[data-theme="dark"] .open-strip { background: #2a231b; color: var(--ink); }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } .split img { aspect-ratio: 4 / 3; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 40px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(18,14,10,.72); color: #f3e9d8; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.g-a { grid-column: span 7; aspect-ratio: 7 / 5; }
.g-b { grid-column: span 5; aspect-ratio: 5 / 5; }
.g-c { grid-column: span 4; aspect-ratio: 1; }
.g-d { grid-column: span 4; aspect-ratio: 1; }
.g-e { grid-column: span 4; aspect-ratio: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .g-a { grid-column: span 2; aspect-ratio: 4/3; } .g-b, .g-c, .g-d, .g-e { grid-column: span 1; aspect-ratio: 1; } }

/* Reviews */
.rating { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.rating .score { font: 600 3.4rem/1 var(--serif); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.2rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }
.review p { font: 500 1.35rem/1.35 var(--serif); margin-bottom: 18px; }
.review cite { font-style: normal; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.visit .map { border-radius: var(--radius); overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--surface); }
.visit iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 28px; }
.hours td, .hours th { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 400; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.late td:last-child { color: var(--gold); }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; }
.facts a { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Preview note: only for the client preview, remove before launch */
.preview-note { border: 1.5px dashed var(--gold); border-radius: var(--radius); padding: 18px 22px; color: var(--ink-soft); font-size: .95rem; background: color-mix(in srgb, var(--gold) 7%, transparent); }
.preview-note strong { color: var(--ink); }

/* CTA band */
.band { text-align: center; }
.band h2 { max-width: 18ch; margin-inline: auto; }
.band .actions { justify-content: center; margin-top: 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; font-size: .92rem; color: var(--ink-soft); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-h { font: 700 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot p { margin: 0 0 6px; }
.legal { margin-top: 36px; font-size: .8rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Today's hours line in the hero */
.today { margin-top: 18px; font-size: .92rem; color: #eadfcb; display: flex; align-items: center; gap: 8px; animation: rise .9s .55s both cubic-bezier(.2,.7,.2,1); }
.today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7bc47f; box-shadow: 0 0 0 4px rgba(123,196,127,.2); }

/* Signature items */
.signature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.sig { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sig:hover img { transform: scale(1.04); }
.sig figcaption { padding: 18px 20px 22px; }
.sig h3 { font-size: 1.4rem; margin-bottom: .25em; }
.sig p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 960px) { .signature { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .signature { grid-template-columns: 1fr; } }

/* Menu preview */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.menu-cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 18px; }
.menu-cat h3 { font-size: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.menu-cat li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .95rem; }
.menu-cat li span:last-child { font-weight: 700; color: var(--gold); white-space: nowrap; }
.menu-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@media (max-width: 960px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .menu-grid { grid-template-columns: 1fr; } }

/* Order strip */
.order-strip { background: var(--ink); color: var(--bg); text-align: center; }
.order-strip h2 { color: inherit; }
.order-strip p { color: inherit; opacity: .8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .order-strip { background: #2a231b; color: var(--ink); } }
:root[data-theme="dark"] .order-strip { background: #2a231b; color: var(--ink); }

/* Contact blocks */
.contact-steps { display: grid; gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); scroll-margin-top: 110px; }
.step h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.step-num { font: 700 .74rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 10px; }
.app-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.form { display: grid; gap: 14px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-status { font-size: .92rem; color: var(--gold); min-height: 1.4em; margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
#menu, #order, #visit { scroll-margin-top: 90px; }

/* Accessibility helpers */
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.facts a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }

/* Contact cards (Order section) */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-card svg { width: 26px; height: 26px; flex: none; color: var(--gold); margin-top: 2px; }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.contact-card strong { font: 600 1.35rem/1.25 var(--serif); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* Full menu */
.full-menu { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.full-menu summary { cursor: pointer; list-style: none; padding: 20px 26px; font: 700 1rem/1.2 var(--sans); display: flex; justify-content: space-between; align-items: center; }
.full-menu summary::-webkit-details-marker { display: none; }
.full-menu summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); line-height: 1; }
.full-menu[open] summary::after { content: "–"; }
.full-menu-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 48px; padding: 4px 26px 26px; border-top: 1px solid var(--line); }
.fm-col h3 { font-size: 1.45rem; margin: 26px 0 8px; }
.fm-col ul { list-style: none; margin: 0; padding: 0; }
.fm-col li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.fm-col li > span:last-child { font-weight: 700; color: var(--gold); white-space: nowrap; }
.fm-col small { display: block; color: var(--ink-soft); font-size: .84rem; margin-top: 2px; }
.fm-note { font-size: .85rem; color: var(--ink-soft); margin: 0 0 4px; }
@media (max-width: 760px) { .full-menu-body { grid-template-columns: 1fr; } .fm-col li > span:last-child { white-space: normal; text-align: right; } }

/* Current offer band */
.offer { background: var(--gold); color: var(--on-gold); }
.offer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 14px 0; font-weight: 600; text-align: center; }
.offer-tag { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 12px; }
.offer-fine { font-size: .85rem; opacity: .8; font-weight: 500; }
.sig-drink { margin: 28px 0 0; font-size: 1.05rem; color: var(--ink-soft); border-left: 3px solid var(--gold); padding-left: 16px; }
.sig-drink strong { color: var(--ink); }

/* Find your spot */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.space { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.space img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.space:hover img { transform: scale(1.04); }
.space figcaption { padding: 22px 24px 26px; }
.space h3 { margin-bottom: .3em; }
.space p { margin: 0; color: var(--ink-soft); }
.space-num { font: 700 .74rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 10px; }
@media (max-width: 960px) { .spaces { grid-template-columns: 1fr; } .space img { aspect-ratio: 16 / 10; } }

/* Gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; margin-top: 40px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(18,14,10,.72); color: #f3e9d8; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.m-wide { grid-column: span 2; }
.m-tall { grid-row: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } }
#spaces { scroll-margin-top: 90px; }

/* Phone hero: no tall empty photo above the headline */
@media (max-width: 760px) {
  .hero, .hero.short { min-height: 0; }
  .hero-inner { padding: 56px 0 40px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero > img { transform: none; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }