/* Thirty One Music — coming-soon landingspagina
   Kleuren komen uit het logo: puur zwart, violet, wit. */

:root {
  --ground: #000000;
  --ink: #f4f0fb;
  --muted: #a89dc2;
  --violet: #7c3aed;
  --violet-bright: #a66cff;
  --rule: rgba(166, 108, 255, 0.28);

  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --top-h: 78px;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--violet-bright); }
:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 3px; border-radius: 2px; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 3vw, 44px); }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--violet); color: #fff; border-radius: 4px;
}
.skip:focus { top: 16px; }

/* ---------- kop ---------- */
.top {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--top-h);
  padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; width: auto; }
.brand-mark { height: 44px; }
.brand-word { height: 34px; }
.top-link {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-decoration: none; color: var(--muted);
}
.top-link:hover { color: var(--ink); }

/* ---------- hero: video links, tekst rechts ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* hoogte volgt het scherm, maar nooit hoger dan 62.5vw: dan blijft het logo
     in de bijgesneden 16:9-video (links, halve breedte) altijd volledig in beeld */
  min-height: min(clamp(520px, calc(100vh - var(--top-h)), 920px), 62.5vw);
  min-height: min(clamp(520px, calc(100svh - var(--top-h)), 920px), 62.5vw);
}
.stage { position: relative; background: #000; }
.stage-video, .stage-still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: #000;
}
.stage-video { display: none; }
.stage.is-playing .stage-video { display: block; }
.stage.is-playing .stage-still { display: none; }

/* gloed die na afloop van de video zachtjes blijft ademen (screen-blend over het zwart van de video) */
.stage-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(38% 34% at 50% 44%, rgba(124, 58, 237, 0.55), transparent 72%);
  mix-blend-mode: screen;
}
.stage.is-ended .stage-glow { animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: 0.08; } to { opacity: 0.42; } }
@media (prefers-reduced-motion: reduce) { .stage.is-ended .stage-glow { animation: none; opacity: 0.2; } }

.hero-copy {
  display: grid; align-content: center; justify-items: start;
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(40px, 6vw, 88px) clamp(32px, 5vw, 80px);
  max-width: 780px;
}
.soon {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--violet-bright);
}
.soon::after {
  content: ""; display: block; width: 56px; height: 2px;
  background: var(--violet); margin-top: 12px;
}
.hero-br { display: none; }
@media (min-width: 1001px) { .hero-br { display: inline; } }
.hero-copy p:not(.soon) { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); max-width: 52ch; text-wrap: pretty; }
.hero-copy p a { color: var(--ink); }
.hero-link {
  font-family: var(--font-display); font-weight: 600;
  color: var(--violet-bright); text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 2px;
}
.hero-link:hover { border-color: var(--violet-bright); }

/* ---------- golfband ---------- */
.wave { height: 92px; width: 100%; }
.wave canvas { display: block; width: 100%; height: 100%; }

/* ---------- diensten ---------- */
.services { padding-block: var(--section); }
.services h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.services-list { margin: 0; border-bottom: 1px solid var(--rule); }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px clamp(24px, 4vw, 56px);
  padding-block: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--rule);
}
.service dt {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.01em;
}
.service dd { margin: 0; color: var(--muted); max-width: 52ch; }

/* ---------- voet ---------- */
.foot {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 40px;
  border-top: 1px solid var(--rule);
  background: radial-gradient(60% 80% at 50% 100%, rgba(124, 58, 237, 0.16), transparent 70%);
  color: var(--muted); font-size: 15px;
}
.foot-logo { width: 150px; height: auto; margin-bottom: 8px; }
.foot-mail { font-size: 17px; }
.foot-mail a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot-mail a:hover { border-color: var(--violet-bright); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.socials a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.socials a:hover { border-color: var(--violet-bright); }
.foot-copy { font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .stage { height: 56.25vw; }
  .stage.is-portrait {
    height: min(177.78vw, max(120vw, calc(100vh - var(--top-h))));
    height: min(177.78vw, max(120vw, calc(100svh - var(--top-h))));
  }
  .hero-copy { max-width: none; padding: clamp(28px, 6vw, 48px) var(--gutter) clamp(36px, 7vw, 56px); }
}
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) {
  :root { --top-h: 66px; }
  .brand-mark { height: 36px; }
  .brand-word { height: 27px; }
}

/* zonder JavaScript: alleen het stilstaande logo */
.no-js .stage-video { display: none !important; }
