@font-face {
  font-family: Barlow Condensed;
  src: url("/assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url("/assets/fonts/BarlowCondensed-ExtraBoldItalic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url("/assets/fonts/BarlowCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --red: #ed252b;
  --darkred: #bf171e;
  --charcoal: #101214;
  --ink: #131619;
  --paper: #f6f6f3;
  --muted: #51585d;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --edge: clamp(1.25rem, 5.3vw, 5.75rem);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.55 Arial,
    Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
svg {
  width: 1.08em;
  height: 1.08em;
  flex: none;
}
:focus-visible {
  outline: 3px solid #308be4;
  outline-offset: 4px;
}
.wrap {
  width: min(100% - var(--edge) * 2, 84rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: white;
  padding: 0.6rem 1rem;
}
.skip:focus {
  top: 1rem;
}
.masthead,
footer {
  background: var(--charcoal);
  color: white;
}
.masthead {
  border-bottom: 1px solid #353739;
}
.mast-inner {
  display: flex;
  align-items: center;
  min-height: 4.85rem;
  gap: clamp(2rem, 4.5vw, 5rem);
}
.brand {
  display: block;
  width: clamp(10.5rem, 49vw, 16rem);
  min-width: 0;
}
.brand img {
  width: 100%;
  height: auto;
}
.brand-preview {
  background: #e6e7e4;
  color: #30363a;
  font-size: 0.8rem;
}
.brand-preview .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 0.8rem;
  min-height: 2rem;
}
.brand-preview-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.85rem;
}
.brand-preview a,
.brand-preview button {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.brand-preview button {
  border: 0;
  padding: 0.3rem 0;
  background: transparent;
  color: inherit;
}
#primary-nav {
  display: flex;
  align-self: stretch;
  gap: 2.1rem;
  margin-left: auto;
}
#primary-nav a {
  color: #bdc0c2;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
}
#primary-nav a:hover,
#primary-nav [aria-current] {
  color: white;
}
#primary-nav [aria-current]:after {
  content: "";
  height: 3px;
  background: var(--red);
  position: absolute;
  inset: auto 0 0;
}
.footer-inner nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.menu-button {
  display: none;
}
.hero {
  isolation: isolate;
  position: relative;
  background: #101315;
  color: white;
  overflow: hidden;
  border-bottom: 4px solid var(--red);
}
.hero-photos,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photos {
  left: 24%;
  overflow: hidden;
}
.hero-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(2%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
}
.hero-frame[aria-hidden="false"] {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 50%;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      #101315 0%,
      rgba(16, 19, 21, 0.99) 17%,
      rgba(16, 19, 21, 0.92) 29%,
      rgba(16, 19, 21, 0.55) 44%,
      rgba(16, 19, 21, 0.04) 67%
    ),
    linear-gradient(
      0deg,
      rgba(6, 8, 9, 0.78),
      transparent 24%,
      transparent 85%,
      rgba(8, 10, 10, 0.14)
    );
}
.hero-inner {
  min-height: clamp(28rem, 34vw, 35rem);
  display: flex;
  align-items: center;
  position: relative;
  padding-block: 3.1rem 3.5rem;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 46%;
  max-width: 36rem;
}
.kicker,
.meta,
.hero-caption span,
.story-copy time,
.byline,
.news-list time,
aside time,
.car-card small {
  font:
    700 0.78rem/1.35 Arial,
    sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.kicker i {
  width: 1.7rem;
  height: 0.68rem;
  transform: skewX(-25deg);
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 5px,
    transparent 5px 9px
  );
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.04;
}
h1,
.section-head h2,
.team-layout h2,
.spec h2,
.car-content h2,
aside h2 {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(5.3rem, 7.25vw, 8.2rem);
  line-height: 0.84;
  letter-spacing: -0.032em;
  margin: 1rem 0 1.25rem;
}
.hero h1 em {
  color: #ff373c;
  font-style: inherit;
}
.hero-copy p {
  color: #e4e6e7;
  max-width: 27rem;
  font-size: clamp(1rem, 1.27vw, 1.15rem);
  line-height: 1.5;
}
.actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero .actions {
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.91rem;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.red {
  background: #cf1b21;
  color: white;
}
.red:hover {
  background: #b51117;
}
.outline {
  background: rgba(20, 24, 26, 0.62);
  border-color: #949a9e;
  color: white;
}
.outline:hover {
  background: #34383b;
  border-color: white;
}
.dark {
  background: var(--ink);
  color: white;
}
.hero-gallery {
  position: absolute;
  bottom: 1.45rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hero-caption {
  border-right: 1px solid #ffffff50;
  padding-right: 1.25rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 0.55rem;
  text-shadow: 0 1px 4px black;
}
.hero-caption span {
  grid-column: 1/-1;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: #e0e3e4;
  font-size: 0.68rem;
  margin-bottom: 0.15rem;
}
.hero-caption b {
  font: 700 1.1rem/1.25 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-caption small {
  font-size: 0.75rem;
  color: #e0e2e3;
}
.slide-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}
.slide-controls button {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #ffffff66;
  color: white;
  background: #12141699;
}
.slide-controls button:hover {
  background: #35383a;
}
#photo-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  padding-inline: 0.55rem;
}
#photo-toggle .rotation-action {
  font-size: 0.8rem;
}
#photo-toggle:not([data-paused]) svg:last-of-type,
#photo-toggle[data-paused] svg:first-of-type {
  display: none;
}
#photo-count {
  font: 700 0.79rem/1 monospace;
  letter-spacing: 0.03em;
}
.block {
  padding-block: clamp(2.3rem, 3.8vw, 4rem);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.section-head h2 {
  font-size: clamp(2.25rem, 3.2vw, 3.4rem);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-head h2:before {
  content: "";
  width: 0.37rem;
  height: 0.77em;
  transform: skewX(-14deg);
  background: var(--red);
}
.section-link,
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  padding-block: 0.18rem;
}
.section-link:hover,
.back:hover {
  color: var(--darkred);
}
.stories,
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.cover-link,
.car-card > a {
  text-decoration: none;
  display: block;
  height: 100%;
}
.story-photo,
.car-photo {
  position: relative;
  overflow: hidden;
  background: #292d30;
}
.story-photo {
  aspect-ratio: 1.98;
}
.story-photo img,
.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.story-photo .story-logo {
  object-fit: contain;
  padding-inline: 6%;
  background-color: var(--charcoal);
}
.cover-link:hover img,
.car-card > a:hover img {
  transform: scale(1.035);
}
.category {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #151719;
  color: white;
  font:
    700 0.76rem/1.1 Arial,
    sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-left: 4px solid var(--red);
}
.story-copy {
  padding: 1rem 0;
}
.story-copy time,
.news-list time,
aside time {
  color: var(--muted);
  font-size: 0.76rem;
}
.story-copy h3,
.car-card h3,
.news-list h2 {
  font: 700 clamp(1.55rem, 2.25vw, 2.35rem) / 1.02 var(--display);
  letter-spacing: -0.013em;
}
.story-copy h3 {
  margin-top: 0.35rem;
}
.cover-link:hover h3,
.car-card > a:hover h3,
.news-list a:hover h2,
aside a:hover b {
  color: var(--darkred);
}
.garage-band {
  background: #e7e8e5;
  border-block: 1px solid #d7dad9;
}
.garage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.car-card {
  border: 1px solid #cfd1ce;
  background: #fbfbf9;
}
.car-photo {
  aspect-ratio: 2.05;
}
.car-copy {
  padding: 1.1rem 1.2rem;
}
.meta {
  color: var(--darkred);
  font-size: 0.74rem;
}
.car-copy h3 {
  margin: 0.35rem 0;
}
.car-card small {
  color: var(--muted);
  letter-spacing: 0.025em;
  text-transform: none;
  font-weight: 400;
}
footer {
  border-top: 3px solid #2a2d2f;
}
.footer-inner {
  padding-block: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-inner nav {
  display: flex;
  gap: 1.5rem;
}
.footer-inner nav a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  color: #c2c5c7;
  font-size: 0.9rem;
  text-decoration: none;
}
.sub-hero {
  background: #191c1e;
  color: #fff;
  padding: 3.4rem 0 3rem;
  border-bottom: 4px solid var(--red);
}
.logo-preview-hero {
  background-color: var(--charcoal);
}
.sub-hero h1,
.detail h1,
.article h1 {
  font-size: clamp(3.2rem, 6.8vw, 6.8rem);
  letter-spacing: -0.035em;
  line-height: 0.97;
  margin: 0.65rem 0 1rem;
}
.sub-hero p {
  font-size: 1.08rem;
  max-width: 45rem;
  color: #d5d7d8;
}
.logo-preview-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.logo-preview-intro h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.logo-preview-intro figure {
  width: min(13rem, 100%);
}
.logo-preview-intro figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #d5d7d8;
}
.logo-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
}
.logo-jumps a {
  font-weight: 700;
  text-underline-offset: 0.24em;
}
.logo-collection {
  padding-block: clamp(2rem, 4vw, 4rem);
}
.logo-family,
.logo-study {
  scroll-margin-block-start: 1rem;
}
.logo-family + .logo-family {
  border-top: 1px solid #b9bfbc;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.logo-family-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-bottom: 1.25rem;
}
.logo-family-heading a {
  color: var(--darkred);
  text-underline-offset: 0.2em;
}
.logo-family h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.3rem);
  line-height: 1;
}
.logo-family > h2 {
  margin-bottom: 1.25rem;
}
.logo-family > .logo-jumps {
  margin: 0 0 2rem;
}
.logo-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.logo-classic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.4vw, 1.5rem);
}
.logo-classic-grid .logo-study .logo-stage {
  aspect-ratio: 2.75;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
.logo-classic-grid .logo-study h3 {
  font-size: clamp(1.6rem, 2.05vw, 1.95rem);
}
.logo-classic-grid .logo-study-samples {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.logo-classic-grid .logo-study-samples > a:first-child {
  grid-column: 1 / -1;
}
@media (max-width: 75rem) {
  .logo-classic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 38rem) {
  .logo-classic-grid {
    grid-template-columns: 1fr;
  }
}
.logo-study h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  margin-bottom: 0.65rem;
}
.logo-study p {
  color: var(--muted);
  margin-top: 0.7rem;
  line-height: 1.45;
}
.logo-study-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.65rem;
}
.logo-study-samples > a:first-child {
  grid-column: 1 / -1;
}
.logo-color-comparison {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.65rem, 1.4vw, 1.25rem);
}
.logo-prior {
  text-decoration: none;
}
.logo-shortlist-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  max-width: 48rem;
}
.logo-shortlist-pair .logo-stage {
  height: 7rem;
  aspect-ratio: auto;
  background: #101214;
  padding: 0.75rem;
}
.logo-shortlist-pair img {
  max-width: 16rem;
}
.logo-shortlist {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.logo-shortlist :is(th, td) {
  text-align: left;
  padding: 0.4rem clamp(0.25rem, 0.6vw, 0.65rem);
}
.logo-shortlist .shortlist-corner {
  width: clamp(5.5rem, 10vw, 8.5rem);
}
.logo-shortlist thead th {
  vertical-align: bottom;
  font: 700 clamp(1.3rem, 2.15vw, 2.15rem)/1.1 var(--display);
}
.logo-shortlist thead a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
.logo-shortlist tbody th {
  font-size: 0.92rem;
  line-height: 1.25;
  padding-inline-start: 0;
}
.logo-shortlist .logo-stage {
  width: 100%;
  aspect-ratio: 3.2;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: 3%;
}
.logo-shortlist .logo-sample:hover .logo-stage {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
@media (max-width: 38rem) {
  .logo-shortlist,
  .logo-shortlist :is(thead, tbody) {
    display: block;
  }
  .logo-shortlist tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
  }
  .logo-shortlist :is(th, td) {
    padding: 0;
  }
  .logo-shortlist .shortlist-corner {
    display: none;
  }
  .logo-shortlist thead th {
    align-self: end;
    font-size: 1.1rem;
  }
  .logo-shortlist tbody th {
    grid-column: 1 / -1;
    margin-top: 0.9rem;
  }
  .logo-shortlist .logo-stage {
    min-height: 2.75rem;
  }
}
.logo-prior:is(:hover, :focus-visible) .logo-caption {
  text-decoration: underline;
}
.logo-color-comparison .logo-stage {
  aspect-ratio: 2.4;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
@media (max-width: 52rem) {
  .logo-color-comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Use the same viewing area across the three designs in each family. */
.logo-study-samples .logo-stage {
  aspect-ratio: 2.3;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
@media (max-width: 60rem) {
  .logo-family-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .logo-study-samples {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: end;
  }
  .logo-study-samples > a:first-child {
    grid-column: auto;
  }
}
@media (max-width: 36rem) {
  .logo-study-samples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-study-samples > a:first-child {
    grid-column: 1 / -1;
  }
}
.logo-concept {
  scroll-margin-block-start: 1rem;
}
.logo-concept + .logo-concept {
  margin-top: clamp(2rem, 4vw, 3.75rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid #c7ccca;
}
.logo-heading {
  margin-bottom: 1rem;
}
.logo-heading h3 {
  font-size: clamp(2rem, 3.25vw, 3rem);
}
.logo-heading p {
  color: var(--muted);
  margin-top: 0.35rem;
}
.logo-reference {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.logo-reference a {
  color: var(--darkred);
  text-underline-offset: 0.16em;
}
.logo-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.logo-sample {
  display: block;
  text-decoration: none;
}
.logo-stage {
  aspect-ratio: 2.65;
  display: grid;
  place-items: center;
  padding: 5%;
  background: #fff;
  border: 1px solid #ccd0cd;
}
.logo-stage-white {
  background: #000;
  border-color: #000;
}
.logo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.logo-sample:hover .logo-caption,
.logo-sample:focus-visible .logo-caption {
  color: var(--darkred);
  text-decoration: underline;
}
.logo-viewer {
  width: min(72rem, calc(100% - 2rem));
  max-height: 90vh;
  overflow: auto;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  border: 0;
}
.logo-viewer::backdrop {
  background: rgb(12 14 16 / 84%);
}
.logo-viewer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.logo-viewer-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.75rem);
}
.logo-viewer-head button {
  padding: 0.4rem 0.85rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
}
.logo-download {
  display: inline-block;
  margin-top: 1rem;
  color: var(--darkred);
  font-weight: 700;
  text-underline-offset: 0.2em;
}
@media (max-width: 54rem) {
  .logo-samples {
    grid-template-columns: 1fr;
  }
  .logo-stage {
    aspect-ratio: 3.1;
  }
}
.logo-stage-dash {
  aspect-ratio: 2.3;
}
.logo-stage-roundel {
  aspect-ratio: 1.2;
  max-height: 30rem;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
.logo-viewer .logo-stage-roundel {
  aspect-ratio: auto;
  height: clamp(12rem, 62vh, 42rem);
  max-height: none;
  padding: clamp(0.75rem, 2vmin, 1.5rem);
}
.directory .cars-grid {
  align-items: start;
}
.directory .car-copy {
  padding-block: 1.35rem;
}
.filter-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid #a4a8a8;
  padding: 0.65rem 1rem;
  max-width: 100%;
}
.search input {
  min-width: 0;
  outline: none;
  border: none;
  width: min(17rem, 55vw);
  color: var(--ink);
}
.search:focus-within {
  outline: 2px solid #308be4;
}
.group-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 0.88rem;
}
.group-label select {
  appearance: none;
  border: 1px solid #a4a8a8;
  border-radius: 0;
  padding: 0.69rem 2.3rem 0.69rem 0.8rem;
  color: var(--ink);
  background: white linear-gradient(45deg, transparent 50%, #3b4145 50%)
    no-repeat right 0.98rem center/6px 6px;
}
.reset {
  color: var(--darkred);
  font-weight: 700;
  background: none;
  border: 0;
  text-decoration: underline;
}
.result-count {
  color: var(--muted);
  font-size: 0.87rem;
  margin: 1.2rem 0;
}
.news-list {
  border-top: 1px solid #afb4b3;
}
.news-list article {
  border-bottom: 1px solid #cdd1cf;
}
.news-list a {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  text-decoration: none;
  padding: 1.35rem 0;
}
.news-list time {
  padding-top: 0.25rem;
}
.news-list h2 {
  margin: 0.3rem 0;
}
.news-list p {
  max-width: 54rem;
  color: var(--muted);
}
.detail,
.article-layout,
.team-layout {
  padding-block: clamp(2rem, 5vw, 5rem);
}
.back {
  margin-bottom: 2rem;
}
.car-header {
  border-bottom: 1px solid #babebc;
  padding-bottom: 1.3rem;
  margin-bottom: 2rem;
}
.spec-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: start;
}
.spec {
  border-top: 4px solid var(--red);
  background: white;
  padding: 1.4rem;
}
.spec h2,
.car-content h2,
aside h2 {
  font-size: 2rem;
}
.spec dl {
  margin: 1rem 0;
}
.spec dl > div {
  border-top: 1px solid #d8dbda;
  padding: 0.7rem 0;
}
.spec dt {
  font-weight: bold;
  color: var(--muted);
  font-size: 0.85rem;
}
.spec dd {
  margin: 0;
}
.gallery {
  display: grid;
  gap: 1rem;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  height: auto;
}
.gallery a:focus-visible {
  display: block;
}
.gallery figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}
.car-content section {
  margin: 1.5rem 0;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 48rem) minmax(15rem, 1fr);
  gap: clamp(2rem, 8vw, 9rem);
}
.article h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}
.article-lead {
  width: min(100%, 32rem);
  height: auto;
  margin: 0 auto 1.8rem;
}
.article-lead[data-site-logo] {
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background-color: var(--charcoal);
}
.byline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 1.4rem 0 1.8rem;
  border-block: 1px solid #c7ccca;
  padding: 0.9rem 0;
}
.byline span {
  border-left: 1px solid #abadac;
  padding-left: 1rem;
}
.prose p,
.team-layout p,
.car-content section p {
  font-size: 1.09rem;
  line-height: 1.75;
  margin: 0 0 1em;
  overflow-wrap: anywhere;
}
.article .gallery {
  margin-block: 1.5rem;
}
.article-links {
  padding-left: 1.2rem;
  overflow-wrap: anywhere;
}
.article-links a {
  color: var(--darkred);
}
aside {
  align-self: start;
  border-top: 4px solid var(--red);
  padding-top: 1rem;
}
aside a {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #c8ccca;
  padding: 1rem 0;
}
aside b {
  display: block;
  font: 700 1.5rem/1.1 var(--display);
  margin-top: 0.3rem;
}
.team-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.team-layout h2 {
  font-size: 3rem;
  margin-bottom: 1.1rem;
}
.team-layout figure {
  align-self: start;
}
.team-layout figure img {
  width: 100%;
}
.team-layout figcaption {
  margin-top: 0.75rem;
}
.team-logos {
  padding-block: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid #babebc;
}
.team-logos .section-head,
.official-logo-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 1rem;
}
.team-logos .section-head {
  gap: 1rem;
}
.official-logo-form + .official-logo-form {
  margin-top: 2rem;
}
.official-logo-heading {
  justify-content: start;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.official-logo-heading h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
}
.official-logo-heading span {
  color: var(--muted);
  font-size: 0.88rem;
}
.official-logo-form ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.official-logo-form li {
  display: flex;
  flex-direction: column;
}
.official-logo-preview {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  height: clamp(6rem, 10vw, 8rem);
  padding: 0.75rem;
  border: 1px solid #c2c6c4;
  background: #eceeeb;
}
.official-logo-preview.black-on-white {
  background: white;
}
.official-logo-preview.white-on-black {
  background: black;
}
.official-logo-preview.color-on-dark {
  background: var(--charcoal);
}
.official-logo-preview.color-on-dark-transparent {
  background: #28384b;
}
.official-logo-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.official-logo-files {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}
.official-logo-files > div {
  margin-top: auto;
}
.official-logo-files a {
  display: inline-block;
  padding: 0.5rem 0.3rem;
  font-weight: 700;
  color: var(--darkred);
  text-underline-offset: 0.2em;
}
.official-logo-files a + a {
  margin-left: 0.25rem;
}
@media (max-width: 72rem) {
  .official-logo-form ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 52rem) {
  .official-logo-form ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 42rem) {
  .official-logo-form ul {
    grid-template-columns: 1fr;
  }
  .official-logo-form li {
    display: grid;
    grid-template-columns: minmax(5rem, 0.85fr) 1fr;
    align-items: center;
    gap: 1rem;
  }
  .official-logo-preview {
    height: 4.75rem;
    padding: 0.4rem;
  }
  .official-logo-files {
    display: block;
    margin: 0;
  }
}
@media (max-width: 850px) {
  .garage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-photos {
    left: 15%;
  }
  .hero-inner {
    min-height: 27rem;
  }
  .hero-copy {
    width: 53%;
  }
  .hero-gallery {
    gap: 0.5rem;
  }
  .hero-caption {
    padding-right: 0.6rem;
  }
  .mast-inner {
    gap: 1rem;
  }
  #primary-nav {
    gap: 1.1rem;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 2rem;
  }
  .spec-layout {
    gap: 1.5rem;
  }
}
@media (max-width: 650px) {
  :root {
    --edge: 1.2rem;
  }
  .mast-inner {
    min-height: 4.15rem;
    justify-content: space-between;
    gap: 0.5rem;
    position: relative;
  }
  html:not(.js) .mast-inner {
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding-block: 0.5rem;
  }
  .js .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    color: white;
    border: 1px solid #565b5e;
    padding: 0.38rem 0.65rem;
    font-size: 0.9rem;
  }
  .js #primary-nav {
    display: none;
  }
  .js #primary-nav.open {
    display: flex;
    position: absolute;
    z-index: 10;
    top: 100%;
    right: 0;
    padding: 0.5rem 1rem;
    background: #151719;
    border: 1px solid #414446;
    flex-direction: column;
    min-width: 10rem;
    gap: 0;
  }
  .js #primary-nav.open a {
    padding: 0.65rem 0.25rem;
  }
  #primary-nav {
    gap: 0.7rem;
  }
  #primary-nav a {
    font-size: 0.82rem;
  }
  .hero-inner {
    align-items: flex-end;
    min-height: 0;
    padding-top: 11.7rem;
    padding-bottom: 4.3rem;
  }
  .hero-photos {
    left: 0;
    bottom: auto;
    height: 72%;
  }
  .hero-frame img {
    object-position: 50% 48%;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      #101315 1%,
      #101315 20%,
      rgba(16, 19, 21, 0.92) 36%,
      rgba(16, 19, 21, 0.42) 59%,
      rgba(16, 19, 21, 0.02) 78%
    );
  }
  .hero-copy {
    width: 100%;
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 14.5vw, 6.5rem);
    line-height: 0.88;
    margin: 0.6rem 0 0.8rem;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em:before {
    content: " ";
  }
  .hero-copy p {
    font-size: 1.02rem;
    max-width: 32rem;
  }
  .hero .actions {
    margin-top: 1rem;
  }
  .button {
    padding: 0.56rem 0.9rem;
    min-height: 2.65rem;
  }
  .hero-gallery {
    bottom: 0.72rem;
    left: 0;
    right: 0;
    justify-content: space-between;
  }
  .hero-caption {
    border: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.4rem;
    min-width: 0;
  }
  .hero-caption span {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 0;
    gap: 0;
    margin: 0;
  }
  .hero-caption span svg {
    width: 1rem;
    height: 1rem;
  }
  .hero-caption b {
    font-size: 0.86rem;
  }
  .hero-caption small {
    font-size: 0.69rem;
    grid-column: 2;
  }
  .slide-controls {
    gap: 0.4rem;
  }
  .slide-controls button,
  #photo-toggle {
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
  }
  #photo-toggle .rotation-action {
    display: none;
  }
  #photo-count {
    font-size: 0.71rem;
  }
  .stories,
  .cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .stories .story-card:first-child {
    grid-column: 1/-1;
  }
  .story-copy {
    padding: 0.75rem 0;
  }
  .section-head {
    margin-bottom: 1rem;
  }
  .section-head h2 {
    font-size: 2.2rem;
  }
  .story-copy h3,
  .car-card h3 {
    font-size: 1.5rem;
  }
  .car-copy,
  .directory .car-copy {
    padding: 0.75rem;
  }
  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-inner nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 10rem;
    column-gap: 1rem;
    row-gap: 0.35rem;
  }
  .spec-layout,
  .team-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .news-list a {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .news-list time {
    padding: 0;
  }
  .sub-hero {
    padding: 2.4rem 0 2rem;
  }
  .hero .kicker {
    font-size: 0.72rem;
  }
  .car-header h1 {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 390px) {
  .hero-inner {
    padding-top: 10rem;
  }
  .hero-copy h1 {
    font-size: 14vw;
  }
  .hero .actions {
    gap: 0.55rem;
  }
  .hero .button {
    font-size: 0.84rem;
  }
  .stories,
  .cars-grid {
    grid-template-columns: 1fr;
  }
  .section-head h2 {
    font-size: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.hero-caption b {
  font-style: italic;
}
html:not(.js) .filter-tools,
html:not(.js) .slide-controls {
  display: none;
}
.team-record {
  max-width: 55rem;
  padding-block: 3rem;
}
.team-record section {
  margin-bottom: 2rem;
}
.team-record h2 {
  font-size: 2.4rem;
}
.history-photo {
  float: right;
  width: min(45%, 23rem);
  margin: 0 0 1.5rem 1.5rem;
}
.honours {
  padding: 0;
  list-style: none;
}
.honours li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #d3d5d3;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.spec-cover {
  background: linear-gradient(130deg, #20272b, #121516);
  color: #fff;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.spec-cover span,
.gallery-bar {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.spec-cover span {
  text-transform: uppercase;
  color: #d2d5d5;
}
.spec-cover b {
  font: 700 1.5rem/1.1 var(--display);
}
.car-content section.car-gallery {
  margin: 0;
}
.gallery-main {
  display: block;
  background: #141719;
}
.gallery-main img {
  width: 100%;
  max-height: 40rem;
  object-fit: contain;
}
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  color: var(--muted);
}
.gallery-bar a {
  color: var(--ink);
  text-underline-offset: 3px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.55rem;
}
.gallery-thumb {
  display: block;
  background: #252729;
  position: relative;
  border: 2px solid transparent;
}
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}
.gallery-thumb[aria-current="true"] {
  border-color: var(--red);
}
@media (max-width: 650px) {
  .spec-layout:has(.gallery-main) .car-content {
    grid-row: 1;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(4.3rem, 1fr));
  }
  .history-photo {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
}
