/* Contact page. Loaded only on this page (routing.php keys off the template
   slug), so everything here is scoped to .tq-ct__*. Nothing new is invented:
   type, colour and spacing all come from tokens.css. */

/* --- hero ---------------------------------------------------------------- */

.tq .tq-ct__hero {
  position: relative;
  min-height: 46vh;
  display: flex; align-items: flex-end;
  background: var(--tq-onyx);
  overflow: hidden;
}
.tq .tq-ct__hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 48%;
  filter: saturate(.86) brightness(.92);
}
/* Same bottom-up scrim as the climbing hero, for the same reason: white type
   sits on the lower third of the photograph. */
.tq .tq-ct__hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(16, 19, 18, .86) 0%,
    rgba(16, 19, 18, .62) 38%,
    rgba(16, 19, 18, .24) 70%,
    rgba(16, 19, 18, .12) 100%);
}
/* Longhands only: this element is also .tq-wrap, whose side gutter must survive. */
.tq .tq-ct__hero-copy { position: relative; width: 100%; padding-top: 64px; padding-bottom: 48px; }
.tq .tq-ct__h1 {
  font-family: var(--tq-serif); font-weight: 400; font-style: normal;
  font-size: 72px; line-height: 1; letter-spacing: var(--tq-track-display);
  color: var(--tq-paper);
}

/* --- addresses ----------------------------------------------------------- */

.tq .tq-ct__section { background: var(--tq-snow); padding: 72px 0 96px; }
.tq .tq-ct__grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
  align-items: start;
}
.tq .tq-ct__eyebrow { color: var(--tq-ink-2); }

.tq .tq-ct__emails {
  margin-top: 20px;
  border-top: 1px solid var(--tq-hairline);
}
.tq .tq-ct__email {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 4px 24px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--tq-hairline);
}
.tq .tq-ct__email-label {
  flex: 1 1 220px; min-width: 0;
  font-size: 17px; line-height: 1.4; color: var(--tq-ink);
}
.tq .tq-ct__email-link {
  font-family: var(--tq-mono); font-size: 15px;
  color: var(--tq-ink-2);
  border-bottom: 1px solid var(--tq-hairline);
  padding: 2px 0;
}
.tq .tq-ct__email-link:hover { color: var(--tq-ink); border-bottom-color: var(--tq-ink); }

.tq .tq-ct__addr {
  margin-top: 20px;
  font-family: var(--tq-mono); font-size: 13px;
  letter-spacing: var(--tq-track-micro); text-transform: uppercase;
  line-height: 2; color: var(--tq-ink-2);
  font-style: normal;
}

@media (max-width: 1023px) {
  .tq .tq-ct__h1 { font-size: 56px; }
}

@media (max-width: 767px) {
  .tq .tq-ct__hero { min-height: 40vh; }
  .tq .tq-ct__hero-copy { padding-top: 48px; padding-bottom: 36px; }
  .tq .tq-ct__h1 { font-size: 44px; }
  .tq .tq-ct__section { padding: 48px 0 64px; }
  .tq .tq-ct__grid { grid-template-columns: 1fr; gap: 36px; }
  /* Label above address rather than beside it, and a 44px tap target. */
  .tq .tq-ct__email { gap: 6px; padding: 14px 0 16px; }
  .tq .tq-ct__email-label { flex: 0 0 100%; }
  .tq .tq-ct__email-link { display: inline-flex; align-items: center; min-height: 44px; }
}
