/* UGL studio edition: an editorial opening and a showroom of real components.
   Shared foundations and homepage only; interior/commerce overrides are separate. */
:root { --studio-paper: #f3f5f7; --studio-blue-paper: #e8eef7; --studio-radius: 24px; }
.utility-bar { background: #11171d; }
.header-main { height: 88px; }
.header-search { border-radius: 10px; background: #f3f5f7; }
.header-search button { border-radius: 8px; }
.main-nav { background: #fff; }
.nav-content { height: 56px; }
.mega-menu { border-radius: 0 0 18px 18px; box-shadow: 0 24px 40px #14253612; border-top: 1px solid var(--line); }
.mega-heading strong { font-size: 28px; font-weight: 500; letter-spacing: -.045em; }
.mega-categories a { min-height: 58px; padding: 17px 20px; border-radius: 10px; }
.mega-categories a:hover { background: var(--studio-paper); }
.btn { transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: none; }
.hero-buttons .btn > .icon, .solution-copy .btn > .icon, .help-cta .btn > .icon {
  width: 32px; height: 32px; padding: 7px; border-radius: 5px; flex-shrink: 0;
  background: #ffffff20;
}
.hero-buttons .btn, .solution-copy .btn, .help-cta .btn { padding-right: 10px !important; }
.solution-copy .btn-white > .icon, .help-cta .btn > .icon { background: var(--ink); color: white; }

/* A large sentence and a concise supporting column lead into truck + component studies. */
body[data-page="home"] .home-hero { background: #f5f6f7; padding: 58px 0 34px; }
body[data-page="home"] .hero-content.home-hero-grid { display: block; }
body[data-page="home"] .hero-copy {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  grid-template-areas: "label copy" "title copy" "title actions" "proof proof";
  column-gap: 76px; row-gap: 20px; padding: 0; max-width: none;
}
body[data-page="home"] .hero-copy > .eyebrow { grid-area: label; margin: 0; align-self: end; }
body[data-page="home"] .hero-copy h1 { grid-area: title; font-size: clamp(72px, 7.6vw, 110px); font-weight: 500; line-height: .98; letter-spacing: -.065em; margin: 0; }
body[data-page="home"] .hero-copy > p { grid-area: copy; align-self: end; margin: 8px 0 0; max-width: 410px; font-size: 19px; line-height: 1.6; }
body[data-page="home"] .hero-copy > p br { display: none; }
body[data-page="home"] .hero-buttons { grid-area: actions; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding-top: 4px; }
body[data-page="home"] .hero-secondary { font-size: 14px; padding-block: 6px; border: 0; }
body[data-page="home"] .hero-proof { grid-area: proof; margin: 25px 0 0; padding: 21px 0; border-top: 1px solid #d7dfe5; justify-content: space-between; max-width: none; }
body[data-page="home"] .hero-proof > span { font-size: 13px; }
body[data-page="home"] .hero-gallery { display: grid; grid-template-columns: 1.63fr 1fr; gap: 16px; margin-top: 8px; animation: none; }
body[data-page="home"] .hero-photo-frame { height: 405px; border-radius: 18px; }
body[data-page="home"] .hero-photo { object-position: 50% 60%; filter: saturate(.72); }
body[data-page="home"] .hero-coordinate { left: 24px; bottom: 24px; background: #ffffffed; font-size: 11px; padding: 14px 18px; }
body[data-page="home"] .hero-parts-study { position: relative; min-width: 0; height: 405px; overflow: hidden; background: var(--studio-blue-paper); border-radius: 18px; }
body[data-page="home"] .hero-part-cutout { width: 100%; height: 100%; object-fit: contain; padding: 22px 50px 62px; filter: drop-shadow(0 14px 12px #14253614); }
body[data-page="home"] .hero-side-note { position: absolute; inset: auto 25px 22px; margin: 0; gap: 18px; }
body[data-page="home"] .hero-side-note > span:first-child { font-size: 12px; letter-spacing: .025em; white-space: normal; }
body[data-page="home"] .hero-side-note small { font-size: 12px; color: #5d6a79; max-width: 180px; line-height: 1.45; letter-spacing: .01em; }
body[data-page="home"] .hero-side-note .hero-line { background: #aebfd2; }

/* The finder stays practical; the supporting strip has space to breathe. */
body[data-page="home"] .fitment-wrap { margin-top: 32px; }
body[data-page="home"] .fitment-card { border-radius: 16px; border-color: #dce3e9; padding: 30px; }
body[data-page="home"] .fitment-icon { background: #eef2f7; border-radius: 50%; }
body[data-page="home"] .trust-strip { padding: 38px 0 0; gap: 25px; }
body[data-page="home"] .trust-strip > div { border-left: 1px solid var(--line); padding-left: 24px; }
body[data-page="home"] .trust-strip > div:first-child { border-left: 0; padding-left: 0; }
body[data-page="home"] #main .section-pad { padding-block: 110px; }
body[data-page="home"] #main .section-heading h2 { font-weight: 500; font-size: clamp(38px, 3.9vw, 58px); letter-spacing: -.05em; }
body[data-page="home"] #main .section-heading > a { align-self: end; padding-bottom: 5px; }
body[data-page="home"] #main .section-heading .eyebrow { color: #5e6c7b; letter-spacing: .075em; }

/* Component cards use alpha-cut photographs, with the two powertrain systems leading. */
body[data-page="home"] .category-grid { gap: 18px; }
body[data-page="home"] .category-card { border-radius: 20px; background: #f0f2f4; }
body[data-page="home"] .category-card:first-child { grid-column: span 6; background: #edf1f6; }
body[data-page="home"] .category-card:nth-child(2) { grid-column: span 6; background: #e8eff9; }
body[data-page="home"] .category-card:nth-child(-n+2) .category-visual { height: 390px; padding: 28px 62px 4px; }
body[data-page="home"] .category-visual { height: 235px; padding: 24px; }
body[data-page="home"] .category-visual img { mix-blend-mode: multiply; }
body[data-page="home"] .category-visual img[src*="cutouts/"] { mix-blend-mode: normal; filter: drop-shadow(0 14px 12px #14253613); }
body[data-page="home"] .category-card:nth-child(-n+2) > div:last-child { padding: 22px 32px 30px; border-top: 1px solid #14253612; margin-inline: 24px; padding-inline: 0; }
body[data-page="home"] .category-card:nth-child(-n+2) h3 { font-size: 35px; font-weight: 500; }
body[data-page="home"] .category-card > div:last-child > span { width: 44px; height: 44px; flex-basis: 44px; border: 0; border-radius: 9px; background: white; }
body[data-page="home"] .category-card:hover { transform: none; background: #e5ebf3; }
body[data-page="home"] .category-card:hover > div:last-child > span { background: var(--blue); color: white; }
body[data-page="home"] .category-card:hover img { transform: scale(1.035); }
body[data-page="home"] .category-subline { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 30px; }
body[data-page="home"] #main .brand-section-heading .eyebrow { text-transform: lowercase; font-size: 24px; line-height: 1.35; }
body[data-page="home"] #main .brand-section-heading .eyebrow::first-letter { text-transform: uppercase; }
body[data-page="home"] .brand-section { background: #f5f6f7; padding-block: 72px; }
body[data-page="home"] .makes-row .make-wordmark { min-height: 122px; font-size: 25px; font-weight: 550; letter-spacing: -.055em; }
body[data-page="home"] .featured-section .product-image { border-radius: 20px; }
body[data-page="home"] .featured-section .product-image img[src*="cutouts/"] { mix-blend-mode: normal; filter: drop-shadow(0 10px 10px #14253610); }
body[data-page="home"] .inventory-note { padding-top: 26px; border-top: 1px solid var(--line); }

/* The graphite service chapter is retained, then a quieter three-step sequence. */
body[data-page="home"] .why-section { border-radius: 28px; }
body[data-page="home"] .why-point { background: #172027; box-shadow: none; }
body[data-page="home"] .why-point > span { background: transparent; border-color: #91b5ff40; }
body[data-page="home"] .steps-row { gap: 0; margin-top: 46px; }
body[data-page="home"] .steps-row > div { position: relative; padding: 32px 36px 0; border-top: 1px solid #cbd5df; border-right: 1px solid #dfe5eb; }
body[data-page="home"] .steps-row > div:first-child { padding-left: 0; }
body[data-page="home"] .steps-row > div:last-child { border-right: 0; }
body[data-page="home"] .step-number { font-size: 74px; font-weight: 400; letter-spacing: -.065em; color: #7188a5; margin-bottom: 50px; }
body[data-page="home"] .steps-row h3 { font-size: 29px; font-weight: 500; }
body[data-page="home"] .steps-row p { font-size: 16px; }

/* Two photographic chapters, with copy above the image to make the hierarchy clear. */
body[data-page="home"] .solutions-section { gap: 20px; }
body[data-page="home"] .solution-card { border-radius: 22px; border: 0; }
body[data-page="home"] .solution-card > .solution-copy { order: -1; min-height: 340px; padding: 40px; }
body[data-page="home"] .solution-card > .solution-media { height: 330px; margin: 0 16px 16px; width: calc(100% - 32px); border-radius: 14px; }
body[data-page="home"] .solution-card h2 { font-weight: 500; font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.05em; }
body[data-page="home"] .solution-card .btn { margin-top: auto; }
body[data-page="home"] .sell-card { background: #f0f3f6; }
body[data-page="home"] .fleet-card { background: #102b46; }

/* An open editorial shelf ends the shopping journey. */
body[data-page="home"] .home-guides-section .guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
body[data-page="home"] .home-guides-section .guide-card,
body[data-page="home"] .home-guides-section .guide-card:first-child { display: flex; flex-direction: column; grid-row: auto; border: 0; border-radius: 0; background: none; }
body[data-page="home"] .home-guides-section .guide-photo,
body[data-page="home"] .home-guides-section .guide-card:first-child .guide-photo { height: 290px; min-height: 0; flex: 0 0 290px; border-radius: 18px; }
body[data-page="home"] .home-guides-section .guide-body,
body[data-page="home"] .home-guides-section .guide-card:first-child .guide-body { padding: 25px 0 0; justify-content: flex-start; }
body[data-page="home"] .home-guides-section .guide-body h3,
body[data-page="home"] .home-guides-section .guide-card:first-child .guide-body h3 { font-size: 29px; line-height: 1.2; font-weight: 500; }
body[data-page="home"] .home-guides-section .guide-body > small { font-size: 11px; }
body[data-page="home"] .home-guides-section .guide-body .text-link { padding-top: 18px; border-top: 1px solid var(--line); width: 100%; justify-content: space-between; }
body[data-page="home"] .home-guides-section .guide-photo img[src*="cutouts/"] { mix-blend-mode: normal; padding: 28px; }

/* A spacious shared ending with a deliberate grid, not extra promotional content. */
.help-cta { padding: 84px 0; }
.help-cta h2 { font-size: clamp(38px,4.5vw,66px); font-weight: 500; letter-spacing: -.055em; }
.help-cta .cta-icon { border-radius: 20px; width: 100px; height: 100px; }
.site-footer { padding-top: 80px; }
.footer-top { column-gap: 48px; }
.footer-top > div:not(:first-child):not(.footer-contact) { padding-left: 28px; border-left: 1px solid #ffffff13; }
.footer-top h3 { font-size: 19px; font-weight: 500; }
.footer-top .footer-contact h3 { font-size: 36px; letter-spacing: -.045em; }
.footer-bottom { padding-top: 28px; }

@media (max-width:1199px) {
  body[data-page="home"] .hero-copy { column-gap: 42px; grid-template-columns: 1fr .65fr; }
  body[data-page="home"] .hero-copy h1 { font-size: 82px; }
  body[data-page="home"] .hero-gallery { grid-template-columns: 1.5fr 1fr; }
  body[data-page="home"] .hero-part-cutout { padding-inline: 25px; }
  body[data-page="home"] .hero-side-note .hero-line { display: none; }
  body[data-page="home"] .hero-side-note small { max-width: 135px; }
  body[data-page="home"] .trust-strip > div:nth-child(3) { border-left: 0; padding-left: 0; }
  body[data-page="home"] .category-card:nth-child(-n+2) .category-visual { height: 330px; padding-inline: 40px; }
  body[data-page="home"] .category-visual { height: 210px; }
  body[data-page="home"] .category-card h3 { font-size: 20px; }
  body[data-page="home"] .home-guides-section .guide-photo,
  body[data-page="home"] .home-guides-section .guide-card:first-child .guide-photo { height: 250px; flex-basis: 250px; }
  body[data-page="home"] .home-guides-section .guide-body h3,
  body[data-page="home"] .home-guides-section .guide-card:first-child .guide-body h3 { font-size: 25px; }
  .footer-top { column-gap: 28px; }
  .footer-top > div:not(:first-child):not(.footer-contact) { padding-left: 18px; }
}
@media (max-width:1100px) {
  .header-main, .nav-content { height: auto; }
}
@media (max-width:991px) {
  body[data-page="home"] .hero-copy { grid-template-columns: 1fr 1fr; column-gap: 30px; }
  body[data-page="home"] .hero-copy h1 { font-size: 70px; }
  body[data-page="home"] .hero-copy > p { font-size: 17px; }
  body[data-page="home"] .hero-gallery { grid-template-columns: 1.2fr 1fr; }
  body[data-page="home"] .hero-photo-frame, body[data-page="home"] .hero-parts-study { height: 340px; aspect-ratio: auto; }
  body[data-page="home"] .hero-coordinate { left: 16px; bottom: 16px; max-width: calc(100% - 32px); font-size: 9px; }
  body[data-page="home"] .hero-side-note { inset-inline: 18px; gap: 8px; }
  body[data-page="home"] .hero-side-note small { font-size: 12px; max-width: 128px; }
  body[data-page="home"] .hero-side-note > span:first-child { font-size: 12px; }
  body[data-page="home"] #main .section-pad { padding-block: 80px; }
  body[data-page="home"] .category-card { grid-column: span 6; }
  body[data-page="home"] .category-visual { height: 260px; }
  body[data-page="home"] .category-card:nth-child(-n+2) .category-visual { height: 290px; padding-inline: 28px; }
  body[data-page="home"] .category-card:nth-child(-n+2) h3 { font-size: 29px; }
  body[data-page="home"] .steps-row > div { padding-inline: 23px; }
  body[data-page="home"] .steps-row h3 { font-size: 26px; }
  body[data-page="home"] .step-number { font-size: 62px; margin-bottom: 38px; }
  body[data-page="home"] .solution-card > .solution-copy { padding: 28px; min-height: 360px; }
  body[data-page="home"] .solution-card > .solution-media { height: 260px; }
  body[data-page="home"] .home-guides-section .guide-grid { grid-template-columns: 1fr; gap: 32px; }
  body[data-page="home"] .home-guides-section .guide-card,
  body[data-page="home"] .home-guides-section .guide-card:first-child { display: grid; grid-template-columns: .8fr 1fr; gap: 28px; }
  body[data-page="home"] .home-guides-section .guide-body,
  body[data-page="home"] .home-guides-section .guide-card:first-child .guide-body { padding: 15px 0; }
  .footer-top > div:not(:first-child):not(.footer-contact) { padding-left: 0; border: 0; }
}
@media (max-width:767px) {
  .header-main { height: auto; }
  .mega-heading strong { font-size: 22px; }
  .help-cta { padding: 54px 0; }
  .site-footer { padding-top: 56px; }
  .footer-top .footer-contact h3 { font-size: 31px; }
  body[data-page="home"] .home-hero { padding: 36px 0 26px; }
  body[data-page="home"] .hero-copy { display: block; }
  body[data-page="home"] .hero-copy > .eyebrow { font-size: 11px; margin-bottom: 22px; }
  body[data-page="home"] .hero-copy h1 { font-size: clamp(56px,14.8vw,82px); margin-bottom: 25px; line-height: 1; }
  body[data-page="home"] .hero-copy > p { margin: 0 0 24px; max-width: 490px; }
  body[data-page="home"] .hero-buttons { flex-direction: row; align-items: center; gap: 12px 20px; padding: 0; }
  body[data-page="home"] .hero-proof { margin-top: 26px; gap: 12px; padding-block: 20px; }
  body[data-page="home"] .hero-proof > span { font-size: 12px; }
  body[data-page="home"] .hero-gallery { grid-template-columns: 1fr; gap: 14px; }
  body[data-page="home"] .hero-photo-frame, body[data-page="home"] .hero-parts-study { height: 310px; border-radius: 14px; }
  body[data-page="home"] .hero-photo { object-position: 55% 50%; }
  body[data-page="home"] .hero-part-cutout { padding: 20px 30px 76px; }
  body[data-page="home"] .hero-coordinate { inset: auto 16px 16px; font-size: 11px; padding: 12px; line-height: 1.4; max-width: none; }
  body[data-page="home"] .hero-coordinate span { margin: 0; }
  body[data-page="home"] .hero-side-note { inset: auto 22px 20px; display: flex; gap: 24px; }
  body[data-page="home"] .hero-side-note > span:first-child { display: block; font-size: 12px; }
  body[data-page="home"] .hero-side-note small { display: block; font-size: 12px; max-width: 145px; margin: 0; letter-spacing: .01em; }
  body[data-page="home"] .fitment-card { padding: 25px 22px; }
  body[data-page="home"] .trust-strip { padding-top: 30px; gap: 26px 20px; }
  body[data-page="home"] .trust-strip > div { padding-left: 15px; }
  body[data-page="home"] #main .section-pad { padding-block: 66px; }
  body[data-page="home"] #main .section-heading h2 { font-size: 37px; }
  body[data-page="home"] #main .section-heading > a { align-self: start; }
  body[data-page="home"] .category-grid { gap: 14px; }
  body[data-page="home"] .category-card { grid-column: auto; border-radius: 16px; }
  body[data-page="home"] .category-card:first-child, body[data-page="home"] .category-card:nth-child(2) { grid-column: 1 / -1; }
  body[data-page="home"] .category-card:nth-child(-n+2) .category-visual { height: 310px; padding: 25px 45px 0; }
  body[data-page="home"] .category-card:nth-child(-n+2) > div:last-child { margin-inline: 24px; padding-block: 20px; }
  body[data-page="home"] .category-card:nth-child(-n+2) h3 { font-size: 31px; }
  body[data-page="home"] .category-visual { height: 180px; padding: 14px; }
  body[data-page="home"] .category-card h3 { font-size: 20px; }
  body[data-page="home"] .category-card > div:last-child > span { width: 29px; height: 29px; flex-basis: 29px; border-radius: 6px; }
  body[data-page="home"] .category-card:nth-child(-n+2) > div:last-child > span { width: 40px; height: 40px; flex-basis: 40px; }
  body[data-page="home"] .brand-section { padding-block: 48px; }
  body[data-page="home"] .makes-row .make-wordmark { min-height: 100px; font-size: 21px; }
  body[data-page="home"] .steps-row { grid-template-columns: 1fr; margin-top: 28px; gap: 0; }
  body[data-page="home"] .steps-row > div, body[data-page="home"] .steps-row > div:first-child { display: grid; grid-template-columns: 64px 1fr; gap: 14px 20px; border-right: 0; padding: 28px 0; }
  body[data-page="home"] .step-number { grid-row: span 2; font-size: 48px; margin: 0; }
  body[data-page="home"] .steps-row h3 { margin: 2px 0 0; }
  body[data-page="home"] .steps-row p { grid-column: 2; }
  body[data-page="home"] .solutions-section { gap: 22px; grid-template-columns: 1fr; }
  body[data-page="home"] .solution-card > .solution-copy { min-height: 0; padding: 30px; }
  body[data-page="home"] .solution-card h2 { font-size: 36px; }
  body[data-page="home"] .solution-card > .solution-media { height: 250px; margin: 0 12px 12px; width: calc(100% - 24px); }
  body[data-page="home"] .home-guides-section .guide-card, body[data-page="home"] .home-guides-section .guide-card:first-child { display: flex; gap: 0; }
  body[data-page="home"] .home-guides-section .guide-photo, body[data-page="home"] .home-guides-section .guide-card:first-child .guide-photo { height: 290px; flex-basis: 290px; }
  body[data-page="home"] .home-guides-section .guide-body, body[data-page="home"] .home-guides-section .guide-card:first-child .guide-body { padding: 23px 0 0; }
  body[data-page="home"] .home-guides-section .guide-body h3, body[data-page="home"] .home-guides-section .guide-card:first-child .guide-body h3 { font-size: 29px; }
}
@media (max-width:379px) {
  body[data-page="home"] .category-grid { grid-template-columns: minmax(0,1fr); }
  body[data-page="home"] .category-card:nth-child(-n+2) h3 { font-size: 26px; }
  body[data-page="home"] .category-card h3 { min-width: 0; }
  body[data-page="home"] .category-visual { height: 230px; }
  body[data-page="home"] .hero-side-note { gap: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-page="home"] .hero-part-cutout, body[data-page="home"] .category-card img { transition: none; }
  body[data-page="home"] .category-card:hover img { transform: none; }
}
