/* =========================================================
   IDEAL — Music Production, A&R & Creative Direction
   Dark, clean, Apple-grade. Multi-color spectrum accents.
   ========================================================= */

:root {
  --bg: #04070f;
  --bg-soft: #0a0f1a;
  --ink: #f5f5f7;
  --ink-dim: #a1a1aa;
  --ink-faint: #6e6e78;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --blur: saturate(180%) blur(20px);

  /* Single-accent palette: cohesive blue (blends with hero) + neutrals */
  --accent: #6ea6ff;
  --accent-soft: #a7c6ff;
  --accent-deep: #4f86e0;
  --spectrum: linear-gradient(100deg, #d3e3ff 0%, #9ec2ff 45%, #79a6f5 100%);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden; /* scroller owns the scroll */
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: normal; }

/* ---------- Spectrum text ---------- */
.spectrum {
  background: var(--spectrum);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: spectrumShift 12s var(--ease-soft) infinite;
}
@keyframes spectrumShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============== AMBIENT AURORA BACKGROUND ============== */
.aurora {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  pointer-events: none;
}
.aurora__blob {
  position: absolute; border-radius: 50%;
  filter: blur(95px); opacity: 0.4;
  will-change: transform;
}
.aurora__blob--1 {
  width: 60vw; height: 60vw; top: -18vw; left: -10vw;
  background: radial-gradient(circle at 30% 30%, #2f5fb0, transparent 66%);
  animation: drift1 26s var(--ease-soft) infinite;
}
.aurora__blob--2 {
  width: 50vw; height: 50vw; top: 20vh; right: -14vw;
  background: radial-gradient(circle at 60% 40%, #3b7fd0, transparent 64%);
  animation: drift2 32s var(--ease-soft) infinite;
}
.aurora__blob--3 {
  width: 46vw; height: 46vw; bottom: -16vw; left: 22vw;
  background: radial-gradient(circle at 50% 50%, #1e3a6e, transparent 62%);
  animation: drift3 30s var(--ease-soft) infinite;
}
@keyframes drift1 { 50% { transform: translate(8vw, 10vh) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(-9vw, 6vh) scale(1.1); } }
@keyframes drift3 { 50% { transform: translate(6vw, -8vh) scale(1.2); } }

.aurora__grain {
  position: absolute; inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.025; mix-blend-mode: overlay;
}
/* Dark vignette so content stays legible over aurora */
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 30%, transparent 30%, rgba(0,0,2,0.55) 75%, rgba(0,0,2,0.9) 100%);
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(0.85rem, 2vw, 1.3rem) var(--pad);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 10, 0.55);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand { display: inline-flex; flex-direction: row; align-items: center; gap: 0.5rem; }
.nav__logo {
  height: 26px; width: auto; display: block; flex: 0 0 auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
  transition: transform 0.4s var(--ease);
}
.nav__brand:hover .nav__logo { transform: scale(1.06); }
.nav__name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", sans-serif;
  font-size: 1.16rem; font-weight: 600; letter-spacing: -0.014em; line-height: 1;
  color: var(--ink); white-space: nowrap; -webkit-font-smoothing: antialiased;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.nav__links a { font-size: 0.95rem; color: var(--ink-dim); transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 0.5rem 1.1rem; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--ink) !important;
  border: 1px solid var(--line);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__cta:hover { background: rgba(255,255,255,0.16); transform: translateY(-1px); }

/* Language switcher (Apple-HIG minimal) */
.nav__right { display: flex; align-items: center; gap: 0.65rem; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--ink-dim);
  border-radius: 999px; padding: 0.4rem 0.7rem; font: inherit; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.02em; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang__btn:hover { background: rgba(255,255,255,0.12); color: var(--ink); }
.lang__globe { opacity: 0.9; flex: 0 0 auto; }
.lang__cur { line-height: 1; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 152px;
  background: rgba(12,15,24,0.92); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top right;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  appearance: none; border: 0; background: transparent; cursor: pointer; text-align: left;
  color: var(--ink-dim); font-family: inherit; font-size: 0.92rem; padding: 0.55rem 0.7rem; border-radius: 9px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang__menu button:hover { color: var(--ink); background: rgba(255,255,255,0.08); }
.lang__menu button.is-active { color: var(--ink); background: rgba(110,166,255,0.18); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(5,5,10,0.85);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.03em; padding: 0.3rem 0; }
.menu__foot { margin-top: 2rem; display: flex; gap: 1.5rem; }
.menu__foot a { font-size: 1rem; color: var(--ink-dim); }

/* ===================== DOT NAV ===================== */
.dots {
  position: fixed; right: clamp(0.8rem, 2vw, 1.6rem); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.dots a { display: grid; place-items: center; width: 18px; height: 18px; }
.dots a span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transition: all 0.4s var(--ease);
}
.dots a.is-active span {
  background: var(--ink); height: 22px; border-radius: 999px;
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* ===================== SCROLLER / SECTIONS ===================== */
.scroller {
  position: relative; z-index: 1;
  height: 100vh; height: 100dvh;
  overflow-y: scroll; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }

.section {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5.5rem, 11vh, 8rem) 0 clamp(2.5rem, 6vh, 4rem);
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.04;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
[data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; }
[data-d="4"] { --d: 4; } [data-d="5"] { --d: 5; } [data-d="6"] { --d: 6; }

/* ===================== HERO ===================== */
.hero { text-align: center; align-items: center; position: relative; overflow: hidden; }

/* First-slide background image + ambient particle layer */
.hero__media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: #0a1326 url("primerslide.jpg?v=6") center / cover no-repeat;
  animation: heroPan 38s var(--ease-soft) infinite alternate;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(115% 80% at 50% 42%, rgba(2,3,12,0.55), rgba(2,3,12,0.18) 62%, transparent 80%),
    linear-gradient(180deg, rgba(2,3,12,0.52) 0%, rgba(2,3,12,0.28) 32%, rgba(3,3,12,0.97) 100%);
}
@keyframes heroPan { from { transform: scale(1.06) translate3d(-1%, -0.5%, 0); } to { transform: scale(1.12) translate3d(1.5%, 1%, 0); } }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

.hero__inner { max-width: 980px; padding: 0 var(--pad); position: relative; z-index: 2; }
.hero__logo {
  width: clamp(84px, 11vw, 128px); height: auto; margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 30px rgba(129,140,248,0.35));
}
.hero__title {
  font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.02;
}
.hero__title span { display: block; }
.hero__title em { font-weight: 600; }
.hero__sub {
  margin: 1.6rem auto 0; max-width: 620px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-dim);
  letter-spacing: -0.01em;
}
.hero__actions { display: flex; gap: 0.9rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-size: 1rem; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  will-change: transform;
}
.btn--primary {
  color: #0a0a0f; background: #fff;
  box-shadow: 0 6px 30px rgba(255,255,255,0.18);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 44px rgba(255,255,255,0.28); }
.btn--ghost {
  color: var(--ink); border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.09); }

.hero__scroll {
  position: absolute; bottom: clamp(1.5rem, 4vh, 2.6rem); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--ink-faint);
}
.hero__scroll-line {
  width: 1px; height: 42px; overflow: hidden; position: relative;
  background: rgba(255,255,255,0.12);
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--ink); animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { top: -50%; } 60%,100% { top: 100%; } }
.hero__scroll-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ===================== TRUSTED ===================== */
.trusted { gap: clamp(2rem, 5vh, 3.5rem); }
.trusted .section__title { font-size: clamp(1.7rem, 4.5vw, 3rem); }
.marquee {
  width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(3rem, 7vw, 6rem); width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: clamp(26px, 3.4vw, 38px); width: auto; object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1); opacity: 0.55;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.marquee__track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trusted__labels {
  text-align: center; color: var(--ink-faint); font-size: 0.92rem;
  max-width: 820px; margin: 0 auto; line-height: 1.9;
}

/* ===================== WORK / RAIL ===================== */
.work { gap: clamp(1.6rem, 4vh, 2.6rem); }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.work__note { max-width: 320px; color: var(--ink-dim); font-size: 0.98rem; }
.rail {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.4rem var(--pad); scroll-padding-left: var(--pad);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__card {
  flex: 0 0 auto; width: clamp(260px, 30vw, 320px);
  scroll-snap-align: start;
  border-radius: 18px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft);
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  opacity: 0; transform: translateY(24px);
}
.rail__card.is-in { opacity: 1; transform: none; }
.rail__card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 26px 60px rgba(0,0,0,0.6); }
.rail__card iframe { display: block; width: 100%; border: 0; border-radius: 18px; }
.rail__hint {
  display: flex; align-items: center; gap: 1rem; color: var(--ink-faint);
  font-size: 0.82rem; letter-spacing: 0.04em; margin-top: 0.4rem;
}
.rail__progress { flex: 1; max-width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__progress i { display: block; height: 100%; width: 12%; background: var(--spectrum); background-size: 200%; border-radius: 2px; transition: width 0.2s var(--ease-soft); }

/* ===================== ABOUT ===================== */
.about { gap: clamp(2rem, 5vh, 3.5rem); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.founder { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.founder__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.founder__name { font-weight: 600; font-size: 1rem; }
.founder__role { font-size: 0.85rem; color: var(--ink-dim); display: flex; align-items: center; gap: 0.4rem; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-soft); }
.about__title { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.07; }
.about__body { display: flex; flex-direction: column; gap: 1.1rem; }
.about__body p { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.7; max-width: 60ch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); margin-top: 1rem; }
.stat { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.stat__num { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat__label { font-size: 0.86rem; color: var(--ink-faint); }

/* ===================== SERVICES ===================== */
.services { gap: clamp(1.8rem, 4vh, 3rem); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.svc {
  padding: clamp(1.3rem, 2vw, 1.8rem); border-radius: 18px;
  background: var(--card); border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--spectrum); background-size: 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.svc:hover { transform: translateY(-5px); background: var(--card-hover); }
.svc:hover::before { opacity: 0.7; }
.svc__idx { font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.1em; }
.svc h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; margin: 0.6rem 0 0.5rem; letter-spacing: -0.02em; }
.svc p { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.55; }

.genres { margin-top: clamp(1rem, 2vh, 1.5rem); }
.genres__label { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1rem; letter-spacing: 0.04em; }
.genres__cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.9rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft);
  color: var(--ink-dim);
  transition: all 0.35s var(--ease); cursor: default;
  opacity: 0; transform: translateY(10px) scale(0.96);
}
.chip.is-in { opacity: 1; transform: none; }
.chip:hover { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.09); transform: translateY(-2px); }

/* ===================== CONTACT ===================== */
.contact { justify-content: space-between; }
.contact__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.contact__title { font-size: clamp(3.4rem, 13vw, 9rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; }
.contact__title span { display: block; }
.contact__sub { margin: 1.6rem auto 0; max-width: 460px; color: var(--ink-dim); font-size: clamp(1rem, 2vw, 1.18rem); }
.contact__cta {
  position: relative; margin-top: 2.6rem;
  width: clamp(86px, 13vw, 120px); height: clamp(86px, 13vw, 120px);
  border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.contact__cta svg { transition: transform 0.5s var(--ease); }
.contact__cta:hover { transform: scale(1.05); background: rgba(255,255,255,0.08); }
.contact__cta:hover svg { transform: translateX(5px); }
.contact__cta-ring {
  position: absolute; inset: -1px; border-radius: 50%; padding: 1.5px;
  background: var(--spectrum); background-size: 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spectrumShift 8s var(--ease-soft) infinite, spin 14s linear infinite;
  opacity: 0.9;
}
@keyframes spin { to { transform: rotate(360deg); } }

.footer { width: 100%; padding-top: clamp(1.5rem, 4vh, 2.5rem); }
.footer__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--line-soft);
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Inter", sans-serif;
  font-style: normal; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.012em; color: var(--ink);
}
.footer__logo { height: 18px; width: auto; display: block; opacity: 0.95; }
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a { color: var(--ink-dim); font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-faint); font-size: 0.82rem; }

/* ===================== INQUIRY SHEET (form) ===================== */
.sheet-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0px, 4vw, 2.5rem);
  background: rgba(3, 3, 8, 0.62);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.sheet-overlay.is-open { opacity: 1; visibility: visible; }

.sheet {
  position: relative; width: 100%; max-width: 600px;
  max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(22,22,30,0.96), rgba(12,12,18,0.97));
  border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transform: translateY(24px) scale(0.98); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  overflow: hidden;
}
.sheet-overlay.is-open .sheet { transform: none; opacity: 1; }

.sheet__head { padding: 1.4rem 1.6rem 0.9rem; }
.sheet__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.sheet__step-count { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.sheet__close {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.05); color: var(--ink-dim); cursor: pointer;
  display: grid; place-items: center; font-size: 1rem; line-height: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.sheet__close:hover { background: rgba(255,255,255,0.12); color: var(--ink); transform: rotate(90deg); }
.sheet__progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.sheet__progress i { display: block; height: 100%; width: 20%; background: var(--spectrum); border-radius: 3px; transition: width 0.5s var(--ease); }

.sheet__body { padding: 0.6rem 1.6rem 0.4rem; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.sheet__body::-webkit-scrollbar { width: 8px; }
.sheet__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 8px; }

.fstep { display: none; animation: stepIn 0.5s var(--ease); }
.fstep.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fstep h3 { font-size: clamp(1.3rem, 3.5vw, 1.7rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
.fstep p.sub { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.4rem; }
.field > label { display: block; font-size: 0.92rem; font-weight: 500; color: var(--ink); margin-bottom: 0.7rem; }
.field .hint { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.5rem; }

/* selectable option cards / chips */
.opts { display: grid; gap: 0.6rem; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opts--wrap { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.opt {
  position: relative; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1rem; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,0.035); border: 1px solid var(--line-soft);
  color: var(--ink-dim); font-size: 0.95rem; user-select: none;
  transition: all 0.3s var(--ease);
}
.opt:hover { background: rgba(255,255,255,0.07); color: var(--ink); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .check {
  width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.opt .check svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.5); transition: all 0.3s var(--ease); color: #fff; }
.opt.sel { border-color: var(--accent); background: rgba(99,102,241,0.14); color: var(--ink); }
.opt.sel .check { background: var(--accent); border-color: var(--accent); }
.opt.sel .check svg { opacity: 1; transform: none; }

/* pill chips (genres / multi) */
.pill {
  padding: 0.5rem 0.95rem; border-radius: 999px; cursor: pointer; user-select: none;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft);
  color: var(--ink-dim); font-size: 0.9rem; transition: all 0.28s var(--ease);
}
.pill:hover { color: var(--ink); background: rgba(255,255,255,0.08); }
.pill.sel { background: rgba(99,102,241,0.16); border-color: var(--accent); color: #fff; }

/* segmented control (Apple style) */
.seg { display: grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-soft); }
.seg button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 0.65rem 0.6rem; border-radius: 10px; color: var(--ink-dim);
  font-size: 0.9rem; font-weight: 500; transition: all 0.3s var(--ease);
}
.seg button.sel { background: rgba(255,255,255,0.12); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.seg.seg--accent button.sel { background: var(--accent); color: #fff; }

.ai-hint {
  margin-top: 0.85rem; padding: 0.85rem 1rem; border-radius: 12px; font-size: 0.88rem;
  background: rgba(99,102,241,0.10); border: 1px solid rgba(99,102,241,0.28); color: var(--accent-soft);
  display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.45;
  opacity: 0; transform: translateY(6px); transition: all 0.4s var(--ease);
}
.ai-hint.show { opacity: 1; transform: none; }

/* inputs */
.in {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--ink); font-size: 0.98rem; font-family: inherit;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.in::placeholder { color: var(--ink-faint); }
.in:focus { outline: none; border-color: var(--accent); background: rgba(99,102,241,0.06); }
textarea.in { resize: vertical; min-height: 110px; line-height: 1.5; }
.in-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.sheet__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 1rem 1.6rem 1.4rem; border-top: 1px solid var(--line-soft);
}
.sheet__foot .spacer { flex: 1; }
.fbtn {
  appearance: none; cursor: pointer; font-family: inherit; font-size: 0.96rem; font-weight: 500;
  padding: 0.8rem 1.5rem; border-radius: 999px; transition: all 0.35s var(--ease);
}
.fbtn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-dim); }
.fbtn--ghost:hover { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.05); }
.fbtn--primary { background: #fff; color: #0a0a0f; border: 0; box-shadow: 0 6px 24px rgba(255,255,255,0.14); }
.fbtn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(255,255,255,0.22); }
.fbtn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* success / error */
.sheet__done { text-align: center; padding: 2.5rem 1.6rem 3rem; }
.sheet__done .tick {
  width: 76px; height: 76px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: rgba(99,102,241,0.14); border: 1px solid var(--accent);
  display: grid; place-items: center; color: var(--accent-soft);
  animation: pop 0.6s var(--ease);
}
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.sheet__done h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.sheet__done p { color: var(--ink-dim); max-width: 360px; margin: 0 auto 1.6rem; }
.form-error { color: #fca5a5; font-size: 0.86rem; margin-top: 0.6rem; min-height: 1.1rem; }

@media (max-width: 560px) {
  .sheet-overlay { padding: 0; }
  .sheet { max-width: 100%; max-height: 100vh; max-height: 100dvh; height: 100%; border-radius: 0; border: 0; }
  .opts--2 { grid-template-columns: 1fr; }
  .in-row { grid-template-columns: 1fr; }
  .seg { grid-auto-flow: row; grid-auto-rows: 1fr; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .dots { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .work__head { align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --pad: 1.25rem; }
  /* slide-by-slide snapping on phones too (same as desktop) */
  .scroller { scroll-snap-type: y mandatory; }
  .section { scroll-snap-align: start; min-height: 100dvh; padding: 5rem 0 2.2rem; }
  /* content-heavy slides start at the top so nothing is pushed off-screen */
  .trusted, .work, .about, .services { justify-content: flex-start; }
  .section__title { font-size: 1.65rem; line-height: 1.1; }
  .eyebrow { margin-bottom: 0.7rem; }
  .nav__name { font-size: 1.02rem; }
  .nav__logo { height: 22px; }

  /* Spotify rail — compact players that fit the screen */
  .rail { gap: 0.8rem; }
  .rail__card { width: min(78vw, 300px); border-radius: 16px; }
  .rail__card iframe { height: 152px; }
  .work__head { gap: 0.4rem; }
  .work__note { font-size: 0.9rem; }

  /* About / Founder — compact text */
  .about__grid { gap: 1.1rem; }
  .about__title { font-size: 1.45rem; line-height: 1.14; }
  .about__body { gap: 0.7rem; }
  .about__body p { font-size: 0.9rem; line-height: 1.5; }
  .founder { margin-bottom: 1rem; }
  .stats { gap: 0.9rem 1.1rem; margin-top: 0.4rem; }
  .stat { padding-top: 0.8rem; }
  .stat__num { font-size: 1.9rem; }
  .stat__label { font-size: 0.78rem; }

  /* Services — compact cards */
  .services__grid { grid-template-columns: 1fr; gap: 0.65rem; }
  .svc { padding: 0.95rem 1.1rem; border-radius: 14px; }
  .svc h3 { font-size: 1rem; margin: 0.35rem 0 0.3rem; }
  .svc p { font-size: 0.86rem; line-height: 1.45; }
  .svc__idx { font-size: 0.72rem; }
  .genres { margin-top: 0.8rem; }
  .chip, .pill { font-size: 0.84rem; padding: 0.45rem 0.85rem; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
}

/* Tablet: slightly tighter service cards */
@media (min-width: 561px) and (max-width: 900px) {
  .svc { padding: 1.2rem 1.3rem; }
  .svc p { font-size: 0.9rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .rail__card, .chip { opacity: 1 !important; transform: none !important; }
  .scroller { scroll-behavior: auto; }
}

/* Larger screens: a touch more breathing room */
@media (min-width: 1500px) { :root { --maxw: 1280px; } }

/* Short viewports: relax snapping so dense sections stay reachable */
@media (max-height: 720px) {
  .scroller { scroll-snap-type: y proximity; }
  .section { justify-content: flex-start; padding-top: clamp(5rem, 12vh, 7rem); }
}
