* {
  box-sizing: border-box;
}

:root {
  --bg: #050713;
  --panel: #11162a;
  --panel-light: #1b2140;
  --text: #f4f7ff;
  --muted: #b7bed9;
  --accent: #8b5cf6;
  --accent-2: #e11d48;
  --accent-3: #38bdf8;
  --border: rgba(255, 255, 255, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;

  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(225, 29, 72, 0.18), transparent 30%),
    radial-gradient(circle at bottom, rgba(139, 92, 246, 0.24), transparent 35%),
    var(--bg);

  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 15, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    max-width: none;

    margin: 0 auto;

    padding: 0 2rem;

    position: relative;
}

.hero-text {
    max-width: 900px;
    margin: auto;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.hero-copy{
    max-width:750px;
    margin:2rem auto;
    font-size:1.25rem;
    line-height:1.8;
    color:var(--muted);
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transition: .35s ease;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
}

.button.primary {
  background: linear-gradient(135deg, #6ca9ff, #8b5cf6);
  color: white;
  box-shadow: 0 0 18px rgba(111,180,255,.45);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(111,180,255,.65);
}

.button.secondary {
  background: rgba(255,255,255,.05);
  color: white;
  border: 1px solid rgba(255,255,255,.15);
}

.button.secondary:hover {
  background: rgba(255,255,255,.10);
  transform: translateY(-3px);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading p,
.split p,
.contact p {
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items:start;
}

.work-card {
  background: linear-gradient(180deg, var(--panel-light), var(--panel));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.tag {
  color: var(--accent);
}

.details {
  padding-left: 1.2rem;
  color: var(--muted);
}

.media-box {
  border: 1px dashed var(--border);
  border-radius: 16px;
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  margin: 1.2rem 0;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.card-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-links a,
.email-link {
  color: var(--accent);
  font-weight: 700;
}

.split {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.split > * {
  max-width: 850px;
}
.split h2 {
  margin-bottom: 2rem;
}
.split p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--muted);
}
.contact {
  text-align: center;
  border-top: 1px solid var(--border);
}

.email-link {
  font-size: 1.2rem;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  padding: 2rem 1rem;
}

@media (max-width: 850px) {
  .work-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .nav {
    align-items: flex-start;
    gap: 1rem;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -8%;

  background:
    radial-gradient(circle at 20% 35%, rgba(56, 189, 248, 0.28), transparent 20%),
    radial-gradient(circle at 75% 22%, rgba(139, 92, 246, 0.30), transparent 22%),
    radial-gradient(circle at 55% 82%, rgba(225, 29, 72, 0.16), transparent 26%);

  filter: blur(45px);
  opacity: 0.95;
  animation: nebulaDrift 35s ease-in-out infinite alternate;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.9) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 72%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 46% 34%, rgba(56,189,248,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 81% 21%, rgba(139,92,246,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 78%, rgba(255,255,255,.5) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 15%, rgba(255,255,255,.35) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 88%, rgba(225,29,72,.55) 0 1px, transparent 2px);
  opacity: .75;
  animation: cosmicFloat 18s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes cosmicFloat {
  from {
    transform: translateY(0) scale(1);
    opacity: .55;
  }

  to {
    transform: translateY(-18px) scale(1.04);
    opacity: .9;
  }
}
@keyframes nebulaDrift {
  0% {
    transform: translate(-2%, 0%) scale(1.05) rotate(0deg);
  }

  50% {
    transform: translate(1%, 2%) scale(1.08) rotate(0.4deg);
  }

  100% {
    transform: translate(3%, -1%) scale(1.12) rotate(-0.5deg);
  }
}

.hero h1 {
    font-size: clamp(5rem, 12vw, 9rem);
    line-height: .9;
    letter-spacing: -.05em;

    background: linear-gradient(
        90deg,
        #ffffff,
        #6fd3ff,
        #5d8cff,
        #a66cff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 20px rgba(111,211,255,.25),
        0 0 45px rgba(111,211,255,.15);

    margin-bottom: .4rem;
}

.hero h2 {
  color: #b7bed9;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tagline{
    font-size:2rem;
    color:#d8ddff;
    font-weight:300;
    letter-spacing:.08em;
    margin-top:0;
    margin-bottom:2rem;
    text-shadow:0 0 18px rgba(120,170,255,.45);
}
.hero-actions {
    display:flex;
    gap:1rem;
    flex-wrap:wrap;

    justify-content:center;
    align-items:center;

    margin-top:2.5rem;
}

.hero-actions .button {
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(139, 92, 246, .35);
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.scroll-cue {
  display: block;
  width: 100%;
  margin-top: 1.75rem;
  text-align: center;
}
/* ===== HERO POLISH ===== */

/* Quieter navigation */
.site-header {
  background: rgba(5, 7, 19, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo,
.nav-links a {
  opacity: 0.55;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.logo:hover,
.nav-links a:hover {
  opacity: 1;
}

/* Slightly smaller, more elegant buttons */
.hero-actions .button {
  padding: 12px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
}

/* Softer Explore cue */
.scroll-cue {
  margin-top: 2rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
}

.scroll-arrow {
  margin-top: 0.2rem;
  font-size: 1.4rem;
  animation: floatArrow 1.8s ease-in-out infinite;
}

/* Slow shimmer across the name */
.hero h1 {
  background:
    linear-gradient(
      110deg,
      #ffffff 0%,
      #6fd3ff 25%,
      #7f8cff 48%,
      #ffffff 55%,
      #a66cff 75%,
      #6fd3ff 100%
    );

  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nameShimmer 12s linear infinite;
}

@keyframes nameShimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -20% center;
  }
}
/* ===== CINEMATIC PLANET ===== */

.cinematic-planet {
  position: absolute;
  top: 8%;
  right: -10%;
  width: clamp(260px, 34vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(111, 211, 255, 0.28) 12%,
      rgba(91, 92, 220, 0.35) 38%,
      rgba(30, 18, 65, 0.92) 72%
    );

  box-shadow:
    -35px 8px 90px rgba(56, 189, 248, 0.22),
    0 0 140px rgba(139, 92, 246, 0.18),
    inset -45px -20px 70px rgba(0, 0, 0, 0.72);

  opacity: 0.48;
  filter: saturate(1.15);
  animation: planetFloat 22s ease-in-out infinite alternate;
}

.cinematic-planet::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;

  background:
    repeating-radial-gradient(
      ellipse at 30% 40%,
      rgba(255, 255, 255, 0.045) 0 8px,
      rgba(0, 0, 0, 0.03) 9px 18px
    );

  opacity: 0.55;
  mix-blend-mode: screen;
}

.cinematic-planet::after {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 2px solid rgba(111, 211, 255, 0.14);
  box-shadow:
    0 0 24px rgba(111, 211, 255, 0.16),
    inset 0 0 22px rgba(166, 108, 255, 0.12);
}

@keyframes planetFloat {
  0% {
    transform: translateY(0) rotate(-2deg) scale(1);
  }

  100% {
    transform: translateY(18px) rotate(2deg) scale(1.035);
  }
}
/* ===== PORTFOLIO ARTWORK ===== */

.work-card {
  overflow: hidden;
  padding: 0;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(139, 92, 246, 0.18);
}

.work-card > *:not(.work-artwork) {
  margin-left: 1.4rem;
  margin-right: 1.4rem;
}

.work-card > *:last-child {
  margin-bottom: 1.4rem;
}

.work-artwork {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.work-artwork::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(5, 7, 19, 0.95),
      rgba(5, 7, 19, 0.08)
    );
}

.work-artwork span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.horror-artwork {
  background:
    radial-gradient(circle at 70% 20%, rgba(225, 29, 72, 0.75), transparent 28%),
    linear-gradient(145deg, #090914, #3b071b);
}

.game-artwork {
  background:
    radial-gradient(circle at 65% 25%, rgba(56, 189, 248, 0.7), transparent 28%),
    linear-gradient(145deg, #07101f, #101f4d);
}

.reel-artwork {
  background:
    radial-gradient(circle at 65% 25%, rgba(139, 92, 246, 0.75), transparent 30%),
    linear-gradient(145deg, #0d0921, #35104f);
}
/* ================================================= */
/* FEATURED VIDEO PROJECT */
/* ================================================= */

.featured-project {
  overflow: hidden;
}

.project-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
}

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

.project-content {
  padding: 1.5rem;
}

.project-subtitle {
  margin-bottom: 1rem;
  color: var(--accent-3);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-role {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.045);
}

.project-role h4 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-role ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-role li {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.project-credit {
  margin: 1.25rem 0 0;
  color: rgba(183, 190, 217, 0.7);
  font-size: 0.78rem;
  line-height: 1.6;
}
.inner-quest-artwork {
  background:
    radial-gradient(circle at 70% 24%, rgba(244, 197, 100, 0.58), transparent 28%),
    radial-gradient(circle at 24% 34%, rgba(56, 189, 248, 0.42), transparent 36%),
    linear-gradient(145deg, #0a1830, #3a2c45);
}

.media-box audio {
  display: block;
  width: 100%;
}
.work-artwork {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #090b16;
  margin-bottom: 0;
}

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

.work-card:hover .work-artwork img{
    transform:scale(1.05);
}
.creative-goal{
  margin-top:1.25rem;
  padding:1rem;
  border-left:2px solid rgba(142,102,255,.65);
  background:rgba(255,255,255,.025);
}

.creative-goal h4{
  margin:0 0 .45rem;
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#b995ff;
}

.creative-goal p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.availability-section{
  max-width:1100px;
  margin:5rem auto;
  padding:0 1.5rem;
  text-align:center;
}

.availability-intro{
  max-width:700px;
  margin:0 auto 2rem;
  color:var(--muted);
  line-height:1.7;
}

.availability-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1rem;
  margin-bottom:2rem;
}

.availability-item{
  padding:1.4rem;
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  background:rgba(18,22,48,.58);
}

.availability-item h3{
  margin:0 0 .55rem;
}

.availability-item p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

@media (max-width:760px){
  .availability-grid{
    grid-template-columns:1fr;
  }
}
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}