@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant garamond font fam .ttf/CormorantGaramond-LightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant garamond font fam .ttf/CormorantGaramond-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist font fam .ttf/Urbanist-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist font fam .ttf/Urbanist-ExtraLightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200;
  font-display: swap;
}

:root {
  --navy: #061138;
  --burgundy: #6b071f;
  --muted: rgba(6, 17, 56, 0.68);
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--navy);
  background: #f7f8f2;
  font-family: "Urbanist", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.coming-soon {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background-image: url("material/background-texture@2x.png");
  background-position: center;
  background-size: cover;
}

.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 45%, rgba(255, 255, 246, 0.46), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 250, 0.07), rgba(255, 255, 250, 0.13));
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(88vw, 760px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(72px, 14vh, 126px) 0 clamp(42px, 8vh, 70px);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.brand {
  display: block;
  width: clamp(172px, 13.9vw, 224px);
  height: auto;
  margin: 0 0 clamp(44px, 6.8vh, 62px);
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 4.65vw, 74px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0;
}

.status {
  margin: clamp(26px, 3.35vh, 31px) 0 0;
  color: rgba(6, 17, 56, 0.78);
  font-size: clamp(18px, 1.72vw, 28px);
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-transform: uppercase;
}

.access-form {
  display: flex;
  width: min(100%, 398px);
  margin-top: clamp(54px, 8vh, 72px);
  align-items: center;
  flex-direction: column;
}

.offer {
  display: grid;
  gap: 9px;
  margin: 0 0 19px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.08;
}

.offer span:first-child {
  font-size: clamp(15px, 1.25vw, 20px);
}

.offer span:last-child {
  font-size: clamp(18px, 1.5vw, 24px);
}

.email-field {
  position: relative;
  width: 100%;
}

.email-field input {
  width: 100%;
  height: 28px;
  padding: 0 42px 1px 42px;
  color: var(--navy);
  border: 1px solid rgba(6, 17, 56, 0.31);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 3px rgba(6, 17, 56, 0.03);
  font-size: 20px;
  font-style: italic;
  font-weight: 200;
  line-height: 28px;
  outline: none;
  text-align: center;
}

.email-field input::placeholder {
  color: rgba(6, 17, 56, 0.34);
  opacity: 1;
}

.email-field input:focus {
  border-color: rgba(107, 7, 31, 0.62);
}

.mail-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 18px;
  height: 18px;
  color: rgba(107, 7, 31, 0.22);
  place-items: center;
  transform: translateY(-50%);
}

.mail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

button {
  min-width: 198px;
  height: 28px;
  margin-top: 14px;
  padding: 0 24px 2px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--burgundy);
  cursor: pointer;
  font-size: 20px;
  font-style: italic;
  font-weight: 200;
  line-height: 28px;
}

button:focus-visible {
  outline: 2px solid rgba(107, 7, 31, 0.48);
  outline-offset: 3px;
}

.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 (min-width: 1200px) and (min-height: 760px) {
  .content {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .content {
    width: min(86vw, 420px);
    padding-top: clamp(58px, 10vh, 96px);
    justify-content: center;
  }

  .brand {
    width: clamp(154px, 38vw, 206px);
    margin-bottom: 42px;
  }

  h1 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .status {
    margin-top: 23px;
    font-size: clamp(17px, 5vw, 23px);
    letter-spacing: 0.19em;
  }

  .access-form {
    margin-top: 52px;
  }

  .offer {
    gap: 8px;
    margin-bottom: 18px;
  }

  .offer span:first-child,
  .offer span:last-child,
  .email-field input,
  button {
    font-size: 17px;
  }

  .email-field input {
    height: 30px;
    padding-inline: 34px;
    line-height: 30px;
  }

  button {
    min-width: 186px;
    height: 30px;
    line-height: 30px;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .content {
    padding-top: clamp(58px, 12vh, 92px);
  }

  .brand {
    width: 176px;
    margin-bottom: 30px;
  }

  .access-form {
    margin-top: 40px;
  }
}
