/* ==============================================================
   Contact Page — Jodi Martin
   Extends theme.css; same tokens, Inter typography.
   Loaded only on Contact pages via functions.php.
   ============================================================== */

.jm-contact-page { position: relative; z-index: 2; }

/* --------------------------------------------------------------
   HERO
   -------------------------------------------------------------- */
.ct-hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px);
}
.ct-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 22px;
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: clamp(50px, 6vw, 80px);
  opacity: 0;
  animation: ctFadeUp 1s .1s cubic-bezier(.2,.7,.2,1) forwards;
}
.ct-hero-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 2.4s ease-in-out infinite;
}
.ct-hero-center {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  opacity: 0;
  animation: ctFadeUp 1s .25s cubic-bezier(.2,.7,.2,1) forwards;
}
.ct-eyebrow::before, .ct-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--brass);
}
.ct-hero-title {
  font-weight: 200;
  font-size: clamp(52px, 9vw, 130px);
  line-height: .95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 30px;
}
.ct-line { display: block; overflow: hidden; }
.ct-line span {
  display: block;
  transform: translateY(110%);
  animation: ctSlideUp 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.ct-line:nth-child(1) span { animation-delay: .35s; }
.ct-line:nth-child(2) span { animation-delay: .5s; }
.ct-italic { font-style: italic; font-weight: 300; color: var(--navy); }
.ct-hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto;
  opacity: 0;
  animation: ctFadeUp 1s .8s cubic-bezier(.2,.7,.2,1) forwards;
}

/* --------------------------------------------------------------
   CHANNELS
   -------------------------------------------------------------- */
.ct-channels {
  padding: clamp(50px, 6vw, 90px) 0 clamp(70px, 9vw, 120px);
}
.ct-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.ct-channel {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.ct-channel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.ct-channel:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(20,27,31,.09);
}
.ct-channel:hover::before { transform: scaleX(1); }
.ct-ch-icon {
  width: 40px; height: 40px;
  color: var(--navy);
  margin-bottom: 20px;
}
.ct-channel h4 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 12px;
  color: var(--ink);
}
.ct-channel p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 22px;
}
.ct-ch-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-dark);
  padding-top: 16px;
  border-top: 0.5px solid var(--rule);
  transition: color .3s ease;
}
.ct-channel:hover .ct-ch-line { color: var(--ink); }
.ct-ch-time {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* --------------------------------------------------------------
   MAIN: FORM + LETTER
   -------------------------------------------------------------- */
.ct-main {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}
.ct-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(184,146,74,.1), transparent 55%);
  pointer-events: none;
}
.ct-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Form */
.ct-form {
  margin-top: clamp(28px, 3vw, 40px);
  background: var(--paper);
  border: 0.5px solid var(--rule);
  padding: clamp(30px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-field label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-dark);
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 2px;
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 15px;
  outline: none;
  transition: border-color .3s ease;
  resize: vertical;
}
.ct-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%238a6a30' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--ink-mute); opacity: .6; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus { border-color: var(--brass); }
.ct-submit {
  margin-top: 6px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s ease, transform .3s ease;
  align-self: flex-start;
}
.ct-submit:hover {
  background: var(--navy);
  transform: translateY(-2px);
}
.ct-form-fine {
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
}

/* Envelope */
.ct-envelope {
  margin-top: clamp(28px, 3vw, 40px);
  background: #fdfaf1;
  border: 0.5px solid var(--rule);
  padding: clamp(30px, 3.5vw, 46px);
  position: relative;
  box-shadow: 0 24px 48px rgba(20,27,31,.08);
}
.ct-envelope::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 0.5px dashed var(--rule);
  pointer-events: none;
}
.ct-env-stamp {
  position: absolute;
  top: 22px; right: 22px;
  width: 56px; height: 56px;
  color: var(--brass);
  transform: rotate(4deg);
}
.ct-env-to {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 12px;
}
.ct-env-address p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 300;
}
.ct-env-address strong {
  font-weight: 600;
}
.ct-env-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 0.5px solid var(--rule);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Hours */
.ct-hours {
  margin-top: clamp(24px, 2.5vw, 36px);
  background: var(--paper);
  border: 0.5px solid var(--rule);
  padding: clamp(26px, 3vw, 38px);
}
.ct-hours h5 {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-dark);
  margin-bottom: 18px;
}
.ct-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 0.5px solid var(--rule-soft);
  font-size: 14px;
}
.ct-hours-row:last-child { border-bottom: none; }
.ct-hours-row span:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.ct-hours-row span:last-child {
  color: var(--ink-soft);
  text-align: right;
}

/* --------------------------------------------------------------
   QUICK ANSWERS
   -------------------------------------------------------------- */
.ct-quick {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}
.ct-quick-head { margin-bottom: clamp(40px, 5vw, 70px); }
.ct-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
}
.ct-quick-item {
  background: var(--paper-2);
  border: 0.5px solid var(--rule);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.ct-quick-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(20,27,31,.08);
}
.ct-quick-item h4 {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin-bottom: 14px;
}
.ct-quick-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 20px;
}
.ct-quick-item a {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-dark);
  transition: color .3s ease;
  width: fit-content;
  border-bottom: 0.5px solid var(--brass-dark);
  padding-bottom: 3px;
}
.ct-quick-item a:hover { color: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------------------
   SOCIAL BAND
   -------------------------------------------------------------- */
.ct-social {
  padding: clamp(50px, 6vw, 80px) 0;
  background: var(--navy-deep);
  color: var(--cream);
  text-align: center;
}
.ct-social-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-lite);
  margin-bottom: 22px;
}
.ct-social-links {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.ct-social-links a {
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  transition: color .3s ease;
  letter-spacing: -0.01em;
}
.ct-social-links a:hover { color: var(--brass-lite); }
.ct-social-links span { color: var(--brass); opacity: .6; }

/* --------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------- */
@keyframes ctSlideUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes ctFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ct-channel-grid { grid-template-columns: 1fr 1fr; }
  .ct-main-grid { grid-template-columns: 1fr; }
  .ct-quick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ct-hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .ct-channel-grid { grid-template-columns: 1fr; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-submit { width: 100%; }
}
