/* ══════════════════════════════════════════════════════════════════════════
   COGNITOSAGE — DESIGN SYSTEM
   Considered Sage / Quiet Earth · v5.11.0 — palette aligned to brand board
   Single source of truth. Used by every page.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Palette — Pine & Terracotta (light) */
  --ink: #1F2B2A;            /* near-black pine — headings & primary text */
  --umber: #3B4942;          /* primary body */
  --umber-soft: #56635B;     /* secondary body */
  --umber-mute: #6E7C72;     /* labels & meta */
  --ochre: #0F5B4A;          /* PINE — primary accent (buttons, rules, icons) */
  --ochre-deep: #0B2F28;     /* deep pine — links / hover */
  --ochre-tint: rgba(31, 91, 71, 0.12);
  --olive: #B85C3E;          /* TERRACOTTA — secondary accent */
  --olive-deep: #9E4A30;
  --olive-tint: rgba(184, 92, 62, 0.12);
  --sand: #F7F4EE;           /* page background (bone) */
  --sand-light: #FFFFFF;     /* raised surface */
  --sand-dark: #EFE7D5;      /* recessed surface */
  --cream: #FFFFFF;          /* raised highlight */
  --border: rgba(26, 38, 32, 0.10);
  --border-strong: rgba(26, 38, 32, 0.18);
  --border-warm: rgba(184, 92, 62, 0.32);
  --gold-deep: #2E7D5B;      /* NOTE: this is pine-light (button hover / gradient ends), not gold */
  --gold: #C9A25B;           /* gilded gold — logo S & gold accents */
  --gold-soft: #EBC979;      /* gold highlight */
  --gold-shadow: #9C7833;    /* gold in recesses */
  --vermilion: #B85C3E;      /* terracotta — margin mark / live dot */
  --on-accent: #FAF6EE;      /* text on pine / terracotta fills */

  --shadow-soft: 0 4px 18px rgba(26, 38, 32, 0.07);
  --shadow-card: 0 14px 34px rgba(26, 38, 32, 0.10), 0 2px 6px rgba(26, 38, 32, 0.05);
  --shadow-lift: 0 22px 50px rgba(26, 38, 32, 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 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(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--umber);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
code { font-family: var(--font-mono); font-size: 0.86em; background: rgba(243,239,228,0.10); padding: 1px 5px; border-radius: 4px; color: var(--ochre); }

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.025em; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.italic-ochre { font-style: italic; color: var(--ochre); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 80; }
.italic-olive { font-style: italic; color: var(--olive); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 80; }
.lead { font-size: 1.0625rem; line-height: 1.65; color: var(--umber); max-width: 56ch; font-weight: 400; }
.lead.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--umber-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--ochre); }
.eyebrow.no-rule::before { display: none; }

/* Layout */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 880px; }
.wrap.read { max-width: 720px; }
section { padding: 96px 0; position: relative; }
section.compact { padding: 56px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { margin: 14px 0 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
  letter-spacing: 0.005em;
}
.btn-p { background: var(--ochre); color: var(--on-accent); }
.btn-p:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-s { border: 0.5px solid var(--border-strong); color: var(--ink); background: transparent; }
.btn-s:hover { border-color: var(--ink); background: rgba(74, 63, 46, 0.04); }
.btn-amber { background: var(--ochre); color: var(--on-accent); }
.btn-amber:hover { background: var(--gold-deep); transform: translateY(-1px); }

/* Nav */
nav.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(16, 48, 44, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 0.5px solid var(--border);
  transition: background 200ms var(--ease);
}
nav.scrolled { background: rgba(16, 48, 44, 0.96); box-shadow: 0 1px 12px rgba(0, 0, 0, 0.30); }
.nav-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 36px; }
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-wordmark { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.brand-wordmark .sage { color: var(--ochre); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 13px; font-weight: 500; padding: 8px 12px; color: var(--umber); border-radius: 6px; transition: background 160ms var(--ease), color 160ms var(--ease); }
.nav-links a:hover, .nav-links a.active { background: rgba(243, 239, 228, 0.08); color: var(--ink); }
.nav-cta { padding: 9px 16px; background: var(--ochre); color: var(--on-accent); font-size: 13px; font-weight: 500; border-radius: 8px; transition: background 160ms var(--ease), transform 160ms var(--ease); }
.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

/* Page-header (used on non-homepage pages) */
.page-header {
  padding: 140px 0 72px;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-light) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(184, 149, 110, 0.18), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-header .eyebrow { margin-bottom: 22px; }
.page-header h1 { margin-bottom: 20px; max-width: 16ch; }
.page-header .lead { font-size: 1.125rem; color: var(--umber); }

/* Hero (homepage) */
.hero {
  padding: 140px 0 96px;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-light) 72%, var(--sand-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(184, 149, 110, 0.20), transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -100px; left: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(107, 122, 79, 0.14), transparent 70%); border-radius: 50%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-meta { font-family: var(--font-mono); font-size: 11px; color: var(--umber-soft); letter-spacing: 0.06em; margin-bottom: 26px; display: flex; gap: 12px; align-items: center; }
.hero-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ochre); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
.hero h1 { margin-bottom: 20px; max-width: 14ch; }
.hero .lead { font-size: 1.125rem; margin-bottom: 14px; color: var(--ink); font-weight: 500; }
.hero .sub { font-size: 15px; color: var(--umber-soft); max-width: 52ch; margin-bottom: 32px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-meta-row { display: flex; gap: 18px; font-size: 12px; color: var(--umber-soft); align-items: center; flex-wrap: wrap; }
.hero-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ochre); }

/* Hero card */
.hero-card { background: var(--cream); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-card); border: 0.5px solid var(--border); position: relative; }
.hero-card-label { font-family: var(--font-mono); font-size: 10px; color: var(--umber-soft); letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 14px; }
.candidate { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 0.5px solid var(--border); }
.candidate-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--ochre) 0%, var(--gold-deep) 100%); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.candidate-name { font-family: var(--font-display); font-size: 16px; color: var(--ink); font-weight: 500; line-height: 1.2; }
.candidate-role { font-size: 12px; color: var(--umber-soft); }
.candidate-score-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.candidate-score { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--ochre); font-weight: 500; }
.candidate-score-suffix { font-size: 11px; color: var(--umber-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.score-bar { height: 3px; background: rgba(74, 63, 46, 0.08); border-radius: 99px; margin-bottom: 14px; overflow: hidden; }
.score-bar-fill { height: 100%; width: 88%; background: var(--ochre); border-radius: 99px; }
.reason-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--umber-soft); margin-bottom: 8px; }
.reason-list { display: flex; flex-direction: column; gap: 4px; }
.reason-item { font-size: 12.5px; color: var(--umber); line-height: 1.45; padding-left: 14px; position: relative; }
.reason-item::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.reason-item.muted::before { background: var(--umber-mute); }
.reason-item.muted { color: var(--umber-soft); }

/* Trust strip */
.trust { padding: 26px 0; background: var(--sand-light); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--umber-soft); }
.trust-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; gap: 8px; }
.stat-num { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); }
.stat-num.warm { color: var(--ochre); }
.stat-num.cool { color: var(--olive); }
.stat-label { font-size: 12px; color: var(--umber-soft); }
.stat-sep { width: 1px; height: 14px; background: var(--border-strong); }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aud { padding: 26px 24px; background: var(--sand-light); border-radius: var(--r-lg); border: 0.5px solid var(--border); position: relative; transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.aud:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.aud::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ochre); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.aud.olive::before { background: var(--olive); }
.aud.umber::before { background: var(--umber); }
.aud.ink::before { background: var(--ink); }
.aud-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 8px; display: block; }
.aud.olive .aud-tag { color: var(--olive-deep); }
.aud.umber .aud-tag, .aud.ink .aud-tag { color: var(--umber); }
.aud h4 { font-family: var(--font-display); font-size: 18px; line-height: 1.2; margin-bottom: 10px; font-weight: 500; }
.aud p { font-size: 13px; line-height: 1.6; color: var(--umber-soft); }

/* Flagship v5.9.2 features */
.flagship { background: var(--sand-light); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px 26px 28px; background: var(--sand); border-radius: var(--r-lg); border: 0.5px solid var(--border); transition: transform 280ms var(--ease), border-color 280ms var(--ease); }
.feature:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.feature-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--ochre-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--ochre-deep); }
.feature.olive .feature-icon { background: var(--olive-tint); color: var(--olive-deep); }
.feature.umber .feature-icon { background: rgba(74, 63, 46, 0.08); color: var(--umber); }
.feature-audience { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--umber-soft); margin-bottom: 10px; display: block; }
.feature h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--umber-soft); line-height: 1.6; }

.release-banner { margin-top: 28px; padding: 24px 30px; background: var(--ochre-deep); color: var(--on-accent); border-radius: var(--r-lg); border: 0.5px solid rgba(239,231,210,0.14); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.release-banner p { font-family: var(--font-display); font-size: 18px; font-style: italic; font-weight: 500; line-height: 1.35; color: var(--on-accent); max-width: 540px; }
.release-banner .italic-ochre { color: #E7B85E; font-style: italic; }

/* Modules grid (CognitoHire architecture, 3+2 layout) */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.modules-grid > .module:nth-child(4) { grid-column: 1 / span 1; margin-left: 16.66%; }
.modules-grid > .module:nth-child(5) { grid-column: 2 / span 1; margin-left: 16.66%; }
.module { padding: 28px 26px 28px; background: var(--sand-light); border-radius: var(--r-lg); border: 0.5px solid var(--border); position: relative; transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); display: flex; flex-direction: column; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.module-num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1; color: var(--ochre); letter-spacing: -0.02em; position: absolute; top: 22px; right: 24px; opacity: 0.8; font-variation-settings: "opsz" 144, "SOFT" 100; }
.module-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--ochre-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--ochre-deep); }
.module-icon.olive { background: var(--olive-tint); color: var(--olive-deep); }
.module-icon.umber { background: rgba(74, 63, 46, 0.08); color: var(--umber); }
.module-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 10px; display: block; font-weight: 600; }
.module-tag.olive { color: var(--olive-deep); }
.module-tag.umber { color: var(--umber); }
.module h4 { font-family: var(--font-display); font-size: 19px; margin-bottom: 10px; line-height: 1.2; }
.module p { font-size: 13px; color: var(--umber-soft); line-height: 1.6; }

/* Pillars (numbered editorial) */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding-right: 8px; }
.pillar-num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 56px; line-height: 1; color: var(--ochre); margin-bottom: 10px; letter-spacing: -0.04em; font-variation-settings: "opsz" 144, "SOFT" 100; }
.pillar.olive .pillar-num { color: var(--olive); }
.pillar.ink .pillar-num { color: var(--ink); }
.pillar h3 { margin-bottom: 12px; max-width: 18ch; }
.pillar p { font-size: 14px; color: var(--umber-soft); line-height: 1.65; max-width: 38ch; }

/* Testimonial */
.testimonial { padding: 116px 0; }
.testimonial blockquote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; font-weight: 500; color: var(--ink); letter-spacing: -0.025em; max-width: 28ch; margin-bottom: 28px; position: relative; }
.testimonial blockquote::before { content: "\201C"; font-family: var(--font-display); font-size: 5rem; color: var(--ochre); position: absolute; left: -38px; top: -10px; line-height: 1; font-style: italic; }
.testimonial-attrib { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ochre); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.testimonial-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--umber-soft); }

/* Compliance strip */
.compliance { padding: 30px 0; background: var(--sand-dark); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.compliance-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.compliance-quote { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink); max-width: 320px; line-height: 1.4; border-left: 2px solid var(--ochre); padding-left: 14px; }
.compliance-badges { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.compliance-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.compliance-badge.muted { color: var(--umber-soft); font-weight: 400; }
.compliance-sep { width: 1px; height: 12px; background: var(--border-strong); }

/* Final CTA */
.final-cta { padding: 120px 0 72px; text-align: center; background: linear-gradient(180deg, var(--sand) 0%, var(--sand-light) 100%); }
.final-cta .eyebrow { margin: 0 auto 20px; justify-content: center; }
.final-cta h2 { max-width: 22ch; margin: 0 auto 22px; }
.final-cta p { max-width: 48ch; margin: 0 auto 32px; color: var(--umber-soft); }
.final-cta-buttons { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Footer */
footer.site-footer { background: var(--ochre-deep); color: var(--umber-soft); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .brand-wordmark { color: var(--sand); font-size: 19px; }
.footer-brand .brand-wordmark .sage { color: var(--ochre); }
.footer-tagline { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); margin: 4px 0 16px; }
.footer-desc { font-size: 13px; color: rgba(245, 240, 228, 0.65); line-height: 1.65; max-width: 32ch; margin-bottom: 18px; }
.footer-meta { font-size: 11px; color: rgba(245, 240, 228, 0.45); }
.footer-col h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 240, 228, 0.55); margin-bottom: 14px; font-weight: 600; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: rgba(245, 240, 228, 0.75); transition: color 160ms var(--ease); }
.footer-col a:hover { color: var(--ochre); }
.footer-bottom { padding-top: 22px; border-top: 0.5px solid rgba(245, 240, 228, 0.10); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p, .footer-bottom span { font-size: 11px; color: rgba(245, 240, 228, 0.45); }
.footer-bottom-links { display: flex; gap: 18px; }

/* Reveal animations — scroll-triggered. No-JS safe: visible by default,
   only hidden once JS confirms it can reveal them on scroll. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); }
html.js .reveal.in { opacity: 1; transform: translateY(0); }
html.js .reveal-2 { transition-delay: 110ms; }
html.js .reveal-3 { transition-delay: 220ms; }
html.js .reveal-4 { transition-delay: 330ms; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-2, html.js .reveal-3, html.js .reveal-4 { opacity: 1; transform: none; transition: none; }
}

/* Article body (blog posts) */
.article-body { padding: 56px 0 96px; }
.article-body .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--umber-soft); margin-bottom: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.article-body .meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ochre); }
.article-body h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 22ch; margin-bottom: 24px; }
.article-body .article-lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); max-width: 60ch; margin-bottom: 48px; font-family: var(--font-display); font-weight: 400; font-style: italic; }
.article-body .article-prose { max-width: 64ch; font-size: 17px; line-height: 1.75; color: var(--umber); }
.article-body .article-prose p { margin-bottom: 22px; }
.article-body .article-prose h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 56px 0 18px; max-width: 22ch; }
.article-body .article-prose h3 { font-size: 1.35rem; margin: 38px 0 12px; }
.article-body .article-prose blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; border-left: 2px solid var(--ochre); padding-left: 22px; margin: 32px 0; color: var(--ink); }
.article-body .article-prose ul { padding-left: 22px; margin: 0 0 22px; list-style: disc; }
.article-body .article-prose li { margin-bottom: 6px; color: var(--umber); }
.article-body .article-prose a { color: var(--ochre-deep); border-bottom: 0.5px solid var(--border-warm); transition: border-color 160ms var(--ease); }
.article-body .article-prose a:hover { border-bottom-color: var(--ochre); }
.article-body .article-prose code { font-size: 14.5px; }

/* Blog index card */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-card { padding: 28px 28px 26px; background: var(--sand-light); border-radius: var(--r-lg); border: 0.5px solid var(--border); transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); display: block; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.post-card .cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 14px; display: inline-block; }
.post-card h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 12px; max-width: 22ch; }
.post-card .excerpt { font-size: 14px; color: var(--umber-soft); line-height: 1.6; max-width: 44ch; margin-bottom: 18px; }
.post-card .post-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--umber-mute); }

/* Form */
.form { background: var(--sand-light); border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 32px 32px 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--umber-soft); font-weight: 600; }
.form-field input, .form-field textarea, .form-field select { font-family: var(--font-body); font-size: 14px; color: var(--ink); padding: 11px 13px; background: var(--sand); border: 0.5px solid var(--border-strong); border-radius: 8px; transition: border-color 160ms var(--ease); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--ochre); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 8px; }

/* Module deep-dive (products page) */
.module-deep { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.module-deep:last-child { margin-bottom: 0; }
.module-deep.flip > :first-child { order: 2; }
.module-deep .surface { background: var(--sand-light); border-radius: var(--r-lg); border: 0.5px solid var(--border); padding: 32px; box-shadow: var(--shadow-soft); }
.module-deep .surface .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--umber-soft); margin-bottom: 14px; }
.module-deep h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 12px 0 16px; }
.module-deep .features { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.module-deep .feat { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 0.5px solid var(--border); }
.module-deep .feat:last-child { border-bottom: none; padding-bottom: 0; }
.module-deep .feat-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--ochre-tint); display: flex; align-items: center; justify-content: center; color: var(--ochre-deep); flex-shrink: 0; }
.module-deep .feat h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.module-deep .feat p { font-size: 13px; color: var(--umber-soft); line-height: 1.55; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 380px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid > .module:nth-child(4), .modules-grid > .module:nth-child(5) { grid-column: auto; margin-left: 0; }
  .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .module-deep { grid-template-columns: 1fr; }
  .module-deep.flip > :first-child { order: 0; }
  .post-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  section { padding: 72px 0; }
  .hero, .page-header { padding: 110px 0 64px; }
  .nav-inner { padding: 14px 22px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 12px; padding: 8px 14px; }
  .audience-grid, .features-grid, .modules-grid { grid-template-columns: 1fr; }
  .trust-stats { gap: 18px; }
  .testimonial blockquote::before { left: 0; top: -50px; font-size: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form { padding: 24px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   REFINEMENTS & ENHANCEMENTS · v1.1
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── Softer editorial labels: Plex Sans small-caps, not mono ──────────────── */
/* Mono is kept only for genuinely technical/data labels (version strings, code,
   live data states, metadata). Soft category labels move to letterspaced sans. */
.aud-tag, .feature-audience, .module-tag, .footer-col h5, .post-card .cat,
.form-field label {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.13em;
}

/* ─── Fraunces optical/soft tuning for display type ────────────────────────── */
h1, h2 { font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0; }
h3, h4 { font-variation-settings: "opsz" 40, "SOFT" 30, "WONK" 0; }
.italic-ochre, .italic-olive { font-variation-settings: "opsz" 144, "SOFT" 70, "WONK" 0; }
.testimonial blockquote, .article-body .article-lead { font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0; }

/* ─── Hamburger toggle ─────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile slide-in menu ─────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--sand);
  padding: 96px 28px 32px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateX(100%);
  transition: transform .42s var(--ease), visibility .42s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); padding: 16px 0; border-bottom: 0.5px solid var(--border); letter-spacing: -0.02em; }
.mobile-menu a.active { color: var(--ochre-deep); }
.mobile-menu .m-cta { margin-top: 26px; border-bottom: none; }
.mobile-menu .m-cta .btn { width: 100%; }
.mobile-menu .m-meta { margin-top: auto; padding-top: 24px; font-family: var(--font-mono); font-size: 11px; color: var(--umber-soft); letter-spacing: 0.06em; }

/* ─── How it works (homepage flow) ─────────────────────────────────────────── */
.howto { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 8px; }
.howto-step { padding: 0 16px; text-align: center; position: relative; }
.howto-step::after {
  content: ""; position: absolute; top: 28px; right: -8px;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--border-warm); border-right: 1.5px solid var(--border-warm);
  transform: rotate(45deg);
}
.howto-step:last-child::after { display: none; }
.howto-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--sand-light); border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; color: var(--ochre-deep);
  position: relative;
}
.howto-step:nth-child(2) .howto-icon { color: var(--olive-deep); }
.howto-step:nth-child(3) .howto-icon { color: var(--umber); }
.howto-step:nth-child(4) .howto-icon { color: var(--ochre-deep); }
.howto-step:nth-child(5) .howto-icon { color: var(--olive-deep); }
.howto-num { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--ochre); position: absolute; top: -6px; right: -6px; background: var(--sand); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 0.5px solid var(--border); }
.howto-step h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.howto-step p { font-size: 12px; color: var(--umber-soft); line-height: 1.5; }

/* ─── Comparison table ─────────────────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 0.5px solid var(--border); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--sand-light); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 0.5px solid var(--border); font-size: 14px; vertical-align: middle; }
.compare thead th { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--umber-soft); background: var(--sand); }
.compare thead th.col-us { color: var(--ochre-deep); }
.compare tbody th { font-family: var(--font-body); font-weight: 500; color: var(--ink); }
.compare td { color: var(--umber-soft); }
.compare .col-us { background: var(--ochre-tint); color: var(--ink); font-weight: 500; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--olive-deep); font-weight: 600; }
.compare .no { color: var(--umber-mute); }
.compare-caption { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--umber-soft); margin-top: 16px; text-align: center; }

/* ─── FAQ (native details/summary) ─────────────────────────────────────────── */
.faq { max-width: 760px; }
.faq-item { border-bottom: 0.5px solid var(--border); }
.faq-item:first-child { border-top: 0.5px solid var(--border); }
.faq-item summary {
  cursor: pointer; padding: 24px 0; list-style: none;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color 160ms var(--ease);
}
.faq-item summary:hover { color: var(--ochre-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 1.5px solid var(--ochre-deep); border-bottom: 1.5px solid var(--ochre-deep);
  transform: rotate(45deg); transition: transform 240ms var(--ease); margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item .faq-body { padding: 0 0 24px; font-size: 15px; color: var(--umber-soft); line-height: 1.7; max-width: 64ch; }
.faq-item .faq-body a { color: var(--ochre-deep); border-bottom: 0.5px solid var(--border-warm); }

/* ─── Responsive additions ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .howto { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .howto-step::after { display: none; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .howto { grid-template-columns: 1fr; gap: 28px 0; }
  .compare th, .compare td { padding: 13px 14px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MANUSCRIPT DETAILS — brand lockup, ornament, margin marks
   ══════════════════════════════════════════════════════════════════════════ */

/* Logo lockup with tagline beneath wordmark */
.nav-brand .brand-lockup { line-height: 1.1; }
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--umber-mute);
  margin-top: 2px;
  display: block;
}
.footer-brand .brand-tagline { color: var(--ochre); }

/* Section ornament — manuscript-style horizontal flourish between major sections */
.ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 0;
  margin-bottom: -8px;
}

/* Pull-quote: margin-mark with vermilion */
.margin-quote {
  position: relative;
  padding-left: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.margin-quote::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 1px; height: calc(100% - 12px);
  background: var(--ochre);
}
.margin-quote::after {
  content: "";
  position: absolute;
  left: -3.5px; top: calc(50% - 4px);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vermilion);
}

/* Module icon refinement — restrained line weight, gold leaf on dark */
.feature-icon, .module-icon { color: var(--ochre); }
.feature.olive .feature-icon, .module-icon.olive { color: var(--olive-deep); }
.feature.umber .feature-icon, .module-icon.umber { color: var(--umber); }

/* Hero card: subtle gold-rule top edge */
.hero-card { position: relative; }
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ochre), transparent);
}

/* Footer tagline colour on deep pine */
.footer-tagline { color: var(--ochre); }

/* Live status dot — vermilion margin mark */
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 8px rgba(200, 65, 44, 0.5);
  animation: pulse 2.6s var(--ease) infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Compare table: gold accent for "us" column */
.compare .col-us { background: rgba(201, 162, 78, 0.12); color: var(--ink); }
.compare thead th.col-us { color: var(--ochre-deep); }
.compare .yes { color: var(--ochre); }


/* ══════════════════════════════════════════════════════════════════════════
   PINE & TERRACOTTA — light-theme overrides + v5.6 enhancements
   ══════════════════════════════════════════════════════════════════════════ */
nav.navbar { background: rgba(250, 246, 238, 0.80); border-bottom: 1px solid var(--border); }
nav.scrolled { background: rgba(250, 246, 238, 0.94); box-shadow: var(--shadow-soft); }
.hero::before { background: radial-gradient(circle, rgba(31, 91, 71, 0.10), transparent 70%); }
.hero::after  { background: radial-gradient(circle, rgba(184, 92, 62, 0.10), transparent 70%); }
.live-dot { box-shadow: 0 0 8px rgba(184, 92, 62, 0.45); }
.compare .col-us { background: rgba(31, 91, 71, 0.10); color: var(--ink); }
.compare thead th.col-us { color: var(--ochre-deep); }
.compare .yes { color: var(--ochre); }
.stat-num.warm { color: var(--olive); }
.stat-num.cool { color: var(--ochre); }
.footer-tagline, .footer-brand .brand-tagline { color: var(--ochre); }

/* Hero atmosphere — topographic contour lines */
.hero { overflow: hidden; }
.hero-atmos { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-atmos svg { position: absolute; top: -60px; right: -80px; width: 720px; max-width: none; opacity: 0.55; }
.hero .wrap { position: relative; z-index: 1; }

/* Realistic evaluation dashboard (hero card) */
.hero-card-label { display: flex; align-items: center; justify-content: space-between; }
.hc-id { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--umber-mute); }
.hero-card .candidate { display: flex; align-items: center; gap: 12px; }
.gauge { margin-left: auto; width: 76px; height: 76px; position: relative; flex-shrink: 0; }
.gauge svg { transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: var(--sand-dark); stroke-width: 7; }
.gauge .g-prog { fill: none; stroke: var(--ochre); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.5s var(--ease) 0.25s; }
.reveal.in .gauge .g-prog { stroke-dashoffset: 24; }
.gauge .g-val { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1; }
.gauge .g-num { font-family: var(--font-display); font-size: 23px; color: var(--ink); font-weight: 600; }
.gauge .g-lab { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--umber-mute); margin-top: 2px; }
.evidence { margin: 18px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.ev-row { display: grid; grid-template-columns: 1fr 92px 26px; align-items: center; gap: 10px; }
.ev-k { font-size: 12.5px; color: var(--umber-soft); }
.ev-bar { height: 6px; border-radius: 4px; background: var(--sand-dark); overflow: hidden; }
.ev-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--ochre);
  transition: width 1.2s var(--ease) 0.35s; }
.ev-row.warm .ev-bar i { background: var(--olive); }
.reveal.in .ev-bar i { width: var(--w); }
.ev-v { font-family: var(--font-mono); font-size: 11.5px; color: var(--umber-mute); text-align: right; }
.hc-foot { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--umber-mute); }
.hc-foot .spark { color: var(--olive); }

/* Interactive ROI calculator */
.roi { background: var(--sand-light); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 38px; box-shadow: var(--shadow-card); max-width: 940px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 26px; }
.roi-control label { display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--umber-mute); margin-bottom: 14px; }
.roi-row { display: flex; align-items: center; gap: 20px; }
.roi-range { -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 5px;
  background: var(--sand-dark); outline: none; }
.roi-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ochre); border: 4px solid var(--sand-light); box-shadow: var(--shadow-soft); cursor: pointer; }
.roi-range::-moz-range-thumb { width: 24px; height: 24px; border: 4px solid var(--sand-light);
  border-radius: 50%; background: var(--ochre); cursor: pointer; }
#roiCvOut { font-family: var(--font-display); font-size: 30px; color: var(--ink); min-width: 96px; text-align: right; }
.roi-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.roi-stat { display: flex; flex-direction: column; gap: 7px; }
.roi-num { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--ochre); line-height: 1; }
.roi-num.warm { color: var(--olive); }
.roi-lab { font-size: 12.5px; color: var(--umber-soft); max-width: 26ch; }
.roi-chart { display: flex; align-items: flex-end; justify-content: center; gap: 56px; height: 150px; }
.roi-bar { display: flex; flex-direction: column; align-items: center; gap: 9px; justify-content: flex-end; height: 100%; }
.roi-bar .bval { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.roi-bar .bar { width: 72px; border-radius: 9px 9px 0 0; transition: height 0.55s var(--ease); }
.roi-bar.manual .bar { background: var(--olive-tint); border: 1px solid var(--olive); border-bottom: 0; }
.roi-bar.auto .bar { background: var(--ochre); }
.roi-bar .blab { font-family: var(--font-mono); font-size: 11px; color: var(--umber-mute); text-align: center; }
.roi-fine { font-size: 13px; color: var(--umber-soft); line-height: 1.6; }
.roi-fine a { color: var(--ochre-deep); border-bottom: 1px solid var(--border-warm); white-space: nowrap; }
@media (max-width: 640px) { .roi-results { grid-template-columns: 1fr; } .roi { padding: 24px; } .roi-chart { gap: 36px; } }

/* ── QA pass: contrast + hierarchy fixes on the light theme ───────────────── */
/* Footer sits on deep pine — pine accents had pine-on-pine low contrast; use terracotta */
.footer-tagline, .footer-brand .brand-tagline { color: var(--olive); }
.footer-brand .brand-wordmark .sage { color: var(--olive); }
.footer-col a:hover { color: var(--olive); }
.footer-col h5 { color: rgba(245, 240, 228, 0.62); }
/* Secondary/feature CTA was identical to primary (both pine) — make it terracotta for hierarchy */
.btn-amber { background: var(--olive); color: var(--on-accent); }
.btn-amber:hover { background: var(--olive-deep); }
/* Interior page-header glow was warm-beige (invisible on light) — match hero's pine glow */
.page-header::before { background: radial-gradient(circle, rgba(31, 91, 71, 0.10), transparent 70%); }


/* ══════════════════════════════════════════════════════════════════════════
   REFINEMENT LAYER · v2  — site-wide elevation (touches every page)
   Texture & depth · accessibility · motion polish · scroll UI · print
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Brand selection + accent variables ──────────────────────────────────── */
::selection { background: rgba(184, 92, 62, 0.22); color: var(--ink); }
::-moz-selection { background: rgba(184, 92, 62, 0.22); color: var(--ink); }

/* ── Paper grain: a faint manuscript-vellum texture over the bone page.
   On-brand for a "considered / illuminated" identity; near-invisible but
   removes the flat digital feel. Sits behind content, ignores pointer. ──── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

/* ── Scroll-progress hairline (top of viewport) ──────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--ochre), var(--olive));
  z-index: 200; pointer-events: none;
  transition: width 90ms linear;
}

/* ── Skip-to-content (injected) — keyboard & screen-reader users ──────────── */
.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -160%);
  z-index: 300; background: var(--ink); color: var(--sand);
  padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500;
  transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); outline: 2px solid var(--gold-leaf-soft); outline-offset: 2px; }

/* ── Visible, on-brand keyboard focus everywhere ─────────────────────────── */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}
.roi-range:focus-visible { outline: 2px solid var(--olive); outline-offset: 6px; }

/* ── Account for the fixed nav when jumping to #anchors ───────────────────── */
:target { scroll-margin-top: 96px; }
section[id], header[id] { scroll-margin-top: 88px; }

/* ── Nav links: animated underline that grows from the centre ─────────────── */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 1.5px; background: var(--ochre); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform 260ms var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { background: var(--olive); }

/* ── Buttons: nudge the arrow on hover, deepen the press ──────────────────── */
.btn svg { transition: transform 220ms var(--ease); }
.btn-p:hover svg, .btn-amber:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn-p, .btn-amber { box-shadow: 0 1px 2px rgba(26,38,32,0.12); }

/* ── Cards: a touch more depth & a warmer lift on hover ───────────────────── */
.aud, .module, .feature, .post-card { will-change: transform; }
.module:hover, .post-card:hover { box-shadow: var(--shadow-lift); }
.aud::before, .module::before { transition: opacity 280ms var(--ease); }

/* ── Section ornament: gentle breathing of the centre dot ─────────────────── */
.ornament svg circle:first-of-type { transform-origin: 110px 7px; animation: ornPulse 5.5s var(--ease) infinite; }
@keyframes ornPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── Gauge ring: subtle glow so the gold-leaf score reads as the focal point ─ */
.gauge .g-prog { filter: drop-shadow(0 0 3px rgba(31, 91, 71, 0.28)); }

/* ── Hero card: lift slightly toward the cursor for tactile depth ─────────── */
.hero-card { transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ── Back-to-top (injected) ──────────────────────────────────────────────── */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease), visibility 280ms var(--ease), background 200ms var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--ochre-deep); transform: translateY(-2px) scale(1.04); }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* ── Lazy images decode smoothly ─────────────────────────────────────────── */
img { image-rendering: auto; }

/* ── Honour reduced-motion across all the new motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
  .ornament svg circle:first-of-type { animation: none; }
  .nav-links a::after { transition: none; }
  .btn svg, .hero-card, .to-top { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Print: clean, ink-saving blog articles ───────────────────────────────── */
@media print {
  nav.navbar, .mobile-menu, .scroll-progress, .to-top, .site-footer,
  .hero-atmos, .skip-link, .final-cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  body::before { display: none; }
  .article-body { padding: 0; }
  .article-body .article-prose { max-width: none; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ══════════════════════════════════════════════════════════════════════════
   PALETTE ENRICHMENT · v3 — the "four pigments" treatment
   Promotes gold-leaf to a restrained third accent (manuscript-true), deepens
   the two existing accents, and adds tonal depth. Hue identity unchanged.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --gold-leaf: #C2933D;        /* gold-leaf — focal accent (richer than the old C9A24E) */
  --gold-leaf-soft: #E0B458;   /* gold on dark surfaces */
  --gold-leaf-deep: #8A6420;   /* antique gold — text on bone, AA-safe (5:1) */
  --gold-tint: rgba(194, 147, 61, 0.13);
  --pine-bright: #25785C;      /* lighter pine for gradient tops */
  --terra-bright: #C9694A;     /* lifted terracotta for gradient tops */
}

/* ── Eyebrow rule → gold-leaf hairline (warm thread between sections) ──────── */
.eyebrow::before { background: var(--gold-leaf); width: 22px; height: 1.5px; }
.eyebrow { color: var(--umber); }           /* was umber-soft — a touch more presence */

/* ── Candidate gauge → gold-leaf score ring (the README's original intent) ── */
.gauge .g-prog { stroke: #AE7E26; filter: drop-shadow(0 0 4px rgba(174,126,38,0.42)); }
.gauge .g-num { color: var(--gold-leaf-deep); }

/* ── Section ornament → gold lines, terracotta margin-dot (two-tone) ──────── */
.ornament svg line { stroke: var(--gold-leaf) !important; }
.ornament svg circle:first-of-type { fill: var(--olive) !important; }   /* centre margin mark */
.ornament svg circle:last-of-type  { stroke: var(--gold-leaf) !important; }

/* ── Hero card top hairline → gold (was pine) ─────────────────────────────── */
.hero-card::before { background: linear-gradient(90deg, transparent, var(--gold-leaf), transparent); }

/* ── Primary buttons → subtle pine tonal gradient + warmer shadow ─────────── */
.btn-p, .nav-cta { background: linear-gradient(180deg, var(--pine-bright) 0%, var(--ochre) 55%, var(--ochre-deep) 100%); }
.btn-p:hover, .nav-cta:hover { background: linear-gradient(180deg, var(--ochre) 0%, var(--ochre-deep) 100%); box-shadow: 0 10px 26px rgba(31,91,71,0.30); }
.btn-amber { background: linear-gradient(180deg, var(--terra-bright) 0%, var(--olive) 60%, var(--olive-deep) 100%); }
.btn-amber:hover { background: linear-gradient(180deg, var(--olive) 0%, var(--olive-deep) 100%); }

/* ── Audience cards → the four manuscript pigments, with gradient depth ────── */
.audience-grid .aud::before { height: 3px; }
.audience-grid .aud:nth-child(1)::before { background: linear-gradient(90deg, var(--ochre), var(--pine-bright)); }       /* pine   */
.audience-grid .aud:nth-child(2)::before { background: linear-gradient(90deg, var(--gold-leaf-deep), var(--gold-leaf)); } /* gold   */
.audience-grid .aud:nth-child(3)::before { background: linear-gradient(90deg, var(--olive-deep), var(--terra-bright)); } /* terra  */
.audience-grid .aud:nth-child(4)::before { background: linear-gradient(90deg, var(--ink), #2E4138); }                   /* ink    */
.audience-grid .aud:nth-child(2) .aud-tag { color: var(--gold-leaf-deep); }

/* ── Pillars → rotate the three big numerals through the three pigments ────── */
.pillars-grid .pillar:nth-child(1) .pillar-num { color: var(--ochre); }
.pillars-grid .pillar:nth-child(2) .pillar-num { color: var(--olive); }
.pillars-grid .pillar:nth-child(3) .pillar-num { color: var(--gold-leaf-deep); }

/* ── Module numerals warm to gold; trust-strip accuracy stat → gold ───────── */
.module-num { color: var(--gold-leaf-deep); opacity: 1; }
.stat-num.warm { color: var(--gold-leaf-deep); }

/* ── Compliance quote rule + testimonial mark pick up the gold thread ─────── */
.compliance-quote { border-left-color: var(--gold-leaf); }
.testimonial blockquote::before { color: var(--gold-leaf); }

/* ── Avatars: pine→gold tonal sweep for a leafed, dimensional feel ────────── */
.candidate-avatar { background: linear-gradient(135deg, var(--ochre) 0%, var(--gold-leaf-deep) 120%); }
.testimonial-avatar { background: linear-gradient(135deg, var(--olive) 0%, var(--gold-leaf-deep) 130%); }

/* ── Hero atmosphere → add a faint third gold glow for depth ──────────────── */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.hero::after { background: radial-gradient(circle, rgba(194,147,61,0.12), transparent 70%) !important; }

/* ── ROI calculator: result figure → gold; secondary keeps terracotta ─────── */
.roi-num { color: var(--gold-leaf-deep); }
.roi-num.warm { color: var(--olive); }
.roi-bar.auto .bar { background: linear-gradient(180deg, var(--pine-bright), var(--ochre)); }

/* ── FAQ + links keep deep pine; just deepen the warm underline thread ────── */
:root { --border-warm: rgba(194, 147, 61, 0.40); }

@media (prefers-reduced-motion: reduce) {
  .gauge .g-prog { filter: none; }
}


/* ── Consistency addendum — propagate the palette to page-specific elements ── */

/* Comparison table (products): make strengths read pine, gaps de-emphasised.
   Previously .yes/.no had no colour at all — the table read flat. */
.compare td.yes { color: var(--ochre-deep); font-weight: 600; }
.compare td.no  { color: var(--umber-mute); }
.compare .col-us.yes { color: var(--ochre-deep); }   /* keep pine even inside the highlighted column */

/* Four-pillar grids (e.g. services) complete the full four-pigment sweep:
   pine → terracotta → gold → ink, instead of repeating pine on the 4th. */
.pillars-grid .pillar:nth-child(4) .pillar-num { color: var(--ink); }


/* ══════════════════════════════════════════════════════════════════════════
   INTERACTION & COLOUR TOUCHES · v4  (motion + colour only — no content change)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Nav underline → gold leaf, wiping in from the left ───────────────────── */
.nav-links a::after { background: var(--gold-leaf); transform-origin: left; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { background: var(--gold-leaf); transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

/* ── Section ornament → gold lines sweep outward from the centre on scroll-in ─ */
html.js .ornament svg line { transform-box: fill-box; transition: transform 0.85s var(--ease); }
html.js .ornament:not(.swept) svg line { transform: scaleX(0); }
.ornament svg line:first-of-type { transform-origin: right; }
.ornament svg line:last-of-type  { transform-origin: left; }

/* ── Module cards → hover tints in each card's own pigment ────────────────── */
.modules-grid .module { transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease); }
.modules-grid .module:nth-child(1):hover,
.modules-grid .module:nth-child(4):hover { background: #F2F6F3; border-color: rgba(31,91,71,0.38); }
.modules-grid .module:nth-child(2):hover,
.modules-grid .module:nth-child(5):hover { background: #FAF1EC; border-color: rgba(184,92,62,0.40); }
.modules-grid .module:nth-child(3):hover { background: #FBF5E7; border-color: rgba(138,100,32,0.45); }

/* ── Comparison table → hover lights the whole CognitoHire cell in pine ───── */
.compare tbody tr { transition: background 160ms var(--ease); }
.compare tbody tr:hover th,
.compare tbody tr:hover td { background: rgba(31, 91, 71, 0.045); }
.compare tbody tr:hover .col-us { background: rgba(31, 91, 71, 0.13); }

/* ── ROI slider → gold focus ring on the thumb while dragging ─────────────── */
.roi-range:active::-webkit-slider-thumb,
.roi-range:focus-visible::-webkit-slider-thumb { box-shadow: var(--shadow-soft), 0 0 0 6px rgba(194,147,61,0.28); }
.roi-range:active::-moz-range-thumb,
.roi-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(194,147,61,0.28); }

/* ── Footer → warm three-pigment hairline along the top edge ──────────────── */
footer.site-footer { position: relative; }
footer.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--ochre), var(--gold-leaf) 50%, var(--olive)); opacity: 0.92; }

/* ── Honour reduced-motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html.js .ornament:not(.swept) svg line { transform: none; }
  html.js .ornament svg line { transition: none; }
}


/* ── Brand mark (ornate CS monogram) alignment in lockups ─────────────────── */
.nav-brand .brand-mark, .footer-brand .footer-mark { display: block; flex-shrink: 0; }
.nav-brand .brand-mark { transition: transform 300ms var(--ease); }
.nav-brand:hover .brand-mark { transform: translateY(-1px) rotate(-1deg); }

/* ═══ v5.9.2 UI polish — additive, low-risk enhancements ═══════════════════ */

/* Primary button: richer pine→gold-deep gradient + warmer focal lift */
.btn-p {
  background: linear-gradient(135deg, var(--pine-bright) 0%, var(--ochre) 55%, var(--ochre-deep) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 4px 14px rgba(31,91,71,0.18);
}
.btn-p:hover {
  background: linear-gradient(135deg, var(--ochre) 0%, var(--ochre-deep) 100%);
  box-shadow: 0 12px 30px rgba(31,91,71,0.32);
  transform: translateY(-2px);
}

/* Module cards: gold-leaf top hairline on hover — quiet, premium signal */
.modules-grid .module { overflow: hidden; }
.modules-grid .module::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-leaf) 0%, var(--terra-bright) 100%);
  transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease);
}
.modules-grid .module:hover::before { transform: scaleX(1); }
.modules-grid .module:hover { border-color: color-mix(in srgb, var(--gold-leaf) 35%, var(--border)); }

/* Compliance badges: pill treatment with subtle pine tint for legibility + polish */
.compliance-badge {
  padding: 5px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--ochre) 7%, var(--sand-light));
  border: 0.5px solid color-mix(in srgb, var(--ochre) 18%, transparent);
  color: var(--ochre-deep);
}
.compliance-badge.muted {
  background: transparent; color: var(--umber-mute);
  border-color: color-mix(in srgb, var(--umber-mute) 30%, transparent);
}

/* Hero gauge number: gold-leaf focal for a touch more warmth */
.hero-card .g-num { color: var(--ochre-deep); }

/* Smooth focus-visible ring for keyboard users (a11y polish) */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold-leaf); outline-offset: 2px; border-radius: 6px;
}

/* ═══ v5.9.2 brand + UI enhancement pass ══════════════════════════════════ */

/* Larger, more confident nav lockup */
.nav-brand { gap: 13px; }
.brand-mark { width: auto !important; height: 46px !important; }
.brand-wordmark { font-size: 25px; font-weight: 600; }
.brand-tagline { font-size: 10px; letter-spacing: 0.16em; color: var(--umber-soft); margin-top: 3px; }
.nav-inner { padding-top: 16px; padding-bottom: 16px; }

/* Footer lockup scaled to match */
.footer-mark { width: auto !important; height: 46px !important; }
.footer-brand .brand-wordmark { font-size: 25px; }
.footer-brand .brand-tagline { font-size: 10px; letter-spacing: 0.16em; }

/* Buttons — refined: gradient, generous hit area, smooth lift */
.btn { padding: 14px 26px; border-radius: 12px; font-weight: 600; letter-spacing: 0.005em;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease); }
.btn-p, .btn-amber, .nav-cta {
  background: linear-gradient(135deg, var(--pine-bright) 0%, var(--ochre) 52%, var(--ochre-deep) 100%);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 4px 14px rgba(31,91,71,0.18); }
.btn-p:hover, .btn-amber:hover, .nav-cta:hover {
  background: linear-gradient(135deg, var(--ochre) 0%, var(--ochre-deep) 100%);
  box-shadow: 0 12px 30px rgba(31,91,71,0.30); transform: translateY(-2px); }
.nav-cta { padding: 11px 20px; border-radius: 10px; font-size: 13.5px; }
.btn-s { border-width: 1px; border-radius: 12px; }
.btn-s:hover { background: rgba(31,91,71,0.05); border-color: var(--ochre); transform: translateY(-1px); }

/* Typography — a touch larger & airier for executive readability */
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero .lead { font-size: 1.25rem; line-height: 1.45; }
.hero .sub { font-size: 16px; line-height: 1.7; max-width: 56ch; }
h2 { letter-spacing: -0.02em; }
.lead { line-height: 1.55; }

/* Theme-colour accents — gold-leaf focal touches */
.eyebrow { color: var(--ochre-deep); letter-spacing: 0.16em; }
.italic-ochre { color: var(--ochre); font-style: italic; }
section .lead .sage, .italic-gold { color: var(--gold-leaf); }

/* Cards & surfaces — slightly deeper lift for hierarchy */
.module:hover, .surface:hover, .pillar:hover { box-shadow: 0 14px 36px rgba(26,38,32,0.10); }

/* Focus-visible ring (a11y) */
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid var(--gold-leaf); outline-offset: 2px; border-radius: 8px; }

/* Mobile: keep the bigger lockup tidy */
@media (max-width: 640px) {
  .brand-mark { height: 40px !important; }
  .brand-wordmark { font-size: 21px; }
  .brand-tagline { font-size: 9px; }
}

/* Hero brand quote */
.hero-quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem;
  line-height: 1.3; color: var(--ochre); margin: 4px 0 16px; max-width: 22ch; }
.hero-quote .q-accent { color: var(--olive); }

/* ═══ v5.9.2 final brand polish — Fraunces wordmark + tracked tagline ══════ */

/* Wordmark: lean into the high-contrast Fraunces serif (Playfair-class), refined */
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}
.brand-wordmark .sage { font-style: italic; }

/* Tagline: wide-tracked small caps in pine — matches the concept lockup */
.brand-tagline {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ochre-deep);
  margin-top: 4px;
}
.footer-brand .brand-tagline { color: var(--gold-leaf); }

/* Section + hero headlines: full Fraunces display weight for editorial elegance */
.hero h1, h2 { font-variation-settings: "opsz" 144; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════════════
   v5.9.2 — "10/10" refinement pass: optical type, colour depth, motion, polish
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Optical sizing: dramatic display at large sizes, sturdy at small ──────── */
.hero h1            { font-variation-settings: "opsz" 144, "wght" 480; }
h2                  { font-variation-settings: "opsz" 110, "wght" 500; }
h3, .aud h4         { font-variation-settings: "opsz" 60,  "wght" 540; }
.brand-wordmark     { font-variation-settings: "opsz" 38,  "wght" 600; }  /* sturdier strokes at 25px */
.footer-brand .brand-wordmark { font-variation-settings: "opsz" 40, "wght" 600; }
.candidate-name, .stat-num    { font-variation-settings: "opsz" 48, "wght" 540; }

/* ── Refined links: gold underline reveal ─────────────────────────────────── */
.nav-links a { position: relative; }
.nav-links a::after { content:""; position:absolute; left:12px; right:12px; bottom:4px; height:1.5px;
  background: var(--gold-leaf); transform: scaleX(0); transform-origin:left; transition: transform 200ms var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { background: transparent; color: var(--ink); }

/* ── Buttons: deeper, more tactile ────────────────────────────────────────── */
.btn { font-variation-settings: "wght" 600; }
.btn-p, .btn-amber, .nav-cta {
  background: linear-gradient(135deg, var(--pine-bright) 0%, var(--ochre) 50%, var(--ochre-deep) 100%);
  background-size: 160% 160%; background-position: 0% 0%;
  transition: background-position 320ms var(--ease), box-shadow 240ms var(--ease), transform 200ms var(--ease); }
.btn-p:hover, .btn-amber:hover, .nav-cta:hover {
  background-position: 100% 100%;
  box-shadow: 0 14px 34px rgba(31,91,71,0.32), 0 1px 0 rgba(255,255,255,0.12) inset;
  transform: translateY(-2px); }
.btn-p:active, .nav-cta:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(31,91,71,0.24); }

/* ── Colour depth: subtle warm gradient on the page + section rhythm ──────── */
body { background:
  radial-gradient(1200px 500px at 80% -10%, rgba(194,147,61,0.05), transparent 60%),
  radial-gradient(900px 480px at -10% 8%, rgba(31,91,71,0.045), transparent 55%),
  var(--sand); }
.section.alt, section.alt { background: linear-gradient(180deg, var(--sand-light), var(--sand)); }

/* ── Cards & surfaces: gold-leaf edge on hover, softer rest state ─────────── */
.module, .surface, .pillar, .aud, .feature, .hero-card {
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease); }
.module:hover, .surface:hover, .pillar:hover, .aud:hover, .feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(26,38,32,0.12);
  border-color: color-mix(in srgb, var(--gold-leaf) 30%, var(--border)); }

/* ── Eyebrows / labels: confident gold-deep, generous tracking ────────────── */
.eyebrow, .aud-tag, .feature-audience, .trust-label, .reason-label {
  color: var(--ochre-deep); letter-spacing: 0.16em; }

/* ── Hero quote: a touch more presence ────────────────────────────────────── */
.hero-quote { font-variation-settings: "opsz" 72, "wght" 460; font-size: 1.6rem; }

/* ── Selection + scrollbar in brand colours ───────────────────────────────── */
::selection { background: rgba(194,147,61,0.28); color: var(--ink); }
html { scroll-behavior: smooth; }

/* ── Reduced-motion respect (a11y) ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ═══ v5.9.2 interactivity + finish pass ══════════════════════════════════ */

/* Scroll progress bar (element injected by JS) */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--ochre), var(--gold-leaf) 70%, var(--gold-leaf-soft));
  z-index: 200; transition: width 90ms linear; box-shadow: 0 0 10px rgba(194,147,61,0.5); }

/* Nav shrink on scroll (smooth) */
.nav-inner { transition: padding 240ms var(--ease); }
.brand-mark, .footer-mark { transition: height 240ms var(--ease); }
nav.navbar.scrolled .nav-inner { padding-top: 9px; padding-bottom: 9px; }
nav.navbar.scrolled .brand-mark { height: 38px !important; }
nav.navbar.scrolled .brand-tagline { opacity: 0.85; }

/* Gold-on-dark CTA band (the premium beat) */
.final-cta { position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ochre-deep) 0%, var(--ink) 100%); }
.final-cta::before { content:""; position:absolute; inset:0;
  background: radial-gradient(620px 320px at 50% -10%, rgba(194,147,61,0.18), transparent 65%); pointer-events:none; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta .eyebrow { color: var(--gold-leaf-soft); }
.final-cta h2 { color: var(--sand); }
.final-cta h2 .italic-ochre { color: var(--gold-leaf-soft); }
.final-cta p { color: rgba(245,240,228,0.78); }
.final-cta .btn-s { color: var(--sand); border-color: rgba(245,240,228,0.4); }
.final-cta .btn-s:hover { border-color: var(--gold-leaf); color: var(--gold-leaf-soft); background: rgba(194,147,61,0.08); }

/* Stat numbers: gold-leaf gradient for emphasis */
.stat-num, .roi-num, .metric-num {
  background: linear-gradient(135deg, var(--ochre) 0%, var(--gold-leaf) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Button shine sweep on hover */
.btn-p, .nav-cta, .btn-amber { position: relative; overflow: hidden; }
.btn-p::after, .nav-cta::after, .btn-amber::after {
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left 520ms var(--ease); }
.btn-p:hover::after, .nav-cta:hover::after, .btn-amber:hover::after { left: 130%; }

/* Hero atmosphere parallax target */
.hero-atmos { will-change: transform; transition: transform 60ms linear; }

/* Contrast: small gold text slightly deeper for legibility */
.aud-tag, .feature-audience, .reason-label, .trust-label, .hero-meta { color: var(--ochre-deep); }

/* Reveal: add a gentle scale for richness */
html.js .reveal { transform: translateY(22px) scale(0.995); }
html.js .reveal.in { transform: translateY(0) scale(1); }

/* Footer column headers — gold-leaf for readable, on-brand contrast */
.footer-col h5 { color: var(--gold-leaf); opacity: 1; }

/* ═══ Option 2 — rich lockup: gold-foil Sage + pine tagline ═══════════════ */
.brand-wordmark .sage, .footer-brand .brand-wordmark .sage {
  background: linear-gradient(180deg, #E0B458 0%, #C2933D 55%, #8A6420 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
}
.brand-tagline { color: var(--ochre-deep); }           /* nav: deep pine */
.footer-brand .brand-tagline { color: var(--gold-leaf); -webkit-text-fill-color: var(--gold-leaf); }

/* ═══════════════════════════════════════════════════════════════════════════
   CognitoHire module colour system — tokens, section accents, footer dots
   ═══════════════════════════════════════════════════════════════════════════ */
:root{
  --mod-ats:#1F5B47; --mod-chat:#4E9D6B; --mod-screen:#C2933D; --mod-trust:#B85C3E; --mod-view:#3F6E73;
}

/* Per-module section accent: eyebrow + italic accent word + rule pick up module colour */
.mod-ats   {--mc:var(--mod-ats);}   .mod-chat  {--mc:var(--mod-chat);}
.mod-screen{--mc:var(--mod-screen);} .mod-trust {--mc:var(--mod-trust);}
.mod-view  {--mc:var(--mod-view);}
.mod-ats .eyebrow, .mod-chat .eyebrow, .mod-screen .eyebrow, .mod-trust .eyebrow, .mod-view .eyebrow { color: var(--mc); }
.mod-ats .eyebrow::before, .mod-chat .eyebrow::before, .mod-screen .eyebrow::before,
.mod-trust .eyebrow::before, .mod-view .eyebrow::before { background: var(--mc); }
.mod-ats h2 .italic-ochre, .mod-chat h2 .italic-ochre, .mod-screen h2 .italic-ochre,
.mod-trust h2 .italic-ochre, .mod-view h2 .italic-ochre { color: var(--mc); }
/* subtle module-tinted top hairline on each module section */
section.mod-ats, section.mod-chat, section.mod-screen, section.mod-trust, section.mod-view { position: relative; }
section.mod-ats::before, section.mod-chat::before, section.mod-screen::before,
section.mod-trust::before, section.mod-view::before {
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--mc), transparent 70%); opacity:.7; }

/* Footer module links — colour-coded dots */
.mod-li{ position:relative; padding-left:16px; --mc:var(--mod-ats); }
.mod-li::before{ content:""; position:absolute; left:0; top:.58em; width:7px; height:7px; border-radius:50%; background:var(--mc); }
.mod-li.mod-ats{--mc:var(--mod-ats);} .mod-li.mod-chat{--mc:var(--mod-chat);} .mod-li.mod-screen{--mc:var(--mod-screen);}
.mod-li.mod-trust{--mc:var(--mod-trust);} .mod-li.mod-view{--mc:var(--mod-view);}

/* Reusable module card + chip (for future product/marketing use) */
.mod-card{ --mc:var(--mod-ats); position:relative; overflow:hidden; background:#fff;
  border:1px solid var(--border); border-left:5px solid var(--mc); border-radius:14px; padding:22px 24px;
  transition:transform .25s, box-shadow .25s; }
.mod-card::after{ content:""; position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .3s;
  background:radial-gradient(420px 170px at 0% 0%, color-mix(in srgb, var(--mc) 16%, transparent), transparent 62%); }
.mod-card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px color-mix(in srgb, var(--mc) 22%, rgba(26,38,32,.12)); }
.mod-card:hover::after{ opacity:1; }
.mod-card.ats{--mc:var(--mod-ats);} .mod-card.chat{--mc:var(--mod-chat);} .mod-card.screen{--mc:var(--mod-screen);}
.mod-card.trust{--mc:var(--mod-trust);} .mod-card.view{--mc:var(--mod-view);}
.mod-chip{ --mc:var(--mod-ats); display:inline-flex; align-items:center; gap:7px; padding:4px 12px; border-radius:999px;
  font-size:12px; font-weight:600; color:var(--mc); background:color-mix(in srgb, var(--mc) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--mc) 32%, transparent); }
.mod-chip::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--mc); }
.mod-chip.chat{--mc:var(--mod-chat);} .mod-chip.screen{--mc:var(--mod-screen);} .mod-chip.trust{--mc:var(--mod-trust);} .mod-chip.view{--mc:var(--mod-view);}

/* Module icon badge on products module sections */
.mod-mark{ display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px;
  border-radius:12px; background:var(--mc, var(--ochre)); color:#fff; margin-bottom:14px; }

/* Homepage module cards — colour-coded per module */
.module.mod-ats{--mc:var(--mod-ats);} .module.mod-chat{--mc:var(--mod-chat);}
.module.mod-screen{--mc:var(--mod-screen);} .module.mod-trust{--mc:var(--mod-trust);} .module.mod-view{--mc:var(--mod-view);}
.module.mod-ats .module-icon,.module.mod-chat .module-icon,.module.mod-screen .module-icon,.module.mod-trust .module-icon,.module.mod-view .module-icon{
  background: color-mix(in srgb, var(--mc) 13%, transparent); color: var(--mc); }
.module.mod-ats .module-tag,.module.mod-chat .module-tag,.module.mod-screen .module-tag,.module.mod-trust .module-tag,.module.mod-view .module-tag{ color: var(--mc); }
.module.mod-ats .module-num,.module.mod-chat .module-num,.module.mod-screen .module-num,.module.mod-trust .module-num,.module.mod-view .module-num{ color: var(--mc); opacity:.9; }
.module.mod-ats::before,.module.mod-chat::before,.module.mod-screen::before,.module.mod-trust::before,.module.mod-view::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background:var(--mc); }
.module.mod-ats:hover,.module.mod-chat:hover,.module.mod-screen:hover,.module.mod-trust:hover,.module.mod-view:hover{
  box-shadow:0 16px 40px color-mix(in srgb, var(--mc) 20%, rgba(26,38,32,.12)); border-color: color-mix(in srgb, var(--mc) 35%, var(--border)); }

/* Skip-to-content link (a11y) — visible on keyboard focus */
.skip-link{ position:absolute; left:-9999px; top:0; z-index:300; background:var(--pine, #1F5B47); color:#fff;
  padding:10px 16px; border-radius:0 0 8px 0; font-size:14px; font-weight:600; text-decoration:none; }
.skip-link:focus{ left:0; outline:2px solid var(--gold-leaf, #C2933D); outline-offset:2px; }
#main{ scroll-margin-top:90px; }

/* CTA primary button — gold on the dark band so the main action pops */
.final-cta .btn-p {
  background: linear-gradient(135deg, var(--gold-leaf-soft) 0%, var(--gold-leaf) 100%);
  color: var(--ink);
  border: none;
}
.final-cta .btn-p:hover {
  background: linear-gradient(135deg, var(--gold-leaf) 0%, var(--gold-leaf-deep) 100%);
  box-shadow: 0 14px 34px rgba(194,147,61,0.38), 0 1px 0 rgba(255,255,255,0.15) inset;
  color: var(--ink);
  transform: translateY(-2px);
}
.final-cta .btn-p svg { stroke: var(--ink); }

/* ══════════════════════════════════════════════════════════════════════════
   v5.10 — refinement polish (additive, progressive enhancement)
   ══════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4 { text-wrap: balance; }      /* even, considered headline breaks */
.lead, p, li, blockquote { text-wrap: pretty; }  /* no single-word orphans */
