@font-face {
  font-family: "Mosvita";
  src: url("./assets/Mosvita-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mosvita";
  src: url("./assets/Mosvita-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Martian Mono Condensed";
  src: url("./assets/MartianMono-Condensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Mosvita", Arial, sans-serif;
  background: #0d0f11;
  color: #fff;
  --accent: #ff4a34;
  --line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #0d0f11;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #0d0f11;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: 52% center;
  animation: settle 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.88) 0%, rgba(7, 8, 10, 0.5) 44%, rgba(7, 8, 10, 0.08) 77%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.74) 0%, transparent 42%, rgba(7, 8, 10, 0.18) 100%);
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.75rem) clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.eyebrow,
.availability,
.call-card__label,
.photo-credit {
  font-family: "Martian Mono Condensed", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
}

.hero__content {
  display: flex;
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(7.5rem, 15vh, 10.5rem) clamp(1.25rem, 4vw, 4.5rem) clamp(1.6rem, 4vw, 3.2rem);
  flex-direction: column;
  justify-content: flex-end;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-size: clamp(0.74rem, 1vw, 0.88rem);
  animation: rise 0.65s 0.15s ease-out both;
}

.availability span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgba(255, 74, 52, 0.17);
}

h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3.4rem, 8.3vw, 8.75rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
  animation: rise 0.72s 0.22s ease-out both;
}

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

.hero__footer {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(21rem, 30rem);
  gap: 2rem;
  align-items: end;
  margin-top: clamp(2.25rem, 6vh, 5rem);
  animation: rise 0.72s 0.34s ease-out both;
}

.message {
  max-width: 22rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.4;
}

.call-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1.5rem;
  min-height: 7.5rem;
  padding: 1.35rem 1.35rem 1.35rem 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.call-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.2);
}

.call-card:focus-visible,
.brand:focus-visible,
.photo-credit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.call-card__label {
  font-size: 0.76rem;
  opacity: 0.72;
}

.call-card__number {
  align-self: end;
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.call-card__icon {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  width: 3.6rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}

.call-card__icon svg {
  width: 1.45rem;
  fill: #fff;
}

.photo-credit {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 4.5rem);
  bottom: 0.6rem;
  font-size: 0.62rem;
  opacity: 0.46;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.photo-credit:hover {
  opacity: 1;
}

@keyframes settle {
  from { transform: scale(1.04); filter: saturate(0.78); }
  to { transform: scale(1); filter: saturate(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .eyebrow {
    max-width: 8rem;
    text-align: right;
    line-height: 1.2;
  }

  .hero__image {
    object-position: 48% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 8, 10, 0.26) 0%, rgba(7, 8, 10, 0.19) 30%, rgba(7, 8, 10, 0.93) 88%),
      linear-gradient(90deg, rgba(7, 8, 10, 0.55) 0%, transparent 80%);
  }

  .hero__content {
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.6rem);
    line-height: 0.91;
  }

  .hero__footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .message {
    max-width: 17rem;
  }

  .call-card {
    min-height: 6.8rem;
  }

  .photo-credit {
    display: none;
  }
}

@media (max-height: 660px) and (min-width: 701px) {
  .hero__content {
    padding-top: 7rem;
  }

  h1 {
    font-size: clamp(3.7rem, 8.2vw, 6.6rem);
  }

  .hero__footer {
    margin-top: 1.5rem;
  }
}

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