/* Caterman — Contact page (dark editorial). Builds on the shared .cm-os system.
   No form (removed for now): contact methods live on tilt-cards, then a quote CTA. */

.cm-contact { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background: #000; }

/* neutralise the theme content wrapper + kill the subheader/title bar */
.cm-contact-page #content.site-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.cm-contact-page .kl-blog-page-content,
.cm-contact-page .kl-blog-page-body,
.cm-contact-page #th-content-page { padding: 0 !important; margin: 0 !important; }
.cm-contact-page #content.site-content .container,
.cm-contact-page #content.site-content .row,
.cm-contact-page #content.site-content [class*="col-"] { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.cm-contact-page .entry-title, .cm-contact-page .page-title, .cm-contact-page .page-header,
.cm-contact-page .kl-slideshow, .cm-contact-page #zn_slideshow, .cm-contact-page .hero-subheader { display: none !important; }

/* hero */
.cm-contact-hero { padding-top: clamp(46px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 60px); }
.cm-contact-hero__inner { max-width: 1180px; }  /* title flush with the cards below (consistent across pages) */
.cm-contact-hero .cm-os-intro { max-width: 640px; }

/* contact-method cards.
   NB: the shared .cm-os-section sets padding: clamp(80px,12vw,156px) top+bottom;
   this sparse page only needs a tight rhythm, so override padding-bottom too
   (matching the .cm-os-journey/.cm-os-work pattern in ourstory.css) — otherwise
   the inherited ~80-156px bottom padding stacks into big voids between sections. */
.cm-contact-cards-sec { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 40px); }
.cm-contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
@media (max-width: 820px) { .cm-contact-grid { grid-template-columns: 1fr; } }

.cm-contact-card { position: relative; display: block; text-decoration: none; color: #fff; perspective: 900px; }
.cm-contact-card__inner {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: clamp(28px, 3vw, 44px);
  background: #0c0c0c; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.cm-contact-card:hover .cm-contact-card__inner { border-color: rgba(255,255,255,.24); box-shadow: 0 28px 55px -22px rgba(0,0,0,.85); }
.cm-contact-card.is-tilting .cm-contact-card__inner { transition: box-shadow .4s ease, border-color .4s ease; }

.cm-contact-card__label {
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .08em; color: #9a9a9a; transform: translateZ(30px);
}
.cm-contact-card__value {
  margin-top: clamp(20px, 2.4vw, 34px);
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.04; letter-spacing: -.02em; color: #fff;
  transform: translateZ(46px); overflow-wrap: anywhere;
}
/* the email token is long — size it down so it sits on one line */
.cm-contact-card--email .cm-contact-card__value { font-size: clamp(17px, 1.65vw, 22px); }
.cm-contact-card__sub { margin-top: 12px; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.5; color: #b0b0b0; transform: translateZ(38px); }
.cm-contact-card__glow {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; transform: translateZ(60px);
  background: radial-gradient(440px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.10), transparent 46%);
  opacity: 0; transition: opacity .3s ease;
}
.cm-contact-card:hover .cm-contact-card__glow { opacity: 1; }

/* team directory — reuses .cm-contact-card (tilt + glow); name-led editorial cards */
.cm-contact-team-sec { padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(44px, 6vw, 78px); }
.cm-contact-team { margin-top: clamp(30px, 4vw, 52px); }
.cm-contact-team__intro { max-width: 620px; }
.cm-team-card__name {
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.04; letter-spacing: -.02em; color: #fff;
  transform: translateZ(46px);
}
.cm-team-card__role {
  margin-top: 10px;
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(12px, 1.05vw, 14px); letter-spacing: .08em; color: #9a9a9a;
  transform: translateZ(34px);
}
.cm-team-card__email {
  margin-top: auto; padding-top: clamp(18px, 2vw, 28px);
  font-family: 'Manrope', system-ui, sans-serif; font-size: clamp(14px, 1.3vw, 16px); color: #c9c9c9;
  transform: translateZ(38px); overflow-wrap: anywhere;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.28);
  transition: color .3s ease, text-decoration-color .3s ease;
}
.cm-team-card:hover .cm-team-card__email { color: #fff; text-decoration-color: #fff; }

/* closing CTA */
.cm-contact-cta { border-top: 1px solid rgba(255,255,255,.08); }
.cm-contact-cta__inner { max-width: 760px; }
.cm-contact-cta .cm-os-intro { margin-top: 18px; max-width: 600px; }
.cm-contact-cta__btn {
  display: inline-block; margin-top: 30px;
  padding: 12px 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  background: rgba(255,255,255,.02); color: #fff; text-decoration: none;
  font-family: 'Roboto Condensed', 'Manrope', sans-serif; font-weight: 700;
  font-size: clamp(17px, 1.6vw, 23px); text-transform: uppercase; line-height: 1.15;
  transition: background .25s cubic-bezier(.16,1,.3,1), border-color .25s ease;
}
.cm-contact-cta__btn:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cm-contact-cta__links { margin: 22px 0 0; font-size: clamp(14px, 1.3vw, 16px); color: #9a9a9a; }
.cm-contact-cta__links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.cm-contact-cta__links a:hover { text-decoration-color: #fff; }
