:root {
  --void:   #0a0a08;
  --bone:   #e8e4d8;
  --bone-2: #cfc9ba;
  --blood:  #c2273a;
  --ash:    #8a857a;

  --display: 'Anton', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --pad: clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* grain overlay, above everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- fixed photo backdrop ----------
   stays in place while .hero and .info scroll over it */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.15) contrast(1.08);
}
.bg__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,8,0.45) 0%,
    rgba(10,10,8,0.15) 35%,
    rgba(10,10,8,0.5) 75%,
    rgba(10,10,8,0.85) 100%);
}

/* ---------- hero: transparent, lets fixed bg show through ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad) 3.5rem;
  text-align: center;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(3rem, 14vw, 7rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--bone);
  text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6);
}
.hero__tagline {
  font-size: 0.92rem;
  color: var(--bone);
  margin: 0.6rem 0 1.75rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

/* ---------- frosted backdrop behind nav + social rows
   guarantees contrast no matter what's behind it in the photo ---------- */
.links,
.socials {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(10,10,8,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
}

.links {
  gap: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.links a {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.links a:hover, .links a:focus-visible {
  border-color: var(--blood);
  color: var(--blood);
}

.socials {
  gap: 1.2rem;
  display: flex;
  margin: 0 auto;
  width: fit-content;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  transition: color 0.2s ease;
}
.social svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.social:hover, .social:focus-visible {
  color: var(--blood);
}

/* ---------- scroll cue ---------- */
.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--blood), transparent);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ---------- info section: solid panel, occludes the fixed bg
   once scrolled into view, so longer copy stays readable ---------- */
.info {
  position: relative;
  z-index: 1;
  background: var(--void);
  padding: 4.5rem var(--pad) 3rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 -40px 40px 20px var(--void); /* soft transition from photo to panel */
}
.info__block { margin-bottom: 3rem; }
.info__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--blood);
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.info__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--bone-2);
  margin: 0 0 1.1rem;
}
.info__text--strong {
  color: var(--bone);
}
.info__email {
  font-family: var(--display);
  font-size: 1.4rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.info__email:hover, .info__email:focus-visible {
  color: var(--blood);
  border-color: var(--blood);
}
.info__legal {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--ash);
  text-transform: uppercase;
}

/* ---------- signup ---------- */
.signup {
  max-width: 340px;
  margin: 0 auto;
}

.kit-embed .formkit-form {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: var(--mono) !important;
}
.kit-embed input[type="email"],
.kit-embed input[type="text"] {
  background: transparent !important;
  border: 1px solid var(--ash) !important;
  color: var(--bone) !important;
  font-family: var(--mono) !important;
  border-radius: 0 !important;
  font-size: 0.85rem !important;
}
.kit-embed button[type="submit"] {
  background: var(--blood) !important;
  border: 1px solid var(--blood) !important;
  color: var(--bone) !important;
  font-family: var(--mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0 !important;
  font-size: 0.8rem !important;
}
.kit-embed button[type="submit"]:hover {
  background: transparent !important;
  color: var(--blood) !important;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}
