/* ============================================================
   MARKOGON ÉLITE CATERING — Stylesheet (Light / Warm Edition)
   ============================================================ */
:root {
  --bg:        #f7f2e7;   /* warm ivory */
  --bg-2:      #fffdf7;   /* soft white — alternating sections */
  --panel:     #ffffff;
  --ink:       #2b2218;   /* deep espresso */
  --ink-soft:  #6a5e4c;
  --ink-faint: #a99c87;
  --gold:      #a8823f;
  --gold-2:    #d9bc84;
  --gold-deep: #7d5d28;
  --line:      rgba(168,130,63,0.30);
  --line-soft: rgba(168,130,63,0.14);
  --plate-shadow: #ece1ca;
  --card-shadow: 0 16px 38px -26px rgba(90,68,28,0.45);
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
  --gold-grad: linear-gradient(135deg, #7d5d28 0%, #e0c389 38%, #b08d4f 62%, #6f5125 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(168,130,63,0.22); color: var(--ink); }

/* soft warm ambient glows */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -8%, rgba(217,188,132,0.22) 0%, rgba(247,242,231,0) 58%),
    radial-gradient(70% 55% at 92% 108%, rgba(168,130,63,0.10) 0%, rgba(247,242,231,0) 55%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- typography helpers ---------- */
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: 0.01em; }
.ru { font-family: var(--font-display); color: var(--gold); opacity: 0.92; font-style: italic; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep);
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section { position: relative; z-index: 1; padding: clamp(72px, 11vw, 150px) 24px; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(34px, 6vw, 68px); font-weight: 500; }
.sec-head .ru { font-size: clamp(20px, 3vw, 32px); display: block; margin-top: 4px; }
.divider {
  width: 100%; height: 1px; border: none;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
  margin: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 44px);
  transition: background .5s ease, backdrop-filter .5s ease, padding .4s ease, border-color .5s, box-shadow .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,253,247,0.85);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -24px rgba(90,68,28,0.5);
  padding-top: 13px; padding-bottom: 13px;
}
.nav-brand { display: flex; align-items: baseline; gap: 12px; cursor: pointer; flex: none; }
.nav-brand .mark {
  font-family: var(--font-display); font-weight: 600; font-size: 23px;
  letter-spacing: 0.13em; color: var(--ink); white-space: nowrap;
}
.nav-brand .mark b { color: var(--gold); font-weight: 600; }
.nav-brand .tag { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
@media (max-width: 1080px) { .nav-brand .tag { display: none; } }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--line); color: var(--gold-deep) !important;
  padding: 10px 20px !important; border-radius: 2px; transition: all .35s;
}
.nav-cta:hover { background: var(--gold); color: #2b2218 !important; border-color: var(--gold); }
.nav-cta::after { display: none; }
.nav-burger { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }
.nav-burger svg { width: 26px; height: 26px; }

/* ============================================================
   HERO — Die Cloche
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 96px 24px 76px; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .7;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 35%, #000 25%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 50% 35%, #000 25%, transparent 72%);
}
.hero-glow {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%);
  width: min(820px, 96vw); height: min(820px, 96vw); z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(217,188,132,0.30) 0%, rgba(217,188,132,0) 62%);
}
.cloche-stage {
  position: relative; z-index: 1;
  height: clamp(170px, 36vh, 300px); width: auto;
  margin: 0 auto 4px;
  will-change: transform;
  filter: drop-shadow(0 26px 40px rgba(120,90,30,0.28));
}
.cloche-stage svg { height: 100%; width: auto; overflow: visible; }
.hero-eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(42px, 8vw, 104px); font-weight: 500; line-height: 0.96;
  margin-bottom: 8px;
}
.hero h1 em { font-style: italic; }
.hero .hero-ru {
  font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 3.8vw, 40px);
  color: var(--gold); margin-bottom: 22px;
}
.hero-lede {
  max-width: 580px; color: var(--ink-soft); font-size: clamp(14px, 1.5vw, 17px);
  margin: 0 auto 32px; text-wrap: balance;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 2px; cursor: pointer; border: 1px solid var(--line);
  background: transparent; color: var(--ink); transition: all .35s ease; display: inline-flex;
  align-items: center; gap: 10px;
}
.btn:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #2b2218; border: none; font-weight: 600; background-size: 160% 160%; }
.btn-gold:hover { color: #2b2218; box-shadow: 0 16px 40px -14px rgba(168,130,63,0.7); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint .bar { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s ease-in-out infinite; }

/* steam */
.cloche-stage { --steam-shift: 0px; }
.steam { transform: translateX(var(--steam-shift)); }
.steam path { fill: none; stroke: rgba(125,93,40,0.42); stroke-width: 1.6; stroke-linecap: round; }
.steam .s1 { animation: steam 5.5s ease-in-out infinite; }
.steam .s2 { animation: steam 6.4s ease-in-out infinite .6s; }
.steam .s3 { animation: steam 7.1s ease-in-out infinite 1.1s; }

@keyframes steam {
  0%   { opacity: 0; transform: translateY(8px) scaleY(.8); }
  20%  { opacity: .6; }
  70%  { opacity: .28; }
  100% { opacity: 0; transform: translateY(-46px) scaleY(1.25); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0%,100% { transform: scaleY(.4); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   REVEAL (scroll)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philo { position: relative; }
.philo .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.philo-statement { font-family: var(--font-display); font-size: clamp(28px, 4vw, 50px); font-weight: 400; line-height: 1.18; }
.philo-statement .gold-text { font-style: italic; }
.philo-body p { color: var(--ink-soft); margin-bottom: 20px; font-size: 16px; max-width: 46ch; }
.philo-body p .ru-inline { display: block; color: var(--ink-faint); font-style: italic; font-family: var(--font-display); font-size: 17px; margin-top: 6px; }
.philo-stats { display: flex; gap: 40px; margin-top: 38px; flex-wrap: wrap; }
.philo-stats .stat .num { font-family: var(--font-display); font-size: 48px; color: var(--gold); line-height: 1; }
.philo-stats .stat .lbl { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }

/* ============================================================
   PLATTERS / Fingerfood
   ============================================================ */
.platters .wrap { position: relative; }
.platter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platter-card {
  position: relative; border: 1px solid var(--line-soft);
  background: var(--panel); box-shadow: var(--card-shadow);
  border-radius: 6px; overflow: hidden; transition: border-color .4s, transform .4s, box-shadow .4s;
}
.platter-card:hover { border-color: var(--line); transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(90,68,28,0.5); }
.platter-card .ribbon {
  position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .6s ease; z-index: 3;
}
.platter-card:hover .ribbon { transform: scaleX(1); }
.platter-photo { position: relative; width: 100%; height: 220px; background: #f1e9d6; }
.platter-slot { display: block; width: 100%; height: 100%; }
.platter-emoji {
  position: absolute; top: 14px; left: 14px; z-index: 2; pointer-events: none;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  background: rgba(255,253,247,0.92); box-shadow: 0 6px 16px -8px rgba(90,68,28,0.6); border: 1px solid var(--line-soft);
}
.platter-body { padding: 26px 30px 32px; }
.platter-card .pnum { font-family: var(--font-display); font-size: 15px; color: var(--gold); letter-spacing: .2em; margin-bottom: 12px; }
.platter-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.platter-card .h-ru { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 19px; margin-bottom: 16px; }
.platter-card .desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.platter-card .desc .desc-ru { display: block; color: var(--ink-faint); margin-top: 8px; font-size: 12.5px; }

/* ============================================================
   ATELIER (configurator)
   ============================================================ */
.atelier { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.atelier-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.atelier-palette h4, .atelier-plate h4 { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.dish-pool { display: flex; flex-direction: column; gap: 10px; }
.pool-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 4px; cursor: grab;
  background: var(--panel); transition: border-color .3s, background .3s, transform .2s, box-shadow .3s;
  user-select: none;
}
.pool-item:hover { border-color: var(--line); background: #fffdf4; box-shadow: var(--card-shadow); }
.pool-item:active { cursor: grabbing; }
.pool-item.dragging { opacity: .4; }
.pool-item.added { border-color: var(--gold); background: rgba(168,130,63,0.07); opacity: .7; }
.pool-item .pi-txt .de { font-size: 14.5px; color: var(--ink); }
.pool-item .pi-txt .ru { font-size: 12.5px; color: var(--ink-faint); font-style: italic; display: block; }
.pool-item .pi-add {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  color: var(--gold-deep); display: grid; place-items: center; font-size: 18px; transition: all .3s;
}
.pool-item:hover .pi-add { background: var(--gold); color: #2b2218; border-color: var(--gold); }

.plate-wrap { position: sticky; top: 96px; }
.plate-disc {
  position: relative; width: min(420px, 78vw); aspect-ratio: 1; margin: 0 auto 24px;
  border-radius: 50%; transition: box-shadow .4s, border-color .3s;
  border: 1px dashed var(--line); display: grid; place-items: center;
}
.plate-disc.over { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(168,130,63,0.12), 0 30px 70px -30px rgba(168,130,63,0.55); }
.plate-disc svg { width: 100%; height: 100%; overflow: visible; }
.plate-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.plate-center .pc-count { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--ink); }
.plate-center .pc-lbl { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }
.plate-center .pc-empty { font-family: var(--font-display); font-style: italic; color: var(--ink-faint); font-size: 19px; max-width: 60%; }

.plate-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; min-height: 10px; }
.plate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-left: 2px solid var(--gold); background: rgba(168,130,63,0.06); border-radius: 0 4px 4px 0; animation: rowIn .4s ease; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.plate-row .pr-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.plate-row .pr-name { flex: 1; font-size: 13.5px; }
.plate-row .pr-name .ru { display: block; font-size: 11.5px; color: var(--ink-faint); font-style: italic; }
.plate-row .pr-rm { background: none; border: none; color: var(--ink-faint); cursor: pointer; font-size: 18px; line-height: 1; transition: color .2s; }
.plate-row .pr-rm:hover { color: #c0563f; }
.atelier-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.atelier-note { font-size: 12px; color: var(--ink-faint); margin-top: 14px; }
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 30px); z-index: 80;
  background: var(--gold-grad); color: #2b2218; padding: 14px 26px; border-radius: 4px; font-weight: 600;
  font-size: 13.5px; letter-spacing: .04em; opacity: 0; pointer-events: none; transition: all .5s ease;
  box-shadow: 0 22px 50px -20px rgba(168,130,63,0.8);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   MENU — Flipbook
   ============================================================ */
.book-section { background: var(--bg); }

/* chapter rail */
.chap-rail { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.rail-chip {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .04em;
  padding: 9px 16px; border-radius: 40px; border: 1px solid var(--line-soft); background: var(--panel);
  color: var(--ink-soft); cursor: pointer; transition: all .3s; white-space: nowrap;
}
.rail-chip span { margin-right: 5px; }
.rail-chip:hover { border-color: var(--line); color: var(--ink); transform: translateY(-1px); }
.rail-chip.active { background: var(--gold-grad); color: #2b2218; border-color: transparent; font-weight: 600; box-shadow: 0 8px 22px -12px rgba(168,130,63,0.7); }

/* stage */
.book-fit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; }
.book-viewport { position: relative; flex: 1 1 auto; min-width: 0; }

/* side flip arrows */
.bc-arrow {
  flex: none; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); color: var(--gold-deep); cursor: pointer; display: grid; place-items: center;
  transition: all .3s; box-shadow: var(--card-shadow); align-self: center;
}
.bc-arrow svg { width: 26px; height: 26px; }
.bc-arrow:hover:not(:disabled) { background: var(--gold); color: #fffaf0; border-color: var(--gold); transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 30px -14px rgba(168,130,63,0.7); }
.bc-arrow:active:not(:disabled) { transform: scale(.96); }
.bc-arrow:disabled { opacity: .28; cursor: default; }
.book {
  position: absolute; left: 50%; top: 0; transform-origin: top center;
  transform-style: preserve-3d;
}
.book::after { /* drop shadow under the book */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -26px; height: 40px; z-index: -1;
  background: radial-gradient(60% 100% at 50% 0, rgba(90,68,28,0.34), rgba(90,68,28,0) 72%);
  filter: blur(4px);
}
.book-spine {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 26px; transform: translateX(-50%); z-index: 999;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(120,90,30,0) 0%, rgba(120,90,30,0.16) 42%, rgba(120,90,30,0.28) 50%, rgba(120,90,30,0.16) 58%, rgba(120,90,30,0) 100%);
}

/* leaf = one physical sheet (2 faces). In single mode only the front is read. */
.leaf {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
  transform-style: preserve-3d; transform-origin: left center;
  transition: transform .82s cubic-bezier(.62,.02,.2,1);
  will-change: transform;
}
.book.single .leaf { left: 0; width: 100%; }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.face-back { transform: rotateY(180deg); }
.book.single .face-back { background: linear-gradient(135deg, #efe6d2, #f6efdf); }

/* moving highlight during a turn */
.face-gloss {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .82s ease;
  background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,251,240,0.55) 50%, rgba(255,255,255,0) 60%);
}
.leaf.flipped .face-front .face-gloss,
.leaf:not(.flipped) .face-back .face-gloss { opacity: 0; }

/* paper */
.page-paper {
  position: absolute; inset: 0; background:
    radial-gradient(120% 90% at 50% 0, #fffdf6 0%, #f7efdd 100%);
  box-shadow: inset 0 0 60px rgba(168,130,63,0.06);
  overflow: hidden;
}
.page-paper.side-right { border-radius: 0 7px 7px 0; }
.page-paper.side-left  { border-radius: 7px 0 0 7px; }
.page-shade { position: absolute; top: 0; bottom: 0; width: 46px; pointer-events: none; z-index: 4; }
.side-right .page-shade { left: 0; background: linear-gradient(90deg, rgba(120,90,30,0.16), rgba(120,90,30,0)); }
.side-left  .page-shade { right: 0; background: linear-gradient(270deg, rgba(120,90,30,0.16), rgba(120,90,30,0)); }
.book.single .page-paper { border-radius: 7px; }

.page-no { position: absolute; bottom: 18px; font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--ink-faint); z-index: 5; }
.page-no.no-right { right: 26px; }
.page-no.no-left { left: 26px; }

/* generic page padding */
.pg { position: absolute; inset: 0; padding: 40px 38px 44px; display: flex; flex-direction: column; }

/* cover */
.pg-cover { align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(130% 100% at 50% 0, #fbf4e4, #f1e7d1); }
.cover-rule-top, .cover-rule-bot { position: absolute; left: 32px; right: 32px; height: 1px; background: var(--line); }
.cover-rule-top { top: 30px; box-shadow: 0 3px 0 -1px var(--line-soft); }
.cover-rule-bot { bottom: 30px; box-shadow: 0 -3px 0 -1px var(--line-soft); }
.cover-inner { display: flex; flex-direction: column; align-items: center; }
.cover-mark { font-size: 46px; letter-spacing: .14em; margin-top: 10px; }
.cover-mark b { color: var(--gold); }
.cover-sub { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }
.cover-orn { color: var(--gold); font-size: 26px; margin: 26px 0 18px; }
.cover-title { font-size: 58px; line-height: 1; }
.cover-ru { font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--gold); margin-top: 4px; }
.cover-hint { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-faint); margin-top: 34px; max-width: 60%; }

/* contents */
.pg-kicker, .pg-content .run-head, .chap-head { position: relative; }
.pg-kicker { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); }
.contents-title { font-size: 38px; margin: 6px 0 22px; }
.toc { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.toc-row { }
.toc-btn { width: 100%; display: flex; align-items: baseline; gap: 12px; background: none; border: none;
  cursor: pointer; padding: 9px 4px; text-align: left; border-radius: 6px; transition: background .25s; }
.toc-btn:hover { background: rgba(168,130,63,0.08); }
.toc-emoji { font-size: 20px; line-height: 1; }
.toc-name { display: flex; flex-direction: column; }
.toc-de { font-size: 17px; color: var(--ink); }
.toc-ru { font-family: var(--font-display); font-style: italic; font-size: 13.5px; color: var(--gold); }
.toc-dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); }
.toc-no { font-family: var(--font-display); font-size: 18px; color: var(--gold-deep); }
.contents-foot { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-top: 14px; }

/* chapter content */
.chap-top { margin-bottom: 14px; }
.chap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.chap-emoji { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 26px;
  background: rgba(255,253,247,0.9); border: 1px solid var(--line-soft); box-shadow: 0 8px 18px -10px rgba(90,68,28,0.5); }
.chap-titles { flex: 1; }
.chap-de { font-size: 30px; line-height: 1.05; }
.chap-ru { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--gold); }
.chap-count { text-align: right; font-family: var(--font-display); font-size: 30px; color: var(--gold-deep); line-height: 1; }
.chap-count span { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.chap-hero { display: block; width: 100%; height: 116px; }

.run-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft); }
.run-emoji { font-size: 16px; }
.run-de { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.run-ru { font-size: 11.5px; font-style: italic; color: var(--ink-faint); }

.dish-list { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dish-row { display: flex; align-items: center; gap: 13px; padding: 8px 2px; border-bottom: 1px dotted var(--line-soft); }
.dish-row:last-child { border-bottom: none; }
.dish-emoji { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 17px;
  background: rgba(168,130,63,0.08); border: 1px solid var(--line-soft); }
.dish-txt { flex: 1; min-width: 0; }
.dish-de { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.dish-ru { display: block; font-family: var(--font-display); font-style: italic; font-size: 13.5px; color: var(--gold); line-height: 1.2; }
.dish-plus { flex: none; font-size: 10px; letter-spacing: .08em; color: var(--gold-deep); border: 1px solid var(--line); border-radius: 20px; padding: 2px 8px; }

/* back cover */
.pg-back { align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(130% 100% at 50% 0, #fbf4e4, #f1e7d1); }
.back-appetit { font-size: 30px; line-height: 1.2; max-width: 80%; }
.back-appetit-ru { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold); margin-top: 8px; }
.back-brand { font-size: 22px; letter-spacing: .14em; margin-top: 34px; }
.back-brand b { color: var(--gold); }
.back-brand span { font-family: var(--font-body); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-top: 4px; }
.back-meta { font-size: 12px; color: var(--ink-faint); margin-top: 16px; }

.pg-blank { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0, #fbf4e4, #f3ebd8); }

/* controls (label only — arrows now flank the book) */
.book-controls { display: flex; align-items: center; justify-content: center; margin-top: 26px; }
.bc-label { width: min(360px, 70vw); text-align: center; }
.bc-name { display: block; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.bc-track { display: block; height: 2px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.bc-fill { display: block; height: 100%; background: var(--gold-grad); transition: width .5s ease; }

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact-card { border: 1px solid var(--line-soft); border-radius: 5px; padding: clamp(30px, 4vw, 52px); background: var(--panel); box-shadow: var(--card-shadow); }
.contact-row { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.contact-row:last-child { border-bottom: none; }
.contact-row .cr-lbl { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.contact-row .cr-val { font-size: 18px; color: var(--ink); display: block; }
.contact-row a.cr-val { transition: color .3s; }
.contact-row a.cr-val:hover { color: var(--gold-deep); }
.contact-row .cr-val + .cr-val { margin-top: 6px; }
.appetit { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 56px); font-weight: 400; line-height: 1.15; }
.appetit .ru { display: block; font-size: .62em; margin-top: 10px; }

.footer { background: var(--bg); padding: 54px 24px 40px; position: relative; z-index: 1; border-top: 1px solid var(--line-soft); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.footer .f-brand { font-family: var(--font-display); font-size: 22px; letter-spacing: .14em; white-space: nowrap; flex: none; }
.footer .f-brand b { color: var(--gold); }
.footer .f-meta { font-size: 12px; color: var(--ink-faint); letter-spacing: .04em; text-align: right; }
.footer .f-meta span { color: var(--gold-deep); }

/* ============================================================
   ABLAUF — process steps + inquiry CTA
   ============================================================ */
.ablauf { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; }
.step-num { font-size: 56px; font-weight: 500; color: var(--gold); line-height: 1; }
.step-rule { display: block; width: 38px; height: 2px; background: var(--gold-grad); margin: 16px 0 18px; }
.step h3 { font-size: 25px; font-weight: 500; margin-bottom: 2px; }
.step-ru { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 17px; margin-bottom: 12px; }
.step-txt { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

.ablauf-cta { margin-top: clamp(48px, 7vw, 88px); text-align: center; border-top: 1px solid var(--line-soft); padding-top: clamp(40px, 6vw, 64px); }
.ablauf-cta-head { font-size: clamp(28px, 4.2vw, 48px); font-weight: 400; line-height: 1.15; }
.ablauf-cta-head .ru { display: block; font-size: .56em; margin-top: 8px; }
.ablauf-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 30px 0 18px; }
.ablauf-cta-note { font-size: 13px; color: var(--ink-faint); letter-spacing: .04em; }

@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   TWEAKS host frame
   ============================================================ */
#tweaks-root { position: fixed; z-index: 90; }

/* RU emphasis tweak — bring the Russian layer forward */
body.ru-emphasis .ru,
body.ru-emphasis .hero-ru,
body.ru-emphasis .dish-ru,
body.ru-emphasis .toc-ru,
body.ru-emphasis .chap-ru,
body.ru-emphasis .h-ru { opacity: 1; color: var(--gold-deep); }
body.ru-emphasis .desc .desc-ru,
body.ru-emphasis .run-ru,
body.ru-emphasis .ru-inline { color: var(--gold-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .platter-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,253,247,0.98); backdrop-filter: blur(14px); padding: 24px clamp(20px,4vw,44px) 30px;
    gap: 18px; border-bottom: 1px solid var(--line-soft); align-items: flex-start;
    box-shadow: 0 16px 30px -22px rgba(90,68,28,0.5);
  }
  .philo .wrap, .contact-layout { grid-template-columns: 1fr; }
  .platter-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 18px; }
  .philo-stats { gap: 26px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { justify-content: center; }
  .book-fit { position: relative; gap: 0; }
  .bc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 30;
    width: 48px; height: 48px; background: rgba(255,253,247,0.9); backdrop-filter: blur(4px); }
  .bc-arrow svg { width: 22px; height: 22px; }
  .bc-arrow-prev { left: 2px; }
  .bc-arrow-next { right: 2px; }
  .bc-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.05); }
  .chap-rail { gap: 7px; }
  .rail-chip { font-size: 11px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .steam path, .scroll-hint .bar { animation: none !important; }
  .reveal { transition-duration: .4s; }
  .leaf { transition-duration: .35s; }
  html { scroll-behavior: auto; }
}
