.history-page { background: #090a09; }
.desktop-navigation a.is-active { color: #fff; }
.desktop-navigation a.is-active::after { transform: scaleX(1); }
.history-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; padding: 170px clamp(24px, 9vw, 175px) 105px; overflow: hidden; isolation: isolate; }
.history-hero-background { position: absolute; inset: 0; z-index: -3; background: url("../images/login/login-cave-bg.jpg") center 44% / cover no-repeat; transform: scale(1.02); }
.history-hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3,4,3,.91), rgba(3,4,3,.52) 55%, rgba(3,4,3,.18)), linear-gradient(180deg, rgba(3,4,3,.24), rgba(3,4,3,.92)); }
.history-hero-content { max-width: 900px; }
.history-hero h1 { max-width: 850px; margin: 19px 0 25px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.5vw, 92px); font-weight: 400; line-height: 1; letter-spacing: -2px; }
.history-hero-content > p:last-of-type { max-width: 680px; margin: 0; color: var(--site-muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.75; }
.history-scroll { display: inline-flex; align-items: center; gap: 13px; margin-top: 36px; color: var(--site-gold-light); font-size: 10px; font-weight: 800; letter-spacing: 2px; text-decoration: none; }
.history-scroll i { font-size: 16px; }
.history-introduction { position: relative; display: grid; grid-template-columns: minmax(240px, .65fr) 1.35fr; gap: clamp(40px, 8vw, 135px); align-items: center; padding: clamp(95px, 11vw, 165px) clamp(24px, 10vw, 185px); overflow: hidden; background: #0d0f0e; }
.history-introduction-number { color: transparent; font-family: Georgia, serif; font-size: clamp(95px, 15vw, 230px); line-height: .8; -webkit-text-stroke: 1px rgba(208,164,94,.3); }
.history-introduction-copy { max-width: 760px; }
.history-introduction h2 { margin: 17px 0 27px; font-family: Georgia, serif; font-size: clamp(39px, 5vw, 67px); font-weight: 400; line-height: 1.08; }
.history-introduction-copy > p:last-child { margin: 0; color: var(--site-muted); font-size: 17px; line-height: 1.9; }
.history-timeline { position: relative; padding: clamp(85px, 10vw, 150px) clamp(24px, 9vw, 165px); background: radial-gradient(circle at 50% 25%, rgba(208,164,94,.065), transparent 30%), #090a09; }
.timeline-item { position: relative; display: grid; grid-template-columns: minmax(150px, .6fr) 50px minmax(0, 1.4fr); gap: clamp(18px, 3vw, 48px); max-width: 1200px; margin: 0 auto; padding-bottom: clamp(75px, 9vw, 130px); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { padding-top: 5px; color: var(--site-gold); font-size: 11px; font-weight: 800; letter-spacing: 2.3px; text-align: right; }
.timeline-marker { position: relative; display: flex; justify-content: center; }
.timeline-marker::after { position: absolute; top: 17px; bottom: calc(-1 * clamp(75px, 9vw, 130px)); width: 1px; content: ""; background: linear-gradient(rgba(208,164,94,.65), rgba(208,164,94,.1)); }
.timeline-item:last-child .timeline-marker::after { display: none; }
.timeline-marker span { position: relative; z-index: 1; width: 13px; height: 13px; border: 3px solid #090a09; border-radius: 50%; background: var(--site-gold-light); box-shadow: 0 0 0 1px rgba(208,164,94,.75), 0 0 24px rgba(208,164,94,.35); }
.timeline-content { max-width: 745px; }
.timeline-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(208,164,94,.28); border-radius: 50%; color: var(--site-gold-light); }
.timeline-content h2 { margin: 0 0 20px; font-family: Georgia, serif; font-size: clamp(31px, 3.6vw, 52px); font-weight: 400; line-height: 1.12; }
.timeline-content p { margin: 0; color: var(--site-muted); font-size: 16px; line-height: 1.85; }
.timeline-content blockquote { margin: 31px 0 0; padding: 6px 0 6px 22px; border-left: 1px solid var(--site-gold); color: var(--site-gold-light); font-family: Georgia, serif; font-size: clamp(23px, 3vw, 36px); font-style: italic; }
.timeline-item-memorial .timeline-content { padding: clamp(28px, 4vw, 50px); border: 1px solid rgba(208,164,94,.2); background: linear-gradient(135deg, rgba(208,164,94,.08), rgba(255,255,255,.015)); }
.virtual-tour-section { position: relative; padding: clamp(90px, 10vw, 150px) clamp(20px, 7vw, 130px); overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(208,164,94,.11), transparent 34%), linear-gradient(180deg, #0d0f0e, #090a09); }
.virtual-tour-heading { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(35px, 7vw, 100px); align-items: end; margin: 0 auto 48px; }
.virtual-tour-heading h2 { max-width: 760px; margin: 17px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5.7vw, 76px); font-weight: 400; line-height: 1.03; }
.virtual-tour-heading > p { margin: 0; color: var(--site-muted); font-size: 16px; line-height: 1.8; }
.virtual-tour-stage { position: relative; width: 100%; max-width: 1180px; min-height: clamp(480px, 61vw, 720px); margin: 0 auto; overflow: hidden; border: 1px solid rgba(208,164,94,.32); background: #050605; box-shadow: 0 35px 90px rgba(0,0,0,.4); isolation: isolate; }
.virtual-tour-viewer { position: absolute; inset: 0; z-index: -3; background: url("../images/login/login-cave-bg.jpg") center / cover no-repeat; filter: grayscale(.18) brightness(.45); transform: scale(1.02); }
.virtual-tour-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at center, rgba(4,5,4,.2), rgba(4,5,4,.84)), linear-gradient(180deg, rgba(4,5,4,.2), rgba(4,5,4,.72)); }
.virtual-tour-placeholder { position: absolute; top: 50%; left: 50%; width: min(620px, calc(100% - 40px)); text-align: center; transform: translate(-50%, -50%); }
.virtual-tour-symbol { width: 86px; height: 86px; display: grid; place-items: center; margin: 0 auto 25px; border: 1px solid rgba(242,213,163,.55); border-radius: 50%; background: rgba(8,9,8,.58); color: var(--site-gold-light); font-size: 39px; box-shadow: 0 0 55px rgba(208,164,94,.18); backdrop-filter: blur(8px); }
.virtual-tour-status { display: inline-flex; align-items: center; gap: 9px; color: var(--site-gold-light); font-size: 9px; font-weight: 800; letter-spacing: 2.5px; }
.virtual-tour-status i { font-size: 6px; animation: tourStatusPulse 1.8s ease-in-out infinite; }
.virtual-tour-placeholder h3 { margin: 18px 0 14px; font-family: Georgia, serif; font-size: clamp(29px, 4vw, 48px); font-weight: 400; }
.virtual-tour-placeholder p { max-width: 510px; margin: 0 auto; color: var(--site-muted); font-size: 15px; line-height: 1.75; }
.virtual-tour-controls-preview { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.virtual-tour-controls-preview span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); background: rgba(8,9,8,.68); color: rgba(255,255,255,.58); backdrop-filter: blur(8px); }
.virtual-tour-route { max-width: 1180px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 22px auto 0; border-top: 1px solid rgba(255,255,255,.11); border-bottom: 1px solid rgba(255,255,255,.11); }
.virtual-tour-point { min-height: 94px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px 17px; border-right: 1px solid rgba(255,255,255,.11); }
.virtual-tour-point:last-child { border-right: 0; }
.virtual-tour-point span { color: var(--site-gold); font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.virtual-tour-point strong { color: rgba(255,255,255,.67); font-size: 11px; font-weight: 600; line-height: 1.4; }
@keyframes tourStatusPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.history-closing { min-height: 68vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 24px; background: radial-gradient(circle, rgba(208,164,94,.12), transparent 42%), #0d0f0e; text-align: center; }
.history-closing > i { color: var(--site-gold); font-size: 34px; }
.history-closing p { max-width: 900px; margin: 25px auto 38px; font-family: Georgia, serif; font-size: clamp(31px, 4.5vw, 57px); line-height: 1.25; }
@media (max-width: 767.98px) {
    .history-hero { min-height: 92svh; padding: 125px 20px 75px; }
    .history-hero-background { background-position: 55% center; }
    .history-hero-overlay { background: linear-gradient(180deg, rgba(3,4,3,.35), rgba(3,4,3,.93) 72%); }
    .history-hero h1 { font-size: clamp(42px, 13vw, 62px); letter-spacing: -1px; }
    .history-introduction { grid-template-columns: 1fr; gap: 35px; padding: 85px 20px; }
    .history-introduction-number { font-size: 31vw; }
    .history-introduction-copy > p:last-child { font-size: 15px; line-height: 1.8; }
    .history-timeline { padding: 85px 20px; }
    .timeline-item { grid-template-columns: 24px 1fr; gap: 18px; padding-bottom: 82px; }
    .timeline-date { grid-column: 2; grid-row: 1; padding: 0 0 4px; text-align: left; }
    .timeline-marker { grid-column: 1; grid-row: 1 / 3; }
    .timeline-marker::after { bottom: -82px; }
    .timeline-content { grid-column: 2; grid-row: 2; }
    .timeline-icon { width: 39px; height: 39px; margin-bottom: 18px; }
    .timeline-content p { font-size: 15px; line-height: 1.75; }
    .timeline-item-memorial .timeline-content { padding: 25px 20px; }
    .virtual-tour-section { padding: 85px 15px; }
    .virtual-tour-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 32px; padding: 0 5px; }
    .virtual-tour-heading > p { font-size: 14px; line-height: 1.7; }
    .virtual-tour-stage { min-height: 520px; }
    .virtual-tour-placeholder { width: calc(100% - 36px); }
    .virtual-tour-symbol { width: 72px; height: 72px; font-size: 33px; }
    .virtual-tour-placeholder p { font-size: 14px; }
    .virtual-tour-controls-preview { right: 12px; bottom: 12px; }
    .virtual-tour-controls-preview span { width: 36px; height: 36px; }
    .virtual-tour-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .virtual-tour-point { min-height: 82px; border-bottom: 1px solid rgba(255,255,255,.11); }
    .virtual-tour-point:nth-child(2n) { border-right: 0; }
    .virtual-tour-point:nth-last-child(-n + 2) { border-bottom: 0; }
    .history-closing { min-height: 60vh; padding: 85px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .virtual-tour-status i { animation: none; }
}
@media (min-width: 768px) {
    .history-hero h1,
    .history-introduction h2,
    .timeline-content h2,
    .virtual-tour-heading h2 {
        font-size: clamp(2.3rem, 3vw, 3.4rem);
    }
}
.timeline-date span,
.timeline-date small {
    display: block;
}

.timeline-date small {
    margin-top: 8px;
    color: rgba(242, 213, 163, 0.72);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.5;
}