.contact-page {
  --contact-dark: #171416;
  --contact-panel: #221c1e;
  --contact-copper: var(--copper);
}

.contact-main { padding-top: 90px; }
.contact-page .main-nav > a[aria-current="page"] { color: #f1a17d; background: rgba(201, 130, 95, .12); }

.contact-hero {
  position: relative;
  min-height: calc(100svh - 90px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--contact-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact-hero-image,
.contact-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero-image { object-fit: cover; object-position: center; z-index: -3; }
.contact-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 14, 16, .94) 0%, rgba(19, 16, 18, .84) 27%, rgba(20, 17, 18, .35) 55%, rgba(20, 17, 18, .08) 100%),
    linear-gradient(0deg, rgba(18, 15, 17, .5), transparent 42%);
}

.contact-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  width: 4px;
  height: 45%;
  background: var(--contact-copper);
}

.contact-hero-content { padding: clamp(62px, 10svh, 108px) 0 108px; }
.contact-hero-content > * { max-width: 650px; }
.contact-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; color: rgba(255, 255, 255, .65); font-size: .82rem; }
.contact-breadcrumb a { color: #f2c0a5; font-weight: 700; }
.contact-hero .eyebrow { color: #eda27e; }
.contact-hero h1 { max-width: 610px; margin: 16px 0 22px; color: #fff; font-size: clamp(3.25rem, 5.4vw, 5.2rem); }
.contact-hero p { max-width: 610px; color: rgba(255, 255, 255, .78); font-size: 1.08rem; line-height: 1.72; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-hero-secondary { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(22, 18, 20, .18); backdrop-filter: blur(8px); }
.contact-hero-secondary:hover { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }
.contact-hero-footer {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.contact-hero-footer span { padding: 20px 24px; color: rgba(255, 255, 255, .78); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-hero-footer span + span { border-left: 1px solid rgba(255, 255, 255, .14); }

.contact-start { background: #f7f1ea; }
.contact-start-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(54px, 7vw, 92px); align-items: start; }
.contact-intro { position: sticky; top: 124px; }
.contact-intro h2 { max-width: 520px; margin-top: 14px; font-size: clamp(2.25rem, 3.6vw, 3.15rem); }
.contact-intro > p { max-width: 520px; }
.contact-direct-list { margin-top: 40px; border-top: 1px solid rgba(32, 28, 31, .16); }
.contact-direct {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(32, 28, 31, .16);
  transition: color .2s ease, padding .25s ease;
}
.contact-direct:hover { padding-left: 8px; color: var(--brand); }
.contact-direct-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(164, 90, 63, .28); color: var(--brand); }
.contact-direct-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-direct small,
.contact-direct strong,
.contact-direct em { display: block; }
.contact-direct small { color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-direct strong { margin-top: 2px; color: var(--ink); font-size: 1rem; }
.contact-direct em { color: var(--muted); font-size: .82rem; font-style: normal; }
.contact-direct b { font-size: 1.15rem; font-weight: 500; }

.contact-form-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: #fffdfa;
  border: 1px solid rgba(53, 39, 34, .16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(54, 37, 31, .12), 0 4px 16px rgba(54, 37, 31, .06);
}
.contact-form-panel::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: -1;
  border: 1px solid rgba(164, 90, 63, .22);
  border-radius: 8px;
}
.contact-form-heading { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid rgba(32, 28, 31, .13); }
.contact-form-heading > span { width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; }
.contact-form-heading small { color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-form-heading h2 { margin: 5px 0 0; font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.contact-form-note { margin: 0 0 24px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.contact-form-note a { color: var(--brand-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
#contact-form { display: grid; gap: 20px; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#contact-form label { display: grid; gap: 8px; color: #322b2d; font-size: .78rem; font-weight: 800; }
#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(42, 34, 36, .22);
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#contact-form textarea { min-height: 132px; resize: vertical; }
#contact-form input::placeholder,
#contact-form textarea::placeholder { color: #9c8f89; font-weight: 400; }
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(164, 90, 63, .12); background: #fffdfb; }
#contact-form [aria-invalid="true"] { border-color: #a73931; box-shadow: 0 0 0 3px rgba(167, 57, 49, .1); }
#contact-form .contact-consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .75rem; font-weight: 500; line-height: 1.5; }
.contact-consent input { flex: 0 0 auto; width: 17px !important; min-height: 17px !important; margin: 2px 0 0; accent-color: var(--brand); }
.contact-consent a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.contact-submit { width: 100%; justify-content: space-between; padding-inline: 20px; }
.contact-submit b { font-size: 1.08rem; }
.contact-form-status { min-height: 20px; margin: -8px 0 0; color: var(--brand-dark); font-size: .78rem; font-weight: 700; }

.contact-process { padding: 96px 0; background: var(--contact-dark); color: #fff; }
.contact-process-heading { display: grid; grid-template-columns: .62fr 1.38fr; gap: 48px; align-items: start; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact-process .eyebrow { color: #e99a76; }
.contact-process-heading h2 { max-width: 800px; color: #fff; font-size: clamp(2.25rem, 3.8vw, 3.25rem); }
.contact-process-track { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-step { position: relative; min-height: 230px; padding: 38px 34px 10px 0; display: grid; grid-template-columns: 42px 1fr; gap: 20px; }
.contact-step + .contact-step { padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .14); }
.contact-step > span { color: #e99a76; font-size: .75rem; font-weight: 800; }
.contact-step h3 { color: #fff; font-family: var(--serif); font-size: 1.45rem; }
.contact-step p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .92rem; }

.contact-channels { background: #eee2d7; }
.contact-channels-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 88px; align-items: center; }
.contact-channels-copy h2 { margin-top: 14px; font-size: clamp(2.2rem, 3.5vw, 3.05rem); }
.contact-social-list { border-top: 1px solid rgba(32, 28, 31, .2); }
.contact-social-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid rgba(32, 28, 31, .2); transition: padding .25s ease, color .2s ease; }
.contact-social-list a:hover { padding-left: 14px; color: var(--brand); }
.contact-social-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(164, 90, 63, .3); color: var(--brand); background: rgba(255, 253, 250, .42); transition: background .2s ease, color .2s ease, transform .25s ease; }
.contact-social-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-social-list a:hover .contact-social-icon { color: #fff; background: var(--brand); transform: translateY(-2px); }
.contact-social-label { color: var(--ink); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.contact-social-list small { display: inline-block; margin-left: 18px; color: var(--muted); font-family: var(--font); font-size: .74rem; font-weight: 600; }
.contact-social-list b { font-size: 1.1rem; font-weight: 500; }

@media (max-width: 980px) {
  .contact-hero { min-height: calc(100svh - 82px); }
  .contact-main { padding-top: 82px; }
  .contact-hero-image { object-position: 62% center; }
  .contact-hero-shade { background: linear-gradient(90deg, rgba(16, 14, 16, .94) 0%, rgba(18, 15, 17, .78) 58%, rgba(18, 15, 17, .28) 100%); }
  .contact-start-grid,
  .contact-process-heading,
  .contact-channels-grid { grid-template-columns: 1fr; }
  .contact-start-grid { gap: 58px; }
  .contact-intro { position: static; }
  .contact-direct-list { max-width: 620px; }
  .contact-process-heading { gap: 16px; }
  .contact-process-track { grid-template-columns: 1fr; }
  .contact-step { min-height: 0; padding: 30px 0; }
  .contact-step + .contact-step { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .contact-channels-grid { gap: 42px; }
}

@media (max-width: 600px) {
  .contact-main { padding-top: 82px; }
  .contact-hero { min-height: calc(100svh - 82px); align-items: flex-start; }
  .contact-hero-image { object-position: 68% center; }
  .contact-hero-shade { background: linear-gradient(90deg, rgba(16, 14, 16, .96) 0%, rgba(18, 15, 17, .84) 72%, rgba(18, 15, 17, .54) 100%); }
  .contact-hero-content { padding-top: clamp(28px, 5svh, 42px); padding-bottom: 78px; }
  .contact-breadcrumb { margin-bottom: 18px; }
  .contact-hero h1 { max-width: 360px; margin: 12px 0 14px; font-size: clamp(2.45rem, 12vw, 3.3rem); }
  .contact-hero p { max-width: 400px; margin-bottom: 0; font-size: .9rem; line-height: 1.55; }
  .contact-hero-actions { display: grid; grid-template-columns: 1fr; max-width: 360px; margin-top: 20px; }
  .contact-hero-actions .btn { min-height: 44px; padding-block: 9px; }
  .contact-hero-footer span { padding: 16px 8px; text-align: center; font-size: .61rem; }
  .contact-start { padding-top: 72px; }
  .contact-form-panel { padding: 24px 18px; }
  .contact-form-panel::before { inset: 8px -7px -8px 7px; }
  .contact-form-heading { grid-template-columns: 44px 1fr; gap: 12px; }
  .contact-form-heading > span { width: 40px; height: 40px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-direct { grid-template-columns: 42px 1fr auto; gap: 12px; }
  .contact-direct em { display: none; }
  .contact-process { padding: 72px 0; }
  .contact-step { grid-template-columns: 32px 1fr; gap: 14px; }
  .contact-social-list a { grid-template-columns: 46px 1fr auto; gap: 14px; padding-block: 18px; }
  .contact-social-icon { width: 44px; height: 44px; }
  .contact-social-label { font-size: 1.22rem; }
  .contact-social-list small { display: block; margin: 5px 0 0; }
}

@media (max-height: 740px) and (min-width: 601px) {
  .contact-hero-content { padding-top: 36px; padding-bottom: 84px; }
  .contact-breadcrumb { margin-bottom: 20px; }
  .contact-hero h1 { margin-block: 10px 14px; font-size: clamp(2.8rem, 5vw, 4rem); }
  .contact-hero p { margin-bottom: 14px; font-size: .94rem; }
  .contact-hero-actions { margin-top: 20px; }
  .contact-hero-footer span { padding-block: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-direct,
  .contact-social-list a { transition: none; }
}
