/* Shared page hero (Nov 2026). Loaded after site.css on work-with-me.html,
   amplify-os.html and human-stack.html only.
   The same move as .c-hero on the Coaching page: the page title set at display
   scale as the one large thing, the intro and button close under it, a rule below.
   No portrait. Tokens only. */

/* ---------- Hero: the title carries the first screen ---------- */
.p-hero { padding-top: var(--space-10); }
/* The first section's own ink rule is the rule under the hero, so the hero carries no border of its own. */
.p-hero + .section { padding-top: var(--space-8); }
.p-hero__label { margin-bottom: var(--space-5); }
.p-hero__statement { max-width: 12em; animation: rise var(--dur-3) var(--ease) both; }
/* A trademark sign set small and raised, so it reads as a mark beside a display title. */
.p-hero__mark { font-size: 0.4em; vertical-align: 1.1em; line-height: 0; margin-left: 0.04em; }
.p-hero__foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--space-5);
  align-items: end; margin-top: var(--space-8);
}
.p-hero__intro { grid-column: 1 / span 6; display: grid; gap: var(--space-3); max-width: 34rem; }
.p-hero__question { margin-bottom: var(--space-3); }
.p-hero__actions { grid-column: 1 / span 6; }
.p-hero__actions .btn { min-height: 52px; padding-inline: var(--space-7); }

/* ---------- Work With Me: larger pathway titles, as .c-rows on Coaching ---------- */
.p-rows .rows__row { padding-block: var(--space-6); }
.p-rows .rows__title { font-size: var(--step-6); line-height: 1.06; letter-spacing: -0.014em; }

/* ---------- Narrower screens ---------- */
@media (max-width: 860px) {
  .p-hero { padding-top: var(--space-8); }
  .p-hero + .section { padding-top: var(--space-7); }
  .p-hero__foot { grid-template-columns: 1fr; margin-top: var(--space-6); }
  .p-hero__intro, .p-hero__actions { grid-column: 1 / -1; justify-self: stretch; }
  .p-hero__actions .btn { width: 100%; }
  /* On a phone the title drops to 44px, so the Human Stack question steps down to keep one large thing. */
  .p-hero__question { font-size: var(--step-5); line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) { .p-hero__statement { animation: none; } }

/* ---------- Hero with the page's framework figure (Amplify OS, Human Stack) ----------
   The title runs across the top. Under it the intro and button sit left and the figure fills
   the right, wide enough (680px and up on desktop) that the figure's smallest labels stay at 13px. */
.p-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
.p-hero--figure .p-hero__text { display: contents; }
.p-hero--figure .p-hero__label, .p-hero--figure .p-hero__statement { grid-column: 1 / -1; }
.p-hero--figure .p-hero__foot { grid-column: 1 / span 5; grid-template-columns: 1fr; align-self: start; }
.p-hero--figure .p-hero__intro, .p-hero--figure .p-hero__actions { grid-column: 1 / -1; }
.p-hero__figure { grid-column: 6 / span 7; margin-top: var(--space-8); min-width: 0; animation: rise var(--dur-3) var(--ease) both; }
.p-hero__figure img { display: block; width: 100%; max-width: 760px; height: auto; margin-left: auto; }
.p-hero__figure .caption { margin-top: var(--space-3); text-align: right; }
.p-hero__figure--pyramid .pyramid { max-width: 37.5rem; margin-left: auto; }
@media (max-width: 1100px) {
  .p-hero--figure .p-hero__foot, .p-hero__figure { grid-column: 1 / -1; }
  .p-hero__figure { margin-top: var(--space-7); }
  .p-hero__figure img, .p-hero__figure--pyramid .pyramid { margin-left: 0; }
  .p-hero__figure .caption { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .p-hero__figure { animation: none; } }
