/* =========================================================
   ARSALAN VISUALZ — style.css  (v3: particle hero, editorial type)
   ========================================================= */

:root {
  --bg: #0a0708;          /* warm black, not flat #000 */
  --bg-2: #110c0d;
  --panel: rgba(255, 255, 255, .025);
  --line: rgba(239, 234, 228, .09);
  --line-2: rgba(239, 234, 228, .16);
  --smoke: #a39c98;
  --bone: #efeae4;
  --red: #ff1e2d;
  --red-deep: #7d0a12;
  --cyan: #19e6ff;

  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-head: "Archivo", "Arial Black", system-ui, sans-serif; /* bold wide italic, matches the logo */
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* side padding, never under a phone's notch in landscape */
  --gutter: max(clamp(20px, 5vw, 80px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg); color: var(--bone);
  font-family: var(--f-body); font-size: clamp(1rem, .96rem + .25vw, 1.125rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
main, footer { position: relative; z-index: 1; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-family: var(--f-head); font-style: italic; font-weight: 700; font-stretch: 108%; color: var(--red); letter-spacing: -.01em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.red { color: var(--red); }
.skip { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--red); color: #fff; font-weight: 600; transform: translateY(-200%); transition: transform .3s; }
.skip:focus { transform: none; }

/* ---------- Ambient background (personality, still minimal) ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .8; will-change: transform; }
.ambient__a { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(255, 30, 45, .26), transparent 65%); animation: drift-a 38s ease-in-out infinite alternate; }
.ambient__b { width: 55vmax; height: 55vmax; right: -20vmax; top: 30vh; background: radial-gradient(circle, rgba(150, 12, 28, .5), transparent 65%); animation: drift-b 46s ease-in-out infinite alternate; }
.ambient__c { width: 44vmax; height: 44vmax; left: 16vw; bottom: -24vmax; background: radial-gradient(circle, rgba(255, 96, 48, .16), transparent 65%); animation: drift-a 52s ease-in-out infinite alternate-reverse; }
.ambient__d { width: 38vmax; height: 38vmax; left: -14vmax; top: 48vh; background: radial-gradient(circle, rgba(200, 16, 88, .18), transparent 65%); animation: drift-b 60s ease-in-out infinite alternate-reverse; }
/* the light moves with the scroll: each glow at its own speed, warmer and pinker further down */
.ambient__a { translate: 0 calc(var(--sy, 0) * -35vh); }
.ambient__b { translate: 0 calc(var(--sy, 0) * -60vh); }
.ambient .ambient__c { translate: 0 calc(var(--sy, 0) * -20vh); opacity: calc(.5 + var(--sy, 0) * .6); }
.ambient .ambient__d { translate: 0 calc(var(--sy, 0) * -45vh); opacity: calc(.35 + var(--sy, 0) * .9); }
/* film light leaks: long soft streaks that slowly sweep across */
.ambient .leak {
  left: -30vmax; width: 140vmax; height: 16vmax; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 110, 50, .22) 30%, rgba(255, 40, 55, .28) 55%, rgba(220, 20, 110, .16) 75%, transparent);
}
.leak--1 { top: 18vh; rotate: -16deg; animation: leak 26s ease-in-out infinite; }
.leak--2 { top: 62vh; rotate: 12deg; animation: leak 32s ease-in-out -14s infinite; }
@keyframes leak { 0% { transform: translateX(-30vw); opacity: 0; } 35% { opacity: .9; } 65% { opacity: .7; } 100% { transform: translateX(40vw); opacity: 0; } }
@keyframes drift-a { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-12vw, -14vh) scale(.9); } }
.ambient::after { /* vignette */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, .55) 100%);
}
/* fine dust / far-away stars, two layers that twinkle out of step */
.stars, .stars::after {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 24px 38px, rgba(255, 255, 255, .75), transparent),
    radial-gradient(1px 1px at 132px 92px, rgba(255, 200, 190, .6), transparent),
    radial-gradient(1.4px 1.4px at 210px 220px, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1px 1px at 300px 140px, rgba(255, 120, 110, .7), transparent),
    radial-gradient(1px 1px at 80px 280px, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.2px 1.2px at 260px 330px, rgba(255, 255, 255, .55), transparent);
  background-size: 360px 360px;
  opacity: .55;
}
.stars::after { content: ""; background-size: 520px 520px; background-position: 170px 90px; animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .7; } }
/* layout guides: two hairlines down the page with tracker crosses at each section */
.guides { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.guides::before, .guides::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  background: linear-gradient(to bottom, transparent, rgba(239, 234, 228, .06) 18%, rgba(239, 234, 228, .06) 82%, transparent);
}
.guides::after { left: auto; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.glow { position: fixed; top: 0; left: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, .09), transparent 60%); opacity: 0; transition: opacity .6s; }
.has-cursor .glow { opacity: 1; }
.grain {
  position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 700; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px var(--red); }

/* ---------- Glitch ---------- */
.glitch { position: relative; display: inline-block; animation: g-jit 5s steps(1) infinite; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.glitch::before { color: var(--cyan); animation: g-a 5s steps(1) infinite; }
.glitch::after { color: #fff; animation: g-b 5s steps(1) infinite; }
.services .glitch, .services .glitch::before, .services .glitch::after { animation-delay: -1.4s; }
.work .glitch, .work .glitch::before, .work .glitch::after { animation-delay: -3.1s; }
.about .glitch, .about .glitch::before, .about .glitch::after { animation-delay: -2.2s; }
@keyframes g-jit { 0%, 90%, 100% { transform: none; } 91% { transform: translate(-2px, 1px) skewX(-6deg); } 93% { transform: translate(3px, -1px); } 95% { transform: none; } }
@keyframes g-a { 0%, 90%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 91% { clip-path: inset(12% 0 64% 0); transform: translate(-.05em, 0); } 93% { clip-path: inset(58% 0 18% 0); transform: translate(.04em, 0); } 95% { clip-path: inset(80% 0 4% 0); transform: translate(-.03em, 0); } 96% { clip-path: inset(0 0 100% 0); } }
@keyframes g-b { 0%, 90%, 100% { clip-path: inset(100% 0 0 0); transform: none; } 91% { clip-path: inset(70% 0 10% 0); transform: translate(.05em, 0); } 93% { clip-path: inset(8% 0 76% 0); transform: translate(-.04em, 0); } 95% { clip-path: inset(22% 0 62% 0); transform: translate(.03em, 0); } 96% { clip-path: inset(100% 0 0 0); } }
@keyframes g-strong {
  0% { clip-path: inset(10% 0 70% 0); transform: translate(-.08em, 0); } 25% { clip-path: inset(60% 0 12% 0); transform: translate(.07em, 0); }
  50% { clip-path: inset(30% 0 50% 0); transform: translate(-.05em, 0); } 75% { clip-path: inset(84% 0 2% 0); transform: translate(.06em, 0); } 100% { clip-path: inset(4% 0 86% 0); transform: translate(-.04em, 0); }
}
.is-glitching { animation: g-jit .5s steps(1) infinite !important; }
.is-glitching::before { animation: g-strong .4s steps(1) infinite !important; }
.is-glitching::after { animation: g-strong .34s steps(1) infinite reverse !important; }

/* ---------- Type ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 128px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
/* hairline + tracker crosses where each section starts (sits on the guides) */
.section::before {
  content: ""; position: absolute; top: 0; height: 13px; margin-top: -6px; pointer-events: none;
  left: calc(var(--gutter) - 6px); right: calc(var(--gutter) - 6px);
  background:
    linear-gradient(rgba(239, 234, 228, .4), rgba(239, 234, 228, .4)) 0 6px / 13px 1px no-repeat,
    linear-gradient(rgba(239, 234, 228, .4), rgba(239, 234, 228, .4)) 6px 0 / 1px 13px no-repeat,
    linear-gradient(rgba(239, 234, 228, .4), rgba(239, 234, 228, .4)) 100% 6px / 13px 1px no-repeat,
    linear-gradient(rgba(239, 234, 228, .4), rgba(239, 234, 228, .4)) calc(100% - 6px) 0 / 1px 13px no-repeat,
    linear-gradient(90deg, transparent, rgba(239, 234, 228, .07) 15%, rgba(255, 30, 45, .28) 50%, rgba(239, 234, 228, .07) 85%, transparent) 0 6px / 100% 1px no-repeat;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 15px 8px 13px; border-radius: 999px;
  color: rgba(239, 234, 228, .88); border: 1px solid rgba(239, 234, 228, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
/* little star with a beam of light falling onto the section title */
.spark { position: relative; width: 16px; height: 16px; margin-bottom: 20px; filter: drop-shadow(0 0 6px rgba(255, 80, 80, .95)) drop-shadow(0 0 16px rgba(255, 30, 45, .6)); }
.spark::before { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: spark 4s ease-in-out infinite; }
.spark::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: clamp(50px, 8vw, 100px); margin-bottom: 6px; background: linear-gradient(to top, rgba(255, 60, 70, .8), transparent); }
@keyframes spark { 50% { transform: scale(.75) rotate(45deg); opacity: .7; } }
.h2 {
  font-family: var(--f-head); font-style: italic; font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.9rem, 7.2vw, 7rem); line-height: .98; letter-spacing: -.035em;
}
.h2 .red { font-style: italic; }
.head { margin-bottom: clamp(48px, 7vw, 88px); }
/* a wide soft wash of light behind the services and work sections */
.services::after, .work::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 18%; width: 100vw; height: 82%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 50% 55%, rgba(255, 30, 45, .11), rgba(160, 12, 40, .05) 50%, transparent 75%);
}
.work::after { background: radial-gradient(ellipse 40% 36% at 30% 40%, rgba(255, 70, 40, .08), transparent 75%), radial-gradient(ellipse 44% 40% at 72% 70%, rgba(255, 30, 45, .1), transparent 75%); }
.head--center { position: relative; isolation: isolate; text-align: center; display: flex; flex-direction: column; align-items: center; }
.head--center::after { /* soft light pooled behind the title */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(760px, 100%); height: 320px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 30, 45, .17), rgba(255, 30, 45, .05) 45%, transparent 70%);
}
.head__note { color: var(--smoke); max-width: 46ch; margin-top: 22px; font-size: clamp(1rem, 1.25vw, 1.2rem); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.7em; border-radius: 999px; font-weight: 600; font-size: .97rem; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn--sm { padding: .7em 1.3em; font-size: .9rem; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 40px -10px rgba(255, 30, 45, .7); }
.btn--primary:hover { background: var(--bone); color: var(--bg); box-shadow: 0 10px 40px -12px rgba(239, 234, 228, .5); }
.btn--ghost { border-color: var(--line-2); color: var(--bone); background: rgba(10, 7, 8, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--bone); background: var(--bone); color: var(--bg); }
.btn__icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:hover { animation: btn-glitch .3s steps(2) 1; }
@keyframes btn-glitch { 0% { box-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--red); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.cursor__ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(239, 234, 228, .3); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s; }
.cursor__label { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--red); }
.cursor.is-label .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--red); border-color: var(--red); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 650; height: var(--nav-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  transition: transform .5s var(--ease), background-color .4s, border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { height: 70px; background: rgba(10, 7, 8, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { justify-self: start; display: flex; align-items: center; height: 40px; }
.nav__logo { position: relative; height: 42px; }
.nav__logo img { position: relative; height: 100%; width: auto; transition: transform .3s var(--ease); }
/* hover glitch: red + cyan copies of the logo (masked) slice and shift */
.logo-ghost {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask: url("assets/brand/logo.png") left center / contain no-repeat; mask: url("assets/brand/logo.png") left center / contain no-repeat;
}
.logo-ghost--r { background: var(--red); }
.logo-ghost--c { background: var(--cyan); }
.nav__logo:hover img, .nav__logo:focus-visible img { animation: logo-jit .5s steps(1) 1; }
.nav__logo:hover .logo-ghost--r, .nav__logo:focus-visible .logo-ghost--r { animation: logo-slice-r .5s steps(1) 1; }
.nav__logo:hover .logo-ghost--c, .nav__logo:focus-visible .logo-ghost--c { animation: logo-slice-c .5s steps(1) 1; }
@keyframes logo-jit { 0% { transform: translateX(2px) skewX(-8deg); } 20% { transform: translateX(-2px); } 40% { transform: skewX(6deg); } 60% { transform: translateX(1px); } 80%, 100% { transform: none; } }
@keyframes logo-slice-r { 0% { opacity: .9; transform: translateX(-5px); clip-path: inset(10% 0 62% 0); } 25% { transform: translateX(4px); clip-path: inset(55% 0 20% 0); } 50% { transform: translateX(-3px); clip-path: inset(30% 0 45% 0); } 75% { transform: translateX(3px); clip-path: inset(78% 0 4% 0); } 100% { opacity: 0; } }
@keyframes logo-slice-c { 0% { opacity: .85; transform: translateX(5px); clip-path: inset(60% 0 14% 0); } 25% { transform: translateX(-4px); clip-path: inset(8% 0 70% 0); } 50% { transform: translateX(3px); clip-path: inset(40% 0 38% 0); } 75% { transform: translateX(-2px); clip-path: inset(18% 0 60% 0); } 100% { opacity: 0; } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-bottom: 4px; box-shadow: 0 0 12px var(--red); }
.nav__links { display: flex; align-items: center; gap: clamp(28px, 3.6vw, 56px); }
.nav__links a { position: relative; font-size: 1.02rem; font-weight: 500; color: rgba(239, 234, 228, .78); padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 640; background: rgba(10, 7, 8, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu nav { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.menu a { font-family: var(--f-head); font-style: italic; font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.15; }
.menu a:hover { color: var(--red); }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu nav a { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; }
.menu__socials { position: absolute; left: 0; right: 0; bottom: calc(32px + env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 26px; }
.menu .menu__socials a { font-family: var(--f-body); font-style: normal; font-weight: 500; font-size: .95rem; color: var(--smoke); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__sky {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent); mask-image: linear-gradient(to bottom, #000 88%, transparent);
}
.hero__sky i { position: absolute; display: block; }
.hero__beam { /* cone of light from the top, like a projector */
  left: 50%; top: 0; width: min(110vw, 1500px); height: 85%; transform: translateX(-50%);
  background:
    conic-gradient(from 180deg at 50% -4%, transparent 158deg, rgba(255, 50, 60, .1) 170deg, rgba(255, 140, 130, .2) 180deg, rgba(255, 50, 60, .1) 190deg, transparent 202deg),
    radial-gradient(ellipse 38% 50% at 50% 0%, rgba(255, 40, 55, .22), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent);
  animation: beam 9s ease-in-out infinite alternate;
}
@keyframes beam { from { opacity: .75; } to { opacity: 1; } }
.hero__aurora { /* coloured light sitting on the horizon */
  left: -10%; right: -10%; top: 52%; height: 44%; filter: blur(46px);
  background:
    radial-gradient(ellipse 34% 55% at 28% 72%, rgba(255, 30, 45, .5), transparent 70%),
    radial-gradient(ellipse 30% 45% at 72% 76%, rgba(255, 100, 40, .34), transparent 70%),
    radial-gradient(ellipse 26% 42% at 50% 84%, rgba(210, 20, 100, .34), transparent 70%);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { 0% { transform: translateX(-4%) scaleY(.9); } 100% { transform: translateX(4%) scaleY(1.1); } }
.hero__horizon { /* the rim of a huge dark planet */
  left: 50%; top: 86%; width: max(250vw, 1700px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(to bottom, #0d0607, #0a0708 8%);
  box-shadow:
    0 -1px 0 rgba(255, 190, 175, .95),
    0 -4px 14px rgba(255, 90, 70, .85),
    0 -24px 70px rgba(255, 30, 45, .55),
    0 -90px 200px rgba(255, 30, 45, .28),
    inset 0 22px 60px -20px rgba(255, 50, 60, .45);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--nav-h) + 24px) var(--gutter) 90px; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
/* real text: shown when particles are unavailable (no JS / reduced motion) */
.hero__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.4rem, min(11vw, 20vh), 12rem); line-height: .9; margin: 28px 0 24px; }
.hero__space { display: none; width: 100%; }
.has-particles .hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.has-particles .hero__space { display: block; position: relative; height: clamp(150px, min(22vw, 34vh), 330px); margin: 22px 0 26px; }
/* invisible touch zone over the particle name: touching it plays with the particles instead of scrolling */
.hero__hit {
  position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%);
  pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.hero__one { color: var(--smoke); margin-bottom: 12px; }
.hero__tag { font-family: var(--f-head); font-style: italic; font-weight: 700; font-stretch: 108%; font-size: clamp(1.35rem, 2.5vw, 2.3rem); line-height: 1.15; letter-spacing: -.025em; }
.hero__tag em { color: var(--red); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: clamp(26px, 4vh, 40px); }

/* ---------- Services ---------- */
/* a bento of little screens from the edit suite */
.services__list { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); max-width: 1160px; margin: 0 auto; }
.svc {
  grid-column: span 6; position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 10px; border-radius: 26px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 45%, rgba(255, 30, 45, .035));
  border: 1px solid rgba(239, 234, 228, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -50px rgba(0, 0, 0, .9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .7s var(--ease), border-color .4s;
}
.svc--short, .svc--grade { grid-column: span 5; }
.svc--long, .svc--vfx { grid-column: span 7; }
.svc::before { /* border that lights up under the cursor */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 60, 70, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 30, 45, .09), transparent 55%); opacity: 0; transition: opacity .5s; }
.svc:hover { transform: translateY(-5px); border-color: rgba(239, 234, 228, .14); }
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc__body { padding: clamp(20px, 2.4vw, 30px) clamp(14px, 1.8vw, 22px) clamp(16px, 1.8vw, 22px); }
.svc__tags { color: var(--red); font-size: .64rem; margin-bottom: 12px; }
.svc__title { font-family: var(--f-head); font-style: italic; font-weight: 800; font-stretch: 110%; font-size: clamp(1.55rem, 2.3vw, 2.1rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 10px; }
.svc:hover .svc__title { animation: title-glitch .35s steps(3) 1; }
@keyframes title-glitch { 0% { text-shadow: -3px 0 var(--cyan), 3px 0 var(--red); transform: translateX(2px); } 50% { text-shadow: 3px 0 var(--cyan), -3px 0 var(--red); transform: translateX(-2px); } 100% { text-shadow: none; transform: none; } }
.svc__text { color: var(--smoke); max-width: 44ch; font-size: .98rem; }

/* the screen */
.svc__visual {
  position: relative; height: clamp(220px, 21vw, 270px); border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 30, 45, .13), transparent 60%), #0b0708;
  border: 1px solid rgba(239, 234, 228, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.svc__visual::before { /* faint viewer grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(239, 234, 228, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 234, 228, .045) 1px, transparent 1px);
  background-size: 26px 26px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
/* only animate the screens that are on screen */
.js .svc:not(.is-live) .svc__visual * { animation-play-state: paused !important; }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  font-size: .56rem; letter-spacing: .12em; color: rgba(239, 234, 228, .88);
  background: rgba(16, 11, 12, .62); border: 1px solid rgba(239, 234, 228, .13);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }

/* Short-form: a phone cutting between three clips */
.vis-short { display: grid; place-items: center; }
.phone {
  position: relative; height: 86%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #050304;
  border: 1px solid rgba(239, 234, 228, .2);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .025), 0 24px 60px -12px rgba(255, 30, 45, .45);
  transform: rotate(-5deg); transition: transform .9s var(--ease);
}
.svc:hover .phone { transform: rotate(0) scale(1.04); }
/* the real short-form edit plays on the phone; the story bars follow the video */
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050304; opacity: 0; }
.phone__video.is-on { opacity: 1; }
.phone.is-cut .phone__video.is-on { animation: phone-cut .28s steps(1) 1; } /* quick glitch on each cut */
@keyframes phone-cut { 0% { transform: translateX(-4px) scale(1.06); filter: hue-rotate(-30deg) saturate(1.8) brightness(1.3); } 35% { transform: translateX(3px) scale(1.03); filter: hue-rotate(25deg); } 70% { transform: none; filter: brightness(1.15); } 100% { transform: none; filter: none; } }
.phone::after { /* glass glare + shade under the handle */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(155deg, rgba(255, 255, 255, .1), transparent 28%), linear-gradient(to top, rgba(0, 0, 0, .55), transparent 26%), linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 14%);
}
.phone__bars { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; gap: 3px; }
.phone__bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.phone__bars i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(var(--b, 0)); transform-origin: left; }
.phone__handle { position: absolute; z-index: 2; left: 12px; bottom: 12px; font-size: .42rem; letter-spacing: .06em; text-transform: none; color: rgba(255, 255, 255, .8); }
.chip--a { left: 12%; top: 16%; }
.chip--b { right: 9%; bottom: 18%; }

/* Long-form: an edit timeline with a running playhead */
.vis-long { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.tl__top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; font-size: .6rem; color: var(--smoke); }
.tl__name { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: .04em; }
.tl__name::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.tl__tc { color: var(--bone); font-size: .74rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(239, 234, 228, .1); }
/* the real Premiere timeline: it scrolls under a running playhead (JS sets --sw, --sx, --hx in px) */
.tlx { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 8px; background: #121011; border: 1px solid rgba(239, 234, 228, .07); }
.tlx__strip { position: absolute; top: 0; bottom: 0; left: 0; width: var(--sw, 100%); display: grid; grid-template-rows: 14px minmax(0, 1fr); transform: translate3d(var(--sx, 0px), 0, 0); will-change: transform; }
.tlx__ruler {
  border-bottom: 1px solid rgba(239, 234, 228, .08); background-color: #181415;
  background-image:
    repeating-linear-gradient(90deg, rgba(239, 234, 228, .4) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(239, 234, 228, .16) 0 1px, transparent 1px 16px);
  background-size: 100% 8px, 100% 4px; background-position: left bottom, left bottom; background-repeat: no-repeat;
}
.tlx__tracks { position: relative; overflow: hidden; }
.tlx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }
.tlx__img:first-child { filter: brightness(.45) saturate(.5); }                       /* not played yet: dimmed */
.tlx__img--done { clip-path: inset(0 calc(100% - var(--hx, 0px)) 0 0); }              /* played: full colour */
.tlx__img--lit { clip-path: inset(0 calc(100% - var(--hx, 0px) - 4px) 0 calc(var(--hx, 0px) - 42px)); filter: brightness(1.6) saturate(1.4); } /* hot zone at the playhead */
.tlx__head { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--hx, 0px); width: 1.5px; margin-left: -.75px; background: #fff; box-shadow: 0 0 12px var(--red), 0 0 3px #fff; }
.tlx__head::before { content: ""; position: absolute; top: 0; left: -5.25px; border: 6px solid transparent; border-top: 8px solid var(--red); filter: drop-shadow(0 0 4px var(--red)); }
.tlx__head::after { /* soft light trailing the playhead */
  content: ""; position: absolute; top: 14px; bottom: 0; right: 0; width: 56px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 40, 55, .22)); animation: head-pulse 1.1s ease-in-out infinite alternate;
}
@keyframes head-pulse { from { opacity: .45; } to { opacity: 1; } }
/* a "cut" pops at the playhead now and then, with a white flash down the tracks */
.tlx__cut {
  position: absolute; z-index: 3; top: 18px; left: var(--cx, 50%); transform: translate(-50%, 6px) scale(.8); padding: 3px 7px; border-radius: 5px;
  font-size: .5rem; color: #fff; background: var(--red); box-shadow: 0 6px 18px -4px rgba(255, 30, 45, .9); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .45s var(--ease);
}
.tlx__cut::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 400px; margin-left: -.75px; background: linear-gradient(#fff, rgba(255, 255, 255, 0) 60%); opacity: .9; }
.tlx__cut.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* VFX: three finished shots, slow push-in, glitch cut, a tracker locking onto each effect (JS sets --px/--py/--glow) */
.vis-vfx { background: #05070a; }
.vis-vfx::after { /* lens vignette + bottom shade for the labels */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0, 0, 0, .6)), linear-gradient(to top, rgba(0, 0, 0, .55), transparent 32%);
}
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s ease; }
.shot.is-on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.shot.is-on img, .shot.is-out img { animation: push-in 3s cubic-bezier(.25, .6, .3, 1) forwards; }
@keyframes push-in { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.vis-vfx.is-glitch .shot.is-on { animation: shot-glitch .5s steps(1) 1; }
@keyframes shot-glitch {
  0% { clip-path: inset(8% 0 62% 0); transform: translateX(-12px); filter: hue-rotate(-40deg) saturate(1.8); }
  14% { clip-path: inset(46% 0 24% 0); transform: translateX(14px); filter: hue-rotate(30deg) saturate(1.6); }
  28% { clip-path: inset(0 0 76% 0); transform: translateX(-7px); filter: none; }
  42% { clip-path: inset(68% 0 2% 0); transform: translateX(9px); }
  56% { clip-path: inset(18% 0 38% 0); transform: translateX(-4px); filter: brightness(1.4); }
  72% { clip-path: inset(0); transform: translateX(3px); filter: none; }
  100% { clip-path: inset(0); transform: none; filter: none; }
}
/* the effect itself flickers like live electricity */
.vfx__pulse {
  position: absolute; z-index: 2; left: var(--px, 50%); top: var(--py, 30%); width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  mix-blend-mode: screen; background: radial-gradient(circle, rgba(var(--glow, 120, 200, 255), .6), rgba(var(--glow, 120, 200, 255), .2) 34%, transparent 66%);
  animation: zap 1.9s linear infinite; transition: left .7s var(--ease), top .7s var(--ease);
}
@keyframes zap { 0% { opacity: .5; } 7% { opacity: 1; } 11% { opacity: .35; } 19% { opacity: .9; } 44% { opacity: .55; } 51% { opacity: 1; } 57% { opacity: .45; } 79% { opacity: .85; } 100% { opacity: .5; } }
.reticle {
  --c: rgba(25, 230, 255, .95);
  position: absolute; z-index: 3; left: var(--px, 50%); top: var(--py, 30%); width: 56px; height: 56px; margin: -28px 0 0 -28px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 13px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 13px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 13px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 13px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 13px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 13px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 13px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 13px no-repeat;
  filter: drop-shadow(0 0 4px rgba(25, 230, 255, .7));
  transition: left .7s var(--ease), top .7s var(--ease); animation: trk 5.2s ease-in-out infinite;
}
.reticle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; background: linear-gradient(var(--red), var(--red)) center / 100% 1.5px no-repeat, linear-gradient(var(--red), var(--red)) center / 1.5px 100% no-repeat; }
.reticle b { position: absolute; left: 100%; top: -3px; margin-left: 6px; font-size: .5rem; font-weight: 500; white-space: nowrap; color: var(--c); }
.vis-vfx.is-glitch .reticle { animation: lock .7s var(--ease) 1; }
@keyframes trk { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(4px, -3px); } 60% { transform: translate(-3px, 3px); } 80% { transform: translate(2px, 1px); } }
@keyframes lock { from { transform: scale(1.9) rotate(45deg); opacity: .15; } to { transform: none; opacity: 1; } }
.vfx__id { position: absolute; z-index: 3; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 5px; font-size: .54rem; color: rgba(255, 255, 255, .88); background: rgba(0, 0, 0, .45); }
.vfx__id::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.vfx__dots { position: absolute; z-index: 3; right: 14px; bottom: 19px; display: flex; gap: 5px; }
.vfx__dots i { width: 14px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .3); transition: background-color .3s, width .4s var(--ease); }
.vfx__dots i.is-on { width: 22px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.chip--c { left: 14px; bottom: 14px; }
.chip--c::before { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }

/* Color: log vs graded wipe + grading wheels */
.vis-grade { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.grade { position: relative; flex: 1; border-radius: 12px; overflow: hidden; }
/* real footage under a moving wipe: left of the line is shown as flat log, right is the final grade */
.grade__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #070506; }
.grade__log {
  position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 calc(100% - var(--w, 50%)) 0 0);
  -webkit-backdrop-filter: contrast(.62) brightness(1.3) saturate(.28) sepia(.12); backdrop-filter: contrast(.62) brightness(1.3) saturate(.28) sepia(.12);
  animation: wipe 6s ease-in-out infinite alternate;
}
.grade__wipe { position: absolute; top: 0; bottom: 0; left: var(--w, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px var(--red); animation: wipe 6s ease-in-out infinite alternate; }
@property --w { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@keyframes wipe { from { --w: 26%; } to { --w: 74%; } }
.grade__tag { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 5px; font-size: .52rem; background: rgba(0, 0, 0, .5); color: rgba(255, 255, 255, .8); }
.grade__tag--r { left: auto; right: 8px; color: #ff6b74; }
.wheels { display: flex; justify-content: space-around; padding: 2px 6px 0; }
.wheel { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.wheel__disc {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 24, 26, 1) 0 18%, rgba(30, 24, 26, .55) 55%, transparent 72%), conic-gradient(from 90deg, #ff3b3b, #ffb43b, #c8ff3b, #3bffb1, #3bc4ff, #6a3bff, #ff3bd2, #ff3b3b);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 18px -4px rgba(255, 30, 45, .5);
}
.wheel__disc i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #000; animation: nudge 5s ease-in-out infinite alternate; }
.wheel:nth-child(2) .wheel__disc i { animation-delay: -1.7s; }
.wheel:nth-child(3) .wheel__disc i { animation-delay: -3.3s; }
@keyframes nudge { 0% { transform: translate(-5px, 3px); } 50% { transform: translate(4px, -5px); } 100% { transform: translate(6px, 4px); } }
.wheel b { font-size: .5rem; font-weight: 500; color: var(--smoke); }

/* ---------- Work ---------- */
.reel { display: grid; gap: clamp(22px, 3vw, 36px); }
.item { position: relative; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.item__media {
  position: relative; overflow: hidden; border-radius: 20px; background: #0c0909;
  border: 1px solid rgba(239, 234, 228, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 90px -50px rgba(255, 30, 45, .55);
  transform: translateZ(0); /* keeps the rounded clip crisp in Safari while it scales */
  transition: transform .9s var(--ease), box-shadow .9s var(--ease), border-color .6s var(--ease);
}
.item--tall .item__media { aspect-ratio: 9 / 16; border-radius: 18px; }
.item--wide .item__media { aspect-ratio: 16 / 9; border-radius: 24px; }
.item__media img, .item__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item__media img { transition: transform 1.6s var(--ease), opacity .7s var(--ease); }
.item__media video { opacity: 0; transition: opacity .8s var(--ease); }
.item.is-playing .item__media video { opacity: 1; }
.reel .item.is-open .item__media { visibility: hidden; transform: none; transition: none; }
.item:hover .item__media, .item:focus-visible .item__media {
  transform: translateY(-6px) scale(1.012); border-color: rgba(239, 234, 228, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 50px 110px -46px rgba(255, 30, 45, .8);
}
.item:hover .item__media img { transform: scale(1.05); }
.item:focus-visible .item__media { outline: 2px solid var(--red); outline-offset: 4px; }
.item__media::after { /* viewfinder corners + bottom shade */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 16px 16px / 16px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 16px 16px / 1px 16px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) calc(100% - 16px) 16px / 16px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) calc(100% - 16px) 16px / 1px 16px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 16px calc(100% - 16px) / 16px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 16px calc(100% - 16px) / 1px 16px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) calc(100% - 16px) calc(100% - 16px) / 16px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) calc(100% - 16px) calc(100% - 16px) / 1px 16px no-repeat,
    linear-gradient(to top, rgba(0, 0, 0, .45), transparent 55%);
  z-index: 1; pointer-events: none; opacity: .5; transition: opacity .6s var(--ease);
}
.item--tall .item__media::after { background: linear-gradient(to top, rgba(0, 0, 0, .4), transparent 40%); opacity: 1; }
.item--wide .item__media::after { opacity: .7; }
.item--wide .item__media::after { background:
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 20px 20px / 18px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 20px 20px / 1px 18px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) calc(100% - 20px) 20px / 18px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) calc(100% - 20px) 20px / 1px 18px no-repeat,
    linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .25) 45%, transparent 70%); }
.item:hover .item__media::after { opacity: 1; }
.item__media::before { /* glass play button: dissolves once the preview is moving */
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='white'/%3E%3C/svg%3E") 56% 50% / 22px no-repeat;
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px -10px rgba(255, 30, 45, .8);
  opacity: .92; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.item:hover .item__media::before { transform: scale(1.08); }
.has-cursor .item.is-playing .item__media::before { opacity: 0; transform: scale(1.25); }
.no-cursor .item.is-playing .item__media::before { opacity: .55; transform: scale(.82); }
.item--wide .item__media::before { width: 76px; height: 76px; margin: -38px 0 0 -38px; background-size: 26px; }

.item__meta { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.item__meta h3 { font-family: var(--f-head); font-style: italic; font-weight: 800; font-stretch: 108%; font-size: clamp(1rem, 1.22vw, 1.14rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.item__meta span { color: var(--smoke); font-size: .84rem; }
.item__kick { display: inline-flex; align-items: center; gap: 8px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); margin-bottom: 6px; }
.item__kick::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.item--wide .item__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0; padding: clamp(18px, 3.2vw, 40px); pointer-events: none; transition: transform .9s var(--ease); }
.item--wide:hover .item__meta { transform: translateY(-6px); }
.item--wide .item__meta h3 { font-size: clamp(1.7rem, 4vw, 3.4rem); font-stretch: 112%; letter-spacing: -.035em; line-height: 1; }
.item--wide .item__meta span { color: rgba(239, 234, 228, .78); font-size: clamp(.86rem, 1.1vw, 1rem); margin-top: 6px; }

.shorts__head { display: flex; justify-content: space-between; align-items: baseline; margin-top: clamp(14px, 2vw, 26px); margin-bottom: calc(-1 * clamp(6px, 1.4vw, 16px)); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); }
.shorts__hint { display: none; }
.shorts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); padding-top: 6px; }

/* ---------- Lightbox (opens out of the card) ---------- */
.lb { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.lb.is-open { pointer-events: auto; }
.lb__veil { position: absolute; inset: 0; background: rgba(6, 4, 5, .8); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); opacity: 0; transition: opacity .55s var(--ease); }
.lb.is-open .lb__veil { opacity: 1; }
.lb__stage { position: fixed; left: 0; top: 0; overflow: hidden; background: #000; border-radius: 22px; transform-origin: 0 0; will-change: transform;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 160px -40px rgba(255, 30, 45, .5); }
.lb__stage img, .lb__stage video, .lb__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.lb__stage iframe { opacity: 0; transition: opacity .7s var(--ease); }
.lb__stage.is-ready iframe { opacity: 1; }
.lb__load { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); border-top-color: #fff; animation: lb-spin .9s linear infinite; opacity: 0; transition: opacity .4s; }
.lb__stage.is-loading .lb__load { opacity: 1; }
.lb__stage.is-ready .lb__load { opacity: 0; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb__close { position: fixed; z-index: 2; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: scale(.7) rotate(-90deg); transition: opacity .35s var(--ease), transform .7s var(--ease), background-color .3s; }
.lb__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.lb__close:hover { background: rgba(255, 255, 255, .2); }
.lb.is-open .lb__close { opacity: 1; transform: none; transition-delay: .2s, .2s, 0s; }
.lb__cap { position: fixed; left: 16px; right: 16px; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .8s var(--ease); }
.lb.is-open .lb__cap { opacity: 1; transform: none; transition-delay: .3s; }
.lb__cap h3 { font-family: var(--f-head); font-style: italic; font-weight: 800; font-stretch: 108%; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.02em; }
.lb__cap p { margin-top: 4px; color: var(--smoke); font-size: .86rem; }
.lb__cap a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(239, 234, 228, .35); transition: text-decoration-color .3s; }
.lb__cap a:hover { text-decoration-color: var(--red); }
.lb-open .cursor { opacity: 0; }

.work__more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 6vw, 64px); }

.art { background-color: #0c0909; background-size: cover; }
.art--a { background-image: radial-gradient(ellipse 60% 45% at 30% 62%, rgba(255, 30, 45, .55), transparent 70%), linear-gradient(112deg, transparent 46%, rgba(255, 90, 54, .5) 47%, transparent 48.5%), linear-gradient(#0b0809, #160607); }
.art--b { background-image: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 30, 45, .5), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 30, 45, .2) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(255, 30, 45, .14) 0 1px, transparent 1px 48px), linear-gradient(#070505, #0f0506); }
.art--d { background-image: radial-gradient(ellipse 80% 30% at 50% 78%, rgba(255, 90, 54, .4), transparent 70%), linear-gradient(transparent 70%, rgba(0, 0, 0, .9) 70.2%), repeating-linear-gradient(90deg, transparent 0 38px, rgba(0, 0, 0, .85) 38px 60px, transparent 60px 90px), linear-gradient(#0d0b0c, #2a0709 70%, #070505); }
.art--e { background-image: linear-gradient(90deg, transparent 44%, rgba(255, 30, 45, .85) 49.5%, rgba(255, 220, 210, .9) 50%, rgba(255, 30, 45, .85) 50.5%, transparent 56%), radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255, 30, 45, .3), transparent 70%), linear-gradient(#080606, #140405); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
/* cutout portrait standing in a soft red light, no box around him */
.about__photo { position: relative; aspect-ratio: 760 / 1290; max-height: 82vh; margin: 0 auto; display: flex; align-items: flex-end; justify-content: center; isolation: isolate; }
.about__photo::before { /* light behind him */
  content: ""; position: absolute; z-index: -1; left: -20%; right: -20%; top: 0; bottom: 10%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255, 30, 45, .5), rgba(125, 10, 18, .28) 42%, transparent 70%); filter: blur(10px);
}
.about__photo::after { /* thin ring + floor line */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 2%; width: 118%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  border: 1px solid rgba(255, 30, 45, .35); box-shadow: 0 0 60px rgba(255, 30, 45, .15) inset;
}
.about__photo img {
  position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 0 24px rgba(255, 30, 45, .28)) drop-shadow(0 30px 40px rgba(0, 0, 0, .6));
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  transition: transform 1s var(--ease);
}
.about__photo:hover img { transform: translateY(-6px); animation: photo-glitch .45s steps(3) 1; }
@keyframes photo-glitch {
  0% { filter: drop-shadow(-6px 0 0 rgba(25, 230, 255, .8)) drop-shadow(6px 0 0 rgba(255, 30, 45, .9)); transform: translate(4px, -6px); }
  50% { filter: drop-shadow(5px 0 0 rgba(25, 230, 255, .8)) drop-shadow(-5px 0 0 rgba(255, 30, 45, .9)); transform: translate(-4px, -6px); }
  100% { transform: translateY(-6px); }
}
.about__lead { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.4; letter-spacing: -.015em; font-weight: 500; margin: 28px 0 18px; }
.about__text { color: var(--smoke); max-width: 54ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 4vw, 56px); margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { color: var(--smoke); font-size: .64rem; margin-bottom: 6px; }
.facts dd { font-family: var(--f-head); font-style: italic; font-weight: 700; font-stretch: 108%; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.15; letter-spacing: -.02em; }

/* ---------- Tools ---------- */
.tools { text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.tools__title { font-family: var(--f-head); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: clamp(1.9rem, 3.8vw, 3.4rem); letter-spacing: -.035em; line-height: 1; margin-bottom: clamp(36px, 5vw, 56px); }
.tools__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 22px); }
.tool {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: clamp(26px, 3.2vw, 40px) 14px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(239, 234, 228, .08); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); transition: border-color .3s, transform .5s var(--ease);
}
.tool::before { /* light catching the top edge */
  content: ""; position: absolute; left: 15%; right: 15%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 90, 90, .8), transparent); opacity: .5; transition: opacity .4s;
}
.tool::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 30, 45, .14), transparent 70%); opacity: 0; transition: opacity .4s; }
.tool { isolation: isolate; }
.tool:hover { border-color: rgba(255, 30, 45, .4); transform: translateY(-4px); }
.tool:hover::before, .tool:hover::after { opacity: 1; }
.tool__logo { height: clamp(54px, 6vw, 70px); display: grid; place-items: center; margin-bottom: 14px; }
.tool__logo img { height: 100%; width: auto; }
.tool__logo--wide img { height: 42%; }
.tool:hover .tool__logo img { animation: logo-glitch .35s steps(3) 1; }
@keyframes logo-glitch { 0% { filter: drop-shadow(-3px 0 0 var(--red)) drop-shadow(3px 0 0 var(--cyan)); transform: translateX(2px); } 50% { filter: drop-shadow(3px 0 0 var(--red)) drop-shadow(-3px 0 0 var(--cyan)); transform: translateX(-2px); } 100% { filter: none; transform: none; } }
.tool__name { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; letter-spacing: -.01em; }
.tool__role { color: var(--smoke); font-size: .95rem; }

/* ---------- Contact ---------- */
.cta { position: relative; z-index: 1; height: 170vh; }
.cta__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; background: #070404; overflow: hidden; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .55), transparent 70%), linear-gradient(to bottom, var(--bg) 0%, transparent 22%, transparent 70%, rgba(10, 7, 8, .95)); }
.cta__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 16px) var(--gutter) 40px; }
.cta__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, min(11vw, 19vh), 12rem); line-height: .86; letter-spacing: -.01em; }
.cta__line { position: relative; display: block; }
.cta__line + .cta__line { margin-top: .2em; }
.cta__outline { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(239, 234, 228, .8); }
.cta__fill { position: absolute; inset: 0; display: block; color: var(--bone); clip-path: inset(0 100% 0 0); text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.cta__line--red .cta__fill { color: var(--red); text-shadow: 0 0 40px rgba(255, 30, 45, .45), 0 3px 0 rgba(0, 0, 0, .5); }
.cta__sub { margin-top: clamp(18px, 3vh, 30px); color: rgba(239, 234, 228, .88); max-width: 42ch; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 4vh, 40px); }
.social { display: flex; align-items: center; gap: 12px; padding: 13px 22px 13px 16px; border-radius: 999px; text-align: left; border: 1px solid var(--line-2); background: rgba(10, 7, 8, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background-color .3s, color .3s; }
.social svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.social svg .fill { fill: currentColor; stroke: none; }
.social__text { display: flex; flex-direction: column; line-height: 1.25; }
.social__name { font-weight: 600; }
.social__handle { font-size: .82rem; color: var(--smoke); }
.social:hover { border-color: var(--red); background: rgba(255, 30, 45, .14); }
/* copy-to-clipboard tooltip on the email links */
[data-copy] { position: relative; }
.copy-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; transform: translate(-50%, 6px); padding: 7px 11px; border-radius: 8px; white-space: nowrap; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone, #efeae4); background: rgba(10, 7, 8, .92); border: 1px solid var(--line-2); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.copy-tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: inherit; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg); }
.copy-tip > span { display: inline-flex; align-items: center; gap: 7px; }
.copy-tip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-tip__done { display: none !important; color: #fff; }
[data-copy]:hover .copy-tip, [data-copy]:focus-visible .copy-tip, [data-copy].is-copied .copy-tip { opacity: 1; transform: translate(-50%, 0); }
[data-copy].is-copied .copy-tip { background: var(--red); border-color: var(--red); }
[data-copy].is-copied .copy-tip__idle { display: none; }
[data-copy].is-copied .copy-tip__done { display: inline-flex !important; }
.social[data-copy].is-copied { border-color: var(--red); }
.social--primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 40px -10px rgba(255, 30, 45, .7); }
.social--primary .social__handle { color: rgba(255, 255, 255, .8); }
.social--primary:hover { background: var(--bone); border-color: var(--bone); color: var(--bg); }
.social--primary:hover .social__handle { color: rgba(10, 7, 8, .7); }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 9vw, 110px) var(--gutter) 30px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, transparent, rgba(125, 10, 18, .12)); overflow: hidden; }
.footer::before { /* soft red light rising from the bottom edge, no hard shape */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 100%; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 50% 110%, rgba(255, 30, 45, .26), rgba(160, 12, 30, .08) 50%, transparent 75%);
}
.footer__mark { display: block; font-family: var(--f-head); font-style: italic; font-weight: 900; font-stretch: 115%; font-size: 9.2vw; line-height: .95; text-align: center; white-space: nowrap; letter-spacing: -.04em; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--smoke); font-size: .92rem; margin-top: clamp(28px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.footer__links { display: flex; gap: 26px; }
.footer__bar a { transition: color .3s; }
.footer__bar a:hover { color: var(--red); }

/* ---------- Mobile sticky CTA ---------- */
.m-cta { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 630; display: none; justify-content: center; gap: 8px; padding: 15px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 10px 40px -8px rgba(255, 30, 45, .7); transform: translateY(160%); transition: transform .5s var(--ease); }
.m-cta.is-visible { transform: none; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
/* ---------- Tablet (portrait + small landscape) ---------- */
@media (max-width: 1024px) {
  .tools__list { grid-template-columns: repeat(2, 1fr); }
  .about { gap: clamp(32px, 5vw, 60px); }
  .about__photo { max-height: 76vh; }
  /* the 5 vertical cards become a swipeable row that bleeds to the screen edges */
  .shorts { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .shorts::-webkit-scrollbar { display: none; }
  .shorts .item { flex: 0 0 clamp(200px, 30vw, 250px); scroll-snap-align: start; }
  .shorts__hint { display: block; }
  .svc, .svc--short, .svc--long, .svc--vfx, .svc--grade { grid-column: span 6; }
}
/* narrow tablets: about photo on top, text centred below */
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__body { display: flex; flex-direction: column; align-items: center; }
  .about__text { margin: 0 auto; }
  .facts { justify-content: center; }
  .about__photo { width: min(52%, 340px); max-height: 56vh; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .nav__links { gap: 32px; }
  .nav__links a { font-size: 1rem; }
  .hero__tag { font-size: clamp(1.5rem, 3.4vw, 2rem); }
  .cta { height: 150vh; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  :root { --nav-h: 66px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__logo { height: 26px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-scrolled { height: 60px; }
  .hero__content { padding-bottom: 80px; }
  .has-particles .hero__space { height: min(36vw, 30vh); margin: 16px 0 18px; }
  .hero__tag { font-size: clamp(1.3rem, 6.2vw, 1.7rem); max-width: 18ch; }
  .hero__ctas { width: 100%; max-width: 420px; flex-direction: column; }
  .hero__ctas .btn { width: 100%; padding: 1.05em 1.4em; }
  .head__note { font-size: 1rem; }
  .shorts .item { flex-basis: 60vw; }
  .item--wide .item__media { border-radius: 18px; }
  .item--wide .item__media::before { width: 56px; height: 56px; margin: -28px 0 0 -28px; background-size: 20px; }
  .item__kick { display: none; }
  .svc, .svc--short, .svc--long, .svc--vfx, .svc--grade { grid-column: 1 / -1; }
  .svc__visual { height: 230px; }
  .svc__body { padding: 20px 12px 14px; }
  .guides, .section::before { display: none; }
  .stars::after { animation: none; }
  .hero__horizon { top: 89%; }
  .hero__aurora { top: 58%; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px 24px; justify-items: center; }
  .facts > div:last-child { grid-column: 1 / -1; }
  .about__photo { width: 74%; max-height: 60vh; }
  .tool { padding: 24px 10px; }
  .tool__role { font-size: .85rem; }
  .cta { height: 135vh; }
  .cta__content { padding-left: 16px; padding-right: 16px; }
  .cta__sub { font-size: .98rem; }
  .socials { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
  .socials li { min-width: 0; }
  .social { padding: 12px 18px 12px 14px; min-width: 0; }
  .social__text { min-width: 0; }
  .social__handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .footer { padding-bottom: 100px; }
  .footer__bar { flex-direction: column; justify-content: center; text-align: center; gap: 14px; }
  .m-cta { display: flex; }
  .grain { animation: none; opacity: .045; }
  .ambient i { filter: blur(50px); animation: none; }
  .glow { display: none; }
}
@media (max-width: 360px) {
  .tools__list { gap: 10px; }
  .tool__name { font-size: 1rem; }
}

/* ---------- Phones in landscape / short screens ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --nav-h: 58px; }
  .nav, .nav.is-scrolled { height: 58px; }
  .nav__logo { height: 24px; }
  .hero__content { padding: calc(var(--nav-h) + 6px) var(--gutter) 22px; }
  .has-particles .hero__space { height: min(15vw, 30vh); margin: 8px 0 10px; }
  .hero__one { margin-bottom: 4px; }
  .hero__tag { font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
  .hero__ctas { margin-top: 14px; flex-direction: row; width: auto; }
  .hero__ctas .btn { width: auto; padding: .8em 1.3em; }
  .cta { height: 160vh; }
  .cta__content { padding-top: calc(var(--nav-h) + 4px); padding-bottom: 12px; }
  .cta__title { font-size: min(10vw, 17vh); }
  .cta__sub { margin-top: 8px; font-size: .9rem; }
  .socials { flex-direction: row; max-width: none; margin-top: 12px; }
  .social { padding: 8px 16px 8px 12px; }
  .about__photo { max-height: 80vh; }
  .m-cta { display: none; }
  .hero__horizon { top: 93%; }
}

/* touch devices: no hover-only effects, no animated grain */
@media (hover: none) {
  /* phones + tablets: skip the full-screen blend layer and the big blurs, they make scrolling stutter */
  .grain { display: none; }
  .svc { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02) 45%, rgba(255, 30, 45, .04)), rgba(14, 10, 11, .55); }
  .ambient .leak { display: none; }
  .svc:hover, .tool:hover { transform: none; }
  .svc:hover .phone { transform: rotate(-5deg); }
  .item:hover .item__media { transform: none; }
  .item:hover .item__media img { transform: none; }
  /* no "stuck" hover colours after a tap (e.g. coming back from Instagram) */
  .btn:hover { animation: none; }
  .btn--primary:hover, .social--primary:hover { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 40px -10px rgba(255, 30, 45, .7); }
  .social--primary:hover .social__handle { color: rgba(255, 255, 255, .8); }
  .btn--ghost:hover { border-color: var(--line-2); background: rgba(10, 7, 8, .35); color: var(--bone); }
  .btn--primary:active, .social--primary:active, .m-cta:active { transform: scale(.97); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .cta { height: auto; }
  .cta__stage { position: relative; }
  .cta__fill { clip-path: none !important; }
  .grade__log, .grade__wipe { --w: 50%; }
}
