:root {
  --bg: #040812;
  --panel: rgba(13, 21, 40, 0.82);
  --panel-strong: rgba(14, 23, 44, 0.96);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f1ea;
  --muted: rgba(245, 241, 234, 0.64);
  --gold: #d9cfc0;
  --accent-blue: #9bb7ff;
  --accent-red: #7cc7ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --gutter: clamp(18px, 4vw, 56px);
  --hero-min-height: max(760px, 100svh);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -14%, rgba(138, 173, 255, 0.07), transparent 0 30%),
    radial-gradient(circle at -10% 22%, rgba(74, 125, 255, 0.22), transparent 0 26%),
    radial-gradient(circle at 110% 18%, rgba(113, 186, 255, 0.2), transparent 0 26%),
    radial-gradient(circle at 50% 100%, rgba(126, 177, 255, 0.05), transparent 0 30%),
    linear-gradient(180deg, #01040a 0%, #06101d 30%, #091728 66%, #01040a 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body.is-intro-active {
  overflow: hidden;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at -4% 26%, rgba(87, 133, 255, 0.24), transparent 0 22%),
    radial-gradient(circle at 104% 14%, rgba(126, 188, 255, 0.22), transparent 0 24%),
    linear-gradient(180deg, #01040a 0%, #06101d 56%, #01040a 100%);
  transition:
    opacity 900ms ease,
    visibility 900ms ease;
}

.site-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-intro-light,
.site-intro-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-intro-light {
  filter: blur(42px);
}

.site-intro-light-left {
  background: radial-gradient(circle at 2% 34%, rgba(92, 140, 255, 0.48), transparent 0 16%);
  animation: introLightLeft 2.8s ease-out forwards;
}

.site-intro-light-right {
  background: radial-gradient(circle at 98% 26%, rgba(132, 196, 255, 0.4), transparent 0 16%);
  animation: introLightRight 3.2s ease-out forwards;
}

.site-intro-frame {
  position: absolute;
  inset: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px 18px 34px 18px;
  opacity: 0;
  transform: scale(0.98);
  animation: introFrameReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s forwards;
  pointer-events: none;
}

.site-intro-noise {
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
}

.site-intro-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 24px;
  text-align: center;
}

.site-intro-kicker,
.site-intro-role {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-intro-stack {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.site-intro-word {
  display: inline-block;
  min-width: min(78vw, 560px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px 10px 18px 10px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.22);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateY(12px);
  opacity: 0;
}

.site-intro-word:nth-child(1) {
  animation: introWordPulse 0.8s ease-out 0.18s forwards;
}

.site-intro-word:nth-child(2) {
  animation: introWordPulse 0.8s ease-out 0.42s forwards;
}

.site-intro-word:nth-child(3) {
  animation: introWordPulse 0.8s ease-out 0.66s forwards;
}

.site-intro-word:nth-child(4) {
  animation: introWordPulse 0.8s ease-out 0.9s forwards;
}

.site-intro-kicker {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  animation: introFadeUp 1s ease-out 0.15s both;
}

.site-intro-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  animation: introTitleReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 1.15s both;
}

.site-intro-role {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  animation: introFadeUp 1s ease-out 1.35s both;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-shell::before {
  background:
    radial-gradient(circle at -8% 18%, rgba(79, 128, 255, 0.22), transparent 0 20%),
    radial-gradient(circle at 108% 14%, rgba(126, 188, 255, 0.2), transparent 0 20%),
    radial-gradient(circle at 50% 56%, rgba(255, 255, 255, 0.03), transparent 0 30%);
  opacity: 0.92;
  animation: ambientDriftSoft 16s ease-in-out infinite alternate;
}

.page-shell::after {
  background:
    radial-gradient(circle at center, transparent 42%, rgba(3, 4, 8, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 5, 8, 0.12), rgba(4, 5, 8, 0.36));
  mix-blend-mode: normal;
  opacity: 0.92;
}

.noise,
.orb {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.noise {
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
}

.orb {
  filter: blur(170px);
}

.orb-left {
  background: radial-gradient(circle at -16% 24%, rgba(83, 132, 255, 0.36), transparent 0 24%);
  animation: orbBreatheLeft 14s ease-in-out infinite alternate;
}

.orb-right {
  background: radial-gradient(circle at 116% 18%, rgba(131, 198, 255, 0.32), transparent 0 24%);
  animation: orbBreatheRight 17s ease-in-out infinite alternate;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px var(--gutter);
}

.brand,
.site-nav a,
.eyebrow,
.case-type,
.social-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand {
  display: inline-grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.24em;
}

.brand-role {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
}

.site-nav a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(127, 152, 255, 0.28);
  background: rgba(127, 152, 255, 0.08);
}

.hero,
.section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px var(--gutter);
}

.hero {
  min-height: var(--hero-min-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 110px;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at -6% 22%, rgba(92, 140, 255, 0.5), transparent 0 18%),
    radial-gradient(circle at 106% 14%, rgba(130, 197, 255, 0.42), transparent 0 18%),
    radial-gradient(circle at 48% 62%, rgba(112, 162, 255, 0.12), transparent 0 24%),
    linear-gradient(122deg, rgba(9, 20, 42, 0.96), rgba(12, 33, 64, 0.7) 42%, rgba(3, 9, 20, 0.98) 100%);
  opacity: 0.84;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  box-shadow:
    inset 0 -100px 140px rgba(5, 7, 12, 0.46),
    0 30px 120px rgba(0, 0, 0, 0.24);
}

.hero-background-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background-video {
  display: block;
  object-fit: cover;
  object-position: center center;
  background:
    radial-gradient(circle at 2% 26%, rgba(255, 220, 176, 0.98), transparent 0 22%),
    radial-gradient(circle at 28% 46%, rgba(208, 145, 124, 0.28), transparent 0 18%),
    radial-gradient(circle at 82% 10%, rgba(174, 193, 224, 0.3), transparent 0 24%),
    linear-gradient(118deg, rgba(228, 191, 165, 0.82), rgba(104, 98, 132, 0.34) 44%, rgba(47, 57, 81, 0.78) 100%);
}

.hero-video-overlay {
  background:
    linear-gradient(98deg, rgba(2, 7, 16, 0.86) 0%, rgba(2, 7, 16, 0.14) 34%, rgba(2, 7, 16, 0.6) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%, rgba(3, 8, 18, 0.88) 100%);
}

.hero-copy,
.hero-scroll {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: min(1080px, 100%);
}

.eyebrow,
.case-type,
.social-label {
  color: var(--gold);
  font-size: 0.72rem;
}

.hero h1,
.section-heading h2,
.project-modal-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 6vw, 6.8rem);
}

.hero h1 span {
  display: block;
  color: rgba(255, 247, 241, 0.72);
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.75;
}

.glass-card,
.social-card,
.project-modal-dialog {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(138, 26, 31, 0.06), rgba(255, 255, 255, 0.008)),
    var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
}

.hero-scroll span {
  position: absolute;
  inset: 0;
}

.hero-scroll span::before,
.hero-scroll span::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-scroll span::before {
  left: 2px;
  transform: rotate(40deg);
}

.hero-scroll span::after {
  right: 2px;
  transform: rotate(-40deg);
}

.section {
  padding-top: 88px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-bottom: 28px;
}

.section-heading-compact h2 {
  max-width: 14ch;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  max-width: 18ch;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.about-grid {
  display: grid;
}

.glass-card {
  max-width: min(980px, 100%);
  padding: clamp(22px, 2.2vw, 34px);
  border-radius: 28px 18px 28px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008)),
    rgba(13, 16, 24, 0.74);
}

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

.about-card {
  max-width: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 2.4vw, 30px);
  align-items: start;
}

.about-copy-block {
  display: grid;
  gap: 20px;
}

.about-lead {
  max-width: 42ch;
  font-size: clamp(1.08rem, 1.3vw, 1.24rem);
  line-height: 1.9 !important;
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-mini-card {
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(228, 135, 106, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(10, 12, 20, 0.56);
}

.about-mini-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-mini-card strong {
  max-width: 14ch;
  font-size: 1rem;
  line-height: 1.32;
}

.about-tools-panel {
  padding: 0;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.tool-groups {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-group {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008)),
    rgba(8, 11, 19, 0.52);
}

.tool-group-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 246, 235, 0.96);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tool-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.tool-blender {
  background: linear-gradient(180deg, rgba(246, 133, 27, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-blender .tool-logo {
  background: rgba(246, 133, 27, 0.18);
  color: #ffd8ac;
}

.tool-ae {
  background: linear-gradient(180deg, rgba(153, 114, 255, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-ae .tool-logo {
  background: rgba(153, 114, 255, 0.18);
  color: #e3d5ff;
}

.tool-unreal {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.008));
}

.tool-unreal .tool-logo {
  background: rgba(255, 255, 255, 0.1);
  color: #f4f1ee;
}

.tool-substance {
  background: linear-gradient(180deg, rgba(255, 86, 86, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-substance .tool-logo {
  background: rgba(255, 86, 86, 0.18);
  color: #ffd4d4;
}

.tool-houdini {
  background: linear-gradient(180deg, rgba(255, 110, 73, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-houdini .tool-logo {
  background: rgba(255, 110, 73, 0.18);
  color: #ffd7cc;
}

.tool-nuke {
  background: linear-gradient(180deg, rgba(88, 204, 138, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-nuke .tool-logo {
  background: rgba(88, 204, 138, 0.18);
  color: #d6ffe4;
}

.tool-marvelous {
  background: linear-gradient(180deg, rgba(241, 94, 136, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-marvelous .tool-logo {
  background: rgba(241, 94, 136, 0.18);
  color: #ffd5e3;
}

.tool-embergen {
  background: linear-gradient(180deg, rgba(255, 154, 67, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-embergen .tool-logo {
  background: rgba(255, 154, 67, 0.18);
  color: #ffe1c2;
}

.tool-syntheyes {
  background: linear-gradient(180deg, rgba(106, 181, 255, 0.12), rgba(255, 255, 255, 0.008));
}

.tool-syntheyes .tool-logo {
  background: rgba(106, 181, 255, 0.18);
  color: #d8eeff;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.works-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.works-info-panel {
  position: static;
  display: grid;
  gap: 18px;
}

.works-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.works-meta-card {
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(144, 168, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(10, 13, 20, 0.62);
}

.works-meta-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.works-meta-card strong {
  max-width: 16ch;
  font-size: 1rem;
  line-height: 1.34;
}

.works-carousel {
  min-width: 0;
  width: 100%;
}

.carousel-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.works-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.works-viewport::-webkit-scrollbar {
  display: none;
}

.works-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 19vw, 330px);
  gap: clamp(18px, 1.8vw, 26px);
  padding-bottom: 14px;
}

.work-card {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transform:
    perspective(1200px)
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg))
    translate3d(0, 0, 0)
    scale(1);
  transform-style: preserve-3d;
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform:
    perspective(1200px)
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg))
    translate3d(0, -10px, 0)
    scale(1.018);
}

.work-cover {
  display: block;
  aspect-ratio: 2 / 3;
  min-height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px 14px 28px 14px;
  box-shadow:
    inset 0 -40px 80px rgba(4, 6, 10, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(255, 244, 235, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(144, 168, 255, 0.03), transparent 34%, rgba(5, 7, 12, 0.3) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.work-card:hover .work-cover,
.work-card:focus-visible .work-cover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateZ(14px) scale(1.014) rotate(-0.6deg);
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 -40px 80px rgba(4, 6, 10, 0.18);
}

.work-card:hover .work-cover::after,
.work-card:focus-visible .work-cover::after {
  opacity: 1;
}

.work-meta {
  display: grid;
  gap: 8px;
  padding: 0 4px;
  transform: translateZ(10px);
}

.work-meta strong {
  max-width: 14ch;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.case-gradient-1 {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 20%),
    linear-gradient(135deg, rgba(141, 224, 209, 0.78), rgba(18, 31, 44, 0.88), rgba(217, 184, 119, 0.72));
}

.case-gradient-2 {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(135deg, rgba(217, 184, 119, 0.8), rgba(22, 16, 31, 0.9), rgba(126, 151, 255, 0.74));
}

.case-gradient-3 {
  background:
    radial-gradient(circle at 30% 68%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(83, 124, 255, 0.7), rgba(13, 18, 28, 0.92), rgba(141, 224, 209, 0.72));
}

.case-gradient-4 {
  background:
    radial-gradient(circle at 82% 34%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(135deg, rgba(217, 184, 119, 0.74), rgba(19, 25, 41, 0.92), rgba(255, 120, 159, 0.52));
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experience-list {
  display: grid;
  gap: 18px;
}

.experience-card {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px 16px 28px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
    rgba(13, 16, 24, 0.78);
  box-shadow: var(--shadow);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.experience-card:hover,
.experience-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.experience-content {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.experience-period {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-role h3,
.experience-notes p,
.experience-notes ul {
  margin: 0;
}

.experience-role h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 800;
}

.experience-role p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-notes p,
.experience-notes li {
  color: var(--muted);
  line-height: 1.8;
}

.experience-notes ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.experience-notes li {
  position: relative;
  padding-left: 16px;
}

.experience-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.72;
}

.experience-tools {
  margin-top: 14px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.86rem;
}

.social-card {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2vw, 26px);
  border-radius: 24px 14px 24px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
    rgba(13, 16, 24, 0.74);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.social-card[aria-disabled="true"] {
  opacity: 0.72;
}

.social-card[aria-disabled="true"]:hover,
.social-card[aria-disabled="true"]:focus-visible {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.social-card strong {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.15;
}

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

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

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 280ms ease;
}

.project-modal.is-open {
  opacity: 1;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 320ms ease;
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  width: min(100%, 1320px);
  padding: 24px;
  border-radius: 24px;
  background: var(--panel-strong);
  opacity: 0;
  transform: translateY(18px) scale(0.965);
  transform-origin: center center;
  transition:
    opacity 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
}

.project-modal.is-open .project-modal-backdrop {
  opacity: 1;
}

.project-modal.is-open .project-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.project-modal-media {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 232, 199, 0.18), transparent 0 18%),
    radial-gradient(circle at 80% 18%, rgba(160, 176, 208, 0.1), transparent 0 20%),
    linear-gradient(135deg, rgba(36, 43, 60, 0.92), rgba(13, 16, 24, 0.98));
}

.project-modal-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.project-modal-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #05070b;
}

.project-video-placeholder {
  display: grid;
  place-content: center;
  gap: 12px;
  min-height: 420px;
  padding: 32px;
  text-align: center;
}

.project-video-placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-video-placeholder p,
.project-modal-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-modal-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 18px;
}

.project-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tool-list[hidden] {
  display: none;
}

.project-tool {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(144, 168, 255, 0.04), rgba(255, 255, 255, 0.018));
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-tool-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.project-tool-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.button-primary {
  background: linear-gradient(135deg, #e6bb92, #c9d3ff);
  color: #0f1117;
  border-color: transparent;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.project-page {
  min-height: 100svh;
}

.project-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px var(--gutter) 72px;
}

.project-layout {
  display: grid;
  gap: 24px;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-back::before {
  content: "←";
  font-size: 1rem;
}

.project-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.project-counter {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-page-card {
  width: 100%;
  max-width: none;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 30px 18px 30px 18px;
}

.project-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.62fr);
  gap: clamp(22px, 2vw, 30px);
  align-items: start;
}

.project-page-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px 14px 30px 14px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 232, 199, 0.18), transparent 0 18%),
    radial-gradient(circle at 80% 18%, rgba(160, 176, 208, 0.1), transparent 0 20%),
    linear-gradient(135deg, rgba(36, 43, 60, 0.92), rgba(13, 16, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 54px rgba(0, 0, 0, 0.22);
}

.project-page-media video,
.project-page-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #05070b;
}

.project-page-copy {
  display: grid;
  gap: 16px;
  align-content: start;
  padding-top: 8px;
}

.project-page-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4.2vw, 5rem);
  font-weight: 600;
  line-height: 0.95;
  max-width: 10ch;
}

.project-page-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-page-meta {
  display: grid;
  gap: 10px;
}

.project-page-description {
  max-width: 44ch;
  font-size: 0.98rem;
}

.project-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.project-page-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-page-nav-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px 14px 22px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
    rgba(13, 16, 24, 0.74);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-page-nav-card:hover,
.project-page-nav-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.project-page-nav-card.is-next {
  text-align: right;
}

.project-page-nav-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-page-nav-card strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.project-page-nav-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes ambientDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(1.5%, -1%, 0) scale(1.04);
    opacity: 0.96;
  }
}

@keyframes ambientDriftSoft {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.86;
  }

  100% {
    transform: translate3d(0.8%, -0.4%, 0) scale(1.02);
    opacity: 0.96;
  }
}

@keyframes vignettePulse {
  0% {
    opacity: 0.88;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.9;
  }
}

@keyframes orbFloatLeft {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

@keyframes orbFloatRight {
  0% {
    transform: translate3d(2%, -1%, 0) scale(1);
  }

  100% {
    transform: translate3d(-3%, 2%, 0) scale(1.06);
  }
}

@keyframes orbBreatheLeft {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.78;
  }

  100% {
    transform: translate3d(1.6%, 1%, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes orbBreatheRight {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.74;
  }

  100% {
    transform: translate3d(-1.8%, 1.2%, 0) scale(1.07);
    opacity: 0.98;
  }
}

@keyframes heroGlowShift {
  0% {
    transform: scale(1) translateY(0);
    filter: saturate(0.94) brightness(0.98);
  }

  100% {
    transform: scale(1.015) translateY(-0.5%);
    filter: saturate(1) brightness(1.03);
  }
}

@keyframes heroShimmer {
  0% {
    opacity: 0.62;
  }

  100% {
    opacity: 0.9;
  }
}

@keyframes introFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introWordPulse {
  0% {
    opacity: 0;
    transform: translateY(12px);
    letter-spacing: 0.34em;
    color: rgba(255, 255, 255, 0.14);
    text-shadow: none;
  }

  45% {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255, 241, 227, 0.96);
    border-color: rgba(255, 173, 121, 0.2);
    background: rgba(255, 255, 255, 0.038);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.02),
      0 0 34px rgba(255, 173, 121, 0.16);
    text-shadow: 0 0 26px rgba(255, 173, 121, 0.26);
  }

  100% {
    opacity: 0.58;
    transform: translateY(0);
    letter-spacing: 0.26em;
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(127, 152, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    text-shadow: none;
  }
}

@keyframes introTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    letter-spacing: 0.2em;
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0.08em;
    filter: blur(0);
  }
}

@keyframes introLightLeft {
  0% {
    opacity: 0;
    transform: translate3d(-10%, 4%, 0) scale(0.82);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.08);
  }
}

@keyframes introLightRight {
  0% {
    opacity: 0;
    transform: translate3d(10%, -6%, 0) scale(0.84);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.04);
  }
}

@keyframes introFrameReveal {
  0% {
    opacity: 0;
    transform: scale(0.985) rotate(-1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

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

  .page-shell::before,
  .page-shell::after,
  .orb-left,
  .orb-right,
  .hero-atmosphere,
  .hero-atmosphere::after,
  .site-intro-light-left,
  .site-intro-light-right,
  .site-intro-kicker,
  .site-intro-word,
  .site-intro-title,
  .site-intro-role {
    animation: none;
  }

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

  .hero-background-video {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .project-modal-dialog {
    grid-template-columns: 1fr;
  }

  .project-page-grid {
    grid-template-columns: 1fr;
  }

  .project-page-copy {
    padding-top: 0;
  }

  .about-layout,
  .works-showcase {
    grid-template-columns: 1fr;
  }

  .works-info-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .section {
    padding-top: 72px;
  }

  .section-heading h2 {
    max-width: 22ch;
  }

  .works-track {
    grid-auto-columns: minmax(240px, 44vw);
  }

  .about-mini-grid {
    grid-template-columns: 1fr;
  }

  .tool-groups,
  .works-meta-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .experience-content {
    gap: 14px;
  }

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

@media (max-width: 760px) {
  .site-header,
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 10px 14px;
  }

  .brand {
    gap: 6px;
  }

  .brand-role {
    font-size: 0.58rem;
  }

  .hero-atmosphere {
    inset: 0;
  }

  .hero-background-video {
    object-position: 58% center;
  }

  .section-header-inline {
    align-items: start;
    flex-direction: column;
  }

  .about-layout {
    gap: 18px;
  }

  .project-topbar {
    align-items: start;
    flex-direction: column;
  }

  .section-heading h2 {
    max-width: 100%;
  }

  .works-track {
    grid-auto-columns: minmax(220px, 84vw);
  }

  .work-cover {
    aspect-ratio: 2 / 3;
  }

  .project-modal {
    padding: 12px;
  }

  .project-modal-dialog {
    padding: 16px;
  }

  .project-modal-media,
  .project-video-placeholder {
    min-height: 260px;
  }

  .project-shell {
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .project-page-media video,
  .project-page-media iframe {
    aspect-ratio: 4 / 5;
  }

  .project-page-nav {
    grid-template-columns: 1fr;
  }

  .project-page-nav-card.is-next {
    text-align: left;
  }
}
