/* Car Care circuit — frosted burgundy surfaces and three useful stops. */
.race-journey{padding-top:80px;padding-bottom:100px;isolation:isolate;position:relative;color:var(--paper);background:#20191d}
.race-journey:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 82% 46%,#780d2b70,transparent 65%),linear-gradient(120deg,#d8c7b417,transparent 45%);clip-path:polygon(0 0,calc(100% - 32px) 0,100% 32px,100% 100%,0 100%)}
.journey-heading{margin-bottom:48px}.journey-heading h2{max-width:850px;color:var(--paper)}
.journey-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start}
.journey-glass,.brand-glass{--cut:14px;--edge:#f6f3ed38;--glass:linear-gradient(135deg,#f6f3ed12,#f6f3ed05);isolation:isolate;position:relative;background:transparent}
.journey-glass:before,.brand-glass:before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:var(--glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%);transition:background .35s}
/* Each edge, including the diagonal, is drawn independently: no clipped rectangular border. */
.journey-glass:after,.brand-glass:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(var(--edge),var(--edge)) left top/calc(100% - var(--cut)) 1px,linear-gradient(var(--edge),var(--edge)) left bottom/100% 1px,linear-gradient(var(--edge),var(--edge)) left top/1px 100%,linear-gradient(var(--edge),var(--edge)) right bottom/1px calc(100% - var(--cut)),linear-gradient(45deg,transparent calc(50% - .6px),var(--edge) calc(50% - .6px),var(--edge) calc(50% + .6px),transparent 0) right top/var(--cut) var(--cut);background-repeat:no-repeat}
.circuit-sticky{position:sticky;top:90px;min-width:0;padding:20px 12px;isolation:isolate}
.circuit-map{position:relative;width:100%;aspect-ratio:900/660}
.circuit-art{display:block;width:100%;height:auto;overflow:visible}.circuit-art use{fill:none;stroke-linejoin:round}
.circuit-shadow{stroke:#0002;stroke-width:70;transform:translateY(5px)}
.circuit-edge{stroke:#b7a4a480;stroke-width:62}.circuit-road{stroke:#8b7e82;stroke-width:52}
.circuit-lane{stroke:#f6f3ed60;stroke-width:1.2;stroke-dasharray:6 15}
.circuit-trail{stroke:#cf5979;stroke-width:62;stroke-dasharray:0 3000}
.circuit-grid{stroke:var(--paper);stroke-width:1.5;fill:none;opacity:.75}
.circuit-connectors{stroke:#d8c7b46b;stroke-width:1.5;fill:none}.circuit-connectors .is-active{stroke:#eed9be;stroke-width:2}
.circuit-nodes circle{fill:#39222d;stroke:#d8c7b4;stroke-width:2}.circuit-nodes .is-active{fill:var(--paper);stroke:var(--wine)}
.circuit-brand{opacity:.4;filter:brightness(0) invert(1)}
.circuit-car{position:absolute;width:clamp(45px,12%,84px);aspect-ratio:240/358;left:21.1%;top:76.66%;transform:translate(-50%,-50%) rotate(90deg);filter:drop-shadow(0 2px 1px #f6f3ed50) drop-shadow(0 4px 3px #0009);pointer-events:none;z-index:2}
.circuit-car img{display:block;width:100%;height:auto}
.circuit-stop{--cut:9px;--glass:linear-gradient(135deg,#5e444bde,#332830ee);position:absolute;display:flex;align-items:center;justify-content:center;gap:10px;transform:translate(-50%,-50%);width:max-content;min-height:44px;max-width:210px;padding:10px 16px;cursor:pointer;border:0;border-radius:0;color:var(--paper);font-family:'IBM Plex Sans',sans-serif;font-size:14px;font-weight:500;line-height:1.2;z-index:3;transition:color .25s}
.stop-name{white-space:nowrap}
.circuit-stop.is-active{--edge:#f6f3ed90;--glass:linear-gradient(120deg,#9b2549eb,#780d2bf2)}
.circuit-stop:nth-of-type(1){left:32.2%;top:93.5%}.circuit-stop:nth-of-type(2){left:72.2%;top:12.4%}.circuit-stop:nth-of-type(3){left:24%;top:8.3%}
.circuit-stop:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.race-steps{list-style:none;padding:0;margin:0;min-width:0;display:grid;gap:14px}
.race-steps li{--glass:linear-gradient(120deg,#f6f3ed0d,#f6f3ed03);--edge:#f6f3ed29}
.race-steps li.is-active{--glass:linear-gradient(115deg,#99465f55,#780d2b40);--edge:#d8c7b499}
.race-steps button{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;width:100%;min-height:148px;padding:28px 24px;text-align:left;background:none;border:0;border-radius:0;cursor:pointer;color:var(--paper)}

.race-step-copy{display:block}.race-step-copy strong{display:block;font-family:'Archivo',sans-serif;font-weight:650;font-size:clamp(23px,2.3vw,32px);letter-spacing:-.035em;line-height:1.13;margin-bottom:13px;color:var(--paper)}
.race-step-copy>span{display:block;font-size:17px;line-height:1.6;color:#d6c8cd;max-width:410px}
.race-steps .is-active 
.race-steps button:focus-visible{outline:2px solid var(--paper);outline-offset:5px}
@media(hover:hover) and (pointer:fine){.circuit-stop:hover{--edge:#f6f3ed90;--glass:linear-gradient(135deg,#704650ee,#462c39ee)}.circuit-stop.is-active:hover{--glass:linear-gradient(120deg,#a93357eb,#780d2bf2)}.race-steps li:hover{--edge:#f6f3ed77}.race-steps button:hover }
@media(max-width:800px){
 .race-journey{padding-top:60px;padding-bottom:80px}.journey-heading{margin-bottom:30px}
 .journey-layout{grid-template-columns:minmax(0,1fr);gap:24px}
 .circuit-sticky{top:12px;z-index:2;padding:18px 6px 14px}
 .circuit-map{max-width:510px;margin:auto}
 .circuit-stop{gap:7px;padding:10px;font-size:12px;max-width:165px}
 .race-steps button{gap:15px;min-height:156px;padding:25px 20px}
 .race-step-copy strong{font-size:25px}.race-step-copy>span{font-size:16px}
}
@media(max-width:360px){.circuit-stop{gap:5px;padding:10px 7px;font-size:12px}.race-steps button{padding:24px 16px;gap:12px}}
@media(max-height:560px){.circuit-sticky{position:relative;top:auto}}
@media(max-width:0px){.journey-glass:before,.circuit-stop{transition:none}.circuit-sticky{position:relative;top:auto}}
/* Carry the CarCare shoulder line into the glass circuit section. */
.race-journey{--sweep-height:clamp(58px,6.5vw,100px);padding-top:calc(var(--sweep-height) + 44px);background:radial-gradient(ellipse at 82% 46%,#780d2b70,transparent 65%) left bottom/100% calc(100% - var(--sweep-height)) no-repeat,linear-gradient(to bottom,transparent var(--sweep-height),#20191d var(--sweep-height))}
.race-journey:before{inset:0 0 auto;height:calc(var(--sweep-height) + 1px);background:#20191d;mask:url('assets/carcare-section-sweep.svg') 0 0/100% 100% no-repeat;-webkit-mask:url('assets/carcare-section-sweep.svg') 0 0/100% 100% no-repeat;clip-path:none}
.prices + .race-journey{background-color:var(--wine);margin-top:-1px}

@media(max-width:800px){.circuit-sticky:before{content:"";position:absolute;inset:-14px calc(-1 * var(--gutter)) -22px;z-index:-1;pointer-events:none;background:linear-gradient(#271b21 0%,#271b21 88%,#271b2100 100%)}}
