/* Contact page */

.contact-page { background: var(--paper); }

.hero--contact .hero__bg img { object-position: 50% 35%; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr min(380px, 34%);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
  padding: clamp(24px, 3vw, 44px);
}

.contact-form-card .lead {
  margin-top: 12px;
  color: var(--text-2);
  max-width: 52ch;
}
.contact-form-card .lead a {
  color: var(--olive-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form-card .lead a:hover { color: var(--olive-800); }

.contact-form-card form { margin-top: clamp(24px, 3vw, 32px); }

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

.contact-form-error {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(158, 42, 43, .28);
  border-radius: var(--r);
  background: rgba(158, 42, 43, .07);
  color: var(--maroon-600);
  font-size: .9rem;
  line-height: 1.5;
}

.contact-form-card #contactSubmit:disabled {
  opacity: .65;
  cursor: wait;
}

.contact-info {
  position: sticky;
  top: 100px;
  background: var(--olive-900);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  inset-inline-end: -20%;
  top: -30%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 108, .12) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .contact-info { position: static; }
}

.contact-info__photo {
  position: relative;
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  margin-bottom: 20px;
}

.contact-info__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 14px;
}

.contact-info__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: 6px;
}

.contact-info__role {
  font-size: .95rem;
  color: var(--on-dark-2);
  margin-bottom: clamp(22px, 3vw, 28px);
}

.contact-info__list {
  display: grid;
  gap: 14px;
}
.contact-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .96rem;
  color: var(--on-dark-2);
}
.contact-info__list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--brass-400);
}
.contact-info__list a {
  color: var(--on-dark);
  font-weight: 600;
}
.contact-info__list a:hover { color: var(--brass-400); }

.contact-success {
  display: none;
  text-align: center;
  padding: clamp(24px, 4vw, 40px) 0;
}
.contact-success.is-active { display: block; }
.contact-success__badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--olive-800);
  color: var(--brass-400);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.contact-success__badge svg { width: 36px; height: 36px; }

.contact-form-card form.is-hidden { display: none; }
