/* ============================================================
   Tech-Winder page — styles specific to /products/tech-winder/.
   Builds on the shared classes in assets/css/site.css (buttons,
   eyebrow, section header title, tabs, modal overlay, customer
   marquee, product-card image/placeholder helpers).
   ============================================================ */

.trs-tw-breadcrumb { padding: 14px 0; background: var(--graphite-900); }
.trs-tw-breadcrumb .trs-container { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 13px; }
.trs-tw-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.trs-tw-breadcrumb a:hover { color: #fff; }
.trs-tw-breadcrumb span:not([aria-current]) { color: rgba(255,255,255,0.28); }
.trs-tw-breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.trs-tw-hero { background: var(--graphite-900); padding: 12px 0 72px; }
.trs-tw-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }

.trs-tw-media { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.trs-tw-media__frame {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  border: 1px solid var(--graphite-700); overflow: hidden; background: #fff;
}
.trs-tw-media__frame.is-video { aspect-ratio: 16 / 9; background: var(--graphite-950); }
.trs-tw-media__frame img, .trs-tw-media__frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.trs-tw-media__frame img { object-fit: contain; }
.trs-tw-media__frame video { object-fit: cover; }
.trs-tw-media__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--graphite-500); background: var(--graphite-950);
}
.trs-tw-media__placeholder span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 0 20px; }
.trs-tw-media__thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.trs-tw-thumb {
  position: relative; width: 64px; height: 64px; border-radius: var(--radius-sm); cursor: pointer; overflow: hidden;
  border: 1px solid var(--graphite-600); background: var(--graphite-950); padding: 0;
}
.trs-tw-thumb.is-active { border: 2px solid var(--brand); }
.trs-tw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trs-tw-thumb__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--graphite-800); }
.trs-tw-thumb__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--graphite-800); color: var(--graphite-500); font-family: var(--font-mono); font-size: 9px; text-align: center; padding: 2px; line-height: 1.2; }

.trs-tw-hero__title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.04;
  letter-spacing: -0.02em; text-transform: uppercase; color: #fff; margin: 0;
}
.trs-tw-hero__reg { font-size: 0.55em; vertical-align: super; }
.trs-tw-hero__subtitle {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  text-transform: uppercase; color: var(--amber-400); margin: -6px 0 16px;
}
.trs-tw-hero__body { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6; color: var(--graphite-200); margin: 0 0 14px; }

.trs-tw-variant { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--graphite-700); }
.trs-tw-variant__label { font-family: var(--font-sans); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite-400); }
.trs-tw-variant__label span { color: #fff; }
.trs-tw-variant__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.trs-tw-variant__pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase;
  cursor: pointer; border: 1px solid var(--graphite-600); background: transparent; color: var(--graphite-200);
  transition: all var(--dur-fast) var(--ease-standard);
}
.trs-tw-variant__pill.is-active { border-color: var(--brand); background: var(--crimson-800); color: #fff; }
.trs-tw-variant__desc { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.5; color: var(--graphite-400); margin: 0; }

.trs-tw-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 900px) {
  .trs-tw-hero__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Features + specs
   --------------------------------------------------------------- */
.trs-tw-feat-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 72px 0; }
.trs-tw-feat-specs > div > .trs-section-header__title { margin: 6px 0 22px; }
.trs-tw-features {
  display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-8); background: var(--color-surface);
}
.trs-tw-feature { display: flex; align-items: flex-start; gap: 12px; }
.trs-tw-feature svg { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.trs-tw-feature span { font-family: var(--font-sans); font-size: 15px; line-height: 1.5; color: var(--text-body); }

.trs-tw-spec-table { margin-top: 20px; border-top: 1px solid var(--color-border); }
.trs-tw-spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
.trs-tw-spec-row span { font-family: var(--font-sans); font-size: 13.5px; color: var(--text-muted); }
.trs-tw-spec-row strong { font-family: var(--font-mono); font-weight: 500; font-size: 13.5px; color: var(--text-strong); text-align: right; }

@media (max-width: 900px) {
  .trs-tw-feat-specs { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Plant gallery
   --------------------------------------------------------------- */
.trs-tw-plants { background: var(--graphite-900); padding: 72px 0; }
.trs-tw-plants__title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08;
  letter-spacing: -0.01em; text-transform: uppercase; color: #fff; margin: 6px 0 36px;
}
.trs-tw-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trs-tw-gallery-item__frame {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-md); border: 1px solid var(--graphite-700);
  overflow: hidden; background: var(--graphite-950);
}
.trs-tw-gallery-item__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.trs-tw-gallery-item__placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  color: var(--graphite-500); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.trs-tw-gallery-item__expand {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: var(--radius-sm); border: none;
  background: rgba(0,0,0,0.5); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.trs-tw-gallery-item__caption { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: 13px; color: var(--graphite-400); line-height: 1.4; }

@media (max-width: 900px) { .trs-tw-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trs-tw-gallery { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------- */
.trs-tw-faq { max-width: 840px; }
.trs-tw-faq__list { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.trs-tw-faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.trs-tw-faq-item__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px;
  border: none; background: transparent; cursor: pointer; text-align: left;
}
.trs-tw-faq-item__head span { font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: var(--text-strong); }
.trs-tw-faq-item__chevron { color: var(--brand); flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-standard); }
.trs-tw-faq-item--open .trs-tw-faq-item__chevron { transform: rotate(180deg); }
.trs-tw-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-standard); }
.trs-tw-faq-item--open .trs-tw-faq-item__answer { max-height: 240px; }
.trs-tw-faq-item__answer p { margin: 0 24px 22px; font-family: var(--font-sans); font-size: 14px; line-height: 1.6; color: var(--text-body); }

/* ---------------------------------------------------------------
   Shared arrow buttons (lightbox)
   --------------------------------------------------------------- */
.trs-tw-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; z-index: 2;
}
.trs-tw-arrow:hover { background: rgba(255,255,255,0.2); }
.trs-tw-arrow--prev { left: 24px; }
.trs-tw-arrow--next { right: 24px; }

/* ---------------------------------------------------------------
   Plant lightbox
   --------------------------------------------------------------- */
.trs-tw-lightbox {
  position: fixed; inset: 0; background: rgba(12,14,17,0.88); display: flex; align-items: center; justify-content: center;
  z-index: 210; padding: 40px;
}
.trs-tw-lightbox[hidden] { display: none; }
.trs-tw-lightbox__panel { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 80vw; position: relative; }
.trs-tw-lightbox__close {
  position: absolute; top: -44px; right: 0; border: none; background: transparent; cursor: pointer; color: #fff;
  font-size: 28px; line-height: 1; padding: 0;
}
.trs-tw-lightbox__frame {
  position: relative; width: min(80vw, 900px); height: min(70vh, 675px); background: var(--graphite-950);
  border-radius: var(--radius-md); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.trs-tw-lightbox__frame img { width: 100%; height: 100%; object-fit: contain; }
.trs-tw-lightbox__frame .trs-tw-media__placeholder { position: absolute; }
.trs-tw-lightbox__caption { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); color: #fff; }
.trs-tw-lightbox__counter { font-family: var(--font-mono); font-size: 12px; color: var(--graphite-400); }

/* ---------------------------------------------------------------
   Downloads modal
   --------------------------------------------------------------- */
.trs-tw-downloads-modal { max-width: 480px; }
.trs-tw-downloads-modal__body { display: flex; flex-direction: column; gap: 10px; }
.trs-tw-downloads-modal__label { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.trs-tw-download-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  border-radius: var(--radius-md); background: var(--graphite-50); text-decoration: none;
}
.trs-tw-download-link__name { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 14px; color: var(--text-strong); }
.trs-tw-download-link__name svg { color: var(--brand); flex-shrink: 0; }
.trs-tw-download-link__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-muted); }
.trs-tw-downloads-modal__note { font-family: var(--font-sans); font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
