/* Private Client Services — Design System
   Generated by Frontend Wireframe Engine · DNA Hash: d2f4b59a4b90
   Typography: literary-old-style (serif-throughout override: Fraunces + Newsreader)
   Do not hand-edit token values — regenerate via the engine. */

:root {
  /* ---- Color — PCS brand (blue #1880C0 + slate #304048 from the logo) ----
     Token names retained from the engine; values are the real brand palette.
     Role map: --brand-evergreen = brand slate dark band; --ember = brand blue;
     --gold = light-blue accent for dark surfaces. */
  --brand-evergreen: #304048;   /* brand slate — dark bands + headings */
  --evergreen-deep: #232F35;    /* deepest slate — footer */
  --ink: #2A363D;               /* body text (cool slate) */
  --muted: #5A666D;
  --muted-light: #7C878D;
  --surface: #F6F7F9;           /* cool off-white */
  --surface-alt: #ECEFF2;
  --blue-tint: #EAF2F9;         /* very light brand-blue wash for gentle sections */
  --blue-band: #12669A;         /* deep brand blue band (AA-safe with white text) */
  --line: #DCE2E6;              /* cool hairline on light */
  --ember: #1880C0;             /* BRAND BLUE — large display + decoration */
  --ember-text: #12669A;        /* AA-safe brand blue for text/buttons on light */
  --ember-deep: #12669A;
  --ember-press: #0E4F79;       /* button hover/active */
  --gold: #7FC0E8;              /* light-blue accent on dark surfaces */
  --gold-text: #12669A;         /* brand blue for small accent text on light */
  --cream-on-dark: #EDF1F3;     /* off-white text on slate */
  --muted-on-dark: #A9B4BA;
  --line-on-dark: #3E4E56;

  /* ---- Typography ---- */
  --font-display: 'Spectral', Georgia, serif;
  --font-body: 'Spectral', Georgia, serif;
  --scale-ratio: 1.333;
  --body-size: 1.1875rem;      /* 19px */
  --body-line: 1.72;
  --heading-line: 1.1;
  --heading-tracking: -0.012em;
  --max-line: 66ch;

  /* Fluid display scale */
  --fs-eyebrow: 0.8125rem;
  --fs-display: clamp(2.85rem, 1.6rem + 6.2vw, 6.5rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --fs-h3: clamp(1.35rem, 1.15rem + 0.9vw, 1.7rem);
  --fs-lead: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem);

  /* ---- Spacing (airy) ---- */
  --space-section: clamp(4.25rem, 3.25rem + 4vw, 7.5rem);
  --space-gutter: clamp(1.35rem, 0.5rem + 3vw, 3rem);
  --container: 66rem;
  --container-wide: 78rem;
  --container-narrow: 42rem;

  /* ---- Motion (subtle-elegant) ---- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur: 480ms;
  --dur-fast: 200ms;

  --radius: 3px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-line);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--heading-line);
  letter-spacing: var(--heading-tracking);
  margin: 0;
  font-optical-sizing: auto;
}

/* Warm analog grain (grain-overlay mutation) — fixed, non-interactive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-gutter); }
.container.wide { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ember-text);
  font-variant: small-caps;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--ember-text); display: inline-block; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.on-dark .lead { color: var(--muted-on-dark); }
.prose { max-width: var(--max-line); }
.prose p { margin: 0 0 1.25em; }
.measure { max-width: 52ch; }

/* Dark (evergreen) surfaces */
.on-dark { background: var(--brand-evergreen); color: var(--cream-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--surface); }
.on-deep { background: var(--evergreen-deep); color: var(--cream-on-dark); }

/* ---------- Buttons (classic-solid-square + underline secondary) ---------- */
.btn {
  --btn-bg: var(--ember-deep);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--ember-press); border-color: var(--ember-press); }
.btn:active { transform: scale(0.97); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.on-dark .btn-ghost { --btn-fg: var(--surface); border-color: var(--cream-on-dark); }
.on-dark .btn-ghost:hover { background: var(--surface); color: var(--ink); }

/* Text link with animated ember underline (signature underline-reveal) */
.link-arrow {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  padding-bottom: 3px;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.on-dark .link-arrow { color: var(--surface); }
.on-dark .link-arrow::after { background: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover::after { transform: scaleX(1); }
  .link-arrow:hover .arrow { transform: translateX(4px); }
}

/* ---------- Header / nav (mega-menu, matches pcsbd.net IA) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img { display: block; width: auto; }
.site-header .brand-logo img { height: 3rem; }
.mobile-menu .brand-logo img { height: 2.5rem; }
.site-footer .brand-logo img { height: 4.4rem; }
.wordmark { font-family: var(--font-display); color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.4rem; }
.wordmark .spark { color: var(--gold); }

/* Utility bar (desktop) — Individual Login + ARC, matching the original top-right */
.util-bar { display: none; background: var(--brand-evergreen); color: var(--cream-on-dark); font-family: var(--font-body); }
.util-inner { display: flex; align-items: center; justify-content: flex-end; gap: 1.75rem; height: 2.4rem; }
.util-link { color: var(--cream-on-dark); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 0.4rem; transition: color var(--dur-fast) var(--ease-out); }
.util-link:hover { color: var(--gold); }
.util-phone { margin-right: auto; }
.util-dd { position: relative; }
.util-dd > button { background: none; border: 0; color: var(--cream-on-dark); font: inherit; font-size: 0.82rem; letter-spacing: 0.04em; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0; }
.util-dd > button:hover { color: var(--gold); }
.util-dd .dd-panel { right: 0; left: auto; min-width: 15rem; }

/* Header gets a wider container than the (narrow) content so the nav never cramps */
.site-header > .util-bar > .util-inner,
.site-header > .nav { max-width: 78rem; }

/* Main nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: 4.9rem; }
.primary-nav { display: none; }
.primary-nav > ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  font-family: var(--font-body); font-size: 0.94rem; font-weight: 500; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; padding: 1.7rem 0; line-height: 1;
  display: inline-flex; align-items: center; gap: 0.3rem; position: relative; white-space: nowrap;
}
.nav-item > a::after, .nav-item > button::after {
  content: ""; position: absolute; left: 0; bottom: 1.3rem; height: 2px; width: 100%;
  background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav-item > a:hover::after, .nav-item > button:hover::after,
.nav-item.is-open > button::after, .nav-item > a[aria-current="page"]::after,
.nav-item > button[aria-current="page"]::after { transform: scaleX(1); }
.nav-item > a[aria-current="page"], .nav-item > button[aria-current="page"] { color: var(--ember-text); }
.nav-caret { width: 0.6em; height: 0.6em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur-fast) var(--ease-out); opacity: 0.7; }
.nav-item.is-open .nav-caret { transform: rotate(-135deg) translateY(-1px); }

/* Dropdown panels */
.dd-panel {
  position: absolute; top: 100%; left: 0; min-width: 18rem;
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--ember);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 22px 44px -24px rgba(20,40,55,0.35);
  padding: 0.6rem; margin: 0; list-style: none; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
  z-index: 60;
}
.nav-item:hover .dd-panel, .nav-item:focus-within .dd-panel, .nav-item.is-open .dd-panel,
.util-dd:hover .dd-panel, .util-dd:focus-within .dd-panel, .util-dd.is-open .dd-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dd-panel a { display: block; text-decoration: none; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem; padding: 0.6rem 0.8rem; border-radius: var(--radius); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.dd-panel a small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.dd-panel a:hover { background: var(--blue-tint); color: var(--ember-text); }
.dd-panel a:hover small { color: var(--ember-text); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); display: block; }
@media (min-width: 1160px) {
  .util-bar { display: block; }
  .primary-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu — full-viewport overlay */
.mobile-menu {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  z-index: 100;
  display: none;
  flex-direction: column;
  background: var(--brand-evergreen);
  color: var(--cream-on-dark);
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-close { background: none; border: 0; color: var(--surface); cursor: pointer; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; line-height: 1; }
.mm-links { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; }

/* Accordion groups + simple links */
.mm-group { border-bottom: 1px solid var(--line-on-dark); }
.mm-group > a, .mm-acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.7rem, 6.5vw, 2.2rem); color: var(--surface);
  text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; line-height: 1.1;
}
.mm-acc-trigger .mm-caret { width: 0.55em; height: 0.55em; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease-out); flex: none; }
.mm-group.is-open .mm-acc-trigger .mm-caret { transform: rotate(-135deg); }
.mm-sub { list-style: none; margin: 0; padding: 0 0 0.5rem; max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease-out); }
.mm-group.is-open .mm-sub { max-height: 26rem; }
.mm-sub a { display: block; font-family: var(--font-body); font-size: 1.05rem; color: var(--muted-on-dark); text-decoration: none; padding: 0.55rem 0 0.55rem 0.2rem; }
.mm-sub a:hover, .mm-sub a:focus { color: var(--gold); }
.mm-utility { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.mm-utility a { color: var(--cream-on-dark); font-family: var(--font-body); font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.mm-utility a:hover { color: var(--gold); }
.mm-cta { margin-top: auto; padding-top: 1.6rem; }
.mm-cta .btn { width: 100%; justify-content: center; }

/* ---------- Hero (offset-editorial) ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) var(--space-section); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-head { font-size: var(--fs-display); font-weight: 500; letter-spacing: -0.022em; line-height: 1.0; }
.hero-head em { font-style: italic; color: var(--ember); font-weight: 500; }
.hero-copy { max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2rem; }
.hero-figure { position: relative; }
.hero-figure .figure { aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -40px rgba(20,40,55,0.5); }
.hero-figure .figure-badge { top: auto; bottom: 1rem; left: 1rem; }
@media (min-width: 960px) { .hero-figure { margin-left: 1rem; } }

/* Full-bleed cinematic hero (image behind, type over top) */
.hero-full { position: relative; min-height: clamp(33rem, 76vh, 50rem); display: flex; align-items: center; overflow: hidden; }
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full .hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,33,0.9), rgba(12,24,33,0.55) 46%, rgba(12,24,33,0.12)); }
.hero-full .hero-inner { position: relative; z-index: 2; color: #fff; max-width: 42rem; padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(5rem, 4rem + 3vw, 7rem); }
.hero-full .hero-head { color: #fff; font-size: var(--fs-display); font-weight: 500; letter-spacing: -0.022em; line-height: 1.0; }
.hero-full .hero-head em { color: #5BB0E4; font-style: italic; }
.hero-full .lead { color: #E7EDF1; max-width: 42ch; }
.hero-full .eyebrow { color: #DCEDF9; }
.hero-full .eyebrow::before { background: #DCEDF9; }
.hero-full .btn { --btn-bg: #fff; --btn-fg: var(--ember-text); border-color: #fff; }
.hero-full .btn:hover { background: var(--surface); border-color: var(--surface); color: var(--ember-press); }
.hero-full .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.75); }
.hero-full .btn-ghost:hover { background: #fff; color: var(--ember-text); border-color: #fff; }
.hero-trustbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 0; background: linear-gradient(180deg, transparent, rgba(8,16,22,0.62)); }
.hero-trustbar .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; color: #DFE8EE; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; }
.hero-trustbar span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trustbar span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #5BB0E4; }
@media (max-width: 760px) {
  .hero-full { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-full .hero-scrim { background: linear-gradient(180deg, rgba(12,24,33,0.58), rgba(12,24,33,0.82)); }
  .hero-full .hero-inner { padding-block: clamp(2.5rem,2rem+4vw,4rem) 2.75rem; }
  .hero-trustbar { position: static; background: var(--brand-evergreen); padding-block: 1.1rem; }
  .hero-trustbar .container { color: var(--cream-on-dark); gap: 0.6rem 1.4rem; }
}

/* Offset abstract typographic panel (the four pillars) */
.pillar-panel { background: var(--brand-evergreen); color: var(--cream-on-dark); border-radius: var(--radius); padding: clamp(1.75rem, 1rem + 3vw, 2.75rem); position: relative; overflow: hidden; }
.pillar-panel .panel-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.pillar-list { list-style: none; margin: 0; padding: 0; }
.pillar-list li { display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-on-dark); }
.pillar-list li:first-of-type { border-top: 0; }
.pillar-list .num { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; color: var(--gold); min-width: 2.2rem; letter-spacing: 0.05em; }
.pillar-list .word { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); color: var(--surface); font-weight: 400; }
.pillar-list .word small { display: block; font-family: var(--font-body); font-size: 0.9rem; color: var(--muted-on-dark); letter-spacing: 0; margin-top: 0.15rem; }
.panel-spark { position: absolute; right: -3rem; top: -3rem; width: 12rem; height: 12rem; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--ember), transparent 68%); opacity: 0.4; pointer-events: none; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .pillar-panel { margin-left: -2rem; }
}

/* ---------- Drop cap (decorative-drop-cap mutation) ---------- */
.dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.6rem;
  line-height: 0.8;
  font-weight: 500;
  padding: 0.35rem 0.7rem 0 0;
  color: var(--ember);
}

/* ---------- Pillars section cards ---------- */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card {
  background: var(--surface);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: background-color var(--dur) var(--ease-out);
}
.card:hover { background: var(--surface-alt); }
.card .mark { width: 2.75rem; height: 2.75rem; }
.card .card-idx { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ember-text); }
.card h3 { font-size: var(--fs-h3); }
.card p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
@media (min-width: 640px) { .grid-cards.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); } .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Visual break / pull quote ---------- */
.pullquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 3vw, 3.4rem); line-height: 1.15; letter-spacing: -0.015em; max-width: 22ch; }
.pullquote em { font-style: italic; color: var(--gold); }
.quote-cite { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.02em; color: var(--muted-on-dark); margin-top: 2rem; }

/* ---------- Stats / trust row ---------- */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 400; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.on-dark .stat .n { color: var(--surface); }
.stat .l { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); margin-top: 0.65rem; max-width: 20ch; }
.on-dark .stat .l { color: var(--muted-on-dark); }

/* Trust badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.badge { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; }
.on-dark .badge { color: var(--cream-on-dark); border-color: var(--line-on-dark); }

/* Split content rows */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; } .split.reverse > :first-child { order: 2; } }
/* Photo-forward split: image fills its column height for a larger, warmer presence */
@media (min-width: 900px) {
  .split.stretch-media { align-items: stretch; grid-template-columns: 1.05fr 0.95fr; }
  .split.stretch-media .figure { aspect-ratio: auto; height: 100%; min-height: 26rem; }
}
.section-title { font-size: var(--fs-h2); font-weight: 500; max-width: 18ch; }

/* Feature list with rule lines */
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 1.5rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; }
.on-dark .rule-list li { border-color: var(--line-on-dark); }
.rule-list .r-num { font-family: var(--font-body); font-weight: 600; color: var(--ember-text); font-size: 0.9rem; }
.rule-list h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.rule-list p { margin: 0; color: var(--muted); }
.on-dark .rule-list p { color: var(--muted-on-dark); }

/* ---------- Conversion band ---------- */
.cta-band { text-align: left; }
.cta-head { font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4rem); font-weight: 500; letter-spacing: -0.015em; max-width: 16ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen-deep); color: var(--muted-on-dark); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .wordmark { color: var(--surface); }
.site-footer h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a { color: var(--cream-on-dark); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid var(--line-on-dark); margin-top: 3rem; padding-top: 2rem; font-size: 0.82rem; line-height: 1.7; color: var(--muted-on-dark); }
.footer-legal a { color: var(--cream-on-dark); }
.disclosure { max-width: 62ch; }
.site-footer .link-arrow { color: var(--cream-on-dark); }
.site-footer .link-arrow::after { background: var(--gold); }

/* ---------- Photography (warm, human) ---------- */
.figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-alt); }
.figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.figure.ratio-4-5 { aspect-ratio: 4 / 5; }
.figure.ratio-3-2 { aspect-ratio: 3 / 2; }
.figure.ratio-1-1 { aspect-ratio: 1 / 1; }
/* subtle warm lift + faint brand tint so photos read as one curated set */
.figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,247,235,0.06), rgba(18,48,72,0.10)); mix-blend-mode: multiply; pointer-events: none; }
.figure .caption { position: absolute; left: 0; bottom: 0; right: 0; padding: 1.25rem; color: #fff; font-family: var(--font-body); font-size: 0.9rem; background: linear-gradient(180deg, transparent, rgba(20,36,48,0.72)); z-index: 2; }
.figure-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--surface); color: var(--ember-text); font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; padding: 0.4rem 0.8rem; border-radius: 999px; }

/* Portrait + quote (testimonial) */
.testimonial { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.testimonial .portrait { width: 7rem; height: 7rem; border-radius: 50%; overflow: hidden; flex: none; }
.testimonial .portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 800px) { .testimonial { grid-template-columns: 12rem 1fr; gap: 3rem; } .testimonial .portrait { width: 12rem; height: 12rem; } }

/* Light social-proof / tinted band */
.band-tint { background: var(--blue-tint); }
.stat-row .n { color: var(--ember-text); }

/* Blue conversion band (blue-forward) */
.on-blue { background: var(--blue-band); color: #EAF2F9; }
.on-blue h1, .on-blue h2, .on-blue h3 { color: #fff; }
.on-blue .eyebrow { color: #DCEDF9; }
.on-blue .eyebrow::before { background: #DCEDF9; }
.on-blue .lead, .on-blue p { color: #DCEAF4; }
.on-blue .btn-ghost { --btn-fg: #fff; border-color: rgba(255,255,255,0.7); }
.on-blue .btn-ghost:hover { background: #fff; color: var(--ember-text); }
.on-blue .link-arrow { color: #fff; }
.on-blue .link-arrow::after { background: #BFE0F4; }
.on-blue .btn { --btn-bg: #fff; --btn-fg: var(--ember-text); border-color: #fff; }
.on-blue .btn:hover { background: var(--surface); border-color: var(--surface); color: var(--ember-press); }

/* Media band: full-width photo with overlaid statement */
.media-band { position: relative; min-height: clamp(26rem, 20rem + 16vw, 40rem); display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); }
.media-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-band .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,30,42,0.82), rgba(15,30,42,0.35)); }
.media-band .media-body { position: relative; z-index: 2; padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); color: #fff; max-width: 40rem; }
.media-band .media-body h2 { color: #fff; }
.media-band .media-body p { color: #E7EDF1; }

/* ---------- Interior pages ---------- */
/* Anchor targets clear the sticky header (taller on desktop where the util bar shows) */
[id] { scroll-margin-top: 6rem; }
@media (min-width: 1160px) { [id] { scroll-margin-top: 8.25rem; } }

/* Page hero (shorter full-bleed banner) */
.page-hero { position: relative; min-height: clamp(20rem, 24rem + 8vw, 30rem); display: flex; align-items: center; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,33,0.88), rgba(12,24,33,0.5) 55%, rgba(12,24,33,0.2)); }
.page-hero .hero-inner { position: relative; z-index: 2; color: #fff; padding-block: clamp(2.5rem,2rem+3vw,4rem); max-width: 44rem; }
.page-hero .eyebrow { color: #DCEDF9; }
.page-hero .eyebrow::before { background: #DCEDF9; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
.page-hero .lead { color: #E7EDF1; max-width: 44ch; margin-top: 1.35rem; }
@media (max-width: 760px) { .page-hero .hero-scrim { background: linear-gradient(180deg, rgba(12,24,33,0.6), rgba(12,24,33,0.82)); } }

/* Section eyebrow numbering + section head */
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Team grouped by business unit */
.team-unit { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--line); }
.team-unit:first-of-type { border-top: 0; }
.team-unit .unit-label { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-text); margin-bottom: 0.4rem; }
.team-unit h2 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 1.75rem; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 620px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { display: flex; align-items: center; gap: 1rem; }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--blue-tint); color: var(--ember-text); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; }
.member .m-name { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.member .m-role { font-family: var(--font-body); color: var(--muted); font-size: 0.92rem; }

/* Offices */
.office-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) { .office-grid { grid-template-columns: repeat(3, 1fr); } }
.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; background: var(--surface); }
.office h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.office .tag { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember-text); display: block; margin-bottom: 0.9rem; }
.office address { font-style: normal; color: var(--muted); line-height: 1.6; }
.office address a { color: var(--ink); text-decoration: none; }

/* FAQ (native disclosure) */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 0.7rem; height: 0.7rem; border-right: 2px solid var(--ember-text); border-bottom: 2px solid var(--ember-text); transform: rotate(45deg); flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.form { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 0.95rem; width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px var(--blue-tint); }
.form .btn { justify-self: start; margin-top: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.contact-aside { background: var(--blue-tint); border-radius: var(--radius); padding: clamp(1.75rem,1.2rem+2vw,2.5rem); }
.contact-aside h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.contact-aside .c-block { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.contact-aside .c-block:first-of-type { border-top: 0; padding-top: 0; }
.contact-aside a { color: var(--ember-text); text-decoration: none; font-weight: 600; }
.contact-aside .c-label { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }

/* ---------- Entrance motion (subtle-elegant) ----------
   Hidden state is gated behind html.js so no-JS browsers always see content. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 90ms; }
.js [data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 180ms; }
.js [data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 270ms; }

/* ---------- Reduced motion guard ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
}
