
  /* ============================================================
     ARCTURUS LABS - Institutional agency site
     Fonts: Instrument Serif (display) · Inter / Inter Display (body)
     ============================================================ */

  :root {
    --bg:           #FAFAF8;
    --bg-pure:      #FFFFFF;
    --ink:          #0E1116;
    --ink-2:        #3A3F47;
    --ink-3:        #6B7280;
    --rule:         #E6E4DE;
    --band:         #F4F2ED;
    --rule-strong:  #D9D6CE;
    --accent:       #16243B;
    --accent-2:     #0F1A2C;
    --hero-overlay: linear-gradient(180deg, rgba(8,12,20,0.0) 0%, rgba(8,12,20,0.0) 100%);
    --max:          1100px;

    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --sans:  'Inter', 'Inter Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  ::selection { background: var(--accent); color: #fff; }

  a { color: inherit; text-decoration: none; }

  .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ---------- Typography ---------- */
  .eyebrow {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
  .eyebrow-light { color: rgba(255,255,255,0.78); }

  h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--ink);
  }
  h1 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -0.02em; }
  h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.015em; line-height: 1.08; }

  /* rhythm after eyebrow removal: every section h2 gets breathing room */
  section h2 { margin: 0 0 10px; }
  section .lede { margin: 0 0 8px; }
  .who-grid h2, .start-copy h2 { margin-bottom: 18px; }
  h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }

  .lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    font-weight: 400;
  }

  p { color: var(--ink-2); }
  p + p { margin-top: 18px; }
  footer p + p { margin-top: 2px; }

  /* ---------- Nav ---------- */
  .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: transparent;
    border-bottom: none;
  }
  .nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .brand {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: -0.01em;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
  }
  .nav-links a {
    font-size: 14px;
    font-weight: 450;
    color: var(--ink-2);
    transition: color .15s ease;
  }
  .nav-links a:hover { color: var(--ink); }

  .btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 11px 20px;
    border-radius: 4px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, border-color .15s ease;
  }
  .btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
  .btn-light {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
  }
  .btn-light:hover { background: rgba(255,255,255,0.9); color: var(--ink); }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #0B0F16;
    background-image: url('/hero.jpg');
    background-size: cover;
    background-position: center 40%;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
    pointer-events: auto;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 96px 32px 96px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .hero .eyebrow { color: rgba(255,255,255,0.82); margin-bottom: 28px; }
  .hero h1 { margin-top: 12px; 
    color: #fff;
    max-width: 14ch;
    margin-bottom: 28px;
  }
  .hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: 19px;
    line-height: 1.55;
    max-width: 46ch;
    margin-bottom: 40px;
    font-weight: 400;
  }
  .hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-foot {
    margin-top: 18px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    letter-spacing: 0.01em;
  }

  /* ---------- Section base ---------- */
  section { padding: 80px 0; }
  .section-head { max-width: 760px; margin-bottom: 40px; }
  .section-head h2 { margin-bottom: 0; }
  .section-head .lede { margin-top: 18px; }

  /* faq: dropdowns left, illustration right of them */
  .faq-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .faq-layout .faq { max-width: none; }
  .faq-layout .section-art { position: static; }
  .faq-layout .section-art img { width: 100%; height: auto; display: block; }
  .section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 48px;
  }
  .section-grid .section-copy { max-width: 560px; }
  .section-grid .section-copy .eyebrow { display: block; margin-bottom: 14px; }
  .section-grid .section-copy h2 { margin-bottom: 0; }
  .section-grid .section-copy .lede { margin-top: 20px; }
  .section-grid .section-art img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ---------- Hero ticker ribbon ---------- */
  .hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    overflow: hidden;
    contain: paint;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.65);
    padding: 18px 0;
    white-space: nowrap;
  }
  .ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    animation: tickerScroll 30s linear infinite;
    will-change: transform;
  }
  .ticker-track span:not(.dot) {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .ticker-track .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    flex-shrink: 0;
  }
  @keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .hero-ticker:hover .ticker-track {
    animation-play-state: paused;
  }

  /* ---------- Two-column prose ---------- */
  .prose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
  .prose-grid .col p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
  .prose-grid .col p:first-child { color: var(--ink); font-size: 18px; }

  /* ---------- Dark band ---------- */
  .approach {
    background: var(--accent);
    color: #fff;
  }
  .approach h2 { color: #fff; }
  .approach .eyebrow { color: rgba(255,255,255,0.6); }
  .approach .lede, .approach p { color: rgba(255,255,255,0.78); }
  .approach .prose-grid .col p:first-child { color: #fff; }

  /* ---------- How it works ---------- */
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 8px;
  }
  .step {
    border-top: 1px solid var(--rule-strong);
    padding-top: 24px;
  }
  .approach .step { border-top-color: rgba(255,255,255,0.25); }
  .step-num {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--ink-3);
    margin-bottom: 14px;
    display: block;
  }
  .approach .step-num { color: rgba(255,255,255,0.55); }
  .step h3 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin-bottom: 10px;
    text-transform: none;
  }
  .approach .step h3 { color: #fff; }
  .step p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-3);
  }
  .approach .step p { color: rgba(255,255,255,0.68); }

  /* ---------- What we run cards ---------- */
  .cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
  /* 5 cards: top row of 3, bottom pair centered under it */
  .cards .card, .cards a.card-link { grid-column: span 2; }
  .cards .card:nth-child(4) { grid-column: 2 / span 2; }
  .card {
    background: var(--bg-pure);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 36px 32px;
    transition: border-color .2s ease, transform .2s ease;
    display: flex;
    flex-direction: column;
  }
  .card:hover { border-color: var(--rule-strong); }
  a.card-link { text-decoration: none; cursor: pointer; display: flex; flex-direction: column; }
  a.card-link:hover { border-color: var(--ink); }
  a.card-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
  .card h3 {
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 16px; }
  .card .metric {
    display: block;
    margin-top: auto;
    /* fixed 2-line reserve: 14px pad + 2 x 20px lines = 54px, so every
       divider sits at the same offset from the card bottom regardless of wrap */
    min-height: 54px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink-3);
  }

  /* ---------- Data table ---------- */
  .data-table-wrap { overflow-x: auto; margin-top: 8px; }
  .data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-pure);
    border: 1px solid var(--rule);
    font-size: 15px;
  }
  .data-table th {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    text-align: left;
    padding: 12px 18px;
    border-bottom: 1px solid var(--rule-strong);
    font-weight: 500;
  }
  .data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--rule);
    color: var(--ink-2);
  }
  .data-table tr:last-child td { border-bottom: none; }
  .data-table .metric-col { color: var(--ink); font-weight: 500; }
  .data-table .observed-col { color: var(--ink); font-weight: 600; }
  .table-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--ink-3);
  }

  /* ---------- FAQ ---------- */
  .faq {
    max-width: 760px;
  }
  .faq details {
    border-bottom: 1px solid var(--rule);
  }
  .faq details:first-child { border-top: 1px solid var(--rule); }
  .faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink);
    transition: color .15s ease;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary:hover { color: var(--accent); }
  .faq summary .chev {
    flex-shrink: 0;
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink-3);
    transition: transform .2s ease;
  }
  .faq details[open] summary .chev { transform: rotate(45deg); }
  .faq details p {
    padding: 0 0 24px;
    max-width: 62ch;
    font-size: 15.5px;
    line-height: 1.65;
  }

  /* ---------- Team / advisors ---------- */
  .team {
    background: var(--bg-pure);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
  }
  .team-grid > * {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 28px 20px;
    min-height: 80px;
  }
  .team-grid .logo-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .team-grid .logo-word { font-size: 22px; color: #9A9A95; }
  .team-grid .logo-word.serif { font-size: 26px; }
  .team-grid .logo-name {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ---------- CTA ---------- */
  .cta {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 80px 0;
  }
  .cta h2 {
    color: #fff;
    margin-bottom: 36px;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-foot {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
  }

  /* ---------- Footer ---------- */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--rule);
    padding: 20px 0 8px;
  }
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  .footer-brand { display: flex; align-items: center; }
  .footer-links {
    font-size: 13px;
    color: var(--ink-3);
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
  }
  .footer-links a { color: var(--ink-3); font-size: 13px; font-weight: 450; }
  .footer-links a:hover { color: var(--ink); }
  .footer-copy {
    font-size: 12.5px;
    color: var(--ink-3);
    margin: 16px 0 0;
    text-align: center;
    line-height: 1.4;
  }
  .footer-attr {
    font-size: 12.5px;
    color: var(--ink-3);
    opacity: 0.75;
    margin: 2px 0 0;
    text-align: center;
    line-height: 1.4;
  }
  .footer .footer-copy, .footer .footer-attr { margin-top: 2px; }
  .footer .footer-copy:first-of-type { margin-top: 16px; }
  .footer-attr a { color: var(--ink-3); text-decoration: underline; }
  .footer-attr a:hover { color: var(--ink); }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-links.nav-cta-only { display: flex; }
    .nav-links.nav-cta-only li:not(.nav-cta-li) { display: none; }

    section { padding: 56px 0; }
    .prose-grid { grid-template-columns: 1fr; gap: 36px; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    /* mobile: 5-card layout collapses to full-width stack */
    .cards { grid-template-columns: 1fr; }
    .cards .card, .cards a.card-link { grid-column: auto; }
    .cards .card:nth-child(4) { grid-column: auto; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .section-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
    .section-grid .section-art { max-width: 240px; }
    .faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .faq-layout .section-art { max-width: 240px; }

    .hero { min-height: 82vh; }
    .hero-inner { padding: 80px 28px 72px; }
    .hero-sub { font-size: 17px; }

    .container { padding: 0 24px; }
  }

  @media (max-width: 540px) {
    body { font-size: 16px; }
    .steps { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .hero-inner { padding: 64px 22px 80px; }
    .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
    .hero .eyebrow { font-size: 11px; letter-spacing: 0.14em; }
    .footer-inner { flex-direction: column; align-items: center; }
    .footer-brand { margin-bottom: 14px; }
    .footer-links { justify-content: center; margin-left: 0; gap: 16px; font-size: 12.5px; }
    .footer-links a { font-size: 12.5px; }
    .section-grid .section-art, .faq-layout .section-art { margin-left: auto; margin-right: auto; }
    /* single-column everything that was squeezing */
    .who-grid { grid-template-columns: 1fr; gap: 28px; }
    .who-grid .who-art img { max-width: 180px; }
    .section-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
    h2 { font-size: clamp(26px, 7.4vw, 34px); }
    .lede { font-size: 16.5px; }
    .container { padding: 0 20px; }
    section { padding: 44px 0; }
    .rpt-summary { grid-template-columns: 1fr 1fr; }
    .rpt-stat { border-bottom: 1px solid var(--rule); }
    .jobs-list { grid-template-columns: 1fr; }
    .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .lineage-row { grid-template-columns: 1fr 1fr; }
    .lineage-cell { border-right: 1px solid var(--rule); }
    .lineage-cell:nth-child(2n) { border-right: none; }
    .lineage-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
    .founders-grid { grid-template-columns: 1fr; }
    .report-strip { grid-template-columns: 1fr 1fr; }
    .rs-cell { border-bottom: 1px solid var(--rule); }
    .stat-tie { font-size: 10px; }
    .for-title { font-size: clamp(30px, 8.6vw, 42px); }
  }

  /* short landscape viewports: don't clip the hero */
  @media (max-height: 560px) and (orientation: landscape) {
    .hero { min-height: 0; }
    .hero-inner { padding: 96px 32px 110px; }
  }

  /* accessibility: honor reduced-motion by pausing the ticker */
  @media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    html { scroll-behavior: auto; }
  }

/* ---------- for-X pages: navy hero band, prescription layout ---------- */
.for-header { background: var(--accent); }
.for-header .lede { color: rgba(255,255,255,.82); }
.for-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 24px;
}
.for-title .for-audience {
  font-style: italic;
  font-weight: 400;
  color: var(--rule);
}

/* where-we'd-start: copy left, art right */
.start-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.start-grid .start-copy h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 18px;
}
.start-grid .start-copy p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.start-art img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; gap: 32px; }
  .start-art { max-width: 280px; }
}

/* ---------- Jobs list ---------- */
.jobs-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 8px;
}
.jobs-list .job-group h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.jobs-list ul { list-style: none; padding: 0; margin: 0; }
.jobs-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.jobs-list li:last-child { border-bottom: none; }
.jobs-list li strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .jobs-list { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- index: who-we-serve head art ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.who-grid .who-art img { width: 100%; max-width: 320px; height: auto; display: block; }

@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; gap: 24px; }
  .who-grid .who-art img { max-width: 220px; }
}

/* ---------- nav vertical label (for-X pages) ---------- */
.brand .nav-for {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-3);
  margin-left: 2px;
  white-space: nowrap;
}

/* ---------- nav logo ---------- */
.brand .brand-logo { height: 42.5px; width: auto; display: block; }

/* ---------- subpage nav: navy band, white text + white button ---------- */
.page-nav {
  position: relative;
  z-index: 120;
  background: var(--accent);
  position: relative;
}
.page-nav .nav-links a { color: rgba(255,255,255,.85); }
.page-nav .nav-links a:hover { color: #fff; }
.page-nav .nav-links a[style*="text-decoration: underline"] { color: #fff; }
.page-nav .nav-links a.btn {
  background: #FAFAF8;
  border-color: #FAFAF8;
  color: var(--ink);
}
.page-nav .nav-links a.btn:hover { background: #fff; border-color: #fff; color: var(--accent-2); }
.btn-light:hover { color: var(--accent-2); }
.page-nav .brand .nav-for { color: rgba(255,255,255,.75); }

/* ---------- footer inverted logo ---------- */
.footer-brand .footer-logo { height: 30px; width: auto; display: block; }

/* ---------- legal pages nav ---------- */
.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--rule);
}
.legal-cta {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.legal-cta:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* ---------- index hero nav: transparent over the hero, dark button ---------- */
.hero-nav { background: transparent; }
.hero-nav .nav-links a { color: rgba(255,255,255,.85); }
.hero-nav .nav-links a:hover { color: #fff; }
.hero-nav .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.hero-nav .btn:hover { background: var(--accent-2); border-color: var(--accent-2); }

.stack-mark {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9A9A95;
  opacity: .9;
}


/* ---------- design system: warm band + ledger rows (rogo-style rhythm) ---------- */
.jobs-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 56px;
  border-top: 1px solid var(--rule-strong);
}
.jobs-list .job-group {
  display: contents;
}
.jobs-list .job-group h3 {
  grid-column: 1;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
  align-self: start;
}
.jobs-list .job-group ul {
  grid-column: 2;
  list-style: none;
  padding: 18px 0 26px;
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.jobs-list .job-group ul li {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 7px 0;
}
.jobs-list .job-group ul li strong { color: var(--ink); font-weight: 550; }

@media (max-width: 800px) {
  .jobs-list { grid-template-columns: 1fr; }
  .jobs-list .job-group h3 { padding-bottom: 6px; border-bottom: none; }
  .jobs-list .job-group ul { padding-top: 4px; }
}

/* ---------- design pass: stat-strip cards for steps (rogo lift) ---------- */
#how .steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { #how .steps { grid-template-columns: 1fr; gap: 20px; } }
#how .step {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 26px 26px 24px;
  border-top: 3px solid var(--accent);
}
#how .step-num {
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
#how .step h3 { margin: 0 0 10px; }
#how .step p { margin: 0; font-size: 15.5px; }

/* pull-quote refinement (proof) */
#proof blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

/* ---------- stack line: integrations text callout ---------- */
.stack-line {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 60ch;
}
.stack-line .stack-dot {
  color: var(--ink-3);
  padding: 0 7px;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- stat grid: industry data cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stat-card {
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  padding: 26px 24px 22px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.stat-tie {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.stat-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 0 12px; }
.stat-src { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; display: block; }
.stat-sources { margin-top: 28px; font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 72ch; }
@media (max-width: 1000px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- sample monthly report: a real document ---------- */
.report-mock {
  background: #FFFFFF;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  margin-top: 40px;
  box-shadow: 0 1px 2px rgba(14,17,22,0.05), 0 8px 28px rgba(14,17,22,0.07);
  overflow: hidden;
}
/* letterhead */
.rpt-letterhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 2px solid var(--accent);
}
.rpt-lh-left { display: flex; align-items: center; gap: 14px; }
.rpt-logo { height: 28px; width: auto; display: block; }
.rpt-doc-title { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.rpt-doc-sub { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 2px; }
.rpt-lh-right { text-align: right; }
.rpt-recipient { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.rpt-firm { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink); margin-top: 2px; }
/* summary strip */
.rpt-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.rpt-stat { padding: 20px 24px 16px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 5px; }
.rpt-stat:last-child { border-right: none; }
.rpt-k { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.rpt-v { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.rpt-d { font-family: var(--sans); font-size: 12px; }
.rpt-up { color: #2E6B4F; }
/* systems ledger */
.rpt-table { border-bottom: 1px solid var(--rule); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rpt-thead, .rpt-tr {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 2.2fr 1.2fr;
  gap: 18px;
  align-items: baseline;
  padding: 11px 28px;
}
.rpt-thead {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
  background: var(--band);
}
.rpt-tr { border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.rpt-tr:last-child { border-bottom: none; }
.rpt-td-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.rpt-td-num { font-variant-numeric: tabular-nums; }
.rpt-pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  justify-self: start;
  align-self: center;
}
.rpt-pill-live { background: rgba(46,107,79,0.10); color: #2E6B4F; border: 1px solid rgba(46,107,79,0.25); }
.rpt-pill-new { background: rgba(22,36,59,0.06); color: var(--accent); border: 1px solid rgba(22,36,59,0.18); }
/* notes */
.rpt-notes { border-bottom: 1px solid var(--rule); }
.rpt-note { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 14px 28px; }
.rpt-note + .rpt-note { border-top: 1px solid var(--rule); }
.rpt-note-k { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.rpt-note p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
/* covenant footer */
.rpt-signoff {
  border-top: 1px solid var(--rule);
  padding: 16px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rpt-cov-logo { height: 18px; width: auto; display: block; }
.rpt-cov-meta { font-family: var(--sans); font-size: 11px; letter-spacing: 0.03em; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 980px) {
  .rpt-summary { grid-template-columns: repeat(2, 1fr); }
  .rpt-stat { border-bottom: 1px solid var(--rule); }
  .rpt-thead, .rpt-tr { grid-template-columns: 1.1fr 0.9fr 1.6fr; }
  .rpt-thead span:nth-child(4), .rpt-tr .rpt-td-num { display: none; }
  .rpt-letterhead { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rpt-lh-right { text-align: left; }
  .rpt-signoff { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 600px) {
  .rpt-summary { grid-template-columns: 1fr; }
  .rpt-note { grid-template-columns: 1fr; gap: 4px; }
  .rpt-thead, .rpt-tr { grid-template-columns: 1fr 0.9fr; }
  .rpt-thead span:nth-child(3), .rpt-tr span:nth-child(3) { display: none; }
}

/* ---------- per-vertical report strip ---------- */
.report-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg-pure);
  overflow: hidden;
}
.rs-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 16px;
  border-right: 1px solid var(--rule);
}
.rs-cell:last-child { border-right: none; }
.rs-num { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.rs-label { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) { .report-strip { grid-template-columns: repeat(2, 1fr); } .rs-cell { border-bottom: 1px solid var(--rule); } }
@media (max-width: 560px) { .report-strip { grid-template-columns: 1fr; } }

/* ---------- team page: founders grid w/ headshots ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 820px) { .founders-grid { grid-template-columns: 1fr; } }
.founder-card {
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--rule);
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.founder-card:hover .founder-photo { filter: grayscale(0); }
.founder-body { padding: 24px 26px 28px; }
.founder-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.li-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink-3);
  opacity: 0.75;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.li-link:hover { color: var(--accent-2); opacity: 1; }
.li-link svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.founder-role {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 8px 0 14px;
}
.founder-body p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
/* legacy ledger rows (superseded by founders grid) */

/* ---------- lineage: where we come from ---------- */
.lineage-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--bg-pure);
}
.lineage-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 16px 26px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.lineage-cell:last-child { border-right: none; }
.lineage-cell img, .lineage-cell svg {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
  fill: #1a1a1a;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.25s ease;
}
.lineage-cell svg { height: auto; }
.lineage-cell:hover img, .lineage-cell:hover svg { filter: grayscale(0) opacity(1); }
.lineage-cell.no-mark img { display: none; }
.lineage-cell.wordmark img { height: 18px; }
.lineage-cell span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
@media (max-width: 980px) {
  .lineage-row { grid-template-columns: repeat(3, 1fr); }
  .lineage-cell { border-bottom: 1px solid var(--rule); }
  .lineage-cell:nth-child(3n) { border-right: none; }
}
@media (max-width: 560px) {
  .lineage-row { grid-template-columns: repeat(2, 1fr); }
  .lineage-cell { border-right: 1px solid var(--rule); }
  .lineage-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .lineage-cell:nth-child(2n) { border-right: none; }
}

/* ---------- mobile nav: hamburger + drawer ---------- */
.nav-burger {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}
.nav-burger span:nth-child(1) { width: 24px; }
.nav-burger span:nth-child(2) { width: 24px; }
.nav-burger span:nth-child(3) { width: 16px; }
.nav-burger:active span:nth-child(3) { width: 24px; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 340px);
  background: var(--accent);
  z-index: 110;
  padding: 84px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  visibility: hidden;
}
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer li { border-bottom: 1px solid rgba(255,255,255,0.14); }
.nav-drawer li a {
  display: block;
  padding: 15px 4px;
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.nav-drawer li a:hover { color: #fff; }
.nav-drawer .nav-cta-li { border-bottom: none; margin-top: 18px; }
.nav-drawer .nav-cta-li .btn { width: 100%; text-align: center; display: block; padding: 13px 20px; }
.nav-drawer li a[style*="underline"] { text-decoration: underline !important; }
html.nav-open .nav-drawer { transform: translateX(0); visibility: visible; }
html.nav-open .nav-burger span { width: 24px; }
html.nav-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
html.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
html.nav-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
html.nav-open body { overflow: hidden; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links { display: none !important; }
  .nav-inner { justify-content: space-between; gap: 12px; padding-right: 20px; }
  .hero-nav .nav-burger { color: #fff; }
  .page-nav .nav-burger { color: #fff; }
  /* compact brand lockup: smaller logo, label on its own line if needed */
  .brand { font-size: 18px; flex-shrink: 1; min-width: 0; }
  .brand .brand-logo { height: 32.5px; }
  .brand .nav-for { display: none; }
}

/* ---------- nav backdrop: tap-outside closes ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(11, 15, 22, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
html.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
@media (min-width: 901px) { .nav-backdrop { display: none; } }

/* ---------- tasteful motion: appear-on-scroll, micro-lifts, lineage wipe ---------- */

/* 1. appear-on-scroll (elements reveal once as they enter the viewport) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
/* stagger children that reveal together */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal-stagger.revealed > * { opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; }

/* 3. hover micro-lifts */
.cards .card, .cards a.card-link { transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.cards .card:hover, .cards a.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14,17,22,0.07);
}
.founder-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.founder-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(14,17,22,0.07); }
.stat-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(14,17,22,0.06); }

/* 4. lineage marks wipe in */
.lineage-cell img, .lineage-cell svg {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s ease;
}
.lineage-row.revealed .lineage-cell img,
.lineage-row.revealed .lineage-cell svg { clip-path: inset(0 0 0 0); }
.lineage-row.revealed .lineage-cell:nth-child(2) img, .lineage-row.revealed .lineage-cell:nth-child(2) svg { transition-delay: 0.07s; }
.lineage-row.revealed .lineage-cell:nth-child(3) img, .lineage-row.revealed .lineage-cell:nth-child(3) svg { transition-delay: 0.14s; }
.lineage-row.revealed .lineage-cell:nth-child(4) img, .lineage-row.revealed .lineage-cell:nth-child(4) svg { transition-delay: 0.21s; }
.lineage-row.revealed .lineage-cell:nth-child(5) img, .lineage-row.revealed .lineage-cell:nth-child(5) svg { transition-delay: 0.28s; }
.lineage-row.revealed .lineage-cell:nth-child(6) img, .lineage-row.revealed .lineage-cell:nth-child(6) svg { transition-delay: 0.35s; }

/* report numbers count up (2) */
.rpt-v { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .lineage-cell img, .lineage-cell svg {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
}

/* ---------- hero background video ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; }

/* kill any native paused-video overlay glyph (Safari/webview play button) */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-overlay-play-button,
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-video::media-control-bar { display: none !important; }
