.contact-body { background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; padding-top: 66px; }
.contact-story { position: relative; isolation: isolate; overflow: clip; color: #fff; background: #152a32; }
.contact-story__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 42% center; filter: saturate(.65); }
.contact-story::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(8,23,29,.7), rgba(8,23,29,.38) 48%, rgba(8,23,29,.84)); }
.contact-story__inner { position: sticky; top: 66px; min-height: calc(100svh - 66px); padding: clamp(60px, 7vw, 112px) clamp(32px, 6.5vw, 120px) 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.contact-story h1 { max-width: 640px; margin: 0; font-size: clamp(48px, 4.8vw, 80px); line-height: 1.04; font-weight: 300; letter-spacing: -.05em; text-wrap: balance; }
.contact-story__lead { max-width: 490px; margin: 30px 0 0; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.45; font-weight: 300; color: rgba(255,255,255,.9); }
.contact-details { max-width: 440px; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.28); padding-top: 22px; }
.contact-details > a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; color: rgba(255,255,255,.87); }
.contact-details > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.contact-details p { margin: 25px 0 0; font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.7; }
.contact-email { color: #fff; font-size: 18px; }
.contact-privacy { max-width: 440px; margin: 0; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.75); }
.contact-privacy a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.contact-panel { min-width: 0; padding: clamp(52px, 5vw, 88px) clamp(32px, 5vw, 100px); }
.contact-panel__inner { max-width: 610px; margin-inline: auto; }
.contact-panel h2 { margin: 0; font-size: clamp(30px, 2.5vw, 40px); font-weight: 300; line-height: 1.15; letter-spacing: -.04em; }
.contact-panel__lead { margin: 18px 0 32px; color: #747874; font-size: 16px; font-weight: 400; line-height: 1.5; }
#contact-form { scroll-margin-top: 100px; }
.contact-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 21px 22px; }
.contact-field { min-width: 0; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 9px; font-size: 15px; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-width: 0; border: 1px solid #e6e8e6; border-radius: 10px; background: #f5f6f5; color: var(--ink); padding: 13px 15px; font: inherit; font-size: 16px; line-height: 1.35; transition: border-color .2s ease, background .2s ease; }
.contact-field input, .contact-field select { height: 49px; }
.contact-field textarea { min-height: 96px; resize: vertical; }
.contact-field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23666b66' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 13px center; }
.contact-field input::placeholder { color: #969b96; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: 2px solid #667f80; outline-offset: 2px; background-color: #fff; }
.contact-field small { display: block; margin-top: 7px; color: #737773; font-size: 12px; line-height: 1.45; }
.contact-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 27px; }
.contact-submit .pill { min-width: 185px; min-height: 50px; justify-content: space-between; gap: 24px; cursor: pointer; }
.contact-submit .pill:disabled { cursor: wait; opacity: .55; transform: none; }
.contact-submit small { color: #737773; font-size: 12px; }
.contact-status { margin: 20px 0 0; padding: 16px 18px; background: #eef4ef; border: 1px solid #cddbd0; border-radius: 10px; color: #254d34; font-size: 15px; }
.contact-status[data-state="error"] { background: #fff3ec; border-color: #e8c8b1; color: #81411d; }
.contact-status[hidden] { display: none; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-body a:focus-visible, .contact-body button:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
@media (max-width: 1000px) {
  .contact-story__inner { padding: 64px 32px 36px; }
  .contact-story h1 { font-size: 48px; }
  .contact-panel { padding: 60px 30px; }
  .contact-fields { gap: 20px 14px; }
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-story__inner { position: relative; top: auto; min-height: auto; padding: 60px 24px 32px; gap: 42px; }
  .contact-story h1 { max-width: 520px; font-size: clamp(44px, 8.8vw, 62px); }
  .contact-story__image { object-position: center 45%; }
  .contact-story__lead { max-width: 500px; margin-top: 24px; font-size: 19px; }
  .contact-details { max-width: 100%; margin-top: 32px; }
  .contact-panel { padding: 48px 24px 64px; }
  .contact-panel h2 { font-size: 32px; }
}
@media (max-width: 380px) {
  .contact-fields { grid-template-columns: 1fr; }
  .contact-story__inner, .contact-panel { padding-inline: 20px; }
}
