/* Industry milestones frame Alberto's own story; keep the original photo intact. */
.story-heading { margin-bottom: clamp(20px, 3vh, 30px); }
.story-timeline { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.story-timeline li { min-width: 0; border-top: 2px solid var(--line-strong); padding-top: 14px; }
.story-timeline li.story-now { border-top-color: var(--cyan); }
.story-era { margin: 0 0 9px; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .08em; }
.story-now .story-era { color: var(--cyan); }
.story-timeline h3 { margin: 0 0 9px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.15; }
.story-timeline li > p:not(.story-era) { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.story-caveat { margin: 0 0 20px; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.story-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px, 3vw, 38px); padding-top: 22px; border-top: 1px solid var(--line); }
.story-photo { min-width: 0; margin: 0; }
.story-photo img { display: block; width: 100%; height: 160px; object-fit: contain; background: #060d12; border: 1px solid var(--line); border-radius: 12px; }
.story-photo figcaption { display: flex; flex-wrap: wrap; gap: 3px 8px; margin-top: 8px; color: var(--muted); font-size: .65rem; line-height: 1.4; }
.story-photo a, .story-sources a { color: var(--cyan); text-underline-offset: 3px; }
.story-milestone { min-width: 0; }
.story-milestone .story-era { color: var(--violet); }
.story-milestone h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; }
.story-milestone > p:last-child { color: var(--muted); font-size: .95rem; line-height: 1.45; margin: 0; max-width: 380px; }
.story-bridge { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; }
.story-bridge p { margin: 0; display: grid; gap: 5px; }
.story-bridge p > span { color: var(--muted-2); font-size: .62rem; font-weight: 750; letter-spacing: .08em; }
.story-bridge p > strong { font-size: .92rem; line-height: 1.35; font-weight: 600; }
.story-bridge p:last-child > span { color: var(--cyan); }
.story-arrow { color: var(--muted-2); font-size: 1.5rem; }
.story-sources { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 16px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.5; }
.story-sources a { white-space: nowrap; }
/* Override the earlier full-size photo rule used by the old story layout. */
@media screen and (min-width: 821px) {
  body.presenting .story-photo img { height: 160px; }
}
@media (max-width: 1000px) {
  .story-timeline { gap: 12px; }
  .story-layout { gap: 22px; }
  .story-milestone h3 { font-size: 1.3rem; }
}
@media (max-width: 820px) {
  .story-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .story-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; }
  .story-photo { grid-row: span 2; align-self: start; }
  .story-photo img { height: auto; max-height: 260px; }
  .story-bridge { align-items: flex-start; gap: 16px; }
  .story-bridge p { flex: 1; }
}
@media (max-width: 520px) {
  .story-timeline { grid-template-columns: 1fr; gap: 16px; }
  .story-timeline li { border-top: 0; border-left: 2px solid var(--line-strong); padding: 0 0 0 16px; }
  .story-timeline li.story-now { border-left-color: var(--cyan); }
  .story-layout { grid-template-columns: 1fr; }
  .story-photo { grid-row: auto; width: 100%; max-width: 360px; justify-self: center; }
  .story-milestone h3 { font-size: 1.5rem; }
  .story-bridge { flex-direction: column; gap: 14px; }
  .story-arrow { display: none; }
}
@media (min-width: 821px) and (max-height: 760px) {
  body.presenting .story-heading h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
  body.presenting .story-heading { margin-bottom: 18px; }
  body.presenting .story-timeline { margin-bottom: 8px; }
  body.presenting .story-caveat { margin-bottom: 14px; }
  body.presenting .story-timeline li { padding-top: 10px; }
  body.presenting .story-layout { padding-top: 16px; }
  body.presenting .story-photo img { height: 120px; }
  body.presenting .story-bridge { margin-top: 16px; padding-top: 12px; }
  body.presenting .story-sources { margin-top: 12px; }
  body.presenting .closing-principles { margin-top: 26px; }
}
@media print {
  .story-heading { margin-bottom: 18px; }
  .story-timeline { margin-bottom: 8px; break-inside: avoid; }
  .story-caveat { margin-bottom: 14px; }
  .story-layout { padding-top: 16px; break-inside: avoid; }
  .story-photo img { height: 140px; }
  .story-bridge { margin-top: 16px; padding-top: 12px; }
  .story-sources { margin-top: 12px; }
}
