/* =====================================================================
 * TECHCOM Sales Deck — slide styles
 * Designed against a 1920×1080 canvas (deck_stage scales to viewport).
 * ===================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; }

deck-stage { width: 100vw; height: 100vh; display: block; }

/* Slides override --font-display to a CONDENSED black face. Slide titles
   need to fit at 1920×1080 with 2–3 line wrap budgets; Archivo Black
   (used on the website) is too wide for the slide hero scale. */
:root {
    --font-display: 'Saira Condensed', 'Archivo Black', 'Bebas Neue', 'Impact', sans-serif;
}

.slide {
    width: 1920px;
    height: 1080px;
    position: relative;
    overflow: hidden;
    background: var(--tc-paper);
    color: var(--tc-ink);
    font-family: var(--font-body);
    --pad-x: 112px;
    --pad-y: 88px;
}
.slide--dark  { background: var(--tc-navy-900); color: var(--tc-white); }
.slide--paper { background: var(--tc-paper); color: var(--tc-ink); }

/* ---------- topbar / chapter ---------- */
.slide__topbar {
    position: absolute;
    top: 56px; left: var(--pad-x); right: var(--pad-x);
    display: flex; align-items: center; justify-content: space-between;
    z-index: 5;
}
.slide__topbar--inset { position: static; padding: 0 0 48px 0; }
.slide__logo { height: 64px; width: auto; }
.slide__chapter {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tc-steel-300);
}
.slide__chapter--dark { color: var(--tc-ink-2); }

/* ---------- footer ---------- */
.slide__footer {
    position: absolute;
    bottom: 40px; left: var(--pad-x); right: var(--pad-x);
    display: flex; justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--tc-rule);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--tc-ink-2);
}
.slide__footer--on-dark {
    border-top-color: var(--tc-navy-600);
    color: var(--tc-steel-300);
}
.slide__footer--inset { position: static; margin-top: auto; }

/* ─────────────────────────────────────────────── SLIDE 1 HERO ───── */
.slide--hero { background: #000; color: #fff; }
.hero-photo {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 35%; filter: saturate(1.05);
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(11,27,44,0.55) 0%, rgba(11,27,44,0.35) 40%, rgba(11,27,44,0.90) 100%),
      radial-gradient(ellipse at 30% 60%, rgba(20,82,138,0.20), transparent 60%);
}
.hero-content {
    position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 200px;
    z-index: 3; max-width: 1500px;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 0.95;
    font-size: 168px;
    color: #fff;
    margin-top: 22px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.hero-sub {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 36px;
    margin-top: 22px;
    color: #fff;
    letter-spacing: 0.02em;
}
.hero-rule {
    width: 120px; height: 4px;
    background: var(--tc-red);
    margin: 40px 0 28px 0;
}
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 0 14px;
    font-family: var(--font-sans); font-weight: 700;
    font-size: 19px; letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--tc-steel-300);
}
.hero-meta span:nth-child(even) { color: var(--tc-red-soft); }

/* ─────────────────────────────────────────────── SLIDE 2 WHO ───── */
.who-grid {
    position: absolute; inset: 200px var(--pad-x) 130px var(--pad-x);
    display: grid; grid-template-columns: 1.15fr 0.95fr;
    gap: 96px;
}
.who-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 96px; line-height: 0.95; color: #fff;
    margin-top: 18px;
}
.who-lede {
    font-size: 26px; line-height: 1.4; color: var(--tc-steel-300);
    max-width: 720px; margin-top: 36px;
}
.who-stats {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 32px; margin-top: 80px;
}
.stat-num {
    font-family: var(--font-display); font-weight: 900;
    font-size: 96px; line-height: 1; color: var(--tc-red);
    text-transform: none;
    letter-spacing: -0.01em;
}
.stat-num span { color: inherit; }
.stat-lbl {
    margin-top: 12px;
    font-family: var(--font-sans); font-weight: 600;
    font-size: 16px; letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--tc-steel-300); line-height: 1.4;
    border-top: 2px solid var(--tc-red);
    padding-top: 14px;
}
.who-focus__title {
    font-family: var(--font-sans); font-weight: 700;
    font-size: 16px; letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--tc-red);
    padding-bottom: 18px;
    border-bottom: 2px solid var(--tc-red);
    margin-bottom: 18px;
}
.who-focus { list-style: none; }
.who-focus li {
    padding: 18px 0;
    border-bottom: 1px solid var(--tc-navy-600);
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    position: relative;
    padding-left: 36px;
}
.who-focus li::before {
    content: "→";
    position: absolute; left: 0; top: 18px;
    color: var(--tc-red);
    font-weight: 700;
}

/* ─────────────────────────────────────────────── SLIDE 3 WHAT WE CREATE ───── */
.paper-head {
    position: absolute; left: var(--pad-x); top: 170px; right: var(--pad-x);
}
.paper-h2 {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 96px; line-height: 0.95;
    margin-top: 14px;
    color: var(--tc-ink);
}
.caps-grid {
    position: absolute; left: var(--pad-x); right: var(--pad-x);
    top: 410px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px 32px;
}
.cap {
    background: #fff;
    border: 1px solid var(--tc-rule);
    padding: 28px 28px 30px 28px;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(11,27,44,0.06);
    min-height: 240px;
    /* Animation initial state — overridden when slide is active */
    opacity: 0;
    transform: translateY(24px) scale(0.94);
}
.caps-grid .slide--paper, /* no-op selector, keeps specificity */
.slide.is-active .caps-grid .cap {
    animation: cap-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes cap-rise {
    0%   { opacity: 0; transform: translateY(24px) scale(0.94); }
    60%  { opacity: 1; transform: translateY(-4px) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cap__ico {
    width: 56px; height: 56px;
    color: var(--tc-blue);
    transform: scale(0) rotate(-25deg);
    transform-origin: 28px 28px;
}
.slide.is-active .caps-grid .cap__ico {
    animation: cap-ico-burst 700ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}
@keyframes cap-ico-burst {
    0%   { transform: scale(0) rotate(-25deg); opacity: 0; }
    60%  { transform: scale(1.18) rotate(8deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cap__ico svg { width: 100%; height: 100%; }
.cap__name {
    margin-top: 22px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 24px;
    color: var(--tc-ink);
}
.cap__body {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--tc-ink-2);
}
.cap::after {
    content: "";
    position: absolute;
    left: 28px; bottom: 18px;
    width: 0; height: 3px;
    background: var(--tc-red);
}
.slide.is-active .caps-grid .cap::after {
    animation: cap-rule-grow 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 380ms);
}
@keyframes cap-rule-grow {
    to { width: 32px; }
}

/* ─────────────────────────────────────────────── SLIDE 4 SPLIT ───── */
.slide--split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.split-img {
    background-size: cover; background-position: center;
    position: relative;
    /* Hard edge — no fade into the text panel. */
}
/* Quick fade-in for the engine photo */
.slide--split .split-img {
    opacity: 0;
}
.slide--split.is-active .split-img {
    animation: split-img-fade 500ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}
@keyframes split-img-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.split-text {
    background: var(--tc-blue);
    padding: 88px 112px 80px 64px;
    display: flex; flex-direction: column;
    position: relative;
}
.split-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 88px; line-height: 0.95;
    color: #fff;
    margin-top: 18px;
}
.split-lede {
    font-size: 24px; line-height: 1.4;
    color: var(--tc-steel-300);
    margin: 32px 0 36px 0;
    max-width: 640px;
}
.split-list {
    list-style: none;
    border-top: 2px solid var(--tc-red);
    padding-top: 8px;
    max-width: 640px;
}
.split-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--tc-navy-600);
    font-family: var(--font-sans);
    font-size: 22px; font-weight: 500; color: #fff;
    position: relative;
    padding-left: 30px;
    /* Animation initial state — bullets slide IN from the right */
    opacity: 0;
    transform: translateX(60px);
}
.split-list li::before {
    content: "▸";
    position: absolute; left: 0; top: 14px;
    color: var(--tc-red);
}
.slide--split.is-active .split-list li {
    animation: split-bullet-in 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    /* Stagger across the 5 bullets — start in sync with photo fade-in,
       all settled within ~900 ms of slide entry. */
    animation-delay: calc(80ms + var(--i, 0) * 80ms);
}
@keyframes split-bullet-in {
    to { opacity: 1; transform: translateX(0); }
}
.split-cap {
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--tc-steel-500);
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────── SLIDE 5 GALLERY ───── */
.gallery-head {
    position: absolute; left: var(--pad-x); top: 170px; right: var(--pad-x);
    max-width: 1100px;
}
.gallery-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 88px; line-height: 0.95; color: #fff;
    margin-top: 14px;
}
.gallery-lede {
    font-size: 22px; line-height: 1.45;
    color: var(--tc-steel-300);
    margin-top: 22px;
    max-width: 920px;
}
.gallery-grid {
    position: absolute; left: var(--pad-x); right: var(--pad-x); top: 420px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.gallery-grid figure { position: relative; overflow: hidden; border-radius: 4px; }
.gphoto {
    width: 100%; height: 250px;
    background-size: cover; background-position: center;
    transition: filter 0.18s, transform 0.18s;
}
.gphoto:hover { filter: brightness(1.05); }
.gallery-grid figcaption {
    background: var(--tc-navy-800);
    color: #fff;
    padding: 18px 22px;
    font-family: var(--font-sans);
    font-size: 18px;
    border-left: 4px solid var(--tc-red);
}

/* ─────────────────────────────────────────────── SLIDE 6 MOTION ───── */
.slide--motion { background: var(--tc-navy-1000); color: #fff; }
.motion-grid {
    position: absolute; inset: 200px var(--pad-x) 130px var(--pad-x);
    display: grid; grid-template-columns: 1fr 0.85fr;
    gap: 96px;
}
.motion-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 88px; line-height: 0.95; color: #fff;
    margin-top: 14px;
}
.motion-lede {
    font-size: 26px; line-height: 1.35;
    color: var(--tc-steel-300);
    margin-top: 30px;
    max-width: 640px;
}
.motion-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.motion-list > div {
    padding: 14px 0 14px 24px;
    border-left: 3px solid var(--tc-red);
    display: flex; flex-direction: column;
}
.motion-list b { font-family: var(--font-sans); font-size: 22px; font-weight: 700; }
.motion-list span { font-size: 16px; color: var(--tc-steel-300); margin-top: 4px; }

.motion-stack { display: flex; flex-direction: column; gap: 18px; max-height: 750px; }
video.motion-vid {
    position: relative;
    width: 100%;
    flex: 1 1 0; min-height: 0;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.35);
    object-fit: cover;
    cursor: pointer;
}
video.motion-vid:hover { box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.motion-vid {
    position: relative;
    background-size: cover; background-position: center;
    flex: 1 1 0; min-height: 0;
    border-radius: 4px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}
.motion-vid .play {
    position: absolute; left: 50%; top: 50%;
    width: 80px; height: 80px; transform: translate(-50%,-50%);
    background: rgba(255,255,255,0.95); border-radius: 50%;
    display: block;
}
.motion-vid .play::after {
    content: ""; position: absolute; left: 32px; top: 22px;
    border-left: 22px solid var(--tc-blue);
    border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}

/* ─────────────────────────────────────────────── SLIDE 7 PARTNER ───── */
.partner-grid {
    position: absolute; inset: 200px var(--pad-x) 130px var(--pad-x);
    display: grid; grid-template-columns: 1fr 0.85fr; gap: 80px;
    align-items: start;
}
.partner-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 80px; line-height: 1; color: var(--tc-ink);
    margin-top: 14px;
}
.partner-lede {
    font-size: 24px; line-height: 1.4;
    color: var(--tc-ink-2);
    margin-top: 30px;
    max-width: 720px;
}
.partner-highlights {
    margin-top: 44px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
}
.partner-highlights > div {
    background: #fff;
    border: 1px solid var(--tc-rule);
    padding: 18px 22px;
    font-family: var(--font-sans); font-weight: 600;
    font-size: 19px;
    color: var(--tc-ink);
    display: flex; align-items: center; gap: 16px;
    border-radius: 4px;
}
.partner-highlights span {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 26px;
    color: var(--tc-red);
    letter-spacing: 0.04em;
    border-right: 1px solid var(--tc-rule);
    padding-right: 14px;
}
.partner-photos {
    display: grid; grid-template-rows: 1fr 1fr; gap: 18px;
    height: 740px;
}
.pphoto {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    border-radius: 4px;
    transition: filter 0.18s;
}
.pphoto:hover { filter: brightness(1.05); }

/* ─────────────────────────────────────────────── SLIDE 8 MATRIX ───── */
.matrix-head {
    position: absolute; left: var(--pad-x); top: 170px; right: var(--pad-x);
    max-width: 1300px;
}
.matrix-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 88px; line-height: 0.95; color: #fff;
    margin-top: 14px;
}
.matrix-lede {
    font-size: 24px; line-height: 1.4;
    color: var(--tc-steel-300);
    margin-top: 18px;
}
.matrix-grid {
    position: absolute; left: var(--pad-x); right: var(--pad-x); top: 420px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.mtile {
    background: var(--tc-navy-700);
    border-radius: 4px;
    overflow: hidden;
}
.mtile__img {
    width: 100%; height: 250px;
    background-size: cover; background-position: center;
    background-color: var(--tc-paper-white); /* fallback under cover crops */
    transition: filter 0.18s;
    position: relative;
}
/* Unifying scrim — gives every photo (white-studio + dark-factory)
   the same cinematic industrial cast so the grid reads as one set. */
.mtile__img::after {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(11, 27, 44, 0.08) 0%, rgba(11, 27, 44, 0.40) 100%),
      radial-gradient(ellipse at center, transparent 40%, rgba(11, 27, 44, 0.18) 100%);
    pointer-events: none;
}
.mtile__img:hover { filter: brightness(1.08); }
.mtile__lbl {
    padding: 20px 24px;
    font-family: var(--font-sans);
    font-weight: 700; font-size: 20px;
    color: #fff;
    border-top: 2px solid var(--tc-red);
}

/* ─────────────────────────────────────────────── SLIDE 9 CASE ───── */
.slide--case { background: #000; color: #fff; }
.case-hero {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%;
    filter: brightness(0.55) saturate(1.1);
}
.case-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,27,44,0.35) 0%, rgba(11,27,44,0.85) 60%, rgba(11,27,44,0.95) 100%);
}
.case-content {
    position: absolute; left: var(--pad-x); right: var(--pad-x); top: 200px;
    z-index: 3;
}
.case-tag {
    display: inline-block;
    background: var(--tc-red);
    color: #fff;
    padding: 8px 18px;
    font-family: var(--font-sans);
    font-weight: 700; font-size: 14px;
    letter-spacing: 0.18em; text-transform: uppercase;
}
.case-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 72px; line-height: 1;
    color: #fff;
    margin-top: 22px;
    max-width: 1500px;
}
.case-cols {
    margin-top: 60px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.case-cols p { font-size: 19px; line-height: 1.5; color: var(--tc-steel-300); }
.case-h {
    font-family: var(--font-sans); font-weight: 700;
    font-size: 16px; letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tc-red);
    margin-bottom: 16px;
}
.case-strip {
    margin-top: 56px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cstrip {
    height: 200px;
    background-size: cover; background-position: center;
    border-radius: 4px;
    border: 1px solid var(--tc-navy-600);
    transition: filter 0.18s, border-color 0.18s;
}
.cstrip:hover { filter: brightness(1.10); border-color: var(--tc-red); }

/* ─────────────────────────────────────────────── SLIDE 10 CTA ───── */
.slide--cta { background: var(--tc-navy-1000); color: #fff; }
.cta-bg {
    position: absolute; right: -120px; bottom: -180px;
    width: 1100px; opacity: 0.08;
    pointer-events: none;
}
.cta-grid {
    position: absolute; inset: 200px var(--pad-x) 130px var(--pad-x);
    display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 80px;
    z-index: 2;
}
.cta-title {
    font-family: var(--font-display); font-weight: 900;
    text-transform: none; letter-spacing: -0.01em;
    font-size: 96px; line-height: 0.95; color: #fff;
    margin-top: 18px;
}
.cta-lede {
    font-size: 26px; line-height: 1.4; color: var(--tc-steel-300);
    margin-top: 30px;
    max-width: 800px;
}
.cta-discussion { margin-top: 50px; }
.cta-discussion__head {
    font-family: var(--font-sans); font-weight: 700;
    font-size: 16px; letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--tc-red);
    border-bottom: 2px solid var(--tc-red);
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.cta-discussion ul { list-style: none; }
.cta-discussion li {
    padding: 14px 0 14px 30px;
    border-bottom: 1px solid var(--tc-navy-600);
    font-size: 20px; color: #fff;
    position: relative;
}
.cta-discussion li::before {
    content: "?";
    position: absolute; left: 0; top: 14px;
    font-family: var(--font-display); font-weight: 800;
    color: var(--tc-red);
    font-size: 22px;
}

.cta-card {
    background: var(--tc-navy-700);
    border-top: 6px solid var(--tc-red);
    padding: 44px 44px;
    border-radius: 4px;
}
.cta-card__h {
    font-family: var(--font-display); font-weight: 900; text-transform: none;
    font-size: 44px; line-height: 1;
    color: #fff;
    text-transform: uppercase;
}
.cta-card__line {
    font-family: var(--font-sans);
    font-size: 22px;
    color: #fff;
    margin-top: 20px;
}
.cta-card__line--phone { font-size: 28px; font-weight: 600; color: var(--tc-red-soft); }
.cta-card__line--addr  { font-size: 16px; color: var(--tc-steel-300); line-height: 1.5; }
.cta-card__rule {
    height: 1px; background: var(--tc-navy-600);
    margin: 32px 0 24px;
}
.cta-card__next {
    font-family: var(--font-sans); font-weight: 700;
    font-size: 14px; letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--tc-red);
    margin-bottom: 14px;
}
.cta-card ol {
    list-style: none; counter-reset: step;
}
.cta-card ol li {
    counter-increment: step;
    padding: 10px 0 10px 36px;
    position: relative;
    font-family: var(--font-sans);
    font-size: 17px;
    color: #fff;
}
.cta-card ol li::before {
    content: counter(step,decimal-leading-zero);
    position: absolute; left: 0; top: 10px;
    font-family: var(--font-display); font-weight: 800;
    color: var(--tc-red);
    font-size: 18px;
}

/* ─────────────────────────────────────────────── LIGHTBOX OVERLAY ───── */
.tc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 26, 48, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 64px;
    opacity: 0;
    transition: opacity 0.2s;
}
.tc-lightbox.is-open {
    display: flex;
    opacity: 1;
}
.tc-lightbox__frame {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.tc-lightbox__img {
    max-width: 100%;
    max-height: calc(90vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    background: #000;
}
.tc-lightbox__cap {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tc-steel-300);
    text-align: center;
}
.tc-lightbox__close,
.tc-lightbox__prev,
.tc-lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
    font-family: var(--font-sans);
    line-height: 1;
}
.tc-lightbox__close:hover,
.tc-lightbox__prev:hover,
.tc-lightbox__next:hover {
    background: var(--tc-red);
    border-color: var(--tc-red);
}
.tc-lightbox__close {
    top: 32px; right: 32px;
    width: 56px; height: 56px;
    font-size: 32px;
    font-weight: 300;
}
.tc-lightbox__prev,
.tc-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 64px; height: 64px;
    font-size: 40px;
    font-weight: 400;
}
.tc-lightbox__prev { left: 32px; }
.tc-lightbox__next { right: 32px; }

/* Hint on hoverable images / videos */
[data-lightbox] {
    cursor: zoom-in;
    position: relative;
}
[data-lightbox]:focus-visible {
    outline: 3px solid var(--tc-red);
    outline-offset: 4px;
}

/* Video controls polish — Safari + Chrome */
video.motion-vid::-webkit-media-controls-panel {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}
video.motion-vid:focus { outline: 2px solid var(--tc-red); outline-offset: 2px; }

/* Stat number wrapper — let the animated span fill the parent */
.stat-num [data-count] { display: inline-block; min-width: 0; }

@media print {
    body { background: #000; }
    .slide { box-shadow: none; }
}
