.sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: var(--shell);
  margin: clamp(3rem, 7vw, 6rem) auto var(--block);
}

.sheet__crown {
  position: absolute;
  top: calc(-1 * clamp(3rem, 7vw, 6rem));
  left: 50%;
  z-index: 1;
  width: clamp(12rem, 24vw, 22rem);
  height: clamp(4rem, 8vw, 7rem);
  translate: -50% 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 calc(2.1rem - 2px), rgba(255, 255, 255, 0.85) calc(2.1rem - 2px) 2.1rem),
    repeating-linear-gradient(-45deg, transparent 0 calc(2.1rem - 2px), rgba(255, 255, 255, 0.85) calc(2.1rem - 2px) 2.1rem),
    linear-gradient(#f0666b, #f0666b);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.sheet__copy {
  position: relative;
  z-index: 2;
}

.sheet__description {
  max-width: 44ch;
  margin-top: 1.4rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
}

.sheet__subtitle {
  margin: clamp(1.8rem, 4vw, 2.6rem) 0 1.1rem;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
  color: var(--red);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.tag {
  position: relative;
  display: inline-block;
  color: var(--red);
  text-decoration: none;
  transition: color 0.25s ease, translate 0.25s ease;
}

.tag__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tag__label {
  position: relative;
  display: block;
  padding: calc(0.78rem + 10px) 1.3rem calc(0.78rem + 5px) 1.7rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  font-style: italic;
  transition: color 0.25s ease;
}

.tag:hover,
.tag:focus-visible {
  color: #fff;
  translate: 0 -3px;
}

.tag:hover .tag__label,
.tag:focus-visible .tag__label {
  color: var(--red);
}

.scope-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.scope-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(0.9rem, 0.84rem + 0.3vw, 1.08rem);
}

.scope-list .double-chevron {
  width: 1rem;
  height: 0.95rem;
  color: var(--red);
}

.sheet__figure {
  position: relative;
  margin: 0;
}

.sheet__figure img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 78% 100%, 0 100%);
}

.sheet__figure--square img {
  aspect-ratio: 1;
  object-position: center;
}

.sheet__figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.sheet__mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--shell);
  margin: 0 auto var(--block);
}

.sheet__mark-truck {
  width: clamp(7rem, 13vw, 13rem);
  color: var(--red);
}

.sheet__mark-truck .icon {
  width: 100%;
  height: auto;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.section-head {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  align-items: end;
  width: var(--shell);
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
}

.catalog-section {
  width: var(--shell);
  margin: var(--block) auto;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

.catalog-grid--three {
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
}

.catalog-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 1rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2.5vw, 1.6rem);
  background: var(--paper-soft);
}

.catalog-tools .text-link {
  justify-self: start;
}

.catalog-results {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.catalog-empty {
  margin-top: 2rem;
  font-weight: 700;
}

.fleet-card {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 1.2rem;
  border-bottom: 6px solid var(--red);
}

.fleet-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.fleet-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fleet-card:hover .fleet-card__image img {
  transform: scale(1.05);
}

.fleet-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fleet-card__title {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
}

.fleet-card__title a {
  text-decoration: none;
}

.fleet-card__title a:hover {
  color: var(--red);
}

.fleet-card__variants {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.fleet-card__variants a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.fleet-card__variants .double-chevron {
  width: 0.9rem;
  height: 0.85rem;
  color: var(--red);
}

.fleet-card__variants a:hover {
  color: var(--red);
}

.page-intro {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: var(--shell);
  margin: clamp(2rem, 5vw, 4rem) auto clamp(2.5rem, 5vw, 4rem);
}

.page-intro__description {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-weight: 700;
}

.configuration-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.configuration {
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem 1.3rem 1.4rem;
  background: var(--paper-soft);
  border-left: 8px solid var(--red);
}

.configuration span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}

.configuration h3 {
  font-size: 1.05rem;
  font-style: normal;
  text-transform: none;
}

.fleet-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  list-style: none;
}

.fleet-gallery__item {
  overflow: hidden;
  aspect-ratio: 10 / 7;
  border-bottom: 6px solid var(--red);
  background: var(--paper-soft);
}

.fleet-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-block {
  width: var(--shell);
  margin: var(--block) auto;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.company-grid article {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--paper-soft);
  border-top: 8px solid var(--red);
}

.company-grid p {
  margin-top: 0.9rem;
  font-weight: 700;
  font-style: italic;
}

.next-page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--shell);
  margin: var(--block) auto;
  padding-top: 1.5rem;
  border-top: 4px solid var(--ink);
}

.next-page span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.next-page a {
  font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
}

.next-page a:hover {
  color: var(--red);
}

.next-page a {
  font-size: clamp(1rem, 0.9rem + 0.7vw, 1.5rem);
}

.configuration h3 a {
  text-decoration: none;
}

.configuration h3 a:hover,
.configuration h3 a:focus-visible {
  color: var(--red);
}

.closing {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
  width: var(--shell);
  margin: var(--block) auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--red);
  color: #fff;
  text-align: center;
}

.closing .button {
  background: #fff;
  color: var(--red);
}

.closing .button:hover,
.closing .button:focus-visible {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 860px) {
  .sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .sheet__figure {
    order: -1;
  }
}
