:root {
  --ink: #0C1B2A;
  --royal: #14304F;
  --gold: #C8A24C;
  --gold-light: #E6C87E;
  --paper: #FAF6EC;
  --sheet: #EFE7D6;
  --slate: #64757F;
  --teal: #3E6B70;
  --print-red: #A8452F;
  --mist: #DCE3E6;
  --rail: 220px;
  --header-h: 72px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-paper: 0 18px 40px rgba(12, 27, 42, .12), 0 2px 0 rgba(200, 162, 76, .35);
  --focus: 0 0 0 3px rgba(230, 200, 126, .65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

img,
picture,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(200, 162, 76, .35);
}

.rail-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-mark {
  display: block;
  color: inherit;
  text-decoration: none;
}

.brand-index {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .18em;
  color: var(--gold);
}

.brand-name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
}

.brand-line {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--gold-light);
}

.brand-tagline {
  max-width: 62vw;
  margin-top: 2px;
  overflow: hidden;
  color: #9fb0bb;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(200, 162, 76, .55);
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle__label {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--gold-light);
}

.site-header[data-open] .nav-toggle__bar:first-child {
  transform: translateY(5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bar:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 32px;
  overflow-y: auto;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-110%);
  visibility: hidden;
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease, visibility .28s;
}

.site-header[data-open] .site-nav {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

.site-nav__caption {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
}

.nav-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  border-bottom: 1px solid rgba(200, 162, 76, .16);
}

.nav-link {
  position: relative;
  display: block;
  padding: 14px 0;
  color: #d8dee3;
  font-size: 17px;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: width .25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold-light);
  padding-left: 12px;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  width: 10px;
}

.nav-link[aria-current="page"] {
  color: var(--gold-light);
  padding-left: 12px;
}

.nav-link[aria-current="page"]::before {
  width: 10px;
}

.rail-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(200, 162, 76, .25);
}

.rail-meta__line {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: #8fa0ab;
}

.rail-action {
  width: 100%;
}

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 2px;
  overflow: hidden;
  background: rgba(200, 162, 76, .2);
}

.progress-rail__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width .1s linear;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(200, 162, 76, .12);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.site-footer {
  margin-left: 0;
  padding: 56px 20px 28px;
  background: var(--ink);
  color: #d8dee3;
  border-top: 1px solid rgba(200, 162, 76, .35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand {
  min-width: 0;
}

.footer-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
}

.footer-brand__block {
  max-width: 56ch;
  margin: 0 0 14px;
  color: #c4ced6;
}

.footer-contact {
  margin: 0;
  color: #93a2ad;
  font-size: 13px;
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-group {
  min-width: 0;
}

.footer-group__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
}

.footer-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group a {
  color: #c4ced6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.footer-hours {
  color: #93a2ad;
  font-size: 13px;
  line-height: 1.8;
}

.footer-legal {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}

.page-main {
  min-height: 100vh;
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  color: var(--slate);
  font-size: 13px;
}

.breadcrumb__item {
  color: var(--slate);
  text-decoration: none;
}

.breadcrumb__item:hover,
.breadcrumb__item:focus-visible {
  color: var(--royal);
}

.breadcrumb__sep {
  color: var(--gold);
}

.section {
  padding: 96px 0;
}

.section--wide {
  padding: 96px 0;
}

.section--narrow {
  padding: 64px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--8-4 {
  grid-template-columns: 1fr;
}

.panel {
  position: relative;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(12, 27, 42, .18);
  box-shadow: var(--shadow-paper);
}

.panel--wide {
  width: 100%;
}

.panel--narrow {
  max-width: 720px;
}

.panel--full {
  width: 100%;
}

.panel__label {
  display: inline-block;
  padding: 4px 8px;
  background: var(--sheet);
  border: 1px solid rgba(12, 27, 42, .16);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
}

.panel__title {
  margin: 18px 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}

.panel__body {
  max-width: 68ch;
  color: #1f3142;
}

.panel__aside {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: var(--slate);
  font-size: 13px;
  line-height: 1.8;
}

.numeric {
  font-family: var(--mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.era {
  font-family: var(--mono);
  letter-spacing: .08em;
  color: var(--gold);
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.data-strip__item {
  padding-top: 16px;
  border-top: 2px solid var(--gold);
}

.data-strip__value {
  font-family: var(--mono);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--royal);
}

.data-strip__label {
  margin-top: 6px;
  color: var(--slate);
  font-size: 13px;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(200, 162, 76, .1));
}

.timeline__item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 32px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.timeline__year {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--gold);
}

.timeline__content {
  color: #1f3142;
}

.accordion {
  border-top: 1px solid rgba(12, 27, 42, .16);
}

.accordion__item {
  border-bottom: 1px solid rgba(12, 27, 42, .16);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  text-align: left;
  cursor: pointer;
}

.accordion__trigger:hover,
.accordion__trigger:focus-visible {
  color: var(--royal);
}

.accordion__icon {
  display: inline-block;
  font-family: var(--mono);
  color: var(--gold);
  transition: transform .25s ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.accordion__panel[hidden] {
  display: none;
}

.accordion__panel > *:first-child {
  margin-top: 0;
}

.accordion__panel > *:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(12, 27, 42, .16);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--paper);
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(12, 27, 42, .12);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--royal);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--mist);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.filter-chip {
  appearance: none;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid rgba(12, 27, 42, .2);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--gold);
  color: var(--royal);
}

.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-light);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid rgba(12, 27, 42, .16);
  box-shadow: var(--shadow-paper);
}

.image-frame img,
.image-frame picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--wide {
  aspect-ratio: 16 / 9;
}

.image-frame--portrait {
  aspect-ratio: 3 / 4;
}

.image-frame--macro {
  aspect-ratio: 1 / 1;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 162, 76, .35);
  pointer-events: none;
}

.image-frame__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 8px;
  background: rgba(12, 27, 42, .86);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.tag--gold {
  background: rgba(200, 162, 76, .08);
  color: var(--gold);
}

.tag--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}

.reveal.is-visible,
.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr .8fr;
  }
}

@media (min-width: 900px) {
  .grid--8-4 {
    grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  }
}

@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    height: 100vh;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 22px;
    border-bottom: 0;
    border-right: 1px solid rgba(200, 162, 76, .35);
    overflow-y: auto;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-line {
    display: block;
    margin-left: 0;
  }

  .brand-tagline {
    max-width: none;
    overflow: visible;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: 36px;
    padding: 0;
    overflow: visible;
    background: transparent;
    transform: none;
    visibility: visible;
    opacity: 1;
  }

  .site-header[data-open] .site-nav {
    transform: none;
    visibility: visible;
    opacity: 1;
  }

  .site-nav__caption {
    margin-bottom: 10px;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-item {
    border-bottom: 0;
  }

  .nav-link {
    padding: 9px 0 9px 16px;
    border-left: 2px solid transparent;
    font-size: 14px;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link[aria-current="page"] {
    padding-left: 16px;
  }

  .nav-link::before {
    top: 50%;
  }

  .nav-link:hover::before,
  .nav-link:focus-visible::before,
  .nav-link[aria-current="page"]::before {
    width: 12px;
  }

  .nav-link[aria-current="page"] {
    border-left-color: var(--gold);
    background: linear-gradient(90deg, rgba(200, 162, 76, .12), transparent);
  }

  .rail-meta {
    margin-top: auto;
  }

  .page-main {
    margin-left: var(--rail);
  }

  .site-footer {
    margin-left: var(--rail);
    padding: 72px 40px 36px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr .7fr .7fr;
  }

  .container {
    width: min(1180px, calc(100% - 80px));
  }

  .section {
    padding: 140px 0;
  }

  .section--wide {
    padding: 120px 0;
  }

  .section--narrow {
    padding: 88px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
