:root {
  --brand: #123765;
  --text: #f7fbff;
  --muted: rgba(226, 239, 255, .52);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(58, 128, 206, .18), transparent 28rem),
    var(--brand);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.page::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -2;
  background: linear-gradient(112deg, transparent 35%, rgba(255,255,255,.018) 50%, transparent 65%);
  animation: atmosphere 14s ease-in-out infinite alternate;
}

.contact-card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(25rem, calc(100vw - 3rem));
  text-align: center;
  transform: translateY(-.5rem);
}

.jaw-stage {
  position: relative;
  width: 23rem;
  max-width: 92vw;
  height: 15.5rem;
  margin: .5rem 0 1.5rem;
  pointer-events: none;
}

.jaw-stage::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 1rem;
  height: 2.6rem;
  background: rgba(2, 24, 53, .35);
  border-radius: 50%;
  filter: blur(18px);
  animation: shadow 12s ease-in-out infinite;
}

.jaw-stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .72;
  filter: drop-shadow(0 1.5rem 2rem rgba(0, 19, 45, .24));
  animation: jaw-zoom 12s ease-in-out infinite alternate;
}

.logo {
  display: block;
  width: 12.4rem;
  height: auto;
}

.details {
  display: grid;
  justify-items: center;
  gap: 1.45rem;
  font-size: .92rem;
  line-height: 1.48;
  letter-spacing: .025em;
}

.details p { margin: 0; }
.eyebrow { color: rgba(255,255,255,.76); }
.detail-block { font-style: normal; }
.links { display: grid; gap: .12rem; }
.links a { color: inherit; text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: .22em; }
.links a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }

footer {
  position: absolute;
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%);
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .08em;
  text-align: center;
}

@keyframes jaw-zoom {
  from { transform: scale(.96); }
  to { transform: scale(1.035); }
}

@keyframes shadow {
  0%, 100% { opacity: .55; transform: scaleX(.88); }
  50% { opacity: .35; transform: scaleX(1.08); }
}

@keyframes atmosphere {
  from { transform: translate3d(-2%, -1%, 0); }
  to { transform: translate3d(2%, 1%, 0); }
}

@media (max-width: 640px) {
  .page { place-items: start center; overflow-y: auto; }
  .contact-card { width: min(22rem, calc(100vw - 2.5rem)); margin: max(3rem, env(safe-area-inset-top)) 0 8rem; transform: none; }
  .jaw-stage { width: min(22rem, 96vw); height: 15rem; margin: .75rem 0 1.5rem; }
  .logo { width: 13.3rem; }
  .details { gap: 1.55rem; font-size: 1rem; }
}

@media (max-height: 700px) and (min-width: 641px) {
  .contact-card { transform: scale(.88) translateY(-.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .jaw-stage img, .jaw-stage::after, .page::before { animation: none; }
}
