/* UiTM talk deck: 1600x900 stage scaled to the window */
@import url(fonts/fonts.css);
:root {
  --bg: #060a13; --bg2: #0b1220; --panel: #0f1828; --line: #1e2a40; --line2: #2b3a57;
  --text: #e9eef7; --muted: #8b9ab3; --dim: #5d6b84;
  --teal: #3de0ff; --amber: #ffb347; --red: #ff5d6c; --green: #5ee0a0; --violet: #a78bfa;
  --head: 'Sora', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--body); overflow: hidden; -webkit-font-smoothing: antialiased; }
#dust { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .16; transition: transform 2.4s ease; }
.ambient .g1 { background: var(--teal); left: -20vmax; top: -25vmax; }
.ambient .g2 { background: var(--amber); right: -25vmax; bottom: -30vmax; opacity: .11; }

#stage { position: fixed; left: 50%; top: 50%; width: 1600px; height: 900px; transform: translate(-50%, -50%) scale(var(--s, 1)); z-index: 1; }
.slide { position: absolute; inset: 0; padding: 78px 96px 70px; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility 0s .55s; display: flex; flex-direction: column; }
.slide.past { transform: translateX(-40px); }
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.slide > .notes { display: none; }

/* type */
.kicker { font: 600 15px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.kicker.amber { color: var(--amber); }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -.02em; }
h1 { font-size: 92px; line-height: .98; font-weight: 800; }
h2 { font-size: 54px; line-height: 1.06; font-weight: 800; margin-bottom: 30px; }
h3 { font-size: 28px; line-height: 1.2; font-weight: 600; margin-bottom: 10px; }
p { margin: 0 0 14px; }
.lead { font-size: 26px; line-height: 1.45; color: #c8d2e3; max-width: 1150px; }
.muted { color: var(--muted); }
.small { font-size: 17px; color: var(--muted); line-height: 1.45; }
.src { position: absolute; left: 96px; bottom: 26px; font-size: 13px; color: var(--dim); max-width: 1300px; line-height: 1.4; }
.src a { color: var(--dim); }
.hl { color: var(--amber); }
.ht { color: var(--teal); }
.hr { color: var(--red); }
.hg { color: var(--green); }
b, strong { font-weight: 700; }

/* layout */
.grow { flex: 1; min-height: 0; }
.row { display: flex; gap: 28px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.center { align-items: center; justify-content: center; text-align: center; }
.card { background: linear-gradient(180deg, rgba(20,32,52,.85), rgba(13,21,36,.85)); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; position: relative; }
.card.t { border-top: 3px solid var(--teal); }
.card.a { border-top: 3px solid var(--amber); }
.card.r { border-top: 3px solid var(--red); }
.card.g { border-top: 3px solid var(--green); }
.card p, .card li { font-size: 22px; line-height: 1.5; color: #c4cee0; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 6px; }
.ico { font-size: 34px; margin-bottom: 12px; display: block; }
.pill { display: inline-block; font: 600 13px/1 var(--mono); letter-spacing: .08em; padding: 7px 11px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); text-transform: uppercase; }
.pill.t { color: var(--teal); border-color: rgba(61,224,255,.4); }
.pill.a { color: var(--amber); border-color: rgba(255,179,71,.4); }
.pill.r { color: var(--red); border-color: rgba(255,93,108,.4); }
.pill.g { color: var(--green); border-color: rgba(94,224,160,.4); }
.todo { outline: 2px dashed var(--amber); outline-offset: 4px; border-radius: 6px; }
.todo-tag { font: 600 12px/1 var(--mono); color: #111; background: var(--amber); padding: 4px 7px; border-radius: 4px; vertical-align: middle; margin-left: 8px; letter-spacing: .05em; }

/* cover */
.slide.cover { padding: 0; justify-content: flex-end; }
.cover .bg { position: absolute; left: 50%; top: 50%; width: var(--fw, 1600px); height: var(--fh, 900px); transform: translate(-50%, -50%); background-size: cover; background-position: center; }
.cover .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,10,19,.92) 0%, rgba(6,10,19,.6) 42%, rgba(6,10,19,.05) 75%), linear-gradient(0deg, rgba(6,10,19,.9), transparent 45%); }
.cover.right .bg::after { background: linear-gradient(270deg, rgba(6,10,19,.92) 0%, rgba(6,10,19,.55) 45%, rgba(6,10,19,.05) 78%), linear-gradient(0deg, rgba(6,10,19,.9), transparent 45%); }
.cover .in { position: relative; padding: 0 96px 96px; max-width: 1100px; }
.cover.right .in { margin-left: auto; text-align: right; }
.cover.right .kicker { justify-content: flex-end; }
.cover .chno { font: 800 180px/0.8 var(--head); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.25); margin-bottom: 18px; }
.cover h1 { text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.cover .lead { margin-top: 22px; text-shadow: 0 2px 20px rgba(0,0,0,.7); }
.cover .in, .cover .bg { animation: none; }
.slide.cover.active .bg { animation: kb 16s ease-out both; }
@keyframes kb { from { transform: translate(-50%, -50%) scale(1.08); } to { transform: translate(-50%, -50%) scale(1); } }

/* title */
.title h1 { font-size: 104px; }
.title h1 .grad { background: linear-gradient(90deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.byline { display: flex; gap: 22px; align-items: center; margin-top: 34px; font-size: 20px; color: #cbd5e6; }
.byline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* big stat */
.stat { text-align: left; }
.stat .n { font: 800 72px/1 var(--head); letter-spacing: -.03em; color: var(--text); }
.stat .n small { font-size: .45em; color: var(--muted); font-weight: 600; margin-left: 4px; }
.stat .l { font-size: 18px; color: var(--muted); margin-top: 10px; line-height: 1.35; }
.stat.t .n { color: var(--teal); } .stat.a .n { color: var(--amber); } .stat.r .n { color: var(--red); } .stat.g .n { color: var(--green); }

/* guess-and-reveal tiles */
.reveal { cursor: pointer; user-select: none; transition: transform .2s, border-color .2s; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.reveal:hover { transform: translateY(-3px); border-color: var(--line2); }
.reveal .q { font-size: 20px; color: #c4cee0; line-height: 1.35; }
.reveal .n { font: 800 58px/1 var(--head); color: var(--dim); letter-spacing: -.03em; }
.reveal .n::after { content: '?'; }
.reveal.on .n { color: var(--amber); }
.reveal.on .n::after { content: ''; }
.reveal.on { border-color: rgba(255,179,71,.45); }
.reveal .u { font-size: 15px; color: var(--muted); margin-top: 6px; min-height: 18px; }

/* flip cards */
.flip { perspective: 1400px; cursor: pointer; height: 100%; }
.flip .fi { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip.on .fi { transform: rotateY(180deg); }
.flip .fa, .flip .fb { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; padding: 20px 22px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.flip .fa { background: linear-gradient(180deg, #142036, #0e1729); }
.flip .fb { background: linear-gradient(180deg, #24162a, #170f1d); transform: rotateY(180deg); border-color: rgba(255,93,108,.35); }
.flip .co { font: 800 26px/1.1 var(--head); margin: 8px 0 6px; }
.flip .dt { font: 500 13px/1 var(--mono); color: var(--teal); letter-spacing: .06em; }
.flip .what { font-size: 16px; color: #c4cee0; line-height: 1.45; margin-top: auto; }
.flip .big { font: 800 40px/1 var(--head); color: var(--red); margin-top: 8px; }
.flip .fb p { font-size: 16px; line-height: 1.5; color: #e5d8e8; margin: 0 0 8px; }
.flip .fb .qt { font-style: italic; color: #fff; }
.flip .fb small { margin-top: auto; color: var(--muted); font-size: 12px; }
.flip .hint { position: absolute; right: 14px; top: 14px; font: 600 11px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.flip.ok .fb { background: linear-gradient(180deg, #102a24, #0b1d19); border-color: rgba(94,224,160,.4); }

/* bar chart */
.bars { display: flex; align-items: flex-end; gap: 34px; height: 420px; padding: 0 10px; border-bottom: 1px solid var(--line2); }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bars .col { width: 100%; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, var(--red), #8e2b3a); height: 0; transition: height 1.2s cubic-bezier(.2,.7,.2,1); position: relative; }
.bars .col.proj { background: repeating-linear-gradient(45deg, rgba(255,93,108,.55) 0 10px, rgba(255,93,108,.25) 10px 20px); }
.bars .v { font: 800 30px/1 var(--head); margin-bottom: 10px; opacity: 0; transition: opacity .5s 1s; }
.active .bars .v { opacity: 1; }
.bars .yr { font: 600 18px/1 var(--mono); color: var(--muted); margin-top: 14px; position: absolute; bottom: -34px; }
.bars .b { position: relative; }

/* hbar */
.hbar { display: grid; grid-template-columns: 240px 1fr 90px; gap: 14px; align-items: center; margin: 22px 0; font-size: 21px; }
.hbar .tr { height: 26px; background: #0c1424; border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.hbar .fl { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #2a8fb0); border-radius: 99px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.hbar .fl.a { background: linear-gradient(90deg, var(--amber), #c47a1d); }
.hbar .fl.r { background: linear-gradient(90deg, var(--red), #9c2f3d); }
.hbar .fl.g { background: linear-gradient(90deg, var(--green), #2c9467); }
.hbar .pc { font: 800 24px/1 var(--head); text-align: right; }

/* quotes */
.quote { font: 600 30px/1.35 var(--head); letter-spacing: -.01em; }
.quote::before { content: '“'; color: var(--amber); font-size: 70px; line-height: 0; vertical-align: -26px; margin-right: 6px; }
.who { margin-top: 14px; color: var(--muted); font-size: 17px; }
.who b { color: var(--text); }

/* timeline */
.tl { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 14px; margin-top: 20px; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: 62px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--violet), var(--amber)); opacity: .6; }
.tl .ev { position: relative; padding-top: 88px; opacity: 0; transform: translateY(14px); transition: .5s; }
.active .tl .ev { opacity: 1; transform: none; }
.tl .ev::before { content: ''; position: absolute; top: 54px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--c, var(--teal)); }
.tl .ev .d { position: absolute; top: 0; font: 600 14px/1.3 var(--mono); color: var(--c, var(--teal)); letter-spacing: .04em; }
.tl .ev h4 { font: 700 19px/1.25 var(--head); margin: 0 0 6px; }
.tl .ev p { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* evolution stepper */
.evo { display: grid; grid-template-columns: 380px 1fr; gap: 34px; flex: 1; min-height: 0; }
.evo .rail { display: flex; flex-direction: column; gap: 14px; }
.evo .rail button { all: unset; cursor: pointer; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(15,24,40,.7); transition: .25s; }
.evo .rail button:hover { border-color: var(--line2); }
.evo .rail button .y { font: 600 13px/1 var(--mono); color: var(--muted); letter-spacing: .1em; }
.evo .rail button .t { font: 800 26px/1.15 var(--head); margin: 8px 0 4px; display: block; }
.evo .rail button .s { font-size: 15px; color: var(--muted); }
.evo .rail button.on { border-color: var(--c); background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(15,24,40,.7)); box-shadow: inset 4px 0 0 var(--c); }
.evo .rail button.on .t { color: var(--c); }
.evo .pane { display: none; flex-direction: column; gap: 18px; min-height: 0; }
.evo .pane.on { display: flex; }
.screen { background: #070c16; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.screen .bar { height: 38px; background: #0e1626; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 14px; font: 500 13px/1 var(--mono); color: var(--muted); }
.screen .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3650; }
.screen .bar i:nth-child(1) { background: #ff5f57; } .screen .bar i:nth-child(2) { background: #febc2e; } .screen .bar i:nth-child(3) { background: #28c840; }
.screen .bar span { margin-left: 10px; }
.screen .body { padding: 22px 26px; flex: 1; overflow: hidden; font-size: 18px; line-height: 1.55; }
.bub { max-width: 78%; padding: 12px 16px; border-radius: 14px; margin-bottom: 12px; font-size: 17px; line-height: 1.45; }
.bub.u { margin-left: auto; background: #1b3350; border-bottom-right-radius: 4px; }
.bub.a { background: #141d2e; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bub code, .code { font-family: var(--mono); font-size: 15px; }
.code { white-space: pre; color: #b9c6dc; line-height: 1.6; }
.code .k { color: #c792ea; } .code .f { color: #82aaff; } .code .s { color: #c3e88d; } .code .c { color: #5d6b84; }
.code .ghost { color: #4d5d7a; font-style: italic; }
.term { font: 500 16px/1.65 var(--mono); white-space: pre-wrap; color: #b9c6dc; }
.term .p { color: var(--green); } .term .y { color: var(--amber); } .term .t { color: var(--teal); } .term .d { color: var(--dim); } .term .w { color: #fff; }
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmp .card { padding: 16px 18px; }
.cmp .card .k2 { font: 600 12px/1 var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.cmp .card .v2 { font: 700 20px/1.3 var(--head); margin-top: 6px; }

/* race (same task, 3 eras) */
.race { display: flex; flex-direction: column; gap: 22px; }
.lane { display: grid; grid-template-columns: 250px 1fr 140px; gap: 18px; align-items: center; }
.lane .nm { font: 700 21px/1.2 var(--head); }
.lane .nm small { display: block; font: 500 14px/1.3 var(--body); color: var(--muted); margin-top: 4px; }
.lane .trk { height: 54px; background: #0c1424; border: 1px solid var(--line); border-radius: 12px; position: relative; overflow: hidden; display: flex; }
.lane .seg { height: 100%; width: 0; display: flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; color: #06101c; transition: width .9s linear; }
.lane .seg:nth-child(odd) { background: rgba(61,224,255,.75); } .lane .seg:nth-child(even) { background: rgba(255,179,71,.8); }
.lane .seg.you { background: rgba(255,255,255,.85) !important; }
.lane .tm { font: 800 30px/1 var(--head); text-align: right; color: var(--muted); }
.lane.done .tm { color: var(--green); }
.btn { all: unset; cursor: pointer; font: 600 15px/1 var(--mono); letter-spacing: .06em; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--line2); color: var(--teal); background: rgba(61,224,255,.06); }
.btn:hover { background: rgba(61,224,255,.14); }

/* images */
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: #000; position: relative; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.03); }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 14px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; flex: 1; min-height: 0; }
#lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(3,6,12,.94); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
#lightbox.on { display: flex; }
#lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
#lightbox .cap { position: absolute; bottom: 3vh; color: #cbd5e6; font-size: 16px; }

/* pipeline */
.pipe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; flex: 1; min-height: 0; }
.pipe .st { display: flex; flex-direction: column; opacity: .25; transition: opacity .5s, transform .5s; transform: translateY(10px); cursor: pointer; }
.pipe .st.on { opacity: 1; transform: none; }
.pipe .st .im { flex: 1; min-height: 0; border-radius: 14px; border: 1px solid var(--line2); background: radial-gradient(circle at 50% 40%, #1a2840, #0b1220); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pipe .st .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pipe .st .im img.cov { width: 100%; height: 100%; object-fit: cover; }
.pipe .st .no { font: 600 13px/1 var(--mono); color: var(--teal); margin: 14px 0 6px; letter-spacing: .1em; }
.pipe .st h4 { font: 700 19px/1.2 var(--head); margin: 0 0 4px; }
.pipe .st p { font-size: 14px; color: var(--muted); line-height: 1.4; margin: 0; }
.pipe .st .tool { margin-top: 8px; }

/* chart */
.chart { position: relative; flex: 1; min-height: 0; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: #0e1626; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.4; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.legend { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }

/* funnel */
.fun { display: flex; flex-direction: column; gap: 10px; }
.fun .fr { display: grid; grid-template-columns: 250px 1fr 120px; gap: 16px; align-items: center; font-size: 18px; }
.fun .fb2 { height: 40px; border-radius: 8px; background: linear-gradient(90deg, var(--teal), var(--violet)); width: 0; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.fun .n2 { font: 800 24px/1 var(--head); text-align: right; }
.fun .n2 small { font: 500 14px/1 var(--body); color: var(--muted); display: block; margin-top: 4px; }

/* video */
.vid { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #000; aspect-ratio: 16/9; cursor: pointer; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.vid .play { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; background: rgba(255,179,71,.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 14px rgba(255,179,71,.2); transition: transform .2s; }
.vid:hover .play { transform: scale(1.07); }
.vid .play::after { content: ''; border-left: 34px solid #10141c; border-top: 21px solid transparent; border-bottom: 21px solid transparent; margin-left: 8px; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* poll */
.poll { display: flex; flex-direction: column; gap: 18px; }
.pq { display: grid; grid-template-columns: 1fr 120px 56px 56px; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(15,24,40,.7); font-size: 23px; }
.pq .cnt { font: 800 40px/1 var(--head); color: var(--amber); text-align: right; }
.pq button { all: unset; cursor: pointer; width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line2); text-align: center; font: 700 26px/56px var(--head); color: var(--teal); }
.pq button:hover { background: rgba(61,224,255,.1); }

/* person */
.me { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; flex: 1; }
.avatar { width: 340px; height: 340px; border-radius: 50%; background: conic-gradient(from 200deg, var(--teal), var(--violet), var(--amber), var(--teal)); padding: 5px; }
.avatar div { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #1d2c47, #0a111d); display: flex; align-items: center; justify-content: center; font: 800 110px/1 var(--head); color: rgba(255,255,255,.85); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.roles { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.roles div { display: flex; gap: 16px; align-items: baseline; font-size: 22px; }
.roles .rl { font: 600 13px/1 var(--mono); color: var(--teal); letter-spacing: .1em; min-width: 120px; text-transform: uppercase; }

/* project grid */
.proj { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj .card { padding: 18px 20px; }
.proj .card .when { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.proj .card h4 { font: 700 20px/1.2 var(--head); margin: 8px 0 6px; }
.proj .card p { font-size: 15px; line-height: 1.4; margin: 0; }

/* table */
table.t { width: 100%; border-collapse: collapse; font-size: 21px; }
table.t th { text-align: left; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line2); }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #cdd6e6; line-height: 1.4; }
table.t td:first-child { color: var(--text); font-weight: 700; }
table.t tr.hi td { background: rgba(255,179,71,.06); }

/* chrome */
#chrome { position: fixed; left: 0; right: 0; bottom: 0; height: 46px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 0 18px; opacity: .25; transition: opacity .3s; }
#chrome:hover { opacity: 1; }
#progress { flex: 1; display: flex; gap: 6px; align-items: center; }
#progress .seg { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); cursor: pointer; overflow: hidden; }
#progress .seg i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .4s; }
#progress .lbl { font: 500 12px/1 var(--mono); color: var(--muted); margin-left: 10px; white-space: nowrap; min-width: 200px; }
#chrome .num { font: 500 13px/1 var(--mono); color: var(--muted); }
#chrome button { all: unset; cursor: pointer; color: var(--muted); font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: 8px; }
#chrome button:hover { color: var(--text); background: rgba(255,255,255,.07); }
#overview { position: fixed; inset: 0; z-index: 40; background: rgba(4,7,13,.97); overflow: auto; padding: 40px 60px; display: none; }
#overview.on { display: block; }
#overview h4 { font: 600 14px/1 var(--mono); letter-spacing: .12em; color: var(--teal); text-transform: uppercase; margin: 26px 0 12px; }
#overview .og { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
#overview button { all: unset; cursor: pointer; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 15px; color: #cbd5e6; }
#overview button span { font: 500 12px/1 var(--mono); color: var(--dim); margin-right: 10px; }
#overview button:hover, #overview button.cur { border-color: var(--teal); color: #fff; }
#notes { position: fixed; right: 16px; bottom: 56px; width: 520px; max-height: 46vh; overflow: auto; z-index: 30; background: rgba(8,13,23,.96); border: 1px solid var(--line2); border-radius: 14px; padding: 16px 20px; font-size: 16px; line-height: 1.55; color: #d4dcea; display: none; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
#notes.on { display: block; }
#notes .hd { display: flex; justify-content: space-between; font: 600 12px/1 var(--mono); color: var(--amber); letter-spacing: .1em; margin-bottom: 10px; }
#notes ul { margin: 0; padding-left: 18px; }
#notes li { margin-bottom: 6px; }
#help { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%); z-index: 6; background: rgba(14,22,38,.95); border: 1px solid var(--line2); padding: 10px 16px; border-radius: 10px; font: 500 13px/1.4 var(--mono); color: var(--muted); transition: opacity .6s; }
#help.hide { opacity: 0; pointer-events: none; }
#help b { color: var(--text); }

/* phone / narrow: slides become a scrolling page */
@media (max-width: 820px) {
  html, body { overflow: auto; }
  #stage { position: static; transform: none; width: auto; height: auto; }
  .slide { position: relative; opacity: 1; visibility: visible; transform: none; padding: 48px 22px; min-height: auto; border-bottom: 1px solid var(--line); }
  .slide.cover { min-height: 80vh; }
  .cover .bg { width: 100%; height: 100%; }
  .cover .in { padding: 0 22px 40px; }
  .cover .chno { font-size: 90px; }
  h1, .title h1 { font-size: 48px; } h2 { font-size: 32px; } .lead { font-size: 19px; }
  .g2, .g3, .g4, .g5, .proj, .evo, .me, .cmp, .pipe { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; }
  .flip { height: 260px; }
  .bars { height: 260px; gap: 12px; }
  .lane, .hbar, .fun .fr, .pq { grid-template-columns: 1fr; }
  .src { position: static; margin-top: 18px; }
  #chrome, #help, #notes { display: none !important; }
  .avatar { width: 200px; height: 200px; }
  .pipe .st { opacity: 1; transform: none; }
  .pipe .st .im { height: 240px; }
  .chart { height: 320px; }
}

/* capture mode (?shot): no transitions */
html.capmode *, html.capmode *::before, html.capmode *::after { transition: none !important; animation: none !important; }

.slide.mid { justify-content: center; }
.slide.mid .grow { flex: 0 0 auto; }
.fun .fr { font-size: 21px; }
