/* Contact legibility migrated from the shared storefront override layer. */
body.contact-page .contact-form-card label > span,
body.contact-page .contact-field-note,
body.contact-page .contact-count {
  font-size: .875rem;
}

body.contact-page .contact-form-card label > span small {
  font-size: .875em;
}

.contact-section {
  position: relative;
  min-height: calc(100vh - 180px);
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(58px, 9vw, 110px);
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.contact-intro {
  max-width: 560px;
  padding-top: 24px;
}

.contact-intro h1 {
  margin: 4px 0 18px;
  font-size: clamp(2.4rem, 4.5vw, 4.35rem);
  line-height: .98;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 50ch;
  line-height: 1.7;
}

.contact-note-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin: 30px 0 20px;
  padding: 20px 22px;
  border: 1px solid rgba(214, 160, 90, .32);
  border-radius: 20px;
  color: #f3e5d1;
  background: linear-gradient(135deg, rgba(41, 29, 32, .97), rgba(24, 20, 27, .97));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.contact-note-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(214, 160, 90, .42);
  border-radius: 50%;
  color: #eac084;
  font-size: 1rem;
}

.contact-note-card strong {
  display: block;
  margin-bottom: 5px;
  color: #fff0d8;
}

.contact-note-card p,
.contact-privacy-note {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
}
.contact-note-card p { color: #d8c4a8; }

.contact-privacy-note {
  opacity: .74;
}

body.contact-page .contact-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(214, 160, 90, .35);
  border-radius: 28px;
  color: #f3e4ce !important;
  color-scheme: dark;
  background: linear-gradient(145deg, rgba(40, 29, 33, .98), rgba(23, 19, 27, .98));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 244, 220, .04);
}

.contact-form-card::after {
  content: "✦";
  position: absolute;
  top: 22px;
  right: 26px;
  color: #d5a66b;
  font-size: 1rem;
  opacity: .62;
}

body.contact-page .contact-form-card h2 {
  margin: 4px 0 26px;
  color: #fff0d8 !important;
}

body.contact-page .contact-form-card .mini-label {
  color: #e6b677 !important;
}

body.contact-page .contact-form-card > p:not(.mini-label),
body.contact-page .contact-form-card .contact-field-note,
body.contact-page .contact-form-card .contact-count {
  color: #d4c0a5 !important;
}

.contact-form-card form,
.contact-form-card label {
  display: grid;
  gap: 8px;
}

.contact-form-card form {
  gap: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-card label > span {
  color: #f2dfc5;
  font-weight: 750;
  font-size: .88rem;
  letter-spacing: .01em;
}

.contact-form-card label > span small {
  font-size: .78em;
  font-weight: 600;
  opacity: .68;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(214, 160, 90, .38);
  border-radius: 14px;
  color: #fff4e3;
  background: #211b23;
  font: inherit;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.contact-form-card input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form-card textarea {
  min-height: 210px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #b5a490;
  opacity: 1;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: #e1b16e;
  background: #29202a;
  box-shadow: 0 0 0 3px rgba(214, 160, 90, .18);
}

.contact-field-note {
  margin: -1px 0 0;
  font-size: .76rem;
  line-height: 1.4;
  opacity: .66;
}

.contact-count {
  justify-self: end;
  margin-top: -2px;
  opacity: .65;
  font-size: .75rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.contact-actions .button {
  min-width: 180px;
}

.contact-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-size: .9rem;
  font-weight: 650;
}

body.contact-page .contact-form-card .contact-status.is-success { color: #c4e6a9 !important; }
body.contact-page .contact-form-card .contact-status.is-error { color: #ffb6a6 !important; }

body.contact-page .contact-form-card .button-primary {
  color: #20150e !important;
  border-color: #dfad67 !important;
  background: #e0b06d !important;
}

body.contact-page .contact-form-card .button-primary:hover {
  background: #efc588 !important;
}
body.contact-page .contact-form-card .button-primary:focus-visible {
  outline: 3px solid #f0cd90;
  outline-offset: 3px;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* The shared banner stylesheet owns the Contact section's dark surface. */

@media (max-width: 820px) {
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-intro {
    max-width: 680px;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .contact-section {
    padding-top: 34px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }

  .contact-actions .button {
    width: 100%;
  }
}