.timeline-page { color: var(--navy); }
.timeline-page .progress-shell { max-width: 1180px; padding-block: 34px 70px; }
.timeline-page .progress-hero { max-width: 860px; margin-bottom: 26px; }
.timeline-page .breadcrumb { margin: 0 0 16px; }
.progress-preview-note { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; width: fit-content; margin-bottom: 24px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 5px; background: white; font-size: .875rem; }
.progress-preview-note strong { color: var(--burgundy-deep); }
.progress-preview-note a { display: inline-flex; min-height: 36px; align-items: center; }
.timeline-page h1 { margin: 0 0 12px; color: var(--navy); font-family: var(--serif); font-size: clamp(2.625rem,5vw,4rem); line-height: 1.08; }
.timeline-page .progress-intro { font-size: 1.25rem; color: var(--muted); margin: 0; }
.timeline-page p { font-size: 1rem; line-height: 1.65; }
.timeline-page .progress-now { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding: 28px 32px; border-radius: 8px; background: var(--navy); color: white; }
.timeline-page .progress-now :is(h2,h3,p,a) { color: white; }
.timeline-page .progress-now h2 { font-size: 1.5rem; line-height: 1.35; margin: 0 0 10px; }
.timeline-page .progress-now h3 { font-size: 1.1875rem; line-height: 1.4; margin: 0 0 4px; }
.timeline-page .progress-now p:last-child { margin: 0; }
.timeline-page .progress-eyebrow { font-size: .875rem; font-weight: 700; margin: 0 0 8px; }
.progress-next { border-left: 1px solid #75829a; padding-left: 32px; }
.progress-next a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 4px; }
.progress-section-head { margin: 40px 0 28px; }
.timeline-page h2 { font-size: 1.5rem; line-height: 1.35; margin: 0 0 8px; }
.progress-section-head p { color: var(--muted); margin: 0; }
.progress-list { position: relative; margin: 0; padding: 0; list-style: none; }
.progress-list::before { content: ''; position: absolute; top: 13px; bottom: 50px; left: 180px; width: 2px; background: #c9b2af; }
.progress-node { position: relative; display: grid; grid-template-columns: 140px 24px minmax(0,1fr); gap: 0 28px; padding-bottom: 28px; }
.timeline-page .progress-date { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.55; padding-top: 2px; margin: 0; }
.progress-dot { z-index: 1; width: 15px; height: 15px; border: 3px solid var(--burgundy); border-radius: 50%; margin: 4px auto 0; background: var(--cream); box-shadow: 0 0 0 5px var(--cream); }
.progress-card { min-width: 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 10px #10203a05; }
.progress-card-top { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 26px; align-items: start; }
.timeline-page .progress-kind { color: var(--burgundy-deep); font-size: .875rem; font-weight: 700; margin: 0 0 7px; }
.timeline-page .progress-card h3 { color: var(--navy); font-size: 1.375rem; line-height: 1.3; margin: 0 0 10px; }
.timeline-page .progress-description { margin: 0 0 8px; }
.progress-source-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--burgundy-deep); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.progress-proof { min-width: 0; margin: 0; }
.proof-open { display: block; border: 1px solid #dcd8d1; border-radius: 5px; color: var(--navy); background: #f5f3f0; overflow: hidden; text-decoration: none; }
.proof-open img { display: block; width: 100%; height: 145px; object-fit: contain; background: #f5f3f0; }
.progress-photo .proof-open img { object-fit: cover; }
.proof-open-label { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 12px; font-size: .875rem; font-weight: 600; background: #fff; border-top: 1px solid #e5e0d9; }
.proof-open-label span { font-size: 1.25rem; }
.progress-proof figcaption { font-size: .875rem; color: var(--muted); line-height: 1.45; padding-top: 6px; }
.progress-document { align-self: stretch; min-height: 190px; padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--burgundy); border-radius: 5px; background: #f8f6f2; }
.timeline-page .progress-document p { margin: 0 0 8px; font-size: .875rem; color: var(--muted); }
.progress-document strong { display: block; margin: 10px 0 4px; color: var(--navy); font-size: 1.875rem; }
.progress-document a { display: inline-flex; min-height: 44px; align-items: center; font-size: .875rem; font-weight: 600; }
.progress-sources { margin-top: 18px; border-top: 1px solid #ece7e0; padding-top: 2px; }
.progress-sources summary { width: fit-content; max-width: 100%; min-height: 44px; padding: 10px 0; cursor: pointer; color: var(--navy); font-size: .9375rem; font-weight: 600; }
.timeline-page .progress-sources p { margin: 4px 0 10px; color: var(--muted); font-size: .9375rem; }
.progress-sources ul { display: flex; flex-wrap: wrap; gap: 0 24px; padding: 0; margin: 0; list-style: none; }
.progress-sources a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-underline-offset: 3px; }
.progress-node-now { padding-bottom: 0; }
.progress-node-now .progress-dot { background: var(--burgundy); }
.progress-current-card { border: 2px solid var(--burgundy); }
.timeline-page .progress-current-card p { margin: 0 0 10px; }
.timeline-page .progress-current-card .progress-kind { margin-bottom: 8px; }
.timeline-page .progress-condition { color: var(--muted); }
.progress-support-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--burgundy-deep); }
.timeline-page .progress-record-note { max-width: 780px; margin: 24px 0 0 220px; color: var(--muted); font-size: .9375rem; }
.progress-more { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 38px; }
.progress-more div { display: flex; flex-wrap: wrap; gap: 2px 28px; }
.progress-more a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.timeline-page [id] { scroll-margin-top: 125px; }
.timeline-page a:focus-visible,.timeline-page button:focus-visible,.timeline-page summary:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 4px; }
.timeline-lightbox { width: min(1120px,calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 20px; border: 0; border-radius: 8px; color: var(--navy); background: #fff; }
.timeline-lightbox::backdrop { background: #061529d9; }
.proof-lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.timeline-page .proof-lightbox-head p { margin: 0; font-size: 1rem; font-weight: 700; }
.proof-lightbox-head button { min-height: 44px; min-width: 80px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--navy); cursor: pointer; font: inherit; }
.proof-lightbox-image { display: block; max-width: 100%; max-height: 72vh; width: auto; height: auto; margin: auto; object-fit: contain; }
.timeline-page .proof-lightbox-note { margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
@media(max-width:1050px) {
  .progress-node { grid-template-columns: 120px 20px minmax(0,1fr); gap: 0 20px; }
  .progress-list::before { left: 150px; }
  .progress-card-top { grid-template-columns: minmax(0,1fr) 210px; gap: 20px; }
  .progress-card { padding: 20px; }
  .timeline-page .progress-record-note { margin-left: 180px; }
}
@media(max-width:800px) {
  .timeline-page .progress-shell { padding-block: 26px 44px; }
  .timeline-page .progress-now { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .progress-next { border-left: 0; border-top: 1px solid #75829a; padding: 18px 0 0; }
  .progress-node { grid-template-columns: 20px minmax(0,1fr); gap: 0 14px; padding-bottom: 26px; }
  .progress-list::before { left: 10px; }
  .progress-node .progress-date { grid-column: 2; grid-row: 1; margin-bottom: 9px; }
  .progress-dot { grid-column: 1; grid-row: 1; margin-top: 5px; }
  .progress-card { grid-column: 2; grid-row: 2; padding: 18px; }
  .progress-card-top { grid-template-columns: 1fr; gap: 14px; }
  .timeline-page .progress-card h3 { font-size: 1.25rem; }
  .proof-open img { height: 160px; }
  .timeline-page .progress-record-note { margin-left: 34px; }
  .progress-sources ul { display: block; }
  .timeline-lightbox { padding: 14px; }
}
@media(prefers-reduced-motion:reduce) { .timeline-page,.timeline-lightbox { scroll-behavior: auto; } }

/* Alternating timeline variant. Base branding and interactions stay shared. */
.progress-preview-note a { min-height: 44px; }
.progress-node-now { padding-bottom: 28px; }
.timeline-page .progress-record-note { max-width: 820px; margin: 26px auto 0; }
@media (min-width: 1051px) {
  .progress-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    grid-auto-rows: minmax(54px, auto);
    column-gap: 0;
    row-gap: 22px;
    align-items: start;
  }
  .progress-list::before { left: calc(50% - 1px); top: 12px; bottom: 30px; }
  .progress-node {
    display: block;
    grid-row: var(--timeline-row) / span 2;
    padding-bottom: 0;
    align-self: start;
    min-width: 0;
  }
  .progress-node:nth-child(odd) { grid-column: 3; }
  .progress-node:nth-child(even) { grid-column: 1; }
  .progress-node .progress-date { margin: 0 0 10px; padding-top: 1px; }
  .progress-node:nth-child(even) .progress-date { text-align: right; }
  .progress-node .progress-dot { position: absolute; top: 5px; margin: 0; }
  .progress-node:nth-child(odd) .progress-dot { left: -43.5px; }
  .progress-node:nth-child(even) .progress-dot { right: -43.5px; }
  .progress-card { padding: 21px; }
  .progress-card-top { grid-template-columns: minmax(0, 1fr) 160px; gap: 18px; }
  .timeline-page .progress-card h3 { font-size: 1.25rem; line-height: 1.35; }
  .proof-open img { height: 114px; }
  .proof-open-label { padding-inline: 9px; }
  .progress-proof figcaption { font-size: .875rem; }
  .progress-document { padding: 14px; min-height: 170px; }
  .progress-document strong { font-size: 1.625rem; }
  .timeline-page .progress-record-note { margin: 28px auto 0; }
}
@media (max-width: 1050px) {
  .progress-list { display: block; }
  .progress-list::before { left: 10px; }
  .progress-node { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 0 14px; padding-bottom: 26px; }
  .progress-node .progress-date { grid-column: 2; grid-row: 1; margin: 0 0 9px; text-align: left; }
  .progress-node .progress-dot { position: static; grid-column: 1; grid-row: 1; margin: 5px auto 0; }
  .progress-card { grid-column: 2; grid-row: 2; }
  .progress-card-top { grid-template-columns: minmax(0,1fr) 245px; }
  .timeline-page .progress-record-note { margin-left: 34px; }
}
@media (max-width: 800px) {
  .progress-card-top { grid-template-columns: 1fr; }
}

/* Full document covers keep their own proportions and touch the frame edges. */
.timeline-page .progress-cover .proof-static,
.timeline-page .progress-portrait-photo .proof-static {
  padding: 0;
  background: transparent;
}
.timeline-page .progress-cover .proof-static img,
.timeline-page .progress-portrait-photo .proof-static img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: initial;
  padding: 0;
  margin: 0;
  background: transparent;
}
.progress-proof .proof-static { display: block; overflow: hidden; border: 1px solid #dcd8d1; border-radius: 5px; cursor: default; }
.progress-proof .proof-static img { display: block; width: 100%; }
.progress-photo .proof-static img { height: 145px; object-fit: cover; }
@media (min-width: 1051px) { .progress-photo .proof-static img { height: 114px; } }
@media (max-width: 800px) { .progress-photo .proof-static img { height: 160px; } }

/* A compact summary leaves the dated record visible below. */
.timeline-page .progress-now.progress-roadmap { display: block; padding: 16px 24px; }
.roadmap-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.timeline-page .progress-roadmap .roadmap-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.roadmap-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin: 14px 0 10px; padding: 0; list-style: none; }
.roadmap-stage { position: relative; min-width: 0; }
.roadmap-stage:not(:last-child)::after { content: ''; position: absolute; z-index: 0; top: 8px; left: 18px; right: -24px; height: 2px; background: #77829a; }
.roadmap-marker { display: block; position: relative; z-index: 1; width: 18px; height: 18px; margin-bottom: 8px; border: 1px solid #aeb8ca; border-radius: 50%; background: #7e889b; }
.roadmap-stage-current .roadmap-marker { background: #f1bbb2; border-color: #fff3ed; box-shadow: 0 0 0 3px #f1bbb230; }
.timeline-page .roadmap-stages h3 { margin: 0; font-size: 1rem; line-height: 1.4; }
.timeline-page .roadmap-stage:not(.roadmap-stage-current) h3 { color: #d2d8e3; }
.roadmap-footer { padding-top: 8px; border-top: 1px solid #ffffff30; }
.timeline-page .roadmap-footer .roadmap-condition { margin: 0; color: #e0e5ef; font-size: .875rem; line-height: 1.5; }
.timeline-page .progress-now .roadmap-support { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #ddd2c8; border-radius: 5px; background: var(--cream); color: var(--navy); text-decoration: none; font-size: .875rem; font-weight: 700; line-height: 1.4; }
.timeline-page .progress-now .roadmap-support:hover { background: #fff; }
.timeline-page .roadmap-support:focus-visible { outline: 3px solid #f2b9b4; outline-offset: 4px; }
.timeline-page .progress-hero { margin-bottom: 18px; }
.progress-section-head { margin: 28px 0 20px; }
@media (max-width: 850px) {
  .timeline-page .progress-now.progress-roadmap { padding: 16px; }
  .roadmap-heading { gap: 12px; }
  .timeline-page .progress-roadmap .roadmap-heading h2 { font-size: 1.125rem; }
  .roadmap-stages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; margin-block: 14px 10px; }
  .roadmap-stage::after { display: none; }
  .roadmap-marker { margin-bottom: 6px; }
  .timeline-page .progress-roadmap .roadmap-support { padding-inline: 10px; }
  .timeline-page .progress-hero { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .timeline-page .progress-shell { padding-top: 20px; }
  .progress-preview-note { gap: 4px 8px; padding: 4px 8px; margin-bottom: 16px; }
  .timeline-page h1 { font-size: 2.25rem; }
  .timeline-page .progress-intro { font-size: 1.125rem; }
  .progress-section-head { margin: 20px 0 16px; }
}
