.history-main { flex: 1; width: min(calc(100% - 96px),1080px); margin-inline: auto; padding-block: 78px 44px; }
.history-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--muted); font-size: 13px; line-height: 24px; text-decoration: none; text-underline-offset: 5px; }
.history-back:hover { color: var(--ink); text-decoration: underline; }
.history-intro { margin-bottom: 54px; }
.history-intro h1 { font-family: inherit; font-size: 40px; line-height: 1.4; font-weight: 500; letter-spacing: -1px; white-space: normal; }
.history-intro p { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.history-month + .history-month { margin-top: 48px; }
.history-month-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.history-month-heading h2, .history-count { margin: 0; color: var(--muted); font-size: 12px; line-height: 22px; font-weight: 400; letter-spacing: 0; }
.history-list { list-style: none; margin: 0; padding: 0; }
.history-list > li { border-bottom: 1px solid var(--line); }
.history-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 36px; min-height: 244px; padding-block: 32px; text-decoration: none; -webkit-tap-highlight-color: #747e6917; transition: transform 80ms ease; }
.history-meta, .history-copy { position: relative; z-index: 1; }
.history-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 17px; line-height: 26px; font-variant-numeric: tabular-nums; }
.history-number { color: var(--muted); font-size: 12px; line-height: 22px; }
.history-copy { max-width: 520px; }
.history-copy h3 { margin: 0; max-width: 500px; font-size: 22px; line-height: 1.6; font-weight: 500; letter-spacing: -.25px; overflow-wrap: anywhere; text-wrap: pretty; }
.history-copy p { max-width: 480px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; text-wrap: pretty; }
.history-art { position: absolute; z-index: 0; top: 8px; right: 0; width: min(520px,49%); height: calc(100% - 16px); overflow: hidden; pointer-events: none; mask-image: linear-gradient(to bottom,transparent 0%,#000 12%,#000 86%,transparent 100%); }
.history-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right,#fff 0%,#fff 10%,#ffffffbf 26%,#ffffff33 45%,#ffffff00 62%,#ffffff00 100%); }
.history-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border: 0; transition: transform 180ms ease-out; }
.history-card[data-number="001"] img { object-position: 62% center; }
.history-card[data-number="002"] img { object-position: 57% center; }
.history-arrow { position: absolute; z-index: 2; top: 24px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fffffff0; color: var(--ink); box-shadow: 0 2px 10px #1a211415; opacity: 0; transform: translateX(-4px); transition: opacity 180ms ease-out,transform 180ms ease-out; pointer-events: none; }
.history-arrow svg { width: 18px; height: 18px; }
.history-card:focus-visible .history-arrow { opacity: 1; transform: none; }
.history-card:active { transform: translateY(1px); }
.history-card:active .history-arrow { transform: scale(.945); }
.history-footer { padding-block: 20px 28px; }
.history-empty { margin: 0; padding: 32px 0; color: var(--muted); font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .history-card:hover .history-arrow { opacity: 1; transform: none; }
  .history-card:hover .history-art img { transform: scale(1.015); }
  .history-card:hover:active .history-arrow { transform: scale(.945); transition-duration: 80ms; }
}
@media (hover: none), (pointer: coarse) {
  .history-arrow { opacity: 1; transform: none; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .history-card { gap: 28px; grid-template-columns: 80px minmax(0,1fr); }
  .history-copy { max-width: 55%; min-width: 430px; }
  .history-copy h3 { font-size: 21px; }
}
@media (max-width: 900px) {
  .history-main { width: calc(100% - 48px); max-width: 640px; padding-block: 38px 26px; container-type: inline-size; }
  .history-intro { margin-bottom: 38px; }
  .history-intro h1 { font-size: 32px; line-height: 1.4; letter-spacing: -.6px; }
  .history-intro p { margin-top: 12px; font-size: 13px; }
  .history-month-heading { padding-bottom: 14px; }
  .history-month-heading h2, .history-count { font-size: 11px; }
  .history-card { display: block; min-height: 0; padding-block: 24px 30px; }
  .history-meta { flex-direction: row; align-items: center; gap: 30px; font-size: 13px; line-height: 24px; }
  .history-number { font-size: 12px; line-height: 24px; }
  .history-art { top: 56px; width: 100%; height: auto; aspect-ratio: 16/9; mask-image: linear-gradient(to bottom,transparent 0%,#000 8%,#000 44%,#000000b3 62%,#0000000a 78%,transparent 100%); }
  .history-art::after { background: linear-gradient(to right,#fff 0%,#ffffff33 5%,#ffffff00 10%,#ffffff00 93%,#ffffffd9 100%); }
  .history-copy { max-width: none; padding-top: 48cqw; }
  .history-copy h3 { max-width: none; font-size: 20px; line-height: 1.5; letter-spacing: -.2px; }
  .history-copy p { max-width: none; margin-top: 12px; font-size: 13px; line-height: 1.85; }
  .history-arrow { top: 68px; right: 12px; width: 32px; height: 32px; opacity: 1; transform: none; }
  .history-footer { padding-block: 14px 20px; }
}
@media (max-width: 380px) {
  .history-main { width: calc(100% - 40px); padding-top: 28px; }
  .history-intro { margin-bottom: 30px; }
  .history-intro h1 { font-size: 30px; }
  .history-intro p { font-size: 12px; }
  .history-copy h3 { font-size: 18px; line-height: 1.55; }
  .history-copy p { font-size: 12px; line-height: 1.9; }
  .history-back { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .history-card:active, .history-card:hover .history-art img, .history-card:active .history-arrow { transform: none; }
}
