* {
  box-sizing: border-box;
}

:root {
  --navy: #102957;
  --blue: #2859a7;
  --ink: #15213b;
  --muted: #6d7890;
  --paper: #f7f9fc;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.welcome {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(76, 132, 219, .10), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(42, 86, 164, .09), transparent 35%),
    var(--paper);
}

.content {
  position: relative;
  z-index: 2;
  width: min(92%, 920px);
  text-align: center;
  padding: 2rem;
}

h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.small-line {
  font-size: clamp(1.8rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -.045em;
  color: #50617b;
}

.brand {
  font-size: clamp(4.2rem, 13vw, 12rem);
  line-height: .98;
  letter-spacing: -.085em;
  font-weight: 600;
  color: var(--navy);
  text-shadow: 0 8px 30px rgba(16, 41, 87, .08);
}

.brand span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.09em;
  color: var(--blue);
}

.eyebrow {
  margin: 2.4rem 0 0;
  font-size: clamp(.8rem, 1.6vw, 1.05rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.ambient {
  position: absolute;
  border: 1px solid rgba(40, 89, 167, .14);
  border-radius: 50%;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-one {
  width: 48vw;
  height: 48vw;
  min-width: 340px;
  min-height: 340px;
  top: -25vw;
  right: -15vw;
}

.ambient-two {
  width: 42vw;
  height: 42vw;
  min-width: 300px;
  min-height: 300px;
  bottom: -25vw;
  left: -15vw;
  animation-delay: -8s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 1.1s cubic-bezier(.2,.75,.25,1) forwards;
}

.delay-one { animation-delay: .35s; }

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

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(25px, -18px, 0) rotate(12deg); }
}

@media (max-width: 600px) {
  .content { padding: 1rem; }
  .eyebrow { letter-spacing: .2em; line-height: 1.6; margin-top: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
