:root {
    --banner-height: 72px;
    --canvas: #f6f3eb;
    --surface: #fffdf7;
    --bclab-blue: #305f8c;
    --bclab-deep: #273b58;
    --bclab-accent: #3f9698;
    --gold: #c69a45;
    --purple: #6e5b9e;
    --ink: #273746;
    --muted: #667985;
    --line: #d5d9d4;
    --panel: #edf2ef;
    --success: #32877d;
    --warning: #bc8337;
    --danger: #c4624f;
    --image-shadow: rgba(39, 59, 88, 0.18);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--canvas);
}

.presentation-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.persistent-navbar {
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
    width: 100%;
    height: var(--banner-height);
    min-height: var(--banner-height);
    padding: 0.45rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: white;
    background: linear-gradient(110deg, var(--bclab-deep), #315f82 62%, var(--bclab-accent));
    box-shadow: 0 3px 12px rgba(39, 59, 88, 0.24);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.brand-lockup img {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.navbar-title {
    font-family: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reveal-viewport {
    position: relative;
    flex: 1;
    width: 100%;
    height: calc(100vh - var(--banner-height));
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(63, 150, 152, 0.07), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(198, 154, 69, 0.08), transparent 26%),
        var(--canvas);
}

.reveal {
    height: 100%;
}

.reveal .slides {
    text-align: left;
}

.reveal .slides section.centered {
    text-align: center;
}

.reveal h1,
.reveal h2,
.reveal h3 {
    color: var(--ink);
}

.reveal h1 {
    font-size: 2.15em;
}

.reveal h2 {
    font-size: 1.55em;
}

.reveal h3 {
    font-size: 1.08em;
}

.reveal p,
.reveal li {
    line-height: 1.35;
}

.reveal .eyebrow {
    margin-bottom: 0.55rem;
    color: var(--bclab-blue);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.reveal .lead {
    max-width: 980px;
    color: var(--muted);
    font-size: 30px;
}

.reveal .hero-title {
    max-width: 1080px;
    margin: 0 auto 1rem;
    color: var(--ink);
    font-size: 2.35em;
    line-height: 1.04;
    text-align: center;
}

.reveal .hero-subtitle {
    max-width: 900px;
    margin: 0 auto;
    color: var(--bclab-blue);
    font-size: 30px;
    text-align: center;
}

.reveal .hero-meta {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 20px;
    text-align: center;
}

.reveal .grid-2,
.reveal .grid-3,
.reveal .grid-4 {
    display: grid;
    align-items: stretch;
    gap: 0.85rem;
}

.reveal .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reveal .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reveal .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.reveal .visual-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(860px, 78%);
    margin: 0 auto;
}

.reveal .visual-card,
.reveal .visual-image,
.reveal .slide-figure {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.reveal .visual-card img,
.reveal .visual-image img,
.reveal .slide-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid rgba(49, 77, 102, 0.16);
    border-radius: 14px;
    box-shadow: 0 10px 24px var(--image-shadow);
    object-fit: contain;
}

.reveal .visual-card img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.reveal .visual-card figcaption {
    padding: 0.55rem 0.3rem 0;
    text-align: center;
}

.reveal .visual-card figcaption strong,
.reveal .visual-card figcaption span {
    display: block;
}

.reveal .visual-card figcaption strong {
    color: var(--bclab-blue);
    font-size: 25px;
}

.reveal .visual-card figcaption span,
.reveal .visual-image figcaption,
.reveal .slide-figure figcaption {
    color: var(--muted);
    font-size: 17px;
}

.reveal .slide-figure figcaption {
    margin-top: 0.5rem;
    text-align: center;
}

.reveal .visual-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 1rem;
}

.reveal .visual-split-image-first {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.reveal .illustrated-split {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 1.1rem;
}

.reveal .illustrated-split .slide-figure img {
    height: auto;
    object-fit: contain;
}

.reveal .section-figure {
    width: min(600px, 64%);
    margin: 1rem auto 0;
}

.reveal .section-figure img {
    height: auto;
    object-fit: contain;
}

.reveal .showcase-figure {
    width: min(680px, 72%);
    margin: 0.35rem auto 0;
}

.reveal .showcase-figure img {
    height: auto;
    object-fit: contain;
}

.reveal .visual-image img {
    height: auto;
    object-fit: contain;
}

.reveal .visual-image figcaption {
    padding: 0.5rem 0.25rem 0;
    text-align: center;
}

.reveal .compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.reveal .compact-grid .card {
    padding: 0.65rem 0.75rem;
}

.reveal .compact-grid .metric {
    font-size: 1.65rem;
}

.reveal .compact-grid .card p {
    font-size: 19px;
}

.reveal .visual-copy .card + .card {
    margin-top: 0.7rem;
}

.reveal .compact-cards .card {
    padding: 0.55rem 0.7rem;
}

.reveal .compact-cards .card h3 {
    margin-bottom: 0.2rem;
}

.reveal .compact-cards .card p {
    margin: 0;
    font-size: 19px;
}

.reveal .compact-cards .metric-icon {
    width: 38px;
    height: 38px;
}

.reveal .technology-stack .card {
    padding: 0.6rem 0.8rem;
}

.reveal .technology-stack .card h3 {
    margin-bottom: 0.2rem;
}

.reveal .technology-stack .card p {
    margin: 0;
    font-size: 19px;
}

.reveal .compact-callout {
    margin-top: 0.65rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.reveal .card {
    box-sizing: border-box;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 253, 247, 0.94);
    box-shadow: 0 6px 18px rgba(39, 59, 88, 0.08);
}

.reveal .card h3,
.reveal .card h4 {
    margin: 0 0 0.45rem;
    color: var(--bclab-blue);
}

.reveal .card p,
.reveal .card li {
    font-size: 22px;
}

.reveal .card ul {
    margin-left: 0.8rem;
}

.reveal .metric {
    display: block;
    color: var(--bclab-blue);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.reveal .metric-icon {
    width: 52px;
    height: 52px;
    background-color: var(--bclab-blue);
    -webkit-mask: var(--metric-icon) center / contain no-repeat;
    mask: var(--metric-icon) center / contain no-repeat;
}

.reveal .icon-fingerprint { --metric-icon: url("assets/icons/fingerprint.svg"); }
.reveal .icon-check { --metric-icon: url("assets/icons/check.svg"); }
.reveal .icon-infinity { --metric-icon: url("assets/icons/infinity.svg"); }
.reveal .icon-key { --metric-icon: url("assets/icons/key.svg"); }
.reveal .icon-user-check { --metric-icon: url("assets/icons/user-check.svg"); }
.reveal .icon-shield-check { --metric-icon: url("assets/icons/shield-check.svg"); }

.reveal .callout {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-left: 6px solid var(--bclab-blue);
    border-radius: 8px;
    background: var(--panel);
}

.reveal .callout.warning {
    border-color: var(--warning);
    background: #fbf2e2;
}

.reveal .callout.danger {
    border-color: var(--danger);
    background: #f9ebe7;
}

.reveal .callout.success {
    border-color: var(--success);
    background: #e9f3ef;
}

.reveal .flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.15rem 0;
}

.reveal .flow-node {
    min-width: 150px;
    padding: 0.75rem 0.8rem;
    border: 2px solid var(--bclab-blue);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.reveal .flow-node.secure {
    color: white;
    background: var(--bclab-deep);
    border-color: var(--bclab-deep);
}

.reveal .flow-arrow {
    color: var(--bclab-blue);
    font-size: 1.35rem;
    font-weight: 700;
}

.reveal .trust-boundary {
    padding: 0.7rem;
    border: 2px dashed var(--warning);
    border-radius: 16px;
}

.reveal .architecture-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1.3fr auto 1fr;
    align-items: stretch;
    gap: 0.55rem;
    margin: 1rem 0;
}

.reveal .architecture-zone {
    display: flex;
    min-height: 112px;
    padding: 0.7rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.reveal .architecture-zone.highlighted {
    border-color: var(--bclab-blue);
    background: #eaf0f4;
}

.reveal .architecture-zone strong {
    color: var(--ink);
    font-size: 22px;
}

.reveal .architecture-zone small,
.reveal .architecture-layer small,
.reveal .architecture-target small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 15px;
}

.reveal .zone-label {
    margin-bottom: 0.3rem;
    color: var(--bclab-blue);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.reveal .architecture-arrow {
    align-self: center;
    color: var(--bclab-blue);
    font-size: 1.4rem;
    font-weight: 700;
}

.reveal .architecture-stack {
    width: min(880px, 92%);
    margin: 0.7rem auto;
}

.reveal .architecture-layer {
    display: grid;
    grid-template-columns: 38px 1fr 1.6fr;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    padding: 0.55rem 0.75rem;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.reveal .architecture-layer.accent {
    border-color: var(--bclab-accent);
    background: #e6efed;
}

.reveal .architecture-layer > span {
    color: var(--bclab-blue);
    font-size: 24px;
    font-weight: 700;
}

.reveal .architecture-layer strong {
    color: var(--ink);
    font-size: 20px;
}

.reveal .architecture-layer small {
    margin: 0;
    text-align: right;
}

.reveal .architecture-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.65rem;
}

.reveal .architecture-target {
    padding: 0.65rem;
    border-radius: 12px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.reveal .architecture-target.secure {
    color: white;
    background: var(--bclab-deep);
}

.reveal .architecture-target.secure small,
.reveal .architecture-target.secure code {
    color: #eef5f5;
}

.reveal .architecture-target.secure code {
    padding: 0.08em 0.38em;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0.3em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.reveal .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.reveal .chip {
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    background: #e6efed;
    color: var(--bclab-deep);
    font-size: 18px;
    font-weight: 600;
}

.reveal .checkpoint {
    padding: 1.2rem;
    border: 3px solid var(--success);
    border-radius: 18px;
    background: #f1fbf6;
    text-align: center;
}

.reveal .checkpoint h2 {
    color: var(--success);
}

.reveal .checkpoint-list {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.7rem;
    text-align: left;
}

.reveal .check {
    color: var(--success);
    font-weight: 700;
}

.reveal .comparison {
    width: 100%;
    font-size: 18px;
}

.reveal .comparison td,
.reveal .comparison th {
    padding: 0.45rem 0.5rem;
    vertical-align: top;
    border-color: var(--line);
}

.reveal .comparison th {
    color: var(--bclab-deep);
    background: rgba(63, 150, 152, 0.09);
}

.reveal pre {
    width: 100%;
    margin: 0.7rem auto;
}

.reveal pre code {
    max-height: 420px;
    font-size: 18px;
    line-height: 1.35;
}

.reveal .source {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 16px;
}

.reveal .section-slide {
    text-align: center;
}

.reveal .section-number {
    color: var(--bclab-blue);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.reveal .muted { color: var(--muted); }
.reveal .danger-text { color: var(--danger); }
.reveal .warning-text { color: var(--warning); }
.reveal .success-text { color: var(--success); }

.reveal .controls { color: var(--bclab-blue); }
.reveal .progress { color: var(--gold); }

@media screen and (max-width: 1024px), (max-height: 760px) {
    :root { --banner-height: 58px; }
    .brand-lockup img { height: 42px; }
    .navbar-title { font-size: 0.9rem; }
}
