@font-face {
  font-family: "Bangers";
  src: url("assets/Bangers-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --blue: #1450ff;
  --blue-2: #2e6bff;
  --deep: #0b3fe0;
  --cyan: #3fc8ff;
  --ink: #0a1030;
  --white: #fff;
  --comic: "Bangers", "Impact", sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--blue);
  overflow-x: hidden;
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) clamp(16px, 4vw, 56px);
}
mark {
  background: linear-gradient(transparent 14%, rgba(63, 200, 255, 0.85) 14%, rgba(63, 200, 255, 0.85) 90%, transparent 90%);
  color: inherit;
  padding: 0 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- backgrounds ---------- */
.rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.rays-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260vmax;
  height: 260vmax;
  margin: -130vmax 0 0 -130vmax;
  background: repeating-conic-gradient(from 0deg, var(--blue) 0deg 8deg, var(--blue-2) 8deg 16deg);
  animation: spin 90s linear infinite;
}
.rays-spin.slow {
  animation-duration: 160s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 24%, transparent 26%);
  background-size: 18px 18px;
}
.paper {
  background-color: var(--white);
  background-image: radial-gradient(circle, #d4e0ff 24%, transparent 26%);
  background-size: 20px 20px;
  border-top: 6px solid var(--ink);
  border-bottom: 6px solid var(--ink);
}
section > *:not(.rays):not(.dots):not(.viewfinder) {
  position: relative;
  z-index: 1;
}

/* ---------- comic primitives ---------- */
.panel {
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.label {
  display: table;
  margin: 0 auto 34px;
  font-family: var(--comic);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  padding: 10px 26px 4px;
  transform: rotate(-2deg);
}
.ink {
  color: var(--white);
  -webkit-text-stroke: 0.09em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.02em 0.02em 0 var(--deep), 0.04em 0.04em 0 var(--deep), 0.06em 0.06em 0 var(--deep), 0.08em 0.08em 0 var(--deep), 0.1em 0.1em 0 var(--ink);
}
.bubble {
  position: absolute;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 50% / 46%;
  box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--comic);
  color: var(--blue);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.05;
  padding: 16px 24px 12px;
  z-index: 6;
}
.bubble::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  left: -18px;
  bottom: 18px;
}
.pose {
  filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(3px 0 0 var(--ink))
    drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink)) drop-shadow(10px 10px 0 rgba(10, 16, 48, 0.45));
}
.burst {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.burst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.burst .burst-shape {
  fill: var(--cyan);
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linejoin: round;
}
.burst > span {
  position: relative;
  font-family: var(--comic);
  color: var(--white);
  -webkit-text-stroke: 0.1em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.06em 0.06em 0 var(--ink);
}
.sticker {
  position: absolute;
  width: 110px;
  height: 84px;
  font-size: 30px;
  z-index: 4;
}
.star {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--white);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  z-index: 2;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--comic);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 12px 22px 8px;
  border-radius: 40px;
  transition: translate 0.15s, rotate 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn:hover {
  translate: -2px -3px;
  rotate: -1.5deg;
  box-shadow: 9px 10px 0 var(--ink);
}
.btn:active {
  translate: 4px 4px;
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-main {
  background: var(--white);
  color: var(--blue);
}
.btn-cv {
  background: var(--cyan);
  color: var(--ink);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 40px;
  padding: 6px 8px 6px 22px;
}
.logo {
  font-family: var(--comic);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--blue);
  text-decoration: none;
}
.nav nav {
  display: flex;
  gap: 22px;
}
.nav nav a {
  font-family: var(--comic);
  font-size: 21px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
}
.nav nav a:hover {
  color: var(--blue);
}
.nav-cv {
  font-size: 19px;
  padding: 6px 16px 3px;
  box-shadow: 3px 3px 0 var(--ink);
  border-width: 3px;
}

/* ---------- intro ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--white);
  background-image: radial-gradient(circle, #cfdcff 26%, transparent 28%);
  background-size: 22px 22px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.intro-burst {
  width: min(78vw, 560px);
  aspect-ratio: 1.15;
  font-size: min(24vw, 190px);
}
.intro-burst .burst-shape {
  fill: var(--blue);
  stroke-width: 5;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
}
.viewfinder {
  position: absolute;
  inset: 90px 24px 24px;
  z-index: 1;
  pointer-events: none;
}
.viewfinder .c {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 0 solid var(--white);
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.c.tl {
  left: 0;
  top: 0;
  border-left-width: 8px;
  border-top-width: 8px;
}
.c.tr {
  right: 0;
  top: 0;
  border-right-width: 8px;
  border-top-width: 8px;
}
.c.bl {
  left: 0;
  bottom: 0;
  border-left-width: 8px;
  border-bottom-width: 8px;
}
.c.br {
  right: 0;
  bottom: 0;
  border-right-width: 8px;
  border-bottom-width: 8px;
}
.rec {
  position: absolute;
  left: 22px;
  bottom: 16px;
  font-family: var(--comic);
  font-size: 26px;
  color: var(--white);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3355;
  border: 3px solid var(--ink);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.15;
  }
}
.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
}
.kicker {
  display: inline-block;
  font-family: var(--comic);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.05em;
  color: var(--white);
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
}
.kicker span {
  color: var(--cyan);
}
.name {
  font-family: var(--comic);
  font-weight: 400;
  font-size: clamp(64px, 9.4vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 6px 0 14px;
}
.name .ink {
  display: inline-block;
  white-space: nowrap;
}
.role {
  display: inline-block;
  font-family: var(--comic);
  font-size: clamp(19px, 2.3vw, 30px);
  letter-spacing: 0.04em;
  background: var(--cyan);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 40px;
  padding: 8px 20px 4px;
  transform: rotate(-1.5deg);
}
.hero-line {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 12px 16px;
}
.hero-btns {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-art {
  position: relative;
  min-height: 520px;
}
.pose-push {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 440px);
  max-height: 72vh;
  object-fit: contain;
  object-position: bottom;
}
.b-hero {
  right: 6%;
  top: -10px;
  font-size: clamp(26px, 3vw, 40px);
}
.s-hero {
  left: 2%;
  bottom: 12%;
  width: 130px;
  height: 100px;
  font-size: 34px;
}
.st1 {
  left: 8%;
  top: 14%;
}
.st2 {
  right: -2%;
  top: 46%;
  background: var(--cyan);
}
.st3 {
  left: 30%;
  top: 2%;
  width: 24px;
  height: 24px;
  background: var(--cyan);
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  color: var(--blue);
  font-size: 18px;
  animation: bob 1.4s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------- showreel ---------- */
.reel-wrap {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.phone {
  width: min(380px, 86vw);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  overflow: hidden;
  padding: 10px;
  background: var(--ink);
}
.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: #000;
}
.reel-side {
  position: relative;
  min-height: 460px;
}
.b-reel {
  left: 32%;
  top: 0;
  max-width: 340px;
  font-size: clamp(22px, 2.4vw, 32px);
}
.pose-thumbs {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(300px, 60%);
}

/* ---------- work ---------- */
.work-sub {
  text-align: center;
  font-family: var(--comic);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--white);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  margin: -14px 0 34px;
}
.work-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.col-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--comic);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: 0.05em;
  background: var(--white);
  color: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 8px 12px 4px;
  margin-bottom: 22px;
  transform: rotate(-1deg);
}
.burst.mini {
  width: 48px;
  height: 40px;
  font-size: 22px;
}
.cards {
  display: grid;
  gap: 24px;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 8px;
  transition: translate 0.2s, rotate 0.2s, scale 0.2s, box-shadow 0.2s;
}
.card:nth-child(odd) {
  rotate: -0.8deg;
}
.card:nth-child(even) {
  rotate: 0.8deg;
}
.card:hover {
  translate: -3px -4px;
  rotate: 0deg;
  scale: 1.02;
  box-shadow: 12px 13px 0 var(--ink);
}
.card .frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: #0a1030;
}
.card video,
.card img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 64px;
  font-size: 30px;
  transition: scale 0.2s, rotate 0.2s;
}
.card:hover .play {
  scale: 1.15;
  rotate: -8deg;
}
.card .t {
  display: block;
  font-family: var(--comic);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 8px 4px 2px;
}
.card.soon {
  cursor: default;
}
.card.soon .frame {
  display: grid;
  place-items: center;
  background-color: var(--deep);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 24%, transparent 26%);
  background-size: 14px 14px;
}
.card.soon .frame span {
  font-family: var(--comic);
  font-size: 28px;
  color: var(--white);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  letter-spacing: 0.05em;
}
.portfolio-cta {
  margin-top: 64px;
  text-align: center;
}
.btn-huge {
  position: relative;
  background: var(--white);
  color: var(--blue);
  font-size: clamp(26px, 4vw, 48px);
  padding: 20px clamp(26px, 4vw, 48px) 14px;
  border-width: 5px;
  box-shadow: 10px 10px 0 var(--ink);
}
.cta-burst {
  position: absolute;
  right: -46px;
  top: -52px;
  width: 112px;
  height: 90px;
  font-size: 30px;
}
.cta-note {
  margin-top: 18px;
  font-weight: 700;
  color: var(--white);
  font-size: 17px;
  text-shadow: 2px 2px 0 var(--ink);
}

/* ---------- about ---------- */
.about-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat {
  position: relative;
  padding: 26px 18px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 250px;
  color: var(--blue);
}
.stat.blue {
  background-color: var(--blue);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 24%, transparent 26%);
  background-size: 14px 14px;
  color: var(--white);
}
.stat .big {
  font-family: var(--comic);
  font-size: 120px;
  line-height: 0.9;
}
.stat .head,
.stat .sub {
  font-family: var(--comic);
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.stat .sub {
  font-size: 24px;
}
.stat.blue .big,
.stat.blue .head,
.stat.blue .sub {
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}
.worked {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--comic);
  font-size: 24px;
  color: var(--ink);
}
.worked img {
  width: 64px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 3px 10px 3px 4px;
}
.tile {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tile img {
  width: 18px;
  height: 18px;
}
.tile.full img {
  width: 28px;
  height: 28px;
}
.tile.ps {
  background: #001e36;
}
.tile.pr {
  background: #00005b;
}
.tile.dv {
  background: #2a2d34;
}
.s-p1 {
  right: -20px;
  top: -34px;
}
.s-p2 {
  right: -20px;
  top: -34px;
}
.s-p3 {
  left: -24px;
  bottom: -34px;
}
.s-p4 {
  right: -20px;
  bottom: -34px;
}
.about-quote {
  width: min(1000px, 100%);
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  align-items: end;
}
.quote {
  padding: 24px 26px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.55;
  border-radius: 28px;
  position: relative;
}
.quote::before {
  content: "";
  position: absolute;
  left: -26px;
  bottom: 40px;
  width: 30px;
  height: 30px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- contact ---------- */
.contact-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
}
.contact-card {
  padding: 34px clamp(18px, 3vw, 40px);
  text-align: center;
}
.name.small {
  font-size: clamp(46px, 6.5vw, 92px);
  margin: 0 0 18px;
}
.avail {
  display: inline-block;
  font-family: var(--comic);
  font-size: 30px;
  letter-spacing: 0.05em;
  background: var(--cyan);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 40px;
  padding: 6px 22px 2px;
  transform: rotate(-2deg);
  margin-bottom: 26px;
}
.contact-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.contact-btns .btn {
  width: min(100%, 440px);
  font-size: clamp(18px, 2vw, 24px);
  word-break: break-all;
}
.addr {
  margin-top: 20px;
  font-weight: 600;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 300px 20px 80px;
  border-top: 6px solid var(--ink);
  font-weight: 600;
}
.pose-wave {
  position: absolute;
  left: 50%;
  bottom: 140px;
  width: 112px;
  margin-left: -150px;
}
.b-bye {
  left: calc(50% - 24px);
  bottom: 300px;
  font-size: 30px;
  padding: 10px 20px 6px;
}

/* ---------- sound + lightbox ---------- */
.sound-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  font-family: var(--comic);
  font-size: 20px;
  letter-spacing: 0.05em;
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 30px;
  padding: 8px 16px 5px;
  cursor: pointer;
}
.sound-btn[aria-pressed="true"] {
  background: var(--cyan);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 16, 48, 0.82);
  display: grid;
  place-items: center;
  padding: 18px;
}
.lightbox[hidden] {
  display: none;
}
.lb-panel {
  position: relative;
  width: min(1000px, 100%);
  padding: 14px;
}
.lb-title {
  font-family: var(--comic);
  font-weight: 400;
  font-size: 30px;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin: 0 50px 10px 4px;
}
.lb-video {
  width: 100%;
  max-height: 78vh;
  background: #000;
  border: 3px solid var(--ink);
}
.lb-close {
  position: absolute;
  right: -16px;
  top: -16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: var(--cyan);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .work-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  .nav nav {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-line {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-art {
    min-height: 420px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
  .pose-push {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 92%;
  }
  .reel-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .reel-side {
    min-height: 400px;
    width: 100%;
    max-width: 420px;
  }
  .pose-thumbs {
    width: 190px;
  }
  .b-reel {
    left: 40%;
    top: 30px;
    font-size: 22px;
  }
  .about-quote,
  .contact-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .about-quote .pose-sit {
    width: 170px;
    order: 2;
  }
  .quote::before {
    display: none;
  }
  .contact-inner .pose-shrug {
    width: 240px;
  }
  .viewfinder {
    inset: 84px 10px 10px;
  }
}
@media (max-width: 520px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .logo {
    font-size: 23px;
  }
  .btn {
    padding: 10px 16px 6px;
  }
  .cta-burst {
    right: -10px;
    top: -56px;
    width: 90px;
    height: 72px;
    font-size: 24px;
  }
  .b-hero {
    right: 0;
    font-size: 24px;
  }
}

/* =====================================================================
   v2: rows of big auto-playing cards, tickers, more motion + depth
   ===================================================================== */
.rays-spin {
  animation-duration: 45s;
}
.rays-spin.slow {
  animation-duration: 70s;
}
.hero-art {
  perspective: 1200px;
}
.pose-hero {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(100%, 400px);
  max-height: 74vh;
  object-fit: contain;
  object-position: bottom;
  z-index: 3;
}
.b-hero {
  right: -2%;
  top: -7%;
}
.s-hero2 {
  right: 0;
  bottom: 22%;
  width: 116px;
  height: 90px;
  font-size: 30px;
}
.s-hero2 .burst-shape {
  fill: var(--white);
}
.st4 {
  left: 18%;
  bottom: 30%;
  width: 22px;
  height: 22px;
}
/* comic speed lines behind the hero character */
.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% -10% 0 10%;
  background: repeating-conic-gradient(from 0deg at 60% 60%, rgba(255, 255, 255, 0.28) 0deg 2deg, transparent 2deg 12deg);
  -webkit-mask: radial-gradient(circle at 60% 60%, transparent 22%, #000 23%, #000 60%, transparent 72%);
  mask: radial-gradient(circle at 60% 60%, transparent 22%, #000 23%, #000 60%, transparent 72%);
  animation: spin 18s linear infinite reverse;
  z-index: 1;
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 5;
  background: var(--ink);
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  overflow: hidden;
  transform: rotate(-2deg);
  margin: -18px -20px;
  padding: 10px 0 6px;
  box-shadow: 0 8px 0 rgba(10, 16, 48, 0.35);
}
.ticker.alt {
  background: var(--cyan);
  transform: rotate(1.5deg);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 26px;
  align-items: center;
  animation: tick 26s linear infinite;
}
.ticker.alt .ticker-track {
  animation-direction: reverse;
  animation-duration: 30s;
}
.ticker span {
  font-family: var(--comic);
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: 0.06em;
  color: var(--white);
  white-space: nowrap;
}
.ticker.alt span {
  color: var(--ink);
}
.ticker b {
  color: var(--cyan);
  font-size: 28px;
}
.ticker.alt b {
  color: var(--blue);
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- work rows ---------- */
.work-rows {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 70px;
}
.row-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--comic);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 0.05em;
  line-height: 1;
  background: var(--white);
  color: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  padding: 10px 22px 4px 12px;
  margin-bottom: 30px;
  transform: rotate(-1.5deg);
}
.row-head .burst.mini {
  width: 62px;
  height: 52px;
  font-size: 28px;
}
.work-row .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
  perspective: 1400px;
}
.work-row .card {
  will-change: transform;
}
.card .frame {
  display: block;
  isolation: isolate;
}
.card .frame {
  aspect-ratio: 16 / 9;
}
.card .frame.tall {
  aspect-ratio: 4 / 5;
}
.card .glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}
.card:hover .glare {
  opacity: 1;
}
.card .live {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  font-family: var(--comic);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--white);
  background: #ff3355;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 1px 9px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: blink 1s steps(1) infinite;
}
.card .tap {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--comic);
  font-size: 17px;
  letter-spacing: 0.05em;
  background: var(--white);
  color: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 2px 10px 0;
  white-space: nowrap;
}
.card.soon .frame span {
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    transform: scale(1.12) rotate(-3deg);
  }
}
.card.soon .frame {
  background-size: 14px 14px;
  animation: drift 6s linear infinite;
}
@keyframes drift {
  to {
    background-position: 140px 70px;
  }
}

/* lightbox: as big as the screen allows */
.lb-panel {
  width: min(1280px, 100%);
}
.lb-video {
  max-height: 82vh;
}

@media (max-width: 900px) {
  /* rows become big swipeable carousels on phones/tablets */
  .work-row .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding: 6px 4px 22px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .work-row .cards::-webkit-scrollbar {
    display: none;
  }
  .work-row .card {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
  .row-head {
    margin-bottom: 18px;
  }
  .work-rows {
    gap: 46px;
  }
  .swipe-hint {
    display: block;
  }
}
.swipe-hint {
  display: none;
  font-family: var(--comic);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--white);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  margin: -8px 0 0;
}
@media (max-width: 820px) {
  .pose-hero {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 74%;
  }
  .b-hero {
    right: 2%;
    top: 0;
  }
}
html,
body {
  overflow-x: clip;
}

/* =====================================================================
   v3 QC fixes: nothing covers text, heads never cut, small text on panels
   ===================================================================== */
video.pose {
  display: block;
  background: transparent;
}
.hero-art {
  min-height: min(72vh, 620px);
}
.pose-hero {
  right: 8%;
  width: auto;
  height: min(64vh, 560px);
  max-height: none;
}
.b-hero {
  right: auto;
  left: -4%;
  top: 2%;
  font-size: clamp(22px, 2.4vw, 34px);
}
.b-hero::after {
  left: auto;
  right: -18px;
  bottom: 14px;
  transform: scaleX(-1);
}
.s-hero {
  left: 0;
  bottom: 4%;
}
.s-hero2 {
  right: 0;
  bottom: 40%;
}
/* stickers sit on panel corners, never on the text */
.s-p1,
.s-p2,
.s-p3,
.s-p4 {
  top: -40px;
  bottom: auto;
}
.s-p1,
.s-p2,
.s-p4 {
  right: -18px;
  left: auto;
}
.s-p3 {
  left: auto;
  right: -18px;
}
.stat {
  padding-top: 40px;
}
/* small lines on the blue background get a readable ink pill */
.work-sub,
.cta-note,
.swipe-hint {
  display: table;
  margin-left: auto;
  margin-right: auto;
  background: var(--ink);
  color: var(--white);
  -webkit-text-stroke: 0;
  text-shadow: none;
  border-radius: 30px;
  padding: 6px 18px 3px;
  font-family: var(--comic);
  letter-spacing: 0.05em;
}
.cta-note {
  font-size: 19px;
}
@media (max-width: 900px) {
  .swipe-hint {
    display: table;
  }
}
@media (min-width: 901px) {
  .swipe-hint {
    display: none;
  }
}
@media (max-width: 820px) {
  .hero-art {
    min-height: 430px;
  }
  .pose-hero {
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 400px;
    width: auto;
  }
  .b-hero {
    left: 0;
    top: 0;
  }
}
.pose-sit {
  width: 200px;
}
.contact-inner .pose-shrug {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.pose-wave {
  height: 230px;
  width: auto;
}
@media (max-width: 520px) {
  .sound-btn {
    font-size: 15px;
    padding: 6px 11px 3px;
    right: 10px;
    bottom: 10px;
    border-width: 3px;
    box-shadow: 3px 3px 0 var(--ink);
  }
}

/* =====================================================================
   v4: full-bleed tickers, clean bubble tail, WhatsApp, hover-alive panels
   ===================================================================== */
.ticker {
  margin: -18px -30vw;
  padding-left: 30vw;
  padding-right: 30vw;
}
.b-hero::after {
  left: auto;
  right: 34px;
  bottom: -24px;
  width: 30px;
  height: 26px;
  transform: none;
  clip-path: polygon(0 0, 100% 0, 85% 100%);
}
.btn-wa {
  background: #25d366;
  color: var(--white);
  -webkit-text-stroke: 0;
  text-shadow: 2px 2px 0 var(--ink);
}
.btn-wa img {
  width: 26px;
  height: 26px;
  filter: drop-shadow(2px 2px 0 var(--ink));
}
.stat {
  cursor: pointer;
  will-change: transform;
}
.stat .sticker {
  transition: scale 0.25s;
}

/* =====================================================================
   v5 text QC: lighter outlines so letters stay open and readable
   ===================================================================== */
.ink {
  -webkit-text-stroke: 0.06em var(--ink);
  text-shadow: 0.025em 0.025em 0 var(--deep), 0.05em 0.05em 0 var(--deep), 0.075em 0.075em 0 var(--ink);
}
.name.small .ink {
  -webkit-text-stroke: 0.05em var(--ink);
  text-shadow: 0.05em 0.05em 0 var(--ink);
}
.kicker {
  -webkit-text-stroke: 0;
  background: var(--ink);
  padding: 4px 14px 1px;
  border-radius: 20px;
}
.stat.blue .big {
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}
.stat.blue .head {
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
}
.stat.blue .sub {
  -webkit-text-stroke: 0;
  text-shadow: none;
  background: var(--ink);
  color: var(--white);
  padding: 5px 12px 2px;
  border-radius: 6px;
  line-height: 1.1;
}
.rec {
  -webkit-text-stroke: 0;
  text-shadow: 2px 2px 0 var(--ink);
}
.burst > span {
  -webkit-text-stroke: 0.07em var(--ink);
}
/* email / phone: normal readable font, real lowercase */
.contact-btns .btn-main {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  font-size: clamp(16px, 1.8vw, 20px);
}
.contact-card {
  padding-bottom: 46px;
}
.card .t {
  letter-spacing: 0.05em;
}
/* on the white contact card the headline reads better in blue */
.name.small .ink {
  color: var(--blue);
}

/* =====================================================================
   v6: readable Drive note + gratitude section
   ===================================================================== */
.cta-note {
  font-family: var(--body);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 7px 18px;
  -webkit-font-smoothing: antialiased;
}
.thanks {
  border-bottom: 0;
}
.note {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px) clamp(20px, 4vw, 52px);
  border-radius: 26px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
  color: var(--ink);
}
.note p + p {
  margin-top: 16px;
}
.note-lead {
  font-family: var(--comic);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--blue);
}
.note b {
  font-weight: 800;
}
.note-thanks {
  font-size: 1.1em;
}
.note-sign {
  font-family: var(--comic);
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: 0.04em;
  color: var(--blue);
  text-align: right;
  transform: rotate(-3deg);
  margin-top: 10px !important;
}
.note-burst {
  right: -30px;
  top: -44px;
  width: 140px;
  height: 104px;
  font-size: 30px;
}
@media (max-width: 620px) {
  .note-burst {
    right: -14px;
    top: -40px;
    width: 90px;
    height: 66px;
    font-size: 18px;
  }
  .note {
    margin-top: 26px;
  }
}

/* =====================================================================
   v7: WORK EXPERIENCE comic timeline
   ===================================================================== */
.journey {
  width: min(1100px, 100%);
  margin: 80px auto 0;
  text-align: center;
}
.journey-head {
  margin-bottom: 40px;
}
.tl {
  position: relative;
  text-align: left;
  padding: 10px 0;
}
.tl-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 14px;
  margin-left: -7px;
  background: #d6e2ff;
  border: 4px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
}
.tl-fill {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, var(--blue) 0 8px, var(--cyan) 8px 16px);
  transform-origin: 50% 0;
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 46px 46px;
}
.tl-item.left {
  margin-right: 50%;
}
.tl-item.right {
  margin-left: 50%;
}
.tl-dot {
  position: absolute;
  top: 6px;
  width: 64px;
  height: 56px;
  font-size: 24px;
  z-index: 3;
}
.tl-item.left .tl-dot {
  right: -32px;
}
.tl-item.right .tl-dot {
  left: -32px;
}
.job-card {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: 18px;
  cursor: pointer;
  will-change: transform;
}
/* comic arrow pointing at the spine */
.job-card::before {
  content: "";
  position: absolute;
  top: 22px;
  width: 22px;
  height: 22px;
  background: var(--ink);
}
.tl-item.left .job-card::before {
  right: -22px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.tl-item.right .job-card::before {
  left: -22px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.job-date {
  display: inline-block;
  font-family: var(--comic);
  font-size: 20px;
  letter-spacing: 0.05em;
  background: var(--cyan);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 20px;
  padding: 3px 14px 0;
  rotate: -2deg;
}
.job-role {
  font-family: var(--comic);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--blue);
  margin-top: 12px;
}
.job-sub {
  font-weight: 700;
  font-size: 15px;
  margin-top: 4px;
}
.job-co {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  padding: 2px 10px;
}
.job-card ul {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}
.job-card li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.job-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border: 2px solid var(--ink);
  transform: rotate(45deg);
}
.tl-end {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin-top: -10px;
}
.tl-end .pose-sit {
  width: 210px;
  position: relative;
  z-index: 2;
}
.b-next {
  position: relative;
  font-size: clamp(20px, 2.2vw, 28px);
  margin-bottom: 120px;
}
@media (max-width: 820px) {
  .tl-spine {
    left: 22px;
  }
  .tl-item,
  .tl-item.left,
  .tl-item.right {
    width: 100%;
    margin: 0;
    padding: 0 0 34px 58px;
  }
  .tl-item.left .tl-dot,
  .tl-item.right .tl-dot {
    left: -10px;
    right: auto;
    width: 56px;
    height: 48px;
    font-size: 20px;
  }
  .tl-item.left .job-card::before,
  .tl-item.right .job-card::before {
    left: -22px;
    right: auto;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
  }
  .tl-end {
    flex-direction: column-reverse;
    align-items: center;
  }
  .b-next {
    margin-bottom: 0;
  }
  .b-next::after {
    display: none;
  }
}

/* =====================================================================
   v8: bigger landscape music videos (1 featured + 2 below), wider row
   ===================================================================== */
.work-row[data-cat="music"] {
  width: min(1500px, 96vw);
  margin-left: 50%;
  translate: -50% 0;
}
@media (min-width: 901px) {
  .work-row[data-cat="music"] .cards {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .work-row[data-cat="music"] .card:first-child {
    grid-column: 1 / -1;
  }
  .work-row[data-cat="music"] .card .t {
    font-size: 30px;
  }
  .work-row[data-cat="music"] .card:first-child .t {
    font-size: 38px;
  }
}
@media (max-width: 900px) {
  .work-row[data-cat="music"] {
    width: 100%;
    margin-left: 0;
    translate: none;
  }
  .work-row[data-cat="music"] .card {
    flex-basis: 92%;
  }
}
@media (max-width: 520px) {
  .kicker {
    font-size: 16px;
    white-space: nowrap;
  }
}

/* =====================================================================
   v9: WHACK-A-SAIKAT mini game
   ===================================================================== */
.game {
  border-top: 6px solid var(--ink);
}
.g-board {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 26px;
  background-color: var(--white);
  background-image: radial-gradient(circle, #d6e2ff 24%, transparent 26%);
  background-size: 18px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.g-hud {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--comic);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.05em;
}
.g-hud span {
  background: var(--cyan);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 20px;
  padding: 2px 16px 0;
}
.g-hud b {
  display: inline-block;
  font-weight: 400;
  min-width: 1.4em;
  text-align: center;
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 18px);
}
.hole {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 100%, #0b2a9e 0 40%, var(--blue) 41%);
  box-shadow: inset 0 -10px 0 rgba(10, 16, 48, 0.35), 5px 5px 0 var(--ink);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.hole::after {
  /* camera viewfinder corners */
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px dashed rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  pointer-events: none;
}
.who {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 92%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.who img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 -2px 0 #fff);
}
.g-glitch {
  margin-bottom: 18%;
  font-family: var(--comic);
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1;
  text-align: center;
  color: var(--white);
  background: #ff3355;
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 8px 10px 5px;
  box-shadow: 3px 0 0 #3fc8ff, -3px 0 0 #ffe600;
  animation: glitch 0.25s steps(2) infinite;
}
@keyframes glitch {
  50% {
    translate: 3px -2px;
    rotate: -3deg;
  }
}
.g-pop {
  position: absolute;
  left: 50%;
  top: 30%;
  margin-left: -50px;
  width: 100px;
  text-align: center;
  font-family: var(--comic);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  pointer-events: none;
  z-index: 3;
}
.g-pop.bad {
  color: #ff3355;
}
.g-overlay {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: rgba(20, 80, 255, 0.45);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 5;
}
.g-overlay.show {
  display: flex;
}
.g-card {
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 22px;
  padding: 24px clamp(16px, 4vw, 34px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 420px;
}
.g-final {
  font-family: var(--comic);
  font-size: 26px;
  letter-spacing: 0.05em;
}
.g-final b {
  font-weight: 400;
  font-size: 1.6em;
  color: var(--blue);
}
.g-rank {
  font-family: var(--comic);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  color: var(--blue);
}
.g-line {
  font-weight: 700;
  font-size: 16px;
}
.g-hire {
  display: none;
}
.g-overlay.done .g-hire {
  display: inline-flex;
}

/* v10: friendlier game - speech bubbles + golden Saikat */
.g-say {
  position: absolute;
  top: 6px;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  font-family: var(--comic);
  font-size: clamp(13px, 1.9vw, 18px);
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 2px 9px 0;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 2;
}
.hole.gold {
  background: radial-gradient(ellipse at 50% 100%, #b8860b 0 40%, #ffcc00 41%);
}
.hole.gold .g-say {
  color: var(--ink);
  background: #ffe066;
}
.g-crown {
  position: absolute;
  top: 26%;
  left: 50%;
  translate: -50% 0;
  font-size: clamp(22px, 3.4vw, 34px);
  z-index: 2;
  animation: crown 0.6s ease-in-out infinite alternate;
}
@keyframes crown {
  to {
    rotate: 12deg;
    scale: 1.15;
  }
}
/* v10b: leave headroom so the bubble + crown sit ABOVE his head, never on the face */
.who {
  height: 74%;
}
.g-say {
  position: absolute;
  top: -30%;
  bottom: auto;
}
.g-crown {
  top: -9%;
}
.hole {
  overflow: hidden;
}
.g-crown {
  top: -24%;
  line-height: 1;
}

/* =====================================================================
   v11: DODGE THE REVISIONS catch game
   ===================================================================== */
.c-field {
  position: relative;
  height: clamp(420px, 62vh, 560px);
  border: 4px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: repeating-conic-gradient(from 0deg at 50% 110%, var(--blue) 0deg 8deg, var(--blue-2) 8deg 16deg);
  touch-action: none;
  cursor: grab;
}
.c-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  background: var(--ink);
}
.c-hero {
  position: absolute;
  left: 0;
  bottom: 14px;
  height: clamp(130px, 22vh, 170px);
  width: auto;
  transform-origin: 50% 100%;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(4px 4px 0 rgba(10, 16, 48, 0.5));
  pointer-events: none;
  z-index: 2;
}
.c-item {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}
.c-item.good {
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1;
  filter: drop-shadow(2px 2px 0 var(--ink));
}
.c-item.bad {
  max-width: 150px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  color: var(--white);
  background: #ff3355;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 5px 8px 5px 30px;
}
.c-item.bad b {
  position: absolute;
  left: 5px;
  top: 50%;
  translate: 0 -50%;
  font-size: 18px;
}
.c-slow {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  z-index: 4;
  font-family: var(--comic);
  font-size: 22px;
  letter-spacing: 0.05em;
  background: #ffe066;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 2px 12px 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.c-slow.on {
  opacity: 1;
}
.c-field .g-pop {
  margin-left: -60px;
  width: 120px;
  top: auto;
}
.g-pop.gold {
  color: #ffe066;
}
.g-lives {
  letter-spacing: 0.1em;
}
.g-board.shake {
  animation: shake 0.4s;
}
@keyframes shake {
  20% { translate: -10px 0; }
  40% { translate: 9px 0; }
  60% { translate: -6px 0; }
  80% { translate: 4px 0; }
}
.g-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.g-legend span {
  font-weight: 800;
  font-size: 14px;
  background: #e6eeff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 2px 9px;
}
.g-legend span.bad {
  background: #ff3355;
  color: var(--white);
}
/* bigger, readable revision cards */
.c-item.bad {
  max-width: 170px;
  font-size: 14px;
  padding: 7px 10px 7px 34px;
}
.c-item.bad b {
  font-size: 20px;
}
@media (max-width: 520px) {
  .c-item.bad {
    max-width: 140px;
    font-size: 13px;
  }
}

/* =====================================================================
   v12: game tabs + SAIKAT'S BIKE RIDE
   ===================================================================== */
.g-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: -8px auto 26px;
}
.g-tab {
  font-family: var(--comic);
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.05em;
  color: var(--blue);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 30px;
  padding: 10px 20px 6px;
  cursor: pointer;
  transition: translate 0.15s, rotate 0.15s, box-shadow 0.15s;
}
.g-tab:hover {
  translate: -2px -3px;
  rotate: -1.5deg;
}
.g-tab.on {
  background: var(--cyan);
  color: var(--ink);
  rotate: -2deg;
}
.g-pane[hidden] {
  display: none;
}
.b-field {
  position: relative;
  height: clamp(320px, 50vh, 420px);
  border: 4px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(#3fc8ff, #9fe3ff 70%);
  touch-action: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.b-sun {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffe066;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 10px rgba(255, 224, 102, 0.35);
}
.b-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  height: 150px;
  background:
    linear-gradient(var(--deep), var(--deep)) 0 100% / 60px 70% repeat-x,
    linear-gradient(var(--blue), var(--blue)) 30px 100% / 80px 45% repeat-x,
    linear-gradient(#0b2a9e, #0b2a9e) 90px 100% / 50px 90% repeat-x,
    radial-gradient(circle, #ffe066 30%, transparent 32%) 8px 30px / 22px 22px repeat;
  background-size: 190px 70%, 230px 45%, 270px 90%, 22px 22px;
  -webkit-mask: linear-gradient(#000, #000);
  opacity: 0.85;
}
.b-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background:
    linear-gradient(90deg, #fff 0 50px, transparent 50px 110px) 0 50% / 110px 6px repeat-x,
    #23284a;
  border-top: 5px solid var(--ink);
}
.b-rider {
  position: absolute;
  left: 14%;
  bottom: 60px;
  width: clamp(110px, 16vw, 140px);
  aspect-ratio: 160 / 150;
  transform-origin: 30% 100%;
  z-index: 3;
  pointer-events: none;
}
.b-rider.hurt {
  opacity: 0.35;
}
.b-bike {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}
.b-saikat {
  position: absolute;
  left: 22%;
  bottom: 30%;
  height: 78%;
  width: auto;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 -2px 0 #fff);
}
.b-field.riding .wheel {
  animation: spinw 0.35s linear infinite;
}
@keyframes spinw {
  to {
    transform: rotate(360deg);
  }
}
.b-smoke {
  position: absolute;
  left: -30px;
  bottom: 4px;
  font-size: 26px;
  opacity: 0;
}
.b-field.riding .b-smoke {
  animation: puff 0.6s ease-out infinite;
}
@keyframes puff {
  0% { opacity: 0.9; translate: 0 0; scale: 0.6; }
  100% { opacity: 0; translate: -30px -10px; scale: 1.3; }
}
.b-thing {
  position: absolute;
  left: 0;
  z-index: 2;
  line-height: 1;
  pointer-events: none;
  will-change: transform;
}
.b-thing.cow {
  font-size: 58px;
  scale: -1 1;
}
.b-thing.cone {
  font-size: 42px;
}
.b-thing.hole {
  width: 70px;
  height: 14px;
  border-radius: 50%;
  background: #05081a;
  border: 3px solid var(--ink);
  margin-bottom: -10px;
}
.b-thing.rev {
  width: 92px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--comic);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: #ff3355;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}
.b-thing.pick {
  font-size: 36px;
  filter: drop-shadow(2px 2px 0 var(--ink));
  animation: bobp 0.8s ease-in-out infinite alternate;
}
@keyframes bobp {
  to {
    translate: 0 -8px;
  }
}
.b-field .g-pop {
  margin-left: -60px;
  width: 120px;
}
/* comic city skyline that scrolls behind the bike */
.b-city {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='150'%3E%3Cg stroke='%230a1030' stroke-width='3'%3E%3Crect x='4' y='60' width='60' height='92' fill='%230b3fe0'/%3E%3Crect x='70' y='20' width='48' height='132' fill='%232e6bff'/%3E%3Crect x='124' y='80' width='70' height='72' fill='%231450ff'/%3E%3Crect x='200' y='40' width='54' height='112' fill='%230b3fe0'/%3E%3Crect x='260' y='70' width='40' height='82' fill='%232e6bff'/%3E%3Crect x='306' y='30' width='50' height='122' fill='%231450ff'/%3E%3C/g%3E%3Cg fill='%23ffe066'%3E%3Crect x='16' y='74' width='10' height='10'/%3E%3Crect x='40' y='100' width='10' height='10'/%3E%3Crect x='84' y='36' width='9' height='9'/%3E%3Crect x='98' y='70' width='9' height='9'/%3E%3Crect x='140' y='96' width='10' height='10'/%3E%3Crect x='214' y='56' width='10' height='10'/%3E%3Crect x='232' y='92' width='10' height='10'/%3E%3Crect x='270' y='86' width='8' height='8'/%3E%3Crect x='320' y='48' width='10' height='10'/%3E%3Crect x='334' y='88' width='10' height='10'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 360px 150px repeat-x;
  -webkit-mask: none;
  opacity: 1;
}

/* =====================================================================
   v13: EDUCATION cards + volume control
   ===================================================================== */
.edu-wrap {
  margin: 30px auto 50px;
  text-align: center;
}
.edu-head {
  margin-bottom: 34px;
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 28px;
  text-align: left;
}
.edu-card {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: 18px;
}
.edu-card:nth-child(1) {
  rotate: -1.5deg;
}
.edu-card:nth-child(2) {
  rotate: 1.5deg;
}
.edu-cap {
  position: absolute;
  right: -14px;
  top: -30px;
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(3px 3px 0 var(--ink));
}
@media (max-width: 700px) {
  .edu-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* volume pill (replaces SOUND ON/OFF) */
.sound-btn {
  display: none;
}
.vol {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 30px;
  padding: 5px 14px 5px 6px;
}
.vol-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--cyan);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.vol.muted .vol-icon {
  background: #e6eeff;
}
.vol-range {
  --fill: 70%;
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 12px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue) var(--fill), #e6eeff var(--fill));
  cursor: pointer;
}
.vol-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.vol-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--ink);
}
.vol-hint {
  position: absolute;
  right: 6px;
  bottom: calc(100% + 10px);
  white-space: nowrap;
  font-family: var(--comic);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  padding: 4px 10px 2px;
  animation: hintbob 1s ease-in-out infinite alternate;
}
.vol.live .vol-hint {
  display: none;
}
@keyframes hintbob {
  to {
    translate: 0 -5px;
  }
}
@media (max-width: 520px) {
  .vol {
    right: 10px;
    bottom: 10px;
    padding: 4px 10px 4px 4px;
    border-width: 3px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .vol-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .vol-range {
    width: 80px;
  }
}

/* =====================================================================
   v14: loader, hide-on-scroll nav, compact work experience, lively edu
   ===================================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--blue) 0deg 8deg, var(--blue-2) 8deg 16deg);
}
.ld-card {
  position: relative;
  width: min(360px, 86vw);
  text-align: center;
}
.ld-clap {
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 14px;
  box-shadow: 8px 8px 0 rgba(10, 16, 48, 0.5);
}
.ld-top {
  display: flex;
  height: 38px;
  border-bottom: 4px solid var(--ink);
  transform-origin: 4% 100%;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.ld-top i {
  flex: 1;
  background: repeating-linear-gradient(-55deg, var(--white) 0 18px, var(--ink) 18px 36px);
}
.ld-board {
  background: var(--white);
  border-radius: 0 0 10px 10px;
  padding: 12px 16px 14px;
}
.ld-row {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  font-family: var(--comic);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.ld-row b {
  font-weight: 400;
  font-size: 30px;
  color: var(--blue);
}
.ld-title {
  font-family: var(--comic);
  font-size: 42px;
  line-height: 1;
  color: var(--blue);
  margin: 6px 0 4px;
}
.ld-dir {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.ld-pose {
  position: absolute;
  right: -58px;
  bottom: 40px;
  height: 170px;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(4px 4px 0 rgba(10, 16, 48, 0.5));
}
.ld-line {
  margin: 22px auto 10px;
  display: table;
  font-family: var(--comic);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--ink);
  border-radius: 16px;
  padding: 4px 14px 2px;
}
.ld-bar {
  height: 22px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}
.ld-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(-45deg, var(--cyan) 0 10px, var(--blue) 10px 20px);
  animation: barmove 0.6s linear infinite;
  background-size: 28px 28px;
}
@keyframes barmove {
  to {
    background-position: 28px 0;
  }
}
.ld-pct {
  margin-top: 8px;
  font-family: var(--comic);
  font-size: 30px;
  color: var(--white);
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
}
@media (max-width: 520px) {
  .ld-pose {
    right: -14px;
    bottom: auto;
    top: -120px;
    height: 120px;
  }
}

/* nav slides away on scroll down, back on scroll up */
.nav {
  transition: translate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav.nav-hide {
  translate: 0 -150%;
}

/* compact WORK EXPERIENCE: zig-zag overlap + collapsible details */
.job-details {
  display: none;
  overflow: hidden;
}
.job-more {
  margin-top: 10px;
  font-family: var(--comic);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: #e6eeff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 3px 12px 1px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.job-more b {
  font-weight: 400;
  font-size: 1.2em;
}
.job-more[aria-expanded="true"] {
  background: var(--cyan);
  color: var(--ink);
}
.tl-item {
  padding-bottom: 22px;
}
@media (min-width: 821px) {
  .tl-item.right {
    margin-top: -110px;
  }
  .tl-item.left + .tl-item.left,
  .tl-item.right + .tl-item.left {
    margin-top: -40px;
  }
}

/* education pop words */
.edu-card {
  cursor: pointer;
  will-change: transform;
}
.edu-pop {
  position: absolute;
  left: 50%;
  top: 10px;
  margin-left: -50px;
  width: 100px;
  text-align: center;
  font-family: var(--comic);
  font-size: 30px;
  color: var(--white);
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  pointer-events: none;
}

/* =====================================================================
   v15: Instagram button + Bila Boy Instagram links
   ===================================================================== */
.btn-ig {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-shadow: 2px 2px 0 var(--ink);
  background: linear-gradient(115deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5);
  background-size: 250% 250%;
  animation: igflow 4s ease-in-out infinite alternate;
}
@keyframes igflow {
  to {
    background-position: 100% 100%;
  }
}
/* shine sweep across the button */
.btn-ig::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: igshine 2.6s ease-in-out infinite;
}
@keyframes igshine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
.ig-ico {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: rgba(0, 0, 0, 0.18);
  animation: igwiggle 1.6s ease-in-out infinite;
}
.ig-ico img {
  width: 20px;
  height: 20px;
}
@keyframes igwiggle {
  0%, 70%, 100% { rotate: 0deg; scale: 1; }
  78% { rotate: -14deg; scale: 1.15; }
  86% { rotate: 12deg; scale: 1.15; }
  94% { rotate: -6deg; }
}
.btn-ig:hover .ig-ico {
  animation-duration: 0.6s;
}

/* Bila Boy -> Instagram links */
.ig-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  transition: scale 0.15s;
}
.ig-link img {
  width: 15px;
  height: 15px;
  padding: 2px;
  border-radius: 5px;
  background: linear-gradient(45deg, #fa7e1e, #d62976, #962fbf);
}
.ig-link:hover {
  scale: 1.06;
}
.job-co .ig-link {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.note-link {
  display: inline;
}
.note-link img {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 4px;
}
.note-link mark {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* =====================================================================
   v16: polish pass (impeccable + Vercel web guidelines)
   ===================================================================== */
/* sizes come from attributes for layout stability; CSS keeps aspect */
img {
  height: auto;
}
/* skip link for keyboard users */
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 300;
  font-family: var(--comic);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--cyan);
  border: 4px solid var(--ink);
  border-radius: 20px;
  padding: 8px 16px 4px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}
/* visible keyboard focus everywhere, in the comic language */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--ink);
  border-radius: 14px;
}
/* anchors land below the floating nav */
section[id] {
  scroll-margin-top: 90px;
}
/* browser surfaces themed from the palette */
::selection {
  background: var(--cyan);
  color: var(--ink);
}
html {
  scrollbar-color: var(--blue) var(--ink);
  accent-color: var(--blue);
  caret-color: var(--blue);
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 10px;
}
/* headings never leave a lonely last word */
h1, h2, h3, h4, .label, .row-head, .g-rank, .note-lead {
  text-wrap: balance;
}
p, li {
  text-wrap: pretty;
}
/* contrast fixes (WCAG AA) */
.btn-wa {
  color: var(--ink);
  text-shadow: none;
}
.btn-wa img {
  filter: brightness(0) saturate(100%) invert(6%) sepia(30%) saturate(3000%) hue-rotate(215deg);
}
.btn-ig {
  background: linear-gradient(115deg, #c13584, #833ab4 45%, #5851db);
  background-size: 250% 250%;
}
.c-item.bad,
.b-thing.rev,
.g-glitch,
.g-legend span.bad,
.card .live {
  background: #d81b3f;
}
/* lightbox: no scroll chaining behind it */
.lightbox {
  overscroll-behavior: contain;
}
/* touch targets >= 44px on touch screens */
@media (pointer: coarse) {
  .job-more,
  .nav-cv,
  .g-tab {
    min-height: 44px;
  }
  .vol-icon {
    width: 44px;
    height: 44px;
  }
}
/* notched phones: keep the volume pill clear of the home bar */
.vol {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
}
@media (max-width: 520px) {
  .vol {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}

/* =====================================================================
   v17: typography + delight (frontend-design, impeccable delight/animate)
   ===================================================================== */
@font-face {
  font-family: "Nunito";
  src: url("assets/Nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
body {
  font-family: var(--body);
  font-feature-settings: "kern", "liga";
}
.hero-line,
.quote,
.note,
.job-card,
.edu-card,
.tool,
.contact-btns .btn-main,
.addr {
  font-family: var(--body);
}
.note {
  max-width: 68ch;
}
.note p,
.hero-line {
  line-height: 1.65;
}
.job-co,
.tool,
.chip {
  font-weight: 800;
}

/* film-strip scroll progress */
.reel-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  z-index: 70;
  background: var(--ink);
  pointer-events: none;
}
.reel-progress::after {
  /* sprocket holes */
  content: "";
  position: absolute;
  inset: 2px 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 35%, transparent 38%) 0 50% / 14px 6px repeat-x;
}
.reel-fill {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.reel-icon {
  position: absolute;
  left: 0;
  top: -12px;
  width: 34px;
  height: 34px;
  filter: drop-shadow(2px 2px 0 var(--ink));
}
.reel-icon svg {
  width: 100%;
  height: 100%;
}
.nav {
  top: 18px;
}

/* the hero cartoon can be poked */
.pose-hero:hover {
  filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(3px 0 0 var(--cyan))
    drop-shadow(-3px 0 0 var(--cyan)) drop-shadow(0 -3px 0 var(--cyan)) drop-shadow(10px 10px 0 rgba(10, 16, 48, 0.45));
}

/* comic impact word at the click point */
.click-burst {
  position: fixed;
  z-index: 250;
  width: 96px;
  height: 80px;
  margin: -40px 0 0 -48px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.click-burst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.click-burst polygon {
  fill: #ffe066;
  stroke: var(--ink);
  stroke-width: 8;
  stroke-linejoin: round;
}
.click-burst b {
  position: relative;
  font-family: var(--comic);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--ink);
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 260;
  translate: -50% 160%;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 22px;
  padding: 10px 18px;
  white-space: nowrap;
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast b {
  font-family: var(--comic);
  font-weight: 400;
  font-size: 22px;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.toast.show {
  translate: -50% 0;
}
/* reel fully visible inside the strip area; toast clears the volume pill */
.reel-progress {
  height: 12px;
}
.reel-icon {
  top: 0;
  width: 26px;
  height: 26px;
}
.toast {
  bottom: max(92px, calc(env(safe-area-inset-bottom) + 80px));
}

/* =====================================================================
   v18: smoothness pass - outlines are baked into the images now, so the
   expensive stacked drop-shadow filters go; loops pause off screen.
   ===================================================================== */
.pose,
.pose-hero:hover,
.who img,
.c-hero,
.b-saikat,
.ld-pose,
video.pose {
  filter: none;
}
.pose-hero:hover {
  scale: 1.02;
  transition: scale 0.2s;
}
/* the big rotating sunbursts: GPU layer, smaller texture, frozen when off screen */
.rays-spin {
  width: 200vmax;
  height: 200vmax;
  margin: -100vmax 0 0 -100vmax;
  will-change: transform;
  backface-visibility: hidden;
}
.work .rays-spin,
.game .rays-spin {
  animation: none;
}
.offscreen .rays-spin,
.offscreen .ticker-track,
.offscreen.ticker .ticker-track,
.offscreen .rec b,
.offscreen .hero-art::before,
.offscreen .ld-bar i,
.offscreen .card .live::before,
.offscreen .btn-ig,
.offscreen .btn-ig::after,
.offscreen .ig-ico,
.offscreen .card.soon .frame,
.offscreen .card.soon .frame span {
  animation-play-state: paused;
}
.ticker-track {
  will-change: transform;
}
/* blur behind the game overlay re-renders the moving field every frame: drop it */
.g-overlay {
  backdrop-filter: none;
  background: rgba(20, 80, 255, 0.55);
}
/* the speed lines behind the hero use a mask + rotation: keep them on their own layer */
.hero-art::before {
  will-change: transform;
}
/* toast fully hidden until shown (it peeked out at the bottom during loading) */
.toast {
  opacity: 0;
  visibility: hidden;
  translate: -50% 40px;
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s, visibility 0s 0.35s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s, visibility 0s;
}
/* loader cartoon: keep its real proportions (the width attribute was stretching it) */
.ld-pose {
  width: auto;
  height: 170px;
  right: -110px;
  bottom: 30px;
}
@media (max-width: 620px) {
  .ld-pose {
    width: auto;
    height: 120px;
    right: -6px;
    top: -126px;
    bottom: auto;
  }
}
