:root {
  --ink: #05070d;
  --muted: #69707f;
  --line: rgba(8, 12, 20, 0.09);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --lavender: #8f6cff;
  --blue: #7db7ff;
  --cyan: #b8eff4;
  --rose: #f2b4d4;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(80, 94, 128, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(184, 239, 244, 0.5), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(143, 108, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, #f7fbff 0%, #f5f7fb 42%, #fdfcff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes softFloatTilt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  50% {
    transform: translate3d(0, -10px, 0) rotate(-5deg);
  }
}

@keyframes liquidDrift {
  0%,
  100% {
    border-radius: 48% 52% 42% 58%;
    transform: rotate(0deg) scale(1);
  }

  50% {
    border-radius: 54% 46% 56% 44%;
    transform: rotate(4deg) scale(1.025);
  }
}

@keyframes slowSpinOne {
  from {
    transform: rotate(-20deg);
  }

  to {
    transform: rotate(340deg);
  }
}

@keyframes slowSpinTwo {
  from {
    transform: rotate(24deg);
  }

  to {
    transform: rotate(-336deg);
  }
}

@keyframes cueLine {
  0%,
  100% {
    transform: scaleY(0.55);
    transform-origin: top;
    opacity: 0.45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes lightPulse {
  0%,
  100% {
    box-shadow: 0 0 42px rgba(169, 146, 255, 0.82);
    opacity: 0.92;
  }

  50% {
    box-shadow: 0 0 64px rgba(184, 239, 244, 0.78);
    opacity: 1;
  }
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow: 0 18px 45px rgba(57, 65, 84, 0.16);
  }

  50% {
    box-shadow: 0 20px 54px rgba(143, 108, 255, 0.22);
  }
}

.topbar {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transform: translateX(-50%);
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(74, 90, 122, 0.11);
}

.brand {
  font-size: 24px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
}

.nav-links a {
  font-size: 12px;
  font-weight: 700;
  color: #1a1e29;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--lavender);
}

.pill-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 14px 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(57, 65, 84, 0.12);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(57, 65, 84, 0.18);
}

.pill-button svg {
  width: 20px;
  height: 20px;
  padding: 5px;
  border-radius: 50%;
  background: #06080d;
  color: #fff;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.22s ease;
}

.pill-button:hover svg,
.pill-button:focus-visible svg {
  transform: translateX(2px);
}

.pill-button.dark {
  background: #05070d;
  color: #fff;
}

.pill-button.dark svg {
  background: #fff;
  color: #05070d;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(57, 65, 84, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(57, 65, 84, 0.18);
}

.icon-button svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.menu-toggle {
  display: none;
  justify-self: end;
}

.social-rail {
  position: fixed;
  left: 32px;
  top: 50%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(-50%);
  padding: 12px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(66, 78, 105, 0.12);
  backdrop-filter: blur(16px);
}

.social-rail a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 800;
}

.social-rail svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 28px;
}

.panel {
  position: relative;
  min-height: min(760px, calc(100vh - 140px));
  margin-bottom: 26px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .motion-reveal.motion-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.role {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 430px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.3vw, 78px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

h1 span,
.contact-info h2 span {
  color: var(--lavender);
}

.lead {
  max-width: 420px;
  color: #464e5d;
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.ghost-link {
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1% -2% -1% 8%;
  border-radius: 42% 58% 58% 42%;
  background:
    radial-gradient(circle at 48% 38%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(140deg, rgba(190, 230, 255, 0.82), rgba(255, 255, 255, 0.22) 48%, rgba(157, 127, 255, 0.22));
  filter: blur(3px);
  opacity: 0.94;
  transform: rotate(-7deg);
  animation: softFloatTilt 7s ease-in-out infinite;
}

.hero-visual video {
  position: relative;
  z-index: 1;
  width: min(620px, 108%);
  aspect-ratio: 0.82;
  object-fit: cover;
  border-radius: 46% 54% 50% 50%;
  opacity: 0.76;
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  animation: softFloat 8s ease-in-out infinite reverse;
  will-change: transform;
}

.liquid-mask {
  position: absolute;
  z-index: 2;
  width: min(680px, 108%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 48% 52% 42% 58%;
  background:
    radial-gradient(circle at 70% 72%, rgba(143, 108, 255, 0.52), transparent 6%),
    radial-gradient(circle at 46% 36%, rgba(255, 255, 255, 0.26), transparent 42%);
  box-shadow:
    inset 28px 28px 60px rgba(255, 255, 255, 0.34),
    inset -22px -18px 45px rgba(116, 171, 230, 0.24);
  pointer-events: none;
  animation: liquidDrift 9s ease-in-out infinite;
  will-change: transform, border-radius;
}

.play-float {
  position: absolute;
  z-index: 4;
  right: 18%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(57, 65, 84, 0.16);
  cursor: pointer;
  animation: buttonGlow 3.2s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.play-float:hover,
.play-float:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 22px 54px rgba(57, 65, 84, 0.22);
}

.play-float svg,
.round-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.scroll-cue {
  position: absolute;
  left: clamp(34px, 5vw, 70px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #151923;
}

.scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--ink), transparent);
  animation: cueLine 1.8s ease-in-out infinite;
}

.scroll-cue small {
  font-size: 11px;
  font-weight: 700;
}

.section-head {
  max-width: 560px;
  margin-bottom: 30px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2,
.contact-info h2,
.cursor-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  font-weight: 900;
}

.section-head p,
.contact-info p,
.cursor-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.works,
.image-works {
  min-height: auto;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.filter {
  min-height: 34px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #202633;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.filter:hover,
.filter:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 108, 255, 0.34);
}

.filter.active {
  background: #05070d;
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  min-height: 250px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #10151f;
  color: inherit;
  text-align: left;
  box-shadow: 0 20px 42px rgba(24, 36, 56, 0.16);
  cursor: pointer;
  outline: none;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.24s ease;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px rgba(24, 36, 56, 0.18),
    0 0 0 3px rgba(143, 108, 255, 0.18);
}

.video-card.is-hidden {
  display: none;
}

.video-card video,
.portrait-orbit video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card video {
  position: absolute;
  inset: 0;
  opacity: 0.86;
  pointer-events: none;
  transform: scale(1.01);
  transition:
    opacity 0.28s ease,
    transform 0.45s ease;
}

.video-card:hover video,
.video-card:focus-visible video {
  opacity: 0.96;
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.card-overlay h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.card-overlay span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.round-play {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #05070d;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.video-card:hover .round-play,
.video-card:focus-visible .round-play {
  transform: scale(1.08);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.modal-toggle:checked + .video-modal {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.58);
  backdrop-filter: blur(18px);
  border: 0;
  cursor: pointer;
}

.modal-player {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.9);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.modal-copy {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 4px 56px 14px 4px;
}

.modal-copy h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.modal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.modal-video {
  display: block;
  width: 100%;
  max-height: min(68vh, 680px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #05070d;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: #05070d;
  color: #fff;
  cursor: pointer;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.ios-gallery {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 24px 58px rgba(80, 94, 128, 0.12);
  backdrop-filter: blur(22px);
}

.image-tile {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(246, 250, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 12px 26px rgba(67, 82, 112, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.image-tile:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.86),
    0 18px 36px rgba(67, 82, 112, 0.14);
}

.image-tile.feature {
  grid-column: span 2;
  grid-row: span 2;
}

.image-tile.landscape {
  grid-column: span 2;
}

.image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.35s ease;
}

.image-tile:hover img {
  transform: scale(1.04);
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.info-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #404858;
  font-size: 14px;
  font-weight: 700;
}

.info-list svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.portrait-orbit {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.portrait-orbit video {
  position: relative;
  z-index: 2;
  width: min(390px, 82vw);
  height: min(390px, 82vw);
  border-radius: 50%;
  opacity: 0.85;
  filter: saturate(0.8);
  box-shadow:
    0 26px 60px rgba(51, 65, 91, 0.16),
    0 0 0 24px rgba(222, 231, 245, 0.85);
  animation: softFloat 8s ease-in-out infinite;
  will-change: transform;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(112, 127, 155, 0.28);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbit-one {
  width: 460px;
  height: 220px;
  animation: slowSpinOne 24s linear infinite;
}

.orbit-two {
  width: 320px;
  height: 120px;
  transform: rotate(24deg);
  animation: slowSpinTwo 28s linear infinite;
}

.float-next {
  position: absolute;
  z-index: 4;
  right: 9%;
  bottom: 22%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9c7cff, #6eb4ff);
  color: #fff;
  box-shadow: 0 18px 38px rgba(103, 109, 226, 0.34);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.float-next:hover,
.float-next:focus-visible {
  transform: translateX(4px);
  box-shadow: 0 22px 48px rgba(103, 109, 226, 0.44);
}

.float-next svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 0.75fr 0.9fr;
  align-items: center;
  gap: 34px;
  min-height: auto;
}

.contact-info h2 {
  margin-top: 38px;
}

.contact-info ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  color: #444d5d;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.contact-blob {
  width: min(270px, 100%);
  aspect-ratio: 0.72;
  justify-self: center;
  border-radius: 52% 48% 56% 44%;
  background:
    radial-gradient(circle at 65% 65%, rgba(143, 108, 255, 0.55), transparent 13%),
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(150deg, rgba(184, 239, 244, 0.88), rgba(255, 255, 255, 0.44), rgba(143, 108, 255, 0.24));
  box-shadow:
    inset 24px 22px 42px rgba(255, 255, 255, 0.5),
    0 22px 50px rgba(91, 116, 160, 0.16);
  animation: liquidDrift 10s ease-in-out infinite reverse;
  will-change: transform, border-radius;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(8, 12, 20, 0.05);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-form input {
  height: 50px;
  padding: 0 18px;
}

.contact-form textarea {
  min-height: 138px;
  resize: vertical;
  padding: 15px 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(143, 108, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(143, 108, 255, 0.12);
}

.contact-form .pill-button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--lavender);
  font-size: 12px;
  font-weight: 800;
}

.cursor-panel {
  position: relative;
  min-height: 420px;
  margin-bottom: 0;
  padding: 50px 58px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at var(--x, 58%) var(--y, 44%), rgba(183, 164, 255, 0.68), transparent 8%),
    radial-gradient(circle at 68% 38%, rgba(255, 255, 255, 0.2), transparent 4%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 9px),
    #050608;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.cursor-panel::before {
  content: "";
  position: absolute;
  inset: -35% -20% -30% 15%;
  background: repeating-radial-gradient(ellipse at 56% 48%, transparent 0 13px, rgba(255, 255, 255, 0.08) 14px 15px);
  transform: rotate(-12deg);
  animation: softFloatTilt 12s ease-in-out infinite;
}

.cursor-copy {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.cursor-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.cursor-light {
  position: absolute;
  left: var(--x, 58%);
  top: var(--y, 44%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #bfaeff 45%, transparent 70%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 42px rgba(169, 146, 255, 0.82);
  animation: lightPulse 2.8s ease-in-out infinite;
}

.cursor-panel footer {
  position: absolute;
  z-index: 1;
  right: 42px;
  bottom: 32px;
  left: 42px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.cursor-panel footer div {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

.menu-panel {
  position: fixed;
  inset: 18px;
  z-index: 50;
  padding: 30px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 36%, rgba(143, 108, 255, 0.26), transparent 24%),
    rgba(245, 249, 255, 0.88);
  box-shadow: 0 30px 90px rgba(39, 48, 67, 0.24);
  backdrop-filter: blur(24px);
}

.menu-panel[hidden] {
  display: none;
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
}

.menu-panel nav {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin: 70px auto 0;
}

.menu-panel nav a {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
}

.menu-panel nav a:hover {
  background: rgba(255, 255, 255, 0.82);
}

.menu-panel nav span {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1020px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    margin-left: 12px;
  }

  .hero,
  .about,
  .contact,

  .hero-visual {
    min-height: 500px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main,
  .topbar {
    width: min(100% - 28px, 1180px);
  }

  main {
    padding-top: 92px;
  }

  .topbar {
    top: 14px;
    height: 56px;
    padding: 0 14px 0 18px;
    border-radius: 16px;
  }

  .topbar > .pill-button {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .social-rail {
    display: none;
  }

  .panel {
    padding: 28px;
    border-radius: 16px;
  }

  .works {
    padding-bottom: 24px;
  }

  .works .section-head {
    margin-bottom: 20px;
  }

  .works .section-head h2 {
    margin-bottom: 8px;
  }

  .works .section-head p {
    line-height: 1.55;
  }

  .hero {
    grid-template-columns: minmax(174px, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
    align-items: center;
    min-height: min(650px, calc(100vh - 110px));
  }

  .role {
    max-width: 160px;
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.45;
  }

  h1 {
    max-width: 176px;
    margin-bottom: 18px;
    font-size: clamp(44px, 12.8vw, 52px);
    line-height: 0.98;
  }

  .lead {
    max-width: 172px;
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
  }

  .hero-actions .pill-button {
    min-height: 40px;
    padding-left: 20px;
  }

  .hero-visual {
    min-height: 440px;
    margin: -12px -18px 0 0;
    justify-items: end;
    overflow: hidden;
  }

  .hero-visual::before {
    inset: 3% -8% 4% 0;
  }

  .hero-visual video {
    width: min(285px, 100%);
  }

  .liquid-mask {
    width: min(312px, 108%);
  }

  .play-float {
    right: 11%;
    width: 50px;
    height: 50px;
  }

  .scroll-cue {
    display: none;
  }

  .video-grid,
  .masonry {
    grid-template-columns: 1fr;
  }

  .works .filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 -4px 22px;
    padding: 0 4px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .works .filters::-webkit-scrollbar,
  .video-grid::-webkit-scrollbar {
    display: none;
  }

  .works .filter {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 18px;
  }

  .video-grid {
    display: flex;
    gap: 14px;
    margin: 0 -8px;
    padding: 0 8px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .video-card {
    flex: 0 0 82%;
    min-height: 220px;
    scroll-snap-align: center;
  }

  .video-card.is-hidden {
    display: none;
  }

  .card-overlay {
    padding: 14px;
  }

  .masonry {
    display: flex;
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    padding: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .masonry::-webkit-scrollbar {
    display: none;
  }

  .image-tile,
  .image-tile.feature,
  .image-tile.landscape {
    flex: 0 0 84%;
    height: 240px;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: center;
  }

  .image-tile.landscape {
    flex-basis: 90%;
  }

  .about {
    grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    align-items: center;
  }

  .about .section-head {
    margin-bottom: 22px;
  }

  .about .section-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .info-list {
    gap: 14px;
    margin-bottom: 24px;
  }

  .info-list li {
    gap: 12px;
    font-size: 13px;
  }

  .info-list svg {
    width: 20px;
    height: 20px;
  }

  .portrait-orbit {
    min-height: 330px;
    padding-right: 12px;
    overflow: visible;
  }

  .portrait-orbit video {
    width: min(198px, calc(100% - 28px));
    height: min(198px, calc(100% - 28px));
    box-shadow:
      0 22px 48px rgba(51, 65, 91, 0.14),
      0 0 0 12px rgba(222, 231, 245, 0.78);
  }

  .orbit-one {
    width: min(218px, 98%);
    height: 104px;
  }

  .orbit-two {
    width: min(168px, 76%);
    height: 68px;
  }

  .float-next {
    right: 10%;
    bottom: 18%;
    width: 48px;
    height: 48px;
  }

  .contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    min-height: auto;
    padding-bottom: 34px;
  }

  .contact-info {
    position: relative;
    z-index: 2;
  }

  .contact-info h2 {
    max-width: 300px;
    margin: 26px 0 14px;
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.06;
  }

  .contact-info p {
    max-width: 320px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-info ul {
    gap: 9px;
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.45;
  }

  .contact-blob {
    position: absolute;
    right: 18px;
    top: 210px;
    z-index: 1;
    width: 150px;
    opacity: 0.56;
    pointer-events: none;
  }

  .contact-form {
    position: relative;
    z-index: 2;
    gap: 14px;
    width: 100%;
  }

  .contact-form input {
    height: 48px;
  }

  .contact-form textarea {
    min-height: 124px;
  }

  .contact-form input,
  .contact-form textarea {
    border-color: rgba(8, 12, 20, 0.08);
    background: rgba(255, 255, 255, 0.82);
  }

  .contact-form .pill-button {
    width: auto;
    justify-self: start;
    min-width: 150px;
    min-height: 44px;
  }

  .cursor-panel {
    min-height: 360px;
    padding: 34px 28px;
    border-radius: 16px;
  }

  .cursor-panel footer {
    right: 24px;
    left: 24px;
    flex-direction: column;
    gap: 14px;
  }

  .video-modal {
    padding: 14px;
  }

  .modal-player {
    padding: 12px;
    border-radius: 16px;
  }

  .modal-copy {
    display: block;
    padding-right: 52px;
  }

  .modal-copy p {
    margin-top: 6px;
  }

  .modal-video {
    max-height: 58vh;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
