/* FOUR WAYS: one card per look (graphic novel, manga, comic strip, daily strip).
   Each card has its own scene, drawn for its use, in that look; nothing here is taken from the
   first screen. Cards move only while they are on screen.
   Also here: the page written for one kind of comic (the chip, the lit chart rows). */

.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 52px; }
.use { position: relative; display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(28px); }
.use.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.use__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: size; isolation: isolate; }
.use__art i, .use__art b, .use__art em { position: absolute; display: block; font-style: normal; }
.use__art img { position: absolute; max-width: none; }
.use:not(.is-on) .use__art * { animation-play-state: paused !important; }
.use__body { position: relative; padding: 26px 28px 30px; flex: 1; }
.use__n { display: block; font: 500 15px/1 var(--serif); margin-bottom: 14px; }
.use h3 { font-size: clamp(24px, 2.5vw, 31px); line-height: 1.1; }
.use__body > p { margin-top: 12px; }
.use__for { font-size: 15px; padding-top: 16px; margin-top: 20px !important; border-top: 1px solid rgba(20, 32, 58, .16); }
.use__for b { text-transform: uppercase; font-size: 12px; letter-spacing: .12em; margin-right: 8px; }
.use__more { font-weight: 600; }
.use__more a { text-underline-offset: 5px; }
.use__more a::after { content: " \2192"; }
@media (hover: hover) { .use.is-in:hover { transform: translateY(-6px); } }

/* ---- 01 graphic novel: the shop window on publication day; a phone plays the scene ---- */
.use--gn { background: #f9efdc; color: #2a2233; border-radius: 20px; border: 1px solid rgba(90, 50, 30, .2); box-shadow: 0 18px 40px -22px rgba(90, 50, 30, .5); }
.g-plate { inset: -4%; width: 108%; height: 108%; object-fit: cover; animation: g-pan 18s ease-in-out infinite alternate; }
@keyframes g-pan { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(1.6%, -1%); } }
.g-light { inset: 0; z-index: 1; background: linear-gradient(112deg, rgba(255, 226, 170, 0) 30%, rgba(255, 226, 170, .5) 44%, rgba(255, 226, 170, 0) 58%); background-size: 260% 100%; mix-blend-mode: soft-light; animation: g-light 9s ease-in-out infinite; }
@keyframes g-light { 0% { background-position: 130% 0; } 60%, 100% { background-position: -40% 0; } }
.g-petals { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.g-petals i { top: -8%; width: 11px; height: 8px; border-radius: 80% 10% 80% 10%; background: #f08fa0; opacity: 0; animation: g-petal 8s linear infinite; }
.g-petals i:nth-child(1) { left: 74%; }
.g-petals i:nth-child(2) { left: 86%; animation-delay: -1.2s; background: #f6b6a8; }
.g-petals i:nth-child(3) { left: 96%; animation-delay: -2.4s; }
.g-petals i:nth-child(4) { left: 64%; animation-delay: -3.7s; background: #fbd3c0; width: 14px; height: 9px; }
.g-petals i:nth-child(5) { left: 90%; animation-delay: -4.9s; }
.g-petals i:nth-child(6) { left: 78%; animation-delay: -6s; background: #f6b6a8; }
.g-petals i:nth-child(7) { left: 102%; animation-delay: -7.1s; }
@keyframes g-petal { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 100% { transform: translate(-26cqw, 118cqh) rotate(440deg); opacity: 0; } }
.g-phone { position: absolute; z-index: 3; right: 6%; bottom: -9%; height: 86%; aspect-ratio: 9 / 16.4; padding: 1.2cqh; border-radius: 4.4cqh; background: #2a2233; box-shadow: 0 3cqh 6cqh -2cqh rgba(60, 30, 20, .7), 0 0 0 1px rgba(255, 250, 240, .5); rotate: 5deg; opacity: 0; }
.use.is-in .g-phone { animation: g-phone-in .9s cubic-bezier(.2, 1.2, .3, 1) .3s both; }
@keyframes g-phone-in { from { opacity: 0; transform: translateY(46%) rotate(12deg); } to { opacity: 1; transform: none; } }
.g-phone__in { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3.4cqh; background: #000; }
.g-phone__in img { left: 0; top: 0; height: 100%; width: auto; animation: g-shots 9s infinite; }
/* three shots of the same scene: the pile of books, the bookseller, the open copy */
@keyframes g-shots {
  0% { transform: translateX(-34%) scale(1.5); } 30% { transform: translateX(-37%) scale(1.62); }
  33.4% { transform: translateX(-12%) scale(2.1) translateY(4%); } 63% { transform: translateX(-15%) scale(2.25) translateY(4%); }
  66.7% { transform: translateX(-56%) scale(2) translateY(-6%); } 100% { transform: translateX(-59%) scale(2.14) translateY(-6%); }
}
.g-phone__in img { transform-origin: 0 50%; }
.g-phone__bar { position: absolute; left: 8%; right: 8%; top: 5%; display: flex; gap: 4%; }
.use__art .g-phone__bar b { position: relative; flex: 1; height: .9cqh; border-radius: 9px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.g-phone__bar b::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); animation: g-seg 9s linear infinite; }
.g-phone__bar b:nth-child(2)::after { animation-name: g-seg2; }
.g-phone__bar b:nth-child(3)::after { animation-name: g-seg3; }
@keyframes g-seg { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes g-seg2 { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes g-seg3 { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.g-phone__play { position: absolute; left: 8%; bottom: 6%; width: 0; height: 0; border-left: 2.6cqh solid #fff; border-top: 1.7cqh solid transparent; border-bottom: 1.7cqh solid transparent; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.g-sign { position: absolute; z-index: 5; left: 6%; top: 0; padding: 9cqh 0 0; font: italic 500 clamp(14px, 6.6cqh, 22px)/1 var(--serif); color: #2a2233; transform-origin: 50% 0; animation: g-swing 4.5s ease-in-out infinite; }
.g-sign::after { content: ""; position: absolute; z-index: -1; left: -.8em; right: -.8em; bottom: -.55em; top: 9cqh; margin-top: -.5em; background: #fffaf0; border-radius: 8px; box-shadow: 0 6px 16px -8px rgba(60, 30, 20, .7); }
.use__art .g-sign i { left: 50%; top: 0; width: 46%; height: 9cqh; margin-left: -23%; border-left: 2px solid rgba(60, 40, 30, .7); border-right: 2px solid rgba(60, 40, 30, .7); transform: perspective(60px) rotateX(-30deg); transform-origin: 50% 100%; }
@keyframes g-swing { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.use--gn .use__n { color: #a8553e; }
.use--gn h3 { font: italic 500 clamp(27px, 2.8vw, 35px)/1.08 var(--serif); letter-spacing: -.02em; color: #c2553b; width: fit-content; padding-bottom: .16em; background: no-repeat left bottom / 0 .16em url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 50 2, 90 11, 150 6 S 250 3, 298 7' fill='none' stroke='%23f0a95c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); transition: background-size 1s ease-out .5s; }
.use--gn.is-in h3 { background-size: 100% .16em; }
.use--gn .use__body > p { color: #4f4658; }
.use--gn .use__for b { color: #2a2233; }

/* ---- 02 manga: the producer sees it move ---- */
.use--manga { background: #fff; color: #0b0b0b; border: 4px solid #0b0b0b; box-shadow: 9px 9px 0 #0b0b0b; }
@media (hover: hover) { .use--manga.is-in:hover, .use--strip.is-in:hover { transform: translate(-4px, -4px); box-shadow: 14px 14px 0 #0b0b0b; } }
.use--manga .use__art { background: #0b0b0b; border-bottom: 4px solid #0b0b0b; }
.m-panel { position: absolute; background: #0b0b0b; clip-path: var(--clip); opacity: 0; }
.m-panel span { position: absolute; inset: var(--in, 0); overflow: hidden; clip-path: var(--clip); background: #fff; }
.m-panel img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes m-slam { 0% { opacity: 0; transform: scale(1.4); } 45% { opacity: 1; transform: scale(.98); } 60% { transform: scale(1.01) translate(5px, -3px); } 75% { transform: translate(-4px, 3px); } 100% { opacity: 1; transform: none; } }
.use.is-in .m-panel { animation: m-slam .6s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(.15s + var(--i) * .35s); }
.m-panel--wide { inset: 0; --clip: none; }
.m-panel--wide img { animation: m-push 7s ease-in-out infinite alternate; transform-origin: 56% 55%; }
@keyframes m-push { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.m-rays { left: 56%; top: 52%; width: 260cqw; height: 260cqw; margin: -130cqw 0 0 -130cqw; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .0) 0 2.4deg, rgba(255, 255, 255, .5) 2.4deg 2.9deg, rgba(255, 255, 255, 0) 2.9deg 7deg); -webkit-mask: radial-gradient(circle, transparent 0 5%, #000 16%); mask: radial-gradient(circle, transparent 0 5%, #000 16%); mix-blend-mode: screen; animation: spin 60s linear infinite; }
.m-glow { left: 56%; top: 50%; width: 46cqh; height: 46cqh; margin: -23cqh 0 0 -23cqh; border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, .7) 26%, rgba(255, 255, 255, 0) 68%); mix-blend-mode: screen; animation: m-glow 1.8s ease-in-out infinite; }
@keyframes m-glow { 0%, 100% { transform: scale(.82); opacity: .55; } 50% { transform: scale(1.12); opacity: 1; } }
.m-panel--eyes { right: 3%; bottom: 6%; width: 41%; height: 43%; --in: 4px; --clip: polygon(7% 0, 100% 0, 100% 100%, 0 100%); z-index: 2; }
.m-panel--eyes img { object-position: 50% 62%; animation: eyes 5s ease-in-out infinite; }
.m-glint { inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .9) 50%, transparent 60%); background-size: 300% 100%; animation: glint 3.4s ease-in-out infinite; mix-blend-mode: screen; }
.m-sfx { z-index: 3; font: 400 clamp(20px, 14cqh, 46px)/1 "Dela Gothic One", sans-serif; color: #0b0b0b; text-shadow: 3px 0 0 #fff, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff; letter-spacing: -.04em; white-space: nowrap; opacity: 0; }
.m-sfx--a { right: 5%; top: 7%; rotate: 8deg; }
.m-sfx--b { right: 37%; bottom: 5%; rotate: -10deg; font-size: clamp(14px, 9cqh, 30px); }
.use.is-in .m-sfx { animation: sfx-in .5s cubic-bezier(.3, 1.6, .5, 1) .95s both, rumble .5s steps(2, end) 1.5s infinite; }
.use.is-in .m-sfx--b { animation-delay: 1.15s, 1.7s; }
.use--manga .use__n { font: 400 14px/1 "Dela Gothic One", var(--sans); display: inline-block; background: #0b0b0b; color: #fff; padding: 6px 9px; }
.use--manga h3 { font: 400 clamp(22px, 2.3vw, 29px)/1.12 "Dela Gothic One", Impact, sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.use--manga .use__body > p { color: #333; }
.use--manga .use__for { border-top: 3px solid #0b0b0b; }
.use--manga .use__for b { background: #0b0b0b; color: #fff; padding: 3px 7px; }

/* ---- 03 comic strip: one tall picture, three episodes, each out on the next one's question ---- */
.use--strip { background: #fff8e3; color: #111; border: 4px solid #111; box-shadow: 9px 9px 0 #111; }
.use--strip .use__art { background: #ffd62e; border-bottom: 4px solid #111; }
.s-dots { inset: -40px; background: radial-gradient(circle, rgba(0, 0, 0, .2) 1.2px, transparent 1.8px) 0 0 / 9px 9px; animation: drift 5s linear infinite; }
.s-eps { position: absolute; z-index: 2; left: 7%; right: 30%; top: 9%; bottom: 9%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.s-ep { position: relative; border: 4px solid #111; border-radius: 3.6cqh; background: #111; box-shadow: 6px 6px 0 #111; opacity: 0; rotate: calc(-4deg + var(--i) * 4deg); }
.s-ep span { position: absolute; inset: 0; overflow: hidden; border-radius: 2.4cqh; }
.s-ep img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-ep:nth-child(1) img { transform-origin: 0 0; transform: scale(2.3); animation: s-cloud 6s ease-in-out infinite alternate; }
.s-ep:nth-child(2) img { transform-origin: 78% 44%; transform: scale(2.3); animation: s-hang 1.5s steps(2, end) infinite; }
.s-ep:nth-child(3) img { transform-origin: 68% 100%; transform: scale(2.5); animation: s-fin 3.4s ease-in-out infinite alternate; }
@keyframes s-cloud { from { transform: scale(2.3) translateX(0); } to { transform: scale(2.3) translateX(-5%); } }
@keyframes s-hang { 0%, 100% { transform: scale(2.3) rotate(-2.2deg); } 50% { transform: scale(2.3) rotate(2.2deg); } }
@keyframes s-fin { from { transform: scale(2.5) translateX(4%); } to { transform: scale(2.5) translateX(-5%); } }
.use.is-in .s-ep { animation: panel-pop .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.2s + var(--i) * .2s); }
.s-ep em { left: -4px; top: 9%; z-index: 1; font: 400 clamp(12px, 7cqh, 22px)/1 "Bangers", Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; background: #fff; border: 3px solid #111; padding: .22em .5em .16em; }
.s-lock { inset: 0; z-index: 1; border-radius: 2.4cqh; background: rgba(17, 17, 17, .5) center 46% / 34% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 10V7a5 5 0 0110 0v3h1.5c.8 0 1.500.7 1.500 1.500v8c0 .8-.7 1.500-1.500 1.500h-13C4.700 21 4 20.300 4 19.500v-8c0-.8.7-1.500 1.500-1.500zm2 0h6V7a3 3 0 00-6 0z'/%3E%3C/svg%3E"); animation: s-lock 2.4s ease-in-out infinite; }
@keyframes s-lock { 0%, 100% { background-color: rgba(17, 17, 17, .5); } 50% { background-color: rgba(17, 17, 17, .3); } }
.s-burst { z-index: 3; right: 1%; top: 17%; width: 31%; aspect-ratio: 1.15; background: #e8352b; clip-path: polygon(50% 0, 61% 20%, 86% 8%, 78% 32%, 100% 44%, 79% 58%, 92% 86%, 64% 76%, 52% 100%, 40% 77%, 10% 90%, 22% 62%, 0 48%, 23% 36%, 13% 10%, 39% 22%); scale: 0; }
.use.is-in .s-burst { animation: burst-in .5s cubic-bezier(.3, 1.6, .5, 1) .95s both, burst 1.6s steps(2, end) 1.5s infinite; }
@keyframes burst-in { from { scale: 0; } to { scale: 1; } }
.use__art .s-next { z-index: 4; right: 1%; top: 17%; width: 31%; aspect-ratio: 1.15; display: grid; place-items: center; text-align: center; font: 400 clamp(11px, 7.6cqh, 23px)/.95 "Bangers", Impact, sans-serif; letter-spacing: .03em; text-transform: uppercase; color: #fff; text-shadow: 2px 2px 0 #111; rotate: -6deg; opacity: 0; }
.use.is-in .s-next { animation: sfx-in .4s cubic-bezier(.3, 1.6, .5, 1) 1.15s both; }
.use--strip .use__n { font: 400 17px/1 "Bangers", Impact, sans-serif; letter-spacing: .06em; display: inline-block; background: #ffd62e; border: 3px solid #111; padding: 5px 9px 3px; }
.use--strip h3 { font: 400 clamp(32px, 3.4vw, 44px)/.95 "Bangers", Impact, sans-serif; text-transform: uppercase; letter-spacing: .02em; color: #e8352b; -webkit-text-stroke: 1.4px #111; text-shadow: 3px 3px 0 #111; }
.use--strip .use__body > p { color: #2b2b2b; }
.use--strip .use__for { border-top: 3px solid #111; }
.use--strip .use__for b { background: #1b6fd6; color: #fff; border: 2px solid #111; padding: 2px 7px; }

/* ---- 04 daily strip: the archive box, read one panel at a time ---- */
.use--daily { background: #f6efd2; color: #1c1c1c; border: 2.5px solid #1c1c1c; border-radius: 4px; box-shadow: 0 16px 34px -22px rgba(28, 28, 28, .6); }
.use--daily .use__art { background: linear-gradient(155deg, #f6e6a0 0, #f4ecc9 40%, #f3efe6 80%); border-bottom: 2.5px solid #1c1c1c; }
.d-paper { inset: 0; opacity: .55; mix-blend-mode: multiply; background: 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'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .38 0 0 0 0 .34 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.d-strip { position: absolute; z-index: 2; left: 6%; right: 6%; top: 7%; bottom: 7%; display: flex; flex-direction: column; }
.d-head { display: flex; align-items: baseline; padding-bottom: 1.4cqh; margin-bottom: 3cqh; border-bottom: 3px solid #5f7f97; }
.use__art .d-head b { position: static; font: 400 clamp(15px, 9cqh, 27px)/1 "Patrick Hand", cursive; text-transform: uppercase; }
.d-head span { margin-left: auto; font: 400 clamp(9px, 4.4cqh, 13px)/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #55524c; }
.d-row { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4%; }
.d-p { position: relative; overflow: hidden; border: 2.5px solid #1c1c1c; background: #c9b78a; opacity: 0; }
.d-p img { inset: -1%; width: 102%; height: 102%; object-fit: cover; object-position: 50% 78%; animation: boil .54s steps(1, end) infinite; }
.use.is-in .d-p { animation: dp-in .45s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(.3s + var(--i) * 1.1s); }
.d-bl { position: absolute; left: 7%; top: 6%; max-width: 86%; margin: 0; padding: 1.6cqh 2.4cqh 2cqh; background: #fff; border: 2.5px solid #1c1c1c; border-radius: 48% 52% 50% 50% / 56% 54% 46% 44%; font: 400 clamp(10px, 5.4cqh, 17px)/1.02 "Patrick Hand", cursive; text-transform: uppercase; text-align: center; color: #1c1c1c; opacity: 0; }
.d-bl::after { content: ""; position: absolute; top: calc(100% + 1px); left: 44%; width: 2.5px; height: 7cqh; background: #1c1c1c; transform: rotate(8deg); transform-origin: 50% 0; }
.use.is-in .d-bl { animation: bl-in .32s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.75s + var(--i, 1) * 1.1s); }
.d-p:nth-child(2) .d-bl { --i: 1; }
.d-p:nth-child(3) .d-bl { --i: 2; }
.d-z { position: absolute; right: 12%; top: 30%; margin: 0; font: 400 clamp(10px, 5.6cqh, 17px)/1 "Patrick Hand", cursive; color: #55524c; rotate: -12deg; animation: d-z 2.6s ease-in-out infinite; }
@keyframes d-z { 0%, 100% { translate: 0 0; opacity: .5; } 50% { translate: 3px -6px; opacity: 1; } }
.d-dust { left: 44%; top: 52%; width: 7cqh; height: 7cqh; border-radius: 50%; background: rgba(240, 230, 205, .85); opacity: 0; animation: d-dust 3.2s ease-out infinite; }
.d-dust:nth-of-type(2) { left: 56%; animation-delay: -1.1s; width: 5cqh; height: 5cqh; }
.d-dust:nth-of-type(3) { left: 36%; animation-delay: -2.1s; width: 4cqh; height: 4cqh; }
@keyframes d-dust { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 20% { opacity: .9; } 100% { transform: translate(8px, -18cqh) scale(1.7); opacity: 0; } }
.use--daily .use__n { font: 400 19px/1 "Patrick Hand", cursive; }
.use--daily h3 { display: inline; font: 400 clamp(28px, 3vw, 38px)/1.1 "Patrick Hand", "Comic Sans MS", cursive; text-transform: uppercase; -webkit-text-stroke: .015em #1c1c1c; padding: 0 .12em; margin-left: -.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 52%, #efd266 52% 90%, transparent 90%) no-repeat left / 0 100%; transition: background-size .8s ease-out .5s; }
.use--daily.is-in h3 { background-size: 100% 100%; }
.use--daily .use__body > p { color: #3b3a36; }
.use--daily h3 + p { margin-top: 14px; }
.use--daily .use__for { border-top: 2px solid #1c1c1c; }

/* ---- the same looks on the other cards, when the visitor has picked one ---- */
/* graphic novel: the painting, slowly panned, with a label */
.g-tag { position: absolute; z-index: 5; left: 5%; bottom: 7%; font: italic 500 clamp(14px, 6.6cqh, 22px)/1 var(--serif); color: #2a2233; background: #fffaf0; padding: .5em .85em .55em; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(60, 30, 20, .7); opacity: 0; }
.use.is-in .g-tag { animation: vh-tag .6s cubic-bezier(.2, 1.3, .4, 1) .4s both; }
@keyframes vh-tag { from { opacity: 0; transform: translateY(14px) rotate(-4deg); } to { opacity: 1; transform: none; } }
/* manga: the panel, and a second panel that zooms into its beat */
.m-panel--zoom { right: 3%; bottom: 6%; width: 36%; height: 50%; --in: 4px; --clip: polygon(9% 0, 100% 0, 100% 100%, 0 100%); z-index: 2; }
.m-panel--zoom img { transform: scale(2.4); transform-origin: var(--o, 50% 50%); animation: m-zoom 6s ease-in-out infinite alternate; }
@keyframes m-zoom { from { scale: 1; } to { scale: 1.08; } }
/* comic strip: one wide picture cut into three panels */
.t-tri { position: absolute; z-index: 2; left: 4%; right: 4%; top: 10%; bottom: 12%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; rotate: -1.6deg; }
.t-tri__p { position: relative; overflow: hidden; border: 4px solid #111; background: #fff; box-shadow: 6px 6px 0 #111; opacity: 0; container-type: size; }
.t-tri__p img { top: 0; height: 100%; width: 312%; object-fit: cover; left: calc(var(--i) * -106%); animation: tri-pan 6s ease-in-out infinite alternate; }
.use.is-in .t-tri__p { animation: panel-pop .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.2s + var(--i) * .18s); }
.s-burst--word, .use__art .s-next--word { right: auto; left: 64%; top: auto; bottom: -4%; width: 30%; }
.use__art .s-next--word { font-size: clamp(14px, 10cqh, 30px); }
/* webtoon: a phone scrolling one tall episode, colour that glows */
.use--toon { background: linear-gradient(160deg, #4b27c9, #a634bd 60%, #e94f93); color: #fff; border-radius: 22px; box-shadow: 0 22px 44px -22px rgba(80, 20, 140, .8); }
.use--toon .use__art { background: linear-gradient(135deg, #5b2fe6, #c23fd0 55%, #ff5fa2); }
.t-blob { border-radius: 50%; filter: blur(34px); }
.t-blob--a { left: -12%; bottom: -40%; width: 70cqh; height: 70cqh; background: #25c2c8; animation: blob 12s ease-in-out infinite alternate; }
.t-blob--b { right: -8%; top: -40%; width: 80cqh; height: 80cqh; background: #ffb86b; animation: blob 15s ease-in-out infinite alternate-reverse; }
.t-spark { inset: 0; background: radial-gradient(circle, #fff 1.3px, transparent 2.3px) 30px 40px / 190px 160px, radial-gradient(circle, rgba(255, 243, 107, .9) 1.4px, transparent 2.4px) 90px 110px / 260px 230px; animation: twinkle 3s ease-in-out infinite alternate; }
.t-phone { position: absolute; z-index: 2; left: 50%; top: 8%; height: 118%; aspect-ratio: 9 / 17.6; margin-left: -18cqh; padding: 1cqh; border-radius: 5cqh; background: #17132b; box-shadow: 0 3cqh 7cqh -2cqh rgba(30, 10, 80, .7), 0 0 0 2px rgba(255, 255, 255, .25); rotate: -6deg; opacity: 0; }
.use.is-in .t-phone { animation: g-phone-in .9s cubic-bezier(.2, 1.2, .3, 1) .2s both; }
.t-phone__in { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 4cqh; }
.t-phone__in img { left: 0; top: 0; width: 100%; height: auto; animation: scroll 9s ease-in-out infinite alternate; }
.t-hearts { position: absolute; z-index: 3; right: 12%; bottom: 0; width: 16%; height: 90%; }
.t-hearts i { bottom: 0; left: 30%; font-size: clamp(16px, 9cqh, 28px); color: #fff; text-shadow: 0 3px 10px rgba(255, 60, 140, .8); opacity: 0; animation: t-heart 4s ease-in infinite; }
.t-hearts i:nth-child(2) { left: 70%; animation-delay: -.9s; color: #ffd1e6; }
.t-hearts i:nth-child(3) { left: 0; animation-delay: -1.8s; color: #fff36b; }
.t-hearts i:nth-child(4) { left: 50%; animation-delay: -2.6s; }
.t-hearts i:nth-child(5) { left: 20%; animation-delay: -3.3s; color: #ffd1e6; }
@keyframes t-heart { 0% { transform: translateY(0) scale(.4); opacity: 0; } 12% { opacity: 1; transform: translateY(-10%) scale(1.1); } 100% { transform: translate(14px, -80cqh) scale(.9) rotate(18deg); opacity: 0; } }
.use--toon .use__n { font: 900 15px/1 "Nunito", var(--sans); display: inline-block; padding: 6px 11px; border-radius: 99px; background: #fff36b; color: #4b27c9; }
.use--toon h3 { font: 900 clamp(26px, 2.7vw, 34px)/1.08 "Nunito", var(--sans); letter-spacing: -.02em; color: #fff36b; }
.use--toon .use__body > p { color: rgba(255, 255, 255, .92); }
.use--toon .use__for { border-top: 1px solid rgba(255, 255, 255, .35); }
.use--toon .use__for b { color: #fff36b; }
.use--toon .use__more a { color: #fff; }
@media (hover: hover) { .use--toon.is-in:hover { box-shadow: 0 30px 50px -22px rgba(80, 20, 140, .9); } }

/* ---- with a kind of comic picked, the whole block takes its look: the section, the heading, the cards ---- */
#uses { transition: background-color .4s ease, color .4s ease; }
#uses h2, #uses .eyebrow { transition: color .3s ease; }
/* graphic novel: golden hour, painted serif */
[data-medium-on="gn"] #uses { background: radial-gradient(ellipse at 12% 100%, rgba(255, 206, 140, .55), transparent 55%), linear-gradient(180deg, #f6ead3, #f3dcc0); color: #2a2233; }
[data-medium-on="gn"] #uses .eyebrow { color: #a8553e; }
[data-medium-on="gn"] #uses h2 { font-style: italic; color: #c2553b; }
/* manga: white page, speed lines, black block type */
[data-medium-on="manga"] #uses { background: repeating-conic-gradient(from 0deg at 88% 6%, rgba(11, 11, 11, .075) 0 .6deg, transparent .6deg 3.2deg), #fff; color: #0b0b0b; }
[data-medium-on="manga"] #uses .eyebrow { display: inline-block; background: #0b0b0b; color: #fff; padding: 7px 10px; }
[data-medium-on="manga"] #uses h2 { font: 400 clamp(30px, 4.2vw, 50px)/1.08 "Dela Gothic One", Impact, sans-serif; text-transform: uppercase; letter-spacing: -.02em; max-width: 20ch; }
/* comic strip: newsprint dots, bold red letters */
[data-medium-on="strip"] #uses { background: radial-gradient(circle, rgba(0, 0, 0, .13) 1.1px, transparent 1.7px) 0 0 / 8px 8px, #efe5cd; color: #111; }
[data-medium-on="strip"] #uses .eyebrow { display: inline-block; background: #ffd62e; color: #111; border: 3px solid #111; padding: 7px 10px; }
[data-medium-on="strip"] #uses h2 { font: 400 clamp(40px, 5.6vw, 70px)/.95 "Bangers", Impact, sans-serif; text-transform: uppercase; letter-spacing: .02em; color: #e8352b; -webkit-text-stroke: 2px #111; text-shadow: 4px 4px 0 #111; }
/* daily strip: the newspaper page, hand lettering, a marker line */
[data-medium-on="daily"] #uses { background: linear-gradient(155deg, #f6e6a0 0, #f4ecc9 34%, #f3efe6 70%); color: #1c1c1c; }
[data-medium-on="daily"] #uses .eyebrow { display: inline-block; color: #1c1c1c; padding: 6px 0; border-top: 2px solid #1c1c1c; border-bottom: 2px solid #1c1c1c; }
[data-medium-on="daily"] #uses h2 { font: 400 clamp(40px, 5.4vw, 66px)/1 "Patrick Hand", "Comic Sans MS", cursive; text-transform: uppercase; -webkit-text-stroke: .015em #1c1c1c; }
/* webtoon: night-to-sunset glow, round heavy type */
[data-medium-on="toon"] #uses { background: radial-gradient(ellipse at 90% 0, rgba(255, 184, 107, .45), transparent 50%), radial-gradient(ellipse at 0 100%, rgba(37, 194, 200, .4), transparent 50%), linear-gradient(135deg, #2a1660, #5b2fe6 60%, #a634bd); color: #fff; }
[data-medium-on="toon"] #uses .eyebrow { display: inline-block; background: #fff36b; color: #4b27c9; padding: 7px 11px; border-radius: 99px; }
[data-medium-on="toon"] #uses h2 { font: 900 clamp(34px, 4.6vw, 56px)/1.05 "Nunito", var(--sans); letter-spacing: -.03em; color: #fff; }
[data-medium-on="toon"] #uses .use--toon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 24px 44px -24px rgba(10, 0, 40, .9); }

/* ---- the page is written for one kind of comic when the visitor picks it ---- */
[data-k] { transition: opacity .28s ease; }
[data-k].is-swapping { opacity: 0; }
.bar[data-m] { transition: opacity .3s; }
[data-medium-on] .bars:has(.is-mine) .bar:not(.is-mine) { opacity: .42; }
.bar.is-mine .bar__label { font-weight: 700; }
.medium { position: fixed; z-index: 30; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(15, 20, 34, .92); color: #f7f1e6; font: 500 14px/1.2 var(--sans); box-shadow: 0 14px 34px -14px rgba(15, 20, 34, .7); backdrop-filter: blur(8px); max-width: calc(100% - 24px); white-space: nowrap; transition: opacity .3s, translate .3s, visibility .3s; }
.medium[hidden], .medium.is-low { opacity: 0; translate: -50% 30px; pointer-events: none; visibility: hidden; }
.medium b { color: var(--sand); font-weight: 600; }
.medium button { border: 0; border-radius: 999px; padding: 8px 14px; background: #f7f1e6; color: #14203a; font: 600 13px/1 var(--sans); cursor: pointer; }
.medium button:hover { background: var(--sand); }
/* a returning visitor's look is shown without the first one flashing */
html[data-look] .hero:not(.is-restored) .scene { visibility: hidden; }

@media (max-width: 1000px) { .uses { gap: 24px; } }
@media (max-width: 760px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use__body { padding: 22px 20px 26px; }
  .use--manga, .use--strip { box-shadow: 6px 6px 0 #0b0b0b; margin-right: 6px; }
  .medium { font-size: 13px; gap: 8px; padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .use { opacity: 1; transform: none; }
  .use *, .use *::before, .use *::after { animation: none !important; transition: none !important; opacity: 1 !important; scale: 1 !important; }
  .use--gn h3, .use--daily h3 { background-size: 100% 100%; }
  .s-lock { opacity: .5 !important; }
}
