/* CASCO About / interactive history */
.history-page{overflow:hidden}
.history-hero{position:relative;background:
 radial-gradient(circle at 82% 24%,rgba(207,173,87,.17),transparent 24%),
 linear-gradient(130deg,#081b40 0%,#102f68 58%,#0b214d 100%);color:#fff;padding:88px 0 82px;border-bottom:5px solid #ad1019}
.history-hero:before{content:"";position:absolute;inset:0;background:
 linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
 linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to right,transparent,black 45%,black)}
.history-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:70px;align-items:center}
.history-hero .eyebrow{color:#f0cf75}.history-hero h1{font-size:clamp(52px,7vw,88px);line-height:.98;letter-spacing:-.055em;max-width:760px;margin:14px 0 22px}.history-hero p{max-width:720px;color:#d3dcec;font-size:18px;line-height:1.7}.history-hero .btn.ghost{border-color:rgba(255,255,255,.35);color:#fff;background:transparent}.history-hero .btn.ghost:hover{background:#fff;color:#102344}
.history-hero-visual{min-height:500px;display:grid;place-items:center;position:relative}
.history-hero-ring{width:330px;height:330px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px solid #d8b960;background:radial-gradient(circle,#173e7f 0%,#0d2859 72%);box-shadow:inset 0 0 0 11px #0d2859,inset 0 0 0 12px rgba(216,185,96,.55),0 24px 60px rgba(0,0,0,.28);position:relative}
.history-hero-ring:before,.history-hero-ring:after{content:"✦";position:absolute;top:50%;transform:translateY(-50%);color:#d8b960;font-size:16px}.history-hero-ring:before{left:25px}.history-hero-ring:after{right:25px}.history-hero-ring span{font-family:Georgia,"Times New Roman",serif;font-size:118px;line-height:.82;font-weight:700}.history-hero-ring b{font-size:18px;letter-spacing:.34em;margin:15px 0 12px;color:#efd789}.history-hero-ring small{font-size:12px;letter-spacing:.15em;padding-top:12px;border-top:1px solid rgba(239,215,137,.45)}
.history-hero-facts{position:absolute;inset:auto 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.history-hero-facts>div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(8px);padding:13px 14px;border-radius:12px}.history-hero-facts strong,.history-hero-facts span{display:block}.history-hero-facts strong{font-size:14px;color:#fff}.history-hero-facts span{font-size:9px;color:#b8c5dc;margin-top:3px}

.history-intro-grid{align-items:center;gap:60px}.history-intro-grid h2{font-size:clamp(36px,5vw,58px);line-height:1.04;letter-spacing:-.04em}.history-intro-grid p{font-size:16px;line-height:1.75;color:#5a6678}
.history-intro-quote{background:#f8f4e8;border:1px solid #e9dbb5;border-left:5px solid #ad1019;border-radius:18px;padding:32px;position:relative}.history-intro-quote>span{font-size:9px;font-weight:900;letter-spacing:.15em;color:#8b6b24}.history-intro-quote blockquote{font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.15;color:#102344;margin:13px 0 12px}.history-intro-quote p{font-size:12px;line-height:1.55;margin:0 0 12px}.history-intro-quote a{font-size:11px;font-weight:850;color:#ad1019}

.history-experience{position:relative;padding-top:85px}.history-experience:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 20%,rgba(14,38,88,.05),transparent 28%),radial-gradient(circle at 90% 75%,rgba(173,16,25,.04),transparent 22%);pointer-events:none}
.history-section-head{position:relative}.history-section-head p{max-width:680px}.history-source-note{border:1px solid #dfe4ec;background:#fff;border-radius:12px;padding:11px 13px;text-align:right}.history-source-note b,.history-source-note span{display:block}.history-source-note b{font-size:10px;color:#173e7f;text-transform:uppercase;letter-spacing:.07em}.history-source-note span{font-size:9px;color:#7b8696;margin-top:3px}
.history-year-strip{position:sticky;top:8px;z-index:25;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;background:rgba(245,246,249,.88);backdrop-filter:blur(12px);padding:8px;border:1px solid #dfe4ec;border-radius:16px;margin:26px 0 40px;box-shadow:0 10px 34px rgba(14,38,88,.08)}
.history-year-btn{border:0;background:transparent;border-radius:10px;padding:10px 8px;cursor:pointer;color:#677386;text-align:left;min-width:0;transition:.18s}.history-year-btn b,.history-year-btn span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-year-btn b{font-size:14px;color:#102344}.history-year-btn span{font-size:8px;margin-top:2px;text-transform:uppercase;letter-spacing:.05em}.history-year-btn:hover{background:#fff}.history-year-btn.active{background:#0e2658;color:#fff;box-shadow:0 8px 20px rgba(14,38,88,.2)}.history-year-btn.active b{color:#fff}

.history-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:54px;align-items:start}
.history-timeline{position:relative;padding-left:62px}.history-line{position:absolute;left:22px;top:12px;bottom:80px;width:2px;background:#dce2ea;border-radius:99px}.history-line span{display:block;width:100%;height:0;background:linear-gradient(#ad1019,#0e2658);border-radius:99px;transition:height .35s ease}
.history-event{position:relative;padding:0 0 42px;opacity:.64;transform:translateY(14px);transition:opacity .35s ease,transform .35s ease}.history-event.active,.history-event.is-visible{opacity:1;transform:none}.history-node{position:absolute;left:-50px;top:24px;width:22px;height:22px;border-radius:50%;background:#fff;border:5px solid #aab5c6;box-shadow:0 0 0 6px #f5f6f9;transition:.25s}.history-event.active .history-node{border-color:#ad1019;box-shadow:0 0 0 7px rgba(173,16,25,.10)}
.history-event-card{background:#fff;border:1px solid #dfe4ec;border-radius:18px;padding:25px 26px;box-shadow:0 12px 34px rgba(14,38,88,.055);position:relative;overflow:hidden}.history-event-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#0e2658}.history-event.active .history-event-card{border-color:#cbd3df;box-shadow:0 18px 50px rgba(14,38,88,.10)}.history-event-card.theme-milestone:before,.history-event-card.theme-today:before{background:#ad1019}.history-event-card.theme-community:before{background:#8d6c21}.history-event-card.theme-agriculture:before{background:#4e7252}
.history-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.history-year{font-size:27px;font-weight:950;color:#102344;letter-spacing:-.03em}.history-theme{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;background:#edf2fa;color:#173e7f;padding:6px 8px;border-radius:999px}.history-event-card h3{font-size:26px;line-height:1.14;color:#102344;letter-spacing:-.025em;margin:14px 0 10px}.history-event-card>p{font-size:14px;line-height:1.7;color:#596678;margin:0}
.history-event-card details{margin-top:18px;border-top:1px solid #edf0f4;padding-top:14px}.history-event-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:#173e7f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.history-event-card summary::-webkit-details-marker{display:none}.history-event-card summary span{font-size:18px;color:#ad1019;transition:.2s}.history-event-card details[open] summary span{transform:rotate(45deg)}.history-detail{padding-top:13px}.history-detail>p{font-size:13px;line-height:1.7;color:#596678}.history-stat{display:inline-flex;background:#f8f4e8;color:#745719;border:1px solid #eadcaf;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;margin:3px 0 14px}.history-source-link{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;border:1px solid #e0e5ec;border-radius:11px;padding:10px 11px;background:#f8fafc}.history-source-link span{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#8a95a4}.history-source-link b{font-size:10px;color:#263650}.history-source-link em{font-style:normal;font-size:9px;color:#ad1019;font-weight:850;white-space:nowrap}

.history-live-panel{position:sticky;top:114px;background:linear-gradient(155deg,#0b214d,#102f68);color:#fff;border-radius:22px;padding:30px;min-height:420px;box-shadow:0 22px 60px rgba(14,38,88,.18);overflow:hidden}.history-live-panel:before{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(239,215,137,.18);border-radius:50%;right:-135px;top:-130px}.history-live-panel>*{position:relative}.history-live-kicker{display:block;color:#efd789;text-transform:uppercase;letter-spacing:.15em;font-size:9px;font-weight:900}.history-live-year{display:block;font-family:Georgia,"Times New Roman",serif;font-size:74px;line-height:1;margin:20px 0 7px;color:#fff}.history-live-panel h3{font-size:28px;line-height:1.12;letter-spacing:-.03em;margin:0 0 14px}.history-live-panel>p{color:#d2dbea;font-size:13px;line-height:1.7}.history-live-stat{display:inline-flex;border:1px solid rgba(239,215,137,.35);color:#efd789;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:850;margin:8px 0 22px}.history-live-panel>a{display:block;border-top:1px solid rgba(255,255,255,.12);padding-top:16px;color:#fff}.history-live-panel>a small,.history-live-panel>a span,.history-live-panel>a b{display:block}.history-live-panel>a small{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#9fb0cb}.history-live-panel>a span{font-size:10px;line-height:1.5;color:#dce4f1;margin:4px 0 8px}.history-live-panel>a b{font-size:10px;color:#efd789}

.history-archive{background:#fff}.history-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.archive-card{display:flex;flex-direction:column;min-height:240px;border:1px solid #dde3eb;border-radius:16px;padding:20px;background:linear-gradient(180deg,#fff,#fafbfd);color:#17233a;transition:.2s;position:relative;overflow:hidden}.archive-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#0e2658}.archive-card:nth-child(2n):before{background:#ad1019}.archive-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(14,38,88,.10);border-color:#cdd5e1}.archive-card-head{display:flex;justify-content:space-between;gap:10px;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.archive-card-head span{font-weight:900;color:#ad1019}.archive-card-head small{color:#7a8595}.archive-card h3{font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.18;color:#102344;margin:20px 0 11px}.archive-card p{font-size:12px;line-height:1.6;color:#697486;flex:1}.archive-card>b{font-size:10px;color:#173e7f;margin-top:14px}

.history-legacy-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:70px;align-items:center}.history-legacy-number{width:300px;height:300px;border-radius:50%;background:#0e2658;color:#fff;border:2px solid #d8b960;box-shadow:inset 0 0 0 10px #0e2658,inset 0 0 0 11px rgba(216,185,96,.55),0 20px 50px rgba(14,38,88,.16);display:flex;flex-direction:column;align-items:center;justify-content:center}.history-legacy-number span{font-family:Georgia,"Times New Roman",serif;font-size:104px;line-height:.78}.history-legacy-number b{letter-spacing:.25em;color:#efd789;margin:15px 0 10px}.history-legacy-number small{border-top:1px solid rgba(239,215,137,.4);padding-top:10px;letter-spacing:.13em}.history-legacy-grid h2{font-size:clamp(38px,5vw,60px);line-height:1.03;letter-spacing:-.04em}.history-legacy-grid p{color:#5d6879;line-height:1.75}.history-legacy-points{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.history-legacy-points span{background:#fff;border:1px solid #dfe4ec;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:850;color:#173e7f}

@media(max-width:1050px){
 .history-hero-grid{grid-template-columns:1fr;gap:35px}.history-hero-visual{min-height:390px}.history-hero-ring{width:270px;height:270px}.history-hero-ring span{font-size:96px}.history-hero-facts{position:static;margin-top:24px;width:100%}
 .history-layout{grid-template-columns:1fr}.history-live-panel{position:relative;top:auto;min-height:0;order:-1}.history-live-year{font-size:60px}.history-year-strip{top:0}
 .history-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .history-legacy-grid{grid-template-columns:260px 1fr;gap:40px}.history-legacy-number{width:240px;height:240px}.history-legacy-number span{font-size:82px}
}
@media(max-width:780px){
 .history-hero{padding:60px 0}.history-hero h1{font-size:52px}.history-hero p{font-size:16px}.history-hero-visual{min-height:330px}.history-hero-facts{grid-template-columns:1fr 1fr}.history-hero-facts>div:last-child{grid-column:1/-1}
 .history-intro-grid{grid-template-columns:1fr!important;gap:26px}.history-intro-quote{padding:24px}.history-intro-quote blockquote{font-size:28px}
 .history-year-strip{display:flex;overflow-x:auto;scrollbar-width:none;padding:7px;margin-left:-4px;margin-right:-4px}.history-year-strip::-webkit-scrollbar{display:none}.history-year-btn{min-width:118px;flex:0 0 auto}
 .history-timeline{padding-left:42px}.history-line{left:14px}.history-node{left:-37px;width:18px;height:18px;border-width:4px}.history-event-card{padding:20px}.history-event-card h3{font-size:22px}.history-source-link{grid-template-columns:1fr}.history-source-link span{margin-bottom:-4px}.history-source-link em{white-space:normal}
 .history-archive-grid{grid-template-columns:1fr}
 .history-legacy-grid{grid-template-columns:1fr;text-align:left}.history-legacy-number{margin:0 auto 10px}
}
@media(max-width:520px){
 .history-hero{padding:48px 0}.history-hero h1{font-size:42px}.history-hero .actions{display:grid}.history-hero .actions .btn{width:100%;text-align:center}.history-hero-ring{width:220px;height:220px}.history-hero-ring span{font-size:78px}.history-hero-ring b{font-size:13px}.history-hero-ring small{font-size:9px}.history-hero-visual{min-height:300px}
 .history-section-head{display:block}.history-source-note{margin-top:14px;text-align:left}.history-live-panel{padding:24px}.history-live-year{font-size:52px}.history-live-panel h3{font-size:24px}
 .history-event{padding-bottom:28px}.history-event-card{border-radius:14px}.history-year{font-size:23px}.history-theme{font-size:8px}.history-detail>p{font-size:12px}
 .archive-card{min-height:0}.history-legacy-number{width:210px;height:210px}.history-legacy-number span{font-size:72px}
}
@media(prefers-reduced-motion:reduce){.history-event,.history-year-btn,.archive-card,.history-node,.history-line span{transition:none!important}.history-event{transform:none!important}}


/* Timeline click-through controls */
.history-year-btn{text-decoration:none;display:block}
.history-live-nav{position:relative;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
.history-live-nav button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;border-radius:9px;padding:9px 10px;font:inherit;font-size:10px;font-weight:850;cursor:pointer}
.history-live-nav button:last-child{text-align:right}.history-live-nav button:hover:not(:disabled){background:#ad1019;border-color:#ad1019}.history-live-nav button:disabled{opacity:.35;cursor:not-allowed}
.history-live-nav span{text-align:center;color:#9fb0cb;font-size:9px;font-weight:800;white-space:nowrap}
.history-live-panel.history-switch{animation:historyPanelSwitch .36s ease}
@keyframes historyPanelSwitch{0%{transform:translateY(0);box-shadow:0 22px 60px rgba(14,38,88,.18)}45%{transform:translateY(-3px);box-shadow:0 28px 70px rgba(14,38,88,.28)}100%{transform:translateY(0);box-shadow:0 22px 60px rgba(14,38,88,.18)}}
.history-event:target .history-event-card{border-color:#ad1019;box-shadow:0 18px 50px rgba(14,38,88,.12)}
.history-event:target .history-node{border-color:#ad1019}
@media(prefers-reduced-motion:reduce){.history-live-panel.history-switch{animation:none}}


/* Sticky timeline controller + aligned card scrolling */
.history-page{overflow:visible}
.history-experience{--history-sticky-top:86px}
.history-year-strip{
  top:var(--history-sticky-top);
  z-index:60;
  margin-bottom:30px;
  box-shadow:0 12px 32px rgba(14,38,88,.12);
}
.history-event{scroll-margin-top:calc(var(--history-sticky-top) + 88px)}
.history-live-panel{top:calc(var(--history-sticky-top) + 82px)}
@media(max-width:1050px){
  .history-live-panel{top:auto}
}
@media(max-width:780px){
  .history-year-strip{top:var(--history-sticky-top)}
  .history-event{scroll-margin-top:calc(var(--history-sticky-top) + 80px)}
}
