/* Archives follow the supplied PDF periods; contain preserves charts and awards. */
#home-journey .years{gap:8px;padding-bottom:14px;scroll-padding-inline:8px}
#home-journey .years button{flex:0 0 auto;min-width:100px;padding:14px 16px;white-space:nowrap}
#home-journey .years button strong{font-size:22px;font-weight:500;letter-spacing:-.04em}
#home-journey .milestone{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:5%}
#home-journey #milestone-gallery{display:block;position:relative;min-width:0;min-height:0;height:auto;padding:0;background:none;overflow:visible}
#home-journey #milestone-gallery:after{display:none}
#home-journey .milestone-copy{min-width:0;min-height:0;padding:4px 0 0}
#home-journey #milestone-label{font-size:12px;line-height:1.7;letter-spacing:.08em;margin-bottom:14px}
#home-journey #milestone-title{font-size:28px;line-height:1.35;margin:0 0 18px;max-width:none}
#home-journey #milestone-body p{font-size:16px;line-height:1.85;color:#6c6c61;margin:0 0 16px}
#home-journey #milestone-key{border:0;padding:0;margin:22px 0 0;font-size:12px;letter-spacing:.06em;color:#bf702d;line-height:1.7}
#home-journey #milestone-key[hidden]{display:none}
#home-journey .milestone-bottom{margin-top:24px;padding-top:0}
.history-gallery{min-width:0;margin:0}
#home-journey .history-gallery-main,#journey .history-gallery-main{display:block;position:relative;width:100%;aspect-ratio:4/3;padding:10px;border:1px solid #ded4c5;border-radius:12px;background:#fcf9f3;overflow:hidden;cursor:zoom-in}
#home-journey .history-gallery-main>img,#journey .history-gallery-main>img{display:block;position:static;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0}
.history-gallery-zoom{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:7px;background:#fcf9f3eb;color:#6e5f4e;border:1px solid #dfd3c3;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:500;line-height:1.5}
.history-gallery-zoom .ui-icon{width:14px;height:14px}
#home-journey .history-thumbnails,#journey .history-thumbnails{display:flex;gap:8px;margin-top:12px;overflow-x:auto;max-width:100%;padding:2px 1px 6px;scrollbar-width:thin}
#home-journey .history-thumbnails button,#journey .history-thumbnails button{display:block;flex:0 0 66px;width:66px;height:56px;padding:3px;border:1px solid #ded4c5;border-radius:7px;background:#fcf9f3;overflow:hidden}
#home-journey .history-thumbnails button[aria-pressed=true],#journey .history-thumbnails button[aria-pressed=true]{border:2px solid var(--brand-orange);padding:2px}
#home-journey .history-thumbnails img,#journey .history-thumbnails img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0}
#journey .history-date strong{font-size:22px;line-height:1.4;letter-spacing:-.04em;white-space:nowrap}
#journey .history-card{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}
#journey .history-motto{font-size:12px;letter-spacing:.06em;color:#bf702d;margin-top:20px}
#journey .history-meta span{color:#bf702d}
@media(max-width:1100px){#journey .history-card{grid-template-columns:1fr}#journey .history-date strong{font-size:19px}}
@media(max-width:800px){#home-journey .milestone{grid-template-columns:1fr;gap:24px}#home-journey #milestone-title{font-size:24px}#home-journey .years button strong{font-size:20px}#home-journey .years button{padding:12px;min-width:85px}#home-journey #milestone-body p{font-size:16px}#journey .history-date strong{font-size:23px}#journey .history-card{gap:22px}#home-journey .history-thumbnails button,#journey .history-thumbnails button{flex-basis:58px;width:58px;height:50px}}
@media(max-width:400px){#home-journey #milestone-title{font-size:22px}#home-journey .history-gallery-main,#journey .history-gallery-main{padding:6px}#journey .history-card{padding:14px}}

/* Same segmented surface as the People tabs, with a horizontal strip for 14 periods. */
#home-journey .years{display:flex;align-items:center;gap:5px;width:100%;max-width:100%;min-width:0;padding:6px;margin-bottom:30px;border:0;border-radius:22px;background:#f8eddf;overflow-x:auto;scrollbar-width:none;scroll-padding-inline:6px}
#home-journey .years::-webkit-scrollbar{display:none}
#home-journey .years button{display:flex;justify-content:center;align-items:center;flex:0 0 auto;min-width:100px;height:54px;padding:10px 20px;margin:0;border:0;border-radius:17px;background:transparent;color:#7b7064;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}
#home-journey .years button strong{font-size:17px;line-height:1.4;letter-spacing:-.025em;font-weight:600}
#home-journey .years button[aria-selected=true]{background:#fff;color:var(--brand-orange);box-shadow:0 4px 12px #6554400c}
#home-journey .years button:hover{color:var(--brand-orange)}
@media(max-width:600px){#home-journey .years{padding:5px;gap:3px;border-radius:18px;margin-bottom:24px}#home-journey .years button{min-width:84px;height:48px;padding:8px 16px;border-radius:14px}#home-journey .years button strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){#home-journey .years button{transition:none}}

/* Let the gallery include its thumbnails in document flow. */
#home-journey #milestone-gallery{aspect-ratio:auto;display:grid;grid-template-rows:auto 80px;row-gap:12px;align-self:start;align-content:start}
#home-journey #milestone-gallery .history-thumbnails{box-sizing:border-box;height:80px;min-height:0;margin:0;align-items:flex-start}
@media(min-width:801px){
 #home-journey .milestone{min-height:560px;align-items:stretch}
 #home-journey .milestone-copy{display:flex;flex-direction:column;align-self:stretch;min-height:560px}
 #home-journey .milestone-bottom{margin-top:auto;padding-top:24px;flex-shrink:0}
}
@media(max-width:800px){
 #home-journey .milestone{min-height:0;row-gap:24px}
 #home-journey #milestone-gallery{grid-template-rows:auto auto;height:auto;aspect-ratio:auto}
 #home-journey #milestone-gallery .history-thumbnails{height:auto;min-height:0;margin:0}
 #home-journey .milestone-copy{min-height:0}
 #home-journey .milestone-bottom{margin-top:24px;padding-top:0}
}
/* Intrinsic image dimensions must not change the fixed-ratio preview frame. */
#home-journey .history-gallery-main,#journey .history-gallery-main{min-height:0;min-width:0}
#home-journey .history-gallery-main>img,#journey .history-gallery-main>img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px)}
@media(max-width:400px){#home-journey .history-gallery-main>img,#journey .history-gallery-main>img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}}
#home-journey #milestone-gallery{grid-template-columns:minmax(0,1fr);justify-content:stretch}

/* Share one footer row so the arrows align with the thumbnail strip. */
@media(min-width:801px){
 #home-journey .milestone{min-height:480px}
 #home-journey #milestone-gallery{align-self:stretch;grid-template-rows:minmax(0,1fr) 80px;row-gap:40px}
 #home-journey #milestone-gallery .history-gallery-main{align-self:start}
 #home-journey .milestone-copy{display:grid;grid-template-rows:auto minmax(0,1fr) 80px;min-height:480px;padding-top:0}
 #home-journey #milestone-body{align-self:start;padding-bottom:40px}
 #home-journey #milestone-body p:last-child{margin-bottom:0}
 #home-journey .milestone-bottom{box-sizing:border-box;align-self:start;height:56px;min-height:56px;margin:2px 0 0;padding:0;align-items:center}
}
@media(min-width:801px) and (max-width:1100px){#home-journey .milestone,#home-journey .milestone-copy{min-height:560px}}
