:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #1b2433;
  background: #fffaf3;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 195, 92, .18), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(255, 81, 20, .12), transparent 30rem),
    #fffaf3;
  line-height: 1.7;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }

.contact-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1000px) / 2));
  border-bottom: 1px solid rgba(234, 183, 130, .55);
  background: rgba(255, 250, 243, .92);
  backdrop-filter: blur(14px);
}

.contact-brand {
  color: #e5480b;
  font-size: 1.45rem;
  font-weight: 1000;
  letter-spacing: -.04em;
  text-decoration: none;
}

.contact-home-link {
  padding: 8px 14px;
  border: 1px solid #edc69d;
  border-radius: 999px;
  color: #9b4b25;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-page {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 52px 0 72px;
}

.contact-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 34px;
  background: linear-gradient(135deg, #ff4b0b, #f06a1c 56%, #ee8d32);
  box-shadow: 0 24px 60px rgba(174, 68, 12, .2);
  color: #fff;
}

.contact-intro::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 330px;
  height: 330px;
  border: 54px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: "";
}

.contact-kicker {
  display: inline-flex;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .14em;
}

.contact-intro-icon {
  position: absolute;
  top: 32px;
  right: 42px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 26px;
  background: rgba(255, 255, 255, .14);
  font-size: 2rem;
  transform: rotate(5deg);
}

.contact-intro h1 {
  position: relative;
  z-index: 1;
  margin: 20px 0 10px;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.25;
}

.contact-intro p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  font-weight: 750;
}

.contact-access-note {
  margin-top: 12px !important;
  color: #fff3d6;
  font-size: .9rem;
}

.contact-card,
.contact-success {
  margin-top: 24px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #f0d2b2;
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 52px rgba(55, 42, 30, .08);
}

.contact-card-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 2px solid #fff0dd;
}

.contact-card-heading span,
.contact-success > span {
  color: #d5470d;
  font-size: .75rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.contact-card-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.45;
}

.contact-card-heading p {
  flex: 0 0 auto;
  margin: 0;
  color: #7d8796;
  font-size: .78rem;
  font-weight: 700;
}

.contact-card-heading b,
.contact-field em {
  color: #db3f18;
  font-style: normal;
}

#contactForm {
  display: grid;
  gap: 24px;
  padding-top: 28px;
}

.contact-field { display: grid; gap: 9px; }
.contact-field label { color: #303b4c; font-size: .94rem; font-weight: 900; }
.contact-field label span { color: #8c95a3; font-size: .74rem; }
.contact-field em { margin-left: 7px; font-size: .7rem; }
.contact-field small { color: #7a8494; font-size: .76rem; font-weight: 650; }

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1.5px solid #dfe4eb;
  border-radius: 15px;
  outline: 0;
  background: #fbfcfe;
  color: #1b2433;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.contact-field input,
.contact-field select { min-height: 54px; padding: 12px 15px; }
.contact-field textarea { min-height: 220px; padding: 15px; resize: vertical; }

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #ff7a3d;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 91, 20, .1);
}

.contact-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-label-row > span { color: #7a8494; font-size: .76rem; font-weight: 750; }

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

.contact-form-message {
  min-height: 1.6em;
  margin: -5px 0 0;
  color: #b42318;
  font-size: .88rem;
  font-weight: 850;
}

.contact-submit {
  position: relative;
  min-height: 60px;
  border: 0;
  border-radius: 17px;
  background: #ff4b0b;
  box-shadow: 0 13px 28px rgba(255, 75, 11, .22);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.contact-submit:hover { background: #e94208; }
.contact-submit:focus-visible { outline: 4px solid rgba(255, 75, 11, .24); outline-offset: 3px; }
.contact-submit:disabled { opacity: .62; cursor: wait; }
.contact-submit-loading { display: none; }
.contact-submit.is-loading .contact-submit-label { display: none; }
.contact-submit.is-loading .contact-submit-loading { display: inline; }

.contact-privacy-note {
  margin: -4px 0 0;
  color: #7b8492;
  font-size: .76rem;
  text-align: center;
}

.contact-privacy-note a { color: #a93c11; font-weight: 850; }

.contact-success { padding-block: clamp(48px, 8vw, 78px); text-align: center; }
.contact-success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ecfbdc;
  color: #3c7b1c;
  font-size: 2rem;
  font-weight: 1000;
}
.contact-success h2 { margin: 7px 0 8px; font-size: clamp(1.55rem, 4vw, 2.1rem); }
.contact-success p { margin: 0; color: #697486; font-weight: 700; }
.contact-success-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.contact-success-actions a,
.contact-success-actions button {
  min-width: 180px;
  padding: 13px 20px;
  border: 1px solid #e2b98e;
  border-radius: 14px;
  background: #fff;
  color: #a83c10;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.contact-success-actions a { border-color: #ff4b0b; background: #ff4b0b; color: #fff; }

.contact-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid #f0d6ba;
  background: #fff;
  color: #737e8e;
  font-size: .8rem;
  font-weight: 800;
}

.contact-footer a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

[hidden] { display: none !important; }

@media (max-width: 640px) {
  .contact-header { min-height: 62px; }
  .contact-brand { font-size: 1.25rem; }
  .contact-home-link { padding: 7px 11px; font-size: .74rem; }
  .contact-page { width: min(100% - 24px, 920px); padding: 20px 0 44px; }
  .contact-intro { padding: 28px 22px; border-radius: 25px; }
  .contact-intro-icon { top: 24px; right: 20px; width: 55px; height: 55px; border-radius: 18px; font-size: 1.45rem; }
  .contact-intro h1 { margin-top: 17px; }
  .contact-intro p { padding-right: 4px; font-size: .88rem; }
  .contact-kicker { font-size: .62rem; }
  .contact-card, .contact-success { margin-top: 14px; padding: 24px 18px; border-radius: 23px; }
  .contact-card-heading { align-items: start; flex-direction: column; gap: 8px; }
  #contactForm { gap: 21px; padding-top: 23px; }
  .contact-field input, .contact-field select { min-height: 52px; }
  .contact-field textarea { min-height: 200px; }
  .contact-success-actions { flex-direction: column; }
  .contact-success-actions a, .contact-success-actions button { width: 100%; }
}

