:root {
  --bg: #0f0f0f;
  --surface: #171717;
  --surface-2: #202020;
  --accent-primary: #D86BFF;
  --accent-soft: rgba(216, 107, 255, 0.18);
  --accent-strong: rgba(216, 107, 255, 0.48);
  --accent-purple: #6C63FF;
  --accent-lavender: #8A6DFF;
  --accent-violet: #B06CFF;
  --accent-pink-violet: #D86BFF;
  --accent-pink: #FF8FB8;
  --accent-peach: #FFB38A;
  --accent-blue: #7EC8FF;
  --accent-gradient: linear-gradient(135deg, #6C63FF 0%, #B06CFF 25%, #FF8FB8 55%, #FFB38A 80%, #7EC8FF 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(108, 99, 255, 0.14), rgba(216, 107, 255, 0.11), rgba(255, 143, 184, 0.09), rgba(126, 200, 255, 0.1));
  --accent-gradient-muted: linear-gradient(135deg, rgba(108, 99, 255, 0.38), rgba(176, 108, 255, 0.34), rgba(255, 143, 184, 0.3), rgba(126, 200, 255, 0.28));
  --accent-text-gradient: linear-gradient(135deg, #A9A4FF, #D8AEFF, #FFC1D7, #BFE6FF);
  --accent-border: rgba(176, 108, 255, 0.28);
  --accent-glow: 0 12px 30px rgba(108, 99, 255, 0.08), 0 0 20px rgba(216, 107, 255, 0.075), 0 0 24px rgba(126, 200, 255, 0.055);
  --accent-glow-soft: 0 8px 22px rgba(108, 99, 255, 0.055), 0 0 14px rgba(216, 107, 255, 0.055), 0 0 18px rgba(126, 200, 255, 0.045);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --danger: #ff7b7b;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --premium-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --card-hover-shadow: 0 28px 74px rgba(0, 0, 0, 0.36), 0 0 26px rgba(216, 107, 255, 0.12), 0 0 34px rgba(126, 200, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --max: 1320px;
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: auto;
  scroll-padding-top: 88px;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth,
html.native-smooth-scroll {
  scroll-behavior: auto !important;
}

html.lenis.lenis-smooth [data-lenis-prevent],
html.lenis.lenis-smooth .modal,
html.lenis.lenis-smooth .lightbox-viewer,
html.lenis.lenis-smooth .modal__panel,
html.lenis.lenis-smooth .portfolio-expanded__body {
  overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

html.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(108, 99, 255, 0.09), transparent 32rem),
    linear-gradient(180deg, #0b0b0b 0%, var(--bg) 42%, #080808 100%);
  color: var(--white);
  letter-spacing: 0;
}

body.is-loading {
  overflow: hidden;
}

img,
iframe,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

::selection {
  background: rgba(176, 108, 255, 0.32);
  color: var(--white);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.spotlight {
  position: fixed;
  width: 26rem;
  height: 26rem;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(216, 107, 255, 0.16), rgba(126, 200, 255, 0.08), transparent 62%);
  filter: blur(8px);
  will-change: transform;
}

.cursor-dot,
.cursor-ring {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 140;
  pointer-events: none;
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

.cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-gradient);
  box-shadow: 0 0 22px rgba(216, 107, 255, 0.42), 0 0 34px rgba(126, 200, 255, 0.26);
}

.cursor-ring {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(176, 108, 255, 0.78);
  box-shadow: 0 0 26px rgba(108, 99, 255, 0.18);
  mix-blend-mode: difference;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background: #090909;
  transition: opacity 900ms var(--ease), visibility 900ms var(--ease);
}

.loader.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.loader__inner {
  position: relative;
  width: min(84vw, 640px);
  text-align: center;
}

.loader__title {
  margin: 0 0 1.5rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.82;
}

.loader__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.loader__bar {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.loader__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, transparent, #6C63FF, #D86BFF, #FF8FB8, #7EC8FF);
  box-shadow: var(--accent-glow);
}

.loader__particles {
  position: absolute;
  inset: -5rem;
  pointer-events: none;
}

.loader__particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-gradient);
  opacity: 0;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.52) 76%, rgba(8, 8, 10, 0)),
    radial-gradient(circle at 22% 0%, rgba(216, 107, 255, 0.12), transparent 28rem);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.topbar::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  right: clamp(1rem, 4vw, 3rem);
  bottom: 0;
  height: 1px;
  opacity: 0.68;
  background: linear-gradient(90deg, transparent, rgba(216, 107, 255, 0.32), rgba(126, 200, 255, 0.22), transparent);
  pointer-events: none;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.78rem 0.28rem 0.32rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(10, 10, 12, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 34px rgba(0, 0, 0, 0.22);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#101010, #101010) padding-box,
    var(--accent-gradient) border-box;
  color: #F6D7FF;
  box-shadow: inset 0 0 24px rgba(216, 107, 255, 0.12), var(--accent-glow-soft);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 0.32rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.03)),
    rgba(8, 8, 10, 0.42);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 22px rgba(0, 0, 0, 0.16),
    0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav a {
  position: relative;
  z-index: 1;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
  line-height: 1;
  transition: color 300ms var(--premium-ease), transform 300ms var(--premium-ease), text-shadow 300ms var(--premium-ease);
  isolation: isolate;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(108, 99, 255, 0.52), rgba(216, 107, 255, 0.34), rgba(126, 200, 255, 0.28)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -14px 20px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(216, 107, 255, 0.12),
    0 8px 18px rgba(126, 200, 255, 0.07);
  transition: opacity 300ms var(--premium-ease), transform 300ms var(--premium-ease);
  transform: scaleX(0.86) scaleY(0.86);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 6px;
  height: 1px;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  transition: opacity 300ms var(--premium-ease);
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a.is-active::before,
.nav a[aria-current="page"]::before,
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after,
.nav a[aria-current="page"]::after {
  opacity: 1;
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a.is-active::before,
.nav a[aria-current="page"]::before {
  transform: scale(1);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--white);
  text-shadow: 0 0 18px rgba(216, 107, 255, 0.24);
  transform: translateY(-1px);
  outline: none;
}

main {
  position: relative;
  z-index: 4;
}

section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 3rem);
}

.section-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--accent-primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.eyebrow,
.hero__role strong,
.stat strong,
.creator-card__tag,
.step::before,
.annotation,
.media-info span {
  background: var(--accent-text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  max-width: 900px;
  margin: 0;
  font-family: "Syne", "Inter", sans-serif;
  font-size: clamp(2.4rem, 6vw, 6.4rem);
  line-height: 0.92;
}

.section-copy {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
}

.hero-scene {
  height: 100svh;
  isolation: isolate;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 35vh;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.layer-bg {
  inset: -2%;
  width: auto;
  height: auto;
  z-index: 1;
  overflow: hidden;
  background: #050505;
}

.layer-bg::before,
.layer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.layer-bg::before {
  background:
    radial-gradient(circle at 28% 46%, rgba(216, 107, 255, 0.1), transparent 34rem),
    radial-gradient(circle at 72% 36%, rgba(126, 200, 255, 0.09), transparent 30rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.8)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.82));
  background-size: 120% 120%, 130% 130%, 100% 100%, 100% 100%;
  animation: heroOverlayDrift 12s var(--ease) infinite alternate;
}

.layer-bg::after {
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18), transparent 28%, var(--bg) 98%);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  filter: saturate(1.08) contrast(1.05) brightness(0.72);
  transform: translateZ(0) scale(1.01);
  animation: heroVideoBreath 16s var(--ease) infinite alternate;
  pointer-events: none;
}

.layer-subject {
  z-index: 3;
  padding: 7rem clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.layer-glass {
  z-index: 4;
}

.layer-subject .hero__content,
.layer-glass .glass-panel {
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 1260px);
  margin: 0 auto;
  animation: heroContentDrift 9s var(--ease) infinite alternate;
}

.hero__content::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.7rem;
  width: 2px;
  height: min(70%, 24rem);
  opacity: 0.78;
  background: linear-gradient(180deg, transparent, rgba(216, 107, 255, 0.82), rgba(126, 200, 255, 0.5), transparent);
  box-shadow: 0 0 24px rgba(216, 107, 255, 0.28);
  animation: heroAccentPulse 3.8s ease-in-out infinite;
  pointer-events: none;
}

.hero__kicker {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  text-transform: uppercase;
}

.hero__content h2 {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4.2rem, 11.4vw, 10rem);
  line-height: 0.86;
  text-wrap: balance;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.58), 0 0 30px rgba(126, 200, 255, 0.08);
}

.hero__content h2::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background: linear-gradient(112deg, transparent 34%, rgba(126, 200, 255, 0.42) 46%, rgba(255, 143, 184, 0.34) 52%, transparent 66%);
  mix-blend-mode: screen;
  transform: translateX(-130%);
  animation: heroTitleSweep 6.8s var(--premium-ease) 1.8s infinite;
  pointer-events: none;
}

.word {
  display: inline-block;
  white-space: nowrap;
}

.char {
  display: inline-block;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.hero__role {
  min-height: 1.8rem;
  margin: 1.7rem 0 2.1rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero__role strong {
  color: var(--accent-primary);
  font-weight: 800;
}

.caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--accent-gradient);
  animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes heroVideoBreath {
  from {
    transform: translate3d(-0.4%, -0.2%, 0) scale(1.03);
  }
  to {
    transform: translate3d(0.5%, 0.35%, 0) scale(1.07);
  }
}

@keyframes heroOverlayDrift {
  from {
    background-position: 42% 52%, 65% 44%, 50% 50%, 50% 50%;
  }
  to {
    background-position: 50% 46%, 58% 52%, 50% 50%, 50% 50%;
  }
}

@keyframes heroContentDrift {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -10px;
  }
}

@keyframes heroAccentPulse {
  50% {
    opacity: 0.36;
    box-shadow: 0 0 36px rgba(126, 200, 255, 0.22);
  }
}

@keyframes heroTitleSweep {
  0%,
  38% {
    transform: translateX(-130%);
  }
  62%,
  100% {
    transform: translateX(130%);
  }
}

.hero__actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  background:
    linear-gradient(135deg, rgba(108, 99, 255, 0.16), rgba(216, 107, 255, 0.1), rgba(126, 200, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), background 360ms var(--ease), box-shadow 360ms var(--ease), filter 360ms var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0.28;
  background: var(--accent-gradient-soft);
  transition: opacity 360ms var(--ease);
}

.btn:hover {
  transform: scale(1.03);
  border-color: var(--accent-border);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), var(--accent-glow-soft);
  filter: brightness(1.04);
}

.btn:hover::before {
  opacity: 0.5;
}

.btn--gradient {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(108, 99, 255, 0.72), rgba(176, 108, 255, 0.58), rgba(255, 143, 184, 0.52), rgba(126, 200, 255, 0.56)),
    rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: var(--accent-glow);
}

.btn--gradient:hover {
  filter: brightness(1.06) saturate(1.02);
}

.btn--icon {
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
}

.glass-panel {
  position: absolute;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(14, 14, 16, 0.34);
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 22px rgba(216, 107, 255, 0.08);
  transform: translate3d(0, 0, 0);
  transition:
    width 520ms var(--premium-ease),
    min-height 520ms var(--premium-ease),
    padding 520ms var(--premium-ease),
    border-color 340ms var(--premium-ease),
    background 340ms var(--premium-ease),
    box-shadow 340ms var(--premium-ease),
    color 340ms var(--premium-ease),
    scale 420ms var(--premium-ease),
    translate 420ms var(--premium-ease);
  will-change: transform, opacity;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: -60% -35%;
  opacity: 0.28;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.22), transparent 62%);
  transform: translateX(-55%);
  transition: transform 700ms var(--premium-ease), opacity 340ms var(--premium-ease);
  pointer-events: none;
}

.glass-panel:hover,
.glass-panel:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(216, 107, 255, 0.16), rgba(126, 200, 255, 0.09)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--card-hover-shadow);
  outline: none;
}

.glass-panel:hover::before,
.glass-panel:focus-visible::before {
  opacity: 0.42;
  transform: translateX(48%);
}

.glass-panel__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  transition: opacity 420ms var(--premium-ease), max-width 520ms var(--premium-ease), transform 520ms var(--premium-ease);
}

.glass-panel__arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 14px rgba(126, 200, 255, 0.08);
  transition: transform 420ms var(--premium-ease), border-color 420ms var(--premium-ease), background 420ms var(--premium-ease);
}

.glass-panel__arrow::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.layer-glass .glass-panel {
  right: clamp(1rem, 3.8vw, 4rem);
  left: auto;
  width: 58px;
  min-height: 58px;
  justify-content: flex-end;
  padding: 0 1.05rem;
  scale: 1;
  translate: 0 0;
  transform-origin: 100% 50%;
}

.layer-glass .glass-panel:hover,
.layer-glass .glass-panel:focus-visible {
  width: min(52vw, 220px);
  scale: 1.06;
  translate: -10px 0;
}

.layer-glass .glass-panel__label {
  max-width: 0;
  opacity: 0;
  transform: translateX(18px);
}

.layer-glass .glass-panel:hover .glass-panel__label,
.layer-glass .glass-panel:focus-visible .glass-panel__label {
  max-width: 150px;
  opacity: 1;
  transform: translateX(0);
}

.layer-glass .glass-panel:hover .glass-panel__arrow,
.layer-glass .glass-panel:focus-visible .glass-panel__arrow {
  border-color: rgba(126, 200, 255, 0.58);
  background: rgba(126, 200, 255, 0.14);
  transform: translateX(2px) rotate(-45deg);
}

.layer-glass .glass-panel--video { top: 24%; }
.layer-glass .glass-panel--cinema { top: 35%; }
.layer-glass .glass-panel--motion { top: 46%; }
.layer-glass .glass-panel--ai { top: 57%; }
.layer-glass .glass-panel--photo { top: 68%; }

.sticky-note {
  position: absolute;
  z-index: 2;
  max-width: 170px;
  padding: 0.8rem 0.95rem;
  border: 1px solid transparent;
  background:
    var(--accent-text-gradient),
    linear-gradient(135deg, rgba(13, 13, 17, 0.82), rgba(25, 20, 30, 0.72)) padding-box,
    var(--accent-gradient-muted) border-box;
  background-clip: text, padding-box, border-box;
  color: transparent;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  line-height: 1;
  -webkit-background-clip: text, padding-box, border-box;
  -webkit-text-fill-color: transparent;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 16px rgba(216, 107, 255, 0.08);
  filter: saturate(0.88);
  transform: rotate(var(--r, -4deg));
}

.sticky-note::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gradient-muted);
  box-shadow: 0 0 12px rgba(216, 107, 255, 0.18), 0 0 16px rgba(126, 200, 255, 0.12);
}

.note-1 { top: 16%; right: 7%; --r: 5deg; }
.note-2 { bottom: 21%; right: 13%; --r: -7deg; }
.note-3 { bottom: 7%; left: 7%; --r: -5deg; }
.note-4 { bottom: 10%; left: 58%; --r: 7deg; }
.note-5 { top: 13%; left: 43%; --r: -3deg; }

.scroll-line {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 4;
  width: 22px;
  height: 92px;
  color: var(--accent-lavender);
}

.scroll-line path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 120;
  animation: dash 1.8s ease-in-out infinite;
}

@keyframes dash {
  from {
    stroke-dashoffset: 120;
  }
  to {
    stroke-dashoffset: -120;
  }
}

.about {
  min-height: 112svh;
  display: block;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(7rem, 12vw, 11rem);
  background:
    radial-gradient(circle at 74% 42%, rgba(216, 107, 255, 0.075), transparent 28rem),
    radial-gradient(circle at 18% 70%, rgba(126, 200, 255, 0.055), transparent 24rem),
    linear-gradient(180deg, rgba(8, 8, 8, 0.96), rgba(14, 14, 14, 0.94) 46%, rgba(9, 9, 9, 0.98));
}

.about::before {
  content: "";
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  top: 14%;
  bottom: 14%;
  width: 1px;
  opacity: 0.44;
  background: linear-gradient(180deg, transparent, rgba(216, 107, 255, 0.58), rgba(126, 200, 255, 0.38), transparent);
  box-shadow: 0 0 30px rgba(216, 107, 255, 0.18);
  pointer-events: none;
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  mix-blend-mode: screen;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  animation: aboutGrainShift 1.6s steps(2, end) infinite;
}

.about-geometry {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-geometry__blueprint {
  position: absolute;
  top: clamp(1rem, 6vw, 5.5rem);
  right: clamp(-16rem, -11vw, -5rem);
  width: min(72vw, 960px);
  max-width: none;
  overflow: visible;
  opacity: 0.58;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(126, 200, 255, 0.08)) drop-shadow(0 0 22px rgba(216, 107, 255, 0.07));
  transform-origin: 58% 48%;
  animation: aboutBlueprintDrift 18s var(--premium-ease) infinite alternate;
  will-change: transform;
}

.about-geometry__blueprint * {
  vector-effect: non-scaling-stroke;
}

.about-geometry__halo,
.about-geometry__orbit,
.about-geometry__motion-path,
.about-geometry__frame path,
.about-geometry__aperture circle,
.about-geometry__aperture path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-geometry__halo {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  stroke-dasharray: 6 16;
  animation: aboutBlueprintTrace 18s linear infinite;
}

.about-geometry__orbit {
  stroke: url("#aboutGeometryLine");
  stroke-width: 1.3;
  stroke-dasharray: 780 220;
  opacity: 0.62;
  animation: aboutOrbitTrace 22s linear infinite;
}

.about-geometry__orbit--tight {
  stroke-width: 0.9;
  stroke-dasharray: 420 160;
  opacity: 0.42;
  animation-duration: 17s;
  animation-direction: reverse;
}

.about-geometry__motion-path {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.2;
  stroke-dasharray: 12 18;
  animation: aboutBlueprintTrace 10s linear infinite;
}

.about-geometry__frame path {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 2;
  stroke-dasharray: 20 18;
  animation: aboutBlueprintTrace 14s linear infinite;
}

.about-geometry__aperture {
  transform-box: fill-box;
  transform-origin: center;
  animation: aboutApertureTurn 28s linear infinite;
}

.about-geometry__aperture circle {
  stroke: rgba(126, 200, 255, 0.2);
  stroke-width: 1.3;
}

.about-geometry__aperture path {
  stroke: rgba(216, 107, 255, 0.28);
  stroke-width: 1;
}

.about-geometry__nodes circle {
  fill: var(--accent-primary);
  opacity: 0.72;
  filter: drop-shadow(0 0 10px rgba(216, 107, 255, 0.42));
  transform-box: fill-box;
  transform-origin: center;
  animation: aboutNodePulse 3.4s ease-in-out infinite;
}

.about-geometry__nodes circle:nth-child(2n) {
  fill: var(--accent-blue);
  animation-delay: 0.42s;
}

.about-geometry__nodes circle:nth-child(3n) {
  fill: var(--accent-peach);
  animation-delay: 0.9s;
}

.about-geometry__timeline {
  position: absolute;
  left: clamp(1.5rem, calc((100vw - var(--max)) / 2 + 3.2rem), 8rem);
  bottom: clamp(5rem, 8vw, 8rem);
  width: min(58vw, 820px);
  height: 7.5rem;
  opacity: 0.34;
  mix-blend-mode: screen;
  transform: rotate(-1.6deg);
  animation: aboutTimelineFloat 13s var(--premium-ease) infinite alternate;
}

.about-geometry__timeline::before,
.about-geometry__timeline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.about-geometry__timeline::before {
  background: linear-gradient(90deg, transparent, rgba(126, 200, 255, 0.25), rgba(216, 107, 255, 0.36), rgba(255, 179, 138, 0.2), transparent);
}

.about-geometry__timeline::after {
  width: 32%;
  right: auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  animation: aboutTimelineScan 4.8s ease-in-out infinite;
}

.about-geometry__timeline span {
  position: absolute;
  left: calc(var(--i) * 13.5%);
  top: 50%;
  width: 1px;
  height: 1.55rem;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%);
  box-shadow: 0 0 16px rgba(216, 107, 255, 0.12);
}

.about-geometry__timeline span:nth-child(3n + 1) {
  height: 2.7rem;
}

.about-geometry__timeline span:nth-child(3n + 2) {
  height: 2.15rem;
}

.about .section-inner {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  min-height: min(720px, calc(100svh - 10rem));
}

.about .section-title {
  max-width: 980px;
}

.about-title-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.about-title-word__inner {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.about-lines {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.reveal-line {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  will-change: transform, opacity;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1rem;
  will-change: transform, opacity;
}

.stat strong {
  display: block;
  color: var(--accent-primary);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.9;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.creator-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(108, 99, 255, 0.14), rgba(216, 107, 255, 0.1) 36%, transparent 58%),
    linear-gradient(180deg, var(--surface), #0d0d0d);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.creator-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 4;
  border: 1px solid rgba(176, 108, 255, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.creator-card--portrait {
  isolation: isolate;
  background: #090909;
}

.creator-card--portrait::before,
.creator-card--portrait::after {
  content: none;
}

.creator-card__portrait {
  position: absolute;
  inset: -1rem;
  z-index: 1;
  overflow: hidden;
  animation: editorPortraitFloat 9s var(--ease) infinite;
}

.creator-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.06);
  transform-origin: 50% 42%;
}

.creator-card__mono {
  position: absolute;
  inset: auto 1.35rem 1.35rem;
  z-index: 5;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.72);
}

.creator-card__tag {
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  z-index: 5;
  color: var(--accent-primary);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.68);
}

@keyframes editorPortraitFloat {
  50% {
    transform: translate3d(0, -12px, 0) scale(1.015);
  }
}

@keyframes aboutGrainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-1.5%, 1%, 0);
  }
  100% {
    transform: translate3d(1%, -1.5%, 0);
  }
}

@keyframes aboutBlueprintDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1.4deg) scale(1);
  }
  100% {
    transform: translate3d(-1.5rem, 1rem, 0) rotate(1.2deg) scale(1.025);
  }
}

@keyframes aboutBlueprintTrace {
  to {
    stroke-dashoffset: -360;
  }
}

@keyframes aboutOrbitTrace {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes aboutApertureTurn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes aboutNodePulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.45);
  }
}

@keyframes aboutTimelineFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1.6deg);
  }
  100% {
    transform: translate3d(1.25rem, -0.75rem, 0) rotate(1deg);
  }
}

@keyframes aboutTimelineScan {
  0% {
    opacity: 0;
    transform: translate3d(-35%, -50%, 0);
  }
  45% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate3d(270%, -50%, 0);
  }
}

.arsenal {
  background: rgba(11, 11, 11, 0.72);
  overflow: hidden;
}

.skill-stage {
  position: relative;
  margin-top: 3rem;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 3rem;
}

.skill-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.skill-path {
  pointer-events: none;
  opacity: 0.42;
}

.skill-path path {
  fill: none;
  stroke: rgba(176, 108, 255, 0.62);
  stroke-width: 1;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.skill-nodes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(168px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.skill-node {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  position: relative;
  min-height: 168px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.1rem;
  background: rgba(23, 23, 23, 0.66);
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), background 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: transform;
}

.skill-node::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(220px circle at var(--spotlight-x) var(--spotlight-y), rgba(216, 107, 255, 0.2), rgba(126, 200, 255, 0.1) 38%, transparent 68%),
    linear-gradient(135deg, rgba(176, 108, 255, 0.28), transparent 46%, rgba(126, 200, 255, 0.2));
  transition: opacity 260ms var(--premium-ease);
  pointer-events: none;
}

.skill-nodes.is-spotlighting .skill-node::before,
.skill-node:hover::before {
  opacity: 1;
}

.skill-node > div {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 0;
}

.tool-logo {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tool-logo--premiere {
  background: #00005b;
  color: #9999ff;
  border: 1px solid #9999ff;
}

.tool-logo--after-effects {
  background: #00005b;
  color: #d291ff;
  border: 1px solid #d291ff;
}

.tool-logo--photoshop {
  background: #001e36;
  color: #31a8ff;
  border: 1px solid #31a8ff;
}

.tool-logo--illustrator {
  background: #330000;
  color: #FFB38A;
  border: 1px solid #FFB38A;
}

.tool-logo--resolve {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.tool-logo--resolve::before,
.tool-logo--resolve::after,
.tool-logo--resolve span {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  filter: saturate(1.25);
}

.tool-logo--resolve::before {
  left: 9px;
  top: 10px;
  background: #f03b32;
}

.tool-logo--resolve::after {
  right: 9px;
  top: 10px;
  background: #2f80ed;
}

.tool-logo--resolve span {
  left: 15px;
  bottom: 8px;
  background: #19c37d;
}

.tool-logo--capcut {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.tool-logo--capcut svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.skill-node:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  background:
    radial-gradient(circle at 20% 0%, rgba(126, 200, 255, 0.06), transparent 13rem),
    linear-gradient(135deg, rgba(108, 99, 255, 0.055), rgba(216, 107, 255, 0.045), rgba(255, 143, 184, 0.04));
  box-shadow: var(--card-hover-shadow);
}

.skill-node strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.skill-node div > span:not(.tool-logo) {
  color: var(--muted);
  font-size: 0.86rem;
}

.roadmap-wrap {
  position: relative;
  margin-top: 3rem;
  isolation: isolate;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 0;
  width: 2px;
  overflow: hidden;
  background: none;
}

.roadmap-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #6C63FF, #D86BFF, #FF8FB8, #7EC8FF);
  opacity: 0.2;
}

.roadmap-line span {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #6C63FF, #D86BFF, #FF8FB8, #7EC8FF, #B06CFF);
  background-size: 100% 240%;
  opacity: 0;
  box-shadow: var(--accent-glow-soft);
  transform: scaleY(0);
  transform-origin: top;
}

.roadmap-wrap.timeline-ready .roadmap-line span {
  opacity: 0;
  transform: scaleY(0);
}

.roadmap-wrap.is-playing .roadmap-line span {
  animation:
    timelineLineDraw 900ms var(--premium-ease) forwards,
    timelineGradientMove 2400ms linear infinite;
}

@keyframes timelineLineDraw {
  from {
    opacity: 0.1;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes timelineGradientMove {
  from {
    background-position: 50% 0%;
  }
  to {
    background-position: 50% 220%;
  }
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.15rem;
}

.step {
  --timeline-x: -48px;
  position: relative;
  display: grid;
  width: min(48%, 560px);
  min-height: 118px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.2rem;
  background: rgba(23, 23, 23, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), background 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: transform;
}

.step:nth-child(even) {
  --timeline-x: 48px;
  justify-self: end;
}

.roadmap-wrap.timeline-ready .step {
  opacity: 0;
  transform: translate3d(var(--timeline-x), 0, 0) scale(0.985);
  transition: opacity 700ms var(--premium-ease), transform 700ms var(--premium-ease), border-color 400ms var(--premium-ease), background 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
}

.roadmap-wrap.timeline-ready .step.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.roadmap-wrap.timeline-ready .step.has-revealed {
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), background 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
}

.step:hover,
.roadmap-wrap.timeline-ready .step.is-visible:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  background:
    radial-gradient(circle at 22% 0%, rgba(126, 200, 255, 0.055), transparent 15rem),
    rgba(23, 23, 23, 0.82);
  box-shadow: var(--card-hover-shadow);
}

.step::before {
  content: attr(data-index);
  color: var(--accent-primary);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.2rem;
}

.step strong {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
}

.step span {
  color: var(--muted);
  line-height: 1.6;
}

.portfolio {
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.04) 32%, rgba(216, 107, 255, 0.04) 50%, transparent),
    rgba(12, 12, 12, 0.72);
}

.portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
}

.sync-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.sync-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-gradient);
  box-shadow: 0 0 18px rgba(216, 107, 255, 0.48), 0 0 26px rgba(126, 200, 255, 0.24);
}

.portfolio-glass-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  min-height: 92px;
  margin-top: clamp(1.35rem, 4vw, 2.4rem);
  align-items: stretch;
}

.portfolio-glass-grid .glass-panel {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 92px;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 1rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(126, 200, 255, 0.075), transparent 12rem),
    linear-gradient(145deg, rgba(108, 99, 255, 0.12), rgba(216, 107, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(18, 18, 20, 0.72);
  text-align: left;
}

.portfolio-glass-grid .glass-panel__label {
  max-width: none;
  opacity: 1;
  transform: none;
}

.portfolio-glass-grid .glass-panel__arrow {
  display: none;
}

.portfolio-glass-grid .glass-panel::after {
  content: "Case Study";
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-glass-grid .glass-panel.is-case-study-source {
  border-color: rgba(216, 107, 255, 0.48);
  box-shadow: var(--card-hover-shadow);
}

body.case-study-open {
  overflow: hidden;
}

.case-study-backdrop {
  position: fixed;
  inset: 0;
  z-index: 122;
  opacity: 0;
  visibility: hidden;
  background:
    linear-gradient(120deg, rgba(2, 2, 3, 0.82), rgba(13, 10, 18, 0.72)),
    rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity 420ms var(--premium-ease), visibility 420ms var(--premium-ease);
}

.case-study-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.case-study-modal {
  position: fixed;
  z-index: 128;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(108, 99, 255, 0.16), rgba(216, 107, 255, 0.1) 34%, rgba(126, 200, 255, 0.075)),
    rgba(13, 13, 16, 0.92);
  color: var(--white);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 34px rgba(216, 107, 255, 0.16);
  opacity: 0;
  outline: none;
}

.case-study-modal::before,
.case-study-modal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.case-study-modal::before {
  opacity: 0.22;
  background:
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.16), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 84px);
  transform: translateX(-40%);
}

.case-study-modal.is-open::before {
  animation: caseStudySweep 4.8s var(--premium-ease) infinite;
}

.case-study-modal::after {
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.case-study-modal__close {
  position: absolute;
  right: clamp(0.8rem, 2vw, 1.15rem);
  top: clamp(0.8rem, 2vw, 1.15rem);
  z-index: 4;
}

.case-study-modal__content {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  align-content: center;
  gap: clamp(0.9rem, 2vw, 1.2rem);
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 107, 255, 0.42) transparent;
}

.case-study-modal__eyebrow {
  margin: 0;
  color: var(--accent-pink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-study-modal__title {
  max-width: 760px;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.55rem, 7vw, 5.5rem);
  line-height: 0.92;
}

.case-study-modal__summary {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.72;
}

.case-study-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.case-study-modal__mini-card {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 0.95rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 10, 0.38);
}

.case-study-modal__mini-card span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--accent-blue);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.8rem;
  line-height: 0.8;
}

.case-study-modal__mini-card strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.2;
}

.case-study-modal__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.case-study-modal__metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-study-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

@media (min-width: 761px) {
  .case-study-modal__content {
    scrollbar-width: none;
  }

  .case-study-modal__content::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

@keyframes caseStudySweep {
  0% {
    transform: translateX(-46%);
  }
  50% {
    transform: translateX(36%);
  }
  100% {
    transform: translateX(92%);
  }
}

.featured-shell {
  position: relative;
  margin-top: clamp(2rem, 6vw, 4rem);
  overflow: visible;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: clamp(1.2rem, 4vw, 2rem);
  padding-inline: clamp(3.8rem, 6vw, 5.8rem);
  touch-action: pan-y;
}

.featured-viewport {
  width: min(100%, 1080px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
}

.featured-track {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
}

.featured-slide {
  position: absolute;
  inset: 0;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  opacity: 0;
  background:
    linear-gradient(130deg, rgba(108, 99, 255, 0.16), rgba(216, 107, 255, 0.11) 28%, rgba(255, 143, 184, 0.08) 48%, rgba(0, 0, 0, 0.12)),
    var(--surface);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 500ms ease, transform 500ms ease, border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: opacity, transform;
}

.featured-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.featured-slide.is-active:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(176, 108, 255, 0.42);
  box-shadow: var(--card-hover-shadow);
}

.carousel-arrow,
.row-arrow {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(176, 108, 255, 0.44);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.68);
  color: var(--accent-pink);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), background 360ms var(--ease), box-shadow 360ms var(--ease);
}

.carousel-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.carousel-arrow:hover,
.row-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(126, 200, 255, 0.72);
  background: rgba(176, 108, 255, 0.16);
  box-shadow: var(--accent-glow-soft);
}

.carousel-arrow svg,
.row-arrow svg {
  width: 22px;
  height: 22px;
}

.carousel-arrow::after,
.row-arrow::after {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.carousel-arrow--prev::after,
.row-arrow[data-row-dir="-1"]::after {
  margin-left: 4px;
  transform: rotate(-135deg);
}

.carousel-arrow--next::after,
.row-arrow[data-row-dir="1"]::after {
  margin-right: 4px;
  transform: rotate(45deg);
}

.carousel-arrow:has(svg)::after,
.row-arrow:has(svg)::after {
  content: none;
}

.featured-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.7)),
    var(--preview-bg, radial-gradient(circle at 70% 35%, rgba(216, 107, 255, 0.24), rgba(126, 200, 255, 0.14), transparent 28rem));
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, -1px) scale(1.035);
  filter: saturate(1.1);
}

.featured-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(176, 108, 255, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.featured-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: inherit;
  align-content: end;
  gap: 0.75rem;
  max-width: 680px;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.featured-content h3 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.4rem, 8vw, 8.5rem);
  line-height: 0.82;
}

.featured-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.filters {
  position: relative;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  margin: 2.4rem 0 1.4rem;
  padding-bottom: 0.7rem;
  scrollbar-width: none;
}

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

.filter-btn {
  position: relative;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 340ms var(--ease), border-color 340ms var(--ease), background 340ms var(--ease), box-shadow 340ms var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--accent-border);
  background: rgba(216, 107, 255, 0.1);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 0 14px rgba(216, 107, 255, 0.06);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  min-height: 360px;
}

.portfolio-card {
  position: relative;
  grid-column: span 4;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: transform;
}

.portfolio-card--placeholder {
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

.portfolio-card::before {
  content: none;
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(140deg, rgba(108, 99, 255, 0.42), rgba(216, 107, 255, 0.28) 30%, transparent 52%, rgba(126, 200, 255, 0.2));
  transition: opacity 400ms var(--premium-ease);
}

.portfolio-card::after {
  content: none;
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -6rem;
  top: -6rem;
  opacity: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 107, 255, 0.28), rgba(126, 200, 255, 0.18), transparent 70%);
  filter: blur(10px);
  transition: opacity 400ms var(--premium-ease);
  pointer-events: none;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  box-shadow: var(--card-hover-shadow);
}

.portfolio-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  grid-template-rows: 240px 1fr;
  background: rgba(12, 12, 12, 0.36);
  backdrop-filter: blur(20px);
  transition: opacity 420ms var(--premium-ease);
}

body.portfolio-flip-open {
  overflow: hidden;
}

.portfolio-flip-backdrop {
  position: fixed;
  inset: 0;
  z-index: 118;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(216, 107, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 76% 36%, rgba(126, 200, 255, 0.12), transparent 28rem),
    rgba(2, 2, 3, 0.68);
  backdrop-filter: blur(22px);
  transition: opacity 420ms var(--premium-ease), visibility 420ms var(--premium-ease);
}

.portfolio-flip-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.portfolio-card.expanded-modal {
  position: fixed;
  left: max(5vw, calc((100vw - 1320px) / 2));
  top: 5vh;
  z-index: 125;
  width: min(90vw, 1320px);
  height: 90vh;
  min-height: 0;
  grid-column: auto;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 107, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 18%, rgba(126, 200, 255, 0.1), transparent 28rem),
    rgba(12, 12, 14, 0.78);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 42px rgba(216, 107, 255, 0.16);
  transform: none;
}

.portfolio-card.expanded-modal:hover,
.portfolio-card.expanded-modal:focus-within {
  transform: none;
}

.portfolio-card.expanded-modal .portfolio-card__inner {
  height: 100%;
  grid-template-rows: 1fr;
}

.portfolio-card.expanded-modal.has-expanded-content .portfolio-card__inner {
  opacity: 0;
  pointer-events: none;
}

.portfolio-expanded {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 0;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem);
}

.portfolio-expanded__close {
  position: absolute;
  right: clamp(0.8rem, 2vw, 1.25rem);
  top: clamp(0.8rem, 2vw, 1.25rem);
  z-index: 8;
}

.portfolio-expanded__hero {
  position: relative;
  display: grid;
  align-content: end;
  gap: 1rem;
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) 0;
}

.portfolio-expanded__kicker,
.portfolio-expanded__meta span {
  color: var(--accent-pink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-expanded__title {
  max-width: 560px;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.82;
}

.portfolio-expanded__copy {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.portfolio-expanded__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portfolio-expanded__meta span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.68);
}

.portfolio-expanded__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-expanded__body {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding: clamp(3.5rem, 5vw, 4.5rem) 0.25rem 0.25rem;
  overscroll-behavior: contain;
  scrollbar-color: rgba(176, 108, 255, 0.48) transparent;
}

.portfolio-masonry {
  column-count: 2;
  column-gap: 1rem;
}

.portfolio-expanded__media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin: 0 0 1rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.portfolio-expanded__media:nth-child(3n + 1) {
  min-height: 380px;
}

.portfolio-expanded__media:nth-child(4n + 2) {
  min-height: 320px;
}

.portfolio-expanded__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.portfolio-expanded__media img.is-loaded {
  opacity: 1;
}

.portfolio-expanded__media:hover img {
  transform: scale(1.04);
}

.portfolio-expanded__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.82));
}

.portfolio-expanded__media-action {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: var(--accent-pink);
  backdrop-filter: blur(12px);
}

.portfolio-expanded__media-action svg {
  width: 18px;
  height: 18px;
}

.portfolio-expanded__media-info {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
}

.portfolio-expanded__media-info span {
  color: var(--accent-pink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-expanded__media-info strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.08;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.thumb {
  position: relative;
  overflow: hidden;
  background:
    var(--accent-gradient-soft),
    var(--thumb-gradient, #1b1b1b);
  isolation: isolate;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.thumb img.is-loaded {
  opacity: 1;
}

.thumb img.is-swapping,
.section-thumb img.is-swapping {
  opacity: 0.18;
}

.thumb img.is-unavailable,
.gallery-item img.is-unavailable {
  display: none;
}

.portfolio-card:hover .thumb img {
  transform: scale(1.025);
}

.thumb__ambient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 50% 42%, rgba(216, 107, 255, 0.12), rgba(126, 200, 255, 0.06), transparent 34%);
  z-index: 1;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(176, 108, 255, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 28px rgba(216, 107, 255, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

.play-mark svg {
  width: 26px;
  height: 26px;
  color: var(--accent-pink);
  fill: currentColor;
}

.portfolio-card:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.duration {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: rgba(0, 0, 0, 0.48);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

.portfolio-card:hover .duration {
  opacity: 1;
  transform: translateY(0);
}

.card-body {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1rem;
}

.card-copy {
  display: grid;
  gap: 0.72rem;
}

.card-body h3 {
  margin: 0;
  font-family: "Syne", "Inter", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.6;
}

.placeholder-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.placeholder-particles span {
  position: absolute;
  width: var(--dot-size, 4px);
  height: var(--dot-size, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(216, 107, 255, 0.58) 45%, rgba(126, 200, 255, 0.12) 100%);
  box-shadow: 0 0 10px rgba(216, 107, 255, 0.32), 0 0 16px rgba(126, 200, 255, 0.18);
  opacity: 0.36;
  animation: rise 5.8s linear infinite;
}

@keyframes rise {
  from {
    transform: translateY(110%) scale(0.6);
  }
  to {
    transform: translateY(-20%) scale(1.2);
    opacity: 0;
  }
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(108, 99, 255, 0.1), rgba(216, 107, 255, 0.08), rgba(255, 255, 255, 0.03));
  text-align: center;
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: transform;
}

.empty-state:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  box-shadow: var(--card-hover-shadow);
}

.empty-state h3 {
  margin: 0 0 0.7rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.category-pages {
  display: grid;
  gap: 2.5rem;
  margin-top: 4rem;
  min-width: 0;
}

.category-section {
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
}

.category-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}

.category-section__title {
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.section-thumb {
  position: relative;
  width: 86px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(176, 108, 255, 0.34);
  border-radius: 8px;
  background:
    var(--accent-gradient-soft),
    var(--thumb-gradient, #191919);
}

.section-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.section-thumb img.is-loaded {
  opacity: 1;
}

.section-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.category-section h3 {
  margin: 0.45rem 0 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
}

.category-section__controls {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  gap: 0.65rem;
}

.category-section__controls .row-arrow {
  position: relative;
  inset: auto;
  width: 46px;
  height: 46px;
  transform: none;
}

.category-section__controls .row-arrow:hover {
  transform: scale(1.06);
}

.category-scroll {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.category-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-color: rgba(176, 108, 255, 0.55) transparent;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.category-row .portfolio-card {
  scroll-snap-align: start;
}

.services {
  background: rgba(15, 15, 15, 0.72);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 107, 255, 0.08), rgba(126, 200, 255, 0.04), transparent 18rem),
    var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  box-shadow: var(--card-hover-shadow);
}

.service-card i,
.service-card svg {
  color: var(--accent-pink);
  filter: drop-shadow(0 0 12px rgba(216, 107, 255, 0.12));
}

.service-card h3 {
  margin: 1.8rem 0 0.65rem;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq {
  background: rgba(10, 10, 10, 0.72);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.3rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease), background 400ms var(--premium-ease);
  will-change: transform;
}

.faq-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--card-hover-shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 1rem;
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  line-height: 1.75;
}

.contact {
  overflow: hidden;
  background: rgba(15, 15, 15, 0.72);
}

.contact-curtain {
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  z-index: 0;
}

.contact .section-inner {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-link span:first-child {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease), background 400ms var(--premium-ease);
  will-change: transform;
}

.contact-form:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--card-hover-shadow);
}

.contact-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .btn:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.contact-form__status {
  min-height: 1.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact-form__status[data-state="success"] {
  color: #9ff0c3;
}

.contact-form__status[data-state="fallback"] {
  color: var(--accent-blue);
}

.contact-form__status[data-state="sending"] {
  color: var(--accent-pink);
}

.contact-form__status.is-fresh {
  animation: contactStatusIn 420ms var(--premium-ease);
}

@keyframes contactStatusIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 0.8rem 0;
  background: transparent;
  color: var(--white);
  outline: none;
  transition: border-color 340ms var(--ease), box-shadow 340ms var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-border);
  box-shadow: 0 1px 0 var(--accent-pink), 0 8px 24px rgba(216, 107, 255, 0.14);
}

.annotation {
  position: absolute;
  z-index: 5;
  color: #FF8FB8;
  font-family: "Caveat", cursive;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  transform: rotate(-6deg);
  pointer-events: none;
}

.annotation--portfolio {
  right: clamp(1rem, 7vw, 8rem);
  top: 5rem;
}

.annotation--services {
  left: clamp(1rem, 8vw, 8rem);
  bottom: 3rem;
}

.sketch-arrow {
  position: absolute;
  width: 150px;
  height: 80px;
  color: rgba(176, 108, 255, 0.62);
  pointer-events: none;
}

.sketch-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(24px);
  opacity: 0;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal__panel {
  position: relative;
  width: min(100%, 1280px);
  max-height: calc(100svh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(176, 108, 255, 0.56) transparent;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.86);
  box-shadow: var(--shadow), 0 0 42px rgba(108, 99, 255, 0.1);
  transform: translateY(24px) scale(0.98);
}

.modal__head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.modal__head h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.modal__body {
  max-height: none;
  overflow: visible;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
  padding: 1rem;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--surface);
  cursor: zoom-in;
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
  will-change: transform;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(176, 108, 255, 0.42);
  box-shadow: var(--card-hover-shadow);
}

.media-gallery .gallery-item {
  min-height: 260px;
  display: grid;
  align-content: end;
  margin: 0;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.gallery-item img.is-loaded {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.media-gallery .gallery-item img {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}

.media-gallery .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.media-gallery .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.92);
}

.media-gallery .duration {
  opacity: 1;
  transform: translateY(0);
}

.media-info {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.media-info strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  line-height: 1.15;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.media-info span {
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.drive-frame {
  width: 100%;
  min-height: 68svh;
  border: 0;
  border-radius: 8px;
  background: #111;
}

.gallery-empty {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
}

.gallery-empty iframe {
  width: 100%;
  min-height: 68svh;
  border: 0;
  border-radius: 8px;
  background: #111;
}

.gallery-empty h4 {
  margin: 0 0 0.6rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
}

.gallery-empty p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
}

.lightbox-viewer {
  position: fixed;
  inset: 0;
  z-index: 145;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
}

.lightbox-viewer.is-open {
  display: grid;
}

.lightbox-stage {
  position: relative;
  width: min(100%, 1320px);
  height: min(86svh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(var(--zoom, 1));
  transition: transform 360ms var(--ease), opacity 420ms var(--ease);
  will-change: transform;
}

.lightbox-controls {
  position: absolute;
  inset: 1rem 1rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.lightbox-controls > * {
  pointer-events: auto;
}

.counter {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
}

.lightbox-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  pointer-events: none;
}

.lightbox-arrows button {
  pointer-events: auto;
}

.video-stage {
  position: relative;
  min-height: min(72svh, 760px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84)),
    var(--video-bg, radial-gradient(circle at center, rgba(108, 99, 255, 0.15), rgba(216, 107, 255, 0.13), rgba(126, 200, 255, 0.1), transparent 36rem)),
    #050505;
}

.video-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}

.video-stage iframe.is-ready {
  opacity: 1;
}

.video-poster {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1rem;
}

.video-poster .play-mark {
  position: static;
  opacity: 1;
  transform: none;
  width: 96px;
  height: 96px;
  animation: playPulse 2.8s ease-in-out infinite;
}

@keyframes playPulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 34px rgba(216, 107, 255, 0.3), 0 0 48px rgba(126, 200, 255, 0.18);
  }
}

.progress-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.progress-indicator span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #6C63FF, #D86BFF, #FF8FB8, #7EC8FF, transparent);
  animation: progressSweep 2.6s linear infinite;
}

@keyframes progressSweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 760ms var(--premium-ease), transform 760ms var(--premium-ease), filter 760ms var(--premium-ease), border-color 400ms var(--premium-ease), background 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-card.has-revealed {
  filter: none;
  transition: transform 400ms var(--premium-ease), border-color 400ms var(--premium-ease), background 400ms var(--premium-ease), box-shadow 400ms var(--premium-ease);
}

.reveal-card.has-revealed:hover:not(.featured-slide):not(.expanded-modal),
.reveal-card.has-revealed:focus-within:not(.featured-slide):not(.expanded-modal) {
  transform: translateY(-6px) scale(1.02);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .portfolio-glass-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .portfolio-card {
    grid-column: span 6;
  }

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

  .gallery-grid {
    column-count: 2;
  }

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

  .portfolio-expanded {
    grid-template-columns: 1fr;
  }

  .portfolio-expanded__hero {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .portfolio-expanded__body {
    padding-top: 0;
  }

  .about-geometry__blueprint {
    right: -18rem;
    width: min(96vw, 920px);
    opacity: 0.44;
  }

  .about-geometry__timeline {
    width: min(72vw, 720px);
    opacity: 0.26;
  }
}

@media (max-width: 760px) {
  .cursor-dot,
  .cursor-ring,
  .spotlight,
  .sticky-note,
  .annotation,
  .sketch-arrow {
    display: none;
  }

  .topbar {
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.72rem 0.8rem;
  }

  .brand {
    min-height: 42px;
    gap: 0.52rem;
    padding: 0.24rem 0.68rem 0.24rem 0.28rem;
    font-size: 0.86rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .nav {
    max-width: 62vw;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.28rem;
    padding: 0.26rem;
    font-size: 0.78rem;
  }

  .nav a {
    min-height: 32px;
    padding: 0.5rem 0.64rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-scene {
    height: 92svh;
  }

  .layer-subject {
    align-items: flex-end;
    padding-bottom: 5.5rem;
  }

  .hero__content h2 {
    font-size: clamp(3.8rem, 17vw, 6.5rem);
  }

  .layer-glass .glass-panel {
    right: 0.75rem;
    width: 46px;
    min-height: 44px;
    padding: 0 0.78rem;
    font-size: 0.76rem;
  }

  .layer-glass .glass-panel:hover,
  .layer-glass .glass-panel:focus-visible {
    width: min(70vw, 190px);
    translate: -6px 0;
  }

  .layer-glass .glass-panel--video { top: 29%; }
  .layer-glass .glass-panel--cinema { top: 39%; }
  .layer-glass .glass-panel--motion { top: 49%; }
  .layer-glass .glass-panel--ai { top: 59%; }
  .layer-glass .glass-panel--photo { top: 69%; }

  .portfolio-glass-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portfolio-glass-grid .glass-panel {
    min-height: 70px;
  }

  .case-study-modal::after {
    inset: 0.7rem;
  }

  .case-study-modal__content {
    align-content: start;
    gap: 0.8rem;
    padding: clamp(1.2rem, 7vw, 2rem);
  }

  .case-study-modal__summary {
    line-height: 1.58;
  }

  .case-study-modal__grid {
    grid-template-columns: 1fr;
  }

  .case-study-modal__mini-card {
    min-height: 78px;
    padding: 0.85rem;
  }

  .case-study-modal__mini-card span {
    margin-bottom: 0.75rem;
  }

  .case-study-modal__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-grid,
  .portfolio-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about {
    min-height: auto;
    padding-block: clamp(6rem, 20vw, 8rem);
  }

  .about::before {
    opacity: 0.22;
  }

  .about-geometry__blueprint {
    top: 7rem;
    right: -78vw;
    width: 156vw;
    opacity: 0.24;
  }

  .about-geometry__timeline {
    left: 1rem;
    right: 1rem;
    bottom: 3rem;
    width: auto;
    height: 5rem;
    opacity: 0.18;
  }

  .about-grid {
    min-height: auto;
    gap: 2.5rem;
  }

  .creator-card {
    min-height: 460px;
  }

  .sync-pill {
    justify-self: start;
  }

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

  .skill-nodes,
  .bento {
    grid-template-columns: 1fr;
  }

  .roadmap-line {
    left: 0;
  }

  .step,
  .step:nth-child(even) {
    width: calc(100% - 1.3rem);
    justify-self: end;
  }

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

  .portfolio-card {
    grid-column: 1;
    min-height: 400px;
  }

  .portfolio-card.expanded-modal {
    left: 0.5rem;
    top: 0.5rem;
    width: calc(100vw - 1rem);
    height: calc(100svh - 1rem);
  }

  .portfolio-card__inner {
    grid-template-rows: 220px 1fr;
  }

  .portfolio-expanded {
    gap: 1rem;
    padding: 0.85rem;
  }

  .portfolio-expanded__title {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .portfolio-masonry {
    column-count: 1;
  }

  .portfolio-expanded__media,
  .portfolio-expanded__media:nth-child(3n + 1),
  .portfolio-expanded__media:nth-child(4n + 2) {
    min-height: 280px;
  }

  .featured-slide {
    flex-basis: 100%;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .featured-shell {
    padding-inline: 3.2rem;
  }

  .category-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-section__title {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .section-thumb {
    width: 70px;
  }

  .category-section__controls {
    align-self: stretch;
    justify-content: flex-end;
  }

  .gallery-grid {
    column-count: 1;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 0.5rem;
  }

  .modal__body {
    max-height: calc(100svh - 5.5rem);
  }
}

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