/* newsite/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;300;400;600;700;800;900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #ff0074; /* Original Manchester SEO Pink */
  --primary-hover: #d60062;
  --secondary: #303030; /* Dark Grey */
  --accent: #00afb6; /* Teal */
  --lightblue: #f0f8ff;
  --white: #ffffff;
  --black: #000000;
  --navy: #073b52;
  --navy-2: #052f40;
  --bg-light: #f8fafc;
  --text-dark: #303030;
  --text-body: #475569;
  --border: #e2e8f0;
  
  --font-heading: "League Spartan", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* Fluid Typography */
  --font-xs: clamp(0.64rem, 0.05vw + 0.63rem, 0.67rem);
  --font-s: clamp(0.8rem, 0.15vw + 0.76rem, 0.89rem);
  --font-base: clamp(1rem, 0.31vw + 0.92rem, 1.19rem);
  --font-m: clamp(1.25rem, 0.55vw + 1.11rem, 1.58rem);
  --font-l: clamp(1.56rem, 0.91vw + 1.34rem, 2.11rem);
  --font-xl: clamp(1.95rem, 1.42vw + 1.6rem, 2.81rem);
  --font-xxl: clamp(2.44rem, 2.17vw + 1.9rem, 3.75rem);
  --font-xxxl: clamp(3.05rem, 3.22vw + 2.25rem, 5rem);

  --container-width: 1140px;
  --wide-container-width: 1300px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 24px;
  --radius-button: 5px 50px 50px 50px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .brxe-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h1, .new-hero-heading { font-size: var(--font-xxl); text-transform: uppercase; letter-spacing: -2px; }
h2, .primary-heading { font-size: var(--font-xl); letter-spacing: -1px; }
h3 { font-size: var(--font-l); }

.primary-text { color: var(--primary); }
.white-text { color: var(--white); }
.mcrseo-color-primary { color: var(--primary) !important; }
.mcrseo-color-accent { color: var(--accent) !important; }
.mcrseo-color-dark { color: var(--text-dark) !important; }
.mcrseo-color-muted { color: var(--text-body) !important; }

p { margin-bottom: 1.8rem; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* Bricks Logic Containers */
.brxe-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

.wide-container {
  max-width: var(--wide-container-width);
  margin: 0 auto;
}

/* Brxe Sections */
.brxe-section {
  padding: 50px 0;
  position: relative;
}

.wider-section {
  padding: 120px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.lightblue-box {
  background-color: var(--lightblue);
  padding: 60px;
  border-radius: 40px;
}

.white-box {
  background-color: var(--white);
  padding: 60px;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 116, 0), rgba(255, 0, 116, 0.24), rgba(255, 0, 116, 0));
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header {
    background-color: rgba(255, 255, 255, 0.96);
  }
}

header .brxe-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 18px;
  position: relative;
}

.logo img { height: 55px; }

.logo a {
  display: inline-flex;
  align-items: center;
}

/* Header logo: the asset is white, we render it black on light header */
header .site-logo {
  filter: brightness(0) saturate(100%);
}

/* Footer logo stays white */
.footer-logo {
  height: 45px;
  margin-bottom: 25px;
}

nav ul { display: flex; list-style: none; gap: 35px; align-items: center; }
nav ul li { position: relative; }
nav ul li a {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  position: relative;
}

/* Primary nav: cleaner editorial treatment */
.primary-nav ul {
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.primary-nav a:not(.bricks-button) {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  border-radius: 0;
}

.primary-nav a::after {
  display: block;
  bottom: -2px;
  height: 2px;
}

.primary-nav a:not(.bricks-button):hover {
  background: transparent;
  color: var(--primary);
}

.primary-nav a[aria-current="page"]:not(.bricks-button) {
  background: transparent;
  color: var(--primary);
}

.primary-nav .bricks-button {
  padding: 12px 18px;
  font-size: 14px;
  border-radius: var(--radius-button);
  box-shadow: 0 10px 24px rgba(255, 0, 116, 0.12);
}

.primary-nav .has-dropdown > a::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.primary-nav .primary-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  display: grid;
  gap: 3px;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.primary-nav .has-dropdown:hover > .primary-nav-dropdown,
.primary-nav .has-dropdown:focus-within > .primary-nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.primary-nav .primary-nav-dropdown li {
  width: 100%;
}

.primary-nav .primary-nav-dropdown a:not(.bricks-button) {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.primary-nav .primary-nav-dropdown a::after {
  display: none;
}

.primary-nav .primary-nav-dropdown a:hover {
  background: rgba(255, 0, 116, 0.06);
}

.site-header.nav-align-left .brxe-container {
  justify-content: flex-start;
}

.site-header.nav-align-left .primary-nav {
  margin-left: 28px;
}

.site-header.nav-align-center .primary-nav {
  margin-left: auto;
  margin-right: auto;
}

.site-header.nav-align-right .primary-nav {
  margin-left: auto;
}

.site-header.nav-density-compact {
  height: 82px;
}

.site-header.nav-density-compact .logo img {
  height: 46px;
}

.site-header.nav-density-compact .primary-nav ul {
  gap: 18px;
}

.site-header.nav-density-compact .primary-nav .bricks-button {
  padding: 10px 15px;
}

.site-header.nav-density-spacious {
  height: 116px;
}

.site-header.nav-density-spacious .primary-nav ul {
  gap: 32px;
}

.site-header.nav-logo-right .logo {
  order: 3;
}

.site-header.nav-logo-right .primary-nav {
  order: 1;
  margin-left: 0;
  margin-right: auto;
}

.site-header.nav-logo-right .mobile-menu-toggle {
  order: 2;
}

@media (max-width: 1100px) {
  .primary-nav ul {
    gap: 18px;
  }

  .primary-nav a:not(.bricks-button) {
    padding: 9px 0;
    font-size: 14px;
  }
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -6px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.primary-nav a[aria-current="page"]::after {
  width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: none;
}

.mobile-menu-toggle:hover {
  color: var(--primary);
  border-color: rgba(255, 0, 116, 0.45);
}

.mobile-menu-toggle.active {
  color: var(--primary);
  background: rgba(255, 0, 116, 0.06);
  border-color: rgba(255, 0, 116, 0.45);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .site-header.nav-align-left .primary-nav,
  .site-header.nav-align-center .primary-nav,
  .site-header.nav-align-right .primary-nav,
  .site-header.nav-logo-right .primary-nav {
    margin-left: 0;
    margin-right: 0;
  }

  .primary-nav ul {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
    padding: 14px 18px 18px;
    gap: 2px;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav ul li {
    width: 100%;
    padding: 0;
  }

  .primary-nav ul li a:not(.bricks-button) {
    display: block;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: none;
  }

  .primary-nav ul li + li {
    border-top: 1px solid rgba(226, 232, 240, 0.72);
  }

  .primary-nav .primary-nav-dropdown {
    position: static;
    min-width: 0;
    padding: 4px 0 10px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .primary-nav .primary-nav-dropdown a:not(.bricks-button) {
    padding: 10px 0;
    font-size: 13px;
  }

  .primary-nav ul li a.bricks-button {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  .primary-nav.menu-open ul {
    max-height: calc(100vh - 140px);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-color: rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
  }
}

/* Hero */
.new-hero {
  background:
    linear-gradient(135deg, rgba(7, 59, 82, 0.88), rgba(5, 47, 64, 0.84)),
    url('../images/header.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 160px 0 120px;
  text-align: left;
  overflow: hidden;
  position: relative;
}

.new-hero::after {
  content: '';
  position: absolute;
  inset: auto auto -180px -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 0, 116, 0.22), transparent 68%);
  pointer-events: none;
}

.new-hero-heading { color: var(--white); margin-bottom: 24px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.new-sub-heading {
  font-family: var(--font-body);
  font-size: var(--font-m);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 48px;
  opacity: 0.9;
  max-width: 750px;
}

.inner-page-main {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(255, 255, 255, 0) 22%);
}

.inner-page-hero {
  position: relative;
  overflow: hidden;
}

.inner-page-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle at center, rgba(255, 0, 116, 0.3), transparent 62%);
  pointer-events: none;
}

.inner-page-hero .brxe-container {
  position: relative;
  z-index: 1;
}

.inner-page-hero .new-hero-heading {
  max-width: 11ch;
  line-height: 0.98;
}

.inner-page-hero .new-sub-heading {
  max-width: 44rem;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.35rem);
  line-height: 1.7;
  margin-bottom: 0;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.page-hero-actions .bricks-button {
  min-width: 220px;
}

.page-hero-reassurance {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.75;
}

.page-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.page-section-head p {
  margin: 0;
}

.page-split-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.mcrseo-single-visible-column {
  grid-template-columns: 1fr !important;
}

.mcrseo-single-visible-column > * {
  grid-column: 1 / -1 !important;
  width: 100%;
  max-width: none;
  flex: 1 1 100%;
}

.page-copy-panel,
.page-image-panel,
.page-video-panel,
.page-highlight-panel,
.page-cta-band,
.page-faq-panel,
.page-article-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.page-copy-panel,
.page-image-panel,
.page-video-panel,
.page-highlight-panel,
.page-faq-panel,
.page-article-panel {
  padding: 42px;
}

.page-copy-panel,
.page-image-panel,
.page-faq-panel,
.page-article-panel {
  position: relative;
  overflow: hidden;
}

.page-copy-panel::before,
.page-image-panel::before,
.page-faq-panel::before,
.page-article-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 116, 0), rgba(255, 0, 116, 0.16), rgba(255, 0, 116, 0));
  pointer-events: none;
}

.page-image-panel {
  background: linear-gradient(180deg, rgba(255, 0, 116, 0.04), rgba(255, 255, 255, 0.9));
}

.page-image-panel img {
  margin: 0;
}

.page-video-panel {
  background: linear-gradient(180deg, rgba(27, 50, 58, 0.96), rgba(27, 50, 58, 0.88));
  color: var(--white);
}

.page-video-embed {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.page-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-video-caption {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-stat-grid,
.page-feature-grid,
.page-contact-grid,
.page-link-grid {
  display: grid;
  gap: 18px;
}

.page-stat-grid,
.page-feature-grid,
.page-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-contact-grid {
  grid-template-columns: 1fr;
}

.page-mini-card,
.page-link-card,
.page-contact-card {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}

.page-mini-card h3,
.page-link-card h3,
.page-contact-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-mini-card p,
.page-link-card p,
.page-contact-card p {
  margin: 0;
}

.page-prose {
  color: var(--text-body);
}

.page-prose > *:last-child {
  margin-bottom: 0;
}

.page-process-list {
  display: grid;
  gap: 18px;
}

.page-process-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-process-item h3 {
  margin-bottom: 10px;
}

.page-process-item p {
  margin: 0;
}

.page-cta-band {
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(135deg, #b90060 0%, #d1006b 34%, #f2007d 100%);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-cta-band::before {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.page-cta-band > * {
  position: relative;
  z-index: 1;
}

.page-cta-title {
  color: var(--white);
  margin-bottom: 12px;
}

.page-cta-text {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-faq-list {
  display: grid;
  gap: 18px;
}

.page-faq-item {
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--border);
}

.page-faq-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-faq-item p,
.page-link-card a,
.page-contact-card a {
  margin: 0;
}

.page-link-card a,
.page-contact-card a {
  color: var(--secondary);
  font-weight: 700;
}

.page-link-card a:hover,
.page-contact-card a:hover {
  color: var(--primary);
}

.page-article-panel {
  max-width: 980px;
  margin: 0 auto;
}

.page-article-panel .text p:last-child,
.page-article-panel > p:last-child {
  margin-bottom: 0;
}

.copywriting-page .section-alt {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.9));
}

.copywriting-page .card[style*='border: none'] {
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
}

@media (max-width: 991px) {
  .page-split-panel,
  .page-stat-grid,
  .page-feature-grid,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .page-copy-panel,
  .page-image-panel,
  .page-highlight-panel,
  .page-faq-panel,
  .page-article-panel,
  .page-cta-band {
    padding: 34px;
  }
}

@media (max-width: 768px) {
  .page-process-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-copy-panel,
  .page-image-panel,
  .page-highlight-panel,
  .page-faq-panel,
  .page-article-panel,
  .page-cta-band {
    padding: 26px;
  }

  .page-hero-actions .bricks-button {
    min-width: 0;
  }
}

/* Bricks Grid & Layouts */
.brx-grid, .blue-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.darkblue-box {
  background-color: var(--secondary);
  color: var(--white);
  padding: 80px 60px;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.darkblue-box .primary-heading { color: var(--white); }
.darkblue-box p { color: rgba(255,255,255,0.8); }

/* Buttons */
.bricks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  gap: 12px;
}

.bricks-background-primary {
  background-color: var(--primary);
  color: var(--white) !important;
}

.bricks-background-primary:hover {
  background-color: var(--secondary);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 53, 84, 0.2);
}

.blue-button {
  background-color: var(--primary);
  color: var(--white) !important;
}

.blue-button:hover {
  background-color: var(--secondary);
  color: var(--white) !important;
  transform: translateY(-3px);
}

.white-button {
  background-color: var(--white);
  color: var(--secondary) !important;
}

.white-button:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.outline-button {
  background-color: var(--primary);
  color: var(--white) !important;
  border: 2px solid var(--primary);
}

.outline-button:hover {
  background-color: var(--white);
  color: var(--primary) !important;
  border-color: var(--white);
}

/* Cards */
.card, .brxe-card-section {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.card h3 {
  font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.55rem);
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text-dark);
  position: relative;
  padding-left: 18px;
}
.card h3:first-child { margin-top: 0; }
.card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Card text: constrain to a comfortable 70ch reading width.
   Cards still expand wide for callouts, lists and pull-quotes,
   but body paragraphs stay within an optimal measure. */
.card .text {
  max-width: 70ch;
  font-size: clamp(1rem, 0.2vw + 0.95rem, 1.075rem);
  line-height: 1.78;
  color: var(--text-body);
}
.card .text p {
  margin: 0 0 1.3em;
  color: var(--text-body);
  font-size: inherit;
  line-height: inherit;
}
.card .text p:last-child { margin-bottom: 0; }

/* Lede: the first paragraph in a card sits a notch larger
   with a subtle accent. Tagged by JS as .is-lede. */
.card .text p.is-lede,
.card .text > p:first-of-type {
  font-size: 1.1em;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 500;
}

/* Soft pink highlight for inline emphasis */
.card .text strong,
.card .text b {
  font-weight: 700;
  color: var(--text-dark);
  background-image: linear-gradient(180deg, transparent 62%, rgba(255, 0, 116, 0.18) 62%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 2px;
}
.card .text em,
.card .text i {
  font-style: italic;
  color: var(--text-dark);
}

/* Smart inline link underline */
.card .text a {
  font-weight: 600;
}

/* List rhythm: pink rotated square for ul, primary numbers for ol */
.card .text ul,
.card .text ol {
  margin: 1em 0 1.6em;
  padding-left: 0;
  list-style: none;
}
.card .text ul li,
.card .text ol li {
  position: relative;
  padding: 4px 0 4px 36px;
  margin-bottom: 8px;
  line-height: 1.65;
}
.card .text ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.85em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  transform: rotate(45deg);
}
.card .text ol {
  counter-reset: list-counter;
}
.card .text ol > li {
  counter-increment: list-counter;
}
.card .text ol > li::before {
  content: counter(list-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95em;
  color: var(--primary);
  letter-spacing: 0;
  min-width: 28px;
}

/* Description lists */
.card .text dl {
  margin: 1em 0 1.6em;
  display: grid;
  gap: 4px 0;
}
.card .text dt {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05em;
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.card .text dt:first-child { margin-top: 0; }
.card .text dd {
  margin: 4px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  color: var(--text-body);
  font-size: inherit;
  line-height: 1.7;
}

/* Decorative divider between cards (auto-applied by JS) */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 200px;
  gap: 14px;
  opacity: 0.45;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.section-divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.55;
}

/* Card accent strip on top (only on blog-article cards tagged by article.js) */
.brxe-section .card.has-accent:not(.takeaway-card)::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin-bottom: 28px;
  transition: width 0.3s ease;
}
.brxe-section .card.has-accent:not(.takeaway-card):hover::before {
  width: 92px;
}

/* Smart-wrapped stat callout sits nicely inline within a paragraph */
.card .text .stat-callout {
  font-size: 1em;
  margin: 0 2px;
}

/* Grid System */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 24px;
  margin: 0;
  color: var(--text-body);
  font-size: 16px;
}

/* Images */
.content-area img, .image-col img, .brxe-image img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

/* Footer */
.footer-cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #c30068 60%, #7a0142 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}

.footer-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 88% 88%, rgba(0, 0, 0, 0.18), transparent 30%);
  pointer-events: none;
}

.footer-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-cta-copy {
  flex: 1 1 360px;
  min-width: 0;
}

.footer-cta-kicker {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0;
  color: var(--white);
}

.footer-cta-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.footer-cta-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-cta-actions .bricks-button.white-button {
  white-space: nowrap;
}

.footer-cta-phone {
  display: inline-flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
  transition: var(--transition);
}

.footer-cta-phone:hover {
  transform: translateY(-1px);
}

.footer-cta-phone-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.footer-cta-phone-number {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

footer,
.site-footer {
  background: linear-gradient(180deg, #071722 0%, #041018 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
  position: relative;
  overflow: hidden;
}

footer::before,
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(255, 0, 116, 0.12), transparent 18%),
    radial-gradient(circle at 0% 100%, rgba(0, 175, 182, 0.08), transparent 20%);
  pointer-events: none;
}

footer::after,
.site-footer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 116, 0), rgba(255, 0, 116, 0.28), rgba(255, 0, 116, 0));
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  padding: 64px 0 30px;
}

.footer-brand-block {
  max-width: 34ch;
}

.footer-brand-block::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 255, 255, 0.24));
}

.footer-home-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  height: 52px;
  margin-bottom: 22px;
}

.footer-blurb {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 52px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-column {
  min-width: 0;
}

footer h4 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  display: inline-block;
  text-decoration: none;
  line-height: 1.5;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-column-contact .footer-links li a {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.footer-location {
  display: inline-block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.footer-contact-list li {
  margin-bottom: 14px;
}

.footer-contact-list {
  padding-top: 6px;
}

.footer-contact-label {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.social-icons li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.social-icons li a svg {
  display: block;
}

.social-icons li a:hover,
.social-icons li a:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  outline: none;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .new-hero { text-align: center; }
  .new-sub-heading { margin-left: auto; margin-right: auto; }
  .brx-grid, .blue-container { grid-template-columns: 1fr; gap: 48px; text-align: center; }

  .inner-page-hero .new-hero-heading {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .footer-cta-band {
    padding: 40px 0;
    text-align: center;
  }

  .footer-cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 18px;
  }

  .footer-cta-phone {
    align-items: center;
  }

  .footer-shell {
    padding: 44px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .footer-brand-block {
    max-width: none;
  }

  .footer-column-contact .footer-links li a {
    font-size: 17px;
  }

  .footer-contact-card {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .social-icons {
    justify-content: center;
  }

  .bricks-button { width: 100%; }
}

@media (max-width: 480px) {
  .footer-cta-title {
    font-size: 26px;
  }

  .footer-cta-underline {
    white-space: normal;
  }

  .footer-shell {
    padding: 36px 0 20px;
  }

  .footer-logo {
    height: 44px;
    margin-bottom: 18px;
  }

  .footer-blurb {
    font-size: 16px;
  }

  .social-icons li a {
    width: 46px;
    height: 46px;
  }
}

/* Homepage Layout */
.home-hero {
  padding-top: 0;
}

.home-hero-panel {
  background:
    linear-gradient(135deg, rgba(7, 59, 82, 0.92), rgba(5, 47, 64, 0.92)),
    url('../images/header.jpeg');
  background-size: cover;
  background-position: center;
  border-radius: 0;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.home-hero-panel::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -240px;
  top: -260px;
  background: radial-gradient(circle at center, rgba(255, 0, 116, 0.35), transparent 60%);
  transform: rotate(15deg) scale(1);
  pointer-events: none;
  will-change: transform, opacity;
  animation: homeHeroPulse 7s ease-in-out infinite;
}

@keyframes homeHeroPulse {
  0%,
  100% {
    transform: rotate(15deg) scale(1);
    opacity: 0.9;
  }

  50% {
    transform: rotate(15deg) scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-panel::before {
    animation: none;
  }
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-kicker {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.home-hero-heading {
  color: var(--white);
  margin-bottom: 20px;
}

.home-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-m);
  margin-bottom: 0;
  max-width: 52ch;
}

.home-hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-hero-form-wrap {
  margin-top: 0;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.home-hero-form-title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.home-hero-form-message {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.home-hero-form-message--success {
  background: rgba(22, 163, 74, 0.16);
  color: #dcfce7;
}

.home-hero-form-message--error {
  background: rgba(220, 38, 38, 0.16);
  color: #fee2e2;
}

.home-hero-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
}

.home-hero-form-field {
  display: grid;
  gap: 6px;
}

.home-hero-form-field label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.home-hero-form-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--secondary);
  font: inherit;
}

.home-hero-form-field input:focus {
  outline: none;
  border-color: rgba(255, 0, 116, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 0, 116, 0.14);
}

.home-hero-form-field input[aria-invalid="true"] {
  border-color: rgba(185, 28, 28, 0.65);
}

.home-hero-form-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #fee2e2;
}

.home-hero-form-button {
  min-height: 48px;
  width: 100%;
  padding: 14px 18px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 12px;
  border: 1px solid var(--primary);
}

.home-hero-form-button:hover {
  background: #d60062;
  color: var(--white) !important;
  border-color: #d60062;
}

.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-trust-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  border-radius: 999px;
}

.home-founder-card {
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 28px;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  box-shadow:
    0 0 0 1px rgba(255, 0, 116, 0.18),
    0 0 22px rgba(255, 0, 116, 0.14);
}

.home-founder-card--video-only {
  justify-content: center;
  padding: 18px;
}

.home-founder-card--video-only .home-founder-media {
  width: 100%;
}

.home-founder-card--video-only .home-founder-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-founder-card--video-only .home-founder-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.home-founder-card--video-only .home-founder-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.home-founder-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: start;
  display: grid;
  gap: 18px;
}

.home-founder-media-wrap {
  position: relative;
}

.home-founder-audio-toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(5, 47, 64, 0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
}

.home-founder-audio-toggle:hover {
  background: rgba(5, 47, 64, 0.9);
  border-color: rgba(255, 0, 116, 0.6);
}

.home-founder-audio-toggle:focus-visible {
  outline: 3px solid rgba(255, 0, 116, 0.4);
  outline-offset: 2px;
}

.home-founder-audio-toggle[aria-pressed="true"] {
  background: rgba(255, 0, 116, 0.18);
  border-color: rgba(255, 0, 116, 0.55);
}

.home-founder-card:hover,
.home-founder-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 116, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 0, 116, 0.42),
    0 0 46px rgba(255, 0, 116, 0.32),
    0 18px 60px rgba(0, 0, 0, 0.35);
}

.home-founder-eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.home-founder-headline {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--white);
}

.home-play-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.home-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  flex-shrink: 0;
}

.home-play-icon::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 14px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--white);
}

.home-founder-media img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.home-mini-card {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.home-mini-heading {
  color: var(--white);
  margin-bottom: 14px;
}

.home-mini-card p {
  margin-bottom: 1rem;
}

.home-mini-list {
  padding-left: 22px;
  margin: 16px 0 0;
}

.home-mini-list li {
  margin-bottom: 10px;
}

.home-mini-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--white);
  font-weight: 700;
}

.home-mini-link:hover {
  color: var(--primary);
}

.home-services-head {
  text-align: center;
  margin-bottom: 46px;
}

.home-services {
  position: relative;
  overflow: hidden;
}

.home-services::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0) 0%, rgba(255, 0, 116, 0.08) 100%);
  pointer-events: none;
}

.home-services > .brxe-container {
  position: relative;
  z-index: 1;
}

.home-steps-section {
  position: relative;
  overflow: hidden;
}

.home-steps-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0.08) 0%, rgba(255, 0, 116, 0) 100%);
  pointer-events: none;
}

.home-steps-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0) 0%, rgba(255, 0, 116, 0.08) 100%);
  pointer-events: none;
}

.home-steps-section > .brxe-container {
  position: relative;
  z-index: 1;
}

.home-duo-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.home-duo-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0.08) 0%, rgba(255, 0, 116, 0) 100%);
  pointer-events: none;
}

.home-duo-section > .brxe-container {
  position: relative;
  z-index: 1;
}

.home-services-head .home-section-sub {
  margin-left: auto;
  margin-right: auto;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.home-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 116, 0.55);
  box-shadow: var(--shadow-hover);
}

.home-service-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.home-service-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: default;
}

.home-step-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: default;
}

.home-service-toggle-icon,
.home-step-toggle-icon {
  display: none;
}

.home-service-panel,
.home-step-panel {
  display: contents;
}

.home-service-desc {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.home-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.home-service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-body);
}

.home-service-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.home-service-cta {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--primary);
}

.home-service-cta:hover {
  color: var(--secondary);
}

.home-services-cta {
  margin-top: 26px;
  background: var(--lightblue);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.home-services-cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--text-dark);
}

.home-services-cta-sub {
  margin: 0;
  color: var(--text-body);
  max-width: 72ch;
}

.home-services-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}

.home-services-cta-link {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.home-services-cta-link:hover {
  color: var(--primary);
}

.home-steps-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 70px;
  box-shadow: var(--shadow);
}

.home-section-title {
  margin-bottom: 16px;
}

.home-section-sub {
  max-width: 72ch;
  opacity: 0.85;
  margin-bottom: 0;
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.home-step-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.home-step-title {
  font-size: 22px;
  margin-bottom: 14px;
}

.home-step-card p {
  color: var(--text-body);
  font-size: 16px;
  margin-bottom: 20px;
}

.home-step-cta {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--primary);
}

.home-step-cta:hover {
  color: var(--secondary);
}

.home-steps-footer {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-steps-link {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--secondary);
}

.home-steps-link:hover {
  color: var(--primary);
}

.home-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.home-duo-card {
  background: var(--lightblue);
  border-radius: 40px;
  padding: 60px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.home-testimonials-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 40px;
  padding: 70px;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.home-testimonials {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.home-testimonials::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0) 0%, rgba(255, 0, 116, 0.08) 100%);
  pointer-events: none;
}

.home-testimonials > .brxe-container {
  position: relative;
  z-index: 1;
}

.home-testimonials-title {
  color: var(--white);
  margin-bottom: 10px;
}

.home-testimonials-sub {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.home-review-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 26px;
  min-height: 180px;
}

.home-review-quote {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.home-review-who {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 14px;
}

.home-testimonials-cta {
  margin-top: 34px;
}

.home-video-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.home-video-section {
  position: relative;
  overflow: hidden;
}

.home-video-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0.08) 0%, rgba(255, 0, 116, 0) 100%);
  pointer-events: none;
}

.home-video-section > .brxe-container {
  position: relative;
  z-index: 1;
}

.home-video-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(rgba(48, 48, 48, 0.65), rgba(48, 48, 48, 0.65)), url('../images/SEO-Consultants-BG.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.home-video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.home-video-play {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.home-video-play::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 14px;
  border-color: transparent transparent transparent #fff;
}

.home-video-caption {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.home-faq-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 70px;
  box-shadow:
    0 0 0 1px rgba(255, 0, 116, 0.06),
    0 0 36px rgba(255, 0, 116, 0.08),
    var(--shadow);
}

.home-faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.home-faq-header p {
  max-width: 74ch;
  margin-left: auto;
  margin-right: auto;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-faq-grid .faq-item {
  margin-bottom: 0;
}

.home-faq-grid .faq-question {
  padding: 22px;
}

.home-faq-grid .faq-question:focus-visible {
  outline: 3px solid rgba(255, 0, 116, 0.35);
  outline-offset: 2px;
}

.home-faq-grid .faq-answer {
  background: var(--bg-light);
}

.home-faq-grid .faq-answer p {
  padding: 22px;
}

.home-faq-grid .faq-item.open {
  border-color: rgba(255, 0, 116, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 0, 116, 0.16);
}

.home-faq-grid .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.home-faq-grid .faq-item.open .faq-icon {
  background: rgba(255, 0, 116, 0.12);
  border-color: rgba(255, 0, 116, 0.35);
}

.home-faq-cta {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.home-faq-cta-text {
  margin: 0;
  max-width: 74ch;
}

.home-faq-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}

.home-faq-cta-link {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--secondary);
}

.home-faq-cta-link:hover {
  color: var(--primary);
}

.home-cta-final {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 44px 0 0;
}

.home-cta-final .brxe-container {
  max-width: none;
  padding: 0;
}

.home-cta-final::before {
  display: none;
}

.home-cta-final::after {
  display: none;
}

.home-cta-final-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: start;
  padding: 52px clamp(24px, 6vw, 88px);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 36%),
    linear-gradient(135deg, #b90060 0%, #d1006b 34%, #f2007d 100%);
  box-shadow:
    0 34px 80px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.home-cta-final-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.12) 87.5%, rgba(255, 255, 255, 0.12)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.12) 87.5%, rgba(255, 255, 255, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 2%, transparent 2.5%, transparent 97%, rgba(255, 255, 255, 0.08) 97.5%, rgba(255, 255, 255, 0.08));
  background-size: 120px 208px;
  background-position: 0 0, 0 0, 60px 104px;
  opacity: 0.58;
  pointer-events: none;
}

.home-cta-final-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 18%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.home-cta-final-copy,
.home-cta-final-card {
  position: relative;
  z-index: 1;
}

.home-cta-final-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-cta-final-title {
  color: var(--white);
  font-size: var(--font-xxl);
  margin-bottom: 18px;
  max-width: 13ch;
  letter-spacing: -0.03em;
}

.home-cta-final-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  margin-bottom: 0;
  opacity: 1;
  max-width: 58ch;
  line-height: 1.75;
}

.home-cta-final-underline {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  color: var(--white);
}

.home-cta-final-button {
  min-height: 58px;
  padding: 17px 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.home-cta-final-button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary) !important;
  border-color: rgba(255, 255, 255, 0.9);
}

.home-cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.home-cta-final-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.home-cta-final-link:hover {
  color: var(--white);
}

.home-cta-final-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-cta-pill {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 13px;
  border-radius: 999px;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-cta-final-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-cta-final-card-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--primary);
}

.home-cta-final-card-sub {
  margin: 0 0 18px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.home-cta-form {
  display: grid;
  gap: 14px;
}

.home-cta-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-cta-form-field {
  display: grid;
  gap: 7px;
}

.home-cta-form-field label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.home-cta-form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  font: inherit;
  transition: var(--transition);
}

.home-cta-form-field input:focus {
  outline: none;
  border-color: rgba(255, 0, 116, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 0, 116, 0.12);
}

.home-cta-form-field input[aria-invalid="true"] {
  border-color: rgba(185, 28, 28, 0.5);
}

.home-cta-form-error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
}

.home-cta-form-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.home-cta-form-message--success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.home-cta-form-message--error {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.home-cta-form-button {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  background: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
}

.home-cta-form-button:hover {
  background: #d60062;
  color: var(--white) !important;
  border-color: #d60062;
}

@media (max-width: 991px) {
  .home-cta-final {
    padding: 32px 0 72px;
  }

  .home-cta-final-inner {
    grid-template-columns: 1fr;
    padding: 44px clamp(24px, 5vw, 56px);
    text-align: left;
  }

  .home-cta-final-actions {
    justify-content: flex-start;
  }

  .home-cta-final-trust {
    justify-content: flex-start;
  }

  .home-cta-final-card {
    text-align: left;
  }

  .home-cta-final-title {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .home-cta-final-inner {
    padding: 34px 24px;
    gap: 28px;
  }

  .home-cta-final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta-final-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .home-cta-final-link {
    width: 100%;
    text-align: left;
  }
}

/* Contact page — hero */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-hero-copy {
  min-width: 0;
}

.contact-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
}

.contact-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255, 0, 116, 0.06), transparent 80%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.contact-hero-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.contact-hero-stat-label {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-dark);
  opacity: 0.78;
}

@media (max-width: 991px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .contact-hero-stats {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-hero-stat-number {
    font-size: 28px;
  }
}

/* Contact page — full-bleed "Three ways to reach us" panel */
.contact-reach-section {
  padding: 0;
}

.contact-reach-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: 0;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 8vw, 140px);
  align-items: stretch;
}

.contact-reach-copy {
  color: var(--white);
}

.contact-reach-title,
.contact-reach-copy h2,
.contact-reach-copy h3 {
  color: var(--white);
}

.contact-reach-title .primary-text {
  color: var(--white);
  opacity: 0.9;
}

.contact-reach-intro {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
  max-width: 56ch;
}

.contact-reach-copy .page-contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.contact-reach-copy .page-contact-card h3 {
  color: var(--white);
}

.contact-reach-copy .page-contact-card p,
.contact-reach-copy .page-contact-card a {
  color: rgba(255, 255, 255, 0.95);
}

.contact-reach-copy .page-contact-card a:hover {
  color: var(--white);
  text-decoration: underline;
}

.contact-reach-copy .home-step-cta {
  color: var(--white);
  font-weight: 700;
}

.contact-reach-copy .home-cta-pill {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

@media (max-width: 991px) {
  .contact-reach-inner {
    grid-template-columns: 1fr;
    padding: 56px clamp(20px, 6vw, 56px);
  }
}

@media (max-width: 768px) {
  .contact-reach-inner {
    padding: 44px 22px;
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .home-hero-panel {
    padding: 0 0 46px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 46px;
  }

  .home-founder-wrap {
    justify-self: center;
    max-width: 560px;
  }

  .home-founder-media img {
    width: 140px;
    height: 140px;
  }

  .home-mini-grid {
    grid-template-columns: 1fr;
  }

  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-services-cta-actions {
    align-items: flex-start;
    width: 100%;
  }

  .home-steps-panel {
    padding: 46px;
  }

  .home-steps-grid {
    grid-template-columns: 1fr;
  }

  .home-steps-footer {
    justify-content: flex-start;
  }

  .home-duo-grid {
    grid-template-columns: 1fr;
  }

  .home-duo-card {
    padding: 46px;
  }

  .home-testimonials-panel {
    padding: 46px;
  }

  .home-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .home-video-grid {
    grid-template-columns: 1fr;
  }

  .home-faq-panel {
    padding: 46px;
  }

  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .home-faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-faq-cta-actions {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .home-hero-form-wrap {
    padding: 18px;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-founder-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-founder-media img {
    width: 100%;
    height: auto;
    max-width: 260px;
  }
}

/* ============================================================
   Blog article magazine treatment
   Components injected by assets/js/article.js + manually-applied
   ============================================================ */

/* Table of contents box */
.toc-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px auto 0;
  max-width: 900px;
  box-shadow: var(--shadow);
}
.toc-box .toc-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
}
.toc-box ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
@media (max-width: 720px) {
  .toc-box ol { grid-template-columns: 1fr; }
  .toc-box { padding: 22px 22px; }
}
.toc-box li {
  counter-increment: toc;
  list-style: none;
}
.toc-box a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.toc-box a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 26px;
}
.toc-box a:hover,
.toc-box a.is-active {
  color: var(--primary);
}

/* Step badge (auto-applied to H2s like "1. Foo", "Step 1: Foo", "Tip 1 — Foo") */
.card h2.has-step-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.card h2 .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff4d9e);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
  box-shadow: 0 6px 16px -4px rgba(255, 0, 116, 0.45);
}
@media (max-width: 720px) {
  .card h2 .step-badge { width: 46px; height: 46px; font-size: 18px; }
}

/* Drop-cap on first paragraph of first content section */
.has-drop-cap > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4.2em;
  float: left;
  line-height: 0.9;
  margin: 4px 14px 0 0;
  color: var(--primary);
}

/* Pull quote */
.pull-quote {
  margin: 36px auto;
  padding: 24px 28px 24px 36px;
  max-width: 820px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem);
  line-height: 1.4;
  color: var(--text-dark);
  border-left: 5px solid var(--primary);
  background: linear-gradient(90deg, rgba(255, 0, 116, 0.05), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  left: 12px;
  top: -10px;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  font-family: var(--font-heading);
}
.pull-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.78em;
  font-style: normal;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Inline stat callout (wraps a number + label) */
.stat-callout {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 10px;
  background: rgba(255, 0, 116, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Block-level stat highlight (grid of numbers) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.stat-card {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 0, 116, 0.06), rgba(0, 175, 182, 0.06));
  border: 1px solid var(--border);
  text-align: left;
}
.stat-card .stat-figure {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem);
  line-height: 1;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-card .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0;
  text-transform: none;
}

/* Callout boxes (info / tip / warning / success) */
.callout {
  margin: 28px 0;
  padding: 22px 26px 22px 64px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  position: relative;
  color: var(--text-body);
}
.callout::before {
  content: 'i';
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  font-style: italic;
}
.callout .callout-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.callout p:last-child { margin-bottom: 0; }
.callout.callout-tip {
  background: linear-gradient(180deg, rgba(0, 175, 182, 0.07), rgba(0, 175, 182, 0.02));
  border-left-color: var(--accent);
}
.callout.callout-tip::before { content: '\2713'; background: var(--accent); }
.callout.callout-tip .callout-title { color: var(--accent); }
.callout.callout-warning {
  background: linear-gradient(180deg, rgba(255, 167, 38, 0.1), rgba(255, 167, 38, 0.03));
  border-left-color: #f59e0b;
}
.callout.callout-warning::before { content: '!'; background: #f59e0b; }
.callout.callout-warning .callout-title { color: #b45309; }

/* Key takeaways card (auto-tagged by JS) */
.card.takeaway-card {
  background: linear-gradient(135deg, rgba(255, 0, 116, 0.04), rgba(0, 175, 182, 0.04)), var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}
.card.takeaway-card::before {
  content: 'Key';
  position: absolute;
  right: -22px;
  top: 18px;
  padding: 6px 36px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(35deg);
  box-shadow: 0 4px 10px -2px rgba(255, 0, 116, 0.35);
}
.card.takeaway-card .text ul,
.card.takeaway-card .text ol {
  list-style: none;
  padding-left: 0;
}
.card.takeaway-card .text ul li,
.card.takeaway-card .text ol li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.card.takeaway-card .text ul li:last-child,
.card.takeaway-card .text ol li:last-child { border-bottom: 0; }
.card.takeaway-card .text ul li::before,
.card.takeaway-card .text ol li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 0, 116, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}
.card.takeaway-card .text ol { counter-reset: takeaway; }
.card.takeaway-card .text ol li::before {
  counter-increment: takeaway;
  content: counter(takeaway);
  font-size: 13px;
  font-family: var(--font-heading);
}

/* Related posts grid (auto-injected before CTA) */
.related-posts {
  background: var(--bg-light);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.related-posts .related-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}
.related-posts .related-title {
  text-align: center;
  font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.2rem);
  margin-bottom: 40px;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 991px) {
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .related-posts-grid { grid-template-columns: 1fr; }
}
.related-posts-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}
.related-posts-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.related-posts-card .related-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 0, 116, 0.08);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.related-posts-card .related-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 0 0 14px;
}
.related-posts-card:hover .related-card-title { color: var(--primary); }
.related-posts-card .related-arrow {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Refinements to existing blog card body type */
.card .text > p:first-of-type { font-size: 17px; }
.card .text a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(255, 0, 116, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.card .text a:hover { text-decoration-color: var(--primary); }
.card .text blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-dark);
  font-style: italic;
}
.card .text blockquote p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------
   Subtle pink accents
   ------------------------------------------------------------------ */

/* Text selection picks up the brand pink */
::selection {
  background: rgba(255, 0, 116, 0.22);
  color: var(--text-dark);
}

/* Tiny pink dot before page-kicker text */
.page-kicker::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 0, 116, 0.18);
}

/* Soft pink underline accent under primary section headings */
.primary-heading {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.primary-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 0, 116, 0));
}

.text-center .primary-heading::after,
.page-section-head .primary-heading::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 0, 116, 0), var(--primary), rgba(255, 0, 116, 0));
  width: 72px;
}

/* Cards lift with a soft pink border + glow on hover */
.page-mini-card,
.page-link-card,
.page-contact-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-mini-card:hover,
.page-link-card:hover,
.page-contact-card:hover {
  border-color: rgba(255, 0, 116, 0.35);
  box-shadow: 0 10px 30px -18px rgba(255, 0, 116, 0.35);
  transform: translateY(-2px);
}

/* Prose links get a soft pink underline that thickens on hover */
.page-prose a {
  color: var(--text-dark);
  text-decoration: underline;
  text-decoration-color: rgba(255, 0, 116, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease, color 0.2s ease;
}

.page-prose a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
}

/* Second, smaller pink glow on the opposite corner of inner-page hero */
.inner-page-hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -140px;
  background: radial-gradient(circle at center, rgba(255, 0, 116, 0.18), transparent 65%);
  pointer-events: none;
}

/* Reassurance line under hero CTAs picks up a faint pink tint */
.page-hero-reassurance {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-reassurance a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 0, 116, 0.6);
}

/* ==========================================================================
   Site-wide mobile / responsive safety net
   --------------------------------------------------------------------------
   Catches inline styles on legacy blog templates (padding: 100px 0, 80px 0,
   fixed font-size: 22px), tightens chunky padding on hero/card/panel
   components below 768px, and adds general overflow guards so no page can
   blow out its horizontal width on small screens.
   ========================================================================== */

/* Prevent long URLs / unbroken strings from forcing horizontal scroll */
html, body { overflow-x: hidden; }
body, p, li, h1, h2, h3, h4, .brxe-heading {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Media inside content never overflows its container */
img, picture, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}
iframe, video, embed, object {
  display: block;
}

/* Anchor jumps clear the sticky 100px header */
:target,
h1[id], h2[id], h3[id],
section[id], [id^="section-"] {
  scroll-margin-top: 110px;
}

/* Article-style hero: many legacy pages hard-code padding: 100px 0 inline.
   We can't touch the inline value, but we can scope a media-query override. */
@media (max-width: 991px) {
  .brxe-section[style*="padding: 100px 0"] {
    padding: 72px 0 !important;
  }
  .brxe-section[style*="padding: 80px 0"] {
    padding: 60px 0 !important;
  }
  /* Legacy article sub-heading inline 22px is too large on phones */
  .new-sub-heading[style*="font-size: 22px"] {
    font-size: 18px !important;
  }
}

@media (max-width: 768px) {
  .brxe-section[style*="padding: 100px 0"] {
    padding: 56px 0 !important;
  }
  .brxe-section[style*="padding: 80px 0"] {
    padding: 48px 0 !important;
  }
  .new-sub-heading[style*="font-size: 22px"] {
    font-size: 17px !important;
  }
}

@media (max-width: 480px) {
  .brxe-section[style*="padding: 100px 0"] {
    padding: 44px 0 !important;
  }
  .brxe-section[style*="padding: 80px 0"] {
    padding: 36px 0 !important;
  }
}

/* Container: tighten gutters on small phones */
@media (max-width: 600px) {
  .brxe-container { padding: 0 20px; }
}
@media (max-width: 380px) {
  .brxe-container { padding: 0 16px; }
}

/* Section padding shrink */
@media (max-width: 768px) {
  .brxe-section { padding: 40px 0; }
  .wider-section { padding: 72px 0; }
}
@media (max-width: 480px) {
  .brxe-section { padding: 32px 0; }
  .wider-section { padding: 56px 0; }
}

/* Hero padding (covers .new-hero and inner-page-hero on every page) */
@media (max-width: 991px) {
  .new-hero { padding: 110px 0 80px; }
}
@media (max-width: 768px) {
  .new-hero { padding: 80px 0 60px; }
  .new-hero-heading { letter-spacing: -1px; }
  .page-hero-actions { gap: 12px; margin-top: 24px; }
}
@media (max-width: 480px) {
  .new-hero { padding: 64px 0 48px; }
}

/* Standard cards: 48px padding is heavy on phones */
@media (max-width: 768px) {
  .card, .brxe-card-section { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .card, .brxe-card-section { padding: 26px 20px; border-radius: 18px; }
  .card h3 { padding-left: 14px; }
}

/* Coloured / rounded boxes used across pages */
@media (max-width: 768px) {
  .lightblue-box,
  .white-box {
    padding: 36px 26px;
    border-radius: 28px;
  }
  .darkblue-box {
    padding: 44px 26px;
    border-radius: 28px;
  }
}
@media (max-width: 480px) {
  .lightblue-box,
  .white-box,
  .darkblue-box {
    padding: 28px 20px;
    border-radius: 22px;
  }
}

/* Homepage / shared panels — already shrink at 991px; add a tighter step */
@media (max-width: 600px) {
  .home-steps-panel,
  .home-testimonials-panel,
  .home-faq-panel {
    padding: 30px 22px;
    border-radius: 26px;
  }
  .home-duo-card {
    padding: 30px 22px;
    border-radius: 26px;
  }
  .home-mini-card { padding: 24px 20px; border-radius: 22px; }
  .home-service-card { padding: 26px 22px; border-radius: 22px; }
  .home-services-cta { padding: 26px 22px; border-radius: 22px; }
  .home-cta-final-inner { padding: 32px 20px; }
  .home-section-title { font-size: clamp(1.6rem, 4vw + 1rem, 2.2rem); }
}

/* Page-* panels: already shrink at 991/768; finish the job at 480 */
@media (max-width: 480px) {
  .page-copy-panel,
  .page-image-panel,
  .page-highlight-panel,
  .page-faq-panel,
  .page-article-panel,
  .page-cta-band {
    padding: 22px 20px;
    border-radius: 22px;
  }
  .page-process-item { padding: 22px 20px; border-radius: 20px; }
  .page-faq-item { padding: 22px 20px; border-radius: 20px; }
  .page-mini-card,
  .page-link-card,
  .page-contact-card { padding: 20px 18px; border-radius: 20px; }
}

/* Buttons: keep tap targets comfortable but tighten side padding on phones */
@media (max-width: 480px) {
  .bricks-button {
    padding: 14px 22px;
    font-size: 15px;
  }
  .page-hero-actions .bricks-button { min-width: 0; width: 100%; }
}

/* Form inputs: ensure 16px+ to avoid iOS auto-zoom on focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
  font-size: 16px;
}

/* FAQ question text: long questions wrapping next to the + icon */
@media (max-width: 480px) {
  .faq-question {
    font-size: 16px;
    padding: 18px 18px;
    gap: 12px;
  }
  .faq-answer p { padding: 18px; font-size: 15px; }
}

/* Testimonial / review cards: tidy at narrow widths */
@media (max-width: 480px) {
  .home-review-card { padding: 22px 20px; border-radius: 20px; min-height: 0; }
  .home-review-quote { font-size: 15px; }
}

/* Video card hero: shorter on phones so it doesn't dominate */
@media (max-width: 768px) {
  .home-video-card { min-height: 240px; padding: 22px; }
  .home-video-caption { font-size: 20px; }
}
@media (max-width: 480px) {
  .home-video-card { min-height: 200px; padding: 18px; }
}

/* Inner-page hero second pink glow can crowd small screens */
@media (max-width: 768px) {
  .inner-page-hero::before {
    width: 320px;
    height: 320px;
    right: -120px;
    top: -180px;
  }
  .inner-page-hero::after {
    width: 200px;
    height: 200px;
    left: -90px;
    bottom: -110px;
  }
}

/* Two-column lists (e.g. what-to-expect spam list) collapse on phones */
@media (max-width: 600px) {
  [style*="columns: 2"] { columns: 1 !important; }
}

/* Generic catch: anything trying to be a fixed wide pixel max-width
   shouldn't overflow when the viewport is narrower. */
[style*="max-width: 900px"],
[style*="max-width: 860px"],
[style*="max-width: 820px"],
[style*="max-width: 800px"],
[style*="max-width: 760px"] {
  max-width: 100% !important;
}
@media (min-width: 769px) {
  [style*="max-width: 900px"] { max-width: 900px !important; }
  [style*="max-width: 860px"] { max-width: 860px !important; }
  [style*="max-width: 820px"] { max-width: 820px !important; }
  [style*="max-width: 800px"] { max-width: 800px !important; }
  [style*="max-width: 760px"] { max-width: 760px !important; }
}

/* Stop the home-hero on the homepage spilling out at narrow widths */
@media (max-width: 480px) {
  .home-hero-panel { padding: 0 0 36px; border-radius: 0; }
  .home-hero-grid { padding-top: 36px; }
  .home-hero-form-wrap { padding: 16px; border-radius: 18px; }
  .home-hero-form-button { font-size: 15px; }
}

/* Article hero (legacy pages) — recenter and breathe on phones */
@media (max-width: 600px) {
  .brxe-section.bg-light .brxe-container.text-center h1 {
    font-size: clamp(1.7rem, 5vw + 0.9rem, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.5px;
  }
}

/* Site-wide mobile resilience.
   This catches legacy article pages that still use older Bricks-style markup
   and inline styles, so every page remains readable while we migrate content
   into dynamic section data. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
}

.text,
.page-prose,
.card,
.page-copy-panel,
.page-video-panel,
.page-article-panel,
.home-duo-card,
.home-service-card,
.home-step-card {
  overflow-wrap: anywhere;
}

.text table,
.page-prose table,
.card table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.68;
  }

  h1,
  .new-hero-heading,
  .home-hero-heading {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
  }

  h1,
  h2,
  h3,
  .brxe-heading,
  .new-hero-heading,
  .home-hero-heading,
  .home-section-title,
  .page-cta-title {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .home-hero-sub,
  .new-sub-heading,
  .page-section-head p,
  .page-cta-text {
    overflow-wrap: anywhere;
  }

  h2,
  .primary-heading,
  .home-section-title {
    font-size: clamp(1.65rem, 6vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: 0;
  }

  h3 {
    font-size: clamp(1.25rem, 4.5vw, 1.6rem);
    letter-spacing: 0;
  }

  p {
    margin-bottom: 1.25rem;
  }

  .brxe-section,
  .new-hero,
  main > .brxe-section[style*="padding: 100px 0"],
  main > .brxe-section[style*="padding: 80px 0"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .home-hero {
    padding: 0 !important;
  }

  .inner-page-hero {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .text-center {
    text-align: center;
  }

  .new-sub-heading,
  [style*="font-size: 22px"] {
    max-width: 100% !important;
    font-size: clamp(1rem, 3.8vw, 1.18rem) !important;
    line-height: 1.62 !important;
  }

  .card,
  .brxe-card-section,
  .darkblue-box,
  .lightblue-box,
  .white-box {
    padding: 28px;
    border-radius: 24px;
  }

  .brx-grid,
  .blue-container,
  .page-split-panel,
  .home-duo-grid,
  .home-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .brx-grid,
  .blue-container {
    text-align: left;
  }

  .brx-grid .text,
  .blue-container .text,
  .card .text,
  .page-prose,
  .page-copy-panel {
    text-align: left;
  }

  .image-col {
    order: -1;
  }

  .image-col img,
  .brxe-image img,
  .content-area img {
    margin: 12px 0 0;
    border-radius: 18px;
  }

  .card:hover,
  .home-service-card:hover,
  .home-step-card:hover {
    transform: none;
  }

  .card .text ul li,
  .card .text ol li {
    padding-left: 30px;
  }

  .footer-links a,
  .page-prose a,
  .card .text a,
  .text a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .bricks-button,
  .bricks-button[style*="padding: 18px 45px"] {
    width: 100%;
    min-height: 48px;
    padding: 14px 18px !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brxe-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .primary-nav ul {
    left: 16px;
    right: 16px;
    border-radius: 18px;
  }

  .card .text,
  .page-prose {
    font-size: 16px;
    line-height: 1.72;
  }

  .brxe-section,
  .new-hero,
  main > .brxe-section[style*="padding: 100px 0"],
  main > .brxe-section[style*="padding: 80px 0"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .home-hero {
    padding: 0 !important;
  }

  .inner-page-hero {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .card,
  .brxe-card-section,
  .darkblue-box,
  .lightblue-box,
  .white-box,
  .page-copy-panel,
  .page-image-panel,
  .page-highlight-panel,
  .page-faq-panel,
  .page-article-panel,
  .page-cta-band {
    padding: 22px;
    border-radius: 20px;
  }

  .card .text p.is-lede,
  .card .text > p:first-of-type {
    font-size: 1.03em;
  }

  .bricks-button,
  button,
  input,
  textarea,
  select {
    max-width: 100%;
  }

  .page-cta-actions,
  .page-hero-actions,
  .home-hero-actions,
  .home-cta-final-actions,
  .home-services-cta-actions {
    width: 100%;
  }
}

/* Responsive hardening pass.
   Keeps the current design, but prevents medium-width nav crowding,
   fixed-width children, and long labels from forcing horizontal scroll. */
main {
  min-width: 0;
}

.brxe-container,
.wide-container,
.home-hero-grid,
.home-mini-grid,
.home-services-grid,
.home-steps-grid,
.home-duo-grid,
.home-testimonials-grid,
.home-video-grid,
.home-faq-grid,
.page-contact-grid,
.page-split-panel,
.contact-hero-grid,
.contact-reach-inner,
.footer-grid {
  min-width: 0;
}

.home-service-card,
.home-mini-card,
.home-duo-card,
.home-step-card,
.home-review-card,
.page-contact-card,
.page-copy-panel,
.page-image-panel,
.page-highlight-panel,
.page-article-panel,
.page-faq-panel,
.footer-column {
  min-width: 0;
}

.bricks-button,
.home-service-cta,
.home-mini-link,
.footer-links a,
.primary-nav a {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

@media (max-width: 900px) {
  header {
    height: 84px;
  }

  header .brxe-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo img {
    height: 48px;
    max-width: min(220px, 58vw);
    object-fit: contain;
  }

  .mobile-menu-toggle {
    display: flex;
    flex: 0 0 46px;
  }

  .primary-nav ul {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
    padding: 14px 18px 18px;
    gap: 2px;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav ul li {
    width: 100%;
    padding: 0;
  }

  .primary-nav ul li a:not(.bricks-button) {
    display: block;
    padding: 14px 0;
  }

  .primary-nav ul li + li {
    border-top: 1px solid rgba(226, 232, 240, 0.72);
  }

  .primary-nav ul li a.bricks-button {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  .primary-nav.menu-open ul {
    max-height: calc(100dvh - 116px);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  :target,
  h1[id], h2[id], h3[id],
  section[id], [id^="section-"] {
    scroll-margin-top: 96px;
  }
}

@media (max-width: 768px) {
  .home-hero-copy,
  .home-founder-wrap,
  .contact-hero-copy,
  .contact-reach-copy,
  .footer-brand-block {
    width: 100%;
  }

  .home-hero-actions,
  .home-services-cta-actions,
  .footer-cta-actions,
  .page-cta-actions,
  .page-hero-actions {
    align-items: stretch;
  }

  .home-hero-actions .bricks-button,
  .home-services-cta-actions .bricks-button,
  .footer-cta-actions .bricks-button,
  .page-cta-actions .bricks-button,
  .page-hero-actions .bricks-button {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .home-founder-card--video-only {
    padding: 12px;
    border-radius: 22px;
  }

  .home-founder-card--video-only .home-founder-video {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  header {
    height: 76px;
  }

  header .brxe-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo img {
    height: 42px;
    max-width: min(190px, 56vw);
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 24px;
    border-radius: 10px;
  }

  .primary-nav ul {
    top: calc(100% + 10px);
    max-height: calc(100dvh - 98px);
  }

  .home-hero-trust {
    align-items: stretch;
  }

  .home-trust-item {
    width: 100%;
  }
}

/* Mobile footer refinement */
@media (max-width: 768px) {
  .footer-cta-band {
    padding: 34px 0;
  }

  .footer-cta-inner {
    gap: 22px;
  }

  .footer-cta-copy {
    flex: 0 1 auto;
  }

  .footer-cta-title {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    line-height: 1.08;
  }

  .footer-cta-actions {
    gap: 12px;
  }

  .footer-cta-actions .bricks-button.white-button,
  .footer-cta-phone {
    width: 100%;
  }

  .footer-cta-phone {
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-shell {
    padding: 34px 0 22px;
  }

  .footer-grid {
    gap: 0;
    padding-bottom: 18px;
  }

  .footer-brand-block {
    text-align: center;
    display: grid;
    justify-items: center;
    padding-bottom: 24px;
  }

  .footer-brand-block::after {
    margin-top: 22px;
  }

  .footer-blurb {
    max-width: 34rem;
  }

  .footer-column:not(.footer-brand-block) {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  footer h4 {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.72);
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .footer-links li {
    margin: 0;
  }

  .footer-links li a {
    min-height: 42px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
    text-align: center;
  }

  .footer-column-contact .footer-contact-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 0;
  }

  .footer-contact-list li {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-column-contact .footer-links li a {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 12px;
    gap: 16px;
  }

  .social-icons {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom p {
    max-width: 30rem;
    line-height: 1.55;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    max-width: min(220px, 72vw);
    object-fit: contain;
  }

  .footer-cta-phone-number {
    font-size: 20px;
  }
}

/* Mobile service and step cards become compact accordions */
@media (max-width: 768px) {
  .home-hero-trust {
    justify-content: center;
  }

  .home-trust-item {
    display: inline-flex;
    justify-content: center;
    text-align: center;
  }

  .js-enabled .home-service-card,
  .js-enabled .home-step-card {
    padding: 0;
    overflow: hidden;
  }

  .js-enabled .home-service-card:hover,
  .js-enabled .home-step-card:hover {
    transform: none;
  }

  .js-enabled .home-service-title,
  .js-enabled .home-step-title {
    margin: 0;
    font-size: 19px;
  }

  .js-enabled .home-service-toggle,
  .js-enabled .home-step-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 18px 20px;
  }

  .js-enabled .home-service-toggle-icon,
  .js-enabled .home-step-toggle-icon {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 116, 0.28);
    background: rgba(255, 0, 116, 0.06);
    position: relative;
  }

  .js-enabled .home-service-toggle-icon::before,
  .js-enabled .home-service-toggle-icon::after,
  .js-enabled .home-step-toggle-icon::before,
  .js-enabled .home-step-toggle-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
  }

  .js-enabled .home-service-toggle-icon::after,
  .js-enabled .home-step-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .js-enabled .home-service-card.is-open .home-service-toggle-icon::after,
  .js-enabled .home-step-card.is-open .home-step-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .js-enabled .home-service-panel,
  .js-enabled .home-step-panel {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding-bottom 0.2s ease;
  }

  .js-enabled .home-service-card.is-open .home-service-panel,
  .js-enabled .home-step-card.is-open .home-step-panel {
    max-height: 420px;
    opacity: 1;
    padding-bottom: 22px;
  }

  .js-enabled .home-service-desc,
  .js-enabled .home-step-panel p {
    margin-bottom: 14px;
  }

  .js-enabled .home-service-cta,
  .js-enabled .home-step-cta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 4px;
  }
}
