/* ============================================================================
   AyurLife — Ayurveda content portal. Design system.
   Premium editorial "wellness magazine" aesthetic. Russian-first.
   Dependency-free: gradients + inline SVG art (no remote image hotlinking).
   Rebrand in one place: tokens below + .brand wordmark in markup.
   ========================================================================== */

/* ---- Fonts (graceful fallback to system if offline) ---------------------- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* surfaces */
  --bg:        #FBF6EE;   /* warm ivory page */
  --bg-2:      #F5EBDC;   /* sand band */
  --surface:   #FFFFFF;
  --surface-2: #FCF8F1;

  /* ink */
  --ink:       #2B2620;
  --ink-soft:  #6E6457;
  --ink-faint: #9C9080;
  --line:      #EADFCC;
  --line-soft: #F1E8D8;

  /* brand accents */
  --saffron:      #E0922F;
  --saffron-deep: #BF731A;
  --terracotta:   #C0502E;
  --sage:         #6E8B63;
  --sage-deep:    #4E6A47;
  --gold:         #C9A24B;

  /* dosha palette */
  --vata:   #8B7BB4;   /* air + ether */
  --pitta:  #D96A3C;   /* fire + water */
  --kapha:  #5E8A6A;   /* earth + water */

  /* type */
  --font-display: 'Lora', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* shape */
  --r:    16px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* shadow (warm-tinted) */
  --sh-1: 0 1px 2px rgba(67,49,20,.04), 0 4px 14px rgba(67,49,20,.06);
  --sh-2: 0 6px 18px rgba(67,49,20,.08), 0 18px 50px rgba(67,49,20,.10);
  --sh-3: 0 20px 60px rgba(67,49,20,.16);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
::selection { background: var(--saffron); color: #fff; }

/* ---- Layout helpers ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--saffron-deep);
  display: inline-flex; align-items: center; gap: .55em;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow.center-line::after { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .6; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 14px; }
.section-title em { font-style: italic; color: var(--saffron-deep); }
.section-sub { color: var(--ink-soft); max-width: 560px; margin-top: 14px; font-size: 1.04rem; }
.center .section-sub { margin-inline: auto; }
.section-head { margin-bottom: 44px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-2); background: #3a342c; }
.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--terracotta) 100%);
  box-shadow: 0 8px 22px rgba(192,80,46,.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(192,80,46,.36); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--ink); padding-inline: 4px; }
.btn-ghost:hover { color: var(--saffron-deep); }
.btn-ghost .arr { transition: transform .25s var(--ease); }
.btn-ghost:hover .arr { transform: translateX(4px); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Pills / tags -------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--bg-2); color: var(--ink-soft);
}
.pill.vata  { background: rgba(139,123,180,.14); color: var(--vata); }
.pill.pitta { background: rgba(217,106,60,.14);  color: var(--pitta); }
.pill.kapha { background: rgba(94,138,106,.16);  color: var(--kapha); }
.pill.tip   { background: rgba(224,146,47,.14);  color: var(--saffron-deep); }
.pill.recipe{ background: rgba(110,139,99,.16);  color: var(--sage-deep); }

/* ============================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,246,238,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--sh-1); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.42rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); line-height: 1; }
.brand-sub { display: block; font-family: var(--font-sans); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--saffron-deep); margin-top: 3px; }

/* ---- AyurLife logo — faithful SVG recreation of the original wordmark ----
   Serif (Lora), orange "Ayur" + lime leaf as the "l" + green "ife" + "health". */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-row { display: inline-flex; align-items: flex-end; font-size: 1.72rem; }
.b-ayur, .b-ife { font-family: var(--font-display); font-weight: 600; font-size: 1em; line-height: .9; letter-spacing: 0; }
.b-ayur { color: #D86C28; }
.b-ife { color: #2FA13B; }
.logo-leaf { height: 1.55em; width: auto; margin: 0 -.06em -.06em -.07em; flex: none; align-self: flex-end; }
.logo-tag { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: .55rem; letter-spacing: .26em; text-transform: lowercase; color: #A4CE3A; margin: 1px 0 0 .4em; }
@media (max-width: 720px) { .logo-row { font-size: 1.5rem; } }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; list-style: none; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--saffron); border-radius: 2px; transition: width .25s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a::before { content: ""; }
.subnav {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); padding: 8px; min-width: 210px;
  opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s var(--ease);
}
.has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9rem; color: var(--ink-soft); }
.subnav a::after { display: none; }
.subnav a:hover { background: var(--bg-2); color: var(--ink); }
.subnav a small { display: block; font-size: .74rem; color: var(--ink-faint); font-weight: 400; }
.nav-cta { margin-left: 6px; }
/* CTA is an <a> inside .nav-links, so `.nav-links a {padding:4px 0}` wins over .btn —
   restore proper horizontal padding (and white text / no underline) just for the CTA. */
.nav-links a.nav-cta { padding: 11px 20px; color: #fff; }
.nav-links a.nav-cta::after { display: none; }
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 9vw, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(224,146,47,.20), transparent 55%),
    radial-gradient(90% 80% at 8% 92%, rgba(110,139,99,.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-orn { position: absolute; z-index: -1; opacity: .5; pointer-events: none; }
.hero-orn.o1 { top: -40px; right: -40px; width: 360px; color: var(--saffron); opacity: .16; }
.hero-orn.o2 { bottom: -70px; left: -50px; width: 300px; color: var(--sage); opacity: .14; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--saffron-deep); }
.hero-lead { margin-top: 22px; font-size: 1.16rem; color: var(--ink-soft); max-width: 520px; }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.hero-trust .l { font-size: .82rem; color: var(--ink-faint); letter-spacing: .02em; }

/* hero visual — layered botanical card */
.hero-visual { position: relative; aspect-ratio: 1/1.06; border-radius: var(--r-lg); }
.hero-card {
  position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3);
  background:
    radial-gradient(130% 120% at 30% 0%, #F6E2C0 0%, #E7B978 38%, #C8763A 78%, #9E4F2A 100%);
}
.hero-card .art-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh-2);
  display: flex; align-items: center; gap: 14px;
}
.hero-badge .ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--terracotta)); color: #fff; }
.hero-badge .ico svg { width: 24px; height: 24px; }
.hero-badge b { font-family: var(--font-display); font-size: 1.02rem; }
.hero-badge p { font-size: .84rem; color: var(--ink-soft); line-height: 1.4; }
.hero-float {
  position: absolute; top: 18px; right: 18px; max-width: calc(100% - 36px);
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-radius: var(--r-pill); box-shadow: var(--sh-2);
  padding: 11px 18px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(110,139,99,.2); flex: none; }
.hero-float span { font-size: .9rem; font-weight: 600; color: var(--ink); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Trust / value strip ------------------------------------------------- */
.strip { border-block: 1px solid var(--line); background: var(--surface-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.strip-item { display: flex; align-items: center; gap: 13px; padding: 26px 22px; border-left: 1px solid var(--line-soft); }
.strip-item:first-child { border-left: none; }
.strip-item .si-ico { width: 40px; height: 40px; flex: none; color: var(--sage-deep); }
.strip-item b { display: block; font-family: var(--font-display); font-size: 1.04rem; }
.strip-item span { font-size: .84rem; color: var(--ink-soft); }

/* ============================================================================
   CARD GRID — articles & recipes
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16/10.5; overflow: hidden; }
.card-art { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.card:hover .card-art { transform: scale(1.06); }
.card-art .art-svg { width: 100%; height: 100%; }
.card-cat { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card-fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink-soft); box-shadow: var(--sh-1); transition: .25s; }
.card-fav:hover { color: var(--terracotta); transform: scale(1.1); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.28rem; line-height: 1.24; }
.card:hover .card-title { color: var(--saffron-deep); }
.card-excerpt { margin-top: 11px; color: var(--ink-soft); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; font-size: .82rem; color: var(--ink-faint); }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card-meta .read { margin-left: auto; font-weight: 600; color: var(--saffron-deep); display: inline-flex; align-items: center; gap: 5px; }
.card-meta .read .arr { transition: transform .25s var(--ease); }
.card:hover .card-meta .read .arr { transform: translateX(4px); }

/* recipe-specific row */
.card-recipe-meta { display: flex; gap: 16px; margin-top: 12px; font-size: .82rem; color: var(--ink-soft); }
.card-recipe-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-recipe-meta svg { width: 15px; height: 15px; color: var(--sage-deep); }

/* big featured card */
.feature { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
.feature .card-media { aspect-ratio: auto; height: 100%; min-height: 340px; }
.feature .card-body { padding: 38px; justify-content: center; }
.feature .card-title { font-size: 1.95rem; }
.feature .card-excerpt { -webkit-line-clamp: 3; font-size: 1.02rem; }

/* ---- Card art gradient themes (no photos needed) ------------------------- */
.art-herbs { background: radial-gradient(120% 120% at 75% 10%, #C7DDB5 0%, #8FB57E 45%, #5E8A6A 100%); }
.art-spice { background: radial-gradient(120% 120% at 75% 10%, #F4CE8E 0%, #E0922F 48%, #B5531F 100%); }
.art-tea   { background: radial-gradient(120% 120% at 75% 10%, #F1D7B0 0%, #C99B5A 50%, #8B5E3C 100%); }
.art-milk  { background: radial-gradient(120% 120% at 75% 10%, #F6ECD8 0%, #E5C98F 50%, #C79A53 100%); }
.art-lotus { background: radial-gradient(120% 120% at 75% 10%, #F3CBD6 0%, #D98AA6 48%, #A85B80 100%); }
.art-morning { background: radial-gradient(120% 120% at 75% 10%, #FBE3B3 0%, #EFA94B 45%, #C66B2E 100%); }
.art-detox { background: radial-gradient(120% 120% at 75% 10%, #BFE0D2 0%, #79B79A 48%, #4E8268 100%); }
.art-sleep { background: radial-gradient(120% 120% at 75% 10%, #CBBEE3 0%, #9784C0 48%, #6A5797 100%); }
.art-vata  { background: radial-gradient(120% 120% at 75% 10%, #DAD2EE 0%, #A899CF 48%, #7C6BB0 100%); }
.art-pitta { background: radial-gradient(120% 120% at 75% 10%, #F6C9A8 0%, #E08A57 48%, #C0502E 100%); }
.art-kapha { background: radial-gradient(120% 120% at 75% 10%, #BFE0C2 0%, #7FB089 48%, #4E8268 100%); }

/* ============================================================================
   DOSHA section (homepage)
   ========================================================================== */
.dosha-band { background: var(--bg-2); }
.dosha-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 46px; }
.dosha-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dosha-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.dosha-card .glow { position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; filter: blur(8px); opacity: .16; }
.dosha-card .d-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 20px; }
.dosha-card .d-ico svg { width: 30px; height: 30px; }
.dosha-card h3 { font-size: 1.5rem; }
.dosha-card .d-el { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; font-weight: 600; }
.dosha-card p { margin-top: 14px; color: var(--ink-soft); font-size: .96rem; }
.dosha-card .d-traits { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.dosha-card .d-traits span { font-size: .76rem; padding: 4px 11px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-soft); }
.dosha-card.vata  .d-ico, .dosha-card.vata  .glow { background: var(--vata); }
.dosha-card.pitta .d-ico, .dosha-card.pitta .glow { background: var(--pitta); }
.dosha-card.kapha .d-ico, .dosha-card.kapha .glow { background: var(--kapha); }
.dosha-card.vata h3  { color: var(--vata); }
.dosha-card.pitta h3 { color: var(--pitta); }
.dosha-card.kapha h3 { color: var(--kapha); }

/* ============================================================================
   SERVICES / monetization band + pricing
   ========================================================================== */
.svc { position: relative; overflow: hidden; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 46px; }
.svc-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px;
  background: var(--surface); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.svc-card.featured { background: linear-gradient(165deg, #2F2A22 0%, #443A29 100%); color: #F6EEDF; border-color: transparent; position: relative; }
.svc-card.featured h3, .svc-card.featured .price { color: #fff; }
.svc-card.featured .svc-feat li { color: rgba(246,238,223,.86); }
.svc-card.featured .ribbon { position: absolute; top: 20px; right: -34px; transform: rotate(45deg); background: var(--saffron); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: 5px 40px; text-transform: uppercase; }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-2); color: var(--saffron-deep); margin-bottom: 18px; }
.svc-card.featured .svc-ico { background: rgba(255,255,255,.12); color: var(--saffron); }
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.4rem; }
.svc-card .lede { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; }
.svc-card.featured .lede { color: rgba(246,238,223,.72); }
.price { margin-top: 20px; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--ink); }
.price small { font-family: var(--font-sans); font-size: .9rem; font-weight: 500; color: var(--ink-faint); }
.svc-feat { list-style: none; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.svc-feat li { display: flex; gap: 11px; font-size: .92rem; color: var(--ink-soft); }
.svc-feat li svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 3px; }
.svc-card.featured .svc-feat li svg { color: var(--saffron); }
.svc-card .btn { margin-top: auto; }

/* ============================================================================
   NEWSLETTER
   ========================================================================== */
.news { background: linear-gradient(160deg, #2F2A22 0%, #4A3D29 100%); color: #F6EEDF; position: relative; overflow: hidden; }
.news .orn { position: absolute; opacity: .1; color: var(--saffron); }
.news .o1 { top: -40px; left: -30px; width: 240px; }
.news .o2 { bottom: -60px; right: -30px; width: 300px; }
.news-inner { position: relative; max-width: 620px; margin-inline: auto; text-align: center; }
.news .eyebrow { color: var(--saffron); }
.news h2 { color: #fff; font-size: clamp(1.8rem,3.4vw,2.6rem); margin-top: 12px; }
.news h2 em { color: var(--saffron); font-style: italic; }
.news p { color: rgba(246,238,223,.74); margin-top: 14px; }
.news-form { margin-top: 28px; display: flex; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px; border-radius: var(--r-pill); }
.news-form input { flex: 1; background: none; border: none; outline: none; color: #fff; padding: 12px 18px; font-size: .98rem; }
.news-form input::placeholder { color: rgba(246,238,223,.5); }
.news-fine { margin-top: 14px; font-size: .78rem; color: rgba(246,238,223,.5); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: #211D17; color: #C9BFAE; padding-block: 64px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer-about { margin-top: 18px; font-size: .92rem; color: #9E9582; max-width: 280px; }
.footer-social { margin-top: 20px; display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: .25s; }
.footer-social a:hover { background: var(--saffron); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .92rem; color: #B3A992; transition: color .2s; }
.footer-col a:hover { color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8A8170; }
.footer-bottom a { color: #8A8170; }
.footer-bottom a:hover { color: var(--saffron); }

/* ============================================================================
   ARTICLE / RECIPE editorial
   ========================================================================== */
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--saffron), var(--terracotta)); z-index: 100; width: 0; transition: width .1s; }
.article-hero { padding-block: 48px 36px; }
.crumbs { font-size: .84rem; color: var(--ink-faint); margin-bottom: 22px; }
.crumbs a:hover { color: var(--saffron-deep); }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 880px; margin-top: 14px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: .9rem; color: var(--ink-soft); flex-wrap: wrap; }
.article-meta .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--terracotta)); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.article-cover { aspect-ratio: 21/9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); margin-block: 36px; }
.prose { max-width: 720px; margin-inline: auto; font-size: 1.12rem; line-height: 1.82; color: #3A332B; }
.prose > * + * { margin-top: 26px; }
.prose h2 { font-size: 1.9rem; margin-top: 48px; }
.prose h3 { font-size: 1.4rem; margin-top: 36px; }
.prose p > strong { color: var(--ink); }
.prose a { color: var(--saffron-deep); text-decoration: underline; text-decoration-color: rgba(191,115,26,.35); text-underline-offset: 3px; }
.prose .lead-p { font-size: 1.28rem; line-height: 1.6; color: var(--ink); font-family: var(--font-display); }
.prose .lead-p::first-letter { font-size: 3.6rem; float: left; line-height: .82; padding: 6px 14px 0 0; color: var(--saffron-deep); font-weight: 600; }
.prose ul, .prose ol { padding-left: 26px; display: flex; flex-direction: column; gap: 12px; }
.prose blockquote { border-left: 3px solid var(--saffron); padding: 6px 0 6px 26px; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink); }
.callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; display: flex; gap: 16px; }
.callout .c-ico { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(110,139,99,.16); color: var(--sage-deep); display: grid; place-items: center; }
.callout b { font-family: var(--font-display); }
.callout p { font-size: .98rem; color: var(--ink-soft); margin-top: 4px; }

/* recipe card box */
.recipe-box { max-width: 720px; margin: 40px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.recipe-box-head { background: var(--bg-2); padding: 24px 30px; display: flex; gap: 30px; flex-wrap: wrap; }
.recipe-stat { display: flex; flex-direction: column; }
.recipe-stat .v { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.recipe-stat .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.recipe-cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; }
.recipe-ingredients { padding: 30px; border-right: 1px solid var(--line); }
.recipe-ingredients h3, .recipe-steps h3 { font-size: 1.2rem; margin-bottom: 18px; }
.recipe-ingredients ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.recipe-ingredients li { display: flex; gap: 11px; font-size: .96rem; align-items: baseline; }
.recipe-ingredients li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); flex: none; transform: translateY(-1px); }
.recipe-ingredients .aff { margin-left: auto; font-size: .76rem; color: var(--saffron-deep); white-space: nowrap; }
.recipe-steps { padding: 30px; }
.recipe-steps ol { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 20px; }
.recipe-steps li { display: flex; gap: 16px; counter-increment: step; }
.recipe-steps li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.recipe-steps li p { font-size: .98rem; }

/* ============================================================================
   ARTICLES / RECIPES listing — filter chips
   ========================================================================== */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-soft); background: var(--surface); transition: .22s; }
.chip:hover { border-color: var(--saffron); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-head { padding-block: 52px 8px; }
.page-head h1 { font-size: clamp(2.1rem,4.4vw,3.2rem); }
.page-head h1 em { font-style: italic; color: var(--saffron-deep); }
.page-head p { color: var(--ink-soft); margin-top: 12px; max-width: 560px; }

/* ============================================================================
   DOSHA TEST (quiz)
   ========================================================================== */
.quiz-wrap { max-width: 720px; margin-inline: auto; }
.quiz-progress { height: 6px; background: var(--line-soft); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 30px; }
.quiz-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--saffron), var(--terracotta)); border-radius: var(--r-pill); transition: width .4s var(--ease); }
.quiz-count { text-align: center; font-size: .86rem; color: var(--ink-faint); margin-bottom: 14px; letter-spacing: .04em; }
.quiz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--sh-1); }
.quiz-q { font-family: var(--font-display); font-size: 1.6rem; text-align: center; margin-bottom: 30px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt { text-align: left; padding: 18px 22px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface-2); font-size: 1.02rem; color: var(--ink); transition: .2s; display: flex; align-items: center; gap: 14px; }
.quiz-opt:hover { border-color: var(--saffron); background: #fff; transform: translateX(3px); }
.quiz-opt .letter { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .82rem; font-weight: 700; color: var(--ink-faint); flex: none; transition: .2s; }
.quiz-opt:hover .letter { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.quiz-back { margin-top: 22px; text-align: center; }
.quiz-back button { font-size: .88rem; color: var(--ink-faint); }
.quiz-back button:hover { color: var(--ink); }

/* result */
.result { display: none; }
.result.show { display: block; animation: fadeUp .5s var(--ease); }
.result-hero { text-align: center; max-width: 640px; margin-inline: auto; }
.result-ring { width: 130px; height: 130px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-2); }
.result-ring svg { width: 64px; height: 64px; }
.result h2 { font-size: clamp(2rem,4vw,2.8rem); }
.result .r-type { font-style: italic; }
.result .bars { max-width: 480px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 16px; }
.result .bar-row { text-align: left; }
.result .bar-row .lab { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: 7px; }
.result .bar-track { height: 12px; border-radius: var(--r-pill); background: var(--line-soft); overflow: hidden; }
.result .bar-fill { height: 100%; border-radius: var(--r-pill); width: 0; transition: width 1s var(--ease); }
.result .bar-fill.vata { background: var(--vata); } .result .bar-fill.pitta { background: var(--pitta); } .result .bar-fill.kapha { background: var(--kapha); }
.result-upsell { margin-top: 44px; background: linear-gradient(160deg, #2F2A22, #4A3D29); color: #F6EEDF; border-radius: var(--r-lg); padding: 40px; text-align: center; }
.result-upsell h3 { color: #fff; font-size: 1.7rem; }
.result-upsell p { color: rgba(246,238,223,.76); margin-top: 12px; max-width: 460px; margin-inline: auto; }
.result-upsell .btn { margin-top: 24px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================================
   SCROLL REVEAL + utilities
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.mt-0 { margin-top: 0; } .hidden { display: none !important; }

/* ============================================================================
   INJECTED PHOTOS — fill the gradient art slots (gradient stays as fallback)
   ========================================================================== */
.card-art > img,
.article-cover > img,
.hero-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-card > img { border-radius: inherit; }
/* keep hero overlay badges and card category pills above the photo */
.hero-badge, .hero-float { z-index: 2; }

/* ============================================================================
   SCROLL-TO-TOP — sage progress ring (Ayurveda take on the Riviera pattern)
   ========================================================================== */
#totop { position: fixed; right: 26px; bottom: 26px; width: 54px; height: 54px; border: 0; background: none; padding: 0; cursor: pointer; z-index: 80; opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
#totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 8px 22px rgba(67,49,20,.22)); }
.totop-ring .trk { fill: var(--surface); stroke: var(--line); stroke-width: 2.5; }
.totop-ring .prg { fill: none; stroke: var(--sage); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: 131.95; transition: stroke-dashoffset .1s linear; }
.totop-arr { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%,-50%); stroke: var(--saffron-deep); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s var(--ease), transform .25s var(--ease); }
#totop:hover .totop-arr { stroke: var(--terracotta); transform: translate(-50%,-64%); }
#totop:hover .totop-ring .prg { stroke: var(--sage-deep); }
@media (max-width: 620px) { #totop { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: none; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .dosha-grid, .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature { grid-column: span 2; }
}
/* Nav collapses to a burger earlier than the layout grids — the full row needs
   more room than the cards do, especially with the padded CTA. */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px; box-shadow: var(--sh-2);
    transform: translateY(-130%); transition: transform .35s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto; }
  body.menu-open .nav-links { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 14px 16px; }
  .nav-links a.nav-cta { padding: 14px 16px; }
  .nav-links a::after { display: none; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding-left: 16px; min-width: 0; }
  .nav-burger { display: flex; }
  .nav-cta { margin: 8px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(odd) { border-left: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature { grid-column: span 1; grid-template-columns: 1fr; }
  .feature .card-media { min-height: 220px; }
  .feature .card-body { padding: 26px; }
  .recipe-cols { grid-template-columns: 1fr; }
  .recipe-ingredients { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .quiz-card { padding: 26px; }
  .quiz-q { font-size: 1.32rem; }
  .news-form { flex-direction: column; background: none; border: none; padding: 0; }
  .news-form input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
