/* Pablo Live — black and orange, from the Pablo Live logo */
:root {
  --orange: #f7941e;
  --orange-d: #d9740a;
  --orange-l: #ffe3bf;
  --black: #111;
  --coal: #1c1a18;
  --cream: #fff6e9;
  --white: #fff;
  --muted: #5b5148;
  --line: rgba(17, 17, 17, .14);
  --display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --script: "Yellowtail", cursive;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  --pad: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--black); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.intro-on { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.script { font-family: var(--script); font-style: normal; font-weight: 400; }
.amp { font-family: var(--script); color: var(--orange); }

/* progress */
.progress { position: fixed; inset: 0 0 auto; height: 4px; background: var(--orange); transform-origin: left; transform: scaleX(0); z-index: 120; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 150; background: var(--black); display: grid; place-items: center; align-content: center; gap: 22px; overflow: hidden; transition: transform .8s var(--ease) ; }
.intro.out { transform: translateY(-100%); }
.intro-logo { width: min(78vw, 620px); opacity: 0; transform: scale(.7) rotate(-4deg); animation: introLogo 1s var(--spring) .25s forwards; position: relative; z-index: 2; }
.intro-line { color: var(--orange); font: 600 .85rem var(--mono); letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fadeUp .6s var(--ease) 1s forwards; position: relative; z-index: 2; margin: 0; }
.intro-beam { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 45%, rgba(247,148,30,.35), transparent 40%); animation: beam 1.8s var(--ease) forwards; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes beam { from { transform: translateX(-40%) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* buttons */
.btn { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem var(--body); padding: 15px 26px; border-radius: 999px; border: 2px solid var(--black); text-decoration: none; cursor: pointer; transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), box-shadow .2s, background .2s, color .2s; position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.25); transform: translateX(-110%) skewX(-20deg); transition: transform .5s var(--ease); }
.btn:hover::after { transform: translateX(110%) skewX(-20deg); }
.btn-orange { background: var(--orange); color: var(--black); box-shadow: 0 6px 0 var(--black); }
.btn-orange:hover { box-shadow: 0 9px 0 var(--black); }
.btn-dark { background: var(--black); color: var(--white); box-shadow: 0 6px 0 var(--orange-d); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-line { background: transparent; color: var(--black); }
.btn-line:hover { background: var(--black); color: var(--white); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 24px; padding: 16px var(--pad); transition: background .35s, padding .35s, box-shadow .35s; }
.nav.solid { background: rgba(255, 246, 233, .94); backdrop-filter: blur(10px); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.brand { display: block; position: relative; width: 150px; flex-shrink: 0; }
.brand img { width: 100%; transition: opacity .3s; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.nav.solid .brand-dark, .nav.menu-open .brand-dark { opacity: 1; }
.nav.solid .brand-light, .nav.menu-open .brand-light { opacity: 0; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--white); position: relative; transition: color .3s; }
.nav.solid .nav-links a { color: var(--black); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 3px; background: var(--orange); border-radius: 3px; transition: right .25s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-cta { padding: 10px 20px; font-size: .92rem; box-shadow: 0 4px 0 var(--black); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.nav.solid .menu-btn, .nav.menu-open .menu-btn { border-color: var(--black); }
.nav.solid .menu-btn span, .nav.menu-open .menu-btn span { background: var(--black); }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav.menu-open { background: var(--cream); }
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--cream); padding: 110px var(--pad) 40px; display: flex; flex-direction: column; gap: 8px; }
.drawer[hidden] { display: none; }
.drawer a { font: 2.4rem/1.15 var(--display); text-decoration: none; animation: fadeUp .4s var(--ease) both; }
.drawer a:nth-child(2) { animation-delay: .04s; } .drawer a:nth-child(3) { animation-delay: .08s; } .drawer a:nth-child(4) { animation-delay: .12s; } .drawer a:nth-child(5) { animation-delay: .16s; } .drawer a:nth-child(6) { animation-delay: .2s; color: var(--orange-d); }
@media (max-width: 900px) { .nav-links, .nav-cta { display: none; } .menu-btn { display: block; margin-left: auto; } .brand { width: 120px; } }

/* sections */
section { padding: clamp(72px, 10vw, 140px) var(--pad); position: relative; }
.section-head { max-width: 920px; margin-bottom: clamp(36px, 5vw, 64px); }
.kicker { font: 600 .8rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 32px; height: 3px; background: var(--orange); border-radius: 3px; }
.section-lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin-top: 20px; }
.card { background: var(--white); border: 2px solid var(--black); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: 10px 10px 0 var(--black); }

/* reveal system (only animates when JS adds .motion) */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal-img { clip-path: inset(12% 12% 12% 12% round 24px); opacity: 0; transition: clip-path 1.1s var(--ease), opacity .6s; }
.motion .reveal-img.in { clip-path: inset(0 0 0 0 round 0px); opacity: 1; }
.h-split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.h-split .w > span { display: inline-block; }
.motion .h-split .w > span { transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: var(--d); }
.motion .h-split.in .w > span { transform: none; }
.parallax { --py: 0px; }

/* hero */
.hero { background: var(--black); color: var(--white); min-height: 100vh; min-height: 100svh; padding-top: clamp(110px, 14vh, 150px); padding-bottom: clamp(60px, 8vw, 100px); overflow: hidden; display: flex; align-items: center; }
.spot { --x: 70%; --y: 40%; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--x) var(--y), rgba(247,148,30,.22), transparent 60%); pointer-events: none; transition: background .1s; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; width: 100%; }
.eyebrow { font: 600 .82rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; }
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: .95; }
.hero-title .split { display: block; }
.split-big { font-size: clamp(3.6rem, 8.6vw, 9.4rem); color: var(--orange); line-height: .85; margin: .02em 0 .04em; white-space: nowrap; }
@media (max-width: 900px) { .split-big { font-size: clamp(3.4rem, 17vw, 8rem); } }
.hero-title .script { font-size: 1.25em; color: var(--white); margin-left: .1em; }
.ch { display: inline-block; }
.ready .ch { animation: chIn .8s var(--spring) both; animation-delay: calc(var(--d) + .1s); }
body:not(.ready) .ch { opacity: 0; }
.intro-on.ready .ch { animation-delay: calc(var(--d) + .7s); }
@keyframes chIn { from { opacity: 0; transform: translateY(.6em) rotate(8deg) scale(.6); } to { opacity: 1; transform: none; } }
.split-big .ch:hover { animation: wobble .5s var(--spring); color: var(--white); }
@keyframes wobble { 30% { transform: translateY(-.12em) rotate(-6deg); } 60% { transform: translateY(.04em) rotate(4deg); } }
.hero-lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); max-width: 560px; margin: 28px 0 34px; color: rgba(255,255,255,.82); }
.hero-lede strong { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn-orange { box-shadow: 0 6px 0 var(--orange-d); }
.hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-photo { margin: 0; width: min(100%, 470px); aspect-ratio: 1; border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%; overflow: hidden; border: 4px solid var(--orange); box-shadow: 0 0 0 14px rgba(247,148,30,.12), 0 30px 80px rgba(247,148,30,.25); transform: translateY(var(--py)); animation: blob 12s ease-in-out infinite; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
@keyframes blob { 50% { border-radius: 46% 54% 52% 48% / 48% 54% 46% 52%; } }
.badge-spin { position: absolute; top: -10px; left: -6px; width: 150px; height: 150px; z-index: 3; display: grid; place-items: center; }
.badge-spin svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge-spin text { fill: var(--white); font: 600 13.5px var(--mono); letter-spacing: 3px; }
.badge-spin span { width: 70px; height: 70px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 2rem; border: 3px solid var(--black); }
@keyframes spin { to { transform: rotate(360deg); } }
.mic-swing { position: absolute; top: -170px; right: 2%; width: 80px; transform-origin: 50% 0; animation: swing 3.6s ease-in-out infinite; z-index: 3; }
.mic-swing .cord { fill: none; stroke: var(--white); stroke-width: 2.5; }
@keyframes swing { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-7deg); } }
.laugh-btn { --mx: 0px; --my: 0px; position: absolute; bottom: 30px; left: -10px; width: 128px; height: 128px; border-radius: 50%; border: 3px solid var(--black); background: var(--orange); color: var(--black); cursor: pointer; font: 1.05rem/1.05 var(--display); text-transform: uppercase; box-shadow: 0 10px 0 var(--orange-d), 0 10px 0 3px var(--black); transform: translate(var(--mx), var(--my)); transition: transform .1s, box-shadow .1s; z-index: 4; animation: pulse 2.4s ease-in-out infinite; }
.laugh-btn:active { transform: translate(var(--mx), calc(var(--my) + 8px)); box-shadow: 0 2px 0 var(--orange-d), 0 2px 0 3px var(--black); }
@keyframes pulse { 0%, 100% { outline: 0 solid rgba(247,148,30,.5); } 50% { outline: 14px solid rgba(247,148,30,0); } }
.laugh-count { font: 600 .8rem var(--mono); color: rgba(255,255,255,.7); margin: 20px 0 0; min-height: 1.4em; }
.burst { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.burst span { position: absolute; font-size: 2.1rem; transform: translate(-50%, -50%); animation: pop 1.2s var(--ease) forwards; }
@keyframes pop { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1.4); opacity: 0; } }
.hero.giggle .hero-title { animation: giggle .5s; }
@keyframes giggle { 20% { transform: rotate(-1.4deg); } 40% { transform: rotate(1.1deg); } 60% { transform: rotate(-.7deg); } 80% { transform: rotate(.4deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 60% { transform: translate(-50%, 12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 40px; }
  .hero-photo { width: min(88%, 420px); }
  .mic-swing { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .badge-spin { width: 112px; height: 112px; top: -16px; left: 0; }
  .badge-spin text { font-size: 17px; }
  .badge-spin span { width: 52px; height: 52px; font-size: 1.5rem; }
  .laugh-btn { width: 104px; height: 104px; font-size: .9rem; left: 0; bottom: 20px; }
}

.bubble { position: absolute; right: -4px; top: 46%; z-index: 4; background: var(--white); color: var(--black); font: 1.15rem/1.1 var(--display); padding: 14px 18px; border-radius: 22px 22px 22px 4px; border: 3px solid var(--black); max-width: 170px; transform-origin: 0 100%; box-shadow: 5px 5px 0 var(--orange); }
.ready .bubble { animation: bubbleIn .7s var(--spring) 1.4s both, bob 4s ease-in-out 2.2s infinite; }
.intro-on.ready .bubble { animation-delay: 2.1s, 3s; }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.3) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
@media (max-width: 480px) { .bubble { font-size: .95rem; max-width: 130px; padding: 10px 12px; right: 0; top: 52%; } }

/* marquee */
.marquee { background: var(--orange); color: var(--black); overflow: hidden; white-space: nowrap; border-block: 3px solid var(--black); transform: rotate(-1.6deg) scale(1.03); margin: -22px 0 0; position: relative; z-index: 5; }
.marquee-track { display: inline-flex; gap: 28px; padding: 16px 0; animation: marquee 30s linear infinite; font: clamp(1.4rem, 3vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.marquee-track i { font-style: normal; font-size: .5em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* show */
.show { padding-top: clamp(90px, 12vw, 160px); }
.show-grid { display: grid; grid-template-columns: minmax(0, .85fr) 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.poster { margin: 0; border-radius: 22px; overflow: hidden; border: 3px solid var(--black); box-shadow: 16px 16px 0 var(--orange), 16px 16px 0 3px var(--black); transform: rotate(-2deg) translateY(var(--py)); max-width: 470px; }
.poster img { width: 100%; }
.show-copy h2 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); margin-bottom: 22px; }
.show-when b { display: block; font: clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--display); }
.show-when span { color: var(--muted); font-weight: 700; }
.flip { display: flex; gap: 12px; margin: 26px 0 28px; flex-wrap: wrap; }
.fu { background: var(--black); color: var(--orange); border-radius: 14px; padding: 12px 10px 8px; min-width: 84px; text-align: center; position: relative; overflow: hidden; perspective: 400px; }
.fu::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.08); }
.fu b { display: block; font: clamp(2.2rem, 4vw, 3rem)/1 var(--display); }
.fu b.flipping { animation: flipIn .45s var(--ease); }
@keyframes flipIn { from { transform: rotateX(90deg); opacity: .3; } to { transform: none; opacity: 1; } }
.fu small { font: 600 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tonight { font: 2rem var(--display); color: var(--orange-d); }
.show-blurb { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.tiers { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; }
.tiers li { border: 2px solid var(--black); border-radius: 14px; padding: 12px 12px 10px; background: var(--white); display: flex; flex-direction: column; gap: 2px; transition: transform .3s var(--spring), background .2s; }
.tiers li:hover { transform: translateY(-5px) rotate(-1deg); background: var(--orange-l); }
.tiers li:first-child { background: var(--orange); }
.tiers span { font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tiers b { font: 1.35rem/1.1 var(--display); font-weight: 400; }
.tiers b small { font: 600 .65rem var(--mono); }
.tiers em { font-style: normal; font-size: .75rem; font-weight: 700; }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr 1fr; } }
.show-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.call-inline { font-weight: 700; color: var(--muted); }
.call-inline a { color: var(--black); }
@media (max-width: 900px) { .show-grid { grid-template-columns: 1fr; } .poster { max-width: 400px; } }

/* numbers */
.numbers { background: var(--black); color: var(--white); padding-block: clamp(48px, 6vw, 72px); }
.num-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.num-list li { padding: 6px 22px; border-left: 1px solid rgba(255,255,255,.14); }
.num-list li:first-child { border-left: 0; padding-left: 0; }
.num-list b { font: clamp(2.4rem, 4.6vw, 3.8rem)/1 var(--display); color: var(--orange); font-weight: 400; }
.num-list small { font: 600 .75rem var(--mono); margin-left: 6px; text-transform: uppercase; color: var(--white); }
.num-list li > span { display: block; color: rgba(255,255,255,.72); margin-top: 8px; line-height: 1.35; font-size: .95rem; }
@media (max-width: 900px) { .num-list { grid-template-columns: repeat(2, 1fr); gap: 26px 0; } .num-list li:nth-child(odd) { border-left: 0; padding-left: 0; } .num-list li:last-child { grid-column: 1 / -1; } }

/* what he does */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 900px; }
.card-x { --rx: 0deg; --ry: 0deg; background: var(--white); border: 2px solid var(--black); border-radius: var(--r); padding: 28px 24px 26px; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .3s var(--ease), box-shadow .3s, background .3s; box-shadow: 0 0 0 var(--black); }
.motion .card-x.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.card-x:hover { box-shadow: 8px 8px 0 var(--orange), 8px 8px 0 2px var(--black); }
.cx-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--orange); border: 2px solid var(--black); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 20px; transition: transform .4s var(--spring); }
.card-x:hover .cx-icon { transform: rotate(-12deg) scale(1.12); }
.card-x small { font: 600 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-d); }
.card-x h3 { font-size: 1.8rem; margin: 6px 0 10px; }
.card-x p { color: var(--muted); font-size: .97rem; margin: 0; line-height: 1.5; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

/* story */
.story { background: var(--coal); color: var(--white); }
.story .section-lede { color: rgba(255,255,255,.72); }
.story .kicker { color: var(--orange); }
.story-grid { display: grid; grid-template-columns: minmax(0, 580px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.receipt { background: var(--white); color: var(--black); font-family: var(--mono); font-size: .92rem; padding: 30px 28px 26px; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: linear-gradient(135deg, transparent 6px, var(--white) 0) 0 0/12px 12px repeat-x, linear-gradient(-135deg, transparent 6px, var(--white) 0) 0 0/12px 12px repeat-x; }
.receipt::before { top: -12px; transform: rotate(180deg); }
.receipt::after { bottom: -12px; }
.r-head { text-align: center; display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; border-bottom: 2px dashed var(--black); font-size: .8rem; color: var(--muted); }
.r-head b { font-size: 1.02rem; color: var(--black); letter-spacing: .06em; }
.r-lines { list-style: none; padding: 10px 0; margin: 0; border-bottom: 2px dashed var(--black); }
.r-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--line); }
.r-lines li:last-child { border-bottom: 0; }
.motion .print { opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity .2s, clip-path .7s steps(18); }
.motion .print.in { opacity: 1; clip-path: inset(0 0 0 0); }
.r-y { font-weight: 600; color: var(--orange-d); }
.r-t { line-height: 1.45; }
.r-p { font-weight: 600; }
.r-total { padding: 14px 0; display: grid; gap: 6px; }
.r-total div { display: flex; justify-content: space-between; gap: 12px; }
.r-total b { text-align: right; }
.r-total div:first-child, .r-total .r-big { font-size: 1.05rem; }
.r-foot { text-align: center; font-size: .82rem; color: var(--muted); margin: 6px 0 14px; }
.barcode { height: 46px; background: repeating-linear-gradient(90deg, var(--black) 0 2px, transparent 2px 4px, var(--black) 4px 7px, transparent 7px 9px, var(--black) 9px 10px, transparent 10px 14px); }
.story-side { display: grid; gap: 40px; padding-top: 10px; }
.snap { margin: 0; border-radius: 24px; overflow: hidden; border: 3px solid var(--orange); }
.snap img { width: 100%; height: 100%; object-fit: cover; }
.snap-a { max-width: 400px; aspect-ratio: 4/4.2; transform: rotate(-3deg) translateY(var(--py)); }
.snap-b { max-width: 230px; aspect-ratio: 1; justify-self: end; transform: rotate(4deg) translateY(var(--py)); margin-top: -10px; border-radius: 50%; position: relative; z-index: 2; }
.note { margin: 0; background: var(--orange); color: var(--black); border-radius: 20px; padding: 24px 26px; max-width: 380px; font: 1.35rem/1.2 var(--display); position: relative; justify-self: center; }
.note::before { content: "“"; position: absolute; top: -34px; left: 18px; font: 5rem/1 var(--display); color: var(--orange); }
.note p { margin: 0; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .snap-b { max-width: 170px; } }
.awards { margin-top: clamp(64px, 9vw, 110px); }
.awards-title { font: 2.6rem var(--script); color: var(--orange); margin-bottom: 24px; }
.shelf { list-style: none; padding: 0 0 20px; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; border-bottom: 10px solid var(--orange); }
.shelf li { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.18); border-radius: 14px; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--spring), border-color .3s; }
.shelf li:hover { transform: translateY(-8px); border-color: var(--orange); }
.motion .shelf li.reveal.in:hover { transform: translateY(-8px); }
.trophy { font-size: 1.8rem; transition: transform .4s var(--spring); }
.shelf li:hover .trophy { transform: rotate(-14deg) scale(1.2); }
.shelf b { font: 1.2rem/1.1 var(--display); }
.shelf span { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.3; }
.shelf small { font: 600 .75rem var(--mono); color: var(--orange); margin-top: auto; padding-top: 6px; }
@media (max-width: 1000px) { .shelf { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .shelf { grid-template-columns: repeat(2, 1fr); } }

/* watch */
.vid { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.vid:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 14px; }
.vid-img { position: relative; border-radius: 16px; overflow: hidden; display: block; border: 2px solid var(--black); background: var(--black); }
.vid-img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.vid:hover .vid-img img { transform: scale(1.07); opacity: .85; }
.play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; border-radius: 50%; background: var(--orange); border: 2px solid var(--black); transform: translate(-50%, -50%) scale(.9); transition: transform .35s var(--spring); }
.play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 16px solid var(--black); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vid:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.vid-t { font-weight: 700; line-height: 1.3; }
.vid-v { font: 600 .75rem var(--mono); color: var(--muted); margin-top: -4px; }
.feature { margin-bottom: 36px; }
.vid-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: var(--black); color: var(--white); border-radius: 24px; overflow: hidden; border: 3px solid var(--black); box-shadow: 12px 12px 0 var(--orange), 12px 12px 0 3px var(--black); }
.vid-feature .vid-img { border: 0; border-radius: 0; }
.vid-feature .play { width: 88px; height: 88px; }
.vid-feature .play::after { border-left-width: 24px; border-top-width: 15px; border-bottom-width: 15px; }
.feature-copy { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feature-copy small { font: 600 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.feature-copy .vid-t { font: clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--display); font-weight: 400; }
@media (max-width: 800px) { .vid-feature { grid-template-columns: 1fr; } }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 22px; overflow-x: auto; padding: 6px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .vid { scroll-snap-align: start; }
.rail-btns { display: flex; gap: 10px; justify-content: flex-end; }
.rail-btn { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); font-size: 1.2rem; cursor: pointer; transition: background .2s, transform .2s; }
.rail-btn:hover { background: var(--orange); transform: scale(1.08); }
.more-link a { font-weight: 700; color: var(--orange-d); }

/* kids */
.kids { background: var(--orange); }
.kids .kicker { color: var(--black); } .kids .kicker::before { background: var(--black); }
.kids .amp { color: var(--white); }
.kids-inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.kids h2 { font-size: clamp(3rem, 8vw, 6.4rem); margin-bottom: 24px; }
.kids-copy > p { font-size: 1.15rem; max-width: 620px; }
.kids-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.vid-kid .vid-t { font-size: .95rem; }
.kids-form { box-shadow: 10px 10px 0 var(--black); }
@media (max-width: 960px) { .kids-inner { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .kids-videos { grid-template-columns: 1fr; } }

/* forms */
form h3 { font-size: 1.7rem; margin-bottom: 8px; }
form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
form input, form select, form textarea { font: 500 1rem var(--body); padding: 12px 14px; border: 2px solid var(--black); border-radius: 12px; background: var(--cream); color: var(--black); width: 100%; transition: border-color .2s, box-shadow .2s; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--orange-d); box-shadow: 0 0 0 4px rgba(247,148,30,.3); }
form .btn { width: 100%; margin-top: 6px; }
.hint { font-size: .86rem; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }

/* foundations */
.work { background: var(--black); color: var(--white); overflow: hidden; }
.work .kicker { color: var(--orange); }
.work .section-lede { color: rgba(255,255,255,.72); }
.work::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(247,148,30,.18), transparent 65%); }
.orgs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.org { border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 28px 26px; background: rgba(255,255,255,.03); transition: border-color .3s, background .3s, transform .4s var(--ease); position: relative; overflow: hidden; }
.org::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.org:hover { border-color: rgba(247,148,30,.6); background: rgba(247,148,30,.06); }
.org:hover::after { transform: scaleX(1); }
.org-big { grid-column: span 2; background: var(--orange); color: var(--black); border-color: var(--orange); }
.org-big:hover { background: var(--orange); }
.org-big::after { background: var(--black); }
.org small { font: 600 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.org-big small { color: var(--black); }
.org h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 10px 0 8px; }
.org-big h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.org-role { font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.org-big .org-role { color: var(--black); }
.org p:last-of-type { opacity: .85; margin-bottom: 0; }
.org-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.org-links a { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.org-big .org-links a { background: var(--black); color: var(--white); border: 0; padding: 10px 16px; border-radius: 999px; transition: transform .25s var(--spring); }
.org-big .org-links a:hover { transform: translateY(-3px); }
.org-logo { position: absolute; right: 22px; top: 22px; width: 92px; opacity: .9; mix-blend-mode: multiply; }
.org-big h3, .org-big .org-role { padding-right: 100px; }
@media (max-width: 620px) { .org-logo { width: 64px; } .org-big h3 { padding-right: 70px; } .org-big .org-role { padding-right: 0; } }
@media (max-width: 1000px) { .orgs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .orgs { grid-template-columns: 1fr; } .org-big { grid-column: auto; } }

/* happiness till */
.maker-grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.goods { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.good { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border: 2px solid var(--black); border-radius: 14px; padding: 14px 16px; transition: background .25s, transform .25s var(--spring); }
.good.has { background: var(--orange-l); }
.good b { display: block; line-height: 1.2; }
.good small { font: 500 .78rem var(--mono); color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--black); background: var(--orange); font: 1.3rem var(--display); cursor: pointer; color: var(--black); transition: transform .2s var(--spring); }
.qty button:hover:not(:disabled) { transform: scale(1.12); }
.qty button:active:not(:disabled) { transform: scale(.9); }
.qty button:disabled { background: var(--cream); opacity: .45; cursor: default; }
.qty output { font: 600 1rem var(--mono); min-width: 22px; text-align: center; }
.till { position: sticky; top: 100px; }
.receipt-small { font-size: .85rem; box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.receipt-small .r-lines li { grid-template-columns: 40px 1fr auto; }
.r-empty { text-align: center; color: var(--muted); padding: 18px 0; border-bottom: 2px dashed var(--black); margin: 0; }
.receipt.printing { animation: printOut .9s steps(10) both; }
@keyframes printOut { from { clip-path: inset(0 0 100% 0); transform: translateY(-30px); } to { clip-path: inset(-20px 0 -20px 0); transform: none; } }
.receipt.printed { rotate: -1.5deg; }
.till-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.till-actions .btn { flex: 1; }
@media (max-width: 960px) { .maker-grid { grid-template-columns: 1fr; } .till { position: static; } }
@media (max-width: 560px) { .goods { grid-template-columns: 1fr; } }

/* book */
.book { background: var(--orange); }
.book .kicker { color: var(--black); } .book .kicker::before { background: var(--black); }
.book-inner { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.book h2 { font-size: clamp(3.4rem, 10vw, 8rem); margin-bottom: 22px; }
.book-copy > p { font-size: 1.2rem; max-width: 520px; }
.offers { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.offers li { font-weight: 700; font-size: 1.1rem; display: flex; gap: 12px; align-items: center; }
.offers li::before { content: "✓"; width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: var(--orange); display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; }
.call-lines { font-weight: 700; font-size: 1.1rem; }
@media (max-width: 960px) { .book-inner { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--black); color: var(--white); padding: 70px var(--pad) 34px; text-align: center; }
.foot-logo { width: min(80%, 520px); margin: 0 auto 18px; }
.foot-tag { font: 1.8rem var(--script); color: var(--orange); margin-bottom: 30px; }
.socials { list-style: none; padding: 0; margin: 0 auto 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.socials a { display: flex; gap: 10px; align-items: baseline; border: 2px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 20px; text-decoration: none; transition: border-color .2s, background .2s, transform .25s var(--spring); }
.socials a:hover { border-color: var(--orange); background: rgba(247,148,30,.12); transform: translateY(-4px); }
.socials span { font: 600 .8rem var(--mono); color: var(--orange); }
.small { font-size: .85rem; opacity: .65; margin: 0; }

/* player */
.player { position: fixed; inset: 0; background: rgba(17,17,17,.94); z-index: 160; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .3s; }
.player.open { opacity: 1; }
.player[hidden] { display: none; }
.player-frame { width: min(1100px, 100%); aspect-ratio: 16/9; border: 3px solid var(--orange); border-radius: 16px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .4s var(--spring); }
.player.open .player-frame { transform: none; }
.player-frame iframe { width: 100%; height: 100%; border: 0; }
.player-close { position: absolute; top: 14px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--white); background: var(--orange); color: var(--black); font-size: 1.8rem; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
}

/* ================= v3: wow sections ================= */

/* hero showreel */
.reel { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 2s ease; pointer-events: none; z-index: 0; }
.reel.on { opacity: .34; }
.reel iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(100vh, 56.25vw); transform: translate(-50%, -50%) scale(1.15); border: 0; filter: grayscale(1) contrast(1.2); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 18%, rgba(17,17,17,.4) 60%, rgba(247,148,30,.35)); }

/* crowd + HA HA HA */
.crowd { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-items: end; background: var(--black); color: var(--white); padding: clamp(80px, 12vw, 160px) var(--pad); }
.crowd-img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; filter: saturate(1.15) brightness(.55); will-change: transform; }
.crowd::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.2), rgba(17,17,17,.1) 40%, rgba(17,17,17,.92)); z-index: 1; }
.ha-rows { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; pointer-events: none; overflow: hidden; }
.ha-row { white-space: nowrap; font: clamp(5rem, 15vw, 15rem)/.86 var(--display); color: var(--orange); will-change: transform; opacity: .32; }
.ha-row span { display: inline-block; }
.ha-outline { color: transparent; -webkit-text-stroke: 2px var(--orange); opacity: .55; }
.crowd-copy { position: relative; z-index: 3; max-width: 760px; }
.crowd-copy h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; margin: 0 0 18px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.crowd-copy p { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 560px; }
.credit { font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }

/* wall of laughs */
.wall { background: var(--black); color: var(--white); padding: 0; position: relative; --wp: 0; }
.wall-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.wall-ha { position: absolute; top: 55%; left: 0; white-space: nowrap; font: clamp(10rem, 28vw, 26rem)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(247,148,30,.2); transform: translate(calc(var(--wp) * -45%), -50%); pointer-events: none; }
.wall-head { position: relative; z-index: 2; padding: 0 var(--pad); margin-bottom: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.wall-head .kicker { color: var(--orange); width: 100%; margin: 0 0 4px; }
.wall-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin: 0; }
.wall-hint { font: 1.8rem var(--script); color: var(--orange); margin: 0; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.wall-track { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding: 20px var(--pad) 40px; width: max-content; will-change: transform; }
.wi, .wall .wi.vid { all: unset; box-sizing: border-box; display: block; position: relative; flex: none; width: clamp(260px, 26vw, 400px); height: clamp(300px, 52vh, 480px); border-radius: 22px; overflow: hidden; background: var(--coal); margin: 0; transition: transform .5s var(--spring), box-shadow .4s; }
.wi:nth-child(3n+1) { transform: rotate(-1.6deg) translateY(-13px); }
.wi:nth-child(3n+2) { transform: rotate(1.2deg) translateY(14px); }
.wi:nth-child(3n) { transform: rotate(-.4deg) translateY(-4px); }
.wall .wi.vid { cursor: pointer; }
.wall .wi:hover { transform: rotate(0) translateY(-10px) scale(1.03); }
.wi:hover { transform: rotate(0) translateY(-10px) scale(1.03); box-shadow: 0 0 0 4px var(--orange), 0 30px 60px rgba(0,0,0,.5); z-index: 3; }
.wi:focus-visible { outline: 4px solid var(--orange); outline-offset: 4px; }
.wall .wi-tall { height: clamp(360px, 64vh, 580px); width: clamp(240px, 22vw, 360px); }
.wall .wi-wide { width: clamp(380px, 44vw, 680px); }
.wi-img { position: absolute; inset: 0; display: block; }
.wi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.wi:hover .wi-img img { transform: scale(1.08); filter: saturate(1.15); }
.wi .play { z-index: 2; }
.wi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; z-index: 2; }
.wi-cap b { font: 400 1.35rem/1.1 var(--display); }
.wi-cap small { font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-top: 4px; }
@media (max-width: 900px) {
  .wall { padding: 72px 0 40px; }
  .wall-sticky { position: static; height: auto; overflow: visible; }
  .wall-ha { display: none; }
  .wall-hint { font-size: 1.4rem; }
  .wall-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; }
  .wall-track::-webkit-scrollbar { display: none; }
  .wi, .wall .wi.vid, .wall .wi-tall { scroll-snap-align: center; width: 78vw; height: 104vw; max-height: 520px; }
  .wall .wi-wide { width: 88vw; height: 64vw; }
}

/* Pablo TV */
.watch { background: var(--cream); overflow: hidden; }
.tv-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.tv { position: relative; padding-top: 86px; }
.tv-antenna { position: absolute; top: 0; left: 50%; width: 0; height: 90px; }
.tv-antenna span { position: absolute; bottom: 0; left: 0; width: 4px; height: 96px; background: var(--black); border-radius: 4px; transform-origin: bottom center; }
.tv-antenna span:first-child { transform: rotate(-32deg); animation: antL 4s ease-in-out infinite; }
.tv-antenna span:last-child { transform: rotate(28deg); animation: antR 4s ease-in-out infinite; }
.tv-antenna span::after { content: ""; position: absolute; top: -8px; left: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2px solid var(--black); }
@keyframes antL { 50% { transform: rotate(-24deg); } }
@keyframes antR { 50% { transform: rotate(36deg); } }
.tv-antenna::after { content: ""; position: absolute; bottom: -4px; left: -26px; width: 56px; height: 22px; border-radius: 30px 30px 0 0; background: var(--black); }
.tv-body { position: relative; background-color: var(--orange); background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 8px); border: 4px solid var(--black); border-radius: 34px; padding: clamp(16px, 2vw, 26px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 11vw, 140px); gap: clamp(14px, 2vw, 24px); box-shadow: 14px 14px 0 var(--black); }
.tv-screen { position: relative; aspect-ratio: 4/3; border-radius: 30px / 26px; overflow: hidden; background: #000; border: 4px solid var(--black); }
.tv-screen > img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(1.1); }
.tv-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 80px rgba(0,0,0,.7); pointer-events: none; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.14), transparent 45%); z-index: 4; }
#tvStatic { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; image-rendering: pixelated; z-index: 3; }
.tv-screen.fuzz #tvStatic { opacity: 1; }
.tv-screen.fuzz > img { opacity: 0; }
.tv-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 2px, transparent 2px 4px); pointer-events: none; z-index: 2; animation: roll 7s linear infinite; }
@keyframes roll { to { background-position: 0 100px; } }
.tv-osd { position: absolute; top: 16px; left: 22px; margin: 0; font: 600 clamp(.85rem, 1.4vw, 1.15rem) var(--mono); color: #7dff8a; text-shadow: 0 0 8px rgba(125,255,138,.8); z-index: 5; letter-spacing: .06em; }
.osd-flash .tv-osd { animation: osd 1.2s steps(2) 1; }
@keyframes osd { 0%, 60% { opacity: 1; } 30%, 90% { opacity: .15; } }
.tv-play { position: absolute; left: 50%; top: 46%; width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--black); background: var(--orange); cursor: pointer; transform: translate(-50%, -50%); z-index: 5; transition: transform .35s var(--spring); animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(247,148,30,.6); } 100% { box-shadow: 0 0 0 28px rgba(247,148,30,0); } }
.tv-play span { position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); width: 0; height: 0; border-left: 26px solid var(--black); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.tv-play:hover { transform: translate(-50%, -50%) scale(1.1); }
.tv-title { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 50px 22px 18px; background: linear-gradient(transparent, rgba(0,0,0,.9)); color: var(--white); font: 400 clamp(1.05rem, 1.8vw, 1.5rem)/1.15 var(--display); z-index: 5; }
.tv-title small { display: block; font: 600 .7rem var(--mono); color: var(--orange); margin-top: 6px; letter-spacing: .1em; }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 6; }
.tv-screen.on-air .tv-play, .tv-screen.on-air .tv-title, .tv-screen.on-air .tv-osd { display: none; }
.tv-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.knob { --k: 0deg; width: clamp(72px, 8vw, 100px); height: clamp(72px, 8vw, 100px); flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a4a4a, #111 70%); border: 3px solid var(--black); cursor: pointer; position: relative; transform: rotate(var(--k)); transition: transform .6s var(--spring); box-shadow: 0 6px 0 rgba(0,0,0,.35); padding: 0; }
.knob span { position: absolute; top: 8px; left: 50%; width: 6px; height: 26%; background: var(--orange); border-radius: 3px; transform: translateX(-50%); }
.knob:hover { filter: brightness(1.3); }
.knob:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }
.tv-btns { display: grid; gap: 8px; width: 100%; }
.tv-btns button { font: 600 .75rem var(--mono); letter-spacing: .06em; background: var(--black); color: var(--white); border: 0; border-radius: 10px; padding: 10px 6px; cursor: pointer; transition: transform .15s, background .2s, color .2s; box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.tv-btns button:hover { background: var(--coal); color: var(--orange); }
.tv-btns button:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
#tvRandom { font-size: 1.3rem; padding: 6px; }
.grille { flex: 1; width: 100%; min-height: 60px; border-radius: 12px; background: radial-gradient(circle, var(--black) 2.2px, transparent 2.6px) 0 0/10px 10px; opacity: .7; }
.tv-feet { display: flex; justify-content: space-between; padding: 0 16%; }
.tv-feet span { width: 50px; height: 22px; background: var(--black); border-radius: 0 0 12px 12px; }
.guide { background: var(--black); color: var(--white); border-radius: 26px; padding: 18px; max-height: clamp(460px, 70vh, 660px); display: flex; flex-direction: column; margin-top: 86px; }
.guide-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.guide-tabs button { font: 700 .82rem var(--body); background: rgba(255,255,255,.08); color: var(--white); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .2s, color .2s; }
.guide-tabs button i { font: 600 .7rem var(--mono); font-style: normal; opacity: .6; margin-right: 2px; }
.guide-tabs button[aria-selected="true"] { background: var(--orange); color: var(--black); }
.guide-tabs button:hover:not([aria-selected="true"]) { background: rgba(247,148,30,.25); }
.guide-list { list-style: none; margin: 12px 0 0; padding: 0 4px 0 0; overflow-y: auto; display: grid; gap: 4px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.guide-list button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.guide-list button:hover { background: rgba(255,255,255,.07); }
.guide-list button.on { background: rgba(247,148,30,.18); box-shadow: inset 3px 0 0 var(--orange); }
.guide-list button:focus-visible { outline: 2px solid var(--orange); }
.guide-list img { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; display: block; }
.guide-list b { display: block; font-size: .92rem; line-height: 1.3; font-weight: 700; }
.guide-list small { font: 600 .7rem var(--mono); color: var(--orange); }
@media (max-width: 1000px) { .tv-wrap { grid-template-columns: minmax(0, 1fr); } .guide { max-height: 520px; margin-top: 0; } }
@media (max-width: 560px) {
  .tv { padding-top: 70px; }
  .tv-body { grid-template-columns: minmax(0, 1fr); border-radius: 26px; box-shadow: 8px 8px 0 var(--black); }
  .tv-screen { border-radius: 20px; }
  .tv-panel { flex-direction: row; align-items: center; }
  .tv-btns { grid-template-columns: repeat(4, 1fr); flex: 1; }
  .knob { width: 52px; height: 52px; }
  .grille { display: none; }
  .tv-play { width: 68px; height: 68px; }
  .tv-play span { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; }
  .tv-title { padding: 36px 14px 12px; }
  .guide-list button { grid-template-columns: 96px minmax(0, 1fr); }
  .guide-list img { width: 96px; }
}

/* custom cursor */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange); pointer-events: none; z-index: 300; opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s, background .25s; }
.cursor.live { opacity: 1; }
.cursor.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(247,148,30,.35); border: 2px solid var(--orange); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }
main { overflow-x: clip; }
