/* Full-bleed homepage hero — brand first, one composition, no cards. */
.hero-section {
  --hero-ink: #161814;
  --hero-muted: #3a4038;
  --hero-line: rgba(22, 24, 20, 0.22);

  position: relative;
  isolation: isolate;
  margin-top: -40px;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(96px, 14vh, 140px) 8vw clamp(48px, 8vh, 80px);
  box-sizing: border-box;
  overflow: hidden;
  color: var(--hero-ink);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 72% 38%, rgba(180, 198, 186, 0.55) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 18% 78%, rgba(210, 214, 204, 0.7) 0%, transparent 58%),
    linear-gradient(145deg, #eef1ec 0%, #dfe6e0 42%, #c9d4cc 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 68% 42%, rgba(255, 255, 255, 0.55) 0%, transparent 28%),
    radial-gradient(circle at 40% 55%, rgba(156, 176, 164, 0.22) 0%, transparent 35%);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-brand {
  font-family: "Manrope", sans-serif;
  font-size: clamp(72px, 14vw, 168px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0;
  color: var(--hero-ink);
  animation: heroRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-tagline {
  font-family: "Manrope", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--hero-muted);
  max-width: 16ch;
  animation: heroRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--hero-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hero-line);
  transition: border-color 0.3s ease, gap 0.3s ease;
  animation: heroRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.hero-cta::after {
  content: "↘";
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.hero-cta:hover {
  border-color: var(--hero-ink);
  gap: 14px;
}

.hero-cta:hover::after {
  transform: translate(2px, 2px);
}

.hero-cta:focus-visible {
  outline: 2px solid #4067bf;
  outline-offset: 6px;
}

:is(#remembrance, #low-field-mri, #lark) {
  scroll-margin-top: 100px;
}

@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}

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

@media (max-width: 780px) {
  .hero-section {
    align-items: flex-end;
    padding: 100px 5vw 40px;
    min-height: 92svh;
  }

  .hero-content {
    max-width: none;
  }

  .hero-brand {
    font-size: clamp(64px, 18vw, 104px);
  }

  .hero-tagline {
    font-size: 22px;
    max-width: 16ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before {
    animation: none;
  }

  .hero-brand,
  .hero-tagline,
  .hero-cta {
    animation: none;
  }
}
