@import url("fonts.css");
@import url("pages-base.css");
@import url("sales-assistant.css");
@import url("visit-info.css");

h1,
h2,
h3,
.hero-page h1,
.intro-grid h2,
.details h3,
.callout h2 {
  font-family: "Josefin Sans", Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

h1 em,
h2 em,
h3 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  text-transform: uppercase;
}

.hero-page h1 {
  font-size: clamp(57.6px, 6.8vw, 110.4px);
}

.intro-grid h2 {
  font-size: clamp(43.2px, 4.56vw, 73.6px);
}

.callout h2 {
  font-size: clamp(41.6px, 4.96vw, 78.4px);
}

.top {
  background: #1a1a1a;
}

.back,
.callout a {
  font-size: 14.3px;
}

.top .back {
  font-size: 17.16px;
}

footer {
  background: #1a1a1a;
  font-size: 15.6px;
  align-items: center;
}

.footer-brand {
  display: block;
  width: 125px;
  height: 62px;
  flex: 0 0 auto;
  background: #191919;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-credit {
  margin: 0;
  color: var(--paper);
  text-transform: none;
}

.footer-credit span { color: var(--gold-light); font-size: 18px; }
.footer-credit a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 30;
  width: 76px;
  height: 76px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #1a1a1a;
  color: var(--gold-light);
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--gold); color: var(--ink); }
.back-to-top:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.back-to-top span { font-size: 25px; line-height: .8; }
.back-to-top small { font: 600 10px/1 var(--sans); letter-spacing: .12em; }

@media (max-width: 600px) {
  .back-to-top { right: 18px; bottom: 18px; width: 66px; height: 66px; }
  footer { align-items: flex-start; }
  .footer-brand { width: 110px; height: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}

@media (max-width: 900px) {
  .hero-page h1 {
    font-size: clamp(52.8px, 12.8vw, 86.4px);
  }

  .intro-grid h2 {
    font-size: clamp(41.6px, 8vw, 60.8px);
  }
}

@media (max-width: 600px) {
  .hero-page h1 {
    font-size: clamp(45.6px, 14.4vw, 66.4px);
  }

  .intro-grid h2 {
    font-size: 39.2px;
  }

  .callout h2 {
    font-size: 41.6px;
  }
}
