/* History uses the main page's 1200px container and shared shell. */
.history-page { --history-muted: #687b91; --history-line: #dce3ea; }
.history-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.history-skip { position: absolute; top: -80px; left: 20px; z-index: 5; background: white; padding: 10px 20px; }
.history-skip:focus { top: 10px; }
.history-opening { background: #f5f7f9 url('/assets/images/history/history-hero-v2.png') center bottom / cover no-repeat; }
.history-eyebrow { color: var(--history-muted); font-size: 13px; font-weight: 500; letter-spacing: .28em; line-height: 1.6; }
.history-motto { padding-left: 22px; border-left: 1px solid #8d9bad; color: #52667e; font-size: 9px; line-height: 2; letter-spacing: .27em; }
.history-hero h1 { max-width: 950px; }
.history-main { padding-block: 56px 80px; }
.history-main:focus { outline: none; }
.history-journey { display: grid; grid-template-columns: 280px 1fr auto; align-items: center; gap: 36px; margin-bottom: 64px; }
.history-journey > p:not(.history-motto) { font-size: 18px; color: var(--history-muted); line-height: 1.8; letter-spacing: -.02em; }
.history-timeline { --year-width: 180px; margin-left: 120px; }
.history-year { position: relative; display: grid; grid-template-columns: var(--year-width) minmax(0, 1fr); }
.history-year + .history-year { border-top: 1px solid var(--history-line); }
.history-year::before { content: ''; position: absolute; top: 0; bottom: 0; left: var(--year-width); width: 1px; background: #8d9bad; }
.history-year h3 { position: relative; padding-top: 22px; color: #66768c; font-size: 40px; font-weight: 400; letter-spacing: -.045em; line-height: 1.3; }
.history-year h3::after { content: ''; position: absolute; top: 41px; right: -6px; width: 11px; height: 11px; border-radius: 50%; background: #263b4c; border: 2px solid #fff; box-sizing: content-box; }
.history-year > ol { list-style: none; margin: 0; padding: 20px 0 44px 64px; }
.history-year > ol > li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 28px; align-items: baseline; padding-block: 12px; font-size: 17px; line-height: 1.65; letter-spacing: -.025em; }
.history-events { list-style: none; margin: 0; padding: 0; }
.history-events > li + li { margin-top: 10px; }
.history-event-detail { display: block; margin-top: 4px; color: var(--history-muted); font-size: .875em; overflow-wrap: anywhere; }
.history-year time { color: #7c8fa6; font-size: 16px; font-variant-numeric: tabular-nums; }
.history-year a:hover { color: #526e82; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1100px) {
  .history-journey { grid-template-columns: 220px 1fr auto; gap: 24px; }
  .history-timeline { margin-left: 64px; --year-width: 140px; }
  .history-year > ol { padding-left: 40px; }
  .history-year > ol > li { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; font-size: 16px; }
}
@media (max-width: 767px) {
  .history-opening { background-position: 62% bottom; }
  .history-main { padding-block: 36px 48px; }
  .history-journey { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .history-journey > p:not(.history-motto) { font-size: 16px; }
  .history-journey .history-motto { display: none; }
  .history-timeline { margin-left: 0; --year-width: 76px; }
  .history-year h3 { font-size: 28px; padding-top: 18px; }
  .history-year h3::after { top: 30px; }
  .history-year > ol { padding: 12px 0 28px 24px; }
  .history-year > ol > li { grid-template-columns: 1fr; gap: 4px; padding-block: 12px; font-size: 14px; }
  .history-year time { font-size: 12px; }
}
