/* ───────────── charles & charlotte ───────────── */
@font-face {
  font-family: "CharlesGaramond";
  src: url("assets/fonts/CharlesAndGaramond.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Vinila";
  src: url("assets/fonts/Vinila-Regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --paper: #f7f8f4;
  --ink: #212020;
  --ink-2: #333;
  --tv-wall: #dadbe2;
  --blue: linear-gradient(#0055ef, #5389e8);
  --blue-solid: #0055ef;
  --red: linear-gradient(#ff94a0, #ff0c29);
  --red-solid: #ff0c29;
  --yellow: #f7e17b;
  --brown: #3b1f1a;
  --serif: "CharlesGaramond", "EB Garamond", Garamond, serif;
  --sans: "Vinila", "Helvetica Neue", Arial, sans-serif;
  --mono: "VT323", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7.7vw, 118px);
  line-height: .92;
  letter-spacing: -.025em;
  color: var(--ink-2);
  margin: 0;
}
.display--light { color: #fff; }
.sub { margin: 14px 0 0; font-size: 16px; color: var(--ink); }
.sub--light { color: #fff; }

.pill {
  display: inline-block;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  padding: 11px 20px 7px;
  border: 1px solid #000;
  border-radius: 20px;
  box-shadow: 1px 3px 0 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.pill:hover  { transform: translateY(-1px); box-shadow: 1px 4px 0 0 var(--ink); }
.pill:active { transform: translateY(2px);  box-shadow: 0 1px 0 0 var(--ink); }
.pill--blue   { background: var(--blue); }
.pill--red    { background: var(--red); }
.pill--white  { background: #fff; }
.pill--yellow { background: linear-gradient(#fff3b0, #f5d547); }

.menu {
  position: fixed; top: 44px; right: 5vw; z-index: 50;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.menu img { width: 40px; }

/* ───────────── hero ───────────── */
.hero {
  min-height: 100vh;
  padding: 90px 5.5vw 60px;
  display: grid;
  justify-items: center;
  align-content: start;
  position: relative;
}
.hero .display { justify-self: start; max-width: 100%; font-size: clamp(56px, 8.5vw, 132px); position: relative; z-index: 0; }
.hero__anim { width: min(650px, 90vw); margin-top: -6vw; position: relative; z-index: 1; mix-blend-mode: multiply; }
.hero__badge { position: absolute; top: 80px; right: 12vw; width: clamp(110px, 16vw, 229px); animation: spin 22s linear infinite; }
.hero .pill { margin-top: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────────── marquee ───────────── */
.marquee { background: var(--blue-solid); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marq 38s linear infinite; }
.marquee__track img { height: 48px; width: auto; object-fit: contain; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ═════════════ THE TV SECTION ═════════════ */
.tvsec {
  background: var(--tv-wall);
  padding: 120px 5.5vw 110px;
  position: relative;
  overflow: hidden;
}
/* soft light spill on the wall behind the set */
.tvsec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 58%, var(--glow, rgba(255,255,255,0)) 0%, transparent 70%);
  transition: background .6s;
}
.display--tv { font-size: clamp(48px, 7.7vw, 111px); position: relative; }

.room {
  --tvw: min(860px, 74vw);
  position: relative;
  max-width: 1240px;
  margin: 70px auto 0;
  display: flex;
  justify-content: center;
  padding-bottom: 110px;
}

/* stage + 3D cabinet */
.tv-stage { position: relative; width: var(--tvw); perspective: 1500px; perspective-origin: 50% -30%; }
.tv {
  --w: var(--tvw);
  --h: calc(var(--tvw) * 0.544);
  --d: calc(var(--tvw) * 0.38);
  --rx: 0deg; --ry: 0deg;
  position: relative;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.tv.is-bump { animation: bump .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump {
  30% { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-3px) rotateZ(-.4deg); }
  60% { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(1px)  rotateZ(.2deg); }
}

.tv__face { position: absolute; backface-visibility: visible; }
.tv__face--top, .tv__face--bottom {
  left: 0; width: var(--w); height: var(--d);
  transform-origin: top center; transform: rotateX(-90deg);
}
.tv__face--top    { top: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 3px, transparent 3px 7px) 50% 70% / 38% 22% no-repeat,
    linear-gradient(#2b2b2e, #3b3b3f 60%, #232326);
}
.tv__face--bottom { top: var(--h); background: #121214; }
.tv__face--left, .tv__face--right {
  top: 0; width: var(--d); height: var(--h);
  transform-origin: left center; transform: rotateY(90deg);
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 3px, transparent 3px 8px) 70% 40% / 30% 40% no-repeat,
    linear-gradient(90deg, #333337, #242427 70%, #1b1b1d);
}
.tv__face--left  { left: 0; }
.tv__face--right { left: var(--w); }
.tv__face--back  {
  inset: 0; width: var(--w); height: var(--h);
  transform: translateZ(calc(var(--d) * -1));
  background: #19191b;
}

.tv__front { position: absolute; inset: 0; transform: translateZ(.5px); }
.tv__body {
  width: 100%; height: 100%;
  user-select: none; -webkit-user-drag: none;
  border-radius: 3px;
}
.tv-shadow {
  position: absolute; left: 4%; right: 4%; bottom: -34px; height: 50px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.35), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

/* ───── screen ───── */
.screen {
  position: absolute;
  left: 6.6%; top: 8.6%; width: 86.8%; height: 70.6%;
  border-radius: 3.2% / 6.4%;
  overflow: hidden;
  background: #050506;
  cursor: pointer;
}
.screen__tube {
  position: absolute; inset: 0;
  transform-origin: 50% 50%;
  filter: saturate(1.08) contrast(1.05);
}
.screen__noise {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .12s;
  image-rendering: pixelated;
}
.screen.has-static .screen__noise { opacity: 1; }
.screen.is-ttx .osd--ch { display: none; }
.screen__channels { position: absolute; inset: 0; }

.screen__scan, .screen__glass, .screen__line, .screen__dot { position: absolute; inset: 0; pointer-events: none; }
.screen__scan {
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  animation: roll 7s linear infinite;
}
@keyframes roll { to { background-position: 0 300px; } }
.screen__glass {
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,.14), transparent 45%),
    radial-gradient(140% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.75) 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,.9), inset 0 0 6px rgba(0,0,0,1);
  border-radius: inherit;
}
.screen__line { background: linear-gradient(transparent 49.6%, #fff 49.6% 50.4%, transparent 50.4%); opacity: 0; }
.screen__dot  { background: radial-gradient(circle at 50% 50%, #fff 0, rgba(220,235,255,.8) .6%, transparent 1.6%); opacity: 0; }

/* power states */
.screen.is-off .screen__tube { opacity: 0; }
.screen.is-off .screen__scan { opacity: .2; }
.screen.powering-off .screen__tube { animation: crt-off .55s cubic-bezier(.6,0,.9,.4) forwards; }
.screen.powering-off .screen__line { animation: line-off .55s forwards; }
.screen.powering-off .screen__dot  { animation: dot-off 1.6s .4s forwards; }
.screen.powering-on  .screen__tube { animation: crt-on .7s cubic-bezier(.2,.7,.2,1) forwards; }
.screen.powering-on  .screen__line { animation: line-on .7s forwards; }
@keyframes crt-off {
  0%   { transform: scale(1,1);      filter: brightness(1); opacity: 1; }
  55%  { transform: scale(1,.006);   filter: brightness(4); opacity: 1; }
  100% { transform: scale(0,.006);   filter: brightness(8); opacity: 0; }
}
@keyframes line-off { 0%,45% { opacity: 0; } 55% { opacity: 1; transform: scaleX(1); } 100% { opacity: 1; transform: scaleX(0); } }
@keyframes dot-off  { 0% { opacity: 1; transform: scale(1.4); } 100% { opacity: 0; transform: scale(.4); } }
@keyframes crt-on {
  0%   { transform: scale(0,.006); filter: brightness(8); opacity: 0; }
  25%  { transform: scale(1,.008); filter: brightness(5); opacity: 1; }
  60%  { transform: scale(1,1.04); filter: brightness(1.8); }
  100% { transform: scale(1,1);    filter: brightness(1); opacity: 1; }
}
@keyframes line-on { 0% { opacity: 1; transform: scaleX(0); } 25% { opacity: 1; transform: scaleX(1); } 45%,100% { opacity: 0; } }

/* channel switch jolt */
.screen.is-switching .screen__channels { animation: jolt .32s steps(6) ; }
@keyframes jolt {
  0%   { transform: translateY(0)    skewX(0);    filter: none; }
  20%  { transform: translateY(-12%) skewX(4deg); filter: hue-rotate(40deg) brightness(1.6); }
  40%  { transform: translateY(8%)   skewX(-3deg); }
  60%  { transform: translateY(-3%)  skewX(1deg); filter: brightness(1.2); }
  100% { transform: none; filter: none; }
}

/* OSD */
.osd {
  position: absolute;
  font-family: var(--mono);
  color: #4dff7a;
  text-shadow: 0 0 6px rgba(77,255,122,.8), 2px 2px 0 rgba(0,0,0,.6);
  letter-spacing: .04em;
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
  z-index: 5;
}
.osd.is-on { opacity: 1; }
.osd--ch   { top: 7%; right: 6%; font-size: calc(var(--tvw) * .062); line-height: 1; text-align: right; }
.osd--ch small { display: block; font-size: .42em; margin-top: .2em; }
.osd--vol  { left: 8%; right: 8%; bottom: 9%; display: flex; align-items: center; gap: 3%; font-size: calc(var(--tvw) * .032); }
.osd__bar  { flex: 1; height: 1em; display: flex; gap: 2px; }
.osd__bar i { flex: 1; background: currentColor; box-shadow: 0 0 6px rgba(77,255,122,.8); opacity: .18; }
.osd__bar i.on { opacity: 1; }
.osd--mute { top: 7%; left: 6%; font-size: calc(var(--tvw) * .04); }

/* ───── channels ───── */
.ch {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center; flex-direction: column;
  text-align: center;
  color: #fff;
}
.ch.is-live { display: flex; }

.ch--fcktv { background: transparent; }
.ch--fcktv h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: calc(var(--tvw) * .15); line-height: .82; margin: 0;
  color: #f4f4f7;
  text-shadow: 3px 0 0 rgba(255,0,60,.55), -3px 0 0 rgba(0,160,255,.55), 0 0 18px rgba(255,255,255,.4);
  animation: wobble 2.4s steps(2) infinite;
}
.ch--fcktv .pill { margin-top: 4%; font-size: calc(var(--tvw) * .026); padding: .45em .8em .3em; }
@keyframes wobble {
  0%,86%,100% { transform: none; clip-path: none; }
  88% { transform: translateX(6px) skewX(-8deg); clip-path: inset(10% 0 45% 0); }
  92% { transform: translateX(-4px); clip-path: inset(50% 0 5% 0); }
}

.ch--work { background: var(--bg, #0055ef); }
.ch--work .work-gif { height: 62%; width: auto; image-rendering: auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,.35)); }
.ch--work .lower {
  position: absolute; left: 6%; bottom: 8%; right: 6%;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.35);
}
.ch--work .lower b { font-family: var(--serif); font-weight: 400; font-size: calc(var(--tvw) * .058); line-height: 1; }
.ch--work .lower span { font-size: calc(var(--tvw) * .026); }
.ch--work .live {
  position: absolute; top: 8%; left: 6%;
  font-family: var(--mono); font-size: calc(var(--tvw) * .026);
  background: var(--red-solid); color: #fff; padding: 0 .4em;
}

/* teletext */
.ch--ttx {
  background: #000; color: #fff;
  font-family: var(--mono); font-size: calc(var(--tvw) * .024); line-height: 1.05;
  align-items: stretch; justify-content: flex-start; text-align: left;
  padding: 3.5% 6%;
}
.ttx-head { display: flex; justify-content: space-between; color: #fff; }
.ttx-head .y { color: #ffe600; }
.ttx-banner { background: var(--blue-solid); color: #fff; margin: 1.5% 0; padding: .6% 2%; font-size: 1.7em; line-height: 1; }
.ttx-banner em { color: #ffe600; font-style: normal; }
.ttx-row { display: flex; justify-content: space-between; }
.ttx-row .c { color: #00e5ff; }
.ttx-row .g { color: #3cff5a; }
.ttx-row .m { color: #ff4fd8; }
.ttx-row .y { color: #ffe600; }
.ttx-foot { margin-top: auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2%; }
.ttx-foot span { padding: 0 .3em; color: #000; }

/* numbers */
.ch--nps { background: var(--blue-solid); flex-direction: row; gap: 5%; }
.ch--nps .card { font-family: var(--serif); }
.ch--nps .card b { display: block; font-weight: 400; font-size: calc(var(--tvw) * .12); line-height: 1; }
.ch--nps .card b small { font-size: .3em; opacity: .7; }
.ch--nps .card span { font-family: var(--sans); font-size: calc(var(--tvw) * .02); }
.ch--nps .title { position: absolute; top: 9%; left: 0; right: 0; font-family: var(--serif); font-size: calc(var(--tvw) * .05); }

.ch--call { background: var(--brown); }
.ch--call h3 { font-family: var(--serif); font-weight: 400; font-size: calc(var(--tvw) * .09); line-height: .9; margin: 0 0 4%; }
.ch--call .pill { font-size: calc(var(--tvw) * .026); padding: .45em .8em .3em; }
.ch--call p { font-size: calc(var(--tvw) * .02); margin: 4% 0 0; opacity: .85; }

.ch--test {
  background: linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0);
}
.ch--test span { font-family: var(--mono); font-size: calc(var(--tvw) * .05); background: #000; color: #fff; padding: 0 .5em; }

/* ───── front panel ───── */
.panel-display {
  position: absolute; left: 82.9%; top: 92.2%; width: 7.2%; height: 5%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: calc(var(--tvw) * .03); line-height: 1;
  color: #ff2a3a; text-shadow: 0 0 6px #ff2a3a, 0 0 14px rgba(255,40,60,.6);
  pointer-events: none;
  transition: opacity .2s;
}
.panel-display.is-standby { color: #6a0d14; text-shadow: none; }
.ir-eye {
  position: absolute; left: 91.2%; top: 93.3%; width: .6%; aspect-ratio: 1; border-radius: 50%;
  background: #300; transition: background .05s, box-shadow .05s;
}
.ir-eye.is-rx { background: #ff4a4a; box-shadow: 0 0 8px 2px rgba(255,60,60,.8); }

.hot {
  position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: 4px;
}
.hot:focus-visible { outline: 2px solid #4dff7a; }
.hot:active, .hot.is-pressed { background: rgba(0,0,0,.35); box-shadow: inset 0 2px 3px rgba(0,0,0,.6); }
.hot--chup  { left: 75.5%; top: 91.8%; width: 3.2%; height: 2.9%; }
.hot--chdn  { left: 75.5%; top: 94.7%; width: 3.2%; height: 2.9%; }
.hot--power { left: 93.4%; top: 91.6%; width: 3.6%; height: 6.2%; border-radius: 6px; }

/* ═════════════ REMOTE ═════════════ */
.remote-dock {
  position: absolute;
  right: max(0px, calc(50% - var(--tvw) / 2 - 200px));
  bottom: -14px;
  width: 150px;
  z-index: 10;
  --rz: -16deg;
  --lift: 0;
  touch-action: none;
}
.remote-wiggle { transform-origin: 50% 70%; }
.remote {
  --body: #25252a;
  position: relative;
  width: 150px;
  padding: 30px 17px 26px;
  border-radius: 74px 74px 56px 56px / 44px 44px 36px 36px;
  background:
    /* soft-touch grain */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    /* top sheen */
    radial-gradient(90% 26% at 50% 0%, rgba(255,255,255,.16), transparent 70%),
    /* rounded sides */
    linear-gradient(90deg, #0b0b0d 0%, #2d2d33 9%, #34343a 22%, var(--body) 50%, #202025 80%, #111114 93%, #060607 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.14),
    inset 0 -4px 6px rgba(0,0,0,.55),
    0 0 0 1px #070708;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rz)) scale(calc(1 + var(--lift) * .05)) rotateX(calc(var(--lift) * 10deg));
  transform-origin: 50% 60%;
  transition: transform .45s cubic-bezier(.2,1.4,.4,1);
  cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.remote-dock.is-dragging .remote { transition: none; cursor: grabbing; }
.remote-shadow {
  position: absolute; left: 6%; right: 6%; top: 4%; bottom: 0;
  border-radius: 60px;
  background: rgba(0,0,0,.45);
  filter: blur(calc(8px + var(--lift) * 18px));
  transform: translate(calc(var(--tx, 0px) + 8px + var(--lift) * 26px), calc(var(--ty, 0px) + 10px + var(--lift) * 34px)) rotate(var(--rz)) scale(calc(1 - var(--lift) * .06));
  opacity: calc(.75 - var(--lift) * .35);
  z-index: -1;
  transition: transform .45s cubic-bezier(.2,1.4,.4,1), filter .3s, opacity .3s;
  pointer-events: none;
}
.remote-dock.is-dragging .remote-shadow { transition: filter .3s, opacity .3s; }

/* IR window — glossy smoked dome */
.remote__ir {
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 18px; border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%;
  background:
    radial-gradient(60% 50% at 40% 25%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(#5a0f1a, #1c0408 70%);
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.06);
  display: grid; place-items: center;
}
.remote__led { width: 7px; height: 7px; border-radius: 50%; background: #5c0d18; transition: background .04s, box-shadow .04s; }
.remote__led.is-tx { background: #ff6a7c; box-shadow: 0 0 10px 4px rgba(255,70,100,.85), 0 0 34px 12px rgba(255,70,100,.3); }

.remote__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 0 2px; }
.remote__status {
  width: 5px; height: 5px; border-radius: 50%;
  background: #22b573; box-shadow: 0 0 6px #22b573;
  opacity: .9;
}

/* recessed number plate */
.remote__plate {
  padding: 10px 8px;
  border-radius: 18px;
  background: linear-gradient(#18181b, #1e1e22);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.75), inset 0 -1px 0 rgba(255,255,255,.05), 0 1px 0 rgba(255,255,255,.05);
}
.remote__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 7px; justify-items: center; }

/* buttons */
.rb {
  --face: #46464d;
  position: relative;
  appearance: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--sans); color: #ececf0;
  background:
    linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,0) 45%, rgba(0,0,0,.18)),
    var(--face);
  box-shadow:
    0 3px 0 color-mix(in srgb, var(--face) 35%, #000),
    0 4px 7px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 1px rgba(0,0,0,.25);
  transform: translateY(0);
  transition: transform .06s, box-shadow .06s, filter .06s;
  -webkit-tap-highlight-color: transparent;
}
.rb:hover { filter: brightness(1.12); }
.rb:active, .rb.is-pressed {
  transform: translateY(2.5px);
  box-shadow:
    0 .5px 0 color-mix(in srgb, var(--face) 35%, #000),
    0 1px 2px rgba(0,0,0,.6),
    inset 0 1px 3px rgba(0,0,0,.4);
}
.rb:focus-visible { outline: 2px solid #4dff7a; outline-offset: 2px; }
.rb svg { width: 55%; height: 55%; display: block; margin: auto; }

.rb--num   { width: 32px; height: 24px; border-radius: 12px; font-size: 12.5px; letter-spacing: .02em; }
.rb--txt   { font-size: 7.5px; letter-spacing: .1em; --face: #34343a; color: #b8b8c0; }
.rb--power {
  --face: #e5283b; width: 34px; height: 34px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 38% 30%, #ff8a96 0, #ff3a4d 30%, #c8182a 75%, #9a0f1e);
}
.rb--small { width: 34px; height: 22px; border-radius: 11px; --face: #34343a; color: #c9c9d0; }
.rb--small svg { width: 60%; height: 70%; }

/* d-pad with brushed-metal ring */
.dpad {
  position: relative; width: 112px; height: 112px; margin: 18px auto 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 52%, rgba(0,0,0,.25) 53%, transparent 56%),
    conic-gradient(from 0deg, #cfd0d6, #8d8e96, #e9eaef, #9a9ba3, #d7d8de, #85868e, #e3e4ea, #9fa0a8, #cfd0d6);
  box-shadow:
    0 3px 0 #4a4b52, 0 5px 9px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 3px rgba(0,0,0,.3);
  transition: transform .08s;
}
.dpad:has(.dpad__btn--up:active,    .dpad__btn--up.is-pressed)    { transform: perspective(240px) rotateX(9deg); }
.dpad:has(.dpad__btn--down:active,  .dpad__btn--down.is-pressed)  { transform: perspective(240px) rotateX(-9deg); }
.dpad:has(.dpad__btn--left:active,  .dpad__btn--left.is-pressed)  { transform: perspective(240px) rotateY(-9deg); }
.dpad:has(.dpad__btn--right:active, .dpad__btn--right.is-pressed) { transform: perspective(240px) rotateY(9deg); }
.dpad__btn {
  position: absolute; width: 38px; height: 34px;
  background: transparent !important; box-shadow: none !important;
  color: #2a2a30; font-size: 11px; font-weight: 700;
  border-radius: 10px;
}
.dpad__btn i { font-style: normal; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.dpad__btn:active, .dpad__btn.is-pressed { transform: none; color: #0055ef; }
.dpad__btn--up    { top: 2px;    left: 37px; }
.dpad__btn--down  { bottom: 2px; left: 37px; }
.dpad__btn--left  { left: 1px;  top: 39px; width: 34px; font-size: 16px; }
.dpad__btn--right { right: 1px; top: 39px; width: 34px; font-size: 15px; }
.dpad__ok {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; --face: #1f1f24; font-size: 11px; letter-spacing: .08em; color: #d9d9df;
  background: radial-gradient(circle at 40% 30%, #4a4a52, #1f1f24 65%);
}
.dpad__lbl { position: absolute; font-size: 6.5px; letter-spacing: .14em; color: #55565e; pointer-events: none; }
.dpad__lbl--ch  { top: 26px; left: 50%; transform: translateX(-50%); }
.dpad__lbl--vol { bottom: 25px; left: 50%; transform: translateX(-50%); }

.remote__fast { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.rb--fast { width: 22px; height: 11px; border-radius: 6px; }

.remote__brand {
  margin-top: 18px; text-align: center;
  font-family: var(--serif); font-size: 16px; line-height: .92; color: #9d9da6;
  text-shadow: 0 -1px 0 rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.06);
}
.remote__brand em { font-style: italic; color: #c6c6cd; }
.remote__grip {
  margin: 12px auto 0; width: 54px; height: 16px;
  background: radial-gradient(circle, #0b0b0d 1.1px, transparent 1.6px) 0 0 / 6px 6px;
  opacity: .9;
}

/* ═════════════ "this remote works" hint ═════════════ */
.remote-callout {
  position: absolute; right: 58%; top: calc(100% - 6px);
  display: flex; align-items: flex-start; gap: 0;
  color: var(--ink-2); pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.remote-callout span {
  font-family: var(--serif); font-style: italic; font-size: 26px; line-height: .95;
  white-space: nowrap; transform: rotate(-7deg); display: block;
}
.remote-callout span { order: -1; margin-top: 30px; }
.remote-callout svg { width: 92px; height: 54px; margin: -8px 0 0 -2px; }
.remote-dock:not(.is-hinting) .remote-callout { opacity: 0; transform: translateY(8px); }

.is-hinting .remote__led { animation: led-blink 2.4s infinite; }
@keyframes led-blink {
  0%, 12%, 24%, 100% { background: #5c0d18; box-shadow: none; }
  6%, 18%            { background: #ff6a7c; box-shadow: 0 0 10px 4px rgba(255,70,100,.85), 0 0 34px 12px rgba(255,70,100,.3); }
}
.is-hinting .rb--power::after, .is-hinting .dpad::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255,70,95,.85);
  animation: ripple 1.8s cubic-bezier(.2,.6,.3,1) infinite;
  pointer-events: none;
}
.is-hinting .dpad::after { border-color: rgba(0,85,239,.8); inset: -3px; animation-delay: .9s; }
@keyframes ripple {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
.is-hinting .remote-wiggle { animation: nudge 4.2s ease-in-out infinite; }
@keyframes nudge {
  0%, 16%, 100% { transform: none; }
  3%  { transform: translateY(-6px) rotate(-3deg); }
  6%  { transform: translateY(-2px) rotate(2.5deg); }
  9%  { transform: translateY(-4px) rotate(-1.5deg); }
  12% { transform: translateY(0) rotate(.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .is-hinting .remote-wiggle { animation: none; }
}

/* games */
.ch--game { background: #07070c; }
.screen.is-game .osd--ch small { display: none; }
.ch--game canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.screen.is-game { cursor: crosshair; touch-action: none; }
.rb--game { color: #d6d6dc; }
.rb--game svg { width: 62%; height: 80%; }

/* ghost thumb that presses POWER on first scroll-in */
.ghost-tap {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; pointer-events: none; z-index: 3;
  background: radial-gradient(circle at 45% 40%, rgba(255,255,255,.75), rgba(255,255,255,.25) 55%, rgba(255,255,255,0) 72%);
  animation: ghost-tap 1.25s cubic-bezier(.3,.7,.3,1) forwards;
}
.ghost-tap::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9); opacity: 0;
  animation: ghost-ring 1.25s ease-out forwards;
}
@keyframes ghost-tap {
  0%   { transform: scale(1.9) translate(10px, 14px); opacity: 0; }
  35%  { transform: scale(1.05); opacity: 1; }
  45%  { transform: scale(.78); opacity: 1; }
  60%  { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.1) translate(6px, 10px); opacity: 0; }
}
@keyframes ghost-ring {
  0%, 42% { opacity: 0; transform: scale(.8); }
  48%     { opacity: 1; transform: scale(1); }
  100%    { opacity: 0; transform: scale(2.2); }
}

/* ir beam */
.ir-beam {
  position: fixed; height: 2px; transform-origin: 0 50%; pointer-events: none; z-index: 40;
  background: linear-gradient(90deg, rgba(255,70,100,.55), rgba(255,70,100,0));
  filter: blur(1.5px);
  animation: beam .28s ease-out forwards;
}
@keyframes beam { from { opacity: 1; } to { opacity: 0; } }

.tv-hint {
  margin: 36px auto 0; max-width: 820px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  font-size: 13px; color: #6a6b73;
}
kbd {
  display: inline-block; min-width: 22px; padding: 2px 5px; margin-right: 3px;
  font-family: var(--sans); font-size: 11px; text-align: center; color: var(--ink-2);
  background: #fff; border: 1px solid #b5b6bf; border-radius: 5px; box-shadow: 0 2px 0 #b5b6bf;
}

/* ───────────── buzz / services / work / footer ───────────── */
.buzz { background: var(--red-solid); padding: 110px 5.5vw; text-align: center; }
.buzz .display, .buzz .sub { text-align: left; }
.buzz__quote {
  margin: 60px auto 40px; max-width: 620px; background: #f4f1ea; color: #111;
  padding: 40px 36px; font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: 1; text-align: left;
  transform: rotate(-2deg); box-shadow: 0 30px 50px rgba(0,0,0,.25);
}
.buzz__paper { display: block; font-family: var(--sans); font-size: 22px; color: #1d4fa0; letter-spacing: .08em; margin-bottom: 18px; }

.services { padding: 120px 5.5vw; }
.folder { margin-top: 50px; max-width: 1100px; }
.folder__tabs { display: flex; gap: 6px; }
.folder__tab { padding: 12px 26px; border-radius: 14px 14px 0 0; color: #fff; font-size: 14px; }
.folder__tab--blue  { background: var(--blue-solid); }
.folder__tab--green { background: #22b573; }
.folder__tab--red   { background: var(--red-solid); }
.folder__body { background: var(--blue-solid); color: #fff; border-radius: 0 20px 20px 20px; padding: 40px 12%; }
.folder__body h3 { font-weight: 400; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; margin: 0 0 14px; }
.folder__body ul { margin: 0; padding-left: 18px; line-height: 1.75; }

.work { padding: 40px 5.5vw 140px; }
.work__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 60px 30px; }
.work__item { display: grid; justify-items: center; gap: 14px; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
.work__item img { height: 170px; width: auto; object-fit: contain; transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.work__item:hover img { transform: translateY(-8px) rotate(-3deg); }
.work__item span { background: var(--ink); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 4px; }

.footer { background: var(--brown); color: #fff; padding: 120px 5.5vw 60px; }
.footer .pill { margin-top: 30px; }
.footer__cols { margin-top: 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; font-size: 14px; line-height: 1.7; }
.footer__cols a { display: block; text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; }

/* ───────────── responsive ───────────── */
@media (max-width: 900px) {
  .room { --tvw: 90vw; flex-direction: column; align-items: center; padding-bottom: 0; margin-top: 44px; }
  .remote-dock { position: relative; right: auto; bottom: auto; margin-top: 40px; --rz: -8deg; zoom: .82; }
  .tv-hint { gap: 6px 14px; }
  .remote-callout { right: 50%; }
  .remote-callout span { font-size: 22px; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__badge { right: 4vw; top: 140px; }
}
@media (max-width: 480px) {
  .tvsec { padding: 90px 16px 80px; }
  .menu { top: 22px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .screen__scan, .marquee__track, .hero__badge, .ch--fcktv h3 { animation: none; }
  .tv { transition: none; }
}
@media (hover: none) {
  .tv-hint { display: none; }
}
