:root {
  --navy: #071827;
  --orange: #f05a16;
  --white: #f6f5f0;
  --muted: rgba(246,245,240,.72);
  --border: rgba(246,245,240,.32);
}

* { box-sizing: border-box; }

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

body {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--navy);
}

a { color: inherit; }

button,
input { font: inherit; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
}

.hero__background {
  position: absolute;
  inset: -2%;
  z-index: -3;
  background: url("assets/hero.jpg") 58% center / cover no-repeat;
  transform: scale(1.03);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(3,15,25,.88) 0%,
      rgba(3,15,25,.69) 38%,
      rgba(3,15,25,.20) 73%,
      rgba(3,15,25,.03) 100%),
    linear-gradient(180deg,
      rgba(3,15,25,.22) 0%,
      rgba(3,15,25,.02) 47%,
      rgba(3,15,25,.73) 100%);
}

.site-header,
.hero__content,
.site-footer {
  width: min(calc(100% - 92px), 1440px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: clamp(34px, 4vw, 58px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  text-transform: uppercase;
  line-height: .88;
}

.wordmark span {
  margin-left: .1em;
  font-size: clamp(.78rem, .9vw, .92rem);
  font-weight: 500;
  letter-spacing: .47em;
}

.wordmark strong {
  margin-top: 11px;
  font-size: clamp(1.06rem, 1.25vw, 1.25rem);
  font-weight: 400;
  letter-spacing: .7em;
}

.site-nav {
  display: flex;
  gap: clamp(34px, 4.4vw, 68px);
}

.site-nav a {
  position: relative;
  padding: 6px 0 17px;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .active::after {
  transform: scaleX(1);
}

.site-nav .active {
  color: var(--orange);
}

.hero__content {
  align-self: center;
  padding: clamp(58px, 8vh, 100px) 0 clamp(28px, 5vh, 54px);
}

.eyebrow {
  margin: 0 0 25px;
  font-size: clamp(.92rem, 1.1vw, 1.08rem);
  font-weight: 400;
  letter-spacing: .46em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 1000px;
  color: var(--orange);
  font-size: clamp(2.7rem, 4.7vw, 5.2rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1 span {
  letter-spacing: 0;
}

.accent-line {
  width: 52px;
  height: 2px;
  margin-top: clamp(26px, 3.4vh, 38px);
  background: var(--orange);
}

.status {
  margin: clamp(28px, 4vh, 42px) 0 0;
  font-size: clamp(.72rem, .9vw, .86rem);
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
}

.intro {
  margin-top: clamp(38px, 5.2vh, 56px);
  max-width: 720px;
  font-size: clamp(.92rem, 1.12vw, 1.08rem);
  line-height: 1.62;
}

.intro p {
  margin: 0;
}

.intro p + p {
  margin-top: 4px;
}

.accent-line--small {
  width: 40px;
  margin-top: clamp(28px, 4vh, 42px);
}

.signup-block {
  margin-top: 28px;
}

.signup-block h2 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.signup-form {
  display: flex;
  width: min(100%, 520px);
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px 0 0 2px;
  outline: none;
  background: rgba(4,17,28,.45);
  backdrop-filter: blur(7px);
  font-size: .8rem;
}

.signup-form input::placeholder {
  color: rgba(246,245,240,.58);
}

.signup-form input:focus {
  border-color: var(--orange);
}

.signup-form button {
  padding: 15px 24px;
  color: var(--white);
  border: 1px solid var(--orange);
  border-radius: 0 2px 2px 0;
  background: var(--orange);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.signup-form button:hover,
.signup-form button:focus-visible {
  color: var(--orange);
  background: transparent;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(24px, 3vw, 42px);
  color: var(--muted);
  font-size: .62rem;
}

.socials {
  display: flex;
  gap: 25px;
}

.socials a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

.socials svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}

.socials .fill {
  fill: currentColor;
  stroke: none;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .site-header,
  .hero__content,
  .site-footer {
    width: min(calc(100% - 38px), 1440px);
  }

  .site-header {
    padding-top: 25px;
  }

  .wordmark span {
    font-size: .64rem;
  }

  .wordmark strong {
    font-size: .88rem;
  }

  .site-nav {
    gap: 26px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero__background {
    background-position: 67% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg,
        rgba(3,15,25,.88) 0%,
        rgba(3,15,25,.49) 100%),
      linear-gradient(180deg,
        rgba(3,15,25,.1) 0%,
        rgba(3,15,25,.15) 45%,
        rgba(3,15,25,.82) 100%);
  }

  .hero__content {
    align-self: end;
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .eyebrow {
    font-size: .72rem;
    letter-spacing: .34em;
  }

  h1 {
    font-size: clamp(2.7rem, 11.6vw, 4.6rem);
    letter-spacing: .13em;
  }

  .status {
    letter-spacing: .23em;
  }

  .signup-form {
    flex-direction: column;
    gap: 10px;
  }

  .signup-form input,
  .signup-form button {
    width: 100%;
    min-height: 48px;
    border-radius: 2px;
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  .hero__content {
    padding-top: 55px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
  }

  .intro {
    margin-top: 30px;
  }
}
