/* =========================================================
   CONTACT PAGE
   Clean, page-scoped CSS
   Breakpoints:
   - Desktop: default
   - Tablet / small desktop: <= 1024px
   - Mobile: <= 767px
   ========================================================= */

/* -------------------------
   Page base
   ------------------------- */
body.contact-page {
  background: #efeeeb;
  color: #2a2623;
}

/* -------------------------
   Main 2-column layout
   ------------------------- */
body.contact-page .contact-stage {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 46%);
  background: #efeeeb;
}

body.contact-page .contact-left-panel {
  position: relative;
  min-height: 100dvh;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

body.contact-page .contact-left-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

body.contact-page .contact-left-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.contact-page .contact-right-panel {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  background: #efeeeb;
}

body.contact-page .contact-inner {
  width: min(780px, 100%);
  margin: 0;
  padding: 96px 56px 40px 24px;
}

/* -------------------------
   Topbar
   ------------------------- */
body.contact-page .topbar {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.contact-page .topbar::before,
body.contact-page .topbar::after {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.contact-page .topbar-link,
body.contact-page .brand {
  font-size: clamp(2rem, 2.6vw, 3rem) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* -------------------------
   Typography / content
   ------------------------- */
body.contact-page .contact-heading {
  margin: 0 0 44px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.9rem, 4vw, 5rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #2a2623;
}

body.contact-page .contact-link-block {
  margin: 0 0 34px;
}

body.contact-page .contact-link-gap {
  height: 24px;
}

body.contact-page .contact-line {
  display: flex;
  align-items: center;
  gap: 0.22em;
  width: fit-content;
  text-decoration: none;
  color: #3b3632;
}

body.contact-page .contact-line + .contact-line {
  margin-top: 4px;
}

body.contact-page .contact-line--lg {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

body.contact-page .contact-address-block {
  margin: 0 0 28px;
}

body.contact-page .contact-location-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  margin-bottom: 10px;
  text-decoration: none;
  color: #2a2623;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

body.contact-page .contact-address,
body.contact-page .contact-hours,
body.contact-page .contact-direct-link {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.82rem;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.012em;
  color: #4a433d;
}

body.contact-page .contact-address {
  margin: 0 0 24px;
}

body.contact-page .contact-hours {
  margin: 0;
}

body.contact-page .contact-direct-block {
  margin: 0 0 26px;
}

body.contact-page .contact-direct-link {
  display: block;
  text-decoration: none;
  color: #4a433d;
}

body.contact-page .contact-direct-link + .contact-direct-link {
  margin-top: 4px;
}

/* -------------------------
   Inline icons / arrows
   Keep arrow size equal
   ------------------------- */
body.contact-page .contact-line .contact-inline-icon,
body.contact-page .contact-location-brand .contact-inline-icon,
body.contact-page .contact-location-brand [aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.08rem;
  height: 1.08rem;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transform: translateY(-0.02em) !important;
}

/* -------------------------
   Socials
   Supports icon-only links
   and LINE text link
   ------------------------- */
body.contact-page .contact-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.contact-page .contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #4a433d;
  line-height: 1;
}

body.contact-page .contact-social-link svg {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
}

body.contact-page .contact-social-link--line {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  transform: translateY(-0.02em);
}

/* optional helper if copy buttons exist */
body.contact-page .contact-copy-btn.mobile-only {
  display: none;
}

/* -------------------------
   Tablet / small desktop
   ------------------------- */
@media (max-width: 1100px) and (min-width: 768px) {
  body.contact-page .topbar-link,
  body.contact-page .brand {
    font-family: "IvyPresto Display", "Times New Roman", serif !important;
    font-size: clamp(1.7rem, 2.2vw, 2.2rem) !important;
  }
}

@media (max-width: 1024px) {
  body.contact-page .contact-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body.contact-page .contact-left-panel {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  body.contact-page .contact-left-frame {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  body.contact-page .contact-left-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.08;
    object-position: center center;
  }

  body.contact-page .contact-right-panel {
    display: block;
  }

  body.contact-page .contact-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 26px 16px 28px;
  }

  body.contact-page .contact-heading {
    margin: 0 0 22px;
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1;
  }

  body.contact-page .contact-link-block {
    margin: 0 0 18px;
  }

  body.contact-page .contact-link-gap {
    height: 12px;
  }

  body.contact-page .contact-line {
    display: flex;
    gap: 0.2em;
  }

  body.contact-page .contact-line + .contact-line {
    margin-top: 1px;
  }

  body.contact-page .contact-line--lg {
    font-size: 0.95rem;
    line-height: 1.05;
  }

  body.contact-page .contact-address-block {
    margin: 0 0 16px;
  }

  body.contact-page .contact-location-brand {
    margin-bottom: 6px;
    font-size: 1.2rem;
  }

  body.contact-page .contact-address,
  body.contact-page .contact-hours,
  body.contact-page .contact-direct-link {
    font-size: 0.92rem;
    line-height: 1.04;
  }

  body.contact-page .contact-address {
    margin: 0 0 14px;
  }

  body.contact-page .contact-direct-block {
    margin: 0 0 16px;
  }

  body.contact-page .contact-direct-link + .contact-direct-link {
    margin-top: 1px;
  }

  body.contact-page .contact-socials {
    gap: 10px;
  }

  body.contact-page .contact-social-link svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  body.contact-page .contact-social-link--line {
    font-size: 1rem;
  }

  body.contact-page .contact-copy-btn.mobile-only {
    display: inline-flex;
  }
}

/* -------------------------
   Mobile only
   ------------------------- */
@media (max-width: 767px) {
  body.contact-page .topbar {
    padding: 6px 8px 0;
  }

  body.contact-page .topbar-link,
  body.contact-page .brand {
    font-size: clamp(1rem, 4.4vw, 1.55rem) !important;
    letter-spacing: -0.015em !important;
  }

  body.contact-page .contact-inner {
    padding: 10px 16px 24px;
  }

  body.contact-page .contact-socials {
    gap: 8px;
  }

  body.contact-page .contact-social-link svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  body.contact-page .contact-social-link--line {
    font-size: 1.1rem;
  }
}
