/*
 * Theme Name:  MEMO Theme
 * Theme URI:   https://memomarketinggroup.com
 * Author:      MEMO Marketing Group
 * Author URI:  https://memomarketinggroup.com
 * Description: MEMO Theme — Divi child theme. Drop-in client branding via CSS variables.
 *              Built for CleanSlate Technology Group. Extend for Cavo Health, SimpliSmart.
 * Template:    Divi
 * Version:     1.0.0
 * Text Domain: memo-theme
 * License:     Proprietary — MEMO Marketing Group
 */


/* ============================================================
   1. CLIENT BRAND TOKENS
   To re-skin for a new client, update ONLY this block.
   All components below reference these variables.
   ============================================================ */

:root {
  /* Primary palette — CleanSlate */
  --color-primary:       #004363;   /* Navy — headings, nav, dark sections */
  --color-accent:        #0a7f95;   /* Teal — links, buttons, hovers */
  --color-secondary:     #f7a541;   /* Orange — highlights, stats, hover accents */
  --color-green:         #57b378;   /* Green — from logo, primary CTA */
  --color-light-bg:      #eff4f9;   /* Light blue-gray — alternating section bg */
  --color-footer-bg:     #004362;   /* Footer navy */

  /* Typography */
  --font-body:           'Open Sans', Helvetica, Arial, Lucida, sans-serif;
  --font-heading:        'Assistant', Helvetica, Arial, Lucida, sans-serif;

  /* Sizing */
  --border-radius-btn:   30px;
  --border-radius-card:  0px;

  /* Transitions */
  --transition-base:     all 0.25s ease;
  --transition-slow:     all 0.35s ease;
}


/* ============================================================
   2. BASE RESETS & BODY
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  color: #404040;
  line-height: 1.6em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2em;
  font-weight: 700;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover { opacity: 0.85; }

img { max-width: 100%; height: auto; }


/* ============================================================
   3. DIVI GLOBAL OVERRIDES
   These correct Divi defaults to match the MEMO design system.
   ============================================================ */

/* --- Buttons --- */
/* Divi generates .et_pb_button — override with brand style */
.et_pb_button {
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  padding: 0.3em 1em !important;
  line-height: 1.7em !important;
  background-color: transparent !important;
  border: 2px solid var(--color-accent) !important;
  border-radius: var(--border-radius-btn) !important;
  color: var(--color-accent) !important;
  transition: var(--transition-base) !important;
  display: inline-block;
}

.et_pb_button:hover {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
}

/* Button variants */
.et_pb_button.btn-white {
  border-color: #fff !important;
  color: #fff !important;
  background-color: transparent !important;
}
.et_pb_button.btn-white:hover {
  background-color: #fff !important;
  color: var(--color-primary) !important;
}

.et_pb_button.btn-green {
  background-color: var(--color-green) !important;
  border-color: var(--color-green) !important;
  color: #fff !important;
}
.et_pb_button.btn-green:hover {
  background-color: #3f9a5e !important;
  border-color: #3f9a5e !important;
}

.et_pb_button.btn-orange {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  color: #fff !important;
}
.et_pb_button.btn-orange:hover {
  background-color: #d4892e !important;
  border-color: #d4892e !important;
}

/* Phoenix/Divi "more-link" black button — override to teal filled */
a.more-link {
  font-family: var(--font-heading) !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 2px solid var(--color-accent) !important;
  border-radius: var(--border-radius-btn) !important;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 3px;
  padding: 0.3em 1em;
  margin-top: 25px;
  display: inline-block !important;
  line-height: 1.7em;
  transition: var(--transition-base) !important;
}
a.more-link:hover {
  background: #076d80 !important;
  border-color: #076d80 !important;
  color: #fff !important;
}

/* --- Navigation --- */
#main-header {
  font-family: var(--font-heading);
  box-shadow: 0 0 50px rgba(0,0,0,.1);
}

#main-header.et-fixed-header {
  background-color: var(--color-primary) !important;
  box-shadow: 0 0 25px rgba(0,0,0,.1) !important;
}

#top-menu > li > a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff !important;
}

#top-menu > li > a:hover { color: rgba(255,255,255,.75) !important; }

/* Nav CTA button */
#top-menu .nav-cta > a {
  background-color: transparent !important;
  border: 2px solid #fff !important;
  border-radius: var(--border-radius-btn) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
}
#top-menu .nav-cta > a:hover {
  background-color: #fff !important;
  color: var(--color-primary) !important;
  opacity: 1;
}

/* Dropdown sub-menus — panel */
#top-menu ul.sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  z-index: 9999;
  padding: 14px 10px 10px;
  list-style: none;
  margin: 0;
  min-width: 370px;
  border-radius: 12px;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}
#top-menu > li:hover > ul.sub-menu {
  display: block !important;
}
/* About dropdown — right-anchored to avoid viewport overflow */
#top-menu > li.dd-align-right > ul.sub-menu {
  left: auto;
  right: 0;
  transform: none;
}
/* Caret / pointer arrow pointing up to parent nav item */
#top-menu ul.sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 2px 0 0 0;
}
#top-menu > li.dd-align-right > ul.sub-menu::before {
  left: auto;
  right: 22px;
  transform: rotate(45deg);
}

/* Active nav item */
#top-menu > li.menu-item-active > a {
  color: var(--color-secondary) !important;
}

/* Dropdown item row */
a.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition-base);
  color: inherit;
}
a.dd-item:hover {
  background: rgba(10,127,149,.07);
  opacity: 1;
}

/* Icon container */
.dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size:30px;
}
.dd-icon-orange { background: rgba(247,165,65,.15); color: #c07b0a; }
.dd-icon-teal   { background: rgba(10,127,149,.12); color: var(--color-accent); }
.dd-icon-navy   { background: rgba(0,67,99,.10);    color: var(--color-primary); }
.dd-icon-green  { background: rgba(87,179,120,.15); color: #2d8a56; }

/* Text block */
.dd-text {
  flex: 1;
  min-width: 0;
}
.dd-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}
.dd-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: #777;
  line-height: 1.4;
}

/* Footer CTA row */
li.dd-footer-item {
  border-top: 1px solid #eef2f5;
  margin-top: 4px;
  padding-top: 4px;
}
a.dd-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: var(--color-accent) !important;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--transition-base);
  white-space: nowrap;
  gap: 8px;
}
a.dd-footer-link:hover {
  background: rgba(10,127,149,.07);
  opacity: 1;
}
.dd-footer-link-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile menu */
.et_mobile_menu {
  background-color: rgba(0,0,0,.92);
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  text-align: center;
}
.et_mobile_menu li a {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 14px 5%;
}

/* --- Headings in Divi modules --- */
.et_pb_text h1, .et_pb_module h1 { font-size: 48px; }
.et_pb_text h2, .et_pb_module h2 { font-size: 38px; }
.et_pb_text h3, .et_pb_module h3 { font-size: 30px; }
.et_pb_text h4, .et_pb_module h4 { font-size: 24px; }
.et_pb_text h5, .et_pb_module h5 { font-size: 18px; }
.et_pb_text h6, .et_pb_module h6 { font-size: 14px; }

/* --- Footer --- */
#main-footer { background-color: var(--color-footer-bg); }
#footer-bottom { background-color: #000; }

#footer-info {
  float: none;
  text-align: center;
  letter-spacing: 4px;
  font-weight: 700 !important;
  font-size: 11px;
  text-transform: uppercase;
  color: #fff;
}

.footer-widget-title {
  font-family: var(--font-heading);
  color: #aeb3bc;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 14px;
}

#main-footer .et_pb_widget a,
#main-footer .footer-link {
  color: #aeb3bc;
  font-family: var(--font-heading);
  font-size: 13px;
  display: block;
  padding: 4px 0;
  transition: color .2s;
}
#main-footer .et_pb_widget a:hover,
#main-footer .footer-link:hover { color: #fff; opacity: 1; }


/* ============================================================
   4. MEMO CUSTOM COMPONENTS
   Page-level patterns used across client sites.
   These do not exist in Divi's module library.
   ============================================================ */

/* --- Gradient divider --- */
.memo-divider {
  background-image: linear-gradient(90deg, #0a7f95 0%, #57b378 100%);
  height: 4px;
  max-width: 544px;
  margin: 0 0 24px;
}
.memo-divider.centered { margin-left: auto; margin-right: auto; }

/* --- Section label (overline) --- */
.memo-overline {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.memo-overline.light  { color: rgba(255,255,255,.5); }
.memo-overline.white  { color: rgba(255,255,255,.8); }
.memo-overline.navy   { color: var(--color-primary); }

/* --- FA Icon Circles --- */
.memo-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition-base);
}
.memo-icon-circle i { font-size:48px; color: var(--color-accent); }
.memo-icon-circle:hover { background: rgba(10,127,149,.1); }

.memo-icon-circle-sm {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(10,127,149,.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.memo-icon-circle-sm i { font-size:27px; color: var(--color-accent); }

.memo-icon-circle-white {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-base);
}
.memo-icon-circle-white i { font-size:30px; color: rgba(255,255,255,.8); }

/* --- Number Badge --- */
.memo-num-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}
.memo-num-badge.active { background: var(--color-secondary); }

/* --- Service Tabs Strip --- */
.memo-service-tabs {
  background-color: var(--color-primary);
  position: relative;
  z-index: 4;
  margin-top: -110px;
  box-shadow: 0 0 40px rgba(0,0,0,.2);
}
.memo-service-tabs-row {
  display: flex;
  align-items: stretch;
  max-width: 1190px;
  margin: 0 auto;
}
.memo-service-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border-right: 1px solid rgba(255,255,255,.1);
  transition: var(--transition-base);
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
}
.memo-service-tab:last-child { border-right: none; }
.memo-service-tab:hover,
.memo-service-tab.active {
  background: rgba(255,255,255,.08);
  color: #fff;
  opacity: 1;
}

/* --- SCALE Cards --- */
.memo-scale-grid {
  display: flex;
  gap: 0;
  border-top: 1px solid #e8edf2;
}
.memo-scale-card {
  flex: 1;
  min-width: 160px;
  background: #fff;
  padding: 36px 28px 32px;
  border-top: 3px solid transparent;
  border-right: 1px solid #e8edf2;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: border-top-color .25s, box-shadow .25s, transform .2s;
}
.memo-scale-card:last-child { border-right: none; }
.memo-scale-card:hover {
  border-top-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(0,67,99,.1);
  transform: translateY(-2px);
  z-index: 2;
}
.memo-scale-card .watermark {
  position: absolute;
  top: -10px; right: -4px;
  font-size: 96px;
  font-weight: 900;
  color: #f0f4f7;
  line-height: 1;
  font-family: var(--font-heading);
  pointer-events: none;
  user-select: none;
  transition: color .25s;
}
.memo-scale-card:hover .watermark { color: rgba(10,127,149,.07); }
.memo-scale-card h5 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary) !important;
  margin: 0 0 10px;
  padding-bottom: 0;
}
.memo-scale-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.7;
}
.memo-scale-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.memo-scale-tag.feel   { background: rgba(10,127,149,.1); color: var(--color-accent); }
.memo-scale-tag.measure { background: rgba(247,165,65,.12); color: #c07b0a; }

/* --- SCALE Model Section (Assess / Activate / Evolve) --- */
@keyframes scaleFlowPulse {
  0%   { opacity: 0.35; stroke-dashoffset: 20; }
  50%  { opacity: 1; }
  100% { opacity: 0.35; stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .sm-flow-1 { animation: scaleFlowPulse 2s ease-in-out infinite; }
  .sm-flow-2 { animation: scaleFlowPulse 2s ease-in-out infinite 0.8s; }
}
.sm-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #8a9baa;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.sm-headline {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #004363;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
  font-family: var(--font-heading);
}
.sm-headline span { color: #0a7f95; }
.sm-subhead {
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: #6a7f8e;
  margin: 0 0 40px;
}
.sm-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.sm-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 220px;
  width: 220px;
  min-width: 0;
  overflow: visible;
}
.sm-circle {
  width: 188px;
  height: 188px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.sm-circle::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed;
  opacity: 0.28;
}
.sm-circle i {
  font-size: 46px;
  line-height: 1;
  display: block;
}
.sm-pname {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  font-family: var(--font-heading);
}
.sm-divider {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  margin: 6px auto 0;
}
.sm-pdesc {
  font-size: 15px;
  color: #5a6b78;
  text-align: center;
  line-height: 1.6;
  margin: 14px 0 0;
  min-height: 42px;
}
.sm-conn {
  flex: 1 1 auto;
  min-width: 40px;
  max-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 56px;
}
.sm-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 7px 14px;
  border-radius: 24px;
  border: 1.5px solid;
  margin-top: 18px;
  white-space: nowrap;
  max-width: 220px;
  box-sizing: border-box;
}
.sm-evolve .sm-pill {
  font-size: 9.5px;
  letter-spacing: 0;
  padding: 7px 10px;
}
.sm-pill i { font-size: 14px; }
/* Assess -- green */
.sm-assess .sm-circle  { border: 2px solid #2a9d5c; box-shadow: 0 8px 32px rgba(42,157,92,.13), 0 2px 8px rgba(42,157,92,.08); }
.sm-assess .sm-circle::before { border-color: #2a9d5c; }
.sm-assess .sm-circle i { color: #2a9d5c; }
.sm-assess .sm-pname   { color: #2a9d5c; }
.sm-assess .sm-divider { background: #2a9d5c; }
.sm-assess .sm-pill    { color: #2a9d5c; border-color: #2a9d5c; background: rgba(42,157,92,.06); }
/* Activate -- blue */
.sm-activate .sm-circle  { border: 2px solid #1a6bcc; box-shadow: 0 8px 32px rgba(26,107,204,.13), 0 2px 8px rgba(26,107,204,.08); }
.sm-activate .sm-circle::before { border-color: #1a6bcc; }
.sm-activate .sm-circle i { color: #1a6bcc; }
.sm-activate .sm-pname   { color: #1a6bcc; }
.sm-activate .sm-divider { background: #1a6bcc; }
.sm-activate .sm-pill    { color: #1a6bcc; border-color: #1a6bcc; background: rgba(26,107,204,.06); }
/* Evolve -- purple */
.sm-evolve .sm-circle  { border: 2px solid #6b4fbb; box-shadow: 0 8px 32px rgba(107,79,187,.13), 0 2px 8px rgba(107,79,187,.08); }
.sm-evolve .sm-circle::before { border-color: #6b4fbb; }
.sm-evolve .sm-circle i { color: #6b4fbb; }
.sm-evolve .sm-pname   { color: #6b4fbb; }
.sm-evolve .sm-divider { background: #6b4fbb; }
.sm-evolve .sm-pill    { color: #6b4fbb; border-color: #6b4fbb; background: rgba(107,79,187,.06); }
/* Tagline */
.sm-tagline {
  text-align: center;
  font-size: 14px;
  color: #9aabb8;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid #dce8f0;
  letter-spacing: 0.3px;
}
/* Responsive */
@media screen and (max-width: 860px) {
  .sm-row { flex-direction: column; gap: 24px; }
  .sm-conn { padding-bottom: 0; padding-right: 0; transform: rotate(90deg); }
  .sm-phase { flex: none; }
}

/* --- Problem Cards --- */
.memo-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.memo-problem-card {
  background: rgba(0,50,80,.45);
  padding: 40px 32px;
  border-top: 3px solid rgba(255,255,255,.08);
  border-bottom: 3px solid transparent;
  transition: background .25s, border-bottom-color .25s, transform .2s;
  position: relative;
  overflow: hidden;
}
.memo-problem-card:hover {
  background: rgba(0,67,99,.75);
  border-bottom-color: var(--color-secondary);
  transform: translateY(-2px);
}
.memo-problem-card .problem-number {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(247,165,65,.6);
  font-family: var(--font-heading);
  margin-bottom: 10px;
  display: block;
}
.memo-problem-card h5 {
  font-family: var(--font-heading);
  color: #fff !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.memo-problem-card p {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  line-height: 1.75;
}
.memo-problem-card .card-cta {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  transition: letter-spacing .2s;
}
.memo-problem-card:hover .card-cta { letter-spacing: 3px; }

/* --- Testimonial Cards --- */
.memo-testimonial-card {
  background: #fff;
  padding: 50px;
  box-shadow: 0 2px 24px -8px rgba(0,0,0,.3);
}
.memo-testimonial-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--color-accent);
  opacity: .2;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.memo-testimonial-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.memo-testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-accent);
  margin-top: 20px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.memo-testimonial-company {
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}

/* --- Success Story Cards --- */
.memo-story-card {
  height: 399px;
  padding: 23px 30px;
  background-size: cover !important;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.memo-story-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,67,99,.3) 0%, rgba(0,67,99,.85) 100%);
}
.memo-story-card-content { position: relative; z-index: 1; }
.memo-story-card h4 { color: #fff !important; font-size: 22px !important; line-height: 1.3em; margin-bottom: 8px; }
.memo-story-card p { color: rgba(255,255,255,.85); font-size: 15px; }
.memo-trigger-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-secondary);
  background: rgba(247,165,65,.15);
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* --- COBRA Stats --- */
.memo-cobra-stat {
  text-align: center;
  background: rgba(255,255,255,.07);
  padding: 22px 20px;
}
.memo-cobra-stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
}
.memo-cobra-stat-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
  line-height: 1.5;
}

/* --- Partner Logos --- */
.memo-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}
.memo-partner {
  text-align: center;
  opacity: 1;
  transition: opacity .3s, transform .2s;
}
.memo-partner:hover { opacity: .7; transform: translateY(-2px); }
.memo-partner-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #999;
  margin-top: 8px;
  display: block;
  font-family: var(--font-heading);
}

/* --- Section background helpers --- */
.memo-bg-navy  { background-color: var(--color-primary) !important; }
.memo-bg-light { background-color: var(--color-light-bg) !important; }
.memo-bg-white { background-color: #fff !important; }

/* Text color helpers for dark sections */
.memo-on-dark h1,
.memo-on-dark h2,
.memo-on-dark h3,
.memo-on-dark h4,
.memo-on-dark h5 { color: #fff !important; }
.memo-on-dark p { color: rgba(255,255,255,.8); }
.memo-on-dark .memo-overline { color: rgba(255,255,255,.5); }


/* ============================================================
   5. RESPONSIVE SYSTEM
   All breakpoints. Zero inline styles.
   ============================================================ */

/* ---- Tablet (768px–1024px) ---- */
@media screen and (max-width: 1024px) {

  /* Nav */
  #top-navigation { display: none; }

  /* Hero */
  .et_pb_slide_description .et_pb_slide_title { font-size: 42px !important; }

  /* Service tabs */
  .memo-service-tabs-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .memo-service-tabs-row::-webkit-scrollbar { display: none; }
  .memo-service-tab { flex: 0 0 auto; white-space: nowrap; min-width: 150px; }

  /* SCALE: 3 col */
  .memo-scale-grid { flex-wrap: wrap; }
  .memo-scale-card { flex: 0 0 calc(33.33% - 2px); min-width: 0; }

  /* Problem grid: 2x2 */
  .memo-problem-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .memo-testimonial-card { padding: 32px; }
}


/* ---- Phone (max 767px) — ALL SECTIONS CENTER ---- */
@media screen and (max-width: 767px) {

  /* === GLOBAL CENTER ===
     Every heading, paragraph, and label centers on mobile.
     Applied via Divi CSS class and semantic selectors.
     No inline style overrides needed. */

  body .et_pb_section h1,
  body .et_pb_section h2,
  body .et_pb_section h3,
  body .et_pb_section h4,
  body .et_pb_section h5,
  body .et_pb_section h6,
  body .et_pb_section p,
  body .et_pb_section .et_pb_text,
  body .et_pb_section .et_pb_module_header,
  body .et_pb_section .memo-overline,
  body .et_pb_section .memo-cobra-stat-label,
  body .et_pb_section .memo-cobra-stat-number,
  body .et_pb_section .memo-testimonial-name,
  body .et_pb_section .memo-testimonial-company,
  body .et_pb_section .memo-partner-label,
  body .et_pb_section .problem-number,
  body .et_pb_section blockquote { text-align: center; }

  /* Dividers */
  body .et_pb_section .memo-divider { margin-left: auto; margin-right: auto; }

  /* Buttons */
  body .et_pb_section .et_pb_button,
  body .et_pb_section a.more-link {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  /* Icon circles */
  body .et_pb_section .memo-icon-circle,
  body .et_pb_section .memo-icon-circle-sm,
  body .et_pb_section .memo-icon-circle-white,
  body .et_pb_section .memo-num-badge { margin-left: auto; margin-right: auto; }

  /* === HEADING SCALE === */
  h1, .et_pb_text h1 { font-size: 32px !important; }
  h2, .et_pb_text h2 { font-size: 26px !important; }
  h3, .et_pb_text h3 { font-size: 22px !important; }
  h4, .et_pb_text h4 { font-size: 18px !important; }

  /* === SECTIONS === */
  .et_pb_section:not(.et_pb_fullwidth_section) { padding: 40px 0; }
  .et_pb_row { width: 92% !important; }

  /* Header: center logo */
  #main-header-wrap {
    justify-content: center;
    position: relative;
    padding: 0 20px;
  }
  #logo { margin: 0 auto; }

  /* Hero */
  .et_pb_slide { padding: 0 5%; }
  .et_pb_slider_container_inner { padding: 110px 0 160px; }
  .et_pb_slide_description { text-align: center; max-width: 100%; }
  .et_pb_slide_description .et_pb_slide_title { font-size: 34px !important; text-align: center; }
  .et_pb_slide_content { text-align: center; }
  .sfly_inline_button_row {
    flex-direction: column !important;
    align-items: center !important;
  }
  .sfly_inline_button_row .et_pb_button_module_wrapper {
    float: none !important;
    margin-right: 0 !important;
    width: 100%;
    text-align: center;
  }

  /* Service tabs */
  .memo-service-tabs { margin-top: -50px; }
  .memo-service-tab {
    min-width: 140px;
    font-size: 9px;
    padding: 16px 12px;
    white-space: normal;
    line-height: 1.4;
  }

  /* SCALE: 2 col */
  .memo-scale-grid { flex-wrap: wrap; }
  .memo-scale-card { flex: 0 0 calc(50% - 1px); }

  /* Problem: 1 col */
  .memo-problem-grid { grid-template-columns: 1fr; }
  .memo-problem-card { text-align: center; }

  /* Partner row */
  .memo-partners-row { gap: 28px; }

  /* Testimonials */
  .memo-testimonial-card { padding: 28px 20px; }

  /* Success story cards — intentionally LEFT aligned (photo bg) */
  .memo-story-card h4,
  .memo-story-card p,
  .memo-trigger-tag { text-align: left; }

  /* COBRA blockquote: swap left border for top/bottom */
  body .et_pb_section blockquote.memo-blockquote {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 2px solid rgba(247,165,65,.4);
    border-bottom: 2px solid rgba(247,165,65,.4);
    padding: 14px 0 !important;
  }

  /* Footer */
  .et_pb_widget { text-align: center; }
  .footer-widget-title { text-align: center; }
  .et_pb_widget ul li { text-align: center; }
}


/* ---- Small phone (max 480px) ---- */
@media screen and (max-width: 480px) {

  h2, .et_pb_text h2 { font-size: 22px !important; }
  h3, .et_pb_text h3 { font-size: 20px !important; }

  .et_pb_slide_description .et_pb_slide_title { font-size: 28px !important; }
  .et_pb_slider_container_inner { padding: 90px 0 140px; }

  /* SCALE: 1 col */
  .memo-scale-card { flex: 0 0 100%; }

  /* Assessment types: 1 col */
  .memo-assessment-grid { grid-template-columns: 1fr !important; }

  /* Testimonial cards */
  .memo-testimonial-card { padding: 24px 16px; }

  /* Story card height */
  .memo-story-card { height: 280px; }
}


/* ---- Large desktop (min 1441px) ---- */
@media screen and (min-width: 1441px) {
  .et_pb_row { max-width: 1600px; }
  .et_pb_slide_description .et_pb_slide_title { font-size: 56px !important; }
}


/* ============================================================
   6. PHOENIX SUPER THEME COMPATIBILITY
   Preserve sfly_* classes so existing CleanSlate pages don't break.
   Remove once all pages are rebuilt in MEMO Theme.
   ============================================================ */

.sfly_logos a img { opacity: 1; transition: all .3s ease-in-out; }
.sfly_logos a:hover img { opacity: .5; }

.sfly_reviews_2 img { width: 100px; height: 100px; }
.sfly_reviews_2 h4 { font-size: 16px; }

.sfly_tab_phoenix ul.et_pb_tabs_controls { background-color: #f5f5f5; }

.sfly_social_icons a { color: #8c8c8c; padding: 0 10px; opacity: 1; transition: all .3s; }
.sfly_social_icons a:hover { opacity: .5; }
.sfly_social_icons_light a { color: #fff; }

@media screen and (max-width: 980px) {
  .et_mobile_menu { background-color: rgba(0,0,0,.9); box-shadow: 0 25px 50px rgba(0,0,0,.25); text-align: center; }
  .et_mobile_menu li a { color: #fff !important; text-transform: uppercase; font-size: 20px; font-weight: 700; letter-spacing: 3px; padding: 14px 5%; }
}

@media screen and (max-width: 600px) {
  #footer-info { font-size: 10px !important; }
}


/* ============================================================
   7. COBRA PAGE COMPONENTS
   Added for the COBRA™ Assessment dedicated page.
   ============================================================ */

/* --- Hero sub-page (shorter than homepage, navy gradient) --- */
.memo-hero-sub {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #002d45 0%, #004363 60%, #005075 100%);
  overflow: hidden;
}
.memo-hero-sub::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.015) 0px,
    rgba(255,255,255,.015) 1px,
    transparent 1px,
    transparent 28px
  );
}
.memo-hero-sub-inner {
  position: relative; z-index: 2;
  width: 90%; max-width: 900px;
  margin: 0 auto; text-align: center;
}
.memo-hero-sub h1 {
  color: #fff !important;
  font-size: 52px; line-height: 1.15;
  margin-bottom: 20px;
}
.memo-hero-sub p {
  color: rgba(255,255,255,.8);
  font-size: 18px; line-height: 1.8;
  max-width: 680px; margin: 0 auto 32px;
}
.memo-hero-sub-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,.85);
  font-family: var(--font-heading);
  margin-bottom: 28px;
}
.memo-hero-sub-badge i { color: var(--color-secondary); }
.memo-hero-sub-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* --- Two-column feature split --- */
.memo-feature-split {
  display: flex; align-items: stretch; flex-wrap: wrap;
}
.memo-feature-split-text {
  flex: 1; min-width: 300px;
  padding: 70px 60px 70px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.memo-feature-split-visual {
  flex: 1; min-width: 300px;
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
  background: var(--color-light-bg);
}

/* --- Stat band (horizontal row of big numbers) --- */
.memo-stat-band {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
}
.memo-stat-band-item {
  flex: 1; min-width: 120px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.memo-stat-band-item:last-child { border-right: none; }
.memo-stat-band-number {
  font-family: var(--font-heading);
  font-size: 42px; font-weight: 900;
  color: var(--color-secondary);
  line-height: 1; margin-bottom: 8px;
}
.memo-stat-band-label {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,.5); line-height: 1.5;
}

/* --- Process steps (numbered, horizontal connectors) --- */
.memo-process-steps {
  display: flex; align-items: flex-start;
  counter-reset: steps;
}
.memo-process-step {
  flex: 1; text-align: center; position: relative;
}
.memo-process-step::before {
  content: '';
  position: absolute; top: 30px;
  left: calc(50% + 30px); right: 0;
  height: 2px; background: #c8d4de;
}
.memo-process-step:last-child::before { display: none; }
.memo-process-step::after {
  content: '';
  position: absolute; top: 30px;
  right: calc(50% + 30px); left: 0;
  height: 2px; background: #c8d4de;
}
.memo-process-step:first-child::after { display: none; }
.memo-process-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 26px; font-weight: 900;
  margin: 0 auto 16px; position: relative; z-index: 1;
  transition: var(--transition-base);
}
.memo-process-num.active { background: var(--color-secondary); }
.memo-process-step:hover .memo-process-num { transform: scale(1.08); }
.memo-process-step-title {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 800;
  color: var(--color-primary); margin-bottom: 8px;
}
.memo-process-step-title.active { color: var(--color-secondary); }
.memo-process-step-desc {
  font-size: 14px; color: #777; line-height: 1.65;
  max-width: 140px; margin: 0 auto;
}
.memo-process-funded {
  display: flex; align-items: center; gap: 12px;
  background: rgba(247,165,65,.08);
  border: 1px solid rgba(247,165,65,.25);
  padding: 12px 20px; margin-top: 32px;
  font-size: 13px; font-weight: 700;
  color: var(--color-primary); font-family: var(--font-heading);
}
.memo-process-funded i { color: var(--color-secondary); flex-shrink: 0; }

/* --- Assessment type cards (large, with detail) --- */
.memo-assessment-detail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.memo-assessment-detail-card {
  background: #fff; padding: 36px 30px;
  border-top: 3px solid var(--color-accent);
  transition: box-shadow .25s, transform .2s;
  position: relative; overflow: hidden;
}
.memo-assessment-detail-card:hover {
  box-shadow: 0 12px 40px rgba(0,67,99,.12);
  transform: translateY(-3px);
  z-index: 2;
}
.memo-assessment-detail-num {
  font-family: var(--font-heading);
  font-size: 64px; font-weight: 900;
  color: rgba(10,127,149,.08); line-height: 1;
  position: absolute; top: 10px; right: 16px;
}
.memo-assessment-detail-icon {
  margin-bottom: 20px;
}
.memo-assessment-detail-name {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 12px;
}
.memo-assessment-detail-card h4 {
  font-size: 20px !important; color: var(--color-primary) !important;
  margin-bottom: 12px; padding-bottom: 0;
}
.memo-assessment-detail-card p {
  font-size: 15px; color: #666; line-height: 1.75;
}
.memo-assessment-detail-card ul {
  margin: 12px 0 0 0; padding: 0; list-style: none;
}
.memo-assessment-detail-card ul li {
  font-size: 15px; color: #555; padding: 6px 0;
  border-bottom: 1px solid #f0f4f7;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.memo-assessment-detail-card ul li:last-child { border-bottom: none; }
.memo-assessment-detail-card ul li i {
  color: var(--color-accent); font-size:16px; margin-top: 3px; flex-shrink: 0;
}

/* --- What to expect timeline --- */
.memo-timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.memo-timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 23px;
  width: 2px; background: #e0e8f0;
}
.memo-timeline-item {
  display: flex; gap: 20px; padding: 0 0 36px 0;
  position: relative;
}
.memo-timeline-item:last-child { padding-bottom: 0; }
.memo-timeline-dot {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 16px; font-weight: 900;
  flex-shrink: 0; position: relative; z-index: 1;
}
.memo-timeline-dot.accent { background: var(--color-secondary); }
.memo-timeline-content { padding-top: 8px; }
.memo-timeline-label {
  font-family: var(--font-heading);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 800;
  color: var(--color-accent); margin-bottom: 4px;
}
.memo-timeline-content h4 {
  font-size: 18px !important; color: var(--color-primary) !important;
  margin-bottom: 8px; padding-bottom: 0;
}
.memo-timeline-content p { font-size: 15px; color: #666; line-height: 1.7; }

/* --- CTA band (full width, navy) --- */
.memo-cta-band {
  background: linear-gradient(135deg, #063852 0%, #0a7f95 100%);
  padding: 80px 0; text-align: center;
  border-bottom: 3px solid rgba(255,255,255,.22);
}
.memo-cta-band h2 { color: #fff !important; margin-bottom: 16px; }
.memo-cta-band p { color: rgba(255,255,255,.7); font-size: 16px; max-width: 560px; margin: 0 auto 32px; }
.memo-cta-band-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.memo-cta-funded {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.6);
  font-family: var(--font-heading); margin-top: 16px;
}

/* --- FAQ Accordion --- */
.memo-faq { display: flex; flex-direction: column; gap: 2px; }
.memo-faq-item {
  background: #fff;
  border-left: 3px solid transparent;
  transition: border-color .25s;
}
.memo-faq-item.open { border-left-color: var(--color-accent); }
.memo-faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-family: var(--font-heading); font-size: 16px; font-weight: 700;
  color: var(--color-primary); gap: 16px;
  user-select: none;
}
.memo-faq-question i {
  font-size:21px; color: var(--color-accent);
  transition: transform .25s; flex-shrink: 0;
}
.memo-faq-item.open .memo-faq-question i { transform: rotate(180deg); }
.memo-faq-answer {
  display: none; padding: 0 24px 20px;
  font-size: 15px; color: #666; line-height: 1.8;
}
.memo-faq-item.open .memo-faq-answer { display: block; }

/* --- Responsive additions for COBRA page --- */
@media screen and (max-width: 1024px) {
  .memo-assessment-detail-grid { grid-template-columns: 1fr 1fr; }
  .memo-feature-split-text { padding: 50px 40px 50px 0; }
  .memo-hero-sub h1 { font-size: 40px; }
}

@media screen and (max-width: 767px) {
  .memo-hero-sub { padding: 120px 0 70px; }
  .memo-hero-sub h1 { font-size: 32px !important; }
  .memo-hero-sub p { font-size: 16px; }
  .memo-hero-sub-buttons { flex-direction: column; align-items: center; }
  .memo-feature-split { flex-direction: column; }
  .memo-feature-split-text { padding: 40px 20px; text-align: center; }
  .memo-feature-split-visual { padding: 40px 20px; }
  .memo-stat-band { flex-direction: column; }
  .memo-stat-band-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .memo-assessment-detail-grid { grid-template-columns: 1fr; }
  .memo-process-steps { flex-direction: column; align-items: center; gap: 30px; }
  .memo-process-step { width: 100%; max-width: 280px; }
  .memo-process-step::before,
  .memo-process-step::after { display: none; }
  .memo-timeline::before { left: 19px; }
  .memo-timeline-dot { width: 40px; height: 40px; font-size: 14px; }
  .memo-cta-band h2 { font-size: 26px !important; }
  .memo-cta-band-buttons { flex-direction: column; align-items: center; }
}

@media screen and (max-width: 480px) {
  .memo-hero-sub h1 { font-size: 26px !important; }
  .memo-assessment-detail-card { padding: 28px 20px; }
}


/* ============================================================
   8. SERVICES OVERVIEW PAGE COMPONENTS
   ============================================================ */

/* --- Service overview cards --- */
.memo-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.memo-service-card {
  background: #fff;
  padding: 48px 40px;
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
  transition: border-top-color .25s, box-shadow .3s, transform .2s;
}
.memo-service-card:hover {
  border-top-color: var(--color-accent);
  box-shadow: 0 16px 48px rgba(0,67,99,.1);
  transform: translateY(-3px);
  z-index: 2;
}
.memo-service-card-bg-num {
  position: absolute;
  top: -20px; right: 24px;
  font-family: var(--font-heading);
  font-size: 140px; font-weight: 900;
  color: rgba(0,67,99,.04); line-height: 1;
  pointer-events: none; user-select: none;
}
.memo-service-card-icon {
  margin-bottom: 24px;
}
.memo-service-card-label {
  font-family: var(--font-heading);
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 800;
  color: var(--color-accent); margin-bottom: 10px;
  display: block;
}
.memo-service-card h3 {
  font-size: 26px !important;
  color: var(--color-primary) !important;
  margin-bottom: 8px; padding-bottom: 0;
  line-height: 1.25;
}
.memo-service-card-problem {
  font-size: 14px; font-weight: 600;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  letter-spacing: .5px;
  margin-bottom: 16px; display: block;
}
.memo-service-card p {
  font-size: 15px; color: #666;
  line-height: 1.8; margin-bottom: 24px;
}
.memo-service-card-outcomes {
  list-style: none; margin: 0 0 28px; padding: 0;
  border-top: 1px solid #edf1f5;
  padding-top: 18px;
}
.memo-service-card-outcomes li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: #555;
  padding: 6px 0; line-height: 1.5;
  border-bottom: 1px solid #f4f6f9;
}
.memo-service-card-outcomes li:last-child { border-bottom: none; }
.memo-service-card-outcomes li i {
  color: var(--color-accent); font-size:16px;
  margin-top: 3px; flex-shrink: 0;
}

/* --- "Which path" selector strip --- */
.memo-path-strip {
  background: var(--color-light-bg);
  border: 1px solid #d8e4ef;
  padding: 32px 40px;
  display: flex; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.memo-path-strip-text { flex: 1; min-width: 240px; }
.memo-path-strip-text h4 {
  font-size: 18px !important; color: var(--color-primary) !important;
  margin-bottom: 6px; padding-bottom: 0;
}
.memo-path-strip-text p {
  font-size: 15px; color: #666;
  line-height: 1.7; margin: 0;
}
.memo-path-strip-cta { flex-shrink: 0; }

/* --- Responsive for services page --- */
@media screen and (max-width: 1024px) {
  .memo-service-grid { grid-template-columns: 1fr; }
  .memo-service-card { padding: 40px 32px; }
}
@media screen and (max-width: 767px) {
  .memo-service-card { padding: 32px 24px; }
  .memo-service-card h3 { font-size: 22px !important; }
  .memo-service-card-bg-num { font-size: 100px; }
  .memo-path-strip { flex-direction: column; text-align: center; }
  .memo-path-strip-cta .et_pb_button { margin: 0 auto; display: block; }
}


/* ============================================================
   9. INDIVIDUAL SERVICE PAGE COMPONENTS
   Built around the four-room buyer journey model:
   Problem Room → Solution Room → Offer Room
   ============================================================ */

/* --- Room indicator badge --- */
.memo-section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.memo-section-badge.problem {
  background: rgba(239,68,68,.12);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.2);
}
.memo-section-badge.solution {
  background: rgba(245,158,11,.12);
  color: #d97706;
  border: 1px solid rgba(245,158,11,.2);
}
.memo-section-badge.offer {
  background: rgba(87,179,120,.12);
  color: #2e8b57;
  border: 1px solid rgba(87,179,120,.2);
}
.memo-section-badge i { font-size:15px; }

/* --- Dark intro section (dark, buyer-centric) --- */
.memo-dark-section {
  background: var(--color-primary);
  padding: 80px 0;
}
.memo-dark-section h2 { color: #fff !important; }
.memo-dark-section p  { color: rgba(255,255,255,.75); }

/* Symptom cards — "does this sound familiar?" */
.memo-symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}
.memo-symptom-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 28px 24px;
  transition: background .2s, border-color .2s;
}
.memo-symptom-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(247,165,65,.3);
}
.memo-symptom-card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.memo-symptom-card-icon i { font-size:27px; color: rgba(255,255,255,.7); }
.memo-symptom-card h4 {
  font-size: 15px !important; color: #fff !important;
  margin-bottom: 10px; padding-bottom: 0; line-height: 1.4;
}
.memo-symptom-card p { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.7; margin: 0; }

/* Cost of inaction callout */
.memo-cost-callout {
  background: rgba(239,68,68,.08);
  border-left: 3px solid #ef4444;
  padding: 24px 28px;
  margin-top: 40px;
}
.memo-cost-callout h4 {
  font-size: 14px !important; color: #fff !important;
  letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--font-heading); margin-bottom: 10px; padding-bottom: 0;
}
.memo-cost-callout p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.8; margin: 0; }

/* --- Light analytical section (light, analytical) --- */
.memo-light-section {
  background: #fff;
  padding: 80px 0;
}

/* Comparison table — approaches side by side */
.memo-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 14px;
}
.memo-comparison-table th {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 800; padding: 14px 20px;
  text-align: left;
}
.memo-comparison-table th:first-child { color: #888; background: #f8fafc; }
.memo-comparison-table th.cleanslate-col {
  background: var(--color-primary); color: #fff;
}
.memo-comparison-table th.other-col {
  background: #f0f4f8; color: #666;
}
.memo-comparison-table td {
  padding: 14px 20px; border-top: 1px solid #edf1f5;
  vertical-align: top; line-height: 1.6;
}
.memo-comparison-table td:first-child {
  font-weight: 600; color: #555; background: #fafbfc;
  font-family: var(--font-heading); font-size: 15px;
}
.memo-comparison-table td.cleanslate-col { background: rgba(0,67,99,.03); }
.memo-comparison-table .check { color: var(--color-accent); font-size: 15px; }
.memo-comparison-table .cross { color: #ccc; font-size: 15px; }

/* Outcome cards — what changes */
.memo-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 40px;
}
.memo-outcome-card {
  background: var(--color-light-bg);
  padding: 28px 28px;
  display: flex; gap: 18px; align-items: flex-start;
}
.memo-outcome-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(10,127,149,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.memo-outcome-icon i { font-size:27px; color: var(--color-accent); }
.memo-outcome-text h4 {
  font-size: 15px !important; color: var(--color-primary) !important;
  margin-bottom: 6px; padding-bottom: 0;
}
.memo-outcome-text p { font-size: 15px; color: #666; line-height: 1.7; margin: 0; }

/* Success story inline pull */
.memo-story-pull {
  background: var(--color-primary);
  padding: 40px 48px;
  display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
  margin-top: 40px;
}
.memo-story-pull-stat { flex: 0 0 auto; text-align: center; }
.memo-story-pull-stat-number {
  font-family: var(--font-heading);
  font-size: 52px; font-weight: 900;
  color: var(--color-secondary); line-height: 1;
}
.memo-story-pull-stat-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.5); margin-top: 6px;
}
.memo-story-pull-divider {
  width: 1px; height: 80px; background: rgba(255,255,255,.15);
  flex-shrink: 0;
}
.memo-story-pull-quote {
  flex: 1; min-width: 260px;
}
.memo-story-pull-quote blockquote {
  font-size: 17px; color: rgba(255,255,255,.85);
  font-style: italic; line-height: 1.7;
  border: none; padding: 0; margin: 0 0 12px;
}
.memo-story-pull-cite {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.6);
}

/* --- CTA light section --- */
.memo-cta-light-section {
  background: var(--color-light-bg);
  padding: 80px 0;
}
.memo-offer-room-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.memo-offer-room-inner h2 { color: var(--color-primary); margin-bottom: 16px; }
.memo-offer-room-inner p { color: #666; font-size: 16px; line-height: 1.85; margin-bottom: 32px; }
.memo-offer-checklist {
  list-style: none; padding: 0; margin: 0 0 36px;
  text-align: left; display: inline-block;
}
.memo-offer-checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: #555; padding: 8px 0;
  border-bottom: 1px solid #e0e8f0; line-height: 1.6;
}
.memo-offer-checklist li:last-child { border-bottom: none; }
.memo-offer-checklist li i {
  color: var(--color-green); font-size:21px; margin-top: 3px; flex-shrink: 0;
}

/* --- Responsive additions for service pages --- */
@media screen and (max-width: 1024px) {
  .memo-symptom-grid { grid-template-columns: 1fr 1fr; }
  .memo-outcome-grid { grid-template-columns: 1fr 1fr; }
  .memo-story-pull { padding: 32px; }
  .memo-comparison-table { font-size: 15px; }
}
@media screen and (max-width: 767px) {
  .memo-dark-section,
  .memo-light-section,
  .memo-cta-light-section { padding: 40px 0; }
  .memo-symptom-grid { grid-template-columns: 1fr; }
  .memo-outcome-grid { grid-template-columns: 1fr; }
  .memo-story-pull { flex-direction: column; padding: 28px 20px; text-align: center; }
  .memo-story-pull-divider { width: 80px; height: 1px; }
  .memo-comparison-table { font-size: 12px; }
  .memo-comparison-table th, .memo-comparison-table td { padding: 10px 12px; }
  .memo-offer-room-inner { text-align: center; }
  .memo-offer-checklist { text-align: left; width: 100%; }
}
@media screen and (max-width: 480px) {
  .memo-symptom-card { padding: 22px 18px; }
  .memo-cost-callout { padding: 20px; }
}


/* ============================================================
   10. TEAM PAGE COMPONENTS
   ============================================================ */

/* Culture cards */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.culture-card {
  background: #fff;
  padding: 32px 24px;
  border-top: 3px solid var(--color-accent);
  text-align: center;
}
.culture-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(10,127,149,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.culture-icon i { font-size:33px; color: var(--color-accent); }
.culture-card h4 { font-size: 16px !important; color: var(--color-primary) !important; margin-bottom: 10px; }
.culture-card p  { font-size: 15px; color: #666; line-height: 1.75; margin: 0; }

/* Team section label */
.team-label {
  font-family: var(--font-heading);
  font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; font-weight: 800;
  color: var(--color-accent);
  display: block;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0eaf0;
  text-align: center;
}

/* Team grids — centered with max-widths to keep cards compact */
.team-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3px; margin: 0 auto 3px; max-width: 900px;
}
.team-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; margin: 0 auto 3px; max-width: 680px;
}
.team-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 3px; margin: 0 auto 3px; max-width: 460px;
}
.team-spacer { margin-bottom: 44px; }

/* Team card */
.team-card {
  background: #fff; overflow: hidden;
  transition: box-shadow .25s, transform .2s;
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(0,67,99,.1);
  transform: translateY(-3px); z-index: 2;
}

/* Fixed-height photo container — consistent regardless of source image dimensions */
.team-photo-wrap {
  width: 100%; height: 220px;
  overflow: hidden; background: var(--color-light-bg); position: relative;
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
}
.team-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, #eff4f9, #d8e4ef);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 32px;
  font-weight: 900; color: rgba(10,127,149,.3);
}

/* Team card name/title */
.team-info  { padding: 16px 14px 18px; text-align: center; }
.team-name  { font-family: var(--font-heading); font-size: 14px; font-weight: 800; color: var(--color-primary); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.team-title { font-size: 12px; color: var(--color-accent); font-weight: 600; font-family: var(--font-heading); letter-spacing: .3px; }

/* Video embed */
.video-wrap { position: relative; padding-top: 56.25%; background: #000; overflow: hidden; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Team page responsive */
@media screen and (max-width: 1024px) {
  .culture-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-4, .team-grid-3, .team-grid-2 { max-width: 100%; }
}
@media screen and (max-width: 767px) {
  .culture-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-4, .team-grid-3, .team-grid-2 { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .team-photo-wrap { height: 180px; }
  .team-placeholder { height: 180px; }
}
@media screen and (max-width: 480px) {
  .culture-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   11. STANDALONE HTML PAGE SHELL
   These styles make every HTML mockup page work without
   any inline <style> block. In WordPress/Divi, these are
   replaced by Divi's own theme builder output.
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); }
h1 { font-size: 48px; font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; margin: 0 0 20px; }
h2 { font-size: 36px; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 16px; }
h3 { font-size: 26px; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 14px; }
h4 { font-size: 18px; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 10px; }
h5 { font-size: 15px; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 8px; }
p  { margin: 0 0 1em; }

/* --- Fixed header shell --- */
#main-header {
  position: fixed; width: 100%; top: 0; z-index: 99999;
  background: var(--color-primary);
  box-shadow: 0 0 25px rgba(0,0,0,.1);
  line-height: 0;
}
#main-header-wrap {
  height: 80px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 30px;
}
#logo a { display: inline-block; line-height: 0; }
#logo img { max-height: 44px; width: auto; }

/* --- Desktop nav shell --- */
#top-navigation { display: flex; align-items: center; }
#top-menu {
  display: flex; align-items: center;
  height: 80px; margin: 0; padding: 0; list-style: none;
}
#top-menu > li {
  position: relative; display: inline-flex;
  align-items: center; height: 80px;
}
#top-menu > li > a {
  display: inline-flex; align-items: center; height: 80px;
  padding: 0; margin-left: 30px; text-decoration: none;
  color: #fff; font-family: var(--font-heading);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;
}
#top-menu > li > a:hover { color: rgba(255,255,255,.75); }
/* Override any inline <style> block that sets older font/spacing values */
#top-navigation #top-menu > li > a {
  font-size: 13px !important;
  letter-spacing: 2px !important;
  margin-left: 30px !important;
}
#top-menu .menu-item-has-children > a::after {
  content: " ▾"; font-size: 8px; opacity: .5; margin-left: 3px;
}
.nav-cta > a {
  background: transparent !important;
  border: 2px solid #fff !important;
  border-radius: var(--border-radius-btn) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  margin-left: 12px;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  height: auto !important; line-height: 1.4 !important;
  display: inline-flex !important; align-items: center;
  text-decoration: none;
  font-family: var(--font-heading); font-weight: 700;
}
.nav-cta > a:hover { background: #fff !important; color: var(--color-primary) !important; }

/* --- Mobile hamburger --- */
#mobile-menu-toggle {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer; background: none; border: none; padding: 4px; z-index: 99999;
}
#mobile-menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all .3s;
}
#mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
#mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile nav dropdown --- */
#memo-mobile-nav {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: rgba(0,30,50,.97); z-index: 99998;
  padding: 20px 0 30px; overflow-y: auto;
  max-height: calc(100vh - 80px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
#memo-mobile-nav.is-open { display: block; }
#memo-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
#memo-mobile-nav ul li a {
  display: block; padding: 14px 30px; color: #fff;
  font-family: var(--font-heading); font-size: 16px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07);
}
#memo-mobile-nav .mobile-cta a {
  margin: 16px 30px 0; display: block; text-align: center;
  background: var(--color-green); color: #fff; padding: 14px;
  border-radius: var(--border-radius-btn); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
}

/* --- Section & row base --- */
.et_pb_section { position: relative; padding: 80px 0; }
.et_pb_row { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2,
.section-header h3 { text-align: center; }
.section-header p {
  text-align: center; max-width: 640px;
  margin: 0 auto; color: #666; font-size: 16px; line-height: 1.8;
}
.bg-navy  { background: var(--color-primary); }
.bg-light { background: var(--color-light-bg); }
.bg-white { background: #fff; }

/* --- Sub-page hero (photo background) --- */
.memo-hero-sub {
  position: relative; min-height: 65vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center;
  background-color: var(--color-primary); overflow: hidden;
}
.memo-hero-sub-overlay {
  position: absolute; inset: 0;
  background: rgba(0,40,65,0.82); z-index: 1;
}
.memo-hero-sub-inner {
  position: relative; z-index: 2;
  width: 90%; max-width: 1200px;
  margin: 0 auto; padding: 180px 0 0;
  text-align: center;
}
.memo-hero-sub h1 {
  color: #fff !important; font-size: 48px; line-height: 1.15;
  margin-bottom: 20px; max-width: 760px; margin-left: auto; margin-right: auto;
}
.memo-hero-sub p {
  color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.8;
  max-width: 620px; margin: 0 auto 32px;
}
.memo-hero-sub-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; justify-content: center; }

/* --- Breadcrumb --- */
.memo-breadcrumb {
  position: absolute; top: 80px; left: 0; right: 0; z-index: 6;
  background: rgba(0,0,0,.15); padding: 10px 0;
}
.memo-breadcrumb-inner {
  width: 90%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
}
.memo-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.memo-breadcrumb a:hover { color: rgba(255,255,255,.8); }
.memo-breadcrumb-sep { color: rgba(255,255,255,.25); font-size: 9px; }
.memo-breadcrumb-current { color: rgba(255,255,255,.85); }

/* --- Footer shell --- */
#main-footer { background: var(--color-primary); }
.footer-inner {
  display: flex; gap: 0; flex-wrap: wrap;
  justify-content: space-between;
  padding: 80px 0 40px; width: 90%; max-width: 1400px; margin: 0 auto;
}
.footer-brand { flex: 0 0 26%; min-width: 200px; padding-right: 40px; }
.footer-brand img { max-width: 180px; margin-bottom: 24px; display: block; }.footer-brand p{ font-size: 15px; color: #aeb3bc; line-height: 1.75; max-width: 240px; margin: 0; }
.footer-brand a.footer-phone {
  display: block; margin-top: 18px; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 1px; text-decoration: none;
}
.footer-nav-group { flex: 1; display: flex; gap: 40px; flex-wrap: wrap; padding: 0 20px; }
.footer-col { min-width: 120px; }
.footer-widget-title {
  font-family: var(--font-heading); color: #aeb3bc; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase; font-weight: 700;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 14px;
}
.footer-widget-list { display: flex; flex-direction: column; }
.footer-widget-list a {
  color: #aeb3bc; font-family: var(--font-heading);
  font-size: 14px; padding: 4px 0; text-decoration: none; transition: color .2s;
}
.footer-widget-list a:hover { color: #fff; }
.footer-social-icons { display: flex; gap: 6px; margin-top: 6px; }
.footer-social-icons a {
  width: 40px; height: 40px; background: rgba(255,255,255,.1);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size:27px; text-decoration: none; transition: background .2s;
}
.footer-social-icons a:hover { background: rgba(255,255,255,.2); }
#footer-bottom { background: #000; padding: 15px 0; }
#footer-bottom-inner { width: 90%; max-width: 1400px; margin: 0 auto; }
#footer-info {
  color: #fff; font-size: 11px; text-transform: uppercase;
  letter-spacing: 4px; font-weight: 700; margin: 0; padding: 0; text-align: center;
}
#footer-info a { color: #fff; text-decoration: none; }

/* --- Shell responsive --- */
@media screen and (max-width: 1024px) {
  #top-navigation { display: none; }
  #mobile-menu-toggle { display: flex !important; }
}
@media screen and (max-width: 767px) {
  #main-header-wrap { justify-content: center; position: relative; padding: 0 20px; }
  #logo { margin: 0 auto; }
  #mobile-menu-toggle { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .et_pb_section { padding: 40px 0; }
  .et_pb_row { width: 92%; }
  h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; }
  .memo-hero-sub h1 { font-size: 28px !important; }
  .memo-hero-sub-buttons { flex-direction: column; align-items: center; }
  .section-header h2, .section-header h3,
  .et_pb_section h2, .et_pb_section h3,
  .et_pb_section p, .memo-overline { text-align: center; }
  .memo-divider, .memo-divider.centered { margin-left: auto; margin-right: auto; }
  .et_pb_button, a.more-link {
    display: block; margin-left: auto; margin-right: auto;
    max-width: 320px; text-align: center;
  }
  .footer-inner { flex-direction: column; gap: 36px; padding: 50px 5%; }
  .footer-brand { flex: none; width: 100%; padding-right: 0; text-align: center; }
  .footer-brand img { margin: 0 auto 24px; }
  #main-footer .footer-brand p { max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; }
  .footer-nav-group { flex-direction: column; gap: 28px; padding: 0; }
  .footer-col, .footer-widget-title { text-align: center; }
  .footer-widget-list { align-items: center; }
  .footer-social-icons { justify-content: center; }
}
@media screen and (max-width: 480px) {
  h1 { font-size: 26px; } h2 { font-size: 22px; }
}



/* ============================================================
   MOBILE NAV SUBMENUS (accordion)
   Added 2026-05-30: top-level mobile items expand to reveal
   submenu links on tap. Higher specificity than the inline
   `#memo-mobile-nav ul li a` base rule, so it overrides it.
   ============================================================ */
#memo-mobile-nav .mobile-submenu-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin: 0; padding: 14px 30px;
  background: none; border: none; cursor: pointer; text-align: left;
  color: #fff; font-family: 'Assistant', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
#memo-mobile-nav .mobile-submenu-toggle i {
  font-size:20px; color: #57b378; margin-left: 12px;
  transition: transform .3s ease;
}
#memo-mobile-nav .mobile-has-submenu.is-expanded .mobile-submenu-toggle i {
  transform: rotate(180deg);
}
#memo-mobile-nav .mobile-submenu {
  list-style: none; margin: 0; padding: 0;
  max-height: 0; overflow: hidden;
  background: rgba(0,0,0,.18);
  transition: max-height .35s ease;
}
#memo-mobile-nav .mobile-has-submenu.is-expanded .mobile-submenu {
  max-height: 600px;
}
#memo-mobile-nav .mobile-submenu li a {
  display: block; padding: 12px 30px 12px 46px;
  color: #cfd6dd; font-family: 'Assistant', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: none; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
#memo-mobile-nav .mobile-submenu li a:hover {
  background: rgba(255,255,255,.06); color: #fff;
}


/* ===== Icon system v1.1 — Tabler line icons, teal→green gradient, bare (no tile) ===== */
.dd-icon, .memo-icon-circle, .memo-icon-circle-sm, .memo-outcome-icon,
.culture-icon, .memo-service-card-icon, .memo-assessment-detail-icon {
  background: transparent !important; border: none !important;
}
.dd-icon i, .memo-icon-circle i, .memo-icon-circle-sm i, .memo-outcome-icon i,
.culture-icon i, .memo-service-card-icon i, .memo-assessment-detail-icon i {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-green));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Icons on dark bands: bare, keep light for contrast (no gradient) */
.memo-symptom-card-icon, .memo-icon-circle-white { background: transparent !important; border: none !important; }

/* Menu (dropdown) icons — explicit size on the icon itself, robust against inheritance */
.dd-icon i { font-size: 30px !important; line-height: 1; }

/* ============================================================
   MOBILE-ONLY HORIZONTAL-OVERFLOW BACKSTOP
   Scoped to <=767px so tablet and laptop rendering is unchanged.
   ============================================================ */
@media screen and (max-width: 767px) {
  html, body { overflow-x: hidden; }
}


/* ============================================================
   HERO SYSTEM  (rebuilt 2026-08)
   -------------------------------------------------------------
   One structural rule, one overlay, and a per-page atmosphere
   layer. Photography drops in via --hero-img on the page class;
   until a photo exists the atmosphere layer stands on its own,
   so no two pages read as the same page.
   ============================================================ */

.memo-hero-sub {
  position: relative;
  min-height: 58vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: #002841;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center 38%;
}

/* Atmosphere: brand gradient wash. Sits under the photo tint. */
/* --hero-wash controls how much gradient sits over the photo.
   1 = no photo (gradient is the whole background).
   ~0.5 = photo present, gradient becomes a color tint so the image reads. */
.memo-hero-sub::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  opacity: var(--hero-wash, 1);
  background:
    radial-gradient(78% 62% at 82% 4%, var(--hero-glow, rgba(10,127,149,.75)) 0%, transparent 68%),
    radial-gradient(62% 55% at 6% 96%, rgba(87,179,120,.30) 0%, transparent 66%),
    linear-gradient(148deg, var(--hero-a, #00263c) 0%, var(--hero-b, #004363) 52%, var(--hero-c, #005c7a) 100%);
}

/* Texture: fine diagonal rule, keeps large flat areas from going dead. */
.memo-hero-sub::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.030) 0px,
    rgba(255,255,255,.030) 1px,
    transparent 1px,
    transparent 26px
  );
  pointer-events: none;
}

/* Legibility tint. Stronger at the bottom where the copy sits. */
.memo-hero-sub-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(0,26,42,.30) 0%,
    rgba(0,26,42,.44) 48%,
    rgba(0,26,42,.78) 100%
  );
}

.memo-hero-sub-inner {
  position: relative; z-index: 4;
  width: 90%; max-width: 1180px;
  margin: 0 auto;
  padding: 168px 0 68px;
  text-align: center;
}

.memo-hero-sub h1 {
  color: #fff !important;
  font-size: 50px; font-weight: 800; line-height: 1.13;
  letter-spacing: -0.5px;
  margin: 0 auto 20px;
  max-width: 860px;
  text-wrap: balance;
}

.memo-hero-sub p {
  color: rgba(255,255,255,.86);
  font-size: 18px; line-height: 1.75;
  max-width: 640px; margin: 0 auto 30px;
  text-wrap: pretty;
}

.memo-hero-sub-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 0;
}

/* Hairline that ties the hero to the section below it. */
.memo-hero-sub::after { border-bottom: 3px solid transparent; }
.memo-hero-edge {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 4px;
  background: linear-gradient(90deg, #0a7f95 0%, #57b378 100%);
}


/* ---------- Per-page atmosphere ----------
   Each page sets its own gradient stops and glow. When the photo
   library lands, add --hero-img to the same rule and nothing else
   has to change.
   ------------------------------------------------------------ */

/* ASSESS family — deep, diagnostic, cool */
.memo-hero-cobra      { --hero-a:#00223a; --hero-b:#00405f; --hero-c:#016179; --hero-glow:rgba(10,127,149,.60);
                        --hero-img:url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=2000&q=80'); --hero-wash:.60; }
.memo-hero-whats-holding { --hero-a:#001e33; --hero-b:#003a57; --hero-c:#00506e; --hero-glow:rgba(10,127,149,.42);
                        --hero-img:url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-understanding { --hero-a:#00223a; --hero-b:#003d5c; --hero-c:#005673; --hero-glow:rgba(10,127,149,.45);
                        --hero-img:url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=2000&q=80'); --hero-wash:.64; }
.memo-hero-evaluating { --hero-a:#00243d; --hero-b:#00415f; --hero-c:#015a76; --hero-glow:rgba(10,127,149,.48);
                        --hero-img:url('https://images.unsplash.com/photo-1677442135703-1787eea5ce01?w=2000&q=80'); --hero-wash:.62; }

/* SCALE — the spine of the site, warmest of the framework pages */
.memo-hero-scale      { --hero-a:#00243d; --hero-b:#014a64; --hero-c:#0a7f95; --hero-glow:rgba(87,179,120,.42);
                        --hero-img:url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=2000&q=80'); --hero-wash:.62; }

/* ACTIVATE — build energy, teal into green */
.memo-hero-activate   { --hero-a:#012f45; --hero-b:#065f77; --hero-c:#0a8a92; --hero-glow:rgba(87,179,120,.55);
                        --hero-img:url('../source/assets/img/hero-activate.jpg');
                        --hero-wash:.50; }
.memo-hero-accelerators { --hero-a:#012b41; --hero-b:#075a71; --hero-c:#0c8b8c; --hero-glow:rgba(87,179,120,.50);
                        --hero-img:url('../source/assets/img/hero-accelerators.jpg'); --hero-wash:.56; }

/* EVOLVE — growth, green-led */
.memo-hero-evolve     { --hero-a:#02323f; --hero-b:#0a6a70; --hero-c:#1d8f79; --hero-glow:rgba(87,179,120,.62);
                        --hero-img:url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=2000&q=80'); --hero-wash:.60; }

/* Solutions */
.memo-hero-services      { --hero-a:#00263c; --hero-b:#00506e; --hero-c:#0a7f95; --hero-glow:rgba(10,127,149,.55);
                        --hero-img:url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-foundation    { --hero-a:#00243d; --hero-b:#014f6c; --hero-c:#0b7d92; --hero-glow:rgba(10,127,149,.58);
                        --hero-img:url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-knowledge     { --hero-a:#04243f; --hero-b:#0a4a72; --hero-c:#136f95; --hero-glow:rgba(10,127,149,.50);
                        --hero-img:url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-automate      { --hero-a:#012a3f; --hero-b:#03566c; --hero-c:#0c8489; --hero-glow:rgba(87,179,120,.48);
                        --hero-img:url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-engineer      { --hero-a:#062138; --hero-b:#0c4a68; --hero-c:#12758c; --hero-glow:rgba(10,127,149,.52);
                           --hero-img:url('../source/assets/img/hero-engineer.jpg');
                        --hero-wash:.50; }
.memo-hero-intelligence  { --hero-a:#001f36; --hero-b:#014861; --hero-c:#0a7286; --hero-glow:rgba(10,127,149,.46);
                        --hero-img:url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-modernize     { --hero-a:#00253a; --hero-b:#01536b; --hero-c:#0a8188; --hero-glow:rgba(87,179,120,.44);
                        --hero-img:url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=2000&q=80'); --hero-wash:.62; }

/* Service pillars */
.memo-hero-migration  { --hero-a:#00203a; --hero-b:#003f60; --hero-c:#005a77; --hero-glow:rgba(10,127,149,.50);
                        --hero-img:url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=2000&q=80'); --hero-wash:.60; }
.memo-hero-data-ai    { --hero-a:#00243d; --hero-b:#014f6c; --hero-c:#0a7f95; --hero-glow:rgba(10,127,149,.56);
                        --hero-img:url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=2000&q=80'); --hero-wash:.60; }
.memo-hero-gen-ai     { --hero-a:#032b45; --hero-b:#0a5f79; --hero-c:#128e91; --hero-glow:rgba(87,179,120,.52);
                        --hero-img:url('https://images.unsplash.com/photo-1677442135703-1787eea5ce01?w=2000&q=80'); --hero-wash:.60; }

/* Company & proof */
.memo-hero-who-we-are { --hero-a:#012338; --hero-b:#02455f; --hero-c:#046379; --hero-glow:rgba(87,179,120,.38);
                        --hero-img:url('../source/assets/img/hero-who-we-are.jpg'); --hero-wash:.74; }
.memo-hero-team       { --hero-a:#01253a; --hero-b:#034861; --hero-c:#05687d; --hero-glow:rgba(87,179,120,.34);
                        --hero-img:url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=2000&q=80'); --hero-wash:.64; }
.memo-hero-careers    { --hero-a:#032739; --hero-b:#075063; --hero-c:#0b7480; --hero-glow:rgba(87,179,120,.46);
                        --hero-img:url('../source/assets/img/hero-careers.jpg');
                        --hero-wash:.50; }
.memo-hero-partners   { --hero-a:#001d33; --hero-b:#003b5a; --hero-c:#005472; --hero-glow:rgba(10,127,149,.44); }
.memo-hero-aws        { --hero-a:#001a2e; --hero-b:#00375a; --hero-c:#0a6f8c; --hero-glow:rgba(10,127,149,.58);
                        --hero-img:url('../source/assets/img/hero-aws.jpg'); --hero-wash:.46; }
.memo-hero-stories    { --hero-a:#01283c; --hero-b:#044f66; --hero-c:#07727f; --hero-glow:rgba(87,179,120,.42);
                        --hero-img:url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=2000&q=80'); --hero-wash:.64; }
.memo-hero-contact    { --hero-a:#00223a; --hero-b:#00435f; --hero-c:#005e78; --hero-glow:rgba(10,127,149,.46);
                        --hero-img:url('../source/assets/img/hero-contact.jpg'); --hero-wash:.66; }
.memo-hero-insights   { --hero-a:#001f36; --hero-b:#003f5e; --hero-c:#005775; --hero-glow:rgba(10,127,149,.40);
                        --hero-img:url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=2000&q=80'); --hero-wash:.62; }
.memo-hero-ibm        { --hero-a:#001b30; --hero-b:#003354; --hero-c:#00496b; --hero-glow:rgba(10,127,149,.36);
                        --hero-img:url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=2000&q=80'); --hero-wash:.64; }
.memo-hero-databricks { --hero-a:#001f36; --hero-b:#00405e; --hero-c:#00607d; --hero-glow:rgba(87,179,120,.42);
                        --hero-img:url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=2000&q=80'); --hero-wash:.60; }
.memo-hero-anthropic  { --hero-a:#001a2f; --hero-b:#003b58; --hero-c:#0a6478; --hero-glow:rgba(10,127,149,.52);
                        --hero-img:url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=2000&q=80'); --hero-wash:.58; }


/* ============================================================
   HEADLINE SIGNATURE
   CleanSlate's own treatment: the phrase runs in caps and the
   payload half carries the weight and the gradient.
   ============================================================ */
.hl-split {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}
.hl-split strong,
.hl-split b {
  font-weight: 800;
  letter-spacing: 0;
}
.memo-hero-sub .hl-split strong {
  background: linear-gradient(100deg, #7fe0c4 0%, #9fe8a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #9fe8a8;
}
h2.hl-split strong { color: var(--color-primary, #004363); }


/* ============================================================
   RESPONSIVE PASS  (rebuilt 2026-08)
   Breakpoints consolidated to three: 1024 / 767 / 480.
   Appended last so these win over the earlier scattered rules.
   ============================================================ */

/* ---------- Tablet ---------- */
@media screen and (max-width: 1024px) {
  .memo-hero-sub { min-height: 54vh; }
  .memo-hero-sub-inner { padding: 165px 0 60px; }
  .memo-hero-sub h1 { font-size: 40px; }
  .memo-hero-sub p { font-size: 17px; }

  /* Any 3-up or 4-up grid collapses to 2 */
  .ev-looks-grid,
  .cobra-types,
  .memo-card-grid,
  .sold-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ---------- Phone ---------- */
@media screen and (max-width: 767px) {
  /* Hero: photos crop to the middle, so keep copy off the edges */
  .memo-hero-sub { min-height: 0; background-position: center center; }
  .memo-hero-sub-inner { padding: 116px 0 44px; width: 88%; }
  .memo-hero-sub h1 {
    font-size: 30px !important;
    line-height: 1.2; letter-spacing: -0.2px; margin-bottom: 16px;
  }
  .memo-hero-sub p { font-size: 16px; line-height: 1.7; margin-bottom: 26px; }
  .memo-hero-sub-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .memo-hero-sub-buttons .et_pb_button { width: 100%; max-width: 100%; }
  .hl-split { letter-spacing: 0; }

  /* Breadcrumb crowds the headline on small screens */
  .memo-breadcrumb { display: none; }

  /* Every grid goes single column */
  .ev-looks-grid,
  .cobra-types,
  .memo-card-grid,
  .sold-grid,
  .about-stat-row,
  .memo-comparison-table thead { grid-template-columns: 1fr !important; }

  /* Section rhythm: tighter, but not cramped */
  .et_pb_section { padding: 46px 0; }
  .section-header { margin-bottom: 30px !important; }
  h1 { font-size: 30px; } h2 { font-size: 25px; } h3 { font-size: 20px; }
  .section-header p { font-size: 16px; }

  /* Tap targets: 44px minimum */
  .et_pb_button, a.more-link, .memo-ht-cta, .memo-faq-q {
    min-height: 44px; display: inline-flex;
    align-items: center; justify-content: center;
  }
  .memo-ht-arrow { min-width: 44px; min-height: 44px; }
  .memo-ht-dot { min-width: 22px; min-height: 22px; }

  /* Tables scroll rather than crush */
  .memo-comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .memo-comparison-table { min-width: 560px; }

  /* Cards: full-bleed feel, readable padding */
  .ev-looks-card, .cobra-type, .memo-symptom-card { padding: 26px 22px !important; }

  /* Stat rows stack into a 2-up so they don't become a tall list */
  .about-stat-row { display: grid; grid-template-columns: 1fr 1fr !important; gap: 3px; }
}

/* ---------- Small phone ---------- */
@media screen and (max-width: 480px) {
  .memo-hero-sub-inner { padding: 104px 0 38px; }
  .memo-hero-sub h1 { font-size: 26px !important; }
  .memo-hero-sub p { font-size: 15px; }
  h1 { font-size: 26px; } h2 { font-size: 22px; } h3 { font-size: 19px; }
  .et_pb_section { padding: 38px 0; }
  .about-stat-row { grid-template-columns: 1fr !important; }
}

/* ---------- Accessibility floor ---------- */
:focus-visible {
  outline: 3px solid #57b378;
  outline-offset: 2px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   ARTICLE HERO  (upgraded 2026-08)
   Article files carry an inline `.article-hero{background:#0d2d4a}`
   rule. These stylesheet rules load after it and are more specific,
   so the flat navy becomes a pillar-tinted gradient without having
   to touch 40 inline style blocks.
   ============================================================ */
body .article-hero {
  position: relative;
  background:
    radial-gradient(115% 85% at 80% 10%, var(--art-glow, rgba(10,127,149,.42)) 0%, transparent 60%),
    linear-gradient(150deg, var(--art-a, #062339) 0%, var(--art-b, #0d2d4a) 60%, var(--art-c, #10405f) 100%);
  overflow: hidden;
}
body .article-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.026) 0px,
    rgba(255,255,255,.026) 1px,
    transparent 1px,
    transparent 24px
  );
  pointer-events: none;
}
body .article-hero-inner { position: relative; z-index: 1; }
body .article-hero::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, #0a7f95 0%, #57b378 100%);
}

/* Pillar tints */
body .art-migration    { --art-a:#04203a; --art-b:#0b2f4c; --art-c:#0e4160; --art-glow:rgba(10,127,149,.40); }
body .art-modernize    { --art-a:#052637; --art-b:#0b3a4e; --art-c:#0f5266; --art-glow:rgba(10,127,149,.46); }
body .art-data         { --art-a:#042539; --art-b:#0a3b55; --art-c:#0d5570; --art-glow:rgba(10,127,149,.52); }
body .art-ai           { --art-a:#06283a; --art-b:#0d4257; --art-c:#12606c; --art-glow:rgba(87,179,120,.50); }


/* ============================================================
   AWS PROGRAMS & COMPETENCIES BLOCK
   Source: CleanSlate AWS Solutions Summary (Brad Laughlin).
   ============================================================ */
.aws-cred-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 8px;
}
.aws-cred-col { background: #fff; padding: 30px 28px; border-top: 3px solid #0a7f95; }
.aws-cred-col.alt { border-top-color: #57b378; }
.aws-cred-col h4 {
  font-family: 'Assistant', sans-serif; color: #004363;
  font-size: 17px; margin: 0 0 14px;
}
.aws-cred-list { list-style: none; margin: 0; padding: 0; }
.aws-cred-list li {
  font-size: 15px; color: #5a7282; line-height: 1.65;
  padding: 7px 0 7px 24px; position: relative;
  border-bottom: 1px solid #eef3f5;
}
.aws-cred-list li:last-child { border-bottom: 0; }
.aws-cred-list li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #0a7f95, #57b378);
}
.aws-cred-list li b { color: #004363; font-weight: 700; }
.aws-comp-row { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.aws-comp-chip {
  flex: 1 1 200px; background: #00405f; color: #fff;
  padding: 18px 20px; text-align: center;
  font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 15px;
}
.aws-comp-chip span { display: block; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.66); margin-top: 4px; }
@media screen and (max-width: 767px) {
  .aws-cred-grid { grid-template-columns: 1fr; }
  .aws-comp-chip { flex: 1 1 100%; }
}


/* ---- Homepage AWS credential band ---- */
.aws-band { background: #00304d; padding: 30px 0 26px !important; }
.aws-band-label {
  font-family: 'Assistant', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: #6fd49b; text-align: center; margin: 0 0 16px;
}
.aws-band-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 14px; margin-bottom: 14px;
}
.aws-band-item {
  font-family: 'Assistant', sans-serif; font-size: 14px; font-weight: 700;
  color: #fff; border: 1px solid rgba(255,255,255,.28);
  border-radius: 30px; padding: 8px 18px; white-space: nowrap;
}
.aws-band-note {
  text-align: center; font-size: 14px; color: rgba(255,255,255,.62); margin: 0;
}
.aws-band-note a { color: #6fd49b; font-weight: 700; text-decoration: none; }
@media screen and (max-width: 767px) {
  .aws-band-item { font-size: 13px; padding: 7px 14px; }
  .aws-band-note { font-size: 13px; }
}


/* ============================================================
   RAMP JOURNEY MAP CALLOUT
   The funded path is a major proof point. It was previously
   reachable only through one inline text link.
   ============================================================ */
.ramp-map-cta {
  display: flex; align-items: center; gap: 26px;
  background: #00405f; color: #fff;
  padding: 30px 34px; margin-top: 26px;
  border-left: 5px solid #57b378;
}
.ramp-map-cta i.ramp-map-icon {
  font-size: 42px; color: #6fd49b; flex: 0 0 auto;
}
.ramp-map-cta-body { flex: 1 1 auto; }
.ramp-map-cta h4 {
  font-family: 'Assistant', sans-serif; font-size: 19px;
  color: #fff; margin: 0 0 8px;
}
.ramp-map-cta p {
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,.78); margin: 0;
}
.ramp-map-cta a.ramp-map-link {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Assistant', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; text-decoration: none;
  border: 2px solid rgba(255,255,255,.55);
  padding: 12px 24px; border-radius: 30px; transition: all .2s;
  min-height: 44px;
}
.ramp-map-cta a.ramp-map-link:hover { background: #fff; color: #00405f; border-color: #fff; }
@media screen and (max-width: 767px) {
  .ramp-map-cta { flex-direction: column; text-align: center; gap: 16px; padding: 26px 22px; }
  .ramp-map-cta a.ramp-map-link { width: 100%; justify-content: center; }
}


/* ============================================================
   TEAM: two groups sharing one row
   IBM and Data / AI / ML each keep their own label and divider,
   but sit side by side rather than stacking.
   ============================================================ */
.team-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 46px; max-width: 980px; margin: 0 auto;
  align-items: start;
}
.team-pair-col { min-width: 0; }
.team-pair .team-grid-2.team-pair-grid { max-width: 100%; margin: 0; }
@media screen and (max-width: 900px) {
  .team-pair { grid-template-columns: 1fr; gap: 40px; }
}


/* ============================================================
   SOLUTION TIERS  (Brad's model, Aug 2026)
   Three kinds of thing, three levels of visual weight:
   Solutions  = CleanSlate-built product, deployable
   Accelerators = CleanSlate IP that speeds a build
   Expertise  = where our engineers do the work
   ============================================================ */
.tier-head {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0eaf0;
}
/* A tier label must sit far closer to the group it names than to the
   group above it, or it reads as a footer for the previous section. */
.sold-grid + .tier-head,
.accel-grid + .tier-head,
.exp-grid + .tier-head { margin-top: 44px; }
.tier-head i {
  font-size: 19px; color: #0a7f95;
  position: relative; top: 3px;
}
.tier-head h3 {
  font-family: 'Assistant', sans-serif;
  font-size: 15px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #004363; margin: 0;
}
.tier-head span {
  font-size: 14px; color: #7a8fa0; line-height: 1.5;
}
.tier-accel i { color: #57b378; }
.tier-exp i   { color: #6a8296; }

/* Tier 2 — accelerators */
.accel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  margin-bottom: 0;
}
.accel-card {
  background: #fff; padding: 20px 22px;
  border-left: 3px solid #57b378;
}
.accel-card h4 {
  font-family: 'Assistant', sans-serif;
  font-size: 16px; color: #004363; margin: 0 0 5px;
}
.accel-card p {
  font-size: 14px; color: #6a7f8e; line-height: 1.6; margin: 0;
}

/* Tier 3 — expertise */
.exp-grid { display: flex; flex-wrap: wrap; gap: 3px; }
.exp-chip {
  flex: 1 1 200px;
  background: #fff;
  border: 1px solid #d8e4ec;
  border-top: 3px solid #6a8296;
  padding: 15px 18px;
  font-family: 'Assistant', sans-serif;
  font-size: 15px; font-weight: 700; color: #33566b;
  line-height: 1.35;
}

/* A lone Solution card should not sit in a third of the row */
.sold-grid:has(> .sold-card:only-child) { grid-template-columns: 1fr; }
.sold-grid > .sold-card:only-child { max-width: 100%; }

@media screen and (max-width: 1024px) {
  .accel-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
  .accel-grid { grid-template-columns: 1fr; }
  .exp-chip { flex: 1 1 100%; }
  .tier-head { gap: 8px; }
  .tier-head span { flex: 1 1 100%; }
  .sold-grid + .tier-head,
  .accel-grid + .tier-head,
  .exp-grid + .tier-head { margin-top: 34px; }
}

/* Three practice groups sharing one row */
.team-pair.team-trio { grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1180px; }
@media screen and (max-width: 1100px) {
  .team-pair.team-trio { grid-template-columns: 1fr 1fr; gap: 34px 30px; }
}
@media screen and (max-width: 900px) {
  .team-pair.team-trio { grid-template-columns: 1fr; }
}


/* ============================================================
   WHO WE ARE — pull quotes, testimonials, early talent
   Employee quotes are unattributed: they represent general
   sentiment from anonymous internal surveys.
   ============================================================ */
.wwa-pullquote {
  max-width: 760px; margin: 40px auto 0;
  padding: 26px 0 0;
  border-top: 2px solid #dbe7ee;
  text-align: center;
}
.wwa-pullquote p {
  font-family: 'Assistant', sans-serif;
  font-size: 21px; line-height: 1.5; font-weight: 700;
  color: #004363; margin: 0 0 8px;
}
.wwa-pullquote span {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #8aa0ae; font-family: 'Assistant', sans-serif; font-weight: 700;
}
.wwa-pullquote.on-dark { border-top-color: rgba(255,255,255,.22); }
.wwa-pullquote.on-dark p { color: #fff; }
.wwa-pullquote.on-dark span { color: rgba(255,255,255,.55); }

.wwa-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.wwa-voice {
  background: #fff; padding: 30px 28px;
  border-top: 3px solid #57b378;
  display: flex; flex-direction: column;
}
.wwa-voice p {
  font-size: 16px; line-height: 1.8; color: #40566a; margin: 0 0 16px;
}
.wwa-voice p:first-child::before { content: '\201C'; color: #9fc7d4; font-size: 30px; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.wwa-voice .wwa-voice-tag {
  margin-top: auto; font-family: 'Assistant', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: #8aa0ae; font-weight: 700;
}

.wwa-talent { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.wwa-talent img { width: 100%; height: auto; border-radius: 10px; display: block; }
.wwa-talent-points { list-style: none; margin: 18px 0 0; padding: 0; }
.wwa-talent-points li {
  position: relative; padding: 9px 0 9px 26px;
  font-size: 16px; color: #5a7282; line-height: 1.7;
  border-bottom: 1px solid #eaf1f5;
}
.wwa-talent-points li:last-child { border-bottom: 0; }
.wwa-talent-points li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #0a7f95, #57b378);
}

@media screen and (max-width: 900px) {
  .wwa-voices { grid-template-columns: 1fr; }
  .wwa-talent { grid-template-columns: 1fr; gap: 30px; }
  .wwa-pullquote p { font-size: 19px; }
}

/* COBRA variant card: request button */
.cobra-type-cta {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  font-family: 'Assistant', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: #0a7f95; background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: none; transition: color .2s;
}
.cobra-type-cta:hover { color: #004363; }
.cobra-type-cta i { font-size: 15px; }

/* Partner logos on the Solutions platform cards */
.sol-platform-logo {
  height: 34px; width: auto; max-width: 160px;
  display: block; margin-bottom: 14px;
}
@media screen and (max-width: 767px) { .sol-platform-logo { height: 28px; } }


/* ============================================================
   CASE STUDY LIBRARY
   Titles and summaries are CleanSlate's own published copy.
   Links point at the live pages until the content is migrated.
   ============================================================ */
.cs-lib-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 28px;
}
.cs-lib-filter {
  font-family: 'Assistant', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 9px 18px; border-radius: 30px; cursor: pointer;
  background: #fff; border: 1px solid #cddce6;
  color: #4a6b7e; transition: all .2s;
}
.cs-lib-filter:hover { border-color: #0a7f95; color: #0a7f95; }
.cs-lib-filter.is-active { background: #004363; border-color: #004363; color: #fff; }

.cs-lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.cs-lib-card {
  background: #fff; border-top: 3px solid #0a7f95;
  padding: 26px 24px; display: flex; flex-direction: column;
  text-decoration: none;
}
.cs-lib-card:hover { box-shadow: 0 6px 22px rgba(0,60,90,.10); }
.cs-lib-card[data-tag*="IBM"] { border-top-color: #57b378; }
.cs-lib-tag {
  font-family: 'Assistant', sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: #8aa0ae;
  margin-bottom: 10px;
}
.cs-lib-card h3 {
  font-family: 'Assistant', sans-serif; font-size: 18px; line-height: 1.35;
  color: #004363; margin: 0 0 10px;
}
.cs-lib-card p {
  font-size: 15px; line-height: 1.7; color: #5a7282; margin: 0 0 16px;
}
.cs-lib-more {
  margin-top: auto; font-family: 'Assistant', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: #0a7f95;
}
.cs-lib-card.is-hidden { display: none; }

@media screen and (max-width: 1024px) { .cs-lib-grid { grid-template-columns: 1fr 1fr; } }
@media screen and (max-width: 767px)  { .cs-lib-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURED CASE STUDIES — no imagery, the numbers carry it
   ============================================================ */
.ss-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ss-feat-card {
  background: #fff; border-top: 3px solid #0a7f95;
  padding: 32px 30px; display: flex; flex-direction: column;
  overflow: hidden;
}
.ss-feat-client {
  font-family: 'Assistant', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: #0a7f95;
  margin-bottom: 6px;
}
.ss-feat-sector { font-size: 13px; color: #8aa0ae; margin-bottom: 16px; }
.ss-feat-card h3 {
  font-family: 'Assistant', sans-serif; font-size: 20px; line-height: 1.35;
  color: #004363; margin: 0 0 12px;
}
.ss-feat-card p { font-size: 15px; line-height: 1.75; color: #5a7282; margin: 0 0 18px; }
/* The numbers are the strongest thing on the card, so they get the
   brand gradient and bleed to the card edges. */
.ss-feat-stats {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin: auto -30px 0; padding: 24px 30px; min-height: 104px; align-content: center;
  background: linear-gradient(135deg, #0a7f95 0%, #2f9e86 55%, #57b378 100%);
}
.ss-feat-stat b {
  display: block; font-family: 'Assistant', sans-serif;
  font-size: 30px; font-weight: 800; color: #fff; line-height: 1;
}
.ss-feat-stat span {
  display: block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(255,255,255,.82); margin-top: 6px;
  font-family: 'Assistant', sans-serif; font-weight: 700;
}
.ss-feat-card .ss-feat-pdf { margin-top: 18px; }
@media screen and (max-width: 1024px) { .ss-feat { grid-template-columns: 1fr 1fr; } }
@media screen and (max-width: 767px)  { .ss-feat { grid-template-columns: 1fr; } }

/* PDF link on case study cards */
.ss-feat-pdf, .cs-lib-pdf {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  font-family: 'Assistant', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: #0a7f95; text-decoration: none; transition: color .2s;
}
.ss-feat-pdf:hover, .cs-lib-pdf:hover { color: #004363; }
.ss-feat-pdf i, .cs-lib-pdf i { font-size: 15px; }
.cs-lib-pdf { margin-top: auto; padding-top: 14px; }

/* ============================================================
   SOLUTIONS HUB — the three tiers, condensed
   Sourced from the six solution pages so the hub cannot drift.
   ============================================================ */
.sol-tier { margin-bottom: 14px; }
.sol-tier:last-child { margin-bottom: 0; }
.sol-tier-label {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Assistant', sans-serif; font-size: 10px; font-weight: 800;
  letter-spacing: 2.2px; text-transform: uppercase;
  color: #8aa0ae; margin-bottom: 7px;
}
.sol-tier-label i { font-size: 13px; color: #0a7f95; }
.sol-tier-accel .sol-tier-label i { color: #57b378; }
.sol-tier-exp .sol-tier-label i { color: #6a8296; }
.sol-tier-items { display: flex; flex-wrap: wrap; gap: 3px; }
.sol-tier-item {
  background: #fff; border: 1px solid #e2ebf1;
  border-left: 3px solid #0a7f95;
  padding: 7px 12px; font-size: 14px; color: #33566b;
  font-family: 'Assistant', sans-serif; font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px;
}
.sol-tier-accel .sol-tier-item { border-left-color: #57b378; font-weight: 600; }
.sol-tier-exp .sol-tier-item {
  border-left: 0; border-color: #e6edf2; background: #f4f8fa;
  font-weight: 600; color: #5a7282; font-size: 13px;
}
.sol-tier-item .sol-sol-brand {
  font-size: 9px; font-weight: 800; letter-spacing: 1.6px;
  color: #0a7f95; text-transform: uppercase;
}
.sol-tier-item .cs-mark { width: 16px; height: 16px; border-radius: 3px; }
@media screen and (max-width: 767px) { .sol-tier-item { font-size: 13px; } }
