:root {
  --ink: #000000;
  --brand-navy: #10243e;
  --page-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

.home {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--page-bg);
}

.hero {
  position: absolute;
  left: 50%;
  top: calc(50% - 46.5px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.brand-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.logo-frame {
  position: relative;
  width: 888px;
  height: 160px;
  overflow: hidden;
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.tagline {
  width: 500px;
  margin: 0;
  font-family: "Jura", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  word-break: break-word;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 16px;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.contact-button img {
  display: block;
  flex: 0 0 16px;
}

.contact-button:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .hero {
    left: 50%;
    top: 50%;
    gap: 100px;
  }

  .brand-block {
    gap: 32px;
  }

  .logo-frame {
    width: min(300px, calc(100vw - 30px));
    height: auto;
    aspect-ratio: 888 / 160;
  }

  .tagline {
    width: 255px;
    max-width: calc(100vw - 40px);
    font-size: 18px;
  }

  .contact-button {
    padding: 10px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
