/* ==========================================================================
   Juice Wine Bar - sitewide stylesheet
   One file, no build step, no frameworks. Implements the Claude Design file
   design/Juice Wine Bar.dc.html (hero variant: photo) as a multi-page site.
   Sections: fonts / tokens / base / buttons / nav / shared / home / menu /
   coffee / events / footer / motion / responsive
   ========================================================================== */

/* 1. Fonts (self-hosted, pulled from the design bundle) */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Manrope is a variable font: one file covers 400 to 800 */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 2. Tokens */
:root {
  --plum: #2B1230;
  --plum-soft: rgba(43, 18, 48, .08);
  --plum-line: rgba(43, 18, 48, .12);
  --plum-line-2: rgba(43, 18, 48, .14);
  --cream: #FFF6EA;
  --cream-70: rgba(255, 246, 234, .7);
  --sand: #F6E4CF;
  --sand-2: #FFEAD0;
  --pink: #FFAFB3;
  --berry: #B8404F;
  --mauve: #6E2A55;
  --ink-2: #4A3050;
  --green: #4E7A4A;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 69px;
  --wrap: 1320px;
  --gutter: 32px;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--cream); color: var(--plum); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--berry); }
input, textarea, select, button { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--plum) !important; }
::selection { background: var(--pink); color: var(--plum); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--plum); color: var(--cream); font-weight: 700; }
.skip:focus { top: 12px; color: var(--cream); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type */
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--mauve); }
.kicker-berry { color: var(--berry); letter-spacing: .16em; }
.display { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.display em { font-style: italic; color: var(--berry); }
.display em.mauve { color: var(--mauve); }
.display em.green { color: var(--green); }
.display-xl { font-size: clamp(56px, 7vw, 104px); line-height: .95; }
.display-lg { font-size: clamp(44px, 4.6vw, 68px); }
.display-md { font-size: clamp(40px, 4.2vw, 60px); }
.lede { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.lede-sm { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.serif-italic { font-family: var(--serif); font-style: italic; }
.stat-num { font-family: var(--serif); font-size: 40px; line-height: 1; }
.stat-label { font-size: 13px; color: var(--mauve); margin-top: 4px; font-weight: 600; }
.stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--plum-line); flex-wrap: wrap; }

/* 4. Buttons (pill) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: 12px 22px; font-size: 14px; font-weight: 600; }
.btn-dark { background: var(--plum); color: var(--cream); }
.btn-dark:hover { background: var(--berry); color: var(--cream); }
.btn-pink { background: var(--pink); color: var(--plum); }
.btn-pink:hover { background: var(--plum); color: var(--cream); }
.btn-pink.on-dark:hover { background: var(--cream); color: var(--plum); }
.btn-outline { background: transparent; border: 1.5px solid var(--plum); color: var(--plum); font-weight: 600; }
.btn-outline:hover { background: var(--pink); color: var(--plum); }
.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255, 246, 234, .6); color: var(--cream); font-weight: 600; }
.btn-ghost-light:hover { background: rgba(255, 246, 234, .15); color: var(--cream); }
.link-line { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; border-bottom: 1.5px solid var(--plum); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.link-line:hover { color: var(--berry); border-color: var(--berry); }

/* 5. Nav */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--plum); pointer-events: none; display: flex; align-items: center; justify-content: center; animation: curtain 1.1s cubic-bezier(.77, 0, .18, 1) .55s forwards; }
.curtain img { width: 220px; height: auto; animation: rise .7s ease-out both; }
.cursor { position: fixed; left: 0; top: 0; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 175, 179, .55), rgba(255, 175, 179, 0) 70%); pointer-events: none; z-index: 1; transform: translate(-50%, -50%); mix-blend-mode: multiply; will-change: transform; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 234, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--plum-soft); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .01em; transition: background .25s, color .25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--plum-soft); color: var(--plum); }
.nav-cta { padding: 12px 22px; border-radius: 999px; background: var(--plum); color: var(--cream); font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease), background .3s; }
.nav-cta:hover { transform: translateY(-2px); background: var(--berry); color: var(--cream); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--plum); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--plum); position: relative; transition: transform .3s, background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--plum); transition: transform .3s, top .3s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Home only: the nav floats transparent over a full-height hero, then turns
   cream once the logo has landed in its slot. The hero wordmark is the same
   element throughout: main.js glides it from the hero into the nav slot. */
.nav-overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .35s, border-color .35s; }
.nav-overlay .nav-links a, .nav-overlay .nav-links a:hover { color: var(--cream); }
.nav-overlay .nav-links a:hover, .nav-overlay .nav-links a[aria-current="page"] { background: rgba(255, 246, 234, .14); }
.nav-overlay .nav-toggle { border-color: var(--cream); }
.nav-overlay .nav-toggle span, .nav-overlay .nav-toggle span::before, .nav-overlay .nav-toggle span::after { background: var(--cream); }
.nav-overlay .nav-logo img { opacity: 0; transition: opacity .2s; }
.nav-overlay.is-scrolled { background: rgba(255, 246, 234, .82); border-bottom-color: var(--plum-soft); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-overlay.is-scrolled .nav-links a, .nav-overlay.is-scrolled .nav-links a:hover { color: var(--plum); }
.nav-overlay.is-scrolled .nav-links a:hover, .nav-overlay.is-scrolled .nav-links a[aria-current="page"] { background: var(--plum-soft); }
.nav-overlay.is-scrolled .nav-toggle { border-color: var(--plum); }
.nav-overlay.is-scrolled .nav-toggle span, .nav-overlay.is-scrolled .nav-toggle span::before, .nav-overlay.is-scrolled .nav-toggle span::after { background: var(--plum); }
.nav-overlay.is-scrolled .nav-logo img, .nav-overlay.is-open .nav-logo img { opacity: 1; }
.nav-overlay.is-open { background: var(--cream); }
.nav-overlay.is-open .nav-links a { color: var(--plum); }
.nav-overlay.is-open .nav-toggle { border-color: var(--plum); }
.nav-overlay.is-open .nav-toggle span::before, .nav-overlay.is-open .nav-toggle span::after { background: var(--plum); }

/* 6. Shared pieces */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot { position: relative; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, var(--sand) 0 12px, var(--sand-2) 12px 24px); display: flex; align-items: flex-end; padding: 14px; }
.slot::before { content: ""; position: absolute; right: 8%; top: 6%; width: 38%; aspect-ratio: 494 / 529; background: url('../img/disco-ball.png') center / contain no-repeat; opacity: .55; }
.slot .slot-note { font-family: ui-monospace, monospace; font-size: 11px; color: var(--mauve); background: rgba(255, 246, 234, .9); padding: 6px 8px; border-radius: 6px; line-height: 1.4; position: relative; }
.frame { overflow: hidden; border-radius: 20px; }
.frame-24 { border-radius: 24px; }
.frame-16 { border-radius: 16px; }
.marquee { background: var(--plum); color: var(--cream); overflow: hidden; padding: 16px 0; border-top: 1px solid rgba(255, 246, 234, .1); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 30%, #000 70%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marquee 68s linear infinite; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.marquee-set { display: flex; gap: 44px; padding-right: 44px; }
.marquee-set i { font-style: normal; color: var(--pink); }
.dark-card { padding: 40px; border-radius: 24px; background: var(--plum); color: var(--cream); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.dark-card .t { font-family: var(--serif); font-size: 34px; line-height: 1.05; }
.dark-card .s { margin-top: 8px; font-size: 15px; color: rgba(255, 246, 234, .75); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--plum); font-size: 13px; font-weight: 700; }
.page-head { text-align: center; }
.page-head .lede-sm { margin: 22px auto 0; max-width: 560px; }
.page-head .kicker + .display { margin-top: 16px; }

/* 7. Home */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--plum); }
.hero-media { position: absolute; inset: -12% 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(43, 18, 48, .55), rgba(43, 18, 48, 0) 100%), linear-gradient(180deg, rgba(43, 18, 48, .25) 0%, rgba(43, 18, 48, .35) 55%, rgba(43, 18, 48, .85) 100%); pointer-events: none; }
.hero-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px 40px; }
.hero-logo-space { display: none; width: min(520px, 70vw); aspect-ratio: 1440 / 736; }
/* main.js adds .has-fly once it has measured the two logo positions */
.has-fly .hero-logo-space { display: block; }
.has-fly .hero-logo { position: fixed; left: 0; top: 0; width: 520px; height: auto; margin: 0; z-index: 60; transform-origin: 0 0; pointer-events: none; will-change: transform; animation: none; opacity: 0; transition: opacity .9s ease-out 1.3s; }
.has-fly .hero-logo.is-ready { opacity: 1; }
.has-fly .hero-logo.is-landed { visibility: hidden; }
.hero-logo { width: min(520px, 70vw); height: auto; filter: drop-shadow(0 20px 40px rgba(43, 18, 48, .5)); animation: rise 1s ease-out 1.3s both; }
.hero-tag { margin: 28px 0 0; font-weight: 400; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 44px); color: var(--cream); line-height: 1.15; max-width: 720px; animation: rise 1s ease-out 1.5s both; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; animation: rise 1s ease-out 1.7s both; flex-wrap: wrap; justify-content: center; }
.hero-corner { position: absolute; bottom: 28px; color: var(--cream-70); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; pointer-events: none; }
.hero-corner.l { left: 32px; }
.hero-corner.r { right: 32px; }

.story { padding: 130px var(--gutter) 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-art { position: relative; }
.story-main { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.story-inset { position: absolute; right: -28px; bottom: -28px; width: 44%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 8px solid var(--cream); box-shadow: 0 24px 50px rgba(43, 18, 48, .18); }
.story-copy .display { margin-top: 18px; }
.story-copy .lede { margin-top: 28px; }
.story-copy .lede + .lede { margin-top: 18px; }

.pillars { background: var(--sand); padding: 100px 0; }
.pillars-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.pillars-head .display { max-width: 620px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar { background: var(--cream); border-radius: 24px; padding: 14px 14px 30px; transition: transform .45s var(--ease), box-shadow .45s; }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(43, 18, 48, .14); }
.pillar-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.pillar-body { padding: 26px 14px 0; }
.pillar h3 { margin: 10px 0 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.pillar p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.events { padding: 120px var(--gutter); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.events-intro { position: sticky; top: 110px; }
.events-intro .display { margin-top: 18px; }
.events-intro .lede { margin-top: 26px; max-width: 460px; }
.events-intro .btn { margin-top: 34px; }
.event-list { display: flex; flex-direction: column; }
.event-list::after { content: ""; border-top: 1px solid var(--plum-line-2); }
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--plum-line-2); transition: padding-left .4s var(--ease); }
.event:hover { padding-left: 16px; }
.event-day { font-family: var(--serif); font-size: 52px; line-height: .9; }
.event-when { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--mauve); margin-top: 6px; }
.event h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.event p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.event-time { padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(43, 18, 48, .2); font-size: 13px; font-weight: 700; white-space: nowrap; }

.gallery { padding: 0 0 120px; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 16px; padding: 0 var(--gutter); height: 420px; }
.gallery-grid .frame:nth-child(even) { transform: translateY(32px); }
.gallery-cta { text-align: center; margin-top: 72px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); }
.gallery-cta a { border-bottom: 1.5px solid var(--plum); }
.gallery-cta a:hover { border-color: var(--berry); }

/* 8. Menu page */
.menu-page { padding: 90px var(--gutter) 120px; position: relative; }
.tabs { display: flex; justify-content: center; gap: 6px; margin: 48px auto 0; padding: 6px; border-radius: 999px; background: var(--sand); width: max-content; max-width: 100%; position: sticky; top: 86px; z-index: 5; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; cursor: pointer; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; background: transparent; color: var(--plum); transition: background .3s, color .3s, transform .3s; white-space: nowrap; }
.tab:hover { transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--plum); color: var(--cream); }
.menu-panel { margin-top: 56px; }
.menu-panel[hidden] { display: none; }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 2px solid var(--plum); padding-bottom: 14px; }
.menu-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.menu-note { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--mauve); }
.menu-group-label { grid-column: 1 / -1; margin: 36px 0 0; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--mauve); }
.menu-group-label:first-child { margin-top: 0; }
.menu-section-note { grid-column: 1 / -1; margin: 40px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--sand); font-size: 14px; font-weight: 600; color: var(--mauve); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 22px 8px; border-bottom: 1px solid var(--plum-line); cursor: default; transition: background .3s, padding-left .3s; border-radius: 8px; }
.item:hover { background: rgba(255, 175, 179, .22); padding-left: 16px; }
.item-name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.item-price { font-family: var(--serif); font-size: 22px; }
.item-desc { font-size: 14px; line-height: 1.5; color: var(--mauve); grid-column: 1 / -1; }
.menu-page .dark-card { margin-top: 80px; }
.gratuity { margin-top: 28px; text-align: center; font-size: 13px; color: var(--mauve); font-style: italic; }
.hover-card { position: fixed; left: 0; top: 0; width: 240px; height: 300px; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 40; transform: translate(24px, -50%) rotate(3deg); box-shadow: 0 30px 60px rgba(43, 18, 48, .3); background: repeating-linear-gradient(135deg, var(--sand) 0 12px, var(--sand-2) 12px 24px); display: flex; align-items: flex-end; padding: 14px; animation: card-in .3s ease-out both; }
.hover-card[hidden] { display: none; }
.hover-card::before { content: ""; position: absolute; left: 50%; top: 18px; width: 60%; aspect-ratio: 494 / 529; transform: translateX(-50%); background: url('../img/disco-ball.png') center / contain no-repeat; opacity: .6; }
.hover-card .slot-note { font-family: ui-monospace, monospace; font-size: 11px; color: var(--mauve); background: rgba(255, 246, 234, .9); padding: 6px 8px; border-radius: 6px; line-height: 1.4; position: relative; }

/* 9. Coffee page */
.coffee-hero { background: var(--sand); }
.coffee-hero-inner { padding: 90px var(--gutter) 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.coffee-hero .display { margin-top: 16px; font-size: clamp(56px, 6.5vw, 96px); }
.coffee-hero .lede-sm { margin-top: 24px; max-width: 480px; }
.coffee-hero .chip { margin-top: 28px; }
.coffee-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.coffee-art .frame { aspect-ratio: 3 / 4; }
.coffee-art .frame:first-child { transform: translateY(24px); }
.coffee-menu { padding: 90px var(--gutter) 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.coffee-col h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; padding-bottom: 14px; border-bottom: 2px solid var(--plum); }
.coffee-col .c-note { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--mauve); }
.c-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--plum-line); }
.c-item .item-name { font-size: 17px; }
.c-item .item-price { font-size: 20px; }

/* 10. Events / booking page */
.booking { padding: 90px var(--gutter) 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.booking-intro { position: sticky; top: 110px; }
.booking-intro .display { margin-top: 16px; font-size: clamp(56px, 6vw, 92px); }
.booking-intro .lede-sm { margin-top: 24px; max-width: 480px; }
.booking-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.booking-art .frame { aspect-ratio: 1; }
.booking-art .frame:last-child { transform: translateY(24px); }
.booking-stats { display: flex; gap: 36px; margin-top: 44px; font-size: 14px; flex-wrap: wrap; }
.booking-stats .stat-num { font-size: 34px; }
.form-card { background: #fff; border-radius: 28px; padding: 44px 40px; box-shadow: 0 30px 80px rgba(43, 18, 48, .1); display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.field input, .field textarea { padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(43, 18, 48, .18); font-size: 15px; background: var(--cream); color: var(--plum); transition: border-color .25s; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pick { cursor: pointer; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(43, 18, 48, .18); background: var(--cream); color: var(--plum); font-size: 13px; font-weight: 600; transition: all .25s; }
.chips-grid .pick { border-radius: 12px; padding: 12px 8px; text-align: center; }
.pick:hover { border-color: var(--plum); }
.pick[aria-pressed="true"] { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.form-submit { margin-top: 6px; padding: 18px 28px; font-size: 16px; }
.form-alt { font-size: 13px; color: var(--mauve); text-align: center; }
.form-alt a { font-weight: 700; }
.form-error { display: none; padding: 12px 16px; border-radius: 12px; background: #FDE7E9; color: var(--berry); font-size: 14px; font-weight: 600; }
.form-error.is-visible { display: block; }
.sent-card { background: var(--plum); color: var(--cream); border-radius: 28px; padding: 56px 48px; animation: rise .6s var(--ease) both; }
.sent-card[hidden] { display: none; }
.sent-card img { width: 140px; height: auto; }
.sent-card h2 { margin: 28px 0 0; font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; }
.sent-card h2 em { font-style: italic; color: var(--pink); }
.sent-card p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255, 246, 234, .8); }
.sent-card .btn { margin-top: 32px; background: transparent; border: 1.5px solid rgba(255, 246, 234, .5); color: var(--cream); padding: 14px 24px; font-size: 14px; }
.sent-card .btn:hover { background: rgba(255, 246, 234, .12); }

/* 11. Footer */
.footer { background: var(--plum); color: var(--cream); padding: 90px var(--gutter) 40px; }
.footer a { color: var(--cream); }
.footer a:hover { color: var(--pink); }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { width: 180px; height: auto; display: block; }
.footer-tag { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.25; max-width: 360px; color: rgba(255, 246, 234, .9); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social-link { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 246, 234, .4); font-size: 14px; font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.social-link:hover { background: var(--pink); color: var(--plum); border-color: var(--pink); }
.social-glyph { width: 18px; height: 18px; fill: currentColor; flex: none; }
.gallery-ig { display: inline-flex; align-items: baseline; gap: 10px; }
.gallery-ig .social-glyph { width: .8em; height: .8em; align-self: center; }
.footer-k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--pink); }
.footer p { margin: 18px 0 0; font-size: 16px; line-height: 1.7; }
.footer-line { display: inline-block; margin-top: 10px; padding: 4px 0; border-bottom: 1px solid rgba(255, 246, 234, .5); font-size: 14px; font-weight: 600; }
.hours { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours span:first-child { color: var(--cream-70); }
.hours .rest { color: rgba(255, 246, 234, .5); }
.footer-links { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.footer-links a, .footer-bottom .legal a { display: inline-block; padding: 4px 0; }
.footer-bottom { max-width: var(--wrap); margin: 64px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 246, 234, .15); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 246, 234, .55); }
.footer-bottom a { color: rgba(255, 246, 234, .55); }
.footer-bottom .legal { display: flex; gap: 24px; }

/* 12. Motion */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes curtain { 0% { transform: translateY(0); } 100% { transform: translateY(-101%); } }
/* The hover card keeps its own transform, so it only fades in */
@keyframes card-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-pending { opacity: 0; transform: translateY(32px); }
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .marquee-track { animation: none; }
  .hero-logo, .hero-tag, .hero-actions { animation: none; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
@media (hover: none), (pointer: coarse) { .cursor, .hover-card { display: none; } }

/* 13. Responsive */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-grid .frame { aspect-ratio: 4 / 3; }
  .gallery-grid .frame:nth-child(even) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .coffee-menu { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 20px 20px; background: var(--cream); border-bottom: 1px solid var(--plum-line); gap: 4px; }
  .nav.is-open .nav-links a { padding: 14px 16px; font-size: 16px; }
  .hero { min-height: 560px; }
  .hero-corner { display: none; }
  .story { grid-template-columns: 1fr; gap: 56px; padding: 90px var(--gutter) 70px; }
  .story-inset { right: 0; bottom: -24px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; gap: 48px; padding: 90px var(--gutter); }
  .events-intro { position: static; }
  .event { grid-template-columns: 80px 1fr; }
  .event-time { grid-column: 2; justify-self: start; }
  .menu-grid { grid-template-columns: 1fr; }
  .tabs { position: static; justify-content: flex-start; width: auto; }
  .coffee-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px var(--gutter); }
  .coffee-menu { grid-template-columns: 1fr; gap: 40px; padding: 70px var(--gutter) 90px; }
  .booking { grid-template-columns: 1fr; gap: 48px; padding: 70px var(--gutter) 90px; }
  .booking-intro { position: static; }
  .form-card { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .chips-grid { grid-template-columns: 1fr 1fr; }
  .dark-card { padding: 30px 24px; }
  .footer { padding: 70px var(--gutter) 32px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { gap: 24px; }
  .menu-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-actions .btn { width: 100%; }
}

/* menu page additions */
.menu-section-title { grid-column: 1 / -1; margin: 60px 0 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.menu-grid > .menu-section-title:first-child { margin-top: 40px; }
.menu-section-title + .menu-section-note { margin-top: 14px; }
.menu-grid > .menu-section-note:first-child { margin-top: 32px; }
.menu-page .page-head .lede-sm { margin-top: 22px; }

/* coffee page additions */
/* The coffee page reuses section 9 unchanged. These rules dress the small
   404, privacy and terms pages. */
.legal-body { max-width: 720px; }
.legal-body h2 { margin: 40px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.legal-body .lede + .lede { margin-top: 14px; }
.draft-note { margin: 28px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--sand); font-size: 14px; font-weight: 600; color: var(--mauve); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* booking modal */
/* Fetched from /partials/book-modal.html and opened by book.js. The card
   inside reuses the .form-card, .field, .chips and .sent-card rules above, so
   the modal and the /events page stay one design. */
html.book-open, html.book-open body { overflow: hidden; }
.book-modal { scrollbar-width: thin; scrollbar-color: rgba(43, 18, 48, .28) transparent; border: 0; padding: 0; background: transparent; color: var(--plum); width: min(720px, calc(100vw - 32px)); max-width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 28px; overscroll-behavior: contain; }
.book-modal::backdrop { background: rgba(43, 18, 48, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.book-modal[open] { animation: book-rise .4s var(--ease) both; }
.book-modal-inner { position: relative; background: #fff; border-radius: 28px; padding: 44px 40px; box-shadow: 0 30px 80px rgba(43, 18, 48, .18); display: flex; flex-direction: column; gap: 26px; }
/* The white card is the modal itself, so the form inside drops its own. */
.book-modal .form-card { background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
.book-modal-head { padding-right: 56px; }
.book-modal-head .display { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 52px); line-height: 1; }
.book-modal-head .display em { font-style: italic; color: var(--mauve); }
.book-modal-head p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.book-modal-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: var(--cream); color: var(--plum); transition: background .25s, color .25s; }
.book-modal-close:hover { background: var(--plum); color: var(--cream); }
.book-modal-close:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.book-modal .sent-card { padding: 44px 36px; border-radius: 20px; }
.book-modal .sent-card img { width: 120px; }
.book-modal .sent-card h2 { font-size: 38px; }
@keyframes book-rise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .book-modal { width: calc(100vw - 32px); border-radius: 24px; }
  .book-modal-inner { padding: 32px 22px; border-radius: 24px; gap: 22px; }
  .book-modal-head { padding-right: 48px; }
  .book-modal-close { top: 12px; right: 12px; }
  .book-modal .sent-card { padding: 34px 24px; }
  .book-modal .sent-card h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-modal[open] { animation: none; }
}
