/* Clear Path wall explorer: standalone section. Uses the site :root tokens (--cp-*, --font-*), with fallbacks. */
.cpwx {
  --wx-orange: var(--cp-orange, #FF5014);
  --wx-carbon: var(--cp-carbon, #0E1013);
  --wx-graphite: var(--cp-graphite, #2A2E33);
  --wx-steel: var(--cp-steel, #8A939C);
  --wx-alloy: var(--cp-alloy, #D9DDE1);
  --wx-white: var(--cp-white, #FFFFFF);
  --wx-display: var(--font-display, "Archivo", "Arial Black", system-ui, sans-serif);
  --wx-body: var(--font-body, "Geist", system-ui, sans-serif);
  --wx-mono: var(--font-mono, "Geist Mono", ui-monospace, Menlo, monospace);
  position: relative;
  background: var(--wx-carbon);
  color: var(--wx-alloy);
  font-family: var(--wx-body);
  border-bottom: 1px solid var(--wx-graphite);
}
.cpwx *, .cpwx *::before, .cpwx *::after { box-sizing: border-box; }
.cpwx__track { height: 400vh; position: relative; }
.cpwx__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
  max-width: var(--max, 1200px); margin: 0 auto; padding: 4.5rem 1.5rem 2rem;
}
.cpwx__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; border-bottom: 1px solid var(--wx-graphite); padding-bottom: .9rem; }
.cpwx__label { font-family: var(--wx-mono); font-weight: 500; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wx-steel); margin: 0 0 .5rem; }
.cpwx__label span { color: var(--wx-white); font-weight: 600; position: relative; padding-left: 1.6rem; }
.cpwx__label span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1rem; height: 2px; background: var(--wx-orange); transform: translateY(-50%); }
.cpwx__title { font-family: var(--wx-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.12; margin: 0; color: var(--wx-white); text-transform: uppercase; }
.cpwx__skip { font-family: var(--wx-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; background: transparent; color: var(--wx-alloy); border: 1px solid var(--wx-steel); padding: .6rem .9rem; cursor: pointer; white-space: nowrap; }
.cpwx__skip:hover { border-color: var(--wx-orange); color: var(--wx-orange); }
.cpwx.is-explore .cpwx__skip { visibility: hidden; }

.cpwx__body { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; min-height: 0; }
.cpwx__figure { margin: 0; overflow: hidden; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.cpwx__canvas { display: block; max-width: 100%; max-height: 100%; width: auto; height: 100%; aspect-ratio: 864 / 800; object-fit: contain; }
.cpwx__panel { display: flex; flex-direction: column; gap: 1.5rem; }

.cpwx__nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wx-graphite); }
.cpwx__nav li { border-bottom: 1px solid var(--wx-graphite); }
.cpwx__nav button { all: unset; box-sizing: border-box; display: flex; gap: 1rem; width: 100%; padding: .7rem 0; cursor: pointer; font-family: var(--wx-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wx-steel); transition: color .2s; }
.cpwx__nav button b { color: inherit; font-weight: 600; min-width: 1.6rem; }
.cpwx__nav button:hover, .cpwx__nav button[aria-current="step"] { color: var(--wx-white); }
.cpwx__nav button[aria-current="step"] b { color: var(--wx-orange); }
.cpwx__nav button:focus-visible, .cpwx__dots button:focus-visible { outline: 2px solid var(--wx-orange); outline-offset: 2px; }

.cpwx__card { position: relative; border-left: 3px solid var(--wx-orange); padding: .2rem 0 .2rem 1.25rem; min-height: 11rem; }
.cpwx__card > div { transition: opacity .2s ease, transform .2s ease; }
.cpwx__card > div[hidden] { display: none; }
.cpwx__num { font-family: var(--wx-mono); font-weight: 600; color: var(--wx-orange); font-size: .9rem; letter-spacing: .1em; }
.cpwx__tag { font-family: var(--wx-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wx-steel); margin-left: .8rem; }
.cpwx__name { font-family: var(--wx-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.15; margin: .35rem 0 .5rem; color: var(--wx-white); }
.cpwx__text { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--wx-alloy); max-width: 34rem; }
.cpwx__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; align-items: center; }
.cpwx__btn { display: inline-flex; align-items: center; padding: 1rem 1.4rem; font-family: var(--wx-mono); font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; text-decoration: none; background: var(--wx-orange); color: var(--wx-carbon); border: 1px solid var(--wx-orange); }
.cpwx__btn:hover { background: var(--wx-white); border-color: var(--wx-white); color: var(--wx-carbon); }
.cpwx__link { font-family: var(--wx-mono); font-size: .8rem; letter-spacing: .08em; color: var(--wx-alloy); text-decoration-color: var(--wx-orange); text-underline-offset: 3px; }
.cpwx__spec { list-style: none; padding: 0; margin: 1rem 0 0; font-family: var(--wx-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wx-steel); }
.cpwx__spec b { color: var(--wx-orange); font-weight: 600; margin-right: .5rem; }

.cpwx__dots { display: flex; gap: .2rem; }
.cpwx__dots button { all: unset; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; }
.cpwx__dots button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wx-graphite); transition: background .2s; }
.cpwx__dots button[aria-current="step"]::after { background: var(--wx-orange); }
.cpwx__cue { font-family: var(--wx-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wx-steel); transition: opacity .3s; }
.cpwx__cue::after { content: " \2193"; color: var(--wx-orange); }
.cpwx__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Intro video overlay */
.cpwx__intro { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: var(--wx-carbon); transition: opacity .6s ease, visibility .6s; }
.cpwx__intro video { height: 100%; max-height: 72vh; width: auto; max-width: 100%; aspect-ratio: 9 / 16; display: block; background: var(--wx-carbon); }
.cpwx.is-explore .cpwx__intro { opacity: 0; visibility: hidden; pointer-events: none; }
.cpwx:not(.is-explore) .cpwx__cue { opacity: 0; }

.cpwx__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Static mode: reduced motion or no JS */
.cpwx--static .cpwx__track { height: auto; }
.cpwx--static .cpwx__stage { position: static; height: auto; }
.cpwx--static .cpwx__intro, .cpwx--static .cpwx__skip, .cpwx--static .cpwx__cue, .cpwx--static .cpwx__nav { display: none; }
.cpwx--static .cpwx__card { min-height: 0; }
.cpwx--static .cpwx__card > div[hidden] { display: block; }
.cpwx--static .cpwx__card > div + div { margin-top: 1.4rem; }
.cpwx--static .cpwx__card > div[data-step="intro"] { display: none; }
.cpwx--static .cpwx__canvas { height: auto; width: 100%; max-width: 640px; }

@media (max-width: 820px) {
  .cpwx__stage { padding: 4rem 1rem 1rem; }
  .cpwx__body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: .8rem; align-items: stretch; }
  .cpwx__nav { display: flex; border-top: 0; gap: .4rem; }
  .cpwx__nav li { border: 0; flex: 1; }
  .cpwx__nav button { justify-content: center; padding: .55rem 0; border: 1px solid var(--wx-graphite); font-size: .85rem; }
  .cpwx__nav button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cpwx__nav button b { min-width: 0; }
  .cpwx__nav button[aria-current="step"] { border-color: var(--wx-orange); }
  .cpwx__meta { justify-content: flex-end; }
  .cpwx__panel { gap: .6rem; }
  .cpwx__card { min-height: 10.5rem; }
  .cpwx__text { font-size: 1rem; }
  .cpwx__canvas { width: 100%; height: auto; max-height: 100%; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cpwx *, .cpwx *::before { transition: none !important; }
}
