/* =============================================================================
   Force articles and /forces (sapience-issues #1105): Mel's design pass, no wording changes.

   Loaded ONLY by the `force` and `forces` templates, so site.css, and every other page, is unchanged by them.
   Built to her mockups (mockup_force_global.jpg, mockup_forces_index.jpg) from site.css's tokens: the five force
   colours (--ff-global …), Roboto, the soft shadows and card radii, navy #071329.
   ========================================================================== */

.ff-fa-index-card { --fa: var(--ff-blue); }   /* a card with no force yet */
.ff-fa--global   { --fa: var(--ff-global); }
.ff-fa--society  { --fa: var(--ff-society); }
.ff-fa--industry { --fa: var(--ff-industry); }
.ff-fa--human    { --fa: var(--ff-human); }
.ff-fa--internal { --fa: var(--ff-internal); }
.ff-fa--core     { --fa: var(--ff-blue); }
.ff-fa, .ff-fa-index-card, .ff-fa-next-card { --fa-tint: color-mix(in srgb, var(--fa) 9%, #fff); }

/* ---------- Hero: a soft wash of the force colour at the top left; the diagram card on the right ---------- */
.ff-fa-hero {
  padding-top: calc(var(--ff-nav-h) + 48px); padding-bottom: clamp(40px, 5vw, 64px);
  background: radial-gradient(80% 90% at 0% 0%, color-mix(in srgb, var(--fa) 12%, transparent) 0%, transparent 70%);
}
.ff-fa-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ff-fa-crumb { color: var(--ff-muted); font-size: 14px; }
.ff-fa-crumb a:hover { color: var(--ff-ink); }
.ff-fa-crumb span { color: var(--fa); font-weight: 500; }
.ff-fa-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 6px 16px 6px 6px;
  border-radius: var(--ff-pill); background: #fff; border: 1px solid var(--ff-line); box-shadow: var(--ff-shadow-sm);
  color: var(--fa); font-size: 14px; font-weight: 500; line-height: 1.2;
}
.ff-fa-pill-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fa); color: #fff; }
.ff-fa-title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin-block: 20px 16px; }
.ff-fa-lede { color: var(--ff-body); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; max-width: 36em; }
.ff-fa-meta { margin-top: 18px; color: var(--ff-muted); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.ff-fa-sits {
  margin: 0; padding: 22px 24px 26px; background: #fff; border-radius: var(--ff-radius-lg);
  border: 1px solid var(--ff-line); box-shadow: var(--ff-shadow-lg); text-align: center;
}
.ff-fa-sits figcaption { color: var(--ff-muted); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.ff-fa-sits img { width: 100%; max-width: 380px; height: auto; margin: 10px auto 0; }

/* ---------- Body: the sticky "On this page" list on the left, the article on the right ---------- */
.ff-fa-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 24px; padding-bottom: clamp(56px, 7vw, 96px); }
.ff-fa-toc { position: sticky; top: calc(var(--ff-nav-h) + 32px); align-self: start; border-left: 2px solid var(--ff-line); padding-left: 16px; }
.ff-fa-toc-title { color: var(--ff-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.ff-fa-toc li + li { margin-top: 8px; }
.ff-fa-toc a { display: block; color: var(--ff-muted); font-size: 13.5px; line-height: 1.4; }
.ff-fa-toc a:hover { color: var(--fa); }
.ff-fa-main { min-width: 0; max-width: 780px; }

.ff-fa-main .ff-prose { padding-bottom: 0; font-size: 16.5px; line-height: 1.7; }   /* sections space themselves */
.ff-fa-section + .ff-fa-section, .ff-fa-quote + .ff-fa-section { margin-top: 44px; }
.ff-fa-section h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; }
.ff-fa-section .ff-prose + .ff-fa-cards, .ff-fa-cards + .ff-prose { margin-top: 18px; }

/* Pull quote: tinted box, a left border in the force colour */
.ff-fa-quote {
  margin: 32px 0 0; padding: 26px 28px; border-radius: var(--ff-radius);
  background: var(--fa-tint); border-left: 4px solid var(--fa);
}
.ff-fa-quote blockquote { margin: 0; color: var(--ff-ink); font-size: clamp(19px, 2vw, 23px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.ff-fa-quote blockquote::before { content: "\201C"; }
.ff-fa-quote blockquote::after { content: "\201D"; }
.ff-fa-quote figcaption { margin-top: 12px; color: var(--ff-muted); font-size: 12px; font-weight: 500; letter-spacing: .12em; }

/* Key pressures (and the AI Strategy Core's lists): cards in two columns, a top border in the force colour */
.ff-fa-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ff-fa-card {
  padding: 20px 22px 24px; background: #fff; border: 1px solid var(--ff-line); border-top: 3px solid var(--fa);
  border-radius: var(--ff-radius-sm) var(--ff-radius-sm) var(--ff-radius) var(--ff-radius); box-shadow: var(--ff-shadow-sm);
}
.ff-fa-card-num { color: var(--fa); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.ff-fa-card-title { margin-block: 8px 8px; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.ff-fa-card p { color: var(--ff-muted); font-size: 15px; line-height: 1.6; }
.ff-fa-card strong { color: var(--ff-body); }

/* "How to respond": a navy panel with light text */
.ff-fa-respond { padding: clamp(24px, 3vw, 32px); border-radius: var(--ff-radius); background: #071329; }
.ff-fa-respond, .ff-fa-respond p, .ff-fa-respond li { color: rgba(255, 255, 255, .86); }
.ff-fa-respond strong, .ff-fa-respond a { color: #fff; }

/* The closing band: force colour to navy, the button white */
.ff-fa-band { padding-block: 48px 0; }
.ff-fa-band-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 4vw, 40px); border-radius: var(--ff-radius-lg);
  background: linear-gradient(115deg, var(--fa) 0%, #071329 100%);
}
.ff-fa-band-card > div { flex: 1 1 320px; }
.ff-fa-band-card h2 { color: #fff; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.ff-fa-band-card p { margin-top: 10px; color: rgba(255, 255, 255, .85); font-size: 15.5px; line-height: 1.6; }
.ff-fa-band-btn { background: #fff; color: var(--ff-ink); box-shadow: 0 8px 24px rgba(7, 19, 41, .25); }
.ff-fa-band-btn:hover { background: #f4f6fb; }

/* Back to / Next */
.ff-fa-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.ff-fa-next-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--ff-line); border-radius: var(--ff-radius); box-shadow: var(--ff-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ff-fa-next-card:hover { transform: translateY(-2px); box-shadow: var(--ff-shadow-md); }
.ff-fa-next-card--next { justify-content: flex-end; text-align: right; }
.ff-fa-next-card small { display: block; color: var(--ff-muted); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.ff-fa-next-card strong { display: block; color: var(--ff-ink); font-size: 15.5px; line-height: 1.3; }
.ff-fa-next-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--fa-tint); color: var(--fa); }
.ff-fa-next-card:not(.ff-fa-next-card--next) { --fa: var(--ff-blue); }

/* ---------- /forces: three-column card grid ---------- */
.ff-fa-index-head { max-width: 1000px; }   /* the heading on one line, as the mockup */
.ff-fa-index-head .ff-lede { max-width: 40em; }
.ff-fa-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-block: 16px 72px; }
.ff-fa-index > li { display: flex; }
.ff-fa-index-card {
  display: flex; flex-direction: column; flex: 1; overflow: hidden; background: #fff; border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius); box-shadow: var(--ff-shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.ff-fa-index-card:hover { transform: translateY(-3px); box-shadow: var(--ff-shadow-md); }
.ff-fa-index-card img { width: 100%; height: auto; aspect-ratio: 1200 / 627; object-fit: cover; }
.ff-fa-index-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.ff-fa-index-num { color: var(--fa); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ff-fa-index-title { margin-block: 8px 10px; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.ff-fa-index-line { color: var(--ff-muted); font-size: 15px; line-height: 1.55; }
.ff-fa-index-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--ff-blue); font-size: 15px; font-weight: 500; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1000px) {
  .ff-fa-body { grid-template-columns: 1fr; }
  .ff-fa-toc { display: none; }                       /* A4: no "On this page" on mobile */
  .ff-fa-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ff-fa-hero-grid { grid-template-columns: 1fr; }   /* A12: the diagram goes under the text */
}
@media (max-width: 640px) {
  .ff-fa-cards, .ff-fa-next, .ff-fa-index { grid-template-columns: 1fr; }
  .ff-fa-band-btn { width: 100%; }
}
