/* TRIPX: the product page (/product). Loaded after site.css and built from its tokens, type and
 * components (buttons, form fields, tiles, spec groups, phone frames). Studio light for the object,
 * Night for the screen, Route blue for the one action.
 */

.pd-page body { background: var(--studio); }
.pd-page { scroll-padding-top: 80px; }
.pd-page .nav .brand-mark { width: 20px; height: 20px; }
.pd-page.has-dialog { overflow: hidden; }

/* ---------- Product ---------- */
.pd-hero { padding: calc(var(--nav-h) + 18px) 0 13vh; background: var(--studio); }
.pd-crumbs ol { display: flex; gap: 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite-3); }
.pd-crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.6; }
.pd-crumbs a { text-decoration: none; }
.pd-crumbs a:hover { color: var(--graphite); }
.pd-crumbs [aria-current] { color: var(--graphite-2); }

.pd-grid {
  display: grid; margin-top: 22px;
  grid-template-columns: minmax(0, 1.32fr) minmax(340px, 0.82fr);
  grid-template-rows: auto 1fr; column-gap: clamp(40px, 5vw, 88px);
}
.pd-gallery { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.pd-head { grid-column: 2; grid-row: 1; padding-top: clamp(8px, 4vh, 48px); }
.pd-buy { grid-column: 2; grid-row: 2; align-self: start; }

.pd-avail { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite-2); margin-bottom: 18px; }
.pd-title {
  font-family: var(--display); font-stretch: 118%; font-weight: 580; letter-spacing: -0.035em;
  font-size: clamp(36px, 3.5vw, 56px); line-height: 0.98; text-wrap: balance; max-width: 12ch;
}
.pd-lede { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--graphite-2); max-width: 44ch; }

/* price: laid out as a real one would be, with the value withheld */
.pd-price { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--studio-line); }
.pd-price-k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite-3); }
.pd-price-v { margin-top: 6px; font-size: 44px; line-height: 1.05; letter-spacing: 0.01em; color: var(--graphite); }
.pd-price-note { margin-top: 8px; font-size: 14.5px; color: var(--graphite-2); }

.pd-status { margin: 22px 0 0; border-top: 1px solid var(--studio-line); }
.pd-status div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--studio-line); font-size: 14.5px; }
.pd-status dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite-3); padding-top: 3px; }
.pd-status dd { margin: 0; font-weight: 500; }

.pd-cta { margin-top: 26px; height: 56px; font-size: 16px; border-radius: 10px; }
.pd-cta-note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--graphite-3); text-align: center; }

.pd-keys { margin-top: 34px; display: grid; gap: 2px; }
.pd-keys li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 0; }
.pd-keys svg { width: 22px; height: 22px; fill: none; stroke: var(--graphite); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.pd-keys b { display: block; font-weight: 600; font-size: 15px; }
.pd-keys span { font-size: 14px; line-height: 1.45; color: var(--graphite-2); }
.pd-buy > .note { margin-top: 22px; }

/* ---------- Gallery ---------- */
.pd-stage {
  position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; touch-action: pan-y;
  background: radial-gradient(ellipse 70% 62% at 50% 44%, #f2f3f4 0, #e9eaeb 55%, #dedfe1 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.05);
  -webkit-user-select: none; user-select: none;
}
@media (min-width: 861px) { .pd-stage { max-height: max(460px, calc(100vh - 250px)); } }
.pd-stage:focus-visible { outline-offset: 4px; border-radius: 22px; }
.pd-slides { position: absolute; inset: 0; }
.pd-slide {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 6%;
  opacity: 0; visibility: hidden; transform: scale(1.015);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0.5s;
}
.pd-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s; }
.pd-slide > img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.pd-slide-wide { padding: 4%; }
.pd-slide-photo { padding: 0; }
.pd-slide-photo > img { object-fit: cover; object-position: 50% 100%; }
/* soft contact shadow under the stills that stand on their own */
.pd-slide:not(.pd-slide-photo):not(.pd-slide-wide)::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 7%; height: 5%; z-index: -1;
  background: radial-gradient(closest-side, rgba(17, 18, 20, 0.16), transparent); filter: blur(6px);
}

/* the mounted render with the live screen held still in its glass */
.pd-mount { position: relative; height: 90%; aspect-ratio: 1167 / 1431; max-width: 100%; margin-left: 12%; }
.pd-mount img { width: 100%; height: 100%; object-fit: contain; }
.pd-ui { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pd-ring { stroke-dasharray: 58.4 100; }

.pd-arrow {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.72); color: var(--graphite);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(17, 18, 20, 0.08), 0 0 0 1px rgba(17, 18, 20, 0.05);
  opacity: 0; transition: opacity 0.25s var(--ease), background-color 0.2s;
}
.pd-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-arrow:hover { background: #fff; }
.pd-prev { left: 16px; }
.pd-next { right: 16px; }
.pd-stage:hover .pd-arrow, .pd-stage:focus-within .pd-arrow { opacity: 1; }
@media (hover: none) { .pd-arrow { opacity: 1; width: 40px; height: 40px; margin-top: -20px; } }
.pd-count { position: absolute; right: 18px; bottom: 14px; z-index: 2; font-size: 11px; letter-spacing: 0.1em; color: var(--graphite-3); }

.pd-under { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; min-height: 24px; margin-top: 14px; }
.pd-caption { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite-2); white-space: nowrap; }
.pd-credit { font-size: 10px; line-height: 1.5; letter-spacing: 0.02em; color: var(--graphite-3); text-align: right; max-width: 60ch; }
.pd-credit a { text-underline-offset: 2px; }

.pd-thumbs {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-top: 14px;
}
.pd-thumbs button {
  position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; cursor: pointer; overflow: hidden;
  background: #ecedee; box-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.06);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: opacity 0.25s var(--ease), transform 0.4s var(--ease); }
.pd-thumbs button:hover img { opacity: 1; transform: scale(1.04); }
.pd-thumbs button[aria-selected="true"] { background: #f4f5f6; box-shadow: inset 0 0 0 1.5px var(--graphite); }
.pd-thumbs button[aria-selected="true"] img { opacity: 1; }
.pd-thumbs button:focus-visible { outline-offset: 2px; border-radius: 12px; }

/* ---------- Sections ---------- */
.pd-sec-head { max-width: 720px; }
.pd-sec-head .lede { margin-top: 22px; }
.pd-sec-head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: end; }
.pd-sec-head-row .lede { margin-top: 0; justify-self: end; }
section .note { margin-top: 44px; }

/* 1 Navigation at a glance */
.pd-glance { background: var(--night); padding: 18vh 0 16vh; }
.pd-seq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: 11vh; }
.pd-seq .tile { width: min(100%, 320px); margin: 0 auto 30px; }
.pd-seq b { display: block; font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.pd-seq p { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 34ch; }

/* 2 Designed for your ride */
.pd-design { background: var(--studio); padding: 18vh 0 16vh; }
.pd-design-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pd-bike { margin: 0; }
.pd-bike img { width: 100%; height: auto; border-radius: 22px; background: radial-gradient(ellipse 80% 70% at 50% 35%, #f1f2f3, #e1e2e4); }
.pd-bike figcaption { margin-top: 12px; font-size: 10px; line-height: 1.5; color: var(--graphite-3); max-width: 70ch; }
.pd-bike a { text-underline-offset: 2px; }
.pd-design-copy .lede { margin-top: 22px; }
.pd-steps { margin-top: 40px; border-top: 1px solid var(--studio-line); }
.pd-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--studio-line); }
.pd-steps i { font-style: normal; font-size: 12px; color: var(--graphite-3); padding-top: 4px; }
.pd-steps h3 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
.pd-steps p { color: var(--graphite-2); font-size: 15.5px; line-height: 1.5; }
.pd-views { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 20px; margin-top: 12vh; }
.pd-views figure { margin: 0; }
.pd-views img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%; border-radius: 18px; background: radial-gradient(ellipse 70% 62% at 50% 44%, #f1f2f3, #e0e1e3); }
.pd-views-wide img { aspect-ratio: 2 / 1; padding: 3% 2%; }
.pd-views figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--graphite-2); max-width: 46ch; }
.pd-views figcaption b { display: block; color: var(--graphite); font-weight: 600; margin-bottom: 2px; }

/* 3 Connected experience */
.pd-connected { background: var(--night); padding: 18vh 0 8vh; }
.pd-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: 10vh; }
.pd-flow li { display: flex; flex-direction: column; }
.pd-flow .phone { --ph: min(100%, 210px); margin-bottom: 30px; }
.pd-flow-pod { width: min(100%, 230px); margin: auto 0 30px; }
.pd-flow i { font-style: normal; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.pd-flow h3 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin: 10px 0 8px; }
.pd-flow p { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 34ch; }

/* 4 Built around the display */
.pd-screens { background: var(--night); padding: 12vh 0 18vh; border-top: 1px solid var(--night-line); }
.pd-tiles { margin-top: 9vh; }

/* 5 Inside */
.pd-inside { background: var(--studio); padding: 18vh 0 10vh; }
.pd-exploded { margin: 8vh 0 0; }
.pd-exploded img { width: 100%; height: auto; }
.pd-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 6vh; border-top: 1px solid var(--studio-line); }
.pd-parts li { padding: 20px 0 24px; border-bottom: 1px solid var(--studio-line); }
.pd-parts i { font-style: normal; font-size: 11.5px; color: var(--graphite-3); }
.pd-parts h3 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 6px 0 4px; }
.pd-parts p { color: var(--graphite-2); font-size: 14.5px; line-height: 1.5; }

/* 6 Product details */
.pd-details { background: var(--studio); padding: 10vh 0 18vh; }
.pd-details-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pd-details-aside { position: sticky; top: calc(var(--nav-h) + 8vh); }
.pd-details-aside h2 { max-width: 14ch; }

/* 7 Preparing for launch */
.pd-launch { background: var(--night); color: var(--ink); padding: 18vh 0 14vh; }
.pd-launch-card {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 64px); border-radius: 26px;
  background: radial-gradient(ellipse 60% 80% at 22% 50%, #151a22 0, var(--night-2) 70%);
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.pd-launch-pod { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.pd-launch-copy h2 { max-width: 14ch; }
.pd-launch-copy .eyebrow .live { margin-right: 4px; }
.pd-launch-copy .lede { margin-top: 22px; }
.pd-launch-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.pd-launch-price { display: grid; gap: 2px; }
.pd-launch-price .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.pd-launch-price .num { font-size: 34px; line-height: 1.1; color: var(--ink); }
.pd-launch-sub { font-size: 13.5px; color: var(--ink-2); }
.pd-launch .btn { height: 54px; min-width: 13rem; font-size: 15.5px; }
.pd-faq-wrap { margin-top: 16vh; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 64px; }
.pd-launch .faq a { color: var(--ink); }

/* ---------- Phone bar ---------- */
.pd-bar { display: none; }

/* ---------- Pre-registration dialog ---------- */
.pd-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 22px; overflow: auto; overscroll-behavior: contain;
  background: var(--night-2); color: var(--ink);
  box-shadow: 0 0 0 1px var(--night-line), 0 50px 120px -30px rgba(0, 0, 0, 0.8);
}
.pd-dialog::backdrop { background: rgba(7, 8, 10, 0.58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pd-dialog[open] { animation: pd-in 0.42s var(--ease) both; }
.pd-dialog[open]::backdrop { animation: fade 0.3s var(--ease) both; }
@keyframes pd-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
/* without showModal (old browsers) the dialog is shown in place, above the page */
.pd-dialog.is-fallback { position: fixed; inset: 0; z-index: 50; }
.pd-dialog-in { position: relative; padding: 30px clamp(22px, 5vw, 40px) 34px; }
.pd-close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(238, 240, 242, 0.06); color: var(--ink-2); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.pd-close:hover { background: rgba(238, 240, 242, 0.12); color: var(--ink); }
.pd-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.pd-line { display: flex; align-items: center; gap: 14px; padding: 0 48px 22px 0; margin-bottom: 26px; border-bottom: 1px solid var(--night-line); }
.pd-line img { width: 52px; height: 52px; border-radius: 12px; background: #1a1d21; padding: 4px; }
.pd-line-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.pd-line-price { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); margin-top: 2px; }

.pd-dlg-k { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.pd-dlg-title { font-family: var(--display); font-stretch: 118%; font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.pd-dlg-desc { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

.pd-form { margin-top: 18px; }
.pd-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.pd-fields:disabled { opacity: 0.6; }
.pd-fields .field:last-child { margin-top: 4px; }
.opt { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.pd-field-note { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.pd-submit { margin-top: 28px; height: 54px; font-size: 15.5px; border-radius: 10px; }
.pd-submit:disabled { cursor: progress; background: #2a63c4; }
.pd-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: pd-spin 0.8s linear infinite; }
.pd-submit.is-busy .pd-spin { display: block; }
@keyframes pd-spin { to { transform: rotate(360deg); } }
.pd-form .form-status { margin-top: 14px; line-height: 1.5; }

.pd-done { position: relative; padding-top: 4px; }
.pd-done:focus { outline: none; }
.pd-done-k::before { content: ""; width: 16px; height: 9px; border: solid var(--route-hi); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); }
.pd-done-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.pd-done-actions .btn { min-width: 9rem; }
.pd-again { border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; color: var(--ink-2); }
.pd-again:hover { color: var(--ink); }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .pd-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); }
  .pd-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-views { grid-template-columns: 1fr 1fr; }
  .pd-views-wide { grid-column: 1 / -1; }
}

/* ---------- Phones and narrow tablets: title, picture, price, action ---------- */
@media (max-width: 860px) {
  .pd-hero { padding-top: calc(var(--nav-h) + 12px); padding-bottom: 10vh; }
  .pd-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 14px; }
  .pd-head, .pd-gallery, .pd-buy { grid-column: 1; grid-row: auto; }
  .pd-head { padding-top: 0; margin-bottom: 16px; }
  .pd-avail { margin-bottom: 10px; font-size: 10.5px; }
  .pd-title { font-size: clamp(30px, 8.4vw, 44px); max-width: none; }
  .pd-stage { border-radius: 18px; max-height: 64svh; margin: 0 auto; }
  .pd-thumbs { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px; margin: 12px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter) 4px; scrollbar-width: none; }
  .pd-thumbs::-webkit-scrollbar { display: none; }
  .pd-thumbs button { flex: 0 0 64px; scroll-snap-align: start; border-radius: 10px; }
  .pd-under { flex-direction: column; gap: 4px; margin-top: 10px; }
  .pd-credit { text-align: left; }
  .pd-buy { margin-top: 8px; }
  .pd-lede { margin-top: 16px; font-size: 16px; }
  .pd-price { margin-top: 22px; }
  .pd-price-v { font-size: 38px; }

  .pd-sec-head-row { grid-template-columns: 1fr; gap: 22px; }
  .pd-sec-head-row .lede { justify-self: start; }
  .pd-design-grid { grid-template-columns: 1fr; }
  .pd-design-copy { order: -1; }
  .pd-seq, .pd-flow { grid-template-columns: 1fr; gap: 64px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pd-seq li, .pd-flow li { align-items: center; text-align: center; }
  .pd-seq .tile { width: min(76vw, 300px); }
  .pd-seq p, .pd-flow p { margin: 0 auto; }
  .pd-flow .phone { --ph: min(52vw, 220px); }
  .pd-flow-pod { margin: 0 0 30px; width: min(60vw, 240px); }
  .pd-details-grid, .pd-faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .pd-details-aside { position: static; }
  .pd-launch-card { grid-template-columns: 1fr; text-align: left; }
  .pd-launch-pod { max-width: 260px; }
  .pd-page .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .pd-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 19; max-width: 560px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 7px 7px 7px 18px; border-radius: 16px;
    background: rgba(14, 16, 19, 0.92); color: var(--ink); border: 1px solid rgba(238, 240, 242, 0.08);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(calc(100% + 24px)); transition: transform 0.45s var(--ease);
  }
  .pd-bar.is-on { transform: none; }
  .pd-bar-price { display: grid; line-height: 1.2; }
  .pd-bar-price .num { font-size: 19px; }
  .pd-bar-price span:last-child { font-size: 11.5px; color: var(--ink-2); }
  .pd-bar .btn-sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
}

@media (max-width: 760px) {
  .pd-page .nav .brand-mark { width: 18px; height: 18px; }
  .pd-hero { padding-bottom: 8vh; }
  .pd-crumbs { display: none; }
  .pd-grid { margin-top: 4px; }
  .pd-stage { max-height: 58svh; }
  .pd-arrow { display: none; } /* swipe, or tap a thumbnail */
  .pd-count { right: 14px; bottom: 12px; }
  .pd-slide { padding: 4%; }
  .pd-status div { grid-template-columns: 6.5rem minmax(0, 1fr); font-size: 14px; }
  .pd-glance, .pd-design, .pd-connected, .pd-inside, .pd-launch { padding-top: 12vh; }
  .pd-glance, .pd-design, .pd-launch { padding-bottom: 12vh; }
  .pd-screens { padding-bottom: 12vh; }
  .pd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .pd-views { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8vh; }
  .pd-views figcaption { font-size: 13.5px; }
  .pd-parts { grid-template-columns: 1fr; }
  .pd-details { padding-bottom: 12vh; }
  .pd-launch-card { padding: 28px 22px 30px; border-radius: 20px; }
  .pd-launch-row { flex-direction: column; align-items: stretch; }
  .pd-launch .btn { width: 100%; }


  /* the dialog becomes a sheet from the bottom */
  .pd-dialog {
    width: 100vw; max-width: 100vw; max-height: calc(100dvh - 20px); margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }
  .pd-dialog[open] { animation-name: pd-up; }
  @keyframes pd-up { from { transform: translateY(40px); opacity: 0; } }
  .pd-dialog-in { padding: 22px 20px calc(26px + env(safe-area-inset-bottom)); }
  .pd-close { right: 10px; top: 10px; }
  .pd-line { padding-bottom: 18px; margin-bottom: 22px; }
  .pd-line img { width: 44px; height: 44px; }
  .pd-done-actions .btn { width: 100%; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .pd-stage { max-height: 50svh; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-slide, .pd-slide.is-on { transform: none; }
  .pd-spin { animation: none; border-top-color: rgba(255, 255, 255, 0.35); }
}
