/* ==========================================================================
   ClickMagnets — layout overrides & polish (loads after brand.css)
   ========================================================================== */

body.cm-brand .pillars-v2,
body.cm-brand .quotes-v2,
body.cm-brand .pricing-v2,
body.cm-brand .faq-v2 {
  padding-top: 88px;
  padding-bottom: 88px;
}

body.cm-brand .result-v2 {
  padding: 88px 0;
}

body.cm-brand .cta-v2 {
  padding: 100px 0 110px;
}

body.cm-brand .cta-v2__inner {
  padding: 0;
  border: 0;
  background: transparent;
}

body.cm-brand .section-head {
  margin-bottom: 32px !important;
  max-width: none !important;
}

body.cm-brand .section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 32px !important;
  max-width: 640px;
  gap: 0;
}

body.cm-brand .section-head--center .section-label {
  margin-bottom: 8px;
}

body.cm-brand .section-head--center .section-title {
  margin: 0 !important;
}

body.cm-brand .section-head--center .section-lead {
  margin: 6px auto 0 !important;
  max-width: 40ch;
}

/* Brand cm-cards */
body.cm-brand .cm-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
  box-shadow: none;
}

body.cm-brand .cm-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: none;
}

body.cm-brand .cm-card__title {
  color: var(--text);
}

body.cm-brand .cm-card__channel {
  color: var(--muted);
}

body.cm-brand .cm-card__body {
  background: var(--surface);
}

body.cm-brand .hero-v2__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

body.cm-brand .hero-card--lead {
  grid-column: 1 / -1;
}

body.cm-brand .hero-v2__lead {
  margin-top: 14px !important;
}

body.cm-brand .hero-v2__actions {
  margin-top: 24px !important;
}

/* ---- View badges: compact, bottom-right; yellow ≥100k, gray glass <100k ---- */
body.cm-brand .hero-thumb__views,
body.cm-brand .work-tile__views,
body.cm-brand .bento-tile__views {
  position: absolute;
  left: auto !important;
  right: 10px !important;
  bottom: 10px !important;
  top: auto !important;
  width: auto !important;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  z-index: 2;
  box-sizing: border-box;
  white-space: nowrap;
  pointer-events: none;
}

body.cm-brand .hero-thumb__views--gray,
body.cm-brand .work-tile__views--gray,
body.cm-brand .bento-tile__views--gray,
body.cm-brand .cm-card__badge--gray {
  background: rgba(4, 4, 4, 0.55) !important;
  color: #fff !important;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

body.cm-brand .cm-card__badge {
  position: absolute;
  bottom: 9px;
  right: 9px;
  left: auto;
  width: auto;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ---- Hero thumbs ---- */
body.cm-brand .hero-v2__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body.cm-brand .hero-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

body.cm-brand .hero-thumb--1 {
  grid-column: 1 / -1;
}

body.cm-brand .hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Trusted: YouTube-style overlapping avatars + popup ---- */
body.cm-brand .logo-strip {
  padding: 36px 0;
  border-block: 1px solid var(--line);
}

body.cm-brand .logo-strip > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

body.cm-brand .logo-strip > .container > p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

body.cm-brand .trusted-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

body.cm-brand .trusted-creator {
  position: relative;
  display: block;
  margin-left: -10px;
  cursor: default;
  outline: 0;
  z-index: 1;
  transition: transform 0.2s var(--ease), z-index 0s;
}

body.cm-brand .trusted-creator:first-child {
  margin-left: 0;
}

body.cm-brand .trusted-creator:hover,
body.cm-brand .trusted-creator:focus-visible {
  z-index: 6;
  transform: translateY(-2px);
}

body.cm-brand .trusted-creator img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

body.cm-brand .trusted-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 6px);
  width: max-content;
  max-width: 280px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 8;
  white-space: nowrap;
}

body.cm-brand .trusted-tooltip i {
  font-style: normal;
  color: var(--faint);
  margin: 0 4px;
}

body.cm-brand .trusted-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  background: rgba(15, 15, 15, 0.94);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -4px) rotate(45deg);
}

body.cm-brand .trusted-creator:hover .trusted-tooltip,
body.cm-brand .trusted-creator:focus-visible .trusted-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

body.cm-brand .work-v2 {
  padding: 88px 0;
}

body.cm-brand .work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.cm-brand .work-v2__cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---- Process: editorial numbered steps (Linear / SaaS style) ---- */
body.cm-brand .process-v2 {
  padding: 80px 0;
}

body.cm-brand .process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

/* Connecting rail through the step numbers — white, not accent */
body.cm-brand .process-steps::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 0;
  pointer-events: none;
}

body.cm-brand .process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0 18px;
  border: 0;
  border-color: transparent;
  background: transparent;
  min-height: 100%;
}

body.cm-brand .process-step:first-child {
  padding-left: 0;
}

body.cm-brand .process-step:last-child {
  padding-right: 0;
}

body.cm-brand .process-step + .process-step {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

body.cm-brand .process-step.is-active,
body.cm-brand .process-step:hover {
  border-color: transparent;
}

body.cm-brand .process-step + .process-step.is-active,
body.cm-brand .process-step + .process-step:hover {
  border-left-color: rgba(255, 255, 255, 0.12);
}

body.cm-brand .process-step__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 168px;
  margin-bottom: 18px;
}

body.cm-brand .process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-bottom: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f5dd4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
  z-index: 2;
}

body.cm-brand .process-step.is-active .process-step__num,
body.cm-brand .process-step:hover .process-step__num {
  background: #f5dd4a;
  color: #111108;
  border-color: #f5dd4a;
}

body.cm-brand .process-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

body.cm-brand .process-step__meta p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 28ch;
}

body.cm-brand .process-step__media {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  line-height: 0;
}

body.cm-brand .process-step__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.55s var(--ease);
}

body.cm-brand .process-step:hover .process-step__media img,
body.cm-brand .process-step.is-active .process-step__media img {
  transform: scale(1.02);
}

body.cm-brand .process-flow,
body.cm-brand .process-v2__track,
body.cm-brand .process-card,
body.cm-brand .process-v2__steps {
  display: none !important;
}

/* ---- Legal pages ---- */
body.cm-brand .legal-v2 {
  padding: 128px 0 88px;
}

body.cm-brand .legal-v2__head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

body.cm-brand .legal-v2__head .section-lead {
  margin-inline: auto;
}

body.cm-brand .legal-v2__body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

body.cm-brand .legal-v2__body h2,
body.cm-brand .legal-v2__body h3 {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 32px 0 10px;
}

body.cm-brand .legal-v2__body p,
body.cm-brand .legal-v2__body li {
  margin: 0 0 12px;
}

body.cm-brand .legal-v2__body a {
  color: var(--accent);
}

/* ---- Pricing: badge top-right so titles align ---- */
body.cm-brand .plan {
  position: relative;
  padding-top: 40px;
}

body.cm-brand .plan__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  align-self: auto;
}

body.cm-brand .plan h3 {
  min-height: 1.2em;
}

/* ---- Testimonials: equal cards + X link ---- */
/* ---- Testimonials: equal cards, tight spacing ---- */
body.cm-brand .quotes-v2__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

body.cm-brand .quote {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 18px !important;
  border-radius: 14px !important;
  box-sizing: border-box;
}

body.cm-brand .quote p,
body.cm-brand .quote__text {
  flex: 1 1 auto !important;
  margin: 0 !important;
  min-height: 7.75em;
  max-height: 7.75em;
  font-size: 14px !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.cm-brand .quote__foot {
  margin-top: auto !important;
  padding-top: 12px !important;
  gap: 10px !important;
}

body.cm-brand .quote__foot img {
  width: 36px !important;
  height: 36px !important;
}

body.cm-brand .quote__x {
  width: 30px !important;
  height: 30px !important;
}

/* ==========================================================================
   Sitewide editorial system (match Process / Linear style)
   ========================================================================== */

/* Nav: quieter, less pill */
body.cm-brand .site-header__nav a {
  border-radius: 8px;
  padding: 8px 12px;
}

body.cm-brand .site-header__cta {
  border-radius: 10px;
}

/* Trust strip */
body.cm-brand .logo-strip {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: transparent;
}

/* Why Browney: same language as process steps */
body.cm-brand .pillars-v2 {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

body.cm-brand .pillars-v2__grid {
  display: none !important;
}

body.cm-brand .why-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}

body.cm-brand .why-step {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.cm-brand .why-step:first-child {
  padding-left: 0;
}

body.cm-brand .why-step:last-child {
  padding-right: 0;
}

body.cm-brand .why-step + .why-step {
  border-left: 1px solid var(--line);
}

body.cm-brand .why-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-bottom: 18px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #000;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.cm-brand .why-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.cm-brand .why-step p {
  margin: 0;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Case study */
body.cm-brand .result-v2 {
  padding: 80px 0;
  background: transparent;
  border-block: 1px solid var(--line);
}

body.cm-brand .result-v2__grid {
  align-items: center;
}

body.cm-brand .result-v2__intro,
body.cm-brand .result-v2__quote {
  text-align: left;
}

body.cm-brand .result-v2__metric {
  display: block;
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 104px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
}

body.cm-brand .result-v2__tag {
  display: none !important;
}

body.cm-brand .result-v2__kicker {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
}

body.cm-brand .result-v2__title {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
  text-align: left;
  color: var(--text);
}

body.cm-brand .result-v2__quote {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  align-self: start;
}

body.cm-brand .result-v2__thumb {
  border-radius: 14px;
  box-shadow: none;
  border: 1px solid var(--line);
  overflow: hidden;
  align-self: center;
}

body.cm-brand .result-v2__thumb:hover {
  transform: translateY(-2px);
}

body.cm-brand .result-v2__thumb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
}

body.cm-brand .result-v2__thumb-meta strong {
  flex: 1 1 auto;
  min-width: 0;
}

/* Keep views glued to the right edge; if they wrap, stay right-aligned */
body.cm-brand .result-v2__thumb-meta span {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
  line-height: 1.15;
  white-space: nowrap;
}

/* Pricing: clean comparison, less glow */
body.cm-brand .pricing-v2 {
  padding: 80px 0;
  background: transparent;
  border-block: 1px solid var(--line);
}

body.cm-brand .pricing-v2__grid {
  gap: 0;
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

body.cm-brand .plan {
  padding: 28px 28px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.cm-brand .plan + .plan {
  border-left: 1px solid var(--line);
}

body.cm-brand .plan--featured {
  border-color: transparent;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.02);
}

body.cm-brand .plan__badge {
  top: 16px;
  right: 16px;
}

body.cm-brand .plan h3 {
  font-size: 20px;
}

body.cm-brand .plan__sub {
  margin: 6px 0 18px;
  font-size: 13.5px;
}

body.cm-brand .plan__price strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
  transform: scaleX(0.96);
  transform-origin: left center;
}

body.cm-brand .plan__list li {
  padding: 8px 0;
  font-size: 13.5px;
}

body.cm-brand .plan .btn {
  margin-top: 8px;
  border-radius: 10px;
}

/* FAQ tighter */
body.cm-brand .faq-v2 {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

body.cm-brand .faq-v2__q {
  padding: 18px 0;
  font-size: 14.5px;
}

body.cm-brand .faq-v2__a {
  padding-bottom: 16px;
}

body.cm-brand .faq-v2__item.is-open > .faq-v2__a {
  display: block !important;
}

/* CTA: editorial close — styles live in brand.css */
body.cm-brand .cta-v2 {
  padding: 100px 0 110px;
}

body.cm-brand .cta-v2__inner {
  text-align: left;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Contact */
body.cm-brand .contact-v2 {
  padding: 128px 0 96px;
}

body.cm-brand .contact-v2__panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

body.cm-brand .contact-v2__field input,
body.cm-brand .contact-v2__field select,
body.cm-brand .contact-v2__field textarea {
  border-radius: 10px;
}

body.cm-brand .contact-v2__field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  color-scheme: dark;
  background-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.25 7 7.25 13 1.25' fill='none' stroke='%23c8c8c8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
}

body.cm-brand .contact-v2__field select::-ms-expand {
  display: none;
}

/* Buttons sitewide slightly sharper */
body.cm-brand .btn {
  border-radius: 10px;
}

/* Work / portfolio cards: quieter radius */
body.cm-brand .cm-card,
body.cm-brand .portfolio-v2__grid .cm-card {
  border-radius: 14px;
}

body.cm-brand .work-v2 {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

body.cm-brand .quotes-v2 {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  body.cm-brand .why-steps {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.cm-brand .why-step {
    padding: 0 0 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.cm-brand .why-step + .why-step {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  body.cm-brand .why-step p {
    max-width: 40ch;
    margin-inline: auto;
  }

  body.cm-brand .pricing-v2__grid {
    grid-template-columns: 1fr;
  }

  body.cm-brand .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  /* Reviews: always one column on tablet/phone */
  body.cm-brand .quotes-v2__grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.cm-brand .quote {
    padding: 16px !important;
    height: auto !important;
  }

  body.cm-brand .quote p,
  body.cm-brand .quote__text {
    min-height: 0 !important;
    max-height: none !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
    overflow: hidden !important;
  }

  body.cm-brand .quote__more {
    display: inline-flex !important;
    align-self: flex-start;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    letter-spacing: -0.01em;
  }

  body.cm-brand .quote__more[hidden] {
    display: none !important;
  }

  body.cm-brand .quote__more:hover,
  body.cm-brand .quote__more:focus-visible {
    color: #ffe566;
    outline: none;
  }

  /* Case study: result → video → quote on phone */
  body.cm-brand .result-v2__grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "intro"
      "thumb"
      "quote" !important;
    gap: 20px !important;
    text-align: left !important;
  }

  body.cm-brand .result-v2__metric {
    font-size: clamp(56px, 18vw, 80px);
  }

  body.cm-brand .result-v2__title,
  body.cm-brand .result-v2__kicker,
  body.cm-brand .result-v2__quote p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  body.cm-brand .result-v2__quote {
    margin-top: 4px !important;
  }

  body.cm-brand .result-v2__author {
    justify-content: flex-start !important;
  }

  /* Phone: title wraps; views stay one line, flush right */
  body.cm-brand .result-v2__thumb-meta {
    padding: 12px 14px;
    align-items: flex-start;
  }

  body.cm-brand .result-v2__thumb-meta span {
    white-space: nowrap;
    text-align: right;
    margin-left: auto;
    padding-top: 1px;
  }

  /* Why: keep centered on tablet/phone */
  body.cm-brand .why-steps {
    text-align: center !important;
  }

  body.cm-brand .why-step {
    align-items: center !important;
    flex-direction: column !important;
    gap: 0;
    padding: 18px 0 !important;
    text-align: center !important;
  }

  body.cm-brand .why-step + .why-step {
    padding-top: 18px !important;
  }

  body.cm-brand .why-step__num {
    margin-bottom: 12px !important;
  }

  body.cm-brand .why-step h3 {
    margin: 0 0 6px !important;
    font-size: 18px !important;
    align-self: center;
  }

  body.cm-brand .why-step p {
    flex: none;
    margin: 0 auto !important;
    max-width: 36ch !important;
    font-size: 13.5px !important;
  }
}

/* Dedicated mobile pass */
@media (max-width: 700px) {
  /* Remove hero videos completely on phone */
  body.cm-brand .hero-v2__visual {
    display: none !important;
  }

  body.cm-brand .hero-v2 {
    padding: 100px 0 36px !important;
    text-align: center;
  }

  body.cm-brand .hero-v2__grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.cm-brand .hero-v2__lead {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.cm-brand .hero-v2__actions {
    justify-content: center;
  }

  /* Process on phone: image-first, less text clutter */
  body.cm-brand .process-steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    text-align: left;
  }

  body.cm-brand .process-steps::before {
    display: none !important;
  }

  body.cm-brand .process-step,
  body.cm-brand .process-step:nth-child(even),
  body.cm-brand .process-step:nth-child(odd) {
    padding: 0 !important;
    border: 0 !important;
    align-items: stretch;
  }

  body.cm-brand .process-step:last-child {
    padding-bottom: 0 !important;
  }

  body.cm-brand .process-step__meta {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 0 !important;
    margin-bottom: 10px !important;
    text-align: left;
  }

  body.cm-brand .process-step__meta p {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  body.cm-brand .process-step__num {
    margin-bottom: 8px !important;
  }

  body.cm-brand .process-step h3 {
    margin: 0 0 4px !important;
    font-size: 15px !important;
  }

  body.cm-brand .process-step__media {
    border-radius: 10px;
  }

  body.cm-brand .pillars-v2 .section-lead,
  body.cm-brand .process-v2 .section-lead {
    display: none;
  }

  /* Selected work: 1 col, hide extras past 3 */
  body.cm-brand .work-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.cm-brand .work-grid .cm-card:nth-child(n + 4) {
    display: none !important;
  }

  body.cm-brand .portfolio-v2__grid {
    grid-template-columns: 1fr !important;
  }

  body.cm-brand .marquee-v2 {
    display: none !important;
  }

  body.cm-brand .pillars-v2,
  body.cm-brand .quotes-v2,
  body.cm-brand .pricing-v2,
  body.cm-brand .faq-v2,
  body.cm-brand .process-v2,
  body.cm-brand .work-v2,
  body.cm-brand .result-v2,
  body.cm-brand .cta-v2 {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  body.cm-brand .section-head--center {
    margin-bottom: 24px !important;
  }

  body.cm-brand .quotes-v2__grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.cm-brand .quote {
    padding: 14px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  body.cm-brand .quote p,
  body.cm-brand .quote__text {
    flex: none !important;
    min-height: 0 !important;
    max-height: none !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
    overflow: hidden !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  body.cm-brand .quote__foot {
    margin-top: 12px !important;
    padding-top: 12px !important;
  }

  body.cm-brand .cta-v2__grid {
    gap: 24px;
  }
}

body.cm-brand .quote__foot {
  margin-top: auto;
  position: relative;
}

body.cm-brand .quote__x,
body.cm-brand .result-v2__author .quote__x {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.cm-brand .quote__x svg {
  width: 14px;
  height: 14px;
}

body.cm-brand .quote__x:hover,
body.cm-brand .result-v2__author .quote__x:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

body.cm-brand .result-v2__author {
  width: 100%;
}

/* ---- Marquee ---- */
body.cm-brand .marquee-v2 {
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

body.cm-brand .marquee-v2__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: cm-marquee 42s linear infinite;
}

body.cm-brand .marquee-v2--reverse .marquee-v2__track {
  animation-direction: reverse;
}

body.cm-brand .marquee-v2 .cm-card {
  width: 280px;
  flex-shrink: 0;
}

@keyframes cm-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Quote “view more” + modal (mobile) */
body.cm-brand .quote__more {
  display: none;
}

body.cm-brand .quote-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

body.cm-brand .quote-modal[hidden] {
  display: none !important;
}

body.cm-brand .quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.cm-brand .quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 28px 22px 22px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #0c0c0c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

body.cm-brand .quote-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
}

body.cm-brand .quote-modal__close svg {
  width: 16px;
  height: 16px;
}

body.cm-brand .quote-modal__close:hover,
body.cm-brand .quote-modal__close:focus-visible {
  color: #fff;
  border-color: var(--line-strong);
  outline: none;
}

body.cm-brand .quote-modal__text {
  margin: 0 28px 20px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #e8e8e8;
}

body.cm-brand .quote-modal__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

body.cm-brand .quote-modal__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

body.cm-brand .quote-modal__author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

body.cm-brand .quote-modal__author span {
  font-size: 12px;
  color: var(--faint);
}

body.cm-brand.is-quote-modal-open {
  overflow: hidden;
}

body.is-quote-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  body.cm-brand .work-v2 .bento,
  body.cm-brand .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cm-brand .quotes-v2__grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  body.cm-brand .hero-v2__visual {
    display: none !important;
  }
}

@media (max-width: 560px) {
  body.cm-brand .work-v2 .bento,
  body.cm-brand .work-grid {
    grid-template-columns: 1fr !important;
  }

  body.cm-brand .trusted-creator img {
    width: 38px;
    height: 38px;
  }
}
