/* ============================================================================
   WOLFY_527 — premium VRChat creator portfolio
   A dark, immersive, glassmorphic theme. Content is data-driven (see data.js);
   this file owns all visual styling and motion.
   Sections:  tokens · base · utilities · background · cursor · preloader ·
              nav · hero · marquee · stats · about · showcase · work ·
              pipeline · shops · contact · footer · responsive · motion
   ========================================================================== */

/* ----------------------------- TOKENS ----------------------------------- */
:root {
  /* Brand + accents (4-colour palette) */
  --brand:    #FF6B35;   /* orange  — primary */
  --brand-2:  #FF3CAC;   /* pink */
  --indigo:   #4f46e5;   /* indigo */
  --cyan:     #00CFFF;   /* cyan */
  --accent-grad: linear-gradient(120deg, #FF6B35 0%, #FF3CAC 55%, #4f46e5 100%);
  --btn-grad:    linear-gradient(120deg, #FF6B35 0%, #FF3CAC 100%); /* readable w/ dark text */

  /* Surfaces */
  --bg:       #050507;
  --bg-soft:  #090910;
  --ink:      #f3f3f6;
  --muted:    #9a9aa9;
  --muted-2:  #6a6a78;
  --line:     rgba(255, 255, 255, .08);
  --line-2:   rgba(255, 255, 255, .14);
  --glass:    rgba(255, 255, 255, .035);
  --glass-2:  rgba(255, 255, 255, .06);

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Radii + shadow */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --glow-brand: 0 0 0 1px rgba(255,107,53,.4), 0 18px 50px -12px rgba(255,107,53,.45);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --container: 1200px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

/* ------------------------------ BASE ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}

::selection { background: rgba(255,107,53,.32); color: #fff; }

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------- UTILITIES --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  margin: 1rem 0 .8rem;
}
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--glass-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: -.01em;
  border: 1px solid var(--line-2);
  background: var(--btn-bg);
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn > span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }

.btn--solid {
  border-color: transparent;
  background: var(--btn-grad);
  color: #160a04;
  font-weight: 600;
  box-shadow: 0 12px 36px -12px rgba(255,60,172,.55);
}
.btn--solid:hover { box-shadow: 0 18px 48px -12px rgba(255,60,172,.7); }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--glass-2); border-color: var(--brand); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* Reveal-on-scroll ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------- BACKGROUND --------------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(110% 70% at 50% -25%, #0c0918 0%, transparent 55%),
    var(--bg);
}
/* Dark veil painted ABOVE the aurora blobs so the content area always stays
   dark and text remains readable (auroras only tint the far edges). */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 95% at 50% 35%, transparent 0%, rgba(5,5,7,.55) 78%),
    rgba(5,5,7,.28);
}
/* Soft radial gradients give the glow look WITHOUT an expensive blur filter.
   Animated with transform only -> pure compositor work, no re-raster. */
.bg__aurora {
  position: absolute;
  border-radius: 50%;
  opacity: .28;
  will-change: transform;
}
.bg__aurora--1 {
  width: 48vw; height: 48vw; top: -20vw; left: -16vw;
  background: radial-gradient(circle, var(--brand) 0%, transparent 56%);
  animation: drift1 22s ease-in-out infinite;
}
.bg__aurora--2 {
  width: 46vw; height: 46vw; top: 16vh; right: -22vw;
  background: radial-gradient(circle, var(--indigo) 0%, transparent 56%);
  animation: drift2 26s ease-in-out infinite;
}
.bg__aurora--3 {
  width: 42vw; height: 42vw; bottom: -22vw; left: 14vw;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 58%);
  opacity: .18;
  animation: drift3 30s ease-in-out infinite;
}
@keyframes drift1 { 50% { transform: translate(8vw, 10vh) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(-7vw, -6vh) scale(1.1); } }
@keyframes drift3 { 50% { transform: translate(5vw, -8vh) scale(1.2); } }

.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 10%, transparent 75%);
  opacity: .5;
}
.bg__noise {
  position: absolute; inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg__cursor-glow {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.10), transparent 62%);
  left: 0; top: 0;
  transform: translate(50vw, 30vh) translate(-50%, -50%); /* JS drives via transform */
  pointer-events: none;
  transition: opacity .4s ease;
  will-change: transform;
}

/* ---------------------------- CURSOR ------------------------------------ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
}
.cursor--dot { width: 7px; height: 7px; background: var(--brand); }
.cursor--ring {
  width: 38px; height: 38px;
  border: 1px solid var(--line-2);
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .25s var(--ease), background .25s var(--ease);
}
.cursor--ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--brand);
  background: rgba(255,107,53,.08);
}
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button { cursor: none; }

/* ------------------------ SCROLL PROGRESS ------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1000;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(255,107,53,.6);
}

/* --------------------------- PRELOADER ---------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; width: min(320px, 70vw); }
.preloader__mark {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.preloader__mark span { color: var(--brand); }
.preloader__bar {
  height: 2px; width: 100%;
  background: var(--line);
  border-radius: 4px; overflow: hidden;
}
.preloader__fill {
  display: block; height: 100%; width: 0;
  background: var(--accent-grad);
}
.preloader__pct {
  margin-top: .9rem;
  font-family: var(--font-display);
  font-size: .85rem; color: var(--muted);
  letter-spacing: .1em;
}
.preloader__pct i { font-style: normal; opacity: .5; }

/* ----------------------------- NAVBAR ----------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex; justify-content: center;
  padding: clamp(.8rem, 2vw, 1.3rem) var(--pad);
  transition: padding .4s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--container);
  display: flex; align-items: center; gap: 1rem;
  padding: .55rem .65rem .55rem 1.1rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease),
}
.nav.is-stuck .nav__inner {
  background: rgba(12,12,19,.6);
  border-color: var(--line);
  box-shadow: 0 16px 50px -24px rgba(0,0,0,.8);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
}
.nav__logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -.02em;
}
.nav__logo i { color: var(--brand); font-style: normal; }
.nav__paw { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,107,53,.5)); }
.nav__menu { display: flex; gap: .35rem; margin-left: auto; }
.nav__link {
  position: relative;
  padding: .5rem .9rem; border-radius: 100px;
  color: var(--muted); font-size: .95rem; font-weight: 500;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .3rem;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { width: 16px; }
.nav__cta { padding: .6rem 1.25rem; font-size: .9rem; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--glass);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu */
.mobile {
  position: fixed; inset: 0; z-index: 850;
  background: rgba(7,7,11,.92);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.mobile.is-open { opacity: 1; visibility: visible; }
.mobile__menu { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.mobile__link {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  letter-spacing: -.02em;
}
.mobile__shops { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.mobile__shops a {
  padding: .55rem 1.1rem; border: 1px solid var(--line-2);
  border-radius: 100px; font-size: .9rem; color: var(--muted);
}

/* ------------------------------ HERO ------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(7rem, 14vh, 10rem) var(--pad) 4rem;
}
.hero__particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero__content { max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem; border-radius: 100px;
  border: 1px solid var(--line-2); background: var(--glass);
  font-family: var(--font-display); font-size: .82rem;
  letter-spacing: .04em; color: var(--muted);
  margin-bottom: 1.6rem;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(255,107,53,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,.6); }
  70% { box-shadow: 0 0 0 9px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}
.hero__title {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.04em;
}
.hero__title .reveal { display: inline-block; }
.hero__title-accent {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__roles {
  margin: 1.1rem 0 .4rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 500; color: var(--ink);
  min-height: 1.5em;
}
.hero__role-text { color: var(--brand); }
.hero__caret { color: var(--brand); animation: blink 1.1s step-end infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }
.hero__line {
  color: var(--muted); font-size: 1.1rem;
  max-width: 46ch; margin: 1rem 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero__shops { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.hero__shops-label {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); font-family: var(--font-display);
}
.shop-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
  font-size: .85rem; color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.shop-pill svg { width: 14px; height: 14px; }
.shop-pill:hover { color: var(--ink); border-color: var(--brand); transform: translateY(-2px); }
.shop-pill--featured { color: var(--ink); border-color: rgba(255,107,53,.4); }

/* Hero floating stage */
.hero__stage {
  justify-self: center;
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-18px); } }
.float-card {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .2s var(--ease-out);
}
.float-card__glow {
  position: absolute; inset: -2px;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255,107,53,.4), transparent 70%);
  opacity: .8;
}
.float-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;            /* fill the whole card */
}
.float-card__bar {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem; border-radius: 100px;
  background: rgba(10,10,16,.6);
  border: 1px solid var(--line);
  font-family: var(--font-display);
}
.float-card__name { font-size: .9rem; font-weight: 600; }
.float-card__tag { font-size: .72rem; color: var(--brand); letter-spacing: .08em; }
.float-card__chip {
  position: absolute;
  padding: .4rem .8rem; border-radius: 100px;
  background: rgba(10,10,16,.7); border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: .75rem; color: var(--muted);
  transform: translateZ(40px);
}
.float-card__chip--a { top: 1.2rem; left: 1.2rem; }
.float-card__chip--b { top: 1.2rem; right: 1.2rem; color: var(--cyan); }

/* Hero scroll hint */
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted-2);
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__mouse {
  width: 24px; height: 38px; border: 1px solid var(--line-2); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero__mouse span {
  width: 3px; height: 7px; border-radius: 2px; background: var(--brand);
  animation: wheel 1.8s ease infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

/* ----------------------------- MARQUEE ---------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  overflow: hidden;
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 3rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
  color: var(--muted); letter-spacing: -.01em;
}
.marquee__item::after { content: "✦"; color: var(--brand); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------ STATS ----------------------------------- */
.stats { padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.stat {
  padding: 1.8rem 1.4rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--glass);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1;
  letter-spacing: -.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--muted); font-size: .92rem; margin-top: .6rem; }

/* ------------------------------ ABOUT ----------------------------------- */
.about { padding: clamp(5rem, 11vw, 9rem) 0; }
.about__grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.about__portrait {
  position: relative; aspect-ratio: 1; max-width: 420px; margin-inline: auto;
  display: grid; place-items: center;
  transition: transform .2s var(--ease-out);
  transform-style: preserve-3d;
}
.about__portrait-glow {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.5), transparent 65%);
  filter: blur(34px);
}
.about__orbit {
  position: absolute; inset: 0;
  border: 1px dashed var(--line-2); border-radius: 50%;
  animation: spin 26s linear infinite;
}
.about__orbit::before {
  content: ""; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 14px var(--brand);
}
.about__orbit--2 { inset: 12%; animation-duration: 18s; animation-direction: reverse; border-color: var(--line); }
.about__orbit--2::before { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__img {
  position: relative; z-index: 1;
  width: 72%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.about__heading {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  white-space: pre-line;
  margin-bottom: 1.4rem;
}
.about__copy p { color: var(--muted); font-size: 1.06rem; margin: 0 0 1rem; }
.about__copy strong { color: var(--ink); font-weight: 600; }
.about__list {
  display: grid; gap: .7rem; margin: 1.6rem 0;
}
.about__list li {
  display: flex; align-items: center; gap: .7rem;
  color: var(--ink); font-size: .98rem;
}
.about__list li::before {
  content: ""; flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 70%);
  border: 1px solid rgba(255,107,53,.4);
}
.about__skills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.chip {
  padding: .5rem 1rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
  font-family: var(--font-display); font-size: .85rem; color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.chip:hover {
  color: var(--ink); border-color: var(--brand);
  background: rgba(255,107,53,.08); transform: translateY(-2px);
}

/* ---------------------------- SHOWCASE ---------------------------------- */
.showcase { padding: clamp(4rem, 9vw, 8rem) 0; }
.showcase__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.showcase__stage {
  position: relative; aspect-ratio: 1;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 50% 110%, rgba(255,255,255,.06), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  overflow: hidden;
  display: grid; place-items: center;
}
.showcase__stage-glow {
  position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 50% 45%, rgba(255,107,53,.45), transparent 70%);
  transition: background .6s var(--ease);
}
.showcase__stage-ring {
  position: absolute; width: 70%; aspect-ratio: 1; bottom: 6%;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 60%);
}
.showcase__stage-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;             /* fill the whole stage */
  transition: opacity .35s var(--ease);
}
.showcase__stage-img.is-swapping { opacity: 0; }
.showcase__stage-type {
  position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2;
  padding: .4rem .9rem; border-radius: 100px;
  background: rgba(10,10,16,.6); border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.showcase__name { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.showcase__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.showcase__meta span {
  padding: .35rem .8rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
  font-family: var(--font-display); font-size: .76rem; color: var(--muted);
}
.showcase__desc { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.6rem; max-width: 46ch; }
.showcase__thumbs {
  display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem;
}
.showcase__thumb {
  position: relative;
  width: 72px; height: 72px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--glass);
  overflow: hidden; padding: 0;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.showcase__thumb img { width: 100%; height: 100%; object-fit: contain; }
.showcase__thumb:hover { transform: translateY(-3px); }
.showcase__thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 10px 24px -10px rgba(255,107,53,.6); }

/* ------------------------------ WORK ------------------------------------ */
.work { padding: clamp(4rem, 9vw, 8rem) 0; }
.work__filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filter {
  padding: .55rem 1.2rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
  font-family: var(--font-display); font-size: .88rem; color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--line-2); }
.filter.is-active { color: #160a04; background: var(--brand); border-color: var(--brand); font-weight: 600; }

.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.work-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  overflow: hidden;
  transition: transform .25s var(--ease-out), border-color .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease);
  transform-style: preserve-3d;
}
.work-card.is-hidden { display: none; }
.work-card:hover {
  border-color: color-mix(in srgb, var(--cc, var(--brand)) 60%, transparent);
  box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--cc, var(--brand)) 80%, transparent);
}
.work-card__media {
  position: relative;
  aspect-ratio: 1 / 1;          /* square box matches the square renders */
  overflow: hidden;
  background: #0b0b11;          /* fallback behind the image */
}
.work-card__media::after {      /* subtle per-product edge tint, image stays full */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc) 26%, transparent);
}
.work-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;            /* fill the whole box */
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.work-card:hover .work-card__img { transform: scale(1.05); }
.work-card__badge {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  padding: .35rem .75rem; border-radius: 100px;
  background: rgba(10,10,16,.65); border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: .68rem;
  letter-spacing: .06em; color: var(--cc, var(--brand));
}
.work-card__type {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.work-card__body { padding: 1.3rem 1.4rem 1.5rem; position: relative; z-index: 2; }
.work-card__title { font-size: 1.2rem; margin-bottom: .4rem; }
.work-card__blurb { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.work-card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  color: var(--cc, var(--brand));
}
.work-card__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.work-card:hover .work-card__link svg { transform: translateX(4px); }

/* ---------------------------- PIPELINE ---------------------------------- */
.pipeline { padding: clamp(4rem, 9vw, 8rem) 0; }
.pipeline__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pstep {
  position: relative;
  padding: 2rem 1.5rem 1.8rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--glass);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.pstep::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.pstep:hover { transform: translateY(-6px); border-color: var(--line-2); }
.pstep:hover::before { transform: scaleX(1); }
.pstep__num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  letter-spacing: -.03em; color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  margin-bottom: .8rem;
}
.pstep__title { font-size: 1.3rem; margin-bottom: .3rem; }
.pstep__tool {
  font-family: var(--font-display); font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
  margin-bottom: .8rem;
}
.pstep__desc { color: var(--muted); font-size: .92rem; }

/* ------------------------------ SHOPS ----------------------------------- */
.shops { padding: clamp(4rem, 9vw, 8rem) 0; }
.shops__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.shop {
  position: relative;
  padding: 2.2rem 1.9rem; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.shop:hover { transform: translateY(-6px); border-color: var(--line-2); }
.shop--featured {
  border-color: rgba(255,107,53,.35);
  box-shadow: inset 0 0 60px -30px rgba(255,107,53,.5);
}
.shop--featured::after {
  content: ""; position: absolute; inset: -40% 40% auto -40%; height: 80%;
  background: radial-gradient(circle, rgba(255,107,53,.25), transparent 60%);
  filter: blur(30px);
}
.shop__tag {
  align-self: flex-start;
  font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  padding: .3rem .75rem; border-radius: 100px; border: 1px solid rgba(255,107,53,.3);
  margin-bottom: 1.2rem; position: relative; z-index: 1;
}
.shop__name { font-size: 1.8rem; margin-bottom: .6rem; position: relative; z-index: 1; }
.shop__desc { color: var(--muted); font-size: .96rem; margin-bottom: 1.6rem; flex: 1; position: relative; z-index: 1; }
.shop__link {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  position: relative; z-index: 1;
}
.shop__link svg { width: 17px; height: 17px; color: var(--brand); transition: transform .3s var(--ease); }
.shop:hover .shop__link svg { transform: translateX(5px); }

/* Furality callout */
.furality {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  padding: 2rem clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255,60,172,.12), rgba(79,70,229,.12), rgba(0,207,255,.12));
  position: relative; overflow: hidden;
}
.furality__text h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .4rem; }
.furality__text p { color: var(--muted); max-width: 50ch; }

/* ----------------------------- CONTACT ---------------------------------- */
.contact { padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem); }
.contact__card {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  overflow: hidden;
}
.contact__glow {
  position: absolute; inset: auto 0 -60% 0; height: 100%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(255,107,53,.35), transparent 70%);
}
.contact .eyebrow { position: relative; }
.contact__title {
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 1rem 0 1.2rem; position: relative;
}
.contact__sub { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 2.2rem; position: relative; }
.contact__socials {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 3rem; position: relative;
}
.social {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: 1.5rem 1rem; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--glass);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.social:hover { transform: translateY(-5px); border-color: var(--brand); background: rgba(255,107,53,.06); }
.social--primary { border-color: rgba(255,107,53,.35); }
.social__icon { width: 30px; height: 30px; color: var(--ink); }
.social__icon svg { width: 100%; height: 100%; }
.social__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.social__handle { color: var(--muted); font-size: .82rem; }

/* ------------------------------ FOOTER ---------------------------------- */
.footer { 
  border-top: 1px solid var(--line); 
  /* padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;*/ 
  margin-bottom: 2rem;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; /* padding-bottom: 2.5rem; */
  border-bottom: 1px solid var(--line);
}
.footer__logo { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.footer__logo i { color: var(--brand); font-style: normal; }
.footer__nav { display: flex; gap: 1.6rem; }
.footer__nav a { color: var(--muted); font-size: .95rem; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--ink); }
.footer__note { color: var(--muted-2); font-size: .9rem; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem; padding-top: 1.6rem;
  color: var(--muted-2); font-size: .82rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

/* ---------------------------- TO TOP ------------------------------------ */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(12,12,19,.7);
  color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, border-color .3s var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brand); transform: translateY(-3px); }

/* ---------------------------- RESPONSIVE -------------------------------- */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; text-align: left; min-height: auto; }
  .hero__stage { grid-row: 1; justify-self: start; width: min(340px, 70vw); }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .showcase__layout { grid-template-columns: 1fr; }
  .showcase__stage { max-width: 460px; margin-inline: auto; width: 100%; }
  .pipeline__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .shops__grid { grid-template-columns: 1fr; }
  .contact__socials { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__stage { display: none; }   /* keep mobile hero lean & fast */
  .hero { padding-top: 7rem; }
  .marquee__item { font-size: 1rem; gap: 2rem; }
  .work__grid { grid-template-columns: 1fr; }
  .furality { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .stats__grid, .pipeline__grid, .contact__socials { grid-template-columns: 1fr; }
}

/* ---------------------- MOTION / ACCESSIBILITY -------------------------- */
@media (hover: none) {
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: auto; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__stage, .bg__aurora { animation: none !important; }
  .marquee__track { animation: none !important; }
}
