/* ============================================================
   Moštěnický sirup — OPUS 4.8 · PREMIUM redesign
   Aesthetic: editorial luxury. Warm ivory + charcoal, antique
   brass gold, deep bordeaux. Real product photography. Elegant
   high-contrast serif (Cormorant Garamond) over clean Mulish.
   Restrained, generous whitespace, hairline gold rules.
   ============================================================ */

:root {
  /* refined palette */
  --ink:       #15171d;   /* near-black charcoal — dark sections */
  --ink-2:     #1c2029;
  --ink-3:     #2a2f3a;
  --paper:     #f7f2e8;   /* warm ivory */
  --paper-2:   #f1e9d9;
  --paper-3:   #e9dec8;
  --gold:      #bd9a44;   /* antique brass */
  --gold-2:    #d8bd79;
  --gold-deep: #8f7228;
  --wine:      #7c2d24;   /* deep bordeaux accent */
  --text:      #2b2820;   /* warm near-black on light */
  --muted:     #6c6552;
  --ivory:     #f3ecdd;   /* text on dark */
  --ivory-70:  rgba(243,236,221,.72);
  --line:      rgba(122,101,52,.24);   /* hairline on light */
  --line-d:    rgba(216,189,121,.28);  /* hairline on dark */

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'Mulish', system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --pad:  clamp(76px, 9vw, 132px);
  --r:    4px;          /* sharp, premium — minimal rounding */
  --r-lg: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* faint warm paper texture for light sections */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(189,154,68,.07), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(124,45,36,.05), transparent 70%);
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: .002em; }
.display { font-family: var(--font-display); }
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .3em;
  font-size: 11.5px; font-weight: 700; color: var(--gold-deep); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.section-title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.005em; }
.section-title em { font-style: italic; color: var(--gold-deep); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 60ch; line-height: 1.7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .16em;
  padding: 16px 30px; border-radius: var(--r); cursor: pointer;
  border: 1px solid transparent; transition: all .3s cubic-bezier(.2,.7,.3,1);
}
.btn-gold { background: var(--gold); color: #1b1a14; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(189,154,68,.32); }
.btn-outline { background: transparent; color: var(--ivory); border-color: rgba(243,236,221,.5); }
.btn-outline:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-ink { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247,242,232,.82);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(20,16,8,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 42px; width: auto; transition: .3s; }
/* logo is navy script: keep light over the dark hero, navy once header turns ivory */
.brand img { filter: brightness(0) saturate(100%) invert(96%) sepia(20%) saturate(380%) hue-rotate(347deg) brightness(103%) contrast(92%); }
.site-header.scrolled .brand img { filter: none; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .13em; color: var(--ivory);
  padding: 10px 16px; position: relative; transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.site-header.scrolled .nav a { color: var(--text); }
.site-header.scrolled .nav a:hover { color: var(--gold-deep); }
.nav .lang { margin-left: 12px; padding-left: 16px; border-left: 1px solid rgba(243,236,221,.3); display: flex; gap: 2px; }
.site-header.scrolled .nav .lang { border-left-color: var(--line); }
.nav .lang a { padding: 6px 8px; font-size: 11.5px; opacity: .8; }
.nav .lang a.active { color: var(--gold-2); opacity: 1; }
.site-header.scrolled .nav .lang a.active { color: var(--gold-deep); }
.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 70% at 78% 30%, rgba(189,154,68,.18), transparent 60%),
    radial-gradient(60% 80% at 50% 120%, rgba(124,45,36,.22), transparent 60%),
    linear-gradient(160deg, #1a1d25 0%, #131519 55%, #0f1013 100%);
}
.hero-bg::after { /* vignette + grain */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0,0,0,.45) 100%),
    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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-track { position: relative; z-index: 2; width: 100%; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease; }
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.slide-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(20px, 4vw, 56px);
  align-items: center; width: 100%; padding-top: 96px; padding-bottom: 70px;
}
.slide-copy { color: var(--ivory); max-width: 600px; }
.slide-copy .eyebrow { color: var(--gold-2); }
.slide-copy .eyebrow::before { background: var(--gold-2); }
.slide-title {
  color: #fff; font-weight: 600; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -.01em;
  margin: 0 0 8px;
}
.slide-title em { font-style: italic; color: var(--gold-2); }
.slide-sub { font-size: clamp(16px, 1.5vw, 20px); color: var(--ivory-70); margin: 22px 0 34px; max-width: 46ch; line-height: 1.75; }
.slide-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.slide-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.slide-art::before { /* soft pedestal glow */
  content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,189,121,.22), transparent 70%); filter: blur(20px);
}
.slide-art img { position: relative; max-height: 70vh; width: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.slide-art .bottles-wide { max-height: 64vh; }
.slide.is-active .slide-art img { animation: rise 1.3s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* 1:14 seal */
.seal {
  position: absolute; z-index: 6; right: clamp(20px, 5vw, 70px); bottom: clamp(96px, 12vh, 128px);
  width: clamp(108px, 12vw, 142px); height: clamp(108px, 12vw, 142px); border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: var(--gold-2);
  border: 1px solid var(--gold); background: rgba(21,23,29,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 6px rgba(189,154,68,.10), inset 0 0 26px rgba(189,154,68,.10);
}
.seal b { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1; color: #fff; }
.seal span { font-family: var(--font-body); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; margin-top: 6px; color: var(--gold-2); }
@media (max-width: 900px){ .seal { display: none; } }

/* slider controls */
.hero-dots { position: absolute; z-index: 6; left: clamp(20px,4vw,40px); bottom: 40px; display: flex; gap: 14px; align-items: center; }
.hero-dots button { width: 30px; height: 2px; padding: 0; border: 0; background: rgba(243,236,221,.32); cursor: pointer; transition: .3s; }
.hero-dots button.active { background: var(--gold-2); width: 52px; }
.hero-arrow {
  position: absolute; z-index: 6; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid rgba(243,236,221,.28); color: var(--ivory); transition: .3s;
}
.hero-arrow:hover { border-color: var(--gold-2); color: var(--gold-2); }
.hero-arrow.prev { left: clamp(10px,2vw,24px); }
.hero-arrow.next { right: clamp(10px,2vw,24px); }
.hero-arrow svg { width: 20px; height: 20px; }
@media (max-width: 1080px){ .hero-arrow { display: none; } }

/* ============================================================
   HALLMARKS STRIP
   ============================================================ */
.hallmarks { background: var(--ink); color: var(--ivory); border-top: 1px solid var(--line-d); }
.hallmarks .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hallmark { padding: 46px 30px; text-align: center; border-right: 1px solid var(--line-d); }
.hallmark:last-child { border-right: 0; }
.hallmark .num { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; color: var(--gold-2); line-height: 1; }
.hallmark .lbl { margin-top: 12px; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: #fff; }
.hallmark .sub { color: var(--ivory-70); font-size: 12.5px; margin-top: 4px; }
@media (max-width: 820px){ .hallmarks .wrap { grid-template-columns: 1fr 1fr; } .hallmark:nth-child(2n){border-right:0;} .hallmark:nth-child(-n+2){border-bottom:1px solid var(--line-d);} }
@media (max-width: 460px){ .hallmarks .wrap { grid-template-columns: 1fr; } .hallmark{border-right:0;border-bottom:1px solid var(--line-d);} .hallmark:last-child{border-bottom:0;} }

/* ============================================================
   SECTIONS
   ============================================================ */
section.block { padding: var(--pad) 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* O ZNAČCE */
.brand-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 6vw, 86px); align-items: center; }
.brand-media { position: relative; }
.brand-media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold); border-radius: var(--r); z-index: 0; }
.brand-media img { position: relative; z-index: 1; width: 100%; border-radius: var(--r); box-shadow: 0 30px 60px rgba(20,16,8,.22); }
.brand-media .tag {
  position: absolute; z-index: 2; left: 22px; bottom: -18px; padding: 13px 24px; border-radius: var(--r);
  background: var(--ink); color: var(--gold-2); font-family: var(--font-display); font-weight: 600; font-size: 19px;
  box-shadow: 0 16px 34px rgba(20,16,8,.3); border: 1px solid var(--line-d);
}
.tabs { display: flex; gap: 28px; margin: 26px 0 24px; border-bottom: 1px solid var(--line); }
.tab {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em;
  cursor: pointer; padding: 0 2px 16px; border: 0; background: transparent; color: var(--muted);
  position: relative; transition: color .25s;
}
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.tab:hover { color: var(--ink); }
.tab-panel { display: none; animation: fade .5s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: clamp(23px, 2.4vw, 30px); font-weight: 600; margin-bottom: 14px; }
.tab-panel p { color: var(--text); margin: 0 0 16px; }
.cert-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.cert {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 700; font-size: 12px; letter-spacing: .03em; color: var(--ink);
  text-transform: uppercase;
}
.cert .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.cert.bio .dot { background: #5a7a3a; }

/* SORTIMENT */
#sortiment { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sort-switch { display: flex; justify-content: center; gap: 32px; margin-bottom: 44px; border-bottom: 1px solid var(--line); width: max-content; margin-left: auto; margin-right: auto; }
.sort-switch button {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em;
  cursor: pointer; padding: 0 4px 16px; border: 0; background: transparent; color: var(--muted); position: relative; transition: .25s;
}
.sort-switch button.active { color: var(--ink); }
.sort-switch button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }

.range-intro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 48px; }
.range-fact { background: var(--paper); padding: 26px 24px; }
.range-fact b { display: block; color: var(--gold-deep); font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.range-fact p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width:820px){ .range-intro{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .range-intro{ grid-template-columns:1fr; } }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width:1000px){ .product-grid{ grid-template-columns: repeat(4,1fr);} }
@media (max-width:720px){ .product-grid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width:460px){ .product-grid{ grid-template-columns: repeat(2,1fr);} }

.product {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 16px 20px; text-align: center; transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(20,16,8,.14); border-color: var(--gold); }
.product .imgwrap { height: 168px; display: grid; place-items: center; margin-bottom: 14px; }
.product .imgwrap img { max-height: 168px; width: auto; filter: drop-shadow(0 14px 18px rgba(20,16,8,.22)); transition: .35s; }
.product:hover .imgwrap img { transform: scale(1.05); }
.product .name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 19px; }
.product .new {
  position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--gold); color: #1b1a14; font-family: var(--font-body); font-size: 9.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}
.product.bio .name::after { content: " BIO"; color: #5a7a3a; font-size: 11px; vertical-align: super; }

.sort-view { display: none; }
.sort-view.active { display: block; animation: fade .5s ease; }
.gastro-block + .gastro-block { margin-top: 56px; }
.gastro-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.gastro-head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.gastro-head .pill { background: var(--ink); color: var(--gold-2); font-family: var(--font-body); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; padding: 5px 13px; border-radius: 999px; }
.gastro-block p.note { color: var(--muted); max-width: 64ch; margin: 0 0 26px; }

/* ============================================================
   MAP — Kde koupíte
   ============================================================ */
.map-section { background: var(--ink); color: var(--ivory); }
.map-section .eyebrow { color: var(--gold-2); }
.map-section .eyebrow::before { background: var(--gold-2); }
.map-section h2 { color: #fff; }
.map-section .section-title em { color: var(--gold-2); }
.map-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 64px); align-items: start; margin-top: 12px; }
.map-stage { position: relative; }
.map-stage img { width: 100%; height: auto; filter: drop-shadow(0 24px 44px rgba(0,0,0,.5)); }
.map-hit { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-hit polygon { fill: transparent; stroke: transparent; cursor: pointer; transition: fill .15s ease; outline: none; }
.map-hit polygon:hover { fill: rgba(216,189,121,.22); }
.map-hit polygon.active { fill: rgba(216,189,121,.14); }
.map-hint { text-align: center; color: var(--ivory-70); font-size: 12.5px; margin-top: 14px; }
.seller-panel { border: 1px solid var(--line-d); border-radius: var(--r); padding: 30px; background: rgba(255,255,255,.03); }
.seller-panel h3 { color: #fff; font-family: var(--font-display); font-size: 26px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.seller-panel h3 .gd { width: 10px; height: 10px; background: var(--gold-2); border-radius: 50%; }
.seller-count { color: var(--gold-2); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; margin: 8px 0 22px; }
.seller-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-height: 360px; overflow: auto; }
.seller-list li { padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 14.5px; color: var(--ivory); display: flex; gap: 12px; align-items: flex-start; }
.seller-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); margin-top: 9px; }
.seller-empty { background: rgba(216,189,121,.1); border: 1px solid var(--line-d); border-radius: var(--r); padding: 20px; }
.seller-empty p { margin: 0 0 6px; color: var(--ivory); font-size: 14px; }
.seller-empty .rep { font-weight: 800; color: var(--gold-2); }
.seller-empty a { color: #fff; text-decoration: underline; }
@media (max-width: 900px){ .map-layout{ grid-template-columns: 1fr; } .map-stage{ max-width: 560px; margin: 0 auto; } }

/* ============================================================
   KONTAKTY
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 22px; }
.contact-col { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r); padding: 30px; }
.contact-col h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 16px; color: var(--ink); }
.contact-item { margin-bottom: 18px; }
.contact-item .role { font-weight: 800; font-size: 11px; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .who { font-weight: 700; color: var(--ink); }
.contact-item a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.contact-item .line { color: var(--muted); font-size: 14.5px; }
.addr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.addr { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 22px 26px; }
.addr .t { font-weight: 800; color: var(--gold-deep); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.addr p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.6; }
@media (max-width:860px){ .contact-grid{ grid-template-columns: 1fr; } }
@media (max-width:520px){ .addr-cards{ grid-template-columns:1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--ivory-70); padding: 64px 0 40px; border-top: 1px solid var(--line-d); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.footer-brand img { height: 44px; filter: brightness(0) saturate(100%) invert(96%) sepia(20%) saturate(380%) hue-rotate(347deg) brightness(103%) contrast(92%); }
.footer-brand .motto { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-2); margin-top: 14px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ivory-70); transition: .2s; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-meta { border-top: 1px solid var(--line-d); margin-top: 40px; padding-top: 24px; font-size: 12px; color: var(--ivory-70); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 920px){
  .menu-toggle{ display:inline-flex; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:10px; }
  .menu-toggle span{ width:24px; height:2px; background:var(--ivory); border-radius:2px; transition:.3s; }
  .site-header.scrolled .menu-toggle span{ background:var(--ink); }
  .nav{
    position:absolute; top:84px; left:0; right:0; flex-direction:column; align-items:stretch;
    padding:18px 24px 26px; gap:2px; background:rgba(21,23,29,.97);
    backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line-d); transform:translateY(-115%); opacity:0; transition:transform .4s ease, opacity .3s; pointer-events:none;
  }
  .nav.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav a{ color:var(--ivory); padding:14px 14px; }
  .site-header.scrolled .nav a{ color:var(--ivory); }
  .nav a::after{ display:none; }
  .nav .lang{ border-left:0; padding-left:14px; margin-left:0; margin-top:8px; }
}

/* slide grid stack on small screens */
@media (max-width: 860px){
  .slide-grid { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 110px; gap: 18px; text-align: center; }
  .slide-copy { margin: 0 auto; }
  .slide-copy .eyebrow { justify-content: center; }
  .slide-cta { justify-content: center; }
  .slide-art { min-height: 280px; order: 2; }
  .slide-art img { max-height: 42vh; }
  .hero-dots { left: 50%; transform: translateX(-50%); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .slide, .slide-art img, .reveal { transition: opacity .3s ease !important; transform: none !important; animation: none !important; }
}
