/* RITUAL ADS · THE INVESTOR DECK
   The brand's own system (the company film's grammar): black ground with a red light, white Inter statements,
   Oswald condensed capitals for the capability words, mono labels, hairline cards, one red rule.
   The signature: THE LINE. One red rule runs along the floor of every slide (y = 940 on the 1920 x 1080 stage)
   and every figure is that same line leaving the floor and coming back to it. */
@font-face{font-family:'Inter';src:url(assets/fonts/inter.woff) format('woff');font-weight:100 900;font-display:swap}
@font-face{font-family:'Oswald';src:url(assets/fonts/oswald.woff) format('woff');font-weight:200 700;font-display:swap}
:root{--bg:#000;--card:#0c0c0c;--line:#262626;--ink:#fff;--mist:#9b9b9b;--dim:#6a6a6a;--red:#ed4242;--ground:#EB1F29;--accent:var(--red);
 --sans:'Inter',system-ui,-apple-system,'Helvetica Neue',Arial,sans-serif;--cond:'Oswald','Avenir Next Condensed','Arial Narrow',sans-serif;
 --mono:ui-monospace,'SF Mono',Menlo,Consolas,monospace;--s:1;--z:1}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:#000;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{overflow:hidden}
button{font:inherit;color:inherit}
a{color:inherit}

/* ---------- the stage ---------- */
#stage{position:fixed;left:50%;top:50%;width:1920px;height:1080px;margin:-540px 0 0 -960px;transform:scale(var(--s));overflow:hidden;background:#000}
#track{position:absolute;inset:0;transition:transform .95s cubic-bezier(.72,0,.16,1);will-change:transform}
.slide{position:absolute;top:0;left:calc(var(--i)*1920px);width:1920px;height:1080px;overflow:hidden;background:#000;--accent:var(--red)}
.slide::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(54% 46% at 50% 66%,rgba(237,66,66,.17),rgba(237,66,66,0) 72%)}
.slide.red{background:var(--ground);--accent:#fff;--mist:rgba(255,255,255,.86);--dim:rgba(255,255,255,.62);--line:rgba(255,255,255,.38);--card:rgba(0,0,0,.2)}
.slide.red::before{background:radial-gradient(60% 56% at 50% 70%,rgba(255,150,130,.34),rgba(255,150,130,0) 72%)}
#grain{position:absolute;inset:0;pointer-events:none;z-index:30;opacity:.06;mix-blend-mode:screen;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E")}

.mast{position:absolute;left:96px;right:96px;top:46px;height:36px;display:flex;justify-content:space-between;align-items:center;z-index:6;pointer-events:none}
.lockup{height:32px;width:193px;display:block}
.folio{font:500 14px/1 var(--mono);letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.folio b{font-weight:500;color:var(--mist);margin-right:18px}
.pad{position:absolute;left:96px;right:96px;top:132px;bottom:170px;z-index:2}
.src{position:absolute;left:96px;right:96px;bottom:44px;margin:0;font:500 13.5px/1.5 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--dim);z-index:3}
.src a{text-decoration:none;border-bottom:1px solid currentColor}

/* ---------- type ---------- */
.say{font-weight:600;font-size:74px;line-height:1.03;letter-spacing:-.03em;margin:0;text-wrap:balance}
.say .r{color:var(--accent)}.say .m{color:var(--mist)}
.slide.red .say .r{color:#000}
.sup{font-size:27px;line-height:1.44;color:var(--mist);margin:0;font-weight:400;letter-spacing:-.008em;text-wrap:pretty}
.sup b{color:var(--ink);font-weight:500}
.stamp{font-family:var(--cond);font-weight:700;text-transform:uppercase;letter-spacing:.012em;line-height:.96}
.lab{font:500 14.5px/1.5 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--mist)}
.lab.r{color:var(--accent)}.lab.w{color:var(--ink)}
.num{font-weight:600;letter-spacing:-.045em;font-variant-numeric:tabular-nums;line-height:.9}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px}

/* ---------- logos: every one is the same white on the ground, each sized by eye (--h) to the same weight ---------- */
.lg{display:block;flex:none;height:var(--h,30px);width:auto;opacity:.93}
.lgs{display:flex;align-items:center;justify-content:space-between;gap:24px}

/* ---------- reveal ---------- */
.rv{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.slide.on .rv{opacity:1;transform:none;transition-delay:calc(var(--d,0)*1s + .28s)}

/* ---------- the line and its figures ---------- */
.fig{position:absolute;inset:0;width:1920px;height:1080px;z-index:1;pointer-events:none;overflow:visible}
.fig .ln{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 9px rgba(237,66,66,.8))}
.slide.red .fig .ln{filter:drop-shadow(0 0 10px rgba(255,255,255,.55))}
.fig .draw{stroke-dasharray:1;stroke-dashoffset:1}
.slide.on .fig .draw{stroke-dashoffset:0;transition:stroke-dashoffset var(--dur,1.7s) cubic-bezier(.6,0,.2,1) .15s}
.fig .thin{fill:none;stroke:var(--line);stroke-width:1.5}
.fig .old{fill:none;stroke:var(--dim);stroke-width:2;stroke-dasharray:3 11;stroke-linecap:round}
.fig .nd{fill:#000;stroke:var(--accent);stroke-width:3}
.slide.red .fig .nd{fill:var(--ground)}
.fig .dot{fill:var(--accent)}
.fig .t{opacity:0;transition:opacity .5s ease}
.slide.on .fig .t{opacity:1;transition-delay:calc(var(--t,0)*1.7s + .3s)}
.fig text{font-family:var(--mono);font-size:21px;letter-spacing:.14em;fill:var(--mist);text-transform:uppercase}
.fig text.big{font-family:var(--cond);font-weight:700;font-size:54px;letter-spacing:.01em;fill:var(--ink)}
.fig text.mid{font-family:var(--cond);font-weight:600;font-size:34px;letter-spacing:.02em;fill:var(--ink)}
.fig text.sm{font-size:16px;letter-spacing:.1em}
.fig text.huge{font-family:var(--cond);font-weight:700;font-size:150px;letter-spacing:.005em;fill:var(--ink)}
.fig text.acc{fill:var(--accent)}
.fig text.dimt{fill:var(--dim)}
.fig .strike{stroke:var(--ink);stroke-width:3}
.fig .fill{fill:var(--accent)}
.fig .ring{fill:none;stroke:var(--accent);stroke-width:1.5;opacity:.5}

/* ---------- films: the picture is the player, the cue sits beside it ---------- */
.film{position:relative;border-radius:14px;overflow:hidden;background:#050505;border:1px solid var(--line);aspect-ratio:16/9;cursor:pointer;pointer-events:auto}
.film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#000}
.film.v{aspect-ratio:9/16}
.film.screen{aspect-ratio:1920/990}
.cap{display:flex;align-items:center;gap:14px;margin-top:14px}
.cap .lab{line-height:1.35}
.case .cap .lab{white-space:nowrap}
.case:last-child .cap .lab{white-space:normal}
.play{flex:none;width:38px;height:38px;border-radius:50%;border:0;background:var(--red);display:grid;place-items:center;cursor:pointer;padding:0;pointer-events:auto;box-shadow:0 4px 22px rgba(237,66,66,.45)}
.play::before{content:"";border-left:12px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:4px}
.play.on::before{border:0;width:11px;height:13px;margin:0;border-left:4px solid #fff;border-right:4px solid #fff}
.cap .lab b{color:var(--ink);font-weight:500}

/* ---------- dials ---------- */
.dial{position:absolute;z-index:4;display:flex;align-items:center;gap:18px;pointer-events:auto}
.dial input{-webkit-appearance:none;appearance:none;width:340px;height:3px;background:var(--line);border-radius:2px;outline:0;margin:0}
.dial input::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:var(--accent);border:0;box-shadow:0 0 0 5px rgba(0,0,0,.35);cursor:grab}
.dial input::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--accent);border:0;cursor:grab}

/* =====================================================================================
   THE SLIDES (deck mode). Read mode below turns every one of these into plain flow.
   ===================================================================================== */
body:not(.read) #s-door .pad{display:grid;grid-template-columns:716px 1fr;gap:68px;align-items:center}
#s-door .say{font-size:86px}
#s-door .sup{margin-top:34px}
#s-door .round{margin-top:44px;font-size:40px;color:var(--ink)}
#s-door .round span{color:var(--red)}
#s-door .by{margin-top:18px}
body:not(.read) .slide > .trust{position:absolute;left:96px;right:96px;top:960px;height:76px;z-index:3;display:flex;align-items:center;justify-content:space-between}
.trust span,.wall span{font-size:19px;color:var(--mist);white-space:nowrap}

body:not(.read) #s-shift .say{max-width:1180px}
body:not(.read) #s-shift .sup{position:absolute;right:0;top:6px;width:470px;font-size:23px;line-height:1.42}
#s-shift .dial{left:50%;bottom:36px;transform:translateX(-50%)}

body:not(.read) #s-product .pad{display:grid;grid-template-columns:700px 1fr;gap:72px;align-items:start}
#s-product .say{font-size:66px}
#s-product .sup{margin-top:30px}
.stamps{display:flex;gap:44px;margin-top:38px}
.stamps div{display:flex;flex-direction:column;gap:8px}
.stamps .stamp{font-size:58px}
.stamps .stamp.r{color:var(--accent)}
/* the two doors out of the deck, live: the engine itself and Brain Wave */
.out{display:flex;gap:14px;margin-top:34px}
.out a{display:block;padding:15px 20px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);text-decoration:none;pointer-events:auto;transition:border-color .2s}
.out a:hover{border-color:var(--red)}
.out b{display:block;font-family:var(--cond);font-weight:700;font-size:27px;line-height:1;text-transform:uppercase;letter-spacing:.012em;white-space:nowrap}
.out b::after{content:"";display:inline-block;width:15px;height:15px;margin-left:10px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M3 12L12 3M5 3h7v7' fill='none' stroke='%23ed4242' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.out span{display:block;margin-top:9px;font:500 13px/1.3 var(--mono);letter-spacing:.1em;color:var(--mist)}

body:not(.read) #s-film .pad{display:grid;grid-template-columns:1040px 1fr;grid-template-rows:auto 1fr;gap:26px 54px}
body:not(.read) #s-film .say{grid-column:1 / -1;font-size:62px}
.tiles{display:flex;flex-direction:column;gap:14px}
.tile{display:grid;grid-template-columns:184px 1fr;gap:20px;align-items:center;text-align:left;background:none;border:1px solid transparent;border-radius:14px;padding:10px;cursor:pointer;pointer-events:auto}
.tile img{width:184px;height:104px;object-fit:cover;border-radius:9px;display:block;opacity:.72}
.tile .stamp{font-size:30px;display:block}
.tile small{display:block;margin-top:7px;font-size:19px;line-height:1.36;color:var(--mist)}
.tile em{font:500 13px/1 var(--mono);letter-spacing:.14em;color:var(--dim);font-style:normal;margin-left:10px}
.tile.on{border-color:var(--line);background:var(--card)}
.tile.on img{opacity:1}
.tile.on .stamp{color:var(--red)}

body:not(.read) #s-record .pad{display:grid;grid-template-columns:780px 1fr;gap:26px 80px;grid-template-rows:auto 1fr;align-content:start}
body:not(.read) #s-record .say{grid-column:1 / -1;font-size:66px}
#s-record .big{font-size:208px;color:var(--red);margin-top:8px}
#s-record .bigcap{font-size:27px;line-height:1.4;color:var(--ink);margin:18px 0 0;max-width:720px}
.rows{display:flex;flex-direction:column;margin-top:6px}
.rows div{display:grid;grid-template-columns:208px 1fr;gap:20px;align-items:baseline;padding:17px 0;border-top:1px solid var(--line)}
.rows div:last-child{border-bottom:1px solid var(--line)}
.rows .stamp{font-size:30px}
.rows p{margin:0;font-size:22px;line-height:1.4;color:var(--mist)}

body:not(.read) #s-work .cases{display:grid;grid-template-columns:1fr 1fr 1fr 248px;gap:24px;margin-top:30px}
#s-work .say{font-size:62px}
.case .res{font-size:38px;margin:18px 0 0;line-height:1}
.case p{margin:10px 0 0;font-size:19.5px;line-height:1.42;color:var(--mist)}
.case .cap{margin-top:12px}
.cuts{display:flex;gap:8px;margin-left:auto}
.cuts button{font:500 12px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;padding:8px 11px;border-radius:999px;border:1px solid var(--line);background:none;color:var(--mist);cursor:pointer;pointer-events:auto}
.cuts button.on{border-color:var(--red);color:var(--red)}
body:not(.read) #s-work .also{position:absolute;left:0;right:0;bottom:6px;display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:20px;border-top:1px solid var(--line)}
body:not(.read) .also p{white-space:nowrap}
.also div{display:flex;align-items:center;gap:18px}
.also p{margin:0;font-size:18.5px;line-height:1.36;color:var(--mist)}
.quote{font-size:19.5px;line-height:1.42;color:var(--ink);margin:10px 0 0}
.quote i{color:var(--mist);font-style:normal}

#s-traction .say{font-size:64px}
body:not(.read) #s-traction .say{max-width:1500px}
.facts{display:flex;gap:0;margin-top:34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.facts div{flex:1;padding:20px 22px 20px 0;border-right:1px solid var(--line);margin-right:22px}
.facts div:last-child{border-right:0;margin-right:0}
.facts .stamp{font-size:40px;display:block}
.facts span{display:block;margin-top:9px;font-size:18.5px;line-height:1.36;color:var(--mist)}
body:not(.read) #s-traction .wall{position:absolute;right:0;top:366px;width:1100px;display:grid;grid-template-columns:auto repeat(6,1fr);gap:30px 16px;align-items:center;justify-items:center}
body:not(.read) #s-traction .wall span{grid-row:1 / span 2;justify-self:start;padding-right:14px}

#s-plan .say{font-size:76px}
body:not(.read) .acts{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:38px}
.act{padding:30px 32px 28px}
.act .stamp{font-size:36px;display:block;margin-top:12px}
.act p{margin:14px 0 0;font-size:21.5px;line-height:1.44;color:var(--mist)}
.act .lab.r{display:block;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.act.now{border-color:var(--red);box-shadow:0 0 0 1px rgba(237,66,66,.3),0 0 60px rgba(237,66,66,.16)}
.kick{font-size:29px;line-height:1.3;font-weight:500;letter-spacing:-.012em;margin:34px 0 0;color:var(--ink)}
.kick .r{color:var(--accent)}

#s-loop .say{font-size:70px}
body:not(.read) #s-loop .stations{position:absolute;left:940px;right:0;top:150px}
.stations div{padding:18px 0;border-top:1px solid var(--line)}
.stations div:last-of-type{border-bottom:1px solid var(--line)}
.stations .stamp{font-size:32px;color:var(--red)}
.stations p{margin:8px 0 0;font-size:21.5px;line-height:1.42;color:var(--mist)}
.stations .ip{margin:20px 0 0;font-size:19.5px;line-height:1.44;color:var(--ink)}
#s-loop .dial{left:330px;bottom:36px}
#s-loop .dial output{font:600 15px/1 var(--mono);letter-spacing:.14em;color:var(--ink);min-width:150px}

body:not(.read) #s-market .say{font-size:62px;max-width:1010px}
body:not(.read) #s-market .mcol{position:absolute;left:1040px;right:0;top:300px}
.mcol .sup{font-size:24px}
.mcol .sup + .sup{margin-top:22px}
.mcol .math{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.mcol .math .stamp{font-size:54px;color:var(--red);display:block}
.mcol .math p{margin:10px 0 0;font-size:21px;line-height:1.42;color:var(--mist)}

/* the landscape: the line leaves the floor at the left margin, runs as a roof over every tool company and comes back down;
   the roof is the engine. Its feet (x 96 and 1824), its top (y 630) and the stage walls (x 616, 1276, 1550) match the grid below. */
#s-land .say{font-size:62px}
body:not(.read) #s-land .say{max-width:1180px}
body:not(.read) #s-land .fields{position:absolute;left:0;right:0;top:164px}
.field{display:grid;grid-template-columns:330px 470px 1fr;gap:36px;align-items:center;min-height:100px;border-top:1px solid var(--line)}
.field:last-child{border-bottom:1px solid var(--line)}
.field .stamp{font-size:29px;grid-column:1}
.field .lgs{grid-column:3}
.field p{grid-column:2;margin:0;font-size:20.5px;line-height:1.4;color:var(--mist)}
body:not(.read) #s-land .eng{position:absolute;left:0;right:0;top:438px;display:flex;align-items:baseline;justify-content:space-between;gap:40px}
.eng .stamp{font-size:42px;color:var(--red);white-space:nowrap}
.eng p{margin:0;font-size:21px;line-height:1.4;color:var(--mist)}
body:not(.read) .tools{position:absolute;left:0;right:0;top:498px;height:310px;display:grid;grid-template-columns:520px 660px 274px 274px}
body:not(.read) .stage{display:grid;align-content:center;justify-content:center;gap:50px 54px}
.stage.c1{grid-template-columns:max-content}.stage.c2{grid-template-columns:repeat(2,max-content)}.stage.c3{grid-template-columns:repeat(3,max-content)}
.tool{display:flex;align-items:center;gap:16px;font-size:30px;font-weight:500;letter-spacing:-.014em;white-space:nowrap}
.tool .lg{width:44px;height:40px;object-fit:contain;opacity:1}

#s-team .say{font-size:66px}
body:not(.read) .team{display:grid;grid-template-columns:repeat(5,1fr);gap:26px;margin-top:40px}
.person > img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;display:block;filter:grayscale(1) contrast(1.06);border:1px solid var(--line)}
.person h3{margin:18px 0 0;font-size:25px;font-weight:600;letter-spacing:-.015em}
.person .role{display:block;margin-top:5px;font-size:18.5px;color:var(--mist)}
.person .stamp{display:block;margin-top:14px;font-size:25px;color:var(--red);line-height:1.08}
.person .was{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:18px;min-height:36px}

#s-in .say{font-size:58px}
body:not(.read) .inrow{display:grid;grid-template-columns:150px repeat(8,1fr);gap:20px;margin-top:30px;align-items:stretch}
body:not(.read) .inrow + .inrow{margin-top:28px}
.who{display:flex;flex-direction:column}
.who .aff{display:flex;align-items:center;gap:16px;margin-top:auto;padding-top:10px;min-height:50px}
.inrow > .stamp{font-size:28px;line-height:1.05;padding-top:6px;color:var(--red)}
.who img.face{width:120px;height:140px;object-fit:cover;object-position:50% 18%;border-radius:10px;display:block;border:1px solid var(--line)}
.who .mark{height:140px;display:flex;align-items:center}
.who .mark img{max-width:164px;max-height:96px;display:block;filter:brightness(0) invert(1);opacity:.92}
.who h3{margin:12px 0 0;font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.who p{margin:6px 0 0;font-size:16px;line-height:1.4;color:var(--mist)}

#s-year .say{font-size:66px}
body:not(.read) .duel{position:absolute;left:0;top:118px;width:1010px;display:grid;grid-template-columns:1fr 1fr;gap:22px}
.side{padding:26px 28px 26px}
.side .lab{display:block}
.side .hd{display:flex;align-items:center;gap:11px;font-size:19px;color:var(--mist);min-height:28px}
.side .hd b{font-size:23px;font-weight:600;letter-spacing:-.012em;color:var(--ink)}
.side .stamp{font-size:76px;display:block;margin-top:14px;color:var(--mist)}
.side.us{border-color:var(--red);background:rgba(237,66,66,.05)}
.side.us .stamp{color:var(--red)}
.side ul{list-style:none;margin:16px 0 0;padding:0}
.side li{font-size:20.5px;line-height:1.38;color:var(--mist);padding:9px 0;border-top:1px solid var(--line)}
.side.us li{color:var(--ink)}
.side .hedge{display:block;margin-top:6px;font-size:12.5px}
body:not(.read) #s-year .after{position:absolute;left:0;top:618px;width:1010px;font-size:24px}

#s-round .say{font-size:84px}
body:not(.read) #s-round .plan{display:grid;grid-template-columns:400px 620px;gap:40px;margin-top:30px;width:1060px}
.plan h3{margin:0 0 10px;font:500 14.5px/1.5 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:#000}
.plan ul{list-style:none;margin:0;padding:0}
.plan li{font-size:21.5px;line-height:1.36;padding:7px 0;border-top:1px solid var(--line)}
.plan li b{font-weight:600}
body:not(.read) .ask{position:absolute;right:0;top:0;width:560px;background:#fff;color:#000;border-radius:20px;padding:32px 34px 30px;display:grid;grid-template-columns:200px 1fr;gap:26px;align-items:center}
.ask img{width:200px;height:200px;display:block}
.ask .stamp{font-size:40px;line-height:1}
.ask p{margin:10px 0 0;font-size:19px;line-height:1.4;color:#333}
.ask a{display:block;margin-top:12px;font:600 15.5px/1.3 var(--mono);letter-spacing:.04em;color:#000;text-decoration:none;pointer-events:auto}
body:not(.read) .meter{position:absolute;right:0;top:330px;width:560px}
.meter .bar{height:10px;border-radius:5px;background:rgba(0,0,0,.28);overflow:hidden;margin-top:12px}
.meter .bar i{display:block;height:100%;background:#fff;border-radius:5px}
.meter .stamp{font-size:40px}
body:not(.read) #s-round .line2{position:absolute;right:0;bottom:-8px;width:560px;text-align:right;font-size:31px;line-height:1.02}

#s-forecast .say{font-size:66px}
body:not(.read) #s-forecast .fcol{width:540px}
#s-forecast .stamps{gap:38px;margin-top:40px}
#s-forecast .stamps .lab{white-space:nowrap}
.ftable{margin-top:30px;border-collapse:collapse;width:100%}
.ftable td,.ftable th{font-size:17.5px;text-align:right;padding:9px 0 9px 10px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums;font-weight:400;color:var(--mist)}
.ftable th{font:500 12.5px/1.5 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.ftable td:first-child,.ftable th:first-child{text-align:left;padding-left:0;color:var(--ink)}
#s-forecast .sup{font-size:21px;margin-top:22px}

body:not(.read) #s-seat .pad{display:grid;grid-template-columns:760px 1fr;gap:80px}
#s-seat .say{font-size:60px}
.seatbar{margin-top:44px}
.seatbar .bar{display:flex;height:74px;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.seatbar .bar i{display:block;background:var(--red);width:21.3%}
.seatbar .bar b{flex:1;background:var(--card)}
.seatbar .legend{display:flex;justify-content:space-between;margin-top:16px}
.seatbar .stamp{font-size:44px;display:block}
.seatbar .legend div:last-child{text-align:right}
#s-seat .sup{font-size:22px;margin-top:26px}
.iplist h3{margin:0 0 6px;font-family:var(--cond);font-weight:700;font-size:30px;text-transform:uppercase;letter-spacing:.012em}
.iplist h3 + p{margin:0 0 6px;font-size:20px;line-height:1.4;color:var(--mist)}
.iplist ul{list-style:none;margin:0 0 24px;padding:0}
.iplist li{font-size:18.5px;line-height:1.38;color:var(--mist);padding:8px 0;border-top:1px solid var(--line)}

/* old way, new way: the same five measures in two columns; under them nine months and one day on the floor, to scale */
#s-old .say{font-size:64px}
body:not(.read) #s-old .say{max-width:1560px}
.vs{margin-top:28px}
.vs > div{display:grid;grid-template-columns:1fr 470px 470px;gap:0 30px;align-items:baseline;padding:15px 0;border-top:1px solid var(--line)}
.vs > div:last-child{border-bottom:1px solid var(--line)}
.vs > .vh{border-top:0;padding:0 0 10px}
.vs span{font-size:25px;color:var(--mist)}
.vs b{font-size:58px;color:var(--dim)}
.vs b + b{color:var(--ink)}
.vs b small{font:400 17px/1.3 var(--sans);letter-spacing:0;text-transform:none;color:var(--mist);margin-left:12px}

body:not(.read) #s-fox .pad{display:grid;grid-template-columns:716px 1fr;gap:68px;align-items:center}
#s-fox .say{font-size:62px}
#s-fox .by{margin-top:24px}
#s-fox .sup{margin-top:30px}
#s-fox .pad > div > .lg{margin-top:36px}

/* how the engine works: his diagram. White heads with red words, hairline boxes, white wires; the two gears turn and
   so do the two loops beside the tree. The stage's drawing puts the nine crafts on the floor line; the phone's is a
   second drawing, upright. Both are written by tools/engine_fig.py. */
#s-engine .say{font-size:50px}
body:not(.read) #s-engine .say{max-width:1500px}
.fig .hd,.fig .ah,.fig .gear{fill:#fff}
.fig text.hdt{font-family:var(--cond);font-weight:700;font-size:30px;letter-spacing:.012em;fill:var(--red)}
.fig .bx{fill:var(--card);stroke:var(--line);stroke-width:1.5}
.fig text.bxt,.fig text.stn,.fig text.out{font-family:var(--sans);font-weight:500;font-size:18.5px;letter-spacing:-.005em;text-transform:none;fill:var(--ink)}
.fig text.stn{font-size:16.5px;letter-spacing:0}
.fig text.out{font-weight:600;font-size:30px;letter-spacing:-.02em}
.fig .wire{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.fig .wire.draw{opacity:0}
.slide.on .fig .wire.draw{opacity:.8;transition:stroke-dashoffset var(--dur,.6s) cubic-bezier(.6,0,.2,1),opacity .2s;transition-delay:calc(var(--t,0)*1.7s + .3s)}
.fig .ic{fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
@keyframes spin{to{transform:rotate(360deg)}}
.slide.on .fig .spin{animation:spin 12s linear infinite}
.slide.on .fig .spin.rev{animation-direction:reverse}
.slide.on .fig .spin.slow{animation-duration:18s}
.fig.ro text.hdt{font-size:23px}
.fig.ro text.bxt,.fig.ro text.stn{font-size:17px}
.fig.ro text.out{font-size:20px;letter-spacing:-.012em}
.fig.ro .ic{stroke-width:2.6}
#s-moat .say{font-size:76px}
#s-moat .act{padding:34px 36px 30px}
#s-moat .act .stamp{margin-top:0;font-size:42px}
#s-moat .act li{font-size:26px;padding:12px 0}
#s-moat .act p{font-size:25px}
body:not(.read) #s-moat .pad,body:not(.read) #s-sales .pad,body:not(.read) #s-board .pad{display:flex;flex-direction:column}
body:not(.read) #s-moat .acts{margin:auto 0}
.act ul{list-style:none;margin:16px 0 0;padding:0}
.act li{font-size:21.5px;line-height:1.38;color:var(--mist);padding:9px 0;border-top:1px solid var(--line)}

#s-ip .say{font-size:66px}
#s-ip .iplist h3{font-size:36px;margin-bottom:10px}
#s-ip .iplist h3 + p{font-size:23px;margin-bottom:10px}
#s-ip .iplist li{font-size:22px;padding:10px 0}
#s-ip .iplist ul{margin-bottom:34px}
body:not(.read) .ipcols{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:38px}
.ipcols .iplist ul:last-child,.ipcols .iplist p:last-child{margin-bottom:0}

#s-sales .say{font-size:58px}
body:not(.read) .team.six{grid-template-columns:repeat(6,1fr);gap:22px;margin:auto 0}
.team.six .person h3{font-size:23px}
.team.six .person .role{font-size:17.5px}
.team.six .person .was{gap:10px 18px;margin-top:14px}

/* the board: five across like the team, the portraits at the size his slide gives them (three of the five exist only at 300 px) */
#s-board .say{font-size:58px}
body:not(.read) #s-board .say{max-width:1560px}
body:not(.read) .team.board{margin:auto 0}
body:not(.read) .team.board .person > img{width:236px}
.team.board .person .role{line-height:1.36}
.person .was .lab{flex-basis:100%;font-size:13px;letter-spacing:.13em}
.lg.wh{filter:brightness(0) invert(1)}

/* thank you: the line stays at the height the forecast left it (y 430) and the words stand on it */
#s-thanks .say{font-size:176px;letter-spacing:-.05em;line-height:1}
body:not(.read) #s-thanks .say{position:absolute;left:-8px;top:88px}
body:not(.read) .close{position:absolute;left:0;right:0;top:362px;height:290px}
.sign .stamp{display:block;font-size:54px;line-height:1.02}
.sign .stamp span{color:var(--red)}
.sign h3{margin:34px 0 0;font-size:30px;font-weight:600;letter-spacing:-.015em}
.sign .role{display:block;margin-top:6px;font-size:21px;color:var(--mist)}

.ctable{border-collapse:collapse;width:100%}
.ctable td,.ctable th{font-size:19px;line-height:1.3;text-align:left;font-weight:400;padding:9px 0;border-top:1px solid var(--line);color:var(--mist)}
.ctable th{font:500 12.5px/1.5 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--dim);border-top:0;padding-top:0}
.ctable td:last-child,.ctable th:last-child{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink)}
.ctable .tot td{color:var(--ink);font-weight:600;border-top-color:var(--mist)}

/* ---------- presenter view: headline and figure only ---------- */
body.present .sup,body.present .x{display:none!important}

/* ---------- the controls ---------- */
#hud{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:6px;z-index:60;opacity:0;transition:opacity .35s;pointer-events:none}
#hud.show{opacity:1;pointer-events:auto}
#hud button{white-space:nowrap;font:500 11.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#cfcfcf;background:rgba(18,18,18,.92);border:1px solid #2c2c2c;border-radius:999px;padding:10px 14px;cursor:pointer}
#hud button:hover{color:#fff;border-color:var(--red)}
#hud button.on{color:var(--red);border-color:var(--red)}
.edge{position:absolute;top:120px;bottom:120px;width:70px;z-index:8;cursor:pointer;background:none;border:0;padding:0}
#prevz{left:0}#nextz{right:0}
#pnav{display:none}

/* ---------- overview ---------- */
body.grid #stage{overflow-y:auto}
body.grid #track{position:relative;inset:auto;transform:none!important;transition:none;display:grid;grid-template-columns:repeat(5,356px);gap:22px;padding:96px 26px 40px;width:1920px}
body.grid .slide{position:relative;left:0;transform:scale(.1854);transform-origin:0 0;margin:0 -1564px -880px 0;cursor:pointer;outline:6px solid transparent;outline-offset:8px}
body.grid .slide.on{outline-color:var(--red)}
body.grid .slide *{pointer-events:none!important}
body.grid .edge,body.grid #grain{display:none}

/* ---------- settled states (export, overview, read, reduced motion) ---------- */
body.static .rv,body.grid .rv{opacity:1!important;transform:none!important;transition:none!important}
body.static .fig .draw,body.grid .fig .draw{stroke-dashoffset:0!important;transition:none!important}
body.static .fig .t,body.grid .fig .t{opacity:1!important;transition:none!important}
body.static .fig .wire.draw,body.grid .fig .wire.draw{opacity:.8!important}
body.static .fig .spin,body.grid .fig .spin{animation:none!important}
body.static #track{transition:none}
@media (prefers-reduced-motion:reduce){
 #track{transition:none}.rv{opacity:1!important;transform:none!important;transition:none!important}
 .fig .draw{stroke-dashoffset:0!important;transition:none!important}.fig .t{opacity:1!important}
 .fig .wire.draw{opacity:.8!important}.fig .spin{animation:none!important}
}

/* =====================================================================================
   THE PHONE SLIDES (body.read): a portrait screen or a narrow window. Still a deck: one slide a screen on the same
   track, 640 wide and scaled to the screen the way the stage is. Each slide keeps its mast and stands on the line;
   a slide taller than the screen scrolls inside itself, under the mast and over the floor. Every layout below is
   plain flow inside that slide.
   ===================================================================================== */
body.read #stage{left:0;top:0;margin:0;transform:none;width:640px;height:calc(var(--ph)*1px);zoom:var(--z)}
body.read .slide{left:calc(var(--i)*640px);width:640px;height:100%;padding:0 36px;display:flex;flex-direction:column;overflow:hidden auto;
 overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:none;
 --floor:#000;--floor0:rgba(0,0,0,0);--glow:rgba(237,66,66,.5);
 background:radial-gradient(120% 30% at 50% 82%,rgba(237,66,66,.2),rgba(237,66,66,0) 72%) #000}
body.read .slide.red{--floor:var(--ground);--floor0:rgba(235,31,41,0);--glow:rgba(255,255,255,.4);
 background:radial-gradient(120% 30% at 50% 82%,rgba(255,150,130,.34),rgba(255,150,130,0) 72%) var(--ground)}
body.read .slide::-webkit-scrollbar{display:none}
body.read .slide::before{display:none}
body.read .slide > *{flex:none}
body.read .slide .pad{order:1}body.read .slide .fig{order:2}body.read .slide .src{order:3}
body.read .edge,body.read #hud,body.read #grain,body.read .dial{display:none}
body.read .mast{position:sticky;top:0;left:auto;right:auto;order:0;height:74px;margin:0 -36px 14px;padding:0 36px;background:var(--floor)}
body.read .mast::after{content:"";position:absolute;left:0;right:0;top:100%;height:22px;background:linear-gradient(to bottom,var(--floor),var(--floor0))}
body.read .lockup{height:30px;width:181px}
body.read .folio{font-size:14.5px;letter-spacing:.16em}
body.read .folio b{margin-right:14px}
/* the floor of a phone slide: the line, and under it the room for the Back and Next keys; what scrolls goes under it */
body.read .slide::after{content:"";flex:none;order:9;position:sticky;bottom:0;z-index:5;height:116px;margin:auto -36px 0;pointer-events:none;
 background:linear-gradient(var(--accent),var(--accent)) 0 26px/100% 3px no-repeat,
  linear-gradient(to bottom,transparent,var(--glow) 50%,transparent) 0 16px/100% 23px no-repeat,
  linear-gradient(to bottom,var(--floor0),var(--floor) 26px)}
body.read #pnav{display:flex;position:absolute;left:0;right:0;bottom:0;height:87px;z-index:20;align-items:center;justify-content:space-between;padding:0 14px;pointer-events:none}
#pnav button{pointer-events:auto;display:flex;align-items:center;gap:12px;height:76px;padding:0 22px;border:0;background:none;font:500 16px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
#pnav button:disabled{opacity:.25}
#pnav button::before,#pnav button::after{content:"";width:9px;height:9px;border:solid currentColor;border-width:0 0 2px 2px}
#pnav [data-act=prev]::before{transform:rotate(45deg)}
#pnav [data-act=prev]::after,#pnav [data-act=next]::before{display:none}
#pnav [data-act=next]::after{transform:rotate(-135deg)}
#pdots{display:flex;align-items:center;gap:7px}
#pdots i{width:6px;height:6px;border-radius:50%;background:var(--ink);opacity:.26}
#pdots i.on{opacity:1;background:var(--red);box-shadow:0 0 8px rgba(237,66,66,.9)}
body.onred #pdots i.on{background:#fff;box-shadow:none}
/* the steps: what is not on this step is out of the flow; the dot of a slide in steps is a bar that fills */
body.read .off{display:none!important}
body.measuring .rv{transform:none!important;transition:none!important}
@keyframes pgin{from{opacity:0;transform:translateX(30px)}}
@keyframes pginb{from{opacity:0;transform:translateX(-30px)}}
body.read .pgin{animation:pgin .5s cubic-bezier(.2,.7,.2,1) both}
body.read .pginb{animation:pginb .5s cubic-bezier(.2,.7,.2,1) both}
body.static .pgin,body.static .pginb{animation:none}
#pdots i.on.multi{width:26px;border-radius:3px;box-shadow:none;background:linear-gradient(to right,var(--red) calc(var(--p)*100%),rgba(255,255,255,.26) 0)}
body.onred #pdots i.on.multi{background:linear-gradient(to right,#fff calc(var(--p)*100%),rgba(255,255,255,.34) 0)}
/* the cue over the floor line: the net under a step that could not be made to fit */
#pmore{position:absolute;left:50%;bottom:100px;width:13px;height:13px;margin-left:-7px;border:solid var(--ink);border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0;transition:opacity .3s}
#pmore.on{opacity:.75;animation:pmore 1.6s ease-in-out infinite}
@keyframes pmore{50%{transform:translateY(6px) rotate(45deg)}}
body.read:not(.moved):not(.static) #pnav [data-act=next]{animation:pnext 1.8s ease-in-out 1.4s 3}
@keyframes pnext{50%{transform:translateX(7px)}}
body.read .pad{position:static}
body.read .say,body.read #s-door .say,body.read #s-round .say{font-size:46px;line-height:1.05}
body.read .sup{font-size:25px;margin-top:24px}
body.read .lab{font-size:16px}
body.read .src{position:static;margin-top:30px;font-size:15.5px;line-height:1.6}
body.read .fig{position:relative;inset:auto;width:100%;height:auto;margin:30px 0 4px;display:block;overflow:hidden}
body.read .fig.none{display:none}
body.read .film{margin-top:30px}
body.read .cap .lab{font-size:15px}
body.read #s-door .round{font-size:34px}
body.read .stamps{gap:28px;flex-wrap:wrap}
body.read .out{margin-top:30px;gap:12px}
body.read .out a{flex:1;min-width:0;padding:16px 16px 15px}
body.read .out span{font-size:13px;letter-spacing:.04em}
body.read .tiles{margin-top:22px}
body.read .tile{grid-template-columns:150px 1fr;padding:8px 0}
body.read .tile img{width:150px;height:85px}
body.read .tile small{font-size:21px}
body.read #s-record .big{font-size:132px;margin-top:28px}
body.read .rows{margin-top:30px}
body.read .rows div{grid-template-columns:1fr;gap:6px}
body.read .rows p{font-size:24px}
body.read .case{margin-top:38px}
body.read .case p,body.read .quote{font-size:24px}
body.read .film.v{width:300px}
body.read .also{margin-top:34px}
body.read .also div{display:grid;grid-template-columns:128px 1fr;gap:20px;padding:16px 0;border-top:1px solid var(--line)}
body.read .also p{font-size:23px}
body.read .lg{height:calc(var(--h,30px)*1.22)}
body.read .trust,body.read .wall{order:2;display:flex;flex-wrap:wrap;align-items:center;gap:28px 40px;margin-top:38px}
body.read .trust span,body.read .wall span{flex-basis:100%;font-size:23px}
body.read .facts{display:block;margin-top:28px}
body.read .facts div{border-right:0;margin:0;border-top:1px solid var(--line);padding:16px 0}
body.read .facts div:first-child{border-top:0}
body.read .facts span{font-size:23px}
body.read .act{margin-top:20px}
body.read .act p{font-size:24px}
body.read .kick{font-size:29px}
body.read .stations{margin-top:16px}
body.read .stations p,body.read .stations .ip{font-size:24px}
body.read .mcol{margin-top:6px}
body.read .mcol .math p{font-size:24px}
body.read .fields{margin-top:26px}
body.read .field{display:block;padding:22px 0}
body.read .field p{font-size:23px;margin-top:8px}
body.read .lgs{flex-wrap:wrap;justify-content:flex-start;gap:24px 36px;margin-top:22px}
body.read .eng{margin-top:36px}
body.read .eng p{font-size:23px;margin-top:8px}
body.read .tools{margin-top:12px}
body.read .stage{display:flex;flex-wrap:wrap;gap:16px 30px;padding:18px 0;border-top:1px solid var(--line)}
body.read .stage .ro{flex-basis:100%;margin:0;font-size:21px;color:var(--mist)}
body.read .team{display:grid;grid-template-columns:1fr 1fr;gap:26px 22px;margin-top:30px}
body.read .person h3{font-size:24px}
body.read .person .role{font-size:20px}
body.read .who .aff{min-height:0}
body.read .side .hd{font-size:21px}
body.read .inrow{display:grid;grid-template-columns:1fr 1fr;gap:26px 22px;margin-top:30px}
body.read .inrow > .stamp{grid-column:1 / -1;font-size:30px}
body.read .who h3{font-size:22px}
body.read .who p{font-size:19.5px}
body.read .side{margin-top:20px}
body.read .side li{font-size:23px}
body.read .side .hedge{font-size:14.5px}
body.read #s-year .after{font-size:25px;margin-top:24px}
body.read .plan > div{margin-top:28px}
body.read .plan li{font-size:24px}
body.read .ask{background:#fff;color:#000;border-radius:18px;padding:28px;margin-top:34px}
body.read .ask img{display:none}
body.read .ask p{font-size:23px}
body.read .ask a{font-size:19px}
body.read .meter{margin-top:30px}
body.read #s-round .line2{font-size:38px;margin-top:36px}
body.read .ftable td{font-size:19px}
body.read .ftable th{font-size:13px}
body.read #s-forecast .sup,body.read #s-seat .sup{font-size:24px}
body.read #s-forecast .stamps{flex-wrap:nowrap;gap:24px;margin-top:30px}
body.read #s-forecast .stamps div{flex:1}
body.read #s-forecast .stamps .lab{white-space:normal}
body.read .iplist{margin-top:36px}
body.read .ipcols .iplist + .iplist{margin-top:30px}
body.read .vs > div{grid-template-columns:1fr 1fr;gap:4px 20px;padding:14px 0}
body.read .vs > div > span:first-child{grid-column:1 / -1}
body.read .vs > .vh > span:first-child{display:none}
body.read .vs b{font-size:40px}
body.read .vs b small{display:block;margin:6px 0 0;font-size:18px}
body.read #s-fox .pad > div > .lg{margin-top:28px}
body.read .act li,body.read #s-moat .act li{font-size:23px;padding:10px 0}
body.read #s-moat .act{padding:28px 30px 24px}
body.read #s-moat .act .stamp{font-size:36px}
body.read #s-moat .act p{font-size:24px}
body.read #s-thanks .say{font-size:92px}
body.read .sign{margin-top:30px}
body.read .sign .stamp{font-size:42px}
body.read .sign h3{font-size:27px}
body.read .sign .role{font-size:21px}
body.read .person .was .lab{font-size:13.5px}
body.read .ctable{margin-top:34px}
body.read .ctable td{font-size:21px}
body.read .ctable th{font-size:13px}
body.read .iplist li,body.read .iplist h3 + p{font-size:23px}

/* ---------- print: one slide a page ---------- */
@media print{
 @page{size:1920px 1080px;margin:0}
 html,body{height:auto;overflow:visible;background:#000}
 #stage{position:static;margin:0;transform:none;width:1920px;height:auto;overflow:visible}
 #track{position:static;transform:none!important}
 .slide{position:relative;left:0!important;break-after:page;page-break-after:always;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 #hud,#grain,.edge,.dial,#pnav{display:none!important}
 .rv{opacity:1!important;transform:none!important}
 .fig .draw{stroke-dashoffset:0!important}.fig .t{opacity:1!important}
 .fig .wire.draw{opacity:.8!important}.fig .spin{animation:none!important}
 .fig .ln{filter:none}
}
