:root {
  --brand-ink: #101010;
  --brand-paper: #f4f4f2;
  --brand-line: rgba(16, 16, 16, .22);
  --brand-muted: #666862;
  --brand-ease: cubic-bezier(.2, .72, .2, 1);
}

.brand-detail-body {
  overflow-x: hidden;
  background: var(--brand-paper);
  color: var(--brand-ink);
}

.brand-detail-page {
  padding-top: 72px;
}

.brand-detail-shell {
  width: min(calc(100% - clamp(36px, 7vw, 112px)), 1400px);
  margin: 0 auto;
}

.brand-profile {
  min-height: clamp(400px, 53vh, 600px);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(124px, 14vw, 184px) 0 clamp(48px, 7vw, 82px);
  background: #101010;
  color: #fff;
}

.brand-profile-inner {
  width: min(calc(100% - clamp(40px, 10vw, 128px)), 1180px);
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.brand-construction-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.brand-construction-line {
  position: absolute;
  display: block;
  opacity: .34;
}

.brand-construction-line-vertical {
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(255, 255, 255, .21);
}

.brand-construction-line-horizontal {
  right: 0;
  left: 0;
  border-top: 1px dashed rgba(255, 255, 255, .21);
}

.brand-construction-line.is-edge {
  opacity: .62;
}

.brand-profile-heading > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.brand-profile-heading h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .9;
}

.brand-products-section {
  padding: clamp(56px, 6.5vw, 92px) 0;
}

.brand-products-section > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.brand-products-section header p {
  margin: 0 0 10px;
  color: var(--brand-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brand-products-section h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
}

.brand-products-section > header > span {
  color: var(--brand-muted);
  font-size: 12px;
}

.brand-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--brand-ink);
}

.brand-product-card {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(166px, 14vw, 210px);
  padding-top: 14px;
  border-bottom: 1px solid var(--brand-ink);
}

.brand-product-card:nth-child(odd) {
  padding-right: clamp(12px, 2vw, 28px);
}

.brand-product-card:nth-child(even) {
  padding-left: clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--brand-ink);
}

.brand-product-index {
  grid-column: 2;
  grid-row: 1;
  z-index: 2;
  align-self: start;
  margin: 20px;
  color: var(--brand-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.brand-product-card figure {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 7 / 6;
  background: #e8e8e5;
}

.brand-product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 620ms var(--brand-ease), filter 300ms ease;
}

.brand-product-card:hover img {
  transform: scale(1.018);
  filter: contrast(1.025);
}

.brand-product-copy {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 54px 20px 22px;
  border-left: 1px solid var(--brand-line);
}

.brand-product-copy small {
  margin-bottom: 6px;
  color: var(--brand-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-product-copy strong {
  font-size: clamp(22px, 2.35vw, 31px);
  font-weight: 880;
  letter-spacing: -.045em;
  line-height: 1;
}

.brand-product-copy em {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.brand-product-copy b {
  transition: transform 180ms var(--brand-ease);
}

.brand-product-card:hover .brand-product-copy b {
  transform: translateX(5px);
}

.brand-product-card:focus-visible {
  outline: 3px solid var(--brand-ink);
  outline-offset: 4px;
}

.brand-missing {
  min-height: 70vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
}

.brand-missing a {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .brand-detail-page {
    padding-top: 64px;
  }

  .brand-detail-shell {
    width: calc(100% - 32px);
  }

  .brand-profile {
    min-height: 360px;
    padding: 108px 0 44px;
  }

  .brand-profile-inner {
    width: calc(100% - 40px);
  }

  .brand-profile-heading h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .brand-products-section > header {
    align-items: flex-start;
  }

  .brand-products-grid {
    grid-template-columns: 1fr;
  }

  .brand-product-card:nth-child(odd),
  .brand-product-card:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .brand-product-card {
    grid-template-columns: minmax(0, 1fr) 142px;
  }

  .brand-product-index {
    margin: 14px;
  }

  .brand-product-copy {
    min-height: 0;
    padding: 46px 14px 16px;
  }

  .brand-product-copy strong {
    font-size: 21px;
  }

  .brand-product-copy em {
    gap: 8px;
    margin-top: 18px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-product-card img,
  .brand-product-copy b {
    transition: none;
  }
}
