/* ============================================================
   VALENTIN PORTFOLIO — Design System v2
   ============================================================ */

:root {
  --bg: #080a08;
  --surface: rgba(14, 18, 14, 0.82);
  --surface-hi: rgba(20, 26, 20, 0.92);
  --surface-lo: rgba(255, 255, 255, 0.025);
  --text: #edeae2;
  --text-muted: #9a9590;
  --text-faint: #5a5750;
  --line: rgba(255, 255, 255, 0.07);
  --line-hi: rgba(255, 255, 255, 0.14);

  --lime: #b8ff84;
  --lime-glow: rgba(184, 255, 132, 0.18);
  --lime-dim: rgba(184, 255, 132, 0.07);
  --amber: #e9c46a;
  --sky: #90c8f0;
  --rose: #f4a0b0;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 44px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);

  --r-xs: 8px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", monospace;

  --t-fast: 160ms cubic-bezier(.25, .46, .45, .94);
  --t-base: 260ms cubic-bezier(.25, .46, .45, .94);
  --t-slow: 440ms cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(184, 255, 132, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 100% 10%, rgba(144, 200, 240, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 95%, rgba(233, 196, 106, 0.06) 0%, transparent 55%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.011) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.011) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ── Wrapper ── */
.site-wrap {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding-block: 20px 80px;
  display: grid;
  gap: 18px;
}

/* ── Glass panel ── */
.glass {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(184, 255, 132, 0.09) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  background: rgba(8, 10, 8, 0.78);
  backdrop-filter: blur(28px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.site-header.scrolled {
  background: rgba(8, 10, 8, 0.94);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
  background: conic-gradient(from 145deg at 35% 35%,
      var(--lime) 0deg, var(--sky) 120deg, var(--amber) 240deg, var(--lime) 360deg);
  box-shadow: 0 6px 18px rgba(184, 255, 132, 0.24);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.brand-copy small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--lime);
  background: var(--lime-dim);
}

/* ── Hero (landing) ── */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(32px, 5vw, 68px);
  min-height: min(62vh, 580px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: var(--lime);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 0.94;
  margin-bottom: 26px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--lime) 0%, var(--sky) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.72;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface-lo);
}

/* ── Orb visual ── */
.orb-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      rgba(184, 255, 132, 0.6) 0%, rgba(144, 200, 240, 0.5) 120deg,
      rgba(233, 196, 106, 0.5) 240deg, rgba(184, 255, 132, 0.6) 360deg);
  filter: blur(28px);
  animation: orbSpin 14s linear infinite;
}

.orb-core {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: rgba(8, 10, 8, 0.9);
  border: 1px solid var(--line-hi);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.orb-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orb-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--lime);
}

.orb-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.orb-tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--surface-lo);
}

@keyframes orbSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Btns ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: #080f08;
  box-shadow: 0 10px 28px rgba(184, 255, 132, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(184, 255, 132, 0.38);
}

.btn-ghost {
  border: 1px solid var(--line-hi);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

/* ── Stats strip ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.stat-item {
  padding: 28px 24px;
  background: var(--surface);
  display: grid;
  gap: 5px;
  transition: background var(--t-fast);
}

.stat-item:hover {
  background: var(--surface-hi);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Category cards ── */
.section {
  padding: clamp(28px, 4.5vw, 52px) clamp(24px, 4vw, 48px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.73rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 32px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  display: grid;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-hi);
  box-shadow: var(--shadow-lg);
}

.cat-media {
  height: 190px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cat-media-code {
  background:
    radial-gradient(circle at 20% 25%, rgba(184, 255, 132, 0.2), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(144, 200, 240, 0.12), transparent 40%),
    #0c1410;
}

.cat-media-design {
  background:
    radial-gradient(circle at 70% 20%, rgba(233, 196, 106, 0.2), transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(144, 200, 240, 0.14), transparent 40%),
    #10101a;
}

.cat-media-sound {
  background:
    radial-gradient(circle at 50% 30%, rgba(184, 255, 132, 0.16), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(233, 196, 106, 0.12), transparent 40%),
    #0e1210;
}

.cat-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(8, 10, 8, 0.8);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.cat-body {
  padding: 20px 22px 24px;
  display: grid;
  gap: 8px;
}

.cat-kicker {
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cat-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.cat-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 2px;
  transition: color var(--t-fast), gap var(--t-fast);
}

.cat-card:hover .cat-arrow {
  color: var(--lime);
  gap: 10px;
}

/* Code preview */
.code-preview {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  width: 100%;
}

.win-dots {
  display: flex;
  gap: 7px;
}

.win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.code-lines {
  display: grid;
  gap: 10px;
}

.code-line {
  height: 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.06));
}

.code-line.l-long {
  width: 88%;
}

.code-line.l-med {
  width: 64%;
}

.code-line.l-short {
  width: 44%;
}

.code-line.accent {
  background: linear-gradient(90deg, var(--lime), rgba(184, 255, 132, 0.07));
}

/* Design preview */
.d-frame {
  position: absolute;
  border-radius: var(--r-md);
  border: 1px solid var(--line-hi);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-sm);
}

.d-frame-a {
  inset: 22px 72px 44px 22px;
  transform: rotate(-7deg);
}

.d-frame-b {
  inset: 34px 42px 36px 60px;
  transform: rotate(4deg);
}

.d-frame-c {
  inset: 50px 58px 22px 46px;
}

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 70px;
}

.waveform span {
  display: block;
  width: 7px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--lime), rgba(184, 255, 132, 0.12));
  animation: waveAnim 1.6s ease-in-out infinite;
}

.waveform span:nth-child(1) {
  height: 32%;
  animation-delay: -0.24s;
}

.waveform span:nth-child(2) {
  height: 72%;
  animation-delay: -0.48s;
}

.waveform span:nth-child(3) {
  height: 50%;
  animation-delay: -0.12s;
}

.waveform span:nth-child(4) {
  height: 90%;
  animation-delay: -0.60s;
}

.waveform span:nth-child(5) {
  height: 58%;
  animation-delay: -0.30s;
}

.waveform span:nth-child(6) {
  height: 80%;
  animation-delay: -0.42s;
}

.waveform span:nth-child(7) {
  height: 44%;
  animation-delay: -0.18s;
}

.waveform span:nth-child(8) {
  height: 92%;
  animation-delay: -0.54s;
}

.waveform span:nth-child(9) {
  height: 60%;
  animation-delay: -0.06s;
}

.waveform span:nth-child(10) {
  height: 38%;
  animation-delay: -0.36s;
}

@keyframes waveAnim {

  0%,
  100% {
    transform: scaleY(.5);
    opacity: .55;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ── Work cards ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.work-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.work-grid.featured {
  grid-template-columns: 1.4fr 1fr;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  display: grid;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-hi);
  box-shadow: var(--shadow-lg);
}

.work-media {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.work-media-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.work-media-tall {
  height: 310px;
}

.media-green {
  background: radial-gradient(circle at 20% 20%, rgba(184, 255, 132, 0.22), transparent 40%), radial-gradient(circle at 80% 80%, rgba(144, 200, 240, 0.14), transparent 40%), #0d150d;
}

.media-amber {
  background: radial-gradient(circle at 80% 20%, rgba(233, 196, 106, 0.22), transparent 40%), radial-gradient(circle at 20% 80%, rgba(144, 200, 240, 0.12), transparent 40%), #141208;
}

.media-blue {
  background: radial-gradient(circle at 50% 10%, rgba(144, 200, 240, 0.22), transparent 45%), radial-gradient(circle at 20% 90%, rgba(184, 255, 132, 0.1), transparent 35%), #0c1218;
}

.media-rose {
  background: radial-gradient(circle at 70% 30%, rgba(244, 160, 176, 0.2), transparent 40%), radial-gradient(circle at 20% 70%, rgba(233, 196, 106, 0.1), transparent 40%), #140c0e;
}

.media-purple {
  background: radial-gradient(circle at 40% 30%, rgba(180, 150, 255, 0.2), transparent 45%), radial-gradient(circle at 80% 80%, rgba(144, 200, 240, 0.12), transparent 40%), #100c18;
}

.media-grid-bg {
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
}

.work-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(8, 10, 8, 0.82);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.work-body {
  padding: 18px 20px 22px;
  display: grid;
  gap: 7px;
}

.work-tag {
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-body h3 {
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.3;
}

.work-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.pill {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  color: var(--text-faint);
  background: var(--surface-lo);
}

/* ── Feature panel ── */
.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.feature-copy {
  padding: clamp(32px, 5vw, 60px);
  display: grid;
  gap: 18px;
  align-content: center;
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.feature-copy p {
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
  min-height: 300px;
  display: grid;
  place-items: center;
}

/* ── Mini cards ── */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-lo);
  display: grid;
  gap: 9px;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.mini-card:hover {
  border-color: var(--line-hi);
  background: rgba(255, 255, 255, 0.03);
}

.mini-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.mini-card h4 {
  font-size: 0.93rem;
  font-weight: 600;
}

.mini-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Sound cards ── */
.sound-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sound-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base);
  display: grid;
}

.sound-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-hi);
}

.track-cover {
  height: 170px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 48px;
}

.mini-wave span {
  display: block;
  width: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.28);
  animation: waveAnim 1.6s ease-in-out infinite;
}

.mini-wave span:nth-child(1) {
  height: 38%;
  animation-delay: -0.2s;
}

.mini-wave span:nth-child(2) {
  height: 78%;
  animation-delay: -0.4s;
}

.mini-wave span:nth-child(3) {
  height: 54%;
  animation-delay: -0.1s;
}

.mini-wave span:nth-child(4) {
  height: 90%;
  animation-delay: -0.5s;
}

.mini-wave span:nth-child(5) {
  height: 64%;
  animation-delay: -0.3s;
}

.play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: #080f08;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 8px 20px rgba(184, 255, 132, 0.28);
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(184, 255, 132, 0.5);
}

.track-info {
  padding: 16px 18px 18px;
  display: grid;
  gap: 5px;
}

.track-cat {
  font-size: 0.7rem;
  color: var(--sky);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.track-info h3 {
  font-size: 0.98rem;
  font-weight: 600;
}

.track-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.track-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px 16px;
  border-top: 1px solid var(--line);
}

.track-dur {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
}

/* ── Sub-hero (inner pages) ── */
.sub-hero {
  padding: clamp(48px, 7vw, 90px) clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.sub-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin-bottom: 20px;
}

.sub-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.7;
}

.sub-hero-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Contact ── */
.contact-section {
  display: grid;
  gap: 28px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chip {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  color: var(--text-muted);
  background: var(--surface-lo);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.contact-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: var(--lime-dim);
}

/* ── Status dot ── */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.status-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 132, 0.18);
  animation: sPulse 2.5s infinite;
}

@keyframes sPulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(184, 255, 132, 0.18);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(184, 255, 132, 0);
  }
}

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.footer-brand {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-note {
  font-size: 0.74rem;
  color: var(--text-faint);
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0);
}

[data-delay="1"] {
  transition-delay: .1s;
}

[data-delay="2"] {
  transition-delay: .2s;
}

[data-delay="3"] {
  transition-delay: .3s;
}

[data-delay="4"] {
  transition-delay: .4s;
}

[data-delay="5"] {
  transition-delay: .5s;
}

/* ── Responsive ── */
@media (max-width:1080px) {
  .page-hero {
    grid-template-columns: 1fr;
  }

  .orb-wrap {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid,
  .work-grid.featured {
    grid-template-columns: 1fr 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-header {
    grid-template-columns: 1fr;
  }

  .sound-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:760px) {
  .site-wrap {
    width: calc(100% - 20px);
    gap: 12px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--r-xl);
  }

  .category-grid,
  .work-grid,
  .work-grid.two-col,
  .mini-grid,
  .sound-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}