/* =============================================================
   Note Di Vino — shared stylesheet
   ============================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; font-weight: 400; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* =============================================================
   Default theme — Warm candlelight (Palette 4, light cream base)
   ============================================================= */
:root {
  /* Palette - charcoal / espresso / brass / parchment */
  --c-ink:        #14110d;
  --c-ink-soft:   #3a3026;
  --c-muted:      #6b5d4c;
  --c-line:       #d9cdb5;
  --c-paper:      #f6efde;
  --c-paper-2:    #ede4d0;
  --c-cream:      #faf3e3;
  --c-brass:      #b8965a;
  --c-brass-deep: #8a6e3e;
  --c-ember:      #c25a2c;   /* warm terracotta accent */
  --c-wine:       #6b1f1a;   /* deep wine for fire/heat moments */

  /* Mapped roles - light mode */
  --bg:          var(--c-cream);
  --bg-alt:      var(--c-paper);
  --bg-deep:     var(--c-paper-2);
  --ink:         var(--c-ink);
  --ink-soft:    var(--c-ink-soft);
  --muted:       var(--c-muted);
  --line:        var(--c-line);
  --accent:      var(--c-brass);
  --accent-deep: var(--c-brass-deep);
  --ember:       var(--c-ember);
  --wine:        var(--c-wine);

  /* Fonts */
  --font-script: 'Italianno', 'Allura', cursive;
  --font-serif:  'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body:   'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-ui:     'Cormorant Garamond', Georgia, serif;
  --font-mono:   'JetBrains Mono', ui-monospace, monospace;

  /* Letter spacing tokens */
  --tracking-wide: 0.22em;
  --tracking-mid:  0.12em;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 2px;
  --radius:   4px;
  --radius-lg: 10px;

  /* Shadows */
  --shadow-soft: 0 30px 80px -40px rgba(20,17,13,0.45), 0 6px 20px -10px rgba(20,17,13,0.18);
  --shadow-hi:   0 50px 120px -50px rgba(20,17,13,0.55), 0 10px 30px -15px rgba(20,17,13,0.25);
}

/* Dark mode — fireplace at night */
[data-mode="dark"] {
  --c-paper:    #1c1814;
  --c-paper-2:  #221d18;
  --c-cream:    #15110d;
  --c-line:     #3a2f23;
  --c-ink:      #f3e9d2;
  --c-ink-soft: #d8c9aa;
  --c-muted:    #9a8b75;
  --c-brass:    #d4ad6a;
  --c-brass-deep: #b8965a;

  --bg:          var(--c-cream);
  --bg-alt:      var(--c-paper);
  --bg-deep:     var(--c-paper-2);
  --ink:         var(--c-ink);
  --ink-soft:    var(--c-ink-soft);
  --muted:       var(--c-muted);
  --line:        var(--c-line);
  --accent:      var(--c-brass);
  --accent-deep: var(--c-brass-deep);
}

/* Alt palettes */
[data-palette="terracotta"] {
  --c-brass:      #c47a3d;
  --c-brass-deep: #8a4a1f;
  --c-ember:      #b8492a;
}
[data-palette="emerald"] {
  --c-brass:      #6b8e5f;
  --c-brass-deep: #3f5a36;
  --c-ember:      #c25a2c;
}
[data-palette="wine"] {
  --c-brass:      #a14040;
  --c-brass-deep: #6b1f1a;
  --c-ember:      #c25a2c;
}

/* Type pairing variants */
[data-typeset="modern"] {
  --font-script: 'Playfair Display', Georgia, serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
}
[data-typeset="classic"] {
  --font-script: 'Cormorant Garamond', serif;
  --font-serif:  'Cormorant Garamond', serif;
  --font-body:   'Cormorant Garamond', serif;
}

/* =============================================================
   Typography
   ============================================================= */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 0.9;
}
.serif { font-family: var(--font-serif); }
.eyebrow {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-deep);
}
[data-mode="dark"] .eyebrow { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.5vw, 60px); letter-spacing: -0.005em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p  { font-size: clamp(16px, 1.1vw, 18px); color: var(--ink-soft); }

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 56ch;
}

.rule {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.rule::before, .rule::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* =============================================================
   Layout
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(60px, 9vw, 140px); }

/* =============================================================
   Site header / nav
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
  transition: background 250ms ease, border-color 250ms ease;
}
.nav.is-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  color: #f7ecd2;
}
.nav.is-transparent::before {
  content: '';
  position: absolute;
  inset: 0 0 -40px 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.nav.is-transparent .nav-link,
.nav.is-transparent .nav-logo,
.nav.is-transparent .nav-logo .script,
.nav.is-transparent .nav-cta,
.nav.is-transparent .cart-btn { color: #faf2dd; text-shadow: 0 1px 16px rgba(0,0,0,0.4); }
.nav.is-transparent .nav-logo .micro { color: #e0c891; }
.nav.is-transparent .nav-link::after { background: #faf2dd; }

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-content: flex-end; }
.nav-logo {
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--ink);
}
.nav-logo img {
  width: clamp(104px, 10vw, 132px);
  height: auto;
  display: block;
  margin-bottom: -18px;
}
.nav-logo .brand-name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: 0;
  color: currentColor;
  white-space: nowrap;
}
.nav-logo .brand-sub {
  font-family: var(--font-serif);
  font-size: 9px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 3px;
  white-space: nowrap;
}
.nav-logo .script {
  font-size: 36px;
  color: var(--ink);
}
.nav-logo .micro {
  font-family: var(--font-serif);
  font-size: 9px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--accent-deep);
}
.nav.is-transparent .nav-logo .micro { color: #d9c189; }
.nav.is-transparent .nav-logo .brand-sub { color: #d9c189; }
[data-mode="dark"] .nav:not(.is-transparent) .nav-logo img {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.08));
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 220ms ease, left 220ms ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; left: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

.cart-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 78;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
}
.nav.is-transparent .cart-btn {
  color: var(--bg);
  text-shadow: none;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--c-ink);
  font-size: 11px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  transform: scale(0);
  transition: transform 220ms cubic-bezier(.5,1.6,.4,1);
}
.cart-count.is-active { transform: scale(1); }
.cart-count.is-bumped { animation: bump 380ms ease; }
.cart-btn.is-bumped { animation: cartPulse 520ms ease; }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@keyframes cartPulse {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-2px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}
.cart-toast {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 120;
  min-width: 220px;
  max-width: min(340px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  font-family: var(--font-serif);
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cart-toast span {
  display: block;
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 2px;
}
.cart-toast b {
  display: block;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-ghost:hover { background: currentColor; }
.btn-ghost:hover > * { color: var(--bg); }
.btn-ghost:hover { color: var(--bg); }
.btn-brass { background: var(--accent); color: var(--c-ink); }
.btn-brass:hover { background: var(--accent-deep); color: #fff; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  color: #f7ecd2;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, rgba(20,17,13,0.55) 0%, rgba(20,17,13,0.15) 30%, rgba(20,17,13,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 110px;
  padding-bottom: 60px;
}
.hero-top {
  display: flex;
  justify-content: flex-end;
}
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(247,236,210,0.4);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-live .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #ef5a3e;
  box-shadow: 0 0 0 0 rgba(239,90,62,0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,90,62,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(239,90,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,90,62,0); }
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(96px, 18vw, 260px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: #faf2dd;
  text-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: 16px;
  color: #e8d8b0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.hero-sub .sep { width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: 0.6; }

.hero-tag {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  max-width: 38ch;
  color: #f1e1bd;
  font-style: italic;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary { background: var(--accent); color: #1a140d; border-color: var(--accent); }
.hero-actions .btn-primary:hover { background: #f0d086; color: #14110d; }
.hero-actions .btn-ghost { color: #f7ecd2; border-color: rgba(247,236,210,0.6); }
.hero-actions .btn-ghost:hover { background: #f7ecd2; color: #14110d; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero-meta {
  display: grid;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: #e8d8b0;
}
.hero-meta b { color: #faf2dd; font-weight: 500; }
.hero-scroll {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #e8d8b0;
}
.hero-scroll .line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

/* Alt hero layouts */
.hero[data-layout="split"] .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 100vh;
}
.hero .hero-media-side { display: none; }
.hero[data-layout="split"] .hero-media { position: relative; }
.hero[data-layout="split"] .hero-media-side {
  display: block;
  position: relative;
  min-height: 100vh;
}
.hero[data-layout="split"] .hero-media-side img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero[data-layout="split"] .hero-content {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero[data-layout="split"] .hero-title { color: var(--ink); text-shadow: none; font-size: clamp(80px, 12vw, 180px); }
.hero[data-layout="split"] .hero-tag,
.hero[data-layout="split"] .hero-sub,
.hero[data-layout="split"] .hero-meta { color: var(--ink-soft); }
.hero[data-layout="split"] .hero-meta b { color: var(--ink); }
.hero[data-layout="split"] .hero-bottom { display: none; }
.hero[data-layout="split"] .hero-actions .btn-ghost { color: var(--ink); border-color: var(--ink); }
.hero[data-layout="split"] .hero-actions .btn-ghost:hover { background: var(--ink); color: var(--bg); }

.hero[data-layout="editorial"] .hero-inner { justify-content: center; }
.hero[data-layout="editorial"] .hero-bottom { display: none; }
.hero[data-layout="editorial"] .hero-content { text-align: center; align-items: center; display: flex; flex-direction: column; }
.hero[data-layout="editorial"] .hero-actions { justify-content: center; }
.hero[data-layout="editorial"] .hero-tag { text-align: center; margin-inline: auto; }
.hero[data-layout="editorial"] .hero-side-stamps {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* =============================================================
   Pull / feature blocks
   ============================================================= */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split-block.flip { direction: rtl; }
.split-block.flip > * { direction: ltr; }
.split-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.split-img:hover img { transform: scale(1.04); }
.split-img .stamp {
  position: absolute;
  bottom: 22px; left: 22px;
  padding: 8px 14px;
  background: rgba(20,17,13,0.7);
  color: #f7ecd2;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.split-copy h2 .script {
  display: block;
  font-size: clamp(54px, 8vw, 110px);
  color: var(--accent-deep);
  margin-bottom: -10px;
}
.split-copy h2 .line {
  display: block;
  font-style: italic;
  font-weight: 400;
}

/* =============================================================
   Feature trio
   ============================================================= */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trio .card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-deep);
}
.trio .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease, filter 600ms ease; filter: brightness(0.85); }
.trio .card:hover img { transform: scale(1.06); filter: brightness(0.95); }
.trio .card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,17,13,0.85) 100%);
}
.trio .card .meta {
  position: absolute;
  left: 26px; right: 26px; bottom: 26px;
  color: #f7ecd2;
}
.trio .card .meta .eyebrow { color: #d9c189; }
.trio .card .meta h3 { color: #faf2dd; font-style: italic; margin-top: 6px; }

/* =============================================================
   Marquee strip
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--accent-deep);
  line-height: 1;
}
.marquee-item .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  vertical-align: middle;
  margin: 0 24px;
}
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================
   Section headers
   ============================================================= */
.s-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
  max-width: 800px;
}
.s-head h2 .script {
  display: block;
  font-size: clamp(70px, 9vw, 130px);
  color: var(--accent-deep);
  line-height: 0.85;
  margin-bottom: -10px;
}
.s-head h2 .line {
  display: block;
  font-style: italic;
  font-weight: 400;
}
.s-head.centered { margin-inline: auto; text-align: center; }

/* =============================================================
   Hours block
   ============================================================= */
.hours-list {
  display: grid;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 18px;
}
.hours-list .row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed color-mix(in oklab, var(--line) 80%, transparent);
}
.hours-list .row.today { color: var(--ember); }
.hours-list .row.today b { font-weight: 600; }
.hours-list .day { font-style: italic; color: var(--ink-soft); }
.hours-list .row.today .day { color: var(--ember); font-weight: 500; }
.hours-list .time { letter-spacing: 0.02em; }
.hours-list .dots { color: var(--line); letter-spacing: 4px; }

/* =============================================================
   Newsletter / footer
   ============================================================= */
.footer {
  background: var(--c-ink);
  color: #d9c189;
  padding-block: 80px 32px;
}
[data-mode="dark"] .footer {
  background: #0c0a07;
}
.footer h3 { color: #faf2dd; font-style: italic; }
.footer .eyebrow { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(217,193,137,0.18);
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a:hover { color: #faf2dd; }
.footer-brand .script { font-size: 64px; color: #faf2dd; line-height: 0.9; }
.footer-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 600;
  line-height: .95;
  color: #faf2dd;
}
.footer-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: -18px;
}
.footer-brand .micro {
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.footer-brand p { color: #c4a878; margin-top: 18px; max-width: 36ch; font-size: 15px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: #9a8554;
}

/* =============================================================
   Cart drawer
   ============================================================= */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,17,13,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 90;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(460px, 100vw);
  background: var(--bg);
  color: var(--ink);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 380ms cubic-bezier(.6,.2,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.35);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 { font-style: italic; font-size: 22px; }
.drawer-close {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 20px;
}
.drawer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.drawer-item-name { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--ink); }
.drawer-item-meta { font-family: var(--font-serif); font-size: 12px; letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.drawer-item-controls { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink-soft);
}
.qty-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qty-value { font-family: var(--font-serif); font-size: 16px; min-width: 22px; text-align: center; }
.drawer-item-price { font-family: var(--font-serif); font-size: 18px; font-weight: 500; text-align: right; white-space: nowrap; }
.drawer-item-remove {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.drawer-item-remove:hover { color: var(--ember); }

.drawer-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.drawer-empty .script { font-size: 56px; color: var(--accent-deep); display: block; }
.drawer-empty p { margin-top: 6px; font-style: italic; }

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 22px 28px 28px;
  background: var(--bg-alt);
}
.drawer-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-serif);
  margin-bottom: 16px;
}
.drawer-total .label { font-size: 12px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--muted); }
.drawer-total .amount { font-size: 26px; font-weight: 500; color: var(--ink); }
.drawer-total .secondary { font-size: 14px; color: var(--muted); margin-left: 8px; }
.drawer-back {
  width: 100%;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-checkout {
  display: grid;
  gap: 24px;
  padding-top: 12px;
}
.drawer-step {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.drawer-step h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
}
.drawer-fields {
  display: grid;
  gap: 12px;
}
.drawer-checkout label {
  display: grid;
  gap: 7px;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-checkout input,
.drawer-checkout textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 12px 13px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.drawer-checkout textarea {
  min-height: 94px;
  resize: vertical;
}
.drawer-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.drawer-choice label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  padding: 14px 16px;
  background: var(--bg-alt);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}
.drawer-choice label:has(input:checked) {
  border-color: var(--ink);
  background: color-mix(in oklab, var(--bg-alt) 82%, var(--accent) 18%);
}
.drawer-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.drawer-choice span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.drawer-choice span::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  margin-left: 14px;
}
.drawer-choice label:has(input:checked) span::after {
  border-color: var(--ink);
  background:
    radial-gradient(circle at center, var(--ink) 0 38%, transparent 41%),
    var(--bg);
}

/* =============================================================
   Tweaks panel
   ============================================================= */
.tweaks-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  z-index: 70;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.tweaks-fab.is-visible { display: inline-flex; }
.tweaks-panel {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 320px;
  max-height: min(80vh, 720px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.35);
  z-index: 80;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-serif);
}
.tweaks-panel.is-open { display: flex; }
.tweaks-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-alt);
}
.tweaks-head h4 { font-style: italic; font-size: 18px; font-weight: 500; }
.tweaks-body { overflow-y: auto; padding: 18px 20px 22px; display: grid; gap: 20px; }
.tweak-group { display: grid; gap: 10px; }
.tweak-group > label { font-size: 10px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--muted); }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-sw {
  flex: 1;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 200ms ease;
}
.tweak-sw:hover { transform: translateY(-2px); }
.tweak-sw.is-active { outline: 2px solid var(--ink); outline-offset: 2px; }
.tweak-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tweak-pill {
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
}
.tweak-pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* =============================================================
   Page chrome
   ============================================================= */
.page-head {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head .script {
  font-size: clamp(80px, 14vw, 200px);
  color: var(--accent-deep);
  line-height: 0.85;
}
.page-head .micro {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.page-head p { max-width: 56ch; margin: 18px auto 0; font-style: italic; }

/* =============================================================
   Forms
   ============================================================= */
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
  transition: border-color 200ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; font-style: italic; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); font-style: italic; }

.option-row { display: flex; gap: 8px; flex-wrap: wrap; }
.option-chip {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  background: transparent;
  transition: all 180ms ease;
}
.option-chip:hover { border-color: var(--ink); }
.option-chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* =============================================================
   Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.2,.6,.2,1), transform 900ms cubic-bezier(.2,.6,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo cart"
      "links links";
    height: auto;
    gap: 8px 16px;
    padding-block: 10px 8px;
  }
  .nav-logo { grid-area: logo; align-items: flex-start; text-align: left; }
  .nav-logo img { width: 104px; }
  .nav-logo .brand-name { font-size: 28px; }
  .nav-logo .brand-sub { font-size: 8px; }
  .nav-left {
    grid-area: links;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }
  .nav-left::-webkit-scrollbar { display: none; }
  .nav-left .nav-link { display: block; flex: 0 0 auto; font-size: 11px; }
  .nav-right { grid-area: cart; }
  .nav-right .nav-link { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .split-block, .hero[data-layout="split"] .hero-inner { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero[data-layout="split"] .hero-media-side { min-height: 60vh; }
  .hero,
  .hero-inner {
    min-height: 720px;
  }
  .hero[data-layout="split"] .hero-media,
  .hero[data-layout="editorial"] .hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
  }
  .hero[data-layout="split"] .hero-inner {
    display: flex;
    justify-content: center;
    padding-top: 132px;
    padding-bottom: 54px;
  }
  .hero[data-layout="split"] .hero-content {
    background: transparent;
    color: #f7ecd2;
    padding: 0;
    align-items: center;
    text-align: center;
  }
  .hero[data-layout="split"] .hero-title { color: #faf2dd; text-shadow: 0 8px 40px rgba(0,0,0,0.4); }
  .hero[data-layout="split"] .hero-tag,
  .hero[data-layout="split"] .hero-sub { color: #f1e1bd; text-align: center; }
  .hero[data-layout="split"] .hero-actions { justify-content: center; }
  .hero[data-layout="split"] .hero-media-side { display: none; }
  .hero-top { justify-content: center; }
  .hero-sub { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero-title { font-size: clamp(68px, 21vw, 132px); }
  .hero-tag { font-size: 17px; max-width: 30ch; }
  .marquee-track { gap: 34px; animation-duration: 30s; }
  .marquee-item { font-size: 30px; }
  #signature-grid { grid-template-columns: 1fr !important; }
  #music > .container,
  .home-live-grid,
  .home-hours-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  #music li { grid-template-columns: 1fr auto !important; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .nav-inner { padding-block: 8px; }
  .nav-logo .brand-name { font-size: 24px; }
  .nav-logo .brand-sub { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
  .cart-btn {
    right: 16px;
    bottom: 16px;
    padding: 13px 16px;
  }
  .cart-toast {
    top: auto;
    right: 16px;
    bottom: 78px;
  }
  .cart-btn > span:first-child { display: none; }
  .cart-btn::before {
    content: 'Кошница';
    font-family: var(--font-serif);
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
  }
  .cart-count {
    background: var(--accent);
    color: var(--c-ink);
  }
  .hero,
  .hero-inner { min-height: 680px; }
  .hero-inner { padding-top: 128px; padding-bottom: 44px; }
  .hero-live { font-size: 9px; letter-spacing: 0.16em; }
  .hero-actions { width: 100%; justify-content: center; }
  .hero-actions .btn { width: min(100%, 280px); white-space: normal; min-height: 52px; }
  .section { padding-block: 56px; }
  h2 { font-size: clamp(30px, 11vw, 44px); }
  .split-copy h2 .script { font-size: clamp(48px, 18vw, 82px); }
  .drawer {
    width: 100vw;
  }
  .drawer-head { padding: 20px; }
  .drawer-body { padding-inline: 20px; }
  .drawer-foot { padding: 18px 20px 22px; }
  .drawer-item {
    grid-template-columns: 1fr;
  }
  .drawer-item-price,
  .drawer-item-remove { text-align: left; }
  .drawer-choice { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hours-list .row { grid-template-columns: 1fr auto; }
  .hours-list .dots { display: none; }
}
