@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f7f6f2;
  --bg-2: #efede7;
  --surface: #ffffff;
  --ink: #0c0b10;
  --ink-2: #55535d;
  --ink-3: #85838c;
  --line: rgba(12, 11, 16, 0.09);
  --line-2: rgba(12, 11, 16, 0.16);
  --accent: #4b3df0;
  --accent-ink: #ffffff;
  --glow-1: #7a6cff;
  --glow-2: #ff8a6b;
  --glow-3: #5ec8ff;
  --shadow: 0 1px 2px rgba(12, 11, 16, 0.04), 0 12px 40px -12px rgba(12, 11, 16, 0.14);
  --radius: 20px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0a0f;
    --bg-2: #121118;
    --surface: #16151d;
    --ink: #f4f3f7;
    --ink-2: #a9a7b3;
    --ink-3: #75737f;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --accent: #8b80ff;
    --accent-ink: #0b0a0f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 50px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 6px 20px -8px rgba(12, 11, 16, .5); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 8vw, 96px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -68px 0 0; z-index: -2;
  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(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.aurora { position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 460px; height: 460px; left: 8%; top: 40px; background: var(--glow-1); }
.aurora span:nth-child(2) { width: 380px; height: 380px; right: 10%; top: 0; background: var(--glow-2); animation-delay: -6s; opacity: .8; }
.aurora span:nth-child(3) { width: 320px; height: 320px; left: 42%; top: 180px; background: var(--glow-3); animation-delay: -12s; opacity: .6; }
@media (prefers-color-scheme: dark) { .aurora { opacity: .32; } }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 13.5px; color: var(--ink-2);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); }
.eyebrow .dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 3px rgba(62, 224, 143, .25); }

.hero h1 { font-size: clamp(44px, 8.4vw, 104px); margin: 28px 0 0; max-width: 13ch; }
.hero h1 em { background: linear-gradient(100deg, var(--glow-1), var(--glow-2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lede { margin-top: 28px; max-width: 58ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Player card in hero */
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.player {
  position: relative; border-radius: 28px; padding: 22px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: rotate(1.5deg);
}
.player-cover {
  aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 20% 10%, #8a4dff 0%, #5000ad 45%, #21103b 100%);
  display: grid; place-items: center;
}
.player-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 90%, rgba(255, 98, 106, .7), transparent 70%); }
.player-cover img { width: 46%; position: relative; z-index: 1; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.player-meta { display: flex; justify-content: space-between; align-items: end; margin-top: 18px; gap: 12px; }
.player-meta b { display: block; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.player-meta small { color: var(--ink-3); font-size: 13.5px; }
.play { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.play svg { width: 18px; height: 18px; margin-left: 2px; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; margin-top: 18px; }
.wave i { flex: 1; border-radius: 3px; background: var(--line-2); height: var(--h); animation: pulse 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -70ms); }
.wave i.on { background: linear-gradient(var(--glow-1), var(--glow-2)); }
@keyframes pulse { 50% { transform: scaleY(.45); } }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 8px; font-variant-numeric: tabular-nums; }

/* Sections */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section h2 { font-size: clamp(36px, 5.4vw, 64px); }
.section-head p { color: var(--ink-2); font-size: 18px; max-width: 46ch; justify-self: end; }

/* Venture */
.venture {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border-radius: 32px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.venture-body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.tag { align-self: flex-start; font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.venture h3 { font-size: clamp(36px, 4.6vw, 56px); display: flex; align-items: center; gap: 14px; }
.venture h3 img { width: 52px; height: 52px; }
.venture-body > p { color: var(--ink-2); font-size: 18px; max-width: 48ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.venture-art {
  position: relative; min-height: 420px; overflow: hidden;
  background: radial-gradient(90% 80% at 30% 20%, #7b3bff, #4a0aa8 50%, #1a0c33);
  display: grid; place-items: center;
}
.venture-art::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, .09) 0 1px, transparent 1px 56px); }
.venture-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 80% 85%, rgba(255, 98, 106, .75), transparent 70%); }
.venture-art img { position: relative; z-index: 1; width: 42%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); animation: float 7s ease-in-out infinite; }
.platforms { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms span { font-size: 13px; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }

/* Principles */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 36px 28px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.principle + .principle { padding-left: 28px; border-left: 1px solid var(--line); }
.principle .n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--ink-3); line-height: 1; }
.principle h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; }
.principle p { color: var(--ink-2); font-size: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(48px, 6vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 36px; padding: clamp(40px, 8vw, 96px) clamp(24px, 6vw, 80px);
  background: #0c0b10; color: #f4f3f7;
}
@media (prefers-color-scheme: dark) { .cta { background: var(--surface); border: 1px solid var(--line); } }
.cta::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 108, 255, .55), transparent 65%); }
.cta::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -160px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 107, .4), transparent 65%); }
.cta h2 { font-size: clamp(40px, 7vw, 88px); max-width: 12ch; }
.cta p { margin-top: 20px; color: #b9b7c2; font-size: 18px; max-width: 52ch; }
.cta .btn-primary { background: #f4f3f7; color: #0c0b10; }
.cta .btn-ghost { color: #f4f3f7; border-color: rgba(255, 255, 255, .2); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.cta address { font-style: normal; color: #8f8d99; font-size: 15px; margin-top: 40px; }

/* Prose pages */
.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(44px, 7.4vw, 92px); max-width: 14ch; }
.page-hero .lede { margin-top: 24px; }
.split { display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding: 48px 0; border-top: 1px solid var(--line); }
.split h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); line-height: 1.6; }
.prose { max-width: 66ch; display: grid; gap: 18px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose .big { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; }
.facts { margin: 0; display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: 15px; }
.facts dd { color: var(--ink); }
.facts a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }

/* Footer */
footer { padding: 72px 0 40px; margin-top: clamp(72px, 10vw, 120px); border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.foot p, .foot address { color: var(--ink-2); font-size: 15px; font-style: normal; line-height: 1.7; }
.foot h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.foot ul a:hover { color: var(--ink); }
.foot .brand { margin-bottom: 14px; }
.legal-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(96px, 18vw, 200px); letter-spacing: -0.06em; }
.notfound p { color: var(--ink-2); margin: 12px 0 32px; font-size: 18px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .venture, .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .player { max-width: 420px; transform: none; }
  .venture-art { min-height: 340px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links a.hide-sm { display: none; }
  .nav-links a:not(.btn) { padding: 10px; }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0 0; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--line); margin-top: 28px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .foot { grid-template-columns: 1fr; }
  .cta { border-radius: 28px; }
}

/* Soundko mark sits on a white app-icon tile so it reads on the violet art */
.player-cover img, .venture-art img { height: auto; aspect-ratio: 1; background: #fff; border-radius: 23%; padding: 6%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.player-cover img { width: 40%; }
.venture-art img { width: 36%; }
