/* =========================================================
   Products page. Loaded after styles.css; shared header,
   footer and tokens come from there.
   ========================================================= */
.products-page {
  --p-radius-lg: 28px;
  --p-radius-md: 18px;
  --p-white: #ffffff;
  --p-mist: #ecebe7;
  --p-header: 76px;
  background: var(--paper);
}
.products-page main { outline: none; }
.products-page [id] { scroll-margin-top: 80px; }
.products-page #hero { scroll-margin-top: 0; }

.p-skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--p-white); color: var(--ink);
  transform: translateY(-200%);
}
.p-skip:focus { transform: none; }
.p-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Buttons: DJI-style pills ---------- */
.p-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.p-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.p-pill--solid { background: var(--gold); color: var(--black); }
.p-pill--solid:hover { background: var(--gold-light); }
.p-pill--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.p-pill--ghost:hover { background: #fff; border-color: #fff; color: var(--black); }

/* ---------- Hero carousel ---------- */
.p-hero {
  position: relative;
  margin-top: calc(var(--p-header) * -1);
  height: max(600px, min(100svh, 920px));
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.p-slides { position: absolute; inset: 0; }
.p-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.p-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.p-slide-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}
.p-slide.is-active .p-slide-media { transform: scale(1); }
.p-slide-media--crack { object-position: 50% 45%; }
.p-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,13,10,.82) 0%, rgba(15,13,10,.35) 42%, rgba(15,13,10,.15) 62%, rgba(15,13,10,.7) 100%);
}
.p-slide-copy {
  position: relative; z-index: 1;
  padding-top: calc(var(--p-header) + clamp(48px, 9vh, 96px));
  text-align: center;
}
.p-slide-desc {
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.8);
}
.p-slide-name {
  margin: 10px auto 0;
  max-width: 14ch;
  font-size: clamp(2.8rem, 7.6vw, 6.6rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.p-slide-tag {
  margin: 18px auto 0;
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255,255,255,.92);
  text-wrap: balance;
}

.p-tabs-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}
.p-tabs-inner { display: flex; align-items: flex-end; gap: 16px; }
.p-tabs {
  flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.p-tab {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 0 10px;
  background: none; border: 0; color: rgba(255,255,255,.62);
  font-size: .92rem; text-align: left; cursor: pointer;
}
.p-tab:hover, .p-tab[aria-selected="true"] { color: #fff; }
.p-tab-bar {
  position: relative; display: block; height: 2px; width: 100%;
  background: rgba(255,255,255,.28); overflow: hidden;
}
.p-tab-bar::after {
  content: ""; position: absolute; inset: 0;
  background: #fff; transform-origin: left; transform: scaleX(0);
}
.p-tab[aria-selected="true"] .p-tab-bar::after { transform: scaleX(1); }
.p-hero.is-auto .p-tab[aria-selected="true"] .p-tab-bar::after {
  animation: p-fill var(--p-dur, 7s) linear forwards;
}
.p-hero.is-paused .p-tab[aria-selected="true"] .p-tab-bar::after { animation-play-state: paused; }
@keyframes p-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.p-play {
  flex: 0 0 auto; width: 40px; height: 40px; margin-bottom: 4px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(15,13,10,.3); color: #fff; cursor: pointer;
}
.p-play:hover { border-color: #fff; }
.p-play-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.p-play[data-state="paused"] .p-play-icon {
  width: 0; height: 0; border: 0;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  margin-left: 3px;
}

/* Without JavaScript: slides stack, controls hide */
html:not(.js) .p-hero { height: auto; }
html:not(.js) .p-slides { position: static; }
html:not(.js) .p-slide { position: relative; opacity: 1; visibility: visible; min-height: 72svh; }
html:not(.js) .p-tabs-bar { display: none; }

/* ---------- Sections ---------- */
.p-section { padding: clamp(24px, 3vw, 40px) 0; }
.p-section--tight { padding-top: 0; }
.p-section--white { background: var(--p-white); padding: clamp(72px, 9vw, 120px) 0; }
.p-section--black { background: var(--black); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
#advantages { padding: clamp(72px, 9vw, 120px) 0; }
.p-section--last { padding-bottom: clamp(72px, 9vw, 120px); }
#drone { padding-top: clamp(24px, 3vw, 40px); }

/* ---------- Tiles (DJI product tiles: copy top-centre, media below) ---------- */
.p-tile {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--p-radius-lg); overflow: hidden;
  background: var(--p-white);
}
.p-tile-head { padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px) 0; text-align: center; }
.p-tile-desc { font-size: .98rem; color: var(--ink-soft); }
.p-tile-name {
  margin-top: 8px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
}
.p-tile-text {
  max-width: 56ch; margin: 16px auto 0;
  color: var(--ink-soft); line-height: 1.65;
}
.p-tile--dark { background: var(--black); color: #fff; }
.p-tile--dark .p-tile-desc, .p-tile--dark .p-tile-text { color: rgba(255,255,255,.72); }
.p-tile--light { background: var(--p-mist); }

.p-tile--model { padding-bottom: clamp(20px, 3vw, 32px); }
.product-viewer { margin: clamp(20px, 3vw, 32px) clamp(16px, 3vw, 32px) 0; }
.product-viewer-frame {
  position: relative; width: 100%;
  aspect-ratio: 16 / 8; min-height: 300px; max-height: 620px;
  border-radius: var(--p-radius-md); overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #ffffff 0%, #f1efea 55%, #e6e3dc 100%);
}
.product-model {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  background: transparent; --poster-color: transparent; --progress-bar-color: var(--gold);
}
.product-model-status, .product-model-noscript {
  position: absolute; inset: 0; display: grid; align-content: center; margin: 0;
  padding: 28px; color: var(--ink-soft); font-size: .95rem; text-align: center; pointer-events: none;
}
.product-model-status[hidden] { display: none; }
[data-model-state="error"] .product-model { visibility: hidden; }
[data-model-state="error"] + .product-viewer-caption { display: none; }
.product-viewer-caption { margin-top: 14px; text-align: center; font-size: .88rem; color: var(--ink-soft); }

.p-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.p-pair .p-tile { min-height: 620px; }
.p-tile-media { flex: 1; display: flex; margin-top: clamp(28px, 4vw, 44px); min-height: 280px; }
.p-tile-media > img { width: 100%; height: 100%; object-fit: cover; }
.p-tile-media--report { align-items: flex-end; justify-content: center; padding: 0 clamp(20px, 4vw, 44px); }

/* Report mock */
.p-report {
  width: 100%; max-width: 440px;
  padding: 22px 22px 18px;
  border-radius: 16px 16px 0 0;
  background: var(--p-white);
  box-shadow: 0 -1px 0 rgba(28,24,21,.06), 0 24px 60px rgba(28,24,21,.12);
  font-size: .88rem;
}
.p-report-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.p-report-head strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.p-report-head span { color: var(--ink-soft); font-size: .8rem; }
.p-report-main { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.p-report-main img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; }
.p-report dl { margin: 0; display: grid; gap: 6px; }
.p-report dl div { display: flex; justify-content: space-between; gap: 10px; }
.p-report dt { color: var(--ink-soft); }
.p-report dd { margin: 0; font-weight: 500; text-align: right; }
.p-report-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.p-report-rows li span:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Headings shared by sections ---------- */
.p-center-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.p-center-head h2, .p-row-head h2, .p-row-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.02;
}
.p-center-head p { margin-top: 16px; color: var(--ink-soft); line-height: 1.65; }
.p-center-head--statement { max-width: 820px; }
.p-center-head--statement h2 { text-wrap: balance; }

/* ---------- Steps ---------- */
.p-steps {
  position: relative; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.p-steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px;
  background: var(--line);
}
.p-steps li { position: relative; }
.p-step-num {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--gold-light);
  font-family: var(--font-display); font-weight: 600;
}
.p-steps h3 { margin-top: 22px; font-size: 1.35rem; font-weight: 600; }
.p-steps p { margin-top: 8px; color: var(--ink-soft); line-height: 1.6; max-width: 30ch; }

/* ---------- Usage strip (DJI "Shot on" row) ---------- */
.p-row-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 40px; margin-bottom: clamp(32px, 4vw, 48px);
}
.p-row-head p { max-width: 42ch; color: rgba(255,255,255,.7); line-height: 1.6; }
.p-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.p-shot {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--p-radius-md); overflow: hidden;
  background: var(--black-2);
}
.p-shot img { width: 100%; height: 100%; object-fit: cover; }
.p-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,13,10,.88) 100%);
}
.p-shot-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; }
.p-shot-copy h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.p-shot-copy p { margin-top: 8px; color: rgba(255,255,255,.8); line-height: 1.55; font-size: .95rem; }

/* ---------- Benefits ---------- */
.p-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.p-benefits li { padding-top: 22px; border-top: 2px solid var(--ink); }
.p-benefits h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.p-benefits p { margin-top: 10px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Next-step doors ---------- */
.p-row-title { margin-bottom: clamp(28px, 4vw, 44px); }
.p-explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.p-door {
  position: relative; display: flex; align-items: flex-end;
  min-height: 420px; border-radius: var(--p-radius-md); overflow: hidden;
  background: var(--black); color: #fff; text-decoration: none;
}
.p-door img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.p-door:not(.p-door--gold)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,13,10,.05) 30%, rgba(15,13,10,.85) 100%);
}
.p-door:hover img { transform: scale(1.04); }
.p-door-copy { position: relative; z-index: 1; display: grid; gap: 8px; padding: 28px; }
.p-door-copy strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.p-door-copy span { color: rgba(255,255,255,.82); line-height: 1.55; max-width: 34ch; }
.p-door--gold { background: var(--gold); color: var(--black); }
.p-door--gold .p-door-copy { align-self: stretch; align-content: space-between; }
.p-door--gold .p-door-copy strong { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.p-door--gold .p-door-copy span { color: rgba(15,13,10,.78); }
.p-door--gold:hover { background: var(--gold-light); }
.p-door:focus-visible { outline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .p-steps::before { display: none; }
  .p-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-explore { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .p-door--gold { grid-column: 1 / -1; min-height: 240px; }
}
@media (max-width: 860px) {
  .p-pair { grid-template-columns: minmax(0, 1fr); }
  .p-pair .p-tile { min-height: 0; }
  .p-tile-media { min-height: 320px; }
  .product-viewer-frame { aspect-ratio: 4 / 3; }
  /* Usage strip becomes a swipeable row */
  .p-strip {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
    scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .p-strip::-webkit-scrollbar { display: none; }
  .p-shot { flex: 0 0 min(78%, 360px); scroll-snap-align: start; }
}
@media (max-width: 639px) {
  .p-slide video.p-slide-media { object-position: 24% 50%; }
  .p-tabs { gap: 10px; }
  .p-tab { font-size: .8rem; gap: 10px; }
  .p-tab span { min-height: 2.4em; display: flex; align-items: flex-end; line-height: 1.2; }
  .p-steps, .p-benefits, .p-explore { grid-template-columns: minmax(0, 1fr); }
  .p-door { min-height: 320px; }
  .p-door--gold { min-height: 220px; }
  .p-report-main { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .p-report-main img { width: 84px; height: 84px; }
  .p-report { padding: 18px 16px 12px; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .p-slide, .p-slide.is-active { transition: none; }
  .p-slide-media, .p-slide.is-active .p-slide-media { transform: none; transition: none; }
  .p-door img, .p-door:hover img { transform: none; }
}

/* =========================================================
   Mechanism paragraph (drone tile)
   ========================================================= */
.p-mech {
  max-width: 62ch; margin: 22px auto 0;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem); line-height: 1.75;
  color: var(--ink-soft);
}
.p-mech strong { color: var(--ink); font-weight: 600; }
.p-hl {
  color: var(--ink); font-weight: 500;
  background: linear-gradient(transparent 58%, rgba(216,184,118,.45) 58%, rgba(216,184,118,.45) 92%, transparent 92%);
  padding: 0 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.p-mech-keys {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 24px auto 0; padding: 0; list-style: none;
}
.p-mech-keys li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--black); color: rgba(255,255,255,.72); font-size: .88rem;
}
.p-mech-keys strong { color: var(--gold-light); font-weight: 600; }

/* =========================================================
   Training in simulation
   ========================================================= */
.p-loop {
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--p-radius-lg);
  background: var(--paper);
}
.p-loop-sim {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px;
  width: fit-content; max-width: 100%; margin: 0 auto;
  padding: 14px 24px; border-radius: 999px;
  background: var(--black); color: #fff;
}
.p-loop-sim strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.p-loop-sim span { color: var(--gold-light); font-size: .92rem; }
.p-loop-lanes {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  margin-top: 28px;
}
.p-loop-lanes::before {
  /* stem from the simulation pill down to both lanes */
  content: ""; position: absolute; top: -28px; left: 25%; right: 25%; height: 14px;
  border: 1.5px solid var(--gold); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.p-lane { padding: 22px; border-radius: var(--p-radius-md); background: var(--p-white); }
.p-lane h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.p-lane ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.p-lane li { display: grid; justify-items: center; text-align: center; }
.p-lane-edge {
  position: relative; display: block; width: 100%;
  padding: 12px 0 12px calc(50% + 12px); text-align: left;
  font-size: .82rem; color: var(--gold-dim);
}
.p-lane-edge::before {
  content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: var(--gold);
}
.p-lane-edge::after {
  content: ""; position: absolute; left: calc(50% - 3.5px); bottom: 2px;
  border: 4px solid transparent; border-top-color: var(--gold); border-bottom: 0;
}
.p-lane li > strong {
  display: block; width: 100%; margin-top: 2px; padding: 12px 14px 2px;
  border-radius: 14px 14px 0 0; background: #e8eefb;
  font-family: var(--font-display); font-weight: 600;
}
.p-lane li > strong + span {
  display: block; width: 100%; padding: 0 14px 12px;
  border-radius: 0 0 14px 14px; background: #e8eefb;
  font-size: .88rem; color: var(--ink-soft);
}
.p-lane li > .p-lane-alt { margin-top: 8px; background: rgba(216,184,118,.22); }
.p-lane li > .p-lane-alt + span { background: rgba(216,184,118,.22); }
.p-lane li:last-child > .p-lane-edge:only-child { font-style: italic; }

.p-bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "wide wide tall" "a b c";
}
.p-media { position: relative; margin: 0; border-radius: var(--p-radius-md); overflow: hidden; background: var(--black); min-height: 220px; }
.p-media > img, .p-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-media figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(15,13,10,.72); color: #fff; font-size: .84rem;
  backdrop-filter: blur(6px);
}
.p-media--wide { grid-area: wide; aspect-ratio: 16 / 8.5; }
.p-media--tall { grid-area: tall; }
.p-bento > .p-media:nth-child(3) { grid-area: a; aspect-ratio: 4 / 3; }
.p-bento > .p-media:nth-child(4) { grid-area: b; aspect-ratio: 4 / 3; }
.p-bento > .p-media:nth-child(5) { grid-area: c; aspect-ratio: 4 / 3; }

/* =========================================================
   Crack detection deck
   ========================================================= */
.p-on-dark { color: #fff; font-weight: 600; }
.p-tile--dark .p-tile-text strong.p-on-dark { box-shadow: inset 0 -2px 0 var(--gold); }
.p-deck { position: relative; flex: 1; display: flex; flex-direction: column; margin-top: clamp(28px, 4vw, 44px); min-height: 360px; }
.p-deck-track { position: relative; flex: 1; min-height: 320px; }
.p-deck-slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.p-deck-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.p-deck-slide > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 5.5s ease-out;
}
.p-deck-slide.is-active > img { transform: scale(1); }
.p-deck-slide figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(15,13,10,.8); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.45; text-align: left;
}
.p-deck-slide figcaption strong { display: block; color: #fff; font-weight: 600; }
.p-deck-step {
  flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--gold); color: var(--black);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
}
.p-deck-verdict {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px;
  background: #fff; color: var(--ink); font-size: .86rem; box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.p-deck-verdict span { font-size: .72rem; color: var(--ink-soft); }
.p-deck-verdict strong { font-family: var(--font-display); font-weight: 600; }
.p-deck-verdict em { font-style: normal; color: var(--gold-dim); font-weight: 600; }

/* Material illustration */
.p-deck-slide--materials { background: var(--black-2); }
.p-swatches { position: absolute; inset: 0 0 92px; display: grid; grid-template-columns: repeat(3, 1fr); color: #1a1611; }
.p-swatch { position: relative; display: flex; align-items: flex-start; justify-content: center; padding-top: 18px; }
.p-swatch span {
  position: relative; z-index: 1; padding: 4px 10px; border-radius: 999px;
  background: rgba(15,13,10,.72); color: #fff; font-size: .8rem;
}
.p-swatch--concrete {
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.08) 0 2px, transparent 3px) 0 0 / 18px 18px,
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.18) 0 1.5px, transparent 2.5px) 0 0 / 13px 13px,
    #a9a59e;
}
.p-swatch--brick {
  background:
    repeating-linear-gradient(0deg, transparent 0 26px, #e2d6c4 26px 29px),
    repeating-linear-gradient(90deg, transparent 0 52px, #e2d6c4 52px 55px),
    #a4553a;
}
.p-swatch--plaster {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(ellipse at 75% 70%, rgba(0,0,0,.05), transparent 55%),
    #e9e3d6;
}
.p-swatch-crack { position: absolute; inset: 0; width: 100%; height: 100%; color: #1a1611; pointer-events: none; }

.p-deck-dots { display: flex; gap: 8px; justify-content: center; padding: 16px 0 18px; }
.p-deck-dot {
  position: relative; width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.p-deck-dot i {
  position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.25); overflow: hidden;
}
.p-deck-dot i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-light);
  transform-origin: left; transform: scaleX(0);
}
.p-deck-dot[aria-pressed="true"] i::after { transform: scaleX(1); }
.p-deck.is-auto .p-deck-dot[aria-pressed="true"] i::after { animation: p-fill var(--p-deck-dur, 5s) linear forwards; }
.p-deck.is-paused .p-deck-dot[aria-pressed="true"] i::after { animation-play-state: paused; }

/* No JavaScript: swipeable row instead of an auto-playing deck */
html:not(.js) .p-deck-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .p-deck-slide { position: relative; flex: 0 0 100%; opacity: 1; visibility: visible; scroll-snap-align: start; min-height: 320px; }
html:not(.js) .p-deck-dots { display: none; }

@media (max-width: 860px) {
  .p-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "wide wide" "tall a" "b c"; }
  .p-media--tall { aspect-ratio: 4 / 3; }
}
@media (max-width: 639px) {
  .p-loop-lanes { grid-template-columns: minmax(0, 1fr); }
  .p-loop-lanes::before { left: 50%; right: auto; width: 0; border-left: 1.5px solid var(--gold); border-right: 0; border-radius: 0; }
  .p-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "wide" "tall" "a" "b" "c"; }
  .p-media--tall { aspect-ratio: 4 / 3; }
  .p-bento > .p-media:nth-child(5) { aspect-ratio: 16 / 9; }
  .p-mech-keys li { font-size: .82rem; }
  .p-swatch span { font-size: .72rem; padding: 3px 8px; }
  .p-deck-slide figcaption { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .p-deck-slide, .p-deck-slide.is-active { transition: none; }
  .p-deck-slide > img, .p-deck-slide.is-active > img { transform: none; transition: none; }
}
@media (max-width: 639px) {
  .p-mech { text-align: left; }
  .p-mech-keys { justify-content: flex-start; }
}

/* October 2026: simplified product story. */
.p-hero--single .p-slide-copy { padding-bottom: 80px; }
html:not(.js) .p-hero--single .p-slides { position: absolute; inset: 0; }
html:not(.js) .p-hero--single .p-slide { position: absolute; inset: 0; min-height: 0; }
.p-sim-gallery { margin-bottom: clamp(40px, 5vw, 64px); }
.p-sim-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) var(--paper); border-radius: var(--p-radius-md); }
.p-sim-track .p-media { flex: 0 0 78%; aspect-ratio: 16 / 9; scroll-snap-align: start; min-height: 260px; }
.p-sim-track figcaption { max-width: calc(100% - 24px); border-radius: 12px; }
.p-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; color: var(--ink-soft); }
.p-gallery-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.p-gallery-controls button:disabled { opacity: .35; cursor: default; }
.p-gallery-count { padding-left: 12px; color: var(--gold-dim); }
.p-loop-lanes::before { content: none; }
.p-lane-intro { margin: 0 0 18px; color: var(--ink-soft); font-size: .9rem; }
.p-lane ol { gap: 14px; }
.p-lane li { position: relative; padding-left: 40px; }
.p-flow-number { position: absolute; left: 0; top: 14px; color: var(--gold-dim); font-family: var(--font-display); font-size: .88rem; }
.p-lane li > strong { margin-top: 0; background: #e8eefb; }
.p-loop-return { margin: 18px 0 0; padding: 12px; border-radius: 12px; background: rgba(216,184,118,.2); color: var(--ink); font-weight: 500; font-size: .9rem; }
.p-training-note { margin-top: 12px; color: var(--ink-soft); font-size: .85rem; line-height: 1.6; }
.p-detection-wide .p-tile-text { max-width: 76ch; }
.p-detection-wide .p-deck-track { min-height: clamp(440px, 46vw, 600px); }
.p-material-photos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.p-material-photo { position: relative; overflow: hidden; }
.p-material-photo img { width: 100%; height: 100%; object-fit: cover; }
.p-material-photo > span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 14px; background: rgba(15,13,10,.82); color: #fff; white-space: nowrap; font-size: .85rem; }
.p-deck-slide--report { display: grid; place-items: center; padding: 24px 24px 110px; background: radial-gradient(ellipse at center, #3b3326, var(--black)); }
.p-deck-slide--report .p-report { max-width: 620px; color: var(--ink); border-radius: 16px; }
.p-row-head--stacked { display: block; }
.p-row-head--stacked p { margin-top: 16px; max-width: 65ch; }
@media (max-width: 600px) {
  .p-sim-track .p-media { flex-basis: 92%; min-height: 240px; }
  .p-gallery-controls { gap: 12px; font-size: .85rem; }
  .p-material-photo > span { font-size: .68rem; padding: 5px 6px; top: 16px; }
  .p-deck-slide--report { padding: 16px 12px 125px; }
  .p-deck-slide--report .p-report { padding: 16px 12px; font-size: .77rem; }
  .p-deck-slide--report .p-report-main { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .p-deck-slide--report .p-report-main img { width: 72px; height: 90px; }
  .p-report-rows li { flex-wrap: wrap; gap: 4px; }
  .p-detection-wide .p-deck-track { min-height: 470px; }
}

html:not(.js) .p-hero--single { height: max(600px, min(100svh, 920px)); }

/* Mission overview: horizontal cards and a measured animated route. */
#how-it-works { position: relative; isolation: isolate; color: #f4f1e9; background: #11100c; overflow: hidden; }
#how-it-works::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 85% 12%, rgba(216,184,118,.18), transparent 52%), radial-gradient(ellipse at 5% 85%, rgba(181,141,61,.1), transparent 55%); }
#how-it-works .p-center-head p { color: #cfc9bd; }
.p-mission-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold) #1c1911; border-radius: 32px; }
.p-mission-board { position: relative; min-width: 880px; }
#how-it-works .p-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: none; margin: 0; padding: 94px 28px 32px; border: 1px solid rgba(216,184,118,.22); border-radius: 32px; background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(216,184,118,.035)); }
#how-it-works .p-steps::before, #how-it-works .p-steps li::before { display: none; }
#how-it-works .p-steps li { position: relative; padding: 24px 22px; margin: 0; border: 1px solid rgba(216,184,118,.22); border-radius: 24px; background: rgba(0,0,0,.18); transition: border-color .35s ease, background .35s ease, box-shadow .35s ease; }
#how-it-works .p-step-num { position: absolute; left: calc(50% - 18px); top: -52px; width: 36px; height: 36px; border: 2px solid var(--gold); background: #1c1911; color: var(--gold-light); font-size: .85rem; z-index: 1; }
#how-it-works .p-steps h3 { margin: 0; color: #f4f1e9; transition: color .35s ease; }
#how-it-works .p-steps p { max-width: none; color: #cfc9bd; margin-top: 10px; }
#how-it-works .p-steps li.is-current { border-color: rgba(216,184,118,.75); background: rgba(216,184,118,.13); box-shadow: 0 0 24px rgba(216,184,118,.08); }
#how-it-works .p-steps li.is-current h3 { color: var(--gold-light); }
.p-mission-line { position: absolute; height: 2px; background: rgba(216,184,118,.45); pointer-events: none; }
.p-mission-dot { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #e5bd57; box-shadow: 0 0 0 6px rgba(229,189,87,.12), 0 0 24px rgba(229,189,87,.7); z-index: 2; pointer-events: none; }
html:not(.js) .p-mission-dot, html:not(.js) .p-mission-line { display: none; }
@media (prefers-reduced-motion: reduce) { #how-it-works .p-steps li, #how-it-works .p-steps h3 { transition: none; } }

/* All emphasised phrases use the same weight, colour and highlight. */
#drone .p-mech strong, #drone .p-mech .p-hl { color: var(--ink); font-weight: 600; background: rgba(216,184,118,.22); padding: .08em .22em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: none; }
.p-gallery-controls .p-gallery-pause { width: auto; min-width: 70px; padding: 0 14px; border-radius: 22px; font-size: .85rem; }
@media (max-width: 600px) {
 .p-mission-scroll { border-radius: 24px; }
 #how-it-works .p-steps { border-radius: 24px; }
 .p-gallery-controls { flex-wrap: wrap; gap: 10px; }
}

/* Matching automatic slides, entering right and leaving left. */
.js .p-sim-track { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; min-height: 300px; scroll-snap-type: none; }
.js .p-sim-track .p-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; min-height: 0; }
.js .p-sim-track .p-media, .js .p-deck-slide { opacity: 0; visibility: hidden; transform: translateX(100%); transition: transform .7s cubic-bezier(.4,0,.2,1), opacity .7s ease, visibility 0s linear .7s; }
.js .p-sim-track .p-media.is-active, .js .p-deck-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); transition-delay: 0s; z-index: 1; }
.js .p-sim-track .p-media.is-leaving, .js .p-deck-slide.is-leaving { opacity: 1; visibility: visible; transform: translateX(-100%); transition-delay: 0s; z-index: 0; }
.js .p-deck-track { overflow: hidden; }
#how-it-works .p-steps h3 { font-weight: 700; }
.p-mission-dot { will-change: transform; }
@media (max-width: 600px) { .js .p-sim-track { aspect-ratio: 4 / 3; min-height: 260px; } }
@media (prefers-reduced-motion: reduce) {
 .js .p-sim-track .p-media, .js .p-deck-slide { transform: none; transition: none; }
}

/* A shared heading, spacing and gold accent system across the product story. */
.products-page { --p-section-space: clamp(56px, 7vw, 96px); }
.products-page .p-section { padding-block: var(--p-section-space); }
.products-page #drone { padding-top: var(--p-section-space); }
.products-page .p-section-heading {
  font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -.03em;
  text-align: center; margin: 0 auto; text-wrap: balance;
}
.products-page .p-section-heading::after {
  content: ""; display: block; width: 48px; height: 3px;
  border-radius: 3px; background: var(--gold); margin: 20px auto 0;
}
.products-page .p-center-head, .products-page .p-row-head { text-align: center; margin-bottom: 36px; }
.products-page .p-center-head > p, .products-page .p-row-head > p,
.products-page .p-tile-text, .products-page .p-mech {
  max-width: 70ch; margin: 20px auto 0; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75;
}
.products-page .p-tile-head { padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px) 0; }
.products-page .p-tile-desc { margin-bottom: 14px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.products-page .p-loop { margin-bottom: 0; }
.products-page .p-lane li > strong, .products-page .p-lane li > strong + span { background: rgba(216,184,118,.16); }
.products-page .p-row-title { margin-bottom: 36px; }
.p-hero-award {
  position: absolute; z-index: 2; bottom: max(28px, env(safe-area-inset-bottom));
  left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px);
  padding: 14px 24px; border: 1px solid rgba(216,184,118,.5); border-radius: 16px;
  background: rgba(15,13,10,.8); color: var(--gold-light); backdrop-filter: blur(8px);
  font-size: clamp(.82rem, 1.3vw, 1rem); line-height: 1.5; text-align: center; text-wrap: balance;
}
.p-carousel-indicators { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 14px 12px; }
.p-carousel-indicator { position: relative; display: block; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.p-carousel-indicator::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 17px; height: 10px; border-radius: 6px;
  background: #d8d3c8; transition: background-color .25s ease, transform .25s ease;
}
.p-tile--dark .p-carousel-indicator::before { background: #625d53; }
.p-carousel-indicator[aria-pressed="true"]::before { background: var(--gold); transform: scaleY(1.2); }
.p-carousel-indicator:hover::before { background: var(--gold-light); }
.p-carousel-indicator:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.p-gallery-controls { margin-top: 0; }
@media (max-width: 639px) {
  .p-mission-scroll { overflow: visible; }
  .p-mission-board { min-width: 0; }
  #how-it-works .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; border-radius: 24px; }
  #how-it-works .p-steps li { padding: 16px 12px; border-radius: 16px; min-width: 0; }
  #how-it-works .p-step-num { position: relative; left: auto; top: auto; margin: 0 0 16px; }
  #how-it-works .p-steps h3 { font-size: 1.1rem; }
  #how-it-works .p-steps p { font-size: .86rem; line-height: 1.6; overflow-wrap: break-word; }
  .p-mission-line, .p-mission-dot { display: none; }
  .p-hero-award { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .p-carousel-indicator::before { transition: none; } }
