
/* =========================================================
   ERLINSIGHTS | SHARED ARTICLE STYLESHEET
   ========================================================= */


/* =========================================================
   1. BRAND VARIABLES
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #17324d;
  --ink-soft: #4c5e70;
  --brand-blue: #24537d;

  --teal: #2b8a7e;
  --teal-logo: #55a895;
  --teal-light: #dff2ed;

  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #e2e7e8;

  --gold: #d8a84e;
  --lavender: #b9addb;
}


/* =========================================================
   2. GLOBAL STYLES
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a {
  text-underline-offset: 3px;
  text-decoration-color: #9bb8ca;
}

a:hover {
  color: var(--teal);
}


/* =========================================================
   3. PAGE AND ARTICLE CONTAINERS
   ========================================================= */

/* Standard article container */

.container {
  width: calc(100% - 40px);
  max-width: 800px;
  margin: 40px auto;
}

main.content {
  width: min(790px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 40px;
}

/* Article content */

.article {
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
}

/* Alternative layouts retained for older articles */

.site-wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.article-wrap {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 55px;
}

.wrap {
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 0 auto;
}


/* =========================================================
   4. STANDARD ARTICLE HEADER
   ========================================================= */

.article-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
}

/* Brand */

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.article-brand:hover {
  color: var(--ink);
}

.article-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* Four-colour brand mark */

.article-brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.article-brand-mark span {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  opacity: 0.94;
}

.article-brand-mark span:nth-child(1) {
  top: 0;
  left: 0;
  background: var(--brand-blue);
}

.article-brand-mark span:nth-child(2) {
  top: 0;
  right: 0;
  background: var(--teal-logo);
}

.article-brand-mark span:nth-child(3) {
  bottom: 0;
  left: 0;
  background: var(--gold);
}

.article-brand-mark span:nth-child(4) {
  right: 0;
  bottom: 0;
  background: var(--lavender);
}

/* Header navigation */

.article-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.article-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--brand-blue);
  border-radius: 6px;
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.article-nav-button:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* Standard header button appearance */

.article-site-header .article-nav-button {
  min-height: 40px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-site-header .article-nav-button:hover {
  background: #193e60;
  border-color: #193e60;
  color: var(--white);
  transform: translateY(-1px);
}


/* =========================================================
   5. LEGACY NAVIGATION
   ========================================================= */

.article-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.article-nav-brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.nav-btn {
  display: inline-block;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-btn:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0 12px;
}

.brand {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* =========================================================
   6. ARTICLE HEADINGS AND INTRODUCTION
   ========================================================= */

.container h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.2;
}

.container h2 {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-light);
  color: var(--brand-blue);
  font-size: 1.75rem;
  line-height: 1.3;
}

.container h3 {
  margin: 30px 0 10px;
  color: var(--teal);
  font-size: 1.3rem;
  line-height: 1.35;
}

/* Article-specific headings */

.article h2 {
  margin: 42px 0 14px;
  color: var(--brand-blue);
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article h3 {
  margin: 26px 0 8px;
  color: var(--teal);
  font-size: 1.15rem;
  line-height: 1.35;
}

/* Category label */

.kicker {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Legacy category label */

.category {
  display: inline-block;
  margin: 15px 0 8px;
  padding: 5px 11px;
  border-radius: 3px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Article introduction */

.dek {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.6;
}

.lead {
  color: #2d455a;
  font-size: 1.08rem;
}

/* Byline and metadata */

.byline {
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 13px;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
}


/* =========================================================
   7. FEATURED IMAGES AND ARTICLE VISUALS
   ========================================================= */

/* Standard featured image */

.hero {
  width: 100%;
  max-width: 790px;
  margin: 36px auto 28px;
}

.hero img,
.hero svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero figcaption {
  padding: 8px 14px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12px;
}

/* Older feature image class */

.feature {
  margin: 26px 0 34px;
}

.feature img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.feature figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* Article illustrations */

.visual {
  width: min(1000px, calc(100% - 40px));
  margin: 28px auto 36px;
  overflow: hidden;
}

.visual svg,
.visual img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   8. ARTICLE BODY TEXT AND LINKS
   ========================================================= */

.container p {
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.article p {
  margin: 0 0 18px;
}

.container a.source-link {
  color: var(--teal);
  text-decoration: underline;
}

.container a.source-link:hover {
  color: var(--brand-blue);
}


/* =========================================================
   9. ARTICLE LISTS AND TABLE OF CONTENTS
   ========================================================= */

.container ul,
.container ol {
  margin: 0 0 20px;
  padding-left: 25px;
}

.container li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.article ul,
.article ol {
  margin: 8px 0 20px;
  padding-left: 24px;
}

.article li {
  margin-bottom: 9px;
}

/* Table of contents */

.toc {
  margin: 28px 0 36px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.toc ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.toc li {
  margin-bottom: 8px;
  line-height: 1.55;
}

/* Executive playbook containers */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

/* Ordered steps must remain in one vertical column */

ol.steps {
  display: block;
  columns: 1;
  column-count: 1;
  padding-left: 25px;
}

ol.steps li {
  width: 100%;
  break-inside: avoid;
}

/* Individual step cards */

.step {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.step h3 {
  margin-top: 0;
}

/* Three customer signal cards in one row */
.steps.signal-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Five evaluation framework cards in one column */
.steps {
  grid-template-columns: 1fr;
}

.stage-label {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* =========================================================
   10. STATISTICS AND DATA CARDS
   ========================================================= */

/* Statistics grid */

.stats-container,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(
    var(--stat-columns, 3),
    minmax(0, 1fr)
  );
  gap: var(--stat-gap, 13px);
  margin: 26px 0 30px;
}

/* Individual statistic card */

.stat-card {
  min-width: 0;
  min-height: var(--stat-card-height, 150px);
  padding: 17px 16px;
  border: 2px solid var(--card-accent, var(--teal-logo));
  border-top: 5px solid var(--card-accent, var(--teal-logo));
  border-radius: 10px;
  background: var(--card-background, var(--white));
  color: var(--ink);
  text-align: var(--stat-align, left);
}

/* Automatic colour rotation */

.stat-card:nth-child(4n + 1) {
  --card-accent: var(--teal-logo);
}

.stat-card:nth-child(4n + 2) {
  --card-accent: var(--gold);
}

.stat-card:nth-child(4n + 3) {
  --card-accent: var(--lavender);
}

.stat-card:nth-child(4n + 4) {
  --card-accent: var(--brand-blue);
}

/* Statistic number */

.stat-number {
  display: block;
  margin-bottom: 8px;
  color: var(--stat-number-color, var(--brand-blue));
  font-size: var(--stat-number-size, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* Statistic description */

.stat-label {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Source and supporting note */

.stat-note,
.stat-source {
  display: block;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.stat-source {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container p.stat-source {
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Optional card backgrounds */

.stat-card.soft-teal {
  --card-background: var(--teal-light);
}

.stat-card.soft-blue {
  --card-background: #edf3f5;
}

/* Legacy statistics layout */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 30px;
}

.stat {
  min-width: 0;
  padding: 18px 15px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-logo);
  border-radius: 9px;
  background: var(--white);
}

.stat .number {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

.stat .label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}


/* =========================================================
   11. CALLOUTS, NOTES AND TAKEAWAYS
   ========================================================= */

/* Standard callout */

.callout-box {
  margin: 30px 0;
  padding: 20px;
  border: 1px solid var(--teal-logo);
  border-radius: 6px;
  background: var(--teal-light);
}

.callout-box p {
  font-style: italic;
}

.callout-box p:last-child,
.callout p:last-child {
  margin-bottom: 0;
}

/* Legacy callout */

.callout {
  margin: 24px 0;
  padding: 17px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 9px 9px 0;
  background: var(--teal-light);
}

/* Article note */

.note {
  margin: 21px 0;
  padding: 15px 18px;
  border-left: 4px solid var(--teal);
  border-radius: 3px;
  background: var(--teal-light);
}

/* Key takeaway */

.takeaway {
  margin: 21px 0;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.takeaway strong {
  color: var(--teal);
}

.small-note {
  color: var(--ink-soft);
  font-size: 0.84rem;
}


/* =========================================================
   12. ARTICLE TABLES
   ========================================================= */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
  text-align: left;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 700;
}

.table-wrap td {
  color: var(--ink-soft);
}

.table-wrap tbody tr:nth-child(even) {
  background: #f5f8fa;
}

.table-wrap tbody tr:last-child td {
  border-bottom: none;
}


/* =========================================================
   13. ARTICLE CTA
   ========================================================= */

/* Base CTA component */

.cta,
.linkedin-cta,
.connect {
  --cta-background: var(--teal-light);
  --cta-text: var(--ink);
  --cta-heading: var(--ink);
  --cta-description: var(--ink-soft);
  --cta-button-background: var(--teal);
  --cta-button-text: var(--white);

  margin: var(--cta-margin, 42px 0 34px);
  padding: var(--cta-padding, 26px);
  border: 1px solid var(--cta-border, var(--line));
  border-radius: var(--cta-radius, 10px);
  background: var(--cta-background);
  color: var(--cta-text);
  text-align: var(--cta-align, left);
}

/* CTA heading */

.cta h2,
.linkedin-cta h2,
.connect h2 {
  margin: 0 0 10px;
  padding: 0;
  border: none;
  color: var(--cta-heading);
  font-size: var(--cta-heading-size, 1.45rem);
  line-height: 1.3;
}

/* CTA description */

.cta p,
.linkedin-cta p,
.connect p {
  margin: 0 0 18px;
  color: var(--cta-description);
}

/* CTA buttons */

.cta-button,
.linkedin-btn,
.button {
  display: inline-block;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--cta-button-background);
  color: var(--cta-button-text);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.cta-button:hover,
.linkedin-btn:hover,
.button:hover {
  background: var(--cta-button-hover, var(--brand-blue));
  color: var(--cta-button-hover-text, var(--white));
  transform: translateY(-1px);
}

/* CTA themes */

.cta-light {
  --cta-background: var(--teal-light);
  --cta-text: var(--ink);
  --cta-heading: var(--ink);
  --cta-description: var(--ink-soft);
  --cta-button-background: var(--teal);
  --cta-button-text: var(--white);
  --cta-button-hover: var(--brand-blue);
}

.cta-dark {
  --cta-background: var(--ink);
  --cta-text: var(--white);
  --cta-heading: var(--white);
  --cta-description: #e1eaf0;
  --cta-button-background: var(--teal-logo);
  --cta-button-text: #092c36;
  --cta-button-hover: #79c5b5;
  --cta-button-hover-text: #092c36;
  --cta-border: var(--ink);
}

.cta-blue {
  --cta-background: var(--brand-blue);
  --cta-text: var(--white);
  --cta-heading: var(--white);
  --cta-description: #e1eaf0;
  --cta-button-background: var(--white);
  --cta-button-text: var(--brand-blue);
  --cta-button-hover: var(--teal-light);
  --cta-button-hover-text: var(--ink);
  --cta-border: var(--brand-blue);
}

.cta-white {
  --cta-background: var(--white);
  --cta-text: var(--ink);
  --cta-heading: var(--brand-blue);
  --cta-description: var(--ink-soft);
  --cta-button-background: var(--teal);
  --cta-button-text: var(--white);
  --cta-button-hover: var(--brand-blue);
}

/* CTA alignment and sizing */

.cta-center {
  --cta-align: center;
}

.cta-compact {
  --cta-padding: 18px;
}

.cta-wide {
  --cta-padding: 34px;
}

/* Outline button */

.cta-button-outline {
  --cta-button-background: transparent;
  --cta-button-text: var(--brand-blue);
  border-color: var(--brand-blue);
}

.cta-button-outline:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* Multiple CTA buttons */

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.article-cta .cta-button {
  margin: 0;
}

/* Dark CTA button refinement */

.cta-dark {
  border-color: var(--ink);
}

.cta-dark .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
}


/* =========================================================
   14. REFERENCES
   ========================================================= */

.refs {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.refs li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.refs a {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* Legacy reference class */

.references {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.references h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.references ol {
  padding-left: 22px;
}

.references li {
  margin-bottom: 11px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}


/* =========================================================
   15. STANDARD ARTICLE FOOTER
   ========================================================= */

.article-site-footer {
  width: 100%;
  margin: 0;
  padding: 32px 24px;
  background: var(--ink);
  color: var(--white);
}

.article-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.article-footer-brand {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.article-footer-tagline {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.6;
}

.article-footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: right;
}

/* Legacy footer classes */

footer.wrap {
  margin-top: 50px;
  margin-bottom: 0;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

.footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 19px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}


/* =========================================================
   16. ALTERNATIVE ARTICLE HERO LAYOUT
   ========================================================= */

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 100%;
  margin: 36px 0 48px;
}

.article-hero-content {
  min-width: 0;
}

.article-hero h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.article-eyebrow {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-dek {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-byline {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.article-hero-art {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}

.article-hero-art img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}


/* =========================================================
   17. FORMULA DERIVATION
   Supports division and division + multiplication
   ========================================================= */

.formula-derivation {
  margin: 28px 0 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal-logo);
  border-radius: 10px;
  background: var(--paper);
}

/* Equation row */

.formula-line {
  display: grid;
  grid-template-columns: max-content 30px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  margin: 18px 0;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Formula label */

.formula-left {
  text-align: right;
}

/* Equals sign */

.formula-operator {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
}

/* Right side */

.formula-right {
  min-width: 0;
}

/* Fraction */

.formula-fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  text-align: left;
  line-height: 1.5;
}

/* Numerator and denominator */

.formula-numerator,
.formula-denominator {
  display: block;
  padding: 5px 0;
}

/* Standard fraction line */

.formula-numerator {
  width: 100%;
  border-bottom: 2px solid var(--brand-blue);
}

/* Final answer */

.formula-answer {
  color: var(--teal);
  font-size: 1.5rem;
}

/* Extended formula: division followed by multiplication */

.formula-line-extended {
  grid-template-columns: max-content 30px minmax(0, 1fr);
  column-gap: 16px;
}

.formula-line-extended .formula-right {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 4px;
}

.formula-line-extended .formula-fraction {
  width: 220px;
  flex: 0 0 220px;
}

/* Extended numerator and division bar */

.formula-line-extended .formula-numerator {
  position: relative;
  width: 100%;
  padding: 5px 0 9px;
  border-bottom: none;
  white-space: normal;
}

.formula-line-extended .formula-numerator::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  border-bottom: 2px solid var(--brand-blue);
  content: "";
}

/* Extended denominator */

.formula-line-extended .formula-denominator {
  padding: 5px 0;
}

/* Multiplication factor */

.formula-line-extended .formula-multiplier {
  margin: 0;
  padding-top: 5px;
  color: var(--teal);
  font-size: 1.2rem;
  white-space: nowrap;
}


/* =========================================================
   18. RESPONSIVE LAYOUT
   ========================================================= */

/* Tablets and smaller screens */

@media (max-width: 900px) {
  .stats-container,
  .stat-grid {
    grid-template-columns: repeat(
      min(2, var(--stat-columns, 3)),
      minmax(0, 1fr)
    );
  }
}

/* Tablet and mobile article hero */

@media (max-width: 800px) {
  .article-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 24px 0 36px;
  }

  .article-hero-art img {
    aspect-ratio: 16 / 9;
  }
}

/* Mobile */

@media (max-width: 700px) {

  /* Header */

  .article-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 30px);
    min-height: 68px;
    gap: 10px;
  }

  /* Homepage button */

  .article-site-header .article-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--brand-blue);
    border-radius: 999px;
    background: var(--brand-blue);
    color: var(--white) !important;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .article-site-header .article-brand:hover {
    background: #193e60;
    color: var(--white) !important;
  }

  .article-site-header .article-brand-name {
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 800;
  }

  .article-site-header .article-brand-mark {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }

  .article-site-header .article-brand-mark span {
    width: 14px;
    height: 14px;
  }

  .article-header-actions {
    flex-shrink: 0;
  }

  /* All blog posts button */

  .article-site-header .article-nav-button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--brand-blue) !important;
    border-radius: 999px;
    background: var(--brand-blue) !important;
    color: var(--white) !important;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .article-site-header .article-nav-button:hover {
    background: #193e60 !important;
    border-color: #193e60 !important;
    color: var(--white) !important;
  }

  /* Main article content */

  main.content {
    width: calc(100% - 36px);
    padding-bottom: 30px;
  }

  main.content p {
    margin-bottom: 18px;
    font-size: 0.96rem;
    line-height: 1.75;
  }

  main.content h2 {
    margin-top: 32px;
    margin-bottom: 13px;
    font-size: 1.4rem;
    line-height: 1.3;
  }

  main.content h3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  /* Hero */

  .hero {
    width: 100%;
    margin: 26px auto 22px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    line-height: 1.22;
  }

  .hero .dek {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  /* Illustration */

  .visual {
    width: calc(100% - 36px);
    margin: 20px auto 26px;
  }

  /* Table of contents */

  .toc {
    margin: 22px 0 28px;
    padding: 17px;
  }
  
  /* Statistics: one column on mobile */

  .stats-container,
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 22px 0 26px;
  }

  .stat-card {
    min-height: 0;
    padding: 16px;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-source,
  .stat-note {
    font-size: 0.75rem;
  }
  
  /* Legacy statistics */

  .stats {
    gap: 10px;
  }

  /* Executive playbook */

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .steps.signal-cards {
  grid-template-columns: 1fr;
}
  

  /* CTA */

  .cta,
  .linkedin-cta,
  .connect {
    padding: 20px;
  }

  .cta-dark {
    padding: 22px 18px;
  }

  .cta-dark h2 {
    font-size: 1.3rem;
  }

  .cta-dark .cta-button {
    width: 100%;
    box-sizing: border-box;
  }

  .article-cta {
    flex-direction: column;
  }

  .article-cta .cta-button {
    width: 100%;
  }

  /* Formula */

  .formula-derivation {
    padding: 18px 10px;
  }

  .formula-line {
    grid-template-columns: max-content 22px minmax(0, 1fr);
    column-gap: 6px;
    font-size: 0.9rem;
  }

  .formula-line-extended {
    column-gap: 6px;
  }

  .formula-line-extended .formula-right {
    gap: 3px;
  }

  .formula-line-extended .formula-fraction {
    width: 170px;
    flex-basis: 170px;
  }

  .formula-line-extended .formula-multiplier {
    font-size: 1rem;
  }

  /* Footer */

  .article-site-footer {
    padding: 28px 20px;
  }

  .article-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .article-footer-copyright {
    text-align: left;
  }
}


/* =========================================================
   19. EXTRA-SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  /* Header */

  .article-header-inner {
    width: calc(100% - 20px);
    gap: 6px;
  }

  .article-site-header .article-brand {
    padding: 7px 9px;
    gap: 5px;
  }

  .article-site-header .article-brand-mark {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .article-site-header .article-brand-mark span {
    width: 15px;
    height: 15px;
  }

  .article-site-header .article-brand-name {
    font-size: 0.85rem;
  }

  .article-site-header .article-nav-button {
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  /* Article widths */

  .hero,
  main.content,
  .visual {
    width: calc(100% - 30px);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  /* Legacy statistics */

  .stats {
    gap: 8px;
  }
}


/* =========================================================
   20. SEMANTIC HTML, ACCESSIBILITY AND SUPPORTING CONTENT
   Additive styles: preserves existing article and legacy classes
   ========================================================= */

/* Semantic content elements */
article {
  min-width: 0;
}

section {
  scroll-margin-top: 100px;
}

/* Supplementary content.
   Use class="article-aside" when the aside needs a visible panel. */
.article-aside,
aside.article-aside {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-logo);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink-soft);
}

.article-aside h2,
.article-aside h3 {
  margin-top: 0;
  color: var(--brand-blue);
}

.article-aside > :last-child {
  margin-bottom: 0;
}

/* Navigation landmarks.
   Keep layout decisions in the existing navigation classes. */
nav {
  min-width: 0;
}

nav a {
  text-underline-offset: 3px;
}

/* Table of contents: supports <nav class="toc"> and <aside class="toc"> */
.toc {
  scroll-margin-top: 100px;
}

.toc h2,
.toc h3 {
  margin-top: 0;
  color: var(--brand-blue);
}

.toc a {
  color: var(--brand-blue);
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* Quotations */
blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--teal);
  border-radius: 0 9px 9px 0;
  background: var(--teal-light);
  color: var(--ink-soft);
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--brand-blue);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
}

/* Figures not already covered by the existing hero and feature styles */
figure:not(.hero):not(.feature) {
  max-width: 100%;
  margin: 28px auto;
}

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

figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Inline emphasis */
strong,
b {
  color: var(--ink);
  font-weight: 700;
}

em,
i {
  color: inherit;
}

/* Expandable FAQ and supplementary details */
details {
  margin: 16px 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
}

details[open] summary {
  margin-bottom: 12px;
}

details > :last-child {
  margin-bottom: 0;
}

/* Forms and controls */
input,
textarea,
select {
  max-width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5da;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
}

button {
  font: inherit;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* Visible keyboard focus for links, controls and interactive summaries */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact supporting content on mobile */
@media (max-width: 700px) {
  .article-aside,
  aside.article-aside {
    margin: 22px 0;
    padding: 16px;
  }

  blockquote {
    margin: 22px 0;
    padding: 15px 17px;
  }

  details {
    padding: 13px 15px;
  }
}



/* =========================================================
   SHARED ERLINSIGHTS SITE PAGES
   Homepage, blog listing, About, Privacy and Contact
   Scoped to pages with the shared .topbar header.
   Existing article-page styling above is retained unchanged.
   ========================================================= */

:root {
  --shadow: 0 16px 45px rgba(20,40,63,.08);
  --radius: 22px;
  --page-gutter: clamp(15px, 3.5vw, 40px);
  --muted: #4c5e70;
}

:root {
  --ink: #17324d;
      --ink-soft: #4c5e70;
      --brand-blue: #24537d;
      --teal: #2b8a7e;
      --teal-logo: #55a895;
      --teal-light: #dff2ed;
      --paper: #fbfaf7;
      --white: #ffffff;
      --line: #e2e7e8;
      --gold: #d8a84e;
      --lavender: #b9addb;
      --shadow: 0 16px 45px rgba(20,40,63,.08);
      --radius: 22px;
      --page-gutter: clamp(15px, 3.5vw, 40px);
}

body:has(> header.topbar) * {
  box-sizing: border-box;
}

body:has(> header.topbar) {
  scroll-behavior: smooth;
}

body:has(> header.topbar) {
  margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
}

body:has(> header.topbar) a {
  color: inherit; text-decoration: none;
}

body:has(> header.topbar) .wrap {
  width: min(1160px, calc(100% - (2 * var(--page-gutter))));
      margin: 0 auto;
}

body:has(> header.topbar) .topbar {
  padding: 17px 0;
      border-bottom: 1px solid rgba(20,40,63,.08);
      background: rgba(251,250,247,.92);
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(12px);
}

body:has(> header.topbar) .nav {
  display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
}

body:has(> header.topbar) .brand {
  display: flex;
      align-items: center;
      gap: 11px;
      font-weight: 800;
      letter-spacing: -.04em;
      font-size: 1.3rem;
}

body:has(> header.topbar) .mark {
  width: 34px;
      height: 34px;
      position: relative;
      flex: 0 0 auto;
}

body:has(> header.topbar) .mark span {
  position: absolute;
      width: 19px;
      height: 19px;
      border-radius: 50%;
      opacity: .94;
}

body:has(> header.topbar) .mark span:nth-child(1) {
  left: 0; top: 0; background: var(--brand-blue);
}

body:has(> header.topbar) .mark span:nth-child(2) {
  right: 0; top: 0; background: var(--teal-logo);
}

body:has(> header.topbar) .mark span:nth-child(3) {
  left: 0; bottom: 0; background: var(--gold);
}

body:has(> header.topbar) .mark span:nth-child(4) {
  right: 0; bottom: 0; background: var(--lavender);
}

body:has(> header.topbar) .navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
}

body:has(> header.topbar) .navlinks a {
  color: var(--ink);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 700;
  transition: color .2s ease;
}

body:has(> header.topbar) .navlinks a:hover,
body:has(> header.topbar) .text-link:hover {
  color: var(--teal);
}

body:has(> header.topbar) .nav-dropdown {
  position: relative;
}

body:has(> header.topbar) .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .96rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease;
}

body:has(> header.topbar) .nav-dropdown-toggle:hover {
  color: var(--teal);
}

body:has(> header.topbar) .nav-dropdown-toggle:hover,
body:has(> header.topbar) .nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--teal);
}

body:has(> header.topbar) .dropdown-arrow {
  font-size: .75rem;
  transition: transform .2s ease;
}

body:has(> header.topbar) .nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

body:has(> header.topbar) .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  z-index: 30;
  min-width: 180px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

body:has(> header.topbar) .nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

body:has(> header.topbar) .nav-dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  white-space: nowrap;
}

body:has(> header.topbar) .nav-dropdown-menu a:hover,
body:has(> header.topbar) .nav-dropdown-menu a:focus-visible {
  background: var(--teal-light);
  color: var(--brand-blue);
}

body:has(> header.topbar) .nav-dropdown-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

body:has(> header.topbar) .button {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      border-radius: 999px;
      padding: clamp(10px, 1.1vw, 12px) clamp(14px, 1.7vw, 19px);
      font-weight: 700;
      font-size: clamp(.78rem, .9vw, .92rem);
      line-height: 1.25;
      text-align: center;
      white-space: normal;
      transition: transform .2s, background .2s;
}

body:has(> header.topbar) .button:hover {
  transform: translateY(-2px);
}

body:has(> header.topbar) .button-primary {
  color: white;
      background: var(--brand-blue);
      box-shadow: 0 8px 18px rgba(36,83,125,.18);
}

body:has(> header.topbar) .button-primary:hover {
  background: #193e60;
}

body:has(> header.topbar) .button-primary:focus-visible,
body:has(> header.topbar) a:focus-visible {
  outline: 3px solid var(--gold);
      outline-offset: 3px;
}

body:has(> header.topbar) .button-outline {
  border: 1px solid #b8c8ca;
      color: var(--ink);
      background: rgba(255,255,255,.55);
}

body:has(> header.topbar) .hero {
  padding: clamp(42px, 6.5vw, 82px) 0 clamp(42px, 5.5vw, 70px);
      overflow: hidden;
}

body:has(> header.topbar) .hero-grid {
  display: grid;
      grid-template-columns: 1.08fr .92fr;
      align-items: center;
      gap: clamp(24px, 5vw, 62px);
}

body:has(> header.topbar) .eyebrow {
  display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--teal);
      text-transform: uppercase;
      letter-spacing: .14em;
      font-size: .75rem;
      font-weight: 800;
}

body:has(> header.topbar) .eyebrow:before {
  content: "";
      width: 24px;
      height: 2px;
      background: var(--gold);
}

body:has(> header.topbar) h1 {
  font-size: clamp(2.15rem, 5.4vw, 5.15rem);
      line-height: 1.02;
      letter-spacing: -.065em;
      margin: 20px 0 23px;
      max-width: 760px;
}

body:has(> header.topbar) h1 em {
  color: var(--teal);
      font-style: normal;
}

body:has(> header.topbar) .hero-sub {
  font-size: 1.15rem;
      line-height: 1.75;
      max-width: 620px;
      color: var(--ink-soft);
      margin: 0 0 30px;
}

body:has(> header.topbar) .actions {
  display: flex;
      gap: 12px;
      flex-wrap: wrap;
}

body:has(> header.topbar) .small-note {
  margin-top: 25px;
      color: #71808b;
      font-size: .88rem;
}

body:has(> header.topbar) .hero-photo {
  display: block;
      width: 100%;
      aspect-ratio: 1.28 / 1;
      object-fit: cover;
      object-position: center center;
      border-radius: 26px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(23,50,77,.08);
}

body:has(> header.topbar) .trust-strip {
  background: white;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
}

body:has(> header.topbar) .trust-inner {
  display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      padding: 21px 0;
      flex-wrap: wrap;
}

body:has(> header.topbar) .trust-label {
  font-size: .78rem;
      color: #788691;
      text-transform: uppercase;
      letter-spacing: .12em;
      font-weight: 800;
}

body:has(> header.topbar) .trust-item {
  font-size: .9rem;
      color: var(--ink-soft);
      display: flex;
      gap: 9px;
      align-items: center;
}

body:has(> header.topbar) .trust-item b {
  color: var(--ink);
}

body:has(> header.topbar) section {
  padding: 84px 0;
}

body:has(> header.topbar) .section-head {
  display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 35px;
      margin-bottom: 34px;
}

body:has(> header.topbar) .section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
      letter-spacing: -.05em;
      line-height: 1.08;
      margin: 12px 0 0;
}

body:has(> header.topbar) .section-head p {
  max-width: 450px;
      color: var(--ink-soft);
      margin: 0;
}

body:has(> header.topbar) .expertise-grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
}

body:has(> header.topbar) .expertise-card {
  background: white;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 25px 22px;
      min-height: 260px;
      transition: transform .2s, box-shadow .2s;
}

body:has(> header.topbar) .expertise-card:hover {
  transform: translateY(-5px);
      box-shadow: var(--shadow);
}

body:has(> header.topbar) .expertise-card .symbol {
  width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      background: var(--teal-light);
      color: var(--brand-blue);
      border-radius: 15px;
      font-size: 1.4rem;
      margin-bottom: 23px;
}

body:has(> header.topbar) .expertise-card:nth-child(2) .symbol {
  background: #f7edda;
}

body:has(> header.topbar) .expertise-card:nth-child(3) .symbol {
  background: #e3edf5;
}

body:has(> header.topbar) .expertise-card h3 {
  font-size: 1.14rem;
      line-height: 1.25;
      margin: 0 0 10px;
      letter-spacing: -.02em;
}

body:has(> header.topbar) .expertise-card p {
  color: var(--ink-soft);
      font-size: .92rem;
      margin: 0 0 17px;
}

body:has(> header.topbar) .text-link {
  font-weight: 750;
      color: var(--teal);
      font-size: .9rem;
}

body:has(> header.topbar) .feature-section {
  background: #f0f4f1;
}

body:has(> header.topbar) .feature-grid {
  display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 55px;
      align-items: center;
}

body:has(> header.topbar) .feature-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
      letter-spacing: -.055em;
      line-height: 1.08;
      margin: 14px 0 18px;
}

body:has(> header.topbar) .feature-copy p {
  color: var(--ink-soft);
      margin-bottom: 25px;
}

body:has(> header.topbar) .feature-list {
  display: grid;
      gap: 13px;
      margin: 26px 0 30px;
}

body:has(> header.topbar) .feature-list div {
  display: flex;
      align-items: start;
      gap: 11px;
      color: var(--ink-soft);
}

body:has(> header.topbar) .check {
  color: var(--teal);
      font-weight: 900;
}

body:has(> header.topbar) .article {
  border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      background: white;
      display: flex;
      flex-direction: column;
}

body:has(> header.topbar) .article-art {
  min-height: 170px;
      padding: 22px;
      display: flex;
      align-items: end;
      position: relative;
      overflow: hidden;
}

body:has(> header.topbar) .article-art:before,
body:has(> header.topbar) .article-art:after {
  content: "";
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.7);
}

body:has(> header.topbar) .article-art:before {
  width: 190px;
      height: 190px;
      right: -30px;
      top: -60px;
}

body:has(> header.topbar) .article-art:after {
  width: 130px;
      height: 130px;
      right: 25px;
      top: -20px;
}

body:has(> header.topbar) .article-art span {
  position: relative;
      z-index: 1;
      color: white;
      font-size: .76rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-weight: 800;
}

body:has(> header.topbar) .art-one {
  background: linear-gradient(135deg, #183c59, #2d8a7d);
}

body:has(> header.topbar) .art-two {
  background: linear-gradient(135deg, #a77b36, #e4c98c);
}

body:has(> header.topbar) .art-three {
  background: linear-gradient(135deg, #655a8e, #9cbbd1);
}

body:has(> header.topbar) .article-body {
  padding: 23px;
      display: flex;
      flex-direction: column;
      flex: 1;
}

body:has(> header.topbar) .article-meta {
  color: var(--teal);
      font-size: .76rem;
      text-transform: uppercase;
      font-weight: 800;
      letter-spacing: .08em;
}

body:has(> header.topbar) .article h3 {
  margin: 11px 0 10px;
      font-size: 1.2rem;
      line-height: 1.32;
      letter-spacing: -.025em;
}

body:has(> header.topbar) .article p {
  margin: 0 0 21px;
      color: var(--ink-soft);
      font-size: .91rem;
}

body:has(> header.topbar) .article .text-link {
  margin-top: auto;
}

body:has(> header.topbar) .article-note {
  margin-top: 18px;
      color: #71808b;
      font-size: .85rem;
}

body:has(> header.topbar) .about-grid {
  display: grid;
      grid-template-columns: .72fr 1.28fr;
      gap: 65px;
      align-items: start;
}

body:has(> header.topbar) .portrait-placeholder {
  min-height: 340px;
      border-radius: var(--radius);
      background: linear-gradient(150deg, #d8e9e5, #edf0f8 60%, #f3dfbd);
      padding: 25px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
}

body:has(> header.topbar) .portrait-mark {
  width: 84px;
      height: 84px;
      position: relative;
}

body:has(> header.topbar) .portrait-mark span {
  position: absolute;
      width: 47px;
      height: 47px;
      border-radius: 50%;
      opacity: .94;
}

body:has(> header.topbar) .portrait-mark span:nth-child(1) {
  left: 0; top: 0; background: var(--brand-blue);
}

body:has(> header.topbar) .portrait-mark span:nth-child(2) {
  right: 0; top: 0; background: var(--teal-logo);
}

body:has(> header.topbar) .portrait-mark span:nth-child(3) {
  left: 0; bottom: 0; background: var(--gold);
}

body:has(> header.topbar) .portrait-mark span:nth-child(4) {
  right: 0; bottom: 0; background: var(--lavender);
}

body:has(> header.topbar) .portrait-placeholder p {
  max-width: 230px;
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -.025em;
      line-height: 1.3;
}

body:has(> header.topbar) .about-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
      line-height: 1.1;
      letter-spacing: -.05em;
      margin: 12px 0 20px;
}

body:has(> header.topbar) .about-copy p {
  color: var(--ink-soft);
}

body:has(> header.topbar) .pill-row {
  display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 23px;
}

body:has(> header.topbar) .pill {
  border: 1px solid var(--line);
      background: white;
      padding: 7px 11px;
      border-radius: 999px;
      font-size: .82rem;
      color: var(--ink-soft);
}

body:has(> header.topbar) .opportunity {
  background: var(--ink);
      color: white;
}

body:has(> header.topbar) .opportunity-grid {
  display: grid;
      grid-template-columns: 1fr .8fr;
      gap: 50px;
      align-items: center;
}

body:has(> header.topbar) .opportunity h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
      line-height: 1.06;
      letter-spacing: -.055em;
      margin: 13px 0 20px;
}

body:has(> header.topbar) .opportunity p {
  color: #c4d0dc;
      max-width: 610px;
}

body:has(> header.topbar) .opportunity .eyebrow {
  color: #8fd5c6;
}

body:has(> header.topbar) .opportunity .button-outline {
  color: white;
      border-color: #6c8296;
      background: transparent;
}

body:has(> header.topbar) .opportunity-list {
  display: grid;
      gap: 13px;
}

body:has(> header.topbar) .opportunity-item {
  border: 1px solid #3c5165;
      border-radius: 16px;
      padding: 18px;
      display: flex;
      gap: 14px;
      align-items: center;
}

body:has(> header.topbar) .opportunity-item .symbol {
  width: 42px;
      height: 42px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      border-radius: 13px;
      background: #29465f;
      font-size: 1.2rem;
}

body:has(> header.topbar) .opportunity-item strong {
  display: block;
}

body:has(> header.topbar) .opportunity-item small {
  color: #b8c7d4;
}

body:has(> header.topbar) .newsletter {
  background: #eaf3f0;
}

body:has(> header.topbar) .newsletter-inner {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 40px;
      align-items: center;
}

body:has(> header.topbar) .newsletter h2 {
  margin: 0 0 10px;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      letter-spacing: -.045em;
}

body:has(> header.topbar) .newsletter p {
  color: var(--ink-soft);
      margin: 0;
      max-width: 650px;
}

body:has(> header.topbar) .newsletter .button {
  white-space: nowrap;
}

body:has(> header.topbar) footer {
  padding: 34px 0;
      background: #0e2033;
      color: white;
}

body:has(> header.topbar) .footer-inner {
  display: flex;
      justify-content: space-between;
      gap: 25px;
      align-items: center;
      flex-wrap: wrap;
}

body:has(> header.topbar) .footer-brand {
  font-weight: 800;
      letter-spacing: -.03em;
}

body:has(> header.topbar) footer p,
body:has(> header.topbar) footer a {
  color: #bdcbd7;
      font-size: .86rem;
}

body:has(> header.topbar) .footer-links {
  display: flex;
      gap: 18px;
      flex-wrap: wrap;
}

body:has(> header.topbar) .disclaimer {
  font-size: .75rem;
      color: #8fa1b2;
      margin-top: 20px;
      max-width: 850px;
}

@media (max-width: 900px) {
body:has(> header.topbar) .hero-grid,
body:has(> header.topbar) .feature-grid,
body:has(> header.topbar) .about-grid,
body:has(> header.topbar) .opportunity-grid {
  grid-template-columns: 1fr;
        gap: 36px;
}
}

@media (max-width: 900px) {
body:has(> header.topbar) .hero-photo {
  width: min(100%, 600px);
        aspect-ratio: 16 / 10;
        margin: 0 auto;
}
}

@media (max-width: 900px) {
body:has(> header.topbar) .expertise-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 900px) {
body:has(> header.topbar) .section-head {
  align-items: start;
        flex-direction: column;
}
}

@media (max-width: 900px) {
body:has(> header.topbar) .about-grid {
  gap: 30px;
}
}

@media (max-width: 900px) {
body:has(> header.topbar) .portrait-placeholder {
  min-height: 240px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .wrap {
  width: min(100% - 30px, 1160px);
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .navlinks {
  display: none;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .hero {
  padding: 44px 0 42px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .hero-grid {
  gap: 18px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .hero-photo {
  width: 100%;
        max-width: 600px;
        aspect-ratio: 16 / 10;
        margin: 0 auto;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) section {
  padding: 60px 0;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .expertise-grid {
  grid-template-columns: 1fr;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .expertise-card {
  min-height: auto;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .newsletter-inner {
  grid-template-columns: 1fr;
        gap: 22px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .trust-inner {
  align-items: start;
        flex-direction: column;
        gap: 12px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) h1 {
  font-size: clamp(2.15rem, 10.5vw, 3.5rem);
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .hero-sub {
  font-size: clamp(.98rem, 4vw, 1.08rem);
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .actions {
  gap: 9px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .actions .button {
  flex: 0 1 auto;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .nav > .button {
  padding: 9px 12px;
        font-size: .76rem;
}
}

@media (max-width: 380px) {
body:has(> header.topbar) .hero-photo {
  aspect-ratio: 16 / 10;
        border-radius: 18px;
}
}

@media (max-width: 380px) {
body:has(> header.topbar) .actions .button {
  font-size: .75rem;
        padding: 10px 12px;
}
}

body:has(> header.topbar) .article-grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      width: 100%;
      align-items: stretch;
}

body:has(> header.topbar) .article-grid .sync-card {
  min-width: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
}

body:has(> header.topbar) .article-grid .sync-card-media {
  position: relative;
      width: 100%;
      height: 190px;
      flex: 0 0 190px;
      overflow: hidden;
      background: #eaf3f0;
}

body:has(> header.topbar) .article-grid .sync-card-image {
  display: block;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center;
}

body:has(> header.topbar) .article-grid .sync-card-media > span {
  position: absolute;
      left: 18px;
      bottom: 15px;
      z-index: 1;
      color: #fff;
      font-size: .76rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-weight: 800;
      text-shadow: 0 1px 4px rgba(0,0,0,.45);
}

body:has(> header.topbar) .article-grid .sync-card-body {
  min-width: 0;
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      padding: 23px;
}

body:has(> header.topbar) .article-grid .sync-card-body h3 {
  margin: 11px 0 10px;
      font-size: 1.2rem;
      line-height: 1.32;
      letter-spacing: -.025em;
}

body:has(> header.topbar) .article-grid .sync-card-body p {
  margin: 0 0 21px;
      color: var(--ink-soft);
      font-size: .91rem;
}

body:has(> header.topbar) .article-grid .sync-card-link {
  margin-top: auto;
}

@media (max-width: 900px) {
body:has(> header.topbar) .article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .article-grid {
  grid-template-columns: 1fr;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .article-grid .sync-card-media {
  height: 180px;
        flex-basis: 180px;
}
}

body:has(> header.topbar) .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

body:has(> header.topbar) .nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-blue);
  transition: transform .2s, opacity .2s;
}

body:has(> header.topbar) .nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body:has(> header.topbar) .nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

body:has(> header.topbar) .nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body:has(> header.topbar) .mobile-connect {
  display: none;
}

@media (min-width: 761px) {
body:has(> header.topbar) .navlinks .mobile-connect {
  display: none !important;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav {
  position: relative;
    flex-wrap: wrap;
    gap: 12px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-toggle {
  display: flex;
    margin-left: auto;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .desktop-connect {
  display: none;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks {
  display: none;
    position: absolute;
    top: calc(100% + 17px);
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    font-size: 1rem;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks.is-open {
  display: flex;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks a {
  display: block;
    padding: 12px 14px;
    border-radius: 9px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks a:hover {
  background: var(--teal-light);
    color: var(--brand-blue);
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown {
  width: 100%;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-toggle {
  display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    font-size: 1rem;
    border-radius: 9px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-toggle:hover,
body:has(> header.topbar) .nav-dropdown-toggle[aria-expanded="true"] {
  background: var(--teal-light);
    color: var(--brand-blue);
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-menu {
  position: static;
    min-width: 0;
    margin: 0 0 6px 12px;
    padding: 4px 8px;
    border: 0;
    border-left: 2px solid var(--teal-light);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-menu a {
  padding: 10px 14px;
    white-space: normal;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks .mobile-connect {
  display: inline-flex;
  justify-content: center;
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 18px;
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks .mobile-connect:hover {
  background: var(--ink);
  color: var(--white);
}
}

@media (prefers-reduced-motion: reduce) {
body:has(> header.topbar) .nav-toggle span {
  transition: none;
}
}

body:has(> header.topbar) .about-social {
  margin-top: 22px;
}

body:has(> header.topbar) .about-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-weight: 700;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 4px;
}

body:has(> header.topbar) .about-social a:hover {
  color: var(--teal);
}

body:has(> header.topbar) .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid rgba(20,40,63,.08);
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body:has(> header.topbar) .nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body:has(> header.topbar) .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

body:has(> header.topbar) .mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

body:has(> header.topbar) .navlinks > a:not(.button) {
  color: var(--ink);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 700;
  transition: color .2s ease;
}

body:has(> header.topbar) .navlinks > a:not(.button):hover {
  color: var(--teal);
}

body:has(> header.topbar) .nav-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

body:has(> header.topbar) .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  z-index: 110;
  min-width: 180px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

body:has(> header.topbar) .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: .9rem;
  white-space: nowrap;
  text-decoration: none;
}

body:has(> header.topbar) .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: clamp(10px, 1.1vw, 12px) clamp(14px, 1.7vw, 19px);
  font-weight: 700;
  font-size: clamp(.78rem, .9vw, .92rem);
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

body:has(> header.topbar) .button-primary {
  color: var(--white);
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  box-shadow: 0 8px 18px rgba(36,83,125,.18);
}

body:has(> header.topbar) .button-primary:hover {
  background: #193e60; border-color: #193e60;
}

body:has(> header.topbar) .button-primary:focus-visible,
body:has(> header.topbar) .nav-dropdown-toggle:focus-visible,
body:has(> header.topbar) .nav-dropdown-menu a:focus-visible,
body:has(> header.topbar) .navlinks a:focus-visible,
body:has(> header.topbar) .brand:focus-visible,
body:has(> header.topbar) .nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

body:has(> header.topbar) .site-footer {
  padding: 34px 0;
  background: #0e2033;
  color: var(--white);
}

body:has(> header.topbar) .site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

body:has(> header.topbar) .site-footer .footer-about {
  min-width: 240px;
}

body:has(> header.topbar) .site-footer .footer-brand {
  display: inline-block;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}

body:has(> header.topbar) .site-footer p {
  margin: 8px 0 0;
  color: #bdcbd7;
  font-size: .86rem;
}

body:has(> header.topbar) .site-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

body:has(> header.topbar) .site-footer .footer-links a {
  color: #bdcbd7;
  font-size: .86rem;
  text-decoration: none;
}

body:has(> header.topbar) .site-footer .footer-links a:hover {
  color: var(--white);
}

body:has(> header.topbar) .site-footer .disclaimer {
  max-width: 850px;
  margin: 20px 0 0;
  color: #8fa1b2;
  font-size: .75rem;
}

@media (min-width: 761px) {
body:has(> header.topbar) .nav > .desktop-connect {
  display: inline-flex !important;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .topbar {
  padding: 12px 0;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav {
  position: relative; flex-wrap: wrap; gap: 12px; min-height: 44px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav > .desktop-connect {
  display: none !important;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks {
  display: none;
    position: absolute;
    top: calc(100% + 17px);
    left: 0;
    right: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks > a:not(.button) {
  display: block;
    padding: 12px 14px;
    border-radius: 9px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks > a:not(.button):hover {
  background: var(--teal-light); color: var(--brand-blue);
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-toggle {
  display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border-radius: 9px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks .mobile-connect {
  display: inline-flex;
    justify-content: center;
    align-self: flex-start;
    margin: 8px 0 2px;
    padding: 12px 18px;
    background: var(--brand-blue);
    color: var(--white);
    font-weight: 700;
    border-radius: 999px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .site-footer .footer-inner {
  align-items: flex-start; flex-direction: column; gap: 16px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .site-footer .footer-links {
  gap: 12px 18px;
}
}

:root {
  --ink: #17324d;
  --ink-soft: #4c5e70;
  --brand-blue: #24537d;
  --teal: #2b8a7e;
  --teal-logo: #55a895;
  --teal-light: #dff2ed;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #e2e7e8;
  --gold: #d8a84e;
  --lavender: #b9addb;
  --shadow: 0 16px 45px rgba(20,40,63,.08);
  --radius: 22px;
  --page-gutter: clamp(15px, 3.5vw, 40px);
  --muted: #4c5e70;
}

body:has(> header.topbar) {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body:has(> header.topbar) a {
  color: inherit;
}

body:has(> header.topbar) .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body:has(> header.topbar) .nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body:has(> header.topbar) .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

body:has(> header.topbar) .mark span {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  opacity: 0.94;
}

body:has(> header.topbar) .mark span:nth-child(1) {
  top: 0;
  left: 0;
  background: var(--brand-blue);
}

body:has(> header.topbar) .mark span:nth-child(2) {
  top: 0;
  right: 0;
  background: var(--teal-logo);
}

body:has(> header.topbar) .mark span:nth-child(3) {
  bottom: 0;
  left: 0;
  background: var(--gold);
}

body:has(> header.topbar) .mark span:nth-child(4) {
  bottom: 0;
  right: 0;
  background: var(--lavender);
}

body:has(> header.topbar) .navlinks a:hover {
  color: var(--teal);
}

body:has(> header.topbar) .page-intro {
  padding: 76px 0 42px;
      max-width: 760px;
}

body:has(> header.topbar) .eyebrow {
  margin: 0 0 14px;
      color: var(--teal);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
}

body:has(> header.topbar) .page-intro h1 {
  margin: 0 0 18px;
      color: var(--ink);
      font-size: clamp(2.5rem, 5vw, 4rem);
      line-height: 1.1;
      letter-spacing: -.055em;
}

body:has(> header.topbar) .page-intro p {
  margin: 0;
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.8;
}

body:has(> header.topbar) .filter-section {
  padding: 12px 0 30px;
}

body:has(> header.topbar) .filters {
  display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
}

body:has(> header.topbar) .filter {
  appearance: none;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--white);
      color: var(--muted);
      padding: 10px 18px;
      font: inherit;
      font-size: .88rem;
      font-weight: 700;
      cursor: pointer;
      transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

body:has(> header.topbar) .filter:hover {
  border-color: var(--teal);
      color: var(--teal);
}

body:has(> header.topbar) .filter.active {
  background: var(--brand-blue);
      border-color: var(--brand-blue);
      color: var(--white);
}

body:has(> header.topbar) .filter:focus-visible,
body:has(> header.topbar) .navlinks a:focus-visible,
body:has(> header.topbar) .brand:focus-visible,
body:has(> header.topbar) .read:focus-visible {
  outline: 3px solid var(--teal);
      outline-offset: 4px;
}

body:has(> header.topbar) .posts-section {
  padding: 10px 0 90px;
}

body:has(> header.topbar) .grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px;
      align-items: stretch;
}

body:has(> header.topbar) .card {
  min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      transition:
        transform .2s ease,
        box-shadow .2s ease;
}

body:has(> header.topbar) .card:hover {
  transform: translateY(-4px);
      box-shadow: 0 18px 42px rgba(23, 50, 77, .11);
}

body:has(> header.topbar) .post-card-image {
  display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      background: var(--teal-light);
}

body:has(> header.topbar) .tag {
  align-self: flex-start;
      margin: 22px 22px 8px;
      color: var(--teal);
      font-size: .73rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
}

body:has(> header.topbar) .card h2 {
  margin: 4px 22px 12px;
      color: var(--ink);
      font-size: 1.22rem;
      line-height: 1.38;
      letter-spacing: -.025em;
}

body:has(> header.topbar) .card p {
  margin: 0 22px 18px;
      color: var(--muted);
      font-size: .93rem;
      line-height: 1.7;
}

body:has(> header.topbar) .meta {
  margin: auto 22px 16px;
      color: #84919b;
      font-size: .8rem;
}

body:has(> header.topbar) .read {
  align-self: flex-start;
      margin: 0 22px 24px;
      color: var(--brand-blue);
      text-decoration: none;
      font-size: .9rem;
      font-weight: 800;
}

body:has(> header.topbar) .read:hover {
  color: var(--teal);
}

body:has(> header.topbar) .card[hidden] {
  display: none !important;
}

body:has(> header.topbar) .footer {
  padding: 34px 0;
      background: #0e2033;
      color: white;
      border-top: none;
}

body:has(> header.topbar) .footer-inner {
  display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
}

body:has(> header.topbar) .footer-brand {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

body:has(> header.topbar) .footer p {
  margin: 0;
  color: #bdcbd7;
  font-size: .86rem;
}

@media (max-width: 900px) {
body:has(> header.topbar) .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
}
}

@media (max-width: 900px) {
body:has(> header.topbar) .page-intro {
  padding-top: 60px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .page-intro {
  padding: 48px 0 32px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .page-intro h1 {
  font-size: 2.65rem;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .page-intro p {
  font-size: 1rem;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .filters {
  gap: 8px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .filter {
  padding: 9px 13px;
    font-size: .8rem;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .posts-section {
  padding-bottom: 60px;
}
}

@media (max-width: 620px) {
body:has(> header.topbar) .footer-inner {
  align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}
}

@media (min-width: 901px) {
body:has(> header.topbar) .posts-section .grid[data-all-posts] {
  display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px;
}
}

body:has(> header.topbar) .nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

body:has(> header.topbar) .nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav {
  position: relative;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 72px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks {
  display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 100;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .navlinks > a {
  display: block;
    padding: 12px 4px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-toggle {
  display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-menu {
  position: static;
    min-width: 0;
    margin: 0 0 8px;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    background: #f7faf9;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .nav-dropdown-menu a {
  display: flex;
    padding: 10px 12px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .grid {
  grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}
}

body:has(> header.topbar) .button-primary {
  color: white;
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  box-shadow: 0 8px 18px rgba(36,83,125,.18);
}

body:has(> header.topbar) .button-primary span {
  font-size: 1rem;
  line-height: 1;
}

body:has(> header.topbar) .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  z-index: 110;
  min-width: 170px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

body:has(> header.topbar) .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: .88rem;
  white-space: nowrap;
}

body:has(> header.topbar) .nav-dropdown-menu a:hover {
  background: var(--teal-light);
  color: var(--teal);
}

body:has(> header.topbar) .nav-dropdown-toggle:focus-visible,
body:has(> header.topbar) .nav-dropdown-menu a:focus-visible,
body:has(> header.topbar) .navlinks a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

body:has(> header.topbar) .brand-story {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin: 0 auto 46px;
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f4f1 0%, #ffffff 100%);
}

body:has(> header.topbar) .brand-story-heading .eyebrow {
  margin-bottom: 10px;
}

body:has(> header.topbar) .brand-story h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

body:has(> header.topbar) .brand-story-copy p {
  margin: 0 0 13px;
  color: var(--ink-soft);
}

body:has(> header.topbar) .brand-story-copy p:last-of-type {
  margin-bottom: 0;
}

body:has(> header.topbar) .brand-story-tagline {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand-blue);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

@media (max-width: 820px) {
body:has(> header.topbar) .brand-story {
  grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 34px;
}
}

body:has(> header.topbar) .page-main {
  padding: 64px 0 84px;
}

body:has(> header.topbar) .page-heading {
  max-width: 790px; margin: 0 auto 42px; text-align: center;
}

body:has(> header.topbar) .page-heading .eyebrow {
  color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}

body:has(> header.topbar) .page-heading h1 {
  margin: 10px 0 14px; color: var(--ink); font-size: clamp(2.1rem, 5vw, 3.35rem); line-height: 1.12; letter-spacing: -.045em;
}

body:has(> header.topbar) .page-heading p {
  margin: 0; color: var(--ink-soft); font-size: 1.08rem;
}

body:has(> header.topbar) .page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 46px; align-items: start;
}

body:has(> header.topbar) .about-content {
  max-width: 900px; margin: 0 auto;
}

body:has(> header.topbar) .about-cta {
  padding: 28px;
  border: 1px solid var(--teal);
  border-radius: 18px;
  background: var(--teal);
  color: var(--white);
}

body:has(> header.topbar) .about-cta h2 {
  color: var(--white);
}

body:has(> header.topbar) .about-cta p {
  color: rgba(255,255,255,.9);
}

body:has(> header.topbar) .about-cta .button {
  margin-top: 8px;
}

body:has(> header.topbar) .page-content {
  min-width: 0;
}

body:has(> header.topbar) .page-content section {
  padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line);
}

body:has(> header.topbar) .page-content section:last-child {
  border-bottom: 0; margin-bottom: 0;
}

body:has(> header.topbar) .page-content h2 {
  margin: 0 0 14px; font-size: 1.55rem; line-height: 1.25; letter-spacing: -.025em;
}

body:has(> header.topbar) .page-content h3 {
  margin: 22px 0 8px; font-size: 1.08rem;
}

body:has(> header.topbar) .page-content p {
  color: var(--ink-soft); margin: 0 0 15px;
}

body:has(> header.topbar) .page-content p:last-child {
  margin-bottom: 0;
}

body:has(> header.topbar) .page-content ul {
  color: var(--ink-soft); padding-left: 22px; margin: 10px 0 0;
}

body:has(> header.topbar) .page-content li {
  margin: 7px 0;
}

body:has(> header.topbar) .page-aside {
  position: sticky; top: 110px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow);
}

body:has(> header.topbar) .page-aside h2 {
  margin: 0 0 12px; font-size: 1.12rem;
}

body:has(> header.topbar) .page-aside p {
  color: var(--ink-soft); font-size: .94rem; margin: 0 0 18px;
}

body:has(> header.topbar) .page-aside .button {
  width: 100%; justify-content: center; margin-top: 9px;
}

body:has(> header.topbar) .expertise-tags {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px;
}

body:has(> header.topbar) .expertise-tags .pill {
  display: inline-flex;
}

body:has(> header.topbar) .contact-methods {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
}

body:has(> header.topbar) .contact-methods a {
  overflow-wrap: anywhere;
}

body:has(> header.topbar) .policy-updated {
  color: var(--ink-soft); font-size: .88rem; margin-top: 8px;
}

@media (max-width: 820px) {
body:has(> header.topbar) .page-layout {
  grid-template-columns: 1fr; gap: 28px;
}
}

@media (max-width: 820px) {
body:has(> header.topbar) .page-aside {
  position: static;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .page-main {
  padding: 42px 0 60px;
}
}

@media (max-width: 760px) {
body:has(> header.topbar) .page-heading {
  text-align: left; margin-bottom: 32px;
}
}

body:has(> header.topbar) .page-main {
  { padding: 64px 0 84px; }
}

body:has(> header.topbar) .page-heading {
  { max-width: 790px; margin: 0 auto 42px; text-align: center; }
}

body:has(> header.topbar) .page-heading .eyebrow {
  { color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
}

body:has(> header.topbar) .page-heading h1 {
  { margin: 10px 0 14px; color: var(--ink); font-size: clamp(2.1rem, 5vw, 3.35rem); line-height: 1.12; letter-spacing: -.045em; }
}

body:has(> header.topbar) .page-heading p {
  { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
}

body:has(> header.topbar) .page-layout {
  { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 46px; align-items: start; }
}

body:has(> header.topbar) .page-content {
  { min-width: 0; }
}

body:has(> header.topbar) .page-content section {
  { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
}

body:has(> header.topbar) .page-content section:last-child {
  { border-bottom: 0; margin-bottom: 0; }
}

body:has(> header.topbar) .page-content h2 {
  { margin: 0 0 14px; font-size: 1.55rem; line-height: 1.25; letter-spacing: -.025em; }
}

body:has(> header.topbar) .page-content h3 {
  { margin: 22px 0 8px; font-size: 1.08rem; }
}

body:has(> header.topbar) .page-content p {
  { color: var(--ink-soft); margin: 0 0 15px; }
}

body:has(> header.topbar) .page-content p:last-child {
  { margin-bottom: 0; }
}

body:has(> header.topbar) .page-content ul {
  { color: var(--ink-soft); padding-left: 22px; margin: 10px 0 0; }
}

body:has(> header.topbar) .page-content li {
  { margin: 7px 0; }
}

body:has(> header.topbar) .page-aside {
  { position: sticky; top: 110px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
}

body:has(> header.topbar) .page-aside h2 {
  { margin: 0 0 12px; font-size: 1.12rem; }
}

body:has(> header.topbar) .page-aside p {
  { color: var(--ink-soft); font-size: .94rem; margin: 0 0 18px; }
}

body:has(> header.topbar) .page-aside .button {
  { width: 100%; justify-content: center; margin-top: 9px; }
}

body:has(> header.topbar) .expertise-tags {
  { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
}

body:has(> header.topbar) .expertise-tags .pill {
  { display: inline-flex; }
}

body:has(> header.topbar) .contact-methods {
  { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
}

body:has(> header.topbar) .contact-methods a {
  { overflow-wrap: anywhere; }
}

body:has(> header.topbar) .policy-updated {
  { color: var(--ink-soft); font-size: .88rem; margin-top: 8px; }
}

body:has(> header.topbar) .about-cta {
  padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white);
}

body:has(> header.topbar) .contact-page-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr); gap: 28px; align-items: start; max-width: 1080px; margin: 0 auto;
}

body:has(> header.topbar) .contact-form-panel,
body:has(> header.topbar) .contact-options {
  padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow);
}

body:has(> header.topbar) .contact-form-panel h2,
body:has(> header.topbar) .contact-options h2 {
  margin: 0 0 10px; font-size: 1.4rem;
}

body:has(> header.topbar) .form-intro {
  margin: 0 0 24px; color: var(--ink-soft);
}

body:has(> header.topbar) .contact-form {
  display: grid; gap: 18px;
}

body:has(> header.topbar) .form-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}

body:has(> header.topbar) .form-field {
  display: grid; gap: 7px;
}

body:has(> header.topbar) .form-field label {
  color: var(--ink); font-weight: 700; font-size: .9rem;
}

body:has(> header.topbar) .form-field label span {
  color: #b54747;
}

body:has(> header.topbar) .form-status {
  margin: 0 0 18px; padding: 12px 15px; border-radius: 10px; font-weight: 600;
}

body:has(> header.topbar) .form-status.is-success {
  color: #155b48; background: #e4f4ed; border: 1px solid #b7dfce;
}

body:has(> header.topbar) .form-status.is-error {
  color: #8a2d25; background: #fff0ed; border: 1px solid #efc3bb;
}

body:has(> header.topbar) .form-field input,
body:has(> header.topbar) .form-field select,
body:has(> header.topbar) .form-field textarea {
  width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit;
}

body:has(> header.topbar) .form-field textarea {
  resize: vertical; min-height: 150px;
}

body:has(> header.topbar) .form-field input:focus,
body:has(> header.topbar) .form-field select:focus,
body:has(> header.topbar) .form-field textarea:focus {
  outline: 3px solid var(--teal-light); border-color: var(--teal);
}

body:has(> header.topbar) .form-consent {
  display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .88rem;
}

body:has(> header.topbar) .form-consent input {
  margin-top: 4px; flex: 0 0 auto;
}

body:has(> header.topbar) .form-consent a,
body:has(> header.topbar) .contact-option a {
  color: var(--brand-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}

body:has(> header.topbar) .form-note {
  margin: -4px 0 0; color: var(--ink-soft); font-size: .82rem;
}

body:has(> header.topbar) .form-honeypot {
  position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important;
}

body:has(> header.topbar) .contact-options {
  display: grid; gap: 24px;
}

body:has(> header.topbar) .contact-option {
  display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 13px;
}

body:has(> header.topbar) .contact-option-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-light); color: var(--brand-blue); font-weight: 800;
}

body:has(> header.topbar) .contact-option h3 {
  margin: 0 0 5px; font-size: 1rem;
}

body:has(> header.topbar) .contact-option p {
  margin: 0 0 8px; color: var(--ink-soft); font-size: .9rem;
}

@media (max-width: 820px) {
body:has(> header.topbar) .contact-page-grid {
  grid-template-columns: 1fr;
}
}

@media (max-width: 600px) {
body:has(> header.topbar) .contact-form-panel,
body:has(> header.topbar) .contact-options {
  padding: 21px;
}
}

@media (max-width: 600px) {
body:has(> header.topbar) .form-row {
  grid-template-columns: 1fr;
}
}
