/* 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; }
}
