/* Shared editorial hierarchy. Brand fonts, palette and homepage hero stay intact. */
:root {
  --type-page: clamp(38px, 5vw, 64px);
  --type-section: clamp(32px, 3.8vw, 48px);
  --type-card: 26px;
  --type-lead: 20px;
  --type-body: 19px;
  --type-support: 16px;
  --type-label: 14px;
}
body { font-size: var(--type-body); }
.page-hero-title { font-size: var(--type-page); line-height: 1.1; }
.section-h2,
#what .section-h2,
#what .pressure-header .section-h2,
#contact .section-h2,
.model-story-model-head .section-h2,
.rita-h2 { font-size: var(--type-section); line-height: 1.14; }
.section-intro,
#what .section-intro,
.page-hero-copy,
.model-story-copy,
.model-story-connection p,
.contact-body { font-size: var(--type-lead); line-height: 1.55; }
.rita-body p,
.thought-copy p,
.editorial-copy,
.formats-intro,
.engagement-choice,
.diagnostic-description p,
.engagement-card-summary,
.muscle-card p,
.model-story-muscle-detail p,
.article-summary,
#story-pressure .door-signals li,
.pressure-point-list p { font-size: var(--type-body); line-height: 1.55; }
.pressure-point-list h3,
.engagement-card h3,
.muscle-card h3,
.model-story-muscle-detail h4,
.model-story-connection h3,
.article-entry h3 { font-size: var(--type-card); line-height: 1.2; font-weight: 500; }
.diagnostic-title h3 { font-size: 32px; line-height: 1.15; }
.diagnostic-need,
.engagement-card-need { font-size: var(--type-lead); line-height: 1.35; }
.engagement-kicker,
.door p.door-label,
.operator-proof-capability,
.article-meta,
.engagement-card-examples span,
.eyebrow { font-size: var(--type-label); line-height: 1.45; }
.engagement-card-examples,
.engagement-foot p,
.operator-proof-companies,
.contact-note,
.contact-subnote,
.footer-tagline,
.footer-col a,
.text-link { font-size: var(--type-support); line-height: 1.5; }
.btn, .engagement-foot .btn { font-size: var(--type-support); line-height: 1.3; }
.operator-proof-card h3 { font-size: 24px; line-height: 1.25; }
.model-story-muscle-detail summary { font-size: var(--type-body); line-height: 1.4; padding: 8px 0; }
.model-story-model-head .section-intro { max-width: 860px; margin-left: auto; margin-right: auto; }
.model-story-muscles .muscle-card { padding: 26px 22px; }
.model-story-muscles .muscle-card h3 { min-height: 63px; margin-bottom: 14px; }
.model-story-muscles .muscle-card > p { min-height: 84px; }
.model-story-muscle-detail { margin-top: 16px; }
.model-story-muscle-detail h4 { margin: 18px 0 12px; }
.diagnostic-feature > div { padding: 22px; }

/* Give the existing circle graphic more of the row, without changing the artwork. */
.pressure-content-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 40px; }
#what .pressure-content-grid .commercial-system-bridge { max-width: 720px; }
@media (max-width: 900px) {
  .pressure-content-grid { grid-template-columns: 1fr; gap: 28px; }
  #what .pressure-content-grid .commercial-system-bridge { max-width: 680px; }
  .model-story-muscles .muscle-card > p { min-height: 56px; }
}
@media (max-width: 520px) {
  :root { --type-card: 24px; --type-lead: 19px; }
  .model-story-muscles .muscle-card h3,
  .model-story-muscles .muscle-card > p { min-height: 0; }
}
/* Both dedicated pages use the page-title level, even in a split hero. */
.secondary-hero h1.section-h2 { font-size: var(--type-page); line-height: 1.1; }

/* Diagnostic entry: one heading level and one supporting-copy level. */
.diagnostic-title h3, .diagnostic-need { font-size: 32px; line-height: 1.15; }
.diagnostic-need { white-space: nowrap; }
.diagnostic-context { margin: 6px 0 0; font-family: var(--sans); font-size: var(--type-body); font-style: normal; line-height: 1.55; color: rgba(247,244,239,.88); }

/* Engagement cards share their four content rows, so copy and rules align. */
.engagement-cards { row-gap: 12px; }
.engagement-card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 12px;
  padding: 20px;
  align-content: start;
}
.engagement-card-need,
.engagement-card h3,
.engagement-card-summary,
.engagement-card-examples { min-height: 0; margin: 0; }
.engagement-card-examples { padding-top: 12px; }
.engagement-foot { justify-content: space-between; padding: 0; background: transparent; border-left: 0; margin-top: 20px; }
.engagement-foot p { font-size: var(--type-body); line-height: 1.55; }
@media (max-width: 520px) {
  .engagement-card { grid-row: auto; grid-template-rows: auto auto auto auto; padding: 20px; }
  .engagement-cards { row-gap: 16px; }
  .engagement-foot { justify-content: flex-start; }
}
/* Proof cards use shared rows for descriptions, rules and company names. */
.operator-proof-grid { row-gap: 12px; }
.operator-proof-card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 12px;
  min-height: 0;
}
.operator-proof-capability { font-size: 13px; margin: 0; }
.operator-proof-capability::after { margin: 8px 0 0; }
.operator-proof-card h3 { font-size: 22px; line-height: 1.3; margin: 0; }
.operator-proof-companies { font-size: 14px; line-height: 1.5; margin: 0; padding-top: 12px; }
@media (max-width: 520px) {
  .operator-proof-card { grid-row: auto; grid-template-rows: auto auto auto; }
  .operator-proof-grid { row-gap: 16px; }
}
/* Model pressure cards share label and symptom rows. */
#story-pressure .doors { row-gap: 14px; }
#story-pressure .door { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
#story-pressure .door-box { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 14px; min-height: 0; padding: 24px; }
#story-pressure .door-label { margin: 0; }
#story-pressure .door-label::after { margin: 8px 0 0; }
#story-pressure .door-signals { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 14px; margin: 0; padding-top: 14px; }
#story-pressure .door-signals ul { display: contents; }
#story-pressure .door-signals li + li { margin-top: 0; }
/* The introduction has one sentence per line on wide screens. */
.model-story-model-head .model-intro-lines { max-width: none; font-size: clamp(18px, 1.5vw, 20px); }
.model-intro-lines span { display: block; }
/* Expansions sit below the complete graphic, rather than inside a column. */
.model-story-muscles { margin-bottom: 0; }
.muscle-examine-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; margin-top: 16px; padding: 14px 0 0;
  border: 0; border-top: 1px solid rgba(247,244,239,.22);
  border-radius: 0; background: transparent; color: var(--airi-ivory);
  font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.4;
  text-align: left; cursor: pointer;
}
.muscle-examine-toggle > span[aria-hidden] { color: var(--airi-coral); font-size: 24px; line-height: 1; }
.muscle-examine-toggle:focus-visible { outline: 2px solid var(--airi-coral); outline-offset: 5px; }
.muscle-examine-toggle[aria-expanded="true"] { color: var(--airi-coral); }
.muscle-examination { margin-top: 20px; padding: 24px 28px; border: 1px solid rgba(247,244,239,.25); border-top: 3px solid var(--airi-coral); }
.muscle-examination[hidden] { display: none; }
.muscle-examination h3 { margin-bottom: 8px; font-size: 26px; line-height: 1.2; color: var(--airi-coral); }
.muscle-examination h4 { margin-bottom: 12px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.25; }
.muscle-examination p { max-width: 940px; font-size: var(--type-body); line-height: 1.55; color: var(--ivory-80); }
.muscle-examination p + p { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1200px) { .model-intro-lines span { white-space: nowrap; } }
@media (max-width: 900px) {
  #story-pressure .door { display: block; grid-row: auto; }
  #story-pressure .door-box { display: block; grid-row: auto; }
  #story-pressure .door-label { margin-bottom: 14px; }
  #story-pressure .door-signals { display: block; grid-row: auto; }
  #story-pressure .door-signals ul { display: block; }
  #story-pressure .door-signals li + li { margin-top: 14px; }
  .model-intro-lines span + span { margin-top: 8px; }
}
@media (max-width: 520px) { .muscle-examination { padding: 22px; } }
/* Keep the four muscle cards and their expansion controls aligned. */
.model-story-muscles { row-gap: 12px; }
.model-story-muscles .muscle-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; align-self: stretch; }
.model-story-muscles .muscle-icon { margin: 0 auto; }
.model-story-muscles .muscle-num { margin: 0; }
.model-story-muscles .muscle-card h3,
.model-story-muscles .muscle-card > p { min-height: 0; margin: 0; }
.model-story-muscles .muscle-examine-toggle { margin-top: 0; }
@media (max-width: 520px) {
  .model-story-muscles .muscle-card { grid-row: auto; grid-template-rows: auto auto auto auto auto; }
}
/* Published writing can be browsed by topic without leaving the article library. */
.article-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.article-filters button { padding: 10px 20px; border: 1px solid var(--border); border-radius: 3px; background: transparent; color: var(--airi-ink); font-family: var(--sans); font-size: var(--type-support); font-weight: 600; line-height: 1.4; cursor: pointer; }
.article-filters button[aria-pressed="true"] { background: var(--airi-plum); border-color: var(--airi-plum); color: var(--airi-ivory); }
.article-filters button:focus-visible { outline: 2px solid var(--airi-ink); outline-offset: 3px; }
.article-entry[hidden] { display: none; }
.article-alternate { display: table; margin-top: 10px; }
/* Reuse the homepage visual, with compact spacing around the pressure cards. */
#story-pressure { padding: 40px 0; }
.model-pressure-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-bottom: 8px; }
#story-pressure .model-pressure-intro .section-head { margin-bottom: 0; }
.model-pressure-graphic { position: relative; width: 100%; aspect-ratio: 1536 / 780; overflow: hidden; margin: 0; }
.model-pressure-graphic img { display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; transform: translateY(-7.5%); }
/* An email choice works with desktop apps, webmail and copy-and-paste. */
.email-dialog { box-sizing: border-box; width: min(620px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 32px; border: 0; border-top: 4px solid var(--airi-coral); border-radius: 3px; background: var(--airi-ivory); color: var(--airi-ink); box-shadow: 0 18px 60px rgba(17,17,17,.25); }
.email-dialog::backdrop { background: rgba(46,26,53,.65); }
.email-dialog-top { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.email-dialog h2 { font-family: var(--serif); font-size: 32px; line-height: 1.15; }
.email-dialog-close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--airi-ink); font: 32px/1 var(--sans); cursor: pointer; }
.email-dialog-intro { font-size: var(--type-body); line-height: 1.5; margin-bottom: 22px; }
.email-dialog-address { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.email-dialog-address input { box-sizing: border-box; flex: 1 1 240px; min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--border); background: var(--airi-white); color: var(--airi-ink); font: 18px/1.5 var(--sans); }
.email-dialog .btn { padding: 12px 18px; font-size: 16px; letter-spacing: 0; }
.email-dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.email-copy-status { min-height: 24px; margin-top: 16px; font-size: 16px; line-height: 1.5; }
.email-dialog :focus-visible { outline: 2px solid var(--airi-ink); outline-offset: 3px; }
@media (max-width: 900px) { .model-pressure-intro { grid-template-columns: 1fr; gap: 18px; } .model-pressure-graphic { max-width: 640px; margin: 0 auto; } }
@media (max-width: 520px) { .email-dialog { padding: 24px; } }
