:root {
  --bg: #070707;
  --bg-2: #101010;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f1ee;
  --muted: #8d8a86;
  --red: #e3262f;
  --red-2: #ff5a1f;
  --display: "Anton", "Impact", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.muted { color: var(--muted); }
.h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(36px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 10px; }
.h2 em { font-size: 1.08em; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 14px; transition: transform .3s, background .3s; }
.btn:hover { transform: translateY(-2px); background: var(--red-2); }
.btn--small { padding: 9px 18px; font-size: 13px; }
.btn__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); transition: background .4s, backdrop-filter .4s; }
.nav.is-scrolled { background: rgba(7, 7, 7, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__logo { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.nav__logo span { color: var(--red); }
.nav__links { display: flex; gap: 34px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 96px var(--pad) 40px; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 55%, rgba(227, 38, 47, 0.22), transparent 70%), var(--bg); }
.hero__meta { display: flex; justify-content: space-between; align-items: flex-start; font-size: 13px; position: relative; z-index: 3; }
.hero__avail { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227, 38, 47, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227, 38, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 38, 47, 0); } }

.hero__word { position: absolute; left: 50%; top: 15%; transform: translateX(-50%); z-index: 0; font-family: var(--display); font-weight: 400; font-size: clamp(90px, 22vw, 360px); line-height: .85; letter-spacing: -0.01em; white-space: nowrap; pointer-events: none;
  background: linear-gradient(180deg, #ff3b3b 0%, #b3121b 55%, rgba(120, 10, 16, 0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

/* 3D ring */
.ring { position: relative; z-index: 2; flex: 1; min-height: 360px; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: pan-y; user-select: none; margin: 4vh calc(var(--pad) * -1) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.ring:active { cursor: grabbing; }
.ring__stage { perspective: 1600px; perspective-origin: 50% 50%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ring__track { position: relative; width: var(--card-w); height: var(--card-h); transform-style: preserve-3d; }
.ring__card { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); background: #111; }
.ring__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .12); background: var(--shade, transparent); }

.hero__bottom { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: end; margin-top: 3vh; }
.script { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--text); line-height: 1; }
.hero__name { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 7.5vw, 116px); line-height: .9; letter-spacing: .005em; margin-top: 6px; }
.hero__role { color: var(--red); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-top: 12px; }
.hero__lede { color: var(--muted); max-width: 420px; font-size: 15px; }
.stats { display: flex; gap: 28px; }
.stats li { display: flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--display); font-weight: 400; font-size: 44px; color: var(--red); line-height: 1; }
.stats span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.hero__hint { position: relative; z-index: 3; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 28px; }

/* SECTIONS */
section:not(.hero) { padding: clamp(80px, 12vw, 160px) var(--pad); }
.section-head { margin-bottom: 48px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head__side { max-width: 340px; }

.clients { border-top: 1px solid var(--line); }
.clients img { width: 100%; max-width: 1200px; margin: 0 auto; opacity: .85; }

/* WORK */
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { grid-column: span 6; position: relative; display: block; }
.card:nth-child(3n + 1) { grid-column: span 12; }
.card__media { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 9; background: var(--bg-2); }
.card:nth-child(3n + 1) .card__media { aspect-ratio: 21 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: "View case study →"; position: absolute; right: 18px; bottom: 18px; padding: 10px 18px; border-radius: 999px; background: var(--accent, var(--red)); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(10px); transition: .4s; }
.card:hover .card__media::after, .card:focus-visible .card__media::after { opacity: 1; transform: none; }
.card__info { display: flex; align-items: baseline; gap: 18px; padding: 18px 4px 8px; border-bottom: 1px solid var(--line); }
.card__num { font-family: var(--display); color: var(--red); font-size: 28px; line-height: 1; }
.card__title { font-size: 18px; font-weight: 600; }
.card__tag { margin-left: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* SOCIAL REEL — pinned, scroll plays 8 scenes; each scene reads --t (0 → 1) */
section.reel { position: relative; height: 900vh; padding: 0; }
.reel__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0b0b; }
.reel__bars { position: absolute; z-index: 20; top: 76px; left: var(--pad); right: var(--pad); display: flex; gap: 6px; }
.reel__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(128, 128, 128, .35); overflow: hidden; }
.reel__bars b { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.reel__tag { position: absolute; z-index: 20; left: var(--pad); bottom: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; }
.reel__tag span { opacity: .6; }
.reel__open { position: absolute; z-index: 21; right: var(--pad); bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  color: #fff; background: rgba(15, 15, 15, .78); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: background .3s, transform .3s; }
.reel__open:hover { background: var(--red); transform: translateY(-2px); }
.reel__open span { transition: transform .3s; }
.reel__open:hover span { transform: translateX(4px); }
.btn--ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; color: #111; }
.s-cam__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.scene { --t: 0; --in: min(1, calc(var(--t) * 7)); position: absolute; inset: 0; visibility: hidden; overflow: hidden;
  display: grid; place-items: center; transform: scale(calc(1.1 - var(--in) * .1)); }
.scene.is-on { visibility: visible; }

/* 1 — wall of posts */
.s-wall { background: #090909; perspective: 1100px; }
.s-wall__plane { position: absolute; left: 50%; top: 50%; width: 190vw; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px;
  transform: translate(-50%, -50%) rotateX(50deg) rotateZ(-24deg) translateY(calc(-8% - var(--t) * 30%)); }
.s-wall__plane img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; filter: brightness(.8); }
.s-wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, transparent 20%, #090909 90%); }
.s-wall__title { position: relative; z-index: 2; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 11vw, 170px); line-height: .9; text-align: center; text-shadow: 0 10px 50px #000;
  opacity: clamp(0, calc((var(--t) - .15) * 5), 1); transform: translateY(calc((1 - clamp(0, calc((var(--t) - .15) * 5), 1)) * 40px)); }
.s-wall__title em { font-family: var(--serif); color: var(--red); }

/* 2 — tilted playlist */
.s-list { background: radial-gradient(70% 70% at 50% 40%, #13241f, #060b09 80%); perspective: 1200px; }
.s-list__card { width: min(540px, 88vw); padding: 26px 26px 10px; border-radius: 26px; background: rgba(20, 30, 27, .85); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 60px 120px -30px #000;
  transform: rotateX(20deg) rotateZ(-8deg) rotateY(calc(-14deg + var(--t) * 20deg)) translateY(calc(40px - var(--t) * 80px)); }
.s-list__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.s-list__head b { display: block; font-size: 20px; }
.s-list__head small { color: #7f9a90; font-size: 12px; }
.s-list__play { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #1ed760; color: #062; font-size: 16px; box-shadow: 0 0 30px rgba(30, 215, 96, .5); }
.s-list__items li { --show: clamp(0, calc((var(--t) - var(--k) * .08) * 6), 1); border-top: 1px solid rgba(255,255,255,.06);
  opacity: var(--show); transform: translateX(calc((1 - var(--show)) * 40px)); }
.s-list__items a { display: grid; grid-template-columns: 22px 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 8px; margin: 0 -8px; border-radius: 12px; transition: background .25s; }
.s-list__items a:hover { background: rgba(30, 215, 96, .1); }
.s-list__items a:hover .d { color: #1ed760; }
.s-list__items .n { color: #6f8a80; font-size: 13px; }
.s-list__items img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.s-list__items b { display: block; font-size: 15px; }
.s-list__items small { color: #7f9a90; font-size: 12px; }
.s-list__items .d { color: #6f8a80; font-size: 12px; }

/* 3 — Instagram post, zoom out */
.s-ig { background: #efefef; }
.s-ig__card { width: min(420px, 84vw); background: #fff; color: #111; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.35); font-size: 13px;
  transform-origin: 50% 42%; transform: scale(calc(2.6 - 1.6 * min(1, calc(var(--t) * 1.7)))); }
.s-ig__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; }
.s-ig__head span { display: block; font-weight: 400; font-size: 11px; color: #777; }
.s-ig__head b { width: 32px; height: 32px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e1306c; }
.s-ig__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.s-ig__stats { display: flex; gap: 18px; padding: 12px 14px 6px; font-weight: 700; font-size: 14px; }
.s-ig__stats i { font-style: normal; }
.s-ig__cap { padding: 0 14px 16px; line-height: 1.45; }

/* 4 — phone on a sunlit wooden table */
.s-desk { background:
    repeating-linear-gradient(92deg, rgba(90, 50, 20, .18) 0 2px, transparent 2px 9px),
    linear-gradient(100deg, #a36c3c, #cf975c 45%, #b3783f 70%, #94602f); perspective: 1400px; }
.s-desk__light { position: absolute; inset: -30%; filter: blur(22px);
  background: repeating-linear-gradient(118deg, rgba(40, 18, 5, .5) 0 9%, rgba(255, 220, 160, .12) 9% 21%);
  transform: translateX(calc(var(--t) * 6%)); }
.s-desk__phone { position: relative; width: min(300px, 62vw); aspect-ratio: 9 / 19.5; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #2c2c30, #0c0c0e 45%, #26262a);
  box-shadow: 30px 50px 60px -20px rgba(40, 15, 0, .7), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: rotateX(28deg) rotateZ(calc(-16deg + var(--t) * 8deg)) scale(calc(.92 + var(--t) * .12)); }
.s-desk__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #000; color: #fff; text-align: center; }
.s-desk__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.s-desk__date, .s-desk__time { position: relative; }
.s-desk__date { margin-top: 44px; font-size: 13px; font-weight: 600; }
.s-desk__time { font-size: clamp(62px, 8vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.s-desk__notif { --show: clamp(0, calc((var(--t) - .22) * 6), 1); position: absolute; left: 10px; right: 10px; top: 42%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; text-align: left; font-size: 12px; line-height: 1.35;
  border-radius: 18px; background: rgba(245, 245, 245, .82); backdrop-filter: blur(10px); color: #111; opacity: var(--show); transform: translateY(calc((1 - var(--show)) * -30px)) scale(calc(.9 + var(--show) * .1)); }
.s-desk__notif b { flex: none; width: 34px; height: 34px; border-radius: 9px; background-size: cover; background-position: center; }
.s-desk__notif span { display: block; color: #777; font-size: 11px; }
.s-desk__bubble { --show: clamp(0, calc((var(--t) - .5) * 6), 1); position: absolute; left: 50%; top: 30%; margin-left: min(140px, 22vw); padding: 12px 18px; border-radius: 22px 22px 6px 22px; background: #1f8bff; color: #fff; font-weight: 600; font-size: clamp(14px, 1.6vw, 18px); white-space: nowrap;
  box-shadow: 0 20px 40px -10px rgba(0, 40, 120, .5); opacity: var(--show); transform: scale(calc(.6 + var(--show) * .4)); transform-origin: 0 100%; }

/* 5 — notes app */
.s-notes { background: #fff; color: #111; }
.s-notes__app { width: min(560px, 88vw); transform: scale(calc(1.18 - var(--t) * .18)); }
.s-notes__status, .s-notes__tools { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.s-notes__tools { margin: 22px 0 26px; color: #444; font-size: 20px; }
.s-notes__app h3 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.s-notes__text { margin-top: 10px; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; min-height: 5em; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: #e3a008; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 6 — notification stack */
.s-notif { background: #ebebeb; }
.s-notif__stack { width: min(460px, 88vw); display: grid; gap: 12px; }
.s-notif__stack li { --show: clamp(0, calc((var(--t) - var(--k) * .14) * 6), 1); display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: #fff; color: #111; font-size: 14px; line-height: 1.35;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); opacity: var(--show); transform: translateY(calc((1 - var(--show)) * 30px)) scale(calc(.94 + var(--show) * .06)); }
.s-notif__stack img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.s-notif__stack div { flex: 1; }
.s-notif__stack b { display: block; }
.s-notif__stack span { color: #999; font-size: 12px; align-self: flex-start; }

/* 7 — kinetic type */
.s-type { background: #f3f3ee; color: #111; }
.s-type__lines { position: relative; text-align: center; font-weight: 700; letter-spacing: -.03em; opacity: calc(1 - clamp(0, calc((var(--t) - .6) * 6), 1)); }
.s-type__lines .l1 { font-size: clamp(28px, 4vw, 56px); color: #555; opacity: clamp(0, calc(var(--t) * 8), 1); transform: translateY(calc(clamp(0, calc((var(--t) - .25) * 5), 1) * -20px)); }
.s-type__lines .l2 { font-size: clamp(52px, 9vw, 140px); line-height: 1; margin-top: 10px; --show: clamp(0, calc((var(--t) - .25) * 6), 1); opacity: var(--show); transform: scale(calc(.7 + var(--show) * .3)); }
.s-type__lines u { text-decoration: underline wavy #20c060; text-decoration-thickness: 4px; text-underline-offset: 10px; color: #0f8a3f; }
.spark { position: absolute; width: 90px; height: 90px; background: #37e27a; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  --s: clamp(0, calc((var(--t) - .3) * 5), 1); transform: scale(calc(var(--s) * 1)) rotate(calc(var(--t) * 180deg)); }
.sp1 { top: -90px; right: -40px; }
.sp2 { bottom: -70px; left: -30px; width: 60px; height: 60px; }
.sp3 { top: -30px; left: 10%; width: 34px; height: 34px; }
.s-type__wall { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: 800; letter-spacing: -.04em; line-height: .95; font-size: clamp(56px, 10vw, 150px); white-space: nowrap; color: rgba(0,0,0,.08);
  --w: clamp(0, calc((var(--t) - .6) * 5), 1); opacity: var(--w); transform: scale(calc(1.5 - var(--w) * .5 + clamp(0, calc(var(--t) - .8), 1) * .8)); }
.s-type__wall .hl { color: #111; }
.s-type__wall .hl b { color: #0f8a3f; }

/* 8 — camera app */
.s-cam { background: #0e0e0e; grid-template-rows: auto 1fr auto auto; place-items: stretch; padding: 110px 0 24px; }
.s-cam__top { display: flex; justify-content: space-around; color: #ddd; font-size: 18px; max-width: 480px; width: 100%; margin: 0 auto; }
.s-cam__view { position: relative; margin: 16px var(--pad); border-radius: 14px; overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #2a2826, #121110); }
.s-cam__view::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.s-cam__shot { --d: clamp(0, calc((var(--t) - var(--k)) * 4), 1); position: absolute; top: 50%; left: 50%; width: min(260px, 38vw); padding: 10px 10px 34px; background: #f4f1ea; border-radius: 4px; box-shadow: 0 30px 60px -20px #000;
  transform: translate(-50%, -50%) translate(var(--x), calc((1 - var(--d)) * -110vh)) rotate(var(--r)); }
.s-cam__shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.s-cam__shot--a { --k: 0; --x: -70%; --r: -9deg; }
.s-cam__shot--b { --k: .12; --x: 70%; --r: 8deg; }
.s-cam__shot--c { --k: .24; --x: 0%; --r: -2deg; }
.s-cam__cta { --c: clamp(0, calc((var(--t) - .55) * 5), 1); position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center;
  background: rgba(10, 10, 10, calc(var(--c) * .72)); opacity: var(--c); }
.s-cam__cta p { font-family: var(--display); font-size: clamp(48px, 8vw, 120px); line-height: .92; transform: translateY(calc((1 - var(--c)) * 30px)); }
.s-cam__modes { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); font-size: 12px; letter-spacing: .08em; color: #888; }
.s-cam__modes b { color: #ffc107; }
.s-cam__shutter { margin: 14px auto 0; width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.s-cam__shutter i { width: 50px; height: 50px; border-radius: 50%; background: #fff; transform: scale(calc(1 - clamp(0, calc((var(--t) - .5) * 10), 1) * .15 + clamp(0, calc((var(--t) - .6) * 10), 1) * .15)); }

.reel--static { height: auto; }
.reel--static .reel__sticky { position: relative; height: auto; }
.reel--static .scene { position: relative; visibility: visible; min-height: 100vh; transform: none; }
.reel--static .reel__bars { display: none; }

/* FLOATING CTA */
.float-cta { --drop: 0px; position: fixed; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 60; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 10, 10, .72); backdrop-filter: blur(10px); border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transform: translateY(calc(var(--drop) + 40px)) scale(.8); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1), background .3s; }
.float-cta.is-on { opacity: 1; pointer-events: auto; transform: translateY(var(--drop)) scale(1); transition: opacity .5s, background .3s; }
.float-cta svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-cta text { font-family: var(--sans); font-size: 10.4px; font-weight: 700; letter-spacing: .2em; fill: var(--text); }
.float-cta span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent, var(--red)); color: #fff; font-size: 18px; transition: transform .3s; }
.float-cta:hover span { transform: rotate(45deg) scale(1.1); }
@media (max-width: 720px) {
  .float-cta { width: 88px; height: 88px; }
  .float-cta text { font-size: 10px; }
  .float-cta span { width: 36px; height: 36px; font-size: 15px; }
  .s-desk__bubble { left: 50%; top: 14%; margin-left: 0; transform-origin: 50% 100%; translate: -50% 0; }
  .s-cam__shot { width: 46vw; }
  .reel__tag { display: none; }
  .reel__open { bottom: auto; top: 90px; padding: 9px 16px; font-size: 12px; }
}

/* MOTION */
.motion__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.motion__card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; display: block; }
.motion__card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .8s, opacity .4s; }
.motion__card:hover img { transform: scale(1.05); opacity: 1; }
.motion__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .4s; }
.motion__play::before { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.motion__card:hover .motion__play { transform: scale(1.12); }
.motion__label { position: absolute; left: 18px; bottom: 16px; right: 18px; font-weight: 600; display: flex; justify-content: space-between; text-shadow: 0 2px 10px #000; }
.motion__label span { color: var(--muted); font-weight: 400; font-size: 13px; }

/* ABOUT */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__photo { position: sticky; top: 100px; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--red), #3a0508 70%); }
.about__photo img { width: 100%; mix-blend-mode: normal; }
.about__text { color: var(--muted); font-size: 17px; max-width: 560px; margin: 24px 0 40px; }
.timeline { border-top: 1px solid var(--line); margin-bottom: 36px; }
.timeline li { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.timeline span { color: var(--red); font-size: 13px; font-weight: 600; }
.timeline b { font-weight: 600; }
.timeline i { font-style: normal; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }

/* CONTACT */
.contact { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); padding-bottom: 32px !important; }
.contact__glow { position: absolute; left: 50%; top: 45%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(227, 38, 47, .35), transparent); pointer-events: none; }
.contact__title { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(64px, 13vw, 210px); line-height: .9; margin: 18px 0 56px; }
.contact__links { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; max-width: 1200px; margin: 0 auto; }
.contact__links a { background: var(--bg); padding: 26px 20px; text-align: left; font-size: 15px; font-weight: 500; transition: background .3s; overflow-wrap: anywhere; }
.contact__links a:hover { background: #1a0a0b; }
.contact__links span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.footer { position: relative; display: flex; justify-content: space-between; margin-top: 96px; font-size: 12px; color: var(--muted); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero__bottom { grid-template-columns: 1fr 1fr; }
  .stats { grid-column: 1 / -1; }
  .motion__grid { grid-template-columns: 1fr 1fr; }
  .contact__links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .hero { padding-top: 84px; }
  .hero__meta .muted { display: none; }
  .hero__avail { font-size: 10px; }
  .hero__word { top: 13.5%; }
  .ring { min-height: 300px; margin-top: 2vh; }
  .hero__bottom { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .stats { gap: 12px; flex-wrap: wrap; }
  .stats li { padding-left: 10px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .stats strong { font-size: 32px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .card, .card:nth-child(3n + 1) { grid-column: span 12; }
  .card:nth-child(3n + 1) .card__media { aspect-ratio: 16 / 9; }
  .card__tag { display: none; }
  .motion__grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__photo { position: relative; top: 0; max-width: 420px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .contact__links { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 6px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= CASE STUDY ================= */
.case-page { --accent: var(--red); }
.case-page em { color: var(--accent); }
.case-page .eyebrow { color: var(--accent); }
.case-page .btn { background: var(--accent); }

.cs-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.cs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: csZoom 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes csZoom { to { transform: scale(1); } }
.cs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,.35) 0%, rgba(7,7,7,.1) 40%, rgba(7,7,7,.92) 100%); }
.cs-hero__content { position: relative; z-index: 1; padding: 0 var(--pad) 7vh; width: 100%; }
.cs-back { display: inline-block; margin-bottom: 28px; font-size: 13px; color: var(--text); opacity: .8; }
.cs-back:hover { opacity: 1; color: var(--accent); }
.cs-hero__client { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 15vw, 240px); line-height: .85; margin-top: 10px; text-shadow: 0 10px 60px rgba(0,0,0,.5); }
.cs-hero__title { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 44px); margin-top: 8px; }

.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 !important; }
.cs-meta div { padding: 28px var(--pad); border-right: 1px solid var(--line); font-weight: 500; }
.cs-meta div:last-child { border-right: 0; }
.cs-meta span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.cs-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.cs-story__line { position: sticky; top: 120px; }
.cs-ar { font-family: "Alexandria", sans-serif; font-weight: 800; font-size: clamp(44px, 6vw, 96px); line-height: 1.2; color: var(--accent); text-align: right; }
.cs-en { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); margin-top: 16px; text-align: right; }
.cs-steps li { padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
.cs-steps li:last-child { border-bottom: 1px solid var(--line); }
.cs-steps span { grid-row: span 2; font-family: var(--display); font-size: 28px; color: var(--accent); line-height: 1; }
.cs-steps h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.cs-steps p { color: var(--muted); font-size: 16px; }

.cs-gallery { display: flex; flex-direction: column; gap: 28px; }
.cs-shot { position: relative; max-width: 1500px; width: 100%; margin: 0 auto; }
.cs-shot img { width: 100%; border-radius: 18px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.cs-shot figcaption { position: absolute; left: 18px; bottom: 16px; font-size: 12px; letter-spacing: .14em; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }

/* ---- Mockups ---- */
.cs-mock { background: var(--bg-2); }

/* billboard: a night scene built in CSS */
.mock-billboard { position: relative; height: clamp(420px, 60vw, 760px); border-radius: 24px; overflow: hidden; margin-bottom: 28px; }
.bb-sky { position: absolute; inset: 0; background:
  radial-gradient(60% 45% at 50% 38%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
  linear-gradient(180deg, #05060d 0%, #0d1024 55%, #1a1320 100%); }
.bb-city { position: absolute; left: 0; right: 0; bottom: 18%; height: 34%; background: linear-gradient(180deg, #0b0c16, #06070c);
  clip-path: polygon(0 100%, 0 55%, 4% 55%, 4% 35%, 9% 35%, 9% 60%, 13% 60%, 13% 20%, 17% 20%, 17% 50%, 21% 50%, 21% 70%, 26% 70%, 26% 45%, 30% 45%, 30% 75%, 70% 75%, 70% 40%, 74% 40%, 74% 62%, 79% 62%, 79% 25%, 83% 25%, 83% 55%, 88% 55%, 88% 38%, 93% 38%, 93% 65%, 100% 65%, 100% 100%); }
.bb-city::after { content: ""; position: absolute; inset: 30% 0 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #ffd98a, transparent), radial-gradient(1.5px 1.5px at 60% 70%, #ffd98a, transparent); background-size: 40px 30px; opacity: .35; }
.bb-road { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, #111218, #050507); }
.bb-road::before { content: ""; position: absolute; left: 0; right: 0; top: 45%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 60px, transparent 60px 120px); }
.bb { position: absolute; left: 50%; top: 12%; width: min(74%, 900px); transform: translateX(-50%) perspective(1600px) rotateY(-14deg); transform-style: preserve-3d; }
.bb__board { position: relative; aspect-ratio: 16 / 9; padding: 10px; background: #15161b; border-radius: 6px; box-shadow: 0 0 0 2px #26272e, 0 40px 80px -30px #000, 0 0 140px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
.bb__board img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; filter: brightness(1.05) saturate(1.05); }
.bb__board::after { content: ""; position: absolute; inset: 10px; background: linear-gradient(180deg, rgba(255,250,230,.18), transparent 45%); pointer-events: none; }
.bb__lamps { display: flex; justify-content: space-around; height: 16px; margin: 0 8%; position: relative; z-index: 2; }
.bb__lamps i { width: 46px; height: 8px; background: #2a2b31; border-radius: 3px; position: relative; }
.bb__lamps i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 220px; height: 180px; transform: translateX(-50%); background: radial-gradient(50% 100% at 50% 0%, rgba(255,245,210,.35), transparent 70%); pointer-events: none; }
.bb__legs { display: flex; justify-content: space-between; margin: 0 22%; }
.bb__legs i { width: 16px; height: clamp(60px, 9vw, 130px); background: linear-gradient(90deg, #1c1d22, #303139, #1c1d22); }

/* phones */
.mock-phones { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(20px, 6vw, 90px); padding: clamp(48px, 7vw, 100px) 16px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(50% 60% at 50% 50%, color-mix(in srgb, var(--accent) 55%, #000), #0b0b0b 75%); }
.phone { width: clamp(200px, 24vw, 300px); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #3a3b40, #0f0f11 40%, #2a2b2f); box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.12); position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.phone--story { transform: rotate(-7deg) translateY(10px); }
.phone--feed { transform: rotate(6deg) translateY(-20px); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen--light { background: #fff; color: #111; font-size: 12px; }
.ig-story__bars { position: absolute; top: 50px; left: 12px; right: 12px; display: flex; gap: 4px; }
.ig-story__bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.4); }
.ig-story__bars i.on { background: #fff; }
.ig-story__head, .ig-post__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; }
.ig-story__head { position: absolute; top: 62px; left: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.ig-story__head span, .ig-post__head span { font-weight: 400; opacity: .7; margin-left: 4px; font-size: 11px; }
.ig-post__head span { display: block; margin: 0; }
.ig-story__head b, .ig-post__head b { width: 26px; height: 26px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--accent); flex: none; }
.ig-story__cta { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); padding: 8px 18px; border-radius: 999px; background: #fff; color: #111; font-weight: 700; font-size: 12px; }
.ig-top { padding: 52px 14px 10px; font-family: var(--serif); font-style: italic; font-size: 20px; border-bottom: 1px solid #eee; }
.ig-post__head { padding: 10px 12px; }
.ig-post__img { aspect-ratio: 1; overflow: hidden; }
.ig-post__img img { width: 100%; height: 100%; object-fit: cover; }
.ig-post__actions { padding: 10px 12px 4px; font-size: 16px; letter-spacing: 2px; }
.ig-post__cap { padding: 0 12px; line-height: 1.4; }
.ig-post__lines { padding: 10px 12px; display: grid; gap: 6px; }
.ig-post__lines i { height: 6px; border-radius: 4px; background: #eee; }
.ig-post__lines i + i { width: 60%; }

/* next project */
.cs-next { position: relative; display: block; overflow: hidden; padding: clamp(80px, 12vw, 160px) var(--pad); text-align: center; border-top: 1px solid var(--line); }
.cs-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; transform: scale(1.05); transition: opacity .6s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cs-next:hover img { opacity: .45; transform: scale(1); }
.cs-next > span { position: relative; display: block; }
.cs-next .eyebrow { color: var(--next); }
.cs-next__name { font-family: var(--display); font-size: clamp(64px, 12vw, 190px); line-height: .95; margin-top: 12px; }
.cs-next__title { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 32px); color: var(--muted); }

.contact--mini { padding-top: clamp(60px, 9vw, 120px) !important; }
.contact__title--link { display: block; margin-bottom: 0; transition: color .3s; }
.contact__title--link:hover { color: var(--accent); }
.contact--mini .contact__glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent); }

@media (max-width: 900px) {
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-meta div:nth-child(2) { border-right: 0; }
  .cs-meta div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cs-story { grid-template-columns: 1fr; }
  .cs-story__line { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .mock-phones { flex-direction: column; }
  .phone { width: 70vw; max-width: 280px; }
  .phone--story, .phone--feed { transform: none; }
  .bb { width: 88%; top: 16%; transform: translateX(-50%) perspective(1000px) rotateY(-10deg); }
  .bb__lamps i { width: 26px; }
}

/* ================= SOCIAL PROJECTS PAGE ================= */
.sm-hero { padding: 140px var(--pad) 40px !important; background: radial-gradient(60% 60% at 80% 0%, rgba(227, 38, 47, .22), transparent 70%); }
.sm-hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 11vw, 180px); line-height: .9; margin: 14px 0 22px; }
.sm-hero__title em { font-size: .9em; }
.sm-hero__lede { max-width: 520px; font-size: 17px; }
.sm-chips { position: sticky; top: 72px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--pad); scrollbar-width: none;
  background: rgba(7, 7, 7, .8); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.sm-chips::-webkit-scrollbar { display: none; }
.sm-chips a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: .25s; }
.sm-chips a:hover { color: #fff; border-color: var(--red); background: rgba(227, 38, 47, .15); }

.sm-brand { padding: clamp(56px, 8vw, 110px) var(--pad) !important; border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.sm-brand__head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.sm-brand__num { font-family: var(--display); color: var(--red); font-size: 30px; }
.sm-brand__name { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 96px); line-height: .95; }
.sm-brand__sub { margin-left: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sm-brand__body { display: grid; gap: 18px; }
.sm-page, .sm-post { padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; border-radius: 18px; }
.sm-page img, .sm-post img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sm-page:hover img, .sm-post:hover img { transform: scale(1.03); }
.sm-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sm-post { border-radius: 12px; aspect-ratio: 4 / 5; }
.sm-post img { height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 60px 16px; background: rgba(5, 5, 5, .94); backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1300px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 12px; object-fit: contain; }
.lightbox figcaption { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.lightbox__btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; cursor: pointer; transition: background .25s; }
.lightbox__btn:hover { background: var(--red); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 720px) {
  .sm-chips { top: 66px; }
  .sm-brand__sub { margin-left: 0; width: 100%; }
  .sm-posts { grid-template-columns: repeat(2, 1fr); }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 18px; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}
