/* mindfulads.com — rebuilt from the Framer site */
:root {
  --cream-bg: #f7f5ed;
  --cream: #f2e6d0;
  --ink: #141414;
  --coral: #ed6a6f;
  --blue: #3f688c;
  --card: #202020;
  --white-ish: #faf9f0;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-bg);
  color: var(--ink);
  font-family: Poppins, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ── Header ───────────────────────────── */
.logo-top { position: absolute; top: 15px; left: 24px; z-index: 5; }
.logo-top img { width: 155px; height: auto; }
.nav {
  position: absolute; top: 15px; right: 24px; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  background: var(--ink); border-radius: 8px; padding: 6px 6px 6px 24px;
}
.nav a { text-decoration: none; color: var(--cream); font-size: 14px; }
.nav .nav-link { font-weight: 600; letter-spacing: -0.56px; }
.nav .nav-link.active { text-decoration: underline; text-underline-offset: 3px; }
.nav .nav-btn {
  font-weight: 700; border: 1.5px solid var(--cream); border-radius: 6px; padding: 6px 22px;
  transition: background .2s, color .2s;
}
.nav .nav-btn:hover { background: var(--cream); color: var(--ink); }

/* ── Shared type ──────────────────────── */
.eyebrow { font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--blue); margin: 0; text-align: center; }
.eyebrow.coral { color: var(--coral); }
.h2 { font-size: 45px; font-weight: 700; line-height: 1.2; margin: 6px 0 0; text-align: center; }
.dark .h2 { color: var(--cream); }

/* ── Hero ─────────────────────────────── */
.hero { padding-top: 84px; text-align: center; }
.hero h1 {
  font-size: 60px; line-height: 72px; letter-spacing: -0.6px; font-weight: 700;
  max-width: 900px; margin: 0 auto;
}
.hero .sub { font-size: 19.35px; line-height: 23.22px; max-width: 600px; margin: 20px auto 0; color: #000; }
.tabs { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.tab {
  width: 175px; height: 48px; border-radius: 999px; font-size: 16px; font-weight: 600; cursor: pointer;
  background: transparent; border: 1.5px solid var(--ink); color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.tab.on { background: var(--coral); color: var(--white-ish); border-color: var(--ink); }

/* Carousel */
.carousel { position: relative; height: 600px; margin-top: 30px; overflow: hidden; --base: 264px; }
.track { position: absolute; inset: 0; }
.cardx {
  position: absolute; left: 50%; top: 50%; width: var(--base);
  transition: transform .5s cubic-bezier(.3,.7,.3,1), opacity .5s;
  will-change: transform; cursor: pointer;
}
.cardx.jump { transition: none; }
.adcard { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: rgba(0,0,0,.5) 5px 5px 14.5px 0; }
.adcard .hd { display: flex; align-items: center; gap: 6px; padding: 8px; height: 44px; text-align: left; }
.adcard .hd img { width: 28px; height: 28px; border-radius: 100px; object-fit: cover; }
.adcard .hd b { display: block; font: 700 10px/12px "Helvetica Neue", Helvetica, Arial, sans-serif; color: #000; }
.adcard .hd span { display: block; font: 9px/10.8px "Helvetica Neue", Helvetica, Arial, sans-serif; color: #66676b; }
.adcard .media { aspect-ratio: 9/16; background: #111; }
.adcard video, .adcard .media img { width: 100%; height: 100%; object-fit: cover; }
.static-card { border-radius: 8px; overflow: hidden; box-shadow: rgba(0,0,0,.5) 5px 5px 14.5px 0; aspect-ratio: 264/469; background: #ddd; }
.static-card img { width: 100%; height: 100%; object-fit: cover; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: var(--cream); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.arrow.prev { left: 24px; } .arrow.next { right: 24px; }
.arrow svg { width: 20px; height: 20px; }
.mute { display: block; margin: 8px auto 0; background: none; border: 0; padding: 6px; cursor: pointer; opacity: .55; }
.mute:hover { opacity: .9; }
.mute svg { width: 28px; height: 28px; }
.mute[hidden] { display: none; }

/* Logo marquee */
.logos { padding: 50px 0 20px; display: grid; gap: 35px; }
.mq { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-in { display: flex; gap: 50px; width: max-content; animation: mq 40s linear infinite; }
.mq.rev .mq-in { animation-direction: reverse; }
.mq { --k: 1; }
.mq img { flex: none; width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k)); object-fit: contain; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Why */
.why { padding: 60px 24px 80px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 40px auto 0; }
.card-dark { background: var(--ink); border-radius: 15px; padding: 25px; color: var(--cream); min-height: 280px; }
.card-dark h3 { font-size: 22px; line-height: 26.4px; margin: 0 0 20px; }
.card-dark p { font-size: 14px; line-height: 21px; margin: 0; }

/* Results */
.results { padding: 20px 24px 100px; }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 1000px; margin: 40px auto 0; }
.stat { background: var(--ink); color: var(--cream); border-radius: 10px; padding: 30px; min-height: 180px; }
.stat b { display: block; font-size: 40px; line-height: 48px; }
.stat span { display: block; font-size: 14px; line-height: 21px; margin-top: 10px; }

/* Case studies */
.dark { background: var(--ink); color: var(--cream); }
.cases { padding: 70px 24px 60px; }
.cs-wrap { position: relative; max-width: 1000px; margin: 40px auto 0; }
.cs-view {
  height: 420px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none;
  mask-image: linear-gradient(#000 80%, transparent); -webkit-mask-image: linear-gradient(#000 80%, transparent);
}
.cs-view::-webkit-scrollbar { display: none; }
.cs {
  scroll-snap-align: start; height: 386px; display: grid;
  grid-template-columns: 225px 300px 320px; gap: 40px; align-items: start; padding-left: 55px;
}
.cs video { width: 225px; aspect-ratio: 9/14; height: auto; border-radius: 10px; background: #000; object-fit: cover; }
.cs .logo { max-width: 100%; height: auto; margin: 38px 0 22px; }
.cs p { font-size: 14px; line-height: 21px; margin: 0 0 18px; }
.cs .boxes { display: grid; gap: 14px; margin-top: 30px; }
.cs .box { border: 1px solid rgba(242,230,208,.18); border-radius: 12px; padding: 14px 22px; }
.cs .box b { display: block; font-size: 45px; line-height: 54px; }
.cs .box span { font-size: 14px; line-height: 21px; }
.dots { position: absolute; left: 0; top: 8px; display: grid; gap: 8px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(242,230,208,.35); cursor: pointer; }
.dots button.on { background: var(--cream); }
.cs-next { display: block; margin: 6px auto 0; background: none; border: 0; color: var(--cream); cursor: pointer; padding: 6px; }
.cs-next svg { width: 20px; height: 20px; }

/* Testimonials (Slack window) */
.testis { padding: 40px 24px 100px; }
.slack {
  max-width: 1000px; height: 525px; margin: 40px auto 0; background: #191e21; border-radius: 10px;
  overflow: hidden; display: grid; grid-template-columns: 250px 1fr; grid-template-rows: 60px 1fr;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif; color: #d1d2d3;
}
.slack .ws { background: #1b171c; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; padding: 0 20px; font-weight: 700; font-size: 17px; color: #fff; }
.slack .chh { border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; padding: 0 20px; font-weight: 700; font-size: 17px; color: #fff; }
.slack .side { background: #1b171c; padding: 15px 10px 30px; overflow-y: auto; }
.slack .side .lbl { display: flex; align-items: center; gap: 8px; font-size: 15px; padding: 4px 10px 8px; }
.slack .side button {
  display: block; width: 100%; text-align: left; background: none; border: 0; color: #d1d2d3;
  font: 15px/28px Lato, "Helvetica Neue", Arial, sans-serif; padding: 0 12px; border-radius: 6px; cursor: pointer;
}
.slack .side button:hover { background: rgba(255,255,255,.05); }
.slack .side button.on { background: #4b6990; color: #fff; }
.slack .side button span { opacity: .7; margin-right: 6px; }
.slack .pane { display: flex; flex-direction: column; padding: 20px; min-height: 0; }
.slack .msg { display: flex; gap: 10px; flex: 1; }
.slack .msg img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex: none; }
.slack .msg b { color: #fff; font-size: 15px; }
.slack .msg p { margin: 4px 0 10px; font-size: 15px; line-height: 22px; }
.slack .input { display: block; text-decoration: none; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #8a8b8c; }

/* Us and Them */
.us { padding: 90px 24px 60px; }
.us img { width: 100%; max-width: 1000px; height: auto; margin: 40px auto 0; }

/* Form */
.contact { padding: 40px 24px 100px; }
.formcard {
  max-width: 809px; margin: 0 auto; background: #1c1c1c; border-radius: 16px; border: 1px solid rgba(255,255,255,.08);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.formcard .fh { padding: 26px 36px 22px; }
.formcard .fh h2 { margin: 0; font-size: 17px; font-weight: 600; color: #f0f0f0; letter-spacing: -.2px; }
.formcard .fh p { margin: 3px 0 0; font-size: 13px; color: #888; }
.formcard .rule { height: 1px; background: rgba(255,255,255,.07); margin: 0 36px; }
.fgrid { padding: 26px 36px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: #aaa; letter-spacing: .01em; }
.field label i { color: var(--coral); font-weight: 600; font-style: normal; }
.field input, .field textarea {
  background: #262626; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 11px 14px;
  font-size: 14px; color: #f0f0f0; outline: none; font-family: inherit; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: rgba(237,106,111,.5); box-shadow: 0 0 0 3px rgba(237,106,111,.1); }
.field textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.err { font-size: 12px; color: var(--coral); }
.spend { display: flex; flex-wrap: wrap; gap: 6px; }
.spend button {
  background: transparent; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 7px 16px;
  font-size: 13px; color: #aaa; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.spend button.on { background: rgba(237,106,111,.12); border-color: rgba(237,106,111,.35); color: #f0f0f0; }
.spend.bad button:not(.on) { border-color: rgba(237,106,111,.4); }
.send { background: var(--coral); color: #fff; border: 0; border-radius: 8px; padding: 13px 20px; font-size: 14px; font-weight: 600; cursor: pointer; width: 100%; transition: background .2s; }
.send:hover { background: #f07e82; }
.send:disabled { background: #999; cursor: default; }
.fnote { font-size: 12px; color: #555; text-align: center; margin: 14px 0 0; }
.done { padding: 72px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.done .tick { width: 60px; height: 60px; border-radius: 50%; background: rgba(52,211,153,.1); display: grid; place-items: center; }
.done h2 { margin: 0; font-size: 22px; font-weight: 600; color: #f0f0f0; }
.done p { margin: 0; font-size: 14px; color: #888; }

/* Footer */
.footer { background: var(--ink); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { width: 124px; height: auto; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer a { color: var(--cream); text-decoration: none; font-size: 14px; }
.footer a:hover { text-decoration: underline; }

/* ── Example Work page ────────────────── */
.ew-hero { padding-top: 104px; text-align: center; }
.ew-hero h1 { font-size: 80px; line-height: 96px; margin: 0; }
.ew-hero p { font-size: 26px; line-height: 31.2px; max-width: 680px; margin: 10px auto 0; }
.filters { display: flex; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.filters button {
  width: 154px; height: 46px; border-radius: 99px; font-size: 16px; cursor: pointer;
  background: var(--cream); color: var(--ink); border: 1px solid var(--ink); transition: background .2s;
}
.filters button:hover { background: #e6dac5; }
.filters button.on { background: var(--card); color: var(--white-ish); }
.rows { max-width: 1152px; margin: 48px auto 80px; padding: 0 24px; display: grid; gap: 20px; }
.row { background: var(--card); border-radius: 15px; padding: 34px 0 34px 34px; display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 25px; }
.row[hidden] { display: none; }
.row .info { color: var(--white-ish); display: flex; flex-direction: column; justify-content: center; }
.row .info img { max-width: 225px; max-height: 60px; width: auto; height: auto; object-fit: contain; object-position: left; margin-bottom: 14px; }
.row .info p { font-size: 14px; line-height: 21px; margin: 0; }
.row .tag { align-self: flex-start; background: var(--blue); border-radius: 99px; padding: 4px 10px; font-size: 14px; margin: 20px 0 14px; }
.row .st { display: flex; align-items: baseline; gap: 4px; }
.row .st b { font-size: 28px; line-height: 39.2px; }
.row .st span { font-size: 14px; }
.strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-right: 34px; height: 440px; }
.strip::-webkit-scrollbar { display: none; }
.col { display: flex; flex-direction: column; gap: 10px; flex: none; }
.m { position: relative; border-radius: 10px; overflow: hidden; background: #111; flex: none; }
.m video, .m img { width: 100%; height: 100%; object-fit: cover; }
.m.v, .m.it { width: 247px; height: 440px; }
.m.i, .m.vs { width: 215px; height: 215px; }
.m.vl { width: 382px; height: 215px; }
.m.play { cursor: pointer; }
.m .pi {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .2s;
}
.m .pi svg { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.m.playing .pi { opacity: 0; }

/* Legal pages */
.legal { max-width: 1080px; margin: 0 auto; padding: 50px 24px 80px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.legal ol { padding-left: 20px; }

/* ── Responsive ───────────────────────── */
@media (max-width: 1100px) {
  .cs { grid-template-columns: 200px 1fr; padding-left: 40px; gap: 24px; height: auto; min-height: 386px; }
  .cs .boxes { grid-column: 2; margin-top: 0; grid-template-columns: 1fr 1fr; }
  .cs video { width: 200px; }
  .cs-view { height: 560px; }
}
@media (max-width: 900px) {
  .cards3 { grid-template-columns: 1fr; }
  .card-dark { min-height: 0; }
  .stats4 { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; padding: 28px 0 28px 24px; }
  .row .info { padding-right: 24px; }
}
@media (max-width: 700px) {
  .logo-top img { width: 110px; }
  .logo-top { top: 22px; left: 16px; }
  .nav { right: 12px; padding: 5px 5px 5px 14px; gap: 12px; }
  .nav .nav-btn { padding: 6px 12px; }
  .hero { padding-top: 96px; }
  .hero h1 { font-size: 38px; line-height: 44px; padding: 0 16px; }
  .hero .sub { font-size: 16px; line-height: 21px; padding: 0 20px; }
  .carousel { height: 470px; --base: 210px; }
  .arrow { width: 38px; height: 38px; } .arrow.prev { left: 8px; } .arrow.next { right: 8px; }
  .h2 { font-size: 32px; }
  .eyebrow { font-size: 19px; }
  .mq { --k: .75; }
  .mq-in { gap: 38px; }
  .results { padding: 20px 40px 80px; }
  .stats4 { grid-template-columns: 1fr; gap: 10px; }
  .stat { padding: 28px 28px; min-height: 148px; display: flex; flex-direction: column; justify-content: center; }
  .stat b { font-size: 40px; line-height: 48px; }
  .stat span { font-size: 15px; line-height: 22px; margin-top: 14px; }
  /* Case studies swipe sideways on phones */
  .cs-wrap { margin-left: -24px; margin-right: -24px; display: flex; flex-direction: column; }
  .cs-view {
    height: auto; display: flex; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    mask-image: none; -webkit-mask-image: none;
  }
  .cs { flex: 0 0 100%; grid-template-columns: 1fr; padding: 0 40px; height: auto; min-height: 0; gap: 0; }
  .dots {
    order: 2; position: static; display: flex; justify-content: center; gap: 12px;
    width: max-content; margin: 28px auto 0; padding: 10px 14px; border-radius: 999px; background: #0c0c0c;
  }
  .dots button { width: 9px; height: 9px; background: rgba(242,230,208,.3); }
  .dots button.on { background: #fff; }
  .cs-next { display: none; }
  .cs video { width: 100%; }
  .cs .logo { margin: 36px 0 26px; max-height: 48px; max-width: 100%; width: auto; }
  .cs p { font-size: 15px; line-height: 22px; margin-bottom: 18px; }
  .cs .boxes { grid-column: 1; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .cs .box { padding: 18px 20px; }
  .cs .box b { font-size: 26px; line-height: 34px; }
  .cs .box span { display: block; margin-top: 6px; }
  .slack { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; height: auto; min-height: 520px; }
  .slack .ws { display: none; }
  .slack .side { order: 1; display: flex; gap: 6px; overflow-x: auto; padding: 10px; }
  .slack .side .lbl { display: none; }
  .slack .side button { width: auto; white-space: nowrap; flex: none; }
  .slack .chh { order: 2; height: 52px; }
  .slack .pane { order: 3; }
  .fgrid { grid-template-columns: 1fr; padding: 22px 20px 28px; }
  .formcard .fh { padding: 22px 20px 18px; } .formcard .rule { margin: 0 20px; }
  .ew-hero h1 { font-size: 48px; line-height: 56px; }
  .ew-hero p { font-size: 18px; line-height: 24px; padding: 0 16px; }
  .filters button { width: 76px; height: 40px; font-size: 14px; }
  .rows { padding: 0 12px; }
  .strip { height: 360px; }
  .m.v, .m.it { width: 202px; height: 360px; }
  .m.i, .m.vs { width: 175px; height: 175px; }
  .m.vl { width: 311px; height: 175px; }
  .footer { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-in { animation: none; }
  .cardx { transition: none; }
}

/* ── Blog ─────────────────────────────
   Layout matches whitelisters.com/blog; colours are Mindful's.
   Everything is scoped to .mb-page so it can't leak into the rest of the site. */
.mb-page {
  --b-ink: #141414;
  --b-paper: #ffffff;
  --b-tan: #efeadc;
  --b-line: #e6e0d0;
  --b-muted: #6b675e;
  --b-soft: #3d3a35;
  --b-prose: #24221f;
  --b-faint: #b9b2a3;
  --b-accent: #ed6a6f;
  --b-blue: #3f688c;
  --b-blue-hover: #345877;
  background: var(--cream-bg);
  color: var(--b-ink);
  isolation: isolate;
  overflow-x: clip;
}
.mb-page a { color: inherit; text-decoration: none; }
.mb-page .nav a { color: var(--cream); }
.mb-page .nav .nav-btn:hover { color: var(--ink); }
.mb-page a:hover { color: var(--b-accent); }
.mb-page h1, .mb-page h2, .mb-page h3 { font-weight: 700; color: inherit; }

/* Page frame */
.mb { max-width: 1344px; margin: 0 auto; box-sizing: border-box; padding: 92px clamp(16px, 4vw, 48px) 40px; }
.mb-post { max-width: 1240px; }

/* Shared bits */
.mb-label, .mb-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.mb-label { color: var(--b-blue); letter-spacing: .16em; }
.mb-page .mb-kicker { color: var(--b-accent); }
.mb-page .mb-kicker:hover { color: var(--b-ink); }
.mb-dotkicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--b-faint); }
.mb-dotkicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--b-accent); flex-shrink: 0; }
.mb-page .mb-underline { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

.mb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; box-sizing: border-box; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.mb-btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; gap: 10px; }
.mb-page a.mb-btn-ink { background: var(--b-ink); color: var(--b-paper); }
.mb-page a.mb-btn-ink:hover { background: #000; color: var(--b-paper); }
.mb-page a.mb-btn-blue { background: var(--b-accent); color: #fff; }
.mb-page a.mb-btn-blue:hover { background: #e0565c; color: #fff; }
.mb-page a.mb-btn-ghost { border: 1.5px solid rgba(242,230,208,.45); color: var(--cream); }
.mb-page a.mb-btn-ghost:hover { border-color: var(--cream); color: var(--cream); }

.mb-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: var(--b-line); color: var(--b-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.mb-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mb-avatar-md { width: 48px; height: 48px; font-size: 14px; }
.mb-avatar-lg { width: 88px; height: 88px; font-size: 20px; }

.mb-crumbs { font-size: 14px; color: rgba(242,230,208,.6); }
.mb-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mb-crumbs li + li::before { content: "/"; margin-right: 8px; }
.mb-page .mb-crumbs a:hover { color: #fff; }

.mb-draft { margin: 0 0 20px; padding: 10px 16px; border-radius: 12px; background: #fff4e5; border: 1px solid #e8a33d; font-size: 14px; color: var(--b-ink); }
.mb-more { margin: 40px 0 0; font-size: 16px; color: var(--b-muted); }

/* Covers: real image or a typographic placeholder in the same 1200×630 frame */
.mb-cover-img { width: 100%; height: 100%; object-fit: cover; }
.mb-cover-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mb-cover-ph-light { background-color: var(--b-tan); background-image: radial-gradient(rgba(20,20,20,.08) 1px, transparent 1px); background-size: 14px 14px; color: var(--b-muted); }
.mb-cover-ph-dark { background-color: var(--b-ink); background-image: radial-gradient(rgba(242,230,208,.09) 1px, transparent 1px); background-size: 16px 16px; color: var(--b-faint); font-size: 12px; letter-spacing: .16em; }

/* ---------- Index ---------- */
.mb-hero { padding: 56px 0 34px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; color: #fff; }
.mb-hero-copy { flex: 1 1 100%; min-width: 0; }
.mb-hero .mb-label { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(63,104,140,.32); color: #b9d3ea; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.mb-hero .mb-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6fa0cc; box-shadow: 0 0 0 4px rgba(111,160,204,.25); }
.mb-hero h1 { margin: 22px 0 0; font-size: clamp(34px, 4.3vw, 64px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; color: #fff; }
.mb-hero p { margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 680px; }

.mb-topics { padding: 22px 0 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.mb-page .mb-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; box-sizing: border-box; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(20,20,20,.5); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mb-page .mb-chip:hover { background: rgba(20,20,20,.8); color: #fff; }
.mb-page .mb-chip[aria-current] { background: #fff; border-color: #fff; color: var(--b-ink); }

.mb-featured { margin-top: 64px; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 90px -40px rgba(20,20,20,.6); }
.mb-featured-cover { display: block; position: relative; aspect-ratio: 1200 / 630; background: var(--b-paper); border-bottom: 1px solid var(--b-line); }
.mb-featured-cover .mb-cover-img { display: block; }
.mb-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--b-accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mb-featured-body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; box-sizing: border-box; padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 40px); }
.mb-featured-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mb-featured-kickers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mb-featured-body h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.03em; }
.mb-featured-text p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--b-soft); max-width: 60ch; }
.mb-featured-side { flex: 0 1 auto; min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.mb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--b-muted); }
.mb-byline > span:not(.mb-avatar) { min-width: 0; flex: 1 1 0; }
.mb-byline strong { color: var(--b-ink); }

.mb-section { margin-top: 72px; }
.mb-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.mb-section-head > span, .mb-section-head p { margin: 0; font-size: 15px; color: var(--b-muted); }
.mb-section-head p { margin-top: 8px; }
.mb-section-head-ruled { border-bottom: 1px solid var(--b-ink); padding-bottom: 16px; }
.mb-section h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; }

.mb-guides { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mb-guide { display: flex; flex-direction: column; gap: 14px; min-height: 220px; box-sizing: border-box; padding: 26px; border-radius: 20px; background: #fff;
  border: 1px solid var(--b-line); box-shadow: 0 30px 60px -44px rgba(20,20,20,.35); }
.mb-page .mb-guide:hover { color: var(--b-ink); border-color: var(--b-ink); }
.mb-guide-num { font-size: 28px; font-weight: 500; color: var(--b-accent); font-variant-numeric: tabular-nums; }
.mb-guide-title { font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.mb-guide-blurb { margin-top: auto; font-size: 15px; color: var(--b-muted); }

.mb-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 40px 28px; }
.mb-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mb-card-cover { display: flex; aspect-ratio: 1200 / 630; border-radius: 16px; overflow: hidden; border: 1px solid var(--b-line); box-sizing: border-box; }
.mb-card h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.mb-card > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--b-soft); }
.mb-card-meta { font-size: 13px; color: var(--b-muted); }

/* Closing CTA (index + article) */
.mb-cta { box-sizing: border-box; padding: clamp(48px, 6vw, 88px) clamp(16px, 4vw, 48px); }
.mb-cta-inner { max-width: 1344px; margin: 0 auto; box-sizing: border-box; border-radius: 28px; background: var(--b-ink); color: var(--cream); padding: clamp(28px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px; }
.mb-cta-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; }
.mb-cta h2 { margin: 16px 0 0; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -.045em; max-width: 640px; }
.mb-cta-copy > p { margin: 16px 0 0; font-size: 17px; line-height: 1.5; color: var(--b-faint); max-width: 520px; }
.mb-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.mb-cta-panel { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 20px; border: 1px solid #3a3733; }
.mb-cta-panel p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--b-faint); }
.mb-cta-panel strong { display: block; font-size: 40px; line-height: 1.1; letter-spacing: -.03em; color: var(--cream); }

/* ---------- Article ---------- */
.mb-article-head { padding: 40px 0 32px; max-width: 900px; color: #fff; }
.mb-article-head h1 { margin: 14px 0 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; color: #fff; }
.mb-page .mb-article-head .mb-kicker { color: #ff9a9e; }
.mb-page .mb-article-head .mb-kicker:hover, .mb-page .mb-article-head a:hover { color: #fff; }
.mb-dek { margin: 20px 0 0; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 760px; }
.mb-meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14px; color: rgba(255,255,255,.8); }
.mb-meta-author { display: flex; align-items: center; gap: 12px; }
.mb-meta-author > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.mb-meta-author strong { color: #fff; font-size: 15px; }

.mb-hero-figure { margin: 0; }
.mb-hero-figure img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 24px; box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 90px -40px rgba(20,20,20,.75); }
.mb-hero-figure figcaption, .mb-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--b-muted); }

.mb-layout { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.mb-hero-figure + .mb-layout { margin-top: 48px; }
.mb-main { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.mb-rail { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .mb-rail { position: sticky; top: 24px; } }

.mb-takeaways { border-radius: 20px; background: #fff; border: 1px solid var(--b-line); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 60px -44px rgba(20,20,20,.35); }
.mb-takeaways h2 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--b-muted); }
.mb-takeaways ul { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.55; }

/* Article body */
.mb-prose { margin-top: 40px; }
.mb-prose h2 { margin: 56px 0 16px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; scroll-margin-top: 24px; }
.mb-prose h3 { margin: 32px 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.mb-prose h4 { margin: 24px 0 8px; font-size: 18px; }
.mb-prose p, .mb-prose li { font-size: 18px; line-height: 1.7; color: var(--b-prose); }
.mb-prose p { margin: 0 0 20px; }
.mb-prose ol, .mb-prose ul { margin: 0 0 20px; padding-left: 24px; }
.mb-prose li { margin-bottom: 8px; }
.mb-prose strong { color: var(--b-ink); }
.mb-prose a { color: var(--b-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.mb-ads { margin: 12px 0 30px; }
.mb-ads-row { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mb-ads-1 .mb-ads-row { grid-template-columns: minmax(0, 300px); justify-content: center; }
.mb-ads-2 .mb-ads-row { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.mb-ads video { width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; object-fit: cover; display: block; }
.mb-ads figcaption, .mb-prose figure figcaption { font-size: 14px; color: var(--b-muted); margin-top: 10px; text-align: center; }
@media (max-width: 560px) { .mb-ads-3 .mb-ads-row { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; } .mb-ads-3 video { scroll-snap-align: start; } }
.mb-prose figure { margin: 8px 0 28px; }
.mb-prose figure img { display: block; margin: 0 auto; max-width: 100%; max-height: 640px; width: auto; height: auto; border-radius: 16px; border: 1px solid var(--b-line); box-sizing: border-box; }
.mb-prose blockquote { margin: 8px 0 28px; padding: 4px 0 4px 22px; border-left: 3px solid var(--b-accent); }
.mb-prose blockquote p { font-size: 20px; color: var(--b-ink); margin: 0; }
.mb-prose code { font-size: .88em; background: rgba(20,20,20,.06); padding: 2px 6px; border-radius: 5px; }
.mb-prose pre { margin: 8px 0 28px; background: var(--b-ink); color: var(--cream); padding: 18px 20px; border-radius: 16px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.mb-prose pre code { background: none; padding: 0; }
.mb-prose hr { border: 0; border-top: 1px solid var(--b-line); margin: 40px 0; }

.mb-prose .table { margin: 8px 0 28px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--b-line); background: #fff; }
.mb-prose table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.mb-prose th, .mb-prose td { text-align: left; vertical-align: top; padding: 14px 18px; }
.mb-prose th { font-weight: 700; }
.mb-prose thead tr { background: var(--b-ink); color: var(--cream); }
.mb-prose tbody tr + tr { border-top: 1px solid var(--b-tan); }

.mb-inline-cta { margin: 40px 0; box-sizing: border-box; border-radius: 22px; background: var(--b-ink); color: var(--cream); padding: 26px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.mb-inline-cta-copy { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; }
.mb-inline-cta .mb-dotkicker { font-size: 11px; }
.mb-inline-cta strong { margin-top: 10px; font-weight: 700; font-size: 24px; line-height: 1.12; letter-spacing: -.035em; color: var(--cream); }
.mb-prose .mb-inline-cta a { text-decoration: none; }

.mb-faq { margin-top: 56px; }
.mb-faq > h2 { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; scroll-margin-top: 24px; }
.mb-faq-list { border-top: 1px solid var(--b-ink); }
.mb-faq details { border-bottom: 1px solid var(--b-ink); padding: 20px 0; }
.mb-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-weight: 700; font-size: 19px; line-height: 1.35; }
.mb-faq summary::-webkit-details-marker { display: none; }
.mb-faq summary svg { flex-shrink: 0; }
.mb-faq details[open] .mb-faq-plus { display: none; }
.mb-faq details p { margin: 10px 0 0; font-size: 17px; line-height: 1.65; color: var(--b-prose); }

.mb-author { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 22px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--b-line); scroll-margin-top: 24px; }
.mb-author > div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mb-author h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.mb-author p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--b-soft); }

.mb-toc { padding: 24px; border-radius: 20px; border: 1px solid var(--b-line); background: #fff; box-shadow: 0 30px 60px -44px rgba(20,20,20,.35); }
.mb-toc h2 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--b-muted); }
.mb-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; font-size: 15px; }
.mb-toc a { display: block; padding: 8px 0 8px 15px; line-height: 1.4; }
.mb-page .mb-toc a[aria-current] { padding-left: 12px; border-left: 3px solid var(--b-accent); font-weight: 700; }

.mb-railcta { padding: 26px; border-radius: 20px; background: var(--b-ink); color: var(--cream); display: flex; flex-direction: column; gap: 12px; }
.mb-railcta strong { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.mb-railcta > span { font-size: 15px; color: var(--b-faint); }
.mb-railcta .mb-btn { margin-top: 6px; }

.mb-related { margin-top: 80px; border-top: 1px solid var(--b-ink); padding-top: 32px; }
.mb-grid-related { margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.mb-grid-related .mb-card { gap: 10px; }
.mb-grid-related .mb-card h3 { font-size: 21px; }

/* Dark header band: nav, title and filters sit on Mindful ink; the featured post / takeaways overlap its bottom edge */
.mb-index .mb-topics, .mb-post .mb-article-head { position: relative; }
.mb-index .mb-topics::before, .mb-post .mb-article-head::before {
  content: ""; position: absolute; z-index: -1; left: -100vw; right: -100vw; top: -1400px; bottom: -120px; pointer-events: none;
  background: var(--ink);
}
.mb-post .mb-article-head::before { bottom: -250px; }
/* Whatever follows the filters must clear the colour band; only the featured post overlaps it */
.mb-results:not([hidden]) { margin-top: 176px; }
.mb-page .nav { box-shadow: 0 0 0 1px rgba(242,230,208,.18); }

@media (max-width: 600px) {
  .mb-layout { gap: 40px; }
  .mb-author { padding: 24px; }
  .mb-btn { white-space: normal; text-align: center; }
}
@media (max-width: 420px) {
  .logo-top img { width: 92px; }
  .nav { gap: 9px; padding: 4px 4px 4px 11px; }
  .nav a { font-size: 12px; }
  .nav .nav-btn { padding: 6px 9px; }
}

/* Static ad images inside a post: [[statics ...]] */
.mb-statics .mb-static { position: relative; }
.mb-statics .mb-static img { display: block; width: 100%; height: auto; max-height: none; margin: 0; border-radius: 14px; border: 1px solid var(--b-line); background: var(--b-tan); }
.mb-statics .mb-static span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--b-muted); text-align: left; }
