/* ==========================================================================
   CMOMates Marketing Consulting LLP — cmomates.com
   Design system + site styles. Hand-built, no framework, no dependencies.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted — no external requests) ---------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand — sampled from the CMOMates logo */
  --brand:        #EB9C3F;
  --brand-600:    #D9862A;
  --brand-700:    #B96F14;
  --brand-ink:    #8A5410;   /* passes AA on white for text */
  --brand-soft:   #FDF4E8;
  --brand-line:   #F2DCBE;

  /* Neutrals */
  --ink:          #0E1116;
  --ink-2:        #171C23;
  --ink-3:        #232B34;
  --slate:        #434343;   /* the grey in the logo */
  --body:         #3B454F;
  --muted:        #646E7A;
  --line:         #E4E8ED;
  --line-soft:    #EFF2F5;
  --bg:           #FFFFFF;
  --bg-soft:      #F7F9FB;
  --bg-softer:    #FBFCFD;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14,17,22,.05), 0 1px 3px rgba(14,17,22,.05);
  --shadow-md: 0 4px 6px -1px rgba(14,17,22,.06), 0 10px 24px -6px rgba(14,17,22,.10);
  --shadow-lg: 0 18px 50px -18px rgba(14,17,22,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.021em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.65rem); }
h2 { font-size: clamp(1.72rem, 1.25rem + 2.0vw, 2.6rem); }
h3 { font-size: clamp(1.22rem, 1.05rem + .75vw, 1.55rem); font-weight: 750; }
h4 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .5em; }
strong { color: var(--ink-2); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout helpers -------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 6vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #C6CDD6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--brand-tint { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); }

.grid { display: grid; gap: 1.5rem; }
.grid > *, .split > *, .hero-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.center { text-align: center; }
.measure { max-width: 68ch; }
.measure-center { max-width: 68ch; margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---------- 4. Eyebrow / section heads ----------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--brand); }
.section-head { max-width: 62ch; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin-bottom: 0; }
.section--dark .section-head p { color: #98A3AE; }

.lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--body); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .96rem; letter-spacing: -.005em;
  padding: .85rem 1.5rem; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s var(--ease); text-decoration: none !important;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-wa { background: #25D366; color: #06301A; border-color: #25D366; }
.btn-wa:hover { background: #1FBF5A; border-color: #1FBF5A; transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.link-arrow {
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  color: var(--brand-ink); display: inline-flex; align-items: center; gap: .4rem;
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. Header / nav ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 20px rgba(14,17,22,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 82px; }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 46px; width: auto; }
@media (max-width: 460px) { .nav-logo img { height: 38px; } }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { margin: 0; position: relative; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink-3);
  padding: .55rem .8rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem;
  text-decoration: none; transition: all .18s var(--ease);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-links a.is-active { color: var(--brand-ink); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav-cta .btn { padding: .65rem 1.15rem; font-size: .89rem; }

/* dropdown */
.has-drop > a::after { content: "⌄"; font-size: .8em; opacity: .6; position: relative; top: -2px; }
.drop {
  position: absolute; top: calc(100% + 6px); left: -.5rem; min-width: 310px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .18s var(--ease);
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop li { margin: 0; }
.drop a { display: block; padding: .6rem .8rem .6rem 1.5rem; border-radius: var(--radius-sm); font-weight: 650; font-size: .91rem; position: relative; }
.drop a::before { content: ""; position: absolute; left: .85rem; top: .95rem; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-line); }
.drop a:hover::before { background: var(--brand); }
.drop a span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: .15rem; line-height: 1.45; }
.drop a::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 9px;
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s var(--ease);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-cta-desktop { display: none; }
  .nav-links {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.75rem;
    gap: .1rem; max-height: calc(100vh - 82px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: .8rem .5rem; font-size: 1rem; }
  .nav-links a.is-active::after { display: none; }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--brand-line); border-radius: 0; margin: 0 0 .5rem .5rem; padding: 0 0 0 .5rem;
    min-width: 0; display: none;
  }
  .has-drop.is-open .drop { display: block; }
  .drop a { padding: .55rem .5rem; font-size: .92rem; }
  .nav-mobile-cta { display: flex; gap: .6rem; margin-top: 1rem; }
  .nav-mobile-cta .btn { flex: 1; }
}
@media (min-width: 981px) { .nav-mobile-cta { display: none; } }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative; background: var(--ink); color: #C6CDD6; overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; top: -30%; right: -12%; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(235,156,63,.20) 0%, rgba(235,156,63,0) 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px; pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.3rem); color: #A9B3BE; max-width: 60ch;
  font-family: var(--font-head); font-weight: 500; line-height: 1.5; margin-bottom: 2rem;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .6rem;
  border: 1px solid rgba(235,156,63,.32); background: rgba(235,156,63,.09);
  border-radius: 100px; font-size: .82rem; font-weight: 600; color: var(--brand);
  font-family: var(--font-head); margin-bottom: 1.6rem; letter-spacing: .01em;
}
.hero-tag b { background: var(--brand); color: var(--ink); border-radius: 100px; padding: .12rem .6rem; font-size: .76rem; white-space: nowrap; }
.hero-tag span { white-space: nowrap; }
@media (max-width: 430px) { .hero-tag { font-size: .74rem; padding-right: .8rem; } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* page hero (inner pages) */
.page-hero { background: var(--ink); color: #A9B3BE; padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -55%; left: 55%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(235,156,63,.16) 0%, rgba(235,156,63,0) 65%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #A9B3BE; max-width: 62ch; font-size: 1.1rem; margin-bottom: 0; }
.breadcrumb { font-size: .82rem; color: #77828E; margin-bottom: 1.1rem; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a { color: #9AA5B1; }
.breadcrumb span { opacity: .5; margin: 0 .45rem; }

.hero-card { padding: 1.85rem; }
.hero-card-who { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem;
  padding-bottom: 1.35rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.hero-card-who img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-card-who .n { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.1rem; letter-spacing: -.02em; }
.hero-card-who .r { font-size: .86rem; color: #8A94A0; margin-top: .1rem; }
.hero-card-list { margin: 0; font-size: .94rem; color: #C6CDD6; }
.hero-card-list li:last-child { margin-bottom: 0; }

/* ---------- 8. Cards ----------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: all .22s var(--ease); position: relative;
}
.card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--brand-ink);
  border: 1px solid var(--brand-line);
}
.card-icon svg { width: 22px; height: 22px; }
.card-link { position: absolute; inset: 0; z-index: 1; }

.card--flat { background: var(--bg-soft); border-color: transparent; }
.card--flat:hover { background: #fff; border-color: var(--brand-line); }
.card--dark { background: var(--ink-2); border-color: rgba(255,255,255,.09); color: #A9B3BE; }
.card--dark:hover { border-color: rgba(235,156,63,.35); }

/* serve cards */
.serve-card { text-align: left; padding: 1.6rem; }
.serve-card .num {
  font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  color: var(--brand); display: block; margin-bottom: .7rem;
}
.serve-card h3 { font-size: 1.16rem; }
.serve-card p { font-size: .95rem; color: var(--muted); margin-bottom: 0; }

/* ---------- 9. Tabs (What's in it for you) ------------------------------- */
.tabs-nav {
  display: flex; gap: .4rem; background: var(--bg-soft); padding: .4rem;
  border-radius: 100px; border: 1px solid var(--line); margin-bottom: 2.5rem;
  width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  padding: .72rem 1.4rem; border-radius: 100px; border: 0; background: transparent;
  color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .2s var(--ease);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .32s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tab-positioning {
  font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  font-weight: 750; color: var(--ink); line-height: 1.35; max-width: 40ch;
  margin-bottom: .6rem; letter-spacing: -.018em;
}
.tab-positioning + p { color: var(--muted); max-width: 62ch; }
.gain-label {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 1rem;
}
@media (max-width: 940px) { .gain-label { margin-top: 1.5rem; } }
.tab-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .tab-layout { grid-template-columns: 1fr; gap: 1.75rem; } }
.gain-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.gain-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem; transition: all .2s var(--ease);
}
.gain-box:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.gain-box h4 { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .4rem; color: var(--ink); font-size: 1rem; }
.gain-box h4 .tick {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft);
  border: 1px solid var(--brand-line); display: grid; place-items: center; margin-top: 2px;
}
.gain-box h4 .tick svg { width: 11px; height: 11px; color: var(--brand-ink); }
.gain-box p { font-size: .92rem; color: var(--muted); margin: 0 0 0 1.7rem; line-height: 1.6; }
.outcome-bar {
  margin-top: 1.75rem; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 1.35rem 1.6rem; display: flex; gap: 1rem; align-items: flex-start;
}
.tab-layout .outcome-bar { flex-direction: column; gap: .45rem; }
.outcome-bar .o-label {
  font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand); flex: none; padding-top: .28rem;
}
.outcome-bar p { margin: 0; color: #DDE3E9; font-size: 1rem; font-weight: 500; font-family: var(--font-head); line-height: 1.55; }
@media (max-width: 600px) { .outcome-bar { flex-direction: column; gap: .5rem; } }

/* ---------- 10. Proof / stats -------------------------------------------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.10); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--ink); padding: 1.75rem 1.5rem; }
.stat .n { font-family: var(--font-head); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1; margin-bottom: .5rem; }
.stat .l { font-size: .86rem; color: #98A3AE; line-height: 1.5; }

.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.4rem; justify-content: center; }
.logo-strip span {
  font-family: var(--font-head); font-weight: 750; font-size: clamp(1rem, .85rem + .55vw, 1.3rem);
  color: var(--slate); opacity: .58; letter-spacing: -.02em; transition: opacity .2s;
}
.logo-strip span:hover { opacity: 1; }
.section--dark .logo-strip span { color: #C6CDD6; opacity: .5; }

/* ---------- 11. Split / media blocks ------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split--portrait { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 860px) { .split, .split--portrait { grid-template-columns: 1fr; } }
.portrait-frame { position: relative; }
.portrait-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.portrait-frame::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--brand);
  border-radius: var(--radius-lg); z-index: -1;
}

/* ---------- 12. Diagram figures ------------------------------------------ */
.figure {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 2rem); margin: 2.5rem 0;
}
.figure > svg { width: 100%; height: auto; display: block; }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 1.25rem; text-align: left; line-height: 1.6; max-width: 82ch; }
.figure figcaption b { color: var(--ink-3); }
.figure-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.figure-scroll > svg { min-width: 640px; }
.figure--fluid > svg { min-width: 0; width: 100%; }
.figure--fluid { overflow: visible; }

/* ---------- 13. Service page bits ---------------------------------------- */
.svc-hero-icon { font-size: 2rem; line-height: 1; margin-bottom: 1rem; }
.bestfor {
  background: var(--brand-soft); border: 1px solid var(--brand-line); border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-size: .95rem; color: var(--ink-3);
}
.bestfor strong { color: var(--brand-ink); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; line-height: 1.6; }
.checklist li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-ink);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; margin-top: 3px;
}
.section--dark .checklist li::before, .hero .checklist li::before { background: rgba(235,156,63,.14); border-color: rgba(235,156,63,.3); color: var(--brand); }
.world-block { background: var(--bg-soft); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); }
.world-block p:last-child { margin-bottom: 0; }
.world-block .punch { font-family: var(--font-head); font-weight: 750; color: var(--ink); font-size: 1.1rem; }

/* timeline rows (About) */
.tl-row { display: grid; grid-template-columns: 190px 1fr; gap: 1.25rem; }
.tl-row .tl-when { font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .05em; color: var(--brand-ink); margin-bottom: .25rem; }
.tl-row .tl-org { font-family: var(--font-head); font-weight: 750; color: var(--ink); font-size: 1.02rem; }
.tl-row .tl-role { font-family: var(--font-head); font-weight: 650; color: var(--ink-3); margin-bottom: .35rem; font-size: .95rem; }
.tl-row p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 620px) { .tl-row { grid-template-columns: 1fr; gap: .6rem; } }

/* step cards (Services hub) */
.step-num { font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); display: block; margin-bottom: .7rem; }
.step-card h3 { font-size: 1.08rem; }
.step-card p { font-size: .93rem; color: var(--muted); }

.client-wall { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 780px) { .client-wall { grid-template-columns: 1fr; } }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.client-card .cname { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; margin-bottom: .15rem; }
.client-card .cwhat { font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: .75rem; }
.client-card p { font-size: .94rem; color: var(--muted); margin: 0; }

/* grouped nav dropdown */
.drop { min-width: 360px; }
.drop-group { padding: .7rem .8rem .3rem; }
.drop-group + .drop-group { border-top: 1px solid var(--line-soft); margin-top: .4rem; }
.drop-group-label { display: block; font-family: var(--font-head); font-size: .7rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.drop-group-who { display: block; font-size: .76rem; color: var(--muted); margin-top: .1rem; }
@media (max-width: 980px) { .drop { min-width: 0; } .drop-group { padding: .6rem .5rem .2rem; } }
.site-footer li.f-group { font-family: var(--font-head); font-size: .74rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--brand); margin: 1.15rem 0 .55rem;
  padding-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.site-footer li.f-group:first-child { margin-top: 0; }
.site-footer li.f-group ~ li:not(.f-group) { padding-left: .85rem; position: relative; }
.site-footer li.f-group ~ li:not(.f-group)::before { content: ""; position: absolute; left: 0; top: .62rem;
  width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.22); }

/* practice blocks on the services hub */
.practice-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: .5rem; }
.practice-head h2 { margin: 0; }
.practice-who { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 100px; padding: .3rem .85rem; }

/* home: the two practices, visually separated */
.practice-block { margin-top: 2.5rem; }
.practice-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem;
  padding-bottom: .9rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--line); }
.practice-block--training .practice-bar { border-bottom-color: var(--brand-line); }
.practice-num { font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); }
.practice-bar h3 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.practice-bar .practice-who { margin-left: auto; }
@media (max-width: 700px) { .practice-bar .practice-who { margin-left: 0; } }
.training-card { padding: clamp(1.6rem, 3vw, 2.25rem); }
.training-card h3 { color: #fff; font-size: 1.42rem; }
.training-card > p { color: #A9B3BE; max-width: 68ch; }
.card-icon--dark { background: rgba(235,156,63,.14); border-color: rgba(235,156,63,.3); color: var(--brand); }
.training-flag { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-size: .94rem; color: #C6CDD6; }
.training-flag b { color: var(--brand); }
.link-arrow--light { color: var(--brand); }

/* archetype cards */
.arch-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.arch-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.arch-where { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.arch-trap { font-size: .92rem; color: var(--ink-3); margin: 0; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.arch-trap span { display: block; font-family: var(--font-head); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: .3rem; }

/* the five shifts */
.shift-list { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: shift; }
.shift-list li { display: flex; align-items: baseline; gap: .75rem; padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft); margin: 0; font-size: 1.02rem; color: var(--muted); }
.shift-list li::before { counter-increment: shift; content: counter(shift);
  font-family: var(--font-head); font-size: .72rem; font-weight: 800; color: var(--brand);
  border: 1.5px solid var(--brand-line); border-radius: 50%; width: 24px; height: 24px;
  display: inline-grid; place-items: center; flex: none; background: var(--brand-soft); }
.shift-list li b { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.08rem; }

/* curriculum pillars */
.pillar-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .pillar-row { grid-template-columns: 1fr; } }
.pillar { background: var(--ink-2); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 1.5rem; }
.pillar--live { border-color: rgba(235,156,63,.4); }
.pillar h4 { font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.pillar ul { list-style: none; padding: 0; margin: 0; }
.pillar li { color: #C6CDD6; font-size: .98rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.pillar li:last-child { border-bottom: 0; }
.pillar li b { color: #fff; }
.pill-live { display: inline-block; margin-left: .5rem; font-family: var(--font-head); font-size: .64rem;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  background: var(--brand); border-radius: 100px; padding: .16rem .55rem; vertical-align: 2px; }

/* selected work / case studies */
.work-card .cwhat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: .6rem; }
.work-card h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.work-via { font-size: .85rem; color: var(--muted); font-style: italic; margin-bottom: 1rem; }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 2.5rem; }
@media (max-width: 620px) { .glance { grid-template-columns: 1fr; } }
.glance > div { background: var(--bg-soft); padding: 1rem 1.25rem; font-size: .95rem; color: var(--ink-3); }
.glance span { display: block; font-family: var(--font-head); font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }

/* ---------- 14. Blog ----------------------------------------------------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .kicker {
  font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--brand-ink); margin-bottom: .8rem;
}
.post-card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card .link-arrow { margin-top: .5rem; }

.article { font-size: 1.075rem; line-height: 1.78; }
.article > p:first-of-type { font-size: 1.17rem; color: var(--ink-3); }
.article h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.4rem; }
.article h3 { margin-top: 2rem; }
.article ul li, .article ol li { margin-bottom: .7rem; }
.article blockquote {
  margin: 2rem 0; padding: 1.25rem 0 1.25rem 1.75rem; border-left: 3px solid var(--brand);
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.5;
}
.article blockquote p:last-child { margin-bottom: 0; }
.pullbox {
  background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; margin: 2rem 0;
}
.pullbox p:last-child { margin-bottom: 0; }
.article-meta { display: flex; align-items: center; gap: .9rem; margin: 0 0 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.article-meta img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.article-meta .who { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.article-meta .what { font-size: .84rem; color: var(--muted); }
.origin-note {
  font-size: .85rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: 2rem;
}
.series-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
@media (max-width: 640px) { .series-nav { grid-template-columns: 1fr; } }
.series-nav a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: all .2s var(--ease); }
.series-nav a:hover { border-color: var(--brand-line); background: var(--bg-soft); text-decoration: none; }
.series-nav .dir { font-size: .76rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.series-nav .ttl { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.4; }

/* ---------- 15. Forms ---------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 650; font-size: .88rem;
  color: var(--ink-2); margin-bottom: .45rem;
}
.field label .req { color: var(--brand-700); }
.field input, .field select, .field textarea {
  /* 16px floor: iOS Safari auto-zooms the page on focus for anything smaller,
     and does not zoom back out. Do not reduce below 1rem. */
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: all .18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(235,156,63,.15);
}
.field input::placeholder, .field textarea::placeholder { color: #A6AFB9; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; line-height: 1.55; }
.form-msg { padding: 1rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .93rem; display: none; }
.form-msg.ok { display: block; background: #EAF7EF; border: 1px solid #B7E4C8; color: #1B6B3A; }
.form-msg.err { display: block; background: #FDECEC; border: 1px solid #F6C2C2; color: #9B2222; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-line { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.35rem; }
.contact-line .ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft);
  border: 1px solid var(--brand-line); display: grid; place-items: center; color: var(--brand-ink);
}
.contact-line .ic svg { width: 18px; height: 18px; }
.contact-line .k { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .15rem; }
.contact-line .v { font-size: 1rem; color: var(--ink); font-weight: 500; }
.contact-line .v a { color: var(--ink); }
.contact-line .v a:hover { color: var(--brand-ink); }

/* ---------- 16. CTA band ------------------------------------------------- */
.cta-band { background: var(--ink); color: #A9B3BE; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; bottom: -60%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(235,156,63,.16) 0%, rgba(235,156,63,0) 68%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #A9B3BE; max-width: 58ch; margin-inline: auto; font-size: 1.08rem; }

/* ---------- 17. WhatsApp float ------------------------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25D366; color: #06301A; border-radius: 100px;
  padding: .8rem 1.2rem .8rem .95rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  box-shadow: 0 8px 26px rgba(37,211,102,.42); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 32px rgba(37,211,102,.5); text-decoration: none; }
.wa-float svg { width: 21px; height: 21px; flex: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .85rem; border-radius: 50%; } }

/* ---------- 18. Footer --------------------------------------------------- */
.site-footer { background: var(--ink); color: #8A94A0; padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.f-logo { height: 44px; width: auto; margin-bottom: 1.1rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #8A94A0; text-decoration: none; transition: color .18s; }
.site-footer a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; color: #6B7683;
}
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center; color: #8A94A0;
}
.footer-social a:hover { border-color: var(--brand); color: var(--brand); background: rgba(235,156,63,.08); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- 19. Utilities & motion --------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--ink);
  padding: .75rem 1.25rem; font-family: var(--font-head); font-weight: 700; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media print {
  .site-header, .site-footer, .wa-float, .cta-band { display: none !important; }
  body { color: #000; font-size: 11pt; }
}

/* Understated execution assurance band (fractional CMO page) */
.assure{border-left:3px solid var(--brand);padding:.2rem 0 .2rem 1.6rem}
.assure h2{font-size:clamp(1.2rem,2.6vw,1.55rem);margin:0 0 .9rem}
.assure p{color:var(--muted);margin:0 0 .85rem;max-width:62ch}
.assure p:last-child{margin-bottom:0}

/* ---- Touch refinements (phones & iPad portrait) ----------------------------
   Tap targets to the 44px guideline and readable footer navigation.
   Checked against 360/390/412/820/1180px viewports. */
@media (max-width: 820px), (pointer: coarse) {
  .footer-social a { width: 44px; height: 44px; border-radius: 12px; }
  .footer-social svg { width: 19px; height: 19px; }
  .site-footer li.f-group { font-size: .8rem; letter-spacing: .11em; }
  .site-footer .f-links a { display: inline-block; padding: .3rem 0; }
  .nav-logo { min-height: 44px; }

  /* Primary conversion links: email, phone, LinkedIn and every CTA arrow
     need a finger-sized target, not a text-height one. */
  .contact-line .v a { display: inline-block; padding: .55rem 0; }
  .link-arrow { padding: .55rem 0; }
}
