/* ============================================================
   The Vitality Bridge — Site v2
   Design tokens + layout, ported from the Design Composer source.
   ============================================================ */

:root {
  --accent: #3A4A5A;
  --accent-hover: #2C3946;

  --ink: #15181C;
  --muted: #5B6571;
  --muted-2: #8A929C;
  --muted-3: #B0B7BF;

  --line: #E4E7EA;
  --line-strong: #CDD2D8;
  --surface: #F7F8F9;
  --surface-2: #F0F2F4;

  --max: 1200px;
  --pad-x: 40px;
}

/* ---- base ---- */
html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }
::selection { background: #d7dde2; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
}

a { color: inherit; }

h1, h2, p { margin: 0; }

img { max-width: 100%; display: block; }

/* ---- layout helpers ---- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { border-bottom: 1px solid var(--line); }
.section--muted { background: var(--surface); }

.section-body { padding-top: 96px; padding-bottom: 96px; }

/* two-column section layout: fixed label rail + content */
.split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.rail-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
  margin-top: 14px;
}

.h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.h2--sm {
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  color: #FFFFFF;
  background: var(--accent);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn--ghost {
  color: var(--ink);
  background: #FFFFFF;
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__globe { display: block; width: 28px; height: 28px; flex: none; }
.brand__name { display: flex; align-items: baseline; gap: 9px; }
.brand__word {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brand__tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.nav__link:hover { color: var(--ink); }
.nav__cta {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--accent);
  border-radius: 6px;
  padding: 9px 18px;
  text-decoration: none;
  transition: background .15s ease;
}
.nav__cta:hover { background: var(--accent-hover); }

/* ============ HERO ============ */
.hero__grid {
  padding: 100px var(--pad-x) 92px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-size: 54px;
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.027em;
  max-width: 16ch;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 54ch;
  margin-top: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__globe {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
}

/* ============ TRUSTED BY ============ */
.trusted { padding: 48px var(--pad-x) 52px; max-width: var(--max); margin: 0 auto; }
.trusted__lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 64ch;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
}
.logo-cell {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-bar {
  width: 78px;
  height: 13px;
  background: var(--line);
  border-radius: 2px;
}
.placeholder-note {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-top: 12px;
}

/* ============ WHAT WE DO ============ */
.do-list {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.do-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 36px;
  border-bottom: 1px solid var(--line);
}
.do-row:last-child { border-bottom: none; }
.do-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.do-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.do-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin-bottom: 12px;
}
.do-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
}
.do-body + .do-body { margin-top: 12px; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tag--dashed {
  font-size: 13px;
  color: var(--muted-2);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 6px 12px;
}
.do-more { margin-top: 28px; }

/* ============ PROOF STRIP ============ */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}
.metric {
  padding: 52px 36px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.metric__placeholder {
  display: inline-block;
  width: 64px;
  height: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
}
.metric__label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.metric__src {
  font-size: 12px;
  color: var(--muted-3);
  margin-top: 6px;
}

/* ============ COMPLIANCE ============ */
.compliance__lead {
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
  margin: 20px 0 44px;
  max-width: 60ch;
}
.rule-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
}
.rule {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px 36px;
  border-bottom: 1px solid var(--line);
}
.rule:last-child { border-bottom: none; }
.rule__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.rule__dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.rule__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.rule__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.compliance__more { margin-top: 28px; }

/* ============ WHO WE WORK WITH ============ */
.who__title { max-width: 26ch; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
}
.pill {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 16px;
}
.who__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 36px 0 0;
  max-width: 64ch;
}

/* ============ CASE CARDS ============ */
.cases__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0 0 40px;
  max-width: 60ch;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: #FFFFFF;
  padding: 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.case-card__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.skeleton { display: flex; flex-direction: column; gap: 12px; }
.skeleton__bar { height: 11px; border-radius: 2px; }
.skeleton__bar--a { width: 55%; background: var(--line); }
.skeleton__bar--b { width: 88%; background: #EDEFF1; }
.skeleton__bar--c { width: 76%; background: #EDEFF1; }
.card-foot {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted-3);
}

/* ============ OUR BRANDS ============ */
.brand-card {
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 28px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
}
.brand-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.brand-card__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}
.brands__title { max-width: 24ch; margin-bottom: 36px; }

/* ============ CONTACT ============ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.contact__title {
  font-size: 38px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
.contact__lead {
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 50ch;
}
.contact__btn-wrap { margin-top: 36px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFFFFF;
  padding: 36px;
}
.contact-card__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.contact-card__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.contact-card__role {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.contact-card__email {
  display: inline-block;
  font-size: 15px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--line-strong);
  margin-top: 18px;
}

/* ============ FOOTER ============ */
.footer { background: #FFFFFF; }
.footer__grid {
  padding: 64px var(--pad-x) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__brand .brand__globe { width: 26px; height: 26px; }
.footer__brand .brand__word { font-size: 17px; }
.footer__brand .brand__tag { font-size: 8px; }
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38ch;
}
.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer__link:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner {
  padding: 24px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
}
.footer__legal { font-size: 13px; color: var(--muted-2); }
.footer__legal .ph { color: var(--muted-3); }
.footer__region { font-size: 13px; color: var(--muted-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 64px;
  }
  .hero__art { order: -1; }
  .hero__globe { max-width: 360px; }
  .hero__title { font-size: 44px; }

  .split { grid-template-columns: 1fr; gap: 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }

  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }

  .rule { grid-template-columns: 1fr; gap: 12px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --pad-x: 24px; }

  .section-body { padding-top: 56px; padding-bottom: 56px; }

  .nav__links { gap: 0; }
  .nav__link { display: none; }

  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 auto; text-align: center; }

  .h2 { font-size: 26px; }
  .h2--sm { font-size: 24px; }
  .contact__title { font-size: 30px; }

  .do-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 24px; }
  .do-row .do-num { margin-bottom: 2px; }

  .metric-strip { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 24px; }
  .metric:last-child { border-bottom: none; }

  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ============================================================
   SUB-PAGES (What We Do / Compliance)
   ============================================================ */

.nav__link--active { color: var(--ink); font-weight: 500; }

.section-body--88 { padding-top: 88px; padding-bottom: 88px; }
.section-body--80 { padding-top: 80px; padding-bottom: 80px; }

/* page hero */
.page-hero { padding-top: 88px; padding-bottom: 72px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero__title {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.026em;
  margin: 0;
  max-width: 18ch;
}
.page-hero__lead {
  font-size: 19px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
  margin: 26px 0 0;
}

/* sub-page section heading */
.h2--28 {
  font-size: 28px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.prose {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  margin: 0;
}

/* small-caps sub-label inside a content column */
.sub-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 40px 0 16px;
}

/* definition list: label | body rows */
.def-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
}
.def-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 30px 36px;
  border-bottom: 1px solid var(--line);
}
.def-row:last-child { border-bottom: none; }
.def-row__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.def-row__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* callout / quote block (accent left rule) */
.callout {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin-top: 28px;
}
.callout--lg { padding-left: 24px; margin-top: 40px; }
.callout__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.callout--label .callout__title {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.callout__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  margin: 0;
}

/* two-layer cards (editorial & research integrity) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.layer-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.layer-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.layer-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.note { font-size: 12px; color: var(--muted-3); }

/* standards list */
.std-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFFFFF;
  margin-top: 32px;
  overflow: hidden;
}
.std-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.std-row:last-child { border-bottom: none; }
.std-row__dot {
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.std-row__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

/* compliance contact card lead line */
.contact-card__lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .def-row { grid-template-columns: 1fr; gap: 12px; }
  .page-hero__title { font-size: 40px; }
}

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .page-hero { padding-top: 56px; padding-bottom: 48px; }
  .page-hero__title { font-size: 32px; }
  .page-hero__lead { font-size: 17px; }
  .section-body--88, .section-body--80 { padding-top: 48px; padding-bottom: 48px; }
  .h2--28 { font-size: 24px; }
}

/* ============================================================
   STEALTH MODE (placeholder treatment)
   ============================================================ */

.stealth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: #FFFFFF;
}
.stealth-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: stealth-pulse 2s ease-in-out infinite;
}
@keyframes stealth-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(58, 74, 90, 0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(58, 74, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 74, 90, 0); }
}

/* concealed content */
.redacted {
  filter: blur(3px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}
.logo-grid--stealth .logo-bar { filter: blur(2.5px); opacity: 0.5; }
.tag-row--stealth .tag--dashed { filter: blur(3px); opacity: 0.55; user-select: none; pointer-events: none; }
.tag-row--stealth { align-items: center; }
.stealth-note { margin-top: 14px; }

/* real metric value (replaces dashed placeholder) */
.metric__value {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .stealth-dot { animation: none; }
}
