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

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-family: Anton, sans-serif;
}

.hero {
  --height: max(100svh, 56.2225vw);
  position: relative;
  min-height: var(--height);
  overflow: hidden;
  background: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: url("/american-flag.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: max(100%, calc(var(--height) * 1.7786458333)) auto;
  opacity: .7;
  content: "";
}

h1, .subtitle {
  position: absolute;
  left: calc(50% - 22.14px);
  width: min(1067.97px, 92%);
  margin: 0;
  color: #3e3233;
  font-weight: 400;
  text-align: center;
  transform: translateX(-50%);
}

h1 {
  top: calc(73.915% - 256.36px);
  font-size: 97.8404px;
  line-height: 97px;
}

.subtitle {
  top: calc(73.915% - 61.22px);
  font-size: 55.9998px;
  line-height: 55px;
}

.call {
  position: absolute;
  top: calc(73.915% + 51.29px);
  left: calc(50% - 12.08px);
  display: flex;
  width: min(448.575px, 92%);
  height: 42.64px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  font-size: 13.3335px;
  line-height: 20px;
  letter-spacing: .225em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.call span { transform: translate(1.5px, 2px); }
.call:focus-visible { outline: 3px solid #000; outline-offset: 3px; }

@media (max-width: 397px) {
  .hero { --height: max(100svh, calc(767.32px - 4vw)); }

  h1, .subtitle {
    left: calc(50% - 1.5px);
    width: 92%;
  }

  h1 {
    top: calc(73.915% - clamp(309.84px, calc(400.3px - 24.13vw), 323.11px));
    font-size: clamp(73.72px, calc(52.4px + 6.66vw), 77.386px);
    line-height: .9914;
  }

  .subtitle {
    top: calc(73.915% - clamp(34.33px, calc(228.71px - 51.83vw), 62.84px));
    font-size: clamp(42.2px, calc(29.96px + 3.82vw), 44.294px);
    line-height: .982;
  }

  .call {
    top: calc(73.915% + clamp(78.35px, calc(120.28px - 11.18vw), 84.50px));
    left: 50%;
    width: 92%;
    height: clamp(32.14px, calc(22.87px + 2.9vw), 33.73px);
    font-size: clamp(10.05px, calc(7.10px + .922vw), 10.55px);
    line-height: 1.5;
  }

  .call span { transform: translate(1.19px, 1.58px); }
}

@media (min-width: 398px) and (max-width: 1092px) {
  .hero { --heading-size: calc(59.18px + 4.86vw); }

  h1, .subtitle {
    left: calc(50% - 1.5px);
    width: 92%;
  }

  h1 {
    font-size: var(--heading-size);
    line-height: .9914;
  }

  .subtitle {
    font-size: calc(var(--heading-size) * .57234);
    line-height: .982;
  }

  .call {
    left: calc(50% - 1.5px);
    width: min(92%, calc(var(--heading-size) * 4.5847));
    height: calc(var(--heading-size) * .4358);
    font-size: calc(var(--heading-size) * .136276);
    line-height: 1.5;
  }

  .call span { transform: translate(1.4px, 1.8px); }
}

@media (min-width: 500px) and (max-width: 767px) {
  .hero { --heading-size: calc(69.85px + 2.73vw); }
}

@media (min-width: 768px) and (max-width: 1092px) {
  .hero { --heading-size: calc(79.4px + 1.48vw); }
}

@media (min-width: 398px) and (max-width: 718px) {
  .hero { --height: max(100svh, calc(497.67px + 48vw)); }
  h1 { top: calc(73.915% - (188.6px + 17.63vw)); }
  .subtitle { top: calc(73.915% - (42px + 3.6vw)); }
  .call { top: calc(73.915% + 40.53px + 4.85vw); }
}

@media (min-width: 500px) and (max-width: 718px) {
  .hero { --height: max(100svh, calc(565px + 34.55vw)); }
}

@media (min-width: 719px) and (max-width: 862px) {
  .hero { --height: max(100svh, calc(584.8px + 23.6vw)); }
  h1 {
    top: calc(73.915% - (195.3px + 10.7vw));
    left: calc(50% - 4.5px);
    width: 92.27%;
  }
  .subtitle {
    top: calc(73.915% - (15.96px + 1.09vw));
    left: calc(50% + 21.76px - 3.01vw);
    width: calc(var(--heading-size) * 10.915);
  }
  .call {
    top: calc(73.915% + 37px + 3.2vw);
    left: calc(50% + 5.45px - 1.21vw);
  }
}

@media (min-width: 863px) and (max-width: 1092px) {
  .hero { --height: max(100svh, calc(521.2px + 18.8vw)); }
  h1 {
    top: calc(73.915% - (129.5px + 9.46vw));
    left: calc(50% + 32.3px - 3.76vw);
    width: calc(var(--heading-size) * 10.915);
  }
  .subtitle {
    top: calc(73.915% - (36.4px + 1.88vw));
    left: calc(50% + 21.76px - 3.01vw);
    width: calc(var(--heading-size) * 10.915);
  }
  .call {
    top: calc(73.915% + 13.6px + 2.77vw);
    left: calc(50% + 5.45px - 1.21vw);
  }
}

@media (min-width: 1093px) and (max-width: 1365px) {
  h1, .subtitle {
    left: calc(50% - 1.6208vw);
    width: 78.182vw;
  }
  h1 {
    top: calc(73.915% - 18.76867vw);
    font-size: 7.16255vw;
    line-height: 7.101vw;
  }
  .subtitle {
    top: calc(73.915% - 4.4817vw);
    font-size: 4.0995vw;
    line-height: 4.02635vw;
  }
  .call {
    top: calc(73.915% + 3.7548vw);
    left: calc(50% - .8843vw);
    width: 32.837vw;
    height: 3.1215vw;
    font-size: .9761vw;
    line-height: 1.5;
  }
  .call span { transform: translate(.1098vw, .1464vw); }
}
