/* ============================================================
   SYNTROPY EARTH — Design System
   Built from Brand Style Guide v1.0 (Premium Heritage)
   Mobile-first · Performance-conscious · Accessible
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Forest greens — structure & philosophy */
  --midnight-forest: #143025;
  --deep-forest:     #1E4435;
  --forest:          #356B4E;
  --sage:            #8AAE98;
  --mist:            #C4D9CC;
  --pale-sage:       #E8F0EB;

  /* Canvas — warm, never harsh */
  --warm-white:      #FDFAF5;
  --soft-cream:      #FAF4E8;
  --white:           #FFFFFF;

  /* Red earth — action & the human story */
  --dark-red-earth:  #7A2D1E;
  --red-earth:       #9E3B2A;
  --warm-clay:       #CF9B7D;
  --pale-clay:       #F0DED0;

  /* Monsoon blue — the healthcare & data layer */
  --deep-monsoon:    #2A4A5A;
  --monsoon-blue:    #3D6478;
  --sky:             #8BA8B6;
  --sky-pale:        #DAE8EE;

  /* Text */
  --text:            #22322A;
  --text-muted:      #5C6A60;
  --text-faint:      #93A89C;
  --text-on-dark:    #FAF4E8;
  --muted-on-dark:   rgba(196,217,204,0.78);

  /* Lines */
  --hr:              rgba(30,68,53,0.10);
  --hr-strong:       rgba(30,68,53,0.18);
  --hr-on-dark:      rgba(255,255,255,0.10);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --mono:  'Space Mono', ui-monospace, monospace;

  /* Layout */
  --max:        1140px;
  --max-narrow: 760px;
  --max-text:   680px;
  --gutter:     clamp(20px, 5vw, 56px);
  --section-y:  clamp(64px, 9vw, 132px);
  --radius:     10px;
  --radius-sm:  6px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---- TYPE SCALE ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--deep-forest); line-height: 1.06; letter-spacing: -0.01em; }
.display { font-size: clamp(44px, 8vw, 72px); line-height: 1.0; }
h1, .h1 { font-size: clamp(38px, 6.2vw, 52px); line-height: 1.04; }
h2, .h2 { font-size: clamp(30px, 4.6vw, 38px); line-height: 1.10; }
h3, .h3 { font-size: clamp(22px, 3vw, 26px); font-weight: 400; line-height: 1.2; }
.h4 { font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--deep-forest); }
.lead { font-size: clamp(16px, 2vw, 17px); line-height: 1.75; color: var(--text-muted); }
.small { font-size: 13px; line-height: 1.55; color: var(--text-faint); }

.label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--forest);
}
em.accent { font-style: italic; color: var(--warm-clay); }

/* ---- LAYOUT ---- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; }
.section--cream { background: var(--soft-cream); }
.section--warm  { background: var(--warm-white); }
.section--forest { background: var(--deep-forest); color: var(--text-on-dark); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--text-on-dark); }
.section--midnight { background: var(--midnight-forest); color: var(--text-on-dark); }

.eyebrow { margin-bottom: 1.1rem; }
.measure { max-width: var(--max-text); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 0.85em 1.7em; border-radius: var(--radius-sm);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--red-earth); color: var(--soft-cream); }
.btn-primary:hover { background: var(--dark-red-earth); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--forest); color: var(--deep-forest); }
.btn-ghost:hover { background: var(--forest); color: var(--soft-cream); transform: translateY(-2px); }
.btn-on-dark { border: 1px solid rgba(255,255,255,0.25); color: var(--text-on-dark); }
.btn-on-dark:hover { background: var(--soft-cream); color: var(--deep-forest); border-color: var(--soft-cream); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 15px; font-weight: 500; color: var(--forest);
  border-bottom: 1px solid transparent; transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.text-link:hover { border-color: var(--forest); gap: 0.7em; }
.section--forest .text-link { color: var(--sage); }
.section--forest .text-link:hover { border-color: var(--sage); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  padding: 0 var(--gutter);
  transition: background 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(30,68,53,0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  height: 56px; border-bottom: 1px solid var(--hr-on-dark);
}
.nav-inner { max-width: var(--max); margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.nav-brand .mark { width: 26px; height: 26px; flex-shrink: 0; }
.nav-brand .wordmark { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 0.02em; color: var(--soft-cream); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(196,217,204,0.8); transition: color 0.25s var(--ease); white-space: nowrap;
}
.nav-links a:not(.btn):hover { color: var(--soft-cream); }
.nav .btn-primary { padding: 0.6em 1.3em; font-size: 13px; }

/* mobile menu */
.nav-toggle { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--soft-cream); margin: 0 auto; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--deep-forest);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--soft-cream); }
.mobile-menu a.btn { margin-top: 1rem; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--deep-forest); color: var(--text-on-dark);
  padding-top: 96px; padding-bottom: 64px; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; }
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -10%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(138,174,152,0.14), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; padding: 0 var(--gutter); }
.hero-eyebrow { color: var(--sage); margin-bottom: 1.5rem; }
.hero h1 { color: var(--soft-cream); max-width: 16ch; margin-bottom: 1.6rem; }
.hero h1 em { font-style: italic; color: var(--warm-clay); }
.hero-sub { font-size: clamp(15px, 2vw, 17px); line-height: 1.78; color: var(--muted-on-dark); max-width: 38rem; margin-bottom: 2.6rem; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.hero-foot { margin-top: 3.5rem; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(196,217,204,0.5); text-transform: uppercase; }

/* ---- THE PROBLEM ---- */
.frame-line { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); font-weight: 300; line-height: 1.32; color: var(--deep-forest); max-width: 18ch; margin-bottom: 0.8rem; }
.pillars { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin: 3.5rem 0; }
.pillar { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--monsoon-blue); }
.pillar-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--monsoon-blue); margin-bottom: 0.9rem; }
.pillar h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; color: var(--deep-forest); line-height: 1.45; margin-bottom: 0.85rem; }
.pillar p { font-size: 14px; line-height: 1.78; color: var(--text-muted); }
.stat { font-family: var(--serif); font-weight: 300; color: var(--monsoon-blue); font-size: clamp(34px, 5vw, 48px); line-height: 1; display: inline-block; }
.stat-unit { font-family: var(--sans); font-size: 14px; color: var(--text-muted); font-weight: 400; }
.bridge { border-top: 1px solid var(--hr); padding-top: 2.75rem; max-width: var(--max-text); }
.bridge p { font-family: var(--serif); font-size: clamp(20px, 2.8vw, 24px); font-weight: 300; line-height: 1.55; color: var(--deep-forest); margin-bottom: 1.2rem; }
.bridge .close { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--deep-forest); }
.bridge .close em { color: var(--red-earth); font-style: italic; }

/* ---- HOW WE WORK ---- */
.how-intro { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); font-weight: 300; line-height: 1.42; color: var(--deep-forest); max-width: 22ch; margin-bottom: 3rem; }
.cards-primary { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.cards-support { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.75rem; }
.card {
  background: var(--white); border: 1px solid var(--hr); border-radius: var(--radius);
  padding: 2rem; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--mist); box-shadow: 0 12px 30px rgba(30,68,53,0.06); }
.card-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-earth); margin-bottom: 1rem; }
.card-outcome { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--deep-forest); line-height: 1.42; margin-bottom: 1rem; }
.card-body { font-size: 14px; line-height: 1.78; color: var(--text-muted); }
.card--support .card-outcome { font-size: 14px; }
.card-sig { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hr); font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.6; color: var(--forest); }
.path-note { font-size: 14px; line-height: 1.78; color: var(--text-muted); max-width: var(--max-text); margin-bottom: 2rem; }

/* ---- WHO WE WORK WITH ---- */
.who-intro { font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); font-weight: 300; line-height: 1.5; color: var(--deep-forest); max-width: 26ch; margin-bottom: 3rem; }
.segments { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.segment { padding-left: 1.3rem; border-left: 2px solid var(--forest); }
.segment h3 { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--deep-forest); margin-bottom: 0.35rem; line-height: 1.4; }
.segment p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.who-close { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.6vw, 22px); font-weight: 300; line-height: 1.5; color: var(--forest); max-width: 24ch; }

/* ---- FOUNDER ---- */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; max-width: 900px; }
.founder-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hr); background: var(--pale-clay); }
.founder-photo img { width: 100%; height: auto; display: block; }
.founder-photo.is-empty { aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.6rem; }
.founder-photo .ph-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-clay); }
.founder-quote { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 20px); font-weight: 300; line-height: 1.7; color: var(--deep-forest); }
.founder-quote p { margin-bottom: 1.1rem; }
.founder-quote .highlight { color: var(--red-earth); font-style: italic; }
.founder-sig { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); margin: 1.4rem 0; }

/* ---- WHY SYNTROPY ---- */
.why-wrap { max-width: var(--max-text); margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.why-mark { width: 64px; height: 64px; margin: 0 auto 2.5rem; }
.why h2 { color: var(--soft-cream); margin-bottom: 2.5rem; }
.why h2 em { font-style: italic; color: var(--warm-clay); }
.why p { font-size: clamp(15px, 2vw, 17px); line-height: 1.88; color: var(--muted-on-dark); margin-bottom: 1.3rem; font-weight: 300; }
.why p.final { color: var(--soft-cream); }
.why .word { color: var(--sage); font-style: italic; }

/* ---- THINKING ---- */
.think-intro { font-size: clamp(15px, 2vw, 17px); line-height: 1.8; color: var(--text-muted); max-width: 34rem; margin-bottom: 3rem; }
.articles { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.article-card { display: block; border-top: 2px solid var(--red-earth); padding-top: 1.4rem; transition: transform 0.3s var(--ease); }
.article-card:hover { transform: translateY(-4px); }
.article-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.9rem; }
.article-card h3 { font-size: clamp(18px, 2.2vw, 21px); font-weight: 400; line-height: 1.3; color: var(--deep-forest); margin-bottom: 0.7rem; transition: color 0.25s var(--ease); }
.article-card:hover h3 { color: var(--forest); }
.article-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ---- CONTACT ---- */
.contact-wrap { max-width: var(--max-text); }
.contact-lead { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); font-weight: 300; line-height: 1.5; color: var(--soft-cream); margin-bottom: 1.5rem; }
.contact-sub { font-size: 15px; line-height: 1.8; color: var(--muted-on-dark); margin-bottom: 2.5rem; font-weight: 300; }

/* ---- FOOTER ---- */
.footer { background: var(--midnight-forest); color: var(--muted-on-dark); padding: 3rem var(--gutter) 2.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand .mark { width: 28px; height: 28px; }
.footer-brand .wordmark { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 0.02em; color: var(--soft-cream); }
.footer-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-top: 0.4rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-col h4 { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.9rem; font-weight: 400; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--muted-on-dark); margin-bottom: 0.5rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--soft-cream); }
.footer-bottom { border-top: 1px solid var(--hr-on-dark); margin-top: 1rem; padding-top: 1.75rem; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: rgba(196,217,204,0.5); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ---- REVEAL MOTION ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }

/* ---- LOGO DRAW (on load) ---- */
.mark-draw .arc { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s var(--ease-out) forwards; }
.mark-draw .arc-2 { animation-delay: 0.25s; }
.mark-draw .arc-3 { animation-delay: 0.5s; }
.mark-draw .dot { opacity: 0; animation: fade-in 0.6s ease forwards; animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* slow rotation for the large "why" mark */
.mark-rotate { animation: spin 60s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- RESPONSIVE ---- */
@media (min-width: 600px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .cards-support { grid-template-columns: repeat(3, 1fr); }
  .articles { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 800px) {
  .cards-primary { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .card { padding: 2.4rem; }
  .founder-grid { grid-template-columns: 320px 1fr; gap: 3.5rem; }
  .segments { grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-canvas { display: none; }
  .mark-draw .arc { stroke-dashoffset: 0; }
  .mark-draw .dot { opacity: 1; }
}

/* ============================================================
   INNER PAGES (services, about, thinking, article)
   ============================================================ */

/* ---- INNER PAGE HERO ---- */
.page-hero { position: relative; background: var(--deep-forest); color: var(--text-on-dark); padding-top: 132px; padding-bottom: clamp(48px, 7vw, 84px); overflow: hidden; }
.page-hero .hero-glow { right: -20%; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .label { color: var(--sage); margin-bottom: 1.2rem; }
.page-hero h1 { color: var(--soft-cream); max-width: 20ch; margin-bottom: 1.3rem; }
.page-hero h1 em { font-style: italic; color: var(--warm-clay); }
.page-hero .lead { color: var(--muted-on-dark); max-width: 44rem; font-weight: 300; }

/* ---- SERVICES DETAIL ---- */
.svc { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--hr); }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.svc-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-earth); margin-bottom: 0.9rem; }
.svc h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.1; margin-bottom: 0.6rem; }
.svc .svc-kind { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.svc-body p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.1rem; }
.svc-list { margin-top: 1.4rem; }
.svc-list li { position: relative; padding-left: 1.4rem; margin-bottom: 0.65rem; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.svc-sig { margin-top: 1.5rem; padding: 1.1rem 1.3rem; background: var(--pale-clay); border-radius: var(--radius-sm); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.6; color: var(--dark-red-earth); }
.not-doing { background: var(--pale-sage); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.not-doing h3 { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--deep-forest); margin-bottom: 0.8rem; }
.not-doing p { font-size: 14px; line-height: 1.75; color: var(--text-muted); }
@media (min-width: 820px) { .svc-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }

/* ---- ABOUT ---- */
.about-prose { max-width: var(--max-text); }
.about-prose p { font-size: clamp(16px, 2vw, 17px); line-height: 1.85; color: var(--text); margin-bottom: 1.35rem; }
.about-prose .pull-quote { margin: 2rem 0; padding-left: 1.4rem; border-left: 3px solid var(--warm-clay); }
.about-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.about-block .label { margin-bottom: 1.2rem; }
.cred-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.cred { padding-left: 1.3rem; border-left: 2px solid var(--mist); }
.cred strong { display: block; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--deep-forest); margin-bottom: 0.2rem; }
.cred span { font-size: 14px; color: var(--text-muted); }
@media (min-width: 700px) { .cred-list { grid-template-columns: 1fr 1fr; gap: 1.2rem 2.5rem; } }

/* ---- ARTICLE ---- */
.article-main { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: var(--section-y); }
.article-head { max-width: var(--max-text); margin: 0 auto 2rem; }
.article-head h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; margin: 1rem 0 1.2rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-faint); }
.article-byline a { color: var(--forest); }
.tldr { max-width: var(--max-text); margin: 0 auto 2.75rem; background: var(--pale-sage); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 1.9rem); }
.tldr h2 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest); margin-bottom: 1rem; }
.tldr ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.7rem; font-size: 15px; line-height: 1.6; color: var(--text); }
.tldr ul li:last-child { margin-bottom: 0; }
.tldr ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.prose { max-width: var(--max-text); margin: 0 auto; }
.prose > p { font-size: 17px; line-height: 1.85; color: var(--text); margin-bottom: 1.4rem; }
.prose h2 { font-size: clamp(24px, 3.2vw, 30px); line-height: 1.2; margin: 2.6rem 0 1rem; }
.prose h3 { font-size: 20px; margin: 2rem 0 0.8rem; }
.prose a { color: var(--forest); border-bottom: 1px solid var(--mist); transition: border-color 0.2s var(--ease); }
.prose a:hover { border-color: var(--forest); }
.prose strong { font-weight: 500; color: var(--deep-forest); }
.prose .stat-callout { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; color: var(--monsoon-blue); border-left: 3px solid var(--monsoon-blue); padding-left: 1.2rem; margin: 2rem 0; }
.faq { max-width: var(--max-text); margin: 3rem auto 0; }
.faq h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 1.5rem; }
.faq-item { border-top: 1px solid var(--hr); padding: 1.3rem 0; }
.faq-item h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--deep-forest); margin-bottom: 0.6rem; }
.faq-item p { font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.author-bio { max-width: var(--max-text); margin: 3rem auto 0; padding: clamp(1.5rem, 3vw, 2rem); background: var(--soft-cream); border-radius: var(--radius); display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.author-bio .label { color: var(--forest); }
.author-bio p { font-size: 14px; line-height: 1.75; color: var(--text-muted); }
.author-bio strong { color: var(--deep-forest); }
.citations { max-width: var(--max-text); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--hr); }
.citations h2 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.citations ol { padding-left: 1.2rem; }
.citations li { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-bottom: 0.6rem; }
.citations a { color: var(--forest); }

/* "in progress" article cards (not yet linked) */
.article-card.pending { opacity: 0.6; pointer-events: none; }
.article-card.pending .article-meta { color: var(--warm-clay); }

/* ============================================================
   v2 ADDITIONS — Obligation band, service icons
   ============================================================ */

/* ---- THE OBLIGATION (dark hinge band) ---- */
.obligation { background: var(--midnight-forest); color: var(--text-on-dark); text-align: center; }
.obligation-inner { max-width: 60ch; margin: 0 auto; }
.obligation .lead-line { font-family: var(--serif); font-size: clamp(25px, 4vw, 38px); font-weight: 300; line-height: 1.2; color: var(--soft-cream); margin-bottom: 1.8rem; }
.obligation .lead-line em { font-style: italic; color: var(--warm-clay); }
.obligation p { font-size: clamp(15px, 2vw, 17px); line-height: 1.85; color: var(--muted-on-dark); margin-bottom: 1.3rem; font-weight: 300; }
.obligation .punch { font-family: var(--sans); font-weight: 500; color: var(--soft-cream); font-size: clamp(16px, 2vw, 18px); }
.obligation .punch em { color: var(--warm-clay); font-style: italic; }

/* ---- SERVICE ICONS ---- */
.svc-icon { width: 38px; height: 38px; margin-bottom: 1.1rem; display: block; }
.svc-icon-sm { width: 32px; height: 32px; margin-bottom: 0.9rem; display: block; }

/* ---- CAST signature visual (access-resilience map hint) ---- */
.cast-visual { margin-top: 1.5rem; padding: 1.4rem; background: var(--pale-sage); border-radius: var(--radius-sm); display: flex; align-items: center; gap: 1rem; }
.cast-visual svg { width: 44px; height: 44px; flex-shrink: 0; }
.cast-visual span { font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.5; color: var(--forest); }

/* ============================================================
   v2 BUILD-BRIEF — two-layer problem, CSR flagship + CAST, coalesce
   ============================================================ */

/* ---- PROBLEM: layer labels + layer two (lighter) ---- */
.layer-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 1.5rem; }
.pillars--light { margin-top: 1rem; margin-bottom: 3rem; gap: 1.8rem; }
.pillars--light .pillar { border-top: 1.5px solid var(--sage); padding-top: 1.1rem; }
.pillars--light .pillar-tag { color: var(--forest); }
.pillars--light .pillar h3 { font-size: 15px; margin-bottom: 0.6rem; }
.pillars--light .pillar p { font-size: 13px; }
.pillar-fig { font-family: var(--serif); font-weight: 300; color: var(--forest); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.1; }
.stat-static { font-family: var(--serif); font-weight: 300; color: var(--monsoon-blue); font-size: clamp(30px, 5vw, 44px); line-height: 1; }
.pillar-src { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; color: var(--text-faint); margin-top: 0.8rem; line-height: 1.5; }

/* ---- HOW WE WORK: CSR flagship with linked CAST ---- */
.flagship { background: var(--white); border: 1px solid var(--hr); border-radius: var(--radius); padding: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1.25rem; transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.flagship:hover { border-color: var(--mist); box-shadow: 0 12px 30px rgba(30,68,53,0.06); }
.flagship .card-tag { color: var(--red-earth); }
.flagship .card-outcome { font-size: clamp(17px, 2.2vw, 19px); max-width: 36ch; }
.cast-linked { margin-top: 1.6rem; padding: 1.4rem; background: var(--pale-sage); border-radius: var(--radius-sm); border-left: 3px solid var(--forest); }
.cast-linked .powered { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.7rem; }
.cast-linked .powered svg { width: 20px; height: 20px; }
.cast-linked p { font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }
.cast-linked .castname { font-style: italic; font-family: var(--serif); font-size: 15px; color: var(--deep-forest); }
.retainer-card { margin-bottom: 2.75rem; }

/* ---- WHY: coalesce mark ---- */
.why-mark { width: 92px; height: 92px; margin: 0 auto 2.5rem; }
.why .why-wrap p { margin-bottom: 1.7rem; }
.coalesce-dot { fill: var(--sage); opacity: 0; }
.coalesce-arc { opacity: 0; transition: opacity 1s ease 1.1s; }
.why-mark.settled .coalesce-arc { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .coalesce-arc { opacity: 1 !important; transition: none; }
}

/* hero headline — larger, more confident (v2 build-brief) */
.hero h1 { font-size: clamp(44px, 8.5vw, 80px); line-height: 1.0; }

/* ============================================================
   ARTICLE FIGURES — animated bar chart + stress-pathway flow
   ============================================================ */
.figure { max-width: var(--max-text); margin: 2.6rem auto; }
.figure-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--deep-forest); margin-bottom: 1.1rem; }
.figure-cap { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-top: 1rem; }
.barchart { display: flex; flex-direction: column; gap: 1rem; }
.bar-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text); margin-bottom: 0.35rem; }
.bar-label .v { font-family: var(--mono); color: var(--monsoon-blue); }
.bar-track { height: 12px; background: var(--pale-sage); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 6px; background: var(--monsoon-blue); transition: width 1.3s var(--ease-out); }
.bar-fill.clay { background: var(--warm-clay); }
.bar-fill.forest { background: var(--forest); }
.figure.in .bar-fill { width: var(--w); }

.flow { max-width: 540px; margin: 1.4rem auto 0; }
.flow-step { background: var(--white); border: 1px solid var(--hr); border-left: 3px solid var(--monsoon-blue); border-radius: var(--radius-sm); padding: 0.95rem 1.2rem; }
.flow-step:last-child { border-left-color: var(--red-earth); }
.flow-step .flow-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); display: block; margin-bottom: 0.3rem; }
.flow-step:last-child .flow-tag { color: var(--red-earth); }
.flow-step p { font-size: 14px; line-height: 1.5; color: var(--text); margin: 0; }
.flow-arrow { text-align: center; color: var(--sage); font-size: 16px; line-height: 1; margin: 0.35rem 0; }

/* ============================================================
   v3 REVIEW TWEAKS (client feedback)
   ============================================================ */
/* (3) all six pillar tags in syntropy red */
.pillar-tag, .pillars--light .pillar-tag { color: var(--red-earth); }

/* (2) layer-two figure was shrunk to 13px by the body-p rule — restore */
.pillars--light .pillar-fig { font-size: clamp(27px, 3.4vw, 33px) !important; color: var(--monsoon-blue); margin-bottom: 0.1rem !important; line-height: 1.06; }
.pillar-fig-unit { font-family: var(--sans); font-size: 12px !important; color: var(--text-faint); margin: 0 0 0.95rem !important; line-height: 1.45; letter-spacing: 0.01em; }

/* (6) Why-Syntropy paragraph spacing — section uses id #why, not a class */
#why .why-wrap p { margin-bottom: 2rem; }

/* (9) entropy→syntropy: gentler arc settle to match the slower coalesce */
.coalesce-arc { transition: opacity 1.6s ease; }
@media (prefers-reduced-motion: reduce) { .coalesce-arc { opacity: 1 !important; transition: none; } }

/* (7) founder: wrap the quote around the photo, then run full width */
.founder-grid { display: block !important; max-width: 900px; }
.founder-photo { float: left; width: 300px; margin: 0.4rem 2.4rem 1.1rem 0; }
.founder-quote::after { content: ""; display: block; clear: both; }
@media (max-width: 720px) { .founder-photo { float: none; width: 100%; margin: 0 0 1.4rem; } }

/* (10) about page photo (floated, wraps with the story) */
.about-photo { float: right; width: 270px; margin: 0.3rem 0 1.3rem 2.4rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hr); background: var(--pale-clay); }
.about-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 720px) { .about-photo { float: none; width: 100%; margin: 0 0 1.4rem; } }

/* secondary outline button (e.g. "Read my story") */
.btn-outline { background: transparent; color: var(--deep-forest); border: 1px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--soft-cream); border-color: var(--forest); }

/* ============================================================
   v4 REVIEW — standardise pillars, cut dead space, widen columns
   ============================================================ */

/* (3,6,8) reduce vertical dead space between and within sections */
:root { --section-y: clamp(52px, 6.6vw, 98px); }

/* (1) ALL six pillar tags red, and both layers identical (no "lighter" variant) */
.pillar-tag { color: var(--red-earth) !important; }
.pillars--light { margin: 0 !important; gap: 2rem !important; }
.pillars--light .pillar { border-top: 2px solid var(--monsoon-blue) !important; padding-top: 1.5rem !important; }
.pillars--light .pillar h3 { font-size: 17px !important; margin-bottom: 0.85rem !important; }
.pillars--light .pillar p { font-size: 14px !important; }
/* retire the old light-figure styles (layer two now uses .stat like layer one) */
.pillar-fig, .pillar-fig-unit { all: unset; }

/* consistent figure + unit spacing across all six */
.pillar-stat { margin-bottom: 0.9rem; }
.pillar .stat-unit { display: inline; }
.pillar-body { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.pillar-src { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; color: var(--text-faint); margin-top: 0.9rem; line-height: 1.5; }

/* (1) identical, even spacing for both layer labels */
.layer-label { margin: 2.6rem 0 1.6rem !important; color: var(--text-faint); }
.pillars { margin: 0 !important; }
.bridge { margin-top: 3rem; max-width: 860px; }

/* (2,4) widen the narrow serif intros so text runs further and dead space shrinks */
.frame-line { max-width: 30ch; }
.how-intro { max-width: 42ch; margin-bottom: 2.2rem; }
.who-intro { max-width: 46ch; margin-bottom: 2.2rem; }
.who-close { max-width: 40ch; }
.lead.measure, .frame-line { }

/* (5) Why heading: breathing room before the first paragraph */
#why .why-wrap h2 { margin-bottom: 1.7rem; }

/* (9) particles visible on inner-page green headers too */
.page-hero .hero-canvas { opacity: 0.5; }

/* secondary outline button for dark sections (e.g. contact band) */
.btn-outline-on-dark { background: transparent; color: var(--soft-cream); border: 1px solid var(--sage); }
.btn-outline-on-dark:hover { background: var(--soft-cream); color: var(--deep-forest); border-color: var(--soft-cream); }
.contact-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }


/* ==========================================================================
   CAVS-S distribution, newsletter, and the shared prompt
   v2, 26 July 2026. Premium Heritage tokens only.
   NOTE: styles.css is served with a one-year immutable cache header
   (netlify.toml). Every page links it as /styles.css?v=NNN. When you edit
   this file you MUST bump that version string or nobody sees the change.
   ========================================================================== */

/* ---- text link that survives a dark background ---- */
.text-link-on-dark { color: var(--mist); }
.text-link-on-dark:hover { color: var(--soft-cream); }

/* ---- LIGHT BAND: homepage under the hero, services under the hero ---- */
.cavs-strip{
  position:relative;
  background:var(--pale-clay);
  border-top:1px solid rgba(158,59,42,0.22);
  border-bottom:1px solid rgba(158,59,42,0.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.5), 0 6px 18px rgba(30,68,53,0.07);
  padding:40px 0;
}
.cavs-strip::before{
  content:""; position:absolute; left:0; top:0; bottom:0;
  width:5px; background:var(--red-earth);
}
.cavs-strip .cavs-inner{
  max-width:1120px; margin:0 auto; padding:0 clamp(24px,5vw,64px);
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.cavs-strip .cavs-copy{flex:1 1 480px; min-width:0}
.cavs-strip .cavs-eyebrow{
  display:inline-block;
  font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--soft-cream); background:var(--red-earth);
  padding:5px 11px; border-radius:4px; margin:0 0 14px;
}
.cavs-strip .cavs-head{
  font-family:var(--serif); font-weight:400; line-height:1.14;
  font-size:clamp(25px,3.6vw,34px); color:var(--deep-forest); margin:0 0 10px;
}
.cavs-strip .cavs-sub{
  font-size:15.5px; line-height:1.6; color:var(--text); margin:0; max-width:64ch;
}
.cavs-strip .cavs-act{flex:0 0 auto}
.cavs-strip .cavs-note{
  font-family:var(--mono); font-size:10px; letter-spacing:.08em;
  color:var(--dark-red-earth); margin:14px 0 0; opacity:.9;
}

/* ---- DARK BAND: guide pages and articles, before the footer ---- */
.cavs-band{
  position:relative; background:var(--deep-forest);
  border-top:4px solid var(--red-earth);
  padding:62px 0;
}
.cavs-band .cavs-inner{
  max-width:1120px; margin:0 auto; padding:0 clamp(24px,5vw,64px);
  display:flex; align-items:center; justify-content:space-between;
  gap:36px; flex-wrap:wrap;
}
.cavs-band .cavs-copy{flex:1 1 500px; min-width:0}
.cavs-band .cavs-eyebrow{
  display:inline-block;
  font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--deep-forest); background:var(--warm-clay);
  padding:5px 11px; border-radius:4px; margin:0 0 16px;
}
.cavs-band .cavs-head{
  font-family:var(--serif); font-weight:400; line-height:1.13;
  font-size:clamp(27px,4vw,38px); color:var(--soft-cream); margin:0 0 12px;
}
.cavs-band .cavs-sub{font-size:16px; line-height:1.62; color:var(--mist); margin:0; max-width:62ch}
.cavs-band .cavs-act{flex:0 0 auto}
.cavs-band .cavs-note{
  font-family:var(--mono); font-size:10px; letter-spacing:.08em;
  color:var(--sage); margin:16px 0 0; opacity:.85;
}
@media (max-width:760px){
  .cavs-strip .cavs-inner, .cavs-band .cavs-inner{flex-direction:column; align-items:flex-start}
  .cavs-strip .cavs-act .btn, .cavs-band .cavs-act .btn{width:100%; text-align:center}
  .cavs-band{padding:44px 0}
  .cavs-strip{padding:32px 0}
}

/* ---- NEWSLETTER BLOCK: monsoon palette, the healthcare and data layer ---- */
.nl-cta{
  background:var(--deep-monsoon);
  border-top:4px solid var(--sky);
  border-radius:12px;
  padding:clamp(28px,4vw,42px);
  margin-top:48px;
  display:flex; align-items:center; justify-content:space-between;
  gap:30px; flex-wrap:wrap;
}
.nl-cta .nl-copy{flex:1 1 440px; min-width:0}
.nl-cta .nl-eyebrow{
  display:inline-block;
  font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--deep-monsoon); background:var(--sky);
  padding:5px 11px; border-radius:4px; margin:0 0 14px;
}
.nl-cta .nl-head{
  font-family:var(--serif); font-weight:400; line-height:1.14;
  font-size:clamp(24px,3.4vw,32px); color:var(--white); margin:0 0 10px;
}
.nl-cta .nl-sub{font-size:15.5px; line-height:1.6; color:var(--sky-pale); margin:0; max-width:60ch}
.btn-newsletter{
  display:inline-block; flex:0 0 auto;
  font-family:var(--sans); font-size:15px; font-weight:500; line-height:1.2;
  color:var(--deep-monsoon); background:var(--sky-pale);
  border:1px solid var(--sky-pale); border-radius:7px;
  padding:14px 26px; text-decoration:none;
  transition:background .18s var(--ease), transform .18s var(--ease);
}
.btn-newsletter:hover{background:var(--white); color:var(--deep-monsoon); transform:translateY(-2px)}
.btn-newsletter:focus-visible{outline:2px solid var(--sky); outline-offset:3px}
@media (max-width:640px){
  .nl-cta{flex-direction:column; align-items:flex-start}
  .btn-newsletter{width:100%; text-align:center}
}

/* ---- FOOTER: newsletter reads as one item, not two orphans ---- */
.footer-col .nl-block{
  display:block; padding-bottom:14px; margin-bottom:6px;
  border-bottom:1px solid rgba(250,244,232,0.14);
}
.footer-col a.nl-link{
  display:block; margin:0; font-weight:500; color:var(--soft-cream);
}
.footer-col a.nl-link:hover{color:var(--warm-clay)}
.footer-col .nl-note{
  display:block; font-family:var(--mono); font-size:9.5px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--sage); margin:5px 0 0; opacity:.8;
}

/* ---- SHARED PROMPT: built by /js/main.js on eligible pages ---- */
#se-prompt{
  position:fixed; bottom:26px; right:26px; width:min(430px,calc(100vw - 40px));
  background:var(--deep-forest); color:var(--soft-cream);
  border-radius:14px; border-top:4px solid var(--red-earth);
  padding:26px 28px 24px;
  box-shadow:0 18px 48px rgba(20,48,37,0.42);
  z-index:9999;
  transform:translateY(20px); opacity:0; pointer-events:none;
  transition:transform .35s var(--ease), opacity .35s var(--ease);
}
#se-prompt.visible{transform:translateY(0); opacity:1; pointer-events:auto}
#se-prompt .sp-close{
  position:absolute; top:10px; right:12px; background:none; border:0;
  color:var(--sage); font-size:24px; line-height:1; cursor:pointer; padding:4px 8px;
}
#se-prompt .sp-close:hover{color:var(--soft-cream)}
#se-prompt .sp-eyebrow{
  display:inline-block; font-family:var(--mono); font-size:9.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--soft-cream); background:var(--red-earth);
  padding:4px 10px; border-radius:4px; margin:0 0 12px;
}
#se-prompt .sp-head{
  font-family:var(--serif); font-weight:400; font-size:21px; line-height:1.2;
  color:var(--soft-cream); margin:0 0 8px;
}
#se-prompt .sp-body{font-size:14px; line-height:1.55; color:var(--mist); margin:0 0 16px}
#se-prompt .sp-btn{
  display:block; text-align:center; font-family:var(--sans); font-size:14.5px; font-weight:500;
  background:var(--red-earth); color:var(--soft-cream);
  border-radius:7px; padding:12px 18px; text-decoration:none;
  transition:background .18s var(--ease);
}
#se-prompt .sp-btn:hover{background:var(--dark-red-earth)}
#se-prompt .sp-rule{
  border:0; border-top:1px solid rgba(250,244,232,0.16); margin:20px 0 16px;
}
#se-prompt .sp-eyebrow-2{
  font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--warm-clay); margin:0 0 8px;
}
#se-prompt .sp-body-2{font-size:13.5px; line-height:1.5; color:var(--mist); margin:0 0 14px}
#se-prompt .sp-btn-2{
  display:block; text-align:center; font-family:var(--sans); font-size:14px; font-weight:500;
  background:var(--sky-pale); color:var(--deep-monsoon);
  border-radius:7px; padding:11px 18px; text-decoration:none;
  transition:background .18s var(--ease);
}
#se-prompt .sp-btn-2:hover{background:var(--white)}
#se-prompt .sp-follow{
  display:flex; gap:14px; flex-wrap:wrap; margin:14px 0 0;
  font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase;
}
#se-prompt .sp-follow a{color:var(--sage); text-decoration:none}
#se-prompt .sp-follow a:hover{color:var(--soft-cream); text-decoration:underline}
#se-prompt a:focus-visible, #se-prompt button:focus-visible{outline:2px solid var(--warm-clay); outline-offset:2px}
@media (max-width:520px){
  #se-prompt{left:14px; right:14px; bottom:14px; width:auto; padding:22px 20px 20px}
  #se-prompt .sp-head{font-size:19px}
}
@media (prefers-reduced-motion: reduce){ #se-prompt{transition:none} }

/* The band sits directly under the newsletter card on the Thinking index.
   The card already separates the two zones, so the red rule there reads as a
   collision rather than a divider. Everywhere else the rule stays. */
.cavs-band--norule{border-top:0}
.nl-cta{margin-bottom:0}
