/* Home-only styling: workshop screens and the forum retain their own styles. */
body[data-layout-page="home"] .page-shell{padding-top:0}
body[data-layout-page="home"]{overflow-x:clip}
body[data-layout-page="home"] .page-shell>.wrap{width:100%;max-width:none}
body[data-layout-page="home"] .page-shell>.wrap>section:not(.home-automotive-hero){width:min(1180px,calc(100% - 32px));margin-inline:auto}
/* The photograph and its SVG share a fixed coordinate system, in their own grid cell. */
.home-automotive-hero{position:relative;isolation:isolate;width:100%;padding:48px max(24px,calc((100% - 1600px)/2)) 42px;overflow:clip;background:#061622}
.home-automotive-hero::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 85% 35%,#07574d55,transparent 65%);pointer-events:none}
.home-automotive-hero .hero-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-areas:"copy art" "steps art";column-gap:32px;row-gap:24px;align-items:center;padding:0;position:relative}
.home-hero-copy{grid-area:copy;min-width:0;position:relative;z-index:1}
.home-automotive-hero h1{font-size:clamp(42px,3.65vw,62px);line-height:1.04;margin:20px 0 18px;max-width:720px;letter-spacing:-.045em;text-wrap:balance}
.home-automotive-hero .gradient-text{background:linear-gradient(110deg,#36e0a1,#10b8d5);background-clip:text;-webkit-background-clip:text}
.home-automotive-hero p{font-size:15px;line-height:1.7;margin:0;max-width:640px}
.home-automotive-hero .hero-search{margin-top:22px;padding:6px;gap:4px;border-radius:12px;background:#c5e3fa0b}
.home-automotive-hero .hero-search input{font-size:12px;min-width:0;padding:10px}
.home-automotive-hero .hero-search:focus-within{border-color:#36e0a1;box-shadow:0 0 0 3px #36e0a120}
.home-automotive-hero .hero-search button{font-size:12px;min-width:150px;padding:12px;border-radius:9px}
.home-automotive-hero .hero-actions{gap:7px;margin-top:12px}
.home-automotive-hero .hero-actions .btn{font-size:12px;padding:11px 13px;border-radius:9px}
.home-automotive-hero .eyebrow{font-size:10px;letter-spacing:.03em;padding:7px 11px}
.home-automotive-hero .hero-panel{grid-area:steps;min-width:0;position:relative;z-index:1;border-radius:20px;padding:18px;background:linear-gradient(135deg,#102b30e8,#0c202de8);box-shadow:0 16px 50px #0002}
.home-automotive-hero .stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-automotive-hero .process-step{position:relative;min-width:0;padding:12px 10px;gap:10px;grid-template-columns:1fr;align-content:start;border-radius:12px;border-color:#ffffff09;background:#bed7e407}
.home-automotive-hero .process-step>span{width:29px;height:29px;border:1px solid #23d8b4;border-radius:50%;background:#0c3132;color:#51ebcf;font-size:11px}
.home-automotive-hero .process-step strong{display:block;font-size:12px;line-height:1.5}
.home-automotive-hero .process-step p{font-size:11px!important;line-height:1.6!important}
.home-hero-art{grid-area:art;min-width:0;align-self:start;position:relative;pointer-events:none;user-select:none}
.home-audi-stage{position:relative;aspect-ratio:1672/941;width:100%;overflow:hidden;isolation:isolate;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 95%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect}
.home-audi-stage img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.home-audi-leds{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;pointer-events:none}
.is-led-ready .home-audi-leds{opacity:1}
.home-audi-led-base{fill:#08202b;stroke:#08202b;stroke-width:2.3;stroke-linejoin:round;opacity:.97}
.home-audi-led-light{fill:#fff;stroke:#fff;stroke-width:1;filter:drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 4px #fffffff0) drop-shadow(0 0 9px #eef5ff80);opacity:0;animation:audi-led-reveal 8s linear infinite both;animation-delay:var(--led-delay);animation-play-state:paused}
.is-led-playing .home-audi-led-light{animation-play-state:running}
@keyframes audi-led-reveal{0%,5%{opacity:0}7%,72%{opacity:1}82%,100%{opacity:0}}
@media(min-width:1600px){.home-automotive-hero .hero-grid{column-gap:48px}.home-automotive-hero .hero-panel{padding:20px}.home-automotive-hero .process-step{grid-template-columns:30px 1fr}}
@media(max-width:1100px){.home-automotive-hero{padding:36px 24px}.home-automotive-hero .hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}.home-automotive-hero h1{font-size:44px}.home-automotive-hero .hero-panel{grid-column:1/-1}.home-automotive-hero .hero-grid{grid-template-areas:"copy art" "steps steps"}.home-automotive-hero .process-step{grid-template-columns:30px 1fr}}
@media(max-width:760px){.home-automotive-hero{padding:30px 16px 32px}.home-automotive-hero .hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "art" "steps";gap:22px}.home-automotive-hero h1{font-size:clamp(38px,7.6vw,53px);max-width:650px}.home-automotive-hero .hero-search{grid-template-columns:1fr auto}.home-automotive-hero .hero-search button{width:auto}.home-automotive-hero .hero-panel{padding:16px}.home-automotive-hero .process-step{grid-template-columns:1fr}.home-hero-art{width:100%;max-width:720px;justify-self:center}}
@media(max-width:520px){.home-automotive-hero .hero-search{grid-template-columns:1fr}.home-automotive-hero .hero-search button{width:100%}.home-automotive-hero .stack{grid-template-columns:1fr;gap:10px}.home-automotive-hero .process-step{grid-template-columns:32px 1fr;gap:10px}.home-automotive-hero .process-step strong{font-size:13px}.home-automotive-hero .process-step p{font-size:12px!important}.home-automotive-hero .hero-actions .btn{flex:1 1 auto}.home-automotive-hero .hero-actions .btn.ghost{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.home-audi-led-light{animation:none}.is-led-ready .home-audi-leds{opacity:0}}
/* Four readable service cards: two columns avoid cramped text beside the car. */
.home-automotive-hero .hero-panel{padding:22px}
.home-automotive-hero .hero-panel>.eyebrow{font-size:12px;letter-spacing:.04em}
.home-automotive-hero .hero-panel .stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-automotive-hero .hero-panel .process-step{grid-template-columns:36px minmax(0,1fr);padding:18px 15px;gap:12px;border-color:#d7ecf21c;background:#c4e4ed08;align-items:start}
.home-automotive-hero .hero-panel .process-step>span{width:36px;height:36px;font-size:13px;font-weight:850;color:#7bffe0;border-color:#35e1b5;background:#0c3838}
.home-automotive-hero .hero-panel .process-step strong{font-size:16px;line-height:1.45;font-weight:800;color:#f5faff;overflow-wrap:anywhere}
.home-automotive-hero .hero-panel .process-step p{font-size:14px!important;line-height:1.75!important;color:#c5d5e2!important;margin-top:8px!important}
@media(max-width:620px){.home-automotive-hero .hero-panel{padding:18px}.home-automotive-hero .hero-panel .stack{grid-template-columns:minmax(0,1fr);gap:12px}.home-automotive-hero .hero-panel .process-step{padding:17px 14px}.home-automotive-hero .hero-panel .process-step strong{font-size:17px}.home-automotive-hero .hero-panel .process-step p{font-size:15px!important}}
.home-premium-vehicles{position:relative;padding:24px 0 30px;border-top:1px solid #b4e2ee15;background:radial-gradient(ellipse at 88% 20%,#08625335,transparent 65%)}
.home-premium-heading{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:20px}
.home-premium-heading h2{margin:0;font-size:clamp(26px,3vw,39px);letter-spacing:-.045em;line-height:1.15}
.home-premium-heading h2 span{background:linear-gradient(100deg,#29dca5,#20b6eb);background-clip:text;-webkit-background-clip:text;color:transparent}
.home-premium-all{flex-shrink:0;display:flex;align-items:center;gap:10px;border:1px solid #1be4ad55;color:#3fe5b9;background:#0b323230;padding:11px 15px;border-radius:11px;text-decoration:none;font-size:12px;font-weight:750}
.home-premium-carousel{position:relative;min-width:0}
.home-premium-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 0 6px;scroll-behavior:smooth}
.home-premium-track::-webkit-scrollbar{display:none}
.home-premium-card{position:relative;min-width:0;overflow:hidden;border:1px solid #b4d3df22;border-radius:15px;background:#091b26;scroll-snap-align:start;transition:border-color .18s,transform .18s}
.home-premium-card:hover{border-color:#28dda477;transform:translateY(-2px)}
.home-premium-photo{display:block;aspect-ratio:1.55;background:#142833;overflow:hidden;text-decoration:none}
.home-premium-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.home-premium-card:hover .home-premium-photo img{transform:scale(1.035)}
.home-premium-photo::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#061622 85%);pointer-events:none}
.home-premium-badge{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:18px;background:#07372fe8;color:#54f4c8;font-size:10px;font-weight:850;letter-spacing:.025em;border:1px solid #3beabb33;pointer-events:none}
.home-premium-badge svg{width:14px;height:14px}
.home-premium-save{position:absolute;right:10px;top:10px;width:30px;height:30px;padding:6px;border:1px solid #ffffff30;border-radius:50%;background:#08152166;color:white;box-shadow:none}
.home-premium-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.home-premium-save[aria-pressed="true"]{color:#37edb4;background:#07372fe8}.home-premium-save[aria-pressed="true"] svg{fill:currentColor}
.home-premium-body{position:relative;padding:0 11px 12px;margin-top:-30px;z-index:1;pointer-events:none}
.home-premium-body a{pointer-events:auto}
.home-premium-body h3{font-size:13px;font-weight:750;margin:0 0 8px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 8px #000}
.home-premium-body h3 a{text-decoration:none}
.home-premium-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:7px;flex-wrap:wrap}
.home-premium-specs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:9px;color:#c0cfda}
.home-premium-specs span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.home-premium-specs svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.7}
.home-premium-price{color:#29edb3;font-size:16px;white-space:nowrap;margin-left:auto;line-height:1.2}
.home-premium-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;padding:0;border-radius:50%;border:1px solid #ffffff22;background:#10232dda;color:#eef6ff;font-size:27px;box-shadow:none;z-index:2}
.home-premium-arrow:hover{transform:translateY(-50%);background:#15463f}.home-premium-arrow:disabled{opacity:.25;cursor:default}.home-premium-prev{left:-47px}.home-premium-next{right:-47px}
.home-premium-save-note{color:#7c96a9;font-size:10px;margin:8px 0 0}
.home-premium-empty{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:28px;border:1px dashed #25dca64d;border-radius:16px;background:linear-gradient(120deg,#0d292e,#102333)}
.home-premium-empty h3{margin:9px 0;font-size:21px}.home-premium-empty p{color:#91a4b7;margin:0;font-size:14px;line-height:1.6}.home-premium-empty-badge{font-size:11px;letter-spacing:.1em;font-weight:800;color:#3aeabb}
.home-premium-empty .btn{flex-shrink:0;font-size:13px}.home-premium-no-photo{display:grid;place-items:center;height:100%;color:#91a4b7}
@media(max-width:1300px){.home-premium-prev{left:5px}.home-premium-next{right:5px}}
@media(max-width:1000px){.home-premium-track{grid-auto-columns:calc((100% - 36px)/3)}}
@media(max-width:760px){.home-premium-heading{align-items:flex-start;flex-direction:column;gap:14px}.home-premium-track{grid-auto-columns:calc((100% - 18px)/2)}.home-premium-empty{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.home-premium-track{grid-auto-columns:85%;gap:14px}.home-premium-body h3{font-size:15px}.home-premium-specs{font-size:11px}.home-premium-price{font-size:19px}.home-premium-body{padding:0 14px 14px}.home-premium-save-note{font-size:11px}.home-premium-empty{padding:20px}}
@media(prefers-reduced-motion:reduce){.home-premium-track{scroll-behavior:auto}.home-premium-card,.home-premium-photo img{transition:none}}
/* Premium listings occupy the space directly under the Audi, not a separate full-width row. */
.home-automotive-hero .hero-grid{grid-template-areas:"copy art" "steps premium";align-items:start}
.home-automotive-hero .home-premium-vehicles{grid-area:premium;min-width:0;align-self:start;width:100%;padding:0;border-top:0;background:none}
.home-automotive-hero .home-premium-heading{gap:12px;flex-wrap:wrap;margin-bottom:16px}
.home-automotive-hero .home-premium-heading h2{font-size:clamp(24px,1.8vw,32px);line-height:1.25}
.home-automotive-hero .home-premium-all{padding:9px 12px;font-size:12px}
.home-automotive-hero .home-premium-track{grid-auto-columns:calc((100% - 18px)/2)}
.home-automotive-hero .home-premium-prev{left:4px}.home-automotive-hero .home-premium-next{right:4px}
.home-automotive-hero .home-premium-save-note{font-size:11px;line-height:1.5;margin-top:8px}
.home-automotive-hero .home-premium-empty{padding:20px;flex-direction:column;align-items:flex-start;gap:16px}
@media(max-width:1100px){.home-automotive-hero .hero-grid{grid-template-areas:"copy art" "premium premium" "steps steps"}.home-automotive-hero .home-premium-track{grid-auto-columns:calc((100% - 36px)/3)}}
@media(max-width:760px){.home-automotive-hero .hero-grid{grid-template-areas:"copy" "art" "premium" "steps"}.home-automotive-hero .home-premium-track{grid-auto-columns:calc((100% - 18px)/2)}}
@media(max-width:480px){.home-automotive-hero .home-premium-track{grid-auto-columns:85%}}
