/* ===================== CONTACT =====================
   Built from the same design language as the rest of the storefront —
   the About page's type scale, the motion.css easing ladder, the same
   card treatment. Nothing new is introduced here.
   =================================================== */

/* This project has no global border-box reset, so a padded block would
   otherwise measure padding ON TOP of its width and push the page wider
   than the viewport on a phone. Scoped here rather than set globally, so
   nothing already laid out elsewhere shifts. */
.ct,
.ct * {
  box-sizing: border-box;
}

.ct {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px 110px;
}

/* ---------- intro ---------- */

.ct-intro {
  max-width: 660px;
  padding: 136px 0 0;
}

.ct-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 16px;
}

.ct-title {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px;
}

.ct-lead {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.62);
  margin: 0;
}

/* ---------- contact methods ---------- */

.ct-methods {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.ct-card {
  display: block;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--dur-slow, 620ms) var(--ease-out, ease),
    border-color var(--dur-slow, 620ms) var(--ease-soft, ease),
    box-shadow var(--dur-slow, 620ms) var(--ease-out, ease);
}

/* Only the cards that actually go somewhere respond to a pointer. */
a.ct-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.ct-card--static {
  background: #f7f6f4;
  border-color: transparent;
}

.ct-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4f2ef;
  color: #000;
  margin-bottom: 20px;
}

.ct-card--static .ct-card__icon {
  background: #fff;
}

.ct-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 10px;
}

.ct-card__value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  word-break: break-word;
}

.ct-card__value--sm {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
}

.ct-card__hint {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.52);
  margin: 0;
}

/* ---------- topics ---------- */

.ct-topics {
  margin-top: 96px;
}

.ct-heading {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
}

.ct-topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 44px;
}

.ct-topic {
  padding: 26px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.ct-topic h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.ct-topic p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
  max-width: 46ch;
}

/* ---------- need help ---------- */

.ct-cta {
  margin-top: 96px;
  padding: 72px 48px;
  border-radius: 22px;
  background: #f4f2ef;
  text-align: center;
}

.ct-cta__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ct-cta__text {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.58);
  margin: 0 0 32px;
}

.ct-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ct-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 16px 38px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  border: 1.5px solid #000;
  transition:
    transform var(--dur-base, 320ms) var(--ease-out, ease),
    opacity var(--dur-base, 320ms) var(--ease-soft, ease),
    background-color var(--dur-base, 320ms) var(--ease-soft, ease);
}

.ct-btn--ghost {
  background: transparent;
  color: #000;
}

.ct-btn:hover {
  transform: translate3d(0, -2px, 0);
  opacity: 0.92;
}

.ct-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  opacity: 1;
}

/* ---------- scroll reveal ----------
   Same mechanism the About page uses (about.js), including its rule that
   nothing is hidden until an observer exists to bring it back. */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow, 620ms) var(--ease-out, ease),
    transform var(--dur-slow, 620ms) var(--ease-out, ease);
}

.js-reveal [data-reveal] [data-reveal-item] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.js-reveal [data-reveal].is-revealed [data-reveal-item] {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow, 620ms) var(--ease-out, ease),
    transform var(--dur-slow, 620ms) var(--ease-out, ease);
  transition-delay: calc(120ms + var(--i, 0) * 80ms);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .ct { padding: 0 32px 88px; }
  .ct-intro { padding-top: 116px; }
  .ct-methods { margin-top: 48px; }
  .ct-topics, .ct-cta { margin-top: 72px; }
  .ct-cta { padding: 56px 32px; }
}

@media (max-width: 640px) {
  .ct { padding: 0 22px 72px; }
  .ct-intro { padding-top: 96px; }
  .ct-methods { margin-top: 36px; gap: 14px; }
  .ct-card { padding: 26px 22px; }
  .ct-topics, .ct-cta { margin-top: 56px; }
  .ct-heading { margin-bottom: 24px; }

  .ct-cta {
    padding: 44px 24px;
    border-radius: 18px;
  }

  .ct-cta__actions { flex-direction: column; }
  .ct-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal],
  .js-reveal [data-reveal] [data-reveal-item] {
    opacity: 1;
    transform: none;
  }

  a.ct-card:hover,
  .ct-btn:hover { transform: none; }
}
