﻿:root {
  color-scheme: dark;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-dramatic: cubic-bezier(0.19, 1, 0.22, 1);
  --bg: #030303;
  --panel: #0b0b0b;
  --panel-soft: #111;
  --text: #f6f6f2;
  --muted: #a7a7a0;
  --subtle: #696964;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --accent: #f6f6f2;
  --accent-cool: #d6d6d0;
  --shadow: rgba(0, 0, 0, 0.62);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #050505, #030303 32rem);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 18rem);
  mix-blend-mode: screen;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(22px) saturate(80%);
  opacity: 0;
  transform: translateY(-18px);
  animation: navEnter 1.4s var(--ease-dramatic) 1.65s forwards;
}

.brand, .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: rgba(246, 246, 242, 0.84);
}

.brand { gap: 10px; font-weight: 650; }

.brand-mark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #030303 0 24%, transparent 25%),
    conic-gradient(from 30deg, #fff, #6b6b68, #f6f6f2, #222, #fff);
  box-shadow: 0 0 18px rgba(255,255,255,.14);
}

.nav-links a { color: var(--muted); transition: color 420ms var(--ease-out); }
.nav-links a:hover { color: var(--text); }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 108px clamp(18px, 7vw, 88px) 64px;
}

.opening-shutter {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f6f6f2 0 50%, #030303 50%),
    #030303;
  transform-origin: center;
  animation: openingShutter 1.45s var(--ease-inout) .15s forwards;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34vh;
  background: linear-gradient(180deg, transparent, #030303 78%);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--scroll, 0) * 0.08px));
}

.monitor-frame {
  position: absolute;
  inset: 7vh 4vw 14vh;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 38px 100px var(--shadow);
  background: #070707;
  transform-origin: center;
  will-change: transform, clip-path, opacity;
  animation: frameOpening 1.8s var(--ease-dramatic) .55s both;
}

.monitor-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.14);
  pointer-events: none;
}

.monitor-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.04) 36%,
      rgba(0, 0, 0, 0.38) 64%,
      rgba(0, 0, 0, 0.82) 100%
    );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.36) 58%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.36) 58%,
    rgba(0, 0, 0, 1) 100%
  );
}

.film-still {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle at 24% 28%, rgba(255,255,255,.62) 0 7%, transparent 18%),
    radial-gradient(circle at 77% 35%, rgba(255,255,255,.18) 0 8%, transparent 24%),
    linear-gradient(118deg, #111 0 34%, #202020 35% 52%, #8d8d86 53% 65%, #050505 66%);
  filter: grayscale(1) contrast(1.18) brightness(.92);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-bg-video + .film-still {
  z-index: 0;
}

.hero-video-ready .hero-bg-video + .film-still {
  opacity: 0;
}

.hero-bg-video:not(:defined) {
  display: none;
}

.film-still::before, .film-still::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  filter: blur(20px);
}

.film-still::before { width: 15vw; height: 8vw; left: 14%; top: 22%; }
.film-still::after { width: 20vw; height: 18vw; right: 12%; bottom: 16%; background: rgba(255,255,255,.2); }

.scanline {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.28), rgba(255,255,255,.28) 1px, transparent 1px, transparent 5px);
}

.timecode, .viewer-bars { position: absolute; z-index: 4; }
.timecode { right: 22px; top: 18px; font-family: "SF Mono", Consolas, monospace; font-size: 12px; color: rgba(255,255,255,.68); }
.viewer-bars { left: 22px; bottom: 20px; display: flex; gap: 6px; }
.viewer-bars span { width: 42px; height: 4px; background: rgba(255,255,255,.36); border-radius: 999px; }
.viewer-bars span:nth-child(2), .viewer-bars span:nth-child(4) { background: rgba(255,255,255,.86); }

.hero-copy { position: relative; z-index: 5; max-width: 820px; padding-top: 42vh; }

.hero-line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 76px, 0) scaleY(.72);
  transform-origin: left bottom;
  clip-path: inset(0 0 100% 0);
  will-change: transform, opacity, clip-path;
  animation: heroLineIn 1.45s var(--ease-dramatic) forwards;
}

.hero-line:nth-child(1) { animation-delay: 1.16s; }
.hero-line:nth-child(2) { animation-delay: 1.28s; }
.hero-line:nth-child(3) { animation-delay: 1.52s; }
.hero-line:nth-child(4) { animation-delay: 1.74s; }

.hero-title span {
  display: block;
}

.eyebrow, .section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 920px;
  font-size: clamp(42px, 8vw, 96px);
  line-height: 0.98;
  font-weight: 760;
  text-wrap: balance;
}

.hero-intro, .about-copy p, .compare-copy p, .contact-copy p, .section-heading p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  transition: transform 620ms var(--ease-dramatic), background 420ms var(--ease-out), border-color 420ms var(--ease-out);
}

.primary-action { background: var(--text); color: #050505; }
.secondary-action { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.045); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }

.section { padding: clamp(86px, 11vw, 144px) clamp(18px, 7vw, 88px); }
.about-section, .contact-section { background: #050505; }

.media-reveal {
  clip-path: inset(0 100% 0 0);
  opacity: .001;
  transform: translate3d(0, 72px, 0) scale(1.08);
  transform-origin: center;
  will-change: transform, clip-path, opacity;
}

.media-reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1);
  transition:
    clip-path 1.65s var(--ease-inout),
    transform 1.65s var(--ease-dramatic),
    opacity 1.1s var(--ease-out);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(220px, .54fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.profile-photo {
  min-height: clamp(300px, 34vw, 500px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.5)),
    linear-gradient(135deg, #101010, #303030 42%, #707070 43% 54%, #090909 55%);
  filter: grayscale(1) contrast(1.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.about-copy h2, .section-heading h2, .compare-copy h2, .contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  text-wrap: balance;
}

.skills-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}

.skills-panel div { padding: 22px; background: rgba(255,255,255,.035); }
.skills-panel span { display: block; margin-bottom: 10px; color: rgba(255,255,255,.76); font-size: 13px; }
.skills-panel strong { display: block; color: var(--text); font-size: 16px; line-height: 1.55; font-weight: 560; }

.work-section { background: linear-gradient(180deg, #030303, #0b0b0b 58%, #030303); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  transition: transform 760ms var(--ease-dramatic), border-color 520ms var(--ease-out), box-shadow 760ms var(--ease-dramatic);
}

.work-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.42); box-shadow: 0 24px 60px rgba(0,0,0,.48); }

.video-shell { position: relative; min-height: 260px; aspect-ratio: 16 / 9; overflow: hidden; background-color: #000; }
.vertical-video { aspect-ratio: 16 / 9; max-height: none; margin-inline: auto; width: 100%; }
.video-shell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; z-index: 2; filter: none; background: #000; }
.video-shell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; z-index: 3; display: block; background: #000; transition: transform 900ms var(--ease-dramatic), filter 720ms var(--ease-out); }
.video-shell.has-video .video-placeholder { display: none; }
.video-shell:not(.has-video) video { display: none; }

.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.56)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 52px);
}

.video-placeholder span { font-family: "SF Mono", Consolas, monospace; color: rgba(255,255,255,.62); font-size: 12px; }
.video-placeholder strong { margin-top: 8px; font-size: 18px; color: rgba(255,255,255,.9); }

.thumb-01 { background: linear-gradient(160deg, transparent 0 45%, rgba(0,0,0,.72) 46%), radial-gradient(circle at 72% 30%, rgba(255,255,255,.72), transparent 18%), linear-gradient(125deg, #070707 0 35%, #2a2a2a 36% 58%, #777 59% 70%, #050505 71%); }
.thumb-02 { background: radial-gradient(circle at 47% 38%, rgba(255,255,255,.68), transparent 10%), linear-gradient(90deg, #090909, #2b2b2b 42%, #8a8a82 43% 51%, #111 52%); }
.thumb-03 { background: radial-gradient(circle at 18% 70%, rgba(255,255,255,.68), transparent 16%), radial-gradient(circle at 78% 18%, rgba(255,255,255,.26), transparent 18%), linear-gradient(135deg, #101010, #444 50%, #080808); }

.work-body { padding: 22px; }
.work-body p { margin-bottom: 8px; color: rgba(255,255,255,.72); font-size: 13px; }
.work-body h3 { margin-bottom: 10px; font-size: 23px; line-height: 1.2; }
.work-body span { color: var(--muted); font-size: 14px; line-height: 1.6; }

.compare-block {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
  margin-top: clamp(64px, 10vw, 128px);
}

.compare-widget {
  position: relative;
  min-height: 360px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 30px 70px var(--shadow);
  background: #101010;
}

.before-frame, .after-frame { position: absolute; inset: 0; }
.before-frame { background: radial-gradient(circle at 35% 38%, rgba(255,255,255,.5), transparent 11%), linear-gradient(115deg, #3a3a3a 0 36%, #666 37% 54%, #4a4a4a 55% 66%, #1b1b1b 67%); filter: grayscale(1) contrast(.82) brightness(.82); }
.after-frame { width: 58%; border-right: 2px solid rgba(255,255,255,.86); background: radial-gradient(circle at 35% 38%, rgba(255,255,255,.78), transparent 11%), linear-gradient(115deg, #181818 0 36%, #8f8f86 37% 54%, #5d5d5d 55% 66%, #060606 67%); filter: grayscale(1) contrast(1.24) brightness(1.02); }
.grade-slider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.compare-labels { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; font-family: "SF Mono", Consolas, monospace; font-size: 12px; color: rgba(255,255,255,.72); }

.color-reel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 30px 70px var(--shadow);
}

.color-reel .video-placeholder {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.66)),
    radial-gradient(circle at 32% 42%, rgba(255,255,255,.46), transparent 7rem),
    linear-gradient(115deg, #050505 0 36%, #8f8f86 37% 52%, #2f2f2f 53% 68%, #0b0b0b 69%);
}

.contact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: clamp(28px, 6vw, 80px); align-items: end; border-top: 1px solid rgba(255,255,255,.08); }
.contact-list { display: grid; gap: 12px; }
.contact-list a { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: clamp(17px, 2vw, 22px); transition: color 420ms var(--ease-out), border-color 420ms var(--ease-out), transform 760ms var(--ease-dramatic); }
.contact-list a:hover { color: #fff; border-color: rgba(255,255,255,.52); }

.motion-kicker,
.motion-title,
.motion-item,
.motion-list > * {
  opacity: 0;
  will-change: transform, opacity, clip-path, filter;
}

.motion-kicker {
  transform: translate3d(-48px, 0, 0);
  clip-path: inset(0 100% 0 0);
}

.motion-title {
  transform: translate3d(0, 112px, 0) scaleY(.62);
  transform-origin: left bottom;
  clip-path: inset(0 0 100% 0);
  filter: blur(8px);
}

.motion-item {
  transform: translate3d(0, 42px, 0);
}

.motion-list > * {
  transform: translate3d(0, 88px, 0) scale(.94);
  clip-path: inset(18% 0 0 0);
}

.motion-kicker.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0);
  transition: opacity 900ms var(--ease-out), transform 1.15s var(--ease-dramatic), clip-path 1.15s var(--ease-inout);
}

.motion-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scaleY(1);
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  transition:
    opacity 1s var(--ease-out),
    transform 1.45s var(--ease-dramatic),
    clip-path 1.35s var(--ease-inout),
    filter 1s var(--ease-out);
}

.motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 1.05s var(--ease-out), transform 1.25s var(--ease-dramatic);
}

.motion-list > *.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0);
  transition:
    opacity 1s var(--ease-out),
    transform 1.35s var(--ease-dramatic),
    clip-path 1.25s var(--ease-inout);
}

@keyframes openingShutter {
  0% { clip-path: inset(0 0 0 0); transform: scaleX(1); }
  62% { clip-path: inset(0 42% 0 42%); transform: scaleX(1.08); }
  100% { clip-path: inset(0 50% 0 50%); transform: scaleX(.92); }
}

@keyframes frameOpening {
  0% { opacity: 0; clip-path: inset(44% 0 44% 0); transform: translate3d(0, 60px, 0) scaleX(.86) scaleY(.72); filter: blur(8px); }
  52% { opacity: 1; clip-path: inset(12% 0 12% 0); transform: translate3d(0, 0, 0) scaleX(1.03) scaleY(.94); filter: blur(2px); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0) scaleX(1) scaleY(1); filter: blur(0); }
}

@keyframes heroLineIn {
  0% { opacity: 0; transform: translate3d(0, 76px, 0) scaleY(.72); clip-path: inset(0 0 100% 0); filter: blur(8px); }
  58% { opacity: 1; transform: translate3d(0, -6px, 0) scaleY(1.05); clip-path: inset(0 0 0 0); filter: blur(0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scaleY(1); clip-path: inset(0 0 0 0); filter: blur(0); }
}

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-header { padding: 0 16px; }
  .brand span:last-child { display: none; }
  .nav-links { gap: 14px; }
  .hero { min-height: 92vh; padding-top: 90px; }
  .monitor-frame { inset: 70px 14px 29vh; }
  .hero-copy { padding-top: 45vh; }
  .about-grid, .profile-grid, .compare-block, .contact-section { grid-template-columns: 1fr; }
  .profile-photo { min-height: 520px; }
  .work-card:last-child { grid-column: auto; }
  .video-shell, .compare-widget { min-height: 240px; }
  .vertical-video { aspect-ratio: 16 / 10; max-height: none; width: 100%; }
}

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

@media (max-width: 520px) {
  .site-header { height: 52px; }
  .nav-links { font-size: 12px; gap: 12px; }
  .hero { padding: 84px 16px 44px; }
  .monitor-frame { inset: 64px 12px 38vh; }
  .viewer-bars span { width: 26px; }
  .hero-copy { padding-top: 44vh; }
  h1 { font-size: 42px; }
  .section { padding: 72px 16px; }
  .profile-photo { min-height: 420px; }
  .about-copy h2, .section-heading h2, .compare-copy h2, .contact-copy h2 { font-size: 34px; }
  .work-body { padding: 18px; }
  .compare-widget { min-height: 220px; }
  .contact-list a { word-break: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-visual { transform: none; }
  .opening-shutter { display: none; }
  .hero-line,
  .motion-kicker,
  .motion-title,
  .motion-item,
  .motion-list > *,
  .media-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
  }
}



/* compact heading-only copy blocks */
.compare-copy,
.contact-copy {
  display: grid;
  align-content: center;
}

.compare-copy .section-kicker,
.contact-copy .section-kicker {
  margin-bottom: 18px;
}

.compare-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
}

.compare-copy h2 {
  max-width: 560px;
}

.contact-copy h2 {
  max-width: 900px;
}

/* keep color grade heading on one line */
.compare-copy h2 {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .compare-copy h2 {
    white-space: normal;
  }
}

/* refined profile image scale */
.profile-photo {
  max-width: 420px;
  width: 100%;
}

@media (max-width: 760px) {
  .profile-photo {
    max-width: 100%;
    min-height: 360px;
  }
}

/* contact layout after removing showreel link */
.contact-list {
  align-self: center;
  display: grid;
  gap: 18px;
}

.contact-list a {
  width: min(100%, 520px);
}



/* restore dark version: full-bleed hero video and temporary no-photo about */
.hero {
  min-height: 100vh;
  padding: 108px clamp(18px, 7vw, 88px) 64px;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.monitor-frame {
  inset: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #030303;
}

.monitor-frame::before {
  inset: 0;
  border: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 22%, transparent 74%, rgba(0,0,0,.36)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
  opacity: .62;
  mix-blend-mode: overlay;
}

.monitor-frame::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.16) 36%, rgba(0,0,0,.58) 72%, rgba(0,0,0,.92) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 46%, rgba(0,0,0,.56) 70%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 46%, rgba(0,0,0,.56) 70%, rgba(0,0,0,1) 100%);
}

.hero-bg-video {
  object-fit: cover;
}

.timecode,
.viewer-bars {
  display: none;
}

.hero-copy {
  max-width: 920px;
  padding-top: 48vh;
}

.profile-grid.no-photo {
  display: block;
  max-width: 1040px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.profile-grid.no-photo .about-copy {
  max-width: 980px;
}

.profile-grid.no-photo .about-copy h2 {
  max-width: 980px;
}

.profile-grid.no-photo .about-copy p {
  max-width: 940px;
}

@media (max-width: 720px) {
  .hero {
    padding: 84px 16px 44px;
  }

  .hero-copy {
    padding-top: 46vh;
  }

  .monitor-frame {
    inset: 0;
  }
}


/* about keeps original two-column rhythm without photo */
.profile-grid.no-photo {
  display: grid;
  grid-template-columns: minmax(220px, .54fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  max-width: none;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.profile-grid.no-photo .about-copy {
  grid-column: 2;
  max-width: none;
}

.profile-grid.no-photo .about-copy h2,
.profile-grid.no-photo .about-copy p {
  max-width: none;
}

@media (max-width: 900px) {
  .profile-grid.no-photo {
    grid-template-columns: 1fr;
  }

  .profile-grid.no-photo .about-copy {
    grid-column: 1;
  }
}


/* stronger cinematic vignette around full-bleed hero */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.04) 38%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.76) 100%),
    linear-gradient(90deg, rgba(0,0,0,.55), transparent 18%, transparent 82%, rgba(0,0,0,.55)),
    linear-gradient(180deg, rgba(0,0,0,.42), transparent 22%, transparent 64%, rgba(0,0,0,.78));
}


/* about text-left portrait-right layout */
.profile-grid.about-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.profile-grid.about-with-photo .about-copy {
  grid-column: 1;
  max-width: 980px;
}

.profile-grid.about-with-photo .profile-photo {
  grid-column: 2;
  justify-self: end;
  position: relative;
  overflow: hidden;
  width: min(100%, 330px);
  max-width: 330px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.34)),
    url("./about-photo.webp") center / cover no-repeat;
  filter: grayscale(.2) contrast(1.05) saturate(.9) brightness(.92);
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}

.profile-grid.about-with-photo .profile-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, transparent 0 42%, rgba(0,0,0,.36) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px);
  opacity: .44;
  mix-blend-mode: overlay;
}

@media (max-width: 900px) {
  .profile-grid.about-with-photo {
    grid-template-columns: 1fr;
  }

  .profile-grid.about-with-photo .profile-photo {
    grid-column: 1;
    justify-self: start;
    width: min(100%, 300px);
  }
}


/* unified work card typography */
.work-info {
  min-height: 132px;
  padding: clamp(18px, 2.2vw, 24px);
  display: grid;
  align-content: start;
  gap: 10px;
  background: rgba(255,255,255,.026);
}

.work-info p,
.work-info h3,
.work-info span {
  margin: 0;
  letter-spacing: 0;
}

.work-info p {
  color: rgba(255,255,255,.62);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.35;
  font-weight: 650;
}

.work-info h3 {
  color: var(--text);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.18;
  font-weight: 760;
  text-wrap: balance;
}

.work-info span {
  color: rgba(255,255,255,.58);
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 1.55;
  font-weight: 520;
}

.work-card {
  background: #090909;
}

.work-card .video-shell {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.theme-light-preview .work-info p,
.theme-light-preview .work-info span {
  color: rgba(16,16,16,.58);
}

@media (max-width: 720px) {
  .work-info {
    min-height: 120px;
  }
}


/* clean dark header and subtle work hover */
.site-header {
  height: 58px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(2,2,2,.72);
  color: var(--text);
  backdrop-filter: blur(22px) saturate(90%);
  -webkit-backdrop-filter: blur(22px) saturate(90%);
}

.brand span:last-child {
  display: inline;
  font-size: 12px;
  line-height: 1;
  color: rgba(255,255,255,.88);
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links {
  gap: clamp(18px, 3vw, 42px);
}

.nav-links a {
  position: relative;
  color: rgba(255,255,255,.54);
  font-size: 12px;
  line-height: 58px;
  font-weight: 650;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
  transform: translateX(-50%) scaleX(.25);
  transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-dramatic);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a:first-child::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.work-card {
  will-change: transform;
  transition: transform 720ms var(--ease-dramatic), border-color 520ms var(--ease-out), box-shadow 720ms var(--ease-dramatic);
}

.work-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,.36);
  box-shadow: 0 30px 72px rgba(0,0,0,.52);
}

.external-work-card {
  display: block;
  color: inherit;
}

.external-play-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms var(--ease-out), transform 720ms var(--ease-dramatic), border-color 520ms var(--ease-out);
}

.external-work-card:hover .external-play-badge {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255,255,255,.68);
}

.work-card:hover .video-shell video,
.work-card:hover .video-shell img,
.work-card:hover .video-shell::before {
  transform: scale(1.018);
}

.video-shell video {
  transition: transform 900ms var(--ease-dramatic);
}

@media (max-width: 640px) {
  .brand span:last-child {
    display: none;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }
}


/* unified color grade section */
.color-grade-block {
  margin-top: clamp(72px, 10vw, 128px);
}

.color-grade-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.color-grade-card {
  width: min(100%, 980px);
  margin-inline: auto;
}

.color-grade-card .video-shell {
  min-height: 260px;
  aspect-ratio: 16 / 9;
}

.color-grade-card .work-info {
  min-height: 132px;
}

@media (max-width: 720px) {
  .color-grade-card {
    width: 100%;
  }
}
