.chronicles-page { background: var(--paper); }
.chronicles-page .desktop-nav a[aria-current="page"]::after { width: 100%; }

.chronicles-hero { min-height: 720px; padding: 190px 8vw 90px; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(233,223,202,.98), rgba(233,223,202,.76)), radial-gradient(circle at 75% 46%, #aeb6a5, transparent 36%); }
.chronicles-hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background: repeating-radial-gradient(ellipse at 82% 80%, transparent 0 28px, #556052 29px 30px); transform: rotate(-9deg) scale(1.4); }
.chronicles-hero__copy { max-width: 900px; position: relative; z-index: 2; }
.chronicles-hero h1 { font-size: clamp(78px, 10vw, 145px); }
.chronicles-hero__copy > p:last-child { max-width: 480px; margin: 50px 0 0 33%; font: italic 20px/1.5 "Cormorant Garamond", serif; }
.chronicles-hero__years { position: absolute; z-index: 2; right: 6vw; bottom: 75px; display: grid; grid-template-columns: auto 100px auto; gap: 12px; align-items: center; color: rgba(29,33,28,.5); font-size: 8px; letter-spacing: .18em; }
.chronicles-hero__years i { height: 1px; background: rgba(29,33,28,.35); }
.chronicles-hero__seal { position: absolute; z-index: 1; right: 9vw; top: 120px; font: 400 330px/1 "Noto Serif SC", serif; color: rgba(159,52,43,.07); transform: rotate(6deg); }

.chronology { padding: 125px 7vw 150px; background: #242923; color: var(--paper-light); }
.chronology-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: 75px; border-bottom: 1px solid rgba(241,233,216,.16); }
.chronology-toolbar h2 { font-size: clamp(58px, 7vw, 96px); }
.timeline-filters { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 5px; }
.timeline-filters button { border: 1px solid rgba(241,233,216,.2); padding: 10px 14px; background: transparent; color: #aaa99f; text-transform: uppercase; letter-spacing: .14em; font-size: 8px; cursor: pointer; transition: .25s ease; }
.timeline-filters button:hover, .timeline-filters button.active { background: var(--paper-light); color: var(--ink); border-color: var(--paper-light); }
.timeline-filters i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #a34b3d; }
.timeline-filters [data-filter="korea"] i { background: #7a9086; }
.timeline-filters [data-filter="japan"] i { background: #bd9064; }

.chronology-layout { display: grid; grid-template-columns: 180px 1fr; gap: 7vw; padding-top: 80px; }
.chronology-guide { position: sticky; top: 115px; height: 68vh; min-height: 420px; align-self: start; }
.chronology-guide > p { margin: 0 0 20px; color: #8d9289; text-transform: uppercase; font-size: 7px; letter-spacing: .2em; }
.chronology-progress { width: 1px; height: calc(100% - 78px); margin-left: 3px; background: rgba(241,233,216,.16); position: relative; }
.chronology-progress span { display: block; width: 1px; height: 0; background: #b65a48; transition: height .15s linear; }
.chronology-guide > div:last-child { height: 100%; position: absolute; inset: 32px auto 0 22px; display: flex; flex-direction: column; justify-content: space-between; }
.chronology-guide b { color: #777d75; font-size: 7px; font-weight: 400; letter-spacing: .14em; }

.chronicle-list { position: relative; max-width: 900px; }
.chronicle-list::before { content: ""; position: absolute; left: 105px; inset-block: 0 100px; width: 1px; background: rgba(241,233,216,.17); }
.chronicle-entry { display: grid; grid-template-columns: 82px 46px 1fr; position: relative; margin-bottom: 65px; transition: opacity .3s, transform .3s; }
.chronicle-entry.is-hidden { display: none; }
.chronicle-date { padding-top: 28px; text-align: right; }
.chronicle-date span { display: block; font: 400 22px/1 "Cormorant Garamond", serif; color: #dfdacc; }
.chronicle-date small { display: block; margin-top: 5px; color: #737970; font-size: 7px; letter-spacing: .2em; }
.chronicle-node { z-index: 2; width: 9px; height: 9px; margin: 34px auto 0; border: 2px solid #242923; border-radius: 50%; background: #a94e40; box-shadow: 0 0 0 1px #a94e40; }
.chronicle-card { padding: 30px 35px 0; border: 1px solid rgba(241,233,216,.15); position: relative; transition: background .3s, border .3s; }
.chronicle-card:hover, .chronicle-entry.is-open .chronicle-card { background: rgba(241,233,216,.035); border-color: rgba(241,233,216,.28); }
.entry-featured .chronicle-card::before { content: "Turning point"; position: absolute; right: 0; top: 0; padding: 7px 10px; background: #a4483a; color: #eee5d3; font-size: 6px; letter-spacing: .18em; text-transform: uppercase; }
.chronicle-card__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; color: #777d75; text-transform: uppercase; font-size: 7px; letter-spacing: .17em; }
.region { padding-right: 14px; border-right: 1px solid rgba(241,233,216,.16); }
.region-china { color: #c26b59; }
.region-korea { color: #92aaa0; }
.region-japan { color: #d3a777; }
.chronicle-card h3 { margin: 0; font: 400 clamp(35px, 4vw, 52px)/1 "Cormorant Garamond", serif; }
.chronicle-summary { max-width: 620px; margin: 18px 0 25px; color: #b8bab1; font-size: 12px; line-height: 1.75; }
.chronicle-more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s; }
.chronicle-more p { margin: 0; max-width: 620px; color: #999d95; font: italic 17px/1.55 "Cormorant Garamond", serif; }
.chronicle-more a { width: max-content; margin-top: 18px; color: #c16a57; text-transform: uppercase; font-size: 7px; letter-spacing: .17em; }
.chronicle-entry.is-open .chronicle-more { max-height: 230px; opacity: 1; padding-bottom: 25px; }
.entry-toggle { width: 100%; min-height: 45px; border: 0; border-top: 1px solid rgba(241,233,216,.13); background: transparent; color: #8d9289; display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: .16em; font-size: 7px; cursor: pointer; }
.entry-toggle i { font: normal 18px/1 "Cormorant Garamond", serif; color: #bd6250; transition: transform .3s; }
.chronicle-entry.is-open .entry-toggle i { transform: rotate(45deg); }
.chronicle-end { margin: 20px 0 0 130px; padding: 30px 0; border-top: 1px solid rgba(241,233,216,.17); display: flex; align-items: center; gap: 30px; }
.chronicle-end span { color: #bd6250; font-size: 8px; letter-spacing: .2em; }
.chronicle-end p { margin: 0; font: italic 18px "Cormorant Garamond", serif; color: #969a91; }

.timeline-epilogue { min-height: 620px; padding: 120px 20px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #d9cfb9; }
.timeline-epilogue .quote-mark { color: var(--red); }
.timeline-epilogue blockquote { z-index: 1; }
.timeline-epilogue .text-link { z-index: 1; margin-top: 45px; }
.timeline-epilogue__rings { position: absolute; width: 650px; height: 650px; border: 1px solid rgba(29,33,28,.12); border-radius: 50%; }
.timeline-epilogue__rings::before, .timeline-epilogue__rings::after { content: ""; position: absolute; border: 1px solid rgba(29,33,28,.1); border-radius: 50%; }
.timeline-epilogue__rings::before { inset: 80px; }
.timeline-epilogue__rings::after { inset: 175px; }

@media (max-width: 800px) {
    .chronicles-hero { min-height: 650px; padding: 155px 25px 75px; }
    .chronicles-hero h1 { font-size: clamp(68px, 20vw, 96px); }
    .chronicles-hero__copy > p:last-child { margin: 40px 0 0; max-width: 340px; }
    .chronicles-hero__seal { font-size: 210px; right: -20px; top: 160px; }
    .chronicles-hero__years { left: 25px; right: auto; bottom: 40px; }
    .chronology { padding: 90px 20px 110px; }
    .chronology-toolbar { display: block; padding-bottom: 50px; }
    .timeline-filters { justify-content: flex-start; margin-top: 40px; }
    .chronology-layout { display: block; padding-top: 60px; }
    .chronology-guide { display: none; }
    .chronicle-list::before { left: 75px; }
    .chronicle-entry { grid-template-columns: 58px 35px 1fr; margin-bottom: 45px; }
    .chronicle-date span { font-size: 17px; }
    .chronicle-card { padding: 25px 20px 0; }
    .entry-featured .chronicle-card::before { display: none; }
    .chronicle-card h3 { font-size: 36px; }
    .chronicle-end { margin-left: 95px; display: block; }
    .chronicle-end p { margin-top: 10px; }
    .timeline-epilogue { min-height: 520px; }
}

@media (max-width: 480px) {
    .timeline-filters button { flex: 1 1 42%; }
    .chronicle-list::before { left: 0; }
    .chronicle-entry { display: block; padding-left: 18px; }
    .chronicle-date { text-align: left; padding: 0 0 12px; display: flex; align-items: baseline; gap: 6px; }
    .chronicle-node { position: absolute; left: -4px; top: -25px; }
    .chronicle-end { margin-left: 18px; }
}
