:root {
  color-scheme: light;
  --ink: #0c2340;
  --muted: #4e5a67;
  --night: #0c2340;
  --paper: #f7f8f8;
  --line: #dbe0e4;
  --red: #963d27;
  --bright-red: #e99a34;
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
::selection { background: var(--red); color: white; }
:focus-visible { outline: 3px solid var(--bright-red); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.047em; }
p { line-height: 1.58; }
.wrap { width: min(100% - 8rem, 82rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .7rem 1rem; background: white; }

.site-header { background: var(--night); color: white; border-bottom: 5px solid transparent; border-image: linear-gradient(0deg, #fbc02d 34%, #ec8528 34% 67%, #ad4633 67%) 1; }
.header-inner { min-height: 5.125rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; }
.brand img { width: clamp(10.5rem, 18vw, 13.75rem); height: auto; object-fit: contain; }
.brand > span:last-child { color: white; font-size: 1.2rem; font-weight: 900; font-style: italic; letter-spacing: -.075em; }
.brand-space { margin-left: .24em; }
.brand-icon { display: block; width: 1.6rem; height: 1.6rem; background: var(--bright-red); transform: skewX(-17deg); }
.header-inner nav { display: flex; align-items: center; gap: clamp(1rem, 3.3vw, 3.3rem); }
.header-inner nav a { color: #eaf0f5; padding: .8rem 0; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: white; box-shadow: inset 0 -2px var(--bright-red); }
.mobile-menu { display: none; }

.hero { min-height: clamp(34rem, 48vw, 47rem); position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; color: white; background: #1c334b; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #081d36ed 0%, #0c2340ae 32%, #132f4926 68%, #0c234010 100%), linear-gradient(0deg, #0c234035, transparent 43%); }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-content { padding-block: 4.5rem; }
.hero-marker { width: 3rem; height: .2rem; background: var(--bright-red); margin-bottom: 1.4rem; }
.eyebrow { color: var(--red); font-size: .875rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: #f0ece7; }
.hero h1 { margin-top: 1.1rem; font-size: clamp(2.9rem, 6vw, 6.5rem); font-weight: 850; line-height: .95; text-transform: uppercase; }
.hero h1 span { color: var(--bright-red); }
.hero-copy { margin-top: 1.5rem; max-width: 27rem; font-size: clamp(1.05rem, 1.45vw, 1.3rem); color: #fffefa; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.15rem; padding: .75rem 1.25rem; border: 1px solid transparent; font-size: .94rem; font-weight: 750; transition: background-color .17s, color .17s, border-color .17s; }
.hero .button { margin-top: 1.9rem; }
.button-red { background: #f8b548; color: #0c2340; }
.button-red:hover { background: #ffc96e; }
.button-dark { background: var(--night); color: white; }
.button-dark:hover { background: var(--red); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #dedbd3; }
.button-outline { border-color: #8e8a83; color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--night); background: white; }

.terrain-nav { background: #102a47; color: white; }
.terrain-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-inline-start: 1px solid #39506a; }
.terrain-inner a { display: grid; align-content: center; gap: .42rem; min-height: 6.45rem; padding: 1.2rem 1.35rem; border-inline-end: 1px solid #39506a; transition: background .18s; }
.terrain-inner a:hover { background: #1b3b5d; box-shadow: inset 0 -3px var(--bright-red); }
.terrain-inner strong { font-size: 1.27rem; letter-spacing: .02em; text-transform: uppercase; }
.terrain-inner span { color: #d3dfe9; font-size: .875rem; line-height: 1.35; }

.catalog-section { padding-block: clamp(3.5rem, 7vw, 7.2rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 2.5rem; }
.section-head h2, .engineering-inner h2 { margin-top: .5rem; font-size: clamp(2.75rem, 5.4vw, 5rem); text-transform: uppercase; }
.section-head > p { max-width: 26rem; color: var(--muted); }
.catalog-toolbar { display: flex; justify-content: space-between; gap: .9rem; margin-top: 2.15rem; padding-block: .95rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.filters button { padding: .62rem 1rem; min-height: 2.65rem; color: #3e3d3a; background: transparent; border: 1px solid transparent; font-size: .875rem; font-weight: 750; }
.filters button:hover { border-color: #aaa69c; }
.filters button[aria-pressed='true'] { color: white; border-color: var(--night); background: var(--night); }
.search { display: flex; align-items: center; gap: .66rem; min-width: 12rem; padding: .32rem .75rem; border: 1px solid #ccc9c2; background: white; }
.search input { width: 100%; min-height: 1.9rem; border: 0; padding: 0; color: var(--ink); background: none; font-size: .94rem; }
.search:focus-within { outline: 2px solid var(--red); outline-offset: 1px; }
.search input:focus-visible { outline: none; }
.search-icon { width: .79rem; height: .79rem; position: relative; flex: none; border-radius: 50%; border: 1.5px solid #444; }
.search-icon::after { content: ''; width: .36rem; height: .1rem; position: absolute; right: -.25rem; bottom: -.12rem; background: #444; transform: rotate(47deg); }
.result-count { color: var(--muted); margin-block: .95rem; font-size: .875rem; }
.tire-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tire-card { min-width: 0; border: 1px solid var(--line); background: white; }
.tire-card-link { display: flex; flex-direction: column; height: 100%; }
.tire-media { background: #eef0f1; aspect-ratio: 1.27; display: grid; place-items: center; overflow: hidden; }
.tire-media img { width: 90%; height: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .26s ease; }
.tire-card-link:hover .tire-media img { transform: scale(1.045); }
.tire-meta { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.tire-meta .eyebrow { margin-bottom: .6rem; }
.tire-meta h3 { font-size: clamp(1.35rem, 1.9vw, 1.83rem); }
.tire-meta p { margin: .6rem 0 1rem; color: var(--muted); font-size: .875rem; }
.card-action, .text-link { font-size: .9rem; font-weight: 750; text-decoration: underline; text-underline-offset: .24em; }
.card-action { margin-top: auto; width: fit-content; text-decoration-color: var(--red); }
.tire-card-link:hover .card-action { color: var(--red); }
.empty { padding: 2.5rem 0; }
.empty h3 { font-size: 1.6rem; }
.empty p { margin-block: .8rem 1.2rem; }

.engineering-band, .page-banner { background: #122c49; color: white; border-top: 3px solid var(--bright-red); }
.engineering-inner { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 6rem); }
.engineering-inner .eyebrow, .page-banner .eyebrow { color: #ffc77a; }
.engineering-inner p:last-child { margin-top: 1rem; color: #e2eaf2; }
.engineering-inner .button { flex: none; }
.site-footer { background: var(--night); color: #dbe5ef; }
.footer-main { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem; }
.footer-main p { margin-top: .9rem; }
.footer-main nav { display: flex; flex-direction: column; align-items: start; gap: .6rem; }
.footer-main nav strong { color: white; margin-bottom: .25rem; }
.footer-main nav a, .footer-base { font-size: .875rem; }
.footer-main a:hover, .footer-base a:hover { text-decoration: underline; text-underline-offset: .23em; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #38506a; padding-block: 1rem 1.3rem; }

.product-wrap { padding-block: 1.45rem 5rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; column-gap: .75rem; row-gap: .3rem; margin-bottom: 1.4rem; color: var(--muted); font-size: .875rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.product-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.gallery { min-width: 0; }
.gallery-stage { background: #eef0f1; display: grid; place-items: center; aspect-ratio: 1.25; overflow: hidden; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.thumb { padding: 0; border: 1px solid var(--line); background: #eef0f1; }
.thumb img { width: 3.65rem; height: 3.2rem; object-fit: contain; mix-blend-mode: multiply; }
.thumb[aria-pressed='true'] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.product-copy h1, .page-banner h1 { font-size: clamp(2.55rem, 5.15vw, 5.4rem); margin-block: .65rem 1.1rem; text-transform: uppercase; }
.product-copy p:not(.eyebrow) { max-width: 42rem; }
.product-tagline { font-size: 1.25rem; font-weight: 750; margin-bottom: .8rem; }
.product-features { padding-left: 1.2rem; line-height: 1.5; margin-block: 1.15rem 1.45rem; }
.product-features li + li { margin-top: .4rem; }
.product-features li::marker { color: var(--red); }
.specification-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(1.5rem, 5vw, 4rem); margin-top: 4.5rem; padding-block: 2.2rem; border-block: 1px solid var(--line); }
.specifications h2, .topic h2, .story-copy h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-block: .5rem 1.25rem; }
.specifications dl { margin: 0; }
.specifications dl div { display: grid; grid-template-columns: 1fr 1.4fr; gap: .65rem; padding-block: .78rem; border-bottom: 1px solid var(--line); }
.specifications dt { font-weight: 750; }
.specifications dd { margin: 0; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .75rem; white-space: nowrap; }
thead { background: var(--night); color: white; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody tr:nth-child(2n) { background: #eef0f1; }
.spec-link { margin-top: 1rem; text-decoration: underline; text-underline-offset: .2em; }
.related-section { margin-top: 3rem; }
.related-section h2 { font-size: clamp(2rem, 4vw, 3rem); }
.related-grid { margin-top: 1.35rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.page-banner .wrap { padding-block: clamp(3.6rem, 8vw, 8rem); }
.page-banner p:last-child { max-width: 39rem; color: #efebe5; font-size: 1.12rem; }
.editorial-body { padding-block: clamp(2.5rem, 5vw, 5rem); }
.topic { padding-bottom: 2.5rem; }
.topic + .topic { padding-top: 2.5rem; border-top: 1px solid var(--line); }
.topic > p, .story-copy p { max-width: 48rem; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; margin-top: 1.35rem; }
.topic-grid article, .resource-list article { border: 1px solid var(--line); background: white; padding: 1.2rem; }
.topic-grid h3, .resource-list h3 { font-size: 1.4rem; }
.topic-grid p, .resource-list p { margin-top: .65rem; color: var(--muted); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); }
.story-layout img { width: 100%; height: auto; }
.story-copy p + p { margin-top: 1rem; }
.story-copy .button { margin-top: 1.5rem; }
.resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.resource-list a, .resource-detail a { text-decoration: underline; text-underline-offset: .2em; }
.resource-detail { margin-top: 1rem; }
.resource-detail summary { cursor: pointer; font-size: .94rem; font-weight: 750; }
.resource-detail ul { padding-left: 1.2rem; margin-bottom: 0; line-height: 1.5; }
.resource-detail li + li { margin-top: .45rem; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 4rem); }
  .tire-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.3rem; position: relative; align-items: center; flex-wrap: wrap; gap: 0; }
  .brand img { width: 11rem; }
  .mobile-menu { display: block; color: white; background: transparent; border: 1px solid #5a718c; padding: .55rem .75rem; font-size: .9rem; font-weight: 750; }
  .header-inner nav { width: 100%; display: none; flex-wrap: wrap; gap: .4rem 1.45rem; padding-block: .15rem .7rem; }
  .header-inner nav[data-open='true'] { display: flex; }
  .hero { min-height: 34rem; }
  .hero-image { object-position: 57% center; }
  .hero::before { background: linear-gradient(90deg, #081e37e8, #0c23404d), linear-gradient(0deg, #081e3775, transparent 60%); }
  .terrain-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terrain-inner a { min-height: 5.2rem; border-bottom: 1px solid #39506a; padding: .85rem; }
  .section-head, .engineering-inner, .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-toolbar { margin-top: 1.4rem; }
  .tire-grid, .topic-grid, .resource-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tire-meta { padding: .85rem; }
  .product-intro, .specification-layout, .story-layout { grid-template-columns: minmax(0, 1fr); }
  .product-copy { grid-row: 1; }
  .specification-layout { margin-top: 2.75rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.75rem); }
  .hero h1 { font-size: 2.5rem; }
  .tire-grid, .topic-grid, .resource-list { gap: .65rem; }
  .resource-list { grid-template-columns: minmax(0, 1fr); }
  .filters button { padding-inline: .63rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
