/* ================================================================
 * EDITORIAL OVERLAY — Akim Folin / ПАНІ UA inspired redesign
 * Loaded AFTER style.css — overrides typography, palette, layout
 * Functionality untouched (IDs, JS hooks intact)
 * ================================================================ */

:root {
  /* ============ CARPATHIAN PALETTE — heavier earth tones ============ */
  /* Inspired by Borzhava ridge sunset, smerek pine forests, village stone,
     aged vyshyvanka linen, smoked clay pottery */

  --ink: #1A130B;          /* coffee-black like burnt wood */
  --ink-soft: #3D3225;     /* aged oak */
  --ink-mute: #786850;     /* faded linen text */

  --paper: #E2D4B5;        /* aged peasant linen — main heavy bg */
  --cream: #D6C6A4;        /* deeper sand */
  --cream-soft: #C8B68F;
  --cream-deep: #B59E72;

  --gold: #B88A3E;         /* deep wheat / sunset Borzhava */
  --gold-deep: #8E6628;    /* darker honey */
  --gold-soft: #DCC089;

  --forest: #3A4A2E;       /* смерек — Carpathian fir */
  --forest-deep: #233019;  /* deep mountain shadow */
  --forest-soft: #5B7140;
  --moss: #6E7847;         /* moss / wild herb */

  --clay: #8E3A1E;         /* baked clay / pottery */
  --bordeaux: #5A1E1A;     /* vyshyvanka red */
  --rust: #B05A30;         /* sunset clay */

  --stone: #6C6149;        /* mountain stone */

  --rule: rgba(26,19,11,0.22);
  --rule-strong: rgba(26,19,11,0.45);
  --rule-soft: rgba(26,19,11,0.10);

  /* Aliases — legacy sage/honey keys remap to new palette */
  --sage: var(--forest);
  --sage-dark: var(--forest-deep);
  --sage-light: var(--forest-soft);
  --sage-mist: var(--cream-deep);
  --honey: var(--gold);
  --honey-light: var(--gold-soft);
  --honey-mist: var(--cream);
}

/* ============ BODY BG — base linen colour ============ */
body {
  background-color: var(--paper);
  background-image:
    /* Hutsul vyshyvanka rhomb pattern overlay */
    url("data:image/svg+xml;utf8,<svg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'><g fill='none' stroke-width='1'><polygon points='60,20 80,40 60,60 40,40' stroke='%235A1E1A' stroke-opacity='0.16'/><polygon points='60,28 72,40 60,52 48,40' fill='%23B88A3E' fill-opacity='0.10'/><polygon points='60,80 80,100 60,120 40,100' stroke='%235A1E1A' stroke-opacity='0.13'/><polygon points='0,40 20,60 0,80' stroke='%235A1E1A' stroke-opacity='0.16'/><polygon points='120,40 100,60 120,80' stroke='%235A1E1A' stroke-opacity='0.16'/><circle cx='30' cy='90' r='1.5' fill='%235A1E1A' fill-opacity='0.30'/><circle cx='90' cy='90' r='1.5' fill='%235A1E1A' fill-opacity='0.30'/><circle cx='30' cy='30' r='1.5' fill='%23B88A3E' fill-opacity='0.30'/><circle cx='90' cy='30' r='1.5' fill='%23B88A3E' fill-opacity='0.30'/><line x1='60' y1='0' x2='60' y2='4' stroke='%235A1E1A' stroke-opacity='0.18'/><line x1='60' y1='116' x2='60' y2='120' stroke='%235A1E1A' stroke-opacity='0.18'/></g></svg>");
  background-size: 120px 120px;
  background-repeat: repeat;
}

/* Subtle linen grain overlay on top of pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background-image:
    url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.04 0 0 0 0.28 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  mix-blend-mode: multiply;
  opacity: 0.18;
}

/* Page-level vignette — heavier corners */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(26,19,11,0.18) 100%);
}

/* Section surfaces — semi-translucent so pattern shows through softly */
section.section-soft,
.features,
.about,
.previews {
  background-color: rgba(214,198,164,0.78); /* var(--cream) at 78% — lets pattern bleed */
  position: relative;
  z-index: 1;
}
.channels, .buy {
  /* Dark sections — pattern hidden */
  position: relative;
  z-index: 1;
}

/* ============ Global type rhythm ============ */
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

/* Carpathian geo-tag — appears below hero headline */
.geo-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.geo-tag::before {
  content: '◆';
  color: var(--rust);
  font-size: 8px;
}

.container { max-width: 1240px; padding: 0 32px; }
@media (max-width: 700px) { .container { padding: 0 22px; } }

/* Force light color scheme — prevents browser auto-dark from inverting */
html, body { color-scheme: only light; }

/* Display headings: Fraunces — classy variable serif from Google Fonts */
h1, h2, h3, .display, .recipe-page h1, .ty-hero h1 {
  font-family: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.025em;
  line-height: 0.96;
  color: var(--ink) !important;
}

/* All-caps eyebrow / kicker labels */
.kicker, .section-eyebrow, .badge, .recipe-page .kicker {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before, .section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(251,248,240,0.92);
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: none; /* hide the eye glyph for editorial cleanness */
}
.brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-text span {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s;
}
.lang-btn:hover { border-color: var(--gold); }
.lang-menu {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: 0 24px 48px rgba(26,22,18,0.12);
  padding: 6px 0;
  margin-top: 6px;
}
.lang-menu li {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s;
}
.lang-menu li:hover { background: var(--cream-soft); }
.lang-menu li.active { color: var(--gold-deep); font-weight: 500; }

/* ============ HERO — editorial layout ============ */
.hero {
  padding: 90px 0 110px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .hero { padding: 60px 0 80px; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}
.hero-text { padding-right: 20px; }
.hero h1 {
  font-size: clamp(54px, 8vw, 104px);
  margin: 20px 0 28px;
  font-weight: 500;
  color: var(--ink) !important;
  text-shadow: 0 0 0 transparent; /* prevent auto-dark inversion in some browsers */
}
.hero h1 em, .hero h1 i {
  font-style: italic;
  font-weight: 350;
  color: var(--gold-deep);
}
.hero .lead {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 350;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
  font-variation-settings: "opsz" 36, "SOFT" 100;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  border-top: 1px solid var(--rule);
}
.bullets li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 16px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.bullets li::before { content: ''; }
.bullets li::marker { content: none; }

/* ============ CTA buttons ============ */
.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
}
.cta-primary {
  background: var(--bordeaux);
  color: var(--paper) !important;
  border: 1px solid var(--bordeaux);
}
.cta-primary:hover {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-1px);
}
.cta-primary .cta-price {
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid rgba(244,238,224,0.3);
  font-feature-settings: "tnum";
}
.cta-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.cta-secondary:hover { background: var(--ink); color: var(--paper) !important; }
.cta-flag { font-size: 16px; line-height: 1; }
.trust {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);    /* boosted contrast on heavy linen bg */
  margin-top: 24px;
  font-weight: 500;
}

/* ============ CONTRAST BOOST — fix muted text on heavy bg ============ */
.section-lead, .lead, .feature-card p, .inside-item span,
.faq-item p, .channel-handle, .recipe-body p {
  color: var(--ink-soft) !important;
}
.proof-label {
  color: var(--ink-soft) !important;
  font-weight: 600;
}
.kicker, .section-eyebrow {
  color: var(--ink) !important;
  font-weight: 700;
}

/* ============ DARK SECTIONS — full text override =============== */
/* Beats earlier contrast-boost rules thanks to higher specificity + !important */
.channels h2,
.channels .section-lead,
.channels .channel-name,
.channels .channel-handle,
.channels .channel-desc,
.channels .stat b,
.channels .stat span,
.channels .ct-stat b,
.channels .ct-stat span,
.buy h2,
.buy .section-lead,
.buy .buy-method,
.buy .buy-price,
.buy .buy-note,
footer .footer-brand strong,
footer .footer-brand span,
footer .footer-bottom,
footer .footer-links a,
footer .footer-channels a {
  color: rgba(244,238,224,0.92) !important;
}
/* Sub-elements that should be slightly muted */
.channels .section-lead,
.channels .channel-handle,
.channels .channel-desc,
.channels .stat span,
.channels .ct-stat span,
.buy .section-lead,
.buy .buy-method,
.buy .buy-note,
footer .footer-brand span,
footer .footer-bottom,
footer .footer-links a,
footer .footer-channels a {
  color: rgba(244,238,224,0.72) !important;
}
/* Gold accents in dark sections */
.channels .stat b,
.channels .ct-stat b,
.channels h2 em,
.channels h2 i,
.buy h2 em,
.buy h2 i {
  color: var(--gold) !important;
}
/* Channel name stays bright */
.channels .channel-name { color: rgba(244,238,224,0.98) !important; }

/* ============ HERO image — EDGY 3D floating book ============ */
.hero-image {
  position: relative;
  align-self: stretch;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  transform: rotateY(-20deg) rotateX(8deg) rotateZ(-2deg) translateZ(0);
  transform-origin: center center;
  transform-style: preserve-3d;
  filter:
    drop-shadow(40px 60px 80px rgba(26,19,11,0.55))
    drop-shadow(0 8px 16px rgba(26,19,11,0.35))
    drop-shadow(-2px -2px 4px rgba(212,162,86,0.15))   /* gold rim light upper-left */
    contrast(1.08) saturate(1.05);
  transition: transform 0.4s cubic-bezier(.18,.89,.32,1.28),
              filter 0.5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  animation: float-subtle 7s ease-in-out infinite alternate;
}
@keyframes float-subtle {
  0%   { transform: rotateY(-20deg) rotateX(8deg) rotateZ(-2deg) translateY(0) translateZ(0); }
  100% { transform: rotateY(-18deg) rotateX(6deg) rotateZ(-1.5deg) translateY(-14px) translateZ(20px); }
}
.hero-image img:hover {
  animation-play-state: paused;
  transform: rotateY(-10deg) rotateX(2deg) rotateZ(-1deg) scale(1.04) translateZ(60px);
  filter:
    drop-shadow(30px 40px 60px rgba(26,19,11,0.6))
    drop-shadow(0 10px 20px rgba(26,19,11,0.4))
    drop-shadow(-4px -4px 8px rgba(212,162,86,0.25))
    contrast(1.12) saturate(1.1) brightness(1.03);
}

/* Hard ground shadow ellipse (gravity feel) */
.hero-image::before {
  content: '';
  position: absolute;
  bottom: 4%;
  left: 8%;
  right: 12%;
  height: 56px;
  background: radial-gradient(ellipse at center, rgba(26,19,11,0.55), transparent 65%);
  filter: blur(28px);
  z-index: -1;
  transform: scaleY(0.5);
  animation: shadow-pulse 7s ease-in-out infinite alternate;
}
@keyframes shadow-pulse {
  0%   { transform: scaleY(0.5) scaleX(1); opacity: 0.9; }
  100% { transform: scaleY(0.42) scaleX(0.85); opacity: 0.55; }
}

/* Golden glow halo */
.hero-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 40%, rgba(212,162,86,0.15), transparent 55%);
  filter: blur(40px);
  z-index: -2;
  pointer-events: none;
}

/* Mouse-tracking class added by JS — overrides float animation when mouse is over */
.hero-image.tracking img {
  animation: none;
  transition: transform 0.1s linear, filter 0.5s;
}
.badge-100 {
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  right: -22px;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  text-align: center;
  border: 1px solid var(--gold);
}
.badge-100 strong {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}
.badge-100 span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============ Section base ============ */
section { padding: 100px 0; }
section.section-soft { background: var(--cream); }
section h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 350;
  margin: 14px 0 36px;
  max-width: 900px;
  letter-spacing: -0.02em;
}
section h2 em, section h2 i { font-style: italic; color: var(--gold-deep); font-weight: 350; }
.section-lead {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 60px;
  font-variation-settings: "opsz" 36;
}

/* ============ FEATURES (3 cards) ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 800px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature-card:not(:last-child) { border-bottom: 1px solid var(--rule); border-right: 0; }
}
.feature-card {
  padding: 50px 36px;
  border-right: 1px solid var(--rule);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.3s;
}
.feature-card:last-child { border-right: 0; }
.feature-card:hover { background: var(--cream); }
.feature-icon {
  font-size: 32px;
  margin-bottom: 32px;
  filter: grayscale(0.3);
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.feature-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============ PROOF BAR ============ */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin: 80px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.proof-item {
  border-right: 1px solid var(--rule);
  padding: 0 16px;
}
.proof-item:last-child { border-right: 0; }
.proof-number {
  font-family: 'Fraunces', serif;
  font-size: 54px;
  font-weight: 350;
  color: var(--ink);
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.proof-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-text p {
  font-family: 'Fraunces', serif;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 580px;
  font-weight: 350;
}
.about-text blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  color: var(--gold-deep);
  padding-left: 24px;
  border-left: 1px solid var(--gold);
  margin-top: 36px;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.about-photo img {
  width: 100%;
  border-radius: 0;
  filter: contrast(1.05) saturate(0.85);
}

/* ============ CHANNELS ============ */
.channels {
  background: var(--ink);
  color: var(--paper);
}
.channels h2 { color: var(--paper); }
.channels h2 em, .channels h2 i { color: var(--gold); }
.channels .section-lead { color: rgba(244,238,224,0.7); }
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244,238,224,0.15);
}
@media (max-width: 800px) { .channels-grid { grid-template-columns: 1fr; } }
.channel-card {
  background: transparent;
  border-radius: 0;
  border-right: 1px solid rgba(244,238,224,0.15);
  padding: 50px 36px;
  text-decoration: none;
  color: var(--paper);
  transition: background 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.channel-card:last-child { border-right: 0; }
.channel-card:hover {
  background: rgba(244,238,224,0.06);
  transform: translateY(-3px);
}
.channel-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1.5px solid rgba(212,162,86,0.45);
  box-shadow: 0 14px 28px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.channel-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.channel-name {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
}
.channel-handle {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,224,0.5);
  margin-bottom: 6px;
}
.channel-stats {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(244,238,224,0.13);
  border-bottom: 1px solid rgba(244,238,224,0.13);
}
.channel-stats .stat { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.channel-stats .stat b {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}
.channel-stats .stat span {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,224,0.55);
}
.channel-desc {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 350;
  line-height: 1.5;
  color: rgba(244,238,224,0.85) !important;
  margin: 0;
}

/* Combined-channels stat bar (below 3 cards) */
.channels-total {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  padding: 32px 0;
  border-top: 1px solid rgba(244,238,224,0.15);
  border-bottom: 1px solid rgba(244,238,224,0.15);
}
@media (max-width: 700px) { .channels-total { grid-template-columns: repeat(2, 1fr); } }
.ct-stat {
  text-align: center;
  border-right: 1px solid rgba(244,238,224,0.13);
  padding: 0 12px;
}
.ct-stat:last-child { border-right: 0; }
.ct-stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--gold);
  font-feature-settings: "tnum";
  letter-spacing: -0.03em;
}
.ct-stat span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,238,224,0.55);
  margin-top: 6px;
}

/* ============ PREVIEWS ============ */
.previews { background: var(--paper); }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 768px) { .preview-grid { grid-template-columns: 1fr; } }
.preview-grid img {
  border-radius: 0;
  box-shadow: 0 30px 60px -20px rgba(26,22,18,0.18);
  filter: contrast(1.03);
}

/* ============ FREE TEASER (recipes) ============ */
.free-teaser-card {
  background: var(--cream);
  border-radius: 0;
  border: 1px solid var(--rule);
  padding: 80px 60px;
  box-shadow: none;
}
.free-teaser-card .free-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  border: 1px solid var(--ink);
  padding: 18px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.free-teaser-card .free-cta:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.free-thumb {
  background: var(--paper);
  border-radius: 0;
  border: 1px solid var(--rule);
}
.free-thumb img { height: 200px; }
.free-thumb span {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 18px 20px;
}

/* ============ WHATS INSIDE ============ */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 700px) { .inside-grid { grid-template-columns: 1fr; } }
.inside-item {
  padding: 32px 28px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.inside-item:nth-child(2n) { border-right: 0; }
@media (max-width: 700px) {
  .inside-item { border-right: 0; }
}
.inside-item strong {
  color: var(--gold-deep);
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0;
  font-feature-settings: "tnum";
  font-style: italic;
}
.inside-item div {
  font-size: 15px;
  line-height: 1.5;
}
.inside-item b {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.inside-item span { color: var(--ink-soft); }

/* ============ BUY section ============ */
.buy { background: var(--ink); color: var(--paper); }
.buy h2 { color: var(--paper); }
.buy .section-lead { color: rgba(244,238,224,0.65); }
.buy-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244,238,224,0.15);
}
@media (max-width: 800px) { .buy-grid { grid-template-columns: 1fr; } }
.buy-card {
  background: transparent;
  border-radius: 0;
  border-right: 1px solid rgba(244,238,224,0.15);
  border-bottom: 1px solid rgba(244,238,224,0.15);
  padding: 50px 36px;
  box-shadow: none;
  color: var(--paper);
}
.buy-card:last-child { border-right: 0; }
.buy-method {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,238,224,0.55);
  margin-bottom: 18px;
}
.buy-price {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 350;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}
.buy-btn {
  background: var(--paper);
  color: var(--ink) !important;
  border: 1px solid var(--paper);
  padding: 16px 28px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.buy-btn:hover { background: var(--gold); color: var(--ink) !important; border-color: var(--gold); }
.buy-note {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244,238,224,0.55);
  margin-top: 18px;
  text-transform: uppercase;
}

/* ============ GUARANTEE BAR ============ */
.guarantee-bar {
  background: var(--cream);
  border-radius: 0;
  border: 1px solid var(--rule);
  padding: 50px 60px;
  text-align: center;
}
.guarantee-bar h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
}

/* ============ LEAD CAPTURE ============ */
.lead-capture {
  background: var(--cream-soft);
  border-radius: 0;
  border: 1px solid var(--rule);
  padding: 70px 60px;
  text-align: center;
}
.lead-form input[type=email] {
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 18px;
}
.lead-form button {
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  transition: all 0.25s;
}
.lead-form button:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

/* ============ FAQ ============ */
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq-item[open] summary { color: var(--gold-deep); }
.faq-item p {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 14px;
  max-width: 720px;
  font-weight: 350;
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  border-top: 1px solid var(--rule);
}
.footer-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(244,238,224,0.15);
}
@media (max-width: 700px) {
  .footer-row { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
}
.footer-brand strong {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.footer-brand span {
  font-size: 13px;
  color: rgba(244,238,224,0.6);
  letter-spacing: 0.05em;
}
.footer-links, .footer-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a, .footer-channels a {
  color: rgba(244,238,224,0.7);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-channels a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,238,224,0.4);
  text-align: center;
}

/* ============ FREE TEASER section ============ */
.free-teaser { background: var(--paper); }
.free-teaser .kicker { color: var(--ink); }

/* ============ Upsell + recipe page ============ */
.upsell-banner, .upsell-final {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
}
.upsell-btn {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.upsell-btn:hover { background: var(--gold-deep); }

/* Recipe pages */
.recipe-page .upsell-final h2 { color: var(--ink); }
.method li::before { background: var(--ink); }
.tip {
  background: var(--cream);
  border-left: 2px solid var(--gold);
  border-radius: 0;
}
.tip strong { color: var(--gold-deep); }

/* ============ Hide legacy ornaments ============ */
.brand-mark { display: none !important; }

/* ============ SECTION DIVIDERS — Hutsul vyshyvanka thread ============ */
.section-divider {
  height: 60px;
  width: 100%;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 60' width='240' height='60'><g fill='none' stroke-width='1.5'><polygon points='30,20 50,30 30,40 10,30' stroke='%235A1E1A' stroke-opacity='0.55'/><polygon points='30,25 42,30 30,35 18,30' fill='%23B88A3E' fill-opacity='0.55' stroke='none'/><polygon points='90,20 110,30 90,40 70,30' stroke='%235A1E1A' stroke-opacity='0.55'/><polygon points='90,25 102,30 90,35 78,30' fill='%23B88A3E' fill-opacity='0.55' stroke='none'/><polygon points='150,20 170,30 150,40 130,30' stroke='%235A1E1A' stroke-opacity='0.55'/><polygon points='150,25 162,30 150,35 138,30' fill='%23B88A3E' fill-opacity='0.55' stroke='none'/><polygon points='210,20 230,30 210,40 190,30' stroke='%235A1E1A' stroke-opacity='0.55'/><polygon points='210,25 222,30 210,35 198,30' fill='%23B88A3E' fill-opacity='0.55' stroke='none'/><line x1='0' y1='30' x2='240' y2='30' stroke='%235A1E1A' stroke-opacity='0.20' stroke-dasharray='1 3'/><circle cx='60' cy='30' r='1.5' fill='%235A1E1A' fill-opacity='0.6'/><circle cx='120' cy='30' r='1.5' fill='%235A1E1A' fill-opacity='0.6'/><circle cx='180' cy='30' r='1.5' fill='%235A1E1A' fill-opacity='0.6'/></g></svg>");
  margin: 0;
  position: relative;
  z-index: 2;
}

/* ============ SCROLL-REVEAL animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ DROP CAP — first letter of about-text ============ */
.about-text > p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 5em;
  line-height: 0.9;
  float: left;
  margin: 0.05em 0.12em 0 -0.05em;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

/* ============ MARQUEE — endless dish-strip ============ */
.marquee {
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(214,198,164,0.5);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee-scroll 60s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-item::after {
  content: '◆';
  color: var(--gold);
  margin-left: 32px;
  font-size: 10px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============ FULL-BLEED LIFESTYLE PHOTOS ============ */
.bleed-photo {
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.bleed-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,19,11,0.0) 60%, rgba(26,19,11,0.35) 100%);
}
@media (max-width: 700px) { .bleed-photo { height: 280px; } }

.bleed-photo .caption {
  position: absolute;
  bottom: 24px;
  left: 32px;
  z-index: 3;
  color: var(--paper);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(26,19,11,0.5);
}

/* ============ ATMOSPHERIC SECTION BACKGROUNDS ============ */
/* Each section gets a subtle bg photo with strong overlay for text legibility */

.features {
  position: relative;
  background-color: rgba(214,198,164,0.92);
  background-image: url('assets/life-embroidery.jpg');
  background-size: 480px auto;
  background-repeat: repeat;
  background-position: center;
  background-blend-mode: multiply;
}
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244,238,224,0.88), rgba(214,198,164,0.78));
  pointer-events: none;
  z-index: 0;
}
.features > .container { position: relative; z-index: 1; }

.about {
  position: relative;
  background-color: var(--cream);
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/life-forest.jpg');
  background-size: 50% auto;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.18;
  filter: blur(2px) sepia(0.3);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.about > .container { position: relative; z-index: 1; }

.channels {
  position: relative;
  background-color: var(--ink);
  background-image: url('assets/life-cookbook.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.channels::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,19,11,0.94), rgba(26,19,11,0.88));
  pointer-events: none;
  z-index: 0;
}
.channels > .container { position: relative; z-index: 1; }

.previews {
  position: relative;
  background-color: var(--paper);
}
.previews::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/life-embroidery.jpg');
  background-size: 360px auto;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.10;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.previews > .container { position: relative; z-index: 1; }

.whats-inside {
  position: relative;
  background-color: var(--cream);
}
.whats-inside::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/life-table.jpg');
  background-size: 70% auto;
  background-position: -10% center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: blur(3px);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.whats-inside > .container { position: relative; z-index: 1; }

.buy {
  position: relative;
  background-color: var(--ink);
  background-image: url('assets/life-mountains.jpg');
  background-size: cover;
  background-position: center top;
}
.buy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,19,11,0.92), rgba(26,19,11,0.96));
  pointer-events: none;
  z-index: 0;
}
.buy > .container { position: relative; z-index: 1; }

.lead-capture {
  position: relative;
  background-color: var(--cream-soft);
  background-image: url('assets/life-embroidery.jpg');
  background-size: 500px auto;
  background-repeat: repeat;
  background-blend-mode: multiply;
}
.lead-capture::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(214,198,164,0.85);
  pointer-events: none;
  z-index: 0;
}
.lead-capture > .container { position: relative; z-index: 1; }

.faq {
  position: relative;
  background-color: var(--paper);
  background-image: url('assets/life-steam.jpg');
  background-size: cover;
  background-position: center;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244,238,224,0.88), rgba(232,221,196,0.93));
  pointer-events: none;
  z-index: 0;
}
.faq > .container { position: relative; z-index: 1; }

footer {
  position: relative;
  background-color: var(--ink);
  background-image: url('assets/life-wood.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,19,11,0.94), rgba(45,30,18,0.86));
  pointer-events: none;
  z-index: 0;
}
footer .container { position: relative; z-index: 1; }

/* HERO — subtle Carpathian landscape behind, very faint */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/life-mountains.jpg');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.13;
  filter: blur(1.5px);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* ============ HUTSUL ICON BADGES — replace emojis ============ */
.feature-icon-svg {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--gold-deep);
}
.feature-icon-svg svg { width: 100%; height: 100%; }
.feature-card .feature-icon { display: none; } /* hide emoji */

