:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07080b;
  color: #f6f1e8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(199, 255, 90, 0.08), transparent 22rem),
    radial-gradient(circle at 78% 34%, rgba(187, 45, 59, 0.1), transparent 24rem),
    radial-gradient(circle at 50% 84%, rgba(64, 192, 255, 0.08), transparent 30rem),
    #07080b;
}

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

body::before {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent 57.9%, rgba(246, 241, 232, 0.08) 58%, transparent 58.1%),
    linear-gradient(180deg, transparent 0, transparent 10.6%, rgba(246, 241, 232, 0.12) 10.7%, transparent 10.8%),
    linear-gradient(180deg, transparent 0, transparent 91.6%, rgba(246, 241, 232, 0.1) 91.7%, transparent 91.8%);
}

body::after {
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.66), transparent 14%, transparent 86%, rgba(7, 8, 11, 0.66)),
    linear-gradient(180deg, rgba(7, 8, 11, 0.26), transparent 38%, rgba(7, 8, 11, 0.28));
}

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

#aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.1rem clamp(1.1rem, 5vw, 4.5rem);
}

.mark {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.mark span:first-child {
  color: #f6f1e8;
  font-size: 0.94rem;
  font-weight: 900;
}

.mark span:last-child {
  color: rgba(246, 241, 232, 0.55);
  font-size: 0.78rem;
  font-weight: 750;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.4rem);
}

.site-header nav a {
  color: rgba(246, 241, 232, 0.82);
  font-size: 0.82rem;
  font-weight: 820;
}

.site-header nav .contact {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  color: #07080b;
  background: #f6f1e8;
}

.identity {
  position: relative;
  z-index: 2;
  width: min(100% - 2.2rem, 81rem);
  margin: 0 auto;
  padding: 8.6rem 0 4.6rem;
}

.hero {
  min-height: 26rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 8rem);
  padding-top: 1.2rem;
}

.hero-main {
  max-width: 49rem;
}

.kicker {
  margin: 0 0 1.2rem;
  color: #ff5068;
  font-size: 0.82rem;
  font-weight: 880;
}

h1 {
  margin: 0;
  color: #f6f1e8;
  text-shadow:
    0 0 1.6rem rgba(199, 255, 90, 0.08),
    0 0 5rem rgba(64, 192, 255, 0.08);
  font-size: clamp(5.6rem, 12vw, 8.75rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
}

.signal {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: rgba(246, 241, 232, 0.84);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
}

.viewer-note {
  width: min(100%, 19rem);
  display: grid;
  gap: 1rem;
  padding-top: 1.55rem;
}

.viewer-note p,
.viewer-note span {
  margin: 0;
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1.35;
}

.viewer-note div {
  height: 1px;
  background: rgba(246, 241, 232, 0.16);
}

.viewer-note strong {
  color: #f6f1e8;
  font-size: 0.78rem;
  font-weight: 900;
}

.media-shelves {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.4rem, 7vh, 5rem);
  border-top: 1px solid rgba(246, 241, 232, 0.16);
}

.shelf-row {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 5.5rem minmax(10rem, 16rem) minmax(0, 1fr) 10rem;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

.row-number {
  color: #ff5068;
  font-size: 0.75rem;
  font-weight: 850;
}

h2 {
  margin: 0;
  color: #f6f1e8;
  font-size: clamp(1.6rem, 3vw, 1.8rem);
  font-weight: 930;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.shelf-row p {
  margin: 0;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.row-status {
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: right;
}

.contact-row a,
.projects-row a {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0 0.9rem;
  color: #101114;
  background: #c7ff5a;
  font-size: 0.82rem;
  font-weight: 900;
}

.row-links {
  justify-self: end;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-links {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1rem;
}

.profile-links a {
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  color: #f6f1e8;
}

@media (max-width: 54rem) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .mark {
    display: grid;
    gap: 0.15rem;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
  }

  .identity {
    padding-top: 8.8rem;
  }

  .hero {
    min-height: auto;
    display: grid;
    gap: 2rem;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.4rem);
  }

  .viewer-note {
    width: 100%;
    max-width: 27rem;
  }

  .shelf-row {
    grid-template-columns: 3.25rem minmax(7rem, 9rem) 1fr;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .shelf-row p {
    grid-column: 2 / -1;
  }

  .row-status,
  .contact-row a,
  .row-links {
    grid-column: 2 / -1;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
  }

  .projects-row a {
    grid-column: auto;
  }

  .profile-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #aura {
    opacity: 0.18;
  }
}

/* Art gallery: first studio piece, the p5.js Mughal medallion */
a.row-status {
  color: #c7ff5a;
  text-decoration: none;
}
a.row-status:hover {
  color: #f6f1e8;
}
.art-gallery {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.2rem, 6vh, 4rem);
  display: flex;
  justify-content: center;
}
.art-gallery figure {
  margin: 0;
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: 46rem;
}
.art-gallery img {
  display: block;
  width: min(30rem, 82vw);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(246, 241, 232, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.art-gallery figcaption {
  color: rgba(246, 241, 232, 0.66);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  max-width: 40ch;
}
.art-gallery figcaption strong {
  display: block;
  color: #f6f1e8;
  font-weight: 850;
  margin-bottom: 0.3rem;
}
.art-gallery .full {
  color: #c7ff5a;
  font-weight: 800;
  text-decoration: none;
}
.art-gallery .full:hover {
  color: #f6f1e8;
}
