:root {
  color-scheme: dark;
  --bg: #100d16;
  --panel: #191420;
  --panel-strong: #21182d;
  --ink: #f5f1e8;
  --muted: #c7bed0;
  --line: rgba(245, 241, 232, 0.15);
  --gold: #f1bc5c;
  --red: #ff5f7a;
  --green: #b98cff;
  --blue: #92a8ff;
  --purple: #7a4fd6;
  --purple-soft: rgba(122, 79, 214, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(122, 79, 214, 0.18), transparent 460px),
    var(--bg);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(122, 79, 214, 0.08), transparent 34%, rgba(241, 188, 92, 0.05)),
    rgba(16, 13, 22, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(174, 116, 255, 0.46), rgba(241, 188, 92, 0.34), transparent);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding: 7px 10px 7px 8px;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.035);
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.brand:hover {
  border-color: rgba(174, 116, 255, 0.38);
  background: rgba(122, 79, 214, 0.12);
  transform: translateY(-1px);
}

.brand-avatar {
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(243, 189, 79, 0.5);
  border-radius: 8px;
  object-fit: cover;
  object-position: 38% 42%;
  box-shadow: 0 0 18px rgba(174, 116, 255, 0.18);
}

nav {
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(245, 241, 232, 0.09);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.035);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  transition:
    background 180ms ease,
    color 240ms ease,
    transform 180ms ease;
}

nav a:hover {
  color: var(--ink);
  background: rgba(122, 79, 214, 0.14);
}

.contact-link {
  color: inherit;
}

nav a.is-active {
  color: var(--gold);
  background: rgba(241, 188, 92, 0.1);
}

nav a::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(760px, 82svh);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 13, 22, 0.96) 0%, rgba(16, 13, 22, 0.74) 44%, rgba(16, 13, 22, 0.35) 100%),
    linear-gradient(0deg, rgba(16, 13, 22, 0.96), transparent 52%),
    url("assets/cheese-rig-cutout.png") 82% 52% / min(430px, 36vw) no-repeat,
    radial-gradient(ellipse at 82% 52%, rgba(122, 79, 214, 0.34), rgba(122, 79, 214, 0.16) 24%, transparent 45%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 34% 46%, rgba(122, 79, 214, 0.34), rgba(122, 79, 214, 0.18) 26%, transparent 50%),
    linear-gradient(180deg, transparent 58%, var(--bg));
}

.hero-content {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 72px;
  transform: translateY(-34px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 12vw, 8.8rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.availability {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 22px;
  padding: 0 12px;
  border: 1px solid rgba(185, 140, 255, 0.36);
  border-radius: 8px;
  background: rgba(122, 79, 214, 0.16);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.availability::before {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  content: "";
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(185, 140, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary:hover {
  box-shadow: 0 12px 26px rgba(241, 188, 92, 0.22);
}

.button.secondary:hover {
  border-color: rgba(185, 140, 255, 0.42);
  background: rgba(122, 79, 214, 0.14);
}

.button.primary {
  background: var(--gold);
  color: #18120a;
}

.button.secondary {
  border-color: rgba(245, 241, 232, 0.2);
  background: rgba(245, 241, 232, 0.08);
}

.profile-chip {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(300px, calc(100% - 40px));
  padding: 12px;
  border: 1px solid rgba(185, 140, 255, 0.34);
  border-radius: 8px;
  background: rgba(25, 20, 32, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.profile-avatar {
  display: block;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  object-fit: cover;
  object-position: 38% 42%;
}

.profile-chip strong,
.profile-chip span {
  display: block;
}

.profile-chip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.work-band {
  padding-bottom: 70px;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  min-height: 270px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(122, 79, 214, 0.14), transparent 42%),
    linear-gradient(100deg, rgba(25, 18, 38, 0.98), rgba(16, 13, 22, 0.98) 62%, rgba(14, 12, 20, 0.96));
  box-shadow: var(--shadow);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 50%, rgba(122, 79, 214, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(245, 241, 232, 0.045), transparent 26%, transparent 78%, rgba(174, 116, 255, 0.06));
  opacity: 0.72;
}

.project-card:hover,
.video-card:hover,
.skill-panel:hover,
.contact-panel:hover {
  border-color: rgba(185, 140, 255, 0.46);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.48);
  transform: translateY(-4px);
}

.previews-band {
  padding-top: 72px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.video-grid > *:nth-child(1) {
  grid-column: 1 / span 2;
}

.video-grid > *:nth-child(2) {
  grid-column: 3 / span 2;
}

.video-grid > *:nth-child(3) {
  grid-column: 5 / span 2;
}

.video-grid > *:nth-child(4) {
  grid-column: 2 / span 2;
}

.video-grid > *:nth-child(5) {
  grid-column: 4 / span 2;
}

.video-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.video-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.clip-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
}

.clip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.clip-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(185, 140, 255, 0.3);
  border-radius: 8px;
  background: rgba(122, 79, 214, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.video-placeholder,
.video-embed {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(185, 140, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(122, 79, 214, 0.38), rgba(16, 13, 22, 0.84)),
    repeating-linear-gradient(45deg, rgba(245, 241, 232, 0.04) 0 1px, transparent 1px 14px);
  color: var(--ink);
  font-weight: 900;
}

.video-embed::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  content: "hover to preview";
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(16, 13, 22, 0.72);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.video-card:hover .video-embed::after,
.video-card:focus-within .video-embed::after {
  opacity: 1;
  transform: translateY(0);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.project-card p,
.about-copy p,
.contact-band p {
  color: var(--muted);
  line-height: 1.75;
}

.project-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.project-copy h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(2.1rem, 3.3vw, 3.35rem);
  line-height: 1;
}

.project-label,
.text-link {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
}

.project-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-height: 210px;
}

.project-art::before {
  position: absolute;
  inset: 11% 2% 8%;
  content: "";
  border: 1px solid rgba(174, 116, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0.08), rgba(245, 241, 232, 0)),
    linear-gradient(135deg, rgba(122, 79, 214, 0.2), rgba(16, 13, 22, 0.32));
  transform: rotate(-2deg);
}

.project-art img {
  position: relative;
  width: min(190px, 78%);
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.42));
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.project-card:hover .project-art img {
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, 0.5));
  transform: translateY(-3px) scale(1.03);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skill-panel {
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.skill-panel:nth-child(1) {
  border-top-color: rgba(243, 189, 79, 0.7);
}

.skill-panel:nth-child(2) {
  border-top-color: rgba(119, 183, 255, 0.7);
}

.skill-panel.muted {
  border-top-color: rgba(255, 90, 82, 0.72);
}

.skill-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.about-band {
  width: 100%;
  max-width: none;
  margin: 0;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
  padding-inline: clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 16% 16%, rgba(122, 79, 214, 0.22), transparent 34%),
    linear-gradient(180deg, #171020, #21182d);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1fr;
  gap: clamp(28px, 6vw, 80px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.about-copy {
  max-width: 680px;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(185, 140, 255, 0.34);
  border-radius: 8px;
  background: rgba(16, 13, 22, 0.42);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  background:
    radial-gradient(circle at 84% 50%, rgba(122, 79, 214, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(119, 87, 184, 0.1), transparent 38%),
    #100d16;
}

.contact-band > div {
  max-width: 720px;
}

.contact-panel {
  padding: 24px;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(25, 20, 32, 0.96), rgba(33, 24, 45, 0.82));
  box-shadow: var(--shadow);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.contact-panel h3 {
  margin-bottom: 14px;
}

.contact-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-panel .button {
  width: 100%;
}

.site-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  background: #100d16;
  font-size: 0.9rem;
}

.site-footer > * {
  width: auto;
}

.footer-legal {
  display: grid;
  gap: 0.35rem;
  max-width: 680px;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

.footer-x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.footer-x-link:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  opacity: 0.66;
}

.footer-note {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  opacity: 0.55;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(16, 13, 22, 0.6) 0%, rgba(16, 13, 22, 0.94) 56%, rgba(16, 13, 22, 1) 100%),
      url("assets/cheese-rig-cutout.png") top center / min(360px, 78vw) no-repeat,
      radial-gradient(ellipse at 50% 22%, rgba(122, 79, 214, 0.32), rgba(122, 79, 214, 0.14) 22%, transparent 46%);
  }

  .hero-content {
    padding-top: 240px;
    transform: none;
  }

  .project-card,
  .video-grid,
  .skill-grid,
  .about-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
    padding: 24px;
  }

  .project-art {
    min-height: 180px;
  }

  .project-art img {
    width: min(170px, 68%);
  }

  .skill-grid,
  .contact-band {
    display: grid;
  }

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

  .site-footer > * {
    width: 100%;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-left: 0;
  }

  .video-grid > * {
    grid-column: 1 !important;
  }

  .profile-chip {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100% - 40px, 420px);
    margin: -58px auto 28px;
  }

  .skill-panel {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(4rem, 24vw, 6rem);
  }
}
