/* Coaching: page-specific styles. */

/* This page used to paint two more radial gradients over the sitewide one, a
   lime glow top right and a rose glow top left. All three are gone. See the
   .page-hero comment in styles.css.

   The opening section: heading on the left, the two paragraphs on the right, so
   the section uses the container instead of running one narrow column down the
   middle of it. */
.opening { display: grid; gap: var(--space-4); }
.opening h2 { margin-bottom: 0; }
.opening__body p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .opening {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-6);
    align-items: start;
  }
}

/* Kathy's solo portrait, 428x600, already cropped to the ratio it is shown at.
   The width cap is the rule about never rendering a photograph wider than its
   real pixel width: this column is wider than 428px on a large screen. */
.session__figure img {
  max-width: 428px;
  object-fit: cover;
}
.session__figure .frame { max-width: 428px; }

/* The offset block hangs 26px past the frame on the right and 26px below it.
   Stacked, that is wider than the gutter, so the frame is pulled in. And the
   caption has to clear the block or it reads as a caption box, which the design
   system does not allow. */
.session__figure .frame { margin-right: 26px; }
.session__figure figcaption { padding-top: 36px; }

@media (min-width: 901px) {
  .session__figure .frame { margin-right: 0; }
}

/* What a session looks like: three moments as a timeline, not as the shared
   three-step component Services also runs. The numeral sits in its own column
   with a hairline spine beside it, and the numerals are the lowercase roman in
   italic Playfair and --rose-deep that the home page uses in "What we do", so
   this reads as the same hand rather than as a new invention. --rose-deep on
   --cream measures 5.2:1. */
.timeline {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  max-width: none;
}
.timeline li {
  margin: 0;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  border-top: 1px solid var(--border);
}
.timeline li:last-child { border-bottom: 1px solid var(--border); }

.timeline__num {
  align-self: start;
  padding-top: var(--space-4);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--rose-deep);
}

.timeline__body {
  padding: var(--space-4) 0 var(--space-4) var(--space-3);
  border-left: 1px solid var(--border);
}
.timeline h3 { margin-bottom: var(--space-2); }
.timeline p { color: var(--ink-soft); margin-bottom: 0; }

@media (min-width: 900px) {
  /* Heading left, copy right, so the timeline fills the container the way the
     rest of the page does. */
  .timeline__body {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
    padding-left: var(--space-5);
  }
  .timeline h3 { margin-bottom: 0; }
}

/* What it costs: the green feature band. Heading on the left, the two
   paragraphs on the right. Every colour inside the band comes from the
   .section--green rules in styles.css. */
.cost { display: grid; gap: var(--space-4); }
.cost__head h2 { margin-bottom: 0; }
.cost__body p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .cost {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
  }
}

/* Who it's for: two criteria, set as a typographic list in two columns. */
.criteria {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
  max-width: none;
}
.criteria li {
  margin: 0;
  padding-top: var(--space-3);
}
.criteria h3 { margin-bottom: var(--space-2); }
.criteria p { color: var(--ink-soft); margin-bottom: 0; }

/* Questions: the heading in its own column, the questions in the wider one, so
   the section uses the container. Same shape as .opening, .timeline and .cost.
   The answers keep their own measure through .faq dd. */
.questions { display: grid; gap: var(--space-4); }
.questions .section-head { margin-bottom: 0; }

@media (min-width: 900px) {
  .questions {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-6);
    align-items: start;
  }
}

/* FAQ: questions and answers set as type, divided by hairlines. */
.faq {
  margin: 0;
  display: grid;
  gap: 0;
}

.faq__item {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }

/* 500, not 600. Every heading on this site is Playfair at 500, and a dt set in
   --font-head at --fs-h3 reads as a heading whatever its tag says. */
.faq dt {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.faq dd {
  margin: 0;
  color: var(--ink-soft);
  max-width: var(--measure);
}

@media (min-width: 620px) {
  .criteria { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

/* --------------------------------------------------------------------------
   Kathy's Intentional Life Coaching mark, used as a seal on the ask block.

   It opened the page at first. That repeated the h1 word for word and put a
   second circular logo just under the Next Step mark in the header, so it moved
   down here, where it signs her own invitation and has no headline to fight.

   The file is 359px square and is never rendered near that. Fine line art of
   this kind gains density as it gets smaller and goes washed out as it grows.
   -------------------------------------------------------------------------- */
.coaching-seal {
  display: block;
  width: 118px;
  height: auto;
  margin-bottom: var(--space-4);
}

@media (min-width: 901px) {
  .coaching-seal { width: 140px; }
}
