/* ============================================================
   55b - "Why art belongs in education" (30 Oct 2026).

   Two things live here, both from one source so they match:
     1. the teaser band on /field-trips/  (section.rhft-research,
        in templates/page-school-field-trips.html)
     2. the page itself, /why-art-matters/ (inc/overhaul/55b-why-art-matters.php)

   The teaser is its own section with its own classes on purpose: the
   content-management layer rewrites .rhft-lede and the first
   .rhft-day section, so neither class is used here.

   Loads after 55-field-trips.css and phase1.css; tokens come from phase1 :root.
   Phone first; nothing needs more than 375px.
   ============================================================ */

/* ---------------------------------------------------- teaser on /field-trips/ */

/* An ink band between the paper "How we plan" band and the surface "What to expect" band. */
.rh-fieldtrip-page .rhft-research {
  padding-block: clamp(40px, 6vw, 64px);
  background: var(--ink);
  color: var(--on-ink);
}

.rh-fieldtrip-page .rhft-research__in {
  display: grid;
  gap: 20px clamp(28px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 900px) {
  .rh-fieldtrip-page .rhft-research__in {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

.rh-fieldtrip-page .rhft-research__head,
.rh-fieldtrip-page .rhft-research__body {
  min-inline-size: 0;
}

.rh-fieldtrip-page .rhft-research__eyebrow {
  margin: 0 0 10px;
  max-inline-size: none;
  color: var(--clay);
  font-family: var(--b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rh-fieldtrip-page .rhft-research__h {
  margin: 0;
  max-inline-size: 18ch;
  color: var(--on-ink);
  font-family: var(--d);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -.016em;
  line-height: 1.1;
  text-wrap: balance;
}

.rh-fieldtrip-page .rhft-research__body p {
  margin: 0 0 22px;
  max-inline-size: 56ch;
  color: var(--on-ink-2);
  font-size: 18px;
  line-height: 1.6;
}

.rh-fieldtrip-page .rhft-research__body p:last-child {
  margin-block-end: 0;
}

/* The link is a button; its ::after stretches over the whole band, so the whole band is the link. */
.rh-fieldtrip-page .rhft-research {
  position: relative;
}

.rh-fieldtrip-page .rhft-research__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em; /* flex items drop the space before the arrow */
  min-block-size: 52px;
  padding: 14px 28px;
  border: 1.5px solid var(--rust);
  background: var(--rust);
  color: #fff;
  font-family: var(--b);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.rh-fieldtrip-page .rhft-research__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.rh-fieldtrip-page .rhft-research__link:hover,
.rh-fieldtrip-page .rhft-research__link:focus-visible {
  border-color: #8F3E1F;
  background: #8F3E1F;
  color: #fff;
}

.rh-fieldtrip-page .rhft-research__link:focus-visible {
  outline: 2px solid var(--on-ink);
  outline-offset: 3px;
}

/* The hover is on the whole band, but the button is what shows it. */
.rh-fieldtrip-page .rhft-research:hover .rhft-research__link {
  border-color: #8F3E1F;
  background: #8F3E1F;
}

@media (max-width: 480px) {
  .rh-fieldtrip-page .rhft-research__link {
    inline-size: 100%;
    padding-inline: 18px;
  }
}

/* ------------------------------------------------------ /why-art-matters/ */

.rhwam {
  background: var(--surface);
  color: var(--tx);
  overflow-x: clip;
  --rhwam-gutter: clamp(20px, 4vw, 34px);
}

.rhwam .rhwam-wrap {
  max-inline-size: var(--max);
  margin-inline: auto;
  padding-inline: var(--rhwam-gutter);
}

.rhwam a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* Ink arrival band: the same voice as the field trips hero, without the picture. */
.rhwam .rhwam-hero {
  padding-block: clamp(32px, 4.5vw, 56px) clamp(40px, 6vw, 72px);
  background: var(--ink);
  color: var(--on-ink);
}

.rhwam .rhwam-crumb {
  margin: 0 0 22px;
  max-inline-size: none;
  color: var(--on-ink-2);
  font-size: 13px;
  line-height: 1.5;
}

.rhwam .rhwam-crumb a {
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.rhwam .rhwam-crumb a:hover,
.rhwam .rhwam-crumb a:focus-visible {
  text-decoration-color: currentColor;
}

.rhwam .rhwam-hero h1 {
  margin: 0;
  max-inline-size: 20ch;
  color: var(--on-ink);
  font-family: var(--d);
  font-size: clamp(33px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.05;
  text-wrap: balance;
}

/* The reading column. */
.rhwam .rhwam-body {
  padding-block: clamp(44px, 6vw, 76px);
  background: var(--surface);
}

.rhwam .rhwam-prose {
  max-inline-size: 64ch;
}

.rhwam .rhwam-body p {
  margin: 0 0 22px;
  max-inline-size: none;
  color: var(--tx);
  font-size: 18px;
  line-height: 1.65;
}

/* The numbered marks: superscript characters, each a link to its source. */
.rhwam .rhwam-fn {
  display: inline-block;
  padding-inline: .05em .35em;
  color: var(--river);
  font-weight: 700;
  text-decoration: none;
}

.rhwam .rhwam-fn:hover,
.rhwam .rhwam-fn:focus-visible {
  color: var(--rust);
  text-decoration: underline;
}

.rhwam .rhwam-body .rhwam-act {
  margin: 34px 0 0;
}

.rhwam .rhwam-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 52px;
  padding: 14px 28px;
  border: 1.5px solid var(--rust);
  background: var(--rust);
  color: #fff;
  font-family: var(--b);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.rhwam .rhwam-cta:hover,
.rhwam .rhwam-cta:focus-visible {
  border-color: #8F3E1F;
  background: #8F3E1F;
  color: #fff;
}

@media (max-width: 480px) {
  .rhwam .rhwam-cta {
    inline-size: 100%;
  }
}

/* Sources: a quieter paper band under the body. */
.rhwam .rhwam-sources {
  padding-block: clamp(40px, 5.5vw, 64px);
  border-block-start: 1px solid var(--rule);
  background: var(--paper);
}

.rhwam .rhwam-sources h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--d);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.12;
}

.rhwam .rhwam-source-list {
  margin: 0;
  padding: 0 0 0 1.4em;
}

.rhwam .rhwam-source {
  margin: 0 0 20px;
  padding-inline-start: .3em;
  color: var(--tx-2);
  font-size: 16.5px;
  line-height: 1.6;
  scroll-margin-block-start: 96px;
  overflow-wrap: anywhere;
}

.rhwam .rhwam-source:last-child {
  margin-block-end: 0;
}

.rhwam .rhwam-source:target {
  outline: 2px solid var(--clay);
  outline-offset: 6px;
}

.rhwam .rhwam-ext {
  color: var(--river);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.rhwam .rhwam-ext:hover,
.rhwam .rhwam-ext:focus-visible {
  text-decoration-color: currentColor;
}

.rhwam .rhwam-back {
  display: inline-block;
  min-inline-size: 28px;
  margin-inline-start: 6px;
  color: var(--tx-2);
  text-align: center;
  text-decoration: none;
}

.rhwam .rhwam-back:hover,
.rhwam .rhwam-back:focus-visible {
  color: var(--rust);
}
