:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --charcoal: #0b0b0b;
  --soft: rgba(255, 255, 255, 0.66);
  --muted: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.hero {
  position: relative;
  display: grid;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.contact__form button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.contact {
  background: var(--black);
  padding: clamp(42px, 5vw, 64px) 24px clamp(56px, 7vw, 84px);
}

.contact__inner {
  width: min(680px, 100%);
  margin: 0 auto;
}

.contact__header {
  margin: 0 0 26px;
  text-align: center;
}

.contact h1 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 600;
  letter-spacing: 0;
}

.contact__header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status {
  width: fit-content;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--soft);
  font-size: 0.82rem;
  text-align: center;
}

.form-status--error {
  color: #fff;
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.field {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.field--half {
  grid-column: span 1;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: #f2f2f2;
  color: #050505;
  font: inherit;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
}

.contact__form textarea {
  min-height: 124px;
  resize: vertical;
}

.contact__form button {
  grid-column: 1 / -1;
  width: min(150px, 100%);
  min-width: 118px;
  min-height: 38px;
  margin: 8px auto 0;
  border: 0;
  border-radius: 5px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.contact__form button:hover {
  background: #eeeeee;
  transform: translateY(-1px);
}

.botcheck {
  position: absolute;
  left: -9999px;
}

.footer {
  display: grid;
  gap: 14px;
  justify-items: center;
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  padding: 30px 20px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.social-link__dot {
  fill: currentColor;
  stroke: none;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero__video {
    object-fit: contain;
    background: var(--black);
  }

  .contact {
    padding: 30px 18px 52px;
  }

  .contact__header {
    margin-bottom: 20px;
  }

  .contact__form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field--half {
    grid-column: 1;
  }

  .contact__form button {
    width: 100%;
  }
}

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