/*
 * ReasoningLayer marketing deck — shared styles.
 *
 * Extracted from index.html so the English (/deck) and French (/deck/fr)
 * decks share one stylesheet. Slide markup differs per language; the look
 * does not. Linked via <base href="/deck/"> as /deck/deck.css from both.
 */

/* ===== stage, slides & atoms ===== */
  :root {
    /* palette: warm light corporate */
    --paper: #FBF8F2;
    --paper-2: #F3ECDD;
    --ink: #1C1813;
    --ink-2: #6E6557;
    --line: #E4DBCB;
    --amber: #B26B12;
    --amber-deep: #8A4F0C;
    --amber-bright: #E0922E;
    --amber-soft: #F0E2C9;

    /* type */
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Hanken Grotesk", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* type scale @1920×1080 */
    --type-display: 112px;
    --type-title: 66px;
    --type-subtitle: 40px;
    --type-lead: 34px;
    --type-body: 29px;
    --type-small: 24px;
    --type-label: 24px;

    /* spacing */
    --pad-x: 120px;
    --pad-y: 92px;
    --gap-title: 34px;
    --gap-item: 26px;
  }

  html, body { margin: 0; padding: 0; background: #161310; }
  deck-stage:not(:defined) { visibility: hidden; }
  deck-stage { font-family: var(--font-body); color: var(--ink); }

  section { background: var(--paper); }
  .frame {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: var(--pad-y) var(--pad-x);
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* ---------- shared atoms ---------- */
  .eyebrow {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber-deep);
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--amber);
    display: inline-block;
  }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -0.015em; }
  .title { font-size: var(--type-title); color: var(--ink); text-wrap: balance; }
  .lead { font-size: var(--type-lead); line-height: 1.42; color: var(--ink-2); font-weight: 400; max-width: 24ch; }
  p { margin: 0; }

  .logo { height: 40px; width: auto; display: block; }
  .logo--light { filter: brightness(0) invert(1); opacity: 0.96; }

  .corner-logo { position: absolute; top: var(--pad-y); left: var(--pad-x); }
  .corner-mark {
    position: absolute; top: var(--pad-y); right: var(--pad-x);
    font-family: var(--font-mono); font-size: var(--type-label);
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
    white-space: nowrap; text-align: right;
  }

  .head { margin-bottom: var(--gap-title); }
  .head .title { margin-top: 22px; }

  /* ---------- dark slides ---------- */
  .dark { background: var(--ink); color: var(--paper); }
  .dark .title { color: var(--paper); }
  .dark .lead { color: #C9BEAC; }
  .dark .corner-mark { color: #9A8E7B; }

  /* ---------- cover ---------- */
  .cover .frame { justify-content: center; }
  .cover-display {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--type-display);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--paper);
    max-width: 17ch;
  }
  .cover-display .amber { color: var(--amber-bright); }
  .cover .lead { max-width: 40ch; margin-top: 40px; font-size: var(--type-subtitle); }
  .cover-foot {
    position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: var(--pad-y);
    display: flex; justify-content: space-between; align-items: flex-end;
    font-family: var(--font-mono); font-size: var(--type-small); color: #9A8E7B;
    letter-spacing: 0.04em;
  }
  .cover-foot a { color: var(--amber-bright); text-decoration: none; }

  /* ---------- problem cards ---------- */
  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; flex: 1; align-content: center; }
  .grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 30px; align-content: start; }
  .grid-5 .pcard { padding: 36px 28px; }
  .grid-5 .pcard .idx { margin-bottom: 22px; }
  .grid-5 .pcard h3 { font-size: 31px; margin-bottom: 14px; }
  .frame > .grid-4 { align-content: stretch; }

  /* ---------- vicious circle ---------- */
  .cycle-wrap { position: relative; width: 720px; height: 700px; margin: auto; }
  .ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .ring circle.loop { stroke: var(--amber); stroke-width: 2.5; stroke-opacity: 0.5; fill: none; }
  .ring circle.rbroken { stroke: var(--ink-2); stroke-width: 2; stroke-opacity: 0.35; stroke-dasharray: 5 16; fill: none; }
  .ring polygon { fill: var(--amber); }
  .ring line { stroke: var(--amber); stroke-width: 2.5; stroke-opacity: 0.5; }
  .cyc-node { position: absolute; transform: translate(-50%, -50%); width: 232px; min-height: 88px; box-sizing: border-box; padding: 16px 18px; border-radius: 13px; text-align: center; background: var(--paper-2); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(28,24,19,0.05); }
  .cyc-node .cn-t { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.14; color: var(--ink); }
  .cyc-node.neg { border-top: 3px solid var(--amber); }
  .cyc-node.pos { background: var(--paper-2); border-top: 3px solid #6E9E58; }
  .cyc-node.pos .cn-t { color: var(--ink); }
  .cyc-node .cn-mark { display: block; font-family: var(--font-mono); font-size: 24px; color: #6E9E58; margin-bottom: 4px; }
  .cyc-center { position: absolute; left: 350px; top: 350px; transform: translate(-50%, -50%); width: 234px; height: 234px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; box-sizing: border-box; }
  .cyc-center.trap { border: 2px dashed var(--amber); }
  .cyc-center .cc-k { font-family: var(--font-mono); font-size: var(--type-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
  .cyc-center .cc-t { font-family: var(--font-display); font-weight: 600; font-size: 27px; color: var(--ink); line-height: 1.1; }
  .cyc-center.trap .cc-t { color: var(--amber-deep); text-transform: uppercase; letter-spacing: 0.02em; }
  .cyc-center.fix { background: var(--ink); border: 3px solid var(--amber); }
  .cyc-center.fix .cc-rl { font-family: var(--font-display); font-weight: 600; font-size: 27px; color: var(--amber-bright); margin-bottom: 8px; line-height: 1.1; }
  .cyc-center.fix .cc-b { font-family: var(--font-mono); font-size: var(--type-small); color: #C9BEAC; line-height: 1.25; }

  /* ---------- two circles side by side ---------- */
  .duo { display: flex; align-items: center; justify-content: center; gap: 24px; flex: 1; }
  .duo-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .duo-label { font-family: var(--font-mono); font-size: var(--type-small); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
  .duo-slot { width: 478px; height: 478px; position: relative; }
  /* Centre via negative margins, NOT translate(-50%,-50%): an absolutely
     positioned element centred with top/left:50% + translate(-50%,-50%) that
     contains absolutely-positioned children makes the browser fit-shrink the
     whole multi-page document ~5% in print (white/dark band on every slide).
     Negative-margin centring is visually identical and prints full-bleed. */
  .duo-slot .cycle-wrap { position: absolute; top: 50%; left: 50%; margin: -350px 0 0 -360px; transform: scale(0.65); }
  .duo-arrow { font-size: 64px; color: var(--amber); line-height: 1; }
  /* circle on a slide: text left, circle right */
  .prob-2col { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 44px; flex: 1; align-items: center; }
  .circle-slot { width: 800px; height: 800px; position: relative; margin: 0 0 0 auto; }
  .circle-slot .cycle-wrap { position: absolute; top: 50%; left: 50%; margin: -350px 0 0 -360px; transform: scale(1.08); }
  .pcard {
    background: var(--paper-2);
    border-top: 3px solid var(--amber);
    border-radius: 4px;
    padding: 44px 38px;
    display: flex; flex-direction: column;
  }
  .pcard .idx { font-family: var(--font-mono); font-size: var(--type-small); color: var(--amber-deep); margin-bottom: 30px; }
  .pcard h3 { font-size: 36px; margin-bottom: 18px; }
  .pcard p { font-size: var(--type-small); line-height: 1.46; color: var(--ink-2); }

  /* ---------- two-column idea ---------- */
  .two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 96px; flex: 1; align-items: center; }
  .versus { display: flex; flex-direction: column; gap: 26px; }
  .vrow { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: baseline; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .vrow:last-child { border-bottom: none; }
  .vrow .who { font-family: var(--font-display); font-weight: 600; font-size: 32px; }
  .vrow .who.llm { color: var(--ink-2); }
  .vrow .who.rl { color: var(--amber-deep); }
  .vrow .who-sub { font-family: var(--font-mono); font-size: 24px; color: var(--ink-2); margin-top: 10px; letter-spacing: 0.02em; }
  .vrow .what { font-size: var(--type-small); line-height: 1.46; color: var(--ink-2); }
  .idea-lead { font-size: var(--type-lead); line-height: 1.4; }
  .idea-lead strong { color: var(--ink); font-weight: 600; }

  /* ---------- flow ---------- */
  .flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 0; flex: 1; }
  .step { display: flex; flex-direction: column; justify-content: center; padding: 40px 30px; }
  .step .num {
    font-family: var(--font-mono); font-size: var(--type-small); color: var(--amber-deep);
    width: 52px; height: 52px; border: 2px solid var(--amber); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-bottom: 26px;
  }
  .step h3 { font-size: 33px; margin-bottom: 16px; }
  .step p { font-size: var(--type-small); line-height: 1.44; color: var(--ink-2); }
  .arrow { display: flex; align-items: center; justify-content: center; color: var(--amber); font-size: 38px; padding: 0 6px; }
  .step.mid { background: var(--paper-2); border-radius: 6px; }

  /* ---------- outcomes ---------- */
  .ocard { background: var(--paper-2); border-radius: 6px; padding: 40px 36px; display: flex; flex-direction: column; }
  .oc-art { height: 300px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--amber); margin-bottom: 30px; }
  .oc-art svg { width: 100%; max-width: 230px; height: auto; max-height: 220px; }
  .ocard .oi { font-family: var(--font-mono); font-size: var(--type-small); color: var(--amber-deep); margin-bottom: 14px; letter-spacing: 0.06em; }
  .ocard h3 { font-size: 30px; margin-bottom: 14px; margin-top: 0; }
  .ocard p { font-size: var(--type-small); line-height: 1.46; color: var(--ink-2); }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; align-content: start; }

  /* ---------- hallucination gate schema ---------- */
  .gate { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1.25fr; align-items: center; flex: 1; margin-top: 10px; }
  .gate-arrow { color: var(--amber); font-size: 46px; padding: 0 26px; text-align: center; }
  .gate-node { background: var(--paper-2); border-radius: 8px; padding: 40px 36px; }
  .gate-node .gn-label { font-family: var(--font-display); font-weight: 600; font-size: 32px; color: var(--ink-2); margin-bottom: 14px; }
  .gate-node .gn-sub { font-size: var(--type-small); line-height: 1.46; color: var(--ink-2); }
  .gate-core { background: var(--ink); border-radius: 8px; padding: 44px 38px; border-top: 4px solid var(--amber); }
  .gate-core .gc-label { font-family: var(--font-display); font-weight: 600; font-size: 33px; color: var(--amber-bright); margin-bottom: 14px; }
  .gate-core .gc-sub { font-size: var(--type-small); line-height: 1.46; color: #C9BEAC; }
  .gate-out { display: flex; flex-direction: column; gap: 22px; }
  .go { display: flex; gap: 22px; align-items: center; background: var(--paper-2); border-radius: 8px; padding: 28px 30px; }
  .go .go-mark { flex: none; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
  .go.pass .go-mark { color: #2C4F37; border: 2px solid #5C9A6E; }
  .go.block .go-mark { color: var(--amber-deep); border: 2px solid var(--amber); }
  .go .go-h { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin-bottom: 4px; }
  .go .go-d { font-size: var(--type-small); line-height: 1.4; color: var(--ink-2); }

  /* ---------- use case (Autrice) ---------- */
  .case { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 80px; flex: 1; align-items: center; }
  .case-lead { font-size: var(--type-lead); line-height: 1.4; color: var(--ink); margin-bottom: 48px; max-width: 22ch; }
  .cs-num { font-family: var(--font-display); font-weight: 700; font-size: 132px; line-height: 0.9; color: var(--amber); letter-spacing: -0.03em; }
  .cs-num .cs-unit { font-size: 62px; color: var(--amber-deep); }
  .cs-sub { font-family: var(--font-mono); font-size: var(--type-small); color: var(--ink-2); letter-spacing: 0.04em; margin-top: 16px; text-transform: uppercase; max-width: 22ch; line-height: 1.4; }
  .case-right { display: flex; flex-direction: column; gap: 26px; }
  .case-logo { position: absolute; top: var(--pad-y); right: var(--pad-x); height: 46px; width: auto; opacity: 0.92; }

  /* ---------- differentiation comparison ---------- */
  .cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; flex: 1; align-content: center; }
  .cmp-card { background: var(--paper-2); border-radius: 8px; padding: 46px 38px; display: flex; flex-direction: column; }
  .cmp-card .cc-tag { font-family: var(--font-mono); font-size: var(--type-small); color: var(--ink-2); letter-spacing: 0.06em; margin-bottom: 22px; }
  .cmp-card .cc-name { font-family: var(--font-display); font-weight: 600; font-size: 33px; margin-bottom: 18px; }
  .cmp-card .cc-d { font-size: var(--type-small); line-height: 1.46; color: var(--ink-2); }
  .cmp-card.win { background: var(--ink); border-top: 4px solid var(--amber); }
  .cmp-card.win .cc-tag { color: var(--amber-bright); }
  .cmp-card.win .cc-name { color: var(--paper); }
  .cmp-card.win .cc-d { color: #C9BEAC; }

  /* ---------- industries ---------- */
  .grid-ind { flex: 1; align-content: stretch; margin-top: 40px; }
  .ind-card { background: var(--paper-2); border-radius: 6px; padding: 40px 32px; display: flex; flex-direction: column; }
  .ind-card .ic-art { height: 300px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--amber); margin-bottom: 30px; }
  .ind-card .ic-art svg { width: 100%; max-width: 190px; height: auto; max-height: 190px; }
  .ind-card .ic-tag { font-family: var(--font-mono); font-size: var(--type-small); color: var(--amber-deep); letter-spacing: 0.05em; margin-bottom: 16px; }
  .ind-card .ic-q { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.32; color: var(--ink); }

  /* ---------- ownership / data-stays-yours schema ---------- */
  .own { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; flex: 1; align-items: center; }
  .own-schema { display: flex; flex-direction: column; gap: 24px; }
  .olane { border-radius: 8px; padding: 28px 30px; }
  .olane.out { background: var(--paper-2); }
  .olane.stay { background: var(--ink); border-top: 4px solid var(--amber); }
  .olane .ol-label { font-family: var(--font-mono); font-size: var(--type-small); letter-spacing: 0.06em; margin-bottom: 20px; }
  .olane.out .ol-label { color: var(--ink-2); }
  .olane.stay .ol-label { color: var(--amber-bright); }
  .ol-flow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .ol-box { font-family: var(--font-display); font-weight: 600; font-size: 24px; padding: 16px 22px; border-radius: 6px; line-height: 1.2; white-space: nowrap; }
  .olane.out .ol-box { background: var(--paper); color: var(--ink); }
  .olane.out .ol-box.ghost { background: transparent; border: 1px dashed var(--line); color: var(--ink-2); }
  .olane.stay .ol-box { background: #2A241C; color: var(--paper); }
  .ol-arrow { font-family: var(--font-mono); font-size: 28px; color: var(--amber-deep); }
  .olane.stay .ol-arrow { color: var(--amber-bright); }
  .ol-note { font-size: var(--type-small); line-height: 1.4; margin-top: 18px; }
  .olane.out .ol-note { color: var(--ink-2); }
  .olane.stay .ol-note { color: #C9BEAC; }
  .own-points { display: flex; flex-direction: column; gap: 28px; }

  /* ---------- reliability ---------- */
  .rel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; flex: 1; align-items: center; }
  .rel-points { display: flex; flex-direction: column; gap: 30px; }
  .rpt { display: flex; gap: 24px; align-items: flex-start; }
  .rpt .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); margin-top: 12px; flex: none; }
  .rpt .rh { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin-bottom: 8px; }
  .rpt .rd { font-size: var(--type-small); line-height: 1.44; color: var(--ink-2); }
  .prooftree {
    background: var(--ink); border-radius: 8px; padding: 52px 48px;
    font-family: var(--font-mono); font-size: 24px; color: #C9BEAC; line-height: 1.85;
  }
  .prooftree .ttl { color: var(--amber-bright); font-size: var(--type-small); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; display: block; }
  .prooftree .ok { color: #8FBF7A; }
  .prooftree .branch { padding-left: 34px; border-left: 2px solid #3A332A; margin-left: 6px; }
  .prooftree .leaf { color: #FBF8F2; }

  /* ---------- compliance ---------- */
  .comp { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; flex: 1; align-content: center; }
  .comp h3 { font-size: 34px; margin-bottom: 24px; }
  .clist { display: flex; flex-direction: column; gap: 18px; }
  .cli { font-size: var(--type-body); line-height: 1.4; position: relative; padding-left: 36px; }
  .cli::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--amber); font-family: var(--font-mono); }
  .cli .lbl { font-weight: 600; color: var(--ink); }
  .cli .dsc { color: var(--ink-2); }
  .cli .dsc::before { content: ": "; }
  .chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; grid-column: 1 / -1; }
  .chip {
    font-family: var(--font-mono); font-size: var(--type-small); letter-spacing: 0.04em;
    padding: 12px 22px; border: 1.5px solid var(--line); border-radius: 100px; color: var(--ink-2);
    background: var(--paper-2); white-space: nowrap;
  }

  /* ---------- cost ---------- */
  .cost { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; flex: 1; align-items: center; }
  .bignum { font-family: var(--font-display); font-weight: 700; font-size: 280px; line-height: 0.82; color: var(--amber); letter-spacing: -0.04em; }
  .bignum .x { font-size: 150px; color: var(--amber-deep); }
  .bigsub { font-family: var(--font-mono); font-size: var(--type-body); color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }
  .cost-points { display: flex; flex-direction: column; gap: 28px; }
  .cpt { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .cpt:last-child { border-bottom: none; }
  .cpt h3 { font-size: 30px; margin-bottom: 10px; }
  .cpt p { font-size: var(--type-small); line-height: 1.46; color: var(--ink-2); }

  /* ---------- partners ---------- */
  .partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; flex: 1; margin-top: 12px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .pcell {
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    font-family: var(--font-display); font-weight: 500; font-size: 38px; color: var(--ink);
    padding: 32px; gap: 10px;
  }
  .pcell .sub { font-family: var(--font-mono); font-size: 24px; color: var(--ink-2); letter-spacing: 0.04em; font-weight: 500; }
  .plogo { max-width: 70%; max-height: 76px; width: auto; object-fit: contain; }
  .partners-note { margin-top: 38px; }
  .pn-big { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--ink); margin-bottom: 12px; }
  .pn-big .accent { color: var(--amber-deep); }
  .pn-sub { font-size: var(--type-body); color: var(--ink-2); line-height: 1.4; max-width: 76ch; }

  /* ---------- CTA ---------- */
  .cta .frame { justify-content: center; }
  .cta-body { display: flex; flex-direction: column; align-items: flex-start; gap: 44px; }
  .cta .title { font-size: 88px; max-width: 15ch; margin: 0; }
  .cta .lead { font-size: var(--type-subtitle); max-width: 34ch; margin: 0; }
  .cta-actions { display: flex; gap: 18px; align-items: center; margin: 0; }
  .btn {
    font-family: var(--font-display); font-weight: 600; font-size: 30px;
    padding: 22px 44px; border-radius: 6px; text-decoration: none; display: inline-block; white-space: nowrap;
  }
  .btn-primary { background: var(--amber-bright); color: #1C1813; }
  .btn-ghost { color: var(--paper); border: 1.5px solid #4A4136; }
  .cta-foot {
    position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: var(--pad-y);
    display: flex; justify-content: space-between; align-items: flex-end;
    font-family: var(--font-mono); font-size: var(--type-small); color: #9A8E7B; letter-spacing: 0.04em;
  }

  @media (prefers-reduced-motion: no-preference) {
    [data-deck-active] .anim { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    [data-deck-active] .anim-2 { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both; }
    [data-deck-active] .anim-3 { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.16s both; }
    @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  }
  @media print {
    .anim, .anim-2, .anim-3 { opacity: 1 !important; transform: none !important; animation: none !important; }
  }

  /* ---------- per-slide chrome: brand logo + page number ---------- */
  .deck-chrome {
    position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 42px;
    display: flex; justify-content: space-between; align-items: center; pointer-events: none;
  }
  /* The chrome row is click-through (pointer-events:none); re-enable pointer
     events on the logo link so it opens reasoninglayer.ai while taps elsewhere
     still drive slide navigation. */
  .deck-chrome .dc-logo-link { pointer-events: auto; display: inline-flex; align-items: center; line-height: 0; cursor: pointer; }
  .deck-chrome .dc-logo-link:hover .dc-logo { opacity: 1; }
  .deck-chrome .dc-logo { height: 28px; width: auto; opacity: 0.78; transition: opacity 140ms ease; }
  .dark .deck-chrome .dc-logo-link { display: none; }
  .deck-chrome .dc-num { font-family: var(--font-mono); font-size: 24px; letter-spacing: 0.1em; color: var(--ink-2); white-space: nowrap; }
  .dark .deck-chrome .dc-num { color: #9A8E7B; }
  .deck-chrome .dc-num .tot { opacity: 0.5; }
  body.hide-brand .deck-chrome .dc-logo-link { display: none; }
  body.hide-nums .deck-chrome .dc-num { display: none; }
  body.nums-plain .deck-chrome .dc-num .tot { display: none; }

/* ===== presenter controls pill ===== */
  .deck-ctl {
    position: fixed; right: 20px; bottom: 20px; z-index: 2147483600;
    display: flex; align-items: center; gap: 2px; padding: 4px;
    background: #000; border-radius: 999px; opacity: 0.5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: opacity 200ms ease;
    -webkit-user-select: none; user-select: none;
  }
  .deck-ctl:hover, .deck-ctl:focus-within { opacity: 1; }
  .deck-ctl[hidden] { display: none; }
  .deck-ctl-btn {
    appearance: none; -webkit-appearance: none; border: 0; margin: 0; padding: 0;
    width: 34px; height: 34px; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: rgba(255, 255, 255, 0.72);
    transition: background 140ms ease, color 140ms ease;
  }
  .deck-ctl-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .deck-ctl-btn:active { background: rgba(255, 255, 255, 0.22); }
  .deck-ctl-btn:focus { outline: none; }
  .deck-ctl-btn:focus-visible { outline: 2px solid var(--amber-bright); outline-offset: 2px; }
  .deck-ctl-btn svg { width: 17px; height: 17px; display: block; }
  .deck-ctl-btn.is-active { color: var(--amber-bright); }
  /* Language switch — a text label (FR / EN) rather than an icon, styled to
     sit flush with the icon buttons in the same pill. */
  .deck-ctl-lang {
    font-family: var(--font-mono, monospace); font-size: 13px; font-weight: 600;
    letter-spacing: 0.06em; text-decoration: none;
  }
  .deck-ctl-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.16); margin: 0 3px; }
  @media print { .deck-ctl { display: none !important; } }
