/* ===================================================================
   Awarely — Functional Nutrition
   Earthy / organic, editorial, Awwwards-leaning design system
   =================================================================== */

:root {
  --cream: #faf6ef;
  --sand: #efe7d8;
  --ink: #20281f;
  --ink-soft: #44503f;
  --muted: #6b7464;
  --sage: #5f7d5f;
  --sage-deep: #3f5a3f;
  --sage-light: #8fae8a;
  --terra: #c97b5a;
  --terra-deep: #b15f3f;
  --gold: #c9a24a;
  --line: #e4dccd;
  --white: #ffffff;

  --grad: linear-gradient(100deg, var(--sage-deep), var(--terra));
  --grad-soft: linear-gradient(135deg, #e9efe4, #f6ece2);

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --r-xl: 40px;
  --shadow: 0 24px 60px -28px rgba(40, 50, 35, .35);
  --shadow-lg: 0 40px 90px -36px rgba(40, 50, 35, .45);

  --ff-serif: "Fraunces", Georgia, serif;
  --ff-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(var(--container), 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* film grain + scroll progress */
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1000; background: var(--grad); transition: width .1s linear; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--ff-sans); font-weight: 600; font-size: .95rem;
  padding: .85em 1.4em; border-radius: 100px; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; will-change: transform; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); background: var(--sage-deep); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,.5); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-3px); background: #fff; border-color: var(--sage-light); }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--ff-sans); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--terra); }
.eyebrow--light { color: var(--sage-light); }
.eyebrow--light::before { background: var(--sage-light); }

/* ===== Announce ===== */
#announce { background: var(--ink); color: var(--cream); font-size: .82rem; position: relative; z-index: 60; }
.ann-wrap { display: flex; align-items: center; justify-content: center; gap: 1.8rem; padding: .55rem 0; flex-wrap: wrap; }
.ann-item { display: inline-flex; align-items: center; gap: .45em; opacity: .85; }
.ann-item i { color: var(--sage-light); }
.ann-link { color: var(--cream); opacity: 1; font-weight: 600; transition: color .25s; }
.ann-link:hover { color: var(--gold); }
.ann-link i:last-child { color: inherit; transition: transform .3s; }
.ann-link:hover i:last-child { transform: translateX(3px); }

/* ===== Header ===== */
#site-header { position: sticky; top: 0; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 1rem; }
#site-header.scrolled { background: rgba(250,246,239,.82); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
#site-header.scrolled .nav-wrap { padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand-mark { display: grid; place-items: center; color: var(--sage-deep); background: var(--grad-soft); width: 46px; height: 46px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.brand-name { font-family: var(--ff-serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; display: block; line-height: 1; }
.brand-sub { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nav-links { display: flex; gap: .3rem; }
.nav-links a { font-weight: 500; font-size: .92rem; color: var(--ink-soft); padding: .5rem .8rem; border-radius: 100px; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.nav-quiz { color: var(--terra-deep) !important; font-weight: 700 !important; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; font-size: 1.3rem; color: var(--ink); cursor: pointer; }
.nav-scrim { position: fixed; inset: 0; background: rgba(20,25,18,.4); opacity: 0; visibility: hidden; transition: .35s; z-index: 45; }
.nav-scrim.show { opacity: 1; visibility: visible; }

/* ===== Hero ===== */
#hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.hero-mesh { position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: 0;
  background:
    radial-gradient(40% 50% at 78% 20%, rgba(201,123,90,.22), transparent 60%),
    radial-gradient(45% 55% at 12% 70%, rgba(95,125,95,.22), transparent 60%),
    radial-gradient(40% 40% at 60% 90%, rgba(201,162,74,.14), transparent 60%); filter: blur(8px); }
.hero-spot { position: absolute; width: 540px; height: 540px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(143,174,138,.28), transparent 65%); transform: translate(-50%, -50%); transition: opacity .4s; opacity: 0; }
#hero .container { position: relative; z-index: 2; }

/* floating ingredients */
.ingredients { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ing { position: absolute; width: 46px; opacity: .92; filter: drop-shadow(0 14px 24px rgba(63,90,63,.22)); will-change: transform; }
.ing svg { width: 100%; height: auto; animation: ingFloat 7s var(--ease) infinite alternate; }
.ing-1 { top: 15%; left: 5%; width: 52px; } .ing-1 svg { animation-delay: -1s; }
.ing-2 { top: 20%; right: 7%; width: 58px; } .ing-2 svg { animation-delay: -3s; }
.ing-3 { bottom: 22%; left: 9%; width: 40px; } .ing-3 svg { animation-delay: -2s; }
.ing-4 { top: 58%; right: 13%; width: 38px; } .ing-4 svg { animation-delay: -4s; }
.ing-5 { bottom: 14%; right: 24%; width: 44px; opacity: .7; } .ing-5 svg { animation-delay: -1.5s; }
@keyframes ingFloat { from { transform: translateY(-9px) rotate(-7deg); } to { transform: translateY(11px) rotate(8deg); } }
@media (max-width: 700px) { .ingredients { display: none; } }

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5em; background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: .45em .9em; border-radius: 100px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.4rem; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(95,125,95,.18); }
#hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.4rem; }
#hero h1 em, #hero h1 i { font-style: italic; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 36ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-trust { display: flex; align-items: center; gap: 1.3rem; }
.hero-trust .t-num { font-family: var(--ff-serif); font-size: 1.5rem; font-weight: 600; color: var(--sage-deep); }
.hero-trust .t-lab { font-size: .76rem; color: var(--muted); }
.hero-trust .vr { width: 1px; height: 34px; background: var(--line); }

.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.hc-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.hc-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--sage-deep); font-size: 1.4rem; }
.hc-name { font-family: var(--ff-serif); font-weight: 600; font-size: 1.1rem; }
.hc-sub { font-size: .8rem; color: var(--muted); }
.hc-list { display: grid; gap: .85rem; margin-bottom: 1.4rem; }
.hc-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.hc-list li span { display: inline-flex; align-items: center; gap: .5em; }
.hc-list li i { color: var(--terra); }
.bar { width: 88px; height: 8px; border-radius: 100px; background: var(--sand); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; width: var(--w, 60%); border-radius: 100px; background: var(--grad); transform-origin: left; animation: grow 1.2s var(--ease) both; }
.b1 { --w: 80%; } .b2 { --w: 55%; } .b3 { --w: 68%; } .b4 { --w: 45%; } .b5 { --w: 72%; }
@keyframes grow { from { transform: scaleX(0); } }
.hc-btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .92rem; color: var(--terra-deep); }
.hc-btn i { transition: transform .3s; }
.hc-btn:hover i { transform: translateX(4px); }

.float-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .5em .9em; font-size: .82rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: .45em; z-index: 3; }
.float-chip i { color: var(--sage); }
.fc-1 { top: -18px; left: -10px; }
.fc-2 { bottom: 28%; right: -22px; }
.fc-3 { bottom: -16px; left: 14%; }

.hero-scroll { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 100px; z-index: 2; display: grid; place-items: start center; padding-top: 7px; }
.hero-scroll span { width: 4px; height: 8px; background: var(--sage); border-radius: 4px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ===== Marquee ===== */
.marquee { background: var(--ink); color: var(--cream); padding: 1.1rem 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 2; }
.marquee-track { display: inline-flex; align-items: center; gap: 1.6rem; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--ff-serif); font-style: italic; font-size: 1.5rem; font-weight: 500; opacity: .9; }
.dotsep { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Section base ===== */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; z-index: 2; }
.section--tint { background: var(--grad-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem 1.5rem; position: relative; transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.s-n { font-family: var(--ff-serif); font-size: 3rem; font-weight: 600; color: var(--sand); line-height: 1; position: absolute; top: .8rem; right: 1rem; }
.s-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); color: var(--sage-deep); font-size: 1.5rem; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* ===== Systems engine (six signals → Dr. Rachana) ===== */
.engine { position: relative; min-height: 520px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1.2rem; }
.engine-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.engine-links line { stroke: var(--sage); stroke-width: 1.5; opacity: .4; stroke-dasharray: 6 6; }
.engine-core { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.core-orb { position: relative; width: 168px; height: 168px; border-radius: 50%; padding: 7px; background: var(--grad); box-shadow: 0 24px 60px -18px rgba(63,90,63,.5); animation: corePulse 3.6s var(--ease) infinite; }
.core-orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); }
.core-tag { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; color: #fff; background: var(--ink); padding: .35em .8em; border-radius: 100px; box-shadow: var(--shadow); }
@keyframes corePulse { 50% { box-shadow: 0 24px 80px -10px rgba(63,90,63,.65); } }
.node { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; z-index: 1; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.node:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage-light); }
.node-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); color: var(--sage-deep); font-size: 1.4rem; margin-bottom: .8rem; }
.node h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.node p { font-size: .86rem; color: var(--ink-soft); }
.n1 { grid-row: 1; grid-column: 1; } .n2 { grid-row: 2; grid-column: 1; }
.n3 { grid-row: 1; grid-column: 3; } .n4 { grid-row: 2; grid-column: 3; }
.n5 { grid-row: 1; grid-column: 2; align-self: start; } .n6 { grid-row: 2; grid-column: 2; align-self: end; }

/* ===== Focus cards ===== */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.focus-card { background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.7rem; transition: transform .4s var(--ease), box-shadow .4s, background .4s; }
.focus-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); }
.f-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: var(--grad); margin-bottom: 1.2rem; box-shadow: 0 12px 24px -12px rgba(95,125,95,.6); }
.focus-card h3 { font-size: 1.4rem; margin-bottom: .55rem; }
.focus-card p { color: var(--ink-soft); font-size: .94rem; }

/* ===== QUIZ ===== */
#quiz { position: relative; }
.quiz-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 0; background: var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.quiz-aside { padding: clamp(2rem, 4vw, 3.2rem); color: var(--cream); position: relative; background:
  radial-gradient(60% 50% at 20% 10%, rgba(95,125,95,.4), transparent 60%),
  radial-gradient(50% 40% at 90% 100%, rgba(201,123,90,.35), transparent 60%), var(--ink); }
.quiz-aside h2 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.quiz-aside > p { color: rgba(250,246,239,.78); margin-bottom: 1.6rem; }
.quiz-points { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.quiz-points li { display: flex; align-items: center; gap: .6em; font-size: .92rem; color: rgba(250,246,239,.9); }
.quiz-points i { color: var(--sage-light); background: rgba(143,174,138,.16); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; }
.quiz-trust { font-size: .82rem; color: rgba(250,246,239,.7); border-top: 1px solid rgba(250,246,239,.14); padding-top: 1.2rem; }
.quiz-trust .stars { color: var(--gold); letter-spacing: 2px; margin-right: .4em; }

.quiz-card { background: var(--cream); padding: clamp(1.8rem, 3.5vw, 3rem); position: relative; display: flex; flex-direction: column; min-height: 480px; }
.quiz-progress { height: 7px; border-radius: 100px; background: var(--sand); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 20%; border-radius: 100px; background: var(--grad); transition: width .5s var(--ease); }
.quiz-meta { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: var(--muted); margin: .6rem 0 1.6rem; letter-spacing: .04em; }

.q-step { display: none; animation: qfade .45s var(--ease); }
.q-step.is-active { display: block; }
@keyframes qfade { from { opacity: 0; transform: translateY(12px); } }
.q-title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 1.3rem; }
.q-options { display: grid; gap: .7rem; }
.q-opt { display: flex; align-items: center; gap: .7em; text-align: left; font-family: var(--ff-sans); font-weight: 500; font-size: .98rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 1em 1.1em; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.q-opt i { color: var(--sage); font-size: 1.2rem; transition: color .25s; }
.q-opt:hover { border-color: var(--sage-light); transform: translateX(4px); }
.q-opt.selected { border-color: var(--sage-deep); background: var(--grad-soft); }
.q-opt.selected i { color: var(--terra-deep); }

.q-cap-sub { color: var(--ink-soft); margin-bottom: 1.3rem; font-size: .95rem; }
.q-fields { display: grid; gap: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .35rem; }
.field input { width: 100%; font-family: var(--ff-sans); font-size: 1rem; padding: .9em 1em; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color .25s; }
.field input:focus { outline: none; border-color: var(--sage); }
.q-consent { display: flex; align-items: flex-start; gap: .55em; font-size: .84rem; color: var(--ink-soft); margin: 1rem 0 1.3rem; cursor: pointer; }
.q-consent input { margin-top: .25em; accent-color: var(--sage-deep); }

.form-status { display: none; margin-bottom: .8rem; }
.form-status .loading, .form-status .error-message { display: none; font-size: .9rem; padding: .7em 1em; border-radius: var(--r-sm); }
.form-status .loading { color: var(--sage-deep); background: var(--grad-soft); }
.form-status .error-message { color: #9a3b2a; background: #f8e6df; }

.quiz-nav { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.6rem; }
.q-back { background: none; border: none; font-family: var(--ff-sans); font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: .4em; opacity: 0; pointer-events: none; transition: opacity .3s, color .25s; }
.q-back.show { opacity: 1; pointer-events: auto; }
.q-back:hover { color: var(--ink); }
.q-hint { font-size: .8rem; color: var(--muted); }

/* result */
.q-result { text-align: left; }
.result-badge { display: inline-flex; align-items: center; gap: .5em; background: var(--grad-soft); color: var(--sage-deep); font-weight: 700; font-size: .82rem; padding: .45em .9em; border-radius: 100px; margin-bottom: 1rem; }
.result-badge i { color: var(--sage); }
.result-desc { color: var(--ink-soft); margin: .4rem 0 1.3rem; }
.result-steps { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; }
.result-steps-head { font-family: var(--ff-serif); font-weight: 600; font-size: 1.05rem; margin-bottom: .8rem; }
.result-steps ul { display: grid; gap: .7rem; }
.result-steps li { display: flex; gap: .6em; font-size: .94rem; color: var(--ink-soft); }
.result-steps li::before { content: "\2713"; color: var(--terra-deep); font-weight: 700; }
.result-note { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.result-cta { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: -18px; left: -18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; display: flex; align-items: center; gap: .7em; box-shadow: var(--shadow); font-size: .82rem; color: var(--ink-soft); }
.about-badge i { font-size: 1.8rem; color: var(--gold); }
.about-content .doc-role { color: var(--terra-deep); font-weight: 600; margin: .3rem 0 1rem; }
.about-content h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.about-content .lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.6rem; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.8rem; }
.af { display: flex; gap: .7em; align-items: flex-start; }
.af i { font-size: 1.3rem; color: var(--sage-deep); background: var(--grad-soft); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.af b { display: block; font-size: .95rem; }
.af span { font-size: .82rem; color: var(--muted); }

/* ===== Stories ===== */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; transition: transform .4s var(--ease), box-shadow .4s; }
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .8rem; }
.story p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.story figcaption { display: flex; align-items: center; gap: .7em; font-size: .85rem; }
.story-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-serif); font-weight: 600; font-size: 1.2rem; color: #fff; background: var(--grad); flex-shrink: 0; }
.story figcaption b { font-family: var(--ff-serif); }
.story figcaption i { color: var(--terra); }

/* ===== CTA band ===== */
.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-inner { background: var(--ink); border-radius: var(--r-xl); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden;
  background-image: radial-gradient(50% 60% at 15% 10%, rgba(95,125,95,.4), transparent 60%), radial-gradient(50% 60% at 85% 90%, rgba(201,123,90,.35), transparent 60%); background-color: var(--ink); }
.cta-inner h2 { color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }
.cta-inner p { color: rgba(250,246,239,.8); margin-bottom: 1.8rem; max-width: 46ch; margin-inline: auto; }
.cta-inner .btn-primary { background: var(--cream); color: var(--ink); }
.cta-inner .btn-primary:hover { background: #fff; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin: 0 auto; display: grid; gap: .8rem; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.acc-item summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; font-family: var(--ff-serif); font-weight: 600; font-size: 1.12rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item .chev { color: var(--terra); transition: transform .35s var(--ease); font-size: 1.3rem; }
.acc-item[open] .chev { transform: rotate(45deg); }
.acc-body { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: .96rem; }

/* ===== Footer ===== */
#site-footer { background: var(--ink); color: rgba(250,246,239,.72); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(250,246,239,.12); }
.brand--footer .brand-name, .brand--footer { color: var(--cream); }
.brand--footer .brand-mark { color: var(--sage-light); background: rgba(143,174,138,.14); box-shadow: none; }
.brand--footer .brand-sub { color: rgba(250,246,239,.5); }
.f-brand-col p { margin: 1rem 0 1.2rem; font-size: .92rem; max-width: 38ch; }
.f-soc { display: flex; gap: .6rem; }
.f-soc a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(250,246,239,.08); color: var(--cream); font-size: 1.2rem; transition: background .3s, transform .3s; }
.f-soc a:hover { background: var(--sage-deep); transform: translateY(-3px); }
#site-footer h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 1rem; }
#site-footer ul { display: grid; gap: .6rem; }
#site-footer ul a { font-size: .92rem; display: inline-flex; align-items: center; gap: .5em; transition: color .25s; }
#site-footer ul a:hover { color: var(--cream); }
.f-cta-col p { font-size: .9rem; margin-bottom: 1rem; }
.disclaimer { font-size: .76rem; color: rgba(250,246,239,.45); padding: 1.5rem 0; line-height: 1.6; }
.footer-bottom { text-align: center; font-size: .85rem; color: rgba(250,246,239,.6); padding-top: 1.5rem; border-top: 1px solid rgba(250,246,239,.12); }
.footer-bottom strong { color: var(--cream); }

/* ===== Floating ===== */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); z-index: 40; transition: transform .3s; }
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); }
.back-to-top { position: fixed; bottom: 88px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; z-index: 40; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--ink); color: var(--cream); }
.mobile-cta { display: none; }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-top: 1rem; }
  .hero-sub { max-width: 52ch; }
  .steps { grid-template-columns: 1fr 1fr; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .quiz-shell { grid-template-columns: 1fr; }
  .quiz-aside { padding: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto 1rem; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .engine { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 1rem; min-height: 0; }
  .engine-links { display: none; }
  .engine-core { position: static; grid-column: span 2; order: -1; margin-bottom: .6rem; }
  .node { grid-column: auto !important; grid-row: auto !important; align-self: auto !important; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(82%, 340px); flex-direction: column; gap: .2rem; background: var(--cream); padding: 5rem 1.5rem 2rem; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 46; }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: .9rem 1rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn-primary { display: none; }
  .ann-hide { display: none; }
}
@media (max-width: 560px) {
  .steps, .focus-grid, .footer-grid, .about-feats, .engine { grid-template-columns: 1fr; }
  .engine-core { grid-column: auto; }
  .hero-trust { flex-wrap: wrap; gap: .8rem 1rem; }
  .hero-trust .vr { display: none; }
  .marquee-track span { font-size: 1.2rem; }
  .result-cta .btn, .hero-cta .btn { width: 100%; justify-content: center; }
  .whatsapp-float { bottom: 80px; }
  .back-to-top { bottom: 142px; }
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 41; background: rgba(250,246,239,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: .6rem; gap: .5rem; }
  .mobile-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .85em; border-radius: 100px; font-weight: 700; font-size: .9rem; }
  .m-wa { background: #fff; border: 1px solid var(--line); color: var(--ink); }
  .m-quiz { background: var(--ink); color: var(--cream); }
  body { padding-bottom: 64px; }
}

/* ===== Blog / Journal ===== */
.blog-hero { padding: clamp(3rem, 6vw, 5rem) 0 1rem; text-align: center; }
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .8rem; }
.blog-hero p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding: 2.5rem 0 4rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); }
.post-thumb { aspect-ratio: 16 / 10; background: var(--grad-soft); display: grid; place-items: center; font-size: 2.4rem; color: var(--sage-deep); }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-body h2 { font-size: 1.25rem; }
.post-body p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.post-meta { font-size: .78rem; color: var(--muted); margin-top: .4rem; }

/* article */
.article-wrap { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 0; }
.article-head { margin-bottom: 2rem; }
.article-head .eyebrow { justify-content: flex-start; }
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; margin-bottom: 1rem; }
.article-byline { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.article-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-byline b { color: var(--ink); }
.prose { font-size: 1.06rem; color: var(--ink-soft); line-height: 1.75; }
.prose h2 { font-size: 1.7rem; color: var(--ink); margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; color: var(--ink); margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.2rem 1.2rem; list-style: disc; }
.prose ul li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; }
.key-takeaways { background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.6rem; margin: 1.5rem 0 2rem; }
.key-takeaways b { display: block; font-family: var(--ff-serif); font-size: 1.1rem; margin-bottom: .6rem; }
.key-takeaways ul { margin-left: 1.2rem; list-style: none; }
.key-takeaways li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; font-size: .96rem; }
.key-takeaways li::before { content: "\2713"; position: absolute; left: 0; color: var(--terra-deep); font-weight: 700; }
.article-cta { margin-top: 2.5rem; background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: 2rem; text-align: center; }
.article-cta h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: .6rem; }
.article-cta p { color: rgba(250,246,239,.8); margin-bottom: 1.2rem; }
.article-disclaimer { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; }
.mini-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,239,.85); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.mini-header .nav-wrap { padding: .9rem 0; }
.crumbs { font-size: .82rem; color: var(--muted); padding: 1.2rem 0 0; }
.crumbs a { color: var(--terra-deep); }
@media (max-width: 880px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
