:root {
  --bg: #eef5ff;
  --bg-2: #f7fbff;
  --ink: #05101f;
  --muted: #5b6a7d;
  --soft-ui: #dceaff;
  --panel: #071225;
  --panel-2: #0b1d3d;
  --blue: #1268ff;
  --blue-2: #2bb8ff;
  --blue-3: #7ec8ff;
  --white: #ffffff;
  --line: rgba(5, 16, 31, 0.12);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-ui: 420ms;
  --t-section: 900ms;
  --font-main: "Helvetica Neue", Arial, sans-serif;
  --h-mega: clamp(58px, 8vw, 148px);
  --h-section: clamp(40px, 5.1vw, 92px);
  --h-card: clamp(36px, 4.3vw, 76px);
  --body: clamp(18px, 1.45vw, 27px);
  --meta: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(43, 184, 255, 0.18), transparent 25vw),
    linear-gradient(180deg, var(--bg), var(--bg-2) 52%, var(--bg));
  overflow-x: hidden;
  cursor: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--white));
  box-shadow: 0 0 22px rgba(18, 104, 255, 0.6);
  transform-origin: left;
  pointer-events: none;
}

.cursor-dot,
.cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
}

.cursor-halo {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  transition: width var(--t-ui) var(--ease-out), height var(--t-ui) var(--ease-out), opacity var(--t-ui) var(--ease-out);
}

body.cursor-active .cursor-halo {
  width: 74px;
  height: 74px;
  opacity: 0.72;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.48;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 20%), rgba(43, 184, 255, 0.22), transparent 24vw),
    linear-gradient(rgba(5, 16, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 16, 31, 0.04) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 700ms steps(2) infinite;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

.site-header {
  position: fixed;
  left: clamp(18px, 5vw, 96px);
  right: clamp(18px, 5vw, 96px);
  top: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  backdrop-filter: blur(18px);
}

.logo-mark {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, #001e62, var(--blue), var(--blue-2), #001e62);
  position: relative;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.42), 0 10px 26px rgba(18, 104, 255, 0.24);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px 5px;
  border-radius: 999px;
  background: var(--white);
  transform: rotate(-28deg);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-pill,
.btn-circle,
.menu-close {
  border: 0;
  cursor: pointer;
  transition: transform var(--t-ui) var(--ease-out), background var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.magnetic {
  position: relative;
}

.magnetic::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.32), transparent 34%);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
  pointer-events: none;
}

.magnetic:hover::after {
  opacity: 1;
}

.btn-pill {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn-circle {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft-ui);
}

.btn-circle span {
  width: 20px;
  height: 20px;
  display: block;
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: relative;
}

.btn-circle span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: -7px;
  width: 32px;
  height: 2px;
  background: var(--ink);
  transform: rotate(-18deg);
}

.btn-dark {
  background: #071225;
  color: var(--white);
}

.btn-soft {
  background: var(--soft-ui);
  color: var(--ink);
}

.btn-pill:hover,
.btn-circle:hover,
.menu-close:hover {
  transform: scale(1.04);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(5, 16, 31, 0.94);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-ui) var(--ease-out), visibility var(--t-ui) var(--ease-out);
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: clamp(18px, 5vw, 96px);
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.overlay-links {
  display: grid;
  gap: 10px;
  text-align: center;
}

.overlay-links a {
  position: relative;
  font-size: clamp(48px, 9vw, 136px);
  line-height: 0.95;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out), color var(--t-fast) ease;
}

.overlay-links a::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.03em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-ui) var(--ease-out);
}

.menu-overlay.is-open .overlay-links a {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.is-open .overlay-links a:nth-child(2) {
  transition-delay: 70ms;
}

.menu-overlay.is-open .overlay-links a:nth-child(3) {
  transition-delay: 140ms;
}

.menu-overlay.is-open .overlay-links a:nth-child(4) {
  transition-delay: 210ms;
}

.overlay-links a:hover {
  color: var(--blue-3);
}

.overlay-links a:hover::after {
  transform: scaleX(1);
}

.hero,
.page-section,
.footer {
  width: min(100% - clamp(36px, 10vw, 192px), 1760px);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: clamp(128px, 16vh, 184px) 0 60px;
  display: grid;
  align-content: end;
}

.meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--meta);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mega-title {
  max-width: 1550px;
  margin: 0 auto 48px;
  font-size: var(--h-mega);
  font-weight: 430;
  line-height: 0.95;
  text-align: center;
}

.hero-stage,
.reel-panel,
.work-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--panel);
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 650ms var(--ease-out), box-shadow 650ms var(--ease-out);
}

.tilt-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(126, 200, 255, 0.24), transparent 24%),
    linear-gradient(115deg, transparent 16%, rgba(255,255,255,0.16) 34%, transparent 52%);
  opacity: 0;
  transition: opacity var(--t-ui) var(--ease-out);
  pointer-events: none;
}

.tilt-surface:hover::before {
  opacity: 1;
}

.tilt-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 16, 31, 0.16));
  pointer-events: none;
}

.hero-stage {
  height: min(72vh, 830px);
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 34px 80px rgba(13, 56, 124, 0.2);
}

.hero-stage:hover {
  box-shadow: 0 46px 110px rgba(13, 56, 124, 0.3);
}

.stage-aura {
  position: absolute;
  inset: 10%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,184,255,0.22), transparent 58%);
  filter: blur(12px);
  animation: auraPulse 5.4s ease-in-out infinite;
  pointer-events: none;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.stage-label {
  position: absolute;
  bottom: 24px;
  z-index: 2;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 40px);
  transition: transform var(--t-ui) var(--ease-out);
}

.marquee-band {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(14px);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(30px, 5vw, 92px);
  padding: 22px 0;
  animation: marqueeMove 28s linear infinite;
}

.marquee-track span {
  color: rgba(5, 16, 31, 0.62);
  font-size: clamp(22px, 3.2vw, 54px);
  font-weight: 430;
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: var(--blue);
}

.stage-label-left {
  left: 24px;
}

.stage-label-right {
  right: 24px;
}

.page-section {
  padding: clamp(80px, 11vw, 170px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.section-title {
  margin: 0;
  font-size: var(--h-section);
  font-weight: 430;
  line-height: 0.98;
}

.intro-copy p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.28;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.reel-panel {
  min-height: 620px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(43, 184, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #02122d, #105be8 52%, #02122d);
}

.reel-panel h2 {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: clamp(44px, 8.5vw, 138px);
  font-weight: 430;
  line-height: 0.92;
  text-align: center;
  mix-blend-mode: screen;
}

.play-button {
  position: relative;
  z-index: 3;
  width: clamp(118px, 14vw, 190px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.play-button::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.section-head {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 52px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 82px) clamp(22px, 4vw, 62px);
}

.work-card {
  cursor: pointer;
}

.work-media {
  aspect-ratio: 1.55 / 1;
  margin-bottom: 20px;
  border: 1px solid rgba(5, 16, 31, 0.12);
  background: var(--panel-2);
  transition: transform var(--t-section) var(--ease-out);
}

.work-card:hover .work-media {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px) scale(1.025);
}

.work-card h3 {
  margin: 0;
  font-size: var(--h-card);
  font-weight: 430;
  line-height: 0.96;
  transition: transform var(--t-ui) var(--ease-out);
}

.work-card:hover h3 {
  transform: translateX(10px);
}

.corner-mark {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 30px;
  height: 30px;
  border-top: 2px solid rgba(255,255,255,0.72);
  border-right: 2px solid rgba(255,255,255,0.72);
  animation: cornerScan 2.8s ease-in-out infinite;
}

.corner-mark::before,
.corner-mark::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.72);
}

.corner-mark::before {
  width: 14px;
  height: 2px;
  top: 12px;
  right: -8px;
}

.corner-mark::after {
  width: 2px;
  height: 14px;
  top: -8px;
  right: 12px;
}

.statement {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.statement .mega-title {
  margin-bottom: 36px;
}

.footer {
  padding: clamp(70px, 10vw, 150px) 0 38px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 8%;
  width: 44vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 104, 255, 0.16), transparent 64%);
  animation: footerGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 72px;
}

.footer-main h2 {
  max-width: 980px;
  margin: 0 0 30px;
  font-size: clamp(46px, 7.5vw, 128px);
  font-weight: 430;
  line-height: 0.94;
}

.footer-mail {
  display: inline-block;
  color: var(--blue);
  font-size: clamp(22px, 2.5vw, 42px);
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: var(--meta);
  font-weight: 800;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.newsletter label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newsletter input,
.newsletter button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
}

.newsletter input {
  width: 100%;
  padding: 0 18px;
  background: var(--soft-ui);
  color: var(--ink);
  outline: none;
}

.newsletter button {
  padding: 0 22px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
}

.copyright {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.reveal,
.reveal-panel {
  opacity: 0;
  transform: translateY(54px);
}

.text-split .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em) rotateX(64deg);
  transform-origin: 50% 100%;
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out), color 760ms var(--ease-out);
  transition-delay: calc(var(--word-index, 0) * 28ms);
}

.text-split.is-visible .word,
.is-visible .text-split .word,
.work-card.is-visible .word,
.reel-panel.is-visible .word {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.mega-title .word:nth-child(3n),
.section-title .word:nth-child(4n) {
  color: color-mix(in srgb, var(--ink) 82%, var(--blue));
}

.reveal-panel {
  transform: translateY(70px) scale(0.985);
}

.is-visible.reveal {
  animation: revealText var(--t-section) var(--ease-out) forwards;
}

.is-visible.reveal-panel {
  animation: revealPanel 1100ms var(--ease-out) forwards;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealPanel {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(0, 0); }
}

@keyframes auraPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes cornerScan {
  0%, 100% {
    opacity: 0.48;
    transform: translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-6px, 6px);
  }
}

@keyframes footerGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-6%, 8%, 0) scale(1.14);
  }
}

@media (max-width: 980px) {
  .site-header {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .header-actions {
    gap: 7px;
  }

  .btn-circle,
  .btn-pill,
  .logo {
    min-height: 48px;
  }

  .btn-circle {
    width: 48px;
    height: 48px;
  }

  .btn-pill {
    padding: 0 18px;
    font-size: 12px;
  }

  .hero,
  .page-section,
  .footer {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 116px;
  }

  .mega-title {
    text-align: left;
  }

  .hero-stage {
    min-height: 480px;
    height: 66vh;
  }

  .intro,
  .section-head,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .logo {
    padding-right: 14px;
  }

  .btn-circle,
  .btn-dark {
    display: none;
  }

  .hero-stage {
    min-height: 420px;
    height: 68vh;
    border-radius: 14px;
  }

  .stage-label {
    bottom: 14px;
    font-size: 10px;
  }

  .stage-label-left {
    left: 14px;
  }

  .stage-label-right {
    right: 14px;
  }

  .reel-panel {
    min-height: 500px;
    border-radius: 14px;
  }

  .reel-panel h2 {
    left: 18px;
    right: 18px;
    font-size: 48px;
  }

  .work-media {
    border-radius: 14px;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .cursor-dot,
  .cursor-halo {
    display: none;
  }

  body {
    cursor: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .reveal-panel {
    opacity: 1;
    transform: none;
  }
}
