:root {
  --ink: #f8f4ff;
  --muted: #aaa2b5;
  --black: #030207;
  --panel: #0b0712;
  --panel-soft: #110a1a;
  --line: rgba(255, 255, 255, 0.13);
  --purple: #a83cff;
  --purple-light: #dda0ff;
  --blue: #6877ff;
  --orange: #ff8b45;
  --pink: #ff66c4;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

body.pmd-universe-home #outer-wrap,
body.pmd-universe-home #wrap {
  overflow: visible;
}

body.pmd-universe-home h1,
body.pmd-universe-home h2,
body.pmd-universe-home h3,
body.pmd-universe-home h4,
body.pmd-universe-home h5,
body.pmd-universe-home h6 {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.pmd-universe-home .hero-content h1 {
  color: #fff;
}

body.pmd-universe-home .hero-content h1 span {
  color: transparent;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--purple);
  color: white;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 200;
  border-radius: 999px;
  background: white;
  color: black;
  padding: 12px 18px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.header-identities {
  display: flex;
  align-items: center;
  gap: 24px;
}

.project-wordmark {
  position: relative;
  padding-left: 24px;
  color: #d7cede;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.project-wordmark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: var(--line);
  transform: translateY(-50%);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  width: var(--shell);
  height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.wordmark > span:last-child {
  color: var(--purple-light);
}

.wordmark-star {
  color: var(--purple-light);
  font-size: 14px;
  text-shadow: 0 0 16px var(--purple);
  animation: twinkle 2.8s ease-in-out infinite;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #d8d0de;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.desktop-nav > a {
  transition: color 180ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible {
  color: white;
}

.desktop-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
}

.mobile-menu {
  display: none;
}

.universe-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 160px max(24px, calc((100vw - 1180px) / 2)) 100px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 48%, rgba(104, 35, 164, 0.25), transparent 31rem),
    radial-gradient(circle at 35% 100%, rgba(80, 43, 163, 0.12), transparent 30rem),
    linear-gradient(110deg, #020105 0%, #050208 56%, #0a0410 100%);
}

.universe-hero::after {
  content: "";
  position: absolute;
  z-index: 9;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(transparent, var(--black));
}

.star-field {
  position: absolute;
  z-index: -1;
  inset: -30%;
  pointer-events: none;
}

.stars-one {
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 28% 72%, #b476ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 51% 22%, #fff 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 67% 67%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 84% 18%, #dbb6ff 0 1.4px, transparent 2px),
    radial-gradient(circle at 91% 81%, #fff 0 1px, transparent 1.6px);
  background-size: 210px 230px, 280px 310px, 320px 260px, 240px 350px, 390px 300px, 270px 220px;
  animation: star-drift 42s linear infinite;
}

.stars-two {
  opacity: 0.36;
  filter: blur(0.3px);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(196, 128, 255, 0.75) 0 1px, transparent 2px);
  background-position: 0 0, 52px 83px;
  background-size: 130px 150px, 190px 220px;
  animation: star-drift-reverse 60s linear infinite;
}

.light-beam {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 60vw;
  height: 2px;
  filter: blur(1px);
  transform-origin: left center;
}

.beam-one {
  top: 27%;
  right: -18vw;
  background: linear-gradient(90deg, transparent, rgba(173, 79, 255, 0.15), rgba(255, 255, 255, 0.9), transparent);
  transform: rotate(-16deg);
  animation: beam-sweep 7s ease-in-out infinite;
}

.beam-two {
  right: -8vw;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 118, 51, 0.12), rgba(255, 175, 118, 0.7), transparent);
  transform: rotate(13deg);
  animation: beam-sweep 9s 1.5s ease-in-out infinite reverse;
}

.cosmic-system {
  position: absolute;
  z-index: -1;
  width: min(71vw, 980px);
  aspect-ratio: 1.15;
  right: -15%;
  top: 50%;
  pointer-events: none;
  transform: translateY(-48%);
}

.cosmic-system::before {
  content: "";
  position: absolute;
  inset: -24%;
  border-radius: 50%;
  opacity: 0.55;
  background:
    conic-gradient(
      from 20deg,
      transparent 0 12%,
      rgba(166, 60, 255, 0.2) 17%,
      transparent 23% 56%,
      rgba(255, 131, 71, 0.13) 63%,
      transparent 70%
    );
  filter: blur(28px);
  animation: galaxy-rotate 30s linear infinite;
}

.cosmic-system::after {
  content: "";
  position: absolute;
  left: 18%;
  top: 12%;
  width: 150px;
  height: 1px;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent, #fff, #c96dff, transparent);
  box-shadow: 0 0 18px rgba(203, 105, 255, 0.75);
  transform: rotate(-28deg);
  animation: shooting-star 8s ease-in-out infinite;
}

.cosmic-planet {
  position: absolute;
  right: -8%;
  top: 8%;
  width: 69%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 27%, rgba(255, 255, 255, 0.98) 0 0.6%, rgba(226, 183, 255, 0.85) 1.4%, transparent 5%),
    radial-gradient(circle at 35% 29%, #a348ff 0 5%, #481179 19%, #160522 48%, #07020d 67%, #020104 72%);
  box-shadow:
    -24px -8px 80px rgba(170, 67, 255, 0.36),
    -3px 0 3px rgba(255, 255, 255, 0.38) inset,
    0 0 160px rgba(115, 31, 190, 0.26);
  animation: planet-breathe 6s ease-in-out infinite;
}

.cosmic-planet::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  opacity: 0.5;
  background:
    repeating-radial-gradient(
      ellipse at 36% 30%,
      transparent 0 9%,
      rgba(223, 161, 255, 0.11) 10% 11%,
      transparent 12% 18%
    );
  mix-blend-mode: screen;
  animation: planet-surface 17s linear infinite;
}

.cosmic-planet::before {
  content: "";
  position: absolute;
  inset: 8% 12% 14% 6%;
  border-radius: 50%;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 28% 44%, rgba(179, 104, 229, 0.32) 0 4%, transparent 5%),
    radial-gradient(ellipse at 62% 28%, rgba(98, 36, 143, 0.55) 0 8%, transparent 9%),
    radial-gradient(ellipse at 47% 70%, rgba(86, 20, 133, 0.5) 0 9%, transparent 10%);
  animation: planet-texture 24s linear infinite;
}

.cosmic-ring {
  position: absolute;
  left: 52%;
  top: 52%;
  border: 1px solid rgba(195, 115, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(150, 48, 242, 0.12);
  transform: translate(-50%, -50%) rotate(-14deg);
}

.cosmic-ring-one {
  width: 104%;
  height: 39%;
  border-width: 3px 1px 1px 3px;
  animation: ring-glow 5s ease-in-out infinite;
}

.cosmic-ring-two {
  width: 118%;
  height: 56%;
  opacity: 0.34;
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(22deg);
  animation: ring-glow 7s 1s ease-in-out infinite reverse;
}

.cosmic-ring-three {
  width: 91%;
  height: 74%;
  opacity: 0.27;
  transform: translate(-50%, -50%) rotate(58deg);
  animation: ring-glow 8s 2s ease-in-out infinite;
}

.orbit-light {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 0 9px white,
    0 0 28px #c75fff,
    0 0 55px #8a2cff;
}

.orbit-light-one {
  left: 23%;
  top: 40%;
  animation: light-travel 8s ease-in-out infinite;
}

.orbit-light-two {
  right: 21%;
  bottom: 25%;
  width: 10px;
  height: 10px;
  background: #ff9c58;
  box-shadow: 0 0 9px #fff, 0 0 26px #ff7f2f;
  animation: light-travel-alt 10s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(780px, 66vw);
}

.hero-label {
  margin: 0 0 38px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 7.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-shadow: 0 10px 48px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(90deg, #e9c4ff 0%, #ac4cff 45%, #7a36e9 74%, #ff9d64 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-name {
  margin: 34px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.45em;
}

.hero-intro {
  max-width: 650px;
  margin: 26px 0 0;
  color: #b8b0be;
  font-size: 16px;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 800;
}

.button-primary {
  background: #fff;
  color: #13071b;
  box-shadow: 0 15px 55px rgba(170, 67, 255, 0.16);
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--purple-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d0c7d6;
  font-size: 13px;
  font-weight: 700;
}

.scroll-signal {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
  color: #7d7483;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-signal i {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.scroll-signal i::after {
  content: "";
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  background: linear-gradient(transparent, var(--purple-light), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

.about-universe {
  padding-block: 130px;
}

.section-heading {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 82px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.showreel-copy h2,
.tools-heading h2,
.brand-heading h2,
.profile-intro h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.gravity-stage {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(151, 53, 220, 0.22), transparent 22rem),
    linear-gradient(145deg, rgba(17, 9, 25, 0.86), rgba(5, 3, 8, 0.92));
}

.gravity-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 17% 30%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 18%, #c176ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 84% 73%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 29% 80%, #fff 0 1px, transparent 1.6px);
  background-size: 170px 190px, 240px 270px, 210px 230px, 310px 290px;
  animation: star-drift 54s linear infinite;
}

.gravity-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gravity-lines span {
  position: absolute;
  left: 50%;
  top: 49%;
  border: 1px solid rgba(188, 100, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-11deg);
}

.gravity-lines span:nth-child(1) {
  width: 73%;
  height: 39%;
}

.gravity-lines span:nth-child(2) {
  width: 92%;
  height: 65%;
  transform: translate(-50%, -50%) rotate(18deg);
}

.gravity-lines span:nth-child(3) {
  width: 45%;
  height: 83%;
  transform: translate(-50%, -50%) rotate(42deg);
}

.about-portrait {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(43%, 430px);
  transform: translateX(-50%);
}

.about-portrait::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 0;
  height: 36%;
  background: linear-gradient(transparent, rgba(5, 2, 8, 0.97));
  pointer-events: none;
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7));
}

.portrait-halo {
  position: absolute;
  left: 50%;
  top: 14%;
  width: 87%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 73, 255, 0.42), transparent 68%);
  filter: blur(12px);
  transform: translateX(-50%);
  animation: planet-breathe 5s ease-in-out infinite;
}

.portrait-caption {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 5, 13, 0.76);
  backdrop-filter: blur(16px);
  padding: 13px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.portrait-caption span {
  display: block;
  margin-bottom: 3px;
  color: var(--purple-light);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stat-star {
  position: absolute;
  z-index: 5;
  width: 190px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 7, 18, 0.69);
  backdrop-filter: blur(18px);
  padding: 19px 21px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  animation: stat-float 5.5s ease-in-out infinite;
}

.stat-star::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 16px var(--purple);
}

.stat-star p {
  margin: 0;
  color: white;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-star sup {
  margin-left: 4px;
  color: var(--purple-light);
  font-size: 15px;
  letter-spacing: 0;
}

.stat-star > span {
  display: block;
  margin-top: 8px;
  color: #aaa1af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-star-1 {
  left: 9%;
  top: 14%;
}

.stat-star-1::after {
  right: -3px;
  bottom: 18px;
}

.stat-star-2 {
  right: 8%;
  top: 12%;
  animation-delay: -1.4s;
}

.stat-star-2::after {
  left: -3px;
  top: 20px;
}

.stat-star-3 {
  left: 7%;
  bottom: 18%;
  animation-delay: -2.7s;
}

.stat-star-3::after {
  right: -3px;
  top: 23px;
}

.stat-star-4 {
  right: 7%;
  bottom: 20%;
  animation-delay: -3.8s;
}

.stat-star-4::after {
  left: -3px;
  bottom: 22px;
}

.work-method {
  padding-top: 110px;
}

.method-title {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.method-title h3 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(37px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.method-card {
  min-height: 295px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 15%, rgba(168, 60, 255, 0.12), transparent 10rem),
    var(--panel);
  padding: 28px;
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}

.method-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 153, 255, 0.38);
  background-color: #120a19;
}

.method-card > span {
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 800;
}

.method-card h4 {
  margin: 70px 0 14px;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.showreel {
  padding-block: 120px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: 78px;
}

.showreel-copy > p:last-child {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.showreel-frame {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 60% 46%, rgba(162, 62, 236, 0.3), transparent 17rem),
    linear-gradient(140deg, #100617, #040207 67%);
}

.showreel-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06) 49%, transparent 68%);
  transform: translateX(-100%);
  animation: video-sweep 5s ease-in-out infinite;
}

.video-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 80%, transparent);
}

.video-orbit {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 62%;
  height: 36%;
  border: 1px solid rgba(203, 126, 255, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-17deg);
  animation: ring-glow 4s ease-in-out infinite;
}

.play-core {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(9, 4, 13, 0.68);
  box-shadow: 0 0 65px rgba(164, 60, 244, 0.45);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}

.play-core::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px dashed rgba(218, 156, 255, 0.34);
  border-radius: 50%;
  animation: core-spin 14s linear infinite;
}

.play-core span {
  margin-left: 5px;
  color: white;
  font-size: 25px;
}

.video-status {
  position: absolute;
  left: 24px;
  bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 3, 8, 0.68);
  backdrop-filter: blur(12px);
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 800;
}

.video-status span {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-light);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showreel-frame > p {
  position: absolute;
  right: 24px;
  bottom: 23px;
  margin: 0;
  color: #817987;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-universe {
  padding-block: 130px;
  border-top: 1px solid var(--line);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px 24px;
}

.featured-project:nth-child(1) {
  grid-column: 1 / -1;
}

.featured-project:nth-child(1) .project-portal {
  aspect-ratio: 2.1;
}

.project-portal {
  position: relative;
  display: block;
  aspect-ratio: 1.28;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.project-portal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(3, 1, 6, 0.62)),
    radial-gradient(circle at 82% 10%, transparent, rgba(3, 1, 6, 0.15));
  pointer-events: none;
}

.project-portal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.06);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 350ms ease;
}

.project-portal:hover img,
.project-portal:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.03);
}

.portal-glow {
  position: absolute;
  z-index: 2;
  right: -11%;
  top: -24%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.55;
  background: radial-gradient(circle, var(--project-accent), transparent 69%);
  mix-blend-mode: screen;
  animation: planet-breathe 5s ease-in-out infinite;
}

.project-violet {
  --project-accent: #ad4bff;
}

.project-blue {
  --project-accent: #4d84ff;
}

.project-orange {
  --project-accent: #ff8243;
}

.project-pink {
  --project-accent: #ff57bd;
}

.project-index,
.portal-arrow {
  position: absolute;
  z-index: 4;
  top: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 2, 7, 0.55);
  backdrop-filter: blur(10px);
}

.project-index {
  left: 18px;
  min-width: 44px;
  height: 29px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.portal-arrow {
  right: 18px;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  font-size: 18px;
}

.project-content {
  padding-top: 21px;
}

.project-content > p {
  margin: 0 0 9px;
  color: var(--project-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.project-description {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.project-description > span {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.project-description a {
  display: inline-flex;
  gap: 10px;
  color: #e5dfea;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.project-content ul {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.project-content li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: #c6bdcb;
  font-size: 10px;
  font-weight: 700;
}

.tools-system {
  position: relative;
  overflow: hidden;
  padding-block: 130px 90px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 63%, rgba(110, 33, 169, 0.2), transparent 31rem),
    linear-gradient(180deg, #050208, #09040e 55%, #030207);
}

.tools-system::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 20% 20%, white 0 1px, transparent 1.6px),
    radial-gradient(circle at 75% 55%, #d198ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 39% 87%, white 0 1px, transparent 1.6px);
  background-size: 240px 260px, 310px 280px, 190px 230px;
  animation: star-drift-reverse 50s linear infinite;
}

.tools-heading {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.tools-heading > p:last-child {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.solar-system {
  position: relative;
  z-index: 2;
  min-height: 790px;
  margin-top: 60px;
}

.solar-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 230px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid rgba(222, 158, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.95) 0 1%, rgba(223, 164, 255, 0.5) 3%, transparent 9%),
    radial-gradient(circle, #4e1377 0%, #220631 53%, #0a020d 72%);
  box-shadow:
    0 0 70px rgba(168, 60, 255, 0.3),
    0 0 130px rgba(168, 60, 255, 0.12);
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  transform: translate(-50%, -50%);
  animation: planet-breathe 5.5s ease-in-out infinite;
}

.solar-core span {
  display: block;
  margin-bottom: 5px;
  color: var(--purple-light);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.solar-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(200, 124, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.solar-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 18px var(--purple);
  animation: orbit-bead 13s linear infinite;
}

.orbit-a {
  width: 61%;
  height: 48%;
}

.orbit-b {
  width: 92%;
  height: 76%;
  opacity: 0.7;
  transform: translate(-50%, -50%) rotate(17deg);
}

.orbit-b::after {
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
  animation-duration: 17s;
  animation-direction: reverse;
}

.tool-planet {
  position: absolute;
  z-index: 4;
  width: 175px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(13, 7, 19, 0.78);
  backdrop-filter: blur(14px);
  padding: 11px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
  animation: tool-float 6s ease-in-out infinite;
}

.tool-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  color: #26112f;
  font-size: 14px;
  font-weight: 900;
}

.tool-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.tool-planet h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.tool-planet p {
  margin: 4px 0 0;
  color: #8e8594;
  font-size: 9px;
}

.tool-planet-1 {
  left: 43%;
  top: 1%;
}

.tool-planet-2 {
  right: 11%;
  top: 13%;
  animation-delay: -1s;
}

.tool-planet-3 {
  right: 0;
  top: 43%;
  animation-delay: -2.2s;
}

.tool-planet-4 {
  right: 11%;
  bottom: 10%;
  animation-delay: -3.1s;
}

.tool-planet-5 {
  left: 44%;
  bottom: 0;
  animation-delay: -1.7s;
}

.tool-planet-6 {
  left: 11%;
  bottom: 9%;
  animation-delay: -4.1s;
}

.tool-planet-7 {
  left: 0;
  top: 44%;
  animation-delay: -2.8s;
}

.tool-planet-8 {
  left: 11%;
  top: 13%;
  animation-delay: -0.8s;
}

.tool-planet-9 {
  left: 27%;
  top: 28%;
  animation-delay: -3.5s;
}

.tool-planet-10 {
  right: 26%;
  top: 31%;
  animation-delay: -1.3s;
}

.tools-note {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 36px auto 0;
  color: #6f6676;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.8;
  text-transform: uppercase;
}

.brand-collab {
  overflow: hidden;
  padding-block: 130px;
  border-top: 1px solid var(--line);
}

.brand-heading {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 82px;
}

.brand-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.brand-window {
  position: relative;
}

.brand-window::before,
.brand-window::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: max(30px, calc((100vw - 1180px) / 2));
  pointer-events: none;
  background: linear-gradient(90deg, var(--black), transparent);
}

.brand-window::after {
  inset: 0 0 0 auto;
  background: linear-gradient(-90deg, var(--black), transparent);
}

.brand-track {
  width: max-content;
  display: flex;
  gap: 18px;
  animation: brand-scroll 38s linear infinite;
}

.brand-track:hover,
.brand-track:focus-within {
  animation-play-state: paused;
}

.brand-card {
  flex: 0 0 clamp(310px, 34vw, 500px);
}

.brand-card a {
  position: relative;
  display: block;
  aspect-ratio: 1.48;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 550ms ease, filter 350ms ease;
}

.brand-card a:hover img,
.brand-card a:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1);
}

.brand-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(3, 1, 6, 0.88));
}

.brand-card a > div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.brand-card p {
  margin: 0 0 7px;
  color: var(--purple-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-card h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.045em;
}

.brand-card a > div > span {
  display: block;
  margin-top: 12px;
  color: #b9afbf;
  font-size: 10px;
  font-weight: 700;
}

.profile-section {
  padding-block: 130px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 95px;
}

.profile-intro {
  align-self: start;
  position: sticky;
  top: 40px;
}

.profile-intro > p:not(.kicker) {
  max-width: 520px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.profile-facts {
  margin-top: 44px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.profile-facts article {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-facts strong {
  display: block;
  font-size: 17px;
}

.profile-facts p {
  margin: 6px 0 0;
  color: #8f8795;
  font-size: 11px;
  line-height: 1.5;
}

.experience-timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  padding: 31px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.timeline-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple-light);
  font-size: 9px;
  font-weight: 800;
}

.timeline-item div > p {
  margin: 0 0 10px;
  color: #736b78;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.timeline-item h4 {
  margin: 8px 0 0;
  color: #bcb3c2;
  font-size: 12px;
  font-weight: 700;
}

.timeline-item div > span {
  display: block;
  margin-top: 13px;
  color: #847c89;
  font-size: 11px;
  line-height: 1.5;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 110px 72px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 87% 14%, rgba(255, 152, 87, 0.45), transparent 21rem),
    radial-gradient(circle at 67% 100%, rgba(79, 29, 151, 0.48), transparent 25rem),
    linear-gradient(130deg, #8f2bd3, #53117a 59%, #17071f);
}

.contact-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 480px;
  right: -110px;
  bottom: -300px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.07);
}

.contact-stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 8% 20%, white 0 1px, transparent 1.8px),
    radial-gradient(circle at 40% 60%, white 0 1px, transparent 1.8px),
    radial-gradient(circle at 78% 28%, #ffd7bf 0 1px, transparent 1.8px);
  background-size: 190px 220px, 270px 240px, 310px 270px;
  animation: star-drift 40s linear infinite;
}

.contact-section .kicker {
  color: rgba(255, 255, 255, 0.7);
}

.contact-section h2 {
  max-width: 850px;
}

.contact-section h2 span {
  display: block;
  color: #e8c1ff;
}

.contact-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.button-light {
  background: white;
  color: #28112f;
  transition: transform 180ms ease;
}

.button-light:hover,
.button-light:focus-visible {
  transform: translateY(-2px);
}

.contact-actions > a:not(.button) {
  color: #eee5f2;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: #6e6674;
  font-size: 10px;
}

.footer-mark {
  color: white;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

/* Shared galaxy layer */
main > section {
  isolation: isolate;
}

.section-star-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.52;
  background-image:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 28% 63%, rgba(206, 138, 255, 0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle at 47% 28%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 73% 77%, rgba(255, 168, 111, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 92% 38%, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.6px);
  background-size: 190px 210px, 270px 310px, 230px 260px, 330px 280px, 250px 300px;
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
  animation: star-drift 70s linear infinite;
}

.about-universe > :not(.section-star-field),
.showreel > :not(.section-star-field),
.project-universe > :not(.section-star-field),
.tools-system > :not(.section-star-field),
.brand-collab > :not(.section-star-field),
.profile-section > :not(.section-star-field) {
  position: relative;
  z-index: 1;
}

/* About constellation */
.about-universe {
  position: relative;
  padding-block: 150px 120px;
}

.gravity-stage {
  min-height: 980px;
  overflow: visible;
  border-color: rgba(211, 143, 255, 0.2);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 47%, rgba(159, 55, 231, 0.28), transparent 23rem),
    radial-gradient(circle at 16% 18%, rgba(68, 87, 255, 0.1), transparent 18rem),
    radial-gradient(circle at 85% 78%, rgba(255, 117, 57, 0.08), transparent 17rem),
    linear-gradient(145deg, rgba(17, 9, 25, 0.92), rgba(5, 3, 8, 0.96));
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(151, 54, 226, 0.06) inset;
}

.gravity-stage::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 32px;
  pointer-events: none;
}

.gravity-lines span {
  border-color: rgba(199, 117, 255, 0.22);
  box-shadow: 0 0 22px rgba(164, 58, 238, 0.08);
  animation: gravity-ring-pulse 7s ease-in-out infinite;
}

.gravity-lines span:nth-child(2) {
  animation-delay: -2.2s;
}

.gravity-lines span:nth-child(3) {
  animation-delay: -4.4s;
}

.gravity-comet {
  position: absolute;
  z-index: 2;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 105, 255, 0.18), white);
  filter: drop-shadow(0 0 8px #a93cff);
  transform: rotate(-24deg);
  animation: gravity-comet 9s ease-in-out infinite;
}

.gravity-comet::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 14px white, 0 0 32px var(--purple);
}

.gravity-comet-one {
  left: 7%;
  top: 36%;
}

.gravity-comet-two {
  right: 8%;
  top: 67%;
  animation-delay: -4.5s;
  transform: rotate(158deg);
}

.about-portrait {
  z-index: 4;
  bottom: 74px;
  width: min(32%, 360px);
}

.about-portrait::after {
  left: -20%;
  right: -20%;
  bottom: -6%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(171, 62, 246, 0.3), transparent 67%);
  filter: blur(18px);
}

.about-portrait img {
  z-index: 2;
  max-height: 760px;
  object-fit: contain;
  filter:
    drop-shadow(0 35px 55px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 24px rgba(119, 55, 255, 0.2));
  transform-origin: center 52%;
  animation: avatar-zero-gravity 6s ease-in-out infinite;
}

.portrait-halo {
  left: 50%;
  top: 29%;
  width: 145%;
  background:
    radial-gradient(circle, rgba(177, 73, 255, 0.34), transparent 63%),
    conic-gradient(from 40deg, transparent, rgba(255, 139, 69, 0.1), transparent 36%, rgba(145, 60, 255, 0.13), transparent);
  filter: blur(8px);
  animation: halo-pulse 6s ease-in-out infinite;
}

.portrait-orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 44%;
  border: 1px solid rgba(209, 143, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-19deg);
  animation: portrait-orbit-spin 18s linear infinite;
}

.portrait-orbit::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 4%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 16px white, 0 0 30px var(--purple);
}

.portrait-orbit-one {
  width: 160%;
  height: 35%;
}

.portrait-orbit-two {
  width: 120%;
  height: 72%;
  opacity: 0.55;
  transform: translate(-50%, -50%) rotate(31deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.portrait-caption {
  bottom: 8px;
  border-color: rgba(221, 160, 255, 0.25);
  background: rgba(8, 4, 13, 0.62);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.stat-orbit {
  position: absolute;
  z-index: 6;
  width: 250px;
  text-align: center;
  animation: stat-orbit-float 7s ease-in-out infinite;
}

.stat-planet {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: white;
}

a.stat-planet:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 8px;
  border-radius: 24px;
}

.stat-planet-body {
  position: relative;
  width: 146px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.95) 0 1.4%, rgba(235, 196, 255, 0.6) 2.5%, transparent 8%),
    radial-gradient(circle at 38% 34%, #9b40db, #441064 48%, #170521 72%);
  box-shadow:
    0 0 34px rgba(168, 60, 255, 0.32),
    0 0 72px rgba(168, 60, 255, 0.14);
  transition: transform 350ms ease, filter 350ms ease, box-shadow 350ms ease;
}

.stat-planet-body::before,
.stat-planet-body::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 31%;
  border: 2px solid rgba(220, 154, 255, 0.56);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(168, 60, 255, 0.2);
  transform: translate(-50%, -50%) rotate(-13deg);
  transition: transform 500ms ease, border-color 350ms ease;
}

.stat-planet-body::after {
  z-index: 1;
  clip-path: inset(50% 0 0);
  border-color: rgba(247, 218, 255, 0.78);
}

.stat-planet-body strong {
  position: relative;
  z-index: 2;
  font-size: 45px;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.stat-planet-body small {
  position: relative;
  z-index: 2;
  margin-top: 5px;
  color: #e3b6ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-planet-body i {
  position: absolute;
  right: 21%;
  top: 19%;
  width: 12px;
  height: 7px;
  border-radius: 50%;
  background: rgba(29, 7, 44, 0.56);
  box-shadow:
    -37px 43px 0 -2px rgba(31, 8, 46, 0.38),
    26px 57px 0 -3px rgba(31, 8, 46, 0.3);
}

a.stat-planet:hover .stat-planet-body,
a.stat-planet:focus-visible .stat-planet-body {
  filter: brightness(1.25);
  transform: scale(1.08) rotate(3deg);
  box-shadow:
    0 0 46px rgba(190, 89, 255, 0.52),
    0 0 100px rgba(168, 60, 255, 0.22);
}

a.stat-planet:hover .stat-planet-body::before,
a.stat-planet:focus-visible .stat-planet-body::before {
  border-color: rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -50%) rotate(-18deg) scale(1.05);
}

.stat-label {
  margin-top: 23px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stat-destination {
  min-height: 14px;
  margin-top: 7px;
  color: #766c7e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.74;
  transition: color 180ms ease, opacity 180ms ease;
}

a.stat-planet:hover .stat-destination,
a.stat-planet:focus-visible .stat-destination {
  color: var(--purple-light);
  opacity: 1;
}

.stat-planet-disabled {
  cursor: default;
}

.stat-planet-disabled .stat-planet-body {
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.95) 0 1.4%, rgba(255, 208, 176, 0.5) 2.5%, transparent 8%),
    radial-gradient(circle at 38% 34%, #ca6533, #5d1e28 48%, #1d0914 72%);
  box-shadow: 0 0 34px rgba(255, 111, 58, 0.24), 0 0 72px rgba(255, 111, 58, 0.1);
}

.stat-orbit-1 {
  left: 6%;
  top: 14%;
}

.stat-orbit-2 {
  right: 5%;
  top: 12%;
  animation-delay: -1.6s;
}

.stat-orbit-3 {
  left: 7%;
  bottom: 10%;
  animation-delay: -3.1s;
}

.stat-orbit-4 {
  right: 6%;
  bottom: 12%;
  animation-delay: -4.8s;
}

.stat-orbit-2 .stat-planet-body {
  background:
    radial-gradient(circle at 32% 25%, white 0 1.4%, rgba(183, 209, 255, 0.56) 2.5%, transparent 8%),
    radial-gradient(circle at 38% 34%, #546edb, #172f78 48%, #070e28 72%);
  box-shadow: 0 0 34px rgba(85, 122, 255, 0.34), 0 0 72px rgba(85, 122, 255, 0.14);
}

.stat-orbit-3 .stat-planet-body {
  background:
    radial-gradient(circle at 32% 25%, white 0 1.4%, rgba(255, 213, 182, 0.55) 2.5%, transparent 8%),
    radial-gradient(circle at 38% 34%, #df783e, #68232b 48%, #240916 72%);
  box-shadow: 0 0 34px rgba(255, 126, 61, 0.3), 0 0 72px rgba(255, 126, 61, 0.12);
}

.gravity-scroll-link {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  color: #8e8397;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.gravity-scroll-link i {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--purple-light), transparent);
}

.work-method {
  position: relative;
  padding-top: 150px;
}

.method-signal {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 116px;
  background: linear-gradient(transparent, rgba(210, 143, 255, 0.75), transparent);
}

.method-signal::before,
.method-signal::after,
.method-signal span {
  content: "";
  position: absolute;
  left: 50%;
  border: 1px solid rgba(205, 132, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: signal-ripple 3.8s ease-out infinite;
}

.method-signal::before {
  top: 60%;
  width: 28px;
  height: 28px;
}

.method-signal::after {
  top: 60%;
  width: 58px;
  height: 58px;
  animation-delay: -1.25s;
}

.method-signal span {
  top: 60%;
  width: 88px;
  height: 88px;
  animation-delay: -2.5s;
}

.method-title {
  align-items: end;
}

.method-title > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.method-grid {
  position: relative;
  gap: 18px;
}

.method-grid::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 30%;
  border-top: 1px dashed rgba(195, 115, 255, 0.2);
}

.method-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 15%, rgba(168, 60, 255, 0.18), transparent 9rem),
    linear-gradient(145deg, rgba(18, 9, 27, 0.92), rgba(7, 4, 11, 0.95));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.method-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 100px;
  aspect-ratio: 1;
  border: 1px solid rgba(222, 158, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(168, 60, 255, 0.08) inset;
}

.method-card:nth-child(even) {
  transform: translateY(24px);
}

/* Project worlds */
.featured-grid {
  gap: 34px 24px;
}

.featured-project {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--project-accent) 16%, transparent), transparent 17rem),
    linear-gradient(145deg, rgba(17, 9, 24, 0.9), rgba(6, 3, 10, 0.96));
  padding: 14px 14px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.27);
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.featured-project:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--project-accent) 42%, transparent);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.38), 0 0 46px color-mix(in srgb, var(--project-accent) 12%, transparent);
  transform: translateY(-7px);
}

.featured-project-hero {
  padding: 18px 18px 31px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 84% 8%, rgba(177, 74, 255, 0.26), transparent 25rem),
    radial-gradient(circle at 14% 92%, rgba(255, 132, 70, 0.1), transparent 20rem),
    linear-gradient(135deg, rgba(23, 10, 33, 0.96), rgba(5, 3, 9, 0.98));
}

.project-portal {
  overflow: hidden;
  border-radius: 19px;
  background:
    radial-gradient(circle at 72% 38%, color-mix(in srgb, var(--project-accent) 25%, #09040d), #08040c 58%);
}

.featured-project-hero .project-portal {
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(84, 23, 126, 0.23);
}

.featured-project:not(.featured-project-hero) .project-portal img {
  clip-path: ellipse(68% 78% at 50% 50%);
  transform: scale(0.92);
}

.featured-project:not(.featured-project-hero) .project-portal:hover img,
.featured-project:not(.featured-project-hero) .project-portal:focus-visible img {
  transform: scale(0.98) rotate(1deg);
}

.portal-orbit {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 92%;
  height: 56%;
  border: 1px solid color-mix(in srgb, var(--project-accent) 48%, transparent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-8deg);
  animation: portal-orbit-glow 6s ease-in-out infinite;
}

.portal-orbit-two {
  width: 67%;
  height: 87%;
  opacity: 0.45;
  transform: translate(-50%, -50%) rotate(42deg);
  animation-delay: -2.8s;
}

.featured-project-hero .portal-orbit {
  left: 73%;
  width: 53%;
  height: 48%;
}

.project-frame-tag {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(6, 3, 9, 0.64);
  backdrop-filter: blur(12px);
  padding: 8px 11px;
  color: #d4cbd8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-frame-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--project-accent);
  box-shadow: 0 0 11px var(--project-accent);
}

.project-content {
  padding-inline: 13px;
}

.featured-project-hero .project-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.8fr;
  column-gap: 50px;
}

.featured-project-hero .project-content > p,
.featured-project-hero .project-content > h3 {
  grid-column: 1;
}

.featured-project-hero .project-description {
  grid-column: 1;
}

.featured-project-hero .project-content ul {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-content: end;
  justify-content: flex-end;
}

.featured-project:not(.featured-project-hero) .project-content h3 {
  min-height: 2em;
}

/* Brighter tool solar system */
.solar-core {
  overflow: hidden;
  animation: solar-core-pulse 5.5s ease-in-out infinite;
}

.solar-core::before,
.solar-core::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent,
      rgba(255, 255, 255, 0.48) 8%,
      rgba(201, 105, 255, 0.08) 17%,
      transparent 26% 54%,
      rgba(255, 139, 69, 0.24) 65%,
      transparent 76%
    );
  mix-blend-mode: screen;
  animation: galaxy-rotate 8s linear infinite;
}

.solar-core::after {
  inset: 10%;
  opacity: 0.62;
  background: repeating-linear-gradient(104deg, transparent 0 12px, rgba(255, 255, 255, 0.08) 13px 15px, transparent 16px 25px);
  animation-duration: 15s;
  animation-direction: reverse;
}

.solar-core-copy {
  position: relative;
  z-index: 2;
}

.solar-core-copy span {
  display: block;
  margin-bottom: 5px;
  color: var(--purple-light);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tool-planet {
  border-color: rgba(217, 150, 255, 0.2);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(168, 60, 255, 0.1);
}

.tool-planet::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 50%, rgba(192, 99, 255, 0.2), transparent 54%);
  filter: blur(10px);
  animation: asteroid-glow 3.6s ease-in-out infinite;
}

.tool-icon {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.03),
    0 0 22px rgba(200, 113, 255, 0.26);
}

/* Seamless brand loop */
.brand-window {
  padding-block: 10px 22px;
}

.brand-track {
  gap: 0;
  will-change: transform;
  animation-duration: 34s;
}

.brand-group {
  flex: none;
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.brand-card a {
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.3);
}

/* Profile galaxy */
.profile-section {
  position: relative;
  overflow: hidden;
  margin-block: 90px;
  padding: 110px 70px;
  border: 1px solid rgba(208, 134, 255, 0.16);
  border-radius: 38px;
  background:
    radial-gradient(circle at 87% 18%, rgba(148, 54, 223, 0.19), transparent 24rem),
    radial-gradient(circle at 8% 90%, rgba(70, 78, 204, 0.11), transparent 22rem),
    linear-gradient(145deg, rgba(15, 8, 22, 0.94), rgba(5, 3, 9, 0.98));
  box-shadow: 0 55px 130px rgba(0, 0, 0, 0.34);
}

.profile-planet {
  position: absolute !important;
  z-index: 0 !important;
  right: -120px;
  top: -150px;
  width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.82) 0 1%, transparent 7%),
    radial-gradient(circle at 40% 38%, rgba(164, 74, 219, 0.7), rgba(51, 13, 76, 0.7) 48%, rgba(7, 3, 11, 0.15) 72%);
  box-shadow: 0 0 90px rgba(147, 52, 218, 0.17);
  opacity: 0.62;
  animation: profile-planet-float 10s ease-in-out infinite;
}

.profile-planet span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 34%;
  border: 1px solid rgba(222, 158, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.profile-planet span:last-child {
  width: 94%;
  height: 72%;
  transform: translate(-50%, -50%) rotate(44deg);
}

.profile-intro {
  top: 80px;
}

.profile-facts {
  border-top: 0;
  gap: 9px;
}

.profile-facts article {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  padding: 17px 18px;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.profile-facts article:hover {
  border-color: rgba(211, 142, 255, 0.28);
  background: rgba(173, 62, 255, 0.055);
  transform: translateX(5px);
}

.profile-coordinate {
  margin-top: 24px;
  border-left: 1px solid var(--purple);
  padding: 5px 0 5px 16px;
  color: #9d93a3;
  font-size: 10px;
  line-height: 1.6;
}

.profile-coordinate span {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-timeline {
  position: relative;
  border-top: 0;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 38px;
  width: 1px;
  background: linear-gradient(transparent, rgba(194, 107, 255, 0.65), rgba(102, 119, 255, 0.35), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  background: rgba(7, 4, 11, 0.64);
  backdrop-filter: blur(12px);
  padding: 25px 24px 25px 18px;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.timeline-item:hover {
  border-color: rgba(208, 135, 255, 0.27);
  background: rgba(19, 9, 27, 0.88);
  transform: translateX(7px);
}

.timeline-number {
  position: relative;
  z-index: 2;
  border-color: rgba(219, 151, 255, 0.3);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85) 0 2%, transparent 12%),
    #1c0828;
  box-shadow: 0 0 24px rgba(168, 60, 255, 0.2);
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(18deg);
  }
}

@keyframes star-drift {
  to {
    transform: translate3d(8%, 12%, 0);
  }
}

@keyframes star-drift-reverse {
  to {
    transform: translate3d(-10%, -8%, 0);
  }
}

@keyframes beam-sweep {
  0%,
  100% {
    opacity: 0.18;
    transform: rotate(-16deg) translateX(-8%);
  }
  50% {
    opacity: 0.92;
    transform: rotate(-13deg) translateX(7%);
  }
}

@keyframes planet-breathe {
  0%,
  100% {
    filter: brightness(0.92);
    transform: scale(0.985);
  }
  50% {
    filter: brightness(1.12);
    transform: scale(1.015);
  }
}

@keyframes planet-texture {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes planet-surface {
  to {
    transform: rotate(-360deg) scale(1.03);
  }
}

@keyframes shooting-star {
  0%,
  76% {
    opacity: 0;
    transform: translate(-180px, 120px) rotate(-28deg) scaleX(0.2);
  }
  82% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
    transform: translate(400px, -170px) rotate(-28deg) scaleX(1);
  }
}

@keyframes ring-glow {
  0%,
  100% {
    opacity: 0.2;
    box-shadow: 0 0 14px rgba(160, 58, 255, 0.08);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 28px rgba(160, 58, 255, 0.2);
  }
}

@keyframes light-travel {
  0%,
  100% {
    transform: translate(-60px, 80px) scale(0.7);
  }
  50% {
    transform: translate(360px, -120px) scale(1.15);
  }
}

@keyframes light-travel-alt {
  0%,
  100% {
    transform: translate(40px, -70px) scale(0.8);
  }
  50% {
    transform: translate(-330px, 130px) scale(1.2);
  }
}

@keyframes scroll-line {
  to {
    transform: translateY(200%);
  }
}

@keyframes stat-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.8deg);
  }
  50% {
    transform: translate3d(0, -13px, 0) rotate(0.8deg);
  }
}

@keyframes stat-orbit-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.7deg);
  }
  50% {
    transform: translate3d(0, -15px, 0) rotate(0.7deg);
  }
}

@keyframes gravity-ring-pulse {
  0%,
  100% {
    opacity: 0.35;
    filter: brightness(0.8);
  }
  50% {
    opacity: 0.9;
    filter: brightness(1.35);
  }
}

@keyframes gravity-comet {
  0%,
  68% {
    opacity: 0;
    translate: -120px 80px;
  }
  76% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    translate: 280px -150px;
  }
}

@keyframes avatar-zero-gravity {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(1.2deg);
  }
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translateX(-50%) scale(0.96) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.06) rotate(14deg);
  }
}

@keyframes portrait-orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(341deg);
  }
}

@keyframes signal-ripple {
  0% {
    opacity: 0;
    scale: 0.4;
  }
  35% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    scale: 1.5;
  }
}

@keyframes video-sweep {
  0%,
  35% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes core-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-bead {
  0% {
    left: 2%;
    top: 48%;
  }
  25% {
    left: 48%;
    top: -4px;
  }
  50% {
    left: calc(100% - 4px);
    top: 48%;
  }
  75% {
    left: 48%;
    top: calc(100% - 4px);
  }
  100% {
    left: 2%;
    top: 48%;
  }
}

@keyframes tool-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

@keyframes portal-orbit-glow {
  0%,
  100% {
    opacity: 0.25;
    filter: brightness(0.75);
  }
  50% {
    opacity: 0.72;
    filter: brightness(1.4);
  }
}

@keyframes solar-core-pulse {
  0%,
  100% {
    filter: brightness(0.94);
    transform: translate(-50%, -50%) scale(0.985);
  }
  50% {
    filter: brightness(1.18);
    transform: translate(-50%, -50%) scale(1.02);
  }
}

@keyframes asteroid-glow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes profile-planet-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-12px, 15px, 0) rotate(4deg);
  }
}

@keyframes brand-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 38px, 860px);
  }

  .universe-hero {
    padding-inline: 28px;
  }

  .hero-content {
    width: min(760px, 78vw);
  }

  .cosmic-system {
    right: -29%;
    opacity: 0.8;
  }

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

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

  .showreel-copy {
    max-width: 680px;
  }

  .profile-section {
    grid-template-columns: 1fr;
  }

  .profile-intro {
    position: static;
  }

  .solar-system {
    transform: scale(0.86);
    margin-inline: -8%;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 30px);
  }

  .site-header {
    height: 74px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    color: #ddd5e2;
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 44px;
    width: 170px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(11, 6, 16, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }

  .mobile-menu nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .universe-hero {
    min-height: 900px;
    padding: 126px 20px 100px;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
  }

  .hero-label {
    margin-bottom: 28px;
    font-size: 10px;
  }

  .hero-content h1 {
    font-size: clamp(48px, 13.5vw, 72px);
  }

  .hero-name {
    font-size: 12px;
  }

  .hero-intro {
    max-width: 520px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .cosmic-system {
    width: 780px;
    right: -450px;
    top: 69%;
    opacity: 0.7;
  }

  .light-beam {
    width: 90vw;
  }

  .scroll-signal {
    display: none;
  }

  .about-universe,
  .project-universe,
  .brand-collab,
  .profile-section {
    padding-block: 88px;
  }

  .section-heading,
  .brand-heading {
    margin-bottom: 44px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .section-heading h2,
  .showreel-copy h2,
  .tools-heading h2,
  .brand-heading h2,
  .profile-intro h2,
  .contact-section h2 {
    font-size: 43px;
  }

  .gravity-stage {
    min-height: auto;
    padding: 32px 18px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gravity-lines {
    display: none;
  }

  .about-portrait {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(100%, 390px);
    margin: 20px auto 0;
    transform: none;
  }

  .stat-star {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 126px;
    padding: 17px;
  }

  .stat-star p {
    font-size: 32px;
  }

  .work-method {
    padding-top: 78px;
  }

  .method-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-title h3 {
    font-size: 39px;
  }

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

  .method-card {
    min-height: 230px;
  }

  .method-card h4 {
    margin-top: 45px;
  }

  .showreel {
    padding-block: 88px;
    gap: 44px;
  }

  .showreel-frame {
    min-height: 430px;
  }

  .play-core {
    width: 90px;
    height: 90px;
  }

  .showreel-frame > p {
    display: none;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .featured-project:nth-child(1) {
    grid-column: auto;
  }

  .featured-project:nth-child(1) .project-portal,
  .project-portal {
    aspect-ratio: 1.18;
  }

  .project-description {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .tools-system {
    padding-block: 88px;
  }

  .solar-system {
    min-height: auto;
    margin: 54px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    transform: none;
  }

  .solar-orbit {
    display: none;
  }

  .solar-core {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: 190px;
    margin: 0 auto 24px;
    transform: none;
  }

  .tool-planet {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 82px;
  }

  .tool-icon {
    flex-basis: 45px;
    width: 45px;
    height: 45px;
  }

  .brand-heading > p {
    max-width: 530px;
  }

  .brand-card {
    flex-basis: min(82vw, 410px);
  }

  .profile-section {
    gap: 70px;
  }

  .timeline-item {
    grid-template-columns: 44px 1fr;
  }

  .contact-section {
    margin-bottom: 0;
    padding: 82px 24px;
    border-radius: 18px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-block: 55px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 17px;
  }

  .site-footer p:last-child {
    justify-self: start;
  }
}

@media (min-width: 1280px) {
  :root {
    --shell: min(1320px, calc(100% - 80px));
  }

  .universe-hero {
    padding-inline: max(40px, calc((100vw - 1320px) / 2));
  }

  .hero-content {
    width: min(860px, 65vw);
  }

  .cosmic-system {
    width: min(68vw, 1080px);
    right: -12%;
  }

  .gravity-stage {
    min-height: 1020px;
  }

  .about-portrait {
    width: min(31%, 380px);
  }

  .stat-orbit-1,
  .stat-orbit-3 {
    left: 9%;
  }

  .stat-orbit-2,
  .stat-orbit-4 {
    right: 8%;
  }

  .featured-project:not(.featured-project-hero) .project-portal {
    aspect-ratio: 1.48;
  }

  .profile-section {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 120px;
    padding-inline: 90px;
  }
}

@media (max-width: 760px) {
  .header-identities {
    gap: 15px;
  }

  .project-wordmark {
    padding-left: 15px;
    font-size: 13px;
  }

  .project-wordmark::before {
    height: 18px;
  }

  .section-star-field {
    opacity: 0.4;
  }

  .gravity-stage {
    min-height: auto;
    overflow: hidden;
    padding: 36px 14px 24px;
    border-radius: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 6px;
  }

  .gravity-stage::after {
    inset: 8px;
    border-radius: 19px;
  }

  .gravity-comet {
    display: none;
  }

  .stat-orbit {
    position: relative;
    inset: auto;
    width: auto;
    animation-duration: 6s;
  }

  .stat-planet-body {
    width: 104px;
  }

  .stat-planet-body strong {
    font-size: 34px;
  }

  .stat-planet-body::before,
  .stat-planet-body::after {
    width: 137%;
  }

  .stat-label {
    margin-top: 16px;
    font-size: 9px;
  }

  .stat-destination {
    max-width: 130px;
    font-size: 7px;
  }

  .about-portrait {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1 / -1;
    grid-row: auto;
    width: min(78%, 300px);
    min-height: 570px;
    margin: 10px auto -10px;
    transform: none;
  }

  .about-portrait img {
    max-height: 570px;
  }

  .portrait-caption {
    bottom: 12px;
  }

  .gravity-scroll-link {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1 / -1;
    margin-top: 4px;
    transform: none;
  }

  .work-method {
    padding-top: 120px;
  }

  .method-title {
    align-items: flex-start;
  }

  .method-title > p {
    max-width: 100%;
  }

  .method-grid::before {
    display: none;
  }

  .method-card:nth-child(even) {
    transform: none;
  }

  .featured-project,
  .featured-project-hero {
    padding: 10px 10px 23px;
    border-radius: 24px;
  }

  .featured-project-hero .project-content {
    display: block;
  }

  .featured-project-hero .project-content ul {
    justify-content: flex-start;
  }

  .featured-project:not(.featured-project-hero) .project-content h3 {
    min-height: 0;
  }

  .project-frame-tag {
    max-width: calc(100% - 90px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .solar-core {
    animation-name: solar-core-pulse-mobile;
  }

  .brand-group {
    gap: 12px;
    padding-right: 12px;
  }

  .profile-section {
    margin-block: 50px;
    padding: 78px 22px;
    border-radius: 27px;
  }

  .profile-planet {
    right: -150px;
    top: -180px;
    width: 360px;
  }

  .timeline-item {
    padding-inline: 14px;
  }
}

@keyframes solar-core-pulse-mobile {
  0%,
  100% {
    filter: brightness(0.94);
    transform: scale(0.985);
  }
  50% {
    filter: brightness(1.18);
    transform: scale(1.02);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* PMD Universe 1.1 — smoother scroll, clearer type, editable showreel */
html {
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: auto;
}

body.pmd-universe-home {
  width: 100%;
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.pmd-universe-home #outer-wrap,
body.pmd-universe-home #wrap,
body.pmd-universe-home #main,
body.pmd-universe-home .elementor,
body.pmd-universe-home .elementor-element {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.pmd-universe-home h1,
body.pmd-universe-home h2,
body.pmd-universe-home h3,
body.pmd-universe-home h4,
body.pmd-universe-home h5,
body.pmd-universe-home h6 {
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

.hero-content {
  width: min(1080px, 76vw);
}

.hero-content h1 {
  overflow: visible;
  padding-bottom: 0.12em;
  font-size: clamp(62px, 5.6vw, 98px);
  font-weight: 820;
  line-height: 0.99;
  letter-spacing: -0.068em;
}

.hero-content h1 span {
  padding-bottom: 0.09em;
  line-height: 1.01;
}

.section-heading h2,
.showreel-copy h2,
.tools-heading h2,
.brand-heading h2,
.profile-intro h2,
.contact-section h2 {
  padding-bottom: 0.05em;
  line-height: 1.02;
}

.stat-planet-body {
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 5px;
  overflow: visible;
  padding: 0 13px;
}

.stat-planet-body::before,
.stat-planet-body::after {
  z-index: 0;
}

.stat-planet-body strong {
  flex: 0 0 auto;
  overflow: visible;
  font-size: 43px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.32);
}

.stat-planet-body small {
  flex: 0 0 auto;
  max-width: 46px;
  margin: 0;
  color: #efceff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.035em;
  overflow-wrap: normal;
  text-align: left;
  white-space: nowrap;
}

.stat-orbit-1 .stat-planet-body {
  gap: 7px;
}

.stat-orbit-1 .stat-planet-body small {
  max-width: 38px;
  font-size: 9px;
  white-space: normal;
}

.stat-orbit-2 .stat-planet-body small,
.stat-orbit-3 .stat-planet-body small {
  align-self: flex-start;
  margin-top: 45px;
  font-size: 23px;
  line-height: 0.7;
  letter-spacing: -0.04em;
}

.stat-orbit-4 .stat-planet-body strong {
  font-size: 42px;
  letter-spacing: -0.045em;
}

.stat-label {
  font-weight: 750;
  line-height: 1.3;
}

.method-card {
  border-color: rgba(218, 151, 255, 0.19);
  background:
    radial-gradient(circle at 18% 15%, rgba(168, 60, 255, 0.22), transparent 9rem),
    linear-gradient(145deg, #160b20, #0a060f 92%);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(160, 55, 234, 0.05) inset;
  backdrop-filter: none;
}

.method-card p {
  color: #bbb2c2;
}

.showreel-frame.has-video {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #050208;
}

.showreel-media,
.showreel-embed,
.showreel-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: inherit;
}

.showreel-media {
  object-fit: cover;
  background: #050208;
}

.showreel-embed > div,
.showreel-embed > p {
  width: 100% !important;
  height: 100% !important;
  margin: 0;
}

.showreel-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.project-black-hole {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  margin-top: 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(192, 112, 255, 0.14);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 16%, rgba(95, 26, 143, 0.18) 27%, transparent 48%),
    radial-gradient(circle at 50% 52%, #08030d 0, #030106 48%, #050208 100%);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(148, 45, 220, 0.08) inset;
}

.project-black-hole::before,
.project-black-hole::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.project-black-hole::before {
  inset: -35%;
  opacity: 0.6;
  background:
    conic-gradient(
      from 30deg,
      transparent 0 8%,
      rgba(176, 75, 255, 0.11) 12%,
      transparent 18% 42%,
      rgba(255, 128, 68, 0.08) 50%,
      transparent 58% 82%,
      rgba(115, 98, 255, 0.1) 89%,
      transparent 96%
    );
  animation: black-hole-warp 26s linear infinite;
}

.project-black-hole::after {
  inset: 0;
  background: radial-gradient(circle, transparent 29%, rgba(2, 1, 4, 0.23) 55%, rgba(2, 1, 4, 0.74));
}

.black-hole-stars {
  position: absolute;
  inset: -20%;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 12% 18%, white 0 1px, transparent 1.7px),
    radial-gradient(circle at 34% 74%, #dca6ff 0 1px, transparent 1.8px),
    radial-gradient(circle at 73% 21%, white 0 1px, transparent 1.7px),
    radial-gradient(circle at 86% 78%, #ffaf7a 0 1px, transparent 1.8px);
  background-size: 150px 170px, 230px 260px, 210px 190px, 280px 240px;
  animation: black-hole-stars 13s ease-in-out infinite;
}

.black-hole-lensing,
.black-hole-accretion,
.black-hole-core {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.black-hole-lensing {
  width: 410px;
  height: 190px;
  border: 1px solid rgba(219, 153, 255, 0.42);
  box-shadow:
    0 0 28px rgba(173, 64, 255, 0.28),
    0 0 80px rgba(102, 37, 161, 0.18) inset;
  animation: black-hole-lens 7s ease-in-out infinite;
}

.black-hole-lensing-two {
  width: 470px;
  height: 235px;
  opacity: 0.35;
  transform: translate(-50%, -50%) rotate(17deg);
  animation-delay: -3.3s;
}

.black-hole-accretion {
  z-index: 2;
  width: 350px;
  height: 86px;
  background:
    conic-gradient(from 90deg, transparent, #8e39df, #f2b4ff, #ff9458, #8c38dd, transparent 87%);
  box-shadow:
    0 0 18px rgba(237, 181, 255, 0.55),
    0 0 55px rgba(168, 60, 255, 0.45);
  filter: saturate(1.1);
  animation: black-hole-disk 8s linear infinite;
}

.black-hole-core {
  z-index: 3;
  width: 190px;
  aspect-ratio: 1;
  background: radial-gradient(circle, #000 0 54%, #020003 72%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.07),
    0 0 42px 12px rgba(0, 0, 0, 0.95),
    0 0 100px rgba(152, 43, 223, 0.28);
}

.black-hole-copy {
  position: relative;
  z-index: 5;
  max-width: 240px;
  display: grid;
  place-items: center;
  text-align: center;
}

.black-hole-copy small {
  color: #a79bac;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.black-hole-copy strong {
  margin: 10px 0;
  color: #fff;
  font-size: 24px;
  font-weight: 820;
  letter-spacing: -0.04em;
  text-shadow: 0 0 14px white, 0 0 32px #b34cff;
  animation: low-energy-signal 2.8s steps(1, end) infinite;
}

.black-hole-copy i {
  color: #c993e9;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.project-black-hole:hover .black-hole-core,
.project-black-hole:focus-visible .black-hole-core {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 0 52px 18px rgba(0, 0, 0, 1),
    0 0 130px rgba(177, 63, 255, 0.38);
}

.project-black-hole:hover .black-hole-copy strong,
.project-black-hole:focus-visible .black-hole-copy strong {
  animation-duration: 0.9s;
}

.solar-core {
  isolation: isolate;
  overflow: visible;
  border-color: rgba(232, 190, 255, 0.38);
  background:
    radial-gradient(circle at 31% 24%, white 0 1%, #e7b8ff 2%, transparent 7%),
    radial-gradient(ellipse at 64% 33%, rgba(198, 97, 255, 0.34) 0 8%, transparent 10%),
    radial-gradient(ellipse at 33% 70%, rgba(73, 22, 118, 0.75) 0 14%, transparent 16%),
    radial-gradient(circle at 38% 34%, #a846e5 0, #4c126e 34%, #1d062b 63%, #08020d 75%);
  box-shadow:
    -10px -8px 36px rgba(226, 174, 255, 0.2) inset,
    12px 16px 35px rgba(0, 0, 0, 0.52) inset,
    0 0 55px rgba(191, 81, 255, 0.38),
    0 0 145px rgba(168, 60, 255, 0.19);
}

.solar-core::before {
  inset: -7%;
  z-index: -1;
  border: 1px solid rgba(225, 163, 255, 0.32);
  background:
    conic-gradient(
      from 0deg,
      transparent 0 17%,
      rgba(255, 255, 255, 0.55) 22%,
      rgba(195, 91, 255, 0.15) 29%,
      transparent 35% 72%,
      rgba(255, 139, 69, 0.27) 78%,
      transparent 86%
    );
  box-shadow: 0 0 38px rgba(178, 66, 248, 0.2);
  animation-duration: 13s;
}

.solar-core::after {
  inset: 7%;
  z-index: 1;
  opacity: 0.46;
  background:
    repeating-radial-gradient(ellipse at 40% 36%, transparent 0 11%, rgba(242, 207, 255, 0.12) 12% 13%, transparent 14% 21%);
  mix-blend-mode: screen;
  animation: planet-surface 24s linear infinite;
}

.solar-core-copy {
  z-index: 3;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.55);
}

.tool-planet {
  background: rgba(15, 8, 22, 0.96);
  backdrop-filter: none;
}

.timeline-item,
.project-index,
.portal-arrow,
.project-frame-tag,
.portrait-caption,
.video-status,
.desktop-nav .nav-contact {
  backdrop-filter: none;
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes black-hole-warp {
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes black-hole-stars {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(0.72) rotate(5deg);
  }
}

@keyframes black-hole-lens {
  0%,
  100% {
    opacity: 0.28;
    filter: brightness(0.8);
    scale: 0.98;
  }
  50% {
    opacity: 0.85;
    filter: brightness(1.45);
    scale: 1.05;
  }
}

@keyframes black-hole-disk {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes low-energy-signal {
  0%,
  8%,
  13%,
  47%,
  52%,
  100% {
    opacity: 1;
  }
  9%,
  12%,
  48%,
  51% {
    opacity: 0.24;
  }
}

@media (max-width: 760px) {
  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    padding-bottom: 0.16em;
    font-size: clamp(44px, 12.7vw, 68px);
    line-height: 1.01;
    letter-spacing: -0.058em;
  }

  .stat-planet-body {
    gap: 4px;
    padding: 0 9px;
  }

  .stat-planet-body strong {
    font-size: 32px;
  }

  .stat-orbit-1 .stat-planet-body small {
    max-width: 30px;
    font-size: 7px;
  }

  .stat-orbit-2 .stat-planet-body small,
  .stat-orbit-3 .stat-planet-body small {
    margin-top: 31px;
    font-size: 18px;
  }

  .stat-orbit-4 .stat-planet-body strong {
    font-size: 31px;
  }

  .project-black-hole {
    min-height: 420px;
    margin-top: 58px;
    border-radius: 26px;
  }

  .black-hole-lensing {
    width: 300px;
    height: 145px;
  }

  .black-hole-lensing-two {
    width: 350px;
    height: 180px;
  }

  .black-hole-accretion {
    width: 265px;
    height: 68px;
  }

  .black-hole-core {
    width: 150px;
  }

  .black-hole-copy strong {
    font-size: 19px;
  }
}

/* PMD Universe 1.2 — tablet and phone optimization */
body.pmd-universe-home {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body.pmd-universe-home .kodee-fab {
  display: none !important;
}

@media (min-width: 761px) and (max-width: 1050px) {
  .gravity-stage {
    overflow: hidden;
  }

  .profile-section {
    padding-inline: clamp(34px, 6vw, 62px);
  }

  .featured-project:not(.featured-project-hero) .project-content h3 {
    font-size: clamp(28px, 3.6vw, 38px);
  }

  .project-black-hole {
    min-height: 460px;
  }

  .black-hole-lensing {
    width: min(410px, 54vw);
  }

  .black-hole-lensing-two {
    width: min(470px, 62vw);
  }
}

@media (max-width: 760px) {
  .universe-hero {
    min-height: max(820px, 100svh);
  }

  .hero-label {
    letter-spacing: 0.29em;
  }

  .hero-name {
    line-height: 1.4;
  }

  .hero-actions {
    gap: 24px;
  }

  .section-heading h2,
  .showreel-copy h2,
  .tools-heading h2,
  .brand-heading h2,
  .profile-intro h2,
  .contact-section h2 {
    font-size: clamp(38px, 11.2vw, 46px);
    line-height: 1.04;
  }

  .showreel-frame {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .showreel-frame.has-video {
    aspect-ratio: 16 / 10;
  }

  .featured-project {
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
  }

  .project-content h3 {
    overflow-wrap: anywhere;
  }

  .project-black-hole::before {
    animation-duration: 38s;
  }

  .black-hole-accretion {
    animation-duration: 13s;
  }

  .solar-system {
    gap: 10px;
  }

  .tool-planet {
    min-width: 0;
    animation: none;
  }

  .tool-planet > div:last-child {
    min-width: 0;
  }

  .tool-planet h3,
  .tool-planet p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-track {
    animation-duration: 44s;
  }

  .profile-section {
    overflow: hidden;
  }
}

/* PMD Universe 1.3.2 — shared black-hole artwork */
.project-black-hole {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(102, 32, 151, 0.18) 34%, transparent 56%),
    linear-gradient(145deg, #050208, #020104);
}

.black-hole-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 76% 88% at 50% 50%, black 48%, transparent 96%);
}

.black-hole-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 1, 5, 0.7), transparent 26% 74%, rgba(3, 1, 5, 0.7)),
    radial-gradient(ellipse at center, transparent 24%, rgba(3, 1, 5, 0.24) 67%, rgba(3, 1, 5, 0.72));
}

.black-hole-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
  filter: contrast(1.22) saturate(1.08) brightness(0.68);
  transform: translate3d(-1%, 0.5%, 0) scale(1.04);
  animation: pmd-home-black-hole-float 13s ease-in-out infinite;
}

.project-black-hole::before {
  z-index: 1;
  opacity: 0.44;
  mix-blend-mode: screen;
}

.project-black-hole::after {
  z-index: 4;
}

.project-black-hole .black-hole-stars {
  z-index: 1;
  opacity: 0.7;
}

.project-black-hole .black-hole-lensing {
  z-index: 2;
  border-color: rgba(255, 199, 144, 0.42);
  box-shadow:
    0 0 28px rgba(255, 166, 87, 0.24),
    0 0 80px rgba(146, 53, 211, 0.18) inset;
}

.project-black-hole .black-hole-accretion {
  z-index: 3;
  opacity: 0.56;
  mix-blend-mode: screen;
}

.project-black-hole .black-hole-core {
  z-index: 4;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.98) 0 55%, rgba(2, 0, 3, 0.94) 72%);
}

.project-black-hole .black-hole-copy {
  z-index: 6;
}

@keyframes pmd-home-black-hole-float {
  0%,
  100% {
    transform: translate3d(-1.2%, 0.7%, 0) scale(1.04);
    filter: contrast(1.22) saturate(1.08) brightness(0.66);
  }
  50% {
    transform: translate3d(1.2%, -0.8%, 0) scale(1.1);
    filter: contrast(1.27) saturate(1.18) brightness(0.78);
  }
}

@media (max-width: 760px) {
  .black-hole-image {
    mask-image: radial-gradient(ellipse 94% 86% at 50% 50%, black 48%, transparent 98%);
  }

  .black-hole-image img {
    object-position: 50% 49%;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .black-hole-image img {
    animation: none !important;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .site-header {
    width: calc(100% - 24px);
  }

  .project-wordmark {
    font-size: 12px;
  }

  .universe-hero {
    padding-inline: 16px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 12.2vw, 54px);
  }

  .about-universe {
    padding-top: 76px;
  }

  .gravity-stage {
    position: relative;
    min-height: 900px;
    display: block;
    overflow: hidden;
    padding: 0;
  }

  .gravity-stage::after {
    inset: 8px;
  }

  .about-portrait {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 145px;
    bottom: auto;
    width: min(64%, 240px);
    min-height: 550px;
    margin: 0;
    transform: translateX(-50%);
  }

  .about-portrait img {
    max-height: 550px;
  }

  .portrait-orbit-one {
    width: 145%;
  }

  .portrait-orbit-two {
    width: 112%;
  }

  .stat-orbit {
    position: absolute;
    z-index: 6;
    width: 146px;
    margin: 0;
  }

  .stat-orbit-1 {
    left: -2px;
    top: 32px;
  }

  .stat-orbit-2 {
    right: -2px;
    top: 32px;
  }

  .stat-orbit-3 {
    left: -2px;
    bottom: 42px;
  }

  .stat-orbit-4 {
    right: -2px;
    bottom: 42px;
  }

  .stat-planet-body {
    width: 96px;
  }

  .stat-planet-body strong {
    font-size: 31px;
  }

  .stat-orbit-1 .stat-planet-body small {
    font-size: 6.5px;
  }

  .stat-orbit-2 .stat-planet-body small,
  .stat-orbit-3 .stat-planet-body small {
    margin-top: 29px;
    font-size: 16px;
  }

  .stat-orbit-4 .stat-planet-body strong {
    font-size: 30px;
  }

  .stat-planet-body::before,
  .stat-planet-body::after {
    width: 132%;
  }

  .stat-label {
    max-width: 140px;
    margin-top: 13px;
    font-size: 8px;
    line-height: 1.35;
  }

  .stat-destination {
    max-width: 126px;
    margin-top: 5px;
    font-size: 6.5px;
    line-height: 1.35;
  }

  .portrait-caption {
    min-width: 190px;
    padding: 11px 14px;
  }

  .gravity-scroll-link {
    display: none;
  }

  .work-method {
    padding-top: 92px;
  }

  .method-card {
    min-height: 215px;
    padding: 24px 22px;
  }

  .method-card h4 {
    margin-top: 36px;
  }

  .project-black-hole {
    min-height: 390px;
  }

  .black-hole-lensing {
    width: 270px;
    height: 132px;
  }

  .black-hole-lensing-two {
    width: 320px;
    height: 165px;
  }

  .black-hole-accretion {
    width: 235px;
    height: 60px;
  }

  .black-hole-core {
    width: 134px;
  }

  .solar-core {
    width: 172px;
  }

  .tool-planet {
    padding: 9px;
  }

  .tool-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .tool-planet h3 {
    font-size: 11px;
  }

  .profile-section {
    padding-inline: 20px;
  }
}

@media (max-width: 370px) {
  .header-identities {
    gap: 11px;
  }

  .project-wordmark {
    padding-left: 11px;
    font-size: 11px;
  }

  .wordmark {
    font-size: 17px;
  }

  .mobile-menu summary {
    padding-inline: 12px;
  }

  .gravity-stage {
    min-height: 860px;
  }

  .about-portrait {
    top: 132px;
    width: 220px;
  }

  .stat-orbit {
    width: 132px;
  }

  .stat-planet-body {
    width: 88px;
  }

  .stat-label {
    font-size: 7.5px;
  }

  .tool-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}

/* PMD Universe 1.3.3 — the portfolio has no commerce surface.
   OceanWP can print empty commerce shells after the custom template assets. */
.pmd-universe-home #owp-qv-wrap,
.pmd-universe-home #oceanwp-cart-sidebar-wrap,
.pmd-universe-home .current-shop-items-dropdown,
.pmd-universe-home .oceanwp-off-canvas-filter,
.pmd-universe-home .woocommerce-store-notice {
  display: none !important;
}

/* PMD Universe 1.4.0 — seamless, code-rendered black hole.
   It inherits the page background instead of placing a rectangular image on it. */
.pmd-hole-visual {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(54vw, 590px);
  aspect-ratio: 1;
  isolation: isolate;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: pmd-hole-float 11s ease-in-out infinite;
}

.pmd-hole-visual::before,
.pmd-hole-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.pmd-hole-visual::before {
  z-index: -2;
  width: 112%;
  height: 112%;
  background:
    radial-gradient(circle, transparent 0 26%, rgba(255, 206, 169, 0.13) 28%, transparent 31%),
    radial-gradient(circle, transparent 0 38%, rgba(166, 97, 255, 0.11) 43%, transparent 62%);
  box-shadow: inset 0 0 90px rgba(118, 43, 196, 0.08);
  animation: pmd-hole-aura 7s ease-in-out infinite;
}

.pmd-hole-visual::after {
  z-index: -1;
  width: 122%;
  height: 46%;
  border-top: 1px solid rgba(226, 188, 255, 0.2);
  border-bottom: 1px solid rgba(255, 157, 91, 0.12);
  box-shadow:
    0 -12px 50px rgba(171, 84, 255, 0.14),
    0 12px 45px rgba(255, 138, 73, 0.1);
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: pmd-hole-lens-sway 9s ease-in-out infinite;
}

.pmd-hole-visual > span {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.pmd-hole-warp {
  z-index: 1;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 220, 194, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 56%, rgba(255, 187, 129, 0.12) 60%, transparent 67%),
    radial-gradient(circle at 50% 42%, rgba(255, 213, 180, 0.12), transparent 48%);
  box-shadow:
    0 0 12px rgba(255, 235, 218, 0.72),
    0 0 34px rgba(255, 151, 78, 0.46),
    0 0 90px rgba(143, 62, 222, 0.34),
    inset 0 0 30px rgba(255, 183, 122, 0.12);
  transform: translate(-50%, -50%);
  animation: pmd-hole-warp-pulse 5.8s ease-in-out infinite;
}

.pmd-hole-disc {
  width: 104%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      #fffdfa 0 3%,
      #ffe3c3 7%,
      #ffb66f 18%,
      rgba(205, 122, 255, 0.88) 34%,
      rgba(125, 52, 211, 0.48) 52%,
      rgba(88, 28, 147, 0.13) 66%,
      transparent 76%
    );
  filter:
    blur(0.35px)
    drop-shadow(0 0 8px rgba(255, 235, 215, 0.66))
    drop-shadow(0 0 22px rgba(255, 143, 76, 0.42))
    drop-shadow(0 0 48px rgba(151, 61, 226, 0.28));
}

.pmd-hole-disc-back {
  z-index: 2;
  height: 18%;
  opacity: 0.94;
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: pmd-hole-disc-breathe 5.2s ease-in-out infinite;
}

.pmd-hole-core {
  z-index: 4;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 220, 194, 0.66);
  border-radius: 50%;
  background: radial-gradient(circle at 48% 42%, #050307 0 18%, #000 60%, #010002 100%);
  box-shadow:
    0 -4px 12px rgba(255, 238, 223, 0.64),
    0 -10px 32px rgba(255, 156, 86, 0.58),
    0 8px 36px rgba(140, 55, 220, 0.5),
    0 0 76px 24px rgba(0, 0, 0, 0.88);
  transform: translate(-50%, -50%);
}

.pmd-hole-core::before,
.pmd-hole-core::after {
  content: "";
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  pointer-events: none;
}

.pmd-hole-core::before {
  border-top: 2px solid rgba(255, 222, 193, 0.88);
  border-right: 1px solid rgba(255, 158, 91, 0.3);
  border-bottom: 1px solid rgba(151, 74, 230, 0.4);
  filter: drop-shadow(0 -2px 9px rgba(255, 165, 96, 0.66));
}

.pmd-hole-core::after {
  inset: 7%;
  background: radial-gradient(circle at 48% 40%, rgba(23, 11, 29, 0.22), transparent 38%);
  box-shadow: inset 0 0 28px rgba(77, 23, 110, 0.16);
}

.pmd-hole-disc-front {
  display: none;
}

.pmd-hole-flare {
  z-index: 5;
  width: 118%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0 6%, rgba(145, 69, 220, 0.24) 18%, #ffd3aa 43%, #fff 50%, #ffb26f 57%, rgba(139, 57, 213, 0.24) 82%, transparent 94%);
  box-shadow:
    0 0 9px rgba(255, 248, 239, 0.9),
    0 0 24px rgba(255, 151, 84, 0.52),
    0 0 54px rgba(154, 65, 232, 0.34);
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: pmd-hole-flare 4.6s ease-in-out infinite;
}

.pmd-hole-axis {
  z-index: 0;
  width: 1px;
  height: 84%;
  background: linear-gradient(transparent, rgba(159, 95, 233, 0.12) 22%, rgba(255, 187, 129, 0.5) 48%, rgba(255, 246, 236, 0.72) 50%, rgba(255, 181, 122, 0.35) 54%, transparent 84%);
  box-shadow: 0 0 14px rgba(255, 176, 112, 0.38);
  transform: translate(-50%, -50%);
  animation: pmd-hole-axis 6.4s ease-in-out infinite;
}

.project-black-hole {
  background:
    radial-gradient(ellipse at 50% 51%, rgba(109, 38, 174, 0.16) 0, rgba(49, 13, 76, 0.09) 27%, transparent 61%),
    linear-gradient(145deg, #050208, #020104);
}

.project-black-hole .pmd-hole-visual {
  width: min(58vw, 560px);
}

.project-black-hole .black-hole-lensing {
  z-index: 1;
  border-color: rgba(177, 103, 255, 0.2);
  box-shadow:
    0 0 34px rgba(151, 63, 225, 0.15),
    inset 0 0 70px rgba(92, 26, 146, 0.12);
}

.project-black-hole::after {
  z-index: 4;
  background: radial-gradient(circle, transparent 0 37%, rgba(2, 1, 4, 0.12) 64%, rgba(2, 1, 4, 0.66));
}

.project-black-hole .black-hole-copy {
  z-index: 8;
}

@keyframes pmd-hole-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-0.8deg) scale(0.98);
  }
  50% {
    transform: translate(-50%, -51.5%) rotate(0.9deg) scale(1.025);
  }
}

@keyframes pmd-hole-aura {
  0%,
  100% { opacity: 0.56; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 0.94; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes pmd-hole-lens-sway {
  0%,
  100% { opacity: 0.48; transform: translate(-50%, -50%) rotate(-7deg) scaleX(0.97); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) rotate(-3deg) scaleX(1.03); }
}

@keyframes pmd-hole-warp-pulse {
  0%,
  100% { transform: translate(-50%, -50%) scale(0.98); filter: brightness(0.92); }
  50% { transform: translate(-50%, -50%) scale(1.035); filter: brightness(1.14); }
}

@keyframes pmd-hole-disc-breathe {
  0%,
  100% { opacity: 0.76; filter: blur(0.45px) brightness(0.94); }
  50% { opacity: 1; filter: blur(0.2px) brightness(1.12); }
}

@keyframes pmd-hole-flare {
  0%,
  100% { opacity: 0.54; transform: translate(-50%, -50%) rotate(-5deg) scaleX(0.92); }
  48% { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scaleX(1.05); }
  52% { opacity: 0.78; }
  58% { opacity: 1; }
}

@keyframes pmd-hole-axis {
  0%,
  100% { opacity: 0.28; transform: translate(-50%, -50%) scaleY(0.92); }
  50% { opacity: 0.82; transform: translate(-50%, -50%) scaleY(1.04); }
}

@media (max-width: 760px) {
  .project-black-hole .pmd-hole-visual {
    width: min(122vw, 500px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pmd-hole-visual,
  .pmd-hole-visual::before,
  .pmd-hole-visual::after,
  .pmd-hole-warp,
  .pmd-hole-disc,
  .pmd-hole-flare,
  .pmd-hole-axis {
    animation: none !important;
  }
}
