/* =============================================================================
   ENTROPIA — Sales Deck  ·  v3 visual system
   Editorial. Interiors on warm light (ivory/stone, ink text); dark reserved
   for the hero cover + closing. Accent = deep desaturated petroleum-green,
   minimal. Narrative that moves from chaos → living system.
   Headlines: Geist · Body: Inter · micro labels/codes: JetBrains Mono.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap");

/* Product typography shared with the Alfa and Nación landings. */
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* ── Dark universe (cover / closing) ───────────────────────────── */
  --ink:        #070706;
  --graphite-1: oklch(0.175 0.004 75);
  --ivory: oklch(0.951 0.013 83);
  --mist:  oklch(0.745 0.012 80);
  --dim:   oklch(0.555 0.010 78);
  --faint: oklch(0.42 0.008 78);
  --cream: oklch(0.87 0.035 70);
  --accent:      oklch(0.62 0.055 168);  /* green on dark */
  --line:   oklch(1 0 0 / 0.07);
  --line-2: oklch(1 0 0 / 0.13);
  --line-strong: oklch(1 0 0 / 0.24);

  /* ── Light universe (interiors) ────────────────────────────────── */
  --paper-1: oklch(0.992 0.001 100);  /* clean white */
  --paper-2: oklch(0.958 0.003 100);  /* light grey panel */
  --graphite: oklch(0.205 0.008 65);  /* ink text (crisp) */
  --smoke:    oklch(0.42 0.008 68);   /* secondary */
  --stone:    oklch(0.585 0.006 70);  /* tertiary */
  --rule-d:   oklch(0.205 0.008 65 / 0.14);
  --rule-d2:  oklch(0.205 0.008 65 / 0.30);
  --accent-ink: oklch(0.40 0.095 162); /* deep Entropia green, high presence */
  --accent-tint: oklch(0.40 0.095 162 / 0.08);

  /* ── Isometric engine · LIGHT slabs, graphite labels, green = active ── */
  --iso-top: oklch(0.988 0.001 100);
  --iso-side-r: oklch(0.928 0.003 100);
  --iso-side-l: oklch(0.875 0.004 100);
  --iso-edge: oklch(0.30 0.01 150 / 0.30);
  --iso-edge-strong: oklch(0.30 0.01 150 / 0.46);
  --iso-grid: oklch(0.30 0.01 150 / 0.10);
  --iso-edge-label: oklch(0.50 0.006 70);
  --iso-label: oklch(0.225 0.008 65);
  --iso-sub: oklch(0.54 0.006 70);
  --iso-acc-top: oklch(0.93 0.034 165);
  --iso-acc-r: oklch(0.87 0.044 165);
  --iso-acc-l: oklch(0.82 0.05 166);
  --iso-acc-edge: oklch(0.40 0.095 162 / 0.5);
  --iso-beam: oklch(0.46 0.10 163);
  --blk-top: oklch(0.998 0 0);
  --blk-r: oklch(0.905 0.004 100);
  --blk-l: oklch(0.83 0.005 100);
  --blk-edge: oklch(0.30 0.01 150 / 0.42);
  --blk-acc-top: oklch(0.56 0.105 162);
  --blk-acc-r: oklch(0.47 0.098 164);
  --blk-acc-l: oklch(0.39 0.088 166);
  --blk-acc-edge: oklch(0.34 0.08 166);
  --blk-acc-tx: oklch(0.975 0.02 160);
  --blk-acc-tx2: oklch(0.86 0.04 160);
  --iso-shadow: oklch(0.30 0.02 150 / 0.16);
  --blk-break: oklch(0.55 0.13 35);

  --font-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans:    "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-product: "DM Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --pad: 116px;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); }
deck-stage:not(:defined) { visibility: hidden; }

/* ── Slide base — LIGHT by default ─────────────────────────────────── */
section.slide {
  --paper: var(--paper-1);
  --tx: var(--graphite);
  --tx2: var(--smoke);
  --tx3: var(--stone);
  --tx4: oklch(0.70 0.006 70);
  --rule: var(--rule-d);
  --rule-2: var(--rule-d2);
  --rule-strong: oklch(0.205 0.008 65 / 0.5);
  --acc: var(--accent-ink);
  --acc-line: oklch(0.40 0.095 162 / 0.45);
  --acc-tint: oklch(0.40 0.095 162 / 0.07);
  --panel: #ffffff;
  --lane-fill: oklch(0.972 0.002 100);
  --plate-shadow: oklch(0.205 0.02 70 / 0.10);
  --tab-ink: oklch(0.205 0.008 65 / 0.28);
  --break: var(--accent-ink);
  --vig: oklch(0.80 0.02 80 / 0.0);
  width: 1920px; height: 1080px;
  background: var(--paper); color: var(--tx);
  font-family: var(--font-sans);
  padding: var(--pad);
  overflow: hidden;
}
/* ── Dark modifier — cover / closing / contrast moments ────────────── */
section.slide.dark {
  --paper: var(--ink);
  --tx: var(--ivory);
  --tx2: var(--mist);
  --tx3: var(--dim);
  --tx4: var(--faint);
  --rule: var(--line-2);
  --rule-2: var(--line-strong);
  --rule-strong: oklch(1 0 0 / 0.32);
  --acc: var(--accent);
  --acc-line: oklch(0.62 0.055 168 / 0.5);
  --acc-tint: oklch(0.62 0.055 168 / 0.12);
  --panel: var(--graphite-1);
  --lane-fill: oklch(1 0 0 / 0.03);
  --plate-shadow: oklch(0 0 0 / 0.4);
  --tab-ink: oklch(1 0 0 / 0.3);
  /* iso · dark slabs */
  --iso-top: oklch(0.225 0.006 75);
  --iso-side-r: oklch(0.17 0.006 75);
  --iso-side-l: oklch(0.13 0.006 75);
  --iso-edge: oklch(1 0 0 / 0.16);
  --iso-edge-strong: oklch(1 0 0 / 0.26);
  --iso-grid: oklch(1 0 0 / 0.06);
  --iso-edge-label: oklch(0.62 0.01 80);
  --iso-label: oklch(0.951 0.013 83);
  --iso-sub: oklch(0.6 0.01 80);
  --iso-acc-top: oklch(0.34 0.05 168);
  --iso-acc-r: oklch(0.28 0.045 170);
  --iso-acc-l: oklch(0.22 0.04 172);
  --iso-acc-edge: oklch(0.62 0.055 168 / 0.6);
  --iso-beam: oklch(0.72 0.07 172);
  --blk-top: oklch(0.30 0.006 75);
  --blk-r: oklch(0.23 0.006 75);
  --blk-l: oklch(0.175 0.006 75);
  --blk-edge: oklch(1 0 0 / 0.2);
  --blk-acc-top: oklch(0.6 0.07 168);
  --blk-acc-r: oklch(0.5 0.065 170);
  --blk-acc-l: oklch(0.4 0.058 172);
  --blk-acc-edge: oklch(0.72 0.07 170);
  --blk-acc-tx: oklch(0.12 0.01 160);
  --blk-acc-tx2: oklch(0.2 0.02 160);
  --iso-shadow: oklch(0 0 0 / 0.5);
  --blk-break: oklch(0.6 0.13 35);
  background: var(--ink); color: var(--ivory);
}

/* atmospheric depth (subtle, theme-aware) */
.slidebg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
section.slide:not(.dark) .slidebg {
  background:
    radial-gradient(58% 48% at 100% 0%, oklch(0.40 0.095 162 / 0.045), transparent 60%),
    radial-gradient(80% 70% at 50% 118%, oklch(0.66 0.01 100 / 0.45), transparent 55%),
    var(--paper-1);
}
section.slide.dark .slidebg {
  background:
    radial-gradient(70% 90% at 96% -8%, oklch(0.30 0.03 70 / 0.30), transparent 60%),
    radial-gradient(90% 80% at 50% 120%, oklch(0.10 0.006 80 / 0.85), transparent 55%),
    var(--ink);
}
section.slide.dark::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.04 0.004 80 / 0.35) 0%, transparent 24%, transparent 70%, oklch(0.03 0.004 80 / 0.6) 100%);
}
.frame { position: absolute; inset: 0; padding: var(--pad); display: flex; flex-direction: column; z-index: 2; }
.folio { z-index: 3; }

/* ── Type ──────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--acc); display: inline-flex; align-items: center; gap: 13px; font-weight: 500;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--acc); }
.eyebrow.plain { color: var(--tx3); }
.eyebrow.plain::before { background: var(--acc); }

h1.head {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.02; margin: 0;
  color: var(--tx); text-wrap: balance;
}
.sub { font-family: var(--font-sans); font-weight: 400; color: var(--tx2); line-height: 1.45; text-wrap: pretty; }
.support { font-family: var(--font-sans); font-weight: 400; color: var(--tx2); line-height: 1.5; }
.accent { color: var(--acc); }
.cream  { color: var(--cream); }
.muted  { color: var(--tx3); }

.logo-lockup { display: block; height: 34px; }
.logo-lockup.sm { height: 26px; opacity: 0.92; }
/* dark logo (entropía wordmark is white) needs inversion on light slides */
section.slide:not(.dark) .logo-lockup { filter: invert(1) brightness(0.18); opacity: 0.9; }

.folio {
  position: absolute; left: var(--pad); bottom: 58px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em;
  color: var(--tx3); display: flex; gap: 13px; align-items: center;
}
.folio .bar { width: 30px; height: 1px; background: var(--rule-2); }

/* ── Entrances ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-deck-active] .anim { animation: rise .85s cubic-bezier(.2,.7,.2,1) both; }
  [data-deck-active] .anim.d1 { animation-delay: .05s; }
  [data-deck-active] .anim.d2 { animation-delay: .15s; }
  [data-deck-active] .anim.d3 { animation-delay: .27s; }
  [data-deck-active] .anim.d4 { animation-delay: .39s; }
  [data-deck-active] .anim.d5 { animation-delay: .51s; }
  [data-deck-active] .anim.d6 { animation-delay: .63s; }
  [data-deck-active] .fade { animation: fade 1.2s ease .35s both; }
  [data-deck-active] .draw { animation: draw 1.6s cubic-bezier(.4,.5,.2,1) .4s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { opacity: 0; } to { opacity: 1; } }

/* Isometric scene assembly — layers rise into place, then beams draw.
   Base (non-active) state is fully visible, so PDF/print/export are correct. */
@media (prefers-reduced-motion: no-preference) {
  [data-deck-active] .iso-rise { animation: isoRise 0.95s cubic-bezier(.18,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 130ms + 240ms); transform-box: fill-box; }
  [data-deck-active] .iso-draw { animation: isoFade 1.1s ease both, beamBreathe 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 130ms + 520ms), calc(var(--i, 0) * 220ms + 1500ms); }
  /* signal travelling along the active routes */
  [data-deck-active] .iso-signal { animation: signalRun 2.8s cubic-bezier(.5,.05,.5,.95) infinite; animation-delay: calc(var(--i, 0) * 360ms + 1400ms); }
  /* the intelligence / impact layers keep a slow living glow */
  [data-deck-active] .iso-live { animation: isoRise 0.95s cubic-bezier(.18,.7,.2,1) both, liveGlow 4.2s ease-in-out 1600ms infinite; animation-delay: calc(var(--i, 0) * 130ms + 240ms); transform-box: fill-box; }
}
@keyframes isoRise { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: none; } }
@keyframes isoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes beamBreathe { 0%, 100% { opacity: 0.62; } 50% { opacity: 1; } }
@keyframes signalRun { 0% { opacity: 0; offset-distance: 0%; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; offset-distance: 100%; } }
@keyframes liveGlow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 7px var(--iso-beam)); } }

/* ═══ ENTROPIA OS — reusable system components ═══════════════════════ */

/* System-state indicator: "01 / Fragmentación" + progress rail */
.state { display: flex; flex-direction: column; gap: 14px; }
.state .row { display: flex; align-items: baseline; gap: 13px; font-family: var(--font-mono); }
.state .idx { font-size: 26px; font-weight: 500; color: var(--acc); letter-spacing: 0.01em; }
.state .sl { font-size: 22px; color: var(--tx3); font-weight: 400; }
.state .nm { font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tx); font-weight: 500; }
.state .prog { display: flex; gap: 5px; }
.state .prog i { width: 26px; height: 2px; background: var(--rule-2); display: block; }
.state .prog i.on { background: var(--acc); }

/* Diagnostic marker — a precise instrument readout pinned to the map */
.diag {
  display: inline-flex; flex-direction: column; gap: 7px;
  padding: 15px 19px 16px; border: 1px solid var(--rule-2); border-radius: 11px;
  background: #ffffff; box-shadow: 0 6px 22px oklch(0.2 0.02 70 / 0.06), 0 1px 2px oklch(0.2 0.02 70 / 0.05);
  min-width: 232px;
}
.diag .meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx3); }
.diag .meta .id { color: var(--acc); font-weight: 500; }
.diag .meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-left: auto; box-shadow: 0 0 0 4px var(--acc-tint); }
.diag .label { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; color: var(--tx); line-height: 1.2; }

/* Transformation capsule embedded in the intelligence membrane */
.flowchip {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 13px 20px; border: 1px solid var(--acc-line); border-radius: 999px;
  background: #ffffff; box-shadow: 0 4px 16px oklch(0.4 0.06 162 / 0.08);
  font-family: var(--font-sans); font-size: 19px; white-space: nowrap;
}
.flowchip .from { color: var(--tx2); }
.flowchip .ar { color: var(--acc); font-family: var(--font-mono); font-size: 16px; }
.flowchip .to { color: var(--tx); font-weight: 600; }

/* Operating Map — fixed 1688-wide coordinate stage; SVG + HTML share space */
.omap { position: relative; width: 1688px; }
.omap-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.omap .pin { position: absolute; }

/* ── Clients wall ──────────────────────────────────────────────────── */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; flex: 1; }
.sector { padding: 0 40px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.sector:first-child { padding-left: 0; border-left: none; }
.sector:last-child { padding-right: 0; }
.sector .shead { display: flex; align-items: baseline; gap: 11px; margin-bottom: 30px; }
.sector .shead .sid { font-family: var(--font-mono); font-size: 14px; color: var(--acc); letter-spacing: 0.04em; }
.sector .shead .sname { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx2); font-weight: 500; line-height: 1.4; }
.sector .wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 22px; align-content: start; flex: 1; }
.sector.wide .wall { grid-template-columns: repeat(2, 1fr); }
.logo-cell { height: 58px; display: flex; align-items: center; justify-content: flex-start; }
.logo-cell img {
  max-height: 52px; max-width: 100%; object-fit: contain; object-position: left center;
  filter: grayscale(1) contrast(0.95) opacity(0.7);
}
.sector .count { margin-top: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--tx4); text-transform: uppercase; }

/* ═══ Content modules (slides 04–13) ════════════════════════════════ */

/* Module card — base building block */
.mod {
  border: 1px solid var(--rule-2); border-radius: 13px; background: #ffffff;
  padding: 26px 28px; display: flex; flex-direction: column; position: relative;
  box-shadow: 0 1px 2px oklch(0.2 0.02 70 / 0.04);
}
.mod .mtag { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; color: var(--tx3); text-transform: uppercase; }
.mod .mtitle { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -0.012em; color: var(--tx); margin-top: 12px; line-height: 1.12; }
.mod .mdesc { font-size: 18px; line-height: 1.46; color: var(--tx2); margin-top: 13px; }
.mod.lit { border-color: var(--acc-line); box-shadow: 0 8px 28px oklch(0.4 0.06 162 / 0.07); }
.mod.lit .mtitle { color: var(--acc); }
.mod .mnum { font-family: var(--font-mono); font-size: 14px; color: var(--acc); letter-spacing: 0.04em; }
.mod .mtab { position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; background: var(--tab-ink); }
.mod.lit .mtab { background: var(--acc); }

/* Small item chips inside a module */
.itemlist { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.item { font-family: var(--font-sans); font-size: 15.5px; color: var(--tx2); padding: 7px 13px; border: 1px solid var(--rule-2); border-radius: 7px; background: var(--lane-fill); white-space: nowrap; }
.mod .leak { display: flex; align-items: center; gap: 11px; margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx3); }
.mod .leak .pip { display: flex; gap: 3px; margin-left: auto; }
.mod .leak .pip i { width: 13px; height: 3px; background: var(--rule-2); border-radius: 1px; display: block; }
.mod .leak .pip i.on { background: var(--break); }
.mod .activate { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 9px; font-family: var(--font-sans); font-size: 14.5px; color: var(--acc); border-top: 1px solid var(--rule); }
.mod .activate .adot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; }

/* Generic positioned grid layouts */
.zone-grid { display: grid; gap: 22px; margin-top: auto; }

/* Value engine stations (slide 6) */
.engine { position: relative; margin-top: auto; }
.stations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 2; }
.station {
  background: #fff; border: 1px solid var(--rule-2); border-radius: 12px; padding: 22px 22px 24px;
  display: flex; flex-direction: column; position: relative;
}
.station.lit { border-color: var(--acc-line); background: var(--acc-tint); }
.station .sn { font-family: var(--font-mono); font-size: 13px; color: var(--acc); letter-spacing: 0.1em; }
.station .st { font-family: var(--font-display); font-size: 27px; font-weight: 500; color: var(--tx); margin-top: 14px; letter-spacing: -0.01em; }
.station .sd { font-size: 16.5px; line-height: 1.42; color: var(--tx2); margin-top: 12px; }
.station .scap { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx3); margin-top: 11px; }
.station .subs { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.station .subs .s { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.01em; color: var(--tx2); display: flex; align-items: center; gap: 10px; }
.station .subs .s::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--tx3); flex: none; }
.station.lit .subs .s { color: var(--tx); }
.station.lit .subs .s::before { background: var(--acc); }
.station .node { position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--acc); }

/* Maturity layers (slide 7) */
.layers { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
.layer {
  display: grid; grid-template-columns: 52px 290px 1fr 312px; align-items: center; gap: 26px;
  border: 1px solid var(--rule-2); border-radius: 12px; background: #fff; padding: 15px 30px;
  position: relative; overflow: hidden;
}
.layer .lfill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc-tint); z-index: 0; }
.layer > * { position: relative; z-index: 1; }
.layer .ln { font-family: var(--font-mono); font-size: 17px; color: var(--acc); }
.layer .lt { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--tx); letter-spacing: -0.01em; }
.layer .lin { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--tx3); margin-top: 6px; }
.layer .ld { font-size: 17px; line-height: 1.4; color: var(--tx2); }
.layer .lout { display: flex; flex-direction: column; gap: 5px; padding: 11px 16px; border: 1px solid var(--rule-2); border-radius: 9px; background: var(--lane-fill); }
.layer .lout .ot { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.layer .lout .ov { font-size: 16px; color: var(--tx); font-weight: 500; line-height: 1.25; }

/* Pillars (slide 11) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: auto; }
.pillar {
  border: 1px solid var(--rule-2); border-radius: 14px; background: #fff; padding: 38px 36px 40px;
  display: flex; flex-direction: column; min-height: 360px; position: relative;
}
.pillar .pcap { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }
.pillar .pt { font-family: var(--font-display); font-size: 33px; font-weight: 500; color: var(--tx); margin-top: 20px; letter-spacing: -0.015em; line-height: 1.08; }
.pillar .pd { font-size: 20px; line-height: 1.5; color: var(--tx2); margin-top: auto; }
.pillar .pidx { font-family: var(--font-mono); font-size: 14px; color: var(--tx4); }

/* Capability modules (slide 9) */
.cap-spine { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; padding: 15px 0; border: 1px solid var(--acc-line); border-radius: 11px; background: var(--acc-tint); font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc); font-weight: 500; }
.cap-spine .sdot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 22px; position: relative; z-index: 2; }
.cap { border: 1px solid var(--rule-2); border-radius: 13px; background: #fff; padding: 28px 28px 30px; display: flex; flex-direction: column; min-height: 392px; position: relative; }
.cap::before { content: ""; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 1.5px; height: 22px; background: var(--acc-line); }
.cap::after { content: ""; position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.cap .cname { font-family: var(--font-display); font-size: 27px; font-weight: 500; color: var(--tx); letter-spacing: -0.01em; }
.cap .ckind { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc); margin-top: 10px; }
.cap .cdesc { font-size: 17.5px; line-height: 1.46; color: var(--tx2); margin-top: 18px; }
.cap .cframe { margin-top: auto; height: 120px; border-radius: 9px; border: 1px solid var(--rule); background: var(--lane-fill); position: relative; overflow: hidden; }

/* Capability description row (slide 9, under iso towers) */
.cap-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 14px; }
.cap-row .cr { border-top: 1px solid var(--rule-2); padding-top: 17px; position: relative; }
.cap-row .cr::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 2px; background: var(--acc); }
.cap-row .crn { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--tx); letter-spacing: -0.01em; }
.cap-row .crk { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc); margin-top: 9px; }
.cap-row .crd { font-size: 16.5px; line-height: 1.45; color: var(--tx2); margin-top: 12px; }

/* Value layers (slide 12) */
.vlayers { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.vlayer { display: grid; grid-template-columns: 56px 340px 1fr auto; align-items: center; gap: 28px; padding: 26px 32px; border: 1px solid var(--rule-2); border-radius: 12px; background: #fff; }
.vlayer.accent-row { border-color: var(--acc-line); background: var(--acc-tint); }
.vlayer .vn { font-family: var(--font-mono); font-size: 18px; color: var(--acc); }
.vlayer .vt { font-family: var(--font-display); font-size: 25px; font-weight: 500; color: var(--tx); letter-spacing: -0.01em; }
.vlayer .vd { font-size: 18px; line-height: 1.4; color: var(--tx2); }
.vlayer .vtag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx3); border: 1px solid var(--rule-2); border-radius: 6px; padding: 6px 12px; }

/* Closing: motto and brand, with three L-shaped capability lines below. */
.closing { align-items: flex-start; justify-content: center; }
.closing-content { width: 100%; margin-block: auto; }
.closing-brand { display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; gap: 92px; }
.closing-motto { margin: 0; font-family: var(--font-sans); font-size: 76px; font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; color: var(--ivory); }
.closing-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.closing-pillars { display: flex; flex-direction: column; gap: 22px; margin: 64px 0 0; padding: 0; list-style: none; }
.closing-pillars li { display: flex; align-items: center; gap: 24px; font-family: var(--font-product); font-size: 36px; font-weight: 400; line-height: 1.2; color: var(--cream); }
.closing-pillars li::before { content: ""; width: 42px; height: 28px; margin-top: -14px; border-left: 2px solid; border-bottom: 2px solid; flex: none; }
.closing-pillars li:nth-child(1)::before { color: var(--theme-data-light); }
.closing-pillars li:nth-child(2)::before { color: var(--theme-agents-light); }
.closing-pillars li:nth-child(3)::before { color: var(--theme-change-light); }
.closing .q { font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--cream); margin-top: 46px; letter-spacing: -0.01em; }
.closing .cta { font-size: 24px; color: var(--mist); margin-top: 18px; max-width: 760px; line-height: 1.45; }
.closing-sys { position: absolute; right: 86px; top: 50%; transform: translateY(-50%); width: 760px; height: 760px; z-index: 1; pointer-events: none; opacity: 0.95; }

/* Family resemblance through product labels and controls; retain deck display type. */
.slide .cap-mod .cm-name { font-family: var(--font-product); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.slide .cap-mod .cm-role { font-family: var(--font-product); }
.slide .nac-bar .nb-t { font-family: var(--font-product); letter-spacing: 0.015em; }
.slide .product-signature { font-family: var(--font-product); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--acc); margin-bottom: 20px; }
.slide .product-context { display: flex; flex-direction: column; gap: 13px; margin-top: 22px; font-family: var(--font-product); font-size: 16px; color: var(--tx2); }
.slide .product-context span { display: flex; align-items: center; gap: 12px; }
.slide .product-context span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); flex: none; }
.slide .closing-next { font-family: var(--font-sans); font-size: 24px; line-height: 1.5; color: var(--mist); max-width: 900px; margin: 28px 0 0; text-wrap: pretty; }
.slide .index-return, .slide .lang-toggle { font-family: var(--font-product); font-weight: 600; letter-spacing: 0.08em; border-radius: 12px; }
.slide .overview-return { border-radius: 12px; }
.slide .product-mark { display: block; flex: none; object-fit: contain; }
.slide .product-lockup { display: flex; align-items: center; gap: 12px; }
.slide .cap-mod .cm-name { min-height: 32px; }
#slide-07-fde.slide .fde7-out { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 70px; padding: 12px 14px; }
#slide-07-fde.slide .fde7-out span { text-align: left; }
#slide-10-agentic-architecture .product-model-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font-family: var(--font-product); font-size: 16px; font-weight: 500; color: var(--tx); }
.slide .fdes-id .fi-name { color: var(--theme-fdes-light); }
.slide [data-index-target]:focus-visible, .slide .index-return:focus-visible,
.slide .overview-return:focus-visible, .slide .lang-toggle:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 5px;
}
