/* ==========================================================================
   Customer stories (customer-stories.html) — page styles. Prefix: .story-
   ========================================================================== */

@property --story-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Hero ---------- */
.story-hero { padding-bottom: 0; }
.story-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 48% at 76% 44%, rgba(242, 161, 91, 0.07), transparent 70%),
    radial-gradient(46% 60% at 96% -6%, rgba(90, 130, 190, 0.09), transparent 70%);
}
.story-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
/* Shared --fs-h1, capped so each sentence keeps its own line in the copy column ("Proven in the
   real world." is ~11.2em wide); never below the token's 2.3rem floor, where it may wrap. */
.story-hero__copy { container-type: inline-size; }
.story-hero h1 { font-size: min(var(--fs-h1), max(2.3rem, 100cqi / 11.4)); line-height: 1.04; letter-spacing: -0.035em; max-width: none; }
.story-hero h1 span { display: block; }
.story-hero .lede { max-width: 31em; }
.story-hero__note {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 20px;
  font-size: var(--fs-small); color: var(--text-2); text-wrap: balance;
}
/* Level with the first line when the note wraps. */
.story-hero__note::before { content: ""; flex: none; width: 28px; height: 1px; margin-top: calc(0.5lh - 0.5px); background: linear-gradient(90deg, var(--ember), rgba(242, 161, 91, 0.2)); }

/* Orbit composition: statement card with the featured product marks */
.story-hero__visual { container-type: inline-size; width: 100%; max-width: 540px; margin-inline: auto; }
.story-orbit { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.story-orbit__rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.story-orbit__rings > * { position: absolute; border-radius: 50%; }
.story-orbit__ring--outer { inset: 0; border: 1px dashed rgba(214, 226, 240, 0.08); }
.story-orbit__path { inset: 4%; border: 1px solid var(--line-strong); }
.story-orbit__arc {
  inset: 4%;
  background: conic-gradient(from var(--story-ang), rgba(242, 161, 91, 0) 0deg, rgba(242, 161, 91, 0) 230deg, rgba(242, 161, 91, 0.5) 330deg, var(--ember-hot) 357deg, rgba(242, 161, 91, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  filter: drop-shadow(0 0 5px rgba(242, 161, 91, 0.7));
  animation: story-orbit 4.6s cubic-bezier(0.35, 0.1, 0.2, 1) 0.3s 1 both; /* one sweep under 5s, then still */
  --story-ang: 150deg;
}
@keyframes story-orbit { from { --story-ang: 150deg; } to { --story-ang: 510deg; } }
.story-orbit__glow {
  left: 50%; top: 60%; width: 96%; height: 76%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(242, 161, 91, 0.26), rgba(199, 102, 44, 0.08) 55%, transparent);
  filter: blur(12px);
}

.story-orbit__card {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 62%;
  transform: translate(-50%, -50%);
  padding: clamp(18px, 5.4cqi, 32px);
  border-radius: 18px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(130% 70% at 50% 118%, rgba(242, 161, 91, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(22, 29, 38, 0.86), rgba(10, 14, 19, 0.9));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.story-orbit__card::before {
  content: ""; position: absolute; left: 14%; right: 14%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 161, 0.85), transparent);
}
.story-orbit__label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember);
  text-wrap: balance; /* narrow cards: "From inside / the network", not a lone "Network" */
}
.story-orbit__label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ember-hot); box-shadow: 0 0 0 3px rgba(242, 161, 91, 0.18), 0 0 12px var(--ember); }
.story-orbit__statement {
  margin-top: clamp(12px, 3.2cqi, 18px); font-family: var(--font-display); font-weight: 300; color: var(--text);
  font-size: clamp(1.45rem, 7cqi, 2.4rem); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance;
}
.story-orbit__sub { margin-top: clamp(12px, 3.2cqi, 18px); padding-top: clamp(12px, 3.2cqi, 18px); border-top: 1px solid var(--line); font-size: clamp(0.8125rem, 2.9cqi, 0.9375rem); line-height: 1.5; color: var(--text-2); }

.story-orbit__nodes { list-style: none; position: absolute; inset: 0; z-index: 3; }
.story-orbit__node { position: absolute; transform: translate(-50%, -50%); }
.story-orbit__dot {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.08), transparent 70%), #0c1117;
  border: 1px solid color-mix(in srgb, var(--p) 45%, var(--line-strong));
  box-shadow: 0 0 0 6px var(--bg), 0 0 34px -6px color-mix(in srgb, var(--p) 60%, transparent);
}
.story-orbit__name {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  padding: 4px 9px 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7, 9, 12, 0.94);
  font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: var(--text-2);
}
@container (max-width: 460px) {
  .story-orbit { aspect-ratio: 5 / 6; }
  .story-orbit__card { width: 62%; border-radius: 14px; }
  .story-orbit__label { letter-spacing: 0.14em; }
  .story-orbit__label::before { display: none; }
  .story-orbit__dot { width: 44px; height: 44px; box-shadow: 0 0 0 4px var(--bg), 0 0 26px -6px color-mix(in srgb, var(--p) 60%, transparent); }
  .story-orbit__dot .pmark { width: 24px; height: 24px; font-size: 11px; }
  .story-orbit__name { top: calc(100% + 6px); padding: 3px 7px; font-size: 0.625rem; letter-spacing: 0.08em; }
  .story-orbit__node--l .story-orbit__name { left: 0; transform: none; }
  .story-orbit__node--r .story-orbit__name { left: auto; right: 0; transform: none; }
}
@container (max-width: 300px) {
  .story-orbit__name { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* Story index: jump links under the hero */
.story-index { margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.story-index ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-index li + li { border-left: 1px solid var(--line); }
.story-index__link {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px 16px;
  padding: 26px clamp(16px, 2.2vw, 32px) 28px; height: 100%;
}
.story-index li:first-child .story-index__link { padding-left: 0; }
.story-index li:last-child .story-index__link { padding-right: 0; }
.story-index__link::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--p), color-mix(in srgb, var(--p) 0%, transparent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.story-index__link:hover::before, .story-index__link:focus-visible::before { transform: scaleX(1); }
.story-index__head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.story-index__no { font-family: var(--font-mono); font-size: 0.75rem; color: color-mix(in srgb, var(--p) 65%, var(--text)); }
.story-index__setting { font-family: var(--font-display); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2); }
.story-index__topic { font-family: var(--font-display); font-size: 1.1875rem; color: var(--text); letter-spacing: -0.015em; line-height: 1.25; }
.story-index__marks { display: flex; gap: 6px; }
.story-index__arrow { width: 18px; height: 18px; color: var(--text-2); transition: transform 0.3s var(--ease), color 0.3s; }
.story-index__link:hover .story-index__arrow { transform: translateY(3px); color: var(--text); }

/* ---------- Stories ---------- */
/* Jump links: html's scroll-padding-top clears the header; the negative margin cancels the
   article's own top padding so the kicker lands just under the header. */
.story { position: relative; padding-block: clamp(80px, 9.5vw, 144px); scroll-margin-top: calc(24px - clamp(80px, 9.5vw, 144px)); }
.story-list .story:first-child { padding-top: var(--section); scroll-margin-top: calc(24px - var(--section)); }
.story + .story { border-top: 1px solid var(--line); }
.story__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.story--flip .story__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.story--flip .story__copy { order: 2; }

.story__kicker { display: flex; align-items: center; gap: 14px; }
.story__no { font-family: var(--font-mono); font-size: 0.8125rem; color: color-mix(in srgb, var(--p) 70%, var(--text)); }
.story__rule { flex: none; width: 32px; height: 1px; background: linear-gradient(90deg, var(--p), color-mix(in srgb, var(--p) 20%, transparent)); }
.story__setting { font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-2); }
.story__title { margin-top: 26px; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 17em; }
.story__body { margin-top: 22px; max-width: 34em; color: var(--text-2); }

.story__stat { display: flex; align-items: flex-end; gap: 20px; margin: 40px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.story__value {
  order: -1; margin: 0; /* <dd> shown before its <dt> */
  display: flex; align-items: flex-start; flex: none;
  font-family: var(--font-display); font-weight: 300; color: var(--text);
  font-size: clamp(3.6rem, 2.4rem + 3.8vw, 5.75rem); line-height: 0.86; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
}
.story__num { display: inline-grid; }
.story__num > * { grid-area: 1 / 1; text-align: right; } /* count-up grows leftward inside the reserved width */
.story__sizer { visibility: hidden; }
.story__value small { font-size: 0.36em; font-weight: 400; letter-spacing: -0.01em; margin: 0.08em 0 0 0.14em; color: color-mix(in srgb, var(--p) 62%, var(--text)); }
.story__label { max-width: 12.5em; padding-bottom: 0.2em; font-size: var(--fs-small); line-height: 1.4; color: var(--text-2); }
.story__label abbr { text-decoration: none; border-bottom: 1px dotted var(--line-strong); cursor: help; }

.story__products { margin-top: 34px; }
.story__products-label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.story-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.story-chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 16px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02);
  color: var(--text); font-weight: 500; font-size: 0.9375rem;
  transition: border-color 0.25s, background-color 0.25s;
}
.story-chip > svg { width: 14px; height: 14px; color: var(--text-2); transition: transform 0.25s var(--ease), color 0.25s; }
.story-chip:hover { border-color: color-mix(in srgb, var(--p) 60%, transparent); background: color-mix(in srgb, var(--p) 9%, transparent); }
.story-chip:hover > svg { transform: translate(2px, -2px); color: var(--text); }
.story-chip:focus-visible { border-radius: 999px; }

.story__media { position: relative; min-width: 0; }
.story__frame { position: relative; }
.story__frame .shot-wrap { margin: 0; } /* <figure> UA margin; site.css has no figure reset */
.story__stack { position: relative; padding-top: 15%; }
.story__back { position: absolute; top: 0; right: 0; width: 72%; }
.story__back .shot { filter: brightness(0.62) saturate(0.85); }
.story__front { position: relative; z-index: 1; width: 88%; }
.story__event {
  position: absolute; z-index: 2; left: clamp(-28px, -2vw, -12px); bottom: clamp(-22px, -1.8vw, -14px);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text); white-space: nowrap;
  background: rgba(10, 14, 19, 0.88); border: 1px solid rgba(242, 161, 91, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
}
.story__event i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember-hot); box-shadow: 0 0 0 3px rgba(242, 161, 91, 0.2), 0 0 10px var(--ember); }
.story__event b { font-weight: 400; color: var(--text-2); padding-left: 10px; border-left: 1px solid var(--line-strong); }
.story--flip .story__event { left: auto; right: clamp(-28px, -2vw, -12px); }
.story__cap { display: flex; align-items: flex-start; gap: 12px; margin-top: 40px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); text-wrap: balance; }
/* Fixed-width rule, level with the first line when the caption wraps. */
.story__cap::before { content: ""; flex: none; width: 20px; height: 1px; margin-top: calc(0.5lh - 0.5px); background: currentColor; }
.story--flip .story__cap { justify-content: flex-end; }

/* Example care management minutes log (story 3). Framed with the shared .shot chrome. */
.story-log { container-type: inline-size; }
.story-log .shot { background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--p) 9%, transparent), transparent 70%), linear-gradient(180deg, #0f151c, #0a0f14); }
.story-log__body { display: grid; gap: clamp(16px, 3.4cqi, 24px); padding: clamp(18px, 4.2cqi, 30px) clamp(16px, 4.6cqi, 32px) clamp(40px, 7cqi, 48px); }
.story-log__head { display: flex; align-items: center; gap: 14px; }
.story-log__avatar, .story-log__who i {
  display: grid; place-items: center; flex: none; border-radius: 50%;
  font-family: var(--font-display); font-style: normal; font-weight: 500; color: var(--text);
  background: color-mix(in srgb, var(--p) 20%, #111820); border: 1px solid color-mix(in srgb, var(--p) 45%, transparent);
}
.story-log__avatar { width: 42px; height: 42px; font-size: 0.8125rem; letter-spacing: 0.02em; }
.story-log__id { min-width: 0; }
.story-log__name { font-family: var(--font-display); font-size: 1.0625rem; color: var(--text); line-height: 1.25; }
.story-log__sub { margin-top: 2px; font-size: var(--fs-xs); color: var(--text-2); line-height: 1.35; }
.story-log__head .status { margin-left: auto; flex: none; }

.story-log__meter { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 18px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.story-log__total { font-size: var(--fs-small); color: var(--text-2); }
.story-log__total b { margin-right: 4px; font-family: var(--font-display); font-weight: 300; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--text); }
.story-log__goal { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-2); }
.story-log__bar { position: relative; flex: 1 0 100%; height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
.story-log__bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--p) 55%, transparent), var(--p)); box-shadow: 0 0 14px -2px color-mix(in srgb, var(--p) 70%, transparent); }
.story-log__bar i { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--text); }

.story-log__list { list-style: none; }
.story-log__row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-areas: "ic what min" "ic meta time";
  align-items: center; gap: 3px 14px; padding: 13px 0; border-top: 1px solid var(--line);
}
.story-log__ic { grid-area: ic; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--p); background: color-mix(in srgb, var(--p) 12%, transparent); border: 1px solid color-mix(in srgb, var(--p) 28%, transparent); }
.story-log__ic svg { width: 18px; height: 18px; }
.story-log__what { grid-area: what; font-size: 0.9375rem; color: var(--text); line-height: 1.35; }
.story-log__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--fs-xs); color: var(--text-2); line-height: 1.35; }
.story-log__prod { color: color-mix(in srgb, var(--p) 75%, var(--text)); }
.story-log__who { display: inline-flex; align-items: center; gap: 6px; }
.story-log__who i { width: 18px; height: 18px; font-size: 0.5rem; }
.story-log__min { grid-area: min; justify-self: end; font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
.story-log__min b { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; color: var(--text); font-variant-numeric: tabular-nums; }
.story-log__time { grid-area: time; justify-self: end; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-2); white-space: nowrap; }
.story-log__foot { padding-top: 14px; border-top: 1px solid var(--line); text-align: right; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-2); }
@container (max-width: 440px) {
  .story-log__row { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "ic what min" "ic meta meta" "ic time time"; column-gap: 12px; }
  .story-log__ic { width: 32px; height: 32px; border-radius: 9px; align-self: start; margin-top: 2px; }
  .story-log__ic svg { width: 16px; height: 16px; }
  .story-log__time { justify-self: start; }
  .story-log__head { flex-wrap: wrap; row-gap: 10px; }
  .story-log__head .status { flex: 0 0 calc(100% - 56px); margin-left: 56px; } /* own line, under the name */
}

/* ---------- How we measure ---------- */
.story-measure { padding-top: clamp(24px, 3vw, 40px); }
.story-measure__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4.4vw, 60px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)), var(--bg-2);
}
.story-measure__panel::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(242, 161, 91, 0.55), transparent);
}
.story-measure__head { max-width: 620px; }
.story-measure__head h2 { margin-top: 18px; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.65rem); }
.story-measure__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.story-measure__list li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 36px) clamp(20px, 2.6vw, 36px) 4px; }
.story-measure__list li:first-child { padding-left: 0; }
.story-measure__list li:last-child { padding-right: 0; }
.story-measure__list li + li { border-left: 1px solid var(--line); }
.story-measure__list h3 { margin-top: 6px; font-size: 1.125rem; }
.story-measure__list p { font-size: var(--fs-small); color: var(--text-2); max-width: 30em; }
.story-measure__list .link-arrow { margin-top: 6px; font-size: 0.875rem; }
/* 44px tap target; the single flex line sits at the bottom so the underline stays under the text */
.story-hero .actions .link-arrow, .story-measure__list .link-arrow { min-height: 44px; flex-wrap: wrap; align-content: flex-end; }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) and (max-width: 1180px) {
  .story-index__setting { font-size: 0.625rem; letter-spacing: 0.16em; }
  .story-index__topic { font-size: 1.0625rem; }
}
/* Three index columns stop fitting "02 Physician practices · Missouri" on one line below ~1000px. */
@media (max-width: 1023px) {
  .story-index ol { grid-template-columns: minmax(0, 1fr); }
  .story-index li + li { border-left: 0; border-top: 1px solid var(--line); }
  .story-index__link, .story-index li:first-child .story-index__link, .story-index li:last-child .story-index__link { padding: 20px 0 22px; }
}
/* Two-column stories on small laptops and tablets in landscape: an even split and a tighter kicker
   keep "03 — Care management · Network wide" on one line. */
@media (min-width: 861px) and (max-width: 1120px) {
  .story__grid, .story--flip .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story__kicker { gap: 10px; }
  .story__rule { width: 18px; }
  .story__setting { letter-spacing: 0.16em; }
}
@media (max-width: 860px) {
  .story-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .story-hero__visual { margin-top: 12px; }

  .story__grid, .story--flip .story__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .story--flip .story__copy { order: 0; }
  .story__event, .story--flip .story__event { left: 12px; right: auto; bottom: -18px; }
  .story--flip .story__cap { justify-content: flex-start; }

  .story-measure__list { grid-template-columns: minmax(0, 1fr); }
  .story-measure__list li, .story-measure__list li:first-child, .story-measure__list li:last-child { padding: 26px 0; }
  .story-measure__list li:last-child { padding-bottom: 0; }
  .story-measure__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .story__event, .story--flip .story__event { left: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); white-space: normal; font-size: 0.6875rem; line-height: 1.35; padding: 8px 12px 8px 10px; gap: 8px; border-radius: 16px; }
  .story__event b { padding-left: 8px; white-space: nowrap; }
  .story__kicker { gap: 10px; }
  .story__rule { width: 18px; }
  .story__setting, .story-index__setting { letter-spacing: 0.18em; }
  .story__stat { gap: 16px; }
  .story-chip { font-size: 0.875rem; }
}
/* One-line kicker on 360-390px phones: number and setting only, like the index above. */
@media (max-width: 400px) {
  .story__kicker { gap: 12px; }
  .story__rule { display: none; }
  .story__setting { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .story-orbit__arc { animation: none; }
  .story-index__link::before, .story-index__arrow, .story-chip > svg { transition: none; }
}
