/* /denim/ V34 pass 2 (owner 2026-11-19): "when you open the DENIM page it is just the plugin window and the button to hear it;
   a little text shows below so you want to scroll; scroll and the device moves right and the text comes in; Before you buy at the very end;
   remove that thin line". Loaded after v22.css. The glide itself: assets/denim3d.js (FR0 -> FR1, --d3-in on the hero).
   Pass 1 (device right, words left from the start): D:\BY47-WORK\SITE\V34-pass1. */

/* where the device sits on the first screen, in the stage's own box (at the top of the page the stage starts right under the header).
   Room under it: the sound bar (60) and a strip of the words (~96). */
.d3__frame0 { position: absolute; pointer-events: none; left: 13%; width: 74%; top: 2.5vh; height: calc(100svh - var(--head-h, 64px) - 2.5vh - 176px); }
.d3[data-d3-lay="port"] .d3__frame0 { left: 3%; width: 94%; top: 8px; height: calc(100svh - var(--head-h, 56px) - 112px - 8px - 76px); }   /* the bar sits under the device on a phone too (owner 2026-11-19) */
.d3[data-d3-lay="land"] .d3__frame0 { left: 16%; width: 68%; top: 4px; height: calc(100svh - var(--head-h, 52px) - 4px - 104px); }
.d3.d3--still .d3__frame0, .d3.d3--off .d3__frame0 { display: none; }

/* the picture of the window that holds the place until the 3D device is ready: the same place */
.d3:not(.d3--off):not(.d3--still) .d3__still { left: 13%; width: 74%; top: 2.5vh; height: calc(100svh - var(--head-h, 64px) - 2.5vh - 176px); }
.d3[data-d3-lay="port"]:not(.d3--off):not(.d3--still) .d3__still { left: 3%; width: 94%; top: 8px; height: calc(100svh - var(--head-h, 56px) - 112px - 8px - 76px); }
.d3[data-d3-lay="land"]:not(.d3--off):not(.d3--still) .d3__still { left: 16%; width: 68%; top: 4px; height: calc(100svh - var(--head-h, 52px) - 4px - 104px); }

/* the words start just above the bottom of the first screen (their top shows: an invitation to scroll) */
.d3:not(.d3--still):not(.d3--off) .d3__hero { padding-top: calc(100svh - var(--head-h, 64px) - 96px); }
.d3:not(.d3--still):not(.d3--off)[data-d3-lay="port"] .d3__hero { padding-top: calc(100svh - var(--head-h, 56px) - 112px); }
.d3:not(.d3--still):not(.d3--off)[data-d3-lay="land"] .d3__hero { padding-top: calc(100svh - var(--head-h, 52px) - 56px); }
/* on a computer they come in from the left as the device moves right (--d3-in: 0 at the top, 1 once the device is in its place) */
.d3:not(.d3--still):not(.d3--off):not([data-d3-lay="port"]) .d3__hcopy { padding-top: 0;
  transform: translate3d(calc((1 - var(--d3-in, 1)) * -1 * min(48px, 3vw)), 0, 0); opacity: calc(.55 + .45 * var(--d3-in, 1)); }
.d3:not(.d3--still):not(.d3--off)[data-d3-lay="land"] .d3__hcopy { transform: none; }   /* a phone on its side has no margin to slide in from */

/* less on the card: no line above the price (owner: "that thin line"), one short link to the full Before you buy at the bottom */
.d3 .d3__hcopy .ph__buy, .d3[data-d3-lay] .d3__hcopy .ph__buy { border-top: 0; padding-top: 0; }
.d3__hcopy .ph__buy { margin-top: 22px; }
.ph__more { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; color: var(--muted, #6b6b70); }
.ph__more a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ph__more a:hover { color: var(--ink, #111); }
.d3[data-d3-lay="land"] .ph__more { font-size: 11px; }

@media (prefers-reduced-motion: reduce) { .d3 .d3__hcopy { transform: none !important; opacity: 1 !important; } }
