/* Slide components for chapters 05–06 (graphics, in use). Shared components live in components.css. */

/* ======================= 05 · graphics ======================= */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { stroke: url(#icon-grad); stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }
.icon * { vector-effect: non-scaling-stroke; }

.texture-tiles { inset: auto; position: absolute; right: var(--margin); left: var(--margin); top: 470px; display: flex; gap: 30px; }
.texture-tile { flex: 1; }
.tx-art { height: 360px; border-radius: 22px; overflow: hidden; border: 1px solid #2a2a2a; }
.tx-glow .tx-art { background: radial-gradient(420px 320px at 0% 100%, rgba(255, 119, 5, .6), rgba(255, 119, 5, 0) 70%), radial-gradient(380px 300px at 100% 0%, rgba(255, 62, 102, .45), rgba(255, 62, 102, 0) 70%), #141414; }
.tx-const .tx-art { background: url(../img/bg-constellation.webp) center / cover; }
.tx-floor .tx-art { background: url(../img/social-story-bg.jpg) center bottom / 100% auto no-repeat, #0e0e0e; }
.texture-tile figcaption { margin-top: 18px; font-size: 28px; color: var(--platinum); }

.glow-frame { position: absolute; left: var(--margin); top: 330px; width: 960px; height: 540px; border-radius: 24px; overflow: hidden; border: 1px solid #333;
  background: radial-gradient(700px 520px at 0% 100%, rgba(255, 119, 5, .55), rgba(255, 119, 5, 0) 70%), radial-gradient(620px 460px at 100% 0%, rgba(255, 62, 102, .42), rgba(255, 62, 102, 0) 70%), #141414; }
.gf-pin { position: absolute; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 26px; direction: ltr; }
.gf-pin i { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 24px 6px rgba(255, 255, 255, .5); }
.gf-a { left: 28px; bottom: 26px; }
.gf-b { right: 28px; top: 26px; flex-direction: row-reverse; }
.gf-diag { position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(255, 255, 255, .22) 50%, transparent calc(50% + 1px)); }

.live-card { position: absolute; left: var(--margin); top: 330px; width: 640px; height: 380px; border-radius: 22px; overflow: hidden; border: 1px solid transparent;
  background: radial-gradient(460px 320px at 0% 100%, rgba(255, 119, 5, .55), rgba(255, 119, 5, 0) 70%) padding-box, radial-gradient(360px 260px at 100% 0%, rgba(255, 62, 102, .35), rgba(255, 62, 102, 0) 70%) padding-box, linear-gradient(#1c1c1c, #1c1c1c) padding-box, var(--grad) border-box; }
.lc-title { position: absolute; right: 40px; top: 44px; font-weight: 800; font-size: 44px; line-height: 1; white-space: nowrap; }
.lc-word { position: absolute; right: 36px; top: 104px; margin: 0; }
.lc-icon { position: absolute; left: 34px; bottom: 38px; width: 250px; height: auto; overflow: visible; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .16)); }
.lc-icon .bubble, .lc-icon .ln { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lc-icon .bubble { fill: rgba(14, 14, 14, .55); }
.lc-icon .spark { fill: none; stroke: url(#lc-grad); stroke-width: 3.5; stroke-linejoin: round; }
.lc-btn { position: absolute; right: 36px; bottom: 30px; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); display: grid; place-items: center; }
.lc-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.card-callout { position: absolute; left: 840px; font-weight: 800; font-size: 28px; line-height: 36px; white-space: nowrap; }
.card-callout i { position: absolute; right: calc(100% + 14px); top: 18px; height: 1px; background: rgba(255, 255, 255, .55); }
.card-callout i::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 62, 102, .45); }
.card-thumbs { position: absolute; right: var(--margin); left: var(--margin); top: 770px; display: flex; gap: 24px; }
.card-thumbs img { width: 260px; height: auto; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }

.icon-row { inset: auto; position: absolute; right: var(--margin); left: var(--margin); top: 520px; display: flex; gap: 16px; }
.icon-tile { flex: 1; height: 230px; border-radius: 18px; border: 1px solid #2a2a2a; background: #141414; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 0 8px; }
.icon-tile svg { width: 96px; height: 96px; }
.icon-tile figcaption { font-size: 22px; line-height: 1.15; color: var(--platinum); text-align: center; }




.photo-crop { position: absolute; left: var(--margin); top: 330px; width: 1040px; height: calc(1040px * 1080 / 1920 * .72); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.photo-crop img { width: 1040px; height: auto; }
.photo-rules { position: absolute; right: var(--margin); top: 480px; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.photo-rules li { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 30px; }
.photo-rules li::before { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; flex: none; }
.photo-rules li.ok::before { content: "\2713"; background: var(--grad); }
.photo-rules li.no::before { content: "\2715"; background: var(--folly); }
.photo-rules li.no { color: var(--silver); }
.photo-strip { position: absolute; right: var(--margin); top: 700px; width: 560px; height: 134px; border-radius: 16px; overflow: hidden; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }

.mockup-crop { position: absolute; left: var(--margin); top: 300px; width: 1100px; height: calc(1100px * 1080 / 1920 * .82); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.mockup-crop img { width: 1100px; height: auto; }

/* ======================= 06 · in use ======================= */
.fan { inset: auto; position: absolute; left: 870px; top: 655px; width: 0; height: 0; }
.fan-card { position: absolute; left: -320px; top: -155px; width: 640px; height: calc(640px * 1080 / 1920 * .86); border-radius: 18px; overflow: hidden;
  translate: var(--x) var(--y); rotate: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transition: scale .3s var(--ease), box-shadow .3s var(--ease); }
.fan-card:nth-child(1), .fan-card:nth-child(6) { z-index: 1; }
.fan-card:nth-child(2), .fan-card:nth-child(5) { z-index: 2; }
.fan-card:nth-child(3), .fan-card:nth-child(4) { z-index: 3; }
.fan-card:hover { scale: 1.06; z-index: 5; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.fan-card img { width: 640px; height: auto; }


.slide-bleed { position: absolute; inset: 0; z-index: 0; }
.slide-bleed img { width: 1920px; height: 1080px; object-fit: cover; }



.slide-closing .slide-head { left: 0; right: 0; top: 470px; align-items: center; }
.slide-closing .t-title { font-size: 128px; line-height: .7648; }
.slide-closing .t-outline { font-size: 260px; margin-top: 34px; }
.closing-logo { position: absolute; left: 50%; top: 250px; width: 520px; translate: -50% 0; }

/* slide 35: floating social icons (user, 2026-11-25) — one official strip (img/social-icons.svg, 1480×184), each icon framed by background-position */
.social-row { position: absolute; left: 50%; translate: -50% 0; top: 790px; display: flex; gap: 40px; z-index: 1; }
.social-ico { display: block; width: 170px; height: 156px; font-style: normal;
  background: url(../img/social-icons.svg) no-repeat; background-size: calc(1480px * .85) calc(184px * .85); background-position: calc(var(--x) * -.85px) 0;
  animation: fp-float var(--t, 5s) ease-in-out var(--d, 0s) infinite; animation-play-state: paused; }
.slide.is-active .social-ico { animation-play-state: running; }
@keyframes fp-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(var(--r, 1.5deg)); }
}
@media (prefers-reduced-motion: reduce) { .social-ico { animation: none; } }
@media print { .social-ico { animation: none; } }

/* slide 37 (user, 2026-11-25): the user's own button components, shown as-is from img/btn/*.svg */
.btn-sheet { inset: auto; position: absolute; right: var(--margin); left: var(--margin); top: 440px; display: flex; flex-direction: column; gap: 40px; }
.bs-row { display: flex; align-items: flex-end; gap: 56px; }
.bs-label { flex: none; width: 300px; align-self: center; }
.bs-label b { display: block; font-weight: 800; font-size: 36px; line-height: 1; }
.bs-label span { display: block; margin-top: 8px; font-weight: 800; font-size: 18px; letter-spacing: 4px; color: var(--silver); direction: ltr; text-align: right; }
.bs-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bs-item figcaption, .bs-badge figcaption { font-size: 22px; color: var(--silver); }
.b-cta { display: block; width: 400.5px; height: auto; margin-bottom: 22px; }
.b-cta-glow { position: relative; width: 560px; height: 130px; overflow: hidden; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
.b-cta-glow img { position: absolute; width: 879.75px; height: auto; left: -159.75px; top: -180.35px; }
.b-pill { position: relative; width: 284.8px; height: 56px; overflow: hidden; border-radius: 28px; }
.b-pill img { position: absolute; width: 676.8px; height: auto; }
.b-link { width: 279px; height: auto; }
.b-link-h { width: 281px; height: auto; }
.b-hash { width: 397px; height: auto; margin-bottom: 12px; }
.bs-badge { position: absolute; left: var(--margin); top: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; }
.bs-badge img { width: 188px; height: auto; animation: fp-float 6s ease-in-out infinite; animation-play-state: paused; }
.slide.is-active .bs-badge img { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .bs-badge img { animation: none; } }
@media print { .bs-badge img { animation: none; } }

/* slide 36 (user, 2026-11-25): the two reference circles, side by side, on a darkened background */
.slide-dim { position: absolute; inset: 0; z-index: 0; background: rgba(10, 10, 10, .55); }
.diagram { inset: auto; position: absolute; left: var(--margin); right: var(--margin); top: 380px; height: 560px; display: flex; justify-content: center; align-items: center; gap: 90px; }
.diagram img { display: block; height: 540px; width: auto; }
.dg-wheel { filter: drop-shadow(0 30px 70px rgba(255, 70, 70, .25)); }

/* slide 43 (user, 2026-11-25): stationery photo mockup, full width; title kept above the envelope */
.slide-stationery-photo .slide-head { top: 80px; }
.slide-stationery-photo .t-outline { font-size: 120px; }

/* ===== brand in real life (user, 2026-11-25) ===== */
/* slide 44: wall banner, full width; title kept above the banner */
.slide-signage .slide-head { top: 56px; }
.slide-signage .t-outline { font-size: 100px; }

/* slow "Ken Burns" zoom on the real-life photos, only while the slide is on screen */
@keyframes fp-kb { from { transform: scale(1); } to { transform: scale(1.07); } }
.mosaic-tile img, .mc-frame img { animation: fp-kb 14s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
.slide.is-active .mosaic-tile img, .slide.is-active .mc-frame img { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .mosaic-tile img, .mc-frame img { animation: none; } }
@media print { .mosaic-tile img, .mc-frame img { animation: none; } }

/* slide 45: editorial mosaic (left) + index (right, under the title) */
.mosaic { inset: auto; position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.mosaic-tile { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.mosaic-tile img { position: absolute; display: block; }
.mosaic-tile figcaption { position: absolute; right: 16px; top: 14px; padding: 8px 14px 5px; border-radius: 20px; background: rgba(20, 20, 20, .72); font-weight: 800; font-size: 20px; letter-spacing: 2px; direction: ltr; backdrop-filter: blur(6px); }
.mt-room { left: 520px; top: 110px; width: 780px; height: 439px; }
.mt-room img { left: 0; top: 0; width: 780px; height: 439px; object-fit: cover; }
.mt-wall { left: 120px; top: 110px; width: 370px; height: 439px; }
.mt-wall img { left: -59.5px; top: 0; width: 1413.7px; height: auto; transform-origin: 244px 219px; }
.mt-front { left: 120px; top: 579px; width: 1180px; height: 392px; }
.mt-front img { left: -717.8px; top: -98.7px; width: 1897.8px; height: auto; transform-origin: 1307px 295px; }
.mosaic-index { position: absolute; right: var(--margin); top: 420px; width: 440px; list-style: none; z-index: 2; }
.mosaic-index li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 18px 0 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mosaic-index li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mosaic-index b { grid-row: span 2; font-weight: 800; font-size: 32px; line-height: 1; direction: ltr; text-align: right; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mosaic-index span { font-weight: 800; font-size: 28px; line-height: 1.1; }
.mosaic-index em { font-style: normal; font-size: 22px; color: var(--silver); }

/* slide 46: merch — two offset cards */
.merch { inset: auto; position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.merch-card { position: absolute; margin: 0; width: 800px; }
.mc-frame { width: 800px; height: 450px; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 110px rgba(0, 0, 0, .6); }
.mc-frame img { display: block; width: 800px; height: 450px; object-fit: cover; }
.merch-card figcaption { margin-top: 14px; font-size: 26px; color: var(--platinum); }
.merch-card figcaption b { font-weight: 800; margin-left: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-mug { left: 1000px; top: 410px; }
.mc-bag { left: 120px; top: 330px; }
