/**
 * Contact page — matches About intro language (hero split, purple/grey, Campton).
 */
body.vhb-contact-layout,
body.vhb-contact-layout .page-body,
body.vhb-contact-layout .sections-container,
body.vhb-contact-layout .main-wrapper,
body.vhb-contact-layout .page-wrapper,
body.vhb-contact-layout .post-content,
body.vhb-contact-layout .page-body > .post-wrapper {
  background: #f3f1f5 !important;
}
body.vhb-contact-layout #page-header,
body.vhb-contact-layout .page-body .post-content > .row-container,
body.vhb-contact-layout .page-body .uncode_text_column {
  display: none !important;
}
body.vhb-contact-layout .page-body .post-wrapper,
body.vhb-contact-layout .page-body .post-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.vhb-contact {
  --vhb-contact-purple: #502c6d;
  --vhb-contact-purple-deep: #3a1f52;
  --vhb-contact-ink: #1a1224;
  --vhb-contact-muted: #5c5468;
  --vhb-contact-grey: #f3f1f5;
  --vhb-contact-white: #ffffff;
  --vhb-contact-line: rgba(80, 44, 109, 0.16);
  --vhb-contact-max: 1120px;
  color: var(--vhb-contact-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
  overflow-x: hidden;
}
.vhb-contact-wrap {
  width: min(100% - 48px, 44rem);
  margin-inline: auto;
}
.vhb-contact sup {
  font-size: 0.45em;
  top: -0.6em;
}

/* --- Hero (same split language as About) --- */
.vhb-contact-hero {
  --vhb-contact-hero-gutter: max(24px, calc((100vw - var(--vhb-contact-max)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(62vh, 560px);
}
.vhb-contact-hero-copy {
  background: var(--vhb-contact-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  container-type: inline-size;
  container-name: contact-hero-copy;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 2.5vw, 36px) clamp(40px, 6vw, 72px) var(--vhb-contact-hero-gutter);
}
.vhb-contact-kicker {
  margin: 0 0 clamp(12px, 2cqi, 20px);
  font-size: clamp(0.8rem, 0.35vw + 0.7rem, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vhb-contact-muted);
}
.vhb-contact .vhb-contact-hero-title,
body.vhb-contact-layout .vhb-contact-hero-title {
  margin: 0;
  max-width: none;
  width: min(100%, 10ch);
  font-family: "Campton-Bold", system-ui, sans-serif;
  font-size: clamp(2.85rem, 1.2rem + 6.8vw, 8.75rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--vhb-contact-purple);
}
@supports (font-size: 1cqi) {
  .vhb-contact .vhb-contact-hero-title,
  body.vhb-contact-layout .vhb-contact-hero-title {
    font-size: clamp(2.85rem, 18cqi, 8.75rem);
  }
}
.vhb-contact-hero-panel {
  position: relative;
  background: var(--vhb-contact-purple);
  color: var(--vhb-contact-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) var(--vhb-contact-hero-gutter) clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  overflow: hidden;
}
.vhb-contact-hero-mark {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at calc(85% + var(--mx, 0) * 8%) calc(15% + var(--my, 0) * 6%),
      rgba(255, 255, 255, 0.16),
      transparent 42%
    ),
    radial-gradient(
      circle at calc(10% + var(--mx, 0) * -5%) calc(90% + var(--my, 0) * -4%),
      rgba(0, 0, 0, 0.2),
      transparent 48%
    );
  pointer-events: none;
  transition: none;
}
.vhb-contact-nails {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.vhb-contact-hero.is-raining .vhb-contact-nails {
  opacity: 0.9;
}
.vhb-contact-nails canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.vhb-contact-hero-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 22em;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Hero entrance */
.vhb-contact-kicker,
.vhb-contact-title-line,
.vhb-contact-hero-lead {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.vhb-contact-hero.is-in .vhb-contact-kicker {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.vhb-contact-hero.is-in .vhb-contact-title-line {
  opacity: 1;
  transform: none;
}
.vhb-contact-hero.is-in .vhb-contact-title-line:nth-child(1) {
  transition-delay: 0.12s;
}
.vhb-contact-hero.is-in .vhb-contact-title-line:nth-child(2) {
  transition-delay: 0.22s;
}
.vhb-contact-hero.is-in .vhb-contact-hero-lead {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}
.vhb-contact-hero-title {
  display: flex;
  flex-direction: column;
}
.vhb-contact-title-line {
  display: block;
}

/* --- Form section --- */
.vhb-contact-form-section {
  background: var(--vhb-contact-grey);
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.vhb-contact-form-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: left;
}
.vhb-contact-section-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vhb-contact-muted);
}
.vhb-contact-form-intro {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--vhb-contact-ink);
}

.vhb-contact-form-block {
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3vw, 32px);
  background: var(--vhb-contact-white);
  border: 1px solid var(--vhb-contact-line);
}
.vhb-contact-optional-gate {
  height: 1px;
  width: 100%;
  pointer-events: none;
}
.vhb-contact-optional {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-bottom: 0;
  transition:
    grid-template-rows 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    margin-bottom 0.45s ease;
}
.vhb-contact-optional > .vhb-contact-form-block {
  overflow: hidden;
  min-height: 0;
  margin-bottom: 0;
}
.vhb-contact-optional.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.vhb-contact-form-block--optional {
  background: transparent;
  border-style: dashed;
}
.vhb-contact-optional-hint {
  margin: -6px 0 16px;
  font-size: 0.92rem;
  color: var(--vhb-contact-muted);
}
.vhb-contact-form-block-label {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vhb-contact-purple);
}
.vhb-contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.vhb-contact-field--full {
  grid-column: 1 / -1;
}
.vhb-contact-field {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
  transition-delay: calc(var(--fi, 0) * 0.05s);
}
.vhb-contact-form.is-fields-in [data-vhb-contact-required] .vhb-contact-field,
.vhb-contact-optional.is-open .vhb-contact-field {
  opacity: 1;
  transform: none;
}
.vhb-contact-optional .vhb-contact-field {
  transition-delay: calc(var(--fi, 0) * 0.04s + 0.08s);
}
.vhb-contact-field.is-focus .vhb-contact-label {
  color: var(--vhb-contact-purple);
}
.vhb-contact-field.is-focus .vhb-contact-input {
  transform: translateY(-1px);
}
.vhb-contact-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vhb-contact-muted);
}
.vhb-contact-req {
  color: var(--vhb-contact-purple);
}
.vhb-contact .vhb-contact-input,
.vhb-contact .form-control.vhb-contact-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--vhb-contact-line);
  border-radius: 0;
  background: var(--vhb-contact-white);
  color: var(--vhb-contact-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.35;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.vhb-contact .vhb-contact-textarea {
  min-height: 140px;
  resize: vertical;
}
.vhb-contact .vhb-contact-select {
  background-image: linear-gradient(45deg, transparent 50%, var(--vhb-contact-purple) 50%),
    linear-gradient(135deg, var(--vhb-contact-purple) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.vhb-contact .vhb-contact-input:focus,
.vhb-contact .form-control.vhb-contact-input:focus {
  outline: none;
  border-color: var(--vhb-contact-purple);
  box-shadow: 0 0 0 3px rgba(80, 44, 109, 0.12);
}
.vhb-contact .vhb-contact-input::placeholder {
  color: #9a93a6;
}

.vhb-contact-submit-zone {
  margin-top: 4px;
}
.vhb-contact-captcha {
  margin: 8px 0 4px;
  display: flex;
  justify-content: center;
}
.vhb-contact-submit {
  margin-top: 8px;
  margin-bottom: 0;
}
.vhb-contact-submit.is-alive .fist-bump {
  animation: vhb-contact-fist 2.4s ease-in-out infinite;
}
@keyframes vhb-contact-fist {
  0%,
  100% {
    transform: scale(0.6);
  }
  50% {
    transform: scale(0.72);
  }
}
.vhb-contact-submit.is-alive:hover .fist-bump,
.vhb-contact-submit .fist-bump:hover {
  animation: none;
}
.vhb-contact-aside {
  margin: 36px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--vhb-contact-muted);
}
.vhb-contact-aside a {
  color: var(--vhb-contact-purple) !important;
  font-weight: 650;
  text-decoration: none !important;
}
.vhb-contact-aside a:hover,
.vhb-contact-aside a:focus {
  text-decoration: underline !important;
}
.vhb-contact-aside-sep {
  margin: 0 0.45em;
  opacity: 0.55;
}

.vhb-contact-hero,
.vhb-contact-form-section {
  animation: vhb-contact-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.vhb-contact-form-section {
  animation-delay: 0.08s;
}
@keyframes vhb-contact-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .vhb-contact-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .vhb-contact .vhb-contact-hero-title,
  body.vhb-contact-layout .vhb-contact-hero-title {
    font-size: clamp(2.75rem, 10.5vw, 4.5rem);
    width: min(100%, 11ch);
  }
  .vhb-contact-hero-lead {
    font-size: clamp(1.15rem, 3.8vw, 1.4rem);
    max-width: 36rem;
  }
  .vhb-contact-hero-copy,
  .vhb-contact-hero-panel {
    padding-left: max(24px, calc((100vw - var(--vhb-contact-max)) / 2));
    padding-right: max(24px, calc((100vw - var(--vhb-contact-max)) / 2));
  }
}

@media (max-width: 700px) {
  .vhb-contact-wrap {
    width: min(100% - 32px, 44rem);
  }
  .vhb-contact-form-grid {
    grid-template-columns: 1fr;
  }
  .vhb-contact-form-block {
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vhb-contact-hero,
  .vhb-contact-form-section,
  .vhb-contact-submit.is-alive .fist-bump {
    animation: none !important;
  }
  .vhb-contact-nails {
    display: none !important;
  }
  .vhb-contact-kicker,
  .vhb-contact-title-line,
  .vhb-contact-hero-lead,
  .vhb-contact-field,
  .vhb-contact-optional {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .vhb-contact-optional {
    grid-template-rows: 1fr !important;
    margin-bottom: clamp(28px, 4vw, 40px) !important;
  }
}
