:root {
  --bg: #07090c;
  --bg-soft: #0d1014;
  --panel: #11151a;
  --panel-2: #171b20;
  --line: #2b3138;
  --line-soft: rgba(255,255,255,.08);
  --text: #f4f6f8;
  --muted: #8f98a3;
  --accent: #79a9d6;
  --accent-2: #4ad0ff;
  --red: #ef5b5b;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 64px);

  /* Scroll distance is preserved and can be edited here. */
  --timeline-scroll-desktop: 1700px;
  --timeline-scroll-tablet: 1550px;
  --timeline-scroll-mobile: 1350px;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 10%, rgba(85,125,168,.08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

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

::selection {
  background: rgba(121,169,214,.35);
  color: white;
}

.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;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .05;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section-shell {
  padding-block: clamp(72px, 8vw, 120px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(7,9,12,.72), rgba(7,9,12,.08));
  backdrop-filter: blur(14px);
  transition: border-color .25s ease, background .25s ease;
}

.site-header.scrolled {
  border-color: rgba(255,255,255,.08);
  background: rgba(7,9,12,.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 20px rgba(74,208,255,.7);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd1d7;
  font-size: 12px;
}

.desktop-nav a {
  transition: color .2s ease;
}

.desktop-nav a:hover {
  color: white;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  background: white;
  transition: transform .25s ease;
}

.menu-button span:not(.sr-only) + span:not(.sr-only) {
  margin-top: 5px;
}

.mobile-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 79;
  display: none;
  padding: 24px var(--gutter) 32px;
  background: rgba(7,9,12,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 20px;
  font-weight: 650;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  letter-spacing: -.055em;
  font-weight: 760;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(64px, 7vw, 112px);
  line-height: .87;
}

.hero h1 span {
  color: #9bb7cf;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: #b6bec7;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 19px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
  color: #0b1014;
  background: white;
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 46px;
  color: #6f7882;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editor-window,
.premiere-window,
.photoshop-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0b0e12;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.editor-topbar,
.premiere-topbar,
.photoshop-topbar {
  min-height: 42px;
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  background: #191d22;
  border-bottom: 1px solid var(--line);
  color: #b9c1c9;
  font-size: 9px;
}

.editor-topbar {
  grid-template-columns: 1fr auto 1fr;
}

.editor-topbar > :last-child {
  justify-self: end;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #49515b;
}

.hero-monitor {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(44,88,126,.55), transparent 35%),
    linear-gradient(135deg, #10171e, #07090c 70%);
}

.placeholder-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom right, black, transparent 80%);
}

.placeholder-copy {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 9%;
}

.placeholder-copy span {
  display: block;
  margin-bottom: 8px;
  color: #8c97a3;
  font-size: 8px;
  letter-spacing: .16em;
}

.placeholder-copy strong {
  display: block;
  font-size: clamp(30px, 4vw, 60px);
  line-height: .83;
  letter-spacing: -.055em;
}

.placeholder-copy small {
  display: block;
  margin-top: 12px;
  color: #8d96a0;
}

.mini-timeline {
  position: relative;
  padding: 10px 12px 12px;
  background: #0c1014;
}

.mini-ruler {
  display: flex;
  justify-content: space-between;
  margin-left: 34px;
  color: #69727b;
  font-size: 7px;
}

.mini-track {
  position: relative;
  height: 29px;
  margin-top: 5px;
  border-top: 1px solid #222830;
}

.mini-label {
  position: absolute;
  left: 0;
  top: 9px;
  color: #7d8791;
  font-size: 7px;
}

.clip {
  position: absolute;
  top: 5px;
  height: 20px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 3px;
}

.clip-purple { background: #504569; }
.clip-blue { background: #294d6f; }
.clip-green { background: #315747; }

.c1 { left: 12%; width: 30%; }
.c2 { left: 49%; width: 29%; }
.c3 { left: 8%; width: 38%; }
.c4 { left: 46%; width: 45%; }
.c5 { left: 8%; width: 83%; }

.mini-playhead {
  position: absolute;
  top: 17px;
  bottom: 10px;
  left: 57%;
  width: 1px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(239,91,91,.8);
}

/* Orbiting city cards in the hero */
.city-orbit {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 16px;
  border: 1px solid rgba(162,190,218,.19);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 43%, rgba(70,111,155,.13), transparent 42%),
    linear-gradient(145deg, #111820, #0a0d12 68%);
  box-shadow: 0 30px 80px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.055);
  isolation: isolate;
}

.city-orbit__topline,
.city-orbit__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.city-orbit__topline {
  color: #a0acb8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
}

.city-orbit__topline i {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 8px 2px;
  border-radius: 50%;
  background: var(--accent-2);
}

.city-orbit__topline > :last-child {
  color: #718293;
  font-variant-numeric: tabular-nums;
}

.city-orbit__stage {
  position: relative;
  height: clamp(370px, 32vw, 450px);
  margin: 8px -20px 0;
  overflow: hidden;
  perspective: 1000px;
}

.city-orbit__ring {
  position: absolute;
  top: 27%;
  left: 10%;
  width: 80%;
  height: 48%;
  border: 1px solid rgba(133,180,221,.18);
  border-radius: 50%;
  transform: rotateX(57deg);
  box-shadow: 0 0 70px rgba(60,110,158,.09);
}

.city-orbit__ring::after {
  content: "";
  position: absolute;
  inset: 19%;
  border: 1px dashed rgba(150,190,224,.09);
  border-radius: 50%;
}

.city-orbit__axis {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(125,168,210,.12);
  font-size: clamp(84px, 11vw, 146px);
  font-weight: 800;
  letter-spacing: -.1em;
  pointer-events: none;
}

.city-orbit__cards { position: absolute; inset: 0; }

.city-orbit__card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(47%, 265px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: #15202c;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 28px 55px rgba(0,0,0,.5);
  transform: translate(-50%, -50%) scale(.25);
  opacity: 0;
  transition: transform 950ms cubic-bezier(.22,.8,.18,1), opacity 600ms ease, filter 950ms ease;
  will-change: transform;
}

.city-orbit__card[data-position="0"] {
  z-index: 5;
  opacity: 1;
  filter: brightness(1);
  transform: translate(-50%, -50%) translateY(-2%) rotate(-3deg) scale(1);
}

.city-orbit__card[data-position="-1"] {
  z-index: 3;
  opacity: .83;
  filter: brightness(.68);
  transform: translate(-50%, -50%) translateX(-84%) translateY(4%) rotate(-17deg) scale(.76);
}

.city-orbit__card[data-position="1"] {
  z-index: 3;
  opacity: .83;
  filter: brightness(.68);
  transform: translate(-50%, -50%) translateX(84%) translateY(4%) rotate(17deg) scale(.76);
}

.city-orbit__card[data-position="-2"],
.city-orbit__card[data-position="2"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  filter: brightness(.4);
}

.city-orbit__card[data-position="-2"] {
  transform: translate(-50%, -50%) translateX(-130%) translateY(18%) rotate(-32deg) scale(.54);
}

.city-orbit__card[data-position="2"] {
  transform: translate(-50%, -50%) translateX(130%) translateY(18%) rotate(32deg) scale(.54);
}

.city-orbit__photo,
.city-orbit__photo img,
.city-orbit__card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.city-orbit__photo {
  background:
    radial-gradient(circle at 66% 23%, var(--city-accent), transparent 42%),
    linear-gradient(150deg, #263c51, #0b121b 74%);
}

.city-orbit__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.city-orbit__photo img { display: block; object-fit: cover; }
.city-orbit__card::after { content: ""; background: linear-gradient(180deg, transparent 28%, rgba(4,8,14,.83)); pointer-events: none; }

.city-orbit__card-content {
  position: absolute;
  z-index: 1;
  inset: auto 16px 17px;
  display: grid;
  gap: 5px;
}

.city-orbit__card-content small {
  color: #d6e3ec;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .17em;
}

.city-orbit__card-content strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: .93;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.city-orbit__card-content em {
  color: #b5c2ce;
  font-size: 9px;
  font-style: normal;
  letter-spacing: .08em;
}

.city-orbit__footer { padding: 0 2px; }
.city-orbit__destination { display: grid; gap: 3px; }
.city-orbit__destination span { color: #748595; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.city-orbit__destination strong { font-size: 20px; line-height: 1.2; letter-spacing: -.04em; }
.city-orbit__destination small { color: #8794a2; font-size: 10px; }
.city-orbit__controls { display: flex; gap: 8px; }

.city-orbit__controls button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.045);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.city-orbit__controls button:hover { background: rgba(121,169,214,.15); border-color: rgba(121,169,214,.55); }
.city-orbit__progress { display: flex; gap: 5px; margin-top: 18px; }

.city-orbit__progress button {
  position: relative;
  height: 24px;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.city-orbit__progress button::before {
  content: "";
  position: absolute;
  inset: 11px 0 10px;
  border-radius: 3px;
  background: #34414e;
}

.city-orbit__progress button[aria-pressed="true"]::before { background: #9bc7e9; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: .94;
}

.section-intro {
  margin: 0;
  color: #9da6b0;
  font-size: 14px;
  line-height: 1.65;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.project-card {
  min-width: 0;
  position: relative;
}

.project-card__link { position: absolute; inset: 0; z-index: 2; border-radius: 12px; }
.project-card__link[hidden] { display: none; }
.project-card__link:focus-visible { outline: 3px solid #79b8e7; outline-offset: 5px; }
.project-card.has-link { cursor: pointer; }

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: #11161c;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .25s ease;
}

.project-media.has-upload .replace-label, .project-media.has-video .replace-label { display: none; }
.project-action { position: absolute; right: 16px; bottom: 16px; z-index: 1; color: #e5f3fb; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-shadow: 0 1px 10px #000; }
.portfolio-upload { display: block; width: 100%; height: 100%; object-fit: cover; }
.portfolio-video { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.project-media .project-index, .project-media .replace-label, .project-media .project-action { z-index: 2; }
.project-media > .portfolio-upload, .scene-background > .portfolio-upload, .artwork-layer > .portfolio-upload {
  position: absolute;
  inset: 0;
}

.project-card:hover .project-media {
  transform: translateY(-4px) scale(.996);
  border-color: rgba(255,255,255,.18);
}

.variant-a { background: radial-gradient(circle at 35% 25%, #2d4e6e 0, #131a21 34%, #080a0d 74%); }
.variant-b { background: radial-gradient(circle at 70% 20%, #5a4b68 0, #17151c 34%, #080a0d 74%); }
.variant-c { background: radial-gradient(circle at 50% 70%, #3b6357 0, #121a18 34%, #080a0d 74%); }
.variant-d { background: radial-gradient(circle at 20% 40%, #6a4d3b 0, #1a1512 36%, #080a0d 74%); }
.variant-e { background: radial-gradient(circle at 80% 70%, #42526c 0, #131820 34%, #080a0d 74%); }
.variant-f { background: radial-gradient(circle at 50% 30%, #5a5c64 0, #17181b 34%, #080a0d 74%); }

.project-index,
.replace-label {
  position: absolute;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  letter-spacing: .14em;
}

.project-index {
  top: 16px;
  left: 16px;
}

.replace-label {
  left: 16px;
  bottom: 16px;
}

.project-info {
  display: flex;
  margin-top: 14px;
}

.project-info h3 {
  margin: 0;
  font-size: 15px;
}

/* Timeline */
.timeline-scroll {
  height: var(--timeline-scroll-desktop);
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(54,86,113,.1), transparent 30%),
    #080a0d;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
  padding: 82px 0 26px;
}

.timeline-content {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
}

.timeline-heading {
  margin-bottom: 20px;
}

.scroll-counter {
  justify-self: end;
  align-self: end;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.scroll-counter span {
  color: #69727c;
  font-size: 8px;
  letter-spacing: .14em;
}

.scroll-counter strong {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.premiere-window {
  max-height: calc(100svh - 195px);
}

.premiere-topbar {
  min-height: 38px;
  grid-template-columns: 1fr auto 1fr;
}

.premiere-topbar > :last-child {
  justify-self: end;
}

.premiere-tabs {
  display: flex;
  gap: 20px;
  color: #828b95;
}

.premiere-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
}

.program-panel {
  min-width: 0;
  padding: 10px;
  background: #090b0e;
  border-right: 1px solid var(--line);
}

.program-monitor {
  position: relative;
  min-height: 260px;
  height: min(31vh, 300px);
  overflow: hidden;
  background: #000;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity .28s ease, transform .45s ease;
}

.scene.active {
  opacity: 1;
  transform: scale(1);
}

.scene-background {
  position: absolute;
  inset: 0;
}

.scene-a {
  background:
    radial-gradient(circle at 68% 30%, rgba(76,129,177,.65), transparent 24%),
    linear-gradient(135deg, #101820, #040608 68%);
}

.scene-b {
  background:
    radial-gradient(circle at 25% 45%, rgba(121,90,153,.58), transparent 27%),
    linear-gradient(135deg, #17131b, #050607 68%);
}

.scene-c {
  background:
    radial-gradient(circle at 72% 25%, rgba(66,124,105,.58), transparent 27%),
    linear-gradient(135deg, #101a17, #050607 68%);
}

.scene-d {
  background:
    radial-gradient(circle at 55% 30%, rgba(146,107,74,.56), transparent 28%),
    linear-gradient(135deg, #1a1511, #050607 68%);
}

.scene-text {
  position: absolute;
  left: 7%;
  bottom: 10%;
}

.scene-text span {
  color: #b7c0c9;
  font-size: 8px;
  letter-spacing: .15em;
}

.scene-text h3 {
  margin: 4px 0 0;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: .88;
  letter-spacing: -.055em;
}

.scene-text p {
  margin: 7px 0 0;
  color: #b8c0c8;
  font-size: 10px;
}

.safe-frame {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.monitor-controls {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #737c86;
  font-size: 8px;
}

.effect-panel {
  background: #13171c;
}

.panel-title {
  min-height: 33px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  color: #aab2bb;
  font-size: 8px;
  letter-spacing: .06em;
}

.effect-values {
  padding: 12px;
  color: #9098a2;
  font-size: 9px;
}

.effect-values strong {
  color: #d6dbe0;
  font-size: 9px;
}

.effect-values dl {
  margin: 9px 0 18px;
}

.effect-values dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 9px 0;
}

.effect-values dt,
.effect-values dd {
  margin: 0;
}

.effect-values dd {
  color: #d6dbe0;
}

.sequence-panel {
  background: #0c0f13;
  border-top: 1px solid var(--line);
}

.sequence-title {
  height: 27px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #15191e;
  font-size: 8px;
}

.track {
  height: 39px;
  display: grid;
  grid-template-columns: 64px 1fr;
  border-bottom: 1px solid #20262c;
}

.track-label {
  padding: 13px 7px;
  border-right: 1px solid var(--line);
  color: #8e98a2;
  font-size: 7px;
}

.track-area {
  position: relative;
}

.timeline-clip {
  position: absolute;
  top: 5px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 7px 8px;
  color: #e8ecf0;
  font-size: 7px;
  font-style: normal;
  white-space: nowrap;
}

.timeline-clip.purple { background: #54486f; }
.timeline-clip.green { background: #345f52; }
.timeline-clip.blue { background: #294f73; }
.timeline-clip.audio { background: #315d4d; }

.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(239,91,91,.9);
  pointer-events: none;
}

.sequence-footer {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #68717b;
  font-size: 7px;
}

.timeline-mobile-note {
  display: none;
  margin: 12px 0 0;
  color: #6d7680;
  font-size: 10px;
}

/* Photoshop */
.photoshop-window {
  background: #11151a;
}

.photoshop-topbar {
  min-height: 40px;
  grid-template-columns: 1fr auto 1fr;
}

.photoshop-topbar strong {
  color: var(--accent-2);
}

.photoshop-topbar > :last-child {
  justify-self: end;
}

.photoshop-menu {
  color: #939ba5;
}

.photoshop-workspace {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 270px;
  min-height: 520px;
}

.ps-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #15191e;
  border-right: 1px solid var(--line);
}

.ps-tool {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #11151a;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.ps-tool.active,
.ps-tool:hover {
  border-color: #46515c;
  background: #242b32;
}

.ps-tool svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #a6aeb7;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-tool.active svg {
  stroke: #f4f6f8;
}

.ps-canvas {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: #202328;
}

.artboard {
  position: relative;
  width: min(360px, 76%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
}

.ps-layer-target {
  position: absolute;
  inset: 0;
  transition: opacity .2s ease;
}

.artwork-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 58% 20%, rgba(52,92,138,.66), transparent 27%),
    linear-gradient(145deg, #101820, #040608 70%);
}

.artwork-layer.has-upload .artwork-placeholder { display: none; }

.artwork-placeholder span {
  color: #7e8994;
  font-size: 8px;
  letter-spacing: .16em;
}

.artwork-placeholder strong {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: .86;
  letter-spacing: -.05em;
}

.gradient-layer {
  background:
    radial-gradient(circle at 55% 22%, rgba(80,130,200,.24), transparent 36%),
    linear-gradient(180deg, rgba(3,8,16,.02), rgba(3,8,16,.42));
}

.noise-layer {
  opacity: .6;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

.typography-layer {
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.typography-layer > span {
  margin-bottom: auto;
  font-size: 7px;
  letter-spacing: .2em;
}

.typography-layer h3 {
  margin: 0;
  font-size: clamp(44px, 6vw, 70px);
  line-height: .8;
  letter-spacing: -.07em;
}

.typography-layer small {
  display: block;
  margin-top: 9px;
  font-size: 8px;
}

.type-selection {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 5%;
  height: 22%;
  border: 1px solid #69a4dc;
  pointer-events: none;
}

.layers-panel {
  min-width: 0;
  padding: 9px;
  background: #15191e;
  border-left: 1px solid var(--line);
}

.layers-panel .panel-title {
  margin: -9px -9px 8px;
}

.layer-row {
  width: 100%;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  padding: 7px;
  text-align: left;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #11151a;
  cursor: pointer;
}

.layer-row.active {
  border-color: #4f8ac9;
  background: #1d232a;
}

.visibility-toggle {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #6f7781;
  font-size: 13px;
}

.visibility-toggle.active {
  color: #4f8ac9;
}

.layer-row b {
  display: block;
  font-size: 9px;
}

.layer-row small {
  display: block;
  margin-top: 2px;
  color: #7f8791;
  font-size: 7px;
}

.layer-settings {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #939ba5;
  font-size: 8px;
}

.layer-settings > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.layer-settings strong {
  color: #d4dae0;
}

.layer-settings label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.layer-settings input {
  width: 100%;
  accent-color: #3a9be5;
}

/* About */
.about {
  border-top: 1px solid rgba(255,255,255,.05);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.about-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 25%, rgba(70,103,137,.48), transparent 28%),
    #0d1116;
  color: #65707b;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-align: center;
}

.about-portrait.has-upload > span { display: none; }
.about-portrait > .portfolio-upload { position: absolute; inset: 0; border-radius: inherit; }

.about-lead {
  margin: 26px 0 0;
  max-width: 680px;
  color: #a8b0b9;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.68;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.about-details span {
  display: block;
  margin-bottom: 9px;
  color: #6f7882;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-details strong {
  font-size: 11px;
  line-height: 1.75;
}

/* Contact */
.contact {
  min-height: 72svh;
  display: grid;
  align-items: end;
  border-top: 1px solid rgba(255,255,255,.05);
}

.contact-inner {
  width: 100%;
}

.contact h2 {
  max-width: 1050px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .88;
}

.contact-placeholder {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: #c8d6e2;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: .04em;
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-email { display: inline-block; margin-top: 20px; color: #c8d6e2; text-decoration: underline; text-underline-offset: 5px; font-size: clamp(14px, 1.6vw, 20px); overflow-wrap: anywhere; }
.contact-email:hover { color: white; }

.contact-hint {
  max-width: 540px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(72px, 10vw, 140px);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: #69727c;
  font-size: 9px;
}

.contact-footer > div {
  display: flex;
  gap: 20px;
}

.contact-footer a:hover {
  color: white;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .75s cubic-bezier(.2,.75,.25,1),
    transform .75s cubic-bezier(.2,.75,.25,1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .08s;
}

/* Tablet */
@media (max-width: 1279px) {
  :root {
    --container: 1120px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 38px;
  }

  .effect-panel {
    width: 190px;
  }

  .premiere-workspace {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .photoshop-workspace {
    grid-template-columns: 48px minmax(0, 1fr) 235px;
  }
}

/* Tablet / small laptop */
@media (max-width: 1023px) {
  :root {
    --gutter: clamp(28px, 5vw, 44px);
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

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

  .hero-copy {
    max-width: 780px;
  }

  .hero h1 {
    max-width: 800px;
  }

  .hero-visual {
    width: 100%;
    max-width: 820px;
  }

  .city-orbit__stage { height: clamp(390px, 58vw, 470px); }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-intro {
    max-width: 620px;
  }

  .timeline-scroll {
    height: var(--timeline-scroll-tablet);
  }

  .timeline-sticky {
    padding-top: 86px;
  }

  .timeline-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .premiere-window {
    max-height: calc(100svh - 210px);
  }

  .program-monitor {
    min-height: 220px;
    height: 27vh;
  }

  .photoshop-workspace {
    grid-template-columns: 48px minmax(0, 1fr) 220px;
    min-height: 490px;
  }

  .ps-canvas {
    padding: 22px;
  }

  .artboard {
    width: min(330px, 80%);
  }

  .about-grid {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: 48px;
  }

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

/* Mobile */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .section-shell {
    padding-block: 72px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-meta {
    margin-top: 34px;
  }

  .city-orbit { padding: 15px 16px 14px; }
  .city-orbit__topline { font-size: 8px; }
  .city-orbit__stage { height: 345px; margin-inline: -16px; }
  .city-orbit__card { width: min(57%, 225px); }
  .city-orbit__card-content strong { font-size: clamp(22px, 7vw, 32px); }
  .city-orbit__controls button { width: 40px; height: 40px; }

  .editor-window {
    border-radius: 12px;
  }

  .editor-topbar {
    grid-template-columns: 1fr auto;
  }

  .editor-topbar > span:nth-of-type(1) {
    display: none;
  }

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

  .project-media {
    aspect-ratio: 5 / 6;
  }

  .section-heading h2,
  .about h2 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .timeline-scroll {
    height: var(--timeline-scroll-mobile);
  }

  .timeline-sticky {
    align-items: start;
    padding-top: 88px;
  }

  .timeline-heading {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .timeline-heading h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .scroll-counter strong {
    font-size: 30px;
  }

  .premiere-window {
    max-height: none;
    border-radius: 12px;
  }

  .premiere-tabs {
    display: none;
  }

  .premiere-topbar {
    grid-template-columns: 1fr auto;
  }

  .premiere-workspace {
    grid-template-columns: 1fr;
  }

  .program-panel {
    border-right: 0;
  }

  .program-monitor {
    min-height: 210px;
    height: 31vh;
    max-height: 270px;
  }

  .effect-panel {
    display: none;
  }

  .track {
    grid-template-columns: 44px 1fr;
    height: 34px;
  }

  .track-label {
    padding: 11px 5px;
    white-space: nowrap;
    overflow: hidden;
  }

  .timeline-clip {
    top: 4px;
    height: 25px;
    padding: 6px;
    font-size: 6px;
  }

  .timeline-mobile-note {
    display: block;
  }

  .photoshop-topbar {
    grid-template-columns: 1fr auto;
  }

  .photoshop-menu {
    display: none;
  }

  .photoshop-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ps-toolbar {
    flex-direction: row;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ps-canvas {
    min-height: 430px;
    padding: 24px 18px;
  }

  .artboard {
    width: min(320px, 82vw);
  }

  .layers-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .layers-panel .panel-title {
    margin-bottom: 8px;
  }

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

  .about-portrait {
    width: min(100%, 520px);
  }

  .about-details {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .contact {
    min-height: auto;
  }

  .contact h2 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .contact-footer {
    flex-direction: column;
  }
}

/* Very small phones */
@media (max-width: 389px) {
  :root {
    --gutter: 16px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .city-orbit__stage { height: 310px; }
  .city-orbit__topline i { margin-inline: 4px; }

  .button {
    width: 100%;
  }

  .timeline-heading {
    grid-template-columns: 1fr;
  }

  .scroll-counter {
    justify-self: start;
  }

  .program-monitor {
    min-height: 190px;
  }

  .ps-canvas {
    min-height: 400px;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
