.ride-page { background: #080908; }
.ride-container { width: min(1180px, calc(100% - 2.4rem)); margin-inline: auto; }
.ride-container--narrow { width: min(760px, calc(100% - 2.4rem)); }
.ride-section { padding-block: clamp(5rem, 10vw, 10rem); }
.ride-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #050605; }
.ride-hero__picture, .ride-hero__picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ride-hero__picture img { object-fit: cover; }
.ride-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.12) 70%), linear-gradient(0deg, rgba(8,9,8,.95), transparent 55%, rgba(0,0,0,.3)); }
.ride-hero__content { position: relative; z-index: 1; width: min(900px, calc(100% - 2.4rem)); margin: 0 clamp(1.2rem, 7vw, 7rem) clamp(3rem, 8vh, 6rem); }
.ride-hero h1 { margin: .15rem 0 0; font-family: "EB Garamond", Garamond, serif; font-size: clamp(4rem, 11vw, 10rem); font-weight: 400; line-height: .82; letter-spacing: -.03em; }
.ride-hero__subtitle { margin: .65rem 0 1.6rem; color: var(--accent); font-family: "EB Garamond", Garamond, serif; font-size: clamp(1.6rem, 3vw, 2.7rem); font-style: italic; }
.ride-hero__line { max-width: 650px; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.ride-scroll { display: inline-flex; gap: 1rem; margin-top: 1.25rem; color: var(--text); text-decoration: none; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; }
.ride-intro, .ride-trailer { background: #0d100e; }
.ride-intro p { color: #c7c2b7; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.ride-intro__lead { color: var(--text) !important; font-family: "EB Garamond", Garamond, serif; font-size: clamp(1.8rem, 3.4vw, 2.8rem) !important; line-height: 1.25; }
.ride-narrative:nth-of-type(even), .ride-narrative--soft { background: #0d100e; }
.ride-narrative__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.ride-narrative--reverse .ride-narrative__text { order: 2; }
.ride-narrative--reverse .ride-chapter-images { order: 1; }
.ride-narrative__text h2 { margin: .3rem 0 1.5rem; font-family: "EB Garamond", Garamond, serif; font-size: clamp(2.7rem, 5vw, 4.8rem); font-weight: 400; line-height: 1.08; }
.ride-narrative__text > p:not(.eyebrow):not(.ride-intro__lead) { color: #b8b2a6; }
.ride-chapter-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.45rem, 1vw, .85rem); }
.ride-chapter-image { display: block; appearance: none; border: 0; padding: 0; overflow: hidden; background: #0a0b0a; cursor: zoom-in; }
.ride-chapter-images img { width: 100%; height: 100%; aspect-ratio: 1.85 / 1; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s ease; }
.ride-chapter-image:hover img, .ride-chapter-image:focus-visible img { transform: scale(1.09); filter: brightness(1.08); }
.ride-closing-image { width: min(1180px, calc(100% - 2.4rem)); margin: clamp(1rem, 3vw, 3rem) auto clamp(5rem, 10vw, 10rem); }
.ride-closing-image img { width: 100%; aspect-ratio: 2.1 / 1; object-fit: cover; }
.ride-chapters__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 8vw, 8rem); }
.ride-chapters article + article { border-left: 1px solid var(--line); padding-left: clamp(2rem, 6vw, 6rem); }
.ride-chapters h2, .ride-interlude h2, .ride-heading h2, .ride-details h2 { font-family: "EB Garamond", Garamond, serif; font-weight: 400; line-height: 1.08; }
.ride-chapters h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin: .3rem 0 1.5rem; }
.ride-chapters p, .ride-interlude p { color: #b8b2a6; }
.ride-interlude, .ride-details { background: #15130f; }
.ride-interlude h2 { max-width: 720px; font-size: clamp(2.5rem, 5vw, 4.8rem); margin: .5rem 0 2rem; }
.ride-heading { margin-bottom: clamp(2rem, 5vw, 4rem); }
.ride-heading h2 { margin: .25rem 0 .5rem; font-size: clamp(2.7rem, 5vw, 5rem); }
.ride-heading > p:last-child { color: var(--muted); }
.ride-stills__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); }
.ride-still { appearance: none; border: 0; padding: 0; overflow: hidden; background: #111; cursor: zoom-in; aspect-ratio: 16 / 9; }
.ride-still--wide { grid-column: 1 / -1; aspect-ratio: 2.1 / 1; }
.ride-still img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.ride-still:hover img, .ride-still:focus-visible img { transform: scale(1.018); filter: brightness(.83); }
.ride-video { aspect-ratio: 16 / 9; background: #050605; }
.ride-video a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.ride-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: transform .5s ease, filter .5s ease; }
.ride-video__play { position: absolute; inset: 50% auto auto 50%; display: flex; align-items: center; gap: .8rem; transform: translate(-50%,-50%); padding: 1rem 1.25rem; background: rgba(5,6,5,.82); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.ride-video a:hover img { transform: scale(1.015); filter: brightness(.72); }
.ride-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.ride-tracks { border-top: 1px solid var(--line); }
.ride-track { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(280px, 520px); align-items: center; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.ride-track > div { display: flex; align-items: baseline; gap: 1.2rem; }
.ride-track span { color: var(--muted); font-size: .72rem; letter-spacing: .15em; }
.ride-track h3 { margin: 0; font-family: "EB Garamond", Garamond, serif; font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 400; }
.ride-track audio { width: 100%; height: 42px; color-scheme: dark; }
.ride-side-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.ride-side-feature__image { margin: 0; overflow: hidden; }
.ride-side-feature__image img { width: 100%; min-height: 430px; object-fit: cover; }
.ride-details__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.ride-details h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); }
.ride-details h2 em { color: var(--accent); font-weight: 400; }
.ride-details dl { margin: 0; }
.ride-details dl div { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.ride-details dt { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ride-details dd { margin: 0; }
.ride-footer { align-items: center; }
.ride-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: #11120f; color: var(--text); }
.ride-lightbox::backdrop { background: rgba(0,0,0,.92); }
.ride-lightbox[open] { display: grid; grid-template-columns: clamp(44px,7vw,86px) minmax(0,1fr) clamp(44px,7vw,86px); align-items: center; }
.ride-lightbox figure { display: grid; grid-template-rows: minmax(0,1fr) auto; gap: .8rem; width: min(100%, 1500px); height: min(90vh, 980px); margin: auto; padding: clamp(1.3rem, 2.3vw, 2.2rem) clamp(.8rem, 1.7vw, 1.6rem); border: 1px solid rgba(235,231,220,.18); background: repeating-linear-gradient(90deg, transparent 0 20px, rgba(235,231,220,.52) 20px 31px, transparent 31px 49px) top / auto 8px repeat-x, repeating-linear-gradient(90deg, transparent 0 20px, rgba(235,231,220,.52) 20px 31px, transparent 31px 49px) bottom / auto 8px repeat-x, #24231f; box-shadow: 0 28px 90px rgba(0,0,0,.58); }
.ride-lightbox figure img { width: 100%; height: 100%; object-fit: contain; background: #030403; box-shadow: 0 8px 32px rgba(0,0,0,.48); }
.ride-lightbox figcaption { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.ride-lightbox__close, .ride-lightbox__nav { border: 0; background: transparent; color: var(--text); cursor: pointer; }
.ride-lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 2rem; }
.ride-lightbox__nav { height: 90px; font-size: 4rem; font-weight: 200; }
@media (max-width: 760px) {
  .ride-nav a:not(:last-child) { display: none; }
  .ride-chapters__grid, .ride-details__grid { grid-template-columns: 1fr; }
  .ride-chapters article + article { border-left: 0; border-top: 1px solid var(--line); padding: 3rem 0 0; }
  .ride-stills__grid { grid-template-columns: 1fr; }
  .ride-still--wide { grid-column: auto; aspect-ratio: 16 / 9; }
  .ride-track { grid-template-columns: 1fr; gap: .8rem; }
  .ride-details dl div { grid-template-columns: 1fr; gap: .25rem; }
  .ride-lightbox[open] { grid-template-columns: 40px minmax(0,1fr) 40px; }
  .ride-lightbox figure { width: 100%; height: min(82vh, 720px); padding: 1.15rem .55rem; background-size: auto 6px, auto 6px, auto; }
  .ride-lightbox__nav { font-size: 2.7rem; }
  .ride-narrative__grid { grid-template-columns: 1fr; }
  .ride-narrative--reverse .ride-narrative__text { order: 1; }
  .ride-narrative--reverse .ride-chapter-images, .ride-chapter-images { order: 2; }
  .ride-side-feature { grid-template-columns: 1fr; }
  .ride-side-feature__image img { min-height: 0; aspect-ratio: 16 / 9; }
  .ride-closing-image img { aspect-ratio: 16 / 9; }
}
