:root {
  --navy-950: #030b18;
  --navy-900: #07152b;
  --navy-800: #091e44;
  --navy-700: #134091;
  --cyan: #00a2e9;
  --white: #ffffff;
  --mist: #babcc5;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 42%, rgba(19, 64, 145, 0.35), transparent 35%),
    linear-gradient(125deg, #020813 0%, #06152b 52%, #081a36 100%);
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.23;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.architectural-field {
  position: absolute;
  inset: -12%;
  z-index: -2;
  transform: rotate(-9deg) scale(1.08);
  pointer-events: none;
}

.plane {
  position: absolute;
  top: -20%;
  bottom: -20%;
  border: 1px solid rgba(137, 184, 230, 0.07);
  background: linear-gradient(90deg, rgba(2, 8, 19, 0.84), rgba(9, 30, 68, 0.22));
  box-shadow: 28px 0 60px rgba(0, 0, 0, 0.33);
}

.plane-one {
  left: -4%;
  width: 27%;
}

.plane-two {
  left: 36%;
  width: 20%;
  background: linear-gradient(90deg, rgba(0, 8, 22, 0.9), rgba(11, 36, 75, 0.15));
}

.plane-three {
  right: -2%;
  width: 25%;
  background: linear-gradient(90deg, rgba(5, 18, 37, 0.18), rgba(0, 6, 16, 0.92));
}

.signal {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 20px rgba(0, 162, 233, 0.45);
  animation: signal-pulse 6s ease-in-out infinite;
}

.signal-one {
  left: 19%;
  top: 6%;
  height: 52%;
}

.signal-two {
  right: 17%;
  top: 32%;
  height: 44%;
  animation-delay: -2s;
}

.signal-three {
  right: 24%;
  top: 50%;
  height: 20%;
  opacity: 0.55;
  animation-delay: -4s;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.11;
  pointer-events: none;
}

.ambient-one {
  top: -18rem;
  left: 20%;
  background: var(--cyan);
}

.ambient-two {
  right: -22rem;
  bottom: -22rem;
  background: var(--navy-700);
}

.hero {
  align-self: center;
  justify-self: center;
  display: flex;
  width: min(90vw, 860px);
  flex-direction: column;
  align-items: center;
  padding: clamp(6rem, 13vh, 10rem) 1.5rem 4rem;
  text-align: center;
}

.wordmark {
  width: min(100%, 620px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.28));
  animation: reveal 1.15s cubic-bezier(0.2, 0.76, 0.22, 1) 0.18s forwards;
}

.firm-description {
  max-width: 770px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.92rem, 1.15vw, 1.03rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.72;
  opacity: 0;
  animation: reveal 1s ease 0.6s forwards;
}

.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  text-decoration: none;
  opacity: 0;
  animation: reveal 1s ease 0.85s forwards;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.email-button:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--white);
  box-shadow: 0 0 28px rgba(0, 162, 233, 0.24);
  transform: translateY(-2px);
}

.email-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.footer {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1.55rem 1.5rem 1.65rem;
  border-top: 1px solid rgba(186, 188, 197, 0.17);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.58rem;
  line-height: 1.78;
  text-align: center;
  opacity: 0;
  animation: reveal 1s ease 1.05s forwards;
}

.footer p {
  margin: 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.6rem;
  font-weight: 580;
  letter-spacing: 0.07em;
  line-height: 1.7;
  text-transform: uppercase;
}

.disclaimer {
  max-width: 790px;
  margin: 0.62rem auto 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.95;
  }
}

@media (max-width: 640px) {
  .architectural-field {
    inset: -28%;
    transform: rotate(-7deg) scale(1.25);
  }

  .plane-one {
    left: -12%;
    width: 35%;
  }

  .plane-two {
    left: 45%;
    width: 27%;
  }

  .plane-three {
    right: -10%;
    width: 32%;
  }

  .hero {
    width: 94vw;
    padding-inline: 1.2rem;
  }

  .firm-description {
    max-width: 34rem;
    margin-top: 1.5rem;
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .email-button {
    width: 35px;
    height: 35px;
    margin-top: 1.65rem;
  }

  .footer {
    padding-bottom: 1.25rem;
    font-size: 0.55rem;
  }

  .copyright {
    font-size: 0.57rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
