/* ==========================================================================
   BREEZEWINGS — CONTACT PAGE
   minimal closing statement — big type, one QR card, generous space
   ========================================================================== */

body.contact {
  background: var(--ink-deep);
}

.contact-main {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(52px, 9vh, 120px));
  padding-bottom: clamp(64px, 10vh, 130px);
  isolation: isolate;
}

.ct-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 52% at 16% 4%, rgba(215, 163, 95, 0.12), transparent 64%),
    radial-gradient(46% 44% at 92% 92%, rgba(143, 214, 196, 0.05), transparent 66%);
  pointer-events: none;
}

.ct-frame {
  position: absolute;
  inset: clamp(14px, 2vw, 30px);
  border: 1px solid rgba(243, 239, 232, 0.06);
  pointer-events: none;
}

.ct-frame::before,
.ct-frame::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border-style: solid;
  border-color: rgba(215, 163, 95, 0.4);
}

.ct-frame::before {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}

.ct-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.ct-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 8vw, 150px);
  align-items: center;
  width: 100%;
}

.ct-title {
  margin-top: clamp(20px, 3vh, 34px);
  font-size: clamp(2.65rem, 7.1vw, 7rem);
  line-height: 1.06;
  letter-spacing: 0.05em;
  color: #f7f3ec;
}

.ct-lead {
  max-width: 36ch;
  margin-top: clamp(22px, 3.4vh, 36px);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.95;
  color: var(--text-2);
}

.ct-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 3.6vh, 44px);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.4s, gap 0.5s var(--ease);
}

.ct-back span {
  transition: transform 0.5s var(--ease);
}

.ct-back:hover {
  color: var(--gold-bright);
  gap: 16px;
}

.ct-back:hover span {
  transform: translateX(-3px);
}

.ct-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: clamp(44px, 6.5vh, 80px);
  padding-top: clamp(16px, 2.2vh, 22px);
  border-top: 1px solid var(--line-soft);
  max-width: 520px;
}

.ct-meta .mono {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.ct-qr {
  justify-self: end;
  width: 100%;
  max-width: 360px;
}

.ct-card {
  position: relative;
  background: var(--paper-card);
  color: var(--ink-text);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.5);
}

.ct-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(23, 21, 15, 0.1);
  pointer-events: none;
}

.ct-card-no {
  color: #8a5f2a;
  font-size: 0.56rem;
}

.ct-qr-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ece5d8;
  padding: 6px;
}

.ct-hint {
  font-size: 0.8rem;
  color: var(--ink-text-2);
}

.ct-note {
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.8rem;
  color: var(--ink-text-2);
}

.ct-note b {
  font-weight: 400;
  color: #8a5f2a;
}

/* ---------- current page in mobile menu ---------- */
.site-menu .menu-link.is-current {
  color: var(--text);
}

.site-menu .menu-link.is-current .ml-no {
  color: var(--gold-bright);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .contact-main {
    align-items: flex-start;
  }
  .ct-inner {
    grid-template-columns: 1fr;
    gap: clamp(38px, 7vw, 60px);
    align-items: start;
  }
  .ct-qr {
    justify-self: start;
    max-width: 340px;
  }
  .ct-meta {
    margin-top: clamp(32px, 5vh, 52px);
  }
}

@media (max-width: 640px) {
  .contact-main {
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: clamp(56px, 9vh, 80px);
  }
  .ct-frame {
    display: none;
  }
  .ct-title {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    letter-spacing: 0.04em;
  }
  .ct-lead {
    margin-top: 18px;
    font-size: 0.86rem;
    line-height: 1.9;
  }
  .ct-back {
    margin-top: 22px;
    padding: 10px 0;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }
  .ct-meta {
    display: none;
  }
  .ct-qr {
    max-width: 100%;
  }
  .ct-card {
    padding: 20px;
  }
}
