/* ---------- Contact page ---------- */
.contact-page { background: #0D1730; }

.ct {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 30% 40%, #1B2A4A 0%, #0D1730 70%);
}

.ct-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ct-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(230,233,238,.045) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(to bottom, rgba(230,233,238,.045) 0 1px, transparent 1px 120px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 15%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 50%, black 15%, transparent 75%);
}

.ct-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 45%), rgba(217,190,133,0.11), transparent 65%);
}

.ct-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 30px) 48px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}

/* intro column */
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D9BE85;
  opacity: 0;
}

.ct-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #D9BE85;
}

.ct-title {
  margin: 22px 0 22px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(40px, min(5.2vw, 11vh), 80px);
  line-height: 1.06;
  letter-spacing: -0.5px;
}

.ct-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.ct-title .line > span { display: inline-block; transform: translateY(110%); }
.ct-title .accent { font-weight: 400; color: #D9BE85; }

.ct-lead {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(230,233,238,0.72);
  opacity: 0;
}

.ct-details {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 24px 56px;
  margin-top: clamp(28px, 5vh, 44px);
  padding-top: clamp(22px, 4vh, 32px);
  border-top: 1px solid rgba(230,233,238,0.12);
}

.ct-details li { opacity: 0; }

.ct-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D9BE85;
}

.ct-details a,
.ct-details p {
  font-size: 15px;
  color: rgba(230,233,238,0.88);
}

.ct-details a,
.ct-social a {
  position: relative;
  transition: color .3s ease;
}

.ct-details a::after,
.ct-social a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: #D9BE85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.ct-details a:hover,
.ct-social a:hover { color: #fff; }
.ct-details a:hover::after,
.ct-social a:hover::after { transform: scaleX(1); }

.ct-social {
  display: flex;
  gap: 24px;
  margin-top: clamp(24px, 4vh, 34px);
  opacity: 0;
}

.ct-social a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(230,233,238,0.65);
}

/* form card */
.ct-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid rgba(230,233,238,0.1);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
  clip-path: inset(100% 0 0 0 round 6px);
}

.ct-form > * { opacity: 0; }

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ct-field {
  position: relative;
  display: block;
  padding-bottom: 20px;
}

.ct-field input,
.ct-field textarea {
  display: block;
  width: 100%;
  padding: 22px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(230,233,238,0.2);
  border-radius: 0;
  background: none;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  outline: none;
  resize: none;
  transition: border-color .3s ease;
}

.ct-field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: #D9BE85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.ct-field:focus-within::after { transform: scaleX(1); }

.ct-field-label {
  position: absolute;
  left: 0;
  top: 22px;
  font-size: 14px;
  color: rgba(230,233,238,0.55);
  transform-origin: left top;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.4,0,.2,1), color .3s ease;
}

.ct-field input:focus ~ .ct-field-label,
.ct-field textarea:focus ~ .ct-field-label,
.ct-field input:not(:placeholder-shown) ~ .ct-field-label,
.ct-field textarea:not(:placeholder-shown) ~ .ct-field-label {
  transform: translateY(-20px) scale(.78);
  color: #D9BE85;
}

.ct-err {
  position: absolute;
  left: 0;
  bottom: 2px;
  font-size: 11px;
  font-style: normal;
  letter-spacing: .3px;
  color: #E8A598;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
}

.ct-field.is-invalid input { border-bottom-color: rgba(232,165,152,0.7); }
.ct-field.is-invalid .ct-field-label { color: #E8A598; }
.ct-field.is-invalid .ct-err { opacity: 1; transform: none; }

.ct-interest {
  border: 0;
  margin: 8px 0 22px;
}

.ct-interest legend {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(230,233,238,0.55);
}

.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-chips label { position: relative; cursor: pointer; }

.ct-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ct-chips span {
  display: block;
  padding: 9px 16px;
  border: 1px solid rgba(230,233,238,0.2);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(230,233,238,0.82);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.ct-chips label:hover span { border-color: rgba(217,190,133,0.7); }

.ct-chips input:checked + span {
  background: #D9BE85;
  border-color: #D9BE85;
  color: #0D1730;
}

.ct-chips input:focus-visible + span { outline: 1px solid #D9BE85; outline-offset: 3px; }

.ct-submit {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  padding: 19px 28px;
  border: 0;
  border-radius: 999px;
  background: #D9BE85;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0D1730;
  cursor: pointer;
  overflow: hidden;
}

.ct-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.ct-submit:hover::before { transform: scaleX(1); }
.ct-submit-arrow { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.ct-submit:hover .ct-submit-arrow { transform: translateX(5px); }

.ct-submit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #0D1730;
  transform: scaleX(0);
  transform-origin: left;
}

.ct-submit.is-sending { pointer-events: none; }
.ct-submit.is-sending::after { animation: ctSend 1.1s cubic-bezier(.4,0,.2,1) forwards; }

@keyframes ctSend {
  to { transform: scaleX(1); }
}

/* success state */
.ct-done {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  visibility: hidden;
}

.ct-done > * { opacity: 0; }

.ct-check {
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  fill: none;
  stroke: #D9BE85;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-done-title {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(32px, 3vw, 44px);
  margin-bottom: 14px;
}

.ct-done-text {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(230,233,238,0.72);
}

.ct-again {
  margin-top: 28px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D9BE85;
  cursor: pointer;
  border-bottom: 1px solid rgba(217,190,133,0.4);
  padding-bottom: 4px;
}

@media (max-width: 900px) {
  .ct-inner {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 10px) 24px 50px;
    gap: 48px;
  }
  .ct-details { grid-template-columns: 1fr; gap: 20px; }
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .ct-card { padding: 28px 22px; }
}
