/* ============================================================
   contact.css — Contact page (prefix .ct-*)
   Display-only contact details (no form). Reuses :root tokens
   + .s-* utilities from styles.css.
   ============================================================ */

/* ---------- Hero (centered, photo background) ---------- */
.ct-hero {
  position: relative;
  overflow: hidden;
  padding: 184px 0 96px;
  text-align: center;
  background: var(--deep);
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  z-index: 0;
}
/* Dark overlay: readable centered text up top, fades to solid --deep at the
   bottom so the seam into .ct-body is invisible. Soft leaf glow on top. */
.ct-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 460px at 50% -10%, rgba(93, 204, 93, 0.16), transparent 60%),
    linear-gradient(180deg,
      rgba(11, 20, 14, 0.80) 0%,
      rgba(15, 26, 18, 0.50) 30%,
      rgba(15, 26, 18, 0.62) 60%,
      var(--deep) 100%);
}
.ct-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.ct-title {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--heading);
  margin: 14px 0 18px;
}
.ct-lede {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  color: var(--body);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Body (details + map, side by side) ---------- */
.ct-body {
  padding: 44px 0 110px;
  background: linear-gradient(180deg, var(--deep), var(--deep-2));
}
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

/* ---------- Details card ---------- */
.ct-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ct-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.ct-detail-ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--leaf-2);
  background: var(--leaf-soft);
  border: 1px solid rgba(93, 204, 93, 0.22);
}
.ct-detail-ic svg { width: 22px; height: 22px; }
.ct-detail-h {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 3px 0 5px;
  font-weight: 700;
}
.ct-detail-text a {
  color: var(--heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.ct-detail-text a:hover { color: var(--leaf-2); }
.ct-detail-text p {
  margin: 0;
  color: var(--body);
  line-height: 1.55;
}

/* ---------- Social row (centered) ---------- */
.ct-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.ct-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--body);
  background: var(--card-2);
  border: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.ct-social a svg { width: 18px; height: 18px; }
.ct-social a:hover {
  color: var(--leaf-2);
  border-color: rgba(93, 204, 93, 0.4);
  transform: translateY(-2px);
}

/* ---------- Map card ---------- */
.ct-map {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.ct-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  /* slightly mute the bright map tiles so it sits in the dark theme */
  filter: saturate(0.92) contrast(0.98);
}
.ct-map-open {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--heading);
  background: rgba(15, 26, 18, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(3, 14, 8, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.ct-map-open svg { width: 15px; height: 15px; }
.ct-map-open:hover {
  color: var(--leaf-2);
  border-color: rgba(93, 204, 93, 0.45);
  background: rgba(15, 26, 18, 0.95);
  transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; max-width: 560px; gap: 22px; }
  .ct-map { min-height: 320px; }
  .ct-map-frame { min-height: 320px; }
}
@media (max-width: 600px) {
  .ct-hero { padding: 138px 0 60px; }
  .ct-body { padding: 32px 0 84px; }
  .ct-details { padding: 24px; }
  .ct-map { min-height: 280px; }
  .ct-map-frame { min-height: 280px; }
}
