/* Contact page, mirroring bespokelabs.ai/contact (Framer).
   Loaded after about.css, which holds the shared type presets, buttons, office bar and motion. */

.ct { width: 100%; max-width: 1920px; margin: 0 auto; padding: 80px 40px; display: flex; flex-direction: column; align-items: center; gap: 48px; }

.ct-head { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ct-head-txt { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ct-h1 { width: 100%; max-width: 730px; text-wrap: balance; }
.ct-sub { width: 100%; max-width: 468px; color: var(--teal-mid); text-align: center; text-wrap: balance; }

.ct-body { width: 100%; max-width: 1200px; display: flex; flex-direction: column; }
.ct-row { display: flex; align-items: flex-start; }
.ct-cards { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.ct-card { display: flex; flex-direction: column; gap: 72px; padding: 32px 32px 24px; background: var(--paper); }
.ct-card-labs { --bw: 1px 1px 0; }
.ct-card-top { position: relative; display: flex; }
.ct-flag { position: absolute; top: 0; left: -3px; z-index: 1; width: 3px; height: 31px; background: var(--red); }
.ct-card-experts .ct-flag { background: var(--stone); }
.ct-tag {
  --bw: 1px; /* all four sides; otherwise it inherits the labs card's open bottom edge */
  --bc: var(--muted); padding: 10px 9px 9px;
  font-family: var(--mono); font-size: 12px; line-height: 1; letter-spacing: .05em; color: var(--muted); white-space: nowrap;
}
.ct-card-copy { display: flex; flex-direction: column; gap: 20px; padding-bottom: 6px; }
.ct-card-copy .h3 { max-width: 430px; }
.ct-card-copy .body { max-width: 430px; color: var(--teal-mid); text-wrap: balance; }
.ct-card-experts .ct-card-copy .body { max-width: 457px; }
.ct-mail {
  text-decoration: underline; text-decoration-color: rgba(68, 107, 110, .61);
  text-decoration-thickness: 1.3px; text-underline-offset: 2px; text-decoration-skip-ink: all;
  transition: color .2s var(--tween), text-decoration-color .2s var(--tween), background-color .2s var(--tween);
}
.ct-mail:hover { background-color: rgba(68, 107, 110, .13); }
.ct-img { position: relative; flex: .5 1 0; min-width: 0; align-self: stretch; }
.ct-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ct-office { padding: 20px; }
.ct-addr-phone { display: none; }

@media (max-width: 1439px) {
  .ct-card { padding: 32px 24px 24px; }
  .ct-office .office-tag { padding-left: 15px; }
  .ct-office .dot { order: -1; }
  .ct-office .office-v { display: none; }
}
@media (max-width: 809px) {
  .ct { padding: 24px 16px 32px; }
  .ct-h1 { text-wrap: wrap; }
  .ct-row { flex-direction: column; }
  .ct-cards { flex: none; width: 100%; }
  .ct-card { gap: 56px; padding: 24px 20px 20px; }
  .ct-img { flex: none; align-self: auto; width: 100%; }
  .ct-img img { position: static; height: auto; }
  .ct-office { padding: 20px; }
  .ct-office .office-tag { padding-left: 16px; }
  .ct-addr-wide { display: none; }
  .ct-addr-phone { display: block; }
}
