@property --plate { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --ground: #050505;
  --card: #141414;
  --card-2: #1b1b1b;
  --ink: #f5f5f4;
  --muted: #9b9b9b;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--ground); color-scheme: dark; }
body {
  position: relative;
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }


/* =================== Intro screen =================== */
.intro { display: none; }
.is-intro body { overflow: hidden; }
.is-intro .intro, .intro-leaving .intro {
  display: block; position: fixed; inset: 0; z-index: 5; background: var(--ground);
  transition: opacity 900ms cubic-bezier(.65, 0, .35, 1);
}
.is-intro .intro { animation: intro-safety 0s 6s forwards; }
@keyframes intro-safety { to { opacity: 0; visibility: hidden; } }
.intro-leaving .intro { opacity: 0; pointer-events: none; }

.intro-name {
  position: absolute; left: 0; right: 0; text-align: center;
  top: calc(50% + 74px);
  font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink);
  animation: intro-text 1000ms var(--ease-out) 250ms both;
  transition: opacity 600ms var(--ease-out), filter 600ms var(--ease-out), transform 700ms var(--ease-out);
}
@keyframes intro-text { from { opacity: 0; filter: blur(14px); transform: translateY(10px) scale(.97); } to { opacity: 1; filter: none; transform: none; } }
.intro-leaving .intro-name { opacity: 0; filter: blur(12px); transform: translateY(-14px) scale(.98); }

/* Nothing about the photo moves until the script has placed it in the middle */
.is-intro:not(.intro-go) .avatar-wrap { visibility: hidden; }
.is-intro:not(.intro-go) .avatar-wrap, .is-intro:not(.intro-go) .avatar-wrap *,
.is-intro:not(.intro-go) .avatar-wrap *::before, .is-intro:not(.intro-go) .avatar-wrap *::after,
.is-intro:not(.intro-go) .intro-name { animation-play-state: paused !important; }

/* Page entrance waits for the intro to hand over */
.is-intro .reveal, .is-intro .title .w, .is-intro .title .line { animation-play-state: paused; }

/* =================== Page =================== */
.page {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  padding: clamp(56px, 8.7vh, 104px) 16px 40px;
}
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- Avatar: photo in a glass ring ---------- */
.avatar-wrap {
  --size: 112px;
  position: relative; width: var(--size); height: var(--size); isolation: isolate;
  z-index: 6;
  transform: translate3d(var(--ix, 0px), var(--iy, 0px), 0) scale(var(--is, 1));
  animation: avatar-in 900ms var(--ease-out) 50ms backwards;
}
@keyframes avatar-in { from { opacity: 0; } to { opacity: 1; } }
.avatar-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(255,255,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.12);
}
/* a faint glint that drifts round the ring */
.avatar-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 250deg, rgba(255,255,255,.55) 310deg, transparent 350deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  animation: ring-in 1600ms var(--ease-out) 900ms forwards, ring-turn 18s linear infinite;
}
@keyframes ring-in { to { opacity: 1; } }
@keyframes ring-turn { to { transform: rotate(360deg); } }
.avatar-clip {
  position: absolute; inset: 6px; border-radius: 50%; overflow: hidden;
  animation: intro-photo 1300ms cubic-bezier(.16, 1, .3, 1) 80ms backwards;
}
.avatar-clip img { width: 100%; height: 100%; object-fit: cover; }
@keyframes intro-photo { from { transform: scale(1.5); filter: blur(8px) saturate(.4); } to { transform: none; filter: none; } }

/* thin progress ring that draws while the photo loads */
.avatar-progress {
  position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px);
  transform: rotate(-90deg); overflow: visible; pointer-events: none;
  opacity: 0; transition: opacity 600ms var(--ease-out);
}
.is-intro .avatar-progress { opacity: 1; }
.avatar-progress circle {
  fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.2; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.6));
}
.is-intro .avatar-progress circle, .intro-leaving .avatar-progress circle { animation: draw 1100ms cubic-bezier(.65, 0, .25, 1) 150ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Load: everything condenses out of a blur ---------- */
@keyframes dissolve {
  from { opacity: 0; filter: blur(14px); transform: translateY(14px); }
  to   { opacity: 1; filter: none; transform: none; }
}
@keyframes pop {
  from { opacity: 0; filter: blur(10px); transform: translateY(10px) scale(.86); }
  to   { opacity: 1; filter: none; transform: none; }
}
@keyframes letter { from { opacity: 0; filter: blur(16px); } to { opacity: 1; filter: none; } }
@keyframes line-in { from { opacity: 0; filter: blur(22px); transform: scale(1.015); } to { opacity: 1; filter: none; transform: none; } }
.reveal { animation: dissolve 900ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
.reveal.pop { animation: pop 800ms var(--spring) both; animation-delay: var(--d, 0ms); }

/* ---------- Headline ---------- */
.title {
  margin-top: 26px;
  font-size: min(92px, calc((100vw - 40px) / 10.4));
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.06em;
}
.title .line { display: block; white-space: nowrap; animation: line-in 1500ms var(--ease-out) 150ms both; }
.title .w {
  display: inline-block;
  padding: .04em .1em .16em; margin: -.04em -.1em -.16em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(245,245,244,.55) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: letter 1100ms var(--ease-out) both; animation-delay: var(--d, 0ms);
}

/* ---------- Pills ---------- */
.glass {
  position: relative; isolation: isolate;
  background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.04),
    inset 0 0 0 1px rgba(255,255,255,.08);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 70%);
  opacity: 0; transition: opacity 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .glass:hover::before { opacity: 1; } }

.socials { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 14px 0 15px; border-radius: 999px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.03em; color: #fff;
  transition: transform 450ms var(--spring);
}
.pill:active { transform: scale(.97); }
.si { width: 22px; height: 22px; flex: none; display: block; }
.si svg { width: 100%; height: 100%; }
.si, .si * { transform-box: fill-box; transform-origin: center; }
.pill .si, .pill .si * { transition: transform 450ms cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover .si { transform: rotate(-8deg) scale(1.08); }
  .pill:hover .badge { transform: scale(1.1); }
}
/* icon slots stay empty until each flying icon lands */
.icons-pending .pill .si:not(.landed) { opacity: 0; }

.badge {
  width: 17px; height: 17px; flex: none;
  transition: transform 450ms cubic-bezier(.22, 1, .36, 1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233b9cf5' d='M12 1.5l2.4 1.8 3-.2 1 2.8 2.6 1.6-.8 2.9 1.3 2.7-2.3 1.9-.2 3-2.9.6-1.6 2.5-2.8-1L12 22.5l-2.4-1.8-2.9 1-1.6-2.5-2.9-.6-.2-3-2.3-1.9 1.3-2.7-.8-2.9L3.6 5.5l1-2.8 3 .2z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7.8 12.3l2.8 2.7 5.6-5.8'/%3E%3C/svg%3E") center/contain no-repeat;
}

.bio {
  margin-top: 36px; max-width: 760px;
  font-size: 21px; line-height: 35px; letter-spacing: -0.035em; color: #9c9c9c;
  text-wrap: balance;
}
.ventures {
  margin-top: 22px;
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px;
  font-size: 19px; font-weight: 600; letter-spacing: -0.035em; color: var(--ink);
}
.ventures .comma { margin: 0 -4px 0 -6px; }
.pill-sm { height: 42px; font-size: 19px; padding: 0 14px 0 9px; }
.pill-sm .si { width: 24px; height: 24px; }

/* =================== Intro: icons pop out, orbit, fly down =================== */
.intro-fly { position: fixed; inset: 0; z-index: 8; pointer-events: none; }
.intro-bubble {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%;
  display: grid; place-items: center; will-change: transform, opacity;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.1);
  transition: background-color 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.intro-bubble .si { width: 24px; height: 24px; opacity: 1; }
.intro-bubble.landing { background: rgba(255,255,255,0); box-shadow: inset 0 0 0 1px rgba(255,255,255,0); }
.intro-bubble.comet {
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.14), 0 0 22px 2px rgba(255,255,255,.12);
  transition: box-shadow 250ms var(--ease-out), background 250ms var(--ease-out);
}
.trail {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 70%);
  opacity: calc(.4 - var(--k) * .1); filter: blur(calc(var(--k) * 1.2px));
  mix-blend-mode: screen; pointer-events: none;
}
.impact {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 0 16px 2px rgba(255,255,255,.14);
  mix-blend-mode: screen;
}

/* =================== Cards =================== */
.card {
  position: relative;
  width: 640px; max-width: 100%;
  margin-top: 55px;
  border-radius: 26px; overflow: hidden;
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 30px 80px rgba(0,0,0,.45);
  text-align: left;
}
/* the card condenses in once it reaches the screen, then its contents follow one by one */
.js .card { opacity: 0; filter: blur(18px); transform: translateY(24px) scale(.98); }
.js .card.in { animation: card-in 1100ms var(--ease-out) forwards; }
@keyframes card-in { to { opacity: 1; filter: none; transform: none; } }
.js .reveal-on-scroll { opacity: 0; filter: blur(18px); transform: translateY(24px); }
.js .reveal-on-scroll.in { animation: card-in 1100ms var(--ease-out) forwards; }

.media { position: relative; height: 297px; overflow: hidden; background: #1a1a1a; }
.media video, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media-fallback {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 30% 60%, #7a3b1f, transparent 70%),
    radial-gradient(35% 45% at 70% 35%, #d8c4a4, transparent 70%),
    radial-gradient(50% 60% at 80% 90%, #4a2a1c, transparent 70%),
    linear-gradient(135deg, #2a1810, #5d3420 50%, #1d1410);
  filter: blur(20px);
  animation: mdrift 14s ease-in-out infinite alternate;
}
.media-fallback.alt {
  background:
    radial-gradient(40% 50% at 25% 40%, #3b5a6b, transparent 70%),
    radial-gradient(35% 45% at 60% 55%, #d9b27a, transparent 70%),
    radial-gradient(50% 60% at 85% 20%, #8a5a3a, transparent 70%),
    linear-gradient(135deg, #1b2226, #4a3a2a 50%, #141414);
}
@keyframes mdrift { from { transform: translate3d(-4%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.08); } }


.ventures .amp { color: var(--muted); font-weight: 500; }

/* =================== Work =================== */
.work-kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 10px; }

/* ---------- On the feed: wall of screens behind a sticky Reels phone ----------
   Measured from the reference at 1440 wide: tiles 310×655, radius 46.75, column gap 26,
   row gap 25, five columns centred, the phone screen 297×630 over the middle column. */
.feed { width: 100%; margin-top: 130px; display: flex; flex-direction: column; align-items: center; }
.feed-head { text-align: center; }
.feed-stage {
  --tw: clamp(200px, 21.53vw, 310px);           /* tile width */
  --th: calc(var(--tw) * 2.113);                /* tile height (655/310) */
  --cg: calc(var(--tw) * .0839);                /* column gap (26/310) */
  --rg: calc(var(--tw) * .0806);                /* row gap (25/310) */
  --sw: calc(var(--tw) * .958);                 /* phone screen width (297/310) */
  --sh: calc(var(--sw) * 2.121);                /* phone screen height (630/297) */
  --bz: calc(var(--sw) * .037);                 /* phone bezel */
  position: relative; width: 100vw; flex: none; margin-top: 56px;
  overflow-x: clip;                             /* clip the wall sideways without breaking sticky */
}
.feed-wall { position: relative; width: calc(var(--tw) * 5 + var(--cg) * 4); left: 50%; translate: -50% 0; display: flex; flex-direction: column; gap: var(--rg); }
.fw-row { display: flex; gap: var(--cg); margin: 0; padding: 0; list-style: none; }
.fw-tile {
  position: relative; flex: none; width: var(--tw); height: var(--th); overflow: hidden;
  border-radius: calc(var(--tw) * .151);
  background: #1a1b1f; color: #111; font-family: inherit; text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.fw-tile > img:not(.fw-ava) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* profile card */
.fw-profile { text-align: center; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--tw) * 2 / 100); text-align: center; padding: calc(var(--tw) * 8 / 100); }
.fw-ava { width: calc(var(--tw) * 34 / 100); height: calc(var(--tw) * 34 / 100); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 calc(var(--tw) * 1.6 / 100) #f2f2f2; margin-bottom: calc(var(--tw) * 4 / 100); }
.fw-profile > b { font-size: calc(var(--tw) * 8 / 100); letter-spacing: -0.04em; }
.fw-profile > small { font-size: calc(var(--tw) * 4.6 / 100); color: #777; }
.fw-row-stats { display: flex; gap: calc(var(--tw) * 6 / 100); margin: calc(var(--tw) * 7 / 100) 0; }
.fw-row-stats span { display: flex; flex-direction: column; font-size: calc(var(--tw) * 3.8 / 100); color: #888; }
.fw-row-stats b { font-size: calc(var(--tw) * 6.4 / 100); color: #111; letter-spacing: -0.03em; }
.fw-btn { padding: calc(var(--tw) * 3.6 / 100) calc(var(--tw) * 10 / 100); border-radius: 99px; background: #111; color: #fff; font-size: calc(var(--tw) * 4.6 / 100); font-weight: 600; }
/* stat card */
.fw-stat { background: #f6ecd8; display: flex; flex-direction: column; padding: calc(var(--tw) * 11 / 100) calc(var(--tw) * 9 / 100); }
.fw-stat small { font-size: calc(var(--tw) * 4.6 / 100); color: #8a7a5c; font-weight: 600; }
.fw-stat > b { margin-top: calc(var(--tw) * 3 / 100); font-size: calc(var(--tw) * 24 / 100); line-height: .9; font-weight: 600; letter-spacing: -0.07em; }
.fw-stat > b i { font-style: normal; color: #f07a00; }
.fw-bars { flex: 1; display: flex; align-items: flex-end; gap: calc(var(--tw) * 2.6 / 100); margin: calc(var(--tw) * 12 / 100) 0 calc(var(--tw) * 8 / 100); }
.fw-bars i { flex: 1; height: var(--h); border-radius: calc(var(--tw) * 2 / 100); background: linear-gradient(#ffb24d, #f26b00); }
.fw-bars i:nth-child(-n+5) { background: #e6d6b4; }
/* client cards */
.fw-stack { background: #d9d2f7; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--tw) * 5 / 100); padding: calc(var(--tw) * 8 / 100); }
.fw-note { order: -1; font-size: calc(var(--tw) * 5 / 100); font-weight: 700; color: #4b3fa8; margin-bottom: calc(var(--tw) * 2 / 100); }
.fw-client { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--tw) * 1 / 100); padding: calc(var(--tw) * 7 / 100); border-radius: calc(var(--tw) * 9 / 100); background: #fff; }
.fw-client img { width: calc(var(--tw) * 22 / 100); height: calc(var(--tw) * 22 / 100); border-radius: 50%; object-fit: cover; margin-bottom: calc(var(--tw) * 3 / 100); }
.fw-client b { font-size: calc(var(--tw) * 7.2 / 100); letter-spacing: -0.035em; }
.fw-client small { font-size: calc(var(--tw) * 4.4 / 100); color: #777; }
.fw-stack-dark { background: #232429; }
.fw-stack-dark .fw-note { color: #ff9f2e; }
.fw-stack-dark .fw-client { background: #2f3037; color: #fff; }
.fw-stack-dark .fw-client small { color: #9a9a9a; }
/* skills card */
.fw-skills { background: linear-gradient(165deg, #ffb24d, #f05a00); color: #1a0d00; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 8 / 100) calc(var(--tw) * 12 / 100); gap: calc(var(--tw) * 1 / 100); }
.fw-skills small { font-size: calc(var(--tw) * 5 / 100); font-weight: 700; margin-bottom: auto; }
.fw-skills b { font-size: calc(var(--tw) * 10.5 / 100); line-height: 1; letter-spacing: -0.055em; font-weight: 600; }
.fw-skills b:nth-child(odd) { color: #fff; }
/* empty slots: nothing behind the phone */
.fw-gap { visibility: hidden; }
.fw-tile > small, .fw-tile .fw-foot { font-size: calc(var(--tw) * 4.6 / 100); font-weight: 700; letter-spacing: -0.01em; }
/* top reels list */
.fw-top { background: #fff; display: flex; flex-direction: column; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 7 / 100); }
.fw-top > small { color: #888; }
.fw-list { display: flex; flex-direction: column; gap: calc(var(--tw) * 4.4 / 100); margin: calc(var(--tw) * 7 / 100) 0 auto; }
.fw-list span { display: grid; grid-template-columns: calc(var(--tw) * 30 / 100) 1fr auto; align-items: center; gap: calc(var(--tw) * 3.4 / 100); }
.fw-list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--tw) * 3 / 100); }
.fw-list b { font-size: calc(var(--tw) * 4.6 / 100); letter-spacing: -0.02em; line-height: 1.15; }
.fw-list em { font-style: normal; font-size: calc(var(--tw) * 5 / 100); font-weight: 700; color: #f07a00; }
.fw-foot { color: #aaa; }
/* biggest reel */
.fw-big { background: #0f0f11; color: #fff; display: flex; flex-direction: column; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 8 / 100); }
.fw-big > small { color: #ff9f2e; }
.fw-big > b { margin-top: calc(var(--tw) * 6 / 100); font-size: calc(var(--tw) * 27 / 100); line-height: .9; font-weight: 600; letter-spacing: -0.07em; }
.fw-big > b.fw-b2 { margin-top: calc(var(--tw) * 5 / 100); font-size: calc(var(--tw) * 15 / 100); color: #ff9f2e; }
.fw-big > span:not(.fw-thumb) { font-size: calc(var(--tw) * 4.6 / 100); color: #8d8d8d; }
.fw-thumb { margin-top: auto; border-radius: calc(var(--tw) * 5 / 100); overflow: hidden; }
.fw-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fw-big em { margin-top: calc(var(--tw) * 3.6 / 100); font-style: normal; font-size: calc(var(--tw) * 4.8 / 100); font-weight: 600; }
/* websites */
.fw-site { background: #dfe8ff; display: flex; flex-direction: column; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 7 / 100); color: #0f1a3a; }
.fw-site > small { color: #3d5bd9; }
.fw-shot { display: block; margin-top: calc(var(--tw) * 7 / 100); border-radius: calc(var(--tw) * 4 / 100); overflow: hidden; box-shadow: 0 calc(var(--tw) * 4 / 100) calc(var(--tw) * 10 / 100) rgba(20,40,120,.18); }
.fw-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.fw-browser { display: flex; align-items: center; gap: calc(var(--tw) * 1.6 / 100); height: calc(var(--tw) * 8 / 100); padding: 0 calc(var(--tw) * 3 / 100); background: #f3f5fb; }
.fw-browser i { width: calc(var(--tw) * 2.2 / 100); height: calc(var(--tw) * 2.2 / 100); border-radius: 50%; background: #ff5f57; }
.fw-browser i:nth-child(2) { background: #febc2e; } .fw-browser i:nth-child(3) { background: #28c840; }
.fw-browser em { margin-left: auto; font-style: normal; font-size: calc(var(--tw) * 3.2 / 100); color: #8b93a8; }
.fw-site > b { margin-top: auto; font-size: calc(var(--tw) * 9.4 / 100); line-height: 1.02; letter-spacing: -0.05em; }
.fw-link { margin-top: calc(var(--tw) * 4 / 100); font-size: calc(var(--tw) * 4.6 / 100); font-weight: 700; color: #3d5bd9; }
/* motion graphics */
.fw-motion { background: #121316; color: #fff; display: flex; flex-direction: column; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 7 / 100); }
.fw-motion > small { color: #8f9bff; }
.fw-motion .fw-shot { box-shadow: 0 calc(var(--tw) * 4 / 100) calc(var(--tw) * 12 / 100) rgba(0,0,0,.5); }
.fw-motion .fw-shot img { aspect-ratio: 16 / 9; }
.fw-motion > b { margin-top: auto; font-size: calc(var(--tw) * 10 / 100); line-height: 1; letter-spacing: -0.05em; }
.fw-tags { display: flex; gap: calc(var(--tw) * 2.4 / 100); margin-top: calc(var(--tw) * 5 / 100); }
.fw-tags i { font-style: normal; padding: calc(var(--tw) * 1.8 / 100) calc(var(--tw) * 3.6 / 100); border-radius: 99px; background: rgba(255,255,255,.1); font-size: calc(var(--tw) * 3.8 / 100); font-weight: 600; }
/* contact */
.fw-contact { background: radial-gradient(90% 60% at 50% 100%, rgba(255,150,40,.45), transparent 70%), #0f0f11; color: #fff; display: flex; flex-direction: column; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 8 / 100); }
.fw-contact > small { color: #9a9a9a; }
.fw-contact > b { margin-top: auto; font-size: calc(var(--tw) * 13 / 100); line-height: .98; letter-spacing: -0.06em; font-weight: 600; }
.fw-dm { display: flex; align-items: center; gap: calc(var(--tw) * 2.6 / 100); margin-top: calc(var(--tw) * 8 / 100); padding: calc(var(--tw) * 2.4 / 100) calc(var(--tw) * 4.4 / 100) calc(var(--tw) * 2.4 / 100) calc(var(--tw) * 2.4 / 100); border-radius: 99px; background: #fff; color: #111; font-size: calc(var(--tw) * 4.4 / 100); font-weight: 700; width: max-content; }
.fw-dm img { width: calc(var(--tw) * 8.6 / 100); height: calc(var(--tw) * 8.6 / 100); border-radius: 50%; object-fit: cover; }
/* Raj Shamani */
.fw-raj { background: #f4e4ea; display: flex; flex-direction: column; align-items: center; padding: calc(var(--tw) * 10 / 100) calc(var(--tw) * 8 / 100); color: #2a0f19; text-align: center; }
.fw-raj > small { color: #b0436b; }
.fw-vthumb { display: block; width: 56%; margin: calc(var(--tw) * 7 / 100) 0 calc(var(--tw) * 6 / 100); border-radius: calc(var(--tw) * 5 / 100); overflow: hidden; box-shadow: 0 calc(var(--tw) * 4 / 100) calc(var(--tw) * 12 / 100) rgba(90,20,50,.25); }
.fw-vthumb img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.fw-raj > b { margin-top: auto; font-size: calc(var(--tw) * 17 / 100); line-height: .9; letter-spacing: -0.06em; font-weight: 600; }
.fw-raj > span:not(.fw-vthumb) { margin-top: calc(var(--tw) * 2.4 / 100); font-size: calc(var(--tw) * 4.4 / 100); color: #8a5a6b; }
/* highlights: plays like an Instagram story */
.fw-story { background: #000; color: #fff; }
.st-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 250ms ease; }
.st-media > .on { opacity: 1; }
.fw-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 22%); pointer-events: none; }
.st-bars { position: absolute; z-index: 2; left: calc(var(--tw) * 4 / 100); right: calc(var(--tw) * 4 / 100); top: calc(var(--tw) * 5 / 100); display: flex; gap: calc(var(--tw) * 1.2 / 100); }
.st-bars i { flex: 1; height: calc(var(--tw) * 0.8 / 100); border-radius: 9px; background: rgba(255,255,255,.35); overflow: hidden; }
.st-bars b { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.st-head { position: absolute; z-index: 2; left: calc(var(--tw) * 4 / 100); top: calc(var(--tw) * 9.5 / 100); display: flex; align-items: center; gap: calc(var(--tw) * 2.4 / 100); }
.st-head img { width: calc(var(--tw) * 9 / 100); height: calc(var(--tw) * 9 / 100); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 calc(var(--tw) * 0.6 / 100) #fff; }
.st-head b { font-size: calc(var(--tw) * 4.4 / 100); letter-spacing: -0.01em; }
.st-head em { font-style: normal; font-size: calc(var(--tw) * 4 / 100); color: rgba(255,255,255,.75); }

/* the phone: rides in with the wall, then sticks while the wall slides past */
.feed-pin { position: absolute; inset: 0; pointer-events: none; }
.feed-sticky {
  position: sticky; top: max(12px, calc(58vh - var(--sh) / 2 - var(--bz)));
  display: flex; justify-content: center;
  margin-top: calc((var(--th) - var(--sh)) / 2 - var(--bz));
}
.ig-phone {
  position: relative; pointer-events: auto; padding: var(--bz); border: 0; cursor: pointer;
  border-radius: calc(var(--sw) * .118 + var(--bz));
  background: linear-gradient(145deg, #3b3d43, #16171a 45%, #2b2d33);
  box-shadow: 0 0 0 1.5px #55575e, 0 0 0 3px #0c0c0e, 0 50px 120px rgba(0,0,0,.65), 0 20px 40px rgba(0,0,0,.45);
  -webkit-tap-highlight-color: transparent;
}
[data-theme="light"] .ig-phone { box-shadow: 0 0 0 1.5px #55575e, 0 0 0 3px #0c0c0e, 0 50px 110px rgba(0,0,0,.28), 0 18px 36px rgba(0,0,0,.18); }
.ig-buttons i { position: absolute; width: 3px; border-radius: 2px; background: #2c2e33; }
.ig-buttons i:nth-child(1) { left: -4px; top: 18%; height: 4%; }
.ig-buttons i:nth-child(2) { left: -4px; top: 26%; height: 8%; }
.ig-buttons i:nth-child(3) { left: -4px; top: 36%; height: 8%; }
.ig-buttons i:nth-child(4) { right: -4px; top: 28%; height: 13%; }
.ig-screen {
  position: relative; display: block; width: var(--sw); height: var(--sh); overflow: hidden;
  border-radius: calc(var(--sw) * .118); background: #000; container-type: inline-size; color: #fff; text-align: left;
}
.ig-track { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; }
.ig-slide { position: relative; flex: none; width: 100%; height: 100%; overflow: hidden; background: #000; }
.ig-fill { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(14px) brightness(.45) saturate(1.2); }
.ig-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ig-slide.is-vertical video { object-fit: cover; }
.ig-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: inherit; }
.ig-ui::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 14%, transparent 58%, rgba(0,0,0,.75) 88%); }
.ig-status { position: absolute; left: 0; right: 0; top: 0; height: 13cqw; display: flex; align-items: center; justify-content: space-between; padding: 1cqw 8cqw 0 11cqw; }
.ig-status b { font-size: 4.9cqw; font-weight: 600; }
.ig-island { position: absolute; left: 50%; top: 3cqw; translate: -50% 0; width: 30cqw; height: 8.5cqw; border-radius: 99px; background: #000; }
.ig-sys { display: flex; align-items: flex-end; gap: .7cqw; }
.ig-sys i { width: 1.1cqw; border-radius: .4cqw; background: #fff; }
.ig-sys i:nth-child(1) { height: 1.5cqw; } .ig-sys i:nth-child(2) { height: 2.2cqw; } .ig-sys i:nth-child(3) { height: 2.9cqw; } .ig-sys i:nth-child(4) { height: 3.5cqw; opacity: .4; }
.ig-sys em { width: 7.5cqw; height: 3.6cqw; margin-left: 1.6cqw; border-radius: 1.2cqw; background: #fff; box-shadow: 0 0 0 .5cqw rgba(255,255,255,.35); }
.ig-top { position: absolute; top: 15cqw; left: 5cqw; right: 5cqw; display: flex; align-items: center; justify-content: space-between; }
.ig-top b { font-size: 6.6cqw; font-weight: 700; letter-spacing: -0.02em; }
.ig-top svg { width: 7.5cqw; height: 7.5cqw; }
.ig-side { position: absolute; right: 3.5cqw; bottom: 47cqw; display: flex; flex-direction: column; align-items: center; gap: 5cqw; }
.ig-act { display: flex; flex-direction: column; align-items: center; gap: 1cqw; }
.ig-act svg { width: 8.6cqw; height: 8.6cqw; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.ig-act em { font-style: normal; font-size: 3.6cqw; font-weight: 600; min-height: 1em; }
.ig-more { flex-direction: row; gap: .9cqw; padding: 2cqw 0; }
.ig-more i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #fff; }
.ig-meta { position: absolute; left: 4.5cqw; right: 17cqw; bottom: 26cqw; display: flex; flex-direction: column; gap: 2.6cqw; }
.ig-user { display: flex; align-items: center; gap: 2.2cqw; }
.ig-ava { width: 8.6cqw; height: 8.6cqw; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .5cqw rgba(255,255,255,.7); }
.ig-handle { font-size: 4.3cqw; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38cqw; }
.ig-tick { width: 3.8cqw; height: 3.8cqw; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233b9cf5' d='M12 1.5l2.4 1.8 3-.2 1 2.8 2.6 1.6-.8 2.9 1.3 2.7-2.3 1.9-.2 3-2.9.6-1.6 2.5-2.8-1L12 22.5l-2.4-1.8-2.9 1-1.6-2.5-2.9-.6-.2-3-2.3-1.9 1.3-2.7-.8-2.9L3.6 5.5l1-2.8 3 .2z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7.8 12.3l2.8 2.7 5.6-5.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.ig-tick[hidden] { display: none; }
.ig-follow { padding: 1cqw 2.8cqw; border-radius: 2.2cqw; box-shadow: inset 0 0 0 .35cqw rgba(255,255,255,.7); font-size: 3.8cqw; font-weight: 600; }
.ig-caption { font-size: 3.9cqw; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-liked { display: flex; align-items: center; gap: 1.6cqw; font-size: 3.4cqw; color: rgba(255,255,255,.85); }
.ig-liked[hidden] { display: none; }
.ig-liked img { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; object-fit: cover; }
.ig-progress { position: absolute; left: 4cqw; right: 4cqw; bottom: 22cqw; height: .55cqw; border-radius: 1cqw; background: rgba(255,255,255,.3); overflow: hidden; }
.ig-progress i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.ig-tabs {
  position: absolute; left: 4.5cqw; right: 4.5cqw; bottom: 4.5cqw; height: 14cqw; padding: 0 3cqw;
  display: flex; align-items: center; justify-content: space-between; border-radius: 99px;
  background: rgba(28,28,30,.82); box-shadow: inset 0 0 0 .3cqw rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ig-tabs svg { width: 7.2cqw; height: 7.2cqw; margin: 0 2cqw; }
.ig-tab-on { display: grid; place-items: center; width: 20cqw; height: 10.5cqw; border-radius: 99px; background: rgba(255,255,255,.16); }
.ig-tab-on svg { margin: 0; }
.ig-tabs img { width: 7.6cqw; height: 7.6cqw; border-radius: 50%; object-fit: cover; margin-right: 2cqw; box-shadow: 0 0 0 .4cqw #fff; }
/* "Watch full reel": dark pill with a prism glint running round its edge */
@property --glint { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ig-full {
  position: absolute; z-index: 3; left: 50%; top: 25cqw; translate: -50% 0; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 1.8cqw; height: 9.6cqw; padding: 0 4.2cqw 0 3.4cqw; border: 0; border-radius: 99px;
  background: transparent; color: #fff; font-family: inherit; font-size: 3.7cqw; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  transition: transform 400ms var(--spring);
}
/* the dark fill sits over the glow, so the glow only shows round the outside */
.ig-full::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #0b0b0d; box-shadow: inset 0 0 0 .25cqw rgba(255,255,255,.14), 0 1cqw 4cqw rgba(0,0,0,.5); }
.ig-full:hover { transform: scale(1.05); }
.ig-full:active { transform: scale(.96); }
.ig-full svg { width: 4.6cqw; height: 4.6cqw; }
.ig-full::before, .ig-full-glow {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--glint), transparent 0deg 250deg, #ff4040 262deg, #ffd23f 276deg, #ffffff 292deg, #ffffff 304deg, #4fd8ff 318deg, #7a5cff 330deg, transparent 344deg);
  animation: glint 3.2s linear infinite;
}
.ig-full::before {
  z-index: 1; padding: .35cqw;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.ig-full-glow { inset: -1.2cqw; z-index: -1; filter: blur(2.6cqw); opacity: .75; }
@keyframes glint { to { --glint: 360deg; } }
@media (prefers-reduced-motion: reduce) { .ig-full::before, .ig-full-glow { animation: none; --glint: 300deg; } }

/* sound toggle flash */
.ig-sound { position: absolute; left: 50%; top: 50%; width: 18cqw; height: 18cqw; margin: -9cqw 0 0 -9cqw; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); opacity: 0; }
.ig-sound svg { width: 9cqw; height: 9cqw; }
.ig-sound .waves { display: none; }
.has-sound .ig-sound .waves { display: inline; }
.has-sound .ig-sound .mute { display: none; }
.show-sound .ig-sound { animation: igflash 900ms var(--ease-out); }
@keyframes igflash { 0% { opacity: 0; transform: scale(.7); } 20% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- motion graphics player ---------- */
.mograph { width: 100%; margin-top: 130px; display: flex; flex-direction: column; align-items: center; }
.mograph-sub { margin-top: 10px; font-size: 17px; letter-spacing: -0.025em; color: var(--muted); text-align: center; }
.player {
  position: relative; margin-top: 36px; width: min(1100px, 100%); aspect-ratio: 16 / 9;
  border-radius: 24px; overflow: hidden; background: #000; isolation: isolate;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06);
}
.player-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.player:fullscreen { border-radius: 0; }
.player:fullscreen .player-video { object-fit: contain; }
/* big centre button until someone turns the sound on */
.player-big {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 26px 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: #fff;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 40px rgba(0,0,0,.35);
  transition: transform 450ms var(--spring), opacity 300ms var(--ease-out), background 200ms;
}
.player-big:hover { transform: scale(1.05); background: rgba(255,255,255,.2); }
.player-big svg { width: 22px; height: 22px; }
.player.has-sound .player-big { opacity: 0; pointer-events: none; transform: scale(.9); }
/* control bar: shows on hover / when paused */
.player-bar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 10px; border-radius: 14px;
  background: rgba(0,0,0,.38); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.player.has-sound.is-awake .player-bar, .player.has-sound.is-paused .player-bar, .player.has-sound:focus-within .player-bar { opacity: 1; transform: none; }
.pb-btn { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: inherit; cursor: pointer; }
.pb-btn:hover { background: rgba(255,255,255,.12); }
.pb-btn svg { width: 20px; height: 20px; }
.pb-play .i-play, .player.is-paused .pb-play .i-pause { display: none; }
.player.is-paused .pb-play .i-play { display: block; }
.pb-mute .waves, .player.is-muted .pb-mute .waves { display: none; }
.player:not(.is-muted) .pb-mute .waves { display: inline; }
.player:not(.is-muted) .pb-mute .mute { display: none; }
.pb-time { flex: none; min-width: 36px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .85; }
.pb-seek {
  flex: 1; height: 4px; margin: 0 4px; appearance: none; -webkit-appearance: none; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, #fff var(--p, 0%), rgba(255,255,255,.25) var(--p, 0%));
}
.pb-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.4); }
.pb-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
[data-theme="light"] .player { box-shadow: 0 40px 100px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.06); }





@media (max-width: 700px) {
}

/* ---------- full-screen player ---------- */
.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; animation: lb-in 380ms var(--ease-out); }
.lightbox[open]::backdrop { animation: lb-fade 300ms ease; }
.lightbox.is-closing { animation: lb-out 220ms ease forwards; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lb-out { to { opacity: 0; transform: scale(.96); } }
@keyframes lb-fade { from { opacity: 0; } }
.lb-stage { width: min(92vw, calc((100dvh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox.is-vertical .lb-stage { width: auto; height: calc(100dvh - 150px); aspect-ratio: 9 / 16; max-width: 92vw; }
.lb-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.lb-bar { width: min(92vw, 1100px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.lightbox.is-vertical .lb-bar { width: auto; min-width: min(92vw, 360px); }
.lb-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.lb-stats { display: flex; gap: 6px; }
.ed-stat {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.ed-stat svg { width: 14px; height: 14px; }
.ed-stat:nth-child(2) svg { color: #ff4d6d; }
.lb-count { font-size: 14px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: background 200ms, transform 350ms var(--spring);
}
.lb-btn:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-open body { overflow: hidden; }

/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }


@media (max-width: 700px) {
  .lb-prev, .lb-next { display: none; }
  .lb-stage { border-radius: 12px; }
  .lightbox.is-vertical .lb-stage { height: calc(100dvh - 170px); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[open], .lightbox.is-closing { animation: none; }
}

/* =================== 30M+ views + clients =================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.proof { width: 100%; margin-top: 96px; display: flex; flex-direction: column; align-items: center; }
.stat { position: relative; display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-size: clamp(96px, 15vw, 188px); line-height: .92; font-weight: 600;
  letter-spacing: -0.07em; font-variant-numeric: tabular-nums;
  padding: 0 .1em .08em .02em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(245,245,244,.5) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.stat-num .plus {
  background: linear-gradient(180deg, #ffd98a 10%, #ff9f2e 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  margin-left: .02em;
}
.stat-label {
  margin-top: 6px;
  font-size: 24px; font-weight: 500; letter-spacing: -0.035em; color: var(--ink);
}
.clients-label {
  margin-top: 70px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7a7a7a;
}

/* the client strip: two copies of the row slide left forever, pausing on hover */
.marquee {
  margin-top: 22px; width: 100vw; max-width: 1500px; flex: none;
  display: flex; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-row {
  display: flex; gap: 12px; padding: 0 12px 0 0; margin: 0; list-style: none; flex: none;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.client {
  display: inline-flex; align-items: center; gap: 11px;
  height: 58px; padding: 0 20px 0 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform 450ms var(--spring), background 250ms var(--ease-out);
}
.client:hover { transform: translateY(-3px) scale(1.04); background: rgba(255,255,255,.11); }
.client:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.client img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255,255,255,.18); }
.c-name { font-size: 16.5px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.c-handle { font-size: 14.5px; font-weight: 500; letter-spacing: -0.02em; color: #8a8a8a; }

/* =================== Websites I've built =================== */
.sites { width: 100%; margin-top: 130px; display: flex; flex-direction: column; align-items: center; }
.section-title {
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; font-weight: 500; letter-spacing: -0.058em;
  padding: 0 .06em .1em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(245,245,244,.55) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.site-card {
  margin-top: 34px; width: 880px; max-width: 100%;
  display: block; padding: 10px; border-radius: 28px; text-align: left;
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.45);
  transition: transform 600ms var(--spring), box-shadow 400ms var(--ease-out);
}
.site-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.55); }
.site-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.browser { border-radius: 19px; overflow: hidden; background: #0c0c0c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.browser-bar {
  position: relative; height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 15px;
  background: #1a1a1a; border-bottom: 1px solid rgba(255,255,255,.05);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url {
  position: absolute; left: 50%; translate: -50% 0;
  min-width: 38%; padding: 5px 16px; border-radius: 8px; text-align: center;
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: #8f8f8f;
  background: rgba(255,255,255,.06);
}
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1400ms var(--ease-out); }
.site-card:hover .browser-view img { transform: scale(1.035); }
.site-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 10px 8px 14px; }
.site-name { font-size: 23px; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); }
.site-desc { margin-top: 3px; font-size: 15.5px; letter-spacing: -0.02em; color: var(--muted); }
.site-visit {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 19px; border-radius: 999px;
  background: #f4f4f4; color: #111; font-size: 15px; font-weight: 600; letter-spacing: -0.02em;
  transition: background 200ms;
}
.site-visit .arrow { display: inline-block; transition: transform 350ms var(--spring); }
.site-card:hover .site-visit { background: #fff; }
.site-card:hover .site-visit .arrow { transform: translate(2px, -2px); }

/* =================== CTA =================== */
.cta { width: 100%; margin-top: 130px; display: flex; justify-content: center; }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  width: 880px; max-width: 100%;
  padding: 64px 32px 60px; border-radius: 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.45);
}
/* slow warm light drifting behind the text */
.cta-glow {
  position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 30% 40%, rgba(255, 166, 60, .22), transparent 70%),
    radial-gradient(35% 40% at 72% 30%, rgba(120, 110, 255, .2), transparent 70%);
  filter: blur(30px);
  animation: cta-drift 14s var(--ease-in-out) infinite alternate;
}
@keyframes cta-drift { from { transform: translateX(-4%) rotate(-3deg); } to { transform: translateX(4%) rotate(3deg); } }
.cta-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 0 0 5px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.4);
}
.cta-kicker {
  margin-top: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a;
}
.cta-title {
  margin-top: 12px;
  font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -0.062em;
  padding: 0 .06em .1em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(245,245,244,.55) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.cta-sub {
  margin-top: 12px; max-width: 560px;
  font-size: 18px; line-height: 29px; letter-spacing: -0.03em; color: #9c9c9c;
}
.cta-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-primary, .cta-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 24px 0 18px; border-radius: 999px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.025em;
  transition: transform 450ms var(--spring), background 200ms, box-shadow 300ms var(--ease-out);
}
.cta-primary {
  background: #f4f4f4; color: #111;
  box-shadow: -8px 4px 22px rgba(255,80,200,.2), 8px 4px 22px rgba(80,255,160,.2), 0 -4px 20px rgba(90,120,255,.16);
}
.cta-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: -10px 6px 28px rgba(255,80,200,.28), 10px 6px 28px rgba(80,255,160,.28), 0 -4px 24px rgba(90,120,255,.22); }
.cta-primary .arrow { display: inline-block; transition: transform 350ms var(--spring); }
.cta-primary:hover .arrow { transform: translate(2px, -2px); }
.cta-secondary { color: var(--ink); padding: 0 22px 0 16px; }
.cta-secondary:hover { transform: translateY(-2px); }
.cta-primary:active, .cta-secondary:active { transform: scale(.97); }
.cta-primary .si, .cta-secondary .si { width: 22px; height: 22px; }

/* =================== Playground =================== */
.play { position: relative; width: 100vw; margin: 140px 0 0 calc(50% - 50vw); display: flex; flex-direction: column; align-items: center; }
.play-head { text-align: center; padding: 0 16px; }
.play-sub { margin-top: 10px; font-size: 17px; letter-spacing: -0.025em; color: var(--muted); }
.play-box {
  position: relative; width: min(1180px, calc(100vw - 32px)); height: min(560px, 70vh); margin-top: 34px;
  border-radius: 28px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none;
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.08);
}
.play-box.is-grabbing { cursor: grabbing; }
.pl { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: auto; }
.pl-letter {
  line-height: .86; padding: .04em .06em 0; font-weight: 700; letter-spacing: -0.04em; color: var(--ink);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.pl-ball { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd59a, #ff9f2e 45%, #d96a00); box-shadow: 0 10px 30px rgba(255,140,30,.35), inset 0 -6px 14px rgba(120,50,0,.35); }
.pl-pill {
  padding: .45em 1em; border-radius: 999px; white-space: nowrap; font-weight: 700; letter-spacing: -0.02em;
  color: #111; background: #f4f4f4; box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.play-reset {
  position: absolute; right: 16px; top: 16px; z-index: 2; height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); cursor: pointer;
  transition: transform 400ms var(--spring);
}
.play-reset:active { transform: scale(.94); }
[data-theme="light"] .play-box {
  background: #f6f6f5;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px rgba(0,0,0,.06);
}
[data-theme="light"] .pl-letter { text-shadow: 0 10px 24px rgba(0,0,0,.12); }
[data-theme="light"] .pl-pill { background: #141414; color: #fff; }
@media (max-width: 700px) {
  .play { margin-top: 100px; }
  .play-sub { font-size: 15px; }
  .play-box { height: 62vh; border-radius: 20px; margin-top: 24px; }
}

/* =================== Footer =================== */
.footer { padding: 160px 0 40px; text-align: center; overflow: hidden; }
.giant {
  font-size: min(150px, calc((100vw - 32px) / 7.4)); line-height: 1; font-weight: 500;
  letter-spacing: -0.065em; color: #232323; white-space: nowrap; padding-right: .06em;
}
.legal { margin-top: 34px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: #6f6f6f; }
.legal a:hover { color: #aaa; }

/* =================== Small screens =================== */
@media (max-width: 700px) {
  .socials { gap: 8px; margin-top: 24px; }
  .pill { height: 40px; font-size: 14.5px; padding: 0 12px 0 13px; gap: 7px; }
  .si { width: 19px; height: 19px; }
  .bio { font-size: 17px; line-height: 28px; margin-top: 26px; }
  .bio br { display: none; }
  .sites { margin-top: 96px; }
  .cta { margin-top: 96px; }
  .cta-card { padding: 44px 20px 40px; border-radius: 26px; }
  .cta-sub { font-size: 16px; line-height: 25px; }
  .cta-sub br { display: none; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-primary, .cta-secondary { justify-content: center; height: 52px; }
  .site-card { padding: 7px; border-radius: 22px; }
  .browser { border-radius: 16px; }
  .browser-bar { height: 32px; padding: 0 11px; gap: 5px; }
  .browser-bar i { width: 8px; height: 8px; }
  .browser-url { font-size: 11px; padding: 3px 10px; }
  .site-info { flex-wrap: wrap; padding: 14px 8px 6px 8px; }
  .site-name { font-size: 20px; }
  .site-desc { font-size: 14px; }
  .site-visit { width: 100%; justify-content: center; }
  .proof { margin-top: 72px; }
  .stat-label { font-size: 19px; }
  .clients-label { margin-top: 50px; }
  .client { height: 50px; gap: 9px; padding: 0 16px 0 6px; }
  .client img { width: 38px; height: 38px; }
  .c-name { font-size: 15px; }
  .c-handle { font-size: 13px; }
  .ventures { font-size: 16px; gap: 8px; }
  .pill-sm { height: 38px; font-size: 16px; }
  .pill-sm .si { width: 21px; height: 21px; }
  .card { margin-top: 40px; border-radius: 22px; }
  .media { height: 220px; }
  .card-body { padding: 26px 18px 20px; }
  .footer { padding-top: 130px; }
}

/* =================== Light / dark toggle =================== */
.theme-toggle {
  --k: .6;
  --rim: #b9bcff; --rim-hot: #ffffff; --rim-glow: #6f72ff;
  --tint: rgba(150, 150, 255, .55); --bloom: rgba(105, 108, 255, .45);
  position: fixed; top: 18px; left: 18px; z-index: 40;
  width: calc(110px * var(--k)); height: calc(57px * var(--k));
  padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: calc(18px * var(--k)); }
.tt-track {
  position: absolute; inset: 0; border-radius: calc(16px * var(--k));
  background: linear-gradient(180deg, #040405, #0e0e11);
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,.85),
    inset 0 -1px 0 rgba(255,255,255,.05),
    0 1px 0 rgba(255,255,255,.05),
    0 10px 30px rgba(0,0,0,.5);
}
.tt-thumb {
  position: absolute; left: calc(3px * var(--k)); top: calc(3px * var(--k));
  width: calc(51px * var(--k)); height: calc(51px * var(--k));
  border-radius: calc(14px * var(--k));
  will-change: transform;
}
.tt-body {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(180deg, #56575f 0%, #3c3d44 55%, #313238 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 6px 14px rgba(0,0,0,.6);
}
.tt-tint {
  position: absolute; inset: 0;
  background: radial-gradient(85% 75% at var(--tx, 50%) var(--ty, 108%), var(--tint), transparent 72%);
}
.tt-pixels { position: absolute; inset: 0; width: 100%; height: 100%; }
.tt-bloom {
  position: absolute; inset: -70%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side at var(--tx, 50%) var(--ty, 108%), var(--bloom), transparent 100%);
  filter: blur(calc(8px * var(--k)));
}
.tt-rim {
  position: absolute; inset: calc(-3.5px * var(--k)); border-radius: calc(17px * var(--k));
  padding: calc(1.6px * var(--k)); pointer-events: none;
  background: conic-gradient(from calc(var(--a, 180deg) - 78deg),
    transparent 0deg, var(--rim) 34deg, var(--rim-hot) 78deg, var(--rim) 122deg, transparent 156deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tt-rim-glow {
  padding: calc(4px * var(--k));
  background: conic-gradient(from calc(var(--a, 180deg) - 80deg),
    transparent 0deg, var(--rim-glow) 40deg, var(--rim-glow) 120deg, transparent 160deg, transparent 360deg);
  filter: blur(calc(4px * var(--k)));
  opacity: .95;
}

[data-theme="light"] .theme-toggle {
  --rim: #ffc83a; --rim-hot: #fff1b8; --rim-glow: #ffae00;
  --tint: rgba(255, 186, 50, .6); --bloom: rgba(255, 176, 30, .42);
}
[data-theme="light"] .tt-track {
  background: linear-gradient(180deg, #d9d8d4, #ebeae7);
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,.13),
    inset 0 -1px 0 rgba(255,255,255,.85),
    0 1px 0 rgba(255,255,255,.9),
    0 8px 22px rgba(0,0,0,.10);
}
[data-theme="light"] .tt-body {
  background: linear-gradient(180deg, #ffffff 0%, #f5f4f0 60%, #ecebe6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.05), 0 6px 14px rgba(0,0,0,.16), 0 1px 2px rgba(0,0,0,.12);
}

/* colours ease across quickly when the theme flips */
.theme-switching,
.theme-switching body,
.theme-switching *:not(.tt-thumb):not(.tt-rim),
.theme-switching *::before,
.theme-switching *::after {
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, opacity 260ms ease, fill 260ms ease, stroke 260ms ease !important;
}

@media (max-width: 700px) { .theme-toggle { --k: .54; top: 14px; left: 14px; } }

/* arrow nudging toward the switch */
.tt-arrow {
  position: fixed; z-index: 40; top: 34px; left: 92px; display: flex; align-items: flex-start; gap: 6px; pointer-events: none;
  color: var(--ink); opacity: .75;
}
.tt-arrow svg { width: 62px; height: 31px; animation: tt-nudge 1.3s var(--ease-in-out) infinite; }
.tt-arrow span { margin-top: 18px; font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-size: 17px; font-weight: 600; white-space: nowrap; }
@keyframes tt-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7px, -3px); } }
.toggle-tried .tt-arrow { opacity: 0 !important; transition: opacity 400ms ease; }
@media (max-width: 700px) { .tt-arrow { top: 26px; left: 70px; } .tt-arrow svg { width: 46px; height: 23px; } .tt-arrow span { font-size: 14px; margin-top: 12px; } }

/* "DM me on Instagram", top right */
.ig-cta {
  position: fixed; z-index: 40; top: 16px; right: 18px; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 12px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; color: #fff; text-decoration: none;
  transition: transform 450ms var(--spring);
}
.ig-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.18); }
.ig-cta::after {
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--cta-a, 0deg), #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
  animation: cta-spin 4s linear infinite;
}
.ig-cta-glow { position: absolute; inset: -6px; z-index: -3; border-radius: inherit; background: conic-gradient(from var(--cta-a, 0deg), #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); filter: blur(12px); opacity: .55; animation: cta-spin 4s linear infinite; }
@property --cta-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes cta-spin { to { --cta-a: 360deg; } }
.ig-cta:hover { transform: translateY(-2px) scale(1.03); }
.ig-cta:active { transform: scale(.96); }
.ig-cta .si { width: 20px; height: 20px; padding: 2px; border-radius: 7px; background: #fff; }
.ig-cta-short { display: none; }
@media (max-width: 700px) { .ig-cta { top: 12px; right: 14px; height: 36px; font-size: 13px; padding: 0 14px 0 9px; } .ig-cta-long { display: none; } .ig-cta-short { display: inline; } }

/* the burn's canvases sit above the old page picture during the switch */
.burn-gl, .burn-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2147483000; }
.burn-gl { view-transition-name: burn-gl; }
.burn-fx { view-transition-name: burn-fx; }
@keyframes burn-hold { from { opacity: 1; } to { opacity: 1; } }
html.burning::view-transition-old(root), html.burning::view-transition-new(root) { animation: burn-hold var(--burn-ms, 4600ms) linear both; mix-blend-mode: normal; }
html.burning::view-transition-group(root) { animation: none; }
::view-transition-group(burn-gl), ::view-transition-group(burn-fx) { animation: none; z-index: 10; }
::view-transition-old(burn-gl), ::view-transition-old(burn-fx) { display: none; }
::view-transition-new(burn-gl), ::view-transition-new(burn-fx) { animation: none; mix-blend-mode: normal; }

/* =================== Raw -> edit =================== */
.rv { width: 100%; margin-top: 130px; display: flex; flex-direction: column; align-items: center; }
.rv-sub { margin-top: 10px; font-size: 17px; letter-spacing: -0.025em; color: var(--muted); text-align: center; }
.rv-card {
  position: relative; margin-top: 36px; width: min(980px, 100%); aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: #1b1b1d; isolation: isolate; will-change: transform;
  box-shadow: 0 40px 100px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.06);
}
[data-theme="dark"] .rv-card { box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06); }
.rv-raw, .rv-edit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-raw { cursor: pointer; transition: filter 300ms ease, opacity 300ms ease; }
.rv-edit { opacity: 0; }
.rv-tag {
  position: absolute; z-index: 3; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: opacity 300ms ease;
}
.rv-tag-edit { opacity: 0; background: linear-gradient(180deg, #ffd98a, #ff9f2e); color: #1a1000; box-shadow: none; }
.rv-go {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 26px 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: #fff;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px rgba(0,0,0,.35);
  transition: transform 450ms var(--spring), opacity 250ms ease;
  animation: rv-pulse 2.4s var(--ease-in-out) infinite;
}
.rv-go svg { width: 22px; height: 22px; }
.rv-go:hover { transform: scale(1.06); }
@keyframes rv-pulse { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,.35); } 60% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px rgba(0,0,0,.35), 0 0 0 16px rgba(255,255,255,0); } }
/* processing */
.rv-proc { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 14px; opacity: 0; pointer-events: none; background: #1b1b1d; overflow: hidden; }
.rv-card.is-proc .rv-proc { opacity: 1; transition: opacity 300ms ease; }
.rv-card.is-proc .rv-raw { filter: blur(14px) brightness(.4); }
.rv-card.is-proc .rv-go, .rv-card.is-proc .rv-tag, .rv-card.is-edited .rv-go, .rv-card.is-edited .rv-tag:not(.rv-tag-edit) { opacity: 0; pointer-events: none; }
.rv-aurora {
  position: absolute; left: 50%; top: 0; width: 135%; aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: conic-gradient(from 200deg, #ff3ea5, #ff8a3d, #ffe14d, #6dff9e, #3ad7ff, #5b6cff, #c04dff, #ff3ea5);
  -webkit-mask: radial-gradient(closest-side, transparent 66%, #000 74%, #000 80%, transparent 90%);
  mask: radial-gradient(closest-side, transparent 66%, #000 74%, #000 80%, transparent 90%);
  filter: blur(22px) saturate(1.2);
}
.rv-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-ring { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.rv-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.rv-ring circle { fill: none; stroke-width: 3.2; }
.rv-ring-bg { stroke: rgba(255,255,255,.16); }
.rv-ring-fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 4px rgba(255,255,255,.6)); }
.rv-ring b { position: relative; font-size: 14px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.rv-label { position: relative; display: grid; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); }
.rv-label i { grid-area: 1 / 1; font-style: normal; text-align: center; transition: opacity 350ms ease, filter 350ms ease; }
.rv-label i:nth-child(2), .rv-label.is-2 i:nth-child(1) { opacity: 0; filter: blur(4px); }
.rv-label.is-2 i:nth-child(2) { opacity: 1; filter: none; }
.rv-haze { position: absolute; inset: -10%; z-index: 3; pointer-events: none; opacity: 0; filter: blur(30px);
  background: radial-gradient(40% 50% at 30% 40%, rgba(190,160,255,.8), transparent 70%), radial-gradient(40% 45% at 70% 60%, rgba(255,190,220,.7), transparent 70%), radial-gradient(50% 50% at 50% 50%, rgba(220,230,255,.5), transparent 75%); }
/* edited */
.rv-card.is-edited .rv-edit { opacity: 1; cursor: pointer; }
.rv-card.is-edited .rv-tag-edit { opacity: 1; }
.rv-after { position: absolute; z-index: 4; right: 14px; bottom: 14px; display: flex; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 400ms ease 200ms; }
.rv-card.is-edited .rv-after { opacity: 1; pointer-events: auto; }
.rv-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform 350ms var(--spring), background 200ms;
}
.rv-btn:hover { background: rgba(0,0,0,.6); }
.rv-btn:active { transform: scale(.95); }
.rv-btn svg { width: 17px; height: 17px; }
.rv-sound { width: 38px; padding: 0; justify-content: center; }
.rv-sound .mute, .rv-card.is-muted .rv-sound .waves { display: none; }
.rv-card.is-muted .rv-sound .mute { display: inline; }
@media (max-width: 700px) {
  .rv { margin-top: 96px; }
  .rv-sub { font-size: 15px; }
  .rv-card { margin-top: 26px; border-radius: 16px; }
  .rv-go { height: 46px; font-size: 15px; padding: 0 18px 0 14px; }
  .rv-tag { top: 10px; left: 10px; font-size: 10px; padding: 4px 9px; }
  .rv-ring { width: 50px; height: 50px; }
  .rv-ring b { font-size: 12px; }
  .rv-label { font-size: 13px; }
  .rv-after { right: 8px; bottom: 8px; }
  .rv-btn { height: 32px; font-size: 12px; }
  .rv-sound { width: 32px; }
}

/* =================== Light theme =================== */
html[data-theme="light"] {
  --ground: #ffffff;
  --card: #f5f5f4;
  --card-2: #ebebea;
  --ink: #121212;
  --muted: #6c6c6c;
  color-scheme: light;
}
[data-theme="light"] .avatar-progress circle { stroke: rgba(20,20,20,.65); filter: none; }
[data-theme="light"] .avatar-ring { background: rgba(255,255,255,.35); }
[data-theme="light"] .title .w { background-image: linear-gradient(180deg, #111 30%, rgba(17,17,17,.55) 100%); }
[data-theme="light"] .glass,
[data-theme="light"] .intro-bubble {
  background: rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(0,0,0,.08), 0 4px 14px rgba(0,0,0,.06);
}
[data-theme="light"] .glass::before { background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.9), transparent 70%); }
[data-theme="light"] .intro-bubble.comet { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(0,0,0,.1), 0 0 22px 2px rgba(0,0,0,.08); }
[data-theme="light"] .trail { background: radial-gradient(circle, rgba(0,0,0,.35), rgba(0,0,0,0) 70%); mix-blend-mode: multiply; }
[data-theme="light"] .impact { box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 0 16px 2px rgba(0,0,0,.08); mix-blend-mode: multiply; }
[data-theme="light"] .pill { color: var(--ink); }
[data-theme="light"] .bio { color: #6e6e6e; }
[data-theme="light"] .card { box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px rgba(0,0,0,.10); }
[data-theme="light"] .giant { color: #d9d8d4; }
[data-theme="light"] .stat-num { background-image: linear-gradient(180deg, #111 30%, rgba(17,17,17,.55) 100%); }
[data-theme="light"] .stat-num .plus { background-image: linear-gradient(180deg, #ffb53d 10%, #f07a00 100%); }
[data-theme="light"] [data-theme="light"] .client { background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(0,0,0,.07), 0 4px 14px rgba(0,0,0,.05); }
[data-theme="light"] .client:hover { background: #fff; }
[data-theme="light"] .client img { box-shadow: 0 0 0 1.5px rgba(0,0,0,.08); }
[data-theme="light"] .cta-card { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px rgba(0,0,0,.10); }
[data-theme="light"] .cta-glow {
  background:
    radial-gradient(40% 45% at 30% 40%, rgba(255, 170, 60, .28), transparent 70%),
    radial-gradient(35% 40% at 72% 30%, rgba(120, 110, 255, .18), transparent 70%);
}
[data-theme="light"] .cta-avatar { box-shadow: 0 0 0 4px rgba(0,0,0,.04), 0 0 0 5px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.12); }
[data-theme="light"] .cta-title { background-image: linear-gradient(180deg, #111 30%, rgba(17,17,17,.55) 100%); }
[data-theme="light"] .cta-sub { color: #6e6e6e; }
[data-theme="light"] .cta-primary { background: #141414; color: #fff; }
[data-theme="light"] .cta-primary:hover { background: #000; }
[data-theme="light"] .section-title { background-image: linear-gradient(180deg, #111 30%, rgba(17,17,17,.55) 100%); }
[data-theme="light"] .site-card { box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px rgba(0,0,0,.10); }
[data-theme="light"] .site-card:hover { box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 40px 90px rgba(0,0,0,.14); }
[data-theme="light"] .browser { box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
[data-theme="light"] .browser-bar { background: #f1f0ed; border-bottom-color: rgba(0,0,0,.06); }
[data-theme="light"] .browser-url { background: rgba(0,0,0,.05); color: #777; }
[data-theme="light"] .site-visit { background: #141414; color: #fff; }
[data-theme="light"] .site-card:hover .site-visit { background: #000; }
[data-theme="light"] .legal { color: #8a8a8a; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pop, .title .line, .title .w, .js .card.in { animation: fade 400ms ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .js .reveal-on-scroll.in { animation: fade 400ms ease both; }
  .marquee-row { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-row[aria-hidden="true"], .marquee-row li[aria-hidden="true"] { display: none; }
  .marquee-row { flex-wrap: wrap; justify-content: center; }
  .avatar-ring::before, .avatar-clip, .avatar-wrap { animation: none !important; }
  .avatar-ring::before { opacity: 1; }
}
