/* =========================================================================
   No.641 Bistro · 義式餐酒館
   風格：夜晚 · 燭光 · 義式 · 微醺（warm-dark / candlelit / editorial）
   Fonts: Fraunces (display) · Archivo (label) · Noto Serif TC (繁中)
   ========================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* warm-dark palette */
  --bg:          #16100c;
  --bg-2:        #1d150e;
  --surface:     #241a12;
  --surface-2:   #2d2117;
  --ink:         #f3e8d6;
  --ink-soft:    #d4c6ad;
  --ink-faint:   #9c8b72;
  --line:        rgba(201, 162, 90, 0.20);
  --line-soft:   rgba(201, 162, 90, 0.10);

  --wine:        #8a2b34;
  --wine-bright: #ac3540;
  --gold:        #c9a25a;
  --gold-bright: #e3c382;
  --terracotta:  #c06a3f;
  --olive:       #7d7a52;

  /* type */
  --font-display: 'Fraunces', 'Noto Serif TC', Georgia, serif;
  --font-body:    'Noto Serif TC', 'Fraunces', Georgia, serif;
  --font-label:   'Archivo', 'Noto Sans TC', system-ui, sans-serif;

  /* spacing (8px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* radius / shadow */
  --r-sm: 6px; --r: 12px; --r-lg: 22px; --r-pill: 999px;
  --shadow:    0 18px 50px -20px rgba(0,0,0,0.7);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,0.85);

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm vignette + subtle grain over whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(201,162,90,0.05), transparent 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(138,43,52,0.10), transparent 60%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--wine); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
.display {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.98;
  font-weight: 300;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 300; }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.8rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.muted { color: var(--ink-faint); }
.gold { color: var(--gold); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 0.8rem; }
.section-head p { margin-top: 1.2rem; }

.divider-gold { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-label);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: var(--r-pill);
  transition: transform .4s var(--ease), background .35s, color .35s, box-shadow .4s, border-color .35s;
  will-change: transform;
}
.btn-primary {
  background: var(--wine);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(138,43,52,0.8);
}
.btn-primary:hover { background: var(--wine-bright); transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(172,53,64,0.9); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: #211608; }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
  transition: background .5s var(--ease), padding .5s var(--ease), backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(18, 12, 8, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line-soft);
  padding-block: 0.9rem;
}
.brand { display: flex; align-items: baseline; gap: 0.55rem; font-family: var(--font-display); }
.brand .no { font-size: 1.5rem; letter-spacing: 0.02em; }
.brand .no b { color: var(--gold); font-weight: 500; }
.brand .sub { font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-faint); }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav-links a { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding-block: 0.3rem; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.7em 1.3em; font-size: 0.72rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .35s, opacity .25s; }

/* mobile menu */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem;
    background: rgba(16,11,7,0.97); backdrop-filter: blur(18px);
    padding: 2rem 2.4rem; transform: translateX(105%); transition: transform .5s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,11,7,0.55) 0%, rgba(16,11,7,0.15) 30%, rgba(16,11,7,0.6) 72%, rgba(16,11,7,0.97) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(138,43,52,0.25), transparent 60%);
}
.hero-num {
  position: absolute; right: clamp(-1rem, 1vw, 2rem); top: 16%; z-index: 1;
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(10rem, 34vw, 30rem); line-height: 0.8;
  color: rgba(243,232,214,0.06); letter-spacing: -0.04em; pointer-events: none; user-select: none;
}
.hero-inner { position: relative; z-index: 2; padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 9vw, 7rem); max-width: 900px; }
.hero-inner .eyebrow { color: var(--gold-bright); }
.hero h1 { margin: 1.2rem 0 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .it { font-style: italic; color: var(--gold-bright); }
.hero-sub { margin-top: 1.6rem; max-width: 46ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue .bar { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(0.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-text p + p { margin-top: 1.2rem; }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-figure .stamp {
  position: absolute; bottom: -1.4rem; left: -1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.3rem; box-shadow: var(--shadow); max-width: 220px;
}
.about-figure .stamp .num { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.about-figure .stamp .lbl { font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.3rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-figure { order: -1; } }

/* ---------- Highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.hl-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 2rem 1.6rem; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.hl-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.hl-card .ic { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.2rem; }
.hl-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.hl-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 900px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.menu-tab {
  font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7em 1.25em; border-radius: var(--r-pill); border: 1px solid var(--line-soft);
  color: var(--ink-soft); transition: all .3s;
}
.menu-tab:hover { color: var(--ink); border-color: var(--line); }
.menu-tab.active { background: var(--gold); color: #211608; border-color: var(--gold); }

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeUp .6s var(--ease); }
.menu-panel-head { text-align: center; margin-bottom: 2.4rem; }
.menu-panel-head .it { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--gold); }
.menu-panel-head p { color: var(--ink-faint); margin-top: 0.3rem; font-size: 0.98rem; }

.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 3.5rem; max-width: 1000px; margin-inline: auto; }
.menu-row { padding: 1rem 0; border-bottom: 1px dashed var(--line-soft); }
.menu-row-top { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-row .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.menu-row .leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.menu-row .price { font-family: var(--font-label); font-size: 0.95rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.menu-row .it-name { font-family: var(--font-display); font-style: italic; font-size: 0.88rem; color: var(--ink-faint); margin-top: 0.15rem; }
.menu-row .desc { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.35rem; line-height: 1.6; }
.menu-row .tag {
  display: inline-block; font-family: var(--font-label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.18em 0.6em; border-radius: var(--r-pill); margin-left: 0.4rem; vertical-align: middle;
  border: 1px solid var(--line);
}
.menu-row .tag.sig { background: var(--wine); border-color: var(--wine); color: var(--ink); }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; gap: 0 0; } }

/* signature dishes strip */
.sig-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.sig-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.sig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sig-card:hover img { transform: scale(1.06); }
.sig-card .cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem; background: linear-gradient(transparent, rgba(16,11,7,0.92)); }
.sig-card .cap .it { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); font-size: 0.85rem; }
.sig-card .cap h4 { font-size: 1.3rem; margin-top: 0.1rem; }
@media (max-width: 760px) { .sig-strip { grid-template-columns: 1fr; } }

/* ---------- Ambience gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery figure { border-radius: var(--r); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .g-wide { grid-column: span 2; } }

/* ---------- Wine / Bar feature ---------- */
.wine-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.wine-feature .figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wine-feature .figs img { border-radius: var(--r); aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow); }
.wine-feature .figs img:nth-child(2) { margin-top: 2.5rem; }
.wine-list { margin-top: 1.8rem; display: grid; gap: 0.8rem; }
.wine-list li { display: flex; align-items: baseline; gap: 0.6rem; list-style: none; }
.wine-list .name { font-family: var(--font-display); font-size: 1.1rem; }
.wine-list .leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.wine-list .price { font-family: var(--font-label); color: var(--gold); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 820px) { .wine-feature { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.visit-info { display: grid; gap: 1.6rem; align-content: start; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.info-row .ic { color: var(--gold); width: 24px; height: 24px; flex: none; margin-top: 3px; }
.info-row .lbl { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.info-row .val { font-size: 1.05rem; margin-top: 0.2rem; }
.info-row .val .tba { color: var(--terracotta); font-size: 0.82rem; font-family: var(--font-label); }
.visit-map { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; border: 1px solid var(--line); position: relative; background: var(--surface); }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.25) sepia(0.22) brightness(0.92) contrast(1.02); }
.visit-map .map-open {
  position: absolute; right: 0.8rem; bottom: 0.8rem; z-index: 2;
  background: rgba(18,12,8,0.9); color: var(--gold-bright); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 0.55em 1em; font-family: var(--font-label); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.04em; transition: background .3s, color .3s, border-color .3s;
}
.visit-map .map-open:hover { background: var(--gold); color: #211608; border-color: var(--gold); }
.visit-map .map-ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 0.6rem; color: var(--ink-faint); padding: 2rem; }
.visit-cta { margin-top: 2rem; }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding-block: clamp(4rem, 9vw, 8rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(138,43,52,0.25), transparent 70%); }
.cta-band .inner { position: relative; }
.cta-band .h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .btn { margin-top: 2rem; }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
.ig-grid a { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(0.95); }
.ig-grid a:hover img { transform: scale(1.08); filter: saturate(1.1); }
.ig-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(138,43,52,0); transition: background .4s; }
.ig-grid a:hover::after { background: rgba(138,43,52,0.25); }
@media (max-width: 820px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 5rem) 4.5rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer .brand .no { font-size: 2rem; }
.footer h5 { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer a { color: var(--ink-soft); transition: color .3s; font-size: 0.98rem; }
.footer a:hover { color: var(--gold-bright); }
.footer .social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer .social a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-content: center; transition: all .3s; }
.footer .social a:hover { background: var(--gold); color: #211608; border-color: var(--gold); transform: translateY(-3px); }
.footer .social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; color: var(--ink-faint); font-size: 0.82rem; font-family: var(--font-label); letter-spacing: 0.04em; }
.footer-bottom a { color: var(--gold); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Demo / PHAROS pitch ribbon ---------- */
.demo-ribbon {
  position: fixed; z-index: 60; left: 50%; bottom: 1rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(18,12,8,0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 0.6rem 0.7rem 0.6rem 1.2rem; box-shadow: var(--shadow-lg);
  font-family: var(--font-label); font-size: 0.78rem; color: var(--ink-soft); max-width: calc(100% - 2rem);
}
.demo-ribbon b { color: var(--gold-bright); font-weight: 600; }
.demo-ribbon .pill { background: var(--wine); color: var(--ink); padding: 0.45em 1em; border-radius: var(--r-pill); font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; transition: background .3s, transform .3s; }
.demo-ribbon .pill:hover { background: var(--wine-bright); transform: translateY(-2px); }
.demo-ribbon .x { color: var(--ink-faint); font-size: 1.1rem; padding: 0 0.3rem; line-height: 1; }
.demo-ribbon .x:hover { color: var(--ink); }
@media (max-width: 560px) { .demo-ribbon { font-size: 0.7rem; gap: 0.6rem; padding-left: 0.9rem; } .demo-ribbon .hide-sm { display: none; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Hero entrance ---------- */
.hero-inner > * { animation: heroIn 1.1s var(--ease) both; }
.hero-inner > *:nth-child(1) { animation-delay: .25s; }
.hero-inner > *:nth-child(2) { animation-delay: .4s; }
.hero-inner > *:nth-child(3) { animation-delay: .58s; }
.hero-inner > *:nth-child(4) { animation-delay: .76s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Mobile sticky booking bar ---------- */
.mobile-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  text-align: center; padding: 1.05rem 1rem;
  background: var(--wine); color: var(--ink);
  font-family: var(--font-label); font-weight: 600; letter-spacing: .06em; font-size: .92rem;
  box-shadow: 0 -12px 32px -14px rgba(0,0,0,.65);
  border-top: 1px solid rgba(227,195,130,.32);
}
@media (max-width: 860px) {
  .mobile-book { display: block; }
  .demo-ribbon { display: none; }
  .footer { padding-bottom: 6rem; }
  .scroll-cue { display: none; }
  .hero-inner { padding-bottom: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg img { animation: none; transform: scale(1); }
  .hero-inner > * { animation: none; }
  .scroll-cue .bar { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .12s !important; }
}
