/* ==========================================================================
   naeuzi — portfolio
   NAEUZI Studios palette: deep violet, royal purple, lilac light.
   ========================================================================== */

@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0c0516;          /* page */
  --dark: #1A0B2E;         /* NAEUZI dark */
  --purple: #5E2F82;       /* NAEUZI purple */
  --purple-2: #7A3EAA;
  --lilac: #c7a2f0;
  --lilac-2: #e4d2fb;
  --tx: #f6f0fb;
  --tx-2: #b5a6c6;
  --tx-3: #8a7a9c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(26, 11, 46, .55);
  --radius: 22px;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.reduce-motion { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--tx);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--purple-2); color: #fff; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--tx); color: var(--dark); border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

body::before { /* static background glow */
  content: ''; position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 50% at 75% 20%, rgba(94, 47, 130, .55), transparent 70%),
    radial-gradient(50% 45% at 10% 80%, rgba(122, 62, 170, .28), transparent 70%),
    linear-gradient(180deg, #13071f, var(--ink));
}
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
}

.sparks { position: absolute; inset: 0; pointer-events: none; }
.sparks svg {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); color: var(--lilac-2);
  filter: drop-shadow(0 0 8px rgba(199, 162, 240, .8));
  animation: twinkle 3.2s ease-in-out var(--d) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ---------- Buttons & bits ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(122, 62, 170, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(150, 80, 210, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: var(--tx); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { padding: 10px 18px; font-size: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(199, 162, 240, .25); background: rgba(94, 47, 130, .22);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac-2);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #7cf2b0; box-shadow: 0 0 0 0 rgba(124, 242, 176, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(124, 242, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 242, 176, 0); } }

.hl { /* NAEUZI-style highlighted word */
  position: relative; display: inline-block; padding: 0 .16em; margin: 0 -.04em;
  color: #fff; border-radius: .14em;
  background: linear-gradient(135deg, rgba(122, 62, 170, .95), rgba(94, 47, 130, .9));
  box-shadow: 0 0 40px rgba(122, 62, 170, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac);
}
.eyebrow span { padding: 2px 8px; border: 1px solid rgba(199, 162, 240, .3); border-radius: 999px; color: var(--tx-2); }
.link { color: var(--lilac-2); text-decoration-color: rgba(199, 162, 240, .45); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(var(--max), calc(100% - 2 * 16px)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(20, 8, 36, .55); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(20, 8, 36, .82); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 20px; height: 20px; color: var(--lilac); filter: drop-shadow(0 0 10px rgba(199, 162, 240, .7)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__logo { height: 34px; width: auto; mix-blend-mode: screen; margin: -4px -6px -4px -10px; transition: transform .5s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.06) rotate(-3deg); }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: .08em; }
.hero__avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  border: 3px solid rgba(199, 162, 240, .7);
  box-shadow: 0 0 0 6px rgba(122, 62, 170, .25), 0 0 50px rgba(150, 80, 210, .7);
}
.nav__links { display: flex; gap: 6px; }
.nav__actions { display: flex; gap: 8px; }
.pill .icon { width: 12px; height: 12px; color: var(--lilac); }
.hero__title .hl { margin-top: 0; }
.show-sm { display: none; }
@media (max-width: 480px) { .show-sm { display: inline; } }
.hero__title .line:first-child { position: relative; z-index: 1; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--tx-2); transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--tx); background: rgba(255, 255, 255, .06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  min-height: 100svh;
  padding: 140px var(--pad) 80px;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(32px, 5vw, 80px);
}
.hero__text { position: relative; z-index: 1; }
.hero__title {
  margin: 22px 0 22px; font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, 19vw, 160px); line-height: .94; letter-spacing: -.035em;
}
.hero__title .line { display: block; }
.hero__title .dot { color: var(--lilac); }
.hero__lead { max-width: 520px; margin: 0 0 34px; font-size: clamp(16px, 1.4vw, 18px); color: var(--tx-2); }
.hero__lead strong { color: var(--tx); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__phone { position: relative; margin: 0; justify-self: center; width: min(300px, 100%); }

/* ---------- The phone ---------- */
.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 52px; padding: 11px;
  background:
    linear-gradient(145deg, #4a3762 0%, #1b1027 22%, #0c0614 50%, #24183a 78%, #4a3762 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .22),
    inset 0 0 0 4px #06030b,
    0 0 0 1px rgba(0, 0, 0, .7),
    0 50px 110px -30px rgba(122, 62, 170, .95),
    0 20px 40px -20px rgba(0, 0, 0, .9);
  transform: rotate(2deg);
  animation: bob 8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(1deg) translateY(-10px); } }
.phone__key { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #120a1c, #4a3762 60%, #2a1d3a); }
.phone__key--action { left: -3px; top: 17%; height: 4.5%; }
.phone__key--up { left: -3px; top: 25%; height: 8%; }
.phone__key--down { left: -3px; top: 35%; height: 8%; }
.phone__key--power { right: -3px; top: 27%; height: 12%; }
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  background: #000; isolation: isolate; font-size: 13px; color: #fff;
  -webkit-user-select: none; user-select: none;
}
.phone__screen button { border: 0; background: none; padding: 0; color: inherit; }

/* status bar, island, home bar */
.ph-status {
  position: absolute; inset: 0 0 auto; z-index: 30; height: 46px; padding: 0 24px 0 30px;
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
  font-weight: 700; font-size: 14px; letter-spacing: .01em; text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.ph-island { position: absolute; left: 50%; top: 10px; width: 31%; height: 27px; transform: translateX(-50%); border-radius: 20px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); }
.ph-status__sys { display: flex; gap: 5px; align-items: center; }
.ph-status__sys svg { height: 11px; width: auto; fill: currentColor; }
.ph-home { position: absolute; left: 50%; bottom: 7px; z-index: 30; width: 36%; height: 5px; transform: translateX(-50%); border-radius: 3px; background: rgba(255, 255, 255, .8); pointer-events: none; }

/* 1. the opening */
.ph-intro { position: absolute; inset: 0; z-index: 10; background: #000; cursor: pointer; transition: opacity .7s ease, transform .9s var(--ease); }
.ph-intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 6s ease-out; }
.ph-intro__bar { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; z-index: 2; transition: height 1.4s cubic-bezier(.7, 0, .2, 1); }
.ph-intro__bar--top { top: 0; }
.ph-intro__bar--bottom { bottom: 0; }
.ph-intro__title {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 8px;
  text-align: center; pointer-events: none;
}
.ph-intro__title strong { font-weight: 800; font-size: 34px; letter-spacing: .9em; margin-right: -.9em; opacity: 0; filter: blur(8px); transition: letter-spacing 2.6s cubic-bezier(.2, .8, .2, 1), opacity 1.4s ease, filter 1.4s ease; }
.ph-intro__title small { font-family: var(--mono); font-size: 9px; letter-spacing: .4em; text-transform: uppercase; color: var(--lilac); opacity: 0; transition: opacity 1s ease .9s; }
.phone.is-title .ph-intro__title strong { letter-spacing: .14em; margin-right: -.14em; opacity: 1; filter: none; }
.phone.is-title .ph-intro__title small { opacity: 1; }
.phone.is-rolling .ph-intro__bar { height: 9%; }
.phone.is-rolling .ph-intro__video { opacity: 1; transform: none; }
.phone.is-rolling .ph-intro__title { opacity: 0; transition: opacity .8s ease; }
.ph-skip {
  position: absolute; top: 52px; right: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 999px; font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0, 0, 0, .45) !important; border: 1px solid rgba(255, 255, 255, .2) !important; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .6s ease .6s; cursor: pointer;
}
.ph-skip .icon { width: 10px; height: 10px; }
.ph-browse {
  position: absolute; left: 50%; bottom: 13%; z-index: 5; transform: translate(-50%, 12px);
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; white-space: nowrap;
  font: 800 12px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple-2), var(--purple)) !important; box-shadow: 0 10px 30px -8px rgba(122, 62, 170, .9);
  opacity: 0; transition: opacity .6s ease, transform .6s var(--ease); cursor: pointer;
}
.ph-browse .icon { width: 12px; height: 12px; }
.phone.is-title .ph-skip, .phone.is-rolling .ph-skip { opacity: 1; }
.phone.is-browse .ph-browse { opacity: 1; transform: translate(-50%, 0); }
.phone.is-feed .ph-intro { opacity: 0; transform: scale(1.06); pointer-events: none; }

/* 2. the feed */
.ph-feed {
  position: absolute; inset: 0; z-index: 5; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: 54px 0 26px; background: radial-gradient(90% 40% at 50% 0%, rgba(122, 62, 170, .45), transparent 70%), #0c0516;
  opacity: 0; transform: translateY(30px); transition: opacity .7s ease .15s, transform .8s var(--ease) .15s; pointer-events: none;
}
.ph-feed::-webkit-scrollbar { display: none; }
.phone.is-feed .ph-feed { opacity: 1; transform: none; pointer-events: auto; }
.ph-profile { display: grid; justify-items: center; gap: 6px; padding: 6px 14px 14px; text-align: center; }
.ph-profile__pic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lilac); box-shadow: 0 0 24px rgba(150, 80, 210, .6); }
.ph-profile__name { font-weight: 800; font-size: 15px; }
.ph-profile__stats { display: flex; gap: 18px; margin: 2px 0 4px; padding: 0; list-style: none; }
.ph-profile__stats li { display: grid; line-height: 1.2; }
.ph-profile__stats b { font-size: 14px; }
.ph-profile__stats span { font-size: 10px; color: var(--tx-3); }
.ph-replay { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; font: 700 11px var(--sans); background: rgba(255, 255, 255, .1) !important; cursor: pointer; }
.ph-replay .icon { width: 10px; height: 10px; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ph-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; background: #1a0b2e; }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), filter .3s; }
.ph-tile:hover img, .ph-tile:focus-visible img { transform: scale(1.06); filter: brightness(1.15); }
.ph-tile__views { position: absolute; left: 5px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.ph-tile__views .icon { width: 8px; height: 8px; }
.ph-tile__tag { position: absolute; left: 4px; top: 4px; padding: 2px 6px; border-radius: 4px; font: 700 8px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(12, 5, 22, .7); }

/* 3. the player */
.ph-player { position: absolute; inset: 0; z-index: 20; background: #000; transform: translateX(100%); transition: transform .45s var(--ease); }
.phone.is-playing .ph-player { transform: none; }
.ph-player__bg { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(24px) brightness(.5); }
.ph-player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-player.is-wide .ph-player__video { object-fit: contain; }
.ph-player__top { position: absolute; top: 48px; left: 10px; right: 10px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .45) !important; backdrop-filter: blur(6px); cursor: pointer; }
.ph-icon svg { width: 18px; height: 18px; }
.ph-player__tag { font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
.ph-player__bottom { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 800; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.ph-player__link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; text-decoration: none; background: rgba(0, 0, 0, .45); }
.ph-player__link .icon { width: 10px; height: 10px; }
.ph-progress { position: absolute; left: 14px; right: 14px; bottom: 18px; z-index: 2; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ph-progress span { display: block; height: 100%; width: 0; background: #fff; }

.float-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap;
  background: rgba(26, 11, 46, .75); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  animation: bob 6s ease-in-out infinite;
}
.float-tag .icon { color: var(--lilac); }
.float-tag--a { left: -54px; top: 18%; animation-delay: -2s; }
.float-tag--b { right: -40px; bottom: 22%; animation-delay: -4s; }

/* ---------- Edit media (shared by phone + grid) ---------- */
.edit__media {
  position: relative; overflow: hidden; background: var(--dark); isolation: isolate;
}
.edit__media video, .edit__media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px;
  text-align: center; padding: 20px;
  background:
    radial-gradient(70% 50% at 50% 30%, rgba(122, 62, 170, .55), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #2a1046, #12061f);
}
.placeholder__icon {
  width: 54px; height: 54px; padding: 16px 14px 16px 18px; margin-bottom: 8px;
  border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.placeholder__label { font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.placeholder__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.edit__sound {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(12, 5, 22, .6); backdrop-filter: blur(8px);
}
.edit__open {
  position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line-2); background: rgba(12, 5, 22, .6); backdrop-filter: blur(8px);
}

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 24px; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  display: block; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(40px, 5.4vw, 72px);
  background: linear-gradient(180deg, #fff 20%, var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-3);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; margin: clamp(60px, 9vw, 110px) 0 0; padding: 18px 0; border-block: 1px solid var(--line); background: rgba(94, 47, 130, .12); transform: rotate(-1.5deg); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-weight: 800; font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { color: var(--lilac-2); }
.marquee__track svg { width: 20px; height: 20px; color: var(--lilac); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--pad) 0; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  margin: 0 0 18px; font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 6vw, 80px); line-height: .98; letter-spacing: -.03em;
}
.section__title em, .contact__title em {
  font-style: normal;
  color: var(--lilac-2); font-size: 1.12em;
}
.section__lead { margin: 0 0 16px; font-size: clamp(16px, 1.3vw, 18px); color: var(--tx-2); max-width: 620px; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Work ---------- */
.filters { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 28px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.filters button {
  padding: 9px 18px; border: 0; border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 700; color: var(--tx-2); transition: background .25s, color .25s;
}
.filters button:hover { color: var(--tx); }
.filters button[aria-pressed="true"] { background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; }

.edits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .edits { grid-template-columns: repeat(3, 1fr); } }
.edit { margin: 0; transition: opacity .4s, transform .4s var(--ease); }
.edit.is-hidden { display: none; }
.edit .edit__media {
  aspect-ratio: 9 / 16; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.edit:hover .edit__media { transform: translateY(-6px); border-color: rgba(199, 162, 240, .4); box-shadow: 0 30px 60px -30px rgba(122, 62, 170, .9); }
.edit__media.has-video, .edit__media.has-embed { cursor: pointer; }
.edit__media.has-embed { background: #000; }
.edit__media.fit-contain::before {
  content: ''; position: absolute; inset: -30px; z-index: -1;
  background: var(--bg, none) center / cover; filter: blur(26px) brightness(.55) saturate(1.2);
}
.edit__media.fit-contain video { object-fit: contain; }
.embed-box { position: absolute; inset: 0; overflow: hidden; }
.embed-box iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
/* Instagram: show only the post's media — the embed's header and footer are cropped away */
.is-instagram .embed-box { inset: auto 0; top: 50%; transform: translateY(-50%); aspect-ratio: 4 / 5; }
.is-instagram .embed-box iframe { left: -1px; top: -54px; width: calc(100% + 2px); height: calc(100% + 54px + 600px); }
.edit__meta { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 14px 4px 0; }
.edit__title { font-weight: 700; }
.edit__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); padding: 4px 10px; border: 1px solid rgba(199, 162, 240, .25); border-radius: 999px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.tools li { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 700; }
.tool { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-weight: 800; font-size: 17px; }
.tool--ae { background: #00005b; color: #9999ff; box-shadow: inset 0 0 0 1.5px #9999ff; }
.tool--pr { background: #00005b; color: #e8a0ff; box-shadow: inset 0 0 0 1.5px #e8a0ff; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--lilac), rgba(199, 162, 240, .1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 0 0 34px 28px; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--lilac); box-shadow: 0 0 14px rgba(199, 162, 240, .7); }
.timeline li:last-child { padding-bottom: 0; }
.timeline__year { font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.timeline__text { color: var(--tx-2); }
.timeline__text strong { display: block; color: var(--tx); font-weight: 800; }

/* ---------- Promo ---------- */
.promo__card {
  position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 70px);
  border-radius: 32px; border: 1px solid rgba(199, 162, 240, .2);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(122, 62, 170, .5), transparent 70%),
    linear-gradient(180deg, rgba(42, 16, 70, .8), rgba(18, 6, 31, .85));
  box-shadow: 0 50px 120px -50px rgba(122, 62, 170, .8);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 36px; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.steps__n { font-family: var(--mono); font-size: 12px; color: var(--lilac); letter-spacing: .1em; }
.steps strong { font-size: 18px; font-weight: 800; }
.steps span:last-child { color: var(--tx-2); font-size: 15px; }

.reach { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.reach--stack { grid-template-columns: 1fr; }
.reach__opt {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px;
  text-decoration: none; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.reach__opt > .icon:first-child { width: 22px; height: 22px; color: var(--lilac); }
.reach__opt span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.reach__opt strong { font-weight: 800; }
.reach__opt small { color: var(--tx-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.reach__arrow { margin-left: auto; opacity: .6; transition: transform .3s var(--ease), opacity .3s; }
.reach__opt:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); border-color: rgba(199, 162, 240, .45); }
.reach__opt:hover .reach__arrow { opacity: 1; transform: translate(2px, -2px); }
.reach__opt--main { background: linear-gradient(135deg, var(--purple-2), var(--purple)); border-color: rgba(255, 255, 255, .2); }
.reach__opt--main > .icon:first-child, .reach__opt--main small { color: var(--lilac-2); }
.reach__opt--main:hover { background: linear-gradient(135deg, #8a4bbd, #6a3592); }

/* ---------- Contact ---------- */
.contact { text-align: center; padding-bottom: clamp(70px, 9vw, 110px); }
.contact__title { margin: 0 auto 34px; max-width: 980px; font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 6.4vw, 86px); line-height: 1; letter-spacing: -.035em; }
.contact__mails { display: grid; justify-items: center; gap: 18px; margin-bottom: 40px; }
.contact__mail { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; }
.contact__kind { flex-basis: 100%; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.contact__addr { font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; text-decoration: none; background: linear-gradient(90deg, #fff, var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 16px; text-decoration: none; text-align: left; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.socials a:hover { transform: translateY(-3px); border-color: rgba(199, 162, 240, .45); }
.socials .icon { width: 22px; height: 22px; color: var(--lilac); }
.socials span { display: flex; flex-direction: column; line-height: 1.25; }
.socials strong { font-weight: 800; }
.socials small { font-size: 12px; color: var(--tx-3); }

.footer {
  max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) 34px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--tx-3);
}
.footer a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer a:hover { color: var(--tx); }

/* ---------- Modal ---------- */
.modal {
  width: min(460px, calc(100% - 32px)); padding: 32px; border-radius: 28px;
  color: var(--tx); border: 1px solid rgba(199, 162, 240, .25);
  background: radial-gradient(80% 60% at 50% 0%, rgba(122, 62, 170, .45), transparent 70%), #160828;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
}
.modal::backdrop { background: rgba(8, 3, 15, .7); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.modal__title { margin: 0 0 8px; font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: 1; letter-spacing: -.02em; }
.modal__lead { margin: 0 0 22px; color: var(--tx-2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--tx); color: var(--dark); font-weight: 700; font-size: 14px; transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--ri, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 26px; text-align: left; }
  .hero__phone { width: min(260px, 70vw); margin-top: 0; }
  .float-tag--a { left: -30px; }
  .float-tag--b { right: -24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 0; }
  .about { grid-template-columns: 1fr; }
  .reach { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { padding-left: 16px; }
  .edits { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .float-tag { font-size: 12px; padding: 8px 12px; }
  .float-tag--a { left: -18px; }
  .float-tag--b { right: -14px; }
  .stat { padding: 24px 10px; }
}
@media (max-width: 480px) {
  .hide-sm { display: none; }
}
@media (max-width: 420px) {
  .brand__name { display: none; }
  .nav .btn--sm { padding: 9px 12px; font-size: 11px; }
  .nav { padding-left: 14px; }
  .brand__name { font-size: 16px; }
  .edit__meta { flex-direction: column; align-items: flex-start; }
}

.edit__views {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 800;
  background: rgba(12, 5, 22, .65); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.edit__views .icon { width: 12px; height: 12px; color: var(--lilac); }
.see-more { display: flex; justify-content: center; margin-top: 40px; }

/* About: story, releases, press */
.about__intro { margin: 0 0 18px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; max-width: 620px; }
.about__cards { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.about__card { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.about__label { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .04em; background: rgba(122, 62, 170, .28); border: 1px solid rgba(199, 162, 240, .25); }
.chips .chips__more { background: none; border-style: dashed; color: var(--tx-2); font-weight: 600; }
.press { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.press a, .press div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); text-decoration: none; }
.press a { transition: border-color .3s, transform .3s var(--ease); }
.press a:hover { border-color: rgba(199, 162, 240, .45); transform: translateY(-2px); }
.press strong { font-weight: 800; }
.press span { color: var(--tx-3); font-size: 13px; }
.press .icon { margin-left: auto; color: var(--lilac); }
@media (max-width: 720px) { .about__cards { grid-template-columns: 1fr; } }

.about__head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.about__head .section__title { margin: 0; }
.about__photo {
  position: relative; flex: none; width: clamp(76px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(199, 162, 240, .7);
  box-shadow: 0 0 0 5px rgba(122, 62, 170, .25), 0 0 40px rgba(150, 80, 210, .55);
  transition: transform .4s var(--ease);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.about__photo img.is-on { opacity: 1; }
.about__photo:hover, .about__photo:focus-visible { transform: scale(1.05) rotate(-2deg); }
.about__roles { margin: 0 0 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--lilac-2); }
.about__roles span { color: var(--tx-3); margin: 0 4px; }
/* mid-size screens: keep the top bar on one line */
@media (max-width: 1080px) { .nav__links { display: none; } }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav .show-sm { display: inline; } }
