/* ================================================================
 * POLISH LAYER — visual harmony overlay
 * Loads AFTER style.css + editorial.css
 * Goal: Claude-like premium feel — consistent spacing, soft shadows,
 * unified border-radius, refined photo treatment, smoother transitions.
 * Touches nothing structural — pure visual polish.
 * ================================================================ */

:root {
  /* ============ SPACING SCALE — 8px base ============ */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  /* ============ BORDER RADIUS ============ */
  --r-sm: 6px;
  --r:    10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ============ SHADOWS — soft multi-layer (Claude style) ============ */
  --sh-xs: 0 1px 2px rgba(26,19,11,0.04);
  --sh-sm: 0 1px 3px rgba(26,19,11,0.05), 0 1px 2px rgba(26,19,11,0.03);
  --sh:    0 2px 4px rgba(26,19,11,0.04), 0 8px 20px -4px rgba(26,19,11,0.08);
  --sh-md: 0 4px 8px rgba(26,19,11,0.05), 0 20px 40px -10px rgba(26,19,11,0.12);
  --sh-lg: 0 8px 16px rgba(26,19,11,0.06), 0 40px 80px -20px rgba(26,19,11,0.18);
  --sh-xl: 0 16px 32px rgba(26,19,11,0.08), 0 60px 120px -30px rgba(26,19,11,0.24);

  /* ============ EASING — Claude signature ============ */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  /* ============ REFINED PALETTE ============ */
  --bg-base: #EFE5CC;       /* slightly lighter cream — less muddy */
  --bg-soft: #E5D8B8;
  --bg-card: #F7EFD8;       /* card surface, slightly brighter than bg */
  --bg-deep: #232017;       /* dark sections — warmer, less brown */
  --bg-deep-soft: #2E2920;
  --border-soft: rgba(26,19,11,0.08);
  --border:      rgba(26,19,11,0.14);
}

/* ============ CONSISTENT BORDER RADIUS — kill ad-hoc values ============ */
.faq-item,
.lead-card,
.buy-card,
.feature-card,
.about-photo,
.about-photo img,
.free-thumb,
.channel-card,
.preview-grid img,
.inside-item {
  border-radius: var(--r-md) !important;
}
.cta, .btn, .buy-btn, .lead-form button, .free-btn, .lang-btn {
  border-radius: var(--r-pill) !important;
}
.lang-menu {
  border-radius: var(--r-lg) !important;
}

/* ============ CONSISTENT SHADOWS ============ */
.lead-card { box-shadow: var(--sh-lg) !important; }
.faq-item { box-shadow: var(--sh-xs); }
.faq-item:hover { box-shadow: var(--sh-md) !important; }
.faq-item[open] { box-shadow: var(--sh-md) !important; }
.buy-card { box-shadow: var(--sh-md) !important; }
.buy-card-highlight { box-shadow: var(--sh-xl) !important; }
.free-thumb:hover { box-shadow: var(--sh-md) !important; }
.lang-menu { box-shadow: var(--sh-lg) !important; }
.cta:hover, .buy-btn:hover, .lead-form button:hover { box-shadow: var(--sh) !important; }

/* ============ TRANSITION REFINEMENT — Claude curve everywhere ============ */
* {
  transition-timing-function: var(--ease);
}
.cta, .buy-btn, .lead-form button, .free-thumb, .feature-card,
.faq-item, .channel-card, .lang-btn, .lang-menu li,
.buy-card, .lead-card, .about-photo img {
  transition-duration: 0.4s;
  transition-timing-function: var(--ease);
}

/* ============ PHOTO TREATMENT — unified ============ */
.free-thumb img,
.about-photo img,
.channel-logo img,
.preview-grid img,
.bleed-photo {
  filter: brightness(0.98) saturate(1.02) contrast(1.04);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.free-thumb:hover img,
.about-photo:hover img {
  filter: brightness(1.02) saturate(1.08) contrast(1.05);
}

/* ============ SECTION PADDING — consistent rhythm ============ */
section {
  padding: var(--space-9) 0 !important;  /* 96px */
}
@media (max-width: 800px) {
  section { padding: var(--space-7) 0 !important; }  /* 48px */
}
section h2 {
  margin-bottom: var(--space-5) !important;  /* 24px */
}
.section-lead {
  margin-bottom: var(--space-8) !important;  /* 64px */
}
@media (max-width: 800px) {
  .section-lead { margin-bottom: var(--space-6) !important; }
}

/* ============ HERO REFINEMENT — more breathing ============ */
.hero {
  padding: var(--space-7) 0 var(--space-9) !important;
}
@media (max-width: 800px) {
  .hero { padding: var(--space-5) 0 var(--space-7) !important; }
}
.hero-grid {
  gap: var(--space-9) !important;
  padding-top: var(--space-5) !important;
}
@media (max-width: 900px) {
  .hero-grid { gap: var(--space-6) !important; padding-top: 0 !important; }
}

/* ============ DARK SECTIONS — warmer, less harsh ============ */
.channels, .buy {
  background: var(--bg-deep) !important;
}
.channels h2, .buy h2 {
  color: rgba(247,239,216,0.96) !important;
}

/* ============ CARDS — refined ============ */
.feature-card {
  padding: var(--space-7) var(--space-6) !important;
  transition: all 0.4s var(--ease);
}
.feature-card:hover {
  background: rgba(247,239,216,0.5) !important;
  transform: translateY(-3px);
}

.faq-item {
  background: rgba(247,239,216,0.45);
  border-color: var(--border-soft) !important;
}
.faq-item:hover {
  background: rgba(247,239,216,0.85) !important;
  border-color: rgba(184,138,62,0.35) !important;
}
.faq-item[open] {
  background: #F9F2DE !important;
  border-color: rgba(184,138,62,0.5) !important;
}

.buy-card {
  background: rgba(247,239,216,0.05);
  border-color: rgba(247,239,216,0.12);
}
.buy-card-highlight {
  background: rgba(184,138,62,0.10) !important;
  border-color: rgba(184,138,62,0.45) !important;
}

.lead-card {
  background: var(--bg-card) !important;
  border-color: var(--border-soft) !important;
}

.channel-card {
  transition: all 0.4s var(--ease);
}
.channel-card:hover {
  background: rgba(247,239,216,0.05) !important;
  transform: translateY(-4px);
}

.free-thumb {
  border-color: var(--border) !important;
  background: var(--bg-card) !important;
}
.free-thumb:hover {
  transform: translateY(-6px) !important;
  border-color: var(--gold) !important;
}

/* ============ BUTTONS — Claude-like pill perfection ============ */
.cta {
  padding: 16px 26px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  box-shadow: var(--sh-sm);
  transition: all 0.3s var(--ease);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.cta-primary {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: none !important;
}
.cta-primary:hover {
  background: var(--gold-deep) !important;
}

.buy-btn {
  padding: 16px 24px !important;
  font-size: 13.5px !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s var(--ease);
}

/* ============ HERO BOOK — softer animation ============ */
.hero-image img {
  filter:
    drop-shadow(28px 48px 64px rgba(26,19,11,0.38))
    drop-shadow(0 8px 16px rgba(26,19,11,0.22))
    contrast(1.05) saturate(1.04) !important;
}

/* ============ BADGES + KICKERS — refined ============ */
.kicker, .section-eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.24em !important;
  font-weight: 600 !important;
  color: var(--ink-mute) !important;
}
.kicker::before, .section-eyebrow::before {
  background: var(--gold) !important;
}

/* ============ BACKGROUND PATTERNS — vyshyvanka on EDGES only ============
 * User feedback: tiled vyshyvanka across whole body was visually noisy under
 * text. Move it to left/right vertical strips like decorative book margins.
 */

/* Kill the global tiled vyshyvanka pattern on body */
body {
  background-image: none !important;
}

/* Disable the linen noise overlay (was creating visual noise across all sections) */
body::before {
  display: none !important;
}

/* Disable old body::after global decorative — replaced by per-section strips */
body::after {
  display: none !important;
}

/* ============ VYSHYVANKA SIDE STRIPS — clean SVG cross-stitch ============
 * Crisp geometric Hutsul rushnyk motif: 8-pointed star inside diamond,
 * tiles perfectly vertically. Pure red on cream for light sections,
 * gold on dark for dark sections. No JPG artifacts, sharp at any DPI.
 */
section {
  position: relative;
}
section::before,
section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  background-size: 70px 95px;
  background-repeat: repeat-y;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
section::before { left: 0; }
section::after  { right: 0; }
section > .container { position: relative; z-index: 1; }

/* Hide strips on mobile/tablet — viewport too narrow for decorative edges */
@media (max-width: 1100px) {
  section::before, section::after { display: none; }
}

/* ============ Light cream sections — TRADITIONAL RED ============ */
.about::before, .about::after,
.faq::before, .faq::after,
.atmosphere::before, .atmosphere::after,
.lead-capture::before, .lead-capture::after,
.seasons::before, .seasons::after,
.whats-inside::before, .whats-inside::after,
.free-teaser::before, .free-teaser::after,
.features::before, .features::after,
.previews::before, .previews::after {
  background-image: url('assets/vysh/vyshyvanka-red.svg');
}

/* ============ Dark sections — GOLD on dark ============ */
.channels::before, .channels::after,
.buy::before, .buy::after,
.real-life::before, .real-life::after {
  background-image: url('assets/vysh/vyshyvanka-gold.svg');
  opacity: 0.75;
}

/* ============ Hero — softer, more transparent ============ */
.hero::before, .hero::after {
  background-image: url('assets/vysh/vyshyvanka-burgundy.svg');
  opacity: 0.55;
}

/* ============ Soft mask edges (fade pattern into bg at outer edges) ============ */
section::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 18%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 18%, black 100%);
}
section::after {
  -webkit-mask-image: linear-gradient(270deg, transparent 0, black 18%, black 100%);
  mask-image: linear-gradient(270deg, transparent 0, black 18%, black 100%);
}

/* Sections — clean cream bg, no pattern bleed, no busy photo overlays */
.features, .about, .free-teaser, .whats-inside, .faq, .lead-capture,
section.section-soft, .previews {
  background-image: none !important;
}
/* Section background gradients (color flow between sections — SVG vyshyvanka layers on top) */
.features    { background-color: var(--bg-base) !important; }
.about       { background-color: var(--bg-soft) !important; }
.free-teaser { background-color: #ECDFC1 !important; }
.whats-inside{ background-color: var(--bg-base) !important; }
.faq         { background-color: var(--bg-base) !important; }
.lead-capture{ background-color: var(--bg-soft) !important; }
.channels    { background-color: var(--bg-deep) !important; }
.buy         { background-color: var(--bg-deep) !important; }

/* ============ SCROLL BAR — refined (webkit) ============ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: rgba(26,19,11,0.18);
  border-radius: 999px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover { background: rgba(26,19,11,0.32); }

/* ============ FOCUS RING — accessibility + style ============ */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ MOBILE REFINEMENTS ============ */
@media (max-width: 600px) {
  .feature-card { padding: var(--space-6) var(--space-5) !important; }
  .buy-card { padding: var(--space-6) var(--space-5) !important; }
  .lead-card { padding: var(--space-7) var(--space-5) !important; }
  .faq-item summary { padding: var(--space-5) var(--space-7) var(--space-5) var(--space-5) !important; }
  .faq-item p { padding: 0 var(--space-5) var(--space-5) var(--space-5) !important; }
}

/* ============ SUBTLE ENTRY ANIMATION — only above-fold ============ */
.hero-text > *,
.hero-image {
  animation: fadeUp 0.7s var(--ease) backwards;
}
.hero-text > *:nth-child(1) { animation-delay: 0s; }
.hero-text > *:nth-child(2) { animation-delay: 0.08s; }
.hero-text > *:nth-child(3) { animation-delay: 0.16s; }
.hero-text > *:nth-child(4) { animation-delay: 0.24s; }
.hero-text > *:nth-child(5) { animation-delay: 0.32s; }
.hero-image { animation-delay: 0.2s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text > *, .hero-image { animation: none; }
}

/* ============ REAL LIFE — dog + YT proof section ============ */
.real-life {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep-soft) 100%) !important;
  color: var(--paper) !important;
  padding: var(--space-9) 0 !important;
}
.real-life::before,
.real-life::after {
  display: none !important;
}
.real-life > .container { max-width: 1240px; }
.real-life-hero {
  position: relative;
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  margin-bottom: var(--space-9);
  box-shadow: var(--sh-xl);
  aspect-ratio: 16/9;
  width: 100%;
}
.real-life-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.96) saturate(1.05) contrast(1.06);
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.real-life-hero:hover img {
  transform: scale(1.03);
  filter: brightness(0.92) saturate(1.10) contrast(1.06);
}
.real-life-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-9) var(--space-9);
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.55) 75%,
    rgba(0,0,0,0.85) 100%);
}
.real-life-overlay-top {
  justify-content: flex-start;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.55) 30%,
    rgba(0,0,0,0) 65%,
    rgba(0,0,0,0) 100%);
}
.real-life-overlay .kicker {
  color: var(--gold) !important;
  margin-bottom: var(--space-3);
}
.real-life-overlay h2 {
  color: var(--paper) !important;
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--space-4) !important;
  text-align: left !important;
  max-width: 740px;
}
.real-life-overlay .lead {
  color: rgba(247,239,216,0.88) !important;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  line-height: 1.5;
  max-width: 660px;
  margin: 0 !important;
  font-weight: 350;
  text-align: left !important;
}
@media (max-width: 800px) {
  .real-life-overlay {
    padding: var(--space-5) var(--space-5);
    background: linear-gradient(180deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 30%,
      rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.9) 100%);
  }
  .real-life-overlay h2 { font-size: clamp(28px, 6.5vw, 40px) !important; }
  .real-life-overlay .lead { font-size: 15px; }
}

/* YT proof grid */
.yt-proof-grid h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--paper) !important;
  text-align: center;
  margin: 0 auto var(--space-7);
  max-width: 720px;
  line-height: 1.3;
}
/* Dark sections — all h2/h3/h4 white by default */
.real-life h2, .real-life h3, .real-life h4,
.channels h2, .channels h3, .channels h4,
.buy h2, .buy h3, .buy h4 {
  color: var(--paper) !important;
}
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
  justify-items: stretch;
  grid-auto-flow: row;
}
/* Defend the grid against browser extensions (video downloaders) that inject
   their own buttons as direct children — those would become extra grid cells
   and break the clean 3×2 into a staggered checkerboard. Only real thumbs count. */
.yt-grid > *:not(.yt-thumb) {
  display: none !important;
}
@media (max-width: 980px) {
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .yt-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.yt-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: var(--r) !important;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
  aspect-ratio: 16/9;
  background: rgba(247,239,216,0.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.96) saturate(1.02);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.yt-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.yt-thumb:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.1);
}
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--clay);
  text-indent: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  opacity: 0.92;
  transition: all 0.4s var(--ease);
}
.yt-thumb:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
  color: var(--ink);
  opacity: 1;
}

/* ============ FREE TEASER GRID — 9 recipes as a clean, even 3×3 ============ */
/* 9 items divide perfectly into 3 columns → no ragged trailing row. */
.free-teaser-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
}
.free-teaser-grid .free-thumb { flex: none; width: auto; max-width: none; }
@media (max-width: 600px) {
  .free-teaser-grid { grid-template-columns: 1fr !important; }
  .free-thumb img { height: 210px !important; }
}

/* ============ 4 SEASONS GRID ============ */
.seasons {
  background: linear-gradient(180deg, var(--bg-base) 0%, #EAD8B0 100%) !important;
  padding: var(--space-9) 0 !important;
}
.seasons h2 em { color: var(--gold-deep); font-style: italic; font-weight: 400; }
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (max-width: 900px) {
  .seasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .seasons-grid { grid-template-columns: 1fr; }
}
.season-card {
  position: relative;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--sh-md);
  cursor: default;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.season-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}
.season-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: brightness(0.92) saturate(1.05) contrast(1.05);
}
.season-card:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.10);
}
.season-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 75%, rgba(0,0,0,0.85) 100%);
  color: var(--paper);
}
.season-icon { font-size: 22px; margin-bottom: 6px; display: block; }
.season-name {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  display: block;
}
.season-desc {
  font-size: 13px;
  color: rgba(247,239,216,0.85);
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  display: block;
}

/* ============ ATMOSPHERE GRID — masonry-style ============ */
.atmosphere {
  background: linear-gradient(180deg, #EAD8B0 0%, var(--bg-base) 100%) !important;
  padding: var(--space-9) 0 !important;
}
.atm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (max-width: 900px) {
  .atm-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}
@media (max-width: 500px) {
  .atm-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
}
.atm-tile {
  position: relative;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  cursor: default;
}
.atm-tile.tile-tall { grid-row: span 2; }
@media (max-width: 500px) {
  .atm-tile.tile-tall { grid-row: span 1; }
}
.atm-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.atm-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.96) saturate(1.05) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.atm-tile:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.10);
}
.atm-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.85) 100%);
  color: var(--paper);
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 350;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.atm-tile:hover .atm-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============ LANG MENU — 173 langs with search ============ */
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-lg) !important;
  padding: 12px !important;
  z-index: 1000;
  min-width: 280px;
  max-width: 320px;
  width: max-content;
}
.lang-menu.open { display: block; }
.lang-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--bg-base);
  color: var(--ink);
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  box-sizing: border-box;
}
.lang-search:focus {
  border-color: var(--gold);
  background: var(--paper);
}
.lang-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 50vh;
  overflow-y: auto;
  scrollbar-width: thin;
}
.lang-menu-list::-webkit-scrollbar { width: 6px; }
.lang-menu-list::-webkit-scrollbar-thumb { background: rgba(26,19,11,0.2); border-radius: 999px; }
.lang-menu-list li {
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-menu-list li:hover { background: var(--cream-soft); color: var(--gold-deep); }
.lang-menu-list li.active {
  background: rgba(184,138,62,0.12);
  color: var(--gold-deep);
  font-weight: 600;
}
.lang-menu-list li::before { content: none; }
.lang-count {
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
  letter-spacing: 0.1em;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 600px) {
  .lang-menu {
    position: fixed !important;
    right: 16px !important;
    left: 16px !important;
    top: 70px !important;
    margin-top: 0 !important;
    min-width: 0;
    max-width: none;
  }
  .lang-menu-list { max-height: 60vh; }
}

/* ============ LINKS HOVER — gentle gold underline ============ */
a:not(.cta):not(.buy-btn):not(.brand):not(.free-thumb):not(.channel-card) {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(184,138,62,0.45);
  transition: text-decoration-color 0.3s var(--ease);
}
a:not(.cta):not(.buy-btn):not(.brand):not(.free-thumb):not(.channel-card):hover {
  text-decoration-color: var(--gold-deep);
}

/* ============ SALE PRICE — 20% знижка до 27 травня ============ */
.sale-banner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 32px;
  padding: 9px 22px 9px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #F4EDDD;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 166, 86, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 22px rgba(0,0,0,0.25);
  text-align: center;
  white-space: nowrap;
}
.sale-banner::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #E0533A;
  box-shadow: 0 0 0 4px rgba(224, 83, 58, 0.18), 0 0 14px rgba(224, 83, 58, 0.6);
  animation: saleDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes saleDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.9); }
}
.buy h2 + .sale-banner {
  display: flex;
  width: max-content;
  margin: 0 auto 36px;
}
@media (max-width: 500px) {
  .sale-banner { font-size: 12px; padding: 8px 16px 8px 14px; letter-spacing: 0.04em; }
}
.buy-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 16px;
}
.buy-price-old {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(120, 105, 85, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.buy-price {
  /* keep existing styling; just ensure visually dominant next to old */
  position: relative;
}
.buy-price::before {
  content: '';
}


/* ============ NEW: clean 2-line price layout ============ */
.buy-price {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  white-space: nowrap;
}
.buy-price .pmain {
  font-family: 'Fraunces', serif;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: -0.02em;
}
.buy-price .phint {
  font-family: 'Inter', sans-serif;
  font-size: 0.42em;
  font-weight: 500;
  color: rgba(212, 184, 138, 0.7);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.buy-price-old .pmain { font-size: inherit; }
.buy-price-old .phint { font-size: 0.55em; color: rgba(120, 105, 85, 0.5); }
.buy-price-old {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
}

/* Hero crypto CTA — diamond-themed pill */
.cta-crypto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(42, 36, 29, 0.95), rgba(58, 49, 38, 0.95));
  color: #F4EDDD;
  border: 1.5px solid rgba(180, 220, 255, 0.25);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(20,15,10,0.15), inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.cta-crypto::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(120,180,255,0.06) 50%, transparent 100%);
  pointer-events: none;
}
.cta-crypto:hover {
  border-color: rgba(180, 220, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(20,15,10,0.2);
}
.cta-crypto .cta-flag { font-size: 18px; }
.cta-crypto .cta-text { color: #F4EDDD; letter-spacing: 0.02em; }
.cta-crypto .cta-price {
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid rgba(244,237,221,0.2);
  font-family: 'Fraunces', serif;
  font-size: 17px;
  color: #A4C9E8;
  font-weight: 400;
}

/* Hero CTA — clean inline price (don't stack like buy-card) */
.cta-price {
  white-space: nowrap;
  display: inline !important;
}
.cta-price .pmain {
  font-weight: 500;
  margin-right: 4px;
}
.cta-price .phint {
  display: none !important;   /* hide ≈ hint on hero (UAH already in side card) */
}

/* ============================================================ */
/* SYMMETRY PASS — balance object proportions, kill empty voids  */
/* ============================================================ */

/* HERO — book column was top-aligned (align-items:start) while the text
   column is much taller, dumping all the empty space bottom-right.
   Center the book vertically so any remaining space splits evenly. */
.hero-grid { align-items: center !important; }
.hero-image { align-self: center !important; }

/* ABOUT ("Who she is") — on desktop the photo was shorter than the text
   column and floated mid-air with voids above & below. Stretch it to the
   row height and cover-crop so it fills its half and matches the text block.
   Desktop only — on mobile (stacked, narrow) a forced crop cuts her face,
   so there we keep the photo at its natural aspect ratio. */
@media (min-width: 801px) {
  .about-grid { align-items: stretch !important; }
  .about-photo { align-self: stretch; height: 100%; }
  .about-photo img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center 38%;
    min-height: 320px;
  }
}

/* CHANNELS — card names are 1 or 2 lines ("Living in the Mountains" wraps),
   which pushed that card's handle/stats/desc down out of line with the
   other two. Reserve a fixed 2-line name height so every row aligns. */
.channels .channel-name {
  line-height: 1.2;
  min-height: 2.4em;        /* room for up to 2 lines → stats rows align */
  display: flex;
  align-items: flex-start;
}

/* ============================================================
   HERO v3 — fully CENTERED & symmetric. Book on top, headline, lead,
   light 2×2 bullets, then the CTA — all on one centre axis. Narrower
   column so nothing floats. Mirror-symmetric = the "симетрично" the
   side-by-side layout could never be.
   ============================================================ */
.hero { padding: 44px 0 58px !important; }

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hero-top > * { min-width: 0; }

/* Book sits on top, centred, moderate size (cover PNGs are pre-trimmed) */
.hero .hero-image { order: -1; margin-bottom: 22px; }
.hero .hero-image img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 26px 50px rgba(40,30,20,0.30));
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.hero .hero-image img:hover { transform: rotate(0) scale(1.02); }

.hero .hero-text { padding: 0; max-width: 720px; }
.hero .hero-text .kicker { margin-bottom: 18px; }
.hero .hero-text .lead { margin: 16px auto 0; max-width: 560px; }

/* Light, centred bullets — no heavy divider rules, neat 2×2 */
.hero .hero-text .bullets {
  border: 0;
  margin: 24px auto 0;
  padding: 0;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  text-align: left;
}
.hero .hero-text .bullets li {
  border: 0;
  padding: 5px 0;
  font-size: 14px;
}

/* CTA — centred, on the same axis as everything above */
.hero-cta {
  margin: 30px auto 0;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-cta .big-buy-btn {
  width: 100%;
  max-width: 460px;
  padding: 22px 34px;
  font-size: 22px;
  margin: 0 0 12px;
}
.hero-cta .cta-secondary-under { margin: 0 auto; }
.hero-cta .trust { margin-top: 14px; text-align: center; }

@media (max-width: 600px) {
  .hero { padding: 30px 0 40px !important; }
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .hero-top,
  .hero .hero-text,
  .hero .lead,
  .hero-cta {
    width: min(100%, calc(100vw - 40px));
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .hero-image { margin-bottom: 16px; }
  .hero .hero-image img { max-width: 250px; }
  .hero h1,
  .hero .headline {
    max-width: min(310px, calc(100vw - 40px)) !important;
    font-size: clamp(30px, 8.2vw, 36px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }
  .hero .lead {
    max-width: min(330px, calc(100vw - 40px)) !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
  .hero .hero-text .lead {
    width: min(310px, calc(100vw - 64px)) !important;
    max-width: min(310px, calc(100vw - 64px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .hero-text .bullets { grid-template-columns: 1fr; gap: 4px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .big-buy-btn {
    width: min(100%, calc(100vw - 40px)) !important;
    max-width: 100% !important;
    padding: 17px 16px;
    gap: 8px;
    font-size: 16px;
  }
  .hero-cta .big-buy-arrow { display: none !important; }
  .hero-cta .big-buy-price { font-size: 19px; }
  .hero-cta .trust {
    width: min(330px, calc(100vw - 48px)) !important;
    max-width: min(330px, calc(100vw - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

/* ─── Hero 2-column on desktop ─────────────────────────────── */
@media (min-width: 900px) {
  .hero-top {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    max-width: 1060px !important;
    gap: 64px !important;
  }
  .hero .hero-image {
    order: 2 !important;
    flex: 0 0 320px !important;
    margin-bottom: 0 !important;
  }
  .hero .hero-text { flex: 1 !important; }
  .hero h1, .hero .headline { text-align: left !important; }
  .hero .lead {
    text-align: left !important;
    margin: 16px 0 0 !important;
    max-width: none !important;
  }
  .hero-cta {
    max-width: 1060px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .hero-cta .big-buy-btn { max-width: 420px !important; }
  .hero-cta .cta-secondary-under { margin-left: 0 !important; }
  .hero-cta .trust,
  .hero-cta .uah-note { text-align: left !important; }
}

/* Desktop product hero: make the cookbook the main visual, not a small side prop. */
@media (min-width: 1100px) {
  .hero {
    min-height: calc(100vh - 92px);
    padding: clamp(62px, 6vh, 86px) 0 clamp(62px, 6vh, 86px) !important;
  }
  .hero > .container {
    position: relative;
    width: min(100%, 1500px);
    max-width: 1500px !important;
    min-height: clamp(720px, calc(100vh - 230px), 860px);
    padding-left: clamp(88px, 7vw, 128px);
    padding-right: clamp(88px, 7vw, 128px);
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(500px, 690px);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: clamp(64px, 7vw, 138px);
  }
  .hero-top {
    display: contents !important;
  }
  .hero .hero-text {
    grid-column: 1;
    grid-row: 1;
    max-width: 650px !important;
    padding-right: 0 !important;
  }
  .hero h1 {
    font-size: clamp(70px, 5vw, 98px) !important;
    line-height: 0.95 !important;
    max-width: 760px;
    margin-bottom: 22px !important;
  }
  .hero .lead {
    max-width: 650px !important;
    font-size: clamp(21px, 1.35vw, 27px) !important;
    line-height: 1.36 !important;
  }
  .hero .hero-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: clamp(660px, 70vh, 800px);
  }
  .hero .hero-image img {
    width: min(100%, clamp(560px, 32vw, 670px)) !important;
    max-width: none !important;
    transform: rotate(-2deg) translateY(-1%);
    filter: drop-shadow(0 46px 84px rgba(40,30,20,0.32));
  }
  .hero .hero-image img:hover {
    transform: rotate(0) translateY(-1%) scale(1.02);
  }
  .hero-cta {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 650px !important;
    margin: clamp(32px, 3.8vh, 48px) 0 0 !important;
    padding-right: 0;
  }
  .hero-cta .big-buy-btn {
    max-width: 600px !important;
  }
  .hero-cta .trust {
    max-width: 100% !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
}

@media (min-width: 1100px) and (max-width: 1320px) {
  .hero h1 {
    font-size: clamp(64px, 5.25vw, 86px) !important;
  }
  .hero .lead {
    font-size: clamp(20px, 1.55vw, 24px) !important;
  }
  .hero > .container {
    padding-left: clamp(54px, 5vw, 76px);
    padding-right: clamp(54px, 5vw, 76px);
    grid-template-columns: minmax(0, 500px) minmax(360px, 500px);
    column-gap: clamp(42px, 5vw, 70px);
  }
  .hero .hero-image img {
    width: min(100%, clamp(440px, 34vw, 560px)) !important;
  }
  .hero-cta .trust {
    font-size: 11.5px !important;
  }
}

/* ============================================================
   NAVBAR v2 — brand + tagline stack + inline nav + lang + buy CTA.
   ============================================================ */
.topbar-row {
  gap: 24px;
}
.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;       /* push nav right, lang switcher follows */
}
.topnav a {
  font: 500 14px 'Inter', sans-serif;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.topnav a:hover { color: var(--sage-dark); }
.topnav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.topnav a:hover::after { transform: scaleX(1); }
.topnav-cta {
  background: var(--ink);
  color: var(--paper, #FFFFFF) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.topnav-cta::after { display: none !important; }
.topnav-cta:hover {
  background: var(--sage-dark);
  color: #fff !important;
}

@media (max-width: 900px) {
  .topnav { display: none; }
  .brand-tag { display: none; }
}
@media (max-width: 600px) {
  .topbar .container.topbar-row {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 82px !important;
  }
  .brand {
    min-width: 0;
    flex: 0 1 auto;
  }
  .brand-mark {
    display: none;
  }
  .brand-text {
    white-space: nowrap;
  }
  .lang-switcher {
    position: absolute !important;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: block !important;
    z-index: 5;
    margin-left: 0 !important;
  }
  .lang-btn {
    width: auto;
    min-width: 0;
    justify-content: center;
    padding-left: 10px !important;
    padding-right: 10px !important;
    background: rgba(251, 247, 238, 0.96) !important;
  }
  .lang-btn #langCurrent {
    display: inline-block;
    max-width: 78px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lang-btn .caret {
    display: inline;
  }
}

/* ============================================================
   ROUND THE CORNERS — square CTAs become pills.
   ============================================================ */
.free-cta,
.free-teaser-card .free-cta,
.upsell-btn,
.cta-secondary-under,
.cta-secondary {
  border-radius: 999px !important;
}

/* ============================================================
   ABOUT — softer drop-cap (was 5em, way too dominant)
   ============================================================ */
.about-text > p:first-of-type::first-letter {
  font-size: 3.2em !important;
  line-height: 1 !important;
  margin: 0.04em 0.1em 0 0 !important;
}

/* About blockquote — a little more breathing room */
.about-text blockquote {
  margin-top: 24px;
}

/* ============================================================
   TIGHTEN VERTICAL RHYTHM — too much whitespace between sections
   ============================================================ */
@media (min-width: 601px) {
  .features { padding: 60px 0 !important; }
  .about    { padding: 64px 0 !important; }
  .channels { padding: 64px 0 !important; }
  .our-life { padding: 56px 0 !important; }
  .free-teaser { padding: 64px 0 !important; }
  .whats-inside { padding: 60px 0 !important; }
  .buy { padding: 60px 0 !important; }
  .faq { padding: 60px 0 !important; }

  /* No margin/border on full-bleed photos — they should run edge to edge */
  .bleed-photo { margin: 0 !important; border: 0 !important; }
}

/* ============================================================
   BLEED-PHOTO as native <img> — fixed cinematic strip height,
   width 100%, object-fit: cover so the image fills it without gaps.
   ============================================================ */
.bleed-photo,
.bleed-photo-img {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
  height: auto !important;
}
.bleed-photo-img img {
  display: block;
  width: 100%;
  height: 380px;                       /* short cinematic strip */
  object-fit: cover;
  object-position: center 55%;         /* keep ridge & sky balanced */
  vertical-align: bottom;
}
@media (max-width: 700px) {
  .bleed-photo-img img { height: 240px; }
}
/* The "Who she is" (.about) section extends its cream background + the
   red vyshyvanka side-strip decoration ALL THE WAY DOWN to the mountain
   photo — no bare-body gap, decoration runs uninterrupted. */
.bleed-photo,
.bleed-photo-img { margin: 0 !important; }
.about { padding-bottom: 80px !important; }
/* Make the about::before/::after rushnyk strips reach the very bottom of
   the section's padding (and a hair beyond), so they meet the bleed-photo
   without any cream gap interrupting the pattern. */
.about::before,
.about::after { bottom: 0 !important; }
.marquee { margin-top: 0 !important; }
@media (max-width: 700px) {
  .about { padding-bottom: 48px !important; }
}
.bleed-photo-img .caption {
  position: absolute;
  left: 24px;
  bottom: 18px;
  color: #fff;
  font: 500 12px/1.4 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  line-height: 1.4;                    /* re-establish text line-height */
}
/* Marquee strip (under the bleed-photo) — no extra borders/margin */
.marquee { border-top: 0 !important; border-bottom: 0 !important; margin: 0 !important; }

/* Section internal rhythm: feature cards and proof-bar were too far apart */
.features .features-grid { gap: 22px; }
.features .proof-bar { margin-top: 36px; }
.feature-card { padding: 28px 24px; }
.feature-card p { margin-top: 8px; }

/* Channel cards row — slightly tighter on desktop */
@media (min-width: 901px) {
  .channels-grid { gap: 22px; }
}
