.driveways-page .desktop-nav [aria-current="page"] { color: #fff; }
.driveways-page .desktop-nav [aria-current="page"]::after { transform: scaleX(1); }

.driveways-page main, .driveways-page .site-footer { overflow-anchor: none; }

.drive-showcase { padding: clamp(184px, 16vw, 232px) 0 31px; border-bottom: 1px solid var(--line); background: var(--bg); }
.drive-showcase__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 5vw, 94px); align-items: start; }
.drive-showcase__intro { position: relative; min-width: 0; min-height: calc(clamp(912px, 40vw + 400px, 1050px) + 44px); padding-bottom: 74px; align-self: stretch; }
.drive-showcase h1 { margin: 0; font: 700 clamp(5rem, 7.5vw, 8rem)/.83 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.drive-showcase__actions { margin-top: clamp(30px, 3vw, 48px); }
.drive-showcase__actions > .button { width: 218px; min-width: 218px; }
.drive-showcase__copy { max-width: 620px; margin-top: clamp(30px, 3.2vw, 48px); }
.drive-showcase__copy p { margin: 0 0 22px; color: var(--body); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.65; }
.drive-showcase__copy p:last-child { margin-bottom: 0; }
.service-page-nav { position: absolute; z-index: 2; bottom: 0; left: 0; width: min(100%, 412px); min-height: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; column-gap: 24px; }
.service-page-nav__link { display: inline-flex; align-items: center; gap: 11px; min-width: 0; min-height: 44px; color: var(--text); text-decoration: none; }
.service-page-nav__link--prev { grid-column: 1; }
.service-page-nav__link--next { grid-column: 2; justify-content: flex-end; text-align: right; }
.service-page-nav__text { display: grid; gap: 3px; min-width: 0; }
.service-page-nav__direction { color: var(--body); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.service-page-nav__name { font: 700 14px/1.15 var(--sans); text-transform: uppercase; }
.service-page-nav__icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 2px solid var(--rockstar-blue); background: #080b0f; color: white; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-page-nav__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.service-page-nav__link:hover .service-page-nav__icon, .service-page-nav__link:focus-visible .service-page-nav__icon { background: var(--rockstar-blue); border-color: var(--rockstar-blue); box-shadow: 0 0 14px rgba(36,103,255,.6); }
.service-page-nav__link:hover .service-page-nav__name, .service-page-nav__link:focus-visible .service-page-nav__name { color: var(--accent-text); }
.service-page-nav__link:focus-visible { outline: 2px solid var(--rockstar-blue); outline-offset: 4px; }

.drive-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: clamp(8px, .9vw, 14px); width: 100%; min-width: 0; aspect-ratio: 1; scroll-margin-top: 152px; }
.drive-gallery { margin-bottom: 74px; }
.drive-gallery[data-gallery-carousel] { position: relative; --drive-nav-offset: 18px; }
.drive-gallery__item[hidden] { display: none; }
.drive-gallery__nav { position: absolute; z-index: 2; top: calc(100% + var(--drive-nav-offset, 0px)); left: 50%; display: flex; gap: clamp(16px, 2vw, 28px); transform: translateX(-50%); pointer-events: none; }
.drive-gallery__nav button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 2px solid var(--rockstar-blue); background: #080b0f; color: white; cursor: pointer; pointer-events: auto; transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease; }
.drive-gallery__nav button { flex: 0 0 44px; }
.drive-gallery__nav button:hover, .drive-gallery__nav button:focus-visible { background: var(--rockstar-blue); border-color: var(--rockstar-blue); color: #fff; box-shadow: 0 0 14px rgba(36,103,255,.6); }
.drive-gallery__nav button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.drive-gallery__item { position: relative; display: block; width: 100%; min-width: 0; height: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: white; cursor: pointer; text-align: left; }
.drive-gallery__item--feature { grid-column: span 2; grid-row: span 2; }
.drive-gallery__item img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(.65) saturate(.82); transition: filter .65s ease-in-out, transform .4s cubic-bezier(.22,1,.36,1); }
.drive-gallery__item--feature img { object-position: center; filter: brightness(1) saturate(1); }
.drive-gallery__item::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(0deg, rgba(5,7,10,.74), transparent); pointer-events: none; }
.drive-gallery__item--feature::after { display: none; }
.drive-gallery__cue { position: absolute; z-index: 1; right: 14px; bottom: 13px; left: 14px; display: flex; align-items: center; justify-content: center; width: auto; min-height: 44px; border-top: 1px solid rgba(255,255,255,.55); padding-top: 9px; color: white; font: 700 .66rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.drive-gallery__item--feature .drive-gallery__cue { right: 22px; bottom: 20px; left: 22px; font-size: .72rem; text-shadow: 0 1px 4px #05070a, 0 2px 10px #05070a; }
.drive-gallery__item.is-lit img, .drive-gallery__item:hover img, .drive-gallery__item:focus-visible img { filter: brightness(1) saturate(1); }
.drive-gallery__item:hover img, .drive-gallery__item:focus-visible img { transform: scale(1.025); }
.drive-gallery__item:hover .drive-gallery__cue, .drive-gallery__item:focus-visible .drive-gallery__cue { border-color: var(--rockstar-blue); }
.drive-gallery__item:focus-visible { outline: 3px solid var(--rockstar-blue); outline-offset: 3px; }

.drive-lightbox { width: min(1260px, calc(100vw - 40px)); height: min(870px, calc(100dvh - 40px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: #080b0f; color: var(--text); box-shadow: 0 28px 100px rgba(0,0,0,.72); }
.drive-lightbox::backdrop { background: rgba(3,5,9,.9); backdrop-filter: blur(8px); }
.drive-lightbox__shell { display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: 100%; min-height: 0; }
.drive-lightbox__header { min-height: 66px; padding: 9px 18px 9px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 2px solid var(--rockstar-blue); border-bottom: 1px solid var(--line); }
.drive-lightbox__header .eyebrow { margin: 0; }
.drive-lightbox__stage { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; padding: clamp(12px, 2vw, 28px); overflow: hidden; background: radial-gradient(ellipse at 50% 42%, rgba(36,103,255,.075), transparent 58%), #05070a; }
.drive-lightbox__stage img { position: absolute; inset: 0; width: 100%; height: 100%; padding: inherit; box-sizing: border-box; min-width: 0; min-height: 0; object-fit: contain; }
.drive-lightbox__footer { min-height: 88px; padding: 14px 20px 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.drive-lightbox__count { color: var(--accent-text); font: 700 .84rem/1 var(--display); letter-spacing: .08em; }
.drive-lightbox__footer p { margin: 5px 0 0; color: var(--body); font-size: .9rem; }
.drive-lightbox__controls { display: flex; gap: 8px; }
.drive-lightbox__control { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.drive-lightbox__control:hover, .drive-lightbox__control:focus-visible { background: var(--rockstar-blue); border-color: var(--rockstar-blue); }
.drive-lightbox__control svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (max-width: 1280px) {
  .drive-showcase { padding-top: 164px; padding-bottom: 46px; }
  .drive-showcase__grid { grid-template-columns: 1fr; gap: 46px; }
  .drive-showcase__intro { display: flex; flex-direction: column; min-height: clamp(756px, calc(700px + 7.7vw), 799px); padding-bottom: 0; }
  .service-page-nav { position: static; margin-top: auto; padding-top: 28px; }
  .drive-gallery { max-width: 760px; margin-bottom: 0; }
  .drive-gallery[data-gallery-carousel] { --drive-nav-offset: 1px; }
}
@media (max-width: 719px) {
  .drive-showcase { padding-top: 136px; padding-bottom: 44px; }
  .drive-showcase:has(.drive-gallery[data-gallery-carousel]) { padding-bottom: 84px; }
  .drive-showcase__grid { gap: 38px; }
  .drive-showcase__intro { min-height: 0; }
  .service-page-nav { margin-top: 28px; padding-top: 0; column-gap: 16px; }
  .drive-showcase h1 { font-size: clamp(4.25rem, 16.5vw, 6.25rem); line-height: .86; }
  .drive-showcase__actions { flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 28px; }
  .drive-showcase__actions > .button { width: 100%; min-width: 0; }
  .drive-showcase__copy { margin-top: 28px; }
  .drive-showcase__copy p { font-size: 1rem; line-height: 1.62; }
  .drive-gallery { scroll-margin-top: 118px; }
  .drive-gallery { gap: 8px; }
  .drive-gallery[data-gallery-carousel] { --drive-nav-offset: 20px; }
  .drive-gallery__nav { gap: 16px; }
  .drive-gallery__nav button { position: relative; border: 0; background: transparent; }
  .drive-gallery__nav button::before { content: ""; position: absolute; inset: 4px; border: 2px solid var(--rockstar-blue); background: #080b0f; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .drive-gallery__nav button:hover, .drive-gallery__nav button:focus-visible { background: transparent; box-shadow: none; }
  .drive-gallery__nav button:hover::before, .drive-gallery__nav button:focus-visible::before { background: var(--rockstar-blue); box-shadow: 0 0 14px rgba(36,103,255,.6); }
  .drive-gallery__nav button svg { position: relative; }
  .drive-gallery__cue { right: 12px; bottom: 12px; left: 12px; font-size: .64rem; letter-spacing: .02em; }
  .drive-gallery__item--feature .drive-gallery__cue { right: 18px; bottom: 18px; left: 18px; font-size: .72rem; }
  .drive-gallery__item:not(.drive-gallery__item--feature) .drive-gallery__cue { right: 7px; bottom: 7px; left: 7px; min-height: 24px; padding-top: 0; font-size: .58rem; }
  .drive-lightbox { width: calc(100vw - 16px); height: calc(100svh - 24px); max-height: calc(100svh - 24px); }
  .drive-lightbox::backdrop { backdrop-filter: none; }
  .drive-lightbox__header { min-height: 58px; padding: 5px 10px 5px 16px; }
  .drive-lightbox__footer { min-height: 74px; padding: 10px 12px 10px 16px; }
  .drive-lightbox__stage { padding: 8px; }
  .drive-lightbox__control { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (max-width: 360px) {
  .drive-showcase h1 { font-size: 4.08rem; }
  .drive-gallery__cue { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .drive-gallery__item img { transition: none; }
  .drive-gallery__item:hover img, .drive-gallery__item:focus-visible img { transform: none; }
}
