/* One composed desktop scene, with native HTML gallery navigation. */
.showcase-page { scroll-behavior: auto; --content: 92rem; --gutter: clamp(1.25rem, 4.5vw, 5.5rem); }
.showcase-page body { min-height: 100svh; }
.showcase-page #main { position: relative; isolation: isolate; }
.race-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.race-backdrop img, .race-backdrop video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.race-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #11151df5 0%, #11151ded 28%, #11151d99 60%, #11151d59), linear-gradient(0deg, #11151de6, transparent 65%); }
.experience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-content: center; align-items: center; gap: clamp(2rem, 4vw, 5rem); padding-block: 2.5rem; min-height: calc(100svh - 9rem); }
.introduction { padding-bottom: .5rem; }
.introduction .eyebrow { margin-bottom: 1.75rem; font-size: .7rem; letter-spacing: .16em; }
.hero-rule { width: 2rem; height: 2px; background: var(--cyan); }
.eyebrow-divider { color: #8191a7; font-weight: 400; }
.introduction h1 { font-size: clamp(2.8rem, 4.15vw, 4.6rem); line-height: 1.06; font-weight: 700; margin-block: 0 1.5rem; letter-spacing: -.055em; text-wrap: initial; }
.introduction h1 span { color: var(--cyan); }
.introduction .lead { font-size: clamp(1.15rem, 1.55vw, 1.5rem); line-height: 1.45; font-weight: 500; margin-bottom: 1rem; color: #f2f5fa; }
.pitch { font-size: 1rem; line-height: 1.75; max-width: 27rem; color: #bdc7d5; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.beta-action { padding-inline: 1.5rem; min-height: 48px; box-shadow: 0 6px 24px #0047e033, inset 0 1px #ffffff15; }
.introduction .cta-row { margin-block: 2rem 1rem; }
.introduction .btn { min-height: 52px; padding-inline: 1.5rem; gap: 1.5rem; box-shadow: 0 8px 30px #0047e026, inset 0 1px #ffffff15; }
.introduction .availability { margin-bottom: 0; font-size: .75rem; }

/* The image, caption and controls belong to one gallery, not floating widgets. */
.showcase { min-width: 0; position: relative; border: 1px solid #485466; border-radius: 14px; background: #191f2af2; box-shadow: 0 24px 80px #0005, inset 0 1px #ffffff12; }
/* Frost only the shell; app captures and their text remain fully opaque. */
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .showcase { background: linear-gradient(135deg, #ffffff06, transparent 60%), #191f2ac7; -webkit-backdrop-filter: blur(12px) saturate(110%); backdrop-filter: blur(12px) saturate(110%); }
}
.showcase-slide { display: none; margin: 0; min-width: 0; scroll-margin-block: 6rem; }
.showcase:not(:has(.showcase-slide:target)) .slide-1,
.showcase-slide:target { display: block; }
.showcase-slide:focus { outline: none; }
.gallery-heading { min-height: 3.5rem; padding-inline: 1.25rem .75rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; border-bottom: 1px solid #ffffff0d; }
.gallery-label { display: flex; gap: 1.1rem; align-items: center; color: #dce3ed; font-size: .78rem; font-weight: 600; }
.gallery-index { color: #acb7c8; font-size: .65rem; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .08em; padding-right: 1.1rem; border-right: 1px solid #485466; }
.expand-link { display: inline-flex; gap: .5rem; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .5rem; color: #bac5d5; font-size: .75rem; text-decoration: none; border-radius: 5px; }
.expand-link .icon { width: 16px; height: 16px; }
.expand-link .compact-label { display: none; }
.expand-link:hover { color: #fff; background: #ffffff08; }
.capture-link { display: flex; justify-content: center; align-items: center; height: clamp(15rem, 30vw, 24rem); max-height: 39svh; margin: .65rem; overflow: hidden; background: #171e29; border-radius: 6px; position: relative; }
.capture-link img { object-fit: contain; width: 100%; height: 100%; }
.capture-link::after { content: ""; position: absolute; inset: 0; border: 1px solid #ffffff0b; border-radius: inherit; pointer-events: none; }
.showcase-slide figcaption { padding: 1.2rem 1.5rem .8rem; }
.showcase-slide figcaption h2 { font-size: clamp(1.08rem, 1.25vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin-bottom: .4rem; text-wrap: initial; }
.showcase-slide figcaption p { font-size: .8rem; color: #acb7c8; margin: 0; line-height: 1.6; }
.gallery-controls { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; min-height: 4.25rem; padding: .5rem 1.25rem 1rem; }
.screen-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #637087; border-radius: 50%; color: #e4eaf3; background: transparent; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.screen-arrow .icon { width: 19px; height: 19px; }
.screen-arrow.previous .icon { transform: rotate(180deg); }
.screen-arrow:hover { border-color: var(--cyan); color: #fff; background: #273647; }
.screen-selector { position: absolute; bottom: 1rem; left: 1rem; display: flex; margin: 0; padding: 0; }
.screen-selector a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.screen-selector a span { width: 6px; height: 6px; border-radius: 8px; background: #acb7c8; transition: width .2s, background-color .2s; }
.showcase:not(:has(.showcase-slide:target)) .screen-selector a:first-child span,
.showcase:has(#view-1:target) .screen-selector a[href="#view-1"] span,
.showcase:has(#view-2:target) .screen-selector a[href="#view-2"] span,
.showcase:has(#view-3:target) .screen-selector a[href="#view-3"] span,
.showcase:has(#view-4:target) .screen-selector a[href="#view-4"] span { width: 22px; background: var(--cyan); }
.showcase-page .site-footer { padding: .5rem 0; }
.showcase-page .footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
.showcase-page .footer-note { font-size: .7rem; }
.showcase-page .footer-links { gap: 1rem; }
.project-notice { margin: 1.25rem 0 0; color: var(--text-slate); font-size: .75rem; }
.access-panel { color: var(--text-grey); background: var(--surface-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 2rem; width: min(42rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); overflow-y: auto; box-shadow: 0 24px 100px #0008; }
.access-panel::backdrop { background: #080c14db; }
.access-panel h2 { font-size: 2rem; }
.access-panel h3 { margin: 1.5rem 0 .5rem; }
.access-panel p { font-size: .9rem; }
.access-panel .reqs { margin-top: .5rem; margin-bottom: 1.2rem; }
.access-panel .reqs > div { padding-block: .55rem; }
.access-heading { display: flex; justify-content: space-between; align-items: center; }
.access-heading .eyebrow { margin: 0; }
.close-panel { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 7px; color: #fff; background: var(--surface-inset); cursor: pointer; font-size: 1rem; }

@media (min-width: 60rem) and (min-height: 36rem) and (hover: hover) and (pointer: fine) {
  .showcase-page body { height: 100svh; }
  .showcase-page .site-header { position: fixed; inset: 0 0 auto; height: 5rem; }
  .showcase-page .site-footer { position: fixed; inset: auto 0 0; height: 4rem; }
  .showcase-page #main { margin-block: 5rem 4rem; flex: 1; min-height: 0; }
  .experience { height: 100%; min-height: 0; }
}
@media (min-width: 60rem) and (max-height: 46rem) {
  .experience { padding-block: 1rem; }
  .introduction h1 { font-size: clamp(2.6rem, 3.8vw, 3.5rem); margin-bottom: 1rem; }
  .introduction .eyebrow { margin-bottom: 1.25rem; }
  .introduction .lead { font-size: 1.1rem; margin-bottom: .75rem; }
  .introduction .cta-row { margin-block: 1.25rem .75rem; }
  .capture-link { max-height: 31svh; }
  .showcase-slide figcaption { padding-block: .6rem .4rem; }
}
@media (min-width: 60rem) and (max-height: 40rem) {
  .introduction h1 { font-size: clamp(2.2rem, 3.25vw, 3rem); }
  .introduction .pitch { margin-bottom: .5rem; font-size: .9rem; line-height: 1.6; }
  .introduction .eyebrow { margin-bottom: 1rem; }
  .introduction .cta-row { margin-block: 1rem .5rem; }
  .gallery-heading { min-height: 3rem; }
  .gallery-controls { padding-bottom: .6rem; min-height: 3.6rem; }
  .screen-selector { bottom: .6rem; }
}
/* Narrow layouts keep the gallery prominent and controls comfortable to tap. */
@media (max-width: 59.99rem), (hover: none) and (pointer: coarse) {
  .showcase-page { --header-h: 4.25rem; --gutter: clamp(1rem, 4vw, 2rem); }
  .showcase-page .site-header { padding-top: env(safe-area-inset-top); }
  .showcase-page .header-inner { min-height: var(--header-h); gap: .75rem; }
  .showcase-page .brand { flex-basis: 17rem; }
  .beta-action { min-height: 44px; padding-inline: .9rem; font-size: .8125rem; }
  .experience { max-width: 52rem; grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: 0; padding-block: clamp(1.75rem, 5vw, 3rem) 2.5rem; }
  .introduction { max-width: 36rem; padding: 0; }
  .introduction .eyebrow { margin-bottom: 1.25rem; font-size: .66rem; gap: .6rem; }
  .hero-rule { width: 1.5rem; }
  .introduction h1 { font-size: clamp(2.2rem, 10.4vw, 3.7rem); line-height: 1.07; margin-bottom: 1.25rem; }
  .introduction .lead { font-size: 1.125rem; margin-bottom: .75rem; }
  .pitch { max-width: 34rem; font-size: .9375rem; line-height: 1.7; margin-bottom: 0; }
  .introduction .cta-row { margin-block: 1.5rem .85rem; }
  .introduction .btn { min-height: 50px; padding-inline: 1.25rem; }
  .introduction .availability { font-size: .75rem; }
  .race-backdrop { bottom: auto; height: min(48rem, 100svh); }
  .race-backdrop::after { background: linear-gradient(0deg, #11151d 0%, #11151dd9 65%), linear-gradient(90deg, #11151dcc, #11151d99); }
  .showcase { border-radius: 12px; }
  .showcase-slide { scroll-margin-block-start: calc(var(--header-h) + 1rem); }
  .gallery-heading { min-height: 4rem; padding-inline: 1rem .5rem; gap: .5rem; }
  .gallery-label { min-width: 0; gap: .75rem; font-size: .8125rem; line-height: 1.4; }
  .gallery-index { padding-right: .75rem; font-size: .625rem; white-space: nowrap; }
  .expand-link { flex-shrink: 0; padding-inline: .5rem; font-size: .75rem; }
  .expand-link .expanded-label { display: none; }
  .expand-link .compact-label { display: inline; }
  .capture-link { width: calc(100% - 1rem); height: clamp(10rem, 50vw, 25rem); aspect-ratio: auto; max-height: none; margin: .5rem; cursor: zoom-in; }
  .showcase-slide figcaption { padding: 1rem 1.25rem .75rem; min-height: 6.5rem; }
  .showcase-slide figcaption h2 { font-size: 1.125rem; }
  .showcase-slide figcaption p { font-size: .8125rem; line-height: 1.65; }
  .gallery-controls { justify-content: space-between; padding: .5rem 1rem .85rem; min-height: 4.35rem; }
  .screen-arrow { width: 48px; height: 48px; }
  .screen-selector { bottom: .975rem; left: 50%; transform: translateX(-50%); }
  .showcase-page .site-footer { padding-block: .5rem max(.5rem, env(safe-area-inset-bottom)); }
  .showcase-page .footer-inner { flex-wrap: wrap; gap: .25rem 1rem; }
  .showcase-page .footer-links { gap: 1rem; font-size: .8125rem; }
  .access-panel { width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); padding: 1.25rem; border-radius: 12px; }
  .access-panel h2 { font-size: 1.8rem; }
  .close-panel { flex-shrink: 0; }
}
@media (max-width: 39.99rem) {
  .introduction .cta-row, .introduction .btn { width: 100%; }
  .introduction .btn { justify-content: space-between; }
  .showcase-slide figcaption { min-height: 7.5rem; }
  .showcase-page .footer-inner { justify-content: center; text-align: center; }
  .showcase-page .footer-copyright { flex-basis: 100%; }
  .showcase-page .footer-links { justify-content: center; }
}
@media (max-width: 25rem) {
  .gallery-heading { padding-inline: .75rem .25rem; }
  .gallery-label { gap: .5rem; font-size: .75rem; }
  .gallery-index { padding-right: .5rem; font-size: .6rem; }
  .showcase-slide figcaption { padding-inline: 1rem; min-height: 8.25rem; }
  .gallery-controls { padding-inline: .375rem; }
  .screen-arrow { width: 44px; height: 44px; }
  .screen-selector { bottom: .85rem; }
  .access-panel { padding: 1rem; }
  .beta-action { padding-inline: .75rem; }
}
@media (max-height: 35.99rem) and (min-width: 60rem) {
  .showcase-page body { height: auto; }
  .showcase-page .site-header { position: static; }
  .showcase-page #main { margin: 0; }
  .showcase-page .site-footer { position: static; height: auto; }
  .experience { min-height: 0; padding-block: 2rem; }
  .capture-link { height: clamp(15rem, 30vw, 24rem); max-height: none; }
}
@media (forced-colors: active) {
  .screen-selector a span { background: CanvasText; }
  .screen-arrow, .showcase { border-color: CanvasText; }
  .screen-selector a:focus-visible { outline-color: Highlight; }
}
@media print {
  .showcase-page body { height: auto; }
  .showcase-page #main { margin: 0; }
  .race-backdrop, .screen-selector, .gallery-controls { display: none; }
  .experience { display: block; height: auto; }
  .showcase-slide { display: block !important; break-inside: avoid; }
  .screen-stage { height: auto; display: block; }
  .showcase-page .site-footer { position: static; height: auto; }
}

/* The owner requested automatic desktop playback with no motion switch. */
.background-video { display: none; }
@media (min-width: 60rem) and (min-height: 36rem) and (hover: hover) and (pointer: fine) {
  .background-video { display: block; position: absolute; inset: 0; pointer-events: none; }
}
