:root {
  --bg: #030303;
  --panel: #0b0b0b;
  --line: rgba(255, 255, 255, .14);
  --muted: #858585;
  --text: #f2f2f2;
  --orange: #ff6a00;
  --gold: #d99036;
  --glow: rgba(255, 106, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 106, 0, .22), transparent 18rem),
    radial-gradient(circle at 12% 18%, rgba(0, 112, 180, .18), transparent 24rem),
    radial-gradient(circle at 82% 72%, rgba(156, 64, 255, .12), transparent 22rem),
    #030303;
  transition: background-position .18s ease;
}

body::after {
  z-index: 0;
  opacity: .38;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 106, 0, .14) 24%, transparent 32% 100%),
    linear-gradient(68deg, transparent 0 56%, rgba(0, 128, 210, .1) 62%, transparent 70% 100%);
  background-size: 180% 180%, 160% 160%;
  animation: ambientSweep 16s ease-in-out infinite alternate;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  z-index: 50;
  background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px);
  background-size: 4px 4px;
  animation: noiseDrift 1.8s steps(2, end) infinite;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .35), transparent);
  backdrop-filter: blur(10px);
  transition: background .35s ease, border-color .35s ease, height .35s ease;
  border-bottom: 1px solid transparent;
}

.topbar.scrolled {
  height: 64px;
  background: rgba(0, 0, 0, .78);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 26px;
  line-height: .9;
}

.brand span,
.hero h1 span {
  color: var(--orange);
}

.brand small {
  display: block;
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 9px;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color .25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

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

.nav a:hover::after,
.nav .active::after {
  transform: scaleX(1);
}

.more {
  border: 1px solid var(--line);
  background: transparent;
  color: #eee;
  border-radius: 999px;
  padding: 9px 18px;
}

.section {
  padding: 90px 7vw;
}

.hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 130px;
}

.planet {
  position: absolute;
  right: 16vw;
  top: 70px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b1b15, #0b0b0b 48%, #000 68%);
  box-shadow: 60px 0 80px rgba(255, 106, 0, .45), inset -40px -30px 60px #000;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 106, 0, .2);
  border-radius: 50%;
  transform: rotate(24deg);
}

.orbit-a {
  width: 860px;
  height: 180px;
  right: 4vw;
  top: 250px;
}

.orbit-b {
  width: 610px;
  height: 90px;
  right: 12vw;
  top: 335px;
}

.hero-mark {
  position: absolute;
  top: 170px;
  left: 7vw;
  color: #ddd;
  font-size: 12px;
  letter-spacing: .22em;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 88px;
  line-height: .9;
  margin: 0;
  font-weight: 900;
  letter-spacing: .03em;
}

.script {
  font-family: cursive;
  color: var(--orange);
  font-size: 36px;
  margin: 12px 0 8px;
  transform: rotate(-5deg);
  width: max-content;
}

.hero h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: .12em;
  margin: 0 0 28px;
}

.intro {
  color: #bdbdbd;
  line-height: 1.8;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  margin-right: 14px;
  margin-top: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 34px var(--glow);
}

.primary:hover {
  box-shadow: 0 0 52px rgba(255, 106, 0, .62);
}

.ghost {
  border: 1px solid var(--line);
  color: #fff;
}

.section-head {
  margin-bottom: 35px;
}

.section-head p,
.kicker {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .18em;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 6px 0;
}

.works {
  display: grid;
  place-items: center;
  padding: 76px 7vw;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 106, 0, .18), transparent 27%),
    radial-gradient(circle at 17% 35%, rgba(16, 80, 130, .36), transparent 34%),
    #030303;
  position: relative;
  overflow: hidden;
}

.works::before,
.gallery::before,
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, .035) 50%, transparent 51% 100%);
  background-size: 96px 100%;
  opacity: .16;
  animation: scanLines 10s linear infinite;
}

.gif-showcase {
  position: relative;
  width: min(100%, 1500px);
  min-height: clamp(560px, 49vw, 760px);
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .22) 72%, #000 100%),
    radial-gradient(circle at 54% 18%, rgba(255, 106, 0, .24), transparent 20%),
    #070707;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .58);
  transform-style: preserve-3d;
  isolation: isolate;
}

.gif-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .1;
  background-image: radial-gradient(circle at center, #fff 0 1px, transparent 1px);
  background-size: 5px 5px;
  z-index: 3;
}

.showcase-head {
  position: absolute;
  top: clamp(34px, 4vw, 56px);
  left: clamp(28px, 4vw, 58px);
  z-index: 4;
}

.showcase-head p,
.showcase-head h2,
.showcase-head span {
  margin: 0;
}

.showcase-head p {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: .26em;
}

.showcase-head h2 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
}

.showcase-head span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  letter-spacing: .2em;
}

.gif-matrix {
  position: absolute;
  left: clamp(28px, 3vw, 46px);
  right: clamp(28px, 3vw, 46px);
  top: 138px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: clamp(12px, 1.45vw, 24px);
  align-items: start;
}

.gif-card {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 1334;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 106, 0, .72), transparent 25%),
    linear-gradient(145deg, #1b1b1b, #050505 64%, #251000);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .42);
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0));
  transition: transform .42s ease, box-shadow .42s ease, border-color .42s ease;
  will-change: transform;
}

.gif-card:hover {
  --lift: -10px;
  box-shadow: 0 28px 64px rgba(255, 106, 0, .22), 0 18px 34px rgba(0, 0, 0, .5);
}

.gif-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: inherit;
  pointer-events: none;
}

.gif-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gif-card.is-missing video {
  display: none;
}

.gif-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.15vw, 20px);
  font-weight: 700;
  letter-spacing: .06em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
}

.card-a,
.card-c,
.card-e,
.card-g,
.card-i,
.card-k {
  --tilt: -1.5deg;
}

.card-b,
.card-d,
.card-f,
.card-h,
.card-j,
.card-l {
  --tilt: 1.25deg;
  margin-top: clamp(34px, 4.2vw, 72px);
}

.showcase-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .52) 42%, #000 92%);
}

.load-more {
  display: block;
  width: 240px;
  margin: 42px auto 0;
  padding: 16px 26px;
  border: 1px solid var(--orange);
  color: var(--orange);
  text-align: center;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about {
  background: linear-gradient(180deg, #050505, #0b0806);
  position: relative;
  overflow: hidden;
}

.orb-object {
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, #ff6a00, #1c0b02 38%, transparent 60%);
  filter: blur(.2px);
  box-shadow: 0 50px 110px rgba(255, 106, 0, .22);
  position: relative;
  animation: objectFloat 7s ease-in-out infinite alternate;
}

.orb-object::after {
  content: '';
  position: absolute;
  inset: 65px;
  border: 2px solid rgba(255, 106, 0, .32);
  border-radius: 50%;
  transform: rotate(30deg) scaleX(1.5);
}

.about-copy h2 {
  font-size: 72px;
  margin: 0 0 20px;
}

.about-copy p {
  color: #bdbdbd;
  line-height: 1.9;
}

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

.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ddd;
}

.workflow {
  background: #030303;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: linear-gradient(180deg, #090909, #050505);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.flow div {
  position: relative;
  text-align: center;
  padding: 22px 10px;
  border-radius: 12px;
  transition: background .25s ease, transform .25s ease;
}

.flow div:hover {
  background: rgba(255, 106, 0, .08);
  transform: translateY(-4px);
}

.flow div:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 43%;
  color: var(--orange);
}

.flow b {
  display: block;
  color: var(--orange);
  font-size: 20px;
}

.flow span {
  display: block;
  margin: 12px 0 8px;
}

.flow small {
  color: #858585;
}

.gift-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 106, 0, .16), transparent 28%),
    radial-gradient(circle at 76% 62%, rgba(0, 105, 190, .13), transparent 30%),
    #050505;
}

.gift-showcase__header {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}

.gift-showcase__kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.gift-showcase__header h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 700;
}

.gift-showcase__header h2 span {
  color: #ff3b30;
  text-shadow: 0 0 24px rgba(255, 59, 48, .34);
}

.gift-showcase__subtitle {
  margin: 18px auto 0;
  color: #a9a9a9;
  line-height: 1.8;
}

.gift-showcase__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  overflow-x: auto;
  padding: 4px 0 8px;
}

.gift-showcase__tabs button {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #5f5f5f;
  padding: 12px 22px;
  font: inherit;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.gift-showcase__tabs button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, .36);
}

.gift-showcase__tabs button.is-active {
  background: #161616;
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.gift-showcase__slider {
  position: relative;
}

.gift-showcase__viewport {
  position: relative;
  overflow: hidden;
  padding: 2px;
}

.gift-showcase__viewport::before,
.gift-showcase__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 6;
  width: clamp(80px, 8vw, 140px);
  pointer-events: none;
}

.gift-showcase__viewport::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(3, 9, 12, .96) 0%,
    rgba(3, 9, 12, .72) 38%,
    rgba(3, 9, 12, 0) 100%
  );
}

.gift-showcase__viewport::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(3, 9, 12, .96) 0%,
    rgba(3, 9, 12, .72) 38%,
    rgba(3, 9, 12, 0) 100%
  );
}

.gift-showcase__track {
  --gift-gap: clamp(14px, 1.55vw, 22px);
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: calc((100% - (var(--gift-gap) * 4)) / 5);
  gap: var(--gift-gap);
  transition: opacity .28s ease;
  will-change: transform;
}

.gift-showcase__track.is-switching {
  opacity: 0;
}

.gift-showcase__track.is-stepping {
  transition: opacity .28s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}

.gift-showcase__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(0, 0, 0, .52);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.gift-showcase__arrow:hover {
  background: rgba(255, 106, 0, .7);
  border-color: rgba(255, 255, 255, .36);
  box-shadow: 0 0 30px rgba(255, 106, 0, .34);
  transform: translateY(-50%) scale(1.08);
}

.gift-showcase__arrow--left {
  left: -24px;
}

.gift-showcase__arrow--right {
  right: -24px;
}

.gift-showcase__card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 750 / 1334;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: #0b0b0b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
  cursor: pointer;
}

.gift-showcase__card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 0, .44);
  box-shadow: 0 26px 68px rgba(255, 106, 0, .16), 0 18px 42px rgba(0, 0, 0, .44);
}

.gift-showcase__media,
.gift-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .42s ease;
}

.gift-showcase__media {
  object-fit: cover;
}

.gift-showcase__card:hover .gift-showcase__media,
.gift-showcase__card:hover .gift-card__cover {
  transform: scale(1.045);
}

.gift-card__cover {
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(13px, 1.1vw, 18px);
  letter-spacing: .08em;
  opacity: 1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-image:
    radial-gradient(circle at 50% 32%, rgba(255, 106, 0, .58), transparent 23%),
    radial-gradient(circle at 72% 70%, rgba(0, 132, 255, .26), transparent 24%),
    linear-gradient(150deg, #171717, #050505 58%, #251000);
  transition: opacity .35s ease, transform .42s ease;
}

.gift-card__cover[style*="background-image"] {
  background-size: cover;
  background-position: center;
}

.gift-card__cover[style*="background-image"] span {
  display: none;
}

.gift-showcase__card.is-playing .gift-card__cover {
  opacity: 0;
}

.gift-showcase__card.is-video-error .gift-showcase__media {
  display: none;
}

.gift-showcase__card.is-video-error .gift-card__cover {
  opacity: 1;
}

.gift-showcase__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  font-size: 12px;
  padding: 7px 10px;
  backdrop-filter: blur(10px);
}

.gift-showcase__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 64px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
}

.gift-showcase__meta h3 {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.2;
}

.gift-showcase__meta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.55;
}

.annual-gala {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 106, 0, .13), transparent 28%),
    radial-gradient(circle at 80% 72%, rgba(0, 105, 190, .12), transparent 30%),
    #050505;
}

.annual-gala::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: radial-gradient(circle at center, #fff 0 1px, transparent 1px);
  background-size: 5px 5px;
}

.annual-gala__header,
.annual-gala__overview,
.annual-gala__series {
  position: relative;
  z-index: 1;
}

.annual-gala__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.annual-gala__kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.annual-gala__header h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.annual-gala__header span {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.annual-gala__overview {
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(320px, .7fr);
  gap: clamp(32px, 4.2vw, 56px);
  align-items: start;
}

.annual-gala__intro {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(145deg, rgba(12, 12, 12, .88), rgba(7, 7, 7, .62));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.annual-gala__intro p {
  margin: 0 0 18px;
  color: #b6b6b6;
  line-height: 1.9;
}

.annual-gala__thumb-card {
  position: relative;
  width: 240px;
  height: 240px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(235, 235, 235, .62);
  letter-spacing: .08em;
  font-weight: 700;
  line-height: 1.45;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 106, 0, .28), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

.annual-gala__thumb-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease, transform .45s ease;
}

.annual-gala__thumb-card.is-loaded img {
  opacity: 1;
}

.annual-gala__thumb-card.is-loaded span {
  opacity: 0;
}

.annual-gala__thumb-card.is-missing img {
  display: none;
}

.annual-gala__thumb-card:hover img {
  transform: scale(1.04);
}

.annual-gala__hero-showcase,
.annual-gala__cards {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
}

.annual-gala__hero-showcase {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.annual-gala-card--large {
  width: clamp(320px, 26vw, 420px);
  max-width: 100%;
}

.annual-gala__series {
  margin-top: 58px;
}

.annual-gala__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 8px;
}

.annual-gala__tabs button {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .58);
  padding: 12px 22px;
  font: inherit;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

.annual-gala__tabs button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, .36);
}

.annual-gala__tabs button.is-active {
  background: #161616;
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.annual-gala__series-copy {
  max-width: 760px;
  margin: 26px auto 28px;
  text-align: center;
  transition: opacity .28s ease, transform .28s ease;
}

.annual-gala__series-copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 38px);
}

.annual-gala__series-copy p {
  margin: 12px 0 0;
  color: #a9a9a9;
  line-height: 1.8;
}

.annual-gala__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
  transition: opacity .28s ease, transform .28s ease;
}

.annual-gala__cards.is-switching,
.annual-gala__series-copy.is-switching {
  opacity: 0;
  transform: translateY(12px);
}

.annual-gala__card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 750 / 1334;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: #0b0b0b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  cursor: pointer;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.annual-gala__card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 0, .44);
  box-shadow: 0 26px 68px rgba(255, 106, 0, .16), 0 18px 42px rgba(0, 0, 0, .44);
}

.annual-gala__video,
.annual-gala__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .42s ease;
}

.annual-gala__video {
  object-fit: cover;
}

.annual-gala__cover {
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(13px, 1.1vw, 18px);
  letter-spacing: .08em;
  opacity: 1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-image:
    radial-gradient(circle at 50% 32%, rgba(255, 106, 0, .52), transparent 23%),
    radial-gradient(circle at 72% 70%, rgba(0, 132, 255, .24), transparent 24%),
    linear-gradient(150deg, #171717, #050505 58%, #251000);
  transition: opacity .35s ease, transform .42s ease;
}

.annual-gala__cover[style*="background-image"] span {
  display: none;
}

.annual-gala__card:hover .annual-gala__video,
.annual-gala__card:hover .annual-gala__cover {
  transform: scale(1.045);
}

.annual-gala__card.is-playing .annual-gala__cover {
  opacity: 0;
}

.annual-gala__card.is-video-error .annual-gala__video {
  display: none;
}

.annual-gala__card.is-video-error .annual-gala__cover {
  opacity: 1;
}

.annual-gala__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  font-size: 12px;
  padding: 7px 10px;
  backdrop-filter: blur(10px);
}

.annual-gala__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 64px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
}

.annual-gala__meta h3 {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.2;
}

.annual-gala__meta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.55;
}

.gallery {
  position: relative;
  overflow: hidden;
}

.gallery-carousel {
  position: relative;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.gallery-track {
  display: flex;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.gallery-frame {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #070915;
  box-shadow: inset 0 0 80px rgba(255, 106, 0, .09), 0 28px 70px rgba(0, 0, 0, .35);
}

.gallery-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 78%, rgba(87, 46, 154, .34), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(37, 94, 168, .28), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .03), transparent 42%);
}

.gallery-frame span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .4);
  font-size: 18px;
  letter-spacing: .04em;
  text-align: center;
  padding: 24px;
}

.gallery-frame[style*="background-image"] span {
  display: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.gallery-nav:hover {
  background: rgba(255, 106, 0, .78);
  border-color: rgba(255, 255, 255, .38);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav.prev {
  left: 18px;
}

.gallery-nav.next {
  right: 18px;
}

.placeholder {
  background:
    radial-gradient(circle at 55% 30%, rgba(255, 106, 0, .65), transparent 23%),
    linear-gradient(135deg, #121212, #050505 60%, #261000);
}

.resume {
  grid-template-columns: .7fr 1.3fr;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: #080808;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.timeline article:hover {
  transform: translateX(8px);
  border-color: rgba(255, 106, 0, .42);
  background: #0c0c0c;
}

.timeline .current {
  border-color: rgba(255, 106, 0, .5);
  background: linear-gradient(135deg, rgba(255, 106, 0, .17), #080808);
}

.timeline time {
  color: var(--orange);
}

.timeline h3 span {
  color: #b8b8b8;
  font-weight: 400;
}

.timeline p {
  color: #aaa;
  line-height: 1.8;
  margin: 8px 0 0;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px;
  background: linear-gradient(135deg, #090909, #050505 70%, rgba(255, 106, 0, .16));
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: -45% auto auto -20%;
  width: 45%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  transform: rotate(18deg);
  animation: sheen 7s ease-in-out infinite;
}

.contact-card h2 {
  font-size: 42px;
  margin: 0 0 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.contact-grid div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-grid span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: .14em;
}

.contact-grid a,
.contact-grid p {
  color: #fff;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 7vw;
  border-top: 1px solid var(--line);
  color: #888;
}

.footer a {
  color: #aaa;
  text-decoration: none;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox button {
  position: absolute;
  top: 26px;
  right: 34px;
  background: none;
  border: 0;
  color: white;
  font-size: 40px;
}

.lightbox img,
.lightbox video {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.magnetic-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
}

@keyframes ambientSweep {
  0% { background-position: 0% 50%, 100% 50%; }
  100% { background-position: 100% 50%, 0% 50%; }
}

@keyframes noiseDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(2px, -2px, 0); }
}

@keyframes scanLines {
  0% { background-position-x: 0; }
  100% { background-position-x: 96px; }
}

@keyframes objectFloat {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes sheen {
  0%, 42% { transform: translateX(-120%) rotate(18deg); }
  70%, 100% { transform: translateX(340%) rotate(18deg); }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .planet {
    right: -160px;
    opacity: .55;
  }

  .split,
  .contact-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .flow div:not(:last-child)::after {
    display: none;
  }

  .section {
    padding: 70px 5vw;
  }

  .works {
    padding: 56px 16px;
  }

  .topbar {
    padding: 0 5vw;
  }

  .about-copy h2 {
    font-size: 44px;
  }

  .gift-showcase__grid {
    grid-auto-columns: calc((100% - (var(--gift-gap) * 3)) / 4);
  }

  .annual-gala__overview {
    grid-template-columns: 1fr;
  }

  .annual-gala__hero-showcase {
    justify-content: center;
  }

  .annual-gala-card--large {
    width: clamp(300px, 44vw, 400px);
  }

  .annual-gala__cards {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    max-width: none;
    padding-bottom: 8px;
  }
}

@media (max-width: 760px) {
  .gift-showcase__grid {
    grid-auto-columns: calc((100% - (var(--gift-gap) * 2)) / 3);
  }

  .annual-gala__header {
    display: block;
  }

  .annual-gala__header span {
    display: block;
    margin-top: 12px;
  }

  .annual-gala__cards {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 44px;
  }

  .script {
    font-size: 28px;
  }

  .brand {
    font-size: 20px;
  }

  .more {
    display: none;
  }

  .showcase-head {
    top: 36px;
    left: 28px;
  }

  .showcase-head h2 {
    font-size: 28px;
  }

  .gif-showcase {
    min-height: 680px;
  }

  .gif-matrix {
    top: 124px;
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .card-b,
  .card-d,
  .card-f,
  .card-h,
  .card-j,
  .card-l {
    margin-top: 28px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .gift-showcase__header {
    text-align: left;
  }

  .gift-showcase__tabs {
    justify-content: flex-start;
  }

  .gift-showcase__grid {
    grid-template-rows: auto;
    grid-auto-columns: minmax(210px, 72vw);
  }

  .annual-gala__header h2 {
    font-size: 34px;
  }

  .annual-gala__cards {
    display: flex;
    overflow-x: auto;
    gap: 16px;
  }

  .annual-gala__card {
    flex: 0 0 min(72vw, 260px);
  }

  .annual-gala-card--large {
    flex: 0 0 min(100%, 340px);
    width: min(100%, 340px);
  }

  .annual-gala__thumb-card {
    width: 200px;
    height: 200px;
  }

  .annual-gala__tabs {
    justify-content: flex-start;
  }

  .gift-showcase__arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .gift-showcase__arrow--left {
    left: 8px;
  }

  .gift-showcase__arrow--right {
    right: 8px;
  }

  .footer {
    display: block;
    line-height: 2;
  }
}
