:root {
  --ink: #e8efe6;
  --muted: #9aafa3;
  --deep: #0a1210;
  --field: #12201a;
  --moss: #2f5c45;
  --leaf: #7db88a;
  --straw: #d4b56a;
  --pulse: #c6e26a;
  --line: rgba(232, 239, 230, 0.12);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  background: var(--deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 70% at 15% -10%, rgba(47, 92, 69, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(212, 181, 106, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(198, 226, 106, 0.08), transparent 55%),
    linear-gradient(165deg, #0c1612 0%, #0a1210 45%, #101c16 100%);
  animation: drift 28s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-1.5%, 1%); }
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 10vh, 5.5rem);
  max-width: 56rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: rise 0.9s ease 0.15s forwards;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 18vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
  opacity: 0;
  animation: rise 1s ease 0.28s forwards;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 22rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  opacity: 0;
  animation: rise 1s ease 0.42s forwards;
}

.scroll-cue {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  color: var(--pulse);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: rise 1s ease 0.55s forwards;
}

.scroll-cue::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bob {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(3px); }
}

main {
  padding: 0 clamp(1.5rem, 4vw, 3rem) 4rem;
  max-width: 56rem;
}

.group {
  padding: 4.5rem 0 1rem;
  border-top: 1px solid var(--line);
}

.group-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.group-head p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  max-width: 28rem;
}

.apps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.app {
  --i: 0;
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-left: 3px solid var(--leaf);
  background: linear-gradient(120deg, rgba(18, 32, 26, 0.92), rgba(12, 22, 18, 0.55));
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  animation: rise 0.7s ease calc(0.05s * var(--i)) both;
}

.app:hover,
.app:focus-visible {
  border-color: rgba(125, 184, 138, 0.45);
  background: linear-gradient(120deg, rgba(26, 46, 36, 0.95), rgba(14, 26, 20, 0.7));
  transform: translateX(4px);
  outline: none;
}

.app-muziek {
  border-left-color: var(--straw);
}

.app-muziek:hover,
.app-muziek:focus-visible {
  border-color: rgba(212, 181, 106, 0.5);
}

.app-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.app-blurb {
  color: var(--muted);
  font-size: 0.98rem;
}

.app-host {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--pulse);
  opacity: 0.85;
}

.foot {
  padding: 2rem clamp(1.5rem, 4vw, 3rem) 3rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .apps {
    grid-template-columns: 1fr 1fr;
  }

  .group-muziek .apps {
    grid-template-columns: 1fr;
    max-width: calc(50% - 0.425rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .eyebrow,
  .brand,
  .lead,
  .scroll-cue,
  .app {
    opacity: 1;
  }
}
