/* ============ Tokens ============ */
:root {
  --bg: #070708;
  --bg-2: #0f0f12;
  --card: #111115;
  --ink: #f4f3ef;
  --muted: #9b9ba5;
  --line: rgba(255, 255, 255, 0.13);
  --light: #ecebe6;
  --light-ink: #0b0b0c;
  --light-muted: #5d5d63;
  --light-line: rgba(0, 0, 0, 0.12);
  --violet: #8b3dff;
  --magenta: #ff2fa8;
  --orange: #ff8a1f;
  --lime: #c6f432;
  --glow: linear-gradient(90deg, var(--violet), var(--magenta) 55%, var(--orange));
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --radius: clamp(22px, 3vw, 44px);
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--lime); color: #000; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

section { position: relative; }
main { overflow-x: clip; }
.kicker {
  display: inline-block;
  font: 600 0.75rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.light .kicker { color: var(--light-muted); }
.eyebrow { font: 700 0.8rem/1.3 var(--display); font-stretch: 110%; letter-spacing: 0.05em; text-transform: uppercase; }

.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 9.4vw, 9rem);
}
.section-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto clamp(32px, 5vw, 72px); }
.section-head--center { text-align: center; }

/* Outline heading that fills in while scrolling */
.fill-title span { position: relative; display: inline-block; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 243, 239, 0.7); }
.fill-title span::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--ink);
  -webkit-text-stroke: 0;
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);
}

/* Letter-by-letter entrance */
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.split .ch > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 28ms); }
.split.in .ch > i { transform: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Buttons ============ */
.pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font: 700 0.78rem/1 var(--display);
  font-stretch: 110%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  background: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s;
}
.pill:hover { transform: translateY(-2px); }
.pill--glow { color: #fff; background: var(--glow); box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 8px 30px -6px rgba(255, 47, 168, 0.6); }
.pill--glow:hover { box-shadow: 0 0 0 1px rgba(255,255,255,0.4) inset, 0 10px 40px -4px rgba(255, 47, 168, 0.85); }
.pill--ghost { box-shadow: 0 0 0 1.5px currentColor inset; }
.pill--ghost:hover { background: var(--ink); color: var(--bg); }
.light .pill--ghost:hover { background: var(--light-ink); color: var(--light); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  display: inline-grid; place-items: center; font-size: 1rem;
  transition: background 0.3s;
}
.icon-btn:hover { background: rgba(255,255,255,0.14); }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: transform 0.5s var(--ease), color 0.4s;
}
.nav.hide { transform: translateY(-110%); }
.nav__logo { font: 900 1.4rem/1 var(--display); font-stretch: 125%; text-decoration: none; letter-spacing: -0.02em; }
.nav__logo span { color: var(--magenta); }
.nav__links {
  display: flex; gap: 4px; padding: 5px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s, border-color 0.4s;
}
.nav__links a {
  padding: 9px 16px; border-radius: 999px;
  font: 600 0.74rem/1 var(--display); font-stretch: 110%;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); transition: color 0.3s, background 0.3s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); background: rgba(255,255,255,0.08); }
.nav.on-light { color: var(--light-ink); }
.nav.on-light .nav__links { background: rgba(236, 235, 230, 0.7); border-color: var(--light-line); }
.nav.on-light .nav__links a { color: var(--light-muted); }
.nav.on-light .nav__links a:hover, .nav.on-light .nav__links a.active { color: var(--light-ink); background: rgba(0,0,0,0.06); }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(7, 7, 8, 0.96);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; text-align: center; }
.menu a {
  font: 900 clamp(2.2rem, 11vw, 4rem)/1.05 var(--display); font-stretch: 125%;
  text-transform: uppercase; text-decoration: none;
  opacity: 0; transform: translateY(20px);
  animation: menuIn 0.6s var(--ease) forwards;
}
.menu a:nth-child(2) { animation-delay: 0.05s; } .menu a:nth-child(3) { animation-delay: 0.1s; }
.menu a:nth-child(4) { animation-delay: 0.15s; } .menu a:nth-child(5) { animation-delay: 0.2s; }
.menu a:nth-child(6) { animation-delay: 0.25s; color: var(--magenta); }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  padding: clamp(84px, 11vh, 120px) var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -1;
  left: 50%; bottom: -20%;
  width: min(1100px, 140vw); aspect-ratio: 1;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(139, 61, 255, 0.45), rgba(255, 47, 168, 0.18) 55%, transparent 75%);
  filter: blur(20px);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }
.hero__title {
  position: relative; z-index: 1;
  text-align: center;
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 12.4vw, 13rem);
  line-height: 0.86; letter-spacing: -0.03em;
}
.hero__outline {
  position: absolute; z-index: 1;
  left: 0; right: 0; bottom: clamp(12px, 4vh, 48px);
  text-align: center;
  font: 900 clamp(3rem, 13.5vw, 14rem)/0.8 var(--display); font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 243, 239, 0.35);
  pointer-events: none;
}
.hero__photo {
  position: absolute; z-index: 2;
  left: 50%; bottom: 0;
  height: min(84svh, 980px);
  translate: -50% 0;
  aspect-ratio: 1100 / 1526;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  animation: photoIn 1.4s var(--ease) both 0.2s;
}
@keyframes photoIn { from { opacity: 0; transform: translateY(60px) scale(0.96); } }
.hero__photo::after { /* fade the cut at the bottom edge */
  content: ""; position: absolute; inset: auto 0 0; height: 22%;
  background: linear-gradient(transparent, var(--bg));
}
.hero__side { position: absolute; z-index: 3; bottom: clamp(110px, 22vh, 220px); max-width: 300px; }
.hero__side--left { left: var(--gutter); }
.hero__side--right { right: var(--gutter); display: grid; gap: 10px; justify-items: end; }
.hero__intro { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 18px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,0.5);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* Floating 3D shapes */
.float {
  position: absolute; z-index: 3;
  width: clamp(70px, 10vw, 170px); height: auto;
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55));
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-16px) rotate(6deg); } }
.float--play { right: 14%; top: 24%; }
.float--pen { left: 12%; top: 40%; width: clamp(60px, 8vw, 130px); animation-duration: 8s; animation-delay: -2s; }
.float--heart { left: 4%; top: 18%; }
.float--bubble { right: 5%; top: 8%; animation-delay: -3s; }
.float--spark { right: 9%; bottom: 10%; width: clamp(60px, 7vw, 120px); animation-delay: -1s; }
.float--lens { right: 6%; top: -40px; width: clamp(90px, 13vw, 210px); z-index: 2; }

/* ============ Tools strip ============ */
.strip {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.strip__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip__track + .strip__track { margin-top: 14px; }
.strip__track--reverse { animation-direction: reverse; animation-duration: 46s; }
.tool {
  display: inline-flex; align-items: center; gap: 12px; margin-right: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  font: 700 clamp(0.85rem, 1.2vw, 1rem)/1 var(--display); font-stretch: 110%;
  letter-spacing: 0.02em; white-space: nowrap; color: var(--ink);
}
.tool__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #16161b; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
.tool__logo img { width: 22px; height: 22px; }
.tool__logo--tile { background: none; box-shadow: none; overflow: hidden; }
.tool__logo--tile img { width: 100%; height: 100%; border-radius: 12px; }
.skill {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font: 800 clamp(1rem, 1.8vw, 1.5rem)/1 var(--display); font-stretch: 115%;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.skill::after { content: "✦"; color: var(--magenta); font-size: 0.8em; }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Work ============ */
.work { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); }
.reel { display: grid; gap: 14px; overflow: hidden; margin-bottom: clamp(60px, 8vw, 110px); }
.reel__row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.reel__row:nth-child(1) { transform: translateX(calc(-1 * var(--p, 0) * 28%)); }
.reel__row:nth-child(2) { transform: translateX(calc(-28% + var(--p, 0) * 28%)); }
.reel__item {
  height: clamp(150px, 21vw, 320px);
  border-radius: clamp(14px, 1.6vw, 24px);
  overflow: hidden; flex: none; padding: 0; border: 0; background: var(--card);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.reel__item[data-shape="square"] { aspect-ratio: 1; }
.reel__item[data-shape="wide"] { aspect-ratio: 16 / 9; }
.reel__item[data-shape="tall"] { aspect-ratio: 9 / 16; }
.reel__item[data-shape="photo"] { aspect-ratio: 3 / 2; }
.reel__item[data-shape="portrait"] { aspect-ratio: 5 / 7; }
.reel__item img, .reel__item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.reel__item:hover img, .reel__item:hover video { transform: scale(1.06); }

.work__filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 28px; }
.chip {
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line);
  font: 600 0.76rem/1 var(--display); font-stretch: 110%; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: all 0.3s;
}
.chip:hover { color: var(--ink); border-color: rgba(255,255,255,0.35); }
.chip[aria-pressed="true"] { color: #fff; border-color: transparent; background: var(--glow); }
.chip small { opacity: 0.6; margin-left: 4px; font-size: 0.9em; }

/* Masonry: every piece keeps its own shape, and filtering never leaves holes */
.grid {
  columns: 3; column-gap: 14px;
  padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.grid li { break-inside: avoid; margin-bottom: 14px; aspect-ratio: 1; animation: tileIn 0.7s var(--ease) both; }
.grid li[data-shape="wide"] { aspect-ratio: 16 / 9; }
.grid li[data-shape="tall"] { aspect-ratio: 9 / 16; }
.grid li[data-shape="photo"] { aspect-ratio: 3 / 2; }
.grid li[data-shape="portrait"] { aspect-ratio: 5 / 7; }
.grid li[hidden] { display: none; }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.tile {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: clamp(16px, 1.8vw, 26px); overflow: hidden;
  background: var(--card); text-align: left;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; }
.tile:hover img, .tile:hover video, .tile:focus-visible img, .tile:focus-visible video { transform: scale(1.05); }
.tile__cap {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px;
  display: flex; align-items: end; justify-content: space-between; gap: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__cap strong { font: 800 1rem/1.1 var(--display); font-stretch: 110%; text-transform: uppercase; }
.tile__cap span { font-size: 0.75rem; color: rgba(255,255,255,0.75); white-space: nowrap; }
.tile__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  font: 600 0.65rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ About ============ */
.about { padding: clamp(80px, 12vw, 170px) var(--gutter); overflow: hidden; }
.about__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.about__body {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px);
  align-items: center; margin-top: clamp(40px, 6vw, 80px); text-align: left;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  isolation: isolate;
}
/* a glowing gradient card tilted behind the photo */
.about__photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(60% 40% at 80% 100%, rgba(255, 47, 168, 0.7), transparent 70%),
    radial-gradient(120% 90% at 30% 0%, #b26bff, var(--violet) 35%, #3b0f8a 70%, #1a0640);
  transform: rotate(-5deg) translate(-4%, 3%);
  box-shadow: 0 30px 80px -20px rgba(139, 61, 255, 0.6);
}
.about__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 24px 60px -20px rgba(0,0,0,0.7);
}
.about__text { display: grid; gap: 28px; }
.about__text p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #d8d7d2; }
.about__text p + p { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts div { padding: 18px 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.02); }
.facts dt { font: 900 clamp(2rem, 3.4vw, 3rem)/1 var(--display); font-stretch: 125%; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts dd { margin-top: 6px; font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.about__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ Light sections ============ */
.light {
  background: var(--light); color: var(--light-ink);
  border-radius: var(--radius);
  margin-inline: clamp(0px, 0.8vw, 12px);
  transform: scale(calc(0.94 + var(--p, 1) * 0.06));
  transform-origin: 50% 0;
}
.light .fill-title span { -webkit-text-stroke-color: rgba(0,0,0,0.55); }
.light .fill-title span::after { color: var(--light-ink); }

/* ============ Services ============ */
.services { padding: clamp(70px, 10vw, 140px) 0; }
.services__list { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); border-top: 1px solid var(--light-line); }
.service {
  display: grid; grid-template-columns: clamp(80px, 12vw, 180px) 1fr auto; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--light-line);
  transition: padding 0.5s var(--ease);
}
.service__num { font: 900 clamp(2.4rem, 5vw, 4.6rem)/1 var(--display); font-stretch: 125%; letter-spacing: -0.03em; transition: color 0.4s; }
.service h3 { font: 800 clamp(1.1rem, 1.8vw, 1.6rem)/1.1 var(--display); font-stretch: 115%; text-transform: uppercase; }
.service p { margin-top: 8px; color: var(--light-muted); max-width: 56ch; }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; max-width: 280px; }
.service__tags span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--light-line); font-size: 0.75rem; font-weight: 500; }
.service:hover { padding-left: 14px; }
.service:hover .service__num { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Social accounts managed */
.accounts { max-width: var(--max); margin: clamp(56px, 7vw, 96px) auto 0; padding: 0 var(--gutter); }
.accounts__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.accounts__title { font: 900 clamp(1.6rem, 3.4vw, 3rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; }
.accounts__note { font-size: 0.82rem; color: var(--light-muted); }
.accounts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.account { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); background: var(--light-ink); color: var(--ink); }
.account__top { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 18px; }
.account h4 { font: 800 clamp(1.1rem, 1.8vw, 1.5rem)/1.1 var(--display); font-stretch: 115%; text-transform: uppercase; }
.account__top p { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.account__site { flex: none; font-size: 0.8rem; color: var(--lime); text-decoration: none; }
.account__site:hover { text-decoration: underline; }
.account__profiles { display: grid; gap: 8px; }
.account__profiles a {
  display: grid; grid-template-columns: minmax(110px, auto) 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line);
  text-decoration: none; transition: background 0.3s, border-color 0.3s;
}
.account__profiles a:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.account__platform { font: 700 0.85rem/1.2 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.04em; }
.account__platform small { display: block; margin-top: 3px; font: 400 0.75rem var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.account__stats { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.82rem; color: var(--muted); }
.account__stats b { font: 900 1.35rem/1 var(--display); font-stretch: 120%; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.account__arrow { color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.account__profiles a:hover .account__arrow { transform: translate(3px, -3px); color: var(--ink); }

/* Top reels */
.reels { max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gutter); }
.reel-group + .reel-group { margin-top: 26px; }
.reel-group__label { margin-bottom: 12px; font-size: 0.9rem; color: var(--light-muted); }
.reel-group__label strong { color: var(--light-ink); font-weight: 600; }
.reel-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reel-card {
  position: relative; width: 100%; aspect-ratio: 4 / 3; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: start; text-align: left;
  border: 0; border-radius: var(--radius); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.reel-card::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 0.8s var(--ease); }
.reel-card--tiktok::before { background: radial-gradient(90% 80% at 100% 0%, rgba(37, 244, 238, 0.55), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(254, 44, 85, 0.65), transparent 60%), #0b0b0c; }
.reel-card--instagram::before { background: radial-gradient(90% 80% at 100% 0%, rgba(139, 61, 255, 0.75), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(255, 138, 31, 0.75), transparent 60%), radial-gradient(60% 60% at 50% 50%, rgba(255, 47, 168, 0.5), transparent 70%), #0b0b0c; }
.reel-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(0,0,0,0.6); }
.reel-card:hover::before { transform: scale(1.12); }
.reel-card__rank { font: 800 0.85rem/1 var(--display); font-stretch: 115%; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); }
.reel-card__views { display: grid; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.reel-card__views b { font: 900 clamp(2.4rem, 4.6vw, 4rem)/0.95 var(--display); font-stretch: 125%; letter-spacing: -0.03em; color: #fff; }
.reel-card__play { display: inline-flex; align-items: center; gap: 8px; font: 700 0.72rem/1 var(--display); font-stretch: 110%; letter-spacing: 0.06em; text-transform: uppercase; }
.reel-card__play i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; font-style: normal; font-size: 0.7rem; }
.viewer__media .embed { width: min(420px, 92vw); height: min(calc(100dvh - 160px), 760px); border: 0; border-radius: 18px; background: #000; }

/* ============ Projects (stacking cards) ============ */
.projects { padding: clamp(90px, 12vw, 170px) var(--gutter) 40px; }
.stack { max-width: 1240px; margin: 0 auto; }
.card {
  position: sticky;
  top: calc(84px + var(--i) * 26px);
  margin-bottom: 7vh;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #16161b, #0c0c0f);
  border: 1px solid var(--line);
  padding: clamp(16px, 2vw, 26px);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
}
.card__head { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); margin-bottom: clamp(14px, 1.6vw, 20px); }
.card__num { font: 900 clamp(2rem, 4vw, 3.6rem)/0.9 var(--display); font-stretch: 125%; letter-spacing: -0.03em; }
.card__meta { flex: 1; min-width: 0; }
.card__meta span { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card__meta h3 { font: 800 clamp(1rem, 1.9vw, 1.6rem)/1.1 var(--display); font-stretch: 115%; text-transform: uppercase; }
.card__actions { display: flex; gap: 8px; }
.card__media { display: grid; grid-template-columns: 1.9fr 1fr; gap: 12px; height: clamp(260px, 50vh, 520px); }
.card__media > * { border-radius: clamp(14px, 1.6vw, 24px); overflow: hidden; background: #000; }
.card__side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; background: none !important; }
.card__side > * { border-radius: inherit; overflow: hidden; background: #000; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: transparent; border: 0; padding: 0; }
.card .pill { position: relative; z-index: 2; }

/* ============ Experience ============ */
.experience { padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 120px); }
.timeline { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job {
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
}
.job:first-child { grid-row: span 2; background: linear-gradient(160deg, rgba(139,61,255,0.22), rgba(255,47,168,0.06) 50%, rgba(255,255,255,0.01)); border-color: rgba(139,61,255,0.4); }
.job__years { font: 800 0.8rem/1 var(--display); font-stretch: 115%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.job h3 { margin-top: 14px; font: 800 clamp(1.2rem, 2vw, 1.7rem)/1.1 var(--display); font-stretch: 115%; text-transform: uppercase; }
.job__org { margin-top: 6px; color: var(--muted); }
.job ul { margin-top: 18px; display: grid; gap: 10px; }
.job li { position: relative; padding-left: 20px; color: #d3d2cd; font-size: 0.95rem; }
.job li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); }

/* ============ Big words ============ */
.words { overflow: hidden; padding: clamp(40px, 6vw, 90px) 0; }
.words__row {
  font: 900 clamp(3.4rem, 13vw, 13rem)/0.95 var(--display); font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -0.03em; white-space: nowrap;
  will-change: transform;
}
.words__row[data-dir="1"] { transform: translateX(calc(-30% + var(--p, 0) * 22%)); }
.words__row[data-dir="-1"] { transform: translateX(calc(-8% - var(--p, 0) * 22%)); }
.words__row i { font-style: normal; font-size: 0.5em; vertical-align: middle; color: var(--magenta); }
.words__row--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(244,243,239,0.6); }
.words__row--outline i { -webkit-text-stroke: 0; color: var(--lime); }

/* ============ Contact ============ */
.contact { padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(70px, 9vw, 130px); }
.contact__title {
  max-width: 14ch;
  font: 900 clamp(2.6rem, 8.4vw, 8.4rem)/0.9 var(--display); font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.contact__grid { margin-top: clamp(36px, 5vw, 70px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.contact__email {
  font: 700 clamp(1.15rem, 3.2vw, 2.6rem)/1.1 var(--display); font-stretch: 110%;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 6px; transition: background-size 0.4s var(--ease);
}
.contact__email:hover { background-image: var(--glow); background-size: 100% 4px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .pill--ghost { color: var(--light-ink); }

/* ============ Footer ============ */
.footer {
  margin: 12px clamp(0px, 0.8vw, 12px) clamp(0px, 0.8vw, 12px);
  padding: clamp(36px, 5vw, 70px) var(--gutter) 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__name { font: 900 clamp(2.4rem, 6vw, 5.4rem)/0.9 var(--display); font-stretch: 125%; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 90px); }
.footer h3 { font: 700 0.72rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer li a { text-decoration: none; font-size: 0.92rem; }
.footer li a:hover { color: var(--lime); }
.footer__shapes { width: 100%; height: auto; margin: clamp(30px, 5vw, 60px) 0 20px; overflow: visible; }
.footer__shapes .shape { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 0.6s var(--ease); }
.footer__shapes .shape:hover { transform: rotate(-12deg) scale(1.08); }
.footer__shapes.in .shape { animation: pop 0.8s var(--ease) both; }
.footer__shapes.in .shape:nth-child(2) { animation-delay: 0.06s; } .footer__shapes.in .shape:nth-child(3) { animation-delay: 0.12s; }
.footer__shapes.in .shape:nth-child(4) { animation-delay: 0.18s; } .footer__shapes.in .shape:nth-child(5) { animation-delay: 0.24s; }
.footer__shapes.in .shape:nth-child(6) { animation-delay: 0.3s; } .footer__shapes.in .shape:nth-child(7) { animation-delay: 0.36s; }
.footer__shapes.in .shape:nth-child(8) { animation-delay: 0.42s; }
@keyframes pop { from { opacity: 0; transform: translateY(60%) scale(0.6); } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.footer__bottom a { text-decoration: none; }

/* ============ Viewer ============ */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(4, 4, 5, 0.9); backdrop-filter: blur(10px); }
.viewer[open] { width: 100vw; height: 100dvh; display: grid; grid-template-rows: 1fr auto; animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; } }
.viewer__media { display: grid; place-items: center; padding: 64px var(--gutter) 12px; min-height: 0; }
.viewer__media img, .viewer__media video { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 18px; animation: zoom 0.45s var(--ease); }
@keyframes zoom { from { opacity: 0; transform: scale(0.96); } }
.viewer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter) max(18px, env(safe-area-inset-bottom)); }
.viewer__bar p { font: 700 0.95rem/1.2 var(--display); font-stretch: 110%; text-transform: uppercase; }
.viewer__bar p small { display: block; margin-top: 4px; font: 400 0.8rem var(--body); text-transform: none; color: var(--muted); }
.viewer__bar p a { color: var(--lime); }
.viewer__nav { display: flex; align-items: center; gap: 8px; }
.viewer__nav span { min-width: 54px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ============ Case study ============ */
.case[open] { width: 100vw; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); animation: slideUp 0.6s var(--ease); }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
.case__inner { max-width: 1200px; margin: 0 auto; padding: 22px var(--gutter) 80px; }
.case__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.case__title { margin-top: clamp(30px, 6vw, 80px); font-size: clamp(2.4rem, 8vw, 7rem); }
.case__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: clamp(30px, 5vw, 60px) 0; }
.case__info div { padding: 22px; border: 1px solid var(--line); border-radius: 22px; }
.case__info div.wide { grid-column: 1 / -1; }
.case__info h3 { font: 700 0.72rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.case__info p { font-size: 1.05rem; }
.case__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.case__gallery { columns: 2; column-gap: 14px; }
.case__gallery > * { break-inside: avoid; margin-bottom: 14px; border-radius: 20px; overflow: hidden; background: #000; }
.case__gallery img, .case__gallery video { width: 100%; height: auto; }
.case__next { margin-top: 50px; display: flex; justify-content: center; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(20,20,24,0.6); backdrop-filter: blur(10px);
    position: relative; z-index: 60;
  }
  .nav__burger i { display: block; width: 18px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
  .nav__burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.on-light .nav__burger { border-color: var(--light-line); background: rgba(236,235,230,0.7); }
  .nav__cta { margin-left: auto; }
  .card__media { height: clamp(240px, 42vh, 440px); }
}

@media (max-width: 760px) {
  .nav__cta { display: none; }
  .hero { display: flex; flex-direction: column; align-items: center; padding-top: 92px; min-height: auto; }
  .hero__title { font-size: clamp(3.4rem, 19vw, 6rem); }
  .hero__photo { position: relative; left: auto; translate: none; height: auto; width: min(88vw, 440px); margin-top: -12vw; }
  .hero__outline { position: relative; inset: auto; width: 100%; margin-top: 8px; font-size: 10.6vw; }
  .hero__photo::after { inset: auto -30vw 0; }
  .hero__side { position: relative; inset: auto; max-width: none; text-align: center; margin-top: 18px; }
  .hero__side--left { order: 3; margin-top: -40px; z-index: 3; }
  .hero__side--right { order: 4; display: flex; justify-content: center; margin-bottom: 70px; }
  .float--play { top: 30%; right: 2%; }
  .float--pen { top: 46%; left: 2%; }

  .reel { overflow: visible; }
  .reel__row { transform: none !important; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scrollbar-width: none; }
  .reel__row::-webkit-scrollbar { display: none; }
  .reel__item { scroll-snap-align: center; height: 190px; }

  .grid { columns: 2; column-gap: 10px; }
  .grid li { margin-bottom: 10px; }
  .tile__cap { opacity: 1; transform: none; padding: 30px 12px 10px; }
  .tile__cap span { display: none; }
  .tile__cap strong { font-size: 0.78rem; }

  .about__body { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; width: 88%; margin: 10px auto 0; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .facts div { padding: 14px 10px; }
  .float--heart { top: 6%; left: -2%; }
  .float--bubble { top: 2%; right: -2%; }

  .service { grid-template-columns: 1fr; gap: 10px; }
  .service__tags { justify-content: start; max-width: none; }
  .accounts__grid { grid-template-columns: 1fr; }
  .reel-cards { grid-template-columns: repeat(3, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .reel-cards li { scroll-snap-align: start; }
  .reel-card { aspect-ratio: 3 / 4; padding: 16px; }
  .reel-card__views b { font-size: 1.9rem; }
  .reel-card__play { font-size: 0.62rem; }
  .account__profiles a { grid-template-columns: 1fr auto; }
  .account__stats { grid-column: 1; }
  .account__arrow { grid-row: 1 / span 2; grid-column: 2; }

  .card { top: calc(76px + var(--i) * 14px); }
  .card__head { flex-wrap: wrap; }
  .card__actions { width: 100%; }
  .card__actions .pill { flex: 1; min-height: 42px; padding: 0 14px; }
  .card__media { grid-template-columns: 1fr; height: 46vh; }
  .card__side { display: none; }

  .timeline { grid-template-columns: 1fr; }
  .job:first-child { grid-row: auto; }

  .case__gallery { columns: 1; }
  .float--lens { top: -30px; right: 2%; }
  .footer__cols { width: 100%; justify-content: space-between; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .split .ch > i, .reveal { transform: none; opacity: 1; }
  .fill-title span::after { clip-path: none; }
  .light { transform: none; }
  .strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .reel__row { transform: none !important; width: auto; overflow-x: auto; padding: 0 var(--gutter); }
  .words__row { transform: none !important; white-space: normal; text-align: center; font-size: clamp(2.4rem, 8vw, 7rem); }
  .card { transform: none; filter: none; }
}
