/* The faces fit their measured contents. Avoid rounded overflow masks that blanked the cards on macOS. */
.cards-hero{--paper:#fafaf7;--ink:#153153;--royal:#234dbe;--gold:#b6984e}
.cards-hero .stage{background:#fafaf7;perspective:1400px}
.journey-v16.cards-hero .stage:after{background:linear-gradient(90deg,#fdfdfbd9 0%,#fdfdfbc9 28%,#fdfdfb96 40%,transparent 61%)}
.journey-v16.cards-hero .hero-copy{left:4.4%;top:calc(50% - var(--card-height)/2 + 34px);bottom:auto;width:38%;max-width:570px;height:var(--card-height);padding:0;display:block;perspective:1200px;background:none;z-index:7;--card-open:0;--card-height:370px;--deck-near-scale:.76}
.cards-hero .deck-stack,.cards-hero .story-card{position:absolute;inset:0;transform-style:preserve-3d;transform-origin:center;will-change:transform}
.cards-hero .deck-stack{z-index:0;pointer-events:none;transform:translate3d(-7.5%,-3.5%,0) rotateX(52deg) rotateZ(-15deg) scale(var(--deck-near-scale))}
.cards-hero .deck-leaf{position:absolute;inset:0;border:1px solid #b8b3a3;border-radius:19px;background:#f4f0e4;transform:translate3d(calc(var(--leaf)*-.8px),calc(var(--leaf)*-4.3px),calc(var(--leaf)*1px));box-shadow:0 1px 0 #fffdf4,1px 2px 0 #ada895;overflow:visible}
.cards-hero .deck-leaf:first-child{box-shadow:3px 18px 28px #1837582b,0 5px 5px #1837581b}
.cards-hero .deck-leaf:last-child{border-color:#b59b5d;background:#102238}
.cards-hero .story-card{z-index:2}
.cards-hero .story-card[hidden]{display:none!important}
.cards-hero .card-turn{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform;border-radius:19px}
.cards-hero .card-front,.cards-hero .card-back{position:absolute;inset:0;border-radius:19px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.cards-hero .card-back{background:linear-gradient(145deg,#152b43,#0b1b2f);border:3px solid #a98e52;box-shadow:0 2px 0 #807b6e,0 4px 0 #ddd6c3,0 18px 40px #122b4929;overflow:visible;transform:rotateY(180deg)}
.cards-hero .deck-leaf .card-back{transform:none;box-shadow:none}
.cards-hero .back-keyline{position:absolute;inset:11px;border:1px solid #c8b570a6;border-radius:8px}
.cards-hero .back-keyline:before,.cards-hero .back-keyline:after{content:'';position:absolute;inset:7px;border:1px solid #d4b66350;border-radius:4px}
.cards-hero .back-keyline:after{inset:18px;border-color:#d4b66325}
.cards-hero .back-orbit{position:absolute;left:50%;top:50%;width:230px;height:230px;border:1px solid #f2d89535;transform:translate(-50%,-50%) rotate(45deg);border-radius:30px}
.cards-hero .orbit-two{width:195px;height:195px;transform:translate(-50%,-50%) rotate(22deg)}
.cards-hero .back-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:51%;padding:0;background:none;border:0;box-shadow:none;display:flex;align-items:center}
.cards-hero .back-brand img{display:block;width:100%;height:auto;filter:brightness(0) invert(1);opacity:.96}
.cards-hero .back-star{position:absolute;color:#e4ca82;font-size:23px;font-family:Georgia,serif}
.cards-hero .star-a{top:24px;left:28px}.cards-hero .star-b{bottom:24px;right:28px}
.cards-hero .card-front{background:linear-gradient(130deg,#fffef9,#faf7ef);border:1px solid #d0c5aa;box-shadow:0 2px 0 #e2dac8,0 4px 0 #aaa28f,0 20px 45px #203b5a1d,0 3px 10px #203b5a15;padding:22px 28px 20px;transform:translateZ(.6px);display:flex;flex-direction:column;overflow:visible}
.cards-hero .card-front:before{content:'';position:absolute;inset:7px;border:1px solid #bd9e4c40;border-radius:12px;pointer-events:none}
.cards-hero .card-front:after{content:'';position:absolute;left:28px;right:28px;top:0;height:3px;background:linear-gradient(90deg,#214bb7 0 50%,#c6a34c 50% 76%,#dd7b39 76% 90%,#487959 90%);opacity:.75}
.cards-hero .card-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px;flex:none}
.cards-hero .card-topline img{width:84px;height:auto;max-height:30px;object-fit:contain}
.cards-hero .card-topline>span{font:500 10px/1.2 Interface,Arial,sans-serif;letter-spacing:.18em;color:#8b7d5a}
.journey-v16.cards-hero .hero-copy-inner{position:static;width:100%;margin:0;display:flex;flex-direction:column;flex:1;min-height:0;isolation:auto}
.journey-v16.cards-hero .hero-copy .eyebrow{font-size:9px;line-height:1.5;letter-spacing:.12em;margin:0 0 10px;color:#365591}
.journey-v16.cards-hero .eyebrow:before{display:none}
.journey-v16.cards-hero .hero-copy h1{font-size:clamp(26px,2.7vw,39px);line-height:1.08;letter-spacing:-.045em;margin:0 0 14px;color:#173455;max-width:none}
.journey-v16.cards-hero .hero-copy h1 em{color:#2352c4}
.journey-v16.cards-hero .hero-copy .story-body{font-size:clamp(14px,1.07vw,16px);line-height:1.55;color:#34465c;max-width:none;margin:0 0 18px;font-weight:400}
.journey-v16.cards-hero .hero-copy .primary-button{font-size:11px;padding:9px 13px;min-height:36px;gap:22px;border-radius:7px;align-self:flex-start;margin-top:auto;border-bottom-width:2px;box-shadow:0 3px 8px #254db51a;max-width:100%}
.journey-v16.cards-hero .hero-copy .story-tag{font-size:9px;line-height:1.4;color:#787158;margin:10px 0 0;max-width:none;letter-spacing:0}
.cards-hero .deck-start{position:absolute;left:50%;top:calc(50% + var(--card-height)*.38);transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:14px;white-space:nowrap;border:0;border-bottom:1px solid #b99c5755;background:none;padding:12px 0;color:#345079;font-size:12px}
.cards-hero .deck-start[hidden]{display:none}.cards-hero .deck-start:hover{color:#214bb7;border-color:#b99c57}
.cards-hero .story-card:not(:has(.card-front:focus-within)){outline:none}
@media(min-width:1700px){.journey-v16.cards-hero .hero-copy{left:7%;width:35%;max-width:620px}.journey-v16.cards-hero .hero-copy h1{font-size:42px}.journey-v16.cards-hero .hero-copy .story-body{font-size:17px}.cards-hero .card-front{padding:28px 34px 24px}}
@media(max-width:1100px) and (orientation:portrait){
 .journey-v16.cards-hero .hero-copy{left:50%;right:auto;top:calc(var(--header) + 48px);bottom:auto;width:calc(100% - 36px);max-width:580px;transform:translateX(-50%);--deck-near-scale:.72}
 .journey-v16.cards-hero .stage:after{display:none}
 .journey-v16.cards-hero .scene-window,.journey-v16.cards-hero .exterior-scene{top:var(--scene-top);bottom:var(--journey-footer)}
 .journey-v16.cards-hero .hero-copy h1{font-size:28px;line-height:1.06;margin-bottom:11px}
 .journey-v16.cards-hero .hero-copy .story-body{font-size:15px;line-height:1.45;margin-bottom:12px}
 .journey-v16.cards-hero .hero-copy .eyebrow{font-size:9px;margin-bottom:7px}
 .cards-hero .card-front{padding:18px 22px 17px}
 .cards-hero .card-topline{margin-bottom:11px}.cards-hero .card-topline img{width:70px}
 .cards-hero .deck-start{font-size:11px;top:calc(50% + var(--card-height)*.30)}
}
@media(max-width:700px){
 .journey-v16.cards-hero .hero-copy{width:calc(100% - 32px);top:calc(var(--header) + 40px)}
 .cards-hero .card-front{padding:16px 19px 15px;border-radius:15px}
 .cards-hero .card-front:before{inset:6px;border-radius:10px}
 .cards-hero .card-topline{margin-bottom:9px}.cards-hero .card-topline img{width:63px}.cards-hero .card-topline>span{font-size:9px}
 .journey-v16.cards-hero .hero-copy h1{font-size:24px;line-height:1.06;margin-bottom:10px}
 .journey-v16.cards-hero .hero-copy .story-body{font-size:14px;line-height:1.43;margin-bottom:11px}
 .journey-v16.cards-hero .hero-copy .eyebrow{font-size:8px;letter-spacing:.08em;margin-bottom:6px}
 .journey-v16.cards-hero .hero-copy .primary-button{font-size:10px;min-height:32px;padding:7px 11px;gap:12px}
 .journey-v16.cards-hero .hero-copy .story-tag{display:none}
 .cards-hero .back-orbit{width:180px;height:180px}.cards-hero .orbit-two{width:150px;height:150px}
 .cards-hero .journey-footer .skip-journey{font-size:9px;max-width:70px}
 .cards-hero .journey-footer{padding-inline:14px;gap:7px}
 .cards-hero .stops{margin-left:auto}.cards-hero .stop{width:24px}
}
@media(max-width:380px) and (orientation:portrait){
 .journey-v16.cards-hero .hero-copy h1{font-size:22px}
 .journey-v16.cards-hero .hero-copy .story-body{font-size:13px;line-height:1.43}
 .cards-hero .card-front{padding:14px 17px}
 .cards-hero .card-topline{margin-bottom:7px}
}
@media(max-height:600px) and (orientation:landscape){
 .journey-v16.cards-hero .hero-copy{left:3.5%;width:42%;top:calc(var(--header) + 38px);max-width:510px}
 .cards-hero .card-front{padding:13px 18px}.cards-hero .card-topline{margin-bottom:8px}.cards-hero .card-topline img{width:61px}
 .journey-v16.cards-hero .hero-copy h1{font-size:24px;margin-bottom:8px}
 .journey-v16.cards-hero .hero-copy .story-body{font-size:12px;line-height:1.4;margin-bottom:10px}
 .journey-v16.cards-hero .hero-copy .eyebrow{font-size:8px;margin-bottom:6px}
 .journey-v16.cards-hero .hero-copy .story-tag{display:none}
 .journey-v16.cards-hero .hero-copy .primary-button{font-size:9px;min-height:30px;padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cards-hero .story-card,.cards-hero .card-turn,.cards-hero .deck-stack{will-change:auto}}

/* Preserve the site's manually selected night palette. */
html[data-theme=dark] .journey-v16.cards-hero .card-front{background:linear-gradient(130deg,#1b3048,#142438);border-color:#aa925a;box-shadow:0 2px 0 #847650,0 4px 0 #4b4637,0 20px 45px #0003}
html[data-theme=dark] .journey-v16.cards-hero .card-topline img{filter:brightness(0) invert(1)}
html[data-theme=dark] .journey-v16.cards-hero .card-topline>span{color:#cbb681}
html[data-theme=dark] .journey-v16.cards-hero .hero-copy h1{color:#edf3fa}
html[data-theme=dark] .journey-v16.cards-hero .hero-copy h1 em{color:#a8c0ff}
html[data-theme=dark] .journey-v16.cards-hero .hero-copy .story-body{color:#e0e8f3}
html[data-theme=dark] .journey-v16.cards-hero .hero-copy .eyebrow{color:#b7cbff}
html[data-theme=dark] .journey-v16.cards-hero .hero-copy .story-tag{color:#c2d0e1}
html[data-theme=dark] .journey-v16.cards-hero .deck-start{color:#c8d7ee}
