@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700&display=swap");

:root {
  --navy: #000319;
  --blue: #2878ff;
  --muted: #b6c5d9;
  --container-max: 1320px;
  --surface: rgba(0, 3, 25, .7);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--navy);
  color: white;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: max(8px, env(safe-area-inset-top)) clamp(28px, 5vw, 80px) 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  overflow-y: hidden;
  isolation: isolate;
  background-color: var(--navy);
}

.topbar {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: clamp(105px, 13vh, 136px);
  padding-block: clamp(8px, 1.2vh, 14px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.topbar img {
  display: block;
  height: clamp(80px, 11.5vh, 107px);
  width: auto;
  max-width: min(343px, 60vw);
  object-fit: contain;
}

.topbar p {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.18);
  color: #8ea3be;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 45px 0 0;
}

.overline {
  margin: 0 0 25px;
  color: #478cff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(22px, 4.6vw, 50px);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.047em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 span {
  color: var(--blue);
}

.intro {
  max-width: 580px;
  margin: 30px 0 0;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-art {
  position: relative;
  width: min(73vw, 595px);
  min-height: clamp(221px, 34vh, 425px);
  margin: 18px auto 0;
  justify-self: center;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-art-overlay {
  z-index: 2;
}

.hero-art-base {
  z-index: 1;
}


.contact-bar {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 112px;
  margin: 0 auto 18px;
  padding: clamp(10px, 1.6vh, 14px) clamp(8px, 2.2vw, 14px) clamp(16px, 2.4vh, 24px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(18, 42, 74, .52), var(--surface));
  backdrop-filter: blur(10px);
  text-align: center;
  font-style: normal;
}

.contact-bar > :is(a, .contact-item) {
  min-height: auto;
  padding: 12px clamp(8px, 2.2vw, 14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.contact-bar > :is(a, .contact-item):first-child {
  padding-left: 0;
  border-top: 0;
}

.contact-bar small {
  margin-bottom: 7px;
  color: #4f8ef8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-bar strong {
  color: #dbe5f2;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: color .18s ease;
}

.contact-bar > a:nth-child(3) strong {
  max-width: 34ch;
  margin-inline: auto;
}

.hours {
  gap: 5px;
}

.hours strong {
  font-size: 13px;
}

.contact-bar a:hover strong {
  color: white;
}

.facebook {
  width: 46px;
  height: 46px;
  margin: 8px auto 0;
  place-self: center;
  display: grid;
  place-items: center;
  border: 1px solid #357ef5;
  border-radius: 50%;
  color: #5a96ff;
  font: 700 22px Arial, sans-serif;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.facebook:hover {
  color: white;
  background: #2168e7;
  transform: translateY(-2px);
}

.site-year {
  margin: 10px auto 18px;
  color: rgba(182, 197, 217, .85);
  font-size: 12px;
  letter-spacing: .05em;
  text-align: center;
}

.hero-copy,
.contact-bar {
  animation: fade-up .55s ease both;
}

.contact-bar {
  animation-delay: .2s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (max-width: 1000px) {
  .landing {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .topbar p {
    display: none;
  }

  .contact-bar {
    margin-bottom: 20px;
  }
}

@media (max-width: 620px) {
  .landing {
    min-height: 100svh;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-inline: 22px;
  }

  .topbar {
    min-height: 88px;
    padding-block: 8px;
    justify-content: center;
  }

  .topbar img {
    height: 78px;
    max-width: 100%;
  }

  .facebook {
    width: 40px;
    height: 40px;
    margin: 8px auto 0;
    font-size: 18px;
  }

  .site-year {
    margin-top: 9px;
    margin-bottom: 14px;
    font-size: 11px;
  }

  .hero-copy {
    padding-top: 28px;
    padding-bottom: 10px;
  }

  .hero-art {
    width: 100%;
    max-width: 476px;
    min-height: clamp(212px, 31vh, 323px);
    margin-top: 10px;
  }

  .overline {
    margin-bottom: 18px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(24px, 7.2vw, 33px);
  }

  .intro {
    margin-top: 22px;
    font-size: 16px;
  }

  .contact-bar {
    margin-bottom: 16px;
  }

  .contact-bar small {
    margin-bottom: 4px;
  }

  .contact-bar > a:nth-child(3) strong {
    margin: 0 auto;
  }

  .hours strong {
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .contact-bar {
    padding-inline: 6px;
  }

  .contact-bar strong {
    font-size: 13px;
  }

  .hero-copy {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(22px, 6.8vw, 28px);
  }

  .intro {
    font-size: 15px;
  }
}

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