/* Graphite surface: light, mineral grain and the approved portrait share one field.
   The photograph stays untouched; all material treatment is a separate CSS layer. */
.v5-worn {
  --worn-graphite: #202326;
  position: relative;
  isolation: isolate;
  grid-template-columns: 1.05fr 1fr;
  min-height: 290px;
  background: #151719;
  border: 1px solid #fff1;
  box-shadow: inset 0 1px 0 #ffffff1a, 0 8px 18px #17171910;
}
.v5-worn::before { display: none; }
.v5-worn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 1px #ffffff17, inset 0 -1px 0 #0006;
  background: linear-gradient(115deg, transparent 49%, #b1b8bc08 72%, transparent 100%);
}
.v5-worn-photo {
  min-height: 290px;
  margin-right: -12%;
  /* Fade the actual photo into the common surface, rather than painting a
     flat graphite edge which cannot match the material's changing light. */
  -webkit-mask-image: linear-gradient(90deg, #000 52%, #000c 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 52%, #000c 72%, transparent 100%);
}
.v5-worn-photo img {
  object-position: 50% 43%;
  /* No filters or retouching of the approved portrait. */
}
.v5-worn-photo::after {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, #15181b1a, transparent 35%);
}
.v5-worn-copy {
  position: relative;
  isolation: isolate;
  z-index: 2;
  align-self: center;
  padding: 25px 46px 27px 47px;
  background: transparent;
}
.v5-worn-copy::before {
  content: '';
  position: absolute;
  inset: -30px 0;
  z-index: -1;
  pointer-events: none;
  opacity: .72;
  background: linear-gradient(90deg, #151719, #15171900 35%), url("assets/carbon-matte-grey-wave.png") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.v5-worn-copy .v5-eyebrow { color: #d8dcdd; }
.v5-worn-copy .v5-eyebrow::after {
  height: 2px;
  width: 28px;
  background: #E42320;
  box-shadow: 0 0 11px #e4232026;
}
.v5-worn h2 {
  color: #f5f5f0;
  font-size: clamp(54px, 5.5vw, 78px);
  font-weight: 600;
  line-height: .96;
  margin: 17px 0 0;
  letter-spacing: -.055em;
}
.v5-worn-copy > p { font-size: 14px; color: #d1d4d4; margin: 18px 0 0; }
.v5-worn .v5-light-link {
  gap: 22px;
  min-height: 44px;
  padding: 10px 17px;
  margin-top: 17px;
  border: 1px solid #ffffff29;
  border-top-color: #ffffff4d;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff12, #ffffff05);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
  box-shadow: 0 6px 12px #0002, inset 0 1px 0 #ffffff0a;
  transition: background .2s, box-shadow .2s;
}
.v5-worn .v5-light-link:hover {
  background: linear-gradient(135deg, #ffffff20, #ffffff0c);
  box-shadow: 0 8px 16px #0003, inset 0 1px 0 #ffffff1f;
}
.v5-worn .v5-light-link:active {
  background: #080a0c30;
  box-shadow: inset 0 2px 5px #0005, 0 1px 0 #ffffff1a;
}
.v5-worn .v5-light-link:focus-visible { outline-color: #f5f5f0; }
@media (max-width:1100px) {
  .v5-worn, .v5-worn-photo { min-height: 290px; }
  .v5-worn-copy { padding: 25px 28px 27px 32px; }
}
@media (max-width:850px) {
  .v5-worn-copy { padding: 25px 25px 27px 28px; }
  .v5-worn h2 { font-size: 54px; }
  .v5-worn-copy > p { font-size: 13px; }
  .v5-worn .v5-light-link { padding: 10px 13px; gap: 14px; font-size: 10px; }
}
@media (max-width:700px) {
  .v5-worn {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .v5-worn-photo {
    height: 224px;
    min-height: 0;
    margin-right: 0;
    margin-bottom: -9px;
    -webkit-mask-image: linear-gradient(180deg, #000 65%, #000b 83%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 65%, #000b 83%, transparent 100%);
  }
  .v5-worn-photo img { object-position: 50% 43%; }
  .v5-worn-photo::after {
    background: none;
  }
  .v5-worn-copy { padding: 14px 27px 30px; }
  .v5-worn-copy::before {
    inset: 0;
    background: linear-gradient(180deg, #151719, #15171900 40%), url("assets/carbon-matte-grey-wave.png") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%);
    mask-image: linear-gradient(180deg, transparent, #000 25%);
  }
  .v5-worn h2 { font-size: clamp(44px, 13vw, 56px); margin: 16px 0 0; }
  .v5-worn-copy > p { font-size: 13px; }
  .v5-worn .v5-light-link { font-size: 11px; margin-top: 15px; padding: 10px 16px; gap: 21px; }
  .v5-worn::after { background: linear-gradient(130deg, transparent 40%, #b1b8bc08 65%, transparent); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .v5-worn .v5-light-link { background: #34383ce6; }
}
@media (prefers-reduced-motion:reduce) {
  .v5-worn .v5-light-link { transition: none; }
}
