/* ==========================================================================
   Contact Page — Editorial Split × Editorial Luxury
   ========================================================================== */

/* ── Film-grain overlay ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.022;
}

/* ── Page wrapper ── */
.ct-page {
  min-height: auto;
  background:
    radial-gradient(ellipse 70% 60% at 110% -10%, rgba(192,160,98,.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at -10% 80%, rgba(192,160,98,.05) 0%, transparent 60%),
    #FDFBF7;
  overflow-x: hidden;
  padding-bottom: 6rem;
}

/* ── Breadcrumb ── */
.ct-breadcrumb {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6560;
}

.ct-breadcrumb a {
  color: #6B6560;
  text-decoration: none;
  transition: color 600ms cubic-bezier(0.32,0.72,0,1);
}

.ct-breadcrumb a:hover { color: #8B6914; }

.ct-breadcrumb .sep { color: #B5ADA6; font-size: 0.6rem; }
.ct-breadcrumb .current { color: #1A1714; font-weight: 500; }

/* ── EDITORIAL SPLIT GRID ── */
.ct-split {
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

/* ── LEFT PANEL ── */
.ct-left {
  position: sticky;
  top: 3rem;
}

/* Eyebrow pill */
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 14px;
  background: rgba(192,160,98,.10);
  border: 1px solid rgba(192,160,98,.25);
  color: #8B6914;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.ct-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C0A062;
  flex-shrink: 0;
  animation: ct-pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes ct-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.ct-eyebrow svg { display: none; }

/* Massive display heading */
.ct-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(4rem, 7.5vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #1A1714;
  margin: 0 0 1.5rem;
}

.ct-headline em {
  font-style: italic;
  color: #C0A062;
}

.ct-subhead {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4A3F35;
  max-width: 42ch;
  margin: 0 0 3rem;
  opacity: 0.8;
}

/* Divider line */
.ct-rule {
  width: 3.5rem;
  height: 1px;
  background: #C0A062;
  opacity: 0.35;
  margin: 0 0 2.5rem;
}

/* Info items list */
.ct-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Info item card */
.ct-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(192,160,98,.12);
  border-radius: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 16px -4px rgba(28,22,18,.06);
  text-decoration: none;
  transition: transform 700ms cubic-bezier(0.32,0.72,0,1),
              box-shadow 700ms cubic-bezier(0.32,0.72,0,1),
              border-color 700ms cubic-bezier(0.32,0.72,0,1);
}

.ct-info-item:hover {
  transform: translateX(6px);
  border-color: rgba(192,160,98,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 28px -8px rgba(28,22,18,.12);
}

/* Icon circle */
.ct-info-icon-shell {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(192,160,98,.08);
  border: 1px solid rgba(192,160,98,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 600ms cubic-bezier(0.32,0.72,0,1);
}

.ct-info-item:hover .ct-info-icon-shell {
  background: #1A1714;
  border-color: #1A1714;
}

.ct-info-icon-shell svg {
  width: 1rem;
  height: 1rem;
  color: #8B6914;
  transition: color 600ms cubic-bezier(0.32,0.72,0,1);
}

.ct-info-item:hover .ct-info-icon-shell svg { color: #FDFBF7; }

.ct-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B5ADA6;
  display: block;
  margin-bottom: 0.2rem;
}

.ct-info-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A1714;
}

/* Social row */
.ct-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ct-social-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B5ADA6;
}

.ct-social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(192,160,98,.15);
  color: #6B6560;
  text-decoration: none;
  box-shadow: 0 2px 8px -2px rgba(28,22,18,.06);
  transition: all 600ms cubic-bezier(0.32,0.72,0,1);
}

.ct-social-btn:hover {
  background: #1A1714;
  border-color: #1A1714;
  color: #FDFBF7;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px -4px rgba(26,23,20,.28);
}

.ct-social-btn svg { width: 0.875rem; height: 0.875rem; }

/* ── RIGHT PANEL ── */
.ct-right {}

/* Alert */
.ct-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  margin-bottom: 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid;
}

.ct-alert svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-top: 0.1rem; }

.ct-alert-success {
  background: rgba(45,122,79,.07);
  color: #2D7A4F;
  border-color: rgba(45,122,79,.18);
}

.ct-alert-error {
  background: rgba(166,50,40,.07);
  color: #A63228;
  border-color: rgba(166,50,40,.18);
}

/* ── Form card — double-bezel ── */
.ct-form-shell {
  background: rgba(192,160,98,.07);
  border: 1px solid rgba(192,160,98,.18);
  border-radius: 2rem;
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 40px 80px -20px rgba(28,22,18,.13);
}

.ct-form-core {
  background: #FFFFFF;
  border-radius: calc(2rem - 6px);
  padding: 2.5rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95);
}

.ct-form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #1A1714;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ct-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B6560;
}

.ct-label .req { color: #C0A062; margin-left: 0.2rem; }

/* Input double-bezel outer shell */
.ct-input-shell {
  background: #FDFBF7;
  border: 1px solid rgba(192,160,98,.15);
  border-radius: 0.875rem;
  padding: 3px;
  transition: border-color 500ms cubic-bezier(0.32,0.72,0,1),
              background 500ms cubic-bezier(0.32,0.72,0,1),
              box-shadow 500ms cubic-bezier(0.32,0.72,0,1);
}

.ct-input-shell:focus-within {
  border-color: rgba(192,160,98,.4);
  background: rgba(192,160,98,.04);
  box-shadow: 0 0 0 4px rgba(192,160,98,.10);
}

/* Input inner core */
.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  background: #FFFFFF;
  border: none;
  border-radius: calc(0.875rem - 3px);
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #1A1714;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: background 500ms cubic-bezier(0.32,0.72,0,1);
  -webkit-appearance: none;
  appearance: none;
}

.ct-input::placeholder,
.ct-textarea::placeholder { color: #B5ADA6; }

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus { background: rgba(253,251,247,.6); }

/* Select arrow */
.ct-select-wrapper { position: relative; }

.ct-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #B5ADA6;
  pointer-events: none;
}

.ct-select { padding-right: 2.5rem; cursor: pointer; }

.ct-textarea { min-height: 160px; resize: vertical; line-height: 1.65; }

/* ── Submit button — dark pill with button-in-button icon ── */
.ct-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  background: #1A1714;
  color: #FDFBF7;
  border: none;
  border-radius: 999px;
  padding: 14px 14px 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(26,23,20,.22), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform 500ms cubic-bezier(0.32,0.72,0,1),
              box-shadow 500ms cubic-bezier(0.32,0.72,0,1);
  margin-top: 0.75rem;
}

.ct-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(26,23,20,.3), inset 0 1px 0 rgba(255,255,255,.08);
}

.ct-btn-submit:active { transform: scale(0.98); }

/* Button-in-button trailing icon */
.ct-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 450ms cubic-bezier(0.32,0.72,0,1),
              background 450ms cubic-bezier(0.32,0.72,0,1);
}

.ct-btn-submit:hover .ct-btn-icon {
  transform: translateX(2px) translateY(-1px) scale(1.06);
  background: rgba(255,255,255,.16);
}

.ct-btn-icon svg { width: 15px; height: 15px; }

/* Loading state */
.ct-btn-submit.loading { opacity: 0.75; pointer-events: none; }
.ct-btn-submit.loading .ct-btn-text::after { content: '…'; }

/* ── Scroll reveal ── */
.ct-reveal {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(3px);
  transition: opacity 850ms cubic-bezier(0.32,0.72,0,1),
              transform 850ms cubic-bezier(0.32,0.72,0,1),
              filter 850ms cubic-bezier(0.32,0.72,0,1);
}

.ct-reveal.revealed { opacity: 1; transform: translateY(0); filter: blur(0); }

.ct-reveal-delay-1 { transition-delay: 100ms; }
.ct-reveal-delay-2 { transition-delay: 200ms; }
.ct-reveal-delay-3 { transition-delay: 300ms; }
.ct-reveal-delay-4 { transition-delay: 400ms; }
.ct-reveal-delay-5 { transition-delay: 500ms; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ct-split { grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
}

@media (max-width: 860px) {
  .ct-split {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 0;
  }
  .ct-left { position: static; }
  .ct-headline { font-size: clamp(3rem, 10vw, 5rem); }
}

@media (max-width: 640px) {
  .ct-split { padding: 2rem 1rem 0; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-form-core { padding: 1.5rem; }
  .ct-headline { font-size: clamp(2.75rem, 12vw, 4rem); }
  .ct-page { padding-bottom: 6rem; }
}
