/* ==========================================================================
   ClickMagnets Brand System — clean override layer
   Scoped to body.cm-brand. Loads after site.css.
   ========================================================================== */

body.cm-brand {
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --bg: #000000;
  --surface: #090909;
  --surface-2: #111111;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: #8a8a8a;
  --faint: #525252;
  --accent: #f5dd4a;
  --accent-text: #111108;
  --container: 1240px;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.cm-brand::before,
body.cm-brand::after,
body.cm-brand .grain {
  display: none !important;
}

body.cm-brand .nav,
body.cm-brand .cm-header,
body.cm-brand .footer {
  display: none !important;
}

/* ---- Layout ---- */
body.cm-brand .container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

body.cm-brand .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 8px;
}

body.cm-brand .section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

body.cm-brand .section-lead {
  margin: 6px 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

body.cm-brand .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 32px;
  max-width: none;
}

body.cm-brand .section-head--stack {
  display: block;
  margin: 0 0 32px;
}

/* Kill legacy site.css .section-head spacing */
body.cm-brand .section-head h2,
body.cm-brand .section-head .section-title {
  margin: 0 !important;
  max-width: none;
}

body.cm-brand .section-head p,
body.cm-brand .section-head .section-lead {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}

body.cm-brand .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s ease, gap 0.2s ease;
}

body.cm-brand .text-link:hover {
  color: var(--accent);
  gap: 10px;
}

body.cm-brand .text-link svg {
  width: 16px;
  height: 16px;
}

/* ---- Buttons ---- */
body.cm-brand .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.cm-brand .btn:active {
  transform: scale(0.98);
}

body.cm-brand .btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

body.cm-brand .btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(245, 221, 74, 0.15), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

body.cm-brand .btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

body.cm-brand .btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ---- Header ---- */
body.cm-brand .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

body.cm-brand .site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.96);
}

body.cm-brand .site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

body.cm-brand .site-header__logo img {
  height: 28px;
  width: auto;
}

body.cm-brand .site-header__nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

body.cm-brand .site-header__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

body.cm-brand .site-header__nav a:hover,
body.cm-brand .site-header__nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

body.cm-brand .site-header__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
}

body.cm-brand .site-header__menu {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

body.cm-brand .site-header__menu span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
}

body.cm-brand .site-header__drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--line);
}

body.cm-brand .site-header__drawer.is-open {
  display: flex;
}

body.cm-brand .site-header__drawer a {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  color: #e5e5e5;
}

body.cm-brand .site-header__drawer a:hover {
  background: var(--surface-2);
}

body.cm-brand .site-header__drawer .site-header__cta {
  margin-top: 8px;
  text-align: center;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}

body.cm-brand .site-header__drawer .site-header__cta:hover {
  background: var(--accent);
  color: var(--accent-text);
}

@media (max-width: 900px) {
  body.cm-brand .site-header__nav,
  body.cm-brand .site-header__inner > .site-header__cta {
    display: none;
  }
  body.cm-brand .site-header__menu {
    display: flex;
  }
}

/* ---- Hero ---- */
body.cm-brand .hero-v2 {
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--line);
}

body.cm-brand .hero-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

body.cm-brand .hero-v2__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

body.cm-brand .hero-v2 h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
  max-width: 10ch;
}

body.cm-brand .hero-v2__lead {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

body.cm-brand .hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body.cm-brand .hero-v2__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

body.cm-brand .hero-v2__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

body.cm-brand .hero-v2__stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.cm-brand .hero-v2__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

body.cm-brand .hero-thumb {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 16/9;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

body.cm-brand .hero-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

body.cm-brand .hero-thumb--1 {
  grid-column: 1 / -1;
}

body.cm-brand .hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.cm-brand .hero-thumb__views {
  position: absolute;
  bottom: 12px;
  left: auto;
  right: 12px;
  width: auto;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- Logo strip ---- */
body.cm-brand .logo-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

body.cm-brand .logo-strip p {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

body.cm-brand .logo-strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
}

body.cm-brand .logo-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

body.cm-brand .logo-strip__item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ---- Bento work grid ---- */
body.cm-brand .work-v2 {
  padding: 100px 0;
}

body.cm-brand .bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

body.cm-brand .bento-tile {
  position: relative;
  display: block;
  grid-column: span 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 16/10;
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}

body.cm-brand .bento-tile--hero {
  grid-column: span 8;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 420px;
}

body.cm-brand .bento-tile--tall {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 320px;
}

body.cm-brand .bento-tile:hover {
  transform: scale(1.01);
  border-color: var(--line-strong);
}

body.cm-brand .bento-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

body.cm-brand .bento-tile:hover img {
  transform: scale(1.04);
}

body.cm-brand .bento-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

body.cm-brand .bento-tile__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}

body.cm-brand .bento-tile__views {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
}

body.cm-brand .bento-tile__channel {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

/* ---- Case study ---- */
body.cm-brand .result-v2 {
  padding: 100px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

body.cm-brand .result-v2__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "intro thumb"
    "quote thumb";
  gap: 24px 64px;
  align-items: center;
}

body.cm-brand .result-v2__metric {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
  margin: 8px 0 0;
}

body.cm-brand .result-v2__intro {
  grid-area: intro;
}

body.cm-brand .result-v2__tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 221, 74, 0.25);
  background: rgba(245, 221, 74, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

body.cm-brand .result-v2__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.cm-brand .result-v2__quote {
  grid-area: quote;
  margin: 8px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

body.cm-brand .result-v2__quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #c8c8c8;
}

body.cm-brand .result-v2__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

body.cm-brand .result-v2__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

body.cm-brand .result-v2__author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

body.cm-brand .result-v2__author span {
  font-size: 12px;
  color: var(--faint);
}

body.cm-brand .result-v2__thumb {
  grid-area: thumb;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease);
}

body.cm-brand .result-v2__thumb:hover {
  transform: translateY(-4px);
}

body.cm-brand .result-v2__thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

body.cm-brand .result-v2__thumb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--surface-2);
  font-size: 13px;
}

body.cm-brand .result-v2__thumb-meta strong {
  font-weight: 600;
}

body.cm-brand .result-v2__thumb-meta span {
  color: var(--accent);
  font-weight: 600;
}

/* ---- Pillars ---- */
body.cm-brand .pillars-v2 {
  padding: 100px 0;
}

body.cm-brand .pillars-v2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

body.cm-brand .pillar {
  padding: 36px 32px;
  background: var(--bg);
}

body.cm-brand .pillar svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: 20px;
}

body.cm-brand .pillar h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.cm-brand .pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Process ---- */
body.cm-brand .process-v2 {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

body.cm-brand .process-v2__steps {
  display: none !important;
}

body.cm-brand .step {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

body.cm-brand .step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

body.cm-brand .step h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.cm-brand .step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---- Pricing ---- */
body.cm-brand .pricing-v2 {
  padding: 100px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

body.cm-brand .pricing-v2__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin-inline: auto;
}

body.cm-brand .plan {
  position: relative;
  padding: 40px 36px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

body.cm-brand .plan--featured {
  border-color: rgba(245, 221, 74, 0.35);
  box-shadow: 0 0 0 1px rgba(245, 221, 74, 0.1);
}

body.cm-brand .plan__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.cm-brand .plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.cm-brand .plan__sub {
  margin: 8px 0 24px;
  font-size: 14px;
  color: var(--muted);
}

body.cm-brand .plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

body.cm-brand .plan__price strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  display: inline-block;
  transform: scaleX(0.96);
  transform-origin: left center;
}

body.cm-brand .plan--featured .plan__price strong {
  color: var(--accent);
}

body.cm-brand .plan__price span {
  font-size: 14px;
  color: var(--muted);
}

body.cm-brand .plan__note {
  margin: 0 0 24px;
  font-size: 12px;
  color: var(--faint);
}

body.cm-brand .plan__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

body.cm-brand .plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

body.cm-brand .plan__list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

body.cm-brand .plan .btn {
  width: 100%;
}

/* ---- Testimonials ---- */
body.cm-brand .quotes-v2 {
  padding: 80px 0;
}

body.cm-brand .quotes-v2__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.cm-brand .quote {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

body.cm-brand .quote p {
  margin: 0;
  flex: 1 1 auto;
  min-height: 7.75em;
  max-height: 7.75em;
  font-size: 14px;
  line-height: 1.55;
  color: #d4d4d4;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.cm-brand .quote__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

body.cm-brand .quote__foot img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

body.cm-brand .quote__foot strong {
  display: block;
  font-size: 14px;
}

body.cm-brand .quote__foot span {
  font-size: 12px;
  color: var(--faint);
}

/* ---- FAQ ---- */
body.cm-brand .faq-v2 {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

body.cm-brand .faq-v2__list {
  max-width: 720px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

body.cm-brand .faq-v2__item {
  border-bottom: 1px solid var(--line);
}

body.cm-brand .faq-v2__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

body.cm-brand .faq-v2__q svg {
  width: 18px;
  height: 18px;
  color: var(--faint);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

body.cm-brand .faq-v2__item.is-open .faq-v2__q svg {
  transform: rotate(45deg);
}

body.cm-brand .faq-v2__a {
  /* Open/close handled in brand-motion.css (grid animation) */
  padding: 0;
}

body.cm-brand .faq-v2__item.is-open .faq-v2__a {
  padding: 0 0 22px;
}

body.cm-brand .faq-v2__a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---- CTA ---- */
body.cm-brand .cta-v2 {
  position: relative;
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

body.cm-brand .cta-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 12% 50%, rgba(245, 221, 74, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 60% at 88% 40%, rgba(255, 255, 255, 0.04), transparent 50%);
  pointer-events: none;
}

body.cm-brand .cta-v2__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px 64px;
  align-items: center;
}

body.cm-brand .cta-v2__copy .section-label {
  margin-bottom: 12px;
}

body.cm-brand .cta-v2 h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
  max-width: 14ch;
}

body.cm-brand .cta-v2__copy > p {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

body.cm-brand .cta-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.cm-brand .cta-v2__meta {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--faint);
}

body.cm-brand .cta-v2__brief {
  padding: 28px 28px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.cm-brand .cta-v2__brief-label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

body.cm-brand .cta-v2__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

body.cm-brand .cta-v2__checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

body.cm-brand .cta-v2__checklist svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent);
}

body.cm-brand .cta-v2__checklist strong {
  color: var(--text);
  font-weight: 600;
}

body.cm-brand .cta-v2__alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, gap 0.3s var(--ease);
}

body.cm-brand .cta-v2__alt:hover {
  color: var(--accent);
  gap: 12px;
}

body.cm-brand .cta-v2__alt svg {
  width: 14px;
  height: 14px;
}

/* legacy inner class unused but keep harmless */
body.cm-brand .cta-v2__inner {
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
}

/* ---- Footer (classic layout) ---- */
body.cm-brand .site-footer {
  padding: 56px 0 26px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

body.cm-brand .site-footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

body.cm-brand .site-footer__brand img {
  height: 28px;
  width: auto;
  display: block;
}

body.cm-brand .site-footer__brand p {
  margin: 14px 0 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--faint);
}

body.cm-brand .site-footer__brand a {
  color: var(--accent);
}

body.cm-brand .site-footer__cols {
  display: flex;
  gap: 56px;
}

body.cm-brand .site-footer__col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
}

body.cm-brand .site-footer__col a {
  display: block;
  padding: 0;
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #c9c9cc;
  transition: color 0.15s ease;
}

body.cm-brand .site-footer__col a:hover {
  color: var(--accent);
}

body.cm-brand .site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--faint);
}

body.cm-brand .site-footer__bottom > a,
body.cm-brand .site-footer__bottom a {
  color: var(--faint);
  transition: color 0.15s ease;
}

body.cm-brand .site-footer__bottom a:hover {
  color: var(--accent);
}

body.cm-brand .site-footer__bottom div {
  display: flex;
  gap: 16px;
}

/* legacy unused hooks removed */
/* ---- Marquee strip ---- */
body.cm-brand .marquee-v2 {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

body.cm-brand .marquee-v2__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: brand-scroll 40s linear infinite;
}

body.cm-brand .marquee-v2:hover .marquee-v2__track {
  animation-play-state: paused;
}

body.cm-brand .marquee-v2 .marquee-thumb {
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
}

body.cm-brand .marquee-v2 .marquee-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Reveal ----
   Visible by default so a broken site.js can never blank the page.
   JS adds .has-reveal-js, then hides items that are not yet .in-view. */
body.cm-brand .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

body.cm-brand.has-reveal-js .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(20px);
}

body.cm-brand .reveal.in-view {
  opacity: 1;
  transform: none;
}

body.cm-brand .reveal-delay-1.in-view { transition-delay: 0.05s; }
body.cm-brand .reveal-delay-2.in-view { transition-delay: 0.1s; }
body.cm-brand .reveal-delay-3.in-view { transition-delay: 0.15s; }

/* ---- Portfolio page ---- */
body.cm-brand .portfolio-v2 {
  padding: 140px 0 100px;
}

body.cm-brand .portfolio-v2__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

body.cm-brand .niche-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

body.cm-brand .niche-btn:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

body.cm-brand .niche-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

body.cm-brand .portfolio-v2__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.cm-brand .portfolio-v2__grid .cm-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: none !important;
  box-shadow: none;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

body.cm-brand .portfolio-v2__grid .cm-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px) !important;
}

body.cm-brand .portfolio-v2__grid .cm-card__title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

body.cm-brand .portfolio-v2__grid .cm-card__channel {
  color: var(--muted);
}

body.cm-brand .portfolio-v2__grid .cm-card__badge {
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 6px;
}

body.cm-brand .portfolio-v2__grid .cm-card__badge--gray {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  backdrop-filter: blur(8px);
}

body.cm-brand .portfolio-v2__grid .cm-card.niche-hidden {
  display: none;
}

/* ---- Contact page ---- */
body.cm-brand .contact-v2 {
  padding: 140px 0 100px;
}

body.cm-brand .contact-v2__panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

body.cm-brand .contact-v2__alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

body.cm-brand .contact-v2__alert--success {
  background: rgba(245, 221, 74, 0.08);
  border: 1px solid rgba(245, 221, 74, 0.25);
  color: var(--text);
}

body.cm-brand .contact-v2__alert--error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ffb4b4;
}

body.cm-brand .contact-v2__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

body.cm-brand .contact-v2__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.cm-brand .contact-v2__field--full {
  grid-column: 1 / -1;
}

body.cm-brand .contact-v2__field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

body.cm-brand .contact-v2__field input,
body.cm-brand .contact-v2__field select,
body.cm-brand .contact-v2__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.cm-brand .contact-v2__field textarea {
  min-height: 120px;
  resize: vertical;
}

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: var(--bg);
  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;
}

body.cm-brand .contact-v2__field select option {
  background: #111;
  color: #fff;
}

body.cm-brand .contact-v2__field input:focus,
body.cm-brand .contact-v2__field select:focus,
body.cm-brand .contact-v2__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 221, 74, 0.12);
}

body.cm-brand .contact-v2__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  body.cm-brand .hero-v2__grid,
  body.cm-brand .quotes-v2__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body.cm-brand .result-v2__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "thumb"
      "quote";
    gap: 28px;
  }

  body.cm-brand .bento-tile,
  body.cm-brand .bento-tile--hero,
  body.cm-brand .bento-tile--tall {
    grid-column: span 6;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16/10;
  }

  body.cm-brand .quote--featured {
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  body.cm-brand .container {
    width: min(100% - 32px, var(--container));
  }

  body.cm-brand .hero-v2 {
    padding: 108px 0 40px;
  }

  body.cm-brand .hero-v2 h1 {
    max-width: none;
  }

  body.cm-brand .hero-v2__stats {
    flex-direction: column;
    gap: 20px;
  }

  body.cm-brand .pillars-v2__grid,
  body.cm-brand .process-v2__steps,
  body.cm-brand .pricing-v2__grid {
    grid-template-columns: 1fr;
  }

  body.cm-brand .cta-v2 {
    padding: 72px 0 80px;
  }

  body.cm-brand .cta-v2__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.cm-brand .cta-v2 h2 {
    max-width: none;
  }

  body.cm-brand .cta-v2__brief {
    padding: 22px 20px 18px;
  }

  body.cm-brand .bento-tile,
  body.cm-brand .bento-tile--hero,
  body.cm-brand .bento-tile--tall {
    grid-column: span 12;
  }

  body.cm-brand .section-head:not(.section-head--center) {
    flex-direction: column;
    align-items: flex-start;
  }

  body.cm-brand .section-head--center {
    align-items: center !important;
    text-align: center !important;
  }

  body.cm-brand .site-footer {
    padding: 48px 0 24px;
  }

  body.cm-brand .site-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  body.cm-brand .site-footer__cols {
    gap: 32px;
  }

  body.cm-brand .site-footer__brand p {
    margin: 14px 0 0;
    font-size: 13px;
  }

  body.cm-brand .site-footer__col a {
    margin-bottom: 10px;
    font-size: 13.5px;
  }

  body.cm-brand .site-footer__bottom {
    margin-top: 28px;
    padding-top: 18px;
  }

  body.cm-brand .portfolio-v2__grid {
    grid-template-columns: 1fr;
  }

  body.cm-brand .contact-v2__form {
    grid-template-columns: 1fr;
  }

  body.cm-brand .contact-v2__panel {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cm-brand .marquee-v2__track {
    animation: none;
  }
  body.cm-brand .reveal,
  body.cm-brand.has-reveal-js .reveal:not(.in-view) {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
