/*
Theme Name: Nachtvorst Teaser
Theme URI: https://nachtvorst-mierlo.nl/
Author: Nachtvorst
Description: Mobiel-geoptimaliseerde teaser landingspagina voor Nachtvorst.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: nachtvorst-teaser
*/

:root {
  --night: #020419;
  --night-soft: #070c2c;
  --ice: #a9bbff;
  --ice-bright: #eaf0ff;
  --blue: #5574ee;
  --gold: #f4aa28;
  --pink: #ff185c;
  --black: #050505;
  --nv-logo-width: 33rem;
  --nv-section-gap: 1.75rem;
  --nv-copy-gap: 1rem;
  --nv-kicker-space-top: 0.65rem;
  --nv-kicker-space-bottom: 0.55rem;
  --nv-date-gap: 0.28rem;
  --nv-actions-gap: 0.25rem;
  --nv-date-size: 3.45rem;
  --nv-location-size: 1.12rem;
  --nv-title-size: 3.55rem;
  --nv-kicker-size: 2rem;
  --nv-subtitle-size: 1.1rem;
  --nv-button-size: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ice-bright);
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 187, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(85, 116, 238, 0.12), transparent 28rem),
    linear-gradient(180deg, #020419 0%, #060a24 52%, #01020d 100%);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.nv-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.nv-page::before,
.nv-page::after {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  content: "";
  background: rgba(169, 187, 255, 0.16);
  border-radius: 999px;
  filter: blur(90px);
}

.nv-page::before {
  top: -19rem;
  left: -17rem;
}

.nv-page::after {
  right: -20rem;
  bottom: -18rem;
  background: rgba(85, 116, 238, 0.16);
}

.nv-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 83% 15%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 76% 72%, #dbe4ff 0 1px, transparent 2px),
    radial-gradient(circle at 22% 78%, #dbe4ff 0 1px, transparent 2px);
  opacity: 0.38;
}

.nv-wrap {
  display: grid;
  width: min(100%, 44rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
  place-items: center;
}

.nv-hero {
  display: grid;
  width: 100%;
  gap: var(--nv-section-gap);
  justify-items: center;
}

.nv-logo {
  display: block;
  width: min(88vw, var(--nv-logo-width));
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 1.2rem 2.2rem rgba(0, 0, 0, 0.38));
}

.nv-date {
  display: grid;
  gap: var(--nv-date-gap);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  text-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.4);
}

.nv-date strong {
  font-size: var(--nv-date-size);
  font-weight: 500;
  line-height: 1;
}

.nv-date span {
  font-size: var(--nv-location-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.nv-copy {
  display: grid;
  gap: var(--nv-copy-gap);
  max-width: 34rem;
}

.nv-kicker {
  margin: var(--nv-kicker-space-top) 0 var(--nv-kicker-space-bottom);
  color: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--nv-kicker-size);
  line-height: 1.12;
}

.nv-title {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--nv-title-size);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.nv-subtitle {
  max-width: 27rem;
  margin: 0 auto;
  color: rgba(234, 240, 255, 0.86);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--nv-subtitle-size);
  line-height: 1.48;
}

.nv-actions {
  display: grid;
  margin-top: var(--nv-actions-gap);
  justify-items: center;
}

.nv-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.88rem 1.15rem;
  color: var(--black);
  background: var(--ice-bright);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.45rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
  font-size: var(--nv-button-size);
  font-weight: 800;
  gap: 0.62rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nv-instagram:hover,
.nv-instagram:focus-visible {
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.nv-instagram:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.nv-instagram svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

@media (min-width: 48rem) {
  .nv-wrap {
    width: min(100%, 70rem);
  }

  .nv-hero {
    gap: var(--nv-section-gap);
  }

  .nv-copy {
    max-width: 42rem;
  }

  .nv-subtitle {
    max-width: 36rem;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --nv-logo-width: min(88vw, 528px);
  }

  .nv-date strong {
    font-size: min(var(--nv-date-size), 8.4vw);
  }

  .nv-date span {
    font-size: min(var(--nv-location-size), 3.3vw);
  }

  .nv-title {
    font-size: min(var(--nv-title-size), 8vw);
  }

  .nv-kicker {
    font-size: min(var(--nv-kicker-size), 5.2vw);
  }

  .nv-subtitle {
    font-size: min(var(--nv-subtitle-size), 3.8vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
