/* 3D_printing.css — M PRO9 3D Printing & Prototyping */

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.tdp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tdp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tdp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.84) 0%,
    rgba(5, 10, 20, 0.60) 50%,
    rgba(5, 10, 20, 0.82) 100%
  );
  z-index: 1;
}

.tdp-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 90px;
  max-width: 780px;
}

.tdp-hero h1 {
  color: #f0f7fd;
  font-size: clamp(2.8rem, 10vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}

.tdp-hero .hero-sub {
  color: rgba(240, 247, 253, 0.60);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.80;
  max-width: 500px;
  margin-bottom: 36px;
}

.tdp-hero .hero-eyebrow {
  color: #319dcf;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  animation: sdrop 2.2s ease-in-out infinite;
}
@keyframes sdrop {
  0%, 100% { transform: translateY(0);    opacity: 0.36; }
  50%       { transform: translateY(10px); opacity: 0.82; }
}

/* Hero h1 — GSAP handles entrance, keep invisible until JS fires */
.js-enabled .tdp-hero-h1 { opacity: 0; }
/* Per-character spans injected by GSAP */
.tdp-hero-h1 .tdp-c {
  display: inline-block;
  will-change: transform, opacity;
}

/* ── Hero: mobile padding reduction + tap targets ── */
@media (max-width: 1024px) {
  .tdp-hero-content {
    padding-top: 110px;
    padding-bottom: 80px;
  }
}
@media (max-width: 768px) {
  .tdp-hero-content {
    padding-top: 96px;
    padding-bottom: 60px;
    max-width: 100%;
  }
  .tdp-hero h1 { margin-bottom: 20px; }
  .tdp-hero .hero-sub { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .tdp-hero-content { padding-top: 84px; padding-bottom: 48px; }
}
@media (max-width: 390px) {
  .tdp-hero-content { padding-top: 80px; padding-bottom: 44px; }
  /* Stack buttons on the narrowest phones */
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
/* Ensure all hero CTAs are at least 44 × 44 px tap target */
.hero-btns .btn { min-height: 44px; }

/* ══════════════════════════════════════
   SPECS TICKER
══════════════════════════════════════ */
.tdp-ticker {
  background: #030710;
  border-top: 1px solid rgba(49, 157, 207, 0.12);
  border-bottom: 1px solid rgba(49, 157, 207, 0.12);
  padding: 14px 0;
  overflow: hidden;
}

.tdp-ticker-inner {
  overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.tdp-ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker-run 34s linear infinite;
}

.tdp-ticker-track span {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.71rem;
  letter-spacing: 0.14em;
  color: rgba(49, 157, 207, 0.56);
  text-transform: uppercase;
  white-space: nowrap;
}
.tick-sep {
  color: rgba(49, 157, 207, 0.22) !important;
}

@keyframes ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   GALLERY SHOWCASE
══════════════════════════════════════ */
.tdp-gallery-sec {
  background: #060c18;
  padding-top: 88px;
}

.tdp-sec-hd {
  margin-bottom: 44px;
}
.tdp-sec-hd .section-label { color: rgba(49, 157, 207, 0.72); }
.tdp-sec-hd h2 {
  color: #f0f7fd;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-top: 10px;
}

/* Editorial 3-col grid: row1 wide|small, row2 small|wide */
.tdp-gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 330px 330px;
  gap: 8px;
  margin-top: 8px;
  perspective: 1200px;
}

/* Row 1 */
.tdp-gal-grid .tdp-gi:nth-child(1) { grid-column: 1 / span 2; }
.tdp-gal-grid .tdp-gi:nth-child(2) { grid-column: 3; }
/* Row 2 */
.tdp-gal-grid .tdp-gi:nth-child(3) { grid-column: 1; }
.tdp-gal-grid .tdp-gi:nth-child(4) { grid-column: 2 / span 2; }

.tdp-gi {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #0d1826;
  transform-style: preserve-3d;
  will-change: transform;
}

.tdp-gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.tdp-gi:hover img { transform: scale(1.05); }

.tdp-gi figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tdp-gi:hover figcaption { opacity: 1; transform: translateY(0); }
.tdp-gi figcaption span {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 500;
}
.tdp-gi figcaption em {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  color: rgba(49, 157, 207, 0.84);
  font-style: normal;
  letter-spacing: 0.10em;
}

@media (max-width: 768px) {
  .tdp-gal-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 210px;
    perspective: none;
  }
  .tdp-gal-grid .tdp-gi:nth-child(1) { grid-column: 1 / span 2; }
  .tdp-gal-grid .tdp-gi:nth-child(2) { grid-column: 1; }
  .tdp-gal-grid .tdp-gi:nth-child(3) { grid-column: 2; }
  .tdp-gal-grid .tdp-gi:nth-child(4) { grid-column: 1 / span 2; }
}

@media (max-width: 480px) {
  .tdp-gal-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .tdp-gal-grid .tdp-gi:nth-child(n) { grid-column: 1; }
  .tdp-gi img { height: auto; aspect-ratio: 4 / 3; }
}
/* Gallery: narrow phone row heights */
@media (max-width: 430px) {
  .tdp-gal-grid { gap: 6px; }
}

/* Gallery: touch devices — figcaptions always visible (no hover on touch) */
@media (hover: none) {
  .tdp-gi figcaption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery: section padding reduction on mobile */
@media (max-width: 768px) {
  .tdp-gallery-sec { padding-top: 64px; }
  .tdp-sec-hd { margin-bottom: 32px; }
}
@media (max-width: 430px) {
  .tdp-gallery-sec { padding-top: 52px; }
}

/* ══════════════════════════════════════
   DETAIL SHOWCASE
══════════════════════════════════════ */
.tdp-detail {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.tdp-detail-bg {
  position: absolute;
  inset: 0;
}
.tdp-detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tdp-detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,10,22,0.30) 0%, transparent 30%, transparent 60%, rgba(4,10,22,0.88) 100%),
    linear-gradient(to right, rgba(4,10,22,0.55) 0%, transparent 40%, transparent 60%, rgba(4,10,22,0.55) 100%);
  z-index: 1;
}

.tdp-detail-body {
  position: relative;
  z-index: 3;
  padding-bottom: 72px;
  padding-top: 72px;
}
.tdp-detail-label { color: rgba(49, 157, 207, 0.72); }
.tdp-detail-h2 {
  color: #f0f7fd;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-top: 12px;
  max-width: 560px;
}

/* Annotations */
.tdp-annot {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
}

.tdp-annot--tl { top: 22%; left:  4%; }
.tdp-annot--tr { top: 22%; right: 4%; }
.tdp-annot--bl { bottom: 32%; left:  4%; }
.tdp-annot--br { bottom: 32%; right: 4%; }

.ta-box {
  background: rgba(4, 10, 22, 0.78);
  border: 1px solid rgba(49, 157, 207, 0.24);
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ta-key {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: rgba(49, 157, 207, 0.72);
  text-transform: uppercase;
}
.ta-val {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(240, 247, 253, 0.90);
  letter-spacing: 0.01em;
}

.ta-line {
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, rgba(49,157,207,0.55), rgba(49,157,207,0.10));
  flex-shrink: 0;
}
.ta-line--rev {
  background: linear-gradient(to left, rgba(49,157,207,0.55), rgba(49,157,207,0.10));
}

.ta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #319dcf;
  box-shadow: 0 0 10px rgba(49,157,207,0.65);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  /* All four values shown, same as desktop — just stacked instead of
     placed two-per-row. A callout (box + line + dot) runs ~190-250px
     wide; two side-by-side would collide on anything under ~430px, so
     each gets its own vertical slot instead, keeping its original
     left/right edge anchor (only `top` changes).
     Fixed px steps, not percentages: the box's real height is ~62px
     (measured), which stays constant regardless of section height, while
     the section itself ranges ~420-690px across mobile breakpoints —
     percentage-based spacing that clears the box at one height silently
     overlaps at another. Shrinking the box first (below) means 4 stacked
     entries fit with clearance even at the shortest mobile section. */
  .tdp-annot--tl { top: 12px;  bottom: auto; left:  4%; }
  .tdp-annot--tr { top: 72px;  bottom: auto; right: 4%; }
  .tdp-annot--bl { top: 132px; bottom: auto; left:  4%; }
  .tdp-annot--br { top: 192px; bottom: auto; right: 4%; }
  /* Kill expensive backdrop-blur on mobile — perf gain — and shrink the
     box so 4 stacked copies fit comfortably above the heading. */
  .ta-box {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(4, 10, 22, 0.90);
    padding: 6px 10px;
    gap: 2px;
  }
  .ta-key { font-size: 0.50rem; }
  .ta-val { font-size: 0.72rem; }
  .ta-line { width: 34px; }
  }
}

/* Detail: reduce body padding on mobile */
@media (max-width: 768px) {
  .tdp-detail-body { padding-top: 52px; padding-bottom: 52px; }

  /* .tdp-detail-bg img uses object-fit:cover inside a min-height:100vh box.
     Desktop's wide aspect ratio (~1440x900) already shows a well-composed
     crop with room around the model. A phone's narrow, tall viewport
     forced into the same 100vh box has a far more extreme aspect ratio,
     so cover crops in dramatically tighter to fill the height — the model
     ends up zoomed in and the balanced desktop composition is lost.
     Shortening the section brings the crop back toward desktop's framing. */
  .tdp-detail { min-height: 82vh; }
}
@media (max-width: 430px) {
  .tdp-detail-body { padding-top: 40px; padding-bottom: 40px; }
  .tdp-detail-h2 { max-width: 100%; }
  .tdp-detail    { min-height: 74vh; }
}

/* ══════════════════════════════════════
   CAPABILITY SECTIONS — horizontal scroll
══════════════════════════════════════ */
.tdp-caps-pin {
  background: #040a14;
  overflow: hidden;
}

.tdp-caps-track {
  display: flex;
  will-change: transform;
}

.tdp-cap {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 100vh;
  width: 100vw;
  flex-shrink: 0;
  border-right: 1px solid rgba(49, 157, 207, 0.07);
}

.tdp-cap--flip .tdp-cap-text { order: 2; }
.tdp-cap--flip .tdp-cap-img  { order: 1; }

/* Text panel */
.tdp-cap-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 8vh, 104px) clamp(36px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}

/* Ghost background number */
.cap-ghost-num {
  position: absolute;
  bottom: -0.12em;
  right: -0.06em;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(9rem, 22vw, 18rem);
  color: rgba(49, 157, 207, 0.044);
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}

.cap-h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  color: #f0f7fd;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  position: relative;
}
.cap-h2::before {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background: #319dcf;
  margin-bottom: 20px;
}

.cap-p {
  color: rgba(240, 247, 253, 0.50);
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  line-height: 1.84;
  max-width: 400px;
  margin-bottom: 28px;
  position: relative;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.cap-tags span {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(49, 157, 207, 0.64);
  border: 1px solid rgba(49, 157, 207, 0.17);
  padding: 5px 12px;
  border-radius: 2px;
  background: rgba(49, 157, 207, 0.04);
}

/* Panel counter */
.cap-counter {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(49, 157, 207, 0.28);
  margin-top: 28px;
  position: relative;
  text-transform: uppercase;
}
.cap-counter span {
  color: rgba(49, 157, 207, 0.70);
}

/* Image panel */
.tdp-cap-img {
  position: relative;
  overflow: hidden;
}
.tdp-cap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}
.tdp-cap-img:hover img { transform: scale(1.04); }

/* Mobile/tablet, motion allowed: keep the horizontal 100vw/flex panel
   mechanics identical to desktop (same track, same GSAP pin/scrub in
   tdp-gsap.js) — only the panel's OWN content restacks image-over-text
   instead of side-by-side, so nothing clips at narrow widths. */
@media (max-width: 900px) {
  .tdp-cap {
    grid-template-columns: 1fr;
    width: 100vw;
  }
  .tdp-cap--flip .tdp-cap-text { order: unset; }
  .tdp-cap--flip .tdp-cap-img  { order: unset; }
  .tdp-cap-img { min-height: 34vh; }
  .tdp-cap-text { padding: 16px 28px; }
  .cap-ghost-num { font-size: clamp(7rem, 30vw, 12rem); }
  .cap-h2 { margin-bottom: 14px; }
  .cap-p { margin-bottom: 18px; }
  .cap-counter { margin-top: 16px; }
}
/* Capability: tighter padding/type on small tablets and phones */
@media (max-width: 768px) {
  .tdp-cap-text { padding: 14px 24px; }
  .tdp-cap-img  { min-height: 32vh; }
  .cap-h2 { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 430px) {
  .tdp-cap-text { padding: 12px 20px; }
  .tdp-cap-img  { min-height: 28vh; }
  .cap-p { font-size: 0.92rem; max-width: 100%; }
  .cap-tags span { font-size: 0.6rem; padding: 4px 10px; }
}
@media (max-width: 390px) {
  .tdp-cap-text { padding: 10px 18px; }
  .tdp-cap-img  { min-height: 26vh; }
  .cap-counter  { margin-top: 12px; }
}

/* Mobile/tablet, reduced motion: restore the plain accessible vertical
   stack — no pin, no horizontal travel (see tdp-gsap.js initCaps()). */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .tdp-caps-pin { overflow: visible; }
  .tdp-caps-track { display: block; }
  .tdp-cap {
    min-height: auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(49, 157, 207, 0.07);
  }
  .tdp-cap-img { min-height: 260px; }
}

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.tdp-process {
  background: #f6f9fc;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Progress bar — injected via JS */
.proc-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #319dcf, rgba(49, 157, 207, 0.30));
  transform-origin: left center;
}

.tdp-sec-hd--light .section-label { color: var(--primary-light); }
.tdp-sec-hd--light h2 {
  color: var(--primary);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-top: 10px;
}

.tdp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid #dde6ef;
}

.tdp-step {
  padding: 40px 32px 36px;
  border-right: 1px solid #dde6ef;
}
.tdp-step:last-child { border-right: none; }

.step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.step-n {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: #319dcf;
  font-weight: 700;
  white-space: nowrap;
}

.step-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(49, 157, 207, 0.38), transparent);
}

.tdp-step h3 {
  color: var(--primary);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.tdp-step p {
  color: var(--text-muted);
  font-size: 0.90rem;
  line-height: 1.78;
}

/* Process: 4-col → 2-col at 1024px (text too dense at 4-col on mid tablets) */
@media (max-width: 1024px) {
  .tdp-steps { grid-template-columns: repeat(2, 1fr); }
  .tdp-step:nth-child(2) { border-right: none; }
  .tdp-step:nth-child(1),
  .tdp-step:nth-child(2) { border-bottom: 1px solid #dde6ef; }
}
@media (max-width: 900px) {
  .tdp-steps { grid-template-columns: repeat(2, 1fr); }
  .tdp-step:nth-child(2) { border-right: none; }
  .tdp-step:nth-child(1),
  .tdp-step:nth-child(2) { border-bottom: 1px solid #dde6ef; }
}
@media (max-width: 540px) {
  .tdp-steps { grid-template-columns: 1fr; }
  .tdp-step  { border-right: none; border-bottom: 1px solid #dde6ef; }
  .tdp-step:last-child { border-bottom: none; }
}

/* Process: section padding reduction on mobile */
@media (max-width: 768px) {
  .tdp-process { padding: 64px 0; }
  .tdp-steps   { margin-top: 44px; }
}
@media (max-width: 540px) {
  .tdp-process { padding: 52px 0; }
  .tdp-step    { padding: 28px 20px 24px; }
  .tdp-steps   { margin-top: 32px; }
}
@media (max-width: 390px) {
  .tdp-process { padding: 48px 0; }
  .tdp-step    { padding: 24px 16px 20px; }
}

/* ══════════════════════════════════════
   SPECS BAND
══════════════════════════════════════ */
.tdp-specs-band {
  background: #030710;
  border-top: 1px solid rgba(49, 157, 207, 0.10);
  border-bottom: 1px solid rgba(49, 157, 207, 0.10);
  padding: 56px 0;
}

.tdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(49, 157, 207, 0.09);
}

.tdp-spec-cell {
  background: #030710;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.spec-v {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.88rem, 1.8vw, 1.1rem);
  color: #319dcf;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.spec-k {
  font-size: 0.68rem;
  color: rgba(240, 247, 253, 0.34);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .tdp-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tdp-specs-grid { grid-template-columns: 1fr; }
  .tdp-specs-band { padding: 40px 0; }
  /* Reduce cell padding on single-column mobile */
  .tdp-spec-cell  { padding: 24px 20px; }
}
@media (max-width: 390px) {
  .tdp-spec-cell  { padding: 20px 16px; }
  .spec-v         { font-size: 0.88rem; }
}

/* ══════════════════════════════════════
   CTA — two-column with animated SVG
══════════════════════════════════════ */
.tdp-cta {
  background: #050e1c;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.tdp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 15% 50%, rgba(49, 157, 207, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.tdp-cta .container { position: relative; z-index: 1; }

.tdp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: center;
}

.tdp-cta-left { text-align: left; }
.tdp-cta .section-label { color: rgba(49, 157, 207, 0.72); }
.tdp-cta-left h2 {
  color: #f0f7fd;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.tdp-cta-left > p {
  color: rgba(240, 247, 253, 0.52);
  line-height: 1.76;
  margin-bottom: 36px;
  max-width: 460px;
}
.tdp-cta .cta-buttons { justify-content: flex-start; }

.tdp-cta-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-print-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

/* CTA SVG animations */
@keyframes cta-head-scan {
  0%, 5%    { transform: translateX(-47px); }
  47%, 53%  { transform: translateX(47px); }
  95%, 100% { transform: translateX(-47px); }
}
.cta-head-g {
  animation: cta-head-scan 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center center;
}

@keyframes cta-layer-blink {
  0%, 100% { opacity: 0.95; }
  50%      { opacity: 0.28; }
}
.cta-active-l {
  animation: cta-layer-blink 0.75s ease-in-out infinite;
}

@keyframes cta-nozzle-pulse {
  0%, 100% { opacity: 0.50; }
  50%      { opacity: 0.92; }
}
.cta-nozzle-glow {
  animation: cta-nozzle-pulse 1.0s ease-in-out infinite;
}

@media (max-width: 968px) {
  .tdp-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Printer SVG: visible but constrained — reduce size not presence */
  .cta-print-svg { max-width: 320px; }
}
@media (max-width: 768px) {
  .tdp-cta { padding: 72px 0; }
}
@media (max-width: 540px) {
  .tdp-cta { padding: 56px 0; }
  .cta-print-svg { max-width: 240px; }
  /* Stack CTA buttons, full-width tap targets */
  .tdp-cta .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .tdp-cta .cta-buttons .btn {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 390px) {
  .tdp-cta { padding: 48px 0; }
  .tdp-cta-left h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .cta-print-svg { max-width: 200px; }
}

/* ══════════════════════════════════════
   GSAP INITIAL STATES
══════════════════════════════════════ */
.js-enabled .tdp-reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-enabled .tdp-cap-text {
  opacity: 0;
  transform: translateY(24px);
}
.js-enabled .tdp-cap-img {
  opacity: 0;
}
/* Gallery clip-path handled by GSAP set() — no CSS needed */
/* Annotations — hidden until scroll */
.js-enabled .tdp-annot {
  opacity: 0;
  transform: translateY(8px);
}
.js-enabled .tdp-detail-label,
.js-enabled .tdp-detail-h2 {
  opacity: 0;
  transform: translateY(18px);
}
/* Specs band cells */
.js-enabled .tdp-spec-cell {
  opacity: 0;
  transform: translateX(-16px);
}
/* CTA left panel children */
.js-enabled .tdp-cta-left > * {
  opacity: 0;
  transform: translateY(20px);
}

/* ══════════════════════════════════════
   REDUCED MOTION — content visibility
   GSAP detects prefers-reduced-motion and
   returns early after the hero, leaving all
   other elements at opacity:0 forever.
   These overrides ensure everything is
   visible when motion is disabled.
══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .js-enabled .tdp-hero-h1,
  .js-enabled .tdp-reveal,
  .js-enabled .tdp-cap-text,
  .js-enabled .tdp-cap-img,
  .js-enabled .tdp-annot,
  .js-enabled .tdp-detail-label,
  .js-enabled .tdp-detail-h2,
  .js-enabled .tdp-spec-cell,
  .js-enabled .tdp-cta-left > * {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  /* Also kill the SVG print-head scan — respects user preference */
  .cta-head-g   { animation: none !important; }
  .cta-active-l { animation: none !important; }
  .cta-nozzle-glow { animation: none !important; }
}
