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

@font-face {
  font-family: "Source Sans Pro";
  src: url("/assets/fonts/source-sans-pro-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: #000;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: #c4c4c4;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 40px;
  background-color: #0b1c49;
  background-image: linear-gradient(rgb(0 0 0 / 15%), rgb(0 0 0 / 15%)), url("/assets/hero.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.brand {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 74px;
  overflow-wrap: break-word;
}

.contact {
  width: min(100% - 48px, 726px);
  margin: 60px auto 0;
  text-align: center;
}

h2 {
  margin: 0;
  color: #969696;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.3;
}

.divider {
  width: 50px;
  height: 1px;
  margin: 26px auto 35px;
  background: #303030;
}

.contact-intro {
  margin: 0 0 28px;
  font-size: 22px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  margin-bottom: 24px;
}

input[type="text"],
input[type="email"],
textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #eee;
  font-size: 18px;
  line-height: 1.5;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

textarea {
  min-height: 200px;
  resize: vertical;
}

.updates {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.updates input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  accent-color: #fff;
}

.security-check {
  min-height: 65px;
  max-width: 100%;
  margin: 24px 0;
  text-align: left;
}

button {
  min-width: 104px;
  min-height: 56px;
  padding: 16px 24px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #dedede;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

:focus-visible {
  outline: 3px solid #94b9ff;
  outline-offset: 4px;
}

.form-status {
  min-height: 27px;
  margin: 20px 0 0;
  overflow-wrap: anywhere;
}

.form-status[data-state="error"] {
  color: #ffb8b8;
}

.form-status[data-state="success"] {
  color: #b3e7bf;
}

.contact-privacy {
  margin: 16px 0 0;
  color: #969696;
  font-size: 14px;
  line-height: 1.6;
}

footer {
  padding: 64px 24px 40px;
  color: #969696;
  font-size: 14px;
  text-align: center;
}

footer p {
  margin: 0;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .hero {
    min-height: 420px;
    padding: 100px 20px 40px;
    background-position: 62% center;
  }

  .brand {
    top: 28px;
    right: 20px;
    left: 20px;
    font-size: 20px;
    letter-spacing: 2px;
  }

  h1 {
    font-size: clamp(32px, 8.5vw, 48px);
    line-height: 1.25;
  }

  .contact {
    width: calc(100% - 40px);
    margin-top: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .updates {
    font-size: 16px;
  }

  footer {
    padding-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
