/* Contact test page (rulings 9 Oct 2026). Page-only styles on top of shared/ratc.css.
   Rachel's rulings: morning, "a simple contact page"; 5:10 PM, the address comes off the site and
   a contact form goes on ("do not put my email on the wesbite"). Motion is only the shared vocabulary: registration on the
   heading (data-reg) and print-in on the art. Nothing here moves on its own. */

/* ---------- 1. Opening ---------------------------------------------------- */
.ct-open { padding-block: clamp(3.5rem, 7vw, 6rem); }
.ct-open__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 5vw, 72px); align-items: center;
}
.ct-open__text { min-width: 0; }
.ct-title { margin: 0 0 clamp(28px, 4vw, 44px); }
/* the form (Rachel, 9 Oct 2026, 5:10 PM: "do not put my email on the wesbite ... add a contact form").
   Same three fields and button as the live /contact/ page. Fields sit on ground black inside the
   ink plum section, cream type, bone rule; a focused field gets the bone focus ring and a mustard rule. */
.ct-form { display: grid; gap: 20px; max-width: 34rem; }
.ct-field { display: grid; gap: 8px; }
.ct-field__label { margin: 0; }
.ct-field__input {
  width: 100%; min-height: 52px; padding: 10px 14px;
  background: var(--ground-black); color: var(--cream);
  border: 2px solid var(--bone); border-radius: 0;
  font: 400 1.25rem/1.35 var(--font-body);
  transition: border-color 160ms var(--ease-out);
}
.ct-field__input--msg { min-height: 9.5em; resize: vertical; }
.ct-field__input:focus-visible { outline-offset: 2px; border-color: var(--mustard); }
.ct-form__actions { margin-top: 4px; }
.ct-send { min-width: 9em; }
.ct-form__status { margin: 0; min-height: 1.6em; color: var(--cream); }
.ct-form__status:empty { min-height: 0; }
/* after Send on the test page: the fields stay (so nothing jumps), the status line says what happened */
.ct-form[data-state="sent"] .ct-send { background: var(--bone); border-color: var(--bone); color: var(--ink-plum); }

/* the art: cropped to 16:9 from the top, which leaves out the logo plaque baked into the
   picture's lower right (the header already carries the logo) */
.ct-open__art { aspect-ratio: 3 / 2; --lamp-x: 12%; --lamp-y: 27%; }   /* 3:2, the whole picture, nothing trimmed (her review, 10 Oct: "just use 3:2 framing") */
.ct-open__art > img { height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------- 2. Tip line --------------------------------------------------- */
.ct-tip { padding-block: 4.25rem 4.5rem; }
.ct-tip__label { margin: 0 0 14px; }
.ct-tip__line { margin: 0; max-width: 44ch; font: 700 var(--fs-h3)/1.45 var(--font-body); color: var(--cream); text-wrap: pretty; }
.ct-tip__line a { color: var(--cream); text-decoration-thickness: 2px; text-underline-offset: .22em; }

/* ---------- 3. The shows and the newsletter -------------------------------- */
.ct-shows__title { margin: 0 0 32px; }
.ct-shows__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ct-show {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 26px 26px 28px; border: 2px solid var(--bone); border-radius: 0;
}
.ct-show__name { font: 400 var(--fs-h2)/1.05 var(--font-display); color: var(--display); text-wrap: balance; }
.ct-show__name a { color: inherit; text-decoration: none; }
.ct-show__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.ct-show__line { margin: 0; max-width: 34ch; }
.ct-show__more { margin-top: auto; padding-top: 6px; }

/* ---------- Phone and tablet ---------------------------------------------- */
@media (max-width: 1023px) {
  .ct-shows__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-show--sub { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .ct-open__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ct-open__art { margin-inline: calc(-1 * var(--gutter) + 6px); }
}
@media (max-width: 639px) {
  .ct-shows__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ct-show { padding: 22px 20px 24px; }
}
