@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-800i.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
.world-c {
  --ground: #011439;
  --ink: #eef4ff;
  --blue: #0017be;
  --electric: #4b88ff;
  --sheet: #f4f2f1;
  --gutter: clamp(22px, 3.05vw, 56px);
  --focus: #9bd2ff;
  --footer-bg: #01112d;
  --footer-fg: #e6edff;
  --select: #8fb2ff;
}
.world-c h1, .world-c h2 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-style: italic; font-weight: 800; }
.world-c .site-head { border-bottom: 1px solid #b9cfff; }
.film {
  display: grid;
  grid-template-columns: minmax(0,.46fr) minmax(0,1fr);
  grid-template-rows: auto;
  min-height: 380px;
  overflow: hidden;
  background: #040e27;
  isolation: isolate;
}
.film-title {
  position: relative;
  display: grid;
  align-items: center;
  padding: 2rem var(--gutter);
  overflow: hidden;
}
.film-title::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,#030d25 0%,#030d25e8 40%,#04163fa0 100%),
    url("assets/scenes/brake-cart.webp") left bottom / auto 115%;
}
.film-title h1 {
  font-size: clamp(55px, 7.15vw, 111px);
  line-height: .94;
  letter-spacing: -.018em;
  color: var(--electric);
  white-space: nowrap;
}
.film-title p { margin-top: 1.14rem; line-height: 1.27; font-size: clamp(16px,1.7vw,25px); font-weight: 600; max-width: 22ch; }
.film-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.84;
  background: #132c54;
  border-left: 1px solid #bed5ff88;
}
.film-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.film-photo figcaption {
  position: absolute;
  right: 15px;
  bottom: 12px;
  padding: .2rem .52rem;
  background: #04122ae8;
  color: #fff;
  font-size: 12px;
}
.control-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #b9cfff;
  padding: clamp(11px, 1.6vw, 25px) var(--gutter);
  background: var(--blue);
}
.brake-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 385px);
  border: 1px solid #b0c4fd;
  border-radius: 28px;
  padding: 2px;
}
.brake-switch button {
  min-height: 45px;
  padding-inline: .9rem;
  border-radius: 25px;
  white-space: nowrap;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 650;
}
.brake-switch button[aria-pressed="true"] { color: #071844; }
.brake-switch button:hover { text-decoration: underline; }
.brake-selector {
  display: block;
  position: absolute;
  z-index: -1;
  inset: 2px auto 2px 2px;
  width: calc(50% - 2px);
  border-radius: 24px;
  background: #f0f5ff;
  transition: transform 470ms cubic-bezier(.16,1,.3,1);
}
#brake-world[data-active="brake"] .brake-selector { transform: translateX(100%); }
.c-compare-link { padding-right: 0; text-decoration: underline; font-size: clamp(14px,1.4vw,19px); }
.c-compare-link:hover { text-decoration-thickness: 2px; }
.brake-compare {
  padding: 25px var(--gutter) 49px;
  background: var(--sheet);
  color: #101d33;
  --focus: #254db0;
}
.compare-title { margin-bottom: 17px; }
.compare-title h2, .mount-rack h2 { font-size: clamp(38px,5.1vw,72px); line-height: .99; margin-bottom: .45rem; }
.compare-title h2 { font-size: clamp(38px,4.35vw,63px); }
.pair {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-block: 1px solid #61718c;
}
.pair::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  height: 5px;
  width: 50%;
  background: var(--blue);
  transition: transform 470ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
#brake-world[data-active="brake"] .pair::before { transform: translateX(100%); }
.pair .product { padding: 16px clamp(15px,3vw,50px) .25rem; }
.pair .product + .product { border-left: 1px solid #61718c; }
.pair .product figure { background: var(--sheet); }
.pair .product img { width: min(100%, 337px); aspect-ratio: 1.14; margin: auto; mix-blend-mode: multiply; }
.pair .product details { border-top: 1px solid #61718c; }
.world-c .product-price { margin-top: .4rem; }
.world-c .product-price span { font-size: 12px; }
.mount-rack { padding: 49px var(--gutter); }
.mount-rack > div:first-child { margin-bottom: 1.45rem; }
.rack-parts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.4vw,40px); }
.rack-parts .product figure { background: #cedffb; }
.rack-parts .product img { mix-blend-mode: multiply; aspect-ratio: 1.4; }
.rack-parts .product details { border-top: 1px solid #91a8d0; }
.world-c .site-footer { border-top: 1px solid #5778a4; }
@media (max-width: 900px) {
  .film { min-height: 0; }
  .film-title { padding-inline: var(--gutter) .8rem; }
  .film-title h1 { font-size: clamp(49px, 7.15vw, 74px); }
}
@media (max-width: 690px) {
  .world-c { --gutter: clamp(16px, 4.4vw, 28px); }
  .world-c .site-head nav { gap: 12px; }
  .film { grid-template-columns: 1fr; }
  .film-title { padding: 24px var(--gutter) 17px; }
  .film-title::before { background-image: linear-gradient(100deg,#04112a,#071b43); }
  .film-title h1 { font-size: clamp(47px,11.5vw,76px); line-height: .98; white-space: normal; }
  .film-title h1 br { display: none; }
  .film-title p { margin-top: .45rem; max-width: none; font-size: 16px; }
  .film-photo { aspect-ratio: 1.38; border-left: 0; border-top: 1px solid #bed5ff88; }
  .film-photo img { object-position: 69% 59%; }
  .film-photo figcaption { bottom: 8px; right: 8px; }
  .control-deck { display: grid; justify-items: start; gap: 1px; padding-block: 12px 3px; }
  .brake-switch { width: 100%; min-width: min(81vw,385px); }
  .c-compare-link { padding-left: 0; }
  .brake-compare, .mount-rack { padding-block: 27px 38px; }
  .compare-title { margin-bottom: 15px; }
  .pair .product { padding: 9px 10px 0; }
  .pair .product:first-child { padding-left: 0; }
  .pair .product:last-child { padding-right: 0; }
  .rack-parts { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 22px; }
  .pair .product details summary { font-size: 13px; gap: .2rem; }
  .product dl { gap: .2rem .4rem; }
}
@media (max-width: 360px) {
  .world-c .site-head nav { gap: 9px; }
  .world-c .site-head nav a { font-size: 12px; }
}
.film-photo { overflow: hidden; }
.film-photo img {
  position: absolute;
  inset: 0;
  scale: 1.24;
  transform-origin: 73% 62%;
  animation: swap-exposure 380ms cubic-bezier(.16,1,.3,1);
}
@keyframes swap-exposure {
  from { opacity: .45; }
  to { opacity: 1; }
}
