:root {
  --black: #080a08;
  --ink: #101510;
  --paper: #f5f1e6;
  --muted: #b7b7a8;
  --line: rgba(245, 241, 230, 0.18);
  --lime: #d8ff1f;
  --red: #ee442f;
  --steel: #8aa0a8;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: var(--lime);
  transform: translateY(-100%);
  animation: loadWipe 0.9s var(--ease) forwards;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand,
.nav-cta,
.site-nav a,
.button {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  width: 2.9rem;
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.site-nav a,
.nav-cta {
  padding: 0 1rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7rem clamp(1rem, 4vw, 4rem) 2rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.95) 0%, rgba(8, 10, 8, 0.62) 42%, rgba(8, 10, 8, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 10, 8, 0.94) 0%, rgba(8, 10, 8, 0.16) 50%);
}

.hero-content {
  position: relative;
  max-width: 78rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  max-width: 11ch;
  font-size: clamp(4.4rem, 18vw, 17rem);
  line-height: 0.76;
  font-weight: 1000;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 46rem;
  color: rgba(245, 241, 230, 0.82);
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
  line-height: 1.32;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  position: relative;
  min-width: 10rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease),
    color 0.45s var(--ease);
}

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

.button.primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.button.ghost {
  background: rgba(245, 241, 230, 0.06);
  color: var(--paper);
}

.hero-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.ticker-band {
  max-width: 100vw;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--lime);
  color: var(--black);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.9rem 0;
  animation: ticker 24s linear infinite;
}

.ticker-track span {
  font-size: clamp(2rem, 8vw, 6rem);
  line-height: 0.86;
  font-weight: 1000;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-section,
.work-section,
.roles-section,
.resume-section,
.contact-section {
  padding: clamp(4rem, 9vw, 9rem) clamp(1rem, 4vw, 4rem);
}

.profile-section {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 255, 31, 0.12), transparent 34%),
    var(--black);
  border-bottom: 1px solid var(--line);
}

.profile-wordmark {
  position: absolute;
  left: -0.05em;
  bottom: -0.14em;
  color: rgba(245, 241, 230, 0.055);
  font-size: clamp(8rem, 27vw, 30rem);
  line-height: 0.72;
  font-weight: 1000;
  text-transform: uppercase;
  pointer-events: none;
}

.profile-image {
  position: relative;
  z-index: 1;
  min-height: clamp(32rem, 62vw, 50rem);
  overflow: hidden;
  background: #dfe4e6;
  clip-path: polygon(7% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 0 0 1px var(--line);
}

.profile-image::before {
  content: "Director / Editor / Cinematographer";
  position: absolute;
  left: 2rem;
  top: 1rem;
  z-index: 2;
  padding: 0.55rem 0.7rem;
  background: var(--lime);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.profile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 10, 8, 0.78) 0%, transparent 38%),
    linear-gradient(135deg, transparent 0%, transparent 58%, rgba(216, 255, 31, 0.18) 100%);
  mix-blend-mode: multiply;
}

.profile-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) saturate(0.9);
}

.profile-copy {
  position: relative;
  z-index: 1;
}

.profile-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.88;
  font-weight: 1000;
  text-transform: uppercase;
}

.profile-copy p {
  max-width: 42rem;
  color: rgba(245, 241, 230, 0.76);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.profile-stats div {
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(245, 241, 230, 0.045);
}

.profile-stats span {
  color: var(--lime);
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 0.85;
  font-weight: 1000;
}

.profile-stats strong {
  color: var(--paper);
  font-size: 0.76rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(18rem, 1.25fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.resume-copy h2,
.contact-card h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.84;
  font-weight: 1000;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
}

.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: stretch;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  border-block: 1px solid var(--lime);
  padding-block: clamp(1rem, 3vw, 2rem);
}

.featured-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.6rem 0.8rem;
  background: var(--lime);
  color: var(--black);
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.featured-copy h3 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.84;
  font-weight: 1000;
  text-transform: uppercase;
}

.featured-copy p {
  max-width: 38rem;
  color: rgba(245, 241, 230, 0.76);
  line-height: 1.55;
}

.project-group {
  display: grid;
  gap: 1rem;
}

.project-group > h3 {
  position: sticky;
  top: 5rem;
  z-index: 1;
  width: fit-content;
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: var(--lime);
  color: var(--black);
  font-size: clamp(1.4rem, 3vw, 3rem);
  line-height: 0.9;
  font-weight: 1000;
  text-transform: uppercase;
}

.project-stack {
  display: grid;
  gap: 1rem;
}

.project-card {
  min-height: 26rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.project-media {
  position: relative;
  display: block;
  min-height: 26rem;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 96% 0, 84% 100%, 0% 100%);
  transform: scale(1.01);
  transition:
    transform 0.7s var(--ease),
    filter 0.7s var(--ease);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(216, 255, 31, 0.1), transparent 32%),
    linear-gradient(0deg, rgba(8, 10, 8, 0.58), transparent 52%);
  opacity: 0.72;
  transition: opacity 0.55s var(--ease);
}

.project-card:hover .project-media::after,
.featured-card:hover .project-media::after {
  opacity: 0.38;
}

.project-card:hover .project-media {
  transform: translateX(0) scale(1.03);
  filter: saturate(1.15) contrast(1.08);
}

.project-video {
  width: 100%;
  min-height: 26rem;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
  clip-path: polygon(0 0, 96% 0, 84% 100%, 0% 100%);
}

.featured-video {
  min-height: clamp(24rem, 50vw, 44rem);
}

.play-badge {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1;
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--black);
  font-size: 1.45rem;
  font-weight: 1000;
}

.play-badge::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.08rem solid var(--black);
}

.platform-pill {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 1;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(245, 241, 230, 0.28);
  border-radius: 999px;
  background: rgba(8, 10, 8, 0.52);
  backdrop-filter: blur(10px);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 3vw, 3rem) 0 clamp(1.25rem, 3vw, 3rem) clamp(1rem, 3vw, 2rem);
}

.project-kicker {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4.8vw, 5.2rem);
  line-height: 0.88;
  font-weight: 1000;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-info p {
  max-width: 34rem;
  color: rgba(245, 241, 230, 0.74);
  line-height: 1.55;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  border: 1px solid rgba(245, 241, 230, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.roles-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper);
  color: var(--black);
  padding-inline: 0;
}

.role-panel {
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.2rem, 3vw, 3rem);
  background: var(--paper);
}

.role-panel:nth-child(2) {
  background: #dfe6df;
}

.role-panel:nth-child(3) {
  background: #e8d3c5;
}

.role-panel span {
  color: var(--red);
  font-weight: 1000;
}

.role-panel h2 {
  font-size: clamp(2.7rem, 6vw, 6.8rem);
  line-height: 0.82;
  font-weight: 1000;
  text-transform: uppercase;
}

.role-panel p {
  max-width: 28rem;
  color: rgba(8, 10, 8, 0.72);
  line-height: 1.55;
}

.resume-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: #101510;
}

.resume-copy p {
  max-width: 36rem;
  color: rgba(245, 241, 230, 0.75);
  line-height: 1.6;
}

.resume-actions {
  margin-top: 1.5rem;
}

.resume-board {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.resume-board > div {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--black);
}

.resume-board h3 {
  color: var(--lime);
  text-transform: uppercase;
}

.resume-board ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(245, 241, 230, 0.75);
  line-height: 1.9;
}

.contact-section {
  min-height: 76svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(8, 10, 8, 0.74), rgba(8, 10, 8, 0.86)),
    url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.contact-card {
  width: min(100%, 58rem);
}

.contact-card p {
  max-width: 44rem;
  color: rgba(245, 241, 230, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

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

@keyframes loadWipe {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(-1%, -1%, 0);
  }
  to {
    transform: scale(1.11) translate3d(1%, 1%, 0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 3.4rem 1fr;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-meta,
  .profile-section,
  .section-heading,
  .featured-card,
  .project-card,
  .roles-section,
  .resume-section {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    display: grid;
  }

  .project-media {
    min-height: 18rem;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    transform: translateX(0);
  }

  .project-video {
    min-height: 18rem;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .featured-video {
    min-height: 20rem;
  }

  .project-info {
    padding-left: 0;
  }

  .role-panel {
    min-height: 23rem;
  }

  .profile-section {
    min-height: auto;
  }

  .profile-image {
    min-height: 32rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
