/* Reviewed adaptation of Home I, L04/L05/L06, SuiteDesign 9e49a7272a4bf0d45e5740419ff98bf199fbc22f. */
:root {
  color-scheme: light;
  --surface: #dfdcd7;
  --surface-raised: #eeece9;
  --surface-sunken: #d7d3cc;
  --canvas: #dfdcd7;
  --border: #19191933;
  --hairline: #19191933;
  --text-primary: #191919;
  --text-secondary: #555;
  --text-tertiary: #555;
  --accent: #00829e;
  --accent-strong: #05687f;
  --scrim-heavy: #eeece9f5;
  --code: #05687f;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --surface: #191919;
    --surface-raised: #2b2a29;
    --surface-sunken: #151515;
    --canvas: #191919;
    --border: #dfdcd733;
    --hairline: #dfdcd733;
    --text-primary: #dfdcd7;
    --text-secondary: #b7b5b2;
    --text-tertiary: #b7b5b2;
    --accent: #049cbd;
    --accent-strong: #86d5ee;
    --scrim-heavy: #2b2a29f5;
    --code: #86d5ee;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--surface);
  font: 400 16px/24px var(--sans);
}
a {
  color: var(--accent-strong);
}
button,
input,
textarea {
  font: inherit;
}
button,
.back-now {
  cursor: pointer;
  color: var(--text-primary);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 6px;
}
.back-now {
  text-decoration: none;
}
button:hover,
.back-now:hover {
  border-color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 12px;
  background: var(--surface-raised);
}
.skip:focus {
  top: 8px;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px max(24px, calc((100vw - 1280px) / 2 + 24px));
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 10px;
  font-size: 14px;
}
.site-header nav a[aria-current] {
  color: var(--text-primary);
  background: var(--accent-tint);
  border-radius: 6px;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 32px;
  color: var(--text-secondary);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.site-footer a {
  color: inherit;
}
.home-main {
  max-width: 1280px;
  margin: auto;
}
/* Keep the footer visually below main while home Tab order ends at Back to now. */
.home {
  display: flex;
  flex-direction: column;
}
.home .home-main {
  order: 1;
  width: 100%;
}
.home .site-footer {
  order: 2;
}
.home-intro {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px 20px;
}
.portrait {
  width: 96px;
  flex: none;
}
.portrait figure {
  margin: 0;
}
.portrait img {
  width: 96px;
  height: 112px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 12px;
}
.portrait figcaption {
  display: block;
  font: 400 11px/16px var(--sans);
  max-height: 40px;
  overflow: auto;
  color: var(--text-secondary);
}
.home-intro h1 {
  font: 600 57px/64px var(--display);
  margin: 0;
}
.home-intro p {
  margin: 4px 0 0;
  color: var(--text-secondary);
}
.timeline-body {
  position: relative;
  border-top: 1px solid var(--border);
}
.timeline-wrap {
  padding: 16px 100px 16px 32px;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-auto-flow: dense;
}
.home-tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-width: 0;
  background: #191919;
  isolation: isolate;
}
.home-tile.r2 {
  grid-row: span 2;
}
.home-tile.w2 {
  grid-column: span 2;
}
.tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0006, #0000 40%);
  z-index: -1;
}
.tile-copy {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  width: fit-content;
  max-width: calc(100% - 16px);
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--scrim-heavy);
  color: var(--text-primary);
  pointer-events: none;
}
.tile-copy a {
  color: var(--text-primary);
  text-decoration: none;
  pointer-events: auto;
}
.tile-copy h2 {
  font: 600 16px/22px var(--sans);
  margin: 0 0 2px;
}
.tile-copy h2 a::after {
  content: "";
  position: absolute;
  inset: -160px -16px -16px;
  z-index: 0;
}
.tile-copy p {
  margin: 0;
  font-size: 14px;
}
.kicker {
  font: 400 11px/16px var(--mono);
  color: var(--text-secondary);
}
.photo-credit a {
  color: inherit;
}
.timeline-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: var(--text-secondary);
  font: 400 14px/20px var(--mono);
}
.year-rail {
  position: absolute;
  right: 28px;
  top: 30px;
  bottom: 30px;
  width: 48px;
  cursor: pointer;
  touch-action: none;
}
.home:not(.enhanced) .year-rail {
  display: none;
}
.rail-line {
  position: absolute;
  right: 23px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.rail-start,
.rail-end {
  position: absolute;
  right: 0;
  font: 400 11px/16px var(--mono);
  background: var(--surface);
  padding: 2px;
}
.rail-start {
  top: -18px;
}
.rail-end {
  bottom: -18px;
}
.rail-thumb {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 2px 5px;
  background: var(--surface-raised);
  font: 600 12px/18px var(--mono);
  transform: translateY(-50%);
}
.home.enhanced {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.home.enhanced .home-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  width: 100%;
}
.home.enhanced .timeline-body {
  flex: 1;
  min-height: 0;
}
.home.enhanced .timeline-scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}
.home.enhanced .site-footer {
  flex: none;
  padding-block: 8px;
}
.timeline-grid.filtered {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 300px;
}
.timeline-grid.filtered .home-tile {
  grid-column: auto;
  grid-row: auto;
}
.loop-buffer {
  pointer-events: none;
}
.loop-buffer .home-tile {
  opacity: 0.95;
}
.glide {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  pointer-events: none;
  animation: glide 2s ease-in-out 2;
}
@keyframes glide {
  50% {
    translate: 0 8px;
  }
}
.page {
  padding-top: 48px;
  padding-bottom: 64px;
}
.page article {
  max-width: 960px;
  margin: auto;
}
.page figure {
  margin: 24px 0;
}
.page picture {
  display: block;
}
.page img {
  max-width: 100%;
  height: auto;
}
.page .photo-credit {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
  margin-top: 8px;
}
.prose {
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: anywhere;
}
.prose h2,
.prose .reader-heading-2 {
  font: 600 28px/34px var(--display);
  margin-top: 32px;
}
.prose h3,
.prose .reader-heading-3 {
  font-size: 20px;
}
.prose pre {
  max-width: 100%;
  overflow: auto;
  white-space: pre;
  padding: 16px;
  background: var(--surface-sunken);
  border-radius: 8px;
  font: 400 13px/20px var(--mono);
}
.prose code {
  font-family: var(--mono);
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.tags li {
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
form {
  display: grid;
  gap: 8px;
}
input,
textarea {
  width: 100%;
  padding: 10px;
  color: inherit;
  background: var(--surface-raised);
  border: 1px solid var(--border);
}
textarea {
  min-height: 160px;
}
form button {
  justify-self: start;
}
dialog {
  width: min(880px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text-primary);
  overflow: auto;
}
dialog::backdrop {
  background: #0009;
}
.reader-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
  z-index: 5;
}
#reader-body {
  padding: 24px 32px;
}
#reader-body img {
  max-width: 100%;
  height: auto;
}
#reader-body figure {
  margin: 16px 0;
}
#reader-body .photo-credit {
  font-size: 12px;
  line-height: 18px;
}
.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}
@media (max-width: 760px) {
  .site-header {
    padding: 8px 16px;
    gap: 8px;
    align-items: flex-start;
  }
  .wordmark {
    font-size: 0;
  }
  .site-header nav {
    gap: 0;
    justify-content: flex-end;
  }
  .site-header nav a {
    font-size: 12px;
    padding: 6px 7px;
  }
  .home-intro {
    padding: 16px 20px;
    gap: 16px;
  }
  .home-intro h1 {
    font-size: 36px;
    line-height: 44px;
  }
  .home-intro p {
    font-size: 14px;
    line-height: 20px;
  }
  .portrait,
  .portrait img {
    width: 64px;
  }
  .portrait img {
    height: 84px;
  }
  .timeline-wrap {
    padding: 16px 60px 16px 20px;
  }
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 155px;
    gap: 12px;
  }
  .home-tile.w2 {
    grid-column: span 2;
  }
  .tile-copy h2 {
    font-size: 16px;
    line-height: 22px;
  }
  .year-rail {
    right: 8px;
    width: 40px;
  }
  .rail-line {
    right: 19px;
  }
  .site-footer {
    padding: 12px 20px;
    gap: 8px 12px;
    font-size: 11px;
  }
  .page {
    padding-top: 24px;
  }
  .ph1 {
    font-size: 40px;
    line-height: 46px;
  }
  #reader-body {
    padding: 20px;
  }
  .page .prose figure img {
    max-height: 600px;
    width: auto;
  }
  .page .prose pre {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.tile-kind {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--scrim-heavy);
  color: var(--text-primary);
  font: 400 12px/16px var(--sans);
}
.map-mark {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-raised);
  border-radius: 12px;
  padding: 12px;
}
.tile-copy .kicker {
  display: block;
}
.tile-copy h2 a::after {
  inset: -200px -10px -8px;
}
.wordmark picture {
  display: flex;
}
.map-mark img {
  display: block;
}

/* H2 fix1: credits occupy their own row below the media; no clipping or badge overlay. */
.timeline-grid {
  grid-auto-rows: minmax(340px, auto);
}
.home-tile > figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tile-media {
  position: relative;
  flex: 1;
  min-height: 200px;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}
.tile-media > picture:not(.map-mark),
.tile-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tile-media > picture:not(.map-mark) > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-tile[data-entry="lansanchor-retired"] .tile-media > img {
  object-fit: contain;
}
.home-tile .photo-credit {
  position: static;
  max-width: none;
  max-height: none;
  height: auto;
  overflow: visible;
  padding: 10px;
  flex: none;
  background: var(--surface-raised);
  color: var(--text-primary);
  font: 400 11px/16px var(--sans);
  overflow-wrap: anywhere;
}
.credit-edits {
  display: block;
  margin-top: 4px;
}
.portrait figcaption {
  max-height: none;
  overflow: visible;
}
.tile-copy {
  z-index: 1;
  position: relative;
  inset: auto;
  margin: 40px 8px 8px;
  flex: none;
  overflow-wrap: anywhere;
}
.tile-kind {
  z-index: 2;
}
.tile-copy h2 a::after {
  inset: 0;
}
.launch-warning {
  padding: 16px;
  margin: 24px 0;
  border: 1px solid var(--accent);
  background: var(--surface-raised);
}
@media (max-width: 760px) {
  .timeline-grid {
    grid-auto-rows: minmax(280px, auto);
  }
  .tile-media {
    min-height: 155px;
  }
}

/* The loop owns scroll position; native anchoring must not double the buffer offset. */
.timeline-scroll {
  overflow-anchor: none;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
