/* =====================================================================
   dggn media — styles
   ===================================================================== */
:root {
  --bg: #07030f;
  --bg-2: #0d0619;
  --ink: #f6f1ff;
  --ink-2: #b9aed1;
  --ink-3: #7d7296;
  --violet: #9d4dff;
  --violet-deep: #6a1dff;
  --pink: #ff3fd0;
  --cyan: #2fe6ff;
  --mint: #3dffa8;
  --amber: #ffb155;
  --line: rgba(190, 150, 255, .16);
  --glass: rgba(26, 14, 48, .55);
  --radius: 22px;
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* ambient colour wash for the whole page */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% 30%, rgba(157, 77, 255, .13), transparent 70%),
    radial-gradient(50vw 50vh at 5% 75%, rgba(255, 63, 208, .07), transparent 70%);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px) 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #c48bff 0%, var(--violet) 35%, var(--pink) 75%, var(--amber) 115%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(190, 80, 255, .45));
}
.eyebrow {
  font: 600 .78rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head .sub { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px -24px rgba(0, 0, 0, .7);
}

/* ---------------------------- buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 14px;
  font: 600 1rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn--sm { height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--violet-deep), var(--violet) 55%, #c04dff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 34px -8px rgba(140, 50, 255, .8);
}
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 44px -6px rgba(170, 70, 255, .95); }
.btn--ghost { color: var(--ink); border: 1px solid rgba(190, 140, 255, .5); background: rgba(120, 50, 220, .1); }
.btn--ghost:hover { border-color: var(--violet); background: rgba(120, 50, 220, .22); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }

/* ---------------------------- nav ---------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck {
  background: rgba(9, 4, 20, .62);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav__inner { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 6px; margin-inline: auto; }
.nav__links a {
  padding: 9px 15px; border-radius: 10px; font: 500 .94rem/1 var(--display); color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(157, 77, 255, .16); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mascot, .brand__word, .cta__mascot, .scene__mascot i {
  display: block; background: #fff;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.brand__mascot { --m: url(assets/mascot.svg); width: 44px; aspect-ratio: 598 / 564; }
.brand__word { --m: url(assets/wordmark.svg); width: 92px; aspect-ratio: 868 / 328; }

/* ---------------------------- hero ---------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 900px); display: flex; align-items: center;
  padding: 120px 0 190px;
  --sx: 73%;            /* horizontal centre of the art */
  --hz: 26%;            /* horizon height from the bottom */
  --sun: min(44vw, 540px);
  --px: 0; --py: 0;     /* pointer parallax, set from JS (-1..1) */
}
.hero__copy { position: relative; z-index: 3; }
.hero__copy > * { max-width: 600px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(20, 10, 40, .6);
  font: 500 .88rem/1 var(--display); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.lead { color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.18rem); margin-top: 24px; max-width: 520px !important; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.scene { position: absolute; inset: 0; z-index: 0; }
.scene > * { position: absolute; }
.scene__stars {
  inset: 0 0 var(--hz) 0; opacity: .8;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 64%, #d9c2ff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 47% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 41%, #ffc4f2 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 69% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 83% 30%, #c2f6ff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 94% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 58%, #e4d2ff 50%, transparent 51%);
}
.scene__haze { /* glow behind the sun + legibility veil behind the copy */
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 3, 15, .82) 30%, transparent 62%),
    radial-gradient(circle at var(--sx) calc(100% - var(--hz)), rgba(255, 63, 208, .38), rgba(140, 50, 255, .22) 28%, transparent 58%);
}
.scene__sun {
  left: var(--sx); bottom: calc(var(--hz) - var(--sun) * .2);
  width: var(--sun); aspect-ratio: 1; margin-left: calc(var(--sun) / -2);
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -6px), 0);
  /* cut off below the horizon */
  -webkit-mask: linear-gradient(#000 0 80%, transparent 80%); mask: linear-gradient(#000 0 80%, transparent 80%);
}
.scene__sun i {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(180deg, #ffd27a 0%, #ff5fc4 26%, #c13dff 55%, #5a22ff 86%);
  box-shadow: 0 0 90px rgba(220, 70, 255, .55);
  /* classic sliced sun: thicker gaps toward the horizon */
  -webkit-mask: linear-gradient(#000 0 46%, transparent 46% 47.5%, #000 47.5% 54%, transparent 54% 56.5%, #000 56.5% 62%, transparent 62% 65.500%, #000 65.500% 70%, transparent 70% 74.500%, #000 74.500% 100%);
          mask: linear-gradient(#000 0 46%, transparent 46% 47.5%, #000 47.5% 54%, transparent 54% 56.5%, #000 56.5% 62%, transparent 62% 65.500%, #000 65.500% 70%, transparent 70% 74.500%, #000 74.500% 100%);
}
.scene__floor {
  inset: auto 0 0 0; height: var(--hz); overflow: hidden; perspective: 340px; perspective-origin: var(--sx) 0;
  background: linear-gradient(180deg, #1a0638 0%, var(--bg) 85%);
  -webkit-mask: linear-gradient(180deg, #000 55%, transparent); mask: linear-gradient(180deg, #000 55%, transparent);
}
.scene__floor i {
  position: absolute; left: -60%; right: -60%; top: 0; height: 300%;
  transform-origin: 50% 0; transform: rotateX(78deg);
  background:
    linear-gradient(90deg, rgba(215, 90, 255, .75) 0 2px, transparent 2px) 50% 0 / 64px 64px,
    linear-gradient(180deg, rgba(215, 90, 255, .75) 0 2px, transparent 2px) 0 0 / 64px 64px;
  animation: floor 1.6s linear infinite;
}
@keyframes floor { to { background-position: 50% 64px, 0 64px; } }
.scene__horizon {
  inset: auto 0 var(--hz) 0; height: 2px; margin-bottom: -1px;
  background: linear-gradient(90deg, transparent, var(--violet) 25%, var(--pink) var(--sx), var(--cyan) 100%);
  box-shadow: 0 0 24px 2px rgba(255, 63, 208, .7), 0 0 80px 10px rgba(157, 77, 255, .5);
}
.scene__mascot {
  left: var(--sx); bottom: calc(var(--hz) + var(--sun) * .13);
  width: calc(var(--sun) * .74); margin-left: calc(var(--sun) * -.37); aspect-ratio: 598 / 564;
  transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 9px), 0);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .7)) drop-shadow(0 0 20px rgba(200, 110, 255, .95)) drop-shadow(0 0 60px rgba(150, 50, 255, .8));
}
.scene__mascot i { --m: url(assets/mascot.svg); position: absolute; inset: 0; background: linear-gradient(160deg, #fff 30%, #ecd6ff 100%); }

/* floating editor timeline */
.timeline {
  left: calc(var(--sx) + var(--sun) * .12); bottom: calc(var(--hz) - 34px);
  width: min(300px, 26vw); padding: 12px 14px 14px; border-radius: 16px;
  background: rgba(18, 9, 36, .62);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(200, 160, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 50px -10px rgba(157, 77, 255, .5);
  transform: translate3d(calc(var(--px) * 24px), calc(var(--py) * 14px), 0);
}
.timeline__bar { display: flex; align-items: center; gap: 7px; font: 600 .68rem/1 var(--display); letter-spacing: .12em; color: var(--ink-2); margin-bottom: 11px; }
.timeline__dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b6b; box-shadow: 0 0 10px #ff3b6b; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.timeline__tc { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--ink); }
.timeline__tracks { position: relative; display: grid; gap: 6px; }
.trk { position: relative; height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .05); }
.trk b {
  position: absolute; top: 0; bottom: 0; left: calc(var(--l) * 1%); width: calc(var(--w) * 1%); border-radius: 5px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 100%, #fff 0%), color-mix(in srgb, var(--c) 62%, #000));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.trk--wave b {
  background: var(--c);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px), linear-gradient(#000, #000);
  -webkit-mask-composite: source-in; mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px);
  clip-path: polygon(0 60%, 4% 30%, 9% 55%, 14% 10%, 20% 50%, 26% 25%, 31% 62%, 37% 5%, 43% 45%, 50% 20%, 56% 58%, 62% 12%, 68% 48%, 74% 28%, 80% 60%, 86% 8%, 92% 44%, 100% 30%, 100% 100%, 0 100%);
  opacity: .9; border-radius: 0;
}
.timeline__head {
  position: absolute; top: -5px; bottom: -4px; left: 0; width: 2px; background: #fff; border-radius: 2px;
  box-shadow: 0 0 10px #fff, 0 0 20px var(--pink); animation: head 7s linear infinite;
}
.timeline__head::before { content: ""; position: absolute; top: -3px; left: -4px; border: 5px solid transparent; border-top-color: #fff; }
@keyframes head { from { left: 0; } to { left: 100%; } }

/* ---------------------------- stats ---------------------------- */
.stats {
  position: relative; z-index: 4; margin-top: -92px;
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); padding: 8px;
}
.stats li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; position: relative; }
.stats li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stats .ic { width: 34px; height: 34px; color: var(--violet); filter: drop-shadow(0 0 12px rgba(157, 77, 255, .8)); }
.stats strong { display: block; font: 700 1.18rem/1.2 var(--display); letter-spacing: -.02em; }
.stats span { display: block; font-size: .88rem; line-height: 1.35; color: var(--ink-2); margin-top: 3px; }

/* ---------------------------- clients marquee ---------------------------- */
.clients { padding-top: clamp(72px, 10vw, 128px); }
.marquee {
  overflow: hidden; padding-block: 22px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.client { flex: none; width: 168px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; -webkit-tap-highlight-color: transparent; }
.client__ring {
  width: 104px; aspect-ratio: 1; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--violet), var(--pink), var(--cyan), var(--violet));
  box-shadow: 0 0 0 0 rgba(157, 77, 255, 0);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.client__face {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg);
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, hsl(var(--h) 90% 62%), hsl(calc(var(--h) + 40) 85% 28%));
  font: 700 1.6rem/1 var(--display); letter-spacing: -.03em; color: #fff;
}
.client__face img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.client__name { font: 600 .95rem/1.25 var(--display); color: var(--ink-2); transition: color .25s; }
a.client:hover .client__ring { transform: scale(1.07); box-shadow: 0 0 34px 2px rgba(190, 80, 255, .6); }
a.client:hover .client__name { color: #fff; }
a.client:active .client__ring { transform: scale(.96); transition-duration: .08s; }
.client__name small { display: block; font: 500 .76rem/1.3 var(--body); color: var(--ink-3); margin-top: 3px; }
.more { text-align: center; margin-top: 36px; }
.shot__time { color: #fff; }
.marquee.is-dragging .client { pointer-events: none; }
.marquee__hint { text-align: center; color: var(--ink-3); font-size: .85rem; margin-top: 10px; }

/* ---------------------------- work ---------------------------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { display: flex; flex-direction: column; position: relative; }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot__media {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.shot:first-child .shot__media { aspect-ratio: auto; flex: 1; }
.shot:hover .shot__media { transform: translateY(-5px); border-color: rgba(200, 120, 255, .7); box-shadow: 0 26px 60px -22px rgba(157, 77, 255, .85), 0 0 0 1px rgba(200, 120, 255, .35); }
.shot:active .shot__media { transform: scale(.985); transition-duration: .1s; }
.shot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot__ph { /* generated placeholder art, used until a real thumbnail is set */
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 30%, hsl(var(--h) 100% 62% / .95), transparent 46%),
    radial-gradient(circle at 18% 90%, hsl(calc(var(--h) + 60) 100% 55% / .7), transparent 55%),
    linear-gradient(135deg, hsl(calc(var(--h) - 30) 80% 16%), hsl(var(--h) 80% 9%));
}
.shot__ph::after {
  content: attr(data-n); position: absolute; left: 6%; bottom: -8%;
  font: 800 clamp(5rem, 11vw, 10rem)/1 var(--display); letter-spacing: -.06em; color: rgba(255, 255, 255, .1);
}
.shot__shade { position: absolute; inset: 0; display: none; background: linear-gradient(180deg, transparent 50%, rgba(5, 2, 12, .92)); }
.shot:first-child .shot__shade { display: block; }
.shot__play {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(20, 8, 40, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease);
}
.shot__play .ic { width: 24px; height: 24px; margin-left: 3px; }
.shot:hover .shot__play { opacity: 1; transform: none; }
.shot__time {
  position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 8px;
  background: rgba(5, 2, 12, .72); font: 600 .78rem/1 var(--display); font-variant-numeric: tabular-nums;
}
.shot__meta { padding: 14px 4px 6px; }
.shot:first-child .shot__meta { position: absolute; left: 24px; right: 24px; bottom: 20px; padding: 0; pointer-events: none; }
.shot__meta strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shot__meta small { display: block; font: 600 .7rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 7px; }
.shot__meta strong { font: 600 1.05rem/1.25 var(--display); letter-spacing: -.015em; }
.shot:first-child .shot__meta strong { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }

/* ---------------------------- services ---------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px 24px 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(40, 20, 76, .5), rgba(16, 8, 32, .5));
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(190, 130, 255, .45); box-shadow: 0 24px 50px -28px rgba(157, 77, 255, .9); }
.card__ic {
  --c: var(--violet);
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 22px;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 0 26px -6px var(--c);
}
.card__ic .ic { width: 24px; height: 24px; }
.card__ic--amber { --c: var(--amber); } .card__ic--pink { --c: var(--pink); } .card__ic--cyan { --c: var(--cyan); } .card__ic--mint { --c: var(--mint); }
.card p { color: var(--ink-2); font-size: .96rem; margin-top: 10px; }

/* ---------------------------- testimonials ---------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(22, 11, 42, .6); }
.quote p { font-size: 1.02rem; color: var(--ink); }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; font: 600 .95rem/1.2 var(--display); }
.quote footer span { display: block; font: 400 .82rem/1.3 var(--body); color: var(--ink-3); }
.quote .client__ring { width: 46px; padding: 2px; flex: none; }
.quote .client__face { border-width: 2px; font-size: .9rem; }

/* ---------------------------- about ---------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__art { position: relative; }
.about__disc {
  position: absolute; left: 50%; bottom: 0; width: 92%; aspect-ratio: 1; margin-left: -46%; border-radius: 50%;
  background: linear-gradient(180deg, #ff5fc4 0%, #b13dff 45%, #4a1dff 100%);
  box-shadow: 0 0 120px -10px rgba(170, 60, 255, .7);
  -webkit-mask: linear-gradient(#000 0 58%, transparent 58% 60%, #000 60% 68%, transparent 68% 71%, #000 71% 79%, transparent 79% 83%, #000 83% 100%);
          mask: linear-gradient(#000 0 58%, transparent 58% 60%, #000 60% 68%, transparent 68% 71%, #000 71% 79%, transparent 79% 83%, #000 83% 100%);
}
.about__art img { position: relative; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.about__copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; margin-top: 18px; max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(157, 77, 255, .1); font: 500 .86rem/1 var(--display); color: var(--ink); }

/* ---------------------------- contact CTA ---------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 64px); border-radius: 30px;
  border: 1px solid rgba(200, 130, 255, .4);
  background:
    radial-gradient(80% 140% at 100% 100%, rgba(255, 63, 208, .38), transparent 60%),
    linear-gradient(120deg, #2a0d66, #5a1bd6 60%, #7a2cf0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 40px 90px -40px rgba(140, 50, 255, .9);
}
.cta__mascot { --m: url(assets/mascot.svg); position: absolute; z-index: -1; left: -40px; bottom: -70px; width: 300px; aspect-ratio: 598 / 564; opacity: .14; transform: rotate(-8deg); }
.cta__copy { flex: 1 1 380px; }
.cta__copy p { color: rgba(255, 255, 255, .82); margin-top: 12px; max-width: 520px; font-size: 1.06rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--primary { background: #fff; color: #3a0f9a; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .6); }
.cta .btn--ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

/* ---------------------------- footer ---------------------------- */
.footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 56px 44px; color: var(--ink-3); font-size: .88rem; }
.footer__links { display: flex; gap: 20px; margin-left: auto; font: 500 .9rem/1 var(--display); color: var(--ink-2); }
.footer__links a:hover { color: #fff; }
.footer .brand__mascot { width: 36px; } .footer .brand__word { width: 76px; }

/* ---------------------------- reveal on scroll ---------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------- responsive ---------------------------- */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3)::before { display: none; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
}
@media (max-width: 860px) {
  .hero {
    --sx: 50%; --sun: min(78vw, 420px); --hz: 150px;
    align-items: flex-start; min-height: 0; padding: 112px 0 calc(var(--sun) * .9 + 210px);
  }
  .scene__haze {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(7, 3, 15, .7) 45%, transparent 70%),
      radial-gradient(circle at var(--sx) calc(100% - var(--hz)), rgba(255, 63, 208, .38), rgba(140, 50, 255, .22) 30%, transparent 62%);
  }
  .timeline { left: auto; right: var(--gutter); width: 200px; bottom: calc(var(--hz) - 50px); }
  .stats { margin-top: -70px; }
  .work { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats li + li::before { display: block; left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
  .stats li { padding: 16px 18px; }
  .work { grid-template-columns: 1fr; }
  .shot:first-child { grid-column: auto; grid-row: auto; }
  .shot:first-child .shot__media { aspect-ratio: 16 / 9; flex: none; }
  .shot:first-child .shot__meta { position: static; padding: 14px 4px 6px; }
  .shot:first-child .shot__shade { display: none; }
  .services { grid-template-columns: 1fr; }
  .client { width: 132px; } .client__ring { width: 84px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer__links { margin-left: 0; width: 100%; flex-wrap: wrap; }
}

/* ---------------------------- accessibility ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene__floor i, .timeline__head, .timeline__dot { animation: none; }
  .reveal { transform: none; transition: opacity .3s ease; }
  .scene__sun, .scene__mascot, .timeline { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav.is-stuck, .timeline, .pill { -webkit-backdrop-filter: none; backdrop-filter: none; background: #120a24; }
}

/* keep the hero copy clear of the art on mid-size screens */
@media (min-width: 861px) and (max-width: 1240px) {
  .hero { --sx: 76%; --sun: min(40vw, 480px); }
  .hero__copy > * { max-width: 46vw; }
  .lead { max-width: 40vw !important; }
}

/* copy-to-clipboard buttons (Discord username) */
button.btn { font-family: var(--display); cursor: pointer; }
.btn.is-copied { border-color: var(--mint) !important; color: var(--mint); }
.footer__links button { all: unset; cursor: pointer; }
.footer__links button:hover { color: #fff; }
.footer__links button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 560px) { .cta__actions { width: 100%; } .cta__actions .btn { flex: 1 1 100%; } }


/* =====================================================================
   VHS layer
   ===================================================================== */
:root { --vcr: "VT323", ui-monospace, monospace; }

/* light chromatic fringe on headings */
h2, h3, .stats strong, .eyebrow, .btn, .nav__links a { text-shadow: -1px 0 rgba(255, 45, 120, .38), 1px 0 rgba(45, 215, 255, .38); }
h1 { text-shadow: -2px 0 rgba(255, 45, 120, .42), 2px 0 rgba(45, 215, 255, .42); animation: h1-glitch 5s steps(1) infinite; }
h1 em { text-shadow: none; }
@keyframes h1-glitch {
  0%, 93%, 100% { transform: none; }
  93.6% { transform: translateX(3px) skewX(-6deg); text-shadow: -6px 0 rgba(255, 45, 120, .7), 6px 0 rgba(45, 215, 255, .7); }
  94.2% { transform: translateX(-2px); text-shadow: 4px 0 rgba(255, 45, 120, .6), -4px 0 rgba(45, 215, 255, .6); }
  94.8% { transform: none; }
}

/* thumbnails get the RGB split on hover */
.shot__media img, .client__face img { filter: url(#vhs-chroma-soft); }
.shot:hover .shot__media img, .client:hover .client__face img { filter: url(#vhs-chroma) saturate(1.2); }

/* scanlines + film grain over the whole page, kept faint */
.vhs-overlay { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.vhs-overlay::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px);
  opacity: .85;
}
.vhs-overlay::after {
  content: ""; position: absolute; inset: -50%; opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------------------------- TV in About ---------------------------- */
.tv { position: relative; aspect-ratio: 1270 / 1016; isolation: isolate; }
.tv::before { /* synthwave glow on the floor behind the set */
  content: ""; position: absolute; z-index: -2; left: 6%; right: 6%; bottom: -6%; height: 40%;
  background: radial-gradient(closest-side, rgba(190, 70, 255, .55), transparent);
  filter: blur(18px);
}
.tv__body {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
  filter: url(#vhs-chroma-soft) drop-shadow(0 30px 40px rgba(0, 0, 0, .6));
}
/* the hole in the TV image is x 10.3–61.0%, y 12.1–60.7% — the screen sits just under it */
.tv__screen {
  position: absolute; z-index: 1; left: 9.6%; top: 11.4%; width: 52%; height: 50.4%;
  overflow: hidden; border-radius: 9% / 11%; background: #0b0614;
  container-type: inline-size;
}
.tv__picture { position: absolute; inset: -4%; animation: vhs-jitter 7s steps(1) infinite; }
.tv__photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: url(#vhs-chroma) saturate(1.35) contrast(1.12) brightness(1.06) blur(.5px);
}
.tv__picture::after { /* magnetic-tape colour cast */
  content: ""; position: absolute; inset: 0; mix-blend-mode: soft-light;
  background: linear-gradient(160deg, rgba(150, 70, 255, .55), rgba(255, 60, 170, .35) 60%, rgba(40, 200, 255, .35));
}
@keyframes vhs-jitter {
  0%, 100% { transform: none; }
  31% { transform: translateX(-1.2%); } 31.6% { transform: none; }
  58% { transform: translate(1.5%, -.6%) skewX(-1.5deg); } 58.8% { transform: translateX(-.6%); } 59.4% { transform: none; }
  84% { transform: translateY(1.2%); } 84.5% { transform: none; }
}
.tv__scan { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .38) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.tv__noise {
  position: absolute; inset: -60%; opacity: .2; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite;
}
.tv__track { /* the rolling tracking band */
  position: absolute; left: 0; right: 0; top: 0; height: 16%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .16) 40%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .1) 60%, transparent);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.8) hue-rotate(-20deg); backdrop-filter: blur(1.5px) saturate(1.8) hue-rotate(-20deg);
  animation: track 5.5s linear infinite;
}
@keyframes track { from { transform: translateY(-120%); } to { transform: translateY(720%); } }
.tv__osd {
  position: absolute; inset: 6% 8%; display: flex; flex-direction: column; justify-content: space-between;
  font: 400 clamp(14px, 7cqi, 30px)/1 var(--vcr); letter-spacing: .04em; color: #f2f2ff;
  text-shadow: -2px 0 rgba(255, 40, 110, .8), 2px 0 rgba(40, 220, 255, .8), 0 0 8px rgba(255, 255, 255, .5);
}
.tv__play { animation: blink 1.6s steps(2) infinite; }
.tv__tc b { font-weight: 400; font-variant-numeric: tabular-nums; }
.tv__glass { /* curved-glass vignette */
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 40px 10px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .5);
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .35));
}
.chips .chip--ai { border-color: rgba(255, 177, 85, .45); background: rgba(255, 177, 85, .1); color: #ffd9a8; }

/* ---------------------------- leaning dog by the contact card ---------------------------- */
.cta-wrap { position: relative; }
.cta { padding-right: clamp(24px, 22vw, 300px); }
.cta__dog {
  position: absolute; z-index: 2; right: clamp(16px, 4vw, 56px); bottom: 0;
  height: calc(100% + 72px); width: auto; pointer-events: none;
  transform-origin: 50% 100%;
  filter: drop-shadow(-10px 14px 18px rgba(20, 0, 50, .55)) drop-shadow(0 0 30px rgba(170, 70, 255, .35));
}
.cta-wrap::after { /* contact shadow where his foot meets the card's edge */
  content: ""; position: absolute; z-index: 1; right: clamp(40px, 7vw, 100px); bottom: -6px; width: 140px; height: 16px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}
@media (max-width: 860px) {
  .cta { padding-right: clamp(24px, 5vw, 64px); padding-top: 120px; }
  .cta__dog { height: 210px; top: -70px; bottom: auto; right: 20px; }
  .cta-wrap::after { display: none; }
}

@media (max-width: 1020px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  h1, .tv__picture, .tv__track, .tv__noise, .vhs-overlay::after, .tv__play { animation: none; }
}


/* ---------------------------- About photo (replaces the TV) ---------------------------- */
.vhs-photo { position: relative; max-width: 470px; margin-inline: auto; isolation: isolate; }
.vhs-photo::before {
  content: ""; position: absolute; z-index: -1; inset: 8% -6% -8%;
  background: radial-gradient(closest-side, rgba(190, 70, 255, .55), rgba(255, 60, 180, .2) 60%, transparent);
  filter: blur(30px);
}
.vhs-photo .tv__screen {
  position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 515 / 523;
  border-radius: 28px; border: 1px solid rgba(210, 150, 255, .35);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(157, 77, 255, .08), -3px 0 0 rgba(255, 45, 120, .35), 3px 0 0 rgba(45, 215, 255, .35);
}
.vhs-photo .tv__photo { object-position: 50% 50%; filter: url(#vhs-chroma) saturate(1.4) contrast(1.15) brightness(1.18) blur(.4px); }
.vhs-photo .tv__glass { box-shadow: inset 0 0 50px 8px rgba(0, 0, 0, .5); background: radial-gradient(110% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .4)); }
.vhs-photo .tv__noise { opacity: .26; }
.vhs-photo .tv__osd { inset: 6% 7%; font-size: clamp(16px, 6cqi, 30px); }

/* ---------------------------- stronger VHS across the page ---------------------------- */
.vhs-roll { /* faint tracking band drifting down the whole screen */
  position: absolute; left: 0; right: 0; top: 0; height: 14vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .035) 45%, rgba(190, 120, 255, .06) 50%, rgba(255, 255, 255, .03) 55%, transparent);
  animation: roll 9s linear infinite;
}
@keyframes roll { from { transform: translateY(-20vh); } to { transform: translateY(120vh); } }
.vhs-overlay { background: radial-gradient(130% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, .35)); }
.scene__mascot i { filter: url(#vhs-chroma); transform: scaleX(-1); }
.timeline, .stats, .card, .chips li, .pill { box-shadow: -1.5px 0 0 rgba(255, 45, 120, .22), 1.5px 0 0 rgba(45, 215, 255, .22); }
.stats { box-shadow: -1.5px 0 0 rgba(255, 45, 120, .22), 1.5px 0 0 rgba(45, 215, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px -24px rgba(0, 0, 0, .7); }
.cta__dog { filter: url(#vhs-chroma-soft) drop-shadow(-10px 14px 18px rgba(20, 0, 50, .55)) drop-shadow(0 0 30px rgba(170, 70, 255, .35)); }
.about__copy img, .brand__mascot { filter: url(#vhs-chroma-soft); }

@media (prefers-reduced-motion: reduce) { .vhs-roll { animation: none; display: none; } }

.vhs-photo .tv__picture { inset: -2%; }

/* ---- round portrait ---- */
.vhs-photo { max-width: 440px; }
.vhs-photo .tv__screen { aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(210, 150, 255, .5);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 8px rgba(157, 77, 255, .1), 0 0 60px -6px rgba(190, 80, 255, .55), -3px 0 0 rgba(255, 45, 120, .35), 3px 0 0 rgba(45, 215, 255, .35); }
.vhs-photo .tv__picture { inset: -2%; }
.vhs-photo .tv__photo { object-position: 50% 50%; filter: url(#vhs-chroma) saturate(1.3) contrast(1.1) brightness(1.02) blur(.3px); }
.vhs-photo .tv__glass { background: radial-gradient(closest-side, transparent 72%, rgba(0, 0, 0, .45)); box-shadow: inset 0 0 40px 6px rgba(0, 0, 0, .45); }
.vhs-photo .tv__osd { inset: 16% 20% 14%; align-items: center; font-size: clamp(15px, 5.5cqi, 26px); }

/* ---- hero art centred now that the timeline is gone ---- */
.hero { --sx: 71%; }
@media (max-width: 860px) { .hero { --sx: 50%; padding-bottom: calc(var(--sun) * .9 + 150px); } }

/* ---- square portrait ---- */
.vhs-photo .tv__screen { border-radius: 24px; }
.vhs-photo .tv__glass { background: radial-gradient(120% 120% at 50% 45%, transparent 60%, rgba(0, 0, 0, .4)); }

/* ---- portrait: sharper picture + glitch bursts that tear past the frame ---- */
.vhs-photo .tv__photo { filter: url(#vhs-chroma-soft) saturate(1.3) contrast(1.1) brightness(1.03); }
.vhs-photo .tv__track { -webkit-backdrop-filter: saturate(1.8) hue-rotate(-20deg); backdrop-filter: saturate(1.8) hue-rotate(-20deg); }
.vhs-photo .tv__screen { animation: frame-glitch 4.2s steps(1) infinite; }
@keyframes frame-glitch {
  0%, 58%, 63.5%, 86%, 89%, 100% { transform: none; }
  58.5% { transform: translateX(6px); } 60% { transform: translateX(-4px) skewX(2deg); } 62% { transform: translateX(3px); }
  86.5% { transform: translateX(-7px); } 87.8% { transform: translateX(4px); }
}
.glitch {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: 4px;
  background: url(assets/me.webp) center / cover;
}
.glitch--r { background: linear-gradient(#ff2d78, #ff2d78), url(assets/me.webp) center / cover; background-blend-mode: multiply; mix-blend-mode: screen; }
.glitch--c { background: linear-gradient(#2de0ff, #2de0ff), url(assets/me.webp) center / cover; background-blend-mode: multiply; mix-blend-mode: screen; }
.glitch--a { animation: glitch-a 4.2s steps(1) infinite; }
.glitch--r { animation: glitch-r 4.2s steps(1) infinite; }
.glitch--c { animation: glitch-c 4.2s steps(1) infinite; }
@keyframes glitch-a {
  0%, 58%, 63.5%, 86%, 89%, 100% { opacity: 0; }
  58.5% { opacity: 1; clip-path: inset(18% 0 70% 0); transform: translateX(-26px); }
  59.5% { opacity: 1; clip-path: inset(52% 0 36% 0); transform: translateX(34px); }
  60.5% { opacity: 1; clip-path: inset(74% 0 18% 0); transform: translateX(-14px); }
  61.5% { opacity: 1; clip-path: inset(34% 0 58% 0); transform: translateX(20px); }
  62.5% { opacity: 1; clip-path: inset(8% 0 86% 0); transform: translateX(-40px); }
  86.5% { opacity: 1; clip-path: inset(42% 0 46% 0); transform: translateX(30px); }
  87.5% { opacity: 1; clip-path: inset(66% 0 26% 0); transform: translateX(-22px); }
  88.3% { opacity: 1; clip-path: inset(24% 0 68% 0); transform: translateX(16px); }
}
@keyframes glitch-r {
  0%, 58%, 63.5%, 86%, 89%, 100% { opacity: 0; }
  58.5% { opacity: .9; clip-path: inset(40% 0 44% 0); transform: translateX(-38px); }
  60% { opacity: .9; clip-path: inset(12% 0 80% 0); transform: translateX(28px); }
  61.8% { opacity: .9; clip-path: inset(60% 0 28% 0); transform: translateX(-20px); }
  87% { opacity: .9; clip-path: inset(30% 0 60% 0); transform: translateX(-34px); }
}
@keyframes glitch-c {
  0%, 58%, 63.5%, 86%, 89%, 100% { opacity: 0; }
  59% { opacity: .9; clip-path: inset(28% 0 62% 0); transform: translateX(36px); }
  61% { opacity: .9; clip-path: inset(80% 0 10% 0); transform: translateX(-30px); }
  62.8% { opacity: .9; clip-path: inset(46% 0 46% 0); transform: translateX(24px); }
  87.8% { opacity: .9; clip-path: inset(54% 0 34% 0); transform: translateX(40px); }
}
@media (prefers-reduced-motion: reduce) { .vhs-photo .tv__screen, .glitch { animation: none; } }
