/* ════════════════════════════════════════════════════════════════
   SYNC VALUATIONS — "When Free Isn't Free" web article
   Built on the Sync Valuations design system tokens.
   ════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette */
  --navy:        #1B2C3C;
  --navy-2:      #253f57;
  --cream:       #F5F0E3;
  --cream-light: #FAF7EF;
  --cream-dark:  #EDE7D5;
  --warm-gray:   #9B9588;
  --warm-gray-l: #D4D0C8;
  --brown-gray:  #5A5650;
  --charcoal:    #343434;
  --gold:        #B5A878;
  --gold-muted:  #A59F8E;
  --white:       #FFFFFF;

  /* Accent is tweakable */
  --accent: var(--gold);

  --font-head: 'Barlow Condensed', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 68px;
  --content-w: 720px;
  --shadow-sm: 0 2px 12px rgba(27,44,60,.05);
  --shadow-md: 0 6px 24px rgba(27,44,60,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--brown-gray);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy); text-decoration: none; }

/* ════════════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ════════════════════════════════════════════════════════════════ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress__fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .08s linear;
}

/* ════════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
/* default (scrolled / over light): cream surface */
.nav {
  background: rgba(245,240,227,.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--warm-gray-l);
}
/* transparent over a dark hero, at the very top */
body[data-hero="a"] .nav.is-top {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 30px; display: block; }
.nav__logo--white { display: none; }
body[data-hero="a"] .nav.is-top .nav__logo--color { display: none; }
body[data-hero="a"] .nav.is-top .nav__logo--white { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  opacity: .80;
  transition: opacity .2s ease, color .2s ease;
}
.nav__link:hover { opacity: 1; }
body[data-hero="a"] .nav.is-top .nav__link { color: var(--cream); opacity: .75; }
body[data-hero="a"] .nav.is-top .nav__link:hover { opacity: 1; }

.nav__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 10px 20px;
  border-radius: 0;
  transition: background .2s ease, transform .1s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--navy-2); transform: translateY(-1px); }
body[data-hero="a"] .nav.is-top .nav__cta {
  background: var(--cream); color: var(--navy); border-color: var(--cream);
}
body[data-hero="a"] .nav.is-top .nav__cta:hover { background: var(--white); border-color: var(--white); }

.nav__menu-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__burger { display: none; }

@media (max-width: 860px) {
  .nav__menu-links { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   HERO — shared
   ════════════════════════════════════════════════════════════════ */
.hero { display: none; position: relative; overflow: hidden; }
body[data-hero="a"] #hero-a,
body[data-hero="b"] #hero-b { display: block; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
}
.hero__title .accent { color: var(--accent); }
.hero__dek {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
}
.platform-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border: 1px solid;
  border-radius: 0;
}

/* ── Hero author byline (portrait + name) ────────────────────── */
.hero__byline { display: flex; align-items: center; gap: 16px; }
.hero-portrait {
  width: 64px; height: 64px; flex-shrink: 0;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  box-shadow: 0 0 0 1px rgba(181,168,120,.45);
  border-radius: 50%;
}
.hero-portrait--lg { width: 84px; height: 84px; }
.hero__byline .byline-text {
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1.7;
  letter-spacing: .12em; text-transform: uppercase;
}
.hero__byline .byline-text .name {
  display: block; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  letter-spacing: .02em; text-transform: uppercase; margin: 2px 0 3px;
}
.hero--dark .hero__byline .byline-text { color: rgba(245,240,227,.42); }
.hero--dark .hero__byline .name { color: var(--cream); }
.hero--light .hero__byline .byline-text,
.hero--split .hero__byline .byline-text { color: var(--warm-gray); }
.hero--light .hero__byline .name,
.hero--split .hero__byline .name { color: var(--navy); }
.hero__meta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero__disclaimer {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(245,240,227,.35);
}
@media (max-width: 560px) {
  .hero__meta-side { align-items: flex-start; }
}

/* ── Hero A — Editorial Dark ─────────────────────────────────── */
.hero--dark {
  background: var(--navy);
  color: var(--cream);
  padding: calc(var(--nav-h) + clamp(60px, 11vh, 130px)) clamp(20px, 4vw, 48px) clamp(56px, 9vh, 104px);
}
.hero--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181,168,120,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,168,120,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero--dark .hero__inner {
  position: relative;
  max-width: var(--container, 1100px);
  width: min(1100px, 100%);
  margin: 0 auto;
}
.hero--dark .hero__title {
  font-size: clamp(56px, 10vw, 128px);
  color: var(--cream);
  margin-bottom: 34px;
}
.hero--dark .hero__dek-wrap { display: flex; gap: 18px; align-items: stretch; max-width: 600px; }
.hero--dark .hero__bar { width: 3px; background: var(--accent); flex-shrink: 0; }
.hero--dark .hero__dek { font-size: clamp(16px, 1.5vw, 19px); color: rgba(245,240,227,.62); }
.hero--dark .hero__meta {
  display: flex; flex-wrap: wrap; gap: 18px 40px;
  justify-content: space-between; align-items: flex-end;
  margin-top: clamp(48px, 7vh, 88px);
  padding-top: 26px;
  border-top: 1px solid rgba(181,168,120,.2);
}
.hero--dark .hero__meta-text {
  font-family: var(--font-mono);
  font-size: 11px; line-height: 1.9;
  color: rgba(245,240,227,.42);
  letter-spacing: .03em;
}
.hero--dark .hero__meta-text a { color: rgba(245,240,227,.7); border-bottom: 1px solid rgba(245,240,227,.25); }
.hero--dark .platform-tag { color: rgba(181,168,120,.8); border-color: rgba(181,168,120,.4); }

/* ── Hero B — Light Editorial ────────────────────────────────── */
.hero--light {
  background: var(--cream);
  color: var(--navy);
  padding: calc(var(--nav-h) + clamp(56px, 10vh, 120px)) clamp(20px, 4vw, 48px) clamp(56px, 9vh, 96px);
  border-bottom: 1px solid var(--cream-dark);
}
.hero--light .hero__inner { max-width: 1000px; margin: 0 auto; }
.hero--light .hero__rule { width: 64px; height: 3px; background: var(--navy); margin-bottom: 30px; }
.hero--light .hero__title {
  font-size: clamp(52px, 9vw, 112px);
  color: var(--navy);
  margin-bottom: 30px;
}
.hero--light .hero__dek {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--brown-gray);
  max-width: 640px;
  margin-bottom: 38px;
}
.hero--light .hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--warm-gray); text-transform: uppercase;
}
.hero--light .hero__meta a { color: var(--navy); }
.hero--light .platform-tags { margin-left: auto; }
.hero--light .platform-tag { color: var(--brown-gray); border-color: var(--warm-gray-l); }

/* ── Hero C — Split Statement ────────────────────────────────── */
.hero--split { display: none; }
body[data-hero="c"] .hero--split { display: grid; }
.hero--split {
  grid-template-columns: 1.05fr .95fr;
  min-height: clamp(540px, 78vh, 760px);
}
.hero--split .hero__left {
  background: var(--navy);
  color: var(--cream);
  padding: calc(var(--nav-h) + clamp(40px, 6vh, 72px)) clamp(28px, 4vw, 72px) clamp(40px, 6vh, 64px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero--split .hero__left::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181,168,120,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,168,120,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero--split .hero__left > * { position: relative; }
.hero--split .hero__title {
  font-size: clamp(52px, 6.4vw, 104px);
  color: var(--cream);
  margin: auto 0;
}
.hero--split .platform-tag { color: rgba(181,168,120,.8); border-color: rgba(181,168,120,.4); }
.hero--split .hero__right {
  background: var(--cream-light);
  padding: calc(var(--nav-h) + clamp(40px, 6vh, 72px)) clamp(28px, 4vw, 64px) clamp(40px, 6vh, 64px);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--cream-dark);
}
.hero--split .hero__dek { font-size: 19px; color: var(--brown-gray); margin-bottom: 30px; max-width: 460px; }
.hero--split .hero__author {
  font-family: var(--font-mono); font-size: 11px; line-height: 1.9;
  letter-spacing: .04em; color: var(--warm-gray); text-transform: uppercase;
  margin-bottom: 32px;
}
.hero--split .hero__author a { color: var(--navy); }
.hero--split .btn-primary { align-self: flex-start; }

@media (max-width: 820px) {
  .hero--split { grid-template-columns: 1fr; min-height: 0; }
  .hero--split .hero__right { border-left: none; border-top: 1px solid var(--cream-dark); }
}

/* ════════════════════════════════════════════════════════════════
   SHARED BUTTONS
   ════════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--navy); color: var(--cream);
  border: 1.5px solid var(--navy);
  padding: 14px 26px; border-radius: 0;
  transition: background .2s ease, transform .1s ease;
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); color: var(--cream); }
.btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--accent); color: var(--navy);
  border: 1.5px solid var(--accent);
  padding: 14px 26px; border-radius: 0;
  transition: filter .2s ease, transform .1s ease;
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--navy); }

/* ════════════════════════════════════════════════════════════════
   LAYOUT — TOC sidebar + article
   ════════════════════════════════════════════════════════════════ */
.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px) 0;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

/* TOC */
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  align-self: start;
}
.toc__label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-muted);
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--cream-dark);
}
.toc__list { list-style: none; }
.toc__link {
  display: flex; gap: 11px; align-items: baseline;
  padding: 7px 0;
  font-size: 13.5px; line-height: 1.4;
  color: var(--warm-gray);
  border-left: 2px solid transparent;
  padding-left: 12px; margin-left: -14px;
  transition: color .2s ease, border-color .2s ease;
}
.toc__link:hover { color: var(--navy); }
.toc__num {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  color: var(--gold-muted); flex-shrink: 0;
}
.toc__link.is-active { color: var(--navy); border-left-color: var(--accent); font-weight: 600; }
.toc__link.is-active .toc__num { color: var(--accent); }

.toc__progress {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--warm-gray);
}

@media (max-width: 940px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .article { min-width: 0; }
  .article p, .article h1, .article h2, .article h3, .article li { overflow-wrap: break-word; }
}

/* ════════════════════════════════════════════════════════════════
   ARTICLE
   ════════════════════════════════════════════════════════════════ */
.article { max-width: var(--content-w); width: 100%; }

.section { scroll-margin-top: calc(var(--nav-h) + 24px); }

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 12px;
}

.article h1 {
  font-family: var(--font-head);
  font-weight: 800; font-size: clamp(34px, 4.4vw, 46px);
  color: var(--navy);
  text-transform: uppercase; letter-spacing: 0; line-height: 1.02;
  margin-bottom: 28px;
  padding-top: 22px;
  border-top: 3px solid var(--navy);
}
.section + .section { margin-top: clamp(64px, 8vw, 104px); }

.article h2 {
  font-family: var(--font-head);
  font-weight: 700; font-size: clamp(22px, 2.6vw, 28px);
  color: var(--navy);
  text-transform: uppercase; letter-spacing: .01em; line-height: 1.12;
  margin-top: 44px; margin-bottom: 14px;
}
.article h3 {
  font-family: var(--font-body);
  font-weight: 600; font-size: 17px; color: var(--navy);
  margin-top: 26px; margin-bottom: 8px;
}
.article p { margin-bottom: 18px; }
.article p:last-child { margin-bottom: 0; }
.lead { font-size: 19px; line-height: 1.66; color: var(--charcoal); }
strong { font-weight: 600; color: var(--navy); }
em { font-style: italic; }
sup { font-size: .68em; color: var(--gold-muted); font-family: var(--font-mono); padding-left: 1px; }
.article a:not(.btn-primary):not(.btn-gold) { color: var(--navy); border-bottom: 1px solid var(--warm-gray-l); transition: border-color .2s ease; }
.article a:not(.btn-primary):not(.btn-gold):hover { border-bottom-color: var(--navy); }

/* Callouts */
.callout, .callout-navy {
  background: var(--cream-light);
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 0;
}
.callout { border-left: 4px solid var(--accent); }
.callout-navy { border-left: 4px solid var(--navy); }
.callout p, .callout-navy p { margin-bottom: 0; font-size: 16px; }
.callout strong, .callout-navy strong { color: var(--navy); }

/* Featured card */
.featured-card {
  background: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--navy);
  padding: 30px 32px;
  margin: 30px 0;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}
.featured-card .fc-label {
  display: block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-muted); margin-bottom: 14px;
}
.featured-card p { font-size: 16px; margin-bottom: 12px; }
.featured-card p:last-child { margin-bottom: 0; }

/* Case study — navy block */
.case-study {
  background: var(--navy);
  padding: 34px 36px;
  margin: 34px 0;
  border-radius: 0;
  position: relative; overflow: hidden;
}
.case-study::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181,168,120,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,168,120,.05) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.case-study > * { position: relative; }
.case-study .cs-label {
  display: block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.case-study h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 26px;
  color: var(--cream); text-transform: uppercase; letter-spacing: .01em;
  margin: 0 0 16px;
}
.case-study p { color: rgba(245,240,227,.72); font-size: 16px; margin-bottom: 12px; }
.case-study p:last-child { margin-bottom: 0; }

/* Pipeline grid */
.pipeline-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--warm-gray-l);
  margin: 30px 0; border: 1px solid var(--warm-gray-l); border-radius: 0; overflow: hidden;
}
.pipeline-cell { background: var(--cream-light); padding: 26px 22px; }
.pipeline-num {
  font-family: var(--font-head); font-weight: 800; font-size: 44px;
  color: var(--cream-dark); line-height: 1; margin-bottom: 12px;
}
.pipeline-cell h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--navy); text-transform: uppercase; letter-spacing: .05em;
  margin: 0 0 10px;
}
.pipeline-cell p { font-size: 14px; line-height: 1.55; color: var(--brown-gray); margin-bottom: 14px; }
.tag-line {
  display: block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em;
  text-transform: uppercase; padding-top: 10px; border-top: 1px solid var(--cream-dark);
}
.tag-line--no { color: #b94444; }
.tag-line--yes { color: #2e6b35; }
@media (max-width: 680px) { .pipeline-grid { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { margin: 26px 0; overflow-x: auto; border-radius: 0; border: 1px solid var(--warm-gray-l); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead tr { background: var(--navy); }
thead th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  color: rgba(245,240,227,.85); padding: 13px 16px; text-align: left;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
tbody tr { background: var(--cream-light); }
tbody tr:nth-child(even) { background: var(--cream); }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--cream-dark); vertical-align: top; line-height: 1.5; }
tbody tr:last-child td { border-bottom: none; }
.check { color: #2e6b35; font-weight: 600; }
.cross { color: #8b3232; font-weight: 600; }
.table-note { font-size: 13.5px; color: var(--brown-gray); margin-top: 12px; }

/* sv-list */
.sv-list { list-style: none; margin: 18px 0; }
.sv-list li {
  position: relative; padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--cream-dark); font-size: 16px; line-height: 1.5;
}
.sv-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.sv-list li:last-child { border-bottom: none; }

/* Checklist (interactive) */
.checklist-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin: 22px 0 6px;
}
.checklist-count {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-muted);
  display: flex; align-items: center; gap: 12px;
}
.checklist-reset {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--warm-gray);
  background: none; border: none; cursor: pointer; padding: 0;
  border-bottom: 1px solid var(--warm-gray-l);
}
.checklist-reset:hover { color: var(--navy); }
.checklist { list-style: none; margin: 14px 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--cream-dark);
  cursor: pointer; transition: opacity .2s ease;
}
.checklist li:last-child { border-bottom: none; }
.check-box {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  border: 2px solid var(--warm-gray-l); border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.check-box svg { width: 13px; height: 13px; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .2s ease; stroke: var(--cream); }
.checklist li.is-checked .check-box { background: var(--navy); border-color: var(--navy); }
.checklist li.is-checked .check-box svg { opacity: 1; transform: scale(1); }
.checklist li.is-checked .check-label { color: var(--warm-gray); }
.check-label { flex: 1; font-size: 16px; line-height: 1.5; color: var(--charcoal); }
.check-label strong { display: block; margin-bottom: 3px; }
.check-sub {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em;
  color: var(--gold-muted); font-weight: 400; line-height: 1.5;
}

/* TOC inline (top of article, mobile) */
.toc-inline { display: none; }

/* Closing / extra section dividers reuse .section h1 */

/* Author block */
.author {
  display: flex; gap: 40px; align-items: flex-start; margin-top: 26px;
}
.author image-slot, .author .author-photo {
  width: 168px; height: 168px; flex-shrink: 0; border-radius: 0;
  object-fit: cover; filter: grayscale(100%);
}
@media (max-width: 600px) { .author { flex-direction: column; gap: 24px; } }

/* Booking banner */
.booking-banner {
  background: var(--navy);
  color: var(--cream);
  border-radius: 0;
  padding: clamp(36px, 5vw, 56px);
  margin: clamp(56px, 7vw, 88px) 0 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.booking-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181,168,120,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,168,120,.05) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.booking-banner > * { position: relative; }
.booking-banner h2 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px);
  color: var(--cream); text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 12px; line-height: 1.05;
}
.booking-banner p { color: rgba(245,240,227,.72); font-size: 16px; max-width: 460px; margin: 0; }

/* Sources */
.sources { margin-top: clamp(56px, 7vw, 80px); padding-top: 30px; border-top: 1px solid var(--warm-gray-l); }
.sources h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 0; }
.sources ol { padding-left: 22px; margin-top: 18px; }
.sources li { font-size: 13.5px; color: var(--brown-gray); margin-bottom: 10px; line-height: 1.55; }
.sources li a { color: var(--navy); border-bottom: 1px solid var(--cream-dark); word-break: break-word; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  margin-top: clamp(64px, 8vw, 110px);
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
}
.footer__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.footer__logo { height: 32px; }
.footer__right {
  text-align: right;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.85;
  color: rgba(245,240,227,.4); letter-spacing: .04em;
}
.footer__right a { color: rgba(245,240,227,.62); }
@media (max-width: 600px) { .footer__right { text-align: left; } }

/* ════════════════════════════════════════════════════════════════
   FLOATING PDF BUTTON
   ════════════════════════════════════════════════════════════════ */
.pdf-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--navy); color: var(--cream);
  border: none; border-radius: 0; padding: 13px 20px;
  cursor: pointer; box-shadow: var(--shadow-md);
  transition: background .15s ease, transform .1s ease;
}
.pdf-btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.pdf-btn svg { flex-shrink: 0; }

/* Mobile: compact icon-only button so it doesn't overlap body text */
@media (max-width: 600px) {
  .pdf-btn {
    bottom: 16px; right: 16px;
    gap: 0; padding: 0;
    width: 46px; height: 46px;
    justify-content: center;
    font-size: 0; letter-spacing: 0;
  }
  .pdf-btn svg { width: 17px; height: 17px; }
}

/* ════════════════════════════════════════════════════════════════
   PRINT
   ════════════════════════════════════════════════════════════════ */
@media print {
  .progress, .nav, .pdf-btn, .toc, #tweaks-root, .hero--split .hero__right .btn-primary { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero { display: none !important; }
  .print-cover { display: flex !important; }
  .layout { display: block; padding: 0; max-width: 760px; }
  .article { max-width: 100%; }
  .case-study, .callout, .callout-navy, .featured-card, .table-wrap, .pipeline-grid, .booking-banner, .author { break-inside: avoid; }
  .article h1, .article h2, .article h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* Print cover — only shown when printing */
.print-cover { display: none; }
@media print {
  .print-cover {
    display: none; /* kept simple; article header carries identity */
  }
}

/* ════════════════════════════════════════════════════════════════
   ENTRANCE
   Content is visible by default (base state); only a subtle transform
   animates in, so a paused/backgrounded tab or print still shows it.
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__title, .hero__dek-wrap, .hero__dek, .hero__meta,
  .hero--split .hero__right > * {
    animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero__title { animation-delay: .05s; }
  .hero__dek-wrap, .hero__dek { animation-delay: .12s; }
  .hero__meta { animation-delay: .2s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* ════════════════════════════════════════════════════════════════
   MAIN-SITE NAV (ported as .site-nav) + COMPACT HERO
   Added for whitepaper integration on syncvaluations.com
   ════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
  background: transparent;
}
.site-nav.scrolled {
  background: rgba(245, 240, 227, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--cream-dark);
}
.site-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
}
.site-nav .nav-logo { display: flex; align-items: center; text-decoration: none; }
.site-nav .nav-logo svg { height: 28px; width: auto; display: block; flex-shrink: 0; }
.site-nav .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.site-nav .nav-links a {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--brown-gray); text-decoration: none;
  text-transform: uppercase; letter-spacing: .1em; transition: color .2s ease;
}
.site-nav .nav-links a:hover { color: var(--navy); }
.site-nav .nav-cta {
  font-family: var(--font-mono) !important; font-size: 11px !important; font-weight: 500 !important;
  letter-spacing: 1.5px !important; text-transform: uppercase;
  padding: 10px 24px; background: var(--navy); color: var(--cream) !important;
  border: none; border-radius: 5px; cursor: pointer; transition: all .2s ease;
}
.site-nav .nav-cta:hover { background: var(--charcoal); }
.site-nav .nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.site-nav .nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all .3s ease; }

/* Logo: navy inline SVG when scrolled (matches main site), white SVG over the hero */
.site-nav .nav-logo-white { height: 28px; width: auto; display: none; }
.site-nav:not(.scrolled) .nav-logo-color { display: none; }
.site-nav:not(.scrolled) .nav-logo-white { display: block; }

/* Transparent nav over the dark hero → light links / CTA */
.site-nav:not(.scrolled) .nav-links a { color: rgba(245,240,227,.82); }
.site-nav:not(.scrolled) .nav-links a:hover { color: #fff; }
.site-nav:not(.scrolled) .nav-cta { background: var(--cream); color: var(--navy) !important; }
.site-nav:not(.scrolled) .nav-cta:hover { background: #fff; }
.site-nav:not(.scrolled) .nav-hamburger span { background: var(--cream); }

@media (max-width: 860px) {
  .site-nav .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-top: 1px solid var(--cream-dark);
    flex-direction: column; padding: 12px 24px 20px; gap: 0; z-index: 999;
  }
  .site-nav .nav-links.nav-open { display: flex; }
  .site-nav .nav-links li { border-bottom: 1px solid var(--cream-dark); width: 100%; }
  .site-nav .nav-links li:last-child { border-bottom: none; padding-top: 12px; }
  .site-nav .nav-links li a { display: block; padding: 13px 0; font-size: 13px; }
  /* dropdown sits on cream → force dark text/CTA even when not scrolled */
  .site-nav:not(.scrolled) .nav-links a { color: var(--brown-gray); }
  .site-nav:not(.scrolled) .nav-links a:hover { color: var(--navy); }
  .site-nav:not(.scrolled) .nav-links .nav-cta { background: var(--navy); color: var(--cream) !important; border-color: var(--navy); }
  .site-nav .nav-hamburger { display: flex; }
  .site-nav .nav-inner { position: relative; }
}

/* Compact hero — less vertical space so content reaches the fold sooner */
.hero--dark {
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 56px)) clamp(20px, 4vw, 48px) clamp(40px, 6vh, 60px);
}
.hero--dark .hero__title { font-size: clamp(44px, 7.5vw, 92px); margin-bottom: 24px; }
.hero--dark .hero__meta { margin-top: clamp(28px, 4vh, 48px); }

/* Nicholas portrait — frame head + torso like the main site (object-position center 15%) */
.hero-portrait { object-position: center 15%; }
.author-photo { object-position: center 15%; }
