/* krivox.io shared styles. Every page links this one file; it was the inline
   <style> of index.html until the site grew to five pages (2 Nov 2026).
   Pages reference it as /assets/site.css?v=<first 8 hex of its sha256>, which
   the release preflight checks, because /assets/* is cached for a day. */

/* Self-hosted webfonts. These came from fonts.googleapis.com, so text
   could not paint until the browser had resolved DNS and completed a
   TLS handshake with a second origin, and every visitor's IP reached
   Google. The cookie manager does not address that: fonts set no
   cookies, the request itself is the disclosure.
   Google declared fourteen latin faces but served five distinct files.
   Each family is a variable font, which is why 400 through 700 all
   pointed at one file, so each is declared with the weight range it
   already covered. */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400 700;
  font-display:swap;src:url('/assets/fonts/cormorant-garamond.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400 500;
  font-display:swap;src:url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;
  font-display:swap;src:url('/assets/fonts/dm-sans.woff2') format('woff2')}
@font-face{font-family:'DM Sans';font-style:italic;font-weight:400;
  font-display:swap;src:url('/assets/fonts/dm-sans-italic.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;
  font-display:swap;src:url('/assets/fonts/jetbrains-mono.woff2') format('woff2')}

/* ========================================
   CSS RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --kc-z-bar: 10001; --kc-z-panel: 10002; /* shared consent module layers above the nav */
    --bg-primary: #06060a;
    --bg-secondary: #0c0c14;
    --bg-card: #0f0f1a;
    --bg-card-hover: #14142a;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #5a5a6a;
    --accent-blue: #4a7cff;
    --accent-teal: #38d9c5;
    --accent-gradient: linear-gradient(135deg, #4a7cff 0%, #38d9c5 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(74,124,255,0.12) 0%, rgba(56,217,197,0.08) 100%);
    --border-subtle: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1200px;
    --section-padding: clamp(80px, 12vh, 160px);
    --gutter: clamp(24px, 5vw, 80px);
    /* A slide-in reveal must never travel further than the gutter, or it
       pushes the page wider than the screen until it lands. */
    --reveal-shift: min(60px, var(--gutter));
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: rgba(74,124,255,0.3);
    color: var(--text-primary);
}

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

/* ========================================
   GLOBAL UTILITIES
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    display: block;
}

/* Fade-in animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(calc(-1 * var(--reveal-shift)));
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(var(--reveal-shift));
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}
nav.scrolled {
    padding: 14px 0;
    background: rgba(6,6,10,0.75);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo .logo-mark-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-cta {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--bg-primary) !important;
    background: var(--accent-gradient);
    padding: 9px 22px;
    border-radius: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Ambient background glow */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(74,124,255,0.08) 0%, rgba(56,217,197,0.03) 40%, transparent 70%);
    pointer-events: none;
    animation: ambientPulse 8s ease-in-out infinite;
    transform: translateY(calc(var(--scroll, 0px) * -0.5));
    will-change: transform;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,217,197,0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: ambientPulse 10s ease-in-out infinite reverse;
    transform: translateY(calc(var(--scroll, 0px) * -0.8));
    will-change: transform;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent-gradient);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}
.hero h1 em {
    font-style: italic;
    font-weight: 500;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}
.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74,124,255,0.25);
}
.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.btn-arrow {
    transition: transform 0.3s ease;
}
.btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
}
@keyframes scrollBounce {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   METRICS BAR
   ======================================== */
.metrics-bar {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.metric-item {
    text-align: center;
}
.metric-value {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ========================================
   SECTION: THESIS
   ======================================== */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 640px;
}
.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Dual engine cards */
.engine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: 16px;
    overflow: hidden;
}
.engine-card {
    background: var(--bg-card);
    padding: clamp(32px, 4vw, 56px);
    position: relative;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.engine-card:hover {
    background: var(--bg-card-hover);
    box-shadow: inset 0 1px 0 rgba(74,124,255,0.15), 0 0 40px rgba(74,124,255,0.05);
}
.engine-card .engine-number {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.engine-card h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.engine-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.engine-tag {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.engine-tag.cash {
    background: rgba(74,124,255,0.12);
    color: var(--accent-blue);
}
.engine-tag.equity {
    background: rgba(56,217,197,0.12);
    color: var(--accent-teal);
}

/* ========================================
   SECTION: PRODUCT
   ======================================== */
.product-overview {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.product-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2px;
}
.product-visual-inner {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #0d1020 0%, #0a0e1c 50%, #080c18 100%);
    padding: clamp(32px, 4vw, 48px);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Stylized product preview */
.product-mockup {
    position: relative;
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.mockup-dots span:first-child { background: rgba(255,99,99,0.5); }
.mockup-dots span:nth-child(2) { background: rgba(255,199,99,0.5); }
.mockup-dots span:nth-child(3) { background: rgba(99,255,132,0.5); }

.mockup-line {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    opacity: 0.7;
}
.mockup-line.header-line {
    background: var(--accent-gradient);
    width: 60%;
    height: 14px;
    margin-bottom: 20px;
    opacity: 0.6;
}
.mockup-line.text { background: rgba(255,255,255,0.06); }
.mockup-line.text.w80 { width: 80%; }
.mockup-line.text.w65 { width: 65%; }
.mockup-line.text.w90 { width: 90%; }
.mockup-line.text.w45 { width: 45%; }

.mockup-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}
.mockup-mini-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
}
.mockup-mini-card .mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.mockup-mini-card:nth-child(1) .mini-icon { background: rgba(74,124,255,0.2); }
.mockup-mini-card:nth-child(2) .mini-icon { background: rgba(56,217,197,0.2); }
.mockup-mini-card .mini-title {
    height: 8px;
    width: 60%;
    border-radius: 4px;
    background: rgba(255,255,255,0.12);
    margin-bottom: 6px;
}
.mockup-mini-card .mini-text {
    height: 6px;
    width: 80%;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
}

.product-info h3 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
}
.product-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.product-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.feature-item .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(56,217,197,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.feature-item .check svg {
    width: 11px;
    height: 11px;
}

/* ========================================
   SECTION: GEOGRAPHY / EXPANSION
   ======================================== */
.expansion-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 3rem;
    position: relative;
}
.expansion-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-subtle);
    transform: translateY(-50%);
    z-index: 0;
}
.expansion-phase {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}
.expansion-phase:first-child { padding-left: 0; }
.expansion-phase:last-child { padding-right: 0; }

.phase-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}
.phase-node.active {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(74,124,255,0.3);
}
.phase-node.upcoming {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}
.phase-node.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(74,124,255,0.3);
    animation: nodeRing 2s ease-in-out infinite;
}
@keyframes nodeRing {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.phase-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.phase-market {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.phase-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SECTION: FOUNDER
   ======================================== */
.founder-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.founder-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    padding: clamp(32px, 4vw, 56px);
    border-radius: 16px;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    max-width: 1100px;
    margin: 0 auto;
}
.founder-layout:hover {
    background: var(--bg-card-hover);
    box-shadow: inset 0 1px 0 rgba(74,124,255,0.12), 0 0 30px rgba(74,124,255,0.04);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: none;
    flex-shrink: 0;
    padding: 2px;
    background: var(--accent-gradient);
}
.founder-avatar.headshot {
    background: var(--accent-gradient);
}
.founder-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
    padding: 2px;
}
.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    filter: grayscale(10%) contrast(1.05);
    transition: filter 0.5s ease;
}
.founder-avatar:hover .founder-photo {
    filter: grayscale(0%) contrast(1);
}
.founder-avatar::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(74,124,255,0.15);
    pointer-events: none;
    animation: nodeRing 3s ease-in-out infinite;
}

.founder-info .founder-name {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.founder-info .founder-title {
    font-size: 1rem;
    color: var(--accent-teal);
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.founder-info .founder-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 560px;
}
.founder-credentials {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 10px;
    margin-top: 1.5rem;
    justify-content: start;
}
.credential-tag {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* Team member cards */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: 16px;
    overflow: hidden;
    margin: 3rem auto 0;
    max-width: 1100px;
}
.team-card {
    background: var(--bg-card);
    padding: clamp(28px, 3.5vw, 44px);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover {
    background: var(--bg-card-hover);
    box-shadow: inset 0 1px 0 rgba(74,124,255,0.12), 0 0 30px rgba(74,124,255,0.04);
}
.team-card .team-role {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.team-card .team-name {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.team-card .team-credentials {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 8px;
    justify-content: start;
}
.team-card .team-photo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    padding: 2px;
    background: var(--accent-gradient);
}
.team-card .team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    filter: grayscale(15%) contrast(1.05);
    transition: filter 0.5s ease;
}
.team-card:hover .team-photo-wrap img {
    filter: grayscale(0%) contrast(1);
}
.team-card .team-cred-tag {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* ========================================
   SECTION: DUAL CTA (Physicians)
   ======================================== */
.dual-cta {
    background: var(--bg-primary);
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: 16px;
    overflow: hidden;
}
.cta-card {
    background: var(--bg-card);
    padding: clamp(40px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.cta-card:hover {
    background: var(--bg-card-hover);
    box-shadow: inset 0 1px 0 rgba(56,217,197,0.15), 0 0 40px rgba(56,217,197,0.05);
}
.cta-card .cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.cta-card.physician .cta-icon {
    background: rgba(56,217,197,0.1);
}
.cta-card h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cta-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.cta-card .btn {
    align-self: flex-start;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-brand .footer-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-brand .footer-logo .logo-mark-img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}
.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.6;
}
.footer-legal {
    text-align: right;
}
.footer-legal p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.footer-legal a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.footer-legal a:hover {
    color: var(--text-primary);
}

/* ========================================
   MODAL FORMS
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    /* The consent module's bar and panel sit at --kc-z-bar/--kc-z-panel (10001/10002, set in :root) above this overlay; keep them ordered so the panel's buttons never land in the bar strip at 390 px. */
    z-index: 10002;
    background: rgba(4,4,8,0.85);
    backdrop-filter: blur(16px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(32px, 5vw, 48px);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}
.modal-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color 0.25s ease, background 0.25s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(74,124,255,0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5a6a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}
.form-group textarea {
    min-height: 80px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}
/* Success state */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}
.form-success.visible {
    display: block;
}
.form-success .success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(56,217,197,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.form-success p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   3D CARD TILT
   ======================================== */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.15s ease-out;
}
.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.06) 0%, transparent 60%);
    z-index: 2;
}
.tilt-card:hover .tilt-shine {
    opacity: 1;
}

/* ========================================
   PLATFORM CTA — "APERTURE"
   The only route from this site to the product. Frosted slab that
   tilts toward the pointer, with its contents on separate Z planes so
   they drift against each other, and a specular highlight that tracks
   the cursor. Deliberately not named .cta-card: that class is picked up
   by initTiltCards(), which would apply a second, conflicting tilt.
   ======================================== */
.ap-cta-scene { perspective: 1100px; margin-top: 2.25rem; }
.ap-cta {
    position: relative;
    display: block;
    width: 100%;
    padding: 30px 32px 28px;
    border-radius: 18px;
    transform-style: preserve-3d;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(150deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012));
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 26px 60px -30px rgba(0,0,0,0.85),
                inset 0 1px 0 rgba(255,255,255,0.09);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.5s cubic-bezier(0.16,1,0.3,1);
}
.ap-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%),
                rgba(255,255,255,0.10), transparent 62%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ap-cta:hover::after { opacity: 1; }
.ap-cta:hover {
    box-shadow: 0 34px 66px -30px rgba(0,0,0,0.9),
                0 0 0 1px rgba(74,124,255,0.14),
                inset 0 1px 0 rgba(255,255,255,0.12);
}
.ap-cta:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 3px;
}
.ap-cta-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-teal);
    transform: translateZ(26px);
}
.ap-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.4vw, 2.3rem);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 12px 0 0;
    transform: translateZ(52px);
}
.ap-cta-title em {
    font-style: italic;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-cta-sub {
    color: var(--text-secondary);
    font-size: 0.84rem;
    margin: 10px 0 22px;
    transform: translateZ(30px);
}
.ap-cta-go {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateZ(64px);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}
.ap-cta-go .ap-cta-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 8px 22px -6px rgba(74,124,255,0.6);
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.ap-cta:hover .ap-cta-dot { transform: translateX(5px); }
.ap-cta-domain {
    position: absolute;
    right: 30px;
    bottom: 26px;
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    transform: translateZ(18px);
}
@media (max-width: 560px) {
    .ap-cta-domain { position: static; display: block; margin-top: 14px; }
}
/* This site carries no global reduced-motion block, so the CTA states
   its own. The card keeps its depth and stays fully usable; only the
   movement stops. */
@media (prefers-reduced-motion: reduce) {
    .ap-cta,
    .ap-cta::after,
    .ap-cta .ap-cta-dot { transition: none; }
    .ap-cta { transform: none !important; }
}

/* ========================================
   HERO GLOBE
   ======================================== */
/* Anchored to the viewport centre, not the right edge. right:-5% is a
   proportional offset while the hero copy sits in a centred 1200px
   container, so the two drifted apart as the viewport widened -- 704px
   of separation between 1280 and 2560, leaving 310px of dead space and
   only 86% of the globe on screen. Keying both to the same centre holds
   the composition at every width. Same fix as apexopinion.ai 533b3f4,
   which had the identical fault expressed as right:-22vw.
   The -112px is measured, not chosen: the globe's offset from centre at
   1280px, so the width the layout was designed at is reproduced exactly. */
.hero-globe {
    position: absolute;
    left: calc(50% - 112px);
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: min(62vw, 1080px);
    height: min(62vw, 1080px);
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 60px rgba(74,124,255,0.15));
}

@media (max-width: 900px) {
    .hero-globe {
        width: 440px;
        height: 440px;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.4;
    }
}

/* ========================================
   NOISE OVERLAY (subtle grain texture)
   ======================================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6,6,10,0.97);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
    }
    .nav-links.mobile-open a {
        font-size: 1.2rem;
        color: var(--text-primary);
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .engine-grid,
    .product-grid,
    .cta-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card .team-credentials {
        grid-template-columns: repeat(2, auto);
    }

    .product-grid {
        gap: 40px;
    }

    .expansion-track {
        flex-direction: column;
        gap: 32px;
    }
    .expansion-track::before {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 2px;
        height: auto;
        transform: none;
    }
    .expansion-phase {
        padding: 0 0 0 60px;
    }
    .expansion-phase:first-child { padding-left: 60px; }
    .expansion-phase:last-child { padding-right: 0; }
    .phase-node {
        position: absolute;
        left: 0;
        top: 0;
    }

    .founder-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .founder-avatar {
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }
    .founder-info .founder-bio {
        margin: 0 auto;
    }
    .founder-credentials {
        grid-template-columns: repeat(2, auto);
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
    .footer-legal {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        justify-content: center;
        width: 100%;
    }
}

/* ========================================
   CORPORATE SITE (2 Nov 2026)
   Home, About Us, News & Media, Leadership and Contact share the nav,
   footer and these components. Everything below builds on the tokens and
   classes above rather than restyling them.
   ======================================== */

/* Trademark mark in headings and the logo; body copy uses the plain character. */
.tm {
    font-size: 0.45em;
    vertical-align: super;
    line-height: 0;
    margin-left: 0.04em;
    font-weight: 500;
}
.nav-logo .tm { font-size: 0.55em; }

/* Current page in the menu (set by site.js). */
.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--text-primary); }

/* Line breaks that only make sense on a wide screen. */
@media (max-width: 640px) {
    .br-wide { display: none; }
    .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
}

/* A small mono eyebrow with the gradient rule, as in the hero, for use inside sections. */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent-gradient);
}

.section-header-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ---- Home: how the companies fit together ---- */
.group-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}
.group-node {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 44px);
    text-align: center;
}
.group-parent {
    box-shadow: inset 0 1px 0 rgba(74,124,255,0.18), 0 0 40px rgba(74,124,255,0.05);
}
.group-child {
    box-shadow: inset 0 1px 0 rgba(56,217,197,0.18), 0 0 40px rgba(56,217,197,0.05);
}
.group-role {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 0.9rem;
}
.group-node h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}
.group-node p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}
.group-link {
    position: relative;
    z-index: 1;   /* the cards carry reveal transforms, so they would paint over its end dots */
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-teal));
}
.group-link::before,
.group-link::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateX(-50%);
}
.group-link::before { top: -4px; background: var(--accent-blue); box-shadow: 0 0 10px rgba(74,124,255,0.6); }
.group-link::after { bottom: -4px; background: var(--accent-teal); box-shadow: 0 0 10px rgba(56,217,197,0.6); }
.group-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(56,217,197,0.35);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}
.group-go:hover { border-color: var(--accent-teal); }
.group-go:hover .btn-arrow { transform: translateX(3px); }

/* ---- Home: explore links ---- */
.explore-section .section-header { margin-bottom: 2rem; }
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.explore-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 28px 24px;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}
.explore-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.explore-card:focus-visible { outline: 2px solid var(--accent-teal); outline-offset: 3px; }
.explore-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.2;
}
.explore-sub {
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.explore-arrow {
    margin-top: 0.6rem;
    color: var(--accent-teal);
    font-weight: 600;
    transition: transform 0.3s ease;
}
.explore-card:hover .explore-arrow { transform: translateX(4px); }

/* ---- Inner pages: header ---- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(80px + clamp(56px, 10vh, 112px)) 0 clamp(36px, 6vh, 64px);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(74,124,255,0.08) 0%, rgba(56,217,197,0.03) 40%, transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.page-lede {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 660px;
}
.page-hero + .section { padding-top: clamp(24px, 5vh, 56px); }
.section-tight { padding-top: 0; }

/* ---- About Us ---- */
.prose { max-width: 720px; }
.prose h2,
.block-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}
.prose p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.statement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.statement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 48px);
}
.statement-card .label { margin-bottom: 1.25rem; }
.statement-card p {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.35;
    color: var(--text-primary);
}
.feature-item strong { color: var(--text-primary); font-weight: 600; }
.page-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ---- Leadership ---- */
.founder-role,
.team-card .team-role-accent {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 0.6rem;
}
.founder-layout { align-items: start; }
.founder-info .founder-name { margin-bottom: 1rem; }
.leader-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1100px;
    margin: 16px auto 0;
}
.leader-grid .team-card {
    flex: 1 1 300px;
    max-width: calc((100% - 32px) / 3);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}
.team-card .team-bio {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---- News & Media and Contact ---- */
.card-plain {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 44px);
}
.news-empty {
    border-style: dashed;
    border-color: var(--border-hover);
    color: var(--text-secondary);
    font-size: 1rem;
}
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.card-plain .label { margin-bottom: 1.1rem; }
.card-plain p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
}
.email-big {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    overflow-wrap: anywhere;
    border-bottom: 1px solid rgba(56,217,197,0.3);
    transition: border-color 0.3s ease;
}
.email-big:hover { border-color: var(--accent-teal); }
.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.facts div {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 22px 24px;
}
.facts dt {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.facts dd {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.5;
}
.facts dd a { border-bottom: 1px solid rgba(56,217,197,0.3); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.contact-card .email-big { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.contact-meta {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}
.contact-meta .note { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Footer ---- */
.footer-links { margin-top: 10px; }
.footer-disclaimer {
    margin-top: 12px;
    margin-left: auto;
    font-size: 0.65rem !important;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.6 !important;
}
.footer-disclaimer-small {
    margin-top: 8px;
    font-size: 0.6rem !important;
    line-height: 1.5 !important;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .leader-grid .team-card { max-width: calc((100% - 16px) / 2); }
}
@media (max-width: 900px) {
    .explore-grid,
    .statement-grid,
    .press-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr 1fr; }
    .leader-grid .team-card { max-width: 100%; }
    .footer-disclaimer { margin-left: 0; }
}
@media (max-width: 480px) {
    .facts { grid-template-columns: 1fr; }
    .page-links .btn { width: 100%; }
}

/* Section labels used as headings keep the label's weight. */
h2.label, h3.label { font-weight: 500; }
ul.founder-credentials { list-style: none; }
.facts-label { margin: 2.75rem 0 0; }

/* Leadership cards are centred, as in the partner brief; the founder's pills
   size to their text and wrap as a group instead of sitting in a fixed grid. */
.leader-grid .team-card { text-align: center; }
.leader-grid .team-card .team-photo-wrap { margin-left: auto; margin-right: auto; }
.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.credential-tag { white-space: nowrap; }
@media (max-width: 900px) {
    .founder-credentials { justify-content: center; }
}

/* Phone menu. nav carries backdrop-filter, and that makes it the containing
   block for its fixed-position children, so the open menu sized itself to the
   70-80 px bar instead of the screen: the first link sat above the top edge
   and the open menu covered the button, so it could only be left by choosing
   a link (live before Nov 2026 as well). Size it to the viewport explicitly
   and keep the logo and button above it; the button becomes a close icon. */
@media (max-width: 900px) {
    .nav-links.mobile-open {
        bottom: auto;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-primary);   /* a backdrop blur cannot work inside the nav's own, so the page showed through */
    }
    .nav-logo,
    .nav-toggle { position: relative; z-index: 1001; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Clifford, the company dog, has a row of his own below the people, set off
   by a short rule, so no person's card ever sits beside his (owner, 2 Nov 2026). */
.leader-grid-mascot {
    position: relative;
    margin-top: 64px;
    padding-top: 56px;
}
.leader-grid-mascot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 1px;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    opacity: 0.6;
}

/* Reveal states apply only when site.js can run them (the head script sets
   .js and withdraws it if site.js has not arrived within 3 s); without
   JavaScript, and in print, every section is simply visible. */
html:not(.js) .reveal, html:not(.js) .reveal-left,
html:not(.js) .reveal-right, html:not(.js) .reveal-scale { opacity: 1; transform: none; }
@media print {
    .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
    nav#navbar, .noise-overlay, .hero-globe, .scroll-indicator { display: none !important; }
}

/* The inner-page glow ran past the header and was cut off at its bottom edge,
   leaving a hard band. Clip it sideways only and let it fade into the page
   behind the content. */
.page-hero { overflow: visible; overflow-x: clip; }
.page-hero::before { z-index: -1; }

/* Two-line role labels no longer push their names below the neighbours'. */
@media (min-width: 901px) {
    .leader-grid .team-role-accent {
        min-height: 3.2em;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
    .contact-card .label { min-height: 3.2em; }
}

/* Small grey text raised to the secondary tone (about 5.9:1 on the page, was about 3:1). */
.contact-meta .note,
.facts dt,
.footer-disclaimer { color: var(--text-secondary); }
