:root {
  --surface: #fff; --elevated: #f2f2f7; --text: #000; --muted: rgb(60 60 67 / .82);
  --faint: rgb(60 60 67 / .74); --fill: rgb(118 118 128 / .12); --divider: rgb(60 60 67 / .29);
  --focus: #007aff; --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--surface); }
body {
  margin: 0; min-height: 100dvh; background: var(--surface); color: var(--text);
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { width: min(760px, 100% - 40px); margin: 0 auto; padding: 72px 0 56px; }
header { margin: 0 0 44px; }
h1 { margin: 0; font-size: clamp(40px, 7vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.lead { margin: 18px 0 0; max-width: 36em; color: #3a3a3c; font-size: 18px; line-height: 1.5; }
.lead p { margin: 0 0 .8em; }
.lead p:first-child { color: #000; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.lead p:last-child { margin-bottom: 0; }
.lead hr { margin: 1.2em 0; border: 0; border-top: 1px solid var(--divider); }
.eras { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.era { display: block; overflow: hidden; border-radius: var(--radius); background: var(--elevated); color: inherit; text-decoration: none;
  box-shadow: 0 0 0 .5px rgb(60 60 67 / .18); transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
a.era:hover { transform: translateY(-2px); background: #e9e9ee; }
a.era:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.era-masthead { position: relative; overflow: hidden; aspect-ratio: 4 / 1; background: #e5e5ea center / cover no-repeat; }
.era-masthead img { display: block; width: 100%; height: 100%; object-fit: cover; }
.era-masthead .era-logo { position: absolute; inset: 0; }
.era-masthead .era-logo img { position: absolute; top: 11%; left: 50%; width: auto; max-width: 90%; height: 78%; object-fit: contain; transform: translateX(-50%); }
.era-masthead.era-pending { display: grid; place-items: center; background: linear-gradient(135deg, #f2f2f7, #e5e5ea); }
.era-masthead.era-pending span { color: var(--faint); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.era-text { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 18px 22px 20px; }
.era-years { grid-column: 1 / -1; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.era h2 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.era-status { color: var(--faint); font-size: 15px; white-space: nowrap; }
.era-address { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 15px; }
footer time { font-variant-numeric: tabular-nums; }
footer { margin: 44px 0 0; padding: 18px 0 0; border-top: 1px solid var(--divider); color: var(--faint); font-size: 13px; }
@media (max-width: 520px) {
  main { padding-top: 44px; }
  .era-masthead { aspect-ratio: 3 / 1; }
  .era-text { padding: 16px 18px 18px; }
  .era h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .era { transition: none; } a.era:hover { transform: none; } }
