/* home2.html: highway scene, then the production-line scene. Builds on css/automated-driving.css. */

/* the first scene shares the first screen with the 94px header */
.h2-first .ad-stage { height: calc(100vh - 94px); height: calc(100svh - 94px); }
.h2-first .ad-panels { margin-top: calc(94px - 100vh); margin-top: calc(94px - 100svh); }
.h2-first .ad-panel { min-height: calc(100vh - 94px); min-height: calc(100svh - 94px); padding-top: 48px; padding-bottom: 48px; }
.pl-story { scroll-margin-top: 0; }
/* a story with one text panel is exactly one screen tall */
.h2-single .ad-panel { min-height: 100vh; min-height: 100svh; }
.pl-stage { background: radial-gradient(900px 520px at 55% 55%, rgba(60, 110, 200, .22), transparent 70%), #04060c; }
.ad-bad { color: var(--sw-fail); }
.ad-card li.ad-red { border-color: var(--sw-fail); color: #ff8fa5; }
.ad-card-link { margin-top: 22px !important; }

/* this label hangs below its point so it does not sit on top of the HMI label */
.ad-callout-low p { bottom: auto; top: 26px; }
.ad-callout-low p::before { bottom: auto; top: -22px; transform: rotate(38deg); }

/* products */
.h2-products { background: var(--sw-bg); }
.h2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.h2-product { display: flex; flex-direction: column; padding: 28px 28px 30px; border: 1px solid var(--sw-line); border-radius: 14px; background: linear-gradient(160deg, rgba(54, 142, 182, .1), rgba(5, 10, 28, .5) 55%); color: #fff; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.h2-product:hover { transform: translateY(-6px); border-color: rgba(111, 191, 228, .6); box-shadow: 0 24px 60px rgba(0, 20, 80, .55); }
.h2-shot { display: grid; place-items: center; height: 220px; margin-bottom: 22px; border-radius: 10px; background: radial-gradient(closest-side, rgba(111, 191, 228, .16), transparent); }
.h2-shot img { max-width: 100%; max-height: 200px; width: auto; height: auto; object-fit: contain; transition: transform .35s; }
.h2-product:hover .h2-shot img { transform: scale(1.05); }
.h2-product h3 { font-size: 22px; }
.h2-product p { flex: 1; margin: 12px 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--sw-text); }

@media (max-width: 900px) {
  .h2-grid { grid-template-columns: 1fr; }
  .h2-shot { height: 180px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Automotive products: two cards, centred under the machine vision row */
.h2-products-auto { padding-top: 0; }
.h2-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .h2-grid-2 { grid-template-columns: 1fr; } }

/* Home hero: three bullets under the headline, each a link */
.ad-card .h2-bullets { display: block; list-style: none; margin: 22px 0 6px; padding: 0; }
.ad-card .h2-bullets li { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.ad-card .h2-bullets li + li { margin-top: 4px; }
.ad-card .h2-bullets a { display: inline-flex; align-items: center; gap: 14px; padding: 7px 0; font: 600 clamp(19px, 2vw, 24px)/1.25 var(--f-head, inherit); letter-spacing: .3px; color: inherit; text-decoration: none; }
.ad-card .h2-bullets a::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2bb3ff; box-shadow: 0 0 0 4px rgba(43, 179, 255, .22); }
.ad-card .h2-bullets a span { opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; color: #1b6fb5; }
.ad-card .h2-bullets a:hover span, .ad-card .h2-bullets a:focus-visible span { opacity: 1; transform: none; }
.ad-card .h2-bullets a:hover { color: #1b6fb5; }
html[data-theme="lite"] .ad-card .h2-bullets li { background: none; color: #0e1821; }
html[data-theme="dark"] .ad-card .h2-bullets a { color: #fff; text-shadow: 0 2px 20px rgba(2, 3, 15, 1); }
html[data-theme="dark"] .ad-card .h2-bullets a:hover, html[data-theme="dark"] .ad-card .h2-bullets a span { color: #8fd4f5; }

/* Home hero: headline block sits in the upper part of the view, not the middle */
.h2-first .ad-panel-hero { align-items: flex-start; padding-top: clamp(64px, 10vh, 110px); }
@media (max-width: 900px) { .h2-first .ad-panel-hero { padding-top: 110px; } }

/* Talent Partner scene */
.tp-stage { background: radial-gradient(900px 520px at 60% 55%, rgba(43, 179, 255, .18), transparent 70%), #04060c; }
html[data-theme="lite"] .tp-stage { background: #e4e9f0; }
.tp-story .ad-card .h2-bullets a { font-size: clamp(17px, 1.5vw, 20px); }

/* Talent Partner cards use photos, which fill the picture area */
.h2-shot-photo { background: none; overflow: hidden; }
.h2-shot-photo img, html[data-theme="lite"] .h2-shot-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 10px; }

/* "Explore visualization" link under the hero bullets */
.h2-explore { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 18px 0 0; pointer-events: auto; }
.h2-explore a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 14px; border-radius: 999px; background: #1b6fb5; color: #fff !important; font: 700 15px/1 var(--f-head, inherit); letter-spacing: .3px; text-decoration: none; box-shadow: 0 6px 18px rgba(27, 111, 181, .35); transition: transform .2s, box-shadow .2s; }
.h2-explore a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 111, 181, .45); }
.h2-explore a i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-style: normal; font-size: 10px; padding-left: 2px; }
.h2-explore span { font-size: 13px; color: var(--sw-text, #5a6677); }
html[data-theme="dark"] .h2-explore span { color: #c9d6ea; }

/* Home headline: "AI Vision Systems" stays on one line, "& Talent Partner" on the next */
.h2-first .ad-card-hero { width: min(700px, 100%); }
.h2-first .ad-card-hero h1 { white-space: nowrap; font-size: clamp(34px, 3.9vw, 58px); }
@media (max-width: 900px) { .h2-first .ad-card-hero h1 { font-size: min(7vw, 40px); } }

/* Production-line card on the home page: large and simple */
.ad-card.h2-big-card { width: min(760px, 100%); padding: 40px 44px 42px; }
.ad-card.h2-big-card .ad-step { font-size: 15px; letter-spacing: 3px; }
.ad-card.h2-big-card h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -.02em; }
.ad-card.h2-big-card h2 span { display: block; white-space: nowrap; }
.ad-card.h2-big-card .ad-card-link { margin-top: 30px; pointer-events: auto; }
.ad-card.h2-big-card .sw-btn { height: 56px; padding: 0 28px; font-size: 17px; }
@media (max-width: 900px) { .ad-card.h2-big-card { padding: 26px 22px 28px; } .ad-card.h2-big-card h2 { font-size: min(7vw, 40px); } }
.h2-grid.h2-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .h2-grid.h2-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .h2-grid.h2-grid-4 { grid-template-columns: 1fr; } }

/* cards that are not links (Sample Applications) */
.h2-product.h2-static { cursor: default; }
.h2-product.h2-static:hover { transform: none; }
.h2-product.h2-static:hover .h2-shot img { transform: none; }

/* Home v3: the scene on its own (car centred, no text over it), the headline in a band underneath */
.ad-v3-story.h2-first .ad-stage { height: calc(100vh - 94px - 150px); height: calc(100svh - 94px - 150px); min-height: 420px; }
.ad-v3-story .ad-shade { display: none; }
.ad-v3-story .ad-note { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.h2-explore-stage { position: absolute; left: 50%; bottom: 22px; z-index: 3; margin: 0; transform: translateX(-50%); }
.ad-story.game .h2-explore-stage { display: none; }
.h2-intro { padding: 30px 0 34px; background: var(--sw-bg, #f3f6fa); border-bottom: 1px solid rgba(22, 60, 120, .1); }
.h2-intro .sw-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; }
.h2-intro h1 { margin: 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -.02em; }
.h2-intro h1 span { background: linear-gradient(90deg, #1b6fb5, #2f4fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-intro .h2-bullets { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.h2-intro .h2-bullets li { margin: 0; padding: 0; border: 0; background: none; }
.h2-intro .h2-bullets a { display: inline-flex; align-items: center; gap: 10px; font: 600 clamp(16px, 1.4vw, 20px)/1.25 var(--f-head, inherit); color: inherit; text-decoration: none; }
.h2-intro .h2-bullets a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2bb3ff; box-shadow: 0 0 0 4px rgba(43, 179, 255, .22); }
.h2-intro .h2-bullets a:hover { color: #1b6fb5; }
@media (max-width: 900px) { .ad-v3-story.h2-first .ad-stage { height: calc(100svh - 94px - 210px); } }

/* home: the scene fills the first screen again (no headline band under it) */
.ad-v3-story.h2-first .ad-stage { height: calc(100vh - 94px); height: calc(100svh - 94px); }
@media (max-width: 900px) { .ad-v3-story.h2-first .ad-stage { height: calc(100svh - 94px); } }

/* Home hero: the lane centering drive video, full height under the header, then the featured product and program */
.hv { position: relative; background: #0b0d11; }
.hv-frame { position: relative; height: calc(100vh - 94px); height: calc(100svh - 94px); max-height: 56.25vw; aspect-ratio: 16 / 9; max-width: 100%; margin: 0 auto; overflow: hidden; }
.hv-frame img, .hv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv-frame img { object-fit: cover; }
.hv-frame iframe { pointer-events: none; }
.hv-feat { padding: 26px 0 18px; background: #fff; border-bottom: 1px solid rgba(22, 60, 120, .1); }
.hv-feat .sw-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hv-card { display: grid; grid-template-columns: 38% 1fr; gap: 22px; align-items: center; padding: 18px 22px; border: 1px solid #dfe6f2; border-radius: 14px; background: #fff; color: #0e1821; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.hv-card:hover { border-color: #1b6fb5; box-shadow: 0 12px 30px rgba(4, 40, 120, .12); }
.hv-card img { display: block; width: 100%; height: auto; }
.hv-card .hv-photo { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.hv-card p { margin: 0 0 6px; font: 700 11.5px/1 var(--f-head, inherit); letter-spacing: 1.8px; text-transform: uppercase; color: #5a6677; }
.hv-card b { display: block; font: 700 24px/1.2 var(--f-head, inherit); }
.hv-card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hv-card li { position: relative; margin: 0; padding: 0 0 0 18px; border: 0; background: none; font: 600 15.5px/1.3 var(--f-head, inherit); color: #24364a; }
.hv-card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: #1b6fb5; }
.hv-credit { margin: 10px auto 0; max-width: 1240px; padding: 0 24px; text-align: right; font-size: 11px; color: #8d97a6; }
.hv-credit a { color: inherit; }
@media (max-width: 860px) { .hv-feat .sw-wrap { grid-template-columns: 1fr; } }

/* two-card rows (Automotive Vision): pictures 70% taller than the three-card rows */
.h2-grid-2 .h2-shot { height: 380px; }
.h2-grid-2 .h2-shot img { max-height: 350px; }
.h2-grid-2 .h2-shot-photo img { max-height: none; object-position: left top; }
@media (max-width: 860px) { .h2-grid-2 .h2-shot { height: 300px; } .h2-grid-2 .h2-shot img { max-height: 280px; } }

/* Home hero, own video: fills the first screen (cropped to fit), readouts along the bottom edge */
.hv-own { aspect-ratio: auto; max-height: none; max-width: none; width: 100%; height: calc(100vh - 94px); height: calc(100svh - 94px); }
.hv-own .hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hv-strip { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 0; padding: 14px 24px 16px; background: linear-gradient(180deg, rgba(8, 10, 14, 0), rgba(8, 10, 14, .82) 45%); color: #e6ecf4; font-family: var(--f-head, inherit); }
.hv-strip > div { min-width: 170px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .16); text-align: center; }
.hv-strip > div:first-child { border-left: 0; }
.hv-strip span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #9fb0c6; }
.hv-strip b { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; }
.hv-strip i { font-style: normal; }
.hv-strip small { font-size: 13px; font-weight: 600; color: #9fb0c6; }
.hv-wheel { width: 34px; height: 34px; color: #cfd9e6; }
.hv-strip-cap b { font-size: 17px; }
@media (max-width: 760px) { .hv-strip > div { min-width: 0; padding: 0 12px; } .hv-strip b { font-size: 20px; } .hv-strip-cap { display: none; } .hv-wheel { width: 24px; height: 24px; } }

/* Home hero v2: video, featured product and featured program all on the first screen */
.hv2 { --hv-h: calc(100svh - 94px); display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 14px; height: var(--hv-h); min-height: 560px; padding: 14px max(20px, calc((100% - 1240px) / 2)) 8px; background: #0b0d11; font-family: "Open Sans", var(--f-body, sans-serif); }
.hv2-frame { position: relative; justify-self: center; height: 100%; aspect-ratio: 1280 / 570; max-width: 100%; border-radius: 12px; overflow: hidden; background: #000; }
.hv2-frame .hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2 .hv-strip { padding: 22px 16px 10px; font-family: inherit; }
.hv2 .hv-strip > div { min-width: 120px; padding: 0 20px; }
.hv2 .hv-strip span { font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; }
.hv2 .hv-strip b { margin-top: 3px; font-size: 22px; font-weight: 600; }
.hv2 .hv-strip small { font-size: 12px; font-weight: 400; }
.hv2 .hv-strip-cap b { font-size: 15px; font-weight: 600; }
.hv2 .hv-wheel { width: 24px; height: 24px; }
.hv2-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hv2 .hv-card { grid-template-columns: 120px 1fr; gap: 18px; padding: 10px 18px; border-color: #232a35; border-radius: 12px; background: #12161d; color: #e6ecf4; }
.hv2 .hv-card:hover { border-color: #6fbfe4; box-shadow: none; }
.hv2 .hv-card img { max-height: 84px; width: 100%; object-fit: contain; }
.hv2 .hv-card .hv-photo { height: 84px; aspect-ratio: auto; object-fit: cover; border-radius: 6px; }
.hv2 .hv-card p { margin: 0 0 2px; font: 600 10.5px/1.2 inherit; font-family: inherit; letter-spacing: 1.4px; color: #8d99aa; }
.hv2 .hv-card b { font: 600 19px/1.2 inherit; font-family: inherit; color: #fff; }
.hv2 .hv-card ul { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 5px 0 0; }
.hv2 .hv-card li { padding-left: 12px; font: 400 14px/1.4 inherit; font-family: inherit; color: #c3cedb; }
.hv2 .hv-card li::before { top: .58em; width: 5px; height: 5px; background: #6fbfe4; }
.hv2 .hv-credit { margin: 0; padding: 0; max-width: none; font-size: 10px; color: #5d6878; }
@media (max-width: 860px) { .hv2 { height: auto; min-height: 0; grid-template-rows: auto auto auto; } .hv2-frame { height: auto; width: 100%; } .hv2-cards { grid-template-columns: 1fr; } }

/* hero v2 type: Open Sans, lighter weights */
.hv2 .hv-card p { font-family: "Open Sans", sans-serif; font-size: 10.5px; font-weight: 600; line-height: 1.2; }
.hv2 .hv-card b { font-family: "Open Sans", sans-serif; font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.hv2 .hv-card li { font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.4; }
.hv2 .hv-strip, .hv2 .hv-strip b, .hv2 .hv-strip span { font-family: "Open Sans", sans-serif; }
.hv2 .hv-strip b { font-weight: 500; }

/* hero v2: video cropped to 80% of its height, taller cards filling the rest of the first screen */
.hv2 { grid-template-rows: auto minmax(0, 1fr) auto; }
.hv2-frame { width: 100%; height: auto; aspect-ratio: 1280 / 456; max-height: 62svh; }
.hv2-frame .hv-video { object-position: center 72%; }
.hv2-cards { min-height: 150px; }
.hv2 .hv-card { grid-template-columns: minmax(150px, 30%) 1fr; gap: 24px; padding: 16px 24px; align-items: center; }
.hv2 .hv-card img { max-height: none; height: 100%; max-height: 150px; }
.hv2 .hv-card .hv-photo { height: 100%; max-height: 150px; min-height: 100px; }
.hv2 .hv-card p { font-size: 11.5px; margin-bottom: 4px; }
.hv2 .hv-card b { font-size: 24px; }
.hv2 .hv-card ul { display: grid; gap: 4px; margin-top: 8px; }
.hv2 .hv-card li { font-size: 15.5px; }
@media (max-width: 860px) { .hv2 { grid-template-rows: auto auto auto; } .hv2-frame { max-height: none; } }

/* Home hero v3: the three automotive cards fill the first screen */
.hv3 { display: grid; align-items: center; min-height: calc(100svh - 94px); padding: 26px max(20px, calc((100% - 1240px) / 2)); background: #0b0d11; font-family: "Open Sans", var(--f-body, sans-serif); }
.hv3 .ac-cards { --ac-pic-h: clamp(240px, 46vh, 460px); gap: 22px; }
.hv3 .ac-card { padding: 18px 20px 24px; }
.hv3 .ac-card h3 { font-family: "Open Sans", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: 0; }
.hv3 .ac-card p { font-size: 17px; }
html[data-theme] .hv3 .ac-card h3 { color: #fff !important; -webkit-text-fill-color: #fff; }
html[data-theme] .hv3 .ac-card p { color: #c3cedb !important; }
html[data-theme] .hv3 .ac-card i { color: #6fbfe4 !important; }

/* Home: square pictures in the three cards, then the full-width Featured Program card */
.hv3 { align-items: start; gap: 22px; padding-top: 30px; padding-bottom: 40px; }
.hv3 .ac-cards { --ac-pic-h: auto; }
html[data-theme] .hv3 .ac-card li { color: #c3cedb !important; background: none !important; font-size: 17px; }
.hp-card { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 30px; align-items: center; padding: 22px; border: 1px solid #232a35; border-radius: 12px; background: #12161d; color: #c3cedb; text-decoration: none; transition: border-color .15s; }
.hp-card:hover { border-color: #6fbfe4; }
.hp-pic { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #000; }
.hp-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.hp-copy { position: relative; }
.hp-copy > i { display: block; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6fbfe4; }
html[data-theme] .hp-copy h2 { margin: 6px 0 14px; font: 600 clamp(24px, 2.6vw, 36px)/1.15 "Open Sans", sans-serif; letter-spacing: 0; color: #fff !important; -webkit-text-fill-color: #fff; }
html[data-theme] .hp-copy h2::after { display: none; }
html[data-theme] .hp-five { margin: 0 0 8px; color: #fff !important; }
.hp-five b { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #1b6fb5; font: 700 14px/1.2 "Open Sans", sans-serif; letter-spacing: .06em; color: #fff; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
html[data-theme] .hp-chips li { margin: 0; padding: 7px 14px; border: 1px solid #2f3a4a; border-radius: 999px; background: #1a2029 !important; font: 600 15px/1.2 "Open Sans", sans-serif; color: #e6ecf4 !important; }
html[data-theme] .hp-next { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.55; color: #c3cedb !important; }
.hp-credit { display: block; margin-top: 12px; font-size: 10.5px; color: #5d6878; }
@media (max-width: 760px) { .hp-card { grid-template-columns: 1fr; } }

/* Home top on a light background */
.hv3 { background: var(--sw-bg, #f3f6fa); }
html[data-theme] .hv3 .ac-card h3 { color: #0e1821 !important; -webkit-text-fill-color: #0e1821; }
html[data-theme] .hv3 .ac-card p, html[data-theme] .hv3 .ac-card li { color: #3a4a5e !important; }
html[data-theme] .hv3 .ac-card i { color: #1b6fb5 !important; }
.hv3 .ac-card { box-shadow: 0 10px 28px rgba(4, 40, 120, .07); }
.hp-card { border-color: rgba(22, 60, 120, .16); background: #fff; color: #3a4a5e; box-shadow: 0 10px 28px rgba(4, 40, 120, .07); }
.hp-card:hover { border-color: #1b6fb5; }
.hp-copy > i { color: #1b6fb5; }
html[data-theme] .hp-copy h2 { color: #0e1821 !important; -webkit-text-fill-color: #0e1821; }
html[data-theme] .hp-chips li { border-color: #c9d3e2; background: #f4f7fc !important; color: #0e1821 !important; }
html[data-theme] .hp-next { color: #3a4a5e !important; }
.hp-credit { color: #8d97a6; }

/* cut-out side view of the Mach-E on a plain tile */
.hp-pic-cut { display: grid; place-items: center; background: #eef2f8; }
.hp-pic-cut img { width: 92%; height: auto; object-fit: contain; }

/* Home top as one card: three columns, then the featured program in the same grid, every picture a square */
.hv3-one { padding: 24px; border: 1px solid rgba(22, 60, 120, .16); border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(4, 40, 120, .08); }
.hv3-one .ac-cards { gap: 28px; }
.hv3-one .ac-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hv3-one .ac-card:hover { transform: none; }
.hv3-one .ac-card:hover h3 { color: #1b6fb5 !important; -webkit-text-fill-color: #1b6fb5; }
.hv3-one .ac-pic, .hv3-one .hp-pic { aspect-ratio: 1 / 1; height: auto; border-radius: 10px; }
.hv3-one .hp-card { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; padding: 26px 0 0; border: 0; border-top: 1px solid #dfe6f2; border-radius: 0; background: none; box-shadow: none; }
.hv3-one .hp-copy { grid-column: span 2; }
@media (max-width: 900px) { .hv3-one .hp-card { grid-template-columns: 1fr; } .hv3-one .hp-copy { grid-column: auto; } }

/* Featured Program first, then the three items; squares made with padding so they hold in every browser */
.hv3-one .hp-card { margin-top: 0; padding: 0 0 26px; border-top: 0; border-bottom: 1px solid #dfe6f2; }
.hv3-one .ac-cards { margin-top: 26px; }
.hv3-one .ac-pic, .hv3-one .hp-pic { position: relative; display: block; width: 100%; height: 0 !important; padding: 0 0 100% !important; aspect-ratio: auto; overflow: hidden; }
.hv3-one .ac-pic > img, .hv3-one .ac-pic > video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.hv3-one .ac-pic-contain > img { object-fit: contain; padding: 6%; box-sizing: border-box; }
.hv3-one .hp-pic-cut { background: #e3e9f2; }
.hv3-one .hp-pic-cut > img { position: absolute; left: 4%; top: 50%; width: 92%; height: auto; transform: translateY(-50%); }

/* alternate home hero: one full-width scene */
.hs { position: relative; min-height: calc(100svh - 94px); overflow: hidden; background: #0b0d11 url("../assets/img/scene-road.jpg") center 62% / cover no-repeat; color: #fff; font-family: "Open Sans", sans-serif; }
.hs::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 14, .9) 0%, rgba(8, 10, 14, .72) 38%, rgba(8, 10, 14, .25) 70%, rgba(8, 10, 14, .1) 100%), linear-gradient(180deg, rgba(8, 10, 14, .55), rgba(8, 10, 14, 0) 38%); }
.hs-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; min-height: calc(100svh - 94px); padding: 44px max(28px, calc((100% - 1700px) / 2)) 40px; }
.hs-brand { position: absolute; right: max(28px, calc((100% - 1700px) / 2)); top: 34px; font: italic 600 22px/1 "Open Sans", sans-serif; letter-spacing: .04em; color: #fff; }
.hs-brand b { font-weight: 300; font-size: 34px; color: #4fb4f0; margin-left: 6px; }
.hs-copy { align-self: start; }
.hs h1 { margin: 0 0 6px; max-width: 760px; font: italic 600 clamp(30px, 3.6vw, 58px)/1.1 "Open Sans", sans-serif; letter-spacing: .02em; text-transform: uppercase; color: #fff !important; -webkit-text-fill-color: #fff; }
.hs h1 span { display: block; color: #4fb4f0; -webkit-text-fill-color: #4fb4f0; background: none; }
.hs-sub { margin: 14px 0 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: #d5deea !important; }
.hs-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; max-width: 760px; margin-top: 46px; }
.hs-part { display: block; color: #fff; text-decoration: none; }
.hs-part .hs-pic { display: grid; place-items: center; aspect-ratio: 1 / 1; margin-bottom: 12px; }
.hs-part .hs-pic img, .hs-part .hs-pic video { display: block; max-width: 100%; max-height: 100%; }
.hs-part .hs-round img, .hs-part .hs-round video { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.hs-part b { display: block; font: italic 600 clamp(15px, 1.25vw, 20px)/1.15 "Open Sans", sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.hs-part span { display: block; margin-top: 3px; font: italic 300 clamp(14px, 1.1vw, 18px)/1.2 "Open Sans", sans-serif; letter-spacing: .04em; color: #cfd9e6; }
.hs-part:hover b { color: #4fb4f0; }
.hs-car { align-self: end; justify-self: end; width: min(100%, 900px); margin-bottom: 2vh; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .55)); }
.hs-car img { display: block; width: 100%; height: auto; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
html[data-theme] .hs-chips li { margin: 0; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(8, 10, 14, .45) !important; font: 600 14.5px/1.2 "Open Sans", sans-serif; color: #fff !important; }
@media (max-width: 980px) { .hs-in { grid-template-columns: 1fr; } .hs-brand { position: static; margin-bottom: 14px; } .hs-car { justify-self: center; } }
.hs-in { padding-top: 74px; }
.hs-brand { top: 30px; }

/* second alternate home hero: half picture with four thumbnails, half text, all on one screen */
.hk { background: var(--sw-bg, #f3f6fa); font-family: "Open Sans", sans-serif; }
.hk-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: center; min-height: calc(100svh - 94px); padding: 26px max(28px, calc((100% - 1500px) / 2)); }
.hk-media { display: grid; gap: 14px; justify-self: end; width: min(100%, calc((100svh - 94px - 52px - 40px) / 1.25)); min-width: 320px; }
.hk-stage { position: relative; width: 100%; height: 0; padding-bottom: 100%; border-radius: 16px; overflow: hidden; background: #eef1f5; box-shadow: 0 16px 40px rgba(4, 40, 120, .12); }
.hk-stage > img, .hk-stage > video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; animation: hk-in .35s ease; }
.hk-stage > .hk-contain { object-fit: contain; }
@keyframes hk-in { from { opacity: 0; } to { opacity: 1; } }
.hk-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hk-thumb { display: block; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; text-align: center; color: #3a4a5e; }
.hk-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 2px solid transparent; background: #eef1f5; opacity: .75; transition: opacity .15s, border-color .15s; }
.hk-thumb span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.hk-thumb:hover img, .hk-thumb.on img { opacity: 1; }
.hk-thumb.on img { border-color: #1b6fb5; }
.hk-thumb.on span { color: #1b6fb5; }
.hk-copy { max-width: 620px; }
.hk-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1b6fb5 !important; }
html[data-theme] .hk h1 { margin: 0; font: 700 clamp(34px, 4vw, 60px)/1.05 var(--f-head, "Open Sans", sans-serif); letter-spacing: -.01em; color: #0e1821 !important; -webkit-text-fill-color: #0e1821; }
html[data-theme] .hk-sub { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: #3a4a5e !important; }
.hk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
html[data-theme] .hk-chips li { margin: 0; padding: 7px 14px; border: 1px solid #c9d3e2; border-radius: 999px; background: #fff !important; font: 600 15px/1.2 "Open Sans", sans-serif; color: #0e1821 !important; }
.hk-now { margin: 26px 0 0; padding: 14px 18px; border-left: 4px solid #1b6fb5; border-radius: 0 10px 10px 0; background: #fff; min-height: 74px; }
.hk-now b { display: block; font: 700 19px/1.25 var(--f-head, inherit); color: #0e1821; }
html[data-theme] .hk-now span { display: block; margin-top: 3px; font-size: 16px; line-height: 1.45; color: #3a4a5e !important; }
html[data-theme] .hk-next { margin: 14px 0 0; font-size: 15.5px; color: #5a6677 !important; }
.hk-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) { .hk-in { grid-template-columns: 1fr; min-height: 0; } .hk-media { justify-self: center; width: min(100%, 520px); } }

/* home top: one line and the three automotive cards */
.hi { background: var(--sw-bg, #f3f6fa); }
.hi-in { display: grid; gap: 20px; width: min(1240px, calc(100% - 56px)); margin: 0 auto; padding: 62px 0 34px; }
html[data-theme] .hi h1 { margin: 0; font: 700 clamp(28px, 3.3vw, 46px)/1.12 var(--f-head, "Open Sans", sans-serif); letter-spacing: -.01em; color: #0e1821 !important; -webkit-text-fill-color: #0e1821; background: none; }
html[data-theme] .hi h1 span { color: #1b6fb5 !important; -webkit-text-fill-color: #1b6fb5; background: none; }
.hi-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* home top: full-background drive picture with headline and two buttons */
.hb { position: relative; min-height: calc(100svh - 94px); display: grid; align-items: end; overflow: hidden; background: #0b0d11 url("../assets/img/adas-kit-scene.jpg") center 45% / cover no-repeat; }
.hb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 14, .15) 0%, rgba(6, 9, 14, 0) 35%, rgba(6, 9, 14, .55) 68%, rgba(6, 9, 14, .9) 100%); }
.hb-in { position: relative; width: min(1240px, calc(100% - 56px)); margin: 0 auto; padding: 40px 0 44px; }
html[data-theme] .hb h1 { margin: 0; max-width: none; font: 700 clamp(30px, 4vw, 58px)/1.08 var(--f-head, "Open Sans", sans-serif); letter-spacing: -.01em; color: #fff !important; -webkit-text-fill-color: #fff; background: none; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
html[data-theme] .hb h1 span { display: block; margin-bottom: 10px; font: 700 15px/1 var(--f-head, "Open Sans", sans-serif); letter-spacing: .18em; text-transform: uppercase; color: #6cc0ff !important; -webkit-text-fill-color: #6cc0ff; background: none; }
html[data-theme] .hb-parts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 0; font: 600 19px/1.3 "Open Sans", sans-serif; color: #e6edf6 !important; }
.hb-parts i { width: 6px; height: 6px; border-radius: 50%; background: #6cc0ff; }
.hb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
html[data-theme] .hb .hb-ghost { background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .6) !important; color: #fff !important; }
html[data-theme] .hb .hb-ghost:hover { background: rgba(255, 255, 255, .2) !important; }

/* front page Featured Program: short version (one line, three labelled pictures, two buttons) */
html[data-theme] .gvh-short .gvh-line { margin: 0; max-width: none; font-size: 20px; }
html[data-theme] .gvh-short .ac-card h3 { margin: 4px 0 2px; font-size: 21px; text-align: center; }
.gvh-short .ac-card { padding-bottom: 16px; }
html[data-theme] .gvh-short .pg-hero { padding-bottom: 44px; }

/* home headline: green NEW! box; the four actions as one even row of buttons */
.gvh .new-box { display: inline-block; vertical-align: middle; margin: -.2em 0 0 .35em; padding: .38em .6em .34em; border-radius: 8px; background: #2fe37a; color: #04240f; font: 800 .34em/1 var(--f-head, "Open Sans", sans-serif); font-style: normal; letter-spacing: .1em; -webkit-text-fill-color: #04240f; }
html[data-theme] .gvh .gv2-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
html[data-theme] .gvh .gv2-cta .sw-btn { margin: 0; white-space: nowrap; min-height: 54px; display: inline-flex; align-items: center; }
