@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap");

:root {
  --ink: #07090c;
  --mist: rgba(236, 240, 245, 0.88);
  --mist-soft: rgba(236, 240, 245, 0.55);
  --line: rgba(236, 240, 245, 0.22);
  --accent: #b7c9c2;
  --font-display: "Instrument Serif", "Times New Roman", Times, serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mist-soft);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--mist);
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  touch-action: none;
  background: var(--ink);
}

#field.field--fallback {
  background:
    radial-gradient(80% 60% at 30% 40%, #243038 0%, transparent 55%),
    radial-gradient(70% 50% at 70% 55%, #1c2830 0%, transparent 50%),
    #07090c;
  animation: field-drift 14s ease-in-out infinite alternate;
}

@keyframes field-drift {
  from {
    filter: hue-rotate(0deg) brightness(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(18deg) brightness(1.08);
    transform: scale(1.04);
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(7, 9, 12, 0.02) 0%,
      rgba(7, 9, 12, 0.08) 45%,
      rgba(7, 9, 12, 0.62) 100%
    );
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mist);
  text-wrap: balance;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__quote {
  margin: 1.15rem 0 0;
  padding: 0;
  border: 0;
  max-width: 36rem;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.55vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: rgba(236, 240, 245, 0.86);
  font-style: normal;
}

.hero__quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(236, 240, 245, 0.48);
  pointer-events: auto;
}

.hero__quote cite a {
  color: inherit;
  border-bottom: 1px solid var(--line);
}

.hero__quote cite a:hover,
.hero__quote cite a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  margin-top: 1.6rem;
  pointer-events: auto;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__ctas a {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.hero__ctas a:hover,
.hero__ctas a:focus-visible {
  border-bottom-color: currentColor;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) 1.75rem;
  font-size: 0.75rem;
  color: rgba(236, 240, 245, 0.28);
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.78), #07090c 40%);
}

.site-footer a {
  color: rgba(236, 240, 245, 0.4);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand,
  .hero__quote,
  .hero__ctas {
    animation: none;
  }
}

@media (max-width: 600px) {
  .hero {
    justify-content: flex-end;
    padding-bottom: 2.25rem;
  }

  .hero__ctas {
    gap: 0.75rem 1.1rem;
  }
}
