:root {
  --bg: #f6f1ea;
  --surface: #fffdf9;
  --surface-soft: #f8f4ee;
  --text: #302b29;
  --muted: #6f665f;
  --line: rgba(48, 43, 41, 0.10);
  --accent: #c5a57b;
  --accent-deep: #8b7356;
  --shadow: 0 16px 40px rgba(48, 43, 41, 0.06);
  --radius: 28px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf6f0 0%, var(--bg) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.1; letter-spacing: -0.02em; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 72px 0; }
.section.alt { background: rgba(255,255,255,0.32); }
.eyebrow {
  display: inline-flex; padding: 8px 12px; border-radius: 999px;
  background: rgba(197, 165, 123, 0.14); color: var(--accent-deep);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: linear-gradient(180deg, rgba(241,231,214,0.92) 0%, rgba(248,243,235,0.82) 100%); border-bottom: 1px solid rgba(48,43,41,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { display:block; width: 240px; max-width: 100%; height: auto; }
.brand-logo--footer { width: 220px; margin-bottom: 12px; }
.site-nav .menu { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.site-nav a { color: var(--text); font-size: 14px; }
.hero { padding: 90px 0 68px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: stretch; }
.hero-copy h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); max-width: 12ch; }
.hero-copy p { font-size: 18px; max-width: 62ch; }
.hero-panel, .hero-card, .page-card, .lnc-card, .trust-box, .cta-panel { border: 1px solid var(--line); background: rgba(255,253,249,0.92); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { height: 100%; padding: 32px; }
.hero-card ul { padding-left: 18px; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; transition: .22s ease; font-weight: 600; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, #d4b792 100%); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-box { padding: 24px; }
.trust-box strong { display: block; margin-bottom: 8px; }
.trust-box span { color: var(--muted); font-size: 14px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.goal-chip, .lnc-pill { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lnc-card { overflow: hidden; }
.lnc-card__media, .single-hero__media, .lnc-card__placeholder { aspect-ratio: 4 / 3; overflow: hidden; }
.lnc-card__img { width: 100%; height: 100%; object-fit: cover; }
.lnc-card__placeholder { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), transparent 35%), linear-gradient(135deg, #ebdfcf 0%, #d9c2a5 100%); display: grid; place-items: center; color: rgba(48,43,41,.75); font-family: Georgia, serif; padding: 24px; text-align: center; }
.lnc-card__body { padding: 24px; }

.lnc-card__media--with-title { position: relative; }
.lnc-card__media--with-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,30,28,0.08) 0%, rgba(34,30,28,0.58) 100%);
}
.lnc-card__media-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.lnc-card__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lnc-card h2, .lnc-card h3 { font-size: 1.5rem; }
.metric-inline { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
.cta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cta-panel { padding: 32px; }
.archive-hero, .single-hero { padding: 64px 0 24px; }
.single-hero__grid, .two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.lead { font-size: 18px; max-width: 62ch; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.lnc-metric { padding: 18px; border-radius: 22px; background: var(--surface-soft); border: 1px solid var(--line); }
.lnc-metric__label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.lnc-metric__value { font-size: 1.05rem; }
.page-layout, .content-area { padding: 44px 0 72px; }
.page-card { padding: 32px; }
.page-card__header { margin-bottom: 24px; }
.sidebar-stack { display: grid; gap: 20px; }
.site-footer { padding: 60px 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.4); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 10px; }
.pagination-wrap { margin-top: 28px; }
.pagination-wrap .nav-links { display: flex; gap: 10px; }
@media (max-width: 1024px) {
  .hero-grid, .single-hero__grid, .two-col, .footer-grid, .cta-grid, .trust-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 12px 0; }
  .site-nav .menu { flex-wrap: wrap; gap: 12px; }
  .hero { padding-top: 46px; }
  .card-grid, .metrics-grid { grid-template-columns: 1fr; }
  .page-card, .hero-card, .cta-panel, .trust-box, .lnc-card__body { padding: 22px; }
  .container { width: min(100% - 20px, var(--container)); }
}


.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:2px; height:1px; background: var(--accent-deep); transition: right .22s ease; }
.site-nav a:hover::after, .site-nav a:focus::after { right:0; }
.hero-meta-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px; }
.hero-meta-row div { padding:16px; border-radius:20px; background: var(--surface-soft); border:1px solid var(--line); }
.hero-meta-row strong { display:block; font-size:1.35rem; }
.hero-meta-row span { color: var(--muted); font-size:13px; }
.lnc-card { transition: transform .22s ease, box-shadow .22s ease; }
.lnc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(48, 43, 41, 0.09); }
.content-rich h2 + .content-list, .content-rich p + .content-list { margin-top: -4px; }
.content-list { margin: 0 0 1.25rem; padding-left: 1.1rem; color: var(--muted); }
.content-list li + li { margin-top: 10px; }
.single-hero__media img, .lnc-card__media img { width:100%; height:100%; object-fit:cover; }
.entry-content p + p { margin-top: 1rem; }
@media (max-width: 720px) {
  .hero-meta-row { grid-template-columns:1fr; }
}


.back-nav { margin-bottom: 18px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,253,249,0.92);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.back-link:hover { transform: translateY(-1px); }
.archive-hero--compact { padding-bottom: 0; }
.single-hero--tight { padding-top: 12px; }
.lnc-card__media, .single-hero__media { background: #efe6db; border-bottom: 1px solid var(--line); }
.lnc-card__img { transition: transform .35s ease; }
.lnc-card:hover .lnc-card__img { transform: scale(1.04); }
.entry-content ul { padding-left: 1.2rem; }

.hero::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 78% 28%, rgba(223,199,163,.24), transparent 28%), radial-gradient(circle at 14% 12%, rgba(255,255,255,.64), transparent 18%); pointer-events:none; }
.hero-copy, .hero-panel { position:relative; z-index:1; }
.hero-card { background: linear-gradient(180deg, rgba(255,252,247,.95) 0%, rgba(255,250,244,.9) 100%); }
.btn-primary { box-shadow: 0 14px 32px rgba(185,145,88,.22); }
.btn-secondary:hover, .goal-chip:hover, .back-link:hover { border-color: rgba(139,115,86,.28); }
.site-nav .menu { gap: 18px; }
.site-nav a { font-size: 14px; font-weight: 500; }
.lnc-card h2, .lnc-card h3 { font-size: 1.42rem; }
.page-card h3 { font-family: Georgia, "Times New Roman", serif; }
@media (max-width: 720px) { .brand-logo { width: 190px; } }


.guide-rich .guide-content-block p { margin: 0 0 16px; }
.guide-faq-stack { display: grid; gap: 16px; }
.guide-faq-item { padding: 18px 20px; border: 1px solid rgba(46,42,40,.08); border-radius: 22px; background: rgba(255,255,255,.6); }
.guide-faq-item h3 { margin: 0 0 10px; font-size: 18px; }
.guide-cta-card { background: linear-gradient(180deg, rgba(198,169,122,.18), rgba(255,255,255,.85)); }
.guide-related-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-related-links li a { display: block; padding: 12px 14px; border: 1px solid rgba(46,42,40,.08); border-radius: 16px; color: inherit; text-decoration: none; background: rgba(255,255,255,.7); }
.guide-related-links li a:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(46,42,40,.08); }


.premium-price-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:10px; }
.premium-old-price { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.premium-price { font-size: 1.5rem; color: var(--text); }
.premium-price-row--hero .premium-price { font-size: 2rem; }
.premium-offer-band .lnc-card__body { display:grid; gap:12px; }
.premium-card .btn { width:100%; }

/* cinematic black gold backgrounds */
body {
  background: linear-gradient(180deg, #0b0b0d 0%, #131116 100%);
}
.site-header {
  background: linear-gradient(180deg, rgba(10,10,12,0.92) 0%, rgba(18,16,20,0.82) 100%);
  border-bottom-color: rgba(209,164,91,.12);
}
.site-nav a, .brand, .brand a { color: #f3ead8; }
.site-nav a::after { background: #d2a85c; }
.hero.hero--cinematic,
.section--bg,
.archive-hero[class*="archive-hero--"] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero.hero--cinematic::after,
.section--bg::after,
.archive-hero[class*="archive-hero--"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(11,10,12,.78) 100%);
  z-index: 0;
}
.hero.hero--cinematic::before,
.section--bg::before,
.archive-hero[class*="archive-hero--"]::before {
  content: "";
  position: absolute;
  inset: -24%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.03);
  z-index: -1;
  will-change: transform, background-position;
}
.hero.hero--cinematic .container,
.section--bg .container,
.archive-hero[class*="archive-hero--"] .container {
  position: relative;
  z-index: 1;
}
.hero.hero--cinematic {
  padding-top: 104px;
  padding-bottom: 84px;
}
.hero.hero--cinematic::before { background-image: url('../img/bg-home-main.png'); }
.section--mealplans::before,
.archive-hero--meal_plan::before,
.archive-hero--premium_plan::before { background-image: url('../img/bg-mealplans.jpg'); }
.section--recipes::before,
.archive-hero--recipe::before { background-image: url('../img/bg-recipes.jpg'); }
.section--exercises::before,
.archive-hero--exercise::before { background-image: url('../img/bg-exercises.png'); }
.section--workouts::before,
.archive-hero--workout_plan::before { background-image: url('../img/bg-workouts.jpg'); }
.section--guides::before,
.archive-hero--guide::before { background-image: url('../img/bg-guides.jpg'); }
.hero.hero--cinematic .eyebrow,
.section--bg .eyebrow,
.archive-hero[class*="archive-hero--"] .eyebrow {
  background: rgba(210,168,92,.16);
  color: #efc77c;
  border: 1px solid rgba(210,168,92,.18);
}
.hero.hero--cinematic h1,
.hero.hero--cinematic p,
.section--bg .section-head h2,
.archive-hero[class*="archive-hero--"] h1,
.archive-hero[class*="archive-hero--"] p {
  color: #fff7ea;
}
.section--bg .section-head,
.archive-hero[class*="archive-hero--"] {
  margin-bottom: 8px;
}
.hero.hero--cinematic .hero-card,
.section--bg .lnc-card,
.archive-page .lnc-card,
.section--bg .page-card {
  background: rgba(18, 17, 19, 0.76);
  border-color: rgba(212, 177, 110, 0.14);
  box-shadow: 0 24px 46px rgba(0,0,0,.24);
}
.section--bg .lnc-card__body,
.archive-page .lnc-card__body,
.hero.hero--cinematic .hero-card,
.section--bg .page-card {
  color: #f2eadb;
}
.hero.hero--cinematic .hero-card ul,
.section--bg p,
.archive-page .lnc-card p,
.archive-hero[class*="archive-hero--"] p {
  color: rgba(245,236,222,.82);
}
.section--bg .goal-chip,
.section--bg .lnc-pill,
.archive-page .lnc-pill,
.hero.hero--cinematic .btn-secondary,
.archive-hero .back-link {
  background: rgba(255,255,255,.06);
  border-color: rgba(212,177,110,.16);
  color: #f1e6d2;
}
.section--bg .metric-inline,
.archive-page .metric-inline,
.hero.hero--cinematic .hero-meta-row span {
  color: rgba(241,230,210,.76);
}
.hero.hero--cinematic .hero-meta-row div {
  background: rgba(255,255,255,.06);
  border-color: rgba(212,177,110,.14);
}
.hero.hero--cinematic .hero-meta-row strong { color: #fff5e5; }
.section--bg .lnc-card__media--with-title::after,
.archive-page .lnc-card__media--with-title::after {
  background: linear-gradient(180deg, rgba(14,12,12,0.12) 0%, rgba(6,6,8,0.8) 100%);
}
.archive-page .section { background: transparent; }
.archive-page .pagination-wrap .page-numbers,
.archive-page .pagination-wrap .current {
  color: #f1e6d2;
}
.site-footer {
  background: rgba(10,10,12,.9);
  border-top-color: rgba(212,177,110,.12);
}
.site-footer, .site-footer p, .site-footer li, .site-footer a, .site-footer h3 { color: #f0e6d3; }
@media (max-width: 720px) {
  .hero.hero--cinematic { padding-top: 60px; padding-bottom: 56px; }
}


/* editable background manager */
.home-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-page::before,
.home-page::after {
  display: none;
}
.home-page > * {
  position: relative;
  z-index: 1;
}
.hero.hero--cinematic::before,
.section--bg::before,
.archive-hero[class*="archive-hero--"]::before {
  transform-origin: center center;
}
.section {
  background: transparent;
}
.section.trust-strip,
.home-page .section:not(.section--bg) {
  background: transparent;
}
.section--home-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--home-main::before,
.section--home-main::after {
  content: "";
  position: absolute;
  inset: 0;
}
.section--home-main::before {
  inset: -24%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: saturate(1.05) contrast(1.03);
  z-index: -1;
}
.section--home-main::after {
  background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(11,10,12,.78) 100%);
  z-index: 0;
}
.section--home-main > .container {
  position: relative;
  z-index: 1;
}
.section--home-main + .section--bg {
  margin-top: 0;
}


/* v34 background movement + contrast tuning */
.home-page > .section .section-head h2,
.home-page > .section .section-head .eyebrow + h2 {
  color: #d8b16a;
}
.section--bg .lnc-card__media-title,
.archive-page .lnc-card__media-title,
.section--bg .lnc-card h3,
.archive-page .lnc-card h3,
.cta-panel h2 {
  color: #d8b16a;
}
.section--bg .lnc-card__body p,
.section--bg .metric-inline span,
.section--bg .lnc-card__pills .lnc-pill,
.archive-page .lnc-card__body p,
.archive-page .metric-inline span,
.archive-page .lnc-card__pills .lnc-pill,
.cta-panel p,
.cta-panel .eyebrow {
  color: #f3ddbb;
}
.section--bg .lnc-card__pills .lnc-pill,
.archive-page .lnc-card__pills .lnc-pill {
  border-color: rgba(216,177,106,.24);
}


/* v35 single cards gold contrast */
.single-entry .single-hero h1,
.single-entry .single-hero .lead,
.single-entry .single-hero .lnc-card__pills .lnc-pill,
.single-entry .single-hero .lnc-metric__label,
.single-entry .single-hero .lnc-metric__value,
.single-entry .page-card h2,
.single-entry .page-card h3,
.single-entry .page-card p,
.single-entry .page-card li,
.single-entry .page-card strong,
.single-entry .content-list,
.single-entry .guide-faq-item h3,
.single-entry .guide-faq-item p,
.single-entry .guide-related-links li a,
.single-entry .guide-cta-card p,
.single-entry .guide-cta-card h3,
.single-entry .guide-cta-card h2 {
  color: #d8b16a;
}
.single-entry .single-hero .lead,
.single-entry .page-card p,
.single-entry .page-card li,
.single-entry .content-list,
.single-entry .guide-faq-item p,
.single-entry .guide-related-links li a {
  color: #f3ddbb;
}
.single-entry .page-card,
.single-entry .guide-faq-item,
.single-entry .guide-related-links li a,
.single-entry .lnc-metric {
  background: rgba(18, 17, 19, 0.76);
  border-color: rgba(212, 177, 110, 0.14);
  box-shadow: 0 24px 46px rgba(0,0,0,.24);
}
.single-entry .lnc-metric__label { color: rgba(243,221,187,.82); }
.single-entry .lnc-metric__value { color: #d8b16a; }
.single-entry .single-hero .lnc-card__pills .lnc-pill {
  background: rgba(255,255,255,.06);
  border-color: rgba(216,177,106,.24);
}
.single-entry .guide-related-links li a:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}


/* v38 detailed exercise/workout image fit + stronger background movement */
.single-hero__media--exercise-detail,
.single-hero__media--workout-detail {
  background: radial-gradient(circle at 50% 12%, rgba(216,177,106,.12), rgba(9,9,11,.98) 64%);
  min-height: 420px;
}
.single-hero__media--exercise-detail img,
.single-hero__media--workout-detail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 18px;
  background: transparent;
}
@media (max-width: 720px) {
  .single-hero__media--exercise-detail,
  .single-hero__media--workout-detail {
    min-height: 320px;
  }
  .single-hero__media--exercise-detail img,
  .single-hero__media--workout-detail img {
    padding: 12px;
  }
}


/* v39 single media frame + visual focus picker adjustments */
.single-entry--exercise .single-hero__grid,
.single-entry--workout .single-hero__grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 380px);
}
.single-entry--exercise .single-hero__media--exercise-detail,
.single-entry--workout .single-hero__media--workout-detail {
  aspect-ratio: auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  justify-self: end;
}
.single-entry--exercise .single-hero__media--exercise-detail img,
.single-entry--workout .single-hero__media--workout-detail img {
  width: min(100%, 360px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
  padding: 0;
  border-radius: 26px;
  border: 1px solid rgba(212, 177, 110, 0.16);
  box-shadow: 0 24px 46px rgba(0,0,0,.26);
  background: rgba(10,10,12,.72);
  display: block;
}
@media (max-width: 920px) {
  .single-entry--exercise .single-hero__grid,
  .single-entry--workout .single-hero__grid {
    grid-template-columns: 1fr;
  }
  .single-entry--exercise .single-hero__media--exercise-detail,
  .single-entry--workout .single-hero__media--workout-detail {
    justify-self: stretch;
    margin-top: 8px;
  }
  .single-entry--exercise .single-hero__media--exercise-detail img,
  .single-entry--workout .single-hero__media--workout-detail img {
    width: min(100%, 420px);
    margin: 0 auto;
  }
}

/* v42 remove home gaps by using only section backgrounds */
.hero.hero--cinematic { padding-bottom: 52px; }
.section.trust-strip.section--home-main { padding-top: 28px; padding-bottom: 18px; }
.section.section--goals.section--home-main { padding-top: 18px; padding-bottom: 54px; }
.section.trust-strip.section--home-main .trust-row { margin-top: 0; }
.section.section--goals.section--home-main .section-head { margin-bottom: 18px; }


/* v43 single shared background for hero + benefits + goals */
.home-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.home-stage::before,
.home-stage::after {
  content: "";
  position: absolute;
  inset: 0;
}
.home-stage::before {
  inset: -24%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: saturate(1.05) contrast(1.03);
  z-index: -1;
}
.home-stage::after {
  background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(11,10,12,.78) 100%);
  z-index: 0;
}
.home-stage > * {
  position: relative;
  z-index: 1;
}
.home-stage .hero.hero--cinematic::before,
.home-stage .hero.hero--cinematic::after,
.home-stage .section--stage-overlay::before,
.home-stage .section--stage-overlay::after {
  display: none;
}
.home-stage .hero.hero--cinematic,
.home-stage .section--stage-overlay {
  background: transparent;
}
.home-stage .hero.hero--cinematic {
  padding-bottom: 42px;
}
.home-stage .section.trust-strip.section--stage-overlay {
  padding-top: 18px;
  padding-bottom: 18px;
}
.home-stage .section.section--goals.section--stage-overlay {
  padding-top: 14px;
  padding-bottom: 54px;
}
.home-stage .section.trust-strip .trust-row {
  margin-top: 0;
}
.home-stage .section.section--goals .section-head {
  margin-bottom: 18px;
}
.home-stage + .section--bg {
  margin-top: 0;
}


/* v45 home hero uses one shared background only */
.home-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.home-stage::before,
.home-stage::after {
  content: "";
  position: absolute;
  inset: 0;
}
.home-stage::before {
  inset: -14% 0 -8% 0;
  background-image: url('../img/bg-home-main.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: saturate(1.05) contrast(1.03);
  z-index: -1;
}
.home-stage::after {
  background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(11,10,12,.78) 100%);
  z-index: 0;
}
.home-stage > * {
  position: relative;
  z-index: 1;
}
.home-stage .hero.hero--cinematic,
.home-stage .home-stage__subsection {
  background: transparent;
}
.home-stage .hero.hero--cinematic::before,
.home-stage .hero.hero--cinematic::after,
.home-stage .home-stage__subsection::before,
.home-stage .home-stage__subsection::after {
  display: none !important;
}
.home-stage .hero.hero--cinematic {
  padding-top: 104px;
  padding-bottom: 40px;
}
.home-stage .home-stage__subsection {
  padding-top: 20px;
  padding-bottom: 20px;
}
.home-stage .section--goals.home-stage__subsection {
  padding-top: 18px;
  padding-bottom: 54px;
}
.home-stage .section-head,
.home-stage .section.section--goals .section-head {
  margin-bottom: 18px;
}
.home-stage .trust-row {
  margin-top: 0;
}
.home-stage .trust-box,
.home-stage .goal-chip {
  background: rgba(18, 17, 19, 0.64);
  border-color: rgba(212, 177, 110, 0.14);
  box-shadow: 0 24px 46px rgba(0,0,0,.24);
}
.home-stage .trust-box strong,
.home-stage .section-head h2 {
  color: #d8b16a;
}
.home-stage .trust-box span,
.home-stage .goal-chip,
.home-stage p,
.home-stage .hero-card ul {
  color: #f3ddbb;
}
.home-page > .section--bg {
  margin-top: 0;
}
.section--mealplans,
.section--recipes,
.section--exercises,
.section--workouts,
.section--guides {
  margin-top: 0;
}


/* v46 compact seamless home-stage */
.home-stage {
  margin-bottom: 0;
}
.home-stage .hero.hero--cinematic {
  padding-bottom: 10px;
}
.home-stage .home-stage__subsection {
  padding-top: 10px;
  padding-bottom: 10px;
}
.home-stage .section.trust-strip.home-stage__subsection {
  padding-top: 6px;
  padding-bottom: 6px;
}
.home-stage .section.section--goals.home-stage__subsection {
  padding-top: 6px;
  padding-bottom: 18px;
}
.home-stage .trust-row {
  gap: 14px;
}
.home-stage .section-head,
.home-stage .section.section--goals .section-head {
  margin-bottom: 12px;
}
.home-stage .hero-grid {
  row-gap: 20px;
}
.home-stage + .section--bg,
.home-page > .section--bg,
.section--mealplans,
.section--recipes,
.section--exercises,
.section--workouts,
.section--guides {
  margin-top: 0 !important;
}
@media (max-width: 920px) {
  .home-stage .hero.hero--cinematic {
    padding-bottom: 6px;
  }
  .home-stage .home-stage__subsection,
  .home-stage .section.trust-strip.home-stage__subsection,
  .home-stage .section.section--goals.home-stage__subsection {
    padding-top: 6px;
    padding-bottom: 10px;
  }
}

.archive-layout--with-filters {
  display: grid;
  grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.archive-filters {
  position: sticky;
  top: 108px;
}
.archive-filters__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 20px;
  border-radius: 28px;
  border: 1px solid rgba(209, 164, 91, 0.18);
  background: linear-gradient(180deg, rgba(12, 11, 14, 0.96) 0%, rgba(19, 16, 15, 0.94) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  height: min(760px, calc(100vh - 132px));
  max-height: min(760px, calc(100vh - 132px));
  overflow: hidden;
}
.archive-filters__head,
.archive-filter-group-grid,
.archive-results,
.archive-empty-state {
  display: grid;
  gap: 16px;
}
.archive-filters__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  flex: 1 1 auto;
}
.archive-filters__scroll {
  display: grid;
  gap: 14px;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(209, 164, 91, 0.32) rgba(255, 255, 255, 0.04);
}
.archive-filters__scroll::-webkit-scrollbar {
  width: 8px;
}
.archive-filters__scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.archive-filters__scroll::-webkit-scrollbar-thumb {
  background: rgba(209, 164, 91, 0.28);
  border-radius: 999px;
}
.archive-filters__head .eyebrow {
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(209, 164, 91, 0.12);
  border: 1px solid rgba(209, 164, 91, 0.12);
  color: rgba(228, 188, 126, 0.92);
}
.archive-filters__head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  color: #f6eee1;
}
.archive-filters__head p {
  margin: 0;
  color: rgba(246, 238, 225, 0.68);
  line-height: 1.55;
  font-size: 14px;
}
.archive-filter-group-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
.archive-filter-group {
  display: grid;
  gap: 8px;
}
.archive-filter-group label,
.archive-filters__active-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(246, 238, 225, 0.82);
}
.archive-filter-group input,
.archive-filter-group select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 16px;
  border: 1px solid rgba(209, 164, 91, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f6eee1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.archive-filter-group input::placeholder {
  color: rgba(246, 238, 225, 0.42);
}
.archive-filter-group input:focus,
.archive-filter-group select:focus {
  outline: none;
  border-color: rgba(209, 164, 91, 0.42);
  box-shadow: 0 0 0 3px rgba(209, 164, 91, 0.12);
}
.archive-filter-group select option {
  color: #171412;
}
.archive-filters__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(209, 164, 91, 0.14);
  background: linear-gradient(180deg, rgba(12, 11, 14, 0) 0%, rgba(12, 11, 14, 0.92) 24%, rgba(12, 11, 14, 0.98) 100%);
}
.archive-filters__actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}
.archive-filters__reset-btn {
  background: rgba(226, 184, 112, 0.16);
  border-color: rgba(226, 184, 112, 0.34);
  color: #ffe9c2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.archive-filters__reset-btn:hover {
  background: rgba(226, 184, 112, 0.24);
  border-color: rgba(236, 194, 124, 0.56);
  color: #fff4df;
}
.archive-filters__actions .btn[disabled],
.archive-filters__actions .btn.is-disabled {
  opacity: 0.46;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.archive-filters__active {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}
.archive-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-filters__chips .lnc-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(209, 164, 91, 0.14);
  color: rgba(246, 238, 225, 0.82);
}
.archive-results {
  min-width: 0;
}
.archive-results__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 4px;
}
.archive-results__count {
  margin: 0;
  color: rgba(246, 238, 225, 0.72);
  font-size: 15px;
}
.archive-results__reset {
  color: rgba(228, 188, 126, 0.96);
  text-decoration: none;
  font-weight: 600;
}
.archive-results__reset:hover {
  color: #f6eee1;
}
.card-grid--archive-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.archive-empty-state {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(209, 164, 91, 0.12);
  background: rgba(10, 10, 12, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.archive-empty-state h2,
.archive-empty-state p {
  margin: 0;
}
.archive-empty-state h2 {
  color: #f6eee1;
}
.archive-empty-state p {
  color: rgba(246, 238, 225, 0.68);
}
@media (max-width: 1180px) {
  .archive-layout--with-filters {
    grid-template-columns: 1fr;
  }
  .archive-filters {
    position: static;
  }
  .archive-filters__card {
    max-height: none;
  }
  .archive-filters__scroll {
    overflow: visible;
    padding-right: 0;
  }
}
@media (max-width: 720px) {
  .archive-filters__card,
  .archive-empty-state {
    padding: 20px;
    border-radius: 24px;
  }
  .archive-results__meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-grid--archive-results {
    grid-template-columns: 1fr;
  }
}


/* v19 back-navigation restore + responsive hardening */
html.lnc-scroll-restoring {
  scroll-behavior: auto !important;
}
html.lnc-scroll-restoring body {
  opacity: 0;
}
body {
  overflow-x: hidden;
}
h1, h2, h3, h4, p, .lnc-card__media-title, .metric-inline span, .archive-results__count, .archive-filter-group label {
  overflow-wrap: anywhere;
}
.lnc-card,
.lnc-card__body,
.archive-results,
.page-card,
.hero-card,
.single-hero__grid > *,
.two-col > * {
  min-width: 0;
}
.lnc-card__media-title {
  font-size: clamp(1.05rem, 1.15vw + 0.82rem, 1.38rem);
  max-width: 20ch;
}
.archive-results .lnc-card__body,
.section--guides .lnc-card__body {
  display: grid;
  gap: 12px;
}
.section--guides .lnc-card__body h3 {
  margin: 0;
}
@media (min-width: 1500px) {
  :root {
    --container: 1320px;
  }
  body {
    font-size: 17px;
  }
  .section {
    padding: 84px 0;
  }
  .card-grid {
    gap: 28px;
  }
}
@media (min-width: 2200px) {
  :root {
    --container: 1480px;
  }
  body {
    font-size: 18px;
  }
}
@media (max-width: 1200px) {
  .archive-layout--with-filters {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 24px;
  }
  .card-grid {
    gap: 20px;
  }
}
@media (max-width: 980px) {
  .header-inner {
    gap: 14px;
  }
  .site-nav .menu {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .hero,
  .archive-hero,
  .single-hero,
  .section {
    padding-top: 56px;
  }
  .hero,
  .section {
    padding-bottom: 56px;
  }
  .single-hero__grid,
  .two-col,
  .footer-grid,
  .cta-grid,
  .trust-row,
  .archive-layout--with-filters {
    grid-template-columns: 1fr;
  }
  .archive-filters {
    position: static;
  }
  .archive-filters__card {
    height: auto;
    max-height: none;
  }
  .archive-filters__scroll {
    overflow: visible;
    padding-right: 0;
  }
  .card-grid,
  .card-grid--archive-results,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 18px, var(--container));
  }
  .section,
  .hero,
  .archive-hero,
  .single-hero {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .page-card,
  .hero-card,
  .cta-panel,
  .trust-box,
  .lnc-card__body,
  .archive-filters__card,
  .archive-empty-state {
    padding: 18px;
    border-radius: 22px;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 12px 0;
  }
  .brand-logo {
    width: 176px;
  }
  .site-nav {
    width: 100%;
  }
  .site-nav .menu {
    width: 100%;
    gap: 10px 14px;
  }
  .site-nav a {
    font-size: 13px;
  }
  .hero-copy h1,
  .archive-hero h1,
  .single-hero h1,
  .page-card h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }
  .lead,
  .hero-copy p,
  .archive-hero p,
  .single-hero p {
    font-size: 15px;
  }
  .card-grid,
  .card-grid--archive-results,
  .metrics-grid,
  .hero-meta-row {
    grid-template-columns: 1fr;
  }
  .lnc-card__media-title {
    left: 14px;
    right: 14px;
    bottom: 12px;
    max-width: none;
  }
  .metric-inline {
    gap: 8px;
    font-size: 13px;
  }
  .back-link,
  .btn {
    min-height: 46px;
  }
}
