/* Contact page rebuilt in the same editorial system as Cartage and Saroviq Home. */
:root {
  --contact-ink: #25211c;
  --contact-navy: #24384f;
  --contact-amber: #f2a93b;
  --contact-muted: #77736e;
  --contact-soft: #f3f3f0;
  --contact-line: rgba(37, 33, 28, .14);
}

body {
  background: #fff;
  color: var(--contact-ink);
  font-family: var(--f-body);
}

/* Contact information must never depend on an observer firing to remain readable. */
.contact-hero .reveal,
.channels-bar .reveal,
.contact-main .reveal,
.demo-strip .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 148px 40px 64px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  border: 0;
  background: var(--contact-navy);
}

.contact-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.012);
  animation: contactHeroSettle 1.4s cubic-bezier(.22, 1, .36, 1) both;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 14, 20, .44) 0%, rgba(8, 14, 20, .12) 52%, rgba(8, 14, 20, .05) 100%);
}

@keyframes contactHeroSettle {
  from { transform: scale(1.05); filter: saturate(.76); }
  to { transform: scale(1.012); filter: saturate(.92); }
}

.contact-hero-inner {
  width: min(940px, calc(100% - 80px));
  max-width: 940px;
  margin: 0 auto;
  display: block;
}

.contact-hero-card {
  width: min(620px, 54vw);
  min-height: 530px;
  padding: 68px 78px 62px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  color: var(--contact-ink);
  box-shadow: 0 30px 90px rgba(10, 16, 22, .2);
}

.contact-hero .hero-label {
  margin: 0 0 26px;
}

.contact-hero .hero-label-line { background: var(--contact-muted); }
.contact-hero .eyebrow { color: var(--contact-muted); }

.contact-hero h1 {
  margin: 0 0 20px;
  color: var(--contact-ink);
  font-family: var(--f-display);
  font-size: clamp(52px, 5.2vw, 72px);
  font-weight: 400;
  font-style: normal;
  line-height: .96;
  letter-spacing: -.055em;
}

.contact-hero-card > p {
  max-width: 44ch;
  margin: 0;
  color: var(--contact-muted);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
}

.contact-hero-links {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-hero-links a {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5f5c58;
  font-family: var(--f-sans);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .22s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.contact-hero-links a span { color: var(--contact-amber); text-decoration: none; }
.contact-hero-links a:hover { color: var(--contact-ink); transform: translateX(4px); }
.contact-hero-links p { margin: 8px 0 0; color: #9a9792; font-size: 12px; line-height: 1.45; }

.channels-bar {
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--contact-line);
}

.channels-inner {
  width: min(1200px, 100%);
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid var(--contact-line);
}

.channel-item {
  min-height: 188px;
  padding: 34px 32px;
  border-right: 1px solid var(--contact-line);
  background: #fff;
  transition: background .28s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.channel-item:hover { background: var(--contact-soft); transform: translateY(-3px); }
.channel-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(242, 169, 59, .13); }
.channel-icon svg { stroke: #b97008 !important; }
.channel-label { color: #9a9792; }
.channel-value { color: var(--contact-ink); font-family: var(--f-display); font-size: 18px; font-weight: 400; }
.channel-value:hover { color: #b97008; }
.channel-note { color: var(--contact-muted); }

.contact-main {
  padding: 112px 40px 128px;
  background: var(--contact-soft);
}

.contact-main-inner {
  width: min(1200px, 100%);
  max-width: 1200px;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
}

.contact-sidebar { top: 94px; }

.contact-editorial {
  margin: 0 0 38px;
  overflow: hidden;
  background: #d9d7d1;
}

.contact-editorial img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.contact-editorial:hover img { transform: scale(1.025); }
.contact-editorial figcaption { padding: 15px 0 0; color: var(--contact-muted); font-size: 13px; line-height: 1.5; }

.contact-sidebar .eyebrow { color: #9a9792; }
.contact-sidebar h2 { font-family: var(--f-display); font-size: clamp(42px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.contact-sidebar h2 em { color: var(--contact-amber); font-style: normal; }
.contact-sidebar p { color: var(--contact-muted); }

.office-card {
  padding: 26px 0;
  border: 0;
  border-top: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
  border-radius: 0;
  background: transparent;
}

.office-card a { color: var(--contact-ink); }
.response-badge { border-color: rgba(242, 169, 59, .38); background: rgba(242, 169, 59, .11); }
.response-dot { background: var(--contact-amber); }

.contact-form-wrap {
  padding: 54px 56px 58px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 28px 72px rgba(37, 33, 28, .08);
}

.form-header { margin-bottom: 38px; }
.form-header h3 { font-family: var(--f-display); font-size: 44px; font-style: normal; letter-spacing: -.045em; }
.form-header p { color: var(--contact-muted); }
.form-field label { color: var(--contact-ink); font-weight: 500; }
.form-field label .req { color: #b97008; }

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 52px;
  padding: 13px 15px;
  border-color: rgba(37, 33, 28, .2);
  border-radius: 0;
  background: #fff;
  color: var(--contact-ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--contact-ink);
  box-shadow: 0 0 0 1px var(--contact-ink);
  background: #fff;
}

.form-submit .btn-dark {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--contact-ink) !important;
  border-color: var(--contact-ink) !important;
  color: #fff !important;
}

.form-submit .btn-dark:hover { background: #4f4b45 !important; border-color: #4f4b45 !important; }
.form-privacy { color: #92908d; }

.demo-strip {
  padding: 104px 40px;
  background: var(--contact-navy);
}

.demo-strip-inner { width: min(1200px, 100%); max-width: 1200px; }
.demo-strip h2 { font-family: var(--f-display); font-size: clamp(52px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.demo-strip h2 em { color: var(--contact-amber); font-style: normal; }
.demo-strip p { color: rgba(255,255,255,.72); }
.demo-strip .btn-signal { border-radius: 999px; background: #fff; color: var(--contact-ink); font-weight: 500; }
.demo-strip .btn-signal:hover { background: var(--contact-amber); }
.demo-strip .btn-ghost-light { border-radius: 999px; color: #fff; }

.site-foot {
  background: var(--contact-ink) !important;
  color: #fff !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

.site-foot h4,
.site-foot h4 em,
.site-foot h5,
.site-foot p,
.site-foot a,
.site-foot .mono { color: #fff !important; }

.site-foot h4 em { font-style: normal !important; color: var(--contact-amber) !important; }
.site-foot p,
.site-foot a,
.site-foot .mono { opacity: .68; }
.site-foot a:hover { opacity: 1; }

@media (max-width: 900px) {
  .contact-hero { min-height: 720px; padding: 120px 24px 48px; }
  .contact-hero-card { width: min(620px, 82vw); padding: 54px 50px; }
  .contact-hero-inner { width: 100%; max-width: none; }
  .channels-bar { padding: 0 24px; }
  .channels-inner { grid-template-columns: 1fr; border-left: 0; }
  .channel-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--contact-line); }
  .contact-main { padding: 88px 24px 104px; }
  .contact-main-inner { grid-template-columns: 1fr; gap: 64px; }
  .contact-sidebar { position: static; }
  .contact-editorial img { height: min(54vw, 420px); }
  .contact-form-wrap { padding: 44px 38px; }
  .demo-strip { padding: 88px 24px; }
}

@media (max-width: 560px) {
  .contact-hero { min-height: 690px; padding: 96px 16px 28px; align-items: flex-end; }
  .contact-hero-image { object-position: 66% center; }
  .contact-hero-card { width: 100%; min-height: 520px; padding: 42px 28px 38px; }
  .contact-hero h1 { font-size: clamp(46px, 14vw, 62px); }
  .contact-hero-card > p { font-size: 15px; }
  .channels-bar { padding: 0 16px; }
  .channel-item { padding: 28px 18px; }
  .contact-main { padding-inline: 16px; }
  .contact-form-wrap { padding: 34px 22px 38px; }
  .form-header h3 { font-size: 38px; }
  .demo-strip-btns { flex-direction: column; align-items: stretch; }
  .demo-strip-btns .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-image { animation: none; }
}
