/* ===========================================================
   BodySpeaksBetter — Kanan Tandi
   Clean white theme · brand blue (per logo) + navy
   =========================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --ink: #112230;
  --ink-soft: #2b3a47;
  --muted: #5f6b76;
  --line: #e3e8ee;
  --accent: #1f86c9;          /* logo azure */
  --accent-dark: #14689f;
  --accent-soft: rgba(31, 134, 201, .12);
  --dark: #0c2740;            /* navy — buttons, footer, badge */
  --navy-soft: #13344f;
  --star: #f5a623;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(12, 39, 64, .07);
  --shadow: 0 12px 34px rgba(12, 39, 64, .11);
  --shadow-lg: 0 28px 60px rgba(12, 39, 64, .16);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Poppins", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body { margin:0; font-family:var(--font); color:var(--ink); background:var(--bg);
  line-height:1.65; font-size:17px; -webkit-font-smoothing:antialiased; }
img { max-width:100%; display:block; }
a { color:var(--accent-dark); text-decoration:none; }
a:hover { text-decoration:underline; }
h1,h2,h3,h4 { font-family:var(--display); line-height:1.18; color:var(--ink); font-weight:700; }
h1 { font-size:clamp(2rem,5vw,3.35rem); letter-spacing:-.02em; }
h2 { font-size:clamp(1.6rem,3.5vw,2.4rem); letter-spacing:-.01em; }
h3 { font-size:1.18rem; }
p { margin:0 0 1rem; }
.container { width:100%; max-width:var(--maxw); margin:0 auto; padding:0 22px; }
.section { padding:76px 0; }
.section--tight { padding:50px 0; }
.bg-alt { background:var(--bg-alt); }
.center { text-align:center; }
.eyebrow { display:inline-block; font-family:var(--display); font-weight:600; text-transform:uppercase;
  letter-spacing:.14em; font-size:.74rem; color:var(--accent-dark); margin-bottom:12px; }
.lead { font-size:1.18rem; color:var(--muted); max-width:720px; }
.center .lead { margin-left:auto; margin-right:auto; }
.muted { color:var(--muted); }

/* ---------- Buttons ---------- */
.btn { display:inline-flex; align-items:center; gap:8px; font-family:var(--display); font-weight:600;
  font-size:1rem; padding:13px 26px; border-radius:999px; border:2px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration:none; line-height:1; }
.btn:hover { text-decoration:none; transform:translateY(-2px); }
.btn svg { width:18px; height:18px; }
.btn--primary { background:var(--dark); color:#fff; box-shadow:0 10px 24px rgba(12,39,64,.22); }
.btn--primary:hover { background:#08192a; }
.btn--accent { background:var(--accent); color:#fff; box-shadow:0 10px 24px rgba(31,134,201,.3); }
.btn--accent:hover { background:var(--accent-dark); }
.btn--ghost { background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover { border-color:var(--dark); background:var(--dark); color:#fff; }
.btn--sm { padding:9px 18px; font-size:.9rem; }
.btn--block { width:100%; justify-content:center; }

/* ---------- Logo / Brand ---------- */
.brand { display:flex; align-items:center; gap:12px; color:var(--dark); text-decoration:none; }
.brand:hover { text-decoration:none; }
.brand .logo { flex:0 0 auto; line-height:0; }
.brand .logo svg { width:44px; height:44px; display:block; }
.brand .logo-img { height:72px; width:72px; border-radius:12px; display:block; object-fit:cover; }
.brand-text { display:flex; flex-direction:column; font-family:var(--display); line-height:1.02; }
.brand-text b { font-size:.7rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; opacity:.9; }
.brand-text i { font-style:normal; font-weight:800; font-size:1.12rem; letter-spacing:.05em; text-transform:uppercase; }
.site-footer .brand { color:#fff; }

/* ---------- Header ---------- */
.site-header { position:sticky; top:0; z-index:60; background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px); border-bottom:1px solid var(--line); }
.nav { display:flex; align-items:center; justify-content:space-between; height:88px; }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none; margin:0; padding:0; }
.nav-links a { font-family:var(--display); font-weight:500; font-size:.96rem; color:var(--ink-soft);
  padding:8px 14px; border-radius:8px; }
.nav-links a:hover { background:var(--bg-alt); text-decoration:none; }
.nav-links a[aria-current="page"] { color:var(--accent-dark); }
.nav-cta { display:flex; align-items:center; gap:10px; }
.nav-cta-m { display:none; }
.nav-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.2s; }

/* ---------- Hero ---------- */
.hero { position:relative; overflow:hidden; background:
  radial-gradient(900px 460px at 86% -8%, var(--accent-soft), transparent 60%),
  radial-gradient(700px 420px at -5% 110%, rgba(12,39,64,.05), transparent 55%), var(--bg); }
.hero-grid { display:grid; grid-template-columns:.88fr 1.12fr; gap:50px; align-items:center; padding:80px 0 66px; }
.hero h1 span { color:var(--accent-dark); }
.hero .lead { margin-top:6px; }
.hero-cta { display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }
.hero-stats { display:flex; gap:34px; margin-top:36px; flex-wrap:wrap; }
.hero-stats .num { font-family:var(--display); font-weight:700; font-size:1.7rem; color:var(--ink); line-height:1; }
.hero-stats .lbl { font-size:.82rem; color:var(--muted); margin-top:4px; }
.hero-photo { position:relative; order:-1; }
.hero-photo img { width:100%; border-radius:22px; box-shadow:var(--shadow-lg); aspect-ratio:3/2;
  object-fit:cover; background:var(--bg-alt); }
.hero-badge { position:absolute; bottom:18px; left:-18px; background:#fff; border-radius:14px;
  padding:12px 16px; box-shadow:var(--shadow); display:flex; align-items:center; gap:10px; }
.hero-badge b { font-family:var(--display); }
.hero-badge small { color:var(--muted); }

/* ---------- Client logo marquee ---------- */
.clients { background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:34px 0; }
.clients p { text-align:center; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:22px; }
.marquee { overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee__track { display:flex; align-items:center; gap:64px; width:max-content; animation:scroll 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state:paused; }
.marquee img { height:54px; width:auto; opacity:1; transition:transform .2s ease; }
.marquee img:hover { transform:scale(1.06); }
@keyframes scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation:none; flex-wrap:wrap; justify-content:center; row-gap:30px; width:auto; } }

/* ---------- Cards / grids ---------- */
.grid { display:grid; gap:22px; }
.grid-2 { grid-template-columns:repeat(2,1fr); }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.grid-4 { grid-template-columns:repeat(4,1fr); }
.card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:#cfdbe6; }
.ico { width:50px; height:50px; border-radius:13px; display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent-dark); margin-bottom:14px; }
.ico svg { width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.card h3 { margin:0 0 8px; }
.card p { margin:0; color:var(--muted); font-size:.96rem; }

/* ---------- Product / pricing cards ---------- */
.pcard { display:flex; flex-direction:column; }
.pcard .cat { font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:var(--accent-dark); font-weight:600; }
.pcard h3 { margin:6px 0; font-size:1.1rem; }
.pcard .desc { color:var(--muted); font-size:.92rem; flex:1; }
.pcard .price { font-family:var(--display); font-weight:700; font-size:1.35rem; color:var(--ink); margin:10px 0 16px; }
.pcard .price s { color:#9fb0bd; font-weight:500; font-size:.95rem; margin-left:6px; }
.pcard .tag { align-self:flex-start; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  background:var(--accent-soft); color:var(--accent-dark); padding:3px 9px; border-radius:6px; margin-bottom:8px; }
.tag--best { background:var(--dark); color:#fff; }

/* ---------- Split / about ---------- */
.split { display:grid; grid-template-columns:.9fr 1.1fr; gap:50px; align-items:center; }
.split img { border-radius:20px; box-shadow:var(--shadow); aspect-ratio:1/1; object-fit:cover; background:var(--bg-alt); }
.cred-list { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:12px; }
.cred-list li { display:flex; gap:12px; align-items:flex-start; }
.cred-list .ck { color:var(--accent); flex:0 0 auto; margin-top:3px; }
.cred-list .ck svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.quote-block { border-left:4px solid var(--accent); padding:8px 0 8px 22px; font-family:var(--display);
  font-style:italic; font-size:1.25rem; color:var(--ink); margin:0; }

/* ---------- Tabs ---------- */
.tabs { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:26px 0 34px; }
.tab { font-family:var(--display); font-weight:500; font-size:.92rem; padding:9px 18px; border-radius:999px;
  border:1px solid var(--line); background:#fff; color:var(--ink); cursor:pointer; }
.tab:hover { border-color:var(--accent); }
.tab.is-active { background:var(--dark); color:#fff; border-color:var(--dark); }

/* ---------- Stars ---------- */
.stars { display:inline-flex; gap:2px; color:var(--star); }
.stars svg { width:15px; height:15px; fill:currentColor; }

/* ---------- Media / podcasts ---------- */
.media-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.video { display:block; background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease; }
.video:hover { transform:translateY(-4px); box-shadow:var(--shadow); text-decoration:none; }
.video .thumb { display:block; position:relative; aspect-ratio:16/9; background:#000; }
.video .thumb img { display:block; width:100%; height:100%; object-fit:cover; opacity:.92; }
.video .play { position:absolute; inset:0; display:grid; place-items:center; }
.video .play svg { width:56px; height:56px; filter:drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.video .vbody { display:block; padding:15px 18px; }
.video h3 { font-size:1rem; margin:0 0 4px; color:var(--ink); }
.video .src { font-size:.8rem; color:var(--muted); }
.ig-cta { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px; margin-top:34px; }

/* ---------- CTA band ---------- */
.cta-band { background:var(--dark); color:#fff; border-radius:24px; padding:56px 40px; text-align:center; box-shadow:var(--shadow); }
.cta-band h2 { color:#fff; }
.cta-band p { color:rgba(255,255,255,.82); max-width:640px; margin:0 auto 24px; }

/* ---------- FAQ ---------- */
.faq { max-width:820px; margin:0 auto; }
.faq details { background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:4px 22px; margin-bottom:12px; box-shadow:var(--shadow-sm); }
.faq summary { font-family:var(--display); font-weight:600; font-size:1.04rem; cursor:pointer; padding:16px 0;
  list-style:none; display:flex; justify-content:space-between; gap:16px; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.5rem; color:var(--accent); font-weight:400; }
.faq details[open] summary::after { content:"\2013"; }
.faq details p { color:var(--muted); padding-bottom:16px; margin:0; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.field { margin-bottom:16px; }
.field label { display:block; font-family:var(--display); font-weight:600; font-size:.9rem; margin-bottom:6px; }
.field input, .field textarea { width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:var(--radius-sm);
  font:inherit; font-size:.96rem; background:#fff; color:var(--ink); }
.field input:focus, .field textarea:focus { outline:2px solid var(--accent); border-color:var(--accent); }
.contact-list { list-style:none; padding:0; margin:0; display:grid; gap:16px; }
.contact-list li { display:flex; gap:14px; align-items:flex-start; }
.contact-list .ico { flex:0 0 auto; width:42px; height:42px; margin:0; }
.contact-list .ico svg { width:20px; height:20px; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size:.85rem; color:var(--muted); padding:18px 0 0; }
.crumb a { color:var(--muted); }
.crumb a:hover { color:var(--accent-dark); }

/* ---------- Footer ---------- */
.site-footer { background:var(--dark); color:rgba(255,255,255,.78); padding:58px 0 28px; }
.site-footer a { color:rgba(255,255,255,.78); }
.site-footer a:hover { color:#fff; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:36px; }
.footer-grid h4 { color:#fff; font-size:1rem; margin:0 0 14px; }
.footer-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:9px; font-size:.92rem; }
.footer-brand p { font-size:.92rem; margin-top:14px; max-width:330px; }
.socials { display:flex; gap:10px; margin-top:16px; }
.socials a { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.1); display:grid; place-items:center; }
.socials a:hover { background:var(--accent); }
.socials svg { width:18px; height:18px; fill:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.14); margin-top:38px; padding-top:20px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.85rem; }

/* ---------- 404 ---------- */
.err { text-align:center; padding:110px 0; }
.err .code { font-family:var(--display); font-weight:800; font-size:clamp(5rem,18vw,10rem); color:var(--accent); line-height:1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-photo { max-width:420px; margin:0 auto; order:-1; }
  .split { grid-template-columns:1fr; gap:26px; }
  .split img { width:100%; max-width:100%; aspect-ratio:3/2; max-height:300px; object-fit:cover; object-position:center 22%; }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .media-grid { grid-template-columns:repeat(2,1fr); }
  .t-grid { columns:2; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .contact-grid { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  body { font-size:16px; }
  .section { padding:54px 0; }
  .nav { height:72px; }
  /* backdrop-filter makes the header a containing block for position:fixed,
     which would clamp the drawer to header height — disable it on mobile */
  .site-header { backdrop-filter:none; -webkit-backdrop-filter:none; background:#fff; }
  .brand .logo-img { height:54px; width:54px; }
  .nav-cta { display:none; }
  .nav-toggle { display:block; position:relative; z-index:80; }
  /* right slide-in drawer */
  .nav-links { position:fixed; top:0; right:0; bottom:0; left:auto; width:min(82vw,320px); transform:translateX(100%);
    flex-direction:column; align-items:stretch; gap:2px; background:#fff; padding:90px 20px 24px;
    box-shadow:var(--shadow-lg); transition:transform .25s ease; z-index:75; overflow-y:auto; }
  .nav.is-open .nav-links { transform:translateX(0); }
  .nav.is-open::before { content:""; position:fixed; inset:0; background:rgba(12,39,64,.45); z-index:74; }
  .nav-links a { padding:13px 6px; width:100%; font-size:1.05rem; border-bottom:1px solid var(--line); }
  .nav-links a[aria-current="page"] { color:var(--accent-dark); }
  .nav-cta-m { display:block; margin-top:16px; }
  .nav-cta-m a { border-bottom:0; color:#fff; }
  .nav-cta-m a:hover { color:#fff; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
  .media-grid { grid-template-columns:1fr; }
  .hero-badge { left:10px; right:10px; bottom:10px; }
  .hero-stats { gap:22px; }
  .t-grid { columns:1; }
  .footer-grid { grid-template-columns:1fr; }
  .cta-band { padding:40px 22px; }
  .container { padding:0 18px; }
  .hero-grid { padding:46px 0 40px; gap:28px; }
  .hero-cta .btn { flex:1 1 auto; justify-content:center; }
  .hero-photo { max-width:300px; }
  .hero-photo img { aspect-ratio:1/1; max-height:300px; object-position:center 20%; }
  .marquee img { height:42px; }
  .clients { padding:24px 0; }
  .crumb { padding-top:14px; }
}

/* testimonial masonry */
.t-grid { columns:3; column-gap:22px; }
.t-card { break-inside:avoid; background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; margin-bottom:22px; box-shadow:var(--shadow-sm); }
.t-card p { font-size:.96rem; margin:10px 0 12px; }
.t-card .who { font-family:var(--display); font-weight:600; font-size:.92rem; }
.t-card .when { color:var(--muted); font-size:.8rem; }

/* picture-wrapped images (webp) must still fill their container, not the 1600px attr */
picture{display:block}
.hero-photo picture,.split picture{width:100%}
.split img{width:100%;height:auto}

/* fix: .t-grid columns:3 above was overriding the responsive media queries (declared earlier). Re-assert responsive AFTER it. */
@media (max-width:960px){.t-grid{columns:2}}
@media (max-width:680px){.t-grid{columns:1}}

/* hero v7 — full-bleed dark banner: photo left, content right (matches bodyspeaksbetter.com) */
.hero{position:relative;background:#1d2531;color:#fff;overflow:hidden}
.hero-media{position:absolute;top:0;left:0;bottom:0;width:52%}
.hero-media picture{display:block;height:100%;width:100%}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:50% 26%}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,37,49,.25) 0%,rgba(29,37,49,.12) 34%,rgba(29,37,49,.82) 78%,#1d2531 100%)}
.hero-inner{position:relative;min-height:592px;display:flex;align-items:center;justify-content:flex-end}
.hero-copy{width:46%;padding:72px 0}
.hero .eyebrow{color:rgba(255,255,255,.72)}
.hero h1{color:#fff;margin:.35em 0 .15em}
.hero h1 span{color:#fff}
.hero .lead{color:rgba(255,255,255,.82)}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
.hero .btn--ghost{border-color:rgba(255,255,255,.45);color:#fff;background:transparent}
.hero .btn--ghost:hover{background:rgba(255,255,255,.12)}
.hero-stats{display:flex;gap:30px;margin-top:34px;flex-wrap:wrap}
.hero-stats .num{font-family:var(--display);font-weight:700;font-size:1.6rem;color:#fff;line-height:1}
.hero-stats .lbl{font-size:.8rem;color:rgba(255,255,255,.62);margin-top:4px}
@media (max-width:860px){
 .hero-media{position:relative;width:100%;height:320px}
 .hero-media img{object-position:50% 20%}
 .hero-media::after{background:linear-gradient(180deg,rgba(29,37,49,.06),rgba(29,37,49,.5))}
 .hero-inner{display:block;min-height:0}
 .hero-copy{width:100%;padding:30px 0 42px}
}

/* journal post cards */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.post-card{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);text-decoration:none}
.post-cat{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-dark);background:var(--accent-soft);padding:4px 10px;border-radius:999px}
.post-card h3{font-size:1.12rem;margin:14px 0 8px;color:var(--ink)}
.post-card p{font-size:.94rem;color:var(--muted);margin:0 0 14px}
.post-meta{font-size:.8rem;color:var(--muted)}
@media (max-width:960px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){.post-grid{grid-template-columns:1fr}}
