/* --- SELF-HOSTED OUTFIT FONT (fallback for Poppins) --- */
/* latin-ext */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/outfit-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/outfit-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================================
   DESIGN TOKENS  (palette preserved — only design/layout/typography refreshed)
   ============================================================================ */
:root {
    --bg: #0f172a;
    --surface: #1b2538;
    --sky: #0ea5e9;
    --emerald: #10b981;
    --amber: #eab308;
    --red: #ef4444;
    --text: #f8fafc;
    --text-soft: #e2e8f0;
    --muted: #94a3b8;
    --hairline: rgba(255, 255, 255, 0.09);
    --grad: linear-gradient(135deg, #0ea5e9 0%, #10b981 50%, #eab308 100%);
    --grad-duo: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --font-display: 'Montserrat', 'Outfit', sans-serif;
    --font-body: 'Montserrat', 'Outfit', sans-serif;
    --padding-desktop: 64px;
    --control-bar-height: 70px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* Subtle, on-brand text selection (so selecting never looks like stray lines) */
::selection { background: rgba(16, 185, 129, 0.30); color: #ffffff; }
::-moz-selection { background: rgba(16, 185, 129, 0.30); color: #ffffff; }

body {
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 84px;
    margin: 0;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    font-family: var(--font-body);
    color: var(--text);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Layered brand-gradient depth glows */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(640px 640px at 10% -10%, rgba(14, 165, 233, 0.14), transparent 60%),
        radial-gradient(720px 700px at 94% 0%, rgba(16, 185, 129, 0.12), transparent 60%),
        radial-gradient(760px 560px at 80% 118%, rgba(234, 179, 8, 0.10), transparent 60%);
}

/* --- THE SLIDE SURFACE --- */
.slide-container {
    position: relative;
    border: 2px solid transparent;
    border-radius: 28px;
    /* Brand-gradient border wrapping the whole slide (surface in padding-box, gradient in border-box) */
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.97) 0%, rgba(19, 28, 45, 0.97) 100%) padding-box,
        linear-gradient(135deg, #0ea5e9 0%, #10b981 50%, #eab308 100%) border-box;
    box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.65);
    display: none;
    flex-direction: column;
    width: 92%;
    max-width: 1240px;
    height: 88vh;
    max-height: 900px;
    padding: 58px var(--padding-desktop) 70px;
    overflow-y: auto;
    scrollbar-width: none;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-container::-webkit-scrollbar { display: none; }
.slide-container.active { display: flex; }

/* Faint slide-background photo (e.g. slide 2) behind the content */
.slide-bg { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; z-index: 0; }
.slide-bg img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.30;
    filter: grayscale(1) brightness(0.9) sepia(0.5) hue-rotate(110deg) saturate(1.5);
}
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.72) 0%, rgba(15,23,42,0.88) 100%); }
#slide2 > h2.slide-title, #slide2 > .content-area { position: relative; z-index: 1; }

/* Horizontal photo strip (e.g. slide 8) */
.photo-strip {
    width: 100%; height: 230px; border-radius: 18px; overflow: hidden; margin-top: 26px;
    border: 1px solid rgba(16, 185, 129, 0.20); box-shadow: 0 16px 36px -22px rgba(0,0,0,0.55);
}
.photo-strip img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1) brightness(0.95) sepia(0.5) hue-rotate(110deg) saturate(1.6) contrast(1.03);
}

/* Product screenshots row (real app screens) */
.phone-shots { display: flex; justify-content: center; align-items: flex-start; gap: 22px; flex-wrap: wrap; width: 100%; }
.phone-shots figure { margin: 0; text-align: center; width: 168px; }
.phone-shots img {
    width: 100%; display: block; border-radius: 22px; background: #0f172a;
    border: 1px solid var(--hairline); box-shadow: 0 18px 42px -18px rgba(0, 0, 0, 0.65);
}
.phone-shots figcaption { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Competition cards — match the glass / gradient-border card language */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.comp-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--hairline); border-radius: 18px; padding: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.comp-card h3 { font-size: 16px; margin-bottom: 6px; }
.comp-card .sub { font-size: 13px; opacity: 0.8; margin-bottom: 8px; color: var(--muted); }
.comp-card p { font-size: 13px; line-height: 1.5; }
.comp-card.win {
    border: 2px solid transparent;
    /* opaque, slightly teal-tinted interior so the gradient stays on the border (not flooding the card) */
    background:
        linear-gradient(165deg, #16324b 0%, #14253a 100%) padding-box,
        linear-gradient(135deg, #0ea5e9 0%, #10b981 50%, #eab308 100%) border-box;
    box-shadow: 0 16px 36px -24px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SLIDE FOOTER (injected by pitchdeck.js) --- */
.slide-footer {
    position: absolute; left: var(--padding-desktop); right: var(--padding-desktop); bottom: 28px;
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-body); font-size: 12px; letter-spacing: 0.03em;
    color: rgba(148, 163, 184, 0.55);
}
.slide-footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; letter-spacing: 0.005em; }
.slide-footer-brand svg { width: 24px; height: 24px; }
.slide-footer-brand .wordmark {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.slide-footer-page { font-variant-numeric: tabular-nums; font-weight: 500; }
.slide-footer-page b { color: var(--text-soft); font-weight: 700; }

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1 {
    font-family: var(--font-display); font-size: 66px; font-weight: 700;
    letter-spacing: -0.03em; margin: 0 0 18px; line-height: 1.04;
}

h2.slide-title {
    font-family: var(--font-display); font-size: 38px; font-weight: 700;
    letter-spacing: -0.02em; margin: 0 0 32px; color: var(--text);
    line-height: 1.12; flex-shrink: 0; position: relative; padding-left: 22px;
}
h2.slide-title::before {
    content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 5px;
    border-radius: 4px; background: linear-gradient(180deg, #0ea5e9, #10b981, #eab308);
}

h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--text); letter-spacing: -0.01em; }
p, li { font-size: 16px; line-height: 1.6; color: var(--muted); }
strong { color: var(--text-soft); font-weight: 600; }

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

.eyebrow {
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.2em; color: var(--emerald);
}


/* ============================================================================
   LAYOUTS
   ============================================================================ */
.content-area { margin: auto 0; width: 100%; display: flex; flex-direction: column; }

.two-column {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; width: 100%; align-items: center;
}

.tiled-content {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%;
}

/* --- GLASS TILE / CARD --- */
.tile {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--hairline);
    border-radius: 20px; padding: 28px 24px; text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tile .icon {
    width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hairline);
}
.tile .icon i {
    background: var(--grad-duo);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p { font-size: 14.5px; line-height: 1.55; }

/* Brand paw SVG inside .tile .icon — fills with the inline `color` set per tile */
.tile .icon.brand-paw { line-height: 0; }
.tile .icon.brand-paw svg { width: 30px; height: 30px; display: block; }

/* ============================================================================
   IMAGES (refined on-brand emerald duotone)
   ============================================================================ */
/* Frameless container for the line-art vector illustrations (no border / frame) */
.image-wrapper {
    position: relative; height: 380px; width: 100%;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; box-shadow: none; overflow: visible;
}
.illus { width: 100%; height: 100%; display: block; }
.illus .glow { filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.18)); }

/* Slide 3 — photo fills exactly the height of the text column (absolute so the
   image's natural aspect doesn't make the row taller than the text). */
#slide3 .two-column { align-items: stretch; }
#slide3 .image-wrapper { height: auto; min-height: 0; position: relative; }
#slide3 .image-wrapper .photo { position: absolute; inset: 0; }

/* Real photo, theme-consistent (emerald duotone, rounded, brand-tinted edge — no black frame) */
.image-wrapper .photo {
    width: 100%; height: 100%; object-fit: cover; border-radius: 22px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 18px 42px -22px rgba(0, 0, 0, 0.55);
    filter: grayscale(1) brightness(0.95) sepia(0.55) hue-rotate(110deg) saturate(1.7) contrast(1.03);
}

/* ============================================================================
   COMPONENTS
   ============================================================================ */
.name-formula {
    display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 100%);
    border: 1px solid var(--hairline); border-radius: 28px; padding: 46px 60px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.formula-part { text-align: center; display: flex; flex-direction: column; align-items: center; }
.formula-lang {
    font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
    font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.04); padding: 6px 14px; border-radius: 30px;
}
.formula-word { font-family: var(--font-display); font-size: 42px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.formula-meaning { font-size: 15px; color: var(--muted); margin-top: 6px; }
.formula-operator { font-size: 26px; color: rgba(255, 255, 255, 0.28); }

/* Slide 2 — name morphology: Dieren (animals) + Vriend (friend) -> Dierend */
.story-eyebrow {
    text-align: center; font-family: var(--font-body); font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); margin: 0 0 26px;
}
.name-story { width: 100%; max-width: 780px; margin: 0 auto; text-align: center; }
.story-row { display: flex; align-items: center; justify-content: center; gap: 26px; }
.story-label {
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted);
    width: 120px; text-align: right; flex-shrink: 0;
}
.story-word { font-family: var(--font-display); font-weight: 700; font-size: 58px; letter-spacing: -0.02em; line-height: 1.04; white-space: nowrap; }
.story-word.big { font-size: 84px; }
.seg-dier { background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.seg-end  { background: linear-gradient(180deg, #7dd3fc 0%, #0ea5e9 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.seg-dim   { color: rgba(110, 231, 183, 0.42); }
.seg-dim-b { color: rgba(125, 211, 252, 0.42); }
.story-op { font-size: 20px; color: rgba(255, 255, 255, 0.3); margin: 4px 0; }
.story-together { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); margin: 10px 0 0; }
.story-rule { width: 56px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: var(--grad-duo); }
.story-tagline { font-style: italic; font-size: 19px; color: #cbd5e1; margin: 18px 0 0; }
.story-subtagline { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.impact-card {
    text-align: center; border: 2px solid transparent; border-radius: 22px; padding: 36px 22px;
    /* Opaque card surface in padding-box so the brand gradient stays on the border only */
    background:
        linear-gradient(165deg, #243049 0%, #18212f 100%) padding-box,
        linear-gradient(135deg, #0ea5e9 0%, #10b981 50%, #eab308 100%) border-box;
    box-shadow: 0 16px 36px -24px rgba(0, 0, 0, 0.5);
}
.impact-number {
    font-family: var(--font-display); font-size: 54px; font-weight: 700; letter-spacing: -0.03em;
    display: block; line-height: 1; margin-bottom: 10px;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.impact-label { font-family: var(--font-body); font-size: 14px; color: var(--emerald); font-weight: 600; letter-spacing: 0.04em; }

/* Timeline */
.timeline-container { position: relative; width: 100%; padding: 44px 0; }
.timeline-line {
    position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.55), rgba(16, 185, 129, 0.55), rgba(234, 179, 8, 0.55));
    transform: translateY(-50%); z-index: 0;
}
.timeline-points { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.timeline-point { text-align: center; background: var(--surface); padding: 0 18px; }
.point-dot {
    width: 20px; height: 20px; background: #10b981; border-radius: 50%;
    margin: 0 auto 18px; border: 4px solid var(--surface); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
}

/* Roadmap journey — dashed "walking path" with train-station stops */
.journey { position: relative; width: 100%; padding-top: 16px; }
.journey-track {
    position: absolute; left: 11%; right: 11%; top: 25px; height: 5px; border-radius: 5px;
    background: linear-gradient(90deg, #64748b 0%, #10b981 38%, #0ea5e9 68%, #eab308 100%);
    -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 15px, transparent 15px 30px);
    mask-image: repeating-linear-gradient(90deg, #000 0 15px, transparent 15px 30px);
}
.journey-stops { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.stop { width: 22%; text-align: center; }
.stop-dot {
    display: block; width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 22px;
    background: #0f172a; border: 4px solid var(--c, #10b981);
    box-shadow: 0 0 0 7px #141d2b, 0 0 16px var(--c, #10b981);
}
.stop h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.stop p { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

.data-row {
    display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0;
    border-bottom: 1px solid var(--hairline);
}
.data-value { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--sky); }

.team-member { text-align: center; }
.team-img-circle {
    width: 124px; height: 124px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--sky); margin-bottom: 16px; background-color: #0f172a;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.10);
}

.contact-info { margin-top: 8px; }

/* ============================================================================
   CONTROLS
   ============================================================================ */
.presentation-controls {
    position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 14px; z-index: 1000;
    background: rgba(15, 23, 42, 0.82); padding: 10px 18px; border-radius: 50px;
    border: 1px solid var(--hairline); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    align-items: center; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); max-width: 95vw;
}
.control-group { display: flex; align-items: center; gap: 8px; }
.control-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.15); margin: 0 5px; }
.control-btn {
    background: rgba(255, 255, 255, 0.05); border: none; color: var(--muted);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.control-btn:hover { background: var(--emerald); color: #fff; transform: translateY(-2px); }
.control-btn.secondary { width: 34px; height: 34px; font-size: 14px; }
.slide-counter { color: var(--text); font-size: 14px; font-weight: 700; margin: 0 10px; min-width: 50px; text-align: center; font-variant-numeric: tabular-nums; }

/* ============================================================================
   RESPONSIVE  (scoped to `screen` so print always uses the desktop layout)
   ============================================================================ */
@media screen and (max-width: 1024px) {
    .slide-container { width: 95%; height: 78vh; padding: 44px 40px 64px; }
    h1 { font-size: 52px; }
    h2.slide-title { font-size: 32px; margin-bottom: 26px; }
    .image-wrapper { height: 320px; }
    .two-column { gap: 40px; }
    .formula-word { font-size: 36px; }
    .impact-number { font-size: 46px; }
}

@media screen and (max-width: 768px) {
    :root { --control-bar-height: 60px; }

    body {
        padding-bottom: 0;
        justify-content: flex-start;
        background-color: #131c2e;
        height: 100vh; height: 100dvh;
    }

    .slide-container {
        width: 100%; max-width: none;
        height: calc(100dvh - var(--control-bar-height));
        min-height: calc(100dvh - var(--control-bar-height));
        max-height: calc(100dvh - var(--control-bar-height));
        border-radius: 0; margin: 0;
        padding: 22px 18px 18px;
        box-shadow: none; border: none;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
    }

    .slide-container.active {
        display: flex !important; flex-direction: column !important;
        justify-content: center !important; align-items: stretch !important;
    }

    .content-area {
        margin: 0 !important; flex: 0 0 auto !important;
        display: flex !important; flex-direction: column !important;
        align-items: center !important; justify-content: center !important;
        width: 100% !important; max-width: 100% !important; text-align: center !important;
    }

    .content-area > * { max-width: 100%; }
    .content-area > .two-column,
    .content-area > .tiled-content,
    .content-area > .impact-grid,
    .content-area > div[style*="grid-template-columns"] { width: 100%; text-align: left; }

    h2.slide-title { flex: 0 0 auto; margin-bottom: 14px; }

    h1 { font-size: 28px; word-wrap: break-word; margin-bottom: 8px; line-height: 1.12; }
    h2.slide-title { font-size: 21px; padding-left: 14px; }
    h3 { font-size: 17px; margin-bottom: 6px; }
    p, li { font-size: 14px; line-height: 1.5; margin-bottom: 8px; }

    .slide-footer { display: none; }

    .image-wrapper { height: auto; max-height: 22vh; min-height: 120px; order: -1; margin-bottom: 12px; }
    .two-column .image-wrapper { order: -1; }

    .two-column, .tiled-content, .impact-grid { display: flex; flex-direction: column; gap: 12px; }

    [id="slide10"] .content-area > div[style*="grid-template-columns"],
    [id="slide13"] .content-area > div[style*="grid-template-columns"] {
        display: flex !important; flex-direction: column !important; gap: 10px !important;
    }

    .name-formula { flex-direction: column; padding: 20px; gap: 10px; }
    .formula-operator { transform: rotate(90deg); margin: 0; font-size: 20px; }
    .formula-operator .fa-arrow-right-long { display: none; }
    .formula-operator::after { content: "\2193"; font-family: sans-serif; }
    .formula-word { font-size: 28px; }
    .formula-meaning { font-size: 13px; }

    .story-eyebrow { margin-bottom: 16px; }
    .story-word { font-size: 30px; }
    .story-word.big { font-size: 42px; }
    .story-label { width: 76px; font-size: 11px; letter-spacing: 0.14em; }
    .story-row { gap: 14px; }
    .story-tagline { font-size: 15px; }
    .story-subtagline { font-size: 12px; }

    .tile { padding: 16px; }
    .tile h3 { font-size: 16px; margin-bottom: 6px; }
    .tile p { font-size: 13px; }
    .tile .icon { width: 46px; height: 46px; font-size: 20px; margin-bottom: 10px; }
    .tile .icon.brand-paw svg { width: 24px; height: 24px; }

    .impact-card { padding: 18px 14px; }
    .impact-number { font-size: 34px; margin-bottom: 4px; }
    .impact-label { font-size: 13px; }

    .timeline-container { padding: 0; margin-left: 10px; margin-top: 6px; }
    .timeline-points { flex-direction: column; gap: 0; }
    .timeline-line { width: 2px; height: 100%; top: 0; left: 0; transform: none; }
    .timeline-point { text-align: left; padding: 0 0 0 22px; margin-bottom: 18px; background: transparent; }
    .timeline-point h3 { font-size: 16px !important; }
    .timeline-point p { font-size: 13px !important; }
    .point-dot { position: absolute; left: -10px; margin: 0; width: 18px; height: 18px; }

    .data-row { padding: 9px 0; }
    .data-row span:first-child { font-size: 13px; }
    .data-value { font-size: 19px; }

    .team-img-circle { width: 96px; height: 96px; margin-bottom: 10px; }
    .team-member h3 { font-size: 16px !important; margin-bottom: 2px !important; }
    .team-member p { font-size: 12px !important; line-height: 1.35; }

    .slide-container .content-area > svg[width="80"] { width: 60px !important; height: 60px !important; margin-bottom: 12px !important; }

    .presentation-controls {
        width: 100%; max-width: none; border-radius: 0; bottom: 0; left: 0; transform: none;
        height: var(--control-bar-height); background: #0f172a; border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1); justify-content: space-evenly;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3); padding: 0 8px; backdrop-filter: none;
    }
    .control-btn { width: 36px; height: 36px; font-size: 14px; }
    .control-btn.secondary { display: none; }
    .slide-counter { font-size: 13px; min-width: 44px; }
}

@media screen and (max-width: 380px) {
    h1 { font-size: 23px; }
    h2.slide-title { font-size: 19px; }
    h3 { font-size: 15px; }
    p, li { font-size: 13px; line-height: 1.4; }
    .slide-container { padding: 16px 14px; }
    .formula-word { font-size: 23px; }
    .formula-meaning { font-size: 12px; }
    .impact-number { font-size: 30px; }
    .tile h3 { font-size: 15px; }
    .tile p { font-size: 12px; }
    .team-img-circle { width: 84px; height: 84px; }
}

/* ───────────────────────────────────────────────────────────────────────────
   PRINT / PDF EXPORT
   The mobile breakpoints above are scoped to `screen`, so when printing they
   never fire — the PDF renders the full DESKTOP layout and matches the
   on-screen deck exactly. Here we only size each slide to fill one
   12.5in × 9.4in landscape page and show every slide (not just the active one).
   ─────────────────────────────────────────────────────────────────────────── */
@media print {
    @page { size: 12.5in 9.4in; margin: 0; }

    html, body {
        height: auto !important; min-height: 0 !important;
        overflow: visible !important; display: block !important;
        padding: 0 !important; margin: 0 !important;
        background: #0f172a !important;
        -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important;
    }

    .presentation-controls { display: none !important; }

    .slide-container, .slide-container.active {
        display: flex !important;
        width: 100% !important; max-width: none !important;
        height: 9.4in !important; max-height: none !important;
        margin: 0 !important; border-radius: 0 !important; border: none !important;
        box-shadow: none !important; animation: none !important;
        overflow: hidden !important;
        page-break-after: always; break-after: page; page-break-inside: avoid;
    }
    .slide-container:last-of-type { page-break-after: auto; break-after: auto; }

    /* Keep the dot glow from rasterizing into a hard square in print */
    .point-dot { box-shadow: none !important; }
}
