/* ==========================================================================
   Jai Bhattal — Online Fitness & Nutrition Coach
   Theme: warm cream + deep olive, editorial serif headings, refined hovers
   ========================================================================== */

:root {
  color-scheme: light;

  /* Colour tokens */
  --cream: #f2f0ea;
  --cream-2: #e9e7e2;
  --cream-3: #eeece7;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #2b2a25;
  --ink-soft: #4a4841;
  --muted: #6b6a5e;
  --line: #ddd7cb;
  --line-soft: #e6e1d7;
  --olive: #5f604f;
  --olive-deep: #4a4b3d;
  --olive-ink: #3a3b30;
  --bronze: #6e5537;
  --sand: #cfc6b4;
  --danger: #a4462f;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: 16px;
  --header-h: 84px;
  --section-y: clamp(72px, 9vw, 120px);
  --radius: 4px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-hover: 0 22px 50px -28px rgba(43, 42, 37, 0.45);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
em { font-style: italic; }

::selection { background: var(--olive); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--olive); color: var(--cream); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}

.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons (fill-sweep hover) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .45s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary::before { background: var(--ink); }

.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { color: var(--cream); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light::before { background: var(--white); }

.btn-line-light { background: transparent; color: var(--cream); border-color: rgba(242, 240, 234, 0.75); }
.btn-line-light::before { background: var(--cream); }
.btn-line-light:hover, .btn-line-light:focus-visible { color: var(--ink); border-color: var(--cream); }

.btn-sm { min-height: 44px; padding: 12px 20px; font-size: 12px; }
.btn-lg { min-height: 56px; }
.btn-block { width: 100%; }

/* Text link with sliding arrow */
.arrow { display: inline-block; transition: transform .35s var(--ease); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s ease;
  white-space: nowrap;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--bronze); }
.link-arrow:hover .arrow, a:hover > .arrow, a:hover .arrow { transform: translateX(5px); }

/* ---------- Announcement ---------- */
.announce {
  background: var(--olive); color: var(--cream);
  text-align: center; font-size: 13px; letter-spacing: 0.06em;
  padding: 9px var(--gutter);
}
.announce a {
  font-weight: 600; border-bottom: 1px solid rgba(242, 240, 234, 0.45);
  transition: border-color .3s ease;
}
.announce a:hover { border-color: var(--cream); }
.announce-sep { margin: 0 10px; opacity: .6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 240, 234, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(43,42,37,.35); }
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}

.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; justify-self: center; }
.brand-name {
  font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: 0.01em;
  transition: color .3s ease;
}
.brand-tag {
  margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.brand:hover .brand-name { color: var(--olive); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; padding: 6px 0;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 30px; }

.nav-toggle {
  display: none; justify-self: end;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: background-color .3s ease, border-color .3s ease;
}
.nav-toggle:hover { background: var(--cream-2); border-color: var(--sand); }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 28px;
  flex-direction: column;
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.mobile-nav a:not(.btn) {
  font-family: var(--serif); font-size: 28px; line-height: 1.2;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  transition: color .3s ease, padding-left .35s var(--ease);
}
.mobile-nav a:not(.btn):hover { color: var(--olive); padding-left: 8px; }
.mobile-nav .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 18px 0 0; }
.hero-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: var(--radius-lg);
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(52, 53, 43, 0.97) 0%, rgba(68, 69, 56, 0.9) 42%, rgba(74, 75, 61, 0.55) 72%, rgba(74, 75, 61, 0.3) 100%),
    url("../img/photos/hero-food.jpg") right center / cover no-repeat,
    var(--olive-deep);
}
.hero-card::after {
  /* fine grain for a photographic feel */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }

.hero-kicker {
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(242, 240, 234, 0.85);
}
.hero-title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.01em;
}
.hero-title em { font-weight: 400; display: inline-block; }
.hero-sub {
  margin-top: 24px; max-width: 32em;
  font-size: clamp(16px, 1.4vw, 18px); font-weight: 300; color: rgba(242, 240, 234, 0.9);
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-trust {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242, 240, 234, 0.85);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 16px; height: 16px; }

/* Sample-day card */
.hero-visual { padding: 44px 6px; }
.day-card {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: 6px; padding: 26px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.hero-visual:hover .day-card { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.6); }
.day-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.day-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
.day-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-top: 4px; }
.tag {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px;
  border: 1px solid var(--sand); font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ink-soft);
}
.meals { list-style: none; padding: 0; margin: 20px 0 0; }
.meals li {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line-soft);
  transition: background-color .3s ease, padding-left .35s var(--ease);
}
.meals li:hover { padding-left: 6px; }
.meal-time { grid-row: span 2; align-self: center; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--olive); }
.meal-name { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.meal-food { font-size: 16px; font-weight: 500; }
.day-foot { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }

.float-chip {
  position: absolute; z-index: 2;
  padding: 10px 18px; border-radius: 99px;
  background: var(--cream); color: var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
  animation: bob 7s ease-in-out infinite;
}
.float-chip strong { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--olive); margin-right: 3px; }
.chip-a { top: 0; left: -14px; }
.chip-b { bottom: 0; right: -6px; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust strip (like an "as seen in" row) */
.trust-strip {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 30px 4px 32px; border-bottom: 1px solid var(--line); text-align: center;
}
.trust-label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trust-names {
  list-style: none; padding: 0; margin: 0; width: 100%;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px;
}
.trust-names li {
  font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--ink-soft);
  transition: color .3s ease; cursor: default;
}
.trust-names li:hover { color: var(--olive); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--cream-2); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head > div { max-width: 820px; }
.section h2, .hero-title { text-wrap: balance; }
.kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze);
  margin-bottom: 14px;
}
.section h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.005em;
}
.section h2 em { font-weight: 400; }
.lead { font-size: 17px; font-weight: 300; color: var(--muted); max-width: 30em; }
.section-head .lead { margin-bottom: 6px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease, background-color .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--sand); }
.card h3 { font-family: var(--serif); font-size: 30px; line-height: 1.12; }
.card p { margin-top: 12px; color: var(--muted); font-weight: 400; }

/* Rules */
.card.rule { padding: 0; overflow: hidden; }
.rule-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-2); }
.rule-img img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9);
  transition: transform .9s var(--ease), filter .6s ease;
}
.rule:hover .rule-img img { transform: scale(1.06); filter: saturate(1.05); }
.rule-body { padding: 24px 30px 32px; }
.rule-num {
  display: block; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1;
  color: var(--sand); margin-bottom: 12px;
  transition: color .4s ease, transform .5s var(--ease);
}
.rule:hover .rule-num { color: var(--bronze); transform: translateX(6px); }
.pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  padding: 5px 13px; border: 1px solid var(--sand); border-radius: 99px;
  font-size: 13px; color: var(--ink-soft);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.rule:hover .pills li { border-color: var(--olive); }
.pills li:hover { background: var(--olive); color: var(--cream); border-color: var(--olive); }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 36px 28px 8px 0;
  border-right: 1px solid var(--line);
  transition: background-color .4s ease;
}
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--sand); margin-bottom: 26px;
  font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--olive);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .5s var(--ease);
}
.step:hover .step-num { background: var(--olive); border-color: var(--olive); color: var(--cream); transform: rotate(-8deg) scale(1.06); }
.step h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 40px 32px 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.plan::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--olive);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--sand); }
.plan:hover::before { transform: scaleX(1); }
.plan-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
.plan-duration { font-family: var(--serif); font-size: 40px; line-height: 1.1; margin-top: 8px; }
.plan-price { margin-top: 18px; font-family: var(--serif); font-size: 60px; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.plan-month { margin-top: 10px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.save {
  display: inline-block; padding: 3px 11px; border-radius: 99px;
  background: var(--cream-2); color: var(--olive-ink); border: 1px solid var(--sand);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
}
.plan-desc { margin-top: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; flex: 1; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .55;
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 5px; height: 8px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}

.plan-featured { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.plan-featured::before { background: var(--cream); }
.plan-featured:hover { border-color: var(--olive); box-shadow: 0 30px 60px -30px rgba(58, 59, 48, 0.8); }
.plan-featured .plan-tag { color: var(--sand); }
.plan-featured .plan-month, .plan-featured .plan-desc { color: rgba(242, 240, 234, 0.82); }
.plan-featured .plan-desc { border-color: rgba(242, 240, 234, 0.2); }
.plan-featured .save { background: rgba(242, 240, 234, 0.12); color: var(--cream); border-color: rgba(242, 240, 234, 0.35); }
.plan-badge {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 12px; border-radius: 99px; background: var(--cream); color: var(--olive-ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

.plans-note {
  margin-top: 26px; display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; color: var(--muted);
}
.plans-note .icon { color: var(--bronze); margin-top: 3px; }
.plans-note strong { color: var(--ink); font-weight: 600; }

/* Results */
.result { display: flex; flex-direction: column; }
.result-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin: 0 !important; }
.result-big {
  margin-top: 20px !important; color: var(--ink) !important;
  font-family: var(--serif); font-size: clamp(72px, 7vw, 96px); line-height: 0.95; font-weight: 500;
  transition: color .4s ease;
}
.result-big span { font-size: 0.4em; font-style: italic; margin-left: 4px; color: var(--muted); }
.result-journey { margin-top: auto !important; padding-top: 18px; color: var(--ink) !important; font-weight: 500; font-size: 17px; }
.result:hover .result-big { color: var(--olive) !important; }
.result-link { background: var(--cream); border-style: dashed; border-color: var(--sand); }
.result-link .result-big { font-style: italic; }
.result-link:hover { background: var(--olive); border-color: var(--olive); border-style: solid; }
.result-link:hover .result-kicker, .result-link:hover .result-big, .result-link:hover .result-journey { color: var(--cream) !important; }

.fine-print { margin-top: 26px; font-size: 13.5px; color: var(--muted); max-width: 60em; }

/* Specialties (image-style cards) */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
.spec h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-top: 4px; transition: color .3s ease; }
.spec p:not(.spec-cat) { margin-top: 8px; color: var(--muted); font-size: 16px; }
.spec-cat { margin-top: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.spec-art {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  display: grid; place-items: center;
  transition: background-color .5s ease;
}
.spec-art svg { width: 72px; height: 72px; color: var(--olive); transition: transform .7s var(--ease), color .5s ease; }
.spec-art::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(95, 96, 79, 0.22); border-radius: 2px;
  transition: inset .5s var(--ease), border-color .5s ease;
}
.tint-1 { background: #e3ddd1; }
.tint-2 { background: #dcdccf; }
.tint-3 { background: #e7ddd2; }
.spec:hover .spec-art { background: var(--olive); }
.spec:hover .spec-art svg { transform: scale(1.18) rotate(-4deg); color: var(--cream); }
.spec:hover .spec-art::after { inset: 22px; border-color: rgba(242, 240, 234, 0.35); }
.spec:hover h3 { color: var(--olive); }

/* About: Jai's intro video + story */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "video head" "video copy"; grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px); align-items: start;
}
.about-video { grid-area: video; justify-self: center; align-self: center; width: 100%; max-width: 350px; padding-right: 22px; box-sizing: content-box; }
.about-head { grid-area: head; }
.about-copy { grid-area: copy; }
.about-video .story-frame {
  aspect-ratio: 464 / 848; border-radius: var(--radius-lg);
  box-shadow: 22px 22px 0 0 var(--olive), 0 30px 60px -40px rgba(43, 42, 37, 0.7);
}
.story.about-video:hover .story-frame {
  transform: translate(-4px, -6px);
  box-shadow: 30px 30px 0 0 var(--olive-deep), 0 40px 70px -40px rgba(43, 42, 37, 0.8);
}
.story.about-video figcaption { margin-top: 42px; text-align: center; }
.about-video .story-play { width: 78px; height: 78px; }
.about-video .story-play .icon { width: 28px; height: 28px; }
/* subtitles: brand font, readable on the red curtain */
.about-video video::cue { font-family: var(--sans); font-size: 15px; line-height: 1.35; background: rgba(43, 42, 37, 0.82); color: #fff; }

.about-copy > p { color: var(--muted); margin-top: 18px; font-size: 17px; }
.about-copy > p:first-child { margin-top: 26px; }

.about-timeline {
  list-style: none; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.about-timeline li { position: relative; display: grid; align-content: start; gap: 8px; }
.about-timeline li::before {
  content: ""; position: absolute; left: 0; top: -31px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bronze); box-shadow: 0 0 0 4px var(--cream);
  transition: transform .4s var(--ease), background-color .3s ease;
}
.tl-when {
  font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); line-height: 1; color: var(--ink);
  font-variant-numeric: lining-nums; transition: color .3s ease, transform .4s var(--ease);
}
.tl-what { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.about-timeline li:hover::before { transform: scale(1.6); background: var(--olive); }
.about-timeline li:hover .tl-when { color: var(--olive); transform: translateY(-3px); }

.about-vision {
  position: relative; overflow: hidden; margin: 34px 0 0; padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg); color: var(--cream);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(242, 240, 234, 0.14), transparent 55%),
    linear-gradient(150deg, var(--olive) 0%, var(--olive-ink) 100%);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.about-vision:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.quote-mark { width: 30px; height: 30px; color: var(--sand); }
.about-vision p { margin-top: 12px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.18; }
.about-vision p em { font-weight: 400; }
.about-vision .nw { white-space: nowrap; }
.about-vision footer { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); }
.about-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .about-grid { grid-template-areas: "head" "video" "copy"; grid-template-rows: none; }
  .story.about-video { max-width: 300px; margin-top: 36px; padding-right: 16px; align-self: start; }
  .about-video .story-frame { box-shadow: 16px 16px 0 0 var(--olive), 0 30px 60px -40px rgba(43, 42, 37, 0.7); }
  .story.about-video figcaption { margin-top: 34px; }
}

/* Reels */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.reel {
  position: relative; display: flex; flex-direction: column;
  min-height: 250px; padding: 30px 30px 84px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: background-color .5s ease, border-color .5s ease, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reel-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); transition: color .4s ease; }
.reel h3 { margin-top: 12px; font-family: var(--serif); font-size: 29px; line-height: 1.12; transition: color .4s ease; }
.reel p { margin-top: 10px; color: var(--muted); font-size: 16px; transition: color .4s ease; }
.reel-play {
  position: absolute; left: 30px; bottom: 26px;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--sand); color: var(--olive);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .5s var(--ease);
}
.reel-play .icon { width: 14px; height: 14px; margin-left: 2px; }
a.reel:hover { background: var(--olive); border-color: var(--olive); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
a.reel:hover .reel-tag { color: var(--sand); }
a.reel:hover h3 { color: var(--cream); }
a.reel:hover p { color: rgba(242, 240, 234, 0.8); }
a.reel:hover .reel-play { background: var(--cream); border-color: var(--cream); color: var(--olive); transform: scale(1.12); }

/* Certificates (shop-grid style) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  min-height: 40px; padding: 8px 18px; border-radius: 99px;
  background: transparent; border: 1px solid var(--sand); color: var(--ink-soft);
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.filter:hover { border-color: var(--olive); color: var(--olive); }
.filter.is-active { background: var(--olive); border-color: var(--olive); color: var(--cream); }

.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; }
.cert {
  display: flex; flex-direction: column; text-align: left;
  padding: 0; background: none; border: 0; cursor: zoom-in;
}
.cert-frame {
  position: relative; overflow: hidden; display: block;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line-soft);
}
.cert-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .8s var(--ease), filter .5s ease;
}
.cert-view {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px);
  padding: 7px 16px; border-radius: 99px; background: var(--ink); color: var(--cream);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; transition: opacity .35s ease, transform .45s var(--ease);
}
.cert:hover .cert-frame img { transform: scale(1.06); filter: brightness(0.92); }
.cert:hover .cert-view, .cert:focus-visible .cert-view { opacity: 1; transform: translate(-50%, 0); }
.cert-title { margin-top: 16px; font-size: 16px; font-weight: 500; line-height: 1.35; transition: color .3s ease; }
.cert-meta { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.cert:hover .cert-title { color: var(--olive); }
.cert[hidden] { display: none; }

/* Lightbox */
.lightbox {
  width: min(100% - 24px, 1100px); max-height: 92vh;
  padding: 0; border: 0; border-radius: 6px;
  background: var(--paper); color: var(--ink);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(43, 42, 37, 0.78); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; padding: 18px; }
.lightbox img { width: 100%; max-height: calc(92vh - 110px); object-fit: contain; background: var(--white); }
.lightbox figcaption { padding: 14px 4px 4px; color: var(--muted); font-size: 15px; }
.lightbox figcaption strong { color: var(--ink); font-weight: 600; }
.lb-close, .lb-nav {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line); cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.lb-close { top: -16px; right: -16px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: -23px; }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: -23px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .lead { margin-top: 18px; margin-bottom: 22px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  font-family: var(--serif); font-size: 25px; line-height: 1.25; font-weight: 500;
  transition: color .3s ease, padding-left .4s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--sand);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.faq summary:hover { color: var(--olive); padding-left: 6px; }
.faq summary:hover::after { border-color: var(--olive); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--olive); color: var(--cream); border-color: var(--olive); }
.faq details p { padding: 0 60px 26px 0; color: var(--muted); }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy .lead { margin-top: 18px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.contact-list a {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .35s ease, padding .4s var(--ease), color .3s ease;
}
.contact-list .icon { width: 20px; height: 20px; color: var(--olive); }
.contact-list span:not(.arrow) { display: flex; flex-direction: column; line-height: 1.35; color: var(--muted); font-size: 16px; word-break: break-word; flex: 1; }
.contact-list strong { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-list .arrow { color: var(--olive); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .4s var(--ease); }
.contact-list a:hover { background: var(--paper); padding-left: 14px; padding-right: 14px; }
.contact-list a:hover .arrow { opacity: 1; transform: none; }

.form {
  display: grid; gap: 20px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
}
.form-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding: 0;
}
.field legend { margin-bottom: 10px; }
.field label.chip, .unit-toggle label { text-transform: none; letter-spacing: 0.01em; font-weight: 400; color: inherit; }
.req { color: var(--bronze); }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px; border-radius: 2px;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-size: 16px;
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.field input:not([type="radio"]):hover, .field select:hover, .field textarea:hover { border-color: var(--sand); background: var(--white); }
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235f604f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 42px;
}
.field input::placeholder, .field textarea::placeholder { color: #9b968b; }
.field input:not([type="radio"]):focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive); background: var(--white); box-shadow: 0 0 0 3px rgba(95, 96, 79, 0.15);
}
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; }
.field-error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border-radius: 99px;
  border: 1px solid var(--sand); color: var(--ink-soft); font-size: 15px;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.chip:hover span { border-color: var(--olive); color: var(--olive); }
.chip input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; align-items: start; }
.footer-brand .brand { align-items: flex-start; }
.footer-tag { margin-top: 18px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.footer-col a {
  font-size: 16px; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s ease;
  word-break: break-word;
}
.footer-col a:hover { background-size: 100% 1px; color: var(--olive); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  font-size: 13px; color: var(--muted);
}
.footer-bottom p:last-child { max-width: 46em; }

/* Calculator */
.calc {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 80px -60px rgba(43, 42, 37, 0.55);
}
.calc-form { background: var(--paper); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 22px; align-content: start; }
.field-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.unit-toggle { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--cream-2); border: 1px solid var(--line-soft); }
.unit-toggle label { position: relative; cursor: pointer; }
.unit-toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.unit-toggle span {
  display: inline-block; padding: 4px 12px; border-radius: 99px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted);
  transition: background-color .3s ease, color .3s ease;
}
.unit-toggle label:hover span { color: var(--ink); }
.unit-toggle input:checked + span { background: var(--olive); color: var(--cream); }
.unit-toggle input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 1px; }

.calc-result {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3.5vw, 44px);
  color: var(--cream);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(242, 240, 234, 0.14), transparent 55%),
    linear-gradient(160deg, var(--olive) 0%, var(--olive-ink) 100%);
}
.calc-empty { height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.calc-empty-icon { width: 54px; height: 54px; color: var(--sand); opacity: .9; }
.calc-empty-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.calc-empty-text { max-width: 24em; color: rgba(242, 240, 234, 0.8); font-weight: 300; }
.calc-out[hidden], .calc-empty[hidden] { display: none; }
.calc-out { animation: fade .5s ease both; }

.calc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }
.calc-big { margin-top: 8px; font-family: var(--serif); font-size: clamp(64px, 7vw, 92px); line-height: 1; font-weight: 500; }
.calc-big small { font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0.06em; margin-left: 10px; color: rgba(242, 240, 234, 0.8); }
.calc-sub { margin-top: 10px; font-size: 15px; color: rgba(242, 240, 234, 0.8); }
.calc-sub strong { color: var(--cream); font-weight: 600; }

.calc-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-stat {
  padding: 16px 18px; border-radius: 6px;
  border: 1px solid rgba(242, 240, 234, 0.2); background: rgba(242, 240, 234, 0.05);
  transition: background-color .35s ease, border-color .35s ease, transform .4s var(--ease);
}
.calc-stat:hover { background: rgba(242, 240, 234, 0.12); border-color: rgba(242, 240, 234, 0.4); transform: translateY(-3px); }
.calc-stat-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); }
.calc-stat-val { margin-top: 6px; font-family: var(--serif); font-size: 34px; line-height: 1.05; font-weight: 500; }
.calc-stat-note { margin-top: 4px; font-size: 13px; color: rgba(242, 240, 234, 0.75); }

.bmi { margin-top: 24px; }
.bmi-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.bmi-head strong { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-left: 6px; }
.bmi-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; background: rgba(242, 240, 234, 0.14); }
.bmi-bar { position: relative; margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.bmi-bar .seg { height: 8px; border-radius: 99px; }
.bmi-bar .s1 { background: #b9bba6; }
.bmi-bar .s2 { background: #c8d4a0; }
.bmi-bar .s3 { background: #e5c88a; }
.bmi-bar .s4 { background: #dc9f86; }
.bmi-marker {
  position: absolute; top: 50%; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--olive-ink); box-shadow: 0 0 0 2px var(--cream);
  transform: translate(-50%, -50%); transition: left .6s var(--ease);
}
.bmi-scale { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11.5px; color: rgba(242, 240, 234, 0.7); }
.bmi-scale span { text-align: center; }

.foods { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(242, 240, 234, 0.2); }
.foods-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); }
.foods-title span { text-transform: none; letter-spacing: 0.02em; font-weight: 400; opacity: .8; margin-left: 4px; }
.foods ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.foods li {
  display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; color: rgba(242, 240, 234, 0.9);
  transition: color .3s ease;
}
.foods li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(242, 240, 234, 0.35); transform: translateY(-4px); }
.foods li b { order: 2; font-weight: 600; color: var(--cream); white-space: nowrap; }
.foods li:hover { color: var(--cream); }

.calc-note { margin-top: 18px; font-size: 13.5px; color: rgba(242, 240, 234, 0.85); padding: 12px 14px; border-radius: 6px; background: rgba(0, 0, 0, 0.15); }
.calc-note[hidden] { display: none; }
#calc-wa { margin-top: 24px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--olive); color: var(--cream);
  box-shadow: 0 16px 36px -14px rgba(43, 42, 37, 0.6);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity .35s ease, transform .4s var(--ease), background-color .3s ease;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--ink); transform: scale(1.08); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-card { animation: rise 1s var(--ease) both; }
.trust-strip { animation: fade 1.2s .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Touch devices: no sticky hover states on cards */
@media (hover: none) {
  .card:hover, .plan:hover, a.reel:hover, .about-vision:hover { transform: none; box-shadow: none; }
  .about-timeline li:hover::before { transform: none; background: var(--bronze); }
  .about-timeline li:hover .tl-when { transform: none; color: var(--ink); }
  a.reel:hover { background: var(--paper); border-color: var(--line-soft); }
  a.reel:hover .reel-tag { color: var(--bronze); }
  a.reel:hover h3 { color: var(--ink); }
  a.reel:hover p { color: var(--muted); }
  .spec:hover .spec-art { background: inherit; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav, .nav-right .nav { gap: 20px; }
  .nav-right { gap: 20px; }
  .nav a { letter-spacing: 0.12em; }
}

@media (max-width: 1140px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .brand { justify-self: start; align-items: flex-start; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-card {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(52, 53, 43, 0.95) 0%, rgba(68, 69, 56, 0.88) 55%, rgba(74, 75, 61, 0.6) 100%),
      url("../img/photos/hero-food.jpg") center bottom / cover no-repeat,
      var(--olive-deep);
  }
  .hero-visual { max-width: 460px; width: 100%; }
  .grid-3, .plans, .reels { grid-template-columns: 1fr 1fr; }
  .plans .plan-featured { grid-column: 1 / -1; }
  .specs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; }
  .step, .step + .step { padding: 28px 22px 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-empty { min-height: 260px; }
  .faq-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-names { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .announce { font-size: 12px; padding: 8px 12px; }
  .announce-sep { display: none; }
  .announce a { display: inline-block; margin-top: 2px; }
  .brand-name { font-size: 27px; }
  .brand-tag { font-size: 9px; letter-spacing: 0.28em; }
  .hero { padding-top: 10px; }
  .hero-card { padding: 40px 22px 30px; border-radius: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 10px 18px; margin-top: 28px; }
  .hero-visual { padding: 44px 0 40px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
  .day-card { padding: 22px 20px; }
  .trust-strip { padding: 26px 0; gap: 12px; }
  .trust-names { gap: 4px 18px; }
  .trust-names li { font-size: 18px; }
  .grid-3, .plans, .reels, .specs { grid-template-columns: 1fr; }
  .grid-3, .plans, .reels { gap: 16px; }
  .specs { gap: 14px; }
  .spec {
    display: grid; grid-template-columns: 92px 1fr; column-gap: 18px; align-items: start;
    padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
  }
  .spec:last-child { border-bottom: 0; }
  .spec-art { grid-row: span 3; aspect-ratio: 1; }
  .spec-art svg { width: 38px; height: 38px; }
  .spec-art::after { inset: 7px; }
  .spec-cat { margin-top: 2px; }
  .spec h3 { font-size: 24px; }
  .spec p:not(.spec-cat) { font-size: 15px; margin-top: 4px; }
  .section-head { margin-bottom: 30px; }
  .card { padding: 28px 24px; }
  .card h3 { font-size: 27px; }
  .rule-body { padding: 22px 24px 26px; }
  .plan { padding: 34px 24px 26px; }
  .plan-price { font-size: 54px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(even) { padding: 24px 0; border-left: 0; }
  .step-num { margin-bottom: 16px; }
  .reel { min-height: 0; padding: 26px 24px 80px; }
  .reel h3 { font-size: 26px; }
  .reel-play { left: 24px; bottom: 22px; }
  .certs { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .cert-title { font-size: 14.5px; margin-top: 12px; }
  .cert-meta { font-size: 12.5px; }
  .cert-view { display: none; }
  .faq summary { font-size: 22px; padding: 20px 0; }
  .faq details p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .unit-ft.field-row { grid-template-columns: 1fr 1fr; }
  .calc-grid { gap: 10px; }
  .calc-stat { padding: 14px; }
  .calc-stat-val { font-size: 28px; }
  .foods ul { grid-template-columns: 1fr; }
  .bmi-scale { font-size: 10.5px; }
  .about-timeline { gap: 12px; }
  .tl-what { font-size: 12.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 8px; right: 8px; }
  .lightbox figure { padding: 12px; }
  .wa-float { right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
  .certs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Consultation form buttons */
.form-actions { display: grid; gap: 10px; }

/* ==========================================================================
   Myths & facts cards (no external links)
   ========================================================================== */
.reel p strong { color: var(--ink); font-weight: 600; transition: color .4s ease; }
.reel:not(a) { padding-bottom: 30px; }
.reel-more {
  position: absolute; left: 30px; bottom: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive);
  transition: color .4s ease;
}
a.reel:hover p strong, a.reel:hover .reel-more { color: var(--cream); }
a.reel:hover .reel-more .arrow { transform: translateX(5px); }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 48px); }
.blog-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6.5vw, 84px); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.blog-hero h1 em { font-weight: 400; }
.blog-hero .lead { margin-top: 18px; }

.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; padding-bottom: var(--section-y); }
.post-card { display: flex; flex-direction: column; }
.post-card-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--cream-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform .9s var(--ease), filter .6s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); filter: saturate(1.05); }
.post-meta { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.post-meta span { color: var(--muted); font-weight: 500; }
.post-card h2 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.12; transition: color .3s ease; }
.post-card:hover h2 { color: var(--olive); }
.post-card .post-excerpt { margin-top: 10px; color: var(--muted); }
.post-card .link-arrow { margin-top: 16px; align-self: flex-start; }
.post-card:hover .link-arrow { background-size: 100% 1px; color: var(--bronze); }
.post-card:hover .link-arrow .arrow { transform: translateX(5px); }

.blog-cta {
  margin-bottom: var(--section-y);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: var(--cream);
  background: radial-gradient(90% 90% at 100% 0%, rgba(242, 240, 234, 0.14), transparent 55%), linear-gradient(150deg, var(--olive), var(--olive-ink));
}
.blog-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; }
.blog-cta p { margin-top: 8px; color: rgba(242, 240, 234, 0.85); }

/* Article */
.article { padding: clamp(40px, 6vw, 72px) 0 0; }
.article-wrap { width: min(100% - (var(--gutter) * 2), 760px); margin-inline: auto; }
.crumbs { font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--ink); border-bottom: 1px solid var(--line); transition: color .3s ease, border-color .3s ease; }
.crumbs a:hover { color: var(--olive); border-color: var(--olive); }
.article h1 { margin-top: 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
.article h1 em { font-weight: 400; }
.article-dek { margin-top: 18px; font-size: clamp(18px, 1.8vw, 21px); font-weight: 300; color: var(--ink-soft); line-height: 1.55; }
.article-meta { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.article-hero { margin: 32px auto 0; width: min(100% - (var(--gutter) * 2), 1040px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: clamp(36px, 5vw, 56px) 0 0; font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.article-body > * + * { margin-top: 20px; }
.article-body h2 { margin-top: 44px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 36px); line-height: 1.12; color: var(--ink); }
.article-body h3 { margin-top: 28px; font-size: 19px; font-weight: 600; color: var(--ink); }
.article-body a:not(.btn) { color: var(--olive); border-bottom: 1px solid var(--sand); transition: border-color .3s ease; }
.article-body a:not(.btn):hover { border-color: var(--olive); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.article-body th { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.article-body td:last-child, .article-body th:last-child { text-align: right; white-space: nowrap; }
.article-body tbody tr { transition: background-color .3s ease; }
.article-body tbody tr:hover { background: var(--paper); }
.table-note { font-size: 14px; color: var(--muted); }
.takeaways {
  padding: 26px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--olive);
}
.takeaways p.takeaways-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.takeaways ul { margin-top: 12px; }
.article-cta {
  margin-top: 48px !important; padding: 30px; border-radius: var(--radius-lg); color: var(--cream);
  background: radial-gradient(90% 90% at 100% 0%, rgba(242, 240, 234, 0.14), transparent 55%), linear-gradient(150deg, var(--olive), var(--olive-ink));
}
.article-cta h2 { margin: 0 !important; color: var(--cream) !important; font-size: clamp(28px, 3vw, 34px) !important; }
.article-cta p { margin-top: 10px; color: rgba(242, 240, 234, 0.85); font-size: 17px; }
.article-cta .cta-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.sources { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.sources p.sources-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.sources ol { margin-top: 12px; color: var(--muted); }
.article-note { font-size: 14px; color: var(--muted); }
.more-posts { padding: var(--section-y) 0; }
.more-posts .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 0; }
.nav a.is-current::after { transform: scaleX(1); }

@media (max-width: 960px) {
  .more-posts .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .posts, .more-posts .posts { grid-template-columns: 1fr; gap: 34px; }
  .reel-more { left: 24px; bottom: 24px; }
  .reel:not(a) { padding-bottom: 26px; }
  .article-body { font-size: 17px; }
  .article-hero { aspect-ratio: 4 / 3; border-radius: 12px; }
  .takeaways, .article-cta { padding: 22px; }
  .article-body table { font-size: 14.5px; }
  .article-body th, .article-body td { padding: 10px 6px; }
}

/* ==========================================================================
   Client video stories (Results section)
   ========================================================================== */
.stories { margin-top: clamp(48px, 6vw, 72px); }
.stories-head { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.stories-head h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.08; }
.stories-head h3 em { font-weight: 400; }
.stories-head p { margin-top: 8px; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 28px; }
.story { margin: 0; }
.story-frame {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 14px;
  background: var(--olive-ink); box-shadow: 0 30px 60px -40px rgba(43, 42, 37, 0.7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.story-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.story-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(43, 42, 37, 0.45), transparent 35%);
  transition: opacity .4s ease;
}
.story-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(242, 240, 234, 0.95); color: var(--olive);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform .4s var(--ease), background-color .3s ease, color .3s ease;
}
.story-play .icon { width: 24px; height: 24px; margin-left: 3px; }
.story-length {
  position: absolute; right: 12px; top: 12px; z-index: 2; padding: 3px 10px; border-radius: 99px;
  background: rgba(43, 42, 37, 0.7); color: var(--cream); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.story:hover .story-frame { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(43, 42, 37, 0.8); }
.story:hover .story-play { transform: translate(-50%, -50%) scale(1.1); background: var(--olive); color: var(--cream); }
.story.is-playing .story-play, .story.is-playing .story-length, .story.is-playing .story-frame::after { opacity: 0; pointer-events: none; }
.story figcaption { margin-top: 16px; display: grid; gap: 4px; }
.story-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.story figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--ink); }
.story figcaption span:last-child { font-size: 15px; color: var(--muted); }

@media (max-width: 960px) {
  .story-grid { gap: 18px; }
}
@media (max-width: 640px) {
  /* swipeable row on phones */
  .story-grid {
    display: flex; justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .story-grid::-webkit-scrollbar { display: none; }
  .story { flex: 0 0 72%; scroll-snap-align: center; }
  .story figcaption strong { font-size: 21px; }
}

/* ==========================================================================
   Plans: 4 plans in a 2x2 grid, "every plan includes" strip
   ========================================================================== */
#plans .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-includes {
  list-style: none; padding: 16px 20px; margin: 0 0 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.plan-includes li { position: relative; font-size: 15px; color: var(--ink-soft); padding-left: 24px; }
.plan-includes li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -8px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23f2f0ea' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.plan-includes li:first-child { padding-left: 0; }
.plan-includes li:first-child::before { display: none; }
.plan-includes-title { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.plan-meta { margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.plan-featured .plan-meta { color: rgba(242, 240, 234, 0.75); }
.plan:not(.plan-featured) .plan-badge { background: var(--olive); color: var(--cream); }
.plans-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.plans-foot .plans-note { margin: 0; flex: 1 1 520px; }

/* Free meal plan download */
.freebie {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line-soft);
}
.freebie-cover { position: relative; display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(43, 42, 37, 0.6); }
.freebie-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.freebie-cover:hover img { transform: scale(1.04); }
.freebie-badge {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 99px;
  background: var(--olive); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.freebie-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
.freebie-copy h3 em { font-weight: 400; }
.freebie-copy > p:not(.kicker) { margin-top: 12px; color: var(--muted); }
.freebie-copy .checks { margin: 18px 0 24px; }
.freebie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .plans .plan-featured { grid-column: auto; }
  .freebie { grid-template-columns: 1fr; }
  .freebie-cover { max-width: 420px; }
}
@media (max-width: 640px) {
  #plans .plans { grid-template-columns: 1fr; }
  .plan-includes { gap: 8px 18px; }
  .freebie-actions .btn { width: 100%; }
}


/* ==========================================================================
   Statement line (after the hero) and the moving text band (after Results)
   ========================================================================== */
.statement { padding: clamp(80px, 11vw, 150px) 0 clamp(16px, 3vw, 40px); }
.statement-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.statement-text {
  margin-top: 22px; max-width: 19em;
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.08; color: var(--ink);
}
.statement-text em { font-weight: 400; color: var(--olive); }

.band { overflow: hidden; padding: clamp(28px, 4vw, 48px) 0; background: var(--olive-ink); color: var(--cream); }
.band-row { display: flex; width: max-content; }
.band-row span {
  display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); line-height: 1.05;
}
.band-row span i { font-style: normal; font-size: 0.4em; color: var(--sand); }
.band-row.outline span { color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 234, 0.55); font-style: italic; }
