/* =========================================================
   CONTACT PAGE
   One focused screen: who to contact and how on the left,
   the form in a card on the right. Builds on home.css.
   ========================================================= */
.ct {
  position: relative;
  background: var(--blush, #EBDFDF);
  padding: calc(var(--nav-height, 80px) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem);
}
.ct__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* ---------- Left ---------- */
.ct .h-eyebrow { color: var(--amber-text, #B45309); font-weight: 700; letter-spacing: 0.2em; }
.ct__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  margin: 0.75rem 0 1.25rem;
}
.ct__title em { font-style: italic; color: var(--plum, #5E2A41); }
.ct__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 34rem;
  padding-left: 1.25rem;
  border-left: 3px solid #D97706;
}
.ct__options { display: grid; gap: 1rem; margin: 2rem 0 1.75rem; }
.ct__option {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(94, 42, 65, 0.1);
  border-radius: 12px;
}
.ct__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--plum, #5E2A41);
  color: #FBBF24;
}
.ct__icon svg { width: 22px; height: 22px; }
.ct__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum, #5E2A41);
  margin-bottom: 0.3rem;
}
.ct__value {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(217, 119, 6, 0.6);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.ct__value:hover { color: var(--plum, #5E2A41); }
.ct__text { font-size: 0.9375rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: 0.4rem; }
.ct__option .h-textlink { margin-top: 0.25rem; }
.ct__social .ct__label { margin-bottom: 0.6rem; }
.ct__social .ab-socials { margin-top: 0; }
.ct__photo {
  margin: 2rem 0 0;
  border-radius: 12px 12px 12px clamp(60px, 9vw, 120px);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: 0 30px 60px -32px rgba(61, 26, 43, 0.55);
}
.ct__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Right: form card ---------- */
.ct__card {
  position: sticky;
  top: calc(var(--nav-height, 80px) + 1.5rem);
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: 0 40px 80px -40px rgba(61, 26, 43, 0.45);
  border-top: 4px solid #D97706;
}
.ct__card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  color: var(--ink);
}
.ct__card-note { font-size: 0.8125rem; color: var(--ink-soft); margin: 0.35rem 0 1.5rem; }

.ct-form { display: grid; gap: 1.1rem; }
.ct-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ct-form__group { display: grid; gap: 0.4rem; }
.ct-form label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.ct-form label span { color: #B45309; }
.ct-form input,
.ct-form select,
.ct-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory, #FCF8F5);
  border: 1px solid rgba(94, 42, 65, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.ct-form textarea { resize: vertical; min-height: 140px; }
.ct-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E2A41' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #D97706;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}
.ct-form__submit { justify-self: start; margin-top: 0.4rem; border: 0; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ct__inner { grid-template-columns: 1fr; }
  .ct__card { position: static; }
  .ct__photo { display: none; }          /* the form comes sooner on smaller screens */
}
@media (max-width: 860px) {
  .ct__intro { text-align: left; }
}
@media (max-width: 600px) {
  .ct { padding-top: calc(var(--nav-height, 70px) + 1.75rem); }
  .ct__options { grid-template-columns: 1fr; margin: 1.5rem 0 1.25rem; }
  .ct__option { padding: 0.95rem 1rem; }
  .ct-form__row { gap: 0.75rem; }
  .ct__card { padding: 1.35rem 1.1rem; }
}

/* Smaller screens: the form comes straight after the intro;
   the contact options and social links follow it */
@media (max-width: 960px) {
  .ct__intro { display: contents; }
  .ct__inner { gap: 0; }
  .ct__intro > .h-eyebrow,
  .ct__title,
  .ct__lead { order: 1; }
  .ct__lead { margin-bottom: 1.75rem; }
  .ct__card { order: 2; }
  .ct__options { order: 3; margin-top: 2rem; }
  .ct__social { order: 4; }
}

/* Form fields never grow wider than the screen once filled in.
   Grid and flex children default to "min-width: auto", so a filled date,
   time or select (which have a native minimum width on phones) could push
   its column past the edge. These keep every field inside its column. */
.ct-form,
.ct-form__row,
.ct-form__row > *,
.ct-form__group,
.ct-form fieldset { min-width: 0; max-width: 100%; }
.ct-form input,
.ct-form select,
.ct-form textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
.ct-form input[type="date"],
.ct-form input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-height: 48px;
  line-height: 1.2;
}
.ct-form input[type="date"]::-webkit-date-and-time-value,
.ct-form input[type="time"]::-webkit-date-and-time-value { text-align: left; }
.ct-form select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
/* the page column itself never grows wider than the screen */
.ct__inner > * { min-width: 0; }
@media (max-width: 960px) { .ct__inner { grid-template-columns: minmax(0, 1fr); } }
/* explicit column sizes: a column may shrink below its content, never push past the card */
.ct-form { grid-template-columns: minmax(0, 1fr); }
.ct-form fieldset { display: grid; grid-template-columns: minmax(0, 1fr); }
.ct-form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* the form never scrolls sideways; long text scrolls inside its own field */
.ct, .ct__card { overflow-x: clip; }
.ct-form__submit { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.ct-form input, .ct-form textarea { text-overflow: ellipsis; }
.ct-form input:focus { text-overflow: clip; }
.ct-form__group[hidden] { display: none !important; }
