/* Components. Layout and typography only; colours come from semantic variables. 1920x1080 canvas. */
:root { --fs-min: 28px; }
.reveal .slides > section.band { background: var(--band-bg); color: var(--band-ink); }
.page { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 84px; padding-bottom: 110px; gap: 32px; }
.eyebrow { font-size: var(--fs-min); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
.band .eyebrow { color: var(--band-accent); }
.title { font-size: 76px; line-height: 1.08; font-weight: 700; letter-spacing: -.01em; margin: 0; max-width: 1500px; }
.lead { font-size: 40px; line-height: 1.35; color: var(--ink-muted); margin: 0; max-width: 1400px; }
.band .lead { color: var(--band-ink-muted); }

/* title slide */
.hero { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 28px; position: relative; }
.hero h1 { font-size: 132px; line-height: 1.02; font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--band-ink); text-transform: none; }
.hero .rule { width: 160px; height: 8px; background: var(--band-accent); border-radius: 4px; }
.hero .sub { font-size: 56px; font-weight: 400; color: var(--band-ink-muted); margin: 0; }
.hero .who { font-size: 36px; color: var(--band-ink); margin: 24px 0 0; line-height: 1.4; }
.hero .who b { font-weight: 600; }
.hero .who span { color: var(--band-ink-muted); }
.logo-pill { position: absolute; left: 0; bottom: 64px; background: var(--pill-bg); border-radius: 16px; padding: 14px 26px; }
.logo-pill img { height: 52px; display: block; }

/* interactive: ask */
.ask { height: 100%; display: grid; grid-template-columns: 1fr 640px; gap: 96px; align-items: center; }
.ask h2 { font-size: 80px; line-height: 1.08; font-weight: 700; margin: 0 0 40px; color: var(--band-ink); text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 36px; }
.chip { font-size: 34px; padding: 12px 26px; border-radius: 999px; background: var(--chip-bg); border: 2px solid var(--chip-border); color: var(--band-ink); }
.chip.tag { font-weight: 600; color: var(--band-accent); }
.ask .hint { font-size: 36px; color: var(--band-ink-muted); margin: 0 0 16px; }
.qr { background: var(--pill-bg); color: var(--pill-ink); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.qr .box { width: 480px; height: 480px; display: grid; place-items: center; text-align: center; font-size: 34px;
  border: 4px dashed var(--pill-muted); color: var(--pill-muted); box-sizing: border-box; padding: 24px; }
.qr .code { font-size: 44px; font-weight: 700; letter-spacing: .04em; color: var(--pill-ink); }
.qr .url { font-size: 34px; color: var(--pill-muted); }

/* cards */
.cards { display: grid; gap: 32px; align-content: start; }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 2px solid var(--card-border); border-radius: 24px; padding: 40px 36px 36px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; position: relative; }
.card .ico { width: 88px; height: 88px; color: var(--accent); }
.c3 .card { padding: 48px 44px; gap: 22px; }
.c3 .card .ico { width: 112px; height: 112px; }
.c3 .card h3 { font-size: 54px; }
.c3 .card p { font-size: 40px; }
.card h3 { font-size: 52px; line-height: 1.1; margin: 0; font-weight: 700; color: var(--ink); text-transform: none; }
.card .q { font-size: 40px; font-weight: 600; color: var(--ink); margin: 0; }
.card p { font-size: 34px; line-height: 1.35; margin: 0; color: var(--ink-muted); }
.card .ex { font-size: 32px; line-height: 1.35; color: var(--ink); padding-top: 16px; border-top: 2px solid var(--card-border); margin-top: auto; min-height: 210px; }
.card .ex em { display: block; font-style: normal; font-size: var(--fs-min); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.method { border-top: 12px solid var(--mc); }
.method .letter { font-size: 96px; line-height: 1; font-weight: 700; color: var(--mc); }
.method .mname { font-size: var(--fs-min); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: -8px; line-height: 1.25; }
.takeaway { font-size: 44px; font-weight: 600; color: var(--ink); margin: 0; padding-left: 24px; border-left: 10px solid var(--accent); }
.note { font-size: var(--fs-min); color: var(--ink-muted); margin: 0; }

/* global footer (Slido reminder) */
#slide-footer { position: fixed; left: 0; right: 0; bottom: 0; pointer-events: none; }
.reveal .slides > section .foot { position: absolute; left: 120px; right: 120px; bottom: 36px; font-size: var(--fs-min); color: var(--ink-muted);
  display: flex; justify-content: space-between; border-top: 2px solid var(--card-border); padding-top: 14px; }
.foot b { color: var(--accent); font-weight: 600; }
.foot span { white-space: nowrap; }

/* entrance animation: only entrances, final frame is the complete slide */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal .slides > section.present .rise { animation: rise .45s ease both; }
.reveal .slides > section.present .d1 { animation-delay: .08s; }
.reveal .slides > section.present .d2 { animation-delay: .18s; }
.reveal .slides > section.present .d3 { animation-delay: .28s; }
.reveal .slides > section.present .d4 { animation-delay: .38s; }
@media (prefers-reduced-motion: reduce) { .reveal .slides > section.present .rise { animation: none; } }

/* s20 board */
.board { display: flex; flex-direction: column; gap: 20px; height: 100%; box-sizing: border-box; padding-top: 64px; padding-bottom: 56px; }
.board-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.board .tabs { display: flex; gap: 12px; }
.board button { font: inherit; font-size: var(--fs-min); font-weight: 600; padding: 10px 24px; border-radius: 12px;
  border: 2px solid var(--card-border); background: var(--card); color: var(--ink); cursor: pointer; }
.board button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.board .actions { margin-left: auto; display: flex; gap: 12px; }
.board textarea { font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--card-border); border-radius: 14px;
  padding: 16px 20px; resize: none; box-sizing: border-box; width: 100%; }
.board textarea:focus { outline: 4px solid var(--accent); outline-offset: 0; }
.board .qbox { font-size: 44px; font-weight: 700; line-height: 1.2; height: 110px; flex: 0 0 auto; }
.board .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; flex: 1; min-height: 0; }
.board .col { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.board .col label { font-size: var(--fs-min); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.board .col textarea { font-size: 32px; line-height: 1.35; flex: 1; min-height: 0; }
.board .tag-ex { font-size: var(--fs-min); color: var(--ink-muted); }

/* ===== Visual language v2: one big visual per slide, headline = punchline ===== */
mark { background: linear-gradient(transparent 60%, var(--hl) 60%); color: inherit; padding: 0 .06em; }
.band mark { background: linear-gradient(transparent 60%, rgba(124, 192, 255, .35) 60%); }
[data-theme="chordx"] .band mark { background: linear-gradient(transparent 60%, rgba(216, 248, 104, .30) 60%); }
.punch { font-size: 116px; line-height: 1.02; font-weight: 700; letter-spacing: -.025em; margin: 0; color: var(--ink); text-transform: none; }
.punch.sm { font-size: 92px; }
.band .punch { color: var(--band-ink); }
.sub-line { font-size: 40px; line-height: 1.3; color: var(--ink-muted); margin: 0; }
.sig { color: var(--signal); }
.ok { color: var(--ok); }
.vpage { height: 100%; box-sizing: border-box; padding: 84px 0 110px; display: flex; flex-direction: column; gap: 28px; }
.vsplit { height: 100%; display: grid; grid-template-columns: 760px 1fr; gap: 72px; align-items: center; padding-bottom: 70px; box-sizing: border-box; }

/* s01 hero scene */
.hero2 { height: 100%; position: relative; display: grid; grid-template-columns: 1fr; align-items: center; }
.hero2 .txt { position: relative; z-index: 2; max-width: 980px; display: flex; flex-direction: column; gap: 24px; }
.hero2 h1 { font-size: 140px; line-height: .98; letter-spacing: -.03em; font-weight: 700; margin: 0; color: var(--band-ink); text-transform: none; }
.hero2 .scene { position: absolute; right: -190px; top: 150px; width: 960px; height: 750px; z-index: 1; }
.hero2 .who { font-size: 36px; line-height: 1.4; color: var(--band-ink); margin: 18px 0 0; }
.hero2 .who b { font-weight: 600; } .hero2 .who span { color: var(--band-ink-muted); }
.scene svg { width: 100%; height: 100%; overflow: visible; }
.k1 { fill: var(--band-ink); opacity: .92; } .k2 { fill: var(--band-accent); opacity: .95; } .k3 { fill: var(--band-ink-muted); opacity: .55; }
.hull { fill: var(--band-ink); } .wave { fill: none; stroke: var(--band-ink-muted); stroke-width: 5; stroke-linecap: round; opacity: .6; }
.node { fill: var(--band-accent); } .link { fill: none; stroke: var(--band-accent); stroke-width: 5; }
.linkd { fill: none; stroke: var(--band-ink); stroke-width: 4; stroke-dasharray: 3 14; stroke-linecap: round; opacity: .85; }
.ring { fill: none; stroke: var(--band-ink); stroke-width: 9; }
.ring2 { fill: none; stroke: var(--band-accent); stroke-width: 9; }

/* s02 chat failures */
.chat { display: flex; flex-direction: column; gap: 30px; }
.xch { display: flex; flex-direction: column; gap: 12px; }
.bub { font-size: 38px; line-height: 1.25; padding: 18px 28px; border-radius: 28px; max-width: 720px; box-sizing: border-box; }
.bub.you { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 8px; }
.bub.bot { align-self: flex-start; background: var(--card); border: 2px solid var(--card-border); color: var(--ink); border-bottom-left-radius: 8px; position: relative; }
.bub.bot .why { display: inline-block; margin-left: 12px; font-size: var(--fs-min); font-weight: 700; letter-spacing: .06em;
  color: var(--signal); text-transform: uppercase; }

/* s03 notes */
.notes { display: flex; gap: 28px; flex-wrap: wrap; margin: 6px 0 36px; }
.sticky { background: var(--chip-bg); border: 2px solid var(--chip-border); border-radius: 18px; padding: 22px 28px; font-size: 40px; line-height: 1.15;
  font-weight: 600; color: var(--band-ink); max-width: 330px; }
.sticky:nth-child(1) { transform: rotate(-2.2deg); } .sticky:nth-child(2) { transform: rotate(1.6deg) translateY(10px); } .sticky:nth-child(3) { transform: rotate(-1.2deg); }

/* s04 before / after */
.ba { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 0; align-items: stretch; flex: 1; min-height: 0; }
.ba .side { border: 2px solid var(--card-border); border-radius: 28px; padding: 30px 34px; background: var(--card); display: flex; flex-direction: column; gap: 18px; }
.ba .side.after { border-color: var(--accent); box-shadow: var(--shadow); }
.ba .lbl { font-size: var(--fs-min); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.ba .after .lbl { color: var(--accent); }
.mail { background: var(--bg); border: 2px solid var(--card-border); border-radius: 16px; padding: 16px 22px; font-size: 32px; line-height: 1.25; color: var(--ink); }
.mail b { display: block; font-size: var(--fs-min); color: var(--ink-muted); font-weight: 600; margin-bottom: 4px; }
.task { display: flex; align-items: center; gap: 16px; font-size: 36px; color: var(--ink); background: var(--bg); border: 2px solid var(--card-border); border-radius: 14px; padding: 12px 20px; }
.task i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 700; flex: none; }
.before .task i { background: var(--signal); color: var(--bg); }
.after .task i { background: var(--accent); color: var(--accent-ink); }
.ba .arrow { display: grid; place-items: center; font-size: 80px; color: var(--accent); }
.badge-ok { align-self: flex-start; font-size: var(--fs-min); font-weight: 700; padding: 6px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }

/* s05 broken bridges */
.bridges { flex: 1; min-height: 0; }
.bridges svg { width: 100%; height: 100%; }
.b-node { fill: var(--card); stroke: var(--card-border); stroke-width: 3; }
.b-deck { stroke: var(--accent); stroke-width: 14; stroke-linecap: round; fill: none; }
.b-gap { stroke: var(--signal); stroke-width: 6; stroke-dasharray: 2 16; stroke-linecap: round; fill: none; }
.b-pylon { stroke: var(--card-border); stroke-width: 6; stroke-linecap: round; }
.b-ico { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.b-lbl { fill: var(--ink); font: 700 46px Inter, system-ui, sans-serif; }
.b-sub { fill: var(--ink-muted); font: 400 32px Inter, system-ui, sans-serif; }
.b-cap { fill: var(--ink); font: 700 40px Inter, system-ui, sans-serif; }
.b-q { fill: var(--signal); font: 700 64px Inter, system-ui, sans-serif; }

/* s07 four questions */
.qs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.qp { border-radius: 28px; background: var(--card); border: 2px solid var(--card-border); border-top: 14px solid var(--mc); padding: 30px 32px 30px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.qp svg { width: 130px; height: 130px; color: var(--mc); fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.qp .m { font-size: var(--fs-min); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mc); }
.qp .big-q { font-size: 66px; line-height: 1.02; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.qp .ex { font-size: 32px; line-height: 1.3; color: var(--ink-muted); margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--card-border); min-height: 126px; }

/* s11 agent */
.agent { flex: 1; min-height: 0; position: relative; }
.agent svg { width: 100%; height: 100%; }
.a-ring { fill: var(--card); stroke: var(--card-border); stroke-width: 4; }
.a-ring.hot { stroke: var(--accent); stroke-width: 8; }
.a-ico { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.a-name { fill: var(--ink); font: 700 54px Inter, system-ui, sans-serif; text-anchor: middle; }
.a-sub { fill: var(--ink-muted); font: 400 30px Inter, system-ui, sans-serif; text-anchor: middle; }
.a-flow { stroke: var(--card-border); stroke-width: 6; stroke-dasharray: 2 16; stroke-linecap: round; fill: none; }
.a-rein { stroke: var(--signal); stroke-width: 8; fill: none; stroke-linecap: round; }
.a-person { fill: var(--accent); }
.a-cap { fill: var(--ink); font: 700 40px Inter, system-ui, sans-serif; text-anchor: middle; }

/* s04 character before/after */
.ba2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; flex: 1; min-height: 0; }
.ba2 .side { border: 2px solid var(--card-border); border-radius: 28px; padding: 26px 30px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.ba2 .side.after { border-color: var(--accent); box-shadow: var(--shadow); }
.ba2 .lbl { font-size: var(--fs-min); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.ba2 .after .lbl { color: var(--accent); }
.ba2 .row { display: flex; align-items: center; gap: 18px; flex: 1; min-height: 0; }
.ba2 .col { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.ba2 .mail { font-size: 30px; }
.ba2 .task { font-size: 34px; line-height: 1.15; padding: 10px 16px; }
.person { width: 400px; height: auto; flex: none; align-self: center; }
.p-desk { fill: var(--card-border); } .p-body { fill: var(--accent); } .p-skin { fill: var(--skin); } .p-hair { fill: var(--hair); }
.p-line { fill: none; stroke: var(--hair); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.p-eye { fill: var(--hair); } .p-drop { fill: var(--accent-2, var(--accent)); opacity: .9; }
.p-blush { fill: var(--signal); opacity: .25; }
.p-bang { fill: var(--signal); font: 700 54px Inter, system-ui, sans-serif; }
.p-mail rect, .p-mail path { fill: var(--bg); stroke: var(--signal); stroke-width: 5; stroke-linejoin: round; }
.p-cup rect, .p-cup path { fill: var(--bg); stroke: var(--ink-muted); stroke-width: 6; stroke-linecap: round; }
.p-cup .p-steam { fill: none; stroke: var(--ink-muted); stroke-width: 5; opacity: .6; }
.p-chip rect { fill: var(--bg); stroke: var(--accent); stroke-width: 6; } .p-chip path { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.p-link { fill: none; stroke: var(--accent); stroke-width: 5; stroke-dasharray: 3 12; stroke-linecap: round; }
.reveal .slides > section.present .d6 { animation-delay: .9s; }

/* ===== generic diagram classes (colour only through semantic variables) ===== */
.gfig { flex: 1; min-height: 0; display: flex; align-items: center; }
.gfig svg { width: 100%; max-height: 100%; }
.g-axis { stroke: var(--card-border); stroke-width: 8; stroke-linecap: round; }
.g-dot { fill: var(--card); stroke: var(--accent); stroke-width: 8; } .g-dot.hot { fill: var(--accent); }
.g-box { fill: var(--card); stroke: var(--card-border); stroke-width: 3; } .g-box.hot { stroke: var(--accent); stroke-width: 6; }
.g-arrow { fill: none; stroke: var(--ink-muted); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.g-tag { fill: var(--bg); stroke: var(--card-border); stroke-width: 3; } .g-tag.hot { stroke: var(--accent); stroke-width: 5; }
.g-nail { fill: none; stroke: var(--ink); stroke-width: 12; stroke-linecap: round; }
.g-screw { fill: none; stroke: var(--ink-muted); stroke-width: 10; stroke-linecap: round; opacity: .8; }
.g-hit { fill: none; }
.g-handle { fill: var(--ink-muted); } .g-head { fill: var(--accent); }
.g-brake { fill: var(--signal); } .t-brake { fill: var(--bg); font: 700 28px Inter, system-ui, sans-serif; }
.g-back { fill: none; stroke: var(--signal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.t-yr { fill: var(--accent); font: 700 46px Inter, system-ui, sans-serif; }
.t-b { fill: var(--ink); font: 700 38px Inter, system-ui, sans-serif; }
.t-b2 { fill: var(--ink); font: 700 40px Inter, system-ui, sans-serif; }
.t-b2s { fill: var(--ink); font: 700 34px Inter, system-ui, sans-serif; }
.t-m { fill: var(--ink-muted); font: 400 30px Inter, system-ui, sans-serif; }
.t-tag { fill: var(--ink); font: 600 30px Inter, system-ui, sans-serif; }
.t-lane { fill: var(--accent); font: 700 30px Inter, system-ui, sans-serif; letter-spacing: .14em; }
.c-skewer { stroke: var(--card-border); stroke-width: 12; stroke-linecap: round; }
.c-node { fill: var(--card); stroke-width: 10; } .c-node.hot { stroke: var(--accent); }
.c-let { font: 700 96px Inter, system-ui, sans-serif; }
.punch.xs { font-size: 60px; line-height: 1.06; }
.sub-line.sm { font-size: 34px; }

/* s14 portfolio */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 26px; flex: 1; min-height: 0; align-content: start; }
.app { display: flex; flex-direction: column; gap: 10px; }
.app .thumb { aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; border: 2px solid var(--card-border); background: var(--card); }
.app .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.app .meta { display: flex; gap: 10px; align-items: center; }
.app .cat { font-size: var(--fs-min); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.app .proto { font-size: var(--fs-min); color: var(--ink-muted); }
.app .nm { font-size: 30px; line-height: 1.15; font-weight: 700; margin: 0; color: var(--ink); }
.app.next { border: 3px dashed var(--card-border); border-radius: 16px; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.app.next .nm { color: var(--accent); }
.meta2 { font-size: 30px; color: var(--ink-muted); margin: 0; }

/* demo pages */
.demo { height: 100%; box-sizing: border-box; display: grid; grid-template-columns: 1060px 1fr; gap: 60px; align-items: center; padding: 70px 0 200px; }
.shotwrap { border: 2px solid var(--card-border); border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.chrome { display: flex; align-items: center; gap: 10px; padding: 0 20px; height: 54px; background: var(--card); border-bottom: 2px solid var(--card-border); }
.chrome i { width: 16px; height: 16px; border-radius: 50%; background: var(--card-border); display: block; }
.chrome span { margin-left: 16px; font-size: var(--fs-min); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shotwrap img { display: block; width: 100%; height: 600px; object-fit: cover; object-position: top left; }
.dtxt { display: flex; flex-direction: column; gap: 22px; }
.pts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pts li { font-size: 32px; line-height: 1.25; color: var(--ink); padding-left: 30px; position: relative; }
.pts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.mchips { display: flex; flex-wrap: wrap; gap: 12px; }
.mchips span { font-size: var(--fs-min); font-weight: 600; padding: 6px 18px; border-radius: 999px; border: 3px solid var(--mc); color: var(--mc); }

/* s19 results */
.vsplit2 .lcol { display: flex; flex-direction: column; gap: 26px; }
.vsplit2 .punch { font-size: 84px; }
.vsplit2 { height: 100%; box-sizing: border-box; padding: 70px 0 90px; display: grid; grid-template-columns: 760px 1fr; gap: 72px; align-items: center; position: relative; }
.picks { display: flex; flex-direction: column; gap: 22px; }
.picks label { display: flex; gap: 22px; align-items: flex-start; }
.picks i { font-style: normal; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 44px; font-weight: 700; }
.picks textarea { flex: 1; font: inherit; font-size: 40px; line-height: 1.25; font-weight: 600; color: var(--ink); background: var(--card);
  border: 2px solid var(--card-border); border-radius: 18px; padding: 16px 22px; resize: none; box-sizing: border-box; min-height: 130px; }
.picks textarea:focus { outline: 4px solid var(--accent); }
.wishes { position: absolute; left: 0; right: 0; top: 40px; bottom: 40px; background: var(--bg); border: 3px solid var(--accent); border-radius: 24px;
  padding: 28px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; align-content: start; z-index: 5; }
.wishes[hidden] { display: none; }
.wishes .w { font-size: 34px; line-height: 1.25; color: var(--ink); display: flex; gap: 14px; }
.wishes .w b { color: var(--accent); flex: none; }
.wishes h3 { grid-column: 1 / -1; margin: 0 0 6px; font-size: var(--fs-min); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }

/* ===== s02: three columns, sticky notes drop into place over a photo strip ===== */
.s2 { height: 100%; box-sizing: border-box; padding: 34px 0 100px; display: flex; flex-direction: column; gap: 14px; }
.s2 .eyebrow { margin: 0; }
.punch.s2-title { font-size: 74px; line-height: 1.04; max-width: none; }
.s2-subline { font-size: 36px; margin: 0; }
.s2-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; flex: 1; min-height: 0; margin-top: 10px; }
.s2-col { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: 12px 20px 0;
  background: var(--bg-soft); border: 2px solid var(--card-border); border-top: 6px solid var(--signal); border-radius: 6px; }
.s2-head, .s2-sub, .s2-notes { position: relative; z-index: 2; }
.s2-head { display: flex; align-items: baseline; gap: 16px; }
.s2-num { font-size: 72px; line-height: 1; font-weight: 800; color: var(--signal); letter-spacing: -.02em; }
.s2-name { font-size: 44px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.s2-sub { font-size: 26px; line-height: 1.2; color: var(--ink-muted); margin: 0; }
.s2-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 8px; margin-top: 2px; }
.s2-note { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 7px; color: var(--st-ink); min-height: 74px; box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, .12); box-shadow: 0 4px 10px rgba(10, 30, 60, .22); transform: translateY(var(--ty)) rotate(var(--r)); }
.s2-note.wide { grid-column: 1 / -1; width: 62%; justify-self: center; }
.s2-note p { margin: 0; font-size: 22px; line-height: 1.12; font-weight: 500; }
.s2-note p b { font-weight: 800; }
.s2-note.c-a { background: var(--st-a); } .s2-note.c-b { background: var(--st-b); } .s2-note.c-c { background: var(--st-c); }
.s2-ico { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--st-ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.s2-q { position: absolute; z-index: 1; font-size: 54px; font-weight: 800; color: var(--signal); transform: rotate(var(--qr)); line-height: 1; }
.s2-photo { position: absolute; left: -4%; right: 0; bottom: -34px; width: 108%; height: auto; z-index: 0; display: block;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 5%, #000 20%); mask-image: linear-gradient(180deg, transparent 0, transparent 5%, #000 20%); }
@keyframes s2drop {
  0%   { opacity: 0; transform: translate(var(--dx), -820px) rotate(calc(var(--r) * 7)); }
  60%  { opacity: 1; transform: translate(0, calc(var(--ty) + 8px)) rotate(calc(var(--r) * -0.6)); }
  80%  { transform: translate(0, calc(var(--ty) - 5px)) rotate(calc(var(--r) * 1.2)); }
  100% { opacity: 1; transform: translate(0, var(--ty)) rotate(var(--r)); }
}
.reveal .slides > section.present .s2-note { animation: s2drop .62s cubic-bezier(.3,.6,.4,1) var(--d) both; }
@media (prefers-reduced-motion: reduce) { .reveal .slides > section.present .s2-note { animation: none; } }
@media print { .s2-note { animation: none !important; opacity: 1 !important; } }

/* gap-tag: small top-left label tying a page to one of the three gaps (s05) */
.gap-tag { position: absolute; left: 100px; top: 30px; z-index: 6; height: 62px; box-sizing: border-box; display: flex; align-items: center; gap: 16px; padding: 0 28px 0 12px; border-radius: 31px;
  background: rgba(8, 28, 66, .94); border: 2px solid var(--g, #4aa8ff); box-shadow: 0 8px 24px rgba(0, 10, 34, .35); font-family: Inter, system-ui, sans-serif; color: #fff; white-space: nowrap; }
.gap-tag i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; background: var(--g, #4aa8ff); display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #fff; }
.gap-tag b { font-size: 26px; font-weight: 700; }
.gap-tag span { font-size: 24px; font-weight: 400; color: #cfe3fb; }
.gap-tag span em { font-style: normal; font-weight: 700; color: #fff; }

/* ---- phones: dynamic viewport height, bottom control bar (portrait), no text selection while swiping ---- */
@supports (height: 100dvh) { html, body, .reveal-viewport { height: 100dvh; } }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
#m-bar { display: none; }
@media (pointer: coarse) {
  body { overflow: hidden; overscroll-behavior: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
  #m-bar { display: flex; align-items: center; gap: 8px; position: fixed; z-index: 60; font-family: Inter, system-ui, sans-serif; color: #fff;
    left: 0; right: 0; bottom: 0; height: 132px; box-sizing: border-box; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #0b1b36; }
  #m-bar button { flex: none; width: 64px; height: 64px; border-radius: 32px; border: 0; background: #1f4fc4; color: #fff; font-size: 40px; line-height: 1; padding: 0 0 4px; cursor: pointer; }
  #m-bar .m-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  #m-bar .m-count { font-size: 20px; font-weight: 700; }
  #m-bar button.m-more { width: auto; height: 34px; border-radius: 17px; padding: 0 16px; font-size: 16px; font-weight: 600; background: rgba(255, 255, 255, .16); }
  #m-bar .m-hint { font-size: 13px; color: #9fb6d8; }
  html:not(.is-portrait) #m-bar { left: auto; right: 0; bottom: 0; top: 0; width: 76px; height: auto; flex-direction: column; justify-content: space-between; padding: 12px 6px; background: rgba(11, 27, 54, .0); pointer-events: none; }
  html:not(.is-portrait) #m-bar .m-mid { display: none; }
  html:not(.is-portrait) #m-bar button { pointer-events: auto; width: 52px; height: 52px; opacity: .55; position: absolute; right: 10px; }
  html:not(.is-portrait) #m-bar button[data-a="prev"] { top: calc(50% - 60px); }
  html:not(.is-portrait) #m-bar button[data-a="next"] { top: calc(50% + 8px); }
  #tier-tag, #step-hint { display: none; }
}
