/* CONTACT BANNER */

.contact-banner {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #222;
}

/* BACKGROUND IMAGE */

.contact-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: grayscale(100%) brightness(0.65);
}

/* TEXT POSITION */

.contact-banner-text {
  position: absolute;
  top: 65%;
  left: 7%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

/* LET'S TELL */

.contact-banner-text span {
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  letter-spacing: 8px;
  font-weight: 500;
}

/* YOUR STORY */

.contact-banner-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(65px, 8vw, 115px);
  font-weight: 400;
  line-height: 1;
  margin: 5px 0 10px;
}

/* UNDERLINE */

.banner-line {
  width: 150px;
  height: 1px;
  background: white;
  margin-left: 120px;
}

/* MOBILE */

@media (max-width: 768px) {
  .contact-banner {
    height: 300px;
  }

  .contact-banner-text {
    left: 6%;
  }

  .contact-banner-text span {
    font-size: 12px;
    letter-spacing: 5px;
  }

  .contact-banner-text h1 {
    font-size: 60px;
  }

  .banner-line {
    width: 100px;
    margin-left: 60px;
  }
}


/* RIPPED PAPER BORDER */
.torn-paper-border {
    position: relative;
    width: 100%;
    height: 180px;
    margin-top: -90px;
    z-index: 999;
    pointer-events: none;
    overflow: hidden;
}

.torn-paper-border img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: fill;
}

/* CONTACT QUESTIONNAIRE */
.contact-inquiry {
  background: #f6f2ed;
  padding: 0px 7% 100px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9%;
  align-items: start;
}

.contact-intro {
  padding-top: 0;
}

.contact-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: #77716d;
}

.contact-intro h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  margin: 25px 0;
}

.contact-intro h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  text-transform: none;
}

.contact-intro > p:last-child {
  font-size: 15px;
  line-height: 1.9;
  max-width: 370px;
  color: #69635e;
}

.inquiry-form {
  width: 100%;
}

.inquiry-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 39px;
  font-weight: 400;
  margin: 0 0 35px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  margin-bottom: 26px;
}

.form-field label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #34302d;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #b9b1aa;
  border-radius: 0;
  color: #181717;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: #181717;
}

.form-field textarea {
  resize: vertical;
}

.inquiry-submit {
  background: #000000;
  color: white;
  border: none;
  padding: 19px 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.inquiry-submit:hover {
  background: #444444;
}

@media (max-width: 768px) {
  .contact-inquiry {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 65px 7%;
  }

  .contact-intro {
    padding-top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* MOVE ENTIRE LEFT SECTION TO THE RIGHT */
@media (min-width: 769px) {
    .contact-intro {
        transform: translateX(100px);
    }
}

/* MATCH INQUIRY BUTTON TO HEADER BUTTON */
.inquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 15px 24px;
  margin-top: 20px;
  border: none;
  border-radius: 0;
  background: #000000;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.inquiry-submit:hover {
  background: #303638;
}

/* S-SHAPED FILMSTRIP BACKGROUND */

.contact-inquiry {
  position: relative;
  isolation: isolate;
}

.contact-filmstrip {
  position: absolute;
  width: 600px;
  height: auto;

  left: 5%;
  bottom: -50px;

  opacity: 0.25;

  z-index: -1;
  pointer-events: none;
}

.contact-intro,
.inquiry-form {
  position: relative;
  z-index: 1;
}

/* MOVE FOOTER CLOSER TO INQUIRY BUTTON */

.contact-inquiry {
  padding-bottom: 20px;
}

.contact-inquiry + footer {
  margin-top: 0;
  padding-top: 15px;
}
/* INLINE INQUIRY CONFIRMATION */
.inquiry-result { margin-top: 22px; padding: 20px 22px; border: 1px solid #b9b1aa; color: #181717; background: #f6f2ed; font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.7; }
.inquiry-result[hidden] { display: none; }
.inquiry-result strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 27px; font-weight: 500; margin-bottom: 4px; }
.inquiry-result.is-error { border-color: #9d4b42; }
.inquiry-submit:disabled { opacity: .65; cursor: wait; }
