/* ===========================================================================
   TTGI Private Investor Briefing — visual system
   Colour + type tokens transcribed from the source deck.
   =========================================================================== */

:root {
    --bg: #000b14;
    --tint-purple: rgba(27, 21, 73, 0.30);
    --tint-purple-soft: rgba(27, 21, 73, 0.20);
    --teal: #1cbcbd;
    --teal-bright: #00f2e0;
    --turnium: #512da8;
    --deep: #1b1549;
    --violet: #a78bfa;
    --amber: #d89c4d;
    --amber-warn: #f59e0b;
    --insentra: #00bfa5;
    --red: #ef4444;
    --red-soft: #f87171;
    --white: #f8fafc;
    --muted: #b2c0d2;
    --muted-2: #dbe4ef;
    --muted-3: #8fa2ba;
    --muted-4: #6f839c;
    --muted-5: #4f657f;

    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(28, 188, 189, 0.15);
    --radius: 12px;

    --font-head: 'Barlow', system-ui, sans-serif;
    --font-body: 'Lato', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --pad-x: clamp(1.5rem, 5vw, 5rem);
    --maxw: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Top bar ------------------------------------------------------------- */
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(6, 13, 16, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(28, 188, 189, 0.2);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem clamp(0.75rem, 2vw, 1.5rem);
}
.topbar-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; object-fit: contain; }
.brand-briefing { font-size: 0.72rem; color: var(--muted); }
.topbar-nav { flex: 1; display: flex; justify-content: center; position: relative; }
.nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; min-height: 36px;
    background: rgba(28, 188, 189, 0.12);
    border: 1px solid rgba(28, 188, 189, 0.3);
    color: var(--teal);
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    cursor: pointer;
}
.nav-menu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    width: min(320px, 90vw);
    background: rgba(6, 13, 16, 0.98);
    border: 1px solid rgba(28, 188, 189, 0.25);
    border-radius: 10px;
    padding: 0.4rem;
    margin: 0; list-style: none;
    max-height: 70vh; overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.nav-menu li { margin: 0; }
.nav-menu a {
    display: block; padding: 0.55rem 0.75rem; border-radius: 7px;
    font-size: 0.82rem; color: var(--muted-2);
}
.nav-menu a:hover, .nav-menu a.is-active { background: rgba(28, 188, 189, 0.12); color: var(--teal); }
.topbar-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.75rem; min-height: 36px;
    border-radius: 6px;
    font-family: var(--font-head); font-weight: 700;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
    transition: transform 0.15s ease, opacity 0.15s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--bg); }
.btn-outline { border: 1px solid rgba(28, 188, 189, 0.4); color: var(--teal); background: transparent; }
.btn-icon { border: 1px solid rgba(28, 188, 189, 0.2); color: var(--muted); padding: 0.5rem; }
.btn-lg { padding: 1rem 2rem; min-height: 48px; font-size: 0.78rem; letter-spacing: 0.12em; }
.btn-label-short { display: none; }
.ico { width: 14px; height: 14px; flex-shrink: 0; }
.ico-sm { width: 14px; height: 14px; }
.ico-xs { width: 12px; height: 12px; }

/* ---- Section shells ------------------------------------------------------ */
.briefing { padding-top: 56px; }
.deck-section {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    background: var(--bg);
    overflow: hidden;
}
.deck-section.tint-purple { background: linear-gradient(var(--tint-purple), var(--tint-purple)), var(--bg); }
.deck-section.tint-purple-soft { background: linear-gradient(var(--tint-purple-soft), var(--tint-purple-soft)), var(--bg); }
.section-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: var(--maxw); margin: 0 auto;
    padding: 6rem var(--pad-x);
}
.section-inner.narrow { max-width: 1100px; }

.hero-bg { position: absolute; inset: 0; z-index: 1; opacity: 0.25; }
.hero-bg-dim { opacity: 0.2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; }
.hero-veil-glance { background: linear-gradient(to right, rgba(0,11,20,0.95), rgba(0,11,20,0.6), rgba(0,11,20,0.9)); }
.hero-veil-model { background: rgba(0, 11, 20, 0.85); }

/* ---- Typography ---------------------------------------------------------- */
.kicker {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.25em;
    color: var(--teal); margin: 0 0 0.75rem; font-family: var(--font-body);
}
.over-kicker {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--teal); margin: 0 0 0.6rem; font-family: var(--font-body);
}
.display {
    font-family: var(--font-head); font-weight: 900; line-height: 1.05;
    font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin: 0 0 0.75rem;
}
.display-hero { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; margin-bottom: 0.5rem; }
.display-hero.accent-italic { color: var(--teal); font-style: italic; margin-bottom: 2.5rem; }
.display-arr { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.1; }
.accent { color: var(--teal); }
.accent-strong { color: var(--teal); font-weight: 600; }
.amber { color: var(--amber); }
.muted { color: var(--muted); }
.white { color: var(--white); }
.light { color: var(--muted-2); }
.strong { color: var(--white); font-weight: 600; }
.sub-lead { font-size: 0.9rem; max-width: 60rem; margin: 0 0 2rem; }
.intro-lead { font-size: 1rem; max-width: 40rem; margin: 0 0 3rem; }

.card-title { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--white); margin: 0 0 0.9rem; }
.card-title.sm { font-size: 0.9rem; }
.card-eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; color: var(--white); margin: 0 0 1rem; }
.card-eyebrow.accent { color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }
.card-eyebrow.muted { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.62rem; }
.card-subhead { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; margin: 0 0 1rem; }
.card-lead { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--white); margin: 0 0 0.75rem; }
.card-lead.sm { font-size: 1rem; }
.block-head { font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; color: var(--white); margin: 0 0 0.5rem; }
.muted-body { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.55; }
.mini-body { font-size: 0.75rem; color: var(--muted); margin: 0; line-height: 1.5; }
.mini-body.center { text-align: center; }
.mini-body.light { color: var(--muted-2); }
.mini-title { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; color: var(--teal); margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.03em; }
.footnote-italic { font-size: 0.72rem; font-style: italic; color: var(--muted-4); margin: 0.75rem 0 0; }
.footnote-italic.tight { margin-top: 0.75rem; color: var(--muted); }
.footnote-italic.center { text-align: center; max-width: 48rem; margin: 2rem auto 0; }
.legal-fine { font-size: 0.66rem; line-height: 1.6; color: var(--muted-4); margin: 1rem 0 0; }
.legal-fine.center { text-align: center; }

/* ---- Cards & grids ------------------------------------------------------- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.metric-grid { display: grid; gap: 1rem; margin: 3rem 0; }
.metric-grid-4 { grid-template-columns: repeat(4, 1fr); }
.metric-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
.metric-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0.75rem 0; }
.metric-card { padding: 1.25rem; }
.metric-card-center { text-align: center; }
.metric-top { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); margin-bottom: 0.5rem; }
.metric-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.25rem; line-height: 1.1; color: var(--teal); margin-bottom: 0.5rem; }
.metric-value.sm { font-size: 1rem; color: var(--white); margin-bottom: 0.25rem; }
.metric-value.md { font-size: 1.25rem; }
.metric-value.xs { font-size: 1.05rem; }
.metric-value.neg { color: var(--red-soft); }
.metric-value.is-accent { color: var(--teal); }
.metric-label { font-size: 0.72rem; color: var(--muted); }
.metric-label.mb { margin-bottom: 0.5rem; }
.metric-sub { font-size: 0.72rem; color: var(--muted-4); margin-top: 0.25rem; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.bullet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.bullet-list.sm { gap: 0.6rem; }
.bullet-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.bullet-list p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.bullet-list.sm p { font-size: 0.75rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 0.5rem; flex-shrink: 0; }

.kv-list { display: flex; flex-direction: column; gap: 0.25rem; }
.kv-list.tight { gap: 0.1rem; }
.kv-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid rgba(28, 188, 189, 0.1); }
.kv-row.sm { padding: 0.375rem 0; border-bottom: 1px solid rgba(28, 188, 189, 0.08); }
.kv-row.bordered { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 0.5rem; }
.kv-row:last-child { border-bottom: none; }
.kv-key { font-size: 0.82rem; color: var(--muted); }
.kv-key.white { color: var(--white); }
.kv-val { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; color: var(--white); }
.kv-val.is-accent { color: var(--teal); }
.card-divider { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(28, 188, 189, 0.1); }

/* ---- Section 2 · flow ---------------------------------------------------- */
.callout-box {
    background: rgba(242, 244, 251, 0.06);
    border: 1px solid rgba(28, 188, 189, 0.3);
    border-radius: var(--radius);
    padding: 1.25rem; margin: 0 0 1.5rem;
}
.callout-box p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.flow-row { display: flex; align-items: stretch; gap: 0.5rem; margin: 0 0 2rem; }
.flow-card { flex: 1; display: flex; flex-direction: column; }
.flow-ttgi { border: 1.5px solid var(--teal); }
.flow-partner { border: 1.5px solid var(--amber); }
.flow-customer { border: 1.5px solid var(--muted); }
.flow-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin: 0 0 0.25rem; }
.flow-sub { font-size: 0.72rem; color: var(--muted); margin: 0 0 1rem; }
.flow-items { display: flex; flex-direction: column; gap: 0.75rem; }
.flow-item { display: flex; gap: 0.625rem; align-items: stretch; }
.flow-bar { width: 3px; border-radius: 3px; background: var(--teal); flex-shrink: 0; min-height: 40px; }
.flow-item-title { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; color: var(--white); margin: 0; }
.flow-item-sub { font-size: 0.72rem; color: var(--muted); margin: 0; }
.flow-item-tag { font-size: 0.72rem; color: var(--muted-3); margin: 0; }
.flow-body { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin: 0; }
.flow-ttgi-subhead { margin-bottom: 1rem; }
.flow-body-spaced { margin-top: 1rem; }
.flow-arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- Section 3 · hub ----------------------------------------------------- */
.hub-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.hub-wrap { display: flex; align-items: center; justify-content: center; }
.hub-svg { width: 100%; max-width: 620px; height: auto; }
.hub-center { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1rem; }
.hub-center-title { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--white); line-height: 1.12; letter-spacing: 0.035em; }
.hub-center-sub { font-family: var(--font-body); font-size: 10px; color: var(--white); line-height: 1.35; letter-spacing: 0.015em; margin-top: 0.55rem; }
.hub-node { width: 100%; height: 100%; border-radius: 8px; display: flex; align-items: center; gap: 0.625rem; padding: 0 0.75rem; background: #0f171c; border: 1.5px solid #3a434d; }
.hub-node.is-primary { border-color: var(--teal-bright); }
.hub-ico { width: 22px; height: 22px; color: var(--teal-bright); flex-shrink: 0; stroke-width: 1.75; }
.hub-node-label { font-family: var(--font-body); font-size: 13px; color: var(--white); line-height: 1.15; }
.hub-side { display: flex; flex-direction: column; gap: 1rem; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.adv-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--white); }
.adv-value.is-accent { color: var(--teal); }
.adv-label { font-size: 0.72rem; color: var(--muted); }
.tri-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.tri-cards-gap { gap: 1.5rem; margin-top: 0; }

/* ---- Section 4 · network ------------------------------------------------- */
.network-eyebrow { font-size: 0.88rem; }
.network-subhead { font-size: 0.8075rem; font-style: italic; }
.acq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.acq-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.acq-badge { font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--deep); color: var(--white); }
.acq-badge.is-highlight { background: var(--teal); color: var(--bg); }
.acq-badge.is-purple { background: #3C2C81; color: var(--white); }
.acq-title { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; color: var(--white); margin: 0; }
.acq-body { font-size: 0.72rem; color: var(--muted); margin: 0.25rem 0 0; line-height: 1.5; }

/* ---- Section 5 · ARR ----------------------------------------------------- */
.arr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.arr-logo { height: 36px; width: auto; }
.arr-summary { display: flex; align-items: center; gap: 0.75rem; background: #f3f4f6; border-radius: 8px; padding: 1rem; margin-bottom: 2rem; }
.arr-summary-tag { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #1a1a4d; white-space: nowrap; }
.arr-check { font-size: 1.1rem; color: var(--teal); flex-shrink: 0; }
.arr-summary p { margin: 0; font-size: 0.85rem; color: var(--bg); }
.arr-summary strong { color: #1a1a4d; }
.arr-stack-label { margin: 0 0 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--white); }
.arr-bars { display: grid; grid-template-columns: 1.9fr 1.05fr 130px; gap: 1rem; margin-bottom: 0.75rem; align-items: center; }
.arr-bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-radius: 8px; }
.arr-insentra { background: var(--insentra); }
.arr-turnium { background: var(--turnium); }
.arr-bar-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; }
.arr-bar-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: #fff; }
.arr-total { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--white); white-space: nowrap; }
.arr-detail { display: grid; grid-template-columns: 1.9fr 1.05fr 130px; gap: 1rem; margin-bottom: 2rem; align-items: stretch; }
.arr-detail-card { display: flex; flex-direction: column; height: 100%; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.08); }
.arr-detail-head { padding: 0.5rem 1rem; display: flex; align-items: baseline; gap: 0.5rem; }
.arr-detail-name { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: #fff; }
.arr-detail-tag { font-style: italic; font-size: 0.72rem; color: rgba(255, 255, 255, 0.85); }
.arr-detail-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; background: #fff; }
.arr-detail-value-row { display: grid; grid-template-columns: 6rem 1fr; align-items: baseline; column-gap: 1.5rem; min-height: 2.75rem; padding-bottom: 0.5rem; margin-bottom: 0.25rem; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.arr-detail-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; }
.arr-text-insentra { color: var(--insentra); }
.arr-text-turnium { color: var(--turnium); }
.arr-detail-value-sub { font-size: 0.72rem; color: var(--muted-4); }
.arr-detail-line { display: grid; grid-template-columns: 6rem 1fr; align-items: baseline; column-gap: 1.5rem; min-height: 2.05rem; padding: 0.375rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.arr-detail-line:last-child { border-bottom: none; }
.arr-detail-k { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; color: #1a1a4d; }
.arr-detail-v { font-size: 0.72rem; color: var(--muted-4); }
.arr-banner { background: #1a1a4d; border-radius: 8px; padding: 1.5rem; text-align: center; }
.arr-banner p { margin: 0; }
.arr-banner p:first-child { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.arr-banner-strong { font-family: var(--font-mono); font-weight: 700; color: var(--teal); }
.arr-banner-sub { font-size: 0.72rem; color: var(--muted); }

/* ---- Section 6 · retention ----------------------------------------------- */
.retention-grid { display: grid; grid-template-columns: 65fr 35fr; gap: 2rem; }
.retention-sub { font-size: 0.85rem; margin: 0 0 2rem; }
.stack-bar { display: flex; height: 36px; border-radius: 0; overflow: hidden; margin-bottom: 0.75rem; }
.stack-seg { display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; }
.stack-teal { background: var(--teal); color: var(--bg); }
.stack-violet { background: var(--violet); color: var(--bg); }
.stack-deep { background: var(--deep); color: var(--white); }
.stack-amber { background: var(--amber-warn); color: var(--bg); }
.stack-bar .stack-amber { flex-grow: 1; }
.stack-note { text-align: center; margin-bottom: 1rem; }
.stack-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-bottom: 0.5rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--muted-2); }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.country-block { margin: 1.5rem 0; }
.country-rows { display: flex; flex-direction: column; gap: 0.75rem; }
.country-row { display: flex; align-items: center; gap: 0.75rem; }
.country-label { font-size: 0.72rem; color: var(--muted-2); width: 8rem; flex-shrink: 0; }
.country-track { flex: 1; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.country-fill { display: block; height: 100%; border-radius: 999px; background: var(--deep); border-right: 2px solid var(--teal); }
.country-value { font-family: var(--font-mono); font-size: 0.72rem; color: var(--white); width: 3rem; text-align: right; }
.retention-side { display: flex; flex-direction: column; gap: 1rem; }
.retention-side .card-eyebrow.accent,
.retention-side .card-eyebrow.muted { font-size: 0.72rem; }
.card-churn { background: #1a1a40; border-color: rgba(28, 188, 189, 0.2); }
.term-row { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.term-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--white); }

/* ---- Charts -------------------------------------------------------------- */
.chart-frame { position: relative; width: 100%; height: 280px; margin: 0.5rem 0; }
.chart-frame.tall { height: 400px; }
.chart-frame.short { height: 240px; }
.capital-right .chart-frame.short { height: clamp(300px, 40vh, 360px); padding: 0.75rem; background: #101827; border: 1px solid rgba(28, 188, 189, 0.24); border-radius: 2px; }
.capital-chart-static-wrap {
    margin-top: 0.5rem;
    width: 100%;
}
.capital-chart-static {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 2px;
    background: #fff;
}
.chart-legend-row { display: flex; align-items: center; gap: 1.5rem; justify-content: center; margin-top: 0.75rem; }
.chart-caption { margin-top: 1.25rem; max-width: 42rem; margin-left: auto; margin-right: auto; text-align: center; }
.caption-pill { display: inline-block; font-size: 0.72rem; color: var(--teal); background: rgba(28, 188, 189, 0.1); padding: 0.25rem 0.75rem; border-radius: 6px; margin: 0 0 0.4rem; }
.chart-inline-title { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--white); text-align: center; margin: 0 0 1rem; }
.chart-inline-title-main { color: var(--white); }
.chart-inline-title-accent { color: var(--teal); }
.chart-frame.strategy-chart-frame { height: 340px; }
.badge-pill { display: inline-block; margin-bottom: 2.5rem; padding: 0.5rem 1.25rem; border-radius: 8px; background: #211e49; border: 1px solid rgba(28, 188, 189, 0.25); font-size: 0.85rem; color: var(--white); }
.levers-head { margin: 2.5rem 0 0; }
.lever-n { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: rgba(28, 188, 189, 0.4); margin-bottom: 0.5rem; }
.lever-title { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--white); margin: 0 0 0.5rem; }
.inflection-note { margin: 1.5rem 0; }
.ebitda-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.ebitda-main .chart-frame { height: 520px; margin: 0.25rem 0 0; }
.ebitda-side { display: flex; flex-direction: column; gap: 1rem; }
.ebitda-pill {
    background: #211e49;
    border: 1px solid rgba(28, 188, 189, 0.2);
    border-radius: 10px;
    padding: 0.625rem 1rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--white);
}
.ebitda-annual-title {
    margin: 0;
    padding: 0 0 0.625rem;
    border-bottom: 3px solid rgba(28, 188, 189, 0.85);
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}
.ebitda-annual-list { display: flex; flex-direction: column; }
.ebitda-annual-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
}
.ebitda-annual-row:nth-child(odd) { background: transparent; }
.ebitda-annual-label { font-size: 0.9rem; color: var(--white); }
.ebitda-annual-value { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; }
.ebitda-note-panel {
    margin-top: 0.5rem;
    border-radius: 2rem;
    padding: 1rem;
    background: #262357;
    border: 1px solid rgba(28, 188, 189, 0.15);
}
.ebitda-note-strong {
    margin: 0;
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.45;
}
.ebitda-note-line {
    margin: 0.9rem 0 0;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}
.soft-banner { margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--radius); background: rgba(28, 188, 189, 0.08); border: 1px solid rgba(28, 188, 189, 0.2); }
.run-rate-banner { margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--radius); background: var(--deep); text-align: center; }
.run-rate-banner p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--white); }
.chevron-lists { margin-bottom: 2.5rem; }
#section-growthstrategy .chevron-lists { margin-top: 1.25rem; }
.chev-list { display: flex; flex-direction: column; gap: 0.75rem; }
.chev-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.chev { font-weight: 700; font-size: 1.1rem; color: var(--teal); flex-shrink: 0; }
.chev-item p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ---- Section 10 · peers -------------------------------------------------- */
.peers-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(220px, 1fr); gap: 1.25rem; align-items: start; margin-top: 2rem; }
.peers-table-wrap { overflow: visible; }
.peers-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.peers-table th {
    text-align: left; white-space: normal; overflow-wrap: anywhere; padding: 0.35rem 0.28rem;
    font-family: var(--font-body); font-size: 0.75rem; text-transform: none;
    color: var(--teal); font-weight: 600; border-bottom: 2px solid rgba(28, 188, 189, 0.2);
}
.peers-table thead tr:first-child th { border-bottom: none; padding-bottom: 0.1rem; }
.peers-table thead tr:nth-child(2) th { padding-top: 0.1rem; color: var(--white); }
.peers-table th.group-ev,
.peers-table th.sub-ev {
    background: rgba(28, 188, 189, 0.9);
    color: #00151f;
    border-bottom-color: rgba(0, 21, 31, 0.45);
}
.peers-table th.group-ev { border-left: 1px solid rgba(0, 21, 31, 0.45); border-right: 1px solid rgba(0, 21, 31, 0.45); }
.peers-table th.sub-ev.first { border-left: 1px solid rgba(0, 21, 31, 0.45); }
.peers-table th.sub-ev.last { border-right: 1px solid rgba(0, 21, 31, 0.45); }

.peers-table td { padding: 0.26rem 0.28rem; white-space: nowrap; line-height: 1.2; }
.peers-table td.company { font-family: var(--font-body); font-size: 0.86rem; color: var(--white); }
.peers-table td.num { font-family: var(--font-mono); font-size: 0.84rem; color: var(--muted); }
.peers-table .data-row { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.peers-table .group-row td { padding: 0.65rem 0.3rem 0.2rem; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--white); }
.peers-table .group-row.accent-group td { color: var(--teal); }
.peers-table .group-row.ttgi-spacer td {
    padding: 0.45rem 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
}
.peers-table .avg-row { background: rgba(28, 188, 189, 0.08); }
.peers-table .avg-row td.company { font-family: var(--font-head); font-weight: 700; color: var(--white); }
.peers-table .avg-row td.num { color: var(--muted); }
.peers-table .ttgi-row { background: rgba(28, 188, 189, 0.12); }
.peers-table .ttgi-row td { color: var(--teal) !important; font-weight: 700; }
.peers-side { display: flex; flex-direction: column; gap: 0.8rem; }
.peers-side .block-head { text-align: center; font-size: 1.05rem; letter-spacing: 0.04em; }
.peers-side .card { border-radius: 24px; background: #232059; border-color: rgba(28, 188, 189, 0.18); text-align: center; padding: 1.1rem 0.8rem; }
.peers-side .card + .card { position: relative; }
.peers-side .card + .card::before {
    content: '';
    position: absolute;
    top: -0.58rem;
    left: 10%;
    width: 80%;
    height: 6px;
    background: var(--teal);
}
.vs-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.25rem; color: var(--white); margin: 0 0 0.25rem; }

.peers-table th:nth-child(1),
.peers-table td:nth-child(1) { width: 15%; }

.peers-table th:nth-child(2),
.peers-table td:nth-child(2) { width: 8%; }

@media (max-width: 1280px) {
    .peers-grid { grid-template-columns: 1fr; }
}

/* ---- Section 11 · capital ------------------------------------------------ */
.capital-left, .capital-right { display: flex; flex-direction: column; gap: 1.5rem; }
.table3 { display: grid; grid-template-columns: 1fr 7rem 7rem; align-items: center; padding: 0.5rem 0.25rem; font-size: 0.72rem; color: var(--muted); border-radius: 4px; }
.table3-head { border-bottom: 1px solid rgba(28, 188, 189, 0.3); padding-bottom: 0.5rem; margin-bottom: 0.25rem; }
.table3-head span { font-family: var(--font-head); font-weight: 700; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal); }
.table3.is-total { background: rgba(28, 188, 189, 0.12); font-weight: 700; color: var(--white); }
.t3-label { padding-right: 0.75rem; }
.t3-num { font-family: var(--font-mono); font-size: 0.72rem; }
.t3-num.is-accent { color: var(--teal); }
.ta-r { text-align: right; }

/* ---- Section 12/13 · people ---------------------------------------------- */
.ceo-card { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.ceo-card > div:last-child { flex: 1; min-width: 0; }
.person-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(28, 188, 189, 0.25); flex-shrink: 0; width: 80px; height: 80px; }
.person-photo.lg { width: 128px; height: 128px; }
.person-photo.md { width: 96px; height: 96px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
#section-leadership .person-photo { background: #fff; }
#section-leadership .person-photo img { object-fit: cover; object-position: center top; padding: 0; }
.person-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--teal); margin: 0; }
.person-name.lg { font-size: 1.25rem; }
.person-role { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--white); margin: 0 0 0.5rem; }
.elt-intro { margin-bottom: 1.5rem; }
.elt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.elt-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.75rem; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(28, 188, 189, 0.1); }
.elt-name { font-size: 0.85rem; margin: 0 0 0.25rem; }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.board-card { display: flex; gap: 1rem; align-items: flex-start; }
.board-card-doug .person-photo { background: #fff; }
.board-card-doug .person-photo img { object-fit: cover; object-position: center top; padding: 0; }

/* ---- Section 14 · investment case --------------------------------------- */
.invest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.diamond { display: none; }
.invest-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: center;
    gap: 1.25rem;
    border-radius: 8px;
    padding: 1rem 1rem 1rem 0.875rem;
    min-height: 112px;
    background: linear-gradient(135deg, rgba(7, 27, 46, 0.98), rgba(8, 31, 52, 0.94));
    border: 1px solid rgba(28, 188, 189, 0.34);
    box-shadow: inset 0 0 0 1px rgba(28, 188, 189, 0.06);
}
.invest-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-right: 3px solid rgba(28, 188, 189, 0.98);
    padding-right: 0.85rem;
}
.invest-icon {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 1px solid rgba(28, 188, 189, 0.78);
    color: var(--teal);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.invest-card .invest-icon { border-width: 2px; }
.invest-icon-svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.35;
    opacity: 0.98;
    filter: drop-shadow(0 0 2px rgba(28, 188, 189, 0.42));
}
.invest-copy { display: flex; flex-direction: column; gap: 0.45rem; }
.invest-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.55vw, 1.55rem); color: var(--teal); margin: 0; line-height: 1.12; letter-spacing: 0.005em; }
.invest-card .mini-body { font-size: clamp(0.62rem, 0.8vw, 0.78rem); color: #8a9db1; margin: 0; line-height: 1.22; max-width: 95%; }
.investment-intro-line {
    max-width: 100%;
    white-space: nowrap;
}
.cta-panel { text-align: center; padding: 2.5rem; border-radius: 16px; background: rgba(28, 188, 189, 0.06); border: 1px solid rgba(28, 188, 189, 0.25); }
.cta-logo { height: 48px; width: auto; margin: 0 auto 1.5rem; }
.cta-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--white); margin: 0 0 0.75rem; }
.cta-body { max-width: 42rem; margin: 0 auto 2rem; white-space: nowrap; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* ---- Sections 15/16 · legal ---------------------------------------------- */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.legal-col { display: flex; flex-direction: column; gap: 1.25rem; }
.legal-head { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--white); margin: 0 0 0.5rem; }
.legal-body { font-size: 0.72rem; line-height: 1.6; color: var(--muted); margin: 0 0 0.75rem; }
.legal-footer { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: rgba(28, 188, 189, 0.06); border: 1px solid rgba(28, 188, 189, 0.2); text-align: center; }
.legal-footer-title { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--white); margin: 0 0 0.5rem; }
.legal-footer-contact { font-size: 0.72rem; margin: 0 0 0.5rem; }

/* ---- Reveal animation ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .hub-grid { grid-template-columns: 1fr; }
    .retention-grid { grid-template-columns: 1fr; }
    .ebitda-layout { grid-template-columns: 1fr; }
    .ebitda-main .chart-frame { height: 420px; }
    .peers-grid { grid-template-columns: 1fr; }
    .invest-grid { grid-template-columns: 1fr; }
    .invest-card {
        grid-template-columns: 138px 1fr;
        min-height: 184px;
        padding: 0.95rem 1.1rem 0.95rem 0.9rem;
    }
    .investment-intro-line {
        white-space: normal;
    }
    .cta-body {
        white-space: normal;
    }
    .invest-icon {
        width: 88px;
        height: 88px;
        font-size: 0.95rem;
    }
    .invest-icon-svg {
        width: 44px;
        height: 44px;
    }
    .invest-title { font-size: clamp(1.85rem, 4vw, 2.45rem); }
    .invest-card .mini-body { font-size: clamp(0.95rem, 1.7vw, 1.35rem); }
    .metric-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .split-2 { grid-template-columns: 1fr; }
    .flow-row { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .tri-cards { grid-template-columns: 1fr; }
    .elt-grid, .board-grid { grid-template-columns: 1fr; }
    .arr-bars, .arr-detail { grid-template-columns: 1fr; }
    .arr-total { display: none; }
    .brand-briefing { display: none; }
    .btn-deck { display: none; }
}
@media (max-width: 640px) {
    .metric-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .metric-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .ceo-card { flex-wrap: wrap; }
    .invest-card {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .invest-icon-wrap {
        justify-content: flex-start;
        border-right: none;
        border-bottom: 3px solid rgba(28, 188, 189, 0.9);
        padding-right: 0;
        padding-bottom: 0.75rem;
    }
    .legal-grid { grid-template-columns: 1fr; }
    .btn-label-full { display: none; }
    .btn-label-short { display: inline; }
    .section-inner { padding: 5rem 1.25rem; }
}

/* ---- Access gate --------------------------------------------------------- */
.gate-body { min-height: 100vh; display: flex; }
.gate-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem var(--pad-x);
}
.gate-form { width: min(520px, 100%); }
.gate-logo {
    display: block;
    height: 44px;
    width: auto;
    margin: 0 0 1.25rem;
    object-fit: contain;
}
.gate-kicker { margin-bottom: 0.75rem; }
.gate-title {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.1; margin: 0 0 1rem; color: var(--white);
}
.gate-lead { color: var(--muted-2); font-size: 0.95rem; line-height: 1.55; margin: 0 0 2rem; max-width: 34rem; }
.gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gate-field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.gate-field label {
    font-family: var(--font-head); font-weight: 600;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted-2); margin-bottom: 0.5rem;
}
.gate-req { color: var(--teal); }
.gate-field input[type="text"],
.gate-field input[type="email"],
.gate-field input[type="tel"] {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    border: 1px solid rgba(28, 188, 189, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body); font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gate-field input::placeholder { color: var(--muted-4); }
.gate-field input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(28, 188, 189, 0.15);
}
.gate-field input.is-invalid { border-color: var(--red); }
.gate-error { color: var(--red-soft); font-size: 0.75rem; margin-top: 0.4rem; }
.gate-error-form { margin: 0 0 1.25rem; padding: 0.75rem 1rem; border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 8px; background: rgba(239, 68, 68, 0.08); }
.gate-optin { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.25rem 0 1.75rem; }
.gate-optin input { margin-top: 0.2rem; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--teal); }
.gate-optin span { font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.gate-link { color: var(--teal); text-decoration: underline; }
.gate-submit { width: 100%; justify-content: center; padding: 1rem; min-height: 52px; font-size: 0.8rem; letter-spacing: 0.12em; }

/* ---- Direct access link card -------------------------------------------- */
.deck-access-wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 1.5rem auto 0;
    padding: 0 var(--pad-x);
}
.deck-access-card {
    border: 1px solid rgba(28, 188, 189, 0.28);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(4, 20, 30, 0.92), rgba(18, 32, 45, 0.92));
    padding: 1.25rem;
}
.deck-access-kicker { margin-bottom: 0.45rem; }
.deck-access-title {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: var(--white);
}
.deck-access-body {
    margin: 0.5rem 0 1rem;
    color: var(--muted-2);
    font-size: 0.85rem;
    line-height: 1.5;
}
.deck-access-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}
.deck-access-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(8, 15, 22, 0.95);
    border: 1px solid rgba(28, 188, 189, 0.25);
    border-radius: 8px;
    color: var(--muted-2);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}
.deck-access-copy { justify-content: center; }
.deck-access-meta {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
}
.deck-access-status {
    min-height: 1.2em;
    margin: 0.65rem 0 0;
    color: var(--teal);
    font-size: 0.75rem;
}

@media (max-width: 520px) {
    .gate-row { grid-template-columns: 1fr; }
    .deck-access-row { grid-template-columns: 1fr; }
    .deck-access-copy { width: 100%; }
}
