:root {
  --ink: #111214;
  --paper: #f4f2ed;
  --white: #ffffff;
  --red: #e61927;
  --muted: #777b80;
  --line: #d9d7d1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 92, 166, .34), transparent 25%),
    radial-gradient(circle at 86% 34%, rgba(89, 120, 87, .28), transparent 30%),
    linear-gradient(135deg, #171819, #30332e 55%, #171819);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-jp), "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(.square-home) {
  background:
    linear-gradient(90deg, rgba(20, 12, 24, .08), rgba(13, 13, 18, .52) 44%, rgba(13, 13, 18, .52) 56%, rgba(14, 13, 24, .08)),
    url("/images/site/racing-page-background-motion.webp") center top / 135vw 100vh no-repeat,
    #17151d;
  background-attachment: fixed;
}

.racing-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.racing-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(20, 12, 24, .08), rgba(13, 13, 18, .52) 44%, rgba(13, 13, 18, .52) 56%, rgba(14, 13, 24, .08));
}

.racing-backdrop-media {
  width: 135vw;
  max-width: none;
  height: 100vh;
  position: absolute;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  object-fit: fill;
}

.racing-backdrop-poster { z-index: 0; }

.racing-backdrop-video {
  --racing-side-offset: clamp(160px, 12.5vw, 230px);
  width: 67.5vw;
  height: 100vh;
  inset: 0 auto auto 50%;
  z-index: 1;
  opacity: 0;
  object-fit: fill;
  transition: opacity .32s linear;
}

.racing-backdrop-video-left { transform: translateX(calc(-100% - var(--racing-side-offset))) scaleX(-1); }
.racing-backdrop-video-right { transform: translateX(var(--racing-side-offset)); }

.racing-backdrop-video.is-ready { opacity: 1; }

.home-canvas {
  position: relative;
  z-index: 1;
}

.square-home,
.site-footer {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
button, input, select, textarea { font: inherit; }

.page-width { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.site-header { width: min(1180px, 100%); min-height: 120px; margin-inline: auto; padding-top: 4px; background: white; color: #252329; position: sticky; top: 0; z-index: 50; box-shadow: 0 8px 35px rgba(0,0,0,.16); }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #4d205e, #a15bb4 48%, #4d205e); }
.header-inner { width: calc(100% - 36px); height: 73px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; min-width: 190px; }
.brand img { object-fit: contain; }
.brand span { font: 600 8px/1 var(--font-display); letter-spacing: .25em; margin-top: 3px; color: #706b72; }
.header-utility { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-utility > p { margin: 0 10px 0 0; color: #8a858d; font: 500 8px/1 var(--font-display); letter-spacing: .12em; }
.header-socials { display: flex; gap: 6px; }
.header-socials a { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #6e377e; color: white; font: 700 12px/1 Arial, sans-serif; }
.header-socials a:last-child { background: #d93238; font-size: 9px; }
.header-store, .header-admin { min-height: 34px; display: inline-flex; align-items: center; padding: 0 13px; font: 600 9px/1 var(--font-display); letter-spacing: .08em; border: 1px solid #d8d3da; }
.header-store { background: #27242a; color: white; border-color: #27242a; }
.header-admin { color: #7d438c; }
.desktop-nav { width: calc(100% - 36px); height: 43px; margin: 0 auto; display: flex; background: linear-gradient(#9b59aa, #6e317d 60%, #5b2369); border-radius: 2px; overflow: hidden; box-shadow: inset 0 1px rgba(255,255,255,.35); }
.desktop-nav a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; border-right: 1px solid rgba(255,255,255,.22); color: white; text-shadow: 0 1px 2px rgba(0,0,0,.45); transition: .2s ease; }
.desktop-nav a:last-child { border-right: 0; }
.desktop-nav a:hover { background: rgba(255,255,255,.16); }
.desktop-nav strong { font: 600 12px/1 var(--font-display); letter-spacing: .04em; }
.desktop-nav small { color: rgba(255,255,255,.72); font-size: 8px; letter-spacing: .05em; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 24px; height: 2px; display: block; background: #28252a; }
.mobile-menu-panel { position: fixed; inset: 76px 0 auto; padding: 20px 24px 30px; background: #242026; color: white; border-top: 1px solid #3e3541; }
.mobile-menu-panel a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #333; font: 600 22px/1 var(--font-display); }
.mobile-menu-panel small { font: 500 10px/1 var(--font-jp); color: #8b8d90; }

.square-home { width: min(1180px, 100%); margin-inline: auto; background: white; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.home-canvas { padding: 16px 18px 0; background: white; }
.home-carousel { background: #0f0f11; }
.home-carousel-stage { min-height: 330px; height: clamp(330px, 39vw, 468px); position: relative; display: block; overflow: hidden; background: #17151a; }
.home-carousel-image { object-fit: cover; }
.home-carousel-caption { position: absolute; inset: auto auto 24px 24px; min-width: 330px; padding: 15px 18px 13px; display: flex; flex-direction: column; background: rgba(17,13,19,.84); color: white; border-left: 4px solid #a65ab8; backdrop-filter: blur(6px); }
.home-carousel-caption small { color: #c6a2cf; font: 500 8px/1 var(--font-display); letter-spacing: .15em; }
.home-carousel-caption strong { margin-top: 6px; font: 650 17px/1.2 var(--font-display); letter-spacing: .05em; }
.home-carousel-caption span { margin-top: 8px; color: #d7d3d8; font: 500 8px/1 var(--font-display); letter-spacing: .08em; }
.home-carousel-rail { height: 76px; display: grid; grid-template-columns: 45px 1fr 45px; gap: 9px; padding: 8px; background: #0e0e10; }
.home-carousel-rail > button { border: 0; background: #211e23; color: white; cursor: pointer; font: 300 34px/1 Arial, sans-serif; }
.home-carousel-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.home-carousel-thumbs button { position: relative; border: 1px solid #39343b; padding: 0; overflow: hidden; background: #161417; cursor: pointer; }
.home-carousel-thumbs button::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); transition: .2s; }
.home-carousel-thumbs button.is-active { border-color: #bd6bcc; }
.home-carousel-thumbs button.is-active::after { background: transparent; }
.home-carousel-thumbs img { object-fit: cover; }
.home-carousel-thumbs span { position: absolute; z-index: 2; right: 7px; bottom: 5px; color: white; font: 600 8px/1 var(--font-display); }

.home-feature-grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 2.18fr) minmax(270px, .9fr); gap: 16px; }
.home-promo-mosaic { display: grid; gap: 12px; }
.home-promo-wide { min-height: 213px; position: relative; display: block; overflow: hidden; background: #111; }
.home-promo-wide img { object-fit: cover; transition: transform .35s ease; }
.home-promo-wide:hover img { transform: scale(1.02); }
.home-promo-wide span { position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: rgba(16,12,17,.88); color: white; font: 600 9px/1 var(--font-display); letter-spacing: .08em; }
.home-promo-small-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.home-promo-small-grid a { min-height: 72px; position: relative; display: block; overflow: hidden; border: 1px solid #e1dce2; background: #f3f0f4; }
.home-promo-small-grid img { object-fit: cover; transition: transform .3s ease; }
.home-promo-small-grid a:hover img { transform: scale(1.025); }
.home-media-column { display: grid; grid-template-rows: 1.35fr .65fr; gap: 12px; }
.home-video-card { min-height: 250px; position: relative; display: block; overflow: hidden; background: #171419; color: white; }
.home-video-card > img { object-fit: cover; }
.home-video-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,12,20,.92), rgba(19,12,20,.05) 68%); }
.home-play { width: 56px; height: 42px; position: absolute; inset: 42% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; border-radius: 8px; background: #e42b33; font-size: 17px; }
.home-video-card > div:last-child { position: absolute; inset: auto 18px 17px; display: flex; flex-direction: column; }
.home-video-card small, .home-catalog-card span { color: #c08bca; font: 600 8px/1 var(--font-display); letter-spacing: .15em; }
.home-video-card strong { margin-top: 6px; font: 650 20px/1 var(--font-display); }
.home-video-card em { margin-top: 9px; color: #d2cdd4; font-size: 9px; font-style: normal; }
.home-catalog-card { min-height: 132px; padding: 22px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #3b1d46, #8d4d9b); color: white; }
.home-catalog-card strong { margin-top: 8px; font-size: 20px; line-height: 1.4; }
.home-catalog-card small { margin-top: 10px; color: #e1cae6; font: 600 8px/1 var(--font-display); letter-spacing: .1em; }

.home-main-grid { margin-top: 34px; padding-top: 24px; display: grid; grid-template-columns: minmax(0, 2.18fr) minmax(270px, .9fr); gap: 24px; border-top: 1px solid #d3cfd4; }
.home-panel-heading { min-height: 66px; display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #2c292e; }
.home-panel-heading small { color: #93609e; font: 600 8px/1 var(--font-display); letter-spacing: .14em; }
.home-panel-heading h1 { margin: 5px 0 0; font: 650 38px/1 var(--font-display); letter-spacing: -.02em; }
.home-panel-heading > a { padding-bottom: 3px; color: #795182; border-bottom: 1px solid #795182; font-size: 9px; }
.home-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 14px; }
.home-products-grid .product-image-wrap { aspect-ratio: 1.12; border: 1px solid #e3dfe4; }
.home-products-grid .product-index { color: #a76fb1; }
.home-products-grid .product-copy { padding-top: 12px; }
.home-products-grid .product-copy h3 { margin: 7px 0 7px; font-size: 12px; line-height: 1.5; }
.home-products-grid .product-category, .home-products-grid .product-date { font-size: 8px; }
.home-products-grid .product-copy p { color: #794387; font-size: 9px; }
.home-sidebar { display: flex; flex-direction: column; gap: 14px; }
.home-side-panel { border: 1px solid #d8d3da; background: #fbfafb; }
.home-side-title { min-height: 42px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(#f5f0df, #eee8d4); border-bottom: 1px solid #d8d0ba; }
.home-side-title strong { font: 650 13px/1 var(--font-display); letter-spacing: .04em; }
.home-side-title span, .home-side-title a { color: #806d83; font-size: 8px; }
.product-search-panel nav { display: grid; grid-template-columns: 1fr 1fr; }
.product-search-panel nav a { min-height: 62px; padding: 11px; display: grid; grid-template-columns: 26px 1fr 8px; align-items: center; border-right: 1px solid #e3dfe4; border-bottom: 1px solid #e3dfe4; background: white; }
.product-search-panel nav a:nth-child(even) { border-right: 0; }
.product-search-panel nav span { color: #a36aae; font: 600 8px/1 var(--font-display); }
.product-search-panel nav strong { font-size: 10px; line-height: 1.4; }
.product-search-panel nav i { color: #a36aae; font-style: normal; }
.home-side-news { padding: 4px 12px 10px; background: white; }
.home-side-news a { padding: 11px 0; display: grid; grid-template-columns: 78px 1fr; gap: 8px; border-bottom: 1px dotted #cbc5cc; }
.home-side-news a:last-child { border-bottom: 0; }
.home-side-news time { color: #8e858f; font: 500 8px/1.5 var(--font-display); }
.home-side-news strong { font-size: 9px; font-weight: 500; line-height: 1.55; }
.home-support-banner { min-height: 145px; padding: 23px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(120deg, #242127, #4a3b4e); color: white; position: relative; overflow: hidden; }
.home-support-banner::after { content: "?"; position: absolute; right: -4px; bottom: -32px; color: rgba(255,255,255,.06); font: 700 150px/1 Arial, sans-serif; }
.home-support-banner small { color: #b981c4; font: 600 8px/1 var(--font-display); letter-spacing: .14em; }
.home-support-banner strong { margin-top: 9px; font-size: 20px; line-height: 1.45; }
.home-support-banner span { margin-top: 12px; color: #d8cbdc; font: 600 8px/1 var(--font-display); }
.home-bottom-portals { margin: 46px -18px 0; display: grid; grid-template-columns: 1fr 1fr; }
.home-bottom-portals a { min-height: 210px; padding: 40px 55px; display: flex; flex-direction: column; justify-content: center; color: white; background: linear-gradient(135deg, #242126, #0f0e10); }
.home-bottom-portals a + a { background: linear-gradient(135deg, #8f50a0, #54215f); }
.home-bottom-portals small { color: #aa78b4; font: 600 8px/1 var(--font-display); letter-spacing: .17em; }
.home-bottom-portals a + a small { color: #dfc4e5; }
.home-bottom-portals strong { margin-top: 10px; font: 650 clamp(36px, 4vw, 56px)/1 var(--font-display); }
.home-bottom-portals span { margin-top: 16px; font-size: 10px; }

.primary-button { width: 235px; min-height: 56px; display: inline-flex; align-items: center; justify-content: space-between; padding: 0 22px; background: var(--red); color: white; font: 600 13px/1 var(--font-display); letter-spacing: .09em; transition: .25s ease; }
.primary-button:hover { background: white; color: var(--ink); }
.primary-button span { font-size: 19px; }

.eyebrow { margin: 0 0 15px; color: #7a7d82; font: 600 10px/1 var(--font-display); letter-spacing: .25em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; display: inline-block; vertical-align: middle; margin-right: 10px; background: var(--red); }
.eyebrow.light { color: #9c9da1; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.product-card { display: block; }
.product-image-wrap { aspect-ratio: 1.18; position: relative; overflow: hidden; background: white; }
.product-image { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.product-card:hover .product-image { transform: scale(1.045); }
.product-index { position: absolute; z-index: 2; left: 16px; top: 14px; color: #a1a3a5; font: 500 10px/1 var(--font-display); }
.view-product { position: absolute; z-index: 2; right: 0; bottom: 0; padding: 12px 16px; background: var(--ink); color: white; font: 600 9px/1 var(--font-display); letter-spacing: .12em; transform: translateY(100%); transition: .25s; }
.product-card:hover .view-product { transform: none; }
.product-copy { padding: 19px 3px 0; }
.product-copy > div { display: flex; justify-content: space-between; gap: 10px; }
.product-category, .product-date { color: #7d8084; font-size: 10px; letter-spacing: .05em; }
.product-copy h3 { margin: 10px 0 8px; font-size: 15px; line-height: 1.55; font-weight: 650; }
.product-copy p { margin: 0; color: var(--red); font: 600 11px/1 var(--font-display); letter-spacing: .09em; }

.site-footer { width: min(1180px, 100%); margin-inline: auto; padding-top: 0; background: #f6f4f6; color: #5f5961; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1.35fr 1fr; gap: 70px; padding-block: 50px; border-top: 5px solid #733281; }
.footer-brand img { object-fit: contain; }
.footer-brand p { margin-top: 22px; font-size: 11px; color: #89828a; }
.footer-grid h3 { margin: 2px 0 22px; color: #9a8f9c; font: 600 9px/1 var(--font-display); letter-spacing: .2em; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 11px; }
.footer-grid p { margin: 0; line-height: 1.6; }
.footer-grid a:hover { color: #7b3989; }
.footer-grid .admin-link { margin-top: 10px; color: #8f8391; }
.footer-bottom { min-height: 65px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #d8d2d9; color: #9a929c; font: 500 8px/1 var(--font-display); letter-spacing: .16em; }

.page-hero { min-height: 410px; display: flex; align-items: flex-end; padding: 90px 0 70px; background: radial-gradient(circle at 80% 20%, #393c41, transparent 32%), #17181b; color: white; }
.page-hero-inner h1 { margin: 0; font: 700 clamp(68px, 10vw, 132px)/.85 var(--font-display); letter-spacing: -.04em; }
.page-lead { max-width: 660px; margin: 28px 0 0; color: #a9abae; font-size: 14px; line-height: 1.9; }
.subpage { width: min(1180px, 100%); min-height: 600px; margin-inline: auto; background: var(--paper); }
.subpage-section { padding-block: 100px 130px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 40px; color: #83858a; font: 500 9px/1 var(--font-display); letter-spacing: .12em; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 110px; }
.category-card { min-height: 220px; padding: 35px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.25); }
.category-card small { color: var(--red); font: 600 9px/1 var(--font-display); letter-spacing: .15em; }
.category-card h2 { margin: 35px 0 12px; font-size: 21px; }
.category-card p { margin: 0; color: #777a7e; font-size: 12px; line-height: 1.75; }
.category-card i { position: absolute; right: 24px; top: 26px; font-style: normal; }
.category-card.is-active { background: #fff; box-shadow: inset 0 -3px var(--red); }
.empty-products { padding: 40px 0 80px; color: #777a7e; }
.content-title { margin-bottom: 38px; display: flex; align-items: baseline; justify-content: space-between; }
.content-title h2 { margin: 0; font: 700 48px/1 var(--font-display); }
.content-title span { color: #777a7e; font-size: 11px; }
.detail-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: start; }
.detail-image { position: relative; aspect-ratio: 1.18; background: white; }
.detail-image img { object-fit: contain; }
.detail-copy .label { color: var(--red); font: 600 10px/1 var(--font-display); letter-spacing: .15em; }
.detail-copy h1 { margin: 18px 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.2; }
.detail-copy .sku { color: #777a7f; font: 600 12px/1 var(--font-display); letter-spacing: .12em; }
.detail-copy .description { margin: 35px 0; padding-block: 30px; border-block: 1px solid var(--line); color: #5f6266; line-height: 2; font-size: 14px; }
.meta-list { display: grid; gap: 12px; font-size: 12px; }
.meta-list div { display: grid; grid-template-columns: 110px 1fr; }
.meta-list dt { color: #8b8d90; }
.meta-list dd { margin: 0; }
.shop-detail { margin-top: 35px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.info-column h2, .download-column h2, .support-grid h2 { margin: 0 0 25px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); font: 650 32px/1 var(--font-display); }
.info-item { padding: 25px 0; border-bottom: 1px solid var(--line); }
.info-item time { color: #85878b; font: 500 10px/1 var(--font-display); }
.info-item h3 { margin: 10px 0 8px; font-size: 15px; }
.info-item p { margin: 0; color: #777a7d; font-size: 12px; }
.event-card { padding: 30px; background: var(--ink); color: white; margin-bottom: 14px; }
.event-card small { color: var(--red); font: 600 9px/1 var(--font-display); letter-spacing: .12em; }
.event-card h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.5; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 65px; }
.download-list { border-top: 1px solid var(--line); }
.download-list a { min-height: 70px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px; }
.download-list a span { color: var(--red); font: 600 9px/1 var(--font-display); }
.support-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-card { padding: 38px; background: var(--ink); color: white; }
.contact-card small { color: #7e8084; font: 500 9px/1 var(--font-display); letter-spacing: .14em; }
.contact-card strong { display: block; margin: 10px 0 25px; font: 650 28px/1 var(--font-display); }
.contact-form-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form-demo label { display: grid; gap: 8px; color: #65686b; font-size: 10px; }
.contact-form-demo label.full { grid-column: 1 / -1; }
.contact-form-demo input, .contact-form-demo textarea { width: 100%; border: 1px solid var(--line); background: white; padding: 14px; outline: none; }
.contact-form-demo textarea { min-height: 140px; resize: vertical; }
.contact-form-demo button { grid-column: 1 / -1; width: 190px; border: 0; cursor: pointer; }
.company-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.company-statement h2 { margin: 0 0 25px; font-size: 45px; line-height: 1.35; }
.company-statement p { color: #66696d; line-height: 2; font-size: 14px; }
.company-table { border-top: 2px solid var(--ink); }
.company-table div { display: grid; grid-template-columns: 140px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.company-table dt { color: #85878b; }
.company-table dd { margin: 0; }

@media (max-width: 1100px) {
  .header-utility > p { display: none; }
  .desktop-nav strong { font-size: 11px; }
  .desktop-nav small { display: none; }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  body:has(.square-home) .site-header,
  body:has(.square-home) .square-home,
  body:has(.square-home) .site-footer {
    width: calc(100% - 200px);
  }
}

@media (max-width: 1180px) {
  .racing-backdrop { display: none; }
}

@media (max-width: 800px) {
  .page-width { width: min(100% - 40px, 680px); }
  .site-header { min-height: 78px; height: 78px; }
  .header-inner { width: calc(100% - 34px); }
  .brand img { width: 145px; height: auto; }
  .desktop-nav, .header-utility { display: none; }
  .mobile-menu { display: block; }
  .home-canvas { padding: 10px 10px 0; }
  .home-carousel-stage { height: 350px; min-height: 0; }
  .home-carousel-caption { min-width: 280px; }
  .home-feature-grid, .home-main-grid { grid-template-columns: 1fr; }
  .home-media-column { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .home-video-card, .home-catalog-card { min-height: 230px; }
  .home-main-grid { padding-top: 18px; }
  .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .home-support-banner { min-height: 100%; }
  .home-bottom-portals { margin-inline: -10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 16px; }
  .product-copy > div { flex-direction: column; }
  .product-date { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(3) { grid-column: 1 / -1; }
  .page-hero { min-height: 340px; }
  .subpage-section { padding-block: 70px 90px; }
  .category-grid { grid-template-columns: 1fr 1fr; margin-bottom: 80px; }
  .category-card { min-height: 200px; padding: 25px; }
  .detail-grid, .info-grid, .download-grid, .support-grid, .company-grid { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 520px) {
  .home-carousel-stage { height: 245px; }
  .home-carousel-caption { inset: auto 12px 12px; min-width: 0; padding: 10px 12px; }
  .home-carousel-caption strong { font-size: 13px; }
  .home-carousel-caption span { display: none; }
  .home-carousel-rail { height: 60px; grid-template-columns: 30px 1fr 30px; gap: 5px; padding: 5px; }
  .home-carousel-thumbs { gap: 5px; }
  .home-promo-wide { min-height: 132px; }
  .home-promo-small-grid, .home-media-column { grid-template-columns: 1fr; }
  .home-promo-small-grid a { min-height: 80px; }
  .home-video-card { min-height: 260px; }
  .home-catalog-card { min-height: 155px; }
  .home-panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-panel-heading h1 { font-size: 32px; }
  .home-products-grid { grid-template-columns: 1fr; }
  .home-sidebar { grid-template-columns: 1fr; }
  .home-bottom-portals { grid-template-columns: 1fr; }
  .home-bottom-portals a { min-height: 170px; padding: 32px 25px; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(3), .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; justify-content: center; gap: 10px; align-items: flex-start; }
  .contact-form-demo { grid-template-columns: 1fr; }
  .contact-form-demo label.full, .contact-form-demo button { grid-column: auto; }
}

/* Static publisher adjustments layered over app/globals.css. */
:root {
  --font-jp: "Noto Sans JP";
  --font-display: "Oswald";
}

.header-admin { cursor: default; }
.pilot-label { padding: 6px 8px; border: 1px solid #d2322c; color: #ff6a62; font: 700 8px/1 var(--font-display); letter-spacing: .12em; white-space: nowrap; }
.language-link { min-height: 34px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid #3d3d3d; color: #bbb; font: 650 8px/1 var(--font-display); letter-spacing: .1em; }
.language-link:hover { border-color: #d2322c; color: #fff; }
.site-language-switch { display: flex; flex-shrink: 0; align-items: center; gap: 4px; white-space: nowrap; }
.site-language-switch > span, .site-language-switch .language-link { padding: 0 9px; min-height: 40px; display: inline-flex; align-items: center; font: 600 12px/1.2 var(--font-jp), sans-serif; letter-spacing: 0; }
.site-language-switch > span { color: #fff; }
.site-language-switch .language-link { color: #ccc; border-radius: 3px; }
.site-language-switch .language-link:focus-visible, .language-suggestion :focus-visible { outline: 2px solid #ff746b; outline-offset: 3px; }
.language-suggestion { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 10px 20px; background: #272727; border-bottom: 1px solid #555; color: #fff; font-size: 14px; }
.language-suggestion[hidden] { display: none; }
.language-suggestion p { margin: 0; }
.language-suggestion a { color: #fff; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.language-suggestion button { min-width: 40px; min-height: 40px; border: 1px solid #666; border-radius: 3px; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
@media (max-width: 1100px) { .racing-theme .header-utility > p { display: none; } }
@media (max-width: 800px) {
  .racing-theme .header-inner { gap: 10px; }
  .racing-theme .header-inner .brand { min-width: 145px; }
  .site-language-switch { margin-left: auto; }
  .racing-theme .mobile-menu { margin-left: 0; }
  .language-suggestion { flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; }
  .language-suggestion p { flex-basis: calc(100% - 54px); }
  .language-suggestion button { position: absolute; right: 10px; top: 8px; }
  .language-suggestion a { margin-right: 40px; }
}
@media (max-width: 420px) {
  .racing-theme .header-inner { width: calc(100% - 20px); gap: 5px; }
  .racing-theme .header-inner .brand { min-width: 120px; }
  .racing-theme .header-inner .brand img { width: 120px; }
  .racing-theme .header-inner .brand > span { font-size: 7px; }
  .site-language-switch > span, .site-language-switch .language-link { padding: 0 6px; font-size: 11px; }
}

body.home-page {
  background:
    linear-gradient(90deg, rgba(20, 12, 24, .08), rgba(13, 13, 18, .52) 44%, rgba(13, 13, 18, .52) 56%, rgba(14, 13, 24, .08)),
    url("/images/site/racing-page-background-motion.webp") center top / 135vw 100vh no-repeat,
    #17151d;
  background-attachment: fixed;
}

body.home-page::before,
body.home-page::after { content: none !important; }

.brand img, .footer-brand img { object-fit: contain; }
.home-carousel-image, .home-carousel-thumbs img,
.home-promo-wide img, .home-promo-small-grid img,
.home-video-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-carousel-image { transition: opacity .18s ease; }
.home-carousel-image.is-changing { opacity: .35; }
.detail-image img { width: 100%; height: 100%; object-fit: contain; }
.catalog-no-image { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; color: #777; background: repeating-linear-gradient(135deg, #1b1b1b, #1b1b1b 12px, #202020 12px, #202020 24px); font: 700 11px/1 var(--font-display); letter-spacing: .16em; }
.product-grid .product-card { content-visibility: auto; contain-intrinsic-size: 0 340px; min-width: 0; }
.catalog-review-banner { position: relative; z-index: 20; padding: 11px max(20px, calc((100vw - 1080px) / 2)); display: flex; align-items: center; justify-content: center; gap: 16px; border-bottom: 1px solid #653531; background: #2a1716; color: #ddd; }
.catalog-review-banner strong { flex: 0 0 auto; color: #ff6a62; font: 700 10px/1 var(--font-display); letter-spacing: .08em; }
.catalog-review-banner span { font-size: 10px; line-height: 1.6; }
.product-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.product-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: #1d1d1d; }
.product-gallery figure.is-primary { border-color: var(--red); box-shadow: inset 0 -3px var(--red); }
.product-gallery img { width: 100%; aspect-ratio: 1.2; padding: 7%; object-fit: contain; background: #fff; }
.product-gallery figcaption { padding: 9px 11px; color: #aaa; font-size: 10px; }
.download-list > span {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.download-list em { color: #8a8c8f; font: 600 9px/1 var(--font-display); font-style: normal; }
.download-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 52px; }
.download-list a { gap: 18px; }
.download-list a > span { color: inherit; font: inherit; }
.download-list a:hover > span { color: #ff5148; }
.text-link { display: inline-block; margin-top: 15px; color: #ff5148; font-size: 12px; font-weight: 700; }
.event-card { display: block; }
.event-card span { display: block; margin-top: 14px; color: #888; font: 600 9px/1 var(--font-display); letter-spacing: .08em; }
.contact-card p { margin: 10px 0 20px; color: #bbb; line-height: 1.8; }
.inquiry-guide { min-height: 250px; padding: 38px; border: 1px solid var(--line); background: #1d1d1d; }
.inquiry-guide p { margin: 0 0 32px; color: #bbb; font-size: 14px; line-height: 2; }
.policy-content { max-width: 900px; margin-inline: auto; }
.policy-content > section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 16px; font-size: 20px; }
.policy-content p { margin: 0; color: #bbb; line-height: 2.05; white-space: pre-line; }
.company-copyright { max-width: none; margin-top: 80px; padding: 38px; border: 1px solid var(--line); background: #1d1d1d; }
.company-copyright h2 { margin-top: 0; }

.archive-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.archive-card { min-height: 310px; position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; color: #fff; }
.archive-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #050505f2 4%, #08080845 70%); }
.archive-card > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.archive-card:hover > img { transform: scale(1.035); }
.archive-card > span { position: absolute; z-index: 2; inset: auto 26px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.archive-card small, .archive-tag { color: #ff5148; font: 700 9px/1.3 var(--font-display); letter-spacing: .12em; }
.archive-card strong { max-width: 500px; margin-top: 10px; font-size: 20px; line-height: 1.5; }
.archive-card em { margin-top: 12px; color: #bbb; font-size: 10px; font-style: normal; }
.archive-card:not(.has-image) { min-height: 0; border-width: 1px 0; background: transparent; }
.archive-card:not(.has-image)::after { display: none; }
.archive-card:not(.has-image) > span { position: static; padding: 26px; }
.archive-note { margin-bottom: 32px; padding: 20px 22px; border-left: 4px solid #d2322c; background: #202020; color: #bbb; font-size: 13px; line-height: 1.8; }
.event-detail > header { margin-bottom: 42px; padding-bottom: 26px; border-bottom: 3px solid #eee; }
.event-detail > header time { color: #ff5148; font: 700 10px/1 var(--font-display); letter-spacing: .12em; }
.event-detail > header h1 { max-width: 820px; margin: 12px 0 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.4; }
.event-overview { display: grid; grid-template-columns: 1fr minmax(280px, .72fr); gap: 45px; align-items: start; margin-bottom: 72px; }
.event-overview h2 { margin-top: 0; }
.event-overview ul, .heritage-columns ul { margin: 0; padding-left: 1.25em; color: #d2d2d2; line-height: 2; }
.event-overview > div > p { margin: 24px 0 0; color: #999; line-height: 2; }
.event-result { margin: 0; border: 1px solid var(--line); background: #fff; }
.event-result img { width: 100%; height: auto; }
.event-result figcaption { padding: 10px 13px; background: #1d1d1d; color: #aaa; font-size: 10px; }
.archive-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.archive-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: #1d1d1d; }
.archive-gallery figure a { aspect-ratio: 4 / 3; display: block; overflow: hidden; background: #090909; }
.archive-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.archive-gallery a:hover img { transform: scale(1.04); }
.archive-gallery figcaption { min-height: 52px; padding: 11px 13px; color: #aaa; font-size: 10px; line-height: 1.5; }
.archive-gallery figcaption b { margin-right: 9px; color: #ff5148; font: 700 9px/1 var(--font-display); }
.heritage-lead { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; margin-bottom: 55px; }
.heritage-lead h1 { margin: 14px 0 20px; font-size: clamp(38px, 6vw, 68px); line-height: 1.1; }
.heritage-lead > div > p:last-child { color: #bbb; line-height: 2; }
.heritage-lead dl { margin: 0; border-top: 2px solid #eee; }
.heritage-lead dl div { display: grid; grid-template-columns: 90px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.heritage-lead dt { color: #888; }
.heritage-lead dd { margin: 0; }
.heritage-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 42px; }
.heritage-columns section { padding: 28px; border: 1px solid var(--line); background: #1d1d1d; }
.heritage-columns h2, .heritage-downloads h2 { margin-top: 0; }
.heritage-downloads { margin-bottom: 72px; padding: 28px; border: 1px solid var(--line); }
.heritage-downloads a { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); color: #ff5148; }
.heritage-downloads a span { margin-left: auto; color: #888; font-size: 9px; }
.english-portals { margin-top: 85px; }
.contact-form-demo input:disabled,
.contact-form-demo select:disabled,
.contact-form-demo textarea:disabled { color: #85878b; opacity: 1; cursor: not-allowed; }
.contact-form-demo .primary-button { grid-column: 1 / -1; }
.filters { display: flex; gap: 12px; margin: 0 0 34px; }
.filters input, .filters select { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); background: white; color: var(--ink); }
.filters input { min-width: 290px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shop-catalog-portal {
  margin: 28px 0 54px;
  padding: 30px;
  border: 1px solid #d9c9de;
  background: linear-gradient(135deg, #f8f2fa, #fff 65%);
}
.shop-catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.shop-catalog-heading p { margin: 0 0 7px; color: var(--purple, #6e317d); font: 650 11px/1 var(--font-display); letter-spacing: .12em; }
.shop-catalog-heading h2 { margin: 0 0 8px; font-size: clamp(21px, 3vw, 31px); }
.shop-catalog-heading span { color: #68626b; font-size: 13px; }
.shop-all-items { flex: 0 0 auto; color: var(--purple, #6e317d); font-size: 13px; font-weight: 700; }
.shop-search-form { margin-top: 22px; }
.shop-search-form > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.shop-search-form > div { display: flex; gap: 8px; }
.shop-search-form input { min-width: 0; flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid #bdb5c0; background: #fff; font: inherit; }
.shop-search-form button { min-height: 48px; padding: 0 20px; border: 0; background: var(--purple, #6e317d); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.shop-search-form.is-compact { margin-top: 20px; }
.shop-search-form.is-compact > div { display: block; }
.shop-search-form.is-compact input { display: none; }
.shop-search-form.is-compact button { width: 100%; }
.shop-catalog-portal details { margin-top: 22px; border-top: 1px solid #ddd3e0; }
.shop-catalog-portal summary { padding: 16px 0 0; cursor: pointer; font-size: 13px; font-weight: 700; }
.shop-category-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 14px; background: #ded8e1; border: 1px solid #ded8e1; }
.shop-category-links a { display: flex; justify-content: space-between; gap: 8px; padding: 11px 13px; background: #fff; color: #37313a; font-size: 12px; }
.shop-category-links a:hover { background: #f5eef7; color: var(--purple, #6e317d); }

.answer-summary {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--purple, #6e317d);
  background: #f6f1f8;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.9;
}
.product-information-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.product-information {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}
.product-information:last-child:nth-child(odd) { grid-column: 1 / -1; }
.product-information h2 { margin: 0 0 18px; font-size: 19px; }
.product-information p { margin: 0; white-space: pre-line; line-height: 1.9; }
.specification-list { margin: 0; }
.specification-list > div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) 1.4fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.specification-list > div:last-child { border-bottom: 0; }
.specification-list dt { color: #666; font-size: 13px; }
.specification-list dd { margin: 0; font-weight: 650; }
.specification-list dd span { margin-left: 3px; font-size: 12px; font-weight: 500; }

.product-answers{margin-top:48px;padding-top:36px;border-top:1px solid #d9d4dc}.product-answers .content-title{margin-bottom:20px}.answer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.answer-item{padding:22px;background:#f8f6f9;border:1px solid #e2dce5;border-top:3px solid #743b82}.answer-item .answer-category{margin:0 0 9px;color:#743b82;font:700 11px/1.4 "Noto Sans JP",sans-serif;letter-spacing:.08em}.answer-item h3{margin:0 0 12px;font-size:17px;line-height:1.55}.answer-item>p:not(.answer-category){margin:0;color:#3d3d42;line-height:1.9}.answer-item dl{margin:16px 0 0;padding-top:12px;border-top:1px solid #ddd5df}.answer-item dl div{display:grid;grid-template-columns:72px 1fr;gap:10px;margin-top:6px;font-size:12px;line-height:1.7}.answer-item dt{font-weight:700;color:#6d6570}.answer-item dd{margin:0}.answer-item a{color:#6e317d;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.answer-list{grid-template-columns:1fr}.product-answers{margin-top:34px;padding-top:26px}.answer-item{padding:18px}}

@media (max-width: 520px) {
  .filters { display: grid; }
  .filters input { min-width: 0; width: 100%; }
  .contact-form-demo .primary-button { grid-column: auto; }
  .product-information-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .product-information:last-child:nth-child(odd) { grid-column: auto; }
  .specification-list > div { grid-template-columns: 1fr; gap: 5px; }
  .shop-catalog-portal { margin-bottom: 38px; padding: 22px 18px; }
  .shop-catalog-heading { display: grid; }
  .shop-search-form > div { display: grid; }
  .shop-category-links { grid-template-columns: 1fr; }
}

/* Version 4 — Racing Impact is the official public theme. */
body.racing-theme {
  --red: #d2322c;
  --paper: #151515;
  --ink: #eeeeee;
  --line: #343434;
  background:
    linear-gradient(90deg, rgba(5, 7, 15, .08), rgba(6, 7, 12, .70) 42%, rgba(6, 7, 12, .70) 58%, rgba(5, 7, 15, .08)),
    url("/images/site/racing-page-background.webp") center top / cover fixed,
    #07080d;
  color: var(--ink);
}
.racing-theme .site-header,
.racing-theme .square-home,
.racing-theme .subpage,
.racing-theme .site-footer { width: min(1180px, 100%); }
.racing-theme .site-header { min-height: 120px; padding-top: 4px; background: #101010; color: #fff; }
.racing-theme .site-header::before { background: #d2322c; }
.racing-theme .header-inner { height: 70px; }
.racing-theme .brand img,
.racing-theme .footer-brand img {
  padding: 0;
  background: #231f20;
  filter: none;
}
.racing-theme .brand span { color: #aaa; }
.racing-theme .header-utility > p { color: #777; }
.racing-theme .header-socials a { background: #272727; }
.racing-theme .header-socials a:last-child { background: #d2322c; }
.racing-theme .header-store { border-color: #d2322c; background: #d2322c; }
.racing-theme .desktop-nav { height: 46px; background: #181818; border-top: 1px solid #303030; border-radius: 0; box-shadow: none; }
.racing-theme .desktop-nav a { border-color: #333; text-shadow: none; }
.racing-theme .desktop-nav a:hover { background: #d2322c; }
.racing-theme .desktop-nav small { color: #888; }
.racing-theme .desktop-nav a:hover small { color: #fff; }
.racing-theme .mobile-menu summary span { background: #fff; }
.racing-theme .mobile-menu-panel { background: #111; }

.racing-home { overflow: hidden; background: #151515; box-shadow: 0 0 75px #000c; }
.racing-hero { min-height: 620px; position: relative; overflow: hidden; background: #090909; color: #fff; }
.racing-hero-media { position: absolute; inset: 0; }
.racing-hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .8s ease, transform 7s ease; }
.racing-hero-media img.is-active { opacity: 1; transform: scale(1); }
.racing-hero-media::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #080808f2, #0c0c0ca8 48%, transparent 82%); }
.racing-hero-copy { position: relative; z-index: 2; width: min(760px, 80%); padding: 100px 5vw 80px; }
.racing-hero-copy > p { margin: 0; color: #ff5148; font: 700 10px/1 var(--font-display); letter-spacing: .18em; }
.racing-hero-copy > small { display: inline-block; margin-top: 18px; padding: 9px 11px; background: #d2322c; font: 600 8px/1 var(--font-display); letter-spacing: .12em; }
.racing-hero h1 { margin: 30px 0 0; font-size: clamp(50px, 6.6vw, 82px); line-height: 1.08; letter-spacing: -.065em; }
.racing-hero h1 .hero-line { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.racing-hero h1 em { color: #ff5148; font-style: normal; }
.racing-lead { max-width: 490px; margin-top: 28px; color: #d2d2d2; font-size: 13px; line-height: 2; }
.racing-actions { margin-top: 32px; display: flex; gap: 8px; }
.racing-actions a { min-width: 170px; padding: 17px; background: #fff; color: #111; font-size: 11px; font-weight: 800; }
.racing-actions a + a { border: 1px solid #ffffff80; background: transparent; color: #fff; }
.racing-hero-switcher { position: absolute; z-index: 3; right: 4.5vw; bottom: 28px; display: flex; gap: 8px; }
.racing-hero-switcher button { min-width: 126px; min-height: 48px; padding: 9px 12px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 9px; border: 1px solid #ffffff52; background: #090b11c9; color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.racing-hero-switcher button:hover,
.racing-hero-switcher button:focus-visible { border-color: #fff; outline: none; }
.racing-hero-switcher button.is-active { border-color: #d2322c; background: #d2322ce8; }
.racing-hero-switcher b { font: 700 12px/1 var(--font-display); }
.racing-hero-switcher span { text-align: left; font: 700 10px/1 var(--font-display); letter-spacing: .08em; }
.racing-proof { display: grid; grid-template-columns: repeat(3, 1fr); background: #151515; }
.racing-proof > div { min-height: 100px; padding: 22px 28px; display: grid; grid-template-columns: 34px 1fr; align-content: center; gap: 6px 12px; border-right: 1px solid #343434; }
.racing-proof b { grid-row: 1 / 3; color: #d2322c; font: 700 10px/1 var(--font-display); }
.racing-proof strong { font-size: 14px; }
.racing-proof small { color: #888; font: 500 8px/1 var(--font-display); letter-spacing: .1em; }
.racing-block { padding: 95px 4.5vw; background: #151515; }
.racing-block > header { min-height: 90px; margin-bottom: 36px; display: grid; grid-template-columns: 1fr auto; align-items: end; border-bottom: 3px solid #eee; }
.racing-block > header p { grid-column: 1; margin: 0 0 8px; color: #d2322c; font: 700 9px/1 var(--font-display); letter-spacing: .15em; }
.racing-block > header h2 { grid-column: 1; margin: 0 0 14px; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.05em; }
.racing-block > header > span,
.racing-block > header > a { grid-column: 2; grid-row: 1 / 3; margin-bottom: 16px; color: #aaa; font-size: 11px; }
.racing-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #343434; border-width: 1px 0 0 1px; }
.racing-category-grid > a { min-height: 115px; padding: 20px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; background: #1d1d1d; border: 1px solid #343434; border-width: 0 1px 1px 0; transition: background .2s; }
.racing-category-grid > a:hover { background: #d2322c; }
.racing-category-grid > a > b { color: #d2322c; font: 700 9px/1 var(--font-display); }
.racing-category-grid > a:hover > b { color: #fff; }
.racing-category-grid span { display: flex; flex-direction: column; gap: 7px; }
.racing-category-grid strong { font-size: 14px; }
.racing-category-grid small { color: #888; font: 500 8px/1 var(--font-display); letter-spacing: .08em; }
.racing-category-grid i { color: #d2322c; font-style: normal; }
.racing-category-grid > a:hover small,
.racing-category-grid > a:hover i { color: #fff; }
.racing-products { background: #151515; }
.racing-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 16px; }
.racing-product-grid article { position: relative; }
.racing-product-image { aspect-ratio: 1.16; position: relative; display: block; overflow: hidden; background: #1d1d1d; border: 1px solid #343434; }
.racing-product-image .catalog-no-image { min-height: 100%; }
.racing-product-image img { width: 100%; height: 100%; padding: 9%; object-fit: contain; transition: transform .4s; }
.racing-product-image:hover img { transform: scale(1.04); }
.racing-product-image b,
.racing-product-image em { position: absolute; top: 12px; font: 700 8px/1 var(--font-display); }
.racing-product-image b { left: 12px; color: #888; }
.racing-product-image em { right: 12px; padding: 7px 9px; background: #d2322c; color: #fff; font-style: normal; }
.racing-product-grid article > small { display: block; margin-top: 14px; color: #aaa; font-size: 9px; }
.racing-product-grid h3 { min-height: 44px; margin: 7px 60px 5px 0; font-size: 14px; line-height: 1.5; }
.racing-product-grid p { margin: 0; color: #ff5148; font: 700 9px/1 var(--font-display); }
.racing-detail { position: absolute; right: 0; bottom: 0; font: 700 8px/1 var(--font-display); }
.racing-feature { padding: 0 4.5vw 105px; display: grid; grid-template-columns: 1.65fr .75fr; gap: 14px; background: #111; }
.racing-feature-main { min-height: 420px; position: relative; overflow: hidden; color: #fff; }
.racing-feature-main img { width: 100%; height: 100%; object-fit: cover; }
.racing-feature-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #111e, transparent 65%); }
.racing-feature-main span { position: absolute; z-index: 2; left: 28px; bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.racing-feature small { font: 600 8px/1 var(--font-display); letter-spacing: .14em; }
.racing-feature-main strong { margin-top: 12px; font-size: 27px; line-height: 1.4; }
.racing-feature b { margin-top: 14px; font-size: 9px; }
.racing-feature aside { display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.racing-feature aside a { padding: 26px; display: flex; flex-direction: column; justify-content: end; background: #1d1d1d; color: #fff; }
.racing-feature aside a + a { min-height: 145px; background: #d2322c; }
.racing-feature aside strong { margin-top: 12px; font: 700 26px/1 var(--font-display); }
.racing-news > div { border-top: 1px solid #343434; }
.racing-news > div > a { min-height: 74px; display: grid; grid-template-columns: 120px 130px 1fr auto; align-items: center; border-bottom: 1px solid #343434; }
.racing-news time { color: #888; font: 500 9px/1 var(--font-display); }
.racing-news small { color: #d2322c; font: 700 9px/1 var(--font-display); }
.racing-news strong { font-size: 12px; }
.racing-news i { font-style: normal; }
.home-news-after-proof { padding-top: 58px; padding-bottom: 66px; background: #101010; }
.home-news-after-proof > header { min-height: 76px; margin-bottom: 20px; }
.racing-portals { display: grid; grid-template-columns: repeat(3, 1fr); }
.racing-portals > a { min-height: 230px; padding: 36px; display: flex; flex-direction: column; justify-content: center; background: #1d1d1d; color: #fff; border-right: 1px solid #ffffff26; }
.racing-portals > a:nth-child(2) { background: #292929; }
.racing-portals > a:nth-child(3) { background: #d2322c; }
.racing-portals small { font: 600 8px/1 var(--font-display); letter-spacing: .12em; }
.racing-portals strong { margin-top: 14px; font: 700 clamp(30px, 4vw, 42px)/1 var(--font-display); }
.racing-portals span { margin-top: 18px; font-size: 9px; }

/* Inner pages inherit the same black/red visual language. */
.racing-theme .subpage { color: #eee; background: #151515; box-shadow: 0 0 75px #000c; }
.racing-theme .page-hero { background: linear-gradient(90deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .82) 45%, rgba(8, 8, 8, .70) 100%), url("/images/logo.png") center / 70% auto no-repeat, #231f20; }
.racing-theme .page-hero-inner h1 { font-size: clamp(47.6px, 7vw, 92.4px); margin-top: 36px; }
.racing-theme .page-hero::after { content: "RACING PARTS / SQUARE"; position: absolute; right: max(24px, calc((100% - 1080px) / 2)); bottom: 35px; color: #ffffff35; font: 700 10px/1 var(--font-display); letter-spacing: .22em; }
.racing-theme .page-hero { position: relative; }
.racing-theme .subpage-section { background: #151515; }
.racing-theme .breadcrumb,
.racing-theme .page-lead,
.racing-theme .content-title span,
.racing-theme .category-card p,
.racing-theme .product-category,
.racing-theme .product-date,
.racing-theme .info-item p,
.racing-theme .company-statement p { color: #aaa; }
.racing-theme .category-card,
.racing-theme .product-information,
.racing-theme .answer-item,
.racing-theme .shop-catalog-portal { border-color: #343434; background: #1d1d1d; }
.racing-theme .category-card:hover { background: #242424; box-shadow: inset 0 -3px #d2322c; }
.racing-theme .product-image-wrap,
.racing-theme .detail-image,
.racing-theme .filters input,
.racing-theme .filters select,
.racing-theme .shop-search-form input,
.racing-theme .shop-category-links a,
.racing-theme .contact-form-demo input,
.racing-theme .contact-form-demo select,
.racing-theme .contact-form-demo textarea { border-color: #3b3b3b; background: #202020; color: #eee; }
.racing-theme .product-copy p,
.racing-theme .detail-copy .label,
.racing-theme .category-card small,
.racing-theme .answer-item .answer-category,
.racing-theme .answer-item a { color: #ff5148; }
.racing-theme .answer-summary { border-left-color: #d2322c; background: #202020; color: #eee; }
.racing-theme .answer-item > p:not(.answer-category),
.racing-theme .specification-list dt { color: #bbb; }
.racing-theme .shop-catalog-portal { background: linear-gradient(135deg, #211d22, #151515 65%); }
.racing-theme .shop-catalog-heading p,
.racing-theme .shop-all-items { color: #ff5148; }
.racing-theme .shop-catalog-heading span { color: #aaa; }
.racing-theme .shop-search-form button { background: #d2322c; }
.racing-theme .shop-category-links { border-color: #343434; background: #343434; }
.racing-theme .shop-category-links a:hover { background: #d2322c; color: #fff; }
.racing-theme .contact-card,
.racing-theme .event-card { background: #0d0d0d; }
.racing-theme .company-table { border-top-color: #eee; }
.racing-theme .site-footer { background: #151515; color: #aaa; box-shadow: 0 0 75px #000c; }
.racing-theme .footer-grid { border-top-color: #d2322c; }
.racing-theme .footer-grid h3 { color: #777; }
.racing-theme .footer-bottom { border-color: #343434; }

@media (max-width: 800px) {
  .racing-theme .site-header { min-height: 78px; }
  .racing-hero { min-height: 580px; }
  .racing-hero-copy { width: 100%; padding: 75px 24px; }
  .racing-hero-switcher { right: 24px; bottom: 18px; }
  .racing-hero h1 { font-size: 48px; }
  .racing-actions { flex-direction: column; align-items: flex-start; }
  .racing-proof,
  .racing-category-grid,
  .racing-product-grid,
  .racing-portals { grid-template-columns: 1fr 1fr; }
  .racing-block { padding: 70px 24px; }
  .racing-feature { padding: 0 24px 75px; grid-template-columns: 1fr; }
  .racing-news > div > a { grid-template-columns: 90px 1fr auto; gap: 10px; }
  .racing-news > div > a small { display: none; }
  .pilot-label { display: none; }
  .download-groups, .archive-card-grid, .event-overview, .heritage-lead, .heritage-columns { grid-template-columns: 1fr; }
  .archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .racing-hero { min-height: 520px; }
  .racing-hero-media img { object-position: 62% center; }
  .racing-hero-media::after { background: #080808b8; }
  .racing-hero-switcher { top: 16px; right: 16px; bottom: auto; }
  .racing-hero-switcher button { min-width: 44px; min-height: 42px; padding: 8px; display: block; }
  .racing-hero-switcher span { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .racing-hero h1 { font-size: 39px; }
  .racing-proof,
  .racing-category-grid,
  .racing-product-grid,
  .racing-portals { grid-template-columns: 1fr; }
  .racing-proof > div { border-bottom: 1px solid #343434; }
  .racing-block > header { display: block; padding-bottom: 14px; }
  .racing-block > header > span,
  .racing-block > header > a { display: block; margin-top: 14px; }
  .racing-product-grid { gap-bottom: 42px; }
  .racing-feature-main { min-height: 330px; }
  .racing-news > div > a { grid-template-columns: 82px 1fr auto; }
  .archive-card { min-height: 280px; }
  .archive-gallery { grid-template-columns: 1fr; }
  .company-copyright, .inquiry-guide { padding: 24px; }
  .heritage-downloads a { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .heritage-downloads a span { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .racing-hero-media img { transition: none; transform: none; }
}
/* Inquiry form and analytics consent */
.support-form-column>p{color:#5a6269}.contact-form{display:grid;gap:16px;margin-top:18px;padding:24px;border:1px solid #d9dde0;border-radius:8px;background:#fff;box-shadow:0 12px 34px #17212b0d}.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form label{display:grid;gap:7px;color:#26313a;font-size:12px;font-weight:700}.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:11px 12px;border:1px solid #bcc5cc;border-radius:4px;background:#fff;color:#182028;font:inherit}.contact-form textarea{resize:vertical}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:3px solid #d8ecfa;border-color:#2678b9}.contact-form .contact-consent{display:flex;align-items:flex-start;gap:9px}.contact-consent input{width:17px;height:17px;margin-top:1px}.contact-form .primary-button{justify-self:start;border:0;cursor:pointer}.contact-form .primary-button:disabled{opacity:.55;cursor:wait}.contact-form-status{min-height:1.5em;margin:0;color:#075da8;font-weight:700}.contact-form-status.is-error{color:#a22f2f}.contact-honeypot{position:absolute!important;left:-10000px!important}.recaptcha-notice{color:#6b747c;font-size:10px;line-height:1.6}.analytics-consent{position:fixed;right:18px;bottom:18px;z-index:1000;max-width:420px;padding:16px 18px;border:1px solid #ccd3d8;border-radius:7px;background:#fff;box-shadow:0 12px 40px #0003;color:#26313a}.analytics-consent p{margin:0 0 11px;font-size:12px;line-height:1.7}.analytics-consent div{display:flex;gap:8px}.analytics-consent button{padding:8px 12px;border:0;border-radius:4px;background:#075da8;color:#fff;font-weight:700}.analytics-consent button.secondary{background:#e8edf0;color:#26313a}@media(max-width:720px){.contact-form-grid{grid-template-columns:1fr}.contact-form{padding:18px}.analytics-consent{right:10px;bottom:10px;left:10px;max-width:none}}

/* Compact database product page */
.product-catalog-page .page-hero{min-height:260px}.product-catalog-page .subpage-section{padding-top:54px}.product-catalog-page .shop-catalog-portal{margin-bottom:48px}

/* Hierarchical catalog search */
.catalog-breadcrumb{margin-bottom:20px}.catalog-breadcrumb [data-dynamic-crumbs]{display:contents}.catalog-breadcrumb button{padding:0;border:0;background:none;color:#aaa;font:inherit;cursor:pointer}.catalog-breadcrumb button:hover{color:#ff5148}.catalog-browser{margin-bottom:56px;border:1px solid #3a3a3a;background:#101010;box-shadow:0 22px 60px #0004}.catalog-browser>header{padding:24px 26px 20px;border-bottom:1px solid #333;background:linear-gradient(100deg,#1b1b1b,#121212)}.catalog-browser>header p{margin:0 0 7px;color:#ff5148;font:700 9px/1 var(--font-display);letter-spacing:.14em}.catalog-browser>header h2{margin:0 0 8px;font-size:clamp(22px,3vw,32px)}.catalog-browser>header span{color:#aaa;font-size:11px;line-height:1.7}.catalog-search{display:grid;grid-template-columns:minmax(170px,230px) minmax(240px,1fr) 112px;gap:0;padding:22px 24px 14px}.catalog-search select,.catalog-search input,.catalog-search button,.catalog-refinements select{min-height:54px;border:1px solid #4a4a4a;background:#fff;color:#171717;font:inherit}.catalog-search select{padding:0 38px 0 14px;border-right:0}.catalog-search input{min-width:0;padding:0 17px;font-size:15px}.catalog-search button{border-color:#d2322c;background:#d2322c;color:#fff;font:700 12px/1 var(--font-display);letter-spacing:.12em;cursor:pointer}.catalog-search button:hover{background:#ef443c}.catalog-refinements{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 24px 18px}.catalog-refinements label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;color:#bbb;font-size:10px;font-weight:700}.catalog-refinements select{width:100%;min-width:0;min-height:42px;padding:0 12px}.catalog-refinements select:disabled{color:#888;background:#292929}.middle-category-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #333}.middle-category-directory button{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border:0;border-right:1px solid #333;border-bottom:1px solid #333;background:#191919;color:#ddd;text-align:left;cursor:pointer}.middle-category-directory button:nth-child(4n){border-right:0}.middle-category-directory button:hover,.middle-category-directory button.is-active{background:#d2322c;color:#fff}.middle-category-directory span{overflow:hidden;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.middle-category-directory b{color:#ff6a62;font:700 9px/1 var(--font-display)}.middle-category-directory button:hover b,.middle-category-directory button.is-active b{color:#fff}.product-category-page .catalog-browser{margin-bottom:52px}

/* Notices, new products and event archives */
.info-item{min-height:118px;display:grid;grid-template-columns:1fr;gap:18px;align-items:stretch;padding:12px 0;scroll-margin-top:120px}.info-item:target{margin-inline:-16px;padding-inline:16px;border-left:4px solid #d2322c;background:#241918}.info-item.has-image{grid-template-columns:112px 1fr}.info-item>img{width:112px;height:92px;display:grid;place-items:center;object-fit:contain;border:1px solid #343434;background:#fff}.info-item-copy{min-width:0;align-self:center}.info-item h3{margin:8px 0 6px}.info-item p{line-height:1.65}.info-section-heading{margin-top:42px;padding-top:28px;border-top:1px solid #3a3a3a}.info-section-heading p{margin:0 0 8px;color:#ff5148;font:700 11px/1 var(--font-display);letter-spacing:.14em}.info-section-heading h2{margin:0 0 12px}.info-product>img{object-fit:contain}.event-card{min-height:132px;display:grid;grid-template-columns:1fr;padding:0;overflow:hidden}.event-card.has-image{grid-template-columns:150px 1fr}.event-card>img{width:150px;height:132px;object-fit:cover}.event-card>span{margin:0;padding:20px;align-self:center}.event-card h3{margin:9px 0;font-size:15px}.event-card em{color:#888;font:600 9px/1 var(--font-display);font-style:normal;letter-spacing:.08em}

/* Accessible, high-contrast inquiry form */
.support-grid{grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr);gap:54px;align-items:start}.support-form-column{padding:32px;border:1px solid #343434;background:#171717;box-shadow:0 24px 70px #0006}.support-form-column>h2{margin-bottom:16px}.support-form-column>p{margin:0;color:#aaa;line-height:1.75}.contact-form-intro{margin-top:24px;padding:18px 20px;border-left:4px solid #d2322c;background:#242424}.contact-form-intro strong{color:#fff;font-size:16px}.contact-form-intro p{margin:6px 0 0;color:#aaa;font-size:11px}.contact-form{gap:22px;margin-top:0;padding:24px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}.contact-form fieldset{margin:0;padding:0;border:0}.contact-form legend{width:100%;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #3a3a3a;color:#fff;font:600 15px/1 var(--font-display)}.contact-form-grid{gap:16px}.contact-form label{gap:8px;color:#e5e5e5;font-size:11px}.contact-form label>span:first-child{display:flex;align-items:center;gap:7px}.contact-form label>small{color:#888;font-size:9px;font-weight:500;line-height:1.5}.required-mark,.optional-mark{padding:3px 5px;border-radius:2px;font-size:7px;line-height:1;letter-spacing:.05em}.required-mark{background:#d2322c;color:#fff}.optional-mark{border:1px solid #555;color:#aaa}.contact-form input,.contact-form select,.contact-form textarea{min-height:48px;padding:12px 13px;border:1px solid #505050;border-radius:3px;background:#0d0d0d;color:#fff;caret-color:#ff5148}.contact-form textarea{min-height:180px;line-height:1.7}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#6f6f6f}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:3px solid #d2322c55;border-color:#ff5148}.contact-span-2{grid-column:1/-1}.contact-product-details{margin:16px 0 18px;border:1px solid #3b3b3b;background:#1d1d1d}.contact-product-details summary{padding:14px 16px;cursor:pointer;color:#fff;font-size:11px;font-weight:700}.contact-product-details>p{margin:0;padding:0 16px 12px;color:#999;font-size:10px}.contact-product-details>.contact-form-grid{padding:0 16px 16px}.contact-form .contact-consent{padding:14px;border:1px solid #3d3d3d;background:#202020;color:#ddd}.contact-consent a{color:#ff6a62;text-decoration:underline;text-underline-offset:3px}.contact-submit-row{display:flex;align-items:center;gap:18px}.contact-submit-row .primary-button{min-width:220px;min-height:52px;justify-content:center}.contact-submit-row>small,.recaptcha-notice{color:#777;font-size:9px;line-height:1.5}.contact-form-status{color:#74c7ff}.contact-form-status.is-error{color:#ff8c8c}
@media(max-width:900px){.middle-category-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.middle-category-directory button:nth-child(4n){border-right:1px solid #333}.middle-category-directory button:nth-child(3n){border-right:0}.support-grid{grid-template-columns:1fr;gap:28px}.support-form-column{padding:24px}}
@media(max-width:680px){.catalog-search{grid-template-columns:1fr 88px;padding:18px 18px 12px}.catalog-search select{grid-column:1/-1;min-height:44px;border-right:1px solid #4a4a4a;border-bottom:0}.catalog-search input{min-height:52px}.catalog-search button{min-height:52px}.catalog-refinements{grid-template-columns:1fr;padding:0 18px 16px}.catalog-refinements label{grid-template-columns:90px 1fr}.middle-category-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.middle-category-directory button:nth-child(3n){border-right:1px solid #333}.middle-category-directory button:nth-child(2n){border-right:0}}
@media(max-width:520px){.catalog-browser>header{padding:20px 18px}.middle-category-directory{grid-template-columns:1fr}.middle-category-directory button{border-right:0!important}.info-item.has-image{grid-template-columns:82px 1fr;gap:12px}.info-item>img{width:82px;height:76px}.event-card.has-image{grid-template-columns:104px 1fr}.event-card>img{width:104px;height:132px}.support-form-column{padding:18px}.contact-span-2{grid-column:auto}.contact-submit-row{align-items:stretch;flex-direction:column}}
@media(max-width:520px){.catalog-review-banner{align-items:flex-start;flex-direction:column;gap:5px}}

/* Shared compact category directory: Products and Home use the same cards. */
.compact-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: 14px;
  margin-bottom: 82px;
}
.compact-category-grid .category-card {
  min-height: 186px;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  isolation: isolate;
  outline: 1px solid #343434;
  outline-offset: -1px;
  background: #111;
}
.compact-category-grid .category-card::after { display: none; }
.compact-category-grid .category-card>img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  position: static;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  opacity: 1;
}
.compact-category-grid .category-card:hover>img { transform: none; opacity: 1; }
.compact-category-grid .category-card-placeholder {
  min-height: 72px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 30%, #633475, #181818 65%);
  color: #ffffff12;
  font: 700 64px/1 var(--font-display);
}
.compact-category-grid .category-card-copy {
  position: static;
  padding: 11px 13px 13px;
  border-top: 1px solid #343434;
}
.compact-category-grid .category-card small { font-size: 7px; line-height: 1.25; }
.compact-category-grid .category-card h3 { margin: 6px 0 4px; color: #fff; font-size: 15px; line-height: 1.25; }
.compact-category-grid .category-card p {
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #bbb;
  font-size: 9px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.compact-category-grid .category-card b { display: block; margin-top: 7px; color: #ff6a62; font: 600 7px/1 var(--font-display); letter-spacing: .1em; }
.compact-category-grid .category-card i { z-index: 2; right: 11px; top: 10px; padding: 4px; background: #111b; color: #fff; font-size: 8px; }
.home-category-grid { margin-bottom: 0; }

/* Migrated legacy-home carousel: editorial story and original product facts stay together. */
.home-heritage { background: #101010; }
.home-heritage-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 32%);
  gap: 16px;
  padding-bottom: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: #d2322c #292929;
}
.home-heritage-card {
  min-height: 410px;
  position: relative;
  display: block;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #343434;
  background: #1d1d1d;
  color: #fff;
}
.home-heritage-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #050505fa 5%, #08080899 58%, #08080810 100%); }
.home-heritage-card>img { width: 100%; height: 100%; padding: 14px 12px 150px; position: absolute; inset: 0; object-fit: contain; object-position: center 18%; background: radial-gradient(circle at 50% 28%, #49454d, #151515 68%); transition: transform .4s ease; }
.home-heritage-card:hover>img { transform: scale(1.035); }
.home-heritage-card>div { position: absolute; z-index: 2; inset: auto 22px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.home-heritage-card small { color: #ff6a62; font: 700 8px/1.35 var(--font-display); letter-spacing: .1em; }
.home-heritage-card strong { margin-top: 9px; font-size: 21px; line-height: 1.35; }
.home-heritage-card p { margin: 10px 0 0; display: -webkit-box; overflow: hidden; color: #c4c4c4; font-size: 10px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-heritage-card em { margin-top: 12px; color: #999; font-size: 9px; line-height: 1.5; font-style: normal; }
.home-heritage-card b { margin-top: 12px; color: #fff; font: 700 9px/1 var(--font-display); }

@media(max-width:900px){
  .compact-category-grid { grid-template-columns: repeat(6, minmax(132px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; }
  .compact-category-grid .category-card { scroll-snap-align: start; }
  .home-heritage-track { grid-auto-columns: minmax(280px, 72%); }
}
@media(max-width:520px){
  .compact-category-grid .category-card { min-height: 166px; }
  .home-heritage-track { grid-auto-columns: 88%; }
  .home-heritage-card { min-height: 380px; }
}

/* Public readability scale: enlarge roomy editorial areas more than dense controls. */
body.racing-theme { font-size: 18px; line-height: 1.8; }
.pilot-label, .language-link { font-size: 11px; }
.racing-theme .brand span,
.racing-theme .header-utility > p { font-size: 12px; }
.racing-theme .header-store,
.racing-theme .header-admin { font-size: 12px; }
.racing-theme .desktop-nav { height: 50px; }
.racing-theme .desktop-nav strong { font-size: 15px; }
.racing-theme .desktop-nav small { font-size: 11px; }

.racing-theme .racing-hero-copy > p { font-size: 13px; }
.racing-theme .racing-hero-copy > small { font-size: 11px; }
.racing-theme .racing-lead { max-width: 600px; font-size: 19px; line-height: 1.85; }
.racing-theme .racing-actions a { min-width: 200px; font-size: 15px; }
.racing-theme .racing-proof strong { font-size: 19px; }
.racing-theme .racing-proof small { font-size: 12px; }
.racing-theme .racing-feature small { font-size: 12px; }
.racing-theme .racing-feature b { font-size: 13px; }
.racing-theme .racing-block > header p { font-size: 12px; }
.racing-theme .racing-block > header h2 { font-size: clamp(40px, 4.7vw, 58px); line-height: 1.12; }
.racing-theme .racing-block > header > span,
.racing-theme .racing-block > header > a { font-size: 16px; }

.compact-category-grid .category-card { min-height: 216px; }
.compact-category-grid .category-card-copy { padding: 14px 15px 16px; }
.compact-category-grid .category-card small { font-size: 10px; }
.compact-category-grid .category-card h3 { font-size: 20px; line-height: 1.35; }
.racing-theme .compact-category-grid .category-card p { font-size: 15px; line-height: 1.6; }
.compact-category-grid .category-card b { font-size: 11px; }
.compact-category-grid .category-card i { font-size: 11px; }

.racing-theme .racing-product-grid article > small { font-size: 13px; }
.racing-theme .racing-product-grid h3 { min-height: 64px; font-size: 21px; }
.racing-theme .racing-product-grid p { font-size: 16px; }
.racing-theme .racing-detail,
.racing-theme .racing-product-image b,
.racing-theme .racing-product-image em { font-size: 12px; }
.racing-theme .racing-news > div > a { min-height: 86px; grid-template-columns: 140px 145px 1fr auto; }
.racing-theme .racing-news time,
.racing-theme .racing-news small { font-size: 11px; }
.racing-theme .racing-news strong { font-size: 18px; }
.racing-theme .racing-portals small { font-size: 12px; }
.racing-theme .racing-portals span { font-size: 14px; }

.home-heritage-card { min-height: 440px; }
.home-heritage-card small { font-size: 11px; }
.home-heritage-card strong { font-size: 26px; }
.home-heritage-card p { font-size: 15px; line-height: 1.75; }
.home-heritage-card em,
.home-heritage-card b { font-size: 12px; }

.racing-theme .page-lead { max-width: 780px; font-size: 19px; }
.racing-theme .breadcrumb { font-size: 13px; }
.racing-theme .content-title h2 { font-size: 56px; }
.racing-theme .content-title span { font-size: 16px; }
.racing-theme .category-card small { font-size: 12px; }
.racing-theme .category-card h2 { font-size: 26px; }
.racing-theme .category-card p { font-size: 17px; }
.racing-theme .product-category,
.racing-theme .product-date { font-size: 14px; }
.racing-theme .product-copy h3 { font-size: 22px; line-height: 1.5; }
.racing-theme .product-copy p { font-size: 17px; }
.racing-theme .view-product { font-size: 12px; }
.racing-theme .detail-copy .label { font-size: 14px; }
.racing-theme .detail-copy .sku { font-size: 18px; }
.racing-theme .detail-copy .description { font-size: 19px; }
.racing-theme .meta-list { font-size: 16px; }
.racing-theme .answer-summary { font-size: 20px; }
.racing-theme .product-information h2 { font-size: 23px; }
.racing-theme .product-information p { font-size: 18px; }
.racing-theme .specification-list dt { font-size: 16px; }
.racing-theme .specification-list dd { font-size: 18px; }
.racing-theme .specification-list dd span { font-size: 16px; }
.racing-theme .answer-item .answer-category { font-size: 14px; }
.racing-theme .answer-item h3 { font-size: 22px; }
.racing-theme .answer-item > p:not(.answer-category) { font-size: 18px; }
.racing-theme .answer-item dl div { font-size: 16px; }

.racing-theme .catalog-review-banner strong { font-size: 14px; }
.racing-theme .catalog-review-banner span { font-size: 15px; }
.racing-theme .catalog-browser > header p { font-size: 12px; }
.racing-theme .catalog-browser > header h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; }
.racing-theme .catalog-browser > header span { font-size: 16px; }
.racing-theme .catalog-search input { font-size: 18px; }
.racing-theme .catalog-search button { font-size: 15px; }
.racing-theme .catalog-refinements label { font-size: 14px; }
.racing-theme .middle-category-directory span { font-size: 14px; }
.racing-theme .middle-category-directory b { font-size: 12px; }
.racing-theme .shop-catalog-heading p,
.racing-theme .shop-search-form > label { font-size: 14px; }
.racing-theme .shop-catalog-heading h2 { font-size: clamp(25px, 3.2vw, 36px); }
.racing-theme .shop-catalog-heading span,
.racing-theme .shop-all-items,
.racing-theme .shop-catalog-portal summary { font-size: 16px; }
.racing-theme .shop-category-links a { font-size: 16px; }

.racing-theme .info-column h2,
.racing-theme .download-column h2,
.racing-theme .support-grid h2 { font-size: 36px; line-height: 1.15; }
.racing-theme .info-item time { font-size: 12px; }
.racing-theme .info-item h3 { font-size: 20px; }
.racing-theme .info-item p { font-size: 17px; }
.racing-theme .event-card small,
.racing-theme .event-card span,
.racing-theme .event-card em { font-size: 11px; }
.racing-theme .event-card h3 { font-size: 21px; }
.racing-theme .archive-card small,
.racing-theme .archive-tag { font-size: 11px; }
.racing-theme .archive-card strong { font-size: 24px; }
.racing-theme .archive-card em { font-size: 12px; }
.racing-theme .archive-note { font-size: 18px; }
.racing-theme .event-detail > header time { font-size: 12px; }
.racing-theme .event-overview,
.racing-theme .heritage-lead,
.racing-theme .heritage-columns { font-size: 18px; }
.racing-theme .heritage-downloads a span { font-size: 11px; }
.racing-theme .event-result figcaption,
.racing-theme .archive-gallery figcaption { font-size: 12px; }
.racing-theme .archive-gallery figcaption b { font-size: 11px; }
.racing-theme .download-list > span,
.racing-theme .download-list a { font-size: 18px; }
.racing-theme .download-list em { font-size: 11px; }
.racing-theme .text-link { font-size: 14px; }

.racing-theme .support-form-column > p { font-size: 18px; }
.racing-theme .contact-card small { font-size: 11px; }
.racing-theme .contact-form-intro strong { font-size: 19px; }
.racing-theme .contact-form-intro p { font-size: 13px; }
.racing-theme .contact-form legend { font-size: 18px; line-height: 1.35; }
.racing-theme .contact-form label { font-size: 15px; }
.racing-theme .contact-form label > small { font-size: 12px; }
.racing-theme .required-mark,
.racing-theme .optional-mark { font-size: 9px; }
.racing-theme .contact-form input,
.racing-theme .contact-form select,
.racing-theme .contact-form textarea { font-size: 16px; }
.racing-theme .contact-product-details summary { font-size: 13px; }
.racing-theme .contact-product-details > p { font-size: 12px; }
.racing-theme .contact-submit-row > small,
.racing-theme .recaptcha-notice { font-size: 11px; }
.racing-theme .company-statement p { font-size: 19px; }
.racing-theme .company-table div { font-size: 17px; }
.racing-theme .policy-content h2 { font-size: 24px; }
.racing-theme .policy-content p { font-size: 18px; }

.racing-theme .footer-brand p { font-size: 15px; }
.racing-theme .footer-grid h3 { font-size: 12px; line-height: 1.25; }
.racing-theme .footer-grid > div:not(.footer-brand) { font-size: 15px; }
.racing-theme .footer-bottom { font-size: 11px; }
.analytics-consent p { font-size: 14px; }
.analytics-consent button { font-size: 14px; }

@media(max-width:800px){
  body.racing-theme { font-size: 17px; }
  .racing-theme .racing-block > header h2 { font-size: clamp(36px, 8vw, 48px); }
  .racing-theme .racing-news > div > a { grid-template-columns: 105px 1fr auto; }
  .racing-theme .content-title h2 { font-size: clamp(36px, 9vw, 48px); }
}
@media(max-width:520px){
  .compact-category-grid .category-card { min-height: 188px; }
  .home-heritage-card { min-height: 420px; }
  .racing-theme .racing-hero h1 { font-size: clamp(30px, 10.8vw, 39px); }
  .racing-theme .racing-news > div > a { grid-template-columns: 92px 1fr auto; }
  .racing-theme .info-column h2,
  .racing-theme .download-column h2,
  .racing-theme .support-grid h2 { font-size: 32px; }
}
/* Customer photography and featured ranges, September 2026. */
.featured-parts { padding: 48px clamp(20px, 4vw, 56px) 56px; background: #111; color: #f7f7f7; }
.featured-parts-heading { margin-bottom: 30px; }
.featured-parts-heading > p, .featured-parts-copy > small { color: #ff6a62; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.featured-parts-heading h2 { margin: 12px 0 22px; font-size: clamp(24px, 3vw, 38px); line-height: 1.5; }
.featured-parts-heading nav { display: flex; flex-wrap: wrap; gap: 10px; }
.featured-parts-heading nav a { padding: 9px 16px; border: 1px solid #555; font-size: 14px; text-decoration: none; }
.featured-parts-heading nav a:hover { border-color: #ff6a62; }
.featured-hex { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: #1b1b1b; }
.featured-hex-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.featured-parts figure { margin: 0; background: #fff; color: #222; }
.featured-parts figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.featured-parts figcaption { padding: 10px 8px 14px; text-align: center; font-size: 13px; font-weight: 700; }
.featured-parts-copy { padding: clamp(22px, 3vw, 36px); }
.featured-parts-copy h3 { margin: 12px 0 20px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; }
.featured-parts-copy p { margin: 0 0 16px; color: #ddd; font-size: 15px; line-height: 1.95; }
.featured-parts-link { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0 5px; border-top: 1px solid #555; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.featured-parts-link:hover { color: #ff6a62; }
.featured-parts-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.featured-parts-pair > article { display: flex; flex-direction: column; background: #1b1b1b; }
.featured-parts-pair .featured-parts-copy { display: flex; flex: 1; flex-direction: column; }
.featured-parts-pair .featured-parts-link { margin-top: auto; }
.featured-parts article { scroll-margin-top: 120px; min-width: 0; }
@media (max-width: 760px) {
  .featured-parts { padding: 28px 16px; }
  .featured-hex, .featured-parts-pair { grid-template-columns: 1fr; }
  .featured-parts-heading nav a { padding: 9px 10px; font-size: 13px; }
  .featured-parts figcaption { font-size: 11px; }
}
/* Featured search and direct category refinement. */
.featured-parts-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; margin-bottom: 30px; }
.featured-parts-intro .featured-parts-heading { margin-bottom: 0; }
.featured-parts-intro .featured-parts-heading h2 { font-size: clamp(25px,2.7vw,34px); }
.home-parts-search { padding: 24px; background: #fff; color: #222; border: 1px solid #d8d6d1; }
.home-parts-search label { display: block; font-size: 15px; font-weight: 700; }
.home-parts-search > div { display: flex; margin: 20px 0 16px; }
.home-parts-search input { width: 100%; min-width: 0; border: 1px solid #aaa; background: #fafafa; padding: 15px 12px; color: #222; font: inherit; font-size: 16px; }
.home-parts-search button { flex: 0 0 82px; border: 0; background: #d2322c; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.home-parts-search button:hover { background: #b82722; }
.home-parts-search small { font-size: 12px; color: #777; line-height: 1.7; }
.catalog-browser { scroll-margin-top: 145px; }
.catalog-search { grid-template-columns: minmax(170px,230px) minmax(160px,1fr) 90px 90px; }
.catalog-search #catalog-clear { background: #eee; border-color: #aaa; color: #333; letter-spacing: 0; }
.catalog-search #catalog-clear:hover { background: #ddd; }
@media(max-width:800px) {
 .featured-parts-intro { grid-template-columns: 1fr; gap: 24px; }
 .home-parts-search { padding: 22px; }
}
@media(max-width:680px) {
 .catalog-search { grid-template-columns: minmax(0,1fr) 74px 74px; }
 .catalog-search select { grid-column: 1/-1; }
 .racing-theme .catalog-search input { font-size: 15px; padding: 0 10px; }
 .racing-theme .catalog-search button { font-size: 13px; }
 .catalog-browser { scroll-margin-top: 120px; }
}
@media(max-width:680px) {
 .catalog-search { grid-template-columns: 1fr 1fr; }
 .catalog-search input { grid-column: 1/-1; }
}

/* Keep the vintage buggy visible inside the shallow category thumbnail. */
.compact-category-grid .category-card[data-category-link="old-products"]>img {
  object-position: center 62%;
}

/* Newsletter signup: one XServer registration form per page. */
.newsletter-signup{scroll-margin-top:110px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding:36px;margin:32px 0;background:#f0f4f7;border-top:3px solid #c53030;color:#22303c}.newsletter-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:800;color:#b92d2d}.newsletter-signup h2{font-size:26px;line-height:1.5;margin:8px 0 12px}.newsletter-signup p{font-size:14px;line-height:1.8}.newsletter-form>label{font-size:14px;font-weight:700}.newsletter-input-row{display:flex;gap:8px;margin:8px 0 16px}.newsletter-input-row input{min-width:0;flex:1;padding:13px;background:white;border:1px solid #aebcc8;border-radius:4px;font-size:16px}.newsletter-input-row button{padding:13px 17px;white-space:nowrap;background:#b92d2d;color:white;border:0;border-radius:4px;font-size:14px;font-weight:bold;cursor:pointer}.newsletter-input-row button:disabled{background:#7b858b;cursor:not-allowed}.newsletter-consent{display:flex;gap:8px;align-items:flex-start}.newsletter-consent input{width:18px;min-width:18px;height:18px;margin:3px 0}.newsletter-consent span{font-size:12px;font-weight:400;line-height:1.8}.newsletter-form a{text-decoration:underline}.newsletter-form>p,.newsletter-form>a{font-size:12px}.newsletter-form input:focus-visible,.newsletter-form button:focus-visible{outline:3px solid #2579ae;outline-offset:2px}
@media(max-width:700px){.newsletter-signup{grid-template-columns:1fr;padding:24px 18px;gap:15px}.newsletter-signup h2{font-size:23px}.newsletter-input-row{flex-direction:column}}

/* PARSEC archive film replaces only the introductory 01.jpg slot. */
.archive-gallery .parsec-film { background:#10131a; color:#fff; }
.parsec-film-open { position:relative; display:block; width:100%; border:0; padding:0; background:#090c12; color:white; cursor:pointer; }
.archive-gallery .parsec-film video { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.parsec-film-badge { position:absolute; right:12px; bottom:12px; background:rgba(0,0,0,.75); padding:8px 12px; border:1px solid #ffffff70; border-radius:4px; font-size:13px; }
.archive-gallery .parsec-film figcaption { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:#e9edf3; }
.parsec-film button:focus-visible { outline:3px solid #a7caff; outline-offset:3px; }
.parsec-film [data-film-pause] { margin-left:auto; border:1px solid #78818f; background:transparent; color:inherit; border-radius:4px; padding:6px 10px; cursor:pointer; }
.parsec-film-dialog { width:min(1100px,94vw); max-width:94vw; max-height:94dvh; padding:0; border:1px solid #5a6170; border-radius:10px; background:#080b10; color:white; overflow:auto; }
.parsec-film-dialog::backdrop { background:rgba(0,0,0,.86); }
.parsec-film-dialog header { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; font-size:14px; }
.parsec-film-dialog [data-film-close] { border:1px solid #78818f; border-radius:4px; background:#222a36; color:white; padding:9px 15px; cursor:pointer; }
.archive-gallery .parsec-film-dialog video { max-height:calc(94dvh - 70px); }

/* Shared website production credit. */
.racing-theme .footer-bottom { flex-wrap: wrap; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; line-height: 1.6; }
.racing-theme .site-credit { color: #aaa; font-size: 12px; letter-spacing: normal; }
.racing-theme .site-credit a { color: inherit; text-decoration: none; }
.racing-theme .site-credit a:hover, .racing-theme .site-credit a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Keep category labels compact without changing archive or pan-car headings. */
.compact-category-grid:has(> [data-category-link="old-products"]) .category-card:not([data-category-link="old-products"]):not([data-category-link="12"]) { container-type: inline-size; }
.racing-theme:lang(ja) .compact-category-grid:has(> [data-category-link="old-products"]) .category-card:not([data-category-link="old-products"]):not([data-category-link="12"]) small { white-space: nowrap; letter-spacing: .02em; font-size: clamp(7px, 5.4cqi, 10px); }
.racing-theme:lang(ja) .compact-category-grid:has(> [data-category-link="old-products"]) .category-card:not([data-category-link="old-products"]):not([data-category-link="12"]) h3 { white-space: nowrap; letter-spacing: -.045em; font-size: clamp(11px, 8.5cqi, 17px); }
.racing-theme:lang(ja) .compact-category-grid:has(> [data-category-link="old-products"]) .category-card[data-category-link="ae"] h3 { font-size: clamp(10px, 7.2cqi, 14px); line-height: 1.45; }

/* Pan-car and archive category titles also stay on one line. */
.compact-category-grid .category-card:is([data-category-link="12"], [data-category-link="old-products"]) { container-type: inline-size; }
.racing-theme:lang(ja) .compact-category-grid .category-card:is([data-category-link="12"], [data-category-link="old-products"]) small { white-space: nowrap; letter-spacing: .02em; font-size: clamp(7px, 5.4cqi, 10px); }
.racing-theme:lang(ja) .compact-category-grid .category-card:is([data-category-link="12"], [data-category-link="old-products"]) h3 { white-space: nowrap; letter-spacing: -.045em; font-size: clamp(9px, 7.3cqi, 15px); }
