@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/manrope-300-latin.woff2") format("woff2");
}

:root {
  --rivir-charcoal: #131313;
  --rivir-white: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--rivir-charcoal);
}

body {
  color: var(--rivir-white);
  font-family: "Manrope", sans-serif;
  text-rendering: optimizeLegibility;
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--rivir-charcoal);
}

.river-scene,
.tonal-veil {
  position: absolute;
  inset: 0;
}

.river-scene {
  z-index: -2;
  background-image: url("/river-background.png");
  background-position: center;
  background-size: cover;
}

.tonal-veil {
  z-index: -1;
  background:
    linear-gradient(rgb(19 19 19 / 20%), rgb(19 19 19 / 20%)),
    linear-gradient(
      180deg,
      rgb(19 19 19 / 40%) 0%,
      rgb(19 19 19 / 60%) 50%,
      rgb(19 19 19 / 80%) 100%
    );
  backdrop-filter: blur(2px);
}

.hero-lockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.brand-mark {
  width: clamp(13rem, 27vw, 24rem);
  margin: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.family-office-statement {
  margin: clamp(1.6rem, 3vw, 2.5rem) 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: clamp(0.72rem, 1.05vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.38em;
  line-height: 1.5;
  opacity: 0;
  text-indent: 0.38em;
  text-transform: uppercase;
  transform: translateY(6px);
  animation: family-office-reveal 1.6s ease 0.45s forwards;
}

@keyframes family-office-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 14rem;
  }

  .family-office-statement {
    margin-top: 1.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .family-office-statement {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
