/* Typography and layer refinements for the editorial homepage. */
.tr-editorial-intro__caption {
  color: #f2f0eb;
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(255,255,255,.12);
}
.tr-editorial-intro__caption p { margin: 0 0 .55rem; }
.tr-editorial-intro__caption p:last-of-type { margin-bottom: 0; }
.tr-editorial-intro__caption .tr-editorial-line { background: rgba(255,255,255,.72); }

/* Polished silver display type — mirrors the metallic typography from the visual concept. */
.tr-editorial-hero__copy h1,
.tr-stories__title h2,
.tr-path__headline h2,
.tr-connect__title h2 {
  color: #e7e7e4;
  -webkit-text-stroke: .35px rgba(255,255,255,.24);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.50)) drop-shadow(0 0 12px rgba(255,255,255,.05));
}

/* Give the two-line hero wordmark a little more air after the metallic treatment. */
.tr-editorial-hero__copy h1 {
  line-height: .82;
  letter-spacing: -.045em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tr-editorial-hero__copy h1,
  .tr-stories__title h2,
  .tr-path__headline h2,
  .tr-connect__title h2 {
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      #eeeeec 14%,
      #bdbdb9 34%,
      #8f8f8c 46%,
      #f8f8f5 57%,
      #c6c6c2 72%,
      #ffffff 88%,
      #b4b4b0 100%
    );
    background-size: 100% 145%;
    background-position: center 16%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

@media (min-width: 1181px) {
  .tr-editorial { overflow-x: clip; }

  /* HERO — keep the photo dramatic, but give small type a stable contrast zone. */
  .tr-editorial-hero {
    position: relative;
    z-index: 50;
    min-height: 760px;
    height: min(88vh, 900px);
    overflow: visible;
  }
  .tr-editorial-hero__dark { width: 58%; }
  .tr-editorial-hero__visual { inset: 0 0 0 45%; }
  .tr-editorial-hero__visual::after {
    background: linear-gradient(90deg, rgba(5,5,5,.68) 0%, rgba(5,5,5,.20) 22%, transparent 50%, rgba(5,5,5,.06) 100%);
  }
  .tr-editorial-hero__side {
    position: absolute;
    top: 118px;
    left: 63%;
    right: auto;
    align-self: auto;
    justify-self: auto;
    justify-content: center;
    gap: 1.35rem;
    width: 190px;
    min-height: 255px;
    margin: 0;
    padding: 2rem 1.6rem;
    border-left: 1px solid rgba(255,255,255,.20);
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(5,5,5,.62), rgba(5,5,5,.46));
    color: rgba(242,240,235,.90);
    mix-blend-mode: normal;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: none;
  }
  .tr-editorial-hero__side p { margin: 0; }
  .tr-editorial-hero__side .tr-editorial-line {
    width: 42px;
    background: rgba(242,240,235,.72);
  }

  /* DE / EN banner — picture remains a background layer; caption becomes a magazine caption. */
  .tr-editorial-intro {
    position: relative;
    z-index: 10;
    overflow: visible;
  }
  .tr-editorial-intro__text {
    position: relative;
    z-index: 15;
    background: linear-gradient(90deg, rgba(8,8,8,.99), rgba(8,8,8,.96) 82%, rgba(8,8,8,.82));
  }
  .tr-editorial-intro__image {
    z-index: 5;
    min-height: 445px;
    margin-top: -96px;
    margin-bottom: -78px;
    margin-left: -58px;
    width: calc(100% + 58px);
    overflow: visible;
    box-shadow: -32px 28px 76px rgba(0,0,0,.36);
  }
  .tr-editorial-intro__image img {
    opacity: .93;
    object-position: center 46%;
  }
  .tr-editorial-intro__image::before {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0 auto 0 -58px;
    width: 145px;
    background: linear-gradient(90deg, rgba(7,7,7,.98), rgba(7,7,7,.54) 52%, transparent 100%);
    pointer-events: none;
  }
  .tr-editorial-intro__image::after {
    z-index: 3;
    background: linear-gradient(90deg, rgba(5,5,5,.20), transparent 32%, transparent 76%, rgba(5,5,5,.10));
  }
  .tr-editorial-intro__caption {
    right: 1.35rem;
    top: auto;
    bottom: 1.35rem;
    z-index: 8;
    transform: none;
    width: 150px;
    font-size: .52rem;
    letter-spacing: .24em;
    line-height: 1.65;
  }

  /* STORIES — overlaps stay between images, never across the main title. */
  .tr-stories {
    position: relative;
    z-index: 30;
    min-height: 610px;
    padding-top: 78px;
    padding-bottom: 52px;
    overflow: visible;
    isolation: isolate;
  }
  .tr-stories::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -68px 0 auto 0;
    height: 145px;
    background: linear-gradient(180deg, rgba(8,8,8,.05), rgba(8,8,8,.80) 54%, #070707 100%);
    pointer-events: none;
  }
  .tr-stories__title {
    z-index: 70;
    isolation: isolate;
    background: #070707;
    box-shadow: 28px 0 48px rgba(0,0,0,.42);
  }
  .tr-stories__title::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -34px 0 0;
    background: linear-gradient(90deg, #070707 0%, #070707 76%, rgba(7,7,7,.82) 91%, transparent 100%);
    pointer-events: none;
  }
  .tr-story {
    height: calc(100% + 34px);
    overflow: visible;
    box-shadow: 0 26px 56px rgba(0,0,0,.32);
  }
  .tr-story::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5,5,5,.14), transparent 24%, transparent 74%, rgba(5,5,5,.30));
  }
  .tr-story--one {
    z-index: 30;
    transform: translate(-34px,-96px) scale(1.095);
    margin-right: -58px;
  }
  .tr-story--two {
    z-index: 33;
    transform: translate(-68px,14px) scale(1.12);
    margin-right: -72px;
  }
  .tr-story--three {
    z-index: 31;
    transform: translate(-54px,-66px) scale(1.09);
    margin-left: -18px;
  }
  .tr-story--two::after {
    background: linear-gradient(90deg, rgba(5,5,5,.28), transparent 25%, transparent 70%, rgba(5,5,5,.16));
  }
  .tr-stories__middle-copy,
  .tr-stories__end-copy {
    z-index: 58;
    font-size: .52rem;
    letter-spacing: .24em;
    line-height: 1.75;
    background: rgba(7,7,7,.90);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .tr-stories__middle-copy { transform: translate(-30px,24px); }
  .tr-stories__end-copy { transform: translate(-22px,-30px); }

  /* SAME PATH — let the motorcycle image breathe; typography lives only on the dark left edge. */
  .tr-path {
    z-index: 45;
    margin-top: 0;
    overflow: hidden;
    min-height: 820px;
    height: min(88vh, 940px);
  }
  .tr-path::before {
    content: "";
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    bottom: 0;
    width: 34%;
    background: linear-gradient(90deg, rgba(4,4,4,.995), rgba(4,4,4,.94) 58%, rgba(4,4,4,.46) 84%, transparent 100%);
    pointer-events: none;
  }
  .tr-path__visual {
    inset: 0 7% 0 17%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    box-shadow: 0 -22px 62px rgba(0,0,0,.28);
  }
  .tr-path__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 1;
  }
  .tr-path__shade {
    z-index: 2;
    background: linear-gradient(90deg, rgba(4,4,4,.50) 0%, rgba(4,4,4,.08) 34%, transparent 58%, rgba(4,4,4,.08) 100%);
  }
  .tr-path__content {
    z-index: 7;
    grid-template-columns: 1fr;
  }
  .tr-path__headline {
    max-width: 430px;
    padding-left: .5rem;
  }

  .tr-connect {
    z-index: 40;
    margin-top: -22px;
    box-shadow: 0 -28px 70px rgba(0,0,0,.26);
  }
}

@media (max-width: 900px) {
  .tr-editorial-intro__caption {
    right: 1rem;
    top: auto;
    bottom: 1rem;
    transform: none;
    width: 145px;
    font-size: .50rem;
    letter-spacing: .22em;
  }
}
