:root {
  color-scheme: dark;
  --bg: #020202;
  --panel: rgba(18, 18, 18, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(235, 235, 235, 0.15);
  --text: #f7f7f7;
  --muted: #a8a8a8;
  --silver: #d7d9dc;
  --silver-dark: #72757a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.72), 0 0 32px rgba(255, 255, 255, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  cursor: url("assets/arrow.cur"), auto;
}

a,
button,
.brand,
.nav-trigger,
.dropdown a,
.primary-link,
.ghost-link,
.contact-links a {
  cursor: url("assets/hand.cur"), pointer;
}

p,
h1,
h2,
h3,
span,
.hero-text,
.about-copy,
.section-heading {
  cursor: url("assets/ibeam.cur"), text;
}

.site-header,
.site-header *,
.hero-actions,
.hero-actions *,
.tool-list,
.tool-list *,
.track-label {
  cursor: url("assets/arrow.cur"), auto;
}

.site-header a,
.site-header button,
.site-header .dropdown a,
.language-options button,
.hero-actions a,
.contact-links a,
.track-label {
  cursor: url("assets/hand.cur"), pointer;
}

.site-header .brand {
  cursor: url("assets/uparrow.cur"), n-resize;
}

.video-card,
.video-card * {
  cursor: url("assets/hand.cur"), pointer;
}

.clip {
  cursor: url("assets/hand.cur"), pointer;
}

.carousel-shell,
.editor-timeline {
  cursor: url("assets/sizens.cur"), ew-resize;
}

body.is-loading,
body.is-loading * {
  cursor: url("assets/wait.ani"), wait;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.07), transparent 24rem),
    radial-gradient(circle at 84% 24%, rgba(160, 164, 172, 0.08), transparent 28rem),
    linear-gradient(135deg, #020202 0%, #080808 42%, #020202 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open > :not(.video-modal) {
  filter: blur(10px);
  transition: filter 260ms ease;
}

body.modal-open .carousel-track {
  animation-play-state: paused;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  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;
  padding: 18px clamp(18px, 6vw, 88px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 68px;
  height: 42px;
  overflow: hidden;
  background-image: url("assets/av-logo.png");
  background-position: center;
  background-size: 142%;
  background-repeat: no-repeat;
  transition: filter 180ms ease, transform 180ms ease;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.brand:hover {
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.58))
    drop-shadow(0 0 18px rgba(210, 214, 222, 0.28));
  transform: translateY(-1px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: #d8d8d8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a,
.nav-trigger,
.language-trigger {
  position: relative;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: color 180ms ease, text-shadow 180ms ease, filter 180ms ease;
}

.nav a::after,
.nav-trigger::after,
.language-trigger::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover::after,
.nav-trigger:hover::after,
.language-trigger:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav a:hover,
.nav-trigger:hover,
.language-trigger:hover {
  color: #fff;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.68),
    0 0 16px rgba(217, 221, 230, 0.36);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.28));
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-menu,
.language-menu {
  position: relative;
}

.dropdown,
.language-options {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  min-width: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu:hover .dropdown,
.nav-menu:focus-within .dropdown,
.nav-menu.open .dropdown,
.language-menu:focus-within .language-options,
.language-menu.open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown a,
.language-options button {
  padding: 12px 14px;
  border-radius: 6px;
  color: #efefef;
  white-space: nowrap;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.language-trigger span:first-child {
  font-size: 1.08rem;
  line-height: 1;
}

.language-code {
  min-width: 20px;
  text-align: left;
}

.language-options {
  min-width: 146px;
}

.language-options button {
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, text-shadow 180ms ease;
}

.language-options button:hover,
.language-options button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.38);
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

main {
  overflow: hidden;
}

section {
  padding: clamp(80px, 11vw, 150px) clamp(18px, 6vw, 88px);
}

.about,
.timeline,
.work {
  content-visibility: auto;
  contain-intrinsic-size: 820px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 96vh;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  margin-bottom: -2px;
  padding-top: 130px;
  padding-bottom: clamp(90px, 12vh, 150px);
  text-align: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 10% -20% auto 36%;
  z-index: -1;
  height: 360px;
  content: "";
  background: radial-gradient(ellipse, rgba(245, 246, 248, 0.24), transparent 62%);
  filter: blur(38px);
  transform: rotate(-15deg);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: -5% -3% -8%;
  z-index: -2;
  width: 106%;
  height: 113%;
  opacity: 0.45;
  filter: grayscale(1) blur(2.5px) contrast(1.08) brightness(0.72);
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 68%,
    rgba(0, 0, 0, 0.68) 80%,
    rgba(0, 0, 0, 0.18) 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 68%,
    rgba(0, 0, 0, 0.68) 80%,
    rgba(0, 0, 0, 0.18) 92%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-scroll-fade {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: min(58vh, 520px);
  background:
    linear-gradient(180deg, rgba(2, 2, 2, 0) 0%, rgba(2, 2, 2, 0.18) 20%, rgba(2, 2, 2, 0.66) 56%, #020202 88%, #020202 100%),
    radial-gradient(ellipse at 50% 72%, rgba(255, 255, 255, 0.03), transparent 64%);
  box-shadow:
    0 -80px 110px rgba(0, 0, 0, 0.34),
    0 36px 90px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.hero-copy {
  width: min(100%, 980px);
  max-width: none;
}

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

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 10vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.68),
    0 0 28px rgba(230, 232, 236, 0.42),
    0 0 58px rgba(190, 194, 202, 0.26);
}

.typing-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(3.1rem, 10vw, 10rem);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.74),
    0 0 19px rgba(242, 244, 248, 0.44),
    0 0 38px rgba(190, 194, 202, 0.24);
}

.typing-word {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 42%, #a5a9b1 68%, #4a4f57 100%);
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-cursor {
  flex: 0 0 auto;
  width: 0.075em;
  height: 0.78em;
  margin-left: 0.08em;
  background: linear-gradient(#fff, #b8bcc4);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.82),
    0 0 18px rgba(232, 235, 241, 0.44);
  animation: cursor-blink 1.1s steps(1) infinite;
}

.hero-welcome {
  max-width: 540px;
  margin: -2px auto 0;
  color: rgba(235, 237, 242, 0.68);
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  color: var(--silver);
  font-size: 1rem;
}

.hero-text {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.8;
}

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

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-link {
  background: linear-gradient(135deg, #f3f4f6, #777b82);
  color: #070707;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.22);
}

.ghost-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f0;
}

.about {
  position: relative;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-copy {
  max-width: 660px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.tool-list span {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9d9d9;
  font-size: 0.88rem;
  font-weight: 700;
}

.portrait-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.12), transparent 70%);
  mix-blend-mode: overlay;
}

.portrait-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(0.92);
}

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

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.section-heading.split p:last-child {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.7;
}

.editor-timeline {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 20%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(3, 3, 3, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.58),
    0 0 22px rgba(255, 255, 255, 0.075),
    0 0 52px rgba(190, 194, 202, 0.05),
    inset 0 0 22px rgba(255, 255, 255, 0.025);
}

.timeline-stage {
  position: relative;
  overflow: hidden;
  padding-top: 32px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 6.25%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 24px),
    rgba(0, 0, 0, 0.18);
}

.time-ruler {
  position: absolute;
  top: 0;
  right: 0;
  left: 96px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.28);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.7rem;
}

.time-ruler span {
  padding-top: 9px;
  padding-left: 12px;
}

.track-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.track-row:last-child {
  border-bottom: 0;
}

.track-label {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 18px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #d9d9d9;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.track-label::before {
  display: grid;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.08);
  place-items: center;
  color: #030303;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.track-label:hover::before {
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.14);
}

.track-row.is-disabled {
  opacity: 0.42;
}

.track-row.is-disabled .clip {
  filter: grayscale(1) brightness(0.72);
  pointer-events: none;
}

.track-row.is-disabled .clip,
.track-row.is-disabled .clip:hover,
.track-row.is-disabled .clip.is-playhead-hit {
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.02);
  transform: none;
}

.track-row.is-disabled .track-label:hover::before {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.track-row[data-track-type="video"].is-disabled .track-label::before {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(45deg, transparent 44%, rgba(245, 245, 245, 0.78) 45% 54%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, transparent 0 34%, rgba(245, 245, 245, 0.78) 35% 48%, transparent 49%);
}

.track-row[data-track-type="audio"].is-disabled .track-label::before {
  border-color: rgba(115, 242, 177, 0.65);
  background: #72efb1;
  content: "M";
}

.track-lane {
  position: relative;
  min-height: inherit;
}

.clip {
  position: absolute;
  top: 7px;
  display: flex;
  align-items: center;
  height: 28px;
  overflow: hidden;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.03);
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.75);
  transition: border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease, transform 220ms ease;
  z-index: 1;
}

.clip::before,
.clip::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-50%) rotate(45deg);
}

.clip::before {
  left: -5px;
}

.clip::after {
  right: -5px;
}

.clip:hover,
.clip:focus-visible,
.clip.is-playhead-hit {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.24),
    0 0 24px rgba(255, 255, 255, 0.12),
    inset 0 0 20px rgba(255, 255, 255, 0.11);
  filter: brightness(1.2);
  transform: translateY(-1px);
  z-index: 6;
}

.clip.is-playhead-hit {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.32),
    0 0 30px rgba(255, 255, 255, 0.16),
    inset 0 0 22px rgba(255, 255, 255, 0.14);
}

.clip.video {
  padding-left: 44px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0 36px, transparent 36px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 28% 42%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 72% 54%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(80, 80, 80, 0.14)),
    rgba(255, 255, 255, 0.06);
}

.clip.video.broll-preview-1,
.clip.video.broll-preview-2,
.clip.video.broll-preview-3,
.clip.video.minecraft-preview-1,
.clip.video.minecraft-preview-2 {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0 36px, transparent 36px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 32px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(70, 70, 70, 0.12));
}

.clip.video::before {
  top: 4px;
  left: 5px;
  width: 30px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 36%),
    radial-gradient(circle at 68% 36%, rgba(255, 255, 255, 0.38), transparent 26%),
    linear-gradient(180deg, #484848, #101010 66%);
  transform: none;
}

.clip.video::after {
  display: none;
}

.clip.video.fx {
  padding-left: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(90, 90, 90, 0.16));
}

.clip.video.fx::before {
  top: 50%;
  left: -5px;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-50%) rotate(45deg);
}

.clip.video.fx::after {
  top: 50%;
  right: -5px;
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-50%) rotate(45deg);
}

.clip.dark {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 30px),
    radial-gradient(circle at 28% 44%, rgba(255, 255, 255, 0.13), transparent 18%),
    linear-gradient(90deg, rgba(150, 150, 150, 0.26), rgba(62, 62, 62, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.clip.mid {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px),
    radial-gradient(circle at 18% 52%, rgba(255, 255, 255, 0.15), transparent 20%),
    radial-gradient(circle at 80% 38%, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(90deg, rgba(200, 200, 200, 0.22), rgba(90, 90, 90, 0.15)),
    rgba(255, 255, 255, 0.05);
}

.clip.main {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 36px),
    radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 64% 58%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(130, 130, 130, 0.18)),
    rgba(255, 255, 255, 0.07);
  color: #fff;
}

.thumb-a::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 36%),
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.34), transparent 25%),
    linear-gradient(180deg, #515151, #101010 68%);
}

.thumb-b::before {
  background:
    linear-gradient(45deg, transparent 44%, rgba(255, 255, 255, 0.34) 45% 55%, transparent 56%),
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(180deg, #242424, #565656 48%, #090909);
}

.thumb-c::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 7px),
    linear-gradient(135deg, #5a5a5a, #111 62%);
}

.thumb-d::before {
  background:
    radial-gradient(circle at 38% 44%, rgba(255, 255, 255, 0.48), transparent 25%),
    radial-gradient(circle at 72% 58%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #151515, #656565 52%, #050505);
}

.thumb-e::before {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.36), transparent 22% 58%, rgba(255, 255, 255, 0.22)),
    linear-gradient(180deg, #3d3d3d, #090909);
}

.thumb-f::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), transparent 28%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.12) 4px 5px),
    linear-gradient(180deg, #4c4c4c, #121212);
}

.broll-preview-1::before {
  background:
    radial-gradient(circle at 54% 38%, #f2efe6 0 12%, transparent 13%),
    radial-gradient(circle at 43% 42%, #fafafa 0 5%, transparent 6%),
    radial-gradient(circle at 64% 42%, #fafafa 0 5%, transparent 6%),
    linear-gradient(135deg, #6f3f26 0%, #bb7a48 46%, #151515 100%);
}

.broll-preview-2::before {
  background:
    radial-gradient(circle at 55% 42%, rgba(220, 206, 255, 0.82) 0 22%, transparent 23%),
    linear-gradient(135deg, #0c2748 0%, #245a8b 48%, #161035 100%);
}

.broll-preview-3::before {
  background:
    radial-gradient(circle at 60% 44%, rgba(255, 218, 188, 0.9) 0 28%, transparent 29%),
    linear-gradient(135deg, #f3c09f 0%, #8d3d25 58%, #0c0c0c 100%);
}

.minecraft-preview-1::before {
  background:
    repeating-linear-gradient(90deg, rgba(120, 70, 38, 0.95) 0 4px, rgba(210, 184, 142, 0.9) 4px 8px, rgba(42, 36, 34, 0.95) 8px 12px),
    linear-gradient(135deg, #2b1d18, #d6b47a 46%, #111);
}

.minecraft-preview-2::before {
  background:
    radial-gradient(circle at 62% 46%, rgba(245, 190, 126, 0.8) 0 14%, transparent 15%),
    linear-gradient(135deg, #101827 0%, #28384d 38%, #7b4a48 64%, #101010 100%);
}

.clip.audio,
.clip.bed {
  --wave-color: rgba(255, 255, 255, 0.32);
  --wave-soft: rgba(255, 255, 255, 0.12);
  --wave-bg: rgba(255, 255, 255, 0.07);
  height: 24px;
  padding-right: 12px;
  background:
    linear-gradient(90deg, var(--wave-soft), rgba(0, 0, 0, 0.12)),
    var(--wave-bg);
}

.clip.bed {
  right: 0;
  left: 0;
}

.clip.audio::before,
.clip.bed::before {
  top: 3px;
  right: 5px;
  left: 5px;
  width: auto;
  height: 18px;
  border: 0;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      90deg,
      var(--wave-soft) 0 1px,
      transparent 1px 3px,
      var(--wave-color) 3px 4px,
      transparent 4px 8px
    );
  mask-image:
    radial-gradient(ellipse at 9% 50%, #000 0 27%, transparent 28%),
    radial-gradient(ellipse at 23% 50%, #000 0 42%, transparent 43%),
    radial-gradient(ellipse at 39% 50%, #000 0 31%, transparent 32%),
    radial-gradient(ellipse at 57% 50%, #000 0 47%, transparent 48%),
    radial-gradient(ellipse at 74% 50%, #000 0 34%, transparent 35%),
    radial-gradient(ellipse at 90% 50%, #000 0 40%, transparent 41%);
  mask-composite: add;
  opacity: 0.66;
  transform: none;
}

.wave-purple {
  --wave-color: rgba(207, 109, 255, 0.78);
  --wave-soft: rgba(111, 36, 170, 0.42);
  --wave-bg: rgba(77, 0, 139, 0.62);
}

.wave-pink {
  --wave-color: rgba(255, 130, 192, 0.82);
  --wave-soft: rgba(195, 43, 118, 0.45);
  --wave-bg: rgba(115, 17, 66, 0.7);
}

.wave-blue {
  --wave-color: rgba(119, 177, 255, 0.84);
  --wave-soft: rgba(42, 82, 190, 0.48);
  --wave-bg: rgba(25, 54, 154, 0.72);
}

.wave-yellow {
  --wave-color: rgba(255, 235, 145, 0.86);
  --wave-soft: rgba(159, 138, 32, 0.5);
  --wave-bg: rgba(112, 101, 19, 0.72);
}

.wave-brown {
  --wave-color: rgba(218, 165, 92, 0.84);
  --wave-soft: rgba(129, 76, 20, 0.5);
  --wave-bg: rgba(86, 50, 8, 0.78);
}

.clip.audio::after,
.clip.bed::after {
  display: none;
}

.clip.audio {
  padding-left: 10px;
}

.clip.audio,
.clip.bed {
  color: #f2f2f2;
}

.clip.audio span,
.clip.bed span {
  position: relative;
  z-index: 1;
}

.c1 { left: 22%; width: 15%; }
.c2 { left: 56%; width: 10%; }
.c3 { left: 91%; width: 8%; }
.c4 { left: 0%; width: 8%; }
.c5 { left: 38%; width: 12%; }
.c6 { left: 78%; width: 10%; }
.c7 { left: 94%; width: 5%; }
.c8 { left: 4%; width: 22%; }
.c9 { left: 28%; width: 16%; }
.c10 { left: 49%; width: 24%; }
.c11 { left: 76%; width: 20%; }
.c12 { left: 0%; width: 75%; }
.c13 { left: 77%; width: 22%; }
.c14 { left: 0%; width: 12%; }
.c15 { left: 14%; width: 8%; }
.c16 { left: 24%; width: 13%; }
.c17 { left: 48%; width: 10%; }
.c18 { left: 68%; width: 14%; }
.c19 { left: 92%; width: 7%; }

.main-row {
  min-height: 43px;
}

.audio-row {
  min-height: 34px;
}

.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 96px;
  z-index: 5;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.85), 0 0 24px rgba(255, 255, 255, 0.32);
  animation: playhead-sweep 15s linear infinite;
}

.playhead::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 11px solid #fff;
  content: "";
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  transform: translateX(-50%);
}

.work {
  padding-right: 0;
  padding-left: 0;
}

.work .section-heading {
  padding: 0 clamp(18px, 6vw, 88px);
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  padding: 18px 0 34px;
}

.carousel-shell::before,
.carousel-shell::after {
  position: absolute;
  top: -56px;
  bottom: -56px;
  z-index: 4;
  width: clamp(96px, 15vw, 220px);
  pointer-events: none;
  content: "";
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
}

.carousel-shell::before {
  left: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.72) 28%,
      rgba(0, 0, 0, 0.34) 66%,
      transparent 100%
    );
}

.carousel-shell::after {
  right: 0;
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.72) 28%,
      rgba(0, 0, 0, 0.34) 66%,
      transparent 100%
    );
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 0 20px;
  animation: slide-left 72s linear infinite;
}

.carousel-track.reverse {
  animation-name: slide-right;
  animation-duration: 82s;
}

.carousel-shell:hover .carousel-track {
  animation-play-state: paused;
}

.edge {
  display: none;
}

.edge.left {
  display: none;
}

.edge.right {
  display: none;
}

.video-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #0d0d0d;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.48), 0 0 18px rgba(255, 255, 255, 0.045);
  color: inherit;
  text-decoration: none;
}

.youtube-card {
  cursor: url("assets/hand.cur"), pointer;
}

.video-card.wide {
  width: clamp(310px, 38vw, 560px);
  aspect-ratio: 16 / 9;
}

.video-card.tall {
  width: clamp(176px, 17vw, 250px);
  aspect-ratio: 9 / 16;
}

.video-card video,
.video-card img,
.video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #050505;
}

.youtube-card img,
.youtube-card iframe {
  position: absolute;
  inset: 0;
}

.youtube-card img {
  opacity: 0.78;
  filter: grayscale(0.32) contrast(1.04) brightness(0.82);
  transition: opacity 320ms ease;
}

.youtube-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.38));
  pointer-events: none;
}

.youtube-card::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid rgba(255, 255, 255, 0.88);
  border-radius: 3px;
  content: "";
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.32));
  opacity: 0.92;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.youtube-card iframe {
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 340ms ease;
}

.youtube-card.is-loaded iframe {
  opacity: 1;
}

.youtube-card.is-loaded img,
.youtube-card.is-loaded::before {
  opacity: 0;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 72px);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.09), transparent 34%),
    rgba(0, 0, 0, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-frame {
  position: relative;
  width: min(82vw, 1180px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #030303;
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.16),
    0 0 78px rgba(255, 255, 255, 0.08),
    0 32px 120px rgba(0, 0, 0, 0.72);
  transform: scale(0.985);
  transition: transform 260ms ease;
}

.video-modal.is-vertical .video-modal-frame {
  width: min(42vw, 430px);
  max-height: 86vh;
  aspect-ratio: 9 / 16;
}

.video-modal.is-open .video-modal-frame {
  transform: scale(1);
}

.video-modal-frame iframe,
.video-modal-frame > div,
#youtube-modal-player {
  width: 100%;
  height: 100%;
}

.video-modal-frame iframe {
  display: block;
  border: 0;
}

.video-card span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  color: #f3f3f3;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.contact {
  position: relative;
  display: grid;
  min-height: 82vh;
  place-items: center;
  text-align: center;
}

.contact h2 {
  max-width: 940px;
  font-size: clamp(2.1rem, 4.4vw, 5rem);
}

.silver-smoke {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 26% 54%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(ellipse at 62% 36%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(ellipse at 78% 72%, rgba(255, 255, 255, 0.12), transparent 30%);
  filter: blur(34px);
  opacity: 0.85;
  transform: skewY(-8deg);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #efefef;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--silver);
  box-shadow: 0 0 16px var(--silver);
}

.status-text {
  width: auto;
  height: auto;
  white-space: nowrap;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}

.contact-links a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  color: #ececec;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-links a:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.contact-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.faq {
  padding-top: clamp(76px, 9vw, 128px);
}

.faq .section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.faq-kicker::before {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  content: "";
}

.faq .section-heading h2 {
  margin-bottom: 18px;
  font-weight: 400;
}

.faq .section-heading p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.faq-item.is-open {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: #f0f0f0;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.faq-icon {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
  color: var(--muted);
  line-height: 1.7;
  transition: padding-bottom 220ms ease;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #d8d8d8;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-fade {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 850ms ease, transform 850ms ease;
}

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

@keyframes slide-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes slide-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes cursor-blink {
  50% {
    opacity: 0.18;
  }
}

@keyframes playhead-sweep {
  from {
    left: 96px;
  }

  to {
    left: 100%;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 18px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .editor-timeline {
    overflow-x: auto;
  }

  .timeline-stage {
    min-width: 900px;
  }

  .playhead {
    animation-name: playhead-sweep-mobile;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

}

@keyframes playhead-sweep-mobile {
  from {
    left: 96px;
  }

  to {
    left: 900px;
  }
}

@media (max-width: 620px) {
  .nav {
    gap: 14px;
    font-size: 0.72rem;
  }

  .brand {
    width: 52px;
    height: 32px;
  }

  h1 {
    font-size: clamp(2.35rem, 11.8vw, 4.3rem);
  }

  .typing-title {
    min-height: clamp(2.35rem, 11.8vw, 4.3rem);
  }

  section {
    padding-inline: 18px;
  }

  .work {
    padding-inline: 0;
  }

  footer {
    align-items: center;
    flex-direction: column;
  }

  .contact-links {
    align-items: center;
    flex-direction: row;
  }

  .video-card span {
    font-size: 0.72rem;
  }
}

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