/* Past Revision Days on the Achievements page, and the "what happens" overlay. */
.qh-year{padding:30px 0;border-top:1px solid rgba(199,159,47,.22)}
.qh-year:first-of-type{border-top:0;padding-top:0}
.qh-year-label{margin:0 0 18px;font:700 1.05rem/1 'Source Sans 3',system-ui,sans-serif;letter-spacing:.08em;color:rgba(252,248,242,.72)}
.qh-year--past .dark-stat-value{font-size:clamp(1.8rem,2.8vw,2.5rem)}
.qh-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin-top:34px}
.qh-open{border:0;cursor:pointer;font:inherit}
.qh-link{color:var(--primary);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.qh-dialog{margin:auto;inset:0;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:24px;background:#fffbf6;color:#2f241b;box-shadow:0 40px 90px rgba(20,12,4,.45)}
.qh-dialog::backdrop{background:rgba(26,16,8,.62);backdrop-filter:blur(3px)}
.qh-dialog[open]{animation:qh-in .28s ease-out}
@keyframes qh-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.qh-panel{position:relative;padding:44px 44px 36px}
.qh-close{position:absolute;top:16px;right:16px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(199,159,47,.35);background:#fff;color:#2f241b;font-size:1.5rem;line-height:1;cursor:pointer}
.qh-close:hover,.qh-close:focus-visible{border-color:var(--primary)}
.qh-kicker{margin:0 0 8px;color:var(--primary);font-weight:800;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase}
.qh-panel h2{margin:0 0 26px;font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.7rem,3.4vw,2.3rem);line-height:1.15}
.qh-steps{list-style:none;counter-reset:qh;margin:0 0 28px;padding:0;display:grid;gap:4px}
.qh-steps li{counter-increment:qh;display:grid;grid-template-columns:40px 1fr;column-gap:16px;padding:14px 0;border-top:1px solid rgba(199,159,47,.18)}
.qh-steps li:first-child{border-top:0}
.qh-steps li::before{content:counter(qh);grid-row:span 2;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--primary);color:var(--primary);font:700 .95rem/1 'Playfair Display',Georgia,serif}
.qh-steps b{font-size:1.05rem;margin-bottom:4px}
.qh-steps span{color:#6b5b4a;line-height:1.6}
.qh-video{margin:0 0 18px;border-radius:16px;overflow:hidden;background:#1a120b}
.qh-video video{display:block;width:100%;max-height:60vh}
.qh-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px}
.qh-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.qh-foot{margin:0}
@media (max-width:640px){.qh-panel{padding:36px 20px 26px}.qh-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.qh-dialog[open]{animation:none}}
