:root {
  color-scheme: dark;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  background: #020202;
}

* { box-sizing: border-box; }

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: #fff;
  background: #000;
}

body { min-height: 100svh; }

button,
input,
textarea { font: inherit; }

a { color: inherit; }

.contact-header {
  display: flex;
  min-height: 68px;
  padding: 0 clamp(20px, 3.5vw, 58px);
  align-items: center;
  justify-content: space-between;
  background: #100307;
  border-bottom: 1px solid #35141b;
}

.contact-brand,
.contact-back {
  text-decoration: none;
}

.contact-brand {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: .035em;
}

.contact-back {
  color: #d83b59;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr);
  width: min(1500px, calc(100% - 48px));
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 150px) 0;
  align-items: start;
  gap: clamp(48px, 8vw, 140px);
}

.contact-intro > span {
  color: #e73b5d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .13em;
}

.contact-intro h1 {
  margin: 22px 0 0;
  font-size: clamp(70px, 8.5vw, 142px);
  font-weight: 650;
  line-height: .86;
  letter-spacing: -.035em;
}

.contact-intro p {
  width: min(580px, 100%);
  margin: 34px 0 0;
  color: #978d8f;
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.contact-form-shell {
  padding: clamp(24px, 3vw, 48px);
  background: rgba(8, 4, 5, .92);
  border: 1px solid #3b171f;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .36);
}

#contactForm,
.contact-field-row {
  display: grid;
  gap: 24px;
}

.contact-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

#contactForm label {
  display: grid;
  gap: 10px;
}

#contactForm label > span {
  color: #e73b5d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  color: #fff;
  background: #0d090a;
  border: 1px solid #352329;
  border-radius: 5px;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

#contactForm input {
  min-height: 56px;
  padding: 0 17px;
  font-size: 18px;
}

#contactForm textarea {
  min-height: 210px;
  padding: 16px 17px;
  resize: vertical;
  font-size: 18px;
  line-height: 1.4;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #bd2544;
  box-shadow: 0 0 0 3px rgba(189, 37, 68, .12);
}

#contactForm ::placeholder { color: #6f6668; }

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px;
  overflow: hidden;
}

.contact-form-footer {
  display: flex;
  margin-top: 4px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-form-footer p {
  margin: 0;
  color: #807679;
  font-size: 15px;
  line-height: 1.35;
}

.contact-form-footer p.success { color: #69b879; }
.contact-form-footer p.error { color: #f05a74; }

#contactSubmit {
  flex: 0 0 auto;
  min-width: 190px;
  min-height: 56px;
  padding: 0 26px;
  color: #fff;
  background: #a71936;
  border: 1px solid #df2b4f;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}

#contactSubmit:hover,
#contactSubmit:focus-visible { background: #c02040; outline: 0; }
#contactSubmit:disabled { cursor: wait; opacity: .65; }

.contact-footer {
  display: flex;
  min-height: 42vh;
  padding: clamp(54px, 7vw, 110px) clamp(24px, 5vw, 82px);
  align-items: flex-end;
  justify-content: space-between;
  background: #100307;
  border-top: 1px solid #35141b;
}

.contact-footer strong {
  font-size: clamp(88px, 15vw, 250px);
  line-height: .75;
  letter-spacing: -.055em;
}

.contact-footer span {
  color: #8e8587;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}

@media (max-width: 820px) {
  .contact-page {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 28px, 680px);
    padding: 64px 0 92px;
    gap: 44px;
  }

  .contact-intro h1 { font-size: clamp(64px, 20vw, 94px); }
  .contact-field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form-shell { padding: 22px 16px; }
  .contact-form-footer { display: grid; }
  #contactSubmit { width: 100%; }
  .contact-footer { min-height: 36vh; align-items: flex-end; }
  .contact-footer span { display: none; }
}

@media (max-width: 760px) {
  html, body { min-width: 0; scrollbar-width: none; }
  html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
  .contact-header { padding-inline: 12px; gap: 12px; }
  .contact-brand { font-size: 20px; }
  .contact-back { font-size: 11px; }
  .contact-brand, .contact-back { display: flex; align-items: center; min-height: 44px; }
}
