/* =========================================================
   THE LITTLE SORCERER · CONTACT PAGE v0.1.3
   ========================================================= */

.contact-page {
  background: #09090b;
}

.contact-page .legal-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 18px;
  border-bottom: 1px solid rgba(198,168,120,.18);
  background: rgba(7,7,9,.96);
  backdrop-filter: blur(10px);
  color: #8f8375;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .54rem;
}

.contact-page .legal-topbar strong {
  color: #c8a45f;
  font-weight: 600;
  white-space: nowrap;
}

.contact-page .site-header {
  top: 30px;
}

.contact-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 185px 8vw 105px;
  overflow: hidden;
  border-bottom: 1px solid rgba(198,168,120,.16);
  background:
    radial-gradient(circle at 74% 40%, rgba(103,72,131,.20), transparent 27%),
    radial-gradient(circle at 22% 62%, rgba(198,168,120,.055), transparent 32%),
    linear-gradient(115deg, #09090b 0%, #100d13 58%, #09090b 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(198,168,120,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,168,120,.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to right, transparent, #000 40%, #000 78%, transparent);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  width: min(850px, 92vw);
}

.contact-hero h1 {
  font-size: clamp(5.2rem, 10vw, 10rem);
}

.contact-hero h1 span {
  margin-left: .23em;
}

.contact-intro {
  max-width: 760px;
  margin: 38px 0 0;
  color: #c1b4a4;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.contact-section {
  padding: 120px 6vw 130px;
  background:
    radial-gradient(circle at 12% 20%, rgba(198,168,120,.045), transparent 24%),
    #0b0b0e;
}

.contact-layout {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(55px, 7vw, 110px);
  align-items: start;
}

.contact-details h2,
.contact-form-panel h2,
.custom-contact-cta h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.025em;
}

.contact-details h2 {
  font-size: clamp(3.3rem, 5vw, 5.6rem);
}

.details-lead {
  max-width: 610px;
  margin: 28px 0 38px;
  color: #a99d8e;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 22px;
  border: 1px solid rgba(198,168,120,.20);
  background: linear-gradient(135deg, rgba(255,255,255,.018), rgba(103,72,131,.025));
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
  border-color: rgba(198,168,120,.55);
  background: linear-gradient(135deg, rgba(198,168,120,.035), rgba(103,72,131,.065));
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
}

.method-symbol {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198,168,120,.30);
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
}

.method-copy small,
.method-copy strong,
.method-copy em {
  display: block;
}

.method-copy small {
  margin-bottom: 5px;
  color: #8f806e;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .56rem;
}

.method-copy strong {
  color: #eadfce;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.method-copy em {
  margin-top: 5px;
  color: #928677;
  font-size: .7rem;
  font-style: normal;
  line-height: 1.5;
}

.contact-legal {
  margin-top: 34px;
  padding: 22px 24px;
  border-left: 1px solid rgba(198,168,120,.50);
  background: rgba(198,168,120,.03);
  color: #918676;
  font-size: .72rem;
  line-height: 1.7;
}

.contact-legal p {
  margin: 2px 0;
}

.contact-legal strong {
  color: #d8c7ae;
}

.contact-form-panel {
  position: relative;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(198,168,120,.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(103,72,131,.13), transparent 28%),
    #0f0e12;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.contact-form-panel::before,
.contact-form-panel::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 55px;
  pointer-events: none;
}

.contact-form-panel::before {
  top: 13px;
  left: 13px;
  border-top: 1px solid rgba(198,168,120,.55);
  border-left: 1px solid rgba(198,168,120,.55);
}

.contact-form-panel::after {
  right: 13px;
  bottom: 13px;
  border-right: 1px solid rgba(198,168,120,.55);
  border-bottom: 1px solid rgba(198,168,120,.55);
}

.contact-form-panel h2 {
  max-width: 720px;
  font-size: clamp(3rem, 4.5vw, 5rem);
}

.form-note {
  max-width: 680px;
  margin: 24px 0 36px;
  color: #948879;
  font-size: .76rem;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 23px;
}

.form-row.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: #b6a997;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .61rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(198,168,120,.22);
  border-radius: 0;
  outline: none;
  background: rgba(5,5,7,.62);
  color: #eee5d8;
  font: inherit;
  font-size: .86rem;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact-form input,
.contact-form select {
  min-height: 52px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 190px;
  padding: 16px;
  line-height: 1.7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(198,168,120,.65);
  background: rgba(8,8,11,.78);
  box-shadow: 0 0 0 3px rgba(103,72,131,.10), 0 0 25px rgba(103,72,131,.08);
}

.contact-form select option {
  background: #0d0c10;
  color: #eee5d8;
}

.contact-submit {
  width: fit-content;
  margin-top: 5px;
  cursor: pointer;
}

.form-helper {
  margin: 0;
  color: #817668;
  font-size: .68rem;
  line-height: 1.6;
}

.custom-contact-cta {
  max-width: 1050px;
  margin: 0 auto;
  padding: 125px 6vw 135px;
  text-align: center;
}

.custom-contact-cta h2 {
  margin: 0 auto;
  max-width: 920px;
  font-size: clamp(3.1rem, 5.2vw, 5.7rem);
}

.custom-contact-cta > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px auto 34px;
  color: #a89b8c;
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-details {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .contact-page .legal-topbar {
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    font-size: .48rem;
  }

  .contact-page .legal-topbar span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-hero {
    min-height: 560px;
    padding: 160px 24px 80px;
  }

  .contact-hero h1 {
    font-size: clamp(4.5rem, 21vw, 6.7rem);
  }

  .contact-hero h1 span {
    margin-left: 0;
  }

  .contact-section {
    padding: 85px 22px 95px;
  }

  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 36px 24px;
  }

  .contact-method {
    grid-template-columns: 48px 1fr;
    padding: 18px 16px;
  }

  .method-symbol {
    width: 42px;
    height: 42px;
  }

  .method-copy strong {
    font-size: 1.13rem;
    overflow-wrap: anywhere;
  }

  .contact-submit {
    width: 100%;
  }

  .custom-contact-cta {
    padding: 95px 24px 105px;
  }
}
