/* Antonio's story page (piece 1b, plan task 4.1; spec ST1): its part of the mockup's pages.css
   (docs/design/home-sections/, the story rules at :62-74 and the blocks at :12-16) under the size
   rules of docs/decisions.md section 1 and the spec's differences 12 and 13: every sentence and
   list item at 18 px, the "Inicio" link at 17 px with a 48 px tap area; the eyebrow and the
   timeline's years, labels of spec SZ1, keep the mockup's 15 and 16 px. Every class of the page
   starts with "story-" (end review T24), except the shared head (pages.css) and the two labels.
   Only features on the phone floor of docs/decisions.md section 15. Tokens from site.css. */

/* the page (pages.css:3): the content starting closer to the header */
.page { display: block; padding-top: calc(var(--header-h) + var(--safe-t) + 18px); }

/* "Inicio", back to the home page (pages.css:8-9): a text link with its arrow (difference 13) */
.story-back { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); margin-bottom: 4px;
  color: var(--moss); font-weight: 700; font-size: 17px; text-decoration: none; }
.story-back::before { content: "←"; }

/* the eyebrow over the heading (pages.css:4), a label of SZ1, as on the catalogue's pages */
.eyebrow { margin: 0; font: 700 15px/1.3 var(--body); color: var(--moss); }
/* Antonio's texts, the lead and every block's, break a long word or address rather than widening
   the page (administration spec R2, plan 3.2), overflow-wrap: anywhere being on the floor
   (floor.md) */
.story-lead { margin: 0; font-size: 19.5px; line-height: 1.55; color: #3F4D42; overflow-wrap: anywhere; }

/* the blocks (pages.css:12-16), the brands and languages beside the others on desktop */
.story-grid { display: grid; gap: 18px; }
.story-main, .story-side { display: grid; gap: 18px; align-content: start; }
.story-block { display: grid; gap: 12px; padding: 22px 20px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line);
  overflow-wrap: anywhere; }
.story-block h2 { margin: 0; font: 500 28px/1.15 var(--display); }
.story-block p { margin: 0; font-size: 18px; line-height: 1.6; }
.story-future { background: #FFF7E3; border-color: #F0D9A0; }

/* the training and brands lists (pages.css:63-64), at 18 px (difference 12) */
.story-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story-tags li { padding: 8px 12px; border-radius: 12px; background: var(--linen); border: 1px solid var(--line); font-size: 18px; }

/* the concept's facts with their tick (pages.css:46-47, :28), at 18 px (difference 12) */
.story-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.story-facts li { display: grid; grid-template-columns: 22px 1fr; font-size: 18px; line-height: 1.5; }
.story-facts svg { width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--moss); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }

/* the timeline (pages.css:67-74): a moss line with a dot per entry, the last one in amber as now */
.story-tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 26px; }
.story-tl::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--moss); }
.story-tl-item { position: relative; padding-left: 44px; display: grid; gap: 4px; }
.story-tl-dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--moss); }
.story-tl-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--moss); }
.story-tl-now .story-tl-dot { background: var(--amber); border-color: var(--amber); }
.story-tl .tl-year { margin: 0; font: 700 16px/1.3 var(--body); color: var(--moss); }
.story-tl-item h3 { margin: 0; font: 500 26px/1.15 var(--display); }
.story-tl-item p:last-child { color: var(--muted); }

@media (min-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 28px; align-items: start; }
  .story-side { position: sticky; top: calc(var(--header-h) + 20px); }
  .story-block { padding: 26px 28px; }
}
