.experience-page {
  --accent: #2997ff;
  --accent-2: #30d0ff;
  --glow: rgba(41, 151, 255, 0.2);
  --accent-hover: #55adff;
  --line: rgba(255, 255, 255, 0.1);
  --muted: #a1a1a6;
  --card: #151516;
  background: #000000;
  color: #f5f5f7;
}

.experience-page--print3d {
  --accent: #2997ff;
  --accent-2: #64d2ff;
  --glow: rgba(41, 151, 255, 0.22);
  --accent-hover: #55adff;
}

.experience-page--photo {
  --accent: #ff375f;
  --accent-2: #ff9f0a;
  --glow: rgba(255, 55, 95, 0.2);
  --accent-hover: #ff5c7d;
}

.experience-page--gamedev {
  --accent: #bf5af2;
  --accent-2: #30d158;
  --glow: rgba(191, 90, 242, 0.2);
  --accent-hover: #cf7cf5;
}

.product-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(900px, 92svh);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
}

.product-hero__media {
  position: absolute;
  inset: -4%;
  z-index: -3;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.34) saturate(0.72) contrast(1.12);
  transform: scale(1.035);
  will-change: transform;
}

.experience-page--print3d .product-hero__media {
  object-position: center 48%;
  filter: brightness(0.28) saturate(0.45) contrast(1.2);
}

.experience-page--photo .product-hero__media {
  object-position: center 62%;
  filter: brightness(0.29) saturate(0.78) contrast(1.12);
}

.experience-page--gamedev .product-hero__media {
  object-position: center 42%;
  filter: brightness(0.22) saturate(0.38) contrast(1.22);
}

.product-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 70% at 50% 108%, var(--glow), transparent 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.38) 45%, #000000 98%);
}

.product-hero__content,
.product-container {
  width: min(calc(100% - 3rem), 108rem);
  margin-inline: auto;
}

.product-hero__content {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.88);
  will-change: transform, opacity;
}

.product-eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.product-hero h1 {
  max-width: 12ch;
  margin: 0 auto;
  color: #f5f5f7;
  font-size: clamp(4rem, 7.4vw, 8.5rem) !important;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

.product-hero__lead {
  max-width: 46rem;
  margin: 2rem auto 0;
  color: #d2d2d7;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.65;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.product-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  overflow: hidden;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.7rem;
  border: 0;
  border-radius: 980px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease, box-shadow 260ms ease;
}

.product-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: translateX(-115%) skewX(-18deg);
  transition: transform 560ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.product-button:hover {
  transform: translateY(-2px);
}

.product-button:hover::before {
  transform: translateX(115%) skewX(-18deg);
}

.product-button i {
  transition: transform 220ms ease;
}

.product-button:hover i {
  transform: translateX(5px);
}

.product-button--primary {
  background: var(--accent);
  box-shadow: 0 8px 34px var(--glow);
  color: #ffffff;
}

.product-button--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 44px var(--glow);
}

.product-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.product-link::after {
  position: absolute;
  right: 1rem;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.product-link:hover {
  color: #ffffff;
}

.product-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.product-link i {
  font-size: 0.65rem;
  transition: transform 220ms ease;
}

.product-link:hover i {
  transform: translateX(4px);
}

.product-section {
  position: relative;
  padding: clamp(6rem, 10vw, 11rem) 0;
  background: #000000;
}

.product-section--statement {
  overflow: hidden;
  background: #000000;
  text-align: center;
}

.product-section--statement::before {
  position: absolute;
  top: -20%;
  left: 50%;
  width: min(70rem, 90vw);
  height: 32rem;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  content: "";
  filter: blur(30px);
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(-50%);
}

.product-section--statement .product-container {
  max-width: 82rem;
}

.product-section h2 {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(3rem, 6vw, 7rem) !important;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.product-section--statement h2 {
  background: linear-gradient(96deg, #f5f5f7 20%, var(--accent) 55%, var(--accent-2) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-statement {
  max-width: 58rem;
  margin: 2.4rem auto 0;
  color: var(--muted);
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.product-statement .statement-word {
  color: rgba(255, 255, 255, 0.22);
  transition: color 260ms ease;
}

.product-statement .statement-word.is-lit {
  color: #f5f5f7;
}

.product-section--features {
  padding-top: 0;
  background: #000000;
}

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

.product-feature {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  padding: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background: var(--card);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), border-color 320ms ease;
}

.product-feature::after {
  position: absolute;
  right: -30%;
  bottom: -45%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.product-feature:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
}

.product-feature:hover::after {
  opacity: 1;
}

.product-feature > span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.product-feature h3 {
  margin: 6rem 0 1rem;
  color: #f5f5f7;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.product-feature p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.experience-js .product-features .product-reveal:nth-child(2) {
  transition-delay: 110ms;
}

.experience-js .product-features .product-reveal:nth-child(3) {
  transition-delay: 220ms;
}

.product-section--gallery {
  background: #000000;
}

.product-heading {
  max-width: 72rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.product-heading h2 {
  max-width: 13ch;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-work {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 34rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #0a0a0a;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.product-work--featured {
  grid-column: 1 / -1;
  min-height: min(64rem, 72svh);
  will-change: transform;
}

.product-work img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 350ms ease;
}

.product-work:hover img {
  transform: scale(1.025);
  filter: brightness(0.82);
}

.product-work__label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #f5f5f7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-work--game {
  min-height: 34rem;
}

.product-work__content {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: block;
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-work__content strong,
.product-work__content small {
  display: block;
}

.product-work__content strong {
  color: #ffffff;
  font-size: 1.25rem;
}

.product-work__content small {
  margin-top: 0.55rem;
  color: #b9b9bf;
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-work__fallback {
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #080808;
}

.product-work__fallback span {
  color: #f5f5f7;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
}

.product-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.product-empty--game {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

.product-empty__wordmark {
  display: block;
  font-size: clamp(5rem, 16vw, 16rem);
  font-weight: 800;
  line-height: 0.8;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgba(255, 255, 255, 0.08);
}

.product-empty--game p {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  left: 3rem;
  max-width: 36rem;
  color: #a1a1a6;
  font-size: 1rem;
  line-height: 1.65;
}

.product-section--cta {
  overflow: hidden;
  background: #000000;
  text-align: center;
}

.product-section--cta::before {
  position: absolute;
  bottom: -35%;
  left: 50%;
  width: min(80rem, 100vw);
  height: 34rem;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  content: "";
  filter: blur(30px);
  pointer-events: none;
  transform: translateX(-50%);
}

.product-cta {
  position: relative;
  max-width: 72rem;
}

.product-cta h2 {
  max-width: 14ch;
  margin-inline: auto;
}

.product-cta p {
  max-width: 50rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-cta .product-button {
  margin-top: 2.4rem;
}

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

.experience-js .product-reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(28px);
  transition:
    opacity 800ms ease,
    filter 800ms ease,
    transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

.experience-lightbox[hidden] {
  display: none;
}

.experience-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.96);
}

.experience-lightbox > button {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
}

.experience-lightbox__content {
  width: min(100%, 94rem);
  text-align: center;
}

.experience-lightbox__content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 18px;
  object-fit: contain;
}

.experience-lightbox__content p {
  margin: 1rem auto 0;
  color: #a1a1a6;
}

@media (max-width: 1023px) {
  .product-hero {
    min-height: 800px;
  }

  .product-hero__content {
    padding-top: 9rem;
  }

  .product-hero h1 {
    font-size: clamp(3.5rem, 10vw, 6.5rem) !important;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .product-feature {
    min-height: 0;
  }

  .product-feature h3 {
    margin-top: 3.5rem;
  }

  .experience-js .product-features .product-reveal:nth-child(2),
  .experience-js .product-features .product-reveal:nth-child(3) {
    transition-delay: 0ms;
  }
}

@media (max-width: 639px) {
  .product-hero {
    min-height: 740px;
  }

  .product-hero__content,
  .product-container {
    width: min(calc(100% - 2rem), 108rem);
  }

  .product-hero__content {
    padding-top: 8.5rem;
    padding-bottom: 3.5rem;
  }

  .product-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem) !important;
  }

  .product-hero__lead {
    font-size: 0.98rem;
  }

  .product-actions {
    flex-direction: column;
    gap: 1.15rem;
  }

  .product-button {
    width: 100%;
  }

  .product-section {
    padding: 5.5rem 0;
  }

  .product-section h2 {
    font-size: 2.75rem !important;
  }

  .product-statement {
    font-size: 1.15rem;
  }

  .product-feature {
    padding: 1.8rem;
  }

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

  .product-work,
  .product-work--featured,
  .product-work--game {
    grid-column: auto;
    min-height: 24rem;
  }

  .product-empty--game {
    min-height: 24rem;
    padding: 1.5rem;
  }

  .product-empty--game p {
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero__media,
  .product-hero__content,
  .product-reveal,
  .product-work--featured {
    transform: none !important;
  }

  .product-reveal {
    opacity: 1;
    filter: none;
  }

  .product-button,
  .product-work img,
  .product-statement .statement-word {
    transition: none;
  }

  .product-statement .statement-word {
    color: #f5f5f7;
  }
}
