#eccTimeline,
.ecc-tlx-modal,
.ecc-totop {
	--tl-bg: #161a14;
	--tl-ink: #e8e4d8;
	--tl-grey: #b3b0a3;
	--tl-orange: #d47e38;
	--tl-orange-soft: rgba(212, 126, 56, .16);
	--tl-line-idle: #3d4137;
	--tl-panel: #222820;
	--tl-panel-line: #343a2e;
	--tl-serif: "PT Serif", Georgia, serif;
	--tl-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#eccTimeline * { box-sizing: border-box; }

.ecc-tl { max-width: 1040px; margin: 40px auto 0; padding: 48px 20px 90px; position: relative; background: var(--tl-bg); font-family: var(--tl-sans); color: var(--tl-grey); }

.ecc-tl__head { text-align: center; margin-bottom: 8px; }
.ecc-tl__eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-orange); font-weight: 600; }
.ecc-tl .ecc-tl__title { font-family: var(--tl-serif); font-weight: 700; font-size: clamp(32px, 5vw, 50px); line-height: 1.15; color: var(--tl-ink); margin: 6px 0 4px; text-wrap: balance; }
.ecc-tl__subtitle { font-style: italic; font-size: 16px; color: var(--tl-grey); margin: 0 0 28px; }

.ecc-hint { text-align: center; font-size: 13px; color: var(--tl-grey); opacity: .85; margin: 18px 0 40px; transition: opacity .5s ease; min-height: 18px; }
.ecc-hint.hidden { opacity: 0; }
.ecc-hint svg { vertical-align: -3px; margin-right: 6px; }

.ecc-year-badge { position: fixed; top: 96px; right: 24px; z-index: 5; pointer-events: none; }
.ecc-year-badge span { pointer-events: auto; background: var(--tl-panel); color: var(--tl-orange); border: 1px solid rgba(212, 126, 56, .5); font-family: var(--tl-serif); font-size: 14px; letter-spacing: .04em; padding: 7px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; display: inline-block; }
.ecc-year-badge span.show { opacity: 1; transform: translateY(0); }

.ecc-spine-wrap { position: relative; padding-top: 20px; }
.ecc-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: var(--tl-line-idle); border-radius: 3px; }
.ecc-spine__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--tl-orange); border-radius: 3px; transition: height .05s linear; }

.ecc-era { position: relative; text-align: center; margin: 56px 0 34px; z-index: 2; }
.ecc-era:first-child { margin-top: 0; }
.ecc-era__badge { display: inline-block; background: var(--tl-panel); color: var(--tl-ink); font-family: var(--tl-serif); font-size: 15px; padding: 10px 26px; border-radius: 999px; border: 1px solid var(--tl-panel-line); }
.ecc-era__label { display: block; font-size: 12.5px; color: var(--tl-grey); margin: 8px auto 0; max-width: 420px; }

.ecc-node { position: relative; min-height: 184px; margin: 68px 0; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; z-index: 2; }
.ecc-node.revealed { opacity: 1; transform: translateY(0); }

.ecc-node__side { width: calc(50% - 132px); padding-top: 6px; }
.ecc-node--left .ecc-node__side { margin-right: calc(50% + 132px); text-align: right; }
.ecc-node--right .ecc-node__side { margin-left: calc(50% + 132px); text-align: left; }

.ecc-node__photo { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 184px; height: 184px; }
.ecc-node__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--tl-bg); box-shadow: 0 0 0 2px var(--tl-line-idle); filter: grayscale(85%); transition: filter .5s ease, box-shadow .4s ease, transform .4s ease; display: block; cursor: pointer; }
.ecc-node.active .ecc-node__photo img,
.ecc-node.revealed .ecc-node__photo img { filter: grayscale(0%); }
.ecc-node.active .ecc-node__photo img { box-shadow: 0 0 0 4px var(--tl-orange); transform: scale(1.08); }

.ecc-node__year { font-family: var(--tl-serif); font-weight: 700; color: var(--tl-ink); font-size: 15px; margin-bottom: 4px; }
.ecc-node--track-partnerships .ecc-node__year { color: #b9aa8c; }
.ecc-node__tag { display: inline-block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; background: var(--tl-orange-soft); color: var(--tl-orange); }
.ecc-node--track-partnerships .ecc-node__tag { background: var(--tl-panel); color: #b9aa8c; }
.ecc-tl .ecc-node__title { font-size: 15px; line-height: 1.42; color: var(--tl-ink); margin: 0 0 3px; cursor: pointer; }
.ecc-tl .ecc-node__title:hover { color: var(--tl-orange); }
.ecc-tl .ecc-node__fr { font-size: 12.5px; font-style: italic; color: var(--tl-grey); line-height: 1.4; margin: 0; }

.ecc-end { text-align: center; margin-top: 70px; position: relative; z-index: 2; }
.ecc-end__lao { font-family: var(--tl-serif); font-size: 15px; color: var(--tl-grey); margin-bottom: 2px; }
.ecc-end__en { font-family: var(--tl-serif); font-weight: 700; font-size: 24px; letter-spacing: .08em; color: var(--tl-ink); }
.ecc-end__fr { font-family: var(--tl-serif); font-size: 15px; letter-spacing: .06em; color: var(--tl-grey); }

.ecc-tlx-modal { position: fixed; inset: 0; background: rgba(20, 18, 16, .72); display: none; align-items: center; justify-content: center; z-index: 100000; padding: 20px; }
.ecc-tlx-modal.open { display: flex; }
.ecc-tlx-modal__card { background: var(--tl-panel); border: 1px solid var(--tl-panel-line); max-width: 440px; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.ecc-tlx-modal__photo-wrap { background: var(--tl-bg); display: flex; justify-content: center; padding: 36px 0 26px; }
.ecc-tlx-modal__photo { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 4px var(--tl-orange), 0 8px 24px rgba(0, 0, 0, .4); }
.ecc-tlx-modal__body { padding: 22px 26px 26px; text-align: center; font-family: var(--tl-sans); }
.ecc-tlx-modal__year { font-family: var(--tl-serif); color: var(--tl-orange); font-weight: 700; font-size: 14px; }
.ecc-tlx-modal__en { font-family: var(--tl-serif); font-size: 20px; line-height: 1.3; color: var(--tl-ink); margin: 6px 0 10px; }
.ecc-tlx-modal__fr { font-size: 14px; font-style: italic; color: var(--tl-grey); border-top: 1px solid var(--tl-panel-line); padding-top: 12px; }
.ecc-tlx-modal .ecc-tlx-modal__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; font-size: 30px; line-height: 1; color: #fff; cursor: pointer; }

button.ecc-totop { box-sizing: border-box; position: fixed; left: 20px; bottom: 20px; width: 46px; height: 46px; min-width: 0; padding: 0; margin: 0; border-radius: 50%; background: var(--tl-panel); color: var(--tl-orange); border: 1.5px solid var(--tl-orange); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, background .2s ease; z-index: 9999; line-height: 1; font-size: 0; }
button.ecc-totop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
button.ecc-totop:hover { background: var(--tl-orange); }
button.ecc-totop svg { display: block; width: 18px; height: 18px; flex-shrink: 0; stroke: var(--tl-orange); fill: none; pointer-events: none; }
button.ecc-totop:hover svg { stroke: var(--tl-bg); }

@media (max-width: 760px) {
	.ecc-year-badge { top: auto; bottom: 18px; right: 16px; }
	.ecc-spine { left: 44px; }
	.ecc-node { display: grid; grid-template-columns: 88px 1fr; column-gap: 32px; align-items: flex-start; min-height: 0; }
	.ecc-node__photo { position: static; transform: none; width: 88px; height: 88px; }
	.ecc-node--left .ecc-node__side,
	.ecc-node--right .ecc-node__side { text-align: left; margin: 0; width: auto; }
	.ecc-era__badge { font-size: 13px; padding: 9px 16px; }
}
