/* Conik M1 · section 1 · interactive 3D. Every selector under .c3d. Tokens and text classes come from the page. */
.c3d { position: relative; background: var(--bg); color: var(--ink); overflow: clip; --c3d-line: rgba(255,255,255,.36); }
.c3d-track { position: relative; height: calc(100svh * 7.36); }   /* 6.36 screens of travel: the moves at the 17 Nov rate (4.5 screens for the whole run), each text box's hold at twice that, the rate before it (Tarun, 21 Nov). The split is HOLD_FROM / HOLD_WEIGHT in c3d.src.js: 4.5 x (0.587 + 2 x 0.413) */
.c3d-stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); min-height: 520px; overflow: hidden; isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
/* Their render's world: cool haze from the back left, warm haze on the right, a dark wet floor */
.c3d-glow { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(60% 65% at 58% 44%, rgba(26,26,30,.95), transparent 72%),   /* a neutral lift behind the product (first draft's lit stage) */
  radial-gradient(45% 55% at 86% 46%, rgba(184,142,0,.16), transparent 72%),
  radial-gradient(70% 40% at 50% 100%, rgba(239,234,224,.06), transparent 70%),
  var(--black); }
.c3d-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 30%; z-index: 0; background:
  radial-gradient(50% 70% at 50% 100%, rgba(239,234,224,.07), transparent 70%),
  linear-gradient(to bottom, transparent, rgba(0,0,0,.45)); }
/* The frame is the layout box the product lives in: the poster fills it, and the 3D is fitted to the poster's rendered box */
.c3d-frame { position: absolute; z-index: 1; left: -46%; right: -28%; top: 44%; bottom: calc(16% + var(--c3d-dock)); pointer-events: none; }
.c3d-poster img, .c3d-turn img, .c3d-still { -webkit-user-drag: none; user-select: none; }
.c3d-poster { display: block; width: 100%; height: 100%; transition: opacity var(--d-slow) var(--ease); }
.c3d-poster img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block; }
.c3d-turn { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; }
.c3d-still, .c3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.c3d-turn img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block; }
/* their exploded render fills the stage and feathers into it (it carries its own fog backdrop) */
.c3d-still { pointer-events: none; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; opacity: 0; transition: opacity var(--d-slow) var(--ease); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(80% 80% at 50% 50%, #000 55%, transparent 100%); }
.c3d-still.is-on { opacity: 1; }
.c3d-still[hidden] { display: block; }
.c3d.is-scrub .c3d-poster { opacity: 0; transition: none; }
/* The cue: a pulsing drag glyph just under the product, gone on first interaction */
.c3d-cue { position: absolute; left: 36%; bottom: -44px; width: max-content; display: inline-flex; align-items: center; gap: var(--s3); white-space: nowrap; color: var(--ink); opacity: 0; transition: opacity var(--d) var(--ease); }
.c3d-cue.is-on { opacity: 1; }
.c3d-cue.is-off { opacity: 0; transition: none; }
.c3d-cue-icon { flex: none; width: 44px; height: 22px; color: var(--amber); animation: c3d-nudge 2.2s var(--ease) infinite; }
@keyframes c3d-nudge { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
.c3d-cue .small { color: var(--ink-2); }
/* Loading feedback: shown from the first touch until the model is live */
.c3d-load { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); width: max-content; display: inline-flex; flex-direction: column; align-items: center; gap: var(--s2); white-space: nowrap; }
.c3d-load-track { display: block; width: 180px; height: 3px; background: var(--line); overflow: hidden; }
.c3d-load-bar { display: block; height: 100%; width: 0; background: var(--amber); transition: width var(--d-fast) linear; }
.c3d-load .small { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.c3d-load.is-top { bottom: auto; top: var(--s4); }   /* once the explode has begun the cards own the bottom */
.c3d-frame.is-pressed .c3d-poster img { transform: scale(.985); transition: transform var(--d-fast) var(--ease); }
.c3d-poster img { transition: transform var(--d) var(--ease); }
.c3d-turn { transition: opacity var(--d-slow) var(--ease); }
.c3d.is-3d:not(.is-flat) .c3d-turn { pointer-events: none; }
.c3d.is-3d.is-handed:not(.is-flat) .c3d-turn { opacity: 0; transition: none; }
.c3d.is-3d.is-handed .c3d-poster, .c3d.is-3d.is-scrubbed .c3d-poster { opacity: 0; transition: none; }   /* the under-layer leaves only once the canvas is fully in: no cross-dissolve dip */
.c3d.is-3d.is-handed.is-late .c3d-poster, .c3d.is-3d.is-handed.is-late:not(.is-flat) .c3d-turn { transition: opacity 240ms var(--ease); }   /* the model went live past the hero: the hero image leaves as the canvas arrives */
.c3d-canvas { display: block; opacity: 0; transition: opacity 240ms var(--ease); cursor: grab; }   /* a short reveal: their render, then their model */
.c3d:not(.is-3d) .c3d-canvas { pointer-events: none; }
.c3d:not(.is-3d) .c3d-stage { cursor: grab; }
.c3d.is-3d .c3d-canvas { opacity: 1; }
.c3d.is-3d.is-sport .c3d-poster { opacity: 0; transition: none; }
.c3d.is-sport.is-rest:not(.is-apart):not(.is-3d) .c3d-poster, .c3d.is-flat.is-rest:not(.is-apart) .c3d-poster { opacity: 1 !important; transition: none; }   /* only while the unit is together: never over the explode (Tarun, 7 Nov) */
.c3d.is-sport.is-rest:not(.is-apart):not(.is-3d) .c3d-turn, .c3d.is-flat.is-rest:not(.is-apart) .c3d-turn { opacity: 0 !important; transition: none; }
.c3d.is-sport .c3d-turn { transition: none; }
.c3d.is-3d.is-flat.is-apart .c3d-turn { transition: opacity var(--d-slow) var(--ease); }
.c3d.is-switching .c3d-canvas, .c3d.is-switching .c3d-turn, .c3d.is-switching .c3d-poster { transition: none !important; }
.c3d.is-scrubbed .c3d-canvas { transition: none; }
.c3d.is-3d.is-flat:not(.is-apart) .c3d-canvas { opacity: 0; pointer-events: none; }
.c3d.is-3d.is-flat:not(.is-apart) .c3d-turn { opacity: 1; }
.c3d.is-3d.is-flat.is-apart .c3d-turn { opacity: 0; pointer-events: none; }
.c3d.is-sport:not(.is-apart):not(.is-3d) .c3d-controls [data-c3d-zoom], .c3d.is-flat:not(.is-apart) .c3d-controls [data-c3d-zoom] { display: none; }   /* their frames do not zoom */
.c3d-canvas.is-dragging { cursor: grabbing; }
.c3d-turn { cursor: grab; }
.c3d-turn img:not([src]) { visibility: hidden; }
.c3d-turn.is-dragging { cursor: grabbing; }

/* Hero copy */
.c3d-hero { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: clamp(var(--s6), 5vh, var(--s12)); max-width: 36rem; pointer-events: none; transition: opacity var(--d) var(--ease), transform var(--d-slow) var(--ease-expo); }
.c3d-hero .eyebrow { margin: 0 0 var(--s3); }
.c3d-title { margin: 0; max-width: 12ch; }
.c3d-shell { display: inline-flex; gap: var(--s2); margin-top: var(--s6); pointer-events: auto; }
.c3d-chip { min-height: 44px; padding-inline: var(--s5); font-size: var(--fs-small); }
.c3d-chip.btn--ghost { box-shadow: inset 0 0 0 1.5px var(--c3d-line); }
.c3d-chip:focus-visible, .c3d-ctl:focus-visible, .c3d-step-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.c3d-hint { margin: var(--s4) 0 0; color: var(--ink-2); }
.c3d-skip { display: inline-block; margin-top: var(--s3); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; pointer-events: auto; }
.c3d-skip { display: inline-flex; align-items: center; min-height: 24px; }
@media (pointer: coarse) { .c3d-skip { min-height: 44px; } }   /* tap target (SLANT-SITE, 5 Nov) */
.c3d-skip:hover { color: var(--ink); }
.c3d-skip:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.c3d.is-exploded .c3d-hero { opacity: 0; transform: translateY(-12px); }
.c3d.is-turned .c3d-hero .eyebrow, .c3d.is-turned .c3d-title, .c3d.is-turned .c3d-hint, .c3d.is-turned .c3d-skip { opacity: .22; transition: opacity var(--d) var(--ease); }   /* the drawbar crosses the copy: the copy steps back, the chips stay */

/* Controls: the page's slant cut, not pills; shown once the model (or the fallback) is interactive */
.c3d-controls { position: absolute; z-index: 4; right: var(--gutter); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); display: flex; gap: var(--s2); align-items: center; opacity: 0; transition: opacity var(--d) var(--ease); }
.c3d.is-3d .c3d-controls, .c3d.is-fallback .c3d-controls { opacity: 1; }
.c3d-ctl { width: 44px; height: 44px; display: inline-grid; place-items: center; font: inherit; font-weight: 700; font-size: 1.125rem; color: var(--ink); background: color-mix(in srgb, var(--prussian) 72%, transparent); border: 1px solid var(--c3d-line); cursor: pointer; backdrop-filter: blur(6px); }
.c3d-ctl svg { width: 20px; height: 20px; }
@media (hover: hover) { .c3d-ctl:hover:not([aria-disabled]) { border-color: var(--amber); } }
.c3d-ctl[aria-disabled] { opacity: .4; cursor: default; border-color: var(--c3d-line); }
.c3d-ctl--text { width: auto; padding: 0 var(--s4); font-size: var(--fs-small); }
.c3d-ctl-gap { width: var(--s2); }
.c3d.is-fallback .c3d-controls [data-c3d-zoom], .c3d.is-fallback .c3d-controls [data-c3d-reset] { display: none; }
.c3d.is-exploded .c3d-controls { opacity: 0; pointer-events: none; }
.c3d.is-exploded .c3d-canvas { pointer-events: none; cursor: default; }
.c3d-canvas:focus-visible { outline: none; }
.c3d-stage:has(.c3d-canvas:focus-visible) .c3d-controls { outline: 2px solid var(--amber); outline-offset: 6px; }

/* Stepped mode (reduced motion, and the fallback) */
.c3d-step { position: absolute; z-index: 4; left: var(--gutter); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); display: flex; gap: var(--s3); align-items: center; }
.c3d-step-btn { min-height: 44px; box-shadow: inset 0 0 0 1.5px var(--c3d-line); }
.c3d-step-count { color: var(--ink-2); min-width: 5ch; text-align: center; font-family: var(--mono); font-weight: 500; }
.c3d-step-count:empty { display: none; }

/* "Eight modules" intro and the close */
.c3d-intro, .c3d-close { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 30rem; opacity: 0; transition: opacity var(--d) var(--ease); pointer-events: none; }
.c3d-close { padding: var(--s10) var(--s16) var(--s10) var(--s6); margin-left: calc(-1 * var(--s6)); background: radial-gradient(70% 60% at 30% 50%, color-mix(in srgb, var(--black) 86%, transparent), transparent 100%); }
.c3d-intro .eyebrow, .c3d-close .eyebrow { margin: 0 0 var(--s3); }
.c3d-intro .h2, .c3d-close .h2 { margin: 0; }
.c3d-close .lead { margin: var(--s4) 0 0; }
.c3d-patent { margin: var(--s6) 0 0; color: var(--ink-2); }
.c3d-intro.is-on, .c3d-close.is-on { opacity: 1; }
.c3d-close.is-on { transition-delay: 420ms; }   /* after the pull-out */

/* Module cards */
.c3d-cards { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.c3d-card { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); max-width: 24rem; padding: var(--s5) var(--s6); background: color-mix(in srgb, var(--black) 80%, transparent); border: 1px solid var(--line); border-left: 3px solid var(--amber); backdrop-filter: blur(10px); opacity: 0; transform: translateY(10px); transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); pointer-events: none; }
.c3d-card.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity var(--d) var(--ease) 200ms, transform var(--d) var(--ease) 200ms; }
.c3d-card-k { margin: 0 0 var(--s2); font-family: var(--mono); font-weight: 500; }   /* technical labels in mono, as across the site */
.c3d-card-n { color: var(--amber); margin-right: var(--s3); }
.c3d-card .h3 { margin: 0; }
.c3d-card .small { margin: var(--s2) 0 0; color: var(--ink-2); max-width: 36ch; }
.c3d-card-em { margin: var(--s1) 0 0; font-style: italic; color: var(--ink); }   /* their one-line promise under each title */
.c3d-dot { position: absolute; left: 0; top: 0; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 999px; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,192,0,.25); opacity: 0; transition: opacity var(--d) var(--ease); pointer-events: none; }
.c3d-dot::after { content: ""; position: absolute; left: 6px; top: 6px; height: 1px; width: var(--len, 0px); background: var(--amber); transform-origin: 0 0; transform: rotate(var(--ang, 0deg)); opacity: .75; }
.c3d-dot.is-on { opacity: 1; transition: opacity 360ms var(--ease) 200ms; }   /* the same arrival as its card */
.c3d-card.is-on.is-wait { opacity: 0; transition: none; }   /* the card waits until its part is on the stage, then arrives with the dot */
.c3d-dot.is-instant { transition: none; }

@media (min-width: 768px) {
  .c3d-frame { left: 16%; right: calc(var(--gutter) * 0.5); top: 11%; bottom: calc(11% + var(--c3d-dock)); }
  .c3d-card { left: auto; right: auto; bottom: auto; top: 0; width: 22rem; transform: translate(var(--x, 0px), var(--y, 0px)); transition: opacity var(--d-fast) var(--ease); }
  .c3d-card.is-on { transform: translate(var(--x, 0px), var(--y, 0px)); transition: opacity var(--d) var(--ease) 200ms, transform 320ms var(--ease); }   /* a placed card glides to its part */
  .c3d.is-fallback .c3d-card { top: var(--s8); left: var(--gutter); width: 22rem; transform: none; }
}
@media (min-width: 1024px) {
  .c3d-hero { top: clamp(var(--s8), 8vh, var(--s16)); max-width: 40rem; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .c3d-title { max-width: 9ch; }   /* three lines, so the product never meets the headline at laptop widths */
}
@media (max-width: 767px) {
  .c3d-cue { left: 50%; transform: translateX(-50%); bottom: -30px; }
  .c3d-load { bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 56px + var(--c3d-dock)); }
  .c3d-still { object-fit: contain; transform: scale(1.32); -webkit-mask-image: radial-gradient(62% 50% at 50% 50%, #000 28%, transparent 100%); mask-image: radial-gradient(62% 50% at 50% 50%, #000 28%, transparent 100%); -webkit-mask-size: 100% calc(100vw * 1020 / 2400); mask-size: 100% calc(100vw * 1020 / 2400); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }   /* the mask is the image's own box (contain letterboxes it), so its edges feather too */   /* phones: the whole exploded render, slightly enlarged, faded at the sides */
  .c3d-hero { max-width: none; }
  .c3d-title { font-size: var(--fs-h1); }
  .c3d-intro, .c3d-close { top: auto; bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); transform: none; }
  .c3d-close { left: 0; right: 0; max-width: none; padding: var(--s8) var(--gutter) var(--s6); margin-left: 0; background: linear-gradient(to top, color-mix(in srgb, var(--black) 92%, transparent) 70%, transparent); }
  .c3d.is-stepped .c3d-card { bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 64px + var(--c3d-dock)); }
  .c3d.is-stepped .c3d-controls { bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 60px + var(--c3d-dock)); }   /* above the Previous/Next row */
  .c3d.is-stepped .c3d-frame { bottom: 26%; }   /* and the product above both rows */
}
.c3d.is-still .c3d-cue, .c3d.is-still .c3d-poster, .c3d.is-still .c3d-turn, .c3d.is-still .c3d-canvas, .c3d.is-still .c3d-card, .c3d.is-still .c3d-hero, .c3d.is-still .c3d-intro, .c3d.is-still .c3d-close, .c3d.is-still .c3d-dot, .c3d.is-still .c3d-controls { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .c3d-cue-icon { animation: none; }
  .c3d-poster, .c3d-turn, .c3d-canvas, .c3d-card, .c3d-hero, .c3d-intro, .c3d-close, .c3d-dot, .c3d-controls { transition: none; }
}

/* The explore hold: the whole exploded unit, free to turn, tilt and zoom; a tapped part lights up with its card */
.c3d-explore-hint { position: absolute; z-index: 4; left: var(--gutter); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); margin: 0; color: var(--ink-2); display: none; pointer-events: none; }
.c3d.is-stepped .c3d-explore-hint { bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 64px + var(--c3d-dock)); }
.c3d.is-stepped .c3d-parts { bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 100px + var(--c3d-dock)); }   /* above the Previous/Next row */
.c3d-explore-open, .c3d-explore-close { display: none; }
.c3d.is-explore .c3d-explore-hint { display: block; }
.c3d.is-explore .c3d-controls { opacity: 1; pointer-events: auto; }
.c3d.is-explore .c3d-canvas { pointer-events: auto; cursor: grab; }
.c3d.is-explore .c3d-canvas.is-dragging { cursor: grabbing; }
.c3d-parts { position: absolute; z-index: 4; left: var(--gutter); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 36px + var(--c3d-dock)); margin: 0; padding: 0; list-style: none; display: none; flex-wrap: wrap; gap: var(--s2); max-width: 36rem; }
.c3d.is-explore .c3d-parts { display: flex; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }   /* reachable by Tab; shown while any of it has focus */
.c3d.is-explore:not(.is-explore-open) .c3d-parts:focus-within { clip-path: none; width: auto; height: auto; overflow: visible; }
.c3d-part { white-space: nowrap; font: inherit; font-family: var(--mono); font-size: var(--fs-small); font-weight: 500; color: var(--ink); background: color-mix(in srgb, var(--prussian) 72%, transparent); border: 1px solid var(--c3d-line); padding: var(--s2) var(--s3); cursor: pointer; }
.c3d-part[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }
.c3d-part:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
html.c3d-lock { overflow: hidden; }
@media (max-width: 767px) {
  .c3d.is-explore .c3d-explore-hint { display: none; }
  .c3d.is-explore:not(.is-explore-open) .c3d-canvas { pointer-events: none; }   /* the page keeps its scroll until the view is opened */
  .c3d.is-explore:not(.is-explore-open) .c3d-controls { opacity: 0; pointer-events: none; }
  .c3d.is-explore:not(.is-explore-open) .c3d-parts { display: none; }
  .c3d.is-explore:not(.is-explore-open) .c3d-explore-open { display: inline-flex; position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + var(--c3d-dock)); }
  .c3d.is-stepped.is-explore:not(.is-explore-open) .c3d-explore-open { bottom: calc(clamp(var(--s5), 4vh, var(--s10)) + 64px + var(--c3d-dock)); }   /* above the Previous/Next row */
  .c3d.is-explore-open .c3d-stage { position: fixed; inset: 0; height: 100dvh; min-height: 0; z-index: 2000; touch-action: none; }
  .c3d.is-explore-open .c3d-canvas { pointer-events: auto; touch-action: none; }
  .c3d.is-explore-open .c3d-explore-close { display: inline-grid; position: absolute; z-index: 6; top: var(--s4); right: var(--s4); }
  .c3d.is-explore-open .c3d-explore-hint { display: block; top: calc(var(--s4) + 10px); bottom: auto; right: calc(var(--s4) + 56px); }
  .c3d.is-explore-open .c3d-controls { bottom: var(--s5); }
  .c3d.is-explore-open .c3d-card, .c3d.is-stepped.is-explore-open .c3d-card { bottom: calc(var(--s5) + 64px); }   /* above the control row */
  .c3d.is-explore-open .c3d-step { display: none; }   /* the view has its own close */
  .c3d.is-explore-open .c3d-parts { display: flex; clip-path: none; width: auto; height: auto; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; left: 0; right: 0; max-width: none; padding: 0 var(--gutter); bottom: auto; top: calc(var(--s4) + 56px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }   /* a row of their module names, scrollable, for small parts */
  .c3d.is-explore-open .c3d-parts::-webkit-scrollbar { display: none; }
  .c3d.is-explore-open .c3d-part { flex: none; min-height: 44px; }
}

/* SLANT-SITE's floating section dock sits at the bottom of the viewport: everything anchored to the stage's bottom stays clear of it.
   The phone explore view covers the dock, so inside it the inset is zero. */
.c3d { --c3d-dock: var(--dock-space, 0px); }
.c3d.is-explore-open { --c3d-dock: 0px; }
