/* ── Page shell ── */
body {
  background: var(--paper);
}

/* ── Dark hero band ── */
.contact-hero {
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 0;
}
/* ── Photo strip ── */
.contact-photo-strip {
  display: flex;
  gap: 3px;
  margin-top: 48px;
  height: 280px;
  overflow: hidden;
}
.contact-photo-item {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.contact-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 500ms ease;
  filter: brightness(0.82) saturate(0.88);
}
.contact-photo-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
}
@media (max-width: 600px) {
  .contact-photo-strip {
    height: 180px;
    margin-top: 36px;
  }
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 80% at 0% 50%,
      rgba(56, 67, 208, 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 100% 0%,
      rgba(56, 67, 208, 0.08),
      transparent 65%
    );
  pointer-events: none;
}
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(142, 161, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(142, 161, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse at 50% 0%,
    rgba(0, 0, 0, 0.6),
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 0%,
    rgba(0, 0, 0, 0.6),
    transparent 70%
  );
  pointer-events: none;
}
.contact-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.contact-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  justify-content: center;
  margin-bottom: 20px;
}
.contact-hero .eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sky);
  opacity: 0.7;
}
.contact-hero h1 {
  font-size: var(--fs-hero);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 18px;
}
.contact-hero h1 em {
  font-style: normal;
  font-weight: 500;
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-hero p {
  font-size: var(--fs-lede);
  font-weight: 300;
  line-height: 1.7;
  color: var(--on-dark-secondary);
  margin: 0 auto;
  max-width: 52ch;
}
@media (max-width: 600px) {
  .contact-hero {
    padding: 52px 0 60px;
  }
}

/* ── Form section ── */
.form-section {
  background: var(--paper);
  padding: 64px 0 80px;
}
.form-section .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Form card ── */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px -20px rgba(20, 16, 58, 0.14);
}
.form-card-head {
  padding: 22px 36px;
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}
.form-card-head-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
}
.form-card-head-icon svg {
  width: 16px;
  height: 16px;
}
.form-card-head-text {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-dark-primary);
  letter-spacing: 0.01em;
}
.form-card-head-sub {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
  margin-top: 1px;
}
.form-card-body {
  padding: 36px;
}
@media (max-width: 600px) {
  .form-card-head {
    padding: 18px 22px;
  }
  .form-card-body {
    padding: 24px 22px;
  }
}

/* HubSpot form font override */
#hubspot-form,
#hubspot-form input,
#hubspot-form textarea,
#hubspot-form select,
#hubspot-form label,
#hubspot-form legend,
#hubspot-form .hs-button,
#hubspot-form .hs-input,
#hubspot-form .hs-form-field,
#hubspot-form fieldset,
#hubspot-form .hs-error-msg,
#hubspot-form .hs-form-required {
  font-family: var(--sans) !important;
}

.form-fallback {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.form-fallback strong {
  color: var(--ink);
  font-weight: 500;
}
