/* ==========================================================================
   CHIMAERA — Generic editorial page
   ==========================================================================

   Shared by secondary pages that aren't the homepage (about, contact, and
   any future page cut from the same cloth) — one sparse, text-led
   composition over the persistent atmosphere. Built entirely from the
   existing tokens, .eyebrow / .body-copy (typography.css) and .container /
   .hairline / .field-atmosphere (global.css) primitives; nothing here
   duplicates them.

   IMPORTANT: like .homepage-hero, .homepage-artist and .homepage-people,
   nothing in this file puts an opaque background behind text — the atmosphere stays
   visible throughout. Text is ink (the site-wide default, see global.css)
   rather than a colour block — ink has better contrast than white against
   both ends of the atmosphere's coral/pale gradient (4.54:1 vs 3.84:1 on
   coral; 15.98:1 vs 1.09:1 on pale), so no special treatment is needed
   here.
   ========================================================================== */

/* ==========================================================================
   INTRO — the page's opening statement
   ========================================================================== */

.page-intro {
  position: relative;
  z-index: 1;

  min-height: 70svh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-block: var(--space-3xl);
}

.page-intro .eyebrow {
  margin: 0 0 var(--space-s);
}

.page-intro h1 {
  font-family: var(--font-banner);
  font-weight: 700;

  font-size: var(--step-6);

  line-height: 0.94;

  letter-spacing: -0.015em;

  text-transform: uppercase;

  margin: 0 0 var(--space-l);
}

.page-intro .body-copy {
  max-width: 52ch;

  opacity: 0.9;
}

/* ==========================================================================
   SECTION — a single editorial text block
   ========================================================================== */

.page-section {
  position: relative;
  z-index: 1;

  padding-block: var(--space-2xl);
}

.page-section h2 {
  font-family: var(--font-display);
  font-weight: 700;

  font-size: var(--step-3);

  line-height: 1.05;

  letter-spacing: -0.01em;

  text-transform: uppercase;

  margin: 0 0 var(--space-m);
}

.page-section .body-copy {
  opacity: 0.9;
}

.page-section + .page-section {
  border-top: var(--rule-width) solid var(--color-ink-30);
}

/* ==========================================================================
   ONE-SCREEN PAGE — about, contact
   The whole page is one viewport (then the footer). Content is centred in
   the space below the fixed header; if a small phone can't fit it, the
   section grows instead of clipping.
   ========================================================================== */

.page-screen {
  position: relative;
  z-index: 1;

  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: var(--header-clearance);
  padding-bottom: var(--space-l);
}

.page-screen__inner {
  width: 100%;
  max-width: var(--section-max-width);
  margin-inline: auto;

  display: grid;
  gap: var(--space-l);
}

.page-screen__intro .eyebrow {
  margin: 0 0 var(--space-2xs);
}

.page-screen__intro h1 {
  font-family: var(--font-banner);
  font-weight: 700;

  font-size: var(--step-5);

  line-height: 0.94;

  letter-spacing: -0.015em;

  text-transform: uppercase;

  margin: 0 0 var(--space-m);
}

.page-screen__intro .body-copy {
  max-width: 44ch;
  margin: 0;

  opacity: 0.9;
}

.page-screen a:not([class]) {
  color: inherit;
  text-decoration-thickness: var(--rule-width);
  text-underline-offset: 0.2em;
}

/* ---- About: three short points under the intro ---- */

.page-screen__points {
  display: grid;
  gap: var(--space-m);

  padding-top: var(--space-m);
  border-top: var(--rule-width) solid var(--color-ink-30);
}

.page-screen__points h2 {
  font-family: var(--font-display);
  font-weight: 700;

  font-size: var(--step-1);

  line-height: 1.05;

  letter-spacing: -0.01em;

  text-transform: uppercase;

  margin: 0 0 var(--space-2xs);
}

.page-screen__points .body-copy {
  margin: 0;

  opacity: 0.9;
}

@media (min-width: 48rem) {
  .page-screen__points {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--column-gap);
  }
}

/* ---- Contact: intro left, form right on wide screens ---- */

@media (min-width: 60rem) {
  .page-screen__inner--split {
    grid-template-columns: 1fr minmax(0, 32rem);
    align-items: center;
    gap: var(--space-xl);
  }
}

/* ==========================================================================
   CONTACT FORM
   Ink on the atmosphere, no opaque box behind it (see note at the top).
   ========================================================================== */

.contact-box {
  position: relative;
}

.contact-form {
  display: grid;
  gap: var(--space-s);
}

.contact-form__heading {
  font-family: var(--font-display);
  font-weight: 700;

  font-size: var(--step-1);

  line-height: 1.05;

  text-transform: uppercase;

  margin: 0;
}

.contact-form__row {
  display: grid;
  gap: var(--space-s);
}

@media (min-width: 30rem) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  display: grid;
  gap: var(--space-3xs);

  font-family: var(--font-text);
  font-size: var(--text-small);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  min-height: var(--tap-target-min);
  padding: var(--space-xs) var(--space-s);

  background: transparent;
  color: var(--color-ink);

  border: var(--rule-width-strong) solid var(--color-ink-45);
  border-radius: 0;

  font-family: var(--font-text);
  font-size: var(--text-body);
}

.contact-form__field textarea {
  resize: vertical;
}

.contact-form__button {
  justify-self: start;

  min-height: var(--tap-target-min);
  padding: 0 var(--space-l);

  background: var(--color-ink);
  color: var(--color-pale-warm);

  border: 0;
  border-radius: 0;

  font-family: var(--font-text);
  font-size: var(--text-body);
  font-weight: 700;

  cursor: pointer;

  transition: opacity var(--duration-fast) var(--ease-editorial);
}

.contact-form__button:hover {
  opacity: 0.85;
}

.contact-form__button[disabled] {
  opacity: 0.5;
  cursor: progress;
}

.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible,
.contact-form__button:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.contact-form__status {
  min-height: 1.5em;
  margin: 0;

  font-family: var(--font-text);
  font-size: var(--text-small);
}

.contact-form__status:empty {
  display: none;
}
