/* Create With Hibee — glossy, energetic, video first. Navy ground, mint accent (the colours of the old portfolio). */
:root {
  --bg: #050816;
  --panel: #0c1228;
  --line: rgba(255, 255, 255, .1);
  --ink: #f4f7ff;
  --soft: #a9b3d1;
  --mint: #2ef2b0;
  --blue: #3d7bff;
  --violet: #9a5cff;
  --grad: linear-gradient(110deg, var(--mint), #36c9ff 45%, var(--violet));
  --m: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --r: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Clash Display", "Satoshi", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; position: relative;
  background: var(--bg); color: var(--ink);
  font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.55 "Satoshi", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--bg); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.1; }
.hot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.chip {
  display: inline-block; padding: 7px 14px; margin-bottom: 20px;
  border: 1px solid rgba(46, 242, 176, .35); border-radius: 99px;
  background: rgba(46, 242, 176, .08); color: var(--mint);
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.meta { color: var(--soft); font-size: .9rem; margin-top: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 99px;
  background: var(--mint); color: #03110c; font-weight: 700; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(46, 242, 176, .5), 0 10px 40px -8px rgba(46, 242, 176, .55);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 6px rgba(46, 242, 176, .14), 0 16px 50px -8px rgba(46, 242, 176, .7); }
.btn:active { transform: scale(.97); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .12); }
.btn--dark { background: #050816; color: var(--ink); box-shadow: 0 14px 40px -10px rgba(5, 8, 22, .8); }
.btn--dark:hover { box-shadow: 0 18px 50px -10px rgba(5, 8, 22, .9); }
.tri { border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* light in the room */
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.glow--a { top: -220px; right: -160px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(61, 123, 255, .5), transparent 65%); }
.glow--b { top: 380px; left: -260px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(154, 92, 255, .3), transparent 65%); }

/* ───────── Navigation ───────── */
.nav {
  position: sticky; top: 12px; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  width: min(var(--max), 100% - 2 * var(--m)); margin: 12px auto 0; padding: 8px 8px 8px 22px;
  border: 1px solid var(--line); border-radius: 99px;
  background: rgba(8, 12, 30, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav__mark { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-right: auto; white-space: nowrap; }
.nav__mark span { color: var(--mint); }
.nav__links { display: flex; gap: 18px; font-size: .95rem; color: var(--soft); }
.nav__links a { padding: 10px 0; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* ───────── First screen ───────── */
.hero {
  width: min(var(--max), 100% - 2 * var(--m)); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}
.hero__sub { margin: 24px 0 32px; max-width: 46ch; font-size: 1.15em; color: var(--soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.fan { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; margin: 0 auto; perspective: 1400px; }
.fan__orb { position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(46, 242, 176, .55), rgba(61, 123, 255, .35) 45%, transparent 70%); filter: blur(60px); animation: pulse 6s ease-in-out infinite; }
.fan__card {
  position: absolute; overflow: hidden; border-radius: 22px; background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .75), 0 0 60px -20px rgba(61, 123, 255, .6);
  transform: var(--tf);
  animation: float 7s ease-in-out infinite;
}
.fan__card--mid { left: 31%; top: 2%; width: 40%; aspect-ratio: 9 / 16; --tf: rotateY(0deg); z-index: 3; }
.fan__card--left { left: 2%; top: 12%; width: 33%; aspect-ratio: 9 / 16; --tf: rotateY(24deg) rotateZ(-4deg); z-index: 2; animation-delay: -2.3s; filter: brightness(.85); }
.fan__card--right { right: 2%; top: 12%; width: 33%; aspect-ratio: 9 / 16; --tf: rotateY(-24deg) rotateZ(4deg); z-index: 2; animation-delay: -4.1s; filter: brightness(.85); }
.fan__card--wide { left: 4%; bottom: 2%; width: 52%; aspect-ratio: 16 / 9; --tf: rotateY(14deg) rotateX(6deg) rotateZ(-3deg); z-index: 4; border-radius: 16px; animation-delay: -1.2s; }
@keyframes float { 0%, 100% { transform: var(--tf) translateY(0); } 50% { transform: var(--tf) translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* ───────── Ticker ───────── */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 18px 0; }
.ticker__run { display: flex; align-items: center; gap: 36px; width: max-content; animation: slide 28s linear infinite; font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 1rem + 1vw, 1.7rem); white-space: nowrap; }
.ticker__run i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.sec { width: min(var(--max), 100% - 2 * var(--m)); margin: 0 auto; padding-top: clamp(88px, 11vw, 150px); scroll-margin-top: 20px; }
.sec__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head h2 + p { margin-top: 18px; color: var(--soft); font-size: 1.08em; }

.grid { display: grid; gap: clamp(12px, 1.6vw, 22px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ───────── Launch films ───────── */
.stage__screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 50px 120px -30px rgba(61, 123, 255, .55), 0 0 0 1px rgba(46, 242, 176, .12);
}
.stage__film { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.stage__film.is-on { opacity: 1; }
.stage__info { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 4px; }
.stage__info p[data-line] { margin-top: 10px; max-width: 62ch; color: var(--soft); }
.stage__play { flex: none; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.thumb { border-radius: 14px; overflow: hidden; background: var(--panel); border: 2px solid transparent; opacity: .6; transition: opacity .25s, transform .3s var(--ease), border-color .25s, box-shadow .25s; }
.thumb img { aspect-ratio: 16 / 9; height: auto; }
.thumb span { display: block; padding: 10px 12px; font-weight: 700; font-size: .95rem; }
.thumb:hover { opacity: 1; transform: translateY(-4px); }
.thumb.is-on { opacity: 1; border-color: var(--mint); box-shadow: 0 0 34px -6px rgba(46, 242, 176, .6); }

/* ───────── Clips (vertical films) ───────── */
.clip {
  position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 9 / 16; border-radius: var(--r);
  background: var(--panel); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.clip video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.clip video.is-playing { opacity: 1; }
.clip::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3, 6, 18, .92)); pointer-events: none; }
.clip__label { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.clip__label b { font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, .8rem + .5vw, 1.25rem); line-height: 1.1; }
.clip__label small { color: var(--soft); font-size: .82rem; }
.clip__kind { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(5, 8, 22, .7); border: 1px solid rgba(255, 255, 255, .2); font-size: .78rem; font-weight: 700; color: var(--mint); }
.clip__play {
  position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(5, 8, 22, .6); border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .25s, transform .3s var(--ease);
}
.clip__play::before { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.clip:hover, .clip:focus-visible { border-color: rgba(46, 242, 176, .7); box-shadow: 0 30px 70px -20px rgba(46, 242, 176, .45); }
.clip:hover .clip__play, .clip:focus-visible .clip__play { background: var(--mint); transform: scale(1.12); }
.clip:hover .clip__play::before, .clip:focus-visible .clip__play::before { border-left-color: #03110c; }
.clip--banner { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.clip--banner img, .clip--banner video { object-position: 50% 30%; }
.clip--wide { grid-column: span 2; aspect-ratio: auto; height: 100%; }
.grid--6 .clip { border-radius: 14px; }
.grid--6 .clip__label { left: 10px; right: 10px; bottom: 10px; flex-direction: column; gap: 2px; }

/* ───────── Services ───────── */
.svc {
  position: relative; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(61, 123, 255, .16), rgba(12, 18, 40, .6) 55%);
  border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s;
}
.svc::before { content: ""; display: block; width: 44px; height: 6px; border-radius: 6px; background: var(--grad); margin-bottom: 26px; box-shadow: 0 0 20px rgba(46, 242, 176, .6); }
.svc:hover { transform: translateY(-6px); border-color: rgba(46, 242, 176, .5); }
.svc p { margin-top: 14px; color: var(--soft); }

/* ───────── Contact ───────── */
.cta {
  position: relative; overflow: hidden; border-radius: clamp(22px, 3vw, 36px);
  padding: clamp(36px, 6vw, 84px); background: var(--grad); color: #03110c;
  box-shadow: 0 50px 120px -40px rgba(46, 242, 176, .6);
}
.cta h2 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.8rem); max-width: 14ch; }
.cta > p { margin: 18px 0 32px; font-size: 1.15em; font-weight: 500; max-width: 40ch; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cta__link { font-weight: 700; padding: 12px 0; border-bottom: 2px solid rgba(3, 17, 12, .35); transition: border-color .2s; }
.cta__link:hover { border-color: #03110c; }

/* ───────── Footer ───────── */
.foot { width: min(var(--max), 100% - 2 * var(--m)); margin: 0 auto; padding: 64px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; color: var(--soft); font-size: .88rem; }
.foot__mark { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.foot__mark span { color: var(--mint); }
.foot p:last-child { max-width: 60ch; }

/* ───────── Player ───────── */
.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.player::backdrop { background: rgba(3, 5, 14, .92); }
.player video { width: auto; height: auto; max-width: 92vw; max-height: 82svh; background: #000; border-radius: 16px; box-shadow: 0 0 120px -20px rgba(61, 123, 255, .7); }
.player.is-tall video { height: 82svh; }
.player.is-wide video { width: min(92vw, 146svh); }
.player__close { display: block; margin: 0 0 12px auto; min-height: 44px; padding: 0 6px; font-weight: 700; color: var(--ink); }
.player__close:hover { color: var(--mint); }

/* ───────── Entrances ───────── */
.js [data-rise] { opacity: 0; translate: 0 34px; scale: .97; transition: opacity .7s ease, translate .8s var(--ease), scale .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-rise].in { opacity: 1; translate: 0 0; scale: 1; }
.js .hero__text > * { animation: arrive .9s var(--ease) both; }
.js .hero__text > :nth-child(2) { animation-delay: .08s; }
.js .hero__text > :nth-child(3) { animation-delay: .16s; }
.js .hero__text > :nth-child(4) { animation-delay: .24s; }
@keyframes arrive { from { opacity: 0; translate: 0 30px; } }

/* ───────── Narrower screens ───────── */
@media (max-width: 1100px) {
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
  .grid--6 .clip { border-radius: var(--r); }
}
@media (max-width: 1140px) {
  .nav__links { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .fan { max-width: 480px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .clip--wide { grid-column: span 2; aspect-ratio: 16 / 9; height: auto; }
  .clip--banner { aspect-ratio: 16 / 9; }
  .grid--3 { grid-template-columns: 1fr; }
  .stage__info { flex-direction: column; align-items: flex-start; gap: 20px; }
  .thumbs { grid-template-columns: repeat(6, minmax(132px, 1fr)); overflow-x: auto; margin: 0 calc(-1 * var(--m)); padding: 6px var(--m) 14px; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .nav { padding-left: 16px; }
  .nav__mark { font-size: 1rem; }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { flex: 1 1 auto; }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .cta__row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; translate: none; scale: 1; }
}
