/* =========================================================================
   ArcCentrx website — shared styles (v2, upgraded)
   Palette matches ArcCentrx-Website-Wix-Build-Spec.md.
   Upgrades over v1: Inter typography, fluid type, motion/hover interactions,
   sticky header + mobile nav, full responsive behavior.
   ========================================================================= */

:root {
  /* Brand palette */
  --navy:        #1B2A4A;
  --navy-dark:   #12233B;
  --teal:        #1D9E75;
  --teal-bright: #5DCAA5;
  --teal-deep:   #178A65;

  /* Neutrals */
  --bg:          #FFFFFF;
  --bg-light:    #F4F6F8;
  --bg-lighter:  #FAFBFC;
  --border:      #ECEEF1;
  --border-2:    #E3E7EC;
  --border-3:    #D6DCE3;

  /* Text */
  --ink:         #1B2A4A;
  --body:        #44505E;
  --body-soft:   #6B7686;
  --muted:       #9AA7B8;
  --on-dark:     #C9D3E3;
  --on-dark-soft:#9FB0C9;
  --on-dark-dim: #7E8CA3;

  /* System */
  --maxw: 1100px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18,35,59,.06), 0 2px 8px rgba(18,35,59,.05);
  --shadow-md: 0 6px 18px rgba(18,35,59,.09), 0 2px 6px rgba(18,35,59,.06);
  --shadow-lg: 0 18px 48px rgba(18,35,59,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 66px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* clip (not hidden) prevents sideways scroll without creating a scroll
     container that would break the sticky header */
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(29,158,117,.28); }
.btn-teal:hover { background: var(--teal-deep); box-shadow: 0 8px 22px rgba(29,158,117,.34); }
.btn-bright-teal { background: var(--teal-bright); color: var(--navy-dark); box-shadow: 0 6px 20px rgba(93,202,165,.30); }
.btn-bright-teal:hover { background: #6fd6b3; box-shadow: 0 10px 28px rgba(93,202,165,.4); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.arrow-link .arw { transition: transform .2s var(--ease); }
.arrow-link:hover { color: var(--teal-deep); }
.arrow-link:hover .arw { transform: translateX(4px); }

/* =========================================================================
   Header (injected by site.js)
   ========================================================================= */
/* The header is injected into a <div data-site-header> wrapper. display:contents
   removes that wrapper's box so the sticky header's containing block is the
   full-height body — otherwise it can only stick within the short wrapper. */
[data-site-header] { display: contents; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border-2); }
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand svg { width: 132px; height: auto; transition: opacity .2s var(--ease); }
.brand:hover { opacity: .82; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav.mobile { display: none; }
.nav-link {
  position: relative;
  color: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 7px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-link:hover { color: var(--navy); background: var(--bg-light); }
.nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* Dropdown (Services) */
.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-item .caret { transition: transform .2s var(--ease); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 208px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--body);
  font-size: 14px;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.dropdown a strong { display: block; color: var(--navy); font-weight: 600; font-size: 14px; }
.dropdown a span { font-size: 12px; color: var(--muted); }
.dropdown a:hover { background: var(--bg-light); color: var(--navy); }
.dropdown a:hover strong { color: var(--teal-deep); }
.dropdown.mega { width: 540px; max-width: calc(100vw - 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown.mega .dropdown-wide { grid-column: 1 / -1; text-align: center; }
.dropdown.mega .dropdown-all { grid-column: 1 / -1; text-align: center; border-top: 1px solid var(--border-2); margin-top: 4px; padding-top: 12px; }
@media (max-width: 768px) { .dropdown.mega { width: auto; grid-template-columns: 1fr; } }
/* Premium tier item, set apart in the Services dropdown */
.dropdown a.dd-private { border-top: 1px solid var(--border-2); margin-top: 6px; padding-top: 12px; }
.dropdown a.dd-private strong { color: #A9843A; }
.dropdown a.dd-private:hover { background: #faf6ee; }
.dropdown a.dd-private:hover strong { color: #8f6d2f; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border-2);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { position: absolute; transform: translateY(-6px); }
.nav-toggle span::after { position: absolute; transform: translateY(6px); }
.nav-toggle span { position: relative; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

/* =========================================================================
   Section scaffolding
   ========================================================================= */
section { padding: clamp(48px, 7vw, 88px) 24px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
section.light { background: var(--bg-light); }
section.white { background: var(--bg); }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.section-heading { max-width: 620px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-heading h2 { color: var(--navy); font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 12px; }
.section-heading p { color: var(--body-soft); font-size: 16px; line-height: 1.65; }
.view-all-wrap { text-align: center; margin-top: 36px; }

/* Work-area tags (home: "What our work includes") */
.work-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.work-tag {
  display: inline-block; background: var(--bg-light); border: 1px solid var(--border-2);
  color: var(--navy); font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.work-tag:hover { border-color: var(--teal); background: #eef7f2; transform: translateY(-2px); }

/* =========================================================================
   Hero (home)
   ========================================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 78% -10%, rgba(93,202,165,.16), transparent 60%),
    radial-gradient(760px 460px at 8% 110%, rgba(29,158,117,.14), transparent 55%),
    linear-gradient(160deg, #12233B 0%, #1B2A4A 60%, #16294a 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
  padding: clamp(72px, 12vw, 132px) 24px clamp(64px, 10vw, 116px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto 22px;
}
.hero h1 .accent { color: var(--teal-bright); }
.sm-mark { font-size: .28em; font-weight: 500; position: relative; top: -1.7em; vertical-align: baseline; margin-left: .08em; line-height: 0; }
.hero .subhead {
  color: var(--on-dark);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 34px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--on-dark);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 16px; border-radius: 999px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero-pill:hover { background: rgba(255,255,255,.1); border-color: rgba(93,202,165,.5); transform: translateY(-2px); }
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); }

/* =========================================================================
   Page intro band (interior pages)
   ========================================================================= */
.intro-band {
  position: relative;
  background:
    radial-gradient(700px 340px at 82% -30%, rgba(93,202,165,.14), transparent 60%),
    linear-gradient(160deg, #12233B, #1B2A4A);
  color: #fff;
  text-align: center;
  padding: clamp(52px, 8vw, 92px) 24px;
  overflow: hidden;
}
.intro-band .intro-inner { position: relative; max-width: 680px; margin: 0 auto; }
.intro-band .breadcrumb { display: block; color: var(--on-dark-dim); font-size: 13px; margin-bottom: 16px; }
.intro-band .breadcrumb a { color: var(--on-dark-soft); font-weight: 500; }
.intro-band .breadcrumb a:hover { color: var(--teal-bright); }
.intro-band .pillar-icon { width: 60px; height: 60px; margin: 0 auto 22px; }
.intro-band h1 {
  color: #fff;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.12;
  margin: 0 auto 16px;
}
.intro-band .subhead { color: var(--on-dark); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; max-width: 560px; margin: 0 auto; }

/* =========================================================================
   Intro paragraph (home, under hero)
   ========================================================================= */
.lead { text-align: center; }
.lead p { max-width: 720px; margin: 0 auto; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.6; color: var(--navy); font-weight: 400; }
.lead .accent { color: var(--teal-deep); font-weight: 600; }

/* =========================================================================
   Tension row (home) — three "that's us" statements
   ========================================================================= */
.tension-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: var(--maxw); margin: 0 auto; }
.tension-card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tension-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tension-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.tension-card p { color: var(--body-soft); font-size: 15px; line-height: 1.65; }

/* =========================================================================
   Cards row (highlights / pillar cards / sub-area cards)
   ========================================================================= */
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.cards-row.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d4e6dd; }
.card .icon-badge {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(150deg, #eef7f2, #e2f1ea);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s var(--ease);
}
.card:hover .icon-badge { transform: scale(1.06) rotate(-3deg); }
.card .icon-badge svg { width: 28px; height: 28px; }
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--body-soft); font-size: 14.5px; line-height: 1.65; }
.card .arrow-link { margin-top: 18px; }
.card.center { text-align: center; align-items: center; }
.card.center .icon-badge { margin-left: auto; margin-right: auto; }

/* Numbered highlight cards */
.card .num {
  font-size: 13px; font-weight: 700; color: var(--teal);
  letter-spacing: .1em; margin-bottom: 12px;
}

/* =========================================================================
   Split row (image + text)
   ========================================================================= */
.split-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); max-width: var(--maxw); margin: 0 auto; }
.split-row[id] { scroll-margin-top: 96px; }
.split-row + .split-row { margin-top: clamp(40px, 6vw, 72px); }
.split-row.reverse .split-image { order: 2; }
.split-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #f0f5f9, #e6eef4);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.split-visual svg { width: 62%; height: auto; }
.split-text h2 { color: var(--navy); font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.split-text h2 a { color: inherit; transition: color .2s var(--ease); }
.split-text h2 a:hover { color: var(--teal-deep); }
.split-text .sub { color: var(--teal-deep); font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.split-text p { color: var(--body-soft); font-size: 15.5px; line-height: 1.72; margin-bottom: 20px; }
.split-text .eyebrow { margin-bottom: 12px; }

/* Service deep-dive question rows */
.qa-list { list-style: none; margin: 0; padding: 0; }
.qa-list li { position: relative; padding-left: 24px; color: var(--body); font-size: 15.5px; line-height: 1.58; margin-bottom: 11px; }
.qa-list li:last-child { margin-bottom: 0; }
.qa-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 13px; height: 2px; background: var(--teal); border-radius: 2px; }
.split-text p.qa-close { color: var(--navy); font-weight: 500; margin: 22px 0 0; }

/* Methodology page components */
.split-visual img { width: 68%; height: auto; }
.you-get-label { color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 10px; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); max-width: 920px; margin: 0 auto; }
.principle .step-number { margin: 0 0 16px; }
.principle h4 { color: var(--navy); font-size: 17.5px; margin-bottom: 8px; }
.principle p { color: var(--body-soft); font-size: 15px; line-height: 1.66; }
.outcomes-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); max-width: var(--maxw); margin: 0 auto; }
.outcome { text-align: center; }
.outcome h4 { color: var(--teal-deep); font-size: 16px; letter-spacing: .01em; margin-bottom: 8px; }
.outcome p { color: var(--body-soft); font-size: 14.5px; line-height: 1.6; }
.method-closing { text-align: center; max-width: 720px; margin: clamp(30px, 4vw, 46px) auto 0; color: var(--navy); font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; line-height: 1.5; }
@media (max-width: 760px) {
  .principles-grid { grid-template-columns: 1fr; max-width: 460px; }
  .outcomes-strip { grid-template-columns: 1fr 1fr; }
}

/* Anchor scroll offset for the fixed header */
section[id] { scroll-margin-top: 92px; }

/* Services page: hero link + service blocks + accordion */
.intro-band .hero-link { display: inline-block; margin-top: 22px; color: var(--teal-bright); font-weight: 600; font-size: 15px; }
.intro-band .hero-link:hover { color: #fff; }
.intro-band .hero-link .arw { transition: transform .2s var(--ease); display: inline-block; }
.intro-band .hero-link:hover .arw { transform: translateX(4px); }

.service-block { max-width: 900px; margin: 0 auto; }
.service-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.service-num { color: var(--teal-deep); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.service-sep { color: var(--border-3); }
.service-name { color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.service-block h2 { color: var(--navy); font-size: clamp(22px, 2.7vw, 29px); margin-bottom: 14px; max-width: 760px; line-height: 1.22; }
.service-premise { color: var(--body-soft); font-size: 16px; line-height: 1.72; margin-bottom: 26px; max-width: 780px; }
.service-cols { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 52px); margin-bottom: 26px; }
.col-label { color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.service-deliver { color: var(--navy); font-weight: 500; font-size: 15.5px; line-height: 1.7; }
.service-inside { border-top: 1px solid var(--border-2); }
.service-inside summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 6px; color: var(--navy); font-weight: 600; font-size: 15px; }
.service-inside summary::-webkit-details-marker { display: none; }
.service-inside summary::after { content: "+"; color: var(--teal-deep); font-size: 22px; font-weight: 400; line-height: .8; }
.service-inside[open] summary::after { content: "\2212"; }
.service-inside summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.inside-list { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inside-list li { background: #fff; border: 1px solid var(--border-2); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--body); }
@media (max-width: 700px) { .service-cols { grid-template-columns: 1fr; gap: 22px; } }

/* Home: methodology centerpiece */
.method-quote { text-align: center; max-width: 760px; margin: 0 auto clamp(26px, 4vw, 40px); }
.method-quote .qmark { color: var(--teal); font-family: Georgia, serif; font-size: 64px; line-height: .5; display: block; margin-bottom: 4px; }
.method-quote blockquote { margin: 0; color: var(--navy); font-size: clamp(19px, 2.6vw, 26px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.method-premise { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 52px); color: var(--body-soft); font-size: 16px; line-height: 1.7; }
.method-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.method-card { background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.method-card .eyebrow { margin-bottom: 10px; }
.method-card h3 { color: var(--navy); font-size: 16.5px; line-height: 1.35; margin-bottom: 12px; }
.method-card > p { color: var(--body-soft); font-size: 14.5px; line-height: 1.66; margin-bottom: 16px; }
.method-card .qa-list li { font-size: 14px; padding-left: 22px; }
.method-card .qa-list li::before { top: 8px; width: 11px; }
.distinction { text-align: center; max-width: 720px; margin: clamp(40px, 6vw, 64px) auto 0; }
.distinction h3 { color: var(--navy); font-size: clamp(20px, 2.6vw, 24px); margin-bottom: 12px; }
.distinction p { color: var(--body-soft); font-size: 16px; line-height: 1.7; }
.sub-label { text-align: center; color: var(--teal-deep); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin: clamp(40px, 6vw, 64px) 0 26px; }

/* Home: 9-service grid */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: var(--maxw); margin: 0 auto; background: var(--border-2); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; }
.service-grid a { background: #fff; padding: 22px 24px; display: block; transition: background .15s var(--ease); }
.service-grid a:hover { background: var(--bg-lighter); }
.service-grid strong { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 6px; transition: color .15s var(--ease); }
.service-grid a:hover strong { color: var(--teal-deep); }
.service-grid span { display: block; color: var(--body-soft); font-size: 13.5px; line-height: 1.55; }
.service-grid .service-grid-cta { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--teal-deep); font-weight: 600; font-size: 15px; }
.service-grid .service-grid-cta .arw { transition: transform .2s var(--ease); display: inline-block; }
.service-grid .service-grid-cta:hover { background: var(--bg-lighter); }
.service-grid .service-grid-cta:hover .arw { transform: translateX(4px); }

/* Home: origin story + selected work */
.origin-body { max-width: 760px; margin: 0 auto; }
.origin-body p { color: var(--body); font-size: 16px; line-height: 1.76; margin-bottom: 16px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.case-card { background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.case-tag { color: var(--teal-deep); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.case-card h3 { color: var(--navy); font-size: 16.5px; line-height: 1.3; margin: 0 0 14px; }
.case-card dl { margin: 0; }
.case-card dt { color: var(--navy); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; margin-top: 16px; }
.case-card dd { margin: 4px 0 0; color: var(--body-soft); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 820px) {
  .method-cards, .service-grid, .case-grid { grid-template-columns: 1fr; }
  .method-cards, .case-grid { max-width: 480px; }
  .service-grid { max-width: 520px; }
}
.placeholder-note {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark-soft); font-size: 13px;
}

/* =========================================================================
   Stat band (home — new, expandable)
   ========================================================================= */
.stat-band { background: var(--navy-dark); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--teal-bright); letter-spacing: -0.02em; line-height: 1; }
.stat .lbl { color: var(--on-dark-soft); font-size: 14px; margin-top: 10px; }

/* =========================================================================
   Process strip
   ========================================================================= */
.process-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.process-step { text-align: center; position: relative; }
.step-number {
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff; border: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep); font-size: 19px; font-weight: 700;
  margin: 0 auto 18px;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.process-step:hover .step-number { background: var(--teal); color: #fff; transform: scale(1.08); }
.process-step h4 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.process-step p { color: var(--body-soft); font-size: 14.5px; line-height: 1.6; }

/* =========================================================================
   Team (about / founding team)
   ========================================================================= */
.team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: var(--maxw); margin: 0 auto; }
.team-member {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.team-member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.avatar-circle {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(150deg, #eef7f2, #dcefe6);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--navy);
  font-weight: 700; font-size: 24px; letter-spacing: .02em;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-member .name { color: var(--navy); font-size: 18px; font-weight: 600; }
.team-member .title { color: var(--teal-deep); font-size: 14px; font-weight: 600; margin: 4px 0 12px; }
.team-member .bio { color: var(--body-soft); font-size: 14px; line-height: 1.65; }

/* =========================================================================
   Pull-quote band
   ========================================================================= */
.quote-band { background: var(--bg-light); text-align: center; }
.quote-band .quote-mark { font-size: 80px; line-height: .6; color: var(--teal); font-family: Georgia, serif; display: block; margin-bottom: 8px; }
.quote-band blockquote { max-width: 720px; margin: 0 auto; color: var(--navy); font-size: clamp(20px, 2.8vw, 28px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  background:
    radial-gradient(600px 300px at 80% 120%, rgba(93,202,165,.2), transparent 60%),
    linear-gradient(150deg, #1B2A4A, #12233B);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-band p { color: var(--on-dark); font-size: 16px; max-width: 480px; margin: 0 auto 28px; }

/* =========================================================================
   Blog
   ========================================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.blog-card {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(150deg, #eef4f9, #e2ebf2);
  display: flex; align-items: center; justify-content: center; color: var(--on-dark-soft);
}
.blog-body { padding: 22px 24px 26px; }
.tag-pill {
  display: inline-block; border: 1px solid var(--teal); color: var(--teal-deep);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.blog-card .title { color: var(--navy); font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.blog-card .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.blog-card .excerpt { color: var(--body-soft); font-size: 14.5px; line-height: 1.6; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.page-dot {
  width: 38px; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .18s var(--ease);
}
.page-dot.active { background: var(--teal); color: #fff; }
.page-dot.inactive { border: 1px solid var(--border-3); color: var(--body-soft); }
.page-dot.inactive:hover { border-color: var(--teal); color: var(--teal-deep); }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 56px); max-width: var(--maxw); margin: 0 auto; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--border-3); border-radius: 9px;
  padding: 12px 14px; font-size: 15px; color: var(--body); font-family: inherit;
  background: var(--bg-lighter);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(29,158,117,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--teal-deep); margin-top: 14px; min-height: 18px; font-weight: 500; }
.info-block h3 { color: var(--navy); font-size: 20px; margin-bottom: 20px; }
.info-row { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.info-row .ic {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(150deg, #eef7f2, #dcefe6);
  display: flex; align-items: center; justify-content: center; color: var(--teal-deep);
}
.info-row .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.info-row .val { color: var(--navy); font-size: 15px; font-weight: 500; }
.info-row .val a:hover { color: var(--teal-deep); }

/* =========================================================================
   Footer (injected by site.js)
   ========================================================================= */
.site-footer { background: var(--navy-dark); color: var(--on-dark-soft); padding: 56px 24px 0; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand svg { width: 152px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--on-dark-dim); font-size: 14px; line-height: 1.6; max-width: 260px; }
.footer-col h4 { color: var(--on-dark); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--on-dark-soft); font-size: 14.5px; line-height: 2.1; transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--teal-bright); }
.copyright {
  max-width: var(--maxw); margin: 44px auto 0; text-align: center;
  font-size: 13px; color: var(--on-dark-dim);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
}
/* Brand tagline (top band of the footer) */
.tagline-band { max-width: var(--maxw); margin: 0 auto clamp(36px, 5vw, 52px); text-align: center; }
.tagline { color: #fff; font-size: clamp(20px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.tagline .accent { color: var(--teal-bright); }
.tagline sup { font-size: .5em; font-weight: 500; vertical-align: super; margin-left: .04em; }

.copyright a { color: var(--on-dark-soft); text-decoration: none; }
.copyright a:hover { color: var(--teal-bright); }
.copyright .sep { margin: 0 8px; opacity: .5; }

/* =========================================================================
   Legal pages (Terms, Privacy)
   ========================================================================= */
.legal-prose { max-width: 800px; margin: 0 auto; color: var(--body); }
.legal-prose h2 { font-size: clamp(19px, 2.3vw, 24px); color: var(--navy); margin: 40px 0 12px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 16.5px; color: var(--navy); margin: 24px 0 8px; }
.legal-prose p { font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.legal-prose ul { margin: 0 0 16px 22px; }
.legal-prose li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; }
.legal-prose a { color: var(--teal-deep); }
.legal-prose .effective { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 26px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 13.5px; }
.legal-table th, .legal-table td { border: 1px solid var(--border-2); padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.55; }
.legal-table th { background: var(--bg-light); color: var(--navy); font-weight: 600; }
.legal-table-wrap { overflow-x: auto; }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .tension-card:hover, .team-member:hover, .blog-card:hover { transform: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .site-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { gap: 0; }

  /* Mobile menu panel */
  .site-nav.mobile {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--border-2);
    box-shadow: var(--shadow-md);
    padding: 14px 18px 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  body.nav-open .site-nav.mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav.mobile .nav-link { font-size: 17px; padding: 13px 12px; border-radius: 9px; }
  .site-nav.mobile .nav-link.active::after { display: none; }
  .site-nav.mobile .nav-link.active { background: var(--bg-light); }
  .site-nav.mobile .nav-item { width: 100%; }
  .site-nav.mobile .caret { margin-left: auto; }
  .site-nav.mobile .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--border-2);
    border-radius: 0; margin: 2px 0 6px 14px; padding: 2px 0;
    max-height: 0; overflow: hidden; transition: max-height .28s var(--ease);
  }
  .site-nav.mobile .nav-item.open .dropdown { max-height: 320px; }
  .site-nav.mobile .nav-item.open .caret { transform: rotate(180deg); }
  .site-nav.mobile .mobile-cta { margin-top: 12px; }
  .site-nav.mobile .mobile-cta .btn { display: inline-flex; width: 100%; justify-content: center; }
}

@media (max-width: 820px) {
  .tension-grid, .cards-row, .cards-row.cols-2, .team-row, .process-row { grid-template-columns: 1fr; max-width: 460px; }
  .blog-grid { grid-template-columns: 1fr; max-width: 460px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .split-row, .split-row.reverse { grid-template-columns: 1fr; }
  .split-row.reverse .split-image { order: 0; }
  .split-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .contact-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .wrap, .header-inner { padding-left: 18px; padding-right: 18px; }
  section { padding-left: 18px; padding-right: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* =========================================================================
   Home: signature hero map motif
   ========================================================================= */
.hero-inner { z-index: 1; }
.hero-map {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(135% 115% at 72% 36%, #000 36%, rgba(0,0,0,0) 86%);
          mask-image: radial-gradient(135% 115% at 72% 36%, #000 36%, rgba(0,0,0,0) 86%);
}
.hero-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
