/* =========================================================
   Tracery landing — v2 (editorial / architectural)
   ========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; scroll-padding-top: 96px; font-variant-numeric: tabular-nums; }
body { transition: background var(--tr-dur-slow) var(--tr-ease), color var(--tr-dur-slow) var(--tr-ease); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Theme variants ---------- */
body[data-bg="sandstone"] { background: var(--tr-bg); color: var(--tr-fg); }
body[data-bg="white"] {
  background: #FFFFFF; color: var(--tr-fg);
  --tr-surface: #FFFFFF; --tr-surface-2: #F4F1EC; --tr-bg: #FFFFFF;
}
body[data-bg="dark"] {
  background: #1A1916; color: #ECE7DE;
  --tr-bg: #1A1916; --tr-surface: #232220; --tr-surface-2: #2B2926;
  --tr-fg: #ECE7DE; --tr-fg-2: #98928A; --tr-fg-disabled: #5C5853;
  --tr-border: #34322F; --tr-border-strong: #44413D;
  --tr-accent-subtle: rgba(196, 106, 45, 0.14);
}

/* Density */
body[data-density="airy"]    { --tr-section-y: 144px; --tr-h1-size: 96px; --tr-h2-size: 56px; }
body[data-density="regular"] { --tr-section-y: 104px; --tr-h1-size: 80px; --tr-h2-size: 44px; }
body[data-density="compact"] { --tr-section-y: 72px;  --tr-h1-size: 60px; --tr-h2-size: 32px; }
@media (max-width: 900px) {
  body[data-density="airy"]    { --tr-h1-size: 56px; --tr-h2-size: 36px; --tr-section-y: 80px; }
  body[data-density="regular"] { --tr-h1-size: 46px; --tr-h2-size: 30px; --tr-section-y: 64px; }
  body[data-density="compact"] { --tr-h1-size: 36px; --tr-h2-size: 26px; --tr-section-y: 48px; }
}

/* Accent */
body[data-accent="restraint"] { --tr-accent-broad: var(--tr-fg-2); }
body[data-accent="balanced"]  { --tr-accent-broad: var(--tr-accent); }
body[data-accent="bold"]      { --tr-accent-broad: var(--tr-accent); }

/* ---------- Layout primitives ---------- */
.tr-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .tr-container { padding: 0 20px; } }

.tr-section {
  padding-top: var(--tr-section-y, 104px);
  padding-bottom: var(--tr-section-y, 104px);
}

.lp-h1 {
  font-family: var(--tr-font-display);
  font-weight: 300;
  letter-spacing: var(--tr-ls-display);
  font-size: var(--tr-h1-size, 80px);
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0;
}
.lp-h2 {
  font-family: var(--tr-font-display);
  font-weight: 300;
  letter-spacing: var(--tr-ls-display);
  text-transform: uppercase;
  font-size: var(--tr-h2-size, 44px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
}

/* ---------- Section markers (§ 01 / 04 — WHAT WE BUILD) ---------- */
.lp-marker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--tr-fg);
  border-bottom: 1px solid var(--tr-border);
  margin-bottom: 64px;
  font-family: var(--tr-font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tr-fg);
}
.lp-marker__num   { color: var(--tr-accent); font-variant-numeric: tabular-nums; }
.lp-marker__title { letter-spacing: 0.22em; }
.lp-marker__meta  { color: var(--tr-fg-2); }

/* ---------- Top nav ---------- */
.tr-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--tr-bg) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tr-border);
}
.tr-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 32px; }
.tr-nav__logo { display: flex; align-items: center; transition: opacity var(--tr-dur-base) var(--tr-ease); align-self: stretch; padding: 2px 0; }
.tr-nav__logo:hover { opacity: 0.8; }
.tr-nav__logo img { height: var(--lp-nav-logo-h, 61px); width: auto; display: block; transition: height var(--tr-dur-base) var(--tr-ease); }
body[data-dark="true"] .tr-nav__logo img,
body[data-dark="true"] .tr-footer__brand img { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.tr-nav__links { display: flex; gap: 36px; align-items: center; }
.tr-nav__link { font-size: 14px; letter-spacing: 0.02em; color: var(--tr-fg-2); transition: color var(--tr-dur-base) var(--tr-ease); }
.tr-nav__link:hover { color: var(--tr-fg); }
.tr-nav__cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 720px) { .tr-nav__links { display: none; } }

/* ---------- Buttons ---------- */
.tr-btn { font-family: var(--tr-font-sans); letter-spacing: 0.02em; }

/* ---------- Language toggle (EN | NL) ---------- */
.tr-lang {
  display: inline-flex;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: 6px;
  overflow: hidden;
  height: 36px;
  flex: 0 0 auto;
}
.tr-lang__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0 12px;
  min-width: 38px;
  height: 100%;
  font-family: var(--tr-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--tr-fg-2);
  cursor: pointer;
  transition: background var(--tr-dur-base) var(--tr-ease),
              color var(--tr-dur-base) var(--tr-ease);
}
.tr-lang__btn + .tr-lang__btn { border-left: 1px solid var(--tr-border); }
.tr-lang__btn:hover { color: var(--tr-fg); background: var(--tr-surface-2); }
.tr-lang__btn.is-active {
  background: var(--tr-accent-subtle);
  color: var(--tr-accent-active);
}
.tr-btn--lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 8px; }
.tr-btn--primary { box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.tr-btn .tr-arrow { display: inline-block; transition: transform var(--tr-dur-base) var(--tr-ease); }
.tr-btn:hover .tr-arrow { transform: translateX(3px); }

/* Banner image hero */
.tr-hero__banner {
  width: 100%;
  height: clamp(260px, 36vw, 460px);
  overflow: hidden;
  position: relative;
  background: var(--tr-surface-2);
  border-bottom: 1px solid var(--tr-border-strong);
}
.tr-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 92%;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
body[data-bg="dark"] .tr-hero__banner img { filter: saturate(0.85) brightness(0.7) contrast(1.05); }

/* HERO — asymmetric editorial */
.tr-hero__press-copy .tr-hero__sub { min-height: calc(1.5em * 3); }
.tr-hero {
  position: relative;
  border-bottom: 1px solid var(--tr-border);
  overflow: hidden;
}

/* Solo hero (motif as ambient backdrop, no spec card) */
.tr-hero--solo .tr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}
.tr-hero--solo .tr-hero__bg > svg,
.tr-hero--solo .tr-hero__bg > * {
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  max-height: 110%;
}
.tr-hero--solo .tr-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    transparent 0%, transparent 45%, var(--tr-bg) 100%);
}
body[data-bg="dark"] .tr-hero--solo .tr-hero__bg { opacity: 0.4; }

.tr-hero__inner-solo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding-top: 112px;
  padding-bottom: 112px;
  max-width: 880px;
  margin: 0 auto;
}
.tr-hero__inner-solo .tr-hero__eyebrow { margin-bottom: 32px; }
.tr-hero__inner-solo .tr-hero__eyebrow::before { display: none; }
.tr-hero__inner-solo h1 { max-width: 16ch; }
.tr-hero__inner-solo .tr-hero__sub { margin-top: 28px; max-width: 56ch; }
.tr-hero__inner-solo .tr-hero__ctas { justify-content: center; }
.tr-hero__inner-solo .tr-hero__check { justify-content: center; }
@media (max-width: 720px) {
  .tr-hero__inner-solo { padding-top: 72px; padding-bottom: 72px; }
}

/* Legacy split hero (kept for back-compat, unused now) */
.tr-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 80px;
  align-items: stretch;
  padding-top: 80px;
  padding-bottom: 0;
}
@media (max-width: 1024px) {
  .tr-hero__inner { grid-template-columns: 1fr; gap: 56px; padding-top: 64px; }
}

.tr-hero__left {
  display: flex; flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
  position: relative;
}
.tr-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tr-fg-2); margin-bottom: 32px;
}
.tr-hero__eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--tr-accent);
}

.tr-hero h1 { max-width: 14ch; }
.tr-hero h1 .accent { color: var(--tr-accent); font-style: normal; }

.tr-hero__sub {
  margin-top: 28px;
  max-width: 48ch;
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--tr-fg-2);
  line-height: 1.85;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
}
.tr-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.tr-hero__check {
  display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px;
  color: var(--tr-fg-2); font-size: 13px;
}
.tr-hero__check span { display: inline-flex; align-items: center; gap: 8px; }
.tr-hero__check .dot { width: 5px; height: 5px; background: var(--tr-accent); border-radius: 999px; }

/* Spec card — right side */
.tr-hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
}
.tr-spec {
  position: relative;
  flex: 1;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-3);
  box-shadow: var(--tr-shadow-2);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 520px;
  margin-bottom: 80px;
}
@media (max-width: 1024px) { .tr-spec { min-height: 440px; margin-bottom: 0; } }

.tr-spec__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--tr-border);
  font-family: var(--tr-font-mono);
  font-size: 11px;
  color: var(--tr-fg-2);
  letter-spacing: 0.02em;
}
.tr-spec__head .dots { display: inline-flex; gap: 6px; }
.tr-spec__head .dots span {
  width: 8px; height: 8px; border-radius: 999px; background: var(--tr-border-strong);
}
.tr-spec__head .dots span:first-child { background: var(--tr-accent); }
.tr-spec__body { flex: 1; position: relative; }
.tr-spec__body svg { width: 100%; height: 100%; display: block; }
.tr-spec__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 18px;
  pointer-events: none;
}
.tr-spec__cap {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--tr-fg-2);
  background: color-mix(in srgb, var(--tr-surface) 90%, transparent);
  padding: 6px 10px; border-radius: 4px;
  border: 1px solid var(--tr-border);
}
.tr-spec__foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--tr-border);
  font-family: var(--tr-font-mono); font-size: 11px;
  color: var(--tr-fg-2);
}
.tr-spec__foot div { padding: 12px 14px; border-right: 1px solid var(--tr-border); }
.tr-spec__foot div:last-child { border-right: 0; }
.tr-spec__foot strong { display:block; color: var(--tr-fg); font-weight: 300; font-size: 14px; letter-spacing: 0; margin-top: 2px; font-family: var(--tr-font-sans); }

/* Hero meta strip — below hero columns */
.tr-hero__strip {
  border-top: 1px solid var(--tr-border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.tr-hero__strip > div {
  padding: 24px 32px;
  border-right: 1px solid var(--tr-border);
  display: flex; flex-direction: column; gap: 4px;
}
.tr-hero__strip > div:last-child { border-right: 0; }
.tr-hero__strip .num {
  font-family: var(--tr-font-display);
  font-size: 36px; letter-spacing: 0.04em;
  line-height: 1; color: var(--tr-fg);
}
.tr-hero__strip .num .accent { color: var(--tr-accent); }
.tr-hero__strip .lbl {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--tr-fg-2);
}
@media (max-width: 720px) {
  .tr-hero__strip { grid-template-columns: repeat(2, 1fr); }
  .tr-hero__strip > div { padding: 18px 20px; border-bottom: 1px solid var(--tr-border); }
  .tr-hero__strip > div:nth-child(2) { border-right: 0; }
  .tr-hero__strip > div:nth-child(3),
  .tr-hero__strip > div:nth-child(4) { border-bottom: 0; }
}

/* ---------- HERO — press release layout ---------- */
.tr-hero--press .tr-hero__press {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 56px;
}
@media (max-width: 1024px) {
  .tr-hero--press .tr-hero__press { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
}
.tr-hero__press-copy { display: flex; flex-direction: column; gap: 18px; }
.tr-hero__h1 { font-size: clamp(32px, 2.6vw, 40px) !important; line-height: 1.04; min-height: calc(1.04em * 3); }
.tr-hero__press-media { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tr-hero__press-window {
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-3);
  overflow: hidden;
  box-shadow:
    0 20px 44px -12px rgba(169, 85, 31, 0.28),
    0 6px 16px rgba(43, 43, 43, 0.08);
  transition: transform var(--tr-dur-slow) var(--tr-ease),
              box-shadow var(--tr-dur-slow) var(--tr-ease);
}
.tr-hero__press-window:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 54px -12px rgba(169, 85, 31, 0.36),
    0 8px 20px rgba(43, 43, 43, 0.10);
}
.tr-hero__press-window img { display: block; width: 100%; height: auto; }

/* ---------- Shot carousel (tool × screenshot navigator) ---------- */
.tr-shot-stage {
  position: relative;
  outline: none;
  overflow: hidden;
}
.tr-shot-stage:focus-visible { box-shadow: var(--tr-focus-ring), var(--tr-shadow-2); }
.tr-shot-frame {
  position: relative;
  aspect-ratio: 1667 / 870;
  background: var(--tr-surface-2);
  overflow: hidden;
}
.tr-shot-frame > img,
.tr-shot-frame > svg,
.tr-shot-frame > iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  animation: trShotFade 320ms var(--tr-ease) both;
}
.tr-shot-frame > iframe {
  border: 0;
  background: #faf9f5;
}
@keyframes trShotFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
.tr-shot-ph {
  display: block;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: #14110d;
  overflow: hidden;
}
.tr-shot-ph .tr-shot-ph__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  filter: contrast(1.04) brightness(0.92);
}
.tr-shot-ph__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,13,0) 55%, rgba(20,17,13,0.55) 100%);
}
.tr-shot-ph__badge {
  position: absolute;
  top: clamp(14px, 1.6vw, 22px);
  left: clamp(16px, 1.8vw, 26px);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F4F1EC;
  background: rgba(15,12,9,0.55);
  border: 1px solid rgba(244,241,236,0.18);
  padding: 6px 11px 6px 9px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tr-shot-ph__dot {
  width: 7px; height: 7px;
  background: var(--tr-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(196,106,45,0.22);
  animation: trShotPhPulse 1.8s ease-in-out infinite;
}
@keyframes trShotPhPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.tr-shot-ph__caption {
  position: absolute;
  left: clamp(18px, 2.2vw, 32px);
  right: clamp(18px, 2.2vw, 32px);
  bottom: clamp(16px, 2vw, 28px);
  display: flex; flex-direction: column; gap: 6px;
  color: #F4F1EC;
}
.tr-shot-ph__eyebrow {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8D3BE;
}
.tr-shot-ph__title {
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-wrap: balance;
  max-width: 24ch;
}

/* Overlay — appears on hover/focus-within */
.tr-shot-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--tr-dur-base) var(--tr-ease);
}
.tr-shot-stage:hover .tr-shot-overlay,
.tr-shot-stage:focus-within .tr-shot-overlay { opacity: 1; }
.tr-shot-overlay > * { pointer-events: auto; }

/* Arrow buttons */
.tr-shot-nav {
  position: absolute;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tr-surface) 88%, transparent);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-2);
  color: var(--tr-fg);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--tr-shadow-1);
  transition:
    background var(--tr-dur-base) var(--tr-ease),
    border-color var(--tr-dur-base) var(--tr-ease),
    color var(--tr-dur-base) var(--tr-ease),
    transform var(--tr-dur-base) var(--tr-ease);
}
.tr-shot-nav:hover {
  background: var(--tr-surface);
  border-color: var(--tr-accent);
  color: var(--tr-accent);
}
.tr-shot-nav:disabled { opacity: 0; pointer-events: none; }
.tr-shot-nav--up    { top: 14px;    left: 50%; transform: translateX(-50%); }
.tr-shot-nav--up:hover    { transform: translateX(-50%) translateY(-2px); }
.tr-shot-nav--down  { bottom: 14px; left: 50%; transform: translateX(-50%); }
.tr-shot-nav--down:hover  { transform: translateX(-50%) translateY(2px); }
.tr-shot-nav--left  { left: 14px;   top: 50%;  transform: translateY(-50%); }
.tr-shot-nav--left:hover  { transform: translateY(-50%) translateX(-2px); }
.tr-shot-nav--right { right: 14px;  top: 50%;  transform: translateY(-50%); }
.tr-shot-nav--right:hover { transform: translateY(-50%) translateX(2px); }

/* Dots */
.tr-shot-dots {
  position: absolute;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--tr-surface) 80%, transparent);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tr-shot-dots--v {
  flex-direction: column;
  left: 56px; top: 50%; transform: translateY(-50%);
}
.tr-shot-dots--h {
  bottom: 56px; left: 50%; transform: translateX(-50%);
}
.tr-shot-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tr-border-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--tr-dur-base) var(--tr-ease), transform var(--tr-dur-base) var(--tr-ease);
}
.tr-shot-dot:hover { background: var(--tr-fg-2); }
.tr-shot-dot.is-active { background: var(--tr-accent); transform: scale(1.4); }

/* Coordinate readout — top-left */
.tr-shot-coord {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex; gap: 6px;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--tr-surface) 80%, transparent);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-pill);
  font-family: var(--tr-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--tr-fg-2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tr-shot-coord__sep { opacity: 0.5; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.tr-products-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--tr-border);
}
.tr-products-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: end;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .tr-products-hero__grid { grid-template-columns: 1fr; gap: 24px; }
}
.tr-products-hero__h1 {
  font-size: clamp(36px, 4.2vw, 56px) !important;
  line-height: 1.05;
  margin: 0;
  max-width: 18ch;
}
.tr-em-hero-h1 {
  font-size: clamp(28px, 3vw, 40px) !important;
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 22px;
}
.tr-em-hero-grid { row-gap: 0; align-items: start; }
.tr-ov-hero-h1 {
  font-size: clamp(28px, 2.8vw, 38px) !important;
}
.tr-products-hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--tr-fg-2);
  max-width: 56ch;
  margin: 0;
}

/* Product sections (alternating left/right) */
.tr-product-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--tr-border);
}
.tr-product-section:nth-of-type(even) { background: var(--tr-surface-2); }
.tr-product-section:last-of-type      { border-bottom: 0; }

.tr-product-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.tr-product-section--reverse .tr-product-section__grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
}
.tr-product-section--reverse .tr-product-section__copy { order: 2; }
.tr-product-section--reverse .tr-hero__press-media { order: 1; }

@media (max-width: 900px) {
  .tr-product-section__grid,
  .tr-product-section--reverse .tr-product-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tr-product-section--reverse .tr-product-section__copy,
  .tr-product-section--reverse .tr-hero__press-media { order: unset; }
}

.tr-product-section__copy { display: flex; flex-direction: column; gap: 18px; }
.tr-product-section__h2 {
  font-size: clamp(28px, 2.6vw, 40px) !important;
  line-height: 1.1;
  margin: 0;
  text-transform: none;
  font-family: var(--tr-font-sans) !important;
  letter-spacing: -0.005em !important;
  font-weight: 500;
}
.tr-product-section__body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--tr-fg-2);
  max-width: 50ch;
  margin: 0;
}
.tr-product-section__rule {
  border: 0;
  border-top: 1px solid var(--tr-border);
  margin: 6px 0;
  max-width: 50ch;
  width: 100%;
}

.tr-product-section__bullets {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tr-product-section__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tr-fg);
  white-space: pre-line;
}
.tr-product-section__bullet-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tr-accent);
  flex: 0 0 auto;
  margin-top: 8px;
}

.tr-product-section__ctas {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px;
}

/* Status pill */
.tr-product-status {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--tr-r-pill);
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  color: var(--tr-fg-2);
}
.tr-product-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tr-fg-2);
}
.tr-product-status--accent { color: var(--tr-accent-active); background: var(--tr-accent-subtle); border-color: transparent; }
.tr-product-status--accent .dot { background: var(--tr-accent); }
.tr-product-status--live { color: #14532D; background: var(--tr-success-subtle); border-color: transparent; }
.tr-product-status--live .dot { background: var(--tr-success); }

/* ============================================================
   PRODUCTS OVERVIEW — product grid + cards
   ============================================================ */
.tr-prodgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 820px) { .tr-prodgrid { grid-template-columns: 1fr; gap: 22px; } }

.tr-prodcard {
  display: flex;
  flex-direction: column;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-3);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--tr-shadow-1);
  transition: box-shadow var(--tr-dur-base) var(--tr-ease),
              transform var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease);
}
a.tr-prodcard:hover {
  box-shadow: var(--tr-shadow-3);
  transform: translateY(-3px);
  border-color: var(--tr-accent);
}
.tr-prodcard--dev { cursor: default; }

.tr-prodcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tr-fg);
  border-bottom: 1px solid var(--tr-border);
}
.tr-prodcard__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  display: block;
  transition: transform 600ms var(--tr-ease);
}
a.tr-prodcard:hover .tr-prodcard__media img { transform: scale(1.03); }
.tr-prodcard--dev .tr-prodcard__media img { filter: grayscale(0.35) contrast(0.96); opacity: 0.9; }
.tr-prodcard__media .tr-product-status {
  position: absolute; top: 14px; left: 14px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.tr-prodcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 30px);
  flex: 1 1 auto;
}
.tr-prodcard__num {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--tr-fg-2);
}
.tr-prodcard__name {
  font-family: var(--tr-font-display, var(--tr-font-sans));
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.1; font-weight: 600; margin: 0;
  color: var(--tr-fg);
}
.tr-prodcard__meta {
  font-family: var(--tr-font-mono);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--tr-fg-2); margin: 0;
}
.tr-prodcard__desc {
  font-size: 15px; line-height: 1.6;
  color: var(--tr-fg-2); margin: 4px 0 0;
  text-wrap: pretty;
}
.tr-prodcard__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 14px;
  font-family: var(--tr-font-mono);
  font-size: 13px; letter-spacing: 0.03em; font-weight: 600;
  color: var(--tr-accent-active);
  text-decoration: none;
}
.tr-prodcard__cta .tr-arrow { transition: transform var(--tr-dur-base) var(--tr-ease); }
a.tr-prodcard:hover .tr-prodcard__cta .tr-arrow,
.tr-prodcard__cta--soft:hover .tr-arrow { transform: translateX(4px); }
button.tr-prodcard__cta { background: none; border: 0; cursor: pointer; text-align: left; font: inherit; }
.tr-prodcard__cta--soft { color: var(--tr-fg-2); }
.tr-prodcard__cta--soft:hover { color: var(--tr-accent-active); }

.tr-overview-cta {
  border-top: 1px solid var(--tr-border);
  padding-top: clamp(28px, 4vw, 48px);
}
.tr-overview-cta__copy { max-width: 62ch; display: flex; flex-direction: column; gap: 14px; }

/* ============================================================
   PRICING — filing-cabinet tabs
   ============================================================ */
.tr-coming-shot { margin: 0; }
.tr-coming-shot__frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--tr-border-strong);
  background: var(--tr-surface-2);
  aspect-ratio: 4 / 3;
}
.tr-coming-shot__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
}
.tr-coming-shot__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20,18,15,0.05) 0%,
    rgba(20,18,15,0.55) 100%);
}
.tr-coming-shot__badge {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20,18,15,0.7);
  backdrop-filter: blur(8px);
  color: #f6f4ef;
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tr-coming-shot__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tr-accent);
  box-shadow: 0 0 0 3px rgba(217,119,87,0.25);
}

.tr-pricing {
  padding: 96px 0;
  background: var(--tr-bg);
  border-bottom: 1px solid var(--tr-border);
}
.tr-pricing__intro { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 80ch; }
.tr-pricing__h2 {
  font-size: clamp(28px, 2.6vw, 40px) !important;
  line-height: 1.1;
  text-transform: none !important;
  font-family: var(--tr-font-sans) !important;
  letter-spacing: -0.005em !important;
  font-weight: 500;
}
.tr-pricing__sub { color: var(--tr-fg-2); font-size: 17px; margin: 0; }

/* ---------- Filing-cabinet tabs ---------- */
.tr-cab {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-left: 24px;
  position: relative;
  z-index: 1;
}
.tr-cab__tab {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 10px 20px 12px;
  background: color-mix(in srgb, var(--tr-surface-2) 70%, var(--tr-bg) 30%);
  border: 1px solid var(--tr-border);
  border-bottom: 1px solid var(--tr-border-strong);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: var(--tr-fg-2);
  cursor: pointer;
  min-width: 160px;
  margin-bottom: -1px;
  transition:
    transform var(--tr-dur-base) var(--tr-ease),
    background var(--tr-dur-base) var(--tr-ease),
    color var(--tr-dur-base) var(--tr-ease);
}
.tr-cab__tab + .tr-cab__tab { margin-left: -1px; }
.tr-cab__tab:hover {
  color: var(--tr-fg);
  background: color-mix(in srgb, var(--tr-surface) 60%, var(--tr-bg) 40%);
}
.tr-cab__tab.is-active {
  background: var(--tr-surface);
  border-color: var(--tr-border-strong);
  border-bottom-color: var(--tr-surface);
  color: var(--tr-fg);
  z-index: 2;
  padding-top: 12px;
  padding-bottom: 14px;
}
.tr-cab__tab-label {
  font-family: var(--tr-font-display);
  font-size: 13px;
  letter-spacing: var(--tr-ls-display);
  text-transform: uppercase;
}
.tr-cab__tab-hint {
  font-family: var(--tr-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-fg-2);
}
.tr-cab__tab.is-active .tr-cab__tab-hint { color: var(--tr-accent); }

/* Product-page tabs: active tab matches the page background */
.tr-cab--product .tr-cab__tab.is-active {
  background: var(--tr-bg);
  border-bottom-color: var(--tr-bg);
}

/* The folder body */
.tr-cab__folder {
  background: var(--tr-surface);
  border: 1px solid var(--tr-border-strong);
  border-radius: 0 10px 10px 10px;
  padding: 40px;
  box-shadow:
    0 12px 32px rgba(43,43,43,0.06),
    0 2px 6px rgba(43,43,43,0.03);
  position: relative;
}

/* ---------- Plans (consumer) ---------- */
.tr-pricing__plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .tr-pricing__plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
.tr-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(165deg, #FFFFFF 0%, #FBFAF7 45%, #F4F1EC 100%);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-4);
  transition: border-color var(--tr-dur-base) var(--tr-ease), transform var(--tr-dur-base) var(--tr-ease);
}
.tr-plan--featured {
  border-color: var(--tr-accent);
  box-shadow: 0 8px 24px rgba(196,106,45,0.08);
}
.tr-plan__badge {
  position: absolute;
  top: -10px; left: 24px;
  background: var(--tr-accent);
  color: var(--tr-fg-on-accent);
  font-family: var(--tr-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--tr-r-pill);
}
.tr-plan__badge--alt {
  background: var(--tr-bg);
  color: var(--tr-fg-2);
  border: 1px solid var(--tr-border);
}
.tr-plan__head { display: flex; flex-direction: column; gap: 8px; }
.tr-plan__name {
  font-family: var(--tr-font-display);
  font-size: 16px;
  letter-spacing: var(--tr-ls-display);
  text-transform: uppercase;
  color: var(--tr-fg-2);
  margin: 0;
  font-weight: 300;
}
.tr-plan__price-row {
  display: flex; align-items: baseline; gap: 10px;
}
.tr-plan__price {
  font-family: var(--tr-font-display);
  font-size: 44px;
  letter-spacing: 0.02em;
  color: var(--tr-fg);
  line-height: 1;
}
.tr-plan--featured .tr-plan__price { color: var(--tr-accent); }
.tr-plan__price--text {
  font-size: 30px;
  letter-spacing: var(--tr-ls-display);
}
.tr-plan__subnote {
  list-style: none;
  margin: -4px 0 4px 26px;
  padding: 0;
  font-size: 13px;
  color: var(--tr-fg-2);
}
.tr-plan__per {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tr-fg-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}
.tr-plan__per-vat {
  color: var(--tr-fg-3, var(--tr-fg-2));
  opacity: 0.7;
}
.tr-plan__pitch {
  font-size: 14px; color: var(--tr-fg-2); line-height: 1.55; margin: 0;
}
.tr-plan__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 18px; border-top: 1px dashed var(--tr-border);
}
.tr-plan__row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--tr-fg); line-height: 1.5;
}
.tr-plan__row svg {
  flex: 0 0 auto; margin-top: 3px;
  color: var(--tr-accent);
}
.tr-plan__row.is-muted { color: var(--tr-fg-2); }
.tr-plan__row.is-muted svg { color: var(--tr-fg-2); }
.tr-plan__cta { margin-top: auto; width: 100%; }
.tr-plan__addon + .tr-plan__cta { margin-top: 0; }

.tr-plan__addon {
  margin-top: auto;
  padding: 12px 14px;
  border: 1px dashed var(--tr-border);
  border-radius: 8px;
  background: color-mix(in oklab, var(--tr-accent) 5%, transparent);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tr-fg);
}
.tr-plan__addon-tag {
  grid-row: 1;
  align-self: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--tr-accent);
  color: var(--tr-bg);
  white-space: nowrap;
}
.tr-plan__addon-text {
  grid-row: 1;
  align-self: center;
}
.tr-plan__addon-note {
  grid-row: 2;
  grid-column: 2;
  font-size: 12px;
  color: var(--tr-fg-2);
  font-style: italic;
}

/* ---------- Supplier panel ---------- */
.tr-supplier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px 56px;
  align-items: center;
}
@media (max-width: 1024px) { .tr-supplier { grid-template-columns: 1fr; } }
.tr-supplier__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tr-supplier__head { display: flex; flex-direction: column; gap: 14px; }
.tr-supplier__title {
  font-family: var(--tr-font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--tr-fg);
}
.tr-supplier__body { font-size: 16px; line-height: 1.6; color: var(--tr-fg-2); margin: 0; }
.tr-supplier__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.tr-supplier__cta-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px dashed var(--tr-border);
}
.tr-supplier__note {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-fg-2);
}

.tr-supplier__media {
  margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}
.tr-supplier__window {
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.25);
  transition: transform var(--tr-dur-slow) var(--tr-ease);
}
.tr-supplier__window:hover { transform: translateY(-3px); }
.tr-supplier__window img {
  display: block; width: 100%; height: auto;
}
.tr-supplier__cap {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--tr-fg-2);
}

/* Caption tweaks */
.tr-hero__press-cap { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tr-hero__press-cap-name { color: var(--tr-fg); font-weight: 500; }
.tr-hero__press-cap-dot  { opacity: 0.5; }

/* Disable transform-based hover lift on the stage when carousel is inside */
.tr-hero__press-window.tr-shot-stage:hover { transform: none; }
.tr-hero__press-cap {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.04em; color: var(--tr-fg-2);
}

/* ---------- SPOTLIGHT — featured product (press-release scale) ---------- */
.tr-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
  min-height: 640px;
}
@media (max-width: 1024px) {
  .tr-spotlight { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
}
.tr-spotlight__copy { display: flex; flex-direction: column; gap: 28px; }
.tr-spotlight__eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tr-accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.tr-spotlight__eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--tr-accent);
}
.tr-spotlight__copy h2 {
  font-family: var(--tr-font-display);
  font-weight: 300;
  letter-spacing: var(--tr-ls-display);
  text-transform: uppercase;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 18ch;
  color: var(--tr-fg);
}
.tr-spotlight__body {
  color: var(--tr-fg-2); font-size: 16px; line-height: 1.7;
  max-width: 48ch; margin: 0;
}
.tr-spotlight__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

.tr-spotlight__media {
  margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.tr-spotlight__window {
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-3);
  overflow: hidden;
  box-shadow: var(--tr-shadow-3);
  position: relative;
  transition: transform var(--tr-dur-slow) var(--tr-ease);
}
.tr-spotlight__window:hover { transform: translateY(-3px); }
.tr-spotlight__window img {
  display: block; width: 100%; height: auto;
}
.tr-spotlight__cap {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--tr-fg-2);
}

/* ---------- LOGOS — marquee ---------- */
.tr-logos {
  padding: 56px 0;
  border-top: 1px solid var(--tr-border);
  border-bottom: 1px solid var(--tr-border);
}
.tr-logos__head {
  text-align: center; color: var(--tr-fg-2);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 28px;
}
.tr-logos__track {
  --gap: 80px;
  display: flex;
  width: max-content;
  gap: var(--gap);
  animation: lp-marquee 50s linear infinite;
  align-items: center;
  color: var(--tr-fg-2);
}
.tr-logos__track:hover { animation-play-state: paused; }
.tr-logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
@keyframes lp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tr-logos__cell { flex: 0 0 auto; opacity: 0.7; transition: opacity var(--tr-dur-base) var(--tr-ease), color var(--tr-dur-base) var(--tr-ease); }
.tr-logos__cell:hover { opacity: 1; color: var(--tr-fg); }

/* ---------- FEATURES — editorial numbered list ---------- */
.tr-feat-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 900px) { .tr-feat-intro { grid-template-columns: 1fr; gap: 24px; } }
.tr-feat-intro p { color: var(--tr-fg-2); font-size: 16px; line-height: 1.6; max-width: 56ch; margin: 0; }

.tr-feat-list {
  border-top: 1px solid var(--tr-fg);
}
.tr-feat-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 140px 28px;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--tr-border);
  align-items: start;
  transition: background var(--tr-dur-base) var(--tr-ease);
  position: relative;
}
.tr-feat-row:hover { background: color-mix(in srgb, var(--tr-accent-subtle) 50%, transparent); }
.tr-feat-row::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--tr-accent);
  transition: width 600ms var(--tr-ease);
}
.tr-feat-row:hover::after { width: 100%; }

.tr-feat-row--link { color: inherit; cursor: pointer; }
.tr-feat-go {
  align-self: center;
  justify-self: end;
  color: var(--tr-fg-2);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--tr-dur-base) var(--tr-ease),
              transform var(--tr-dur-base) var(--tr-ease),
              color var(--tr-dur-base) var(--tr-ease);
}
.tr-feat-row--link:hover .tr-feat-go {
  opacity: 1;
  transform: translateX(0);
  color: var(--tr-accent);
}
.tr-feat-row--link:hover .tr-feat-title { color: var(--tr-accent); }

.tr-feat-num {
  font-family: var(--tr-font-display);
  font-size: 48px; line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--tr-accent-broad);
}
body[data-accent="bold"] .tr-feat-num { color: var(--tr-accent); }
.tr-feat-title {
  font-family: var(--tr-font-sans);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0;
  color: var(--tr-fg);
  margin: 0;
  display: flex; align-items: center; gap: 16px;
}
.tr-feat-title svg { color: var(--tr-fg-2); flex-shrink: 0; }
.tr-feat-body {
  color: var(--tr-fg-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: none;
}
.tr-feat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--tr-fg-2);
  white-space: nowrap;
  padding-top: 10px;
}
.tr-feat-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--tr-accent-broad);
}

@media (max-width: 900px) {
  .tr-feat-row { grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; }
  .tr-feat-row > .tr-feat-body,
  .tr-feat-row > .tr-feat-tag { grid-column: 2; }
  .tr-feat-num { font-size: 32px; }
  .tr-feat-title { font-size: 20px; }
  .tr-feat-go { display: none; }
}

/* ---------- TEAM — alternating editorial rows ---------- */
.tr-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .tr-team-grid { grid-template-columns: 1fr; gap: 56px; } }
.tr-team-card { display: block; }

.tr-team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 900px) { .tr-team-intro { grid-template-columns: 1fr; gap: 24px; } }
.tr-team-intro p { color: var(--tr-fg-2); font-size: 16px; line-height: 1.6; max-width: 56ch; margin: 0; }

.tr-team-list { display: flex; flex-direction: column; }
.tr-team-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  padding: 48px 0;
  border-top: 1px solid var(--tr-border);
  align-items: center;
}
.tr-team-row:last-child { border-bottom: 1px solid var(--tr-border); }
.tr-team-row.alt { grid-template-columns: 1fr 320px; }
.tr-team-row.alt .tr-team-portrait { order: 2; }
.tr-team-row.alt .tr-team-meta { order: 1; text-align: right; }
.tr-team-row.alt .tr-team-meta .tr-team-bio { margin-left: auto; }
.tr-team-row.alt .tr-member__meta { justify-content: flex-end; }

.tr-team-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--tr-surface-2);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-3);
  overflow: hidden;
  transition: transform var(--tr-dur-base) var(--tr-ease);
}
.tr-team-row:hover .tr-team-portrait { transform: translateY(-4px); }
.tr-team-portrait svg { width: 100%; height: 100%; }
.tr-team-portrait .num {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--tr-fg-2);
}

.tr-team-meta { display: flex; flex-direction: column; gap: 10px; }
.tr-team-name {
  font-family: var(--tr-font-display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tr-fg);
}
.tr-team-role {
  font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tr-accent-broad);
}
.tr-team-bio {
  color: var(--tr-fg-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 8px;
}
.tr-team-row .tr-member__meta { display: flex; gap: 10px; margin-top: 14px; }
.tr-team-row .tr-member__meta a {
  display: inline-flex; width: 32px; height: 32px;
  border: 1px solid var(--tr-border); border-radius: var(--tr-r-2);
  align-items: center; justify-content: center;
  color: var(--tr-fg-2);
  transition: color var(--tr-dur-base) var(--tr-ease), border-color var(--tr-dur-base) var(--tr-ease);
}
.tr-team-row .tr-member__meta a:hover { color: var(--tr-accent); border-color: var(--tr-accent); }

@media (max-width: 720px) {
  .tr-team-row, .tr-team-row.alt { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .tr-team-row.alt .tr-team-portrait { order: 0; }
  .tr-team-row.alt .tr-team-meta { order: 1; text-align: left; }
  .tr-team-row.alt .tr-member__meta { justify-content: flex-start; }
  .tr-team-portrait { max-width: 280px; }
}

/* ---------- CTA band ---------- */
.tr-cta {
  margin: 0;
  padding: 96px 0;
  border-top: 1px solid var(--tr-border);
  background: var(--tr-surface-2);
  position: relative;
  overflow: hidden;
}
body[data-bg="white"] .tr-cta { background: var(--tr-bg); border-top: 1px solid var(--tr-border); }
body[data-bg="dark"]  .tr-cta { background: var(--tr-surface); }
/* Remove the now-orphaned narrow-screen rule */
.tr-cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  gap: 56px;
}
@media (max-width: 1100px) { .tr-cta__inner { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 900px) { .tr-cta__inner { grid-template-columns: 1fr; gap: 32px; } }
  align-items: center;
  gap: 56px;
}
@media (max-width: 900px) { .tr-cta__inner { grid-template-columns: 1fr; gap: 32px; } }
.tr-cta__head { display: flex; flex-direction: column; gap: 18px; }
.tr-cta__head span.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tr-accent);
}
.tr-cta__sub { color: var(--tr-fg-2); font-size: 16px; line-height: 1.6; max-width: 56ch; margin: 0; white-space: pre-line; }

/* What we build — inline check list */
.tr-cta__what {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  font-size: 14px; color: var(--tr-fg);
}
@media (max-width: 540px) { .tr-cta__what { grid-template-columns: 1fr; } }
.tr-cta__what li { display: flex; align-items: center; gap: 10px; }
.tr-cta__what-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tr-accent); flex: 0 0 auto;
}

/* Right-side contact panel */
.tr-cta__panel {
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-4);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--tr-shadow-1);
  align-self: start;
}
.tr-cta__panel-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--tr-border);
}
.tr-cta__panel-row:nth-child(2) { border-bottom: 0; }
.tr-cta__panel-key {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tr-fg-2);
}
.tr-cta__panel-val { font-size: 14px; color: var(--tr-fg); font-weight: 500; }
.tr-cta__panel .tr-cta__ctas { margin-top: 8px; }
.tr-cta__panel .tr-btn { width: 100%; white-space: nowrap; padding: 0 16px; gap: 6px; }
.tr-cta__panel-foot {
  font-size: 12px; color: var(--tr-fg-2);
  text-align: center; margin-top: 4px;
}
.tr-cta__panel-foot a { color: var(--tr-accent); }

/* Contact rows — phone + email inside CTA panel */
.tr-cta__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.tr-cta__contact-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 14px;
  background: var(--tr-bg);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-2);
  text-decoration: none;
  transition: border-color var(--tr-dur-base) var(--tr-ease), background var(--tr-dur-base) var(--tr-ease);
}
.tr-cta__contact-row:hover {
  border-color: var(--tr-accent);
  background: var(--tr-accent-subtle);
}
.tr-cta__contact-key {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tr-fg-2);
}
.tr-cta__contact-val {
  font-size: 15px; font-weight: 500; color: var(--tr-fg);
}
.tr-cta__contact-row:hover .tr-cta__contact-val { color: var(--tr-accent); }

.tr-cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.tr-footer { border-top: 1px solid var(--tr-border); padding-top: 80px; padding-bottom: 32px; }
.tr-footer__top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--tr-border);
}
.tr-footer__brand img { height: 36px; width: auto; margin-bottom: 16px; }
.tr-footer__brand p { color: var(--tr-fg-2); font-size: 14px; max-width: 36ch; margin: 0 0 16px 0; }
.tr-footer__addr { font-size: 13px; color: var(--tr-fg-2); letter-spacing: 0.02em; line-height: 1.7; }
.tr-footer__col h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tr-fg-2); margin: 0 0 16px 0; }
.tr-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tr-footer__col a { font-size: 14px; color: var(--tr-fg); transition: color var(--tr-dur-base) var(--tr-ease); }
.tr-footer__col a:hover { color: var(--tr-accent); }
.tr-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 12px; color: var(--tr-fg-2); flex-wrap: wrap; gap: 16px; }
.tr-footer__bottom .legal { display: flex; gap: 24px; }
.tr-footer__social,
.tr-nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--tr-dur-base) var(--tr-ease);
}
.tr-footer__social:hover,
.tr-nav__social:hover { opacity: 0.75; }
.tr-nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--tr-dur-base) var(--tr-ease);
}
.tr-nav__social:hover { opacity: 0.75; }
@media (max-width: 900px) { .tr-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tr-footer__top { grid-template-columns: 1fr; } }

/* ---------- Reveal-on-scroll ---------- */
.lp-reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--tr-ease-out), transform 600ms var(--tr-ease-out); }
.lp-reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .lp-reveal, .tr-logos__track { animation: none; opacity: 1; transform: none; transition: none; } }

/* ---------- Live demo strip (Element Manager) ---------- */
.tr-fdemo {
  padding: 24px 0 8px;
}
.tr-fdemo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-2);
  flex-wrap: wrap;
}
.tr-fdemo__meta {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.tr-fdemo__eyebrow {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tr-accent);
}
.tr-fdemo__hint {
  font-size: 14px;
  color: var(--tr-fg-2);
  white-space: pre-line;
}
.tr-fdemo__btn {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.tr-fdemo__ico {
  transition: transform var(--tr-dur-base) var(--tr-ease);
}
.tr-fdemo__btn:hover .tr-fdemo__ico {
  transform: translate(1px, -1px);
}

/* ---------- Live demo lightbox ---------- */
.tr-fdemo__lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.6vw, 22px);
  background: rgba(20, 17, 13, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: fdemoFade 200ms var(--tr-ease);
}
@keyframes fdemoFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.tr-fdemo__modal {
  width: min(1920px, 98vw);
  height: min(1080px, 96vh);
  display: flex;
  flex-direction: column;
  background: #faf9f5;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-2);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(20, 17, 13, 0.45);
  animation: fdemoRise 260ms var(--tr-ease);
}
@keyframes fdemoRise {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
.tr-fdemo__modal-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  border-bottom: 1px solid var(--tr-border);
  background: var(--tr-bg, #fff);
}
.tr-fdemo__modal-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tr-fg-2);
}
.tr-fdemo__modal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tr-accent);
}
.tr-fdemo__close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-fg-1, var(--tr-fg));
  background: transparent;
  border: 1px solid var(--tr-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--tr-dur-base) var(--tr-ease), border-color var(--tr-dur-base) var(--tr-ease);
}
.tr-fdemo__close:hover {
  background: rgba(20, 17, 13, 0.05);
  border-color: var(--tr-fg-2);
}
.tr-fdemo__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #faf9f5;
}
.tr-fdemo__stage iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border: 0;
  background: #faf9f5;
}
@media (max-width: 720px) {
  .tr-fdemo__bar { flex-direction: column; align-items: stretch; }
  .tr-fdemo__btn { justify-content: center; }
}

/* ---------- Lightbox ---------- */
.tr-spotlight__window,
.tr-supplier__window,
.tr-shot-frame,
.tr-hero__press-window,
.tr-tool-shot__frame {
  cursor: zoom-in;
}
/* Zoom badge — CSS-only, no DOM nodes (safe with React-managed children) */
.tr-spotlight__window::after,
.tr-supplier__window::after,
.tr-shot-frame::after,
.tr-hero__press-window::after,
.tr-tool-shot__frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: rgba(20, 18, 14, 0.78);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='6.5'/><path d='M16 16 L21 21'/><path d='M11 8 V14 M8 11 H14'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity var(--tr-dur-base) var(--tr-ease),
    transform var(--tr-dur-base) var(--tr-ease);
  pointer-events: none;
  z-index: 3;
}
.tr-spotlight__window:hover::after,
.tr-supplier__window:hover::after,
.tr-shot-frame:hover::after,
.tr-hero__press-window:hover::after,
.tr-hero__press-window:focus-within::after,
.tr-tool-shot__frame:hover::after {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .tr-spotlight__window::after,
  .tr-supplier__window::after,
  .tr-shot-frame::after,
  .tr-hero__press-window::after,
  .tr-tool-shot__frame::after { opacity: 0.85; transform: none; }
}

html.tr-lightbox-lock,
html.tr-lightbox-lock body { overflow: hidden; }

.tr-lightbox {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(20, 18, 14, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  opacity: 0;
  transition: opacity 220ms var(--tr-ease);
}
.tr-lightbox.is-open { opacity: 1; }
.tr-lightbox[hidden] { display: none; }

/* ----- Main column (counter + image stage) ----- */
.tr-lightbox__main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(10px, 1.4vw, 20px);
}

.tr-lightbox__counter {
  position: absolute;
  top: clamp(14px, 2.2vw, 26px);
  left: clamp(16px, 2.4vw, 30px);
  z-index: 6;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--tr-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.tr-lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr-lightbox__swiper {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.tr-lightbox__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tr-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

/* When the peel-x effect is active, the canvas paints the visuals — keep the
   real <img> elements out of the way (the effect script also flips their
   visibility, this is a belt-and-braces). */
.swiper-peel-x .tr-lightbox__img { visibility: hidden; }
.swiper-peel-canvas {
  pointer-events: none;
}

/* ----- Sidebar panel ----- */
.tr-lightbox__side {
  flex: 0 0 clamp(300px, 26vw, 400px);
  display: flex;
  flex-direction: column;
  background: #F4F1EC;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  transition: flex-basis 300ms var(--tr-ease), opacity 220ms var(--tr-ease);
  overflow: hidden;
}
.tr-lightbox.is-side-collapsed .tr-lightbox__side {
  flex-basis: 64px;
  background: transparent;
  border-left-color: transparent;
}
.tr-lightbox.is-side-empty .tr-lightbox__side {
  flex-basis: 64px;
  background: transparent;
  border-left-color: transparent;
}
.tr-lightbox.is-side-empty .tr-lightbox__info { display: none; }

.tr-lightbox__side-controls {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 1.6vw, 22px) 0;
}
.tr-lightbox__ctrl {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  color: #14120E;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--tr-dur-base) var(--tr-ease), border-color var(--tr-dur-base) var(--tr-ease);
}
.tr-lightbox__ctrl:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.35);
}
.tr-lightbox__ctrl:focus-visible {
  outline: 2px solid var(--tr-accent);
  outline-offset: 2px;
}
.tr-lightbox__info[aria-pressed="false"] {
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
}

.tr-lightbox__side-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(20px, 2.6vw, 34px) clamp(20px, 2.2vw, 34px) clamp(24px, 3vw, 40px);
  transition: opacity 200ms var(--tr-ease);
}
.tr-lightbox.is-side-collapsed .tr-lightbox__side-body,
.tr-lightbox.is-side-empty .tr-lightbox__side-body {
  opacity: 0;
  pointer-events: none;
}
.tr-lightbox__side-eyebrow {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tr-accent);
  margin-bottom: 12px;
}
.tr-lightbox__side-title {
  font-family: var(--tr-font-display, var(--tr-font-sans));
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 600;
  color: #14120E;
  margin: 0 0 16px;
}
.tr-lightbox__side-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(20, 18, 14, 0.78);
  margin: 0;
  white-space: pre-line;
}

.tr-lightbox__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: background var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease),
              opacity var(--tr-dur-base) var(--tr-ease);
}
.tr-lightbox__nav--prev { top: clamp(8px, 2vw, 24px); }
.tr-lightbox__nav--next { bottom: clamp(8px, 2vw, 24px); }
.tr-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.tr-lightbox__nav[disabled] {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.tr-lightbox__nav:focus-visible {
  outline: 2px solid var(--tr-accent);
  outline-offset: 2px;
}

/* Horizontal orientation (phones): arrows on the left/right edges of the stage. */
.tr-lightbox.is-horizontal .tr-lightbox__nav {
  left: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.tr-lightbox.is-horizontal .tr-lightbox__nav--prev {
  left: clamp(6px, 2vw, 16px);
}
.tr-lightbox.is-horizontal .tr-lightbox__nav--prev svg { transform: rotate(-90deg); }
.tr-lightbox.is-horizontal .tr-lightbox__nav--next {
  right: clamp(6px, 2vw, 16px);
}
.tr-lightbox.is-horizontal .tr-lightbox__nav--next svg { transform: rotate(-90deg); }

/* ----- Responsive: stack sidebar as a bottom sheet on narrow screens ----- */
@media (max-width: 760px) {
  .tr-lightbox { flex-direction: column; }

  /* Image gets priority; padding tightened so it isn't a thin strip. */
  .tr-lightbox__main {
    flex: 1 1 auto;
    min-height: 46vh;
    padding: 12px;
  }
  .tr-lightbox__counter {
    top: 14px;
    left: 14px;
  }

  /* Close pulled OUT of the sheet to a fixed, always-reachable spot over the
     image — the sheet sits at the bottom and can collapse to nothing. */
  .tr-lightbox__side-controls {
    position: fixed;
    top: 12px;
    right: 12px;
    padding: 0;
    z-index: 20;
  }
  .tr-lightbox__close {
    background: rgba(20, 18, 14, 0.55);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .tr-lightbox__close:hover {
    background: rgba(20, 18, 14, 0.75);
    border-color: rgba(255, 255, 255, 0.6);
  }

  /* Bottom sheet: scrollable, capped, with a grabber affordance. */
  .tr-lightbox__side {
    flex: 0 0 auto;
    max-height: 40vh;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px 16px 0 0;
    position: relative;
  }
  .tr-lightbox__side::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(20, 18, 14, 0.2);
  }
  .tr-lightbox__side-body {
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* Empty-copy shots: hide the sheet entirely rather than a stub bar. */
  .tr-lightbox.is-side-empty .tr-lightbox__side {
    display: none;
  }
  .tr-lightbox__side-title { font-size: 20px; margin-bottom: 12px; }
  .tr-lightbox__side-desc { font-size: 14px; }
}

/* ---------- Fold-open contact + reusable contact form ---------- */
.tr-foldcontact__btn {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.tr-foldcontact__chev {
  transition: transform var(--tr-dur-base) var(--tr-ease);
}
.tr-foldcontact__btn.is-open .tr-foldcontact__chev {
  transform: rotate(180deg);
}

.tr-foldcontact { display: flex; flex-direction: column; }
.tr-foldcontact__bar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}

.tr-foldcontact__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 320ms var(--tr-ease),
    margin-top 240ms var(--tr-ease),
    opacity   240ms var(--tr-ease);
}
.tr-foldcontact__panel.is-open {
  max-height: 1400px;
  margin-top: 24px;
  opacity: 1;
}

/* General quote/download CTA below the pricing block */
.tr-pricing__foot {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--tr-border);
}
.tr-pricing__foot-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tr-cform {
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-4);
  box-shadow: var(--tr-shadow-2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 640px) {
  .tr-cform { padding: 20px; }
}

.tr-cform__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--tr-border);
}
.tr-cform__eyebrow {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: var(--tr-ls-eyebrow);
  text-transform: uppercase;
  color: var(--tr-accent);
}
.tr-cform__title {
  margin: 0;
  font-family: var(--tr-font-sans);
  font-size: 20px;
  font-weight: var(--tr-w-semi);
  line-height: var(--tr-lh-snug);
  color: var(--tr-fg);
}
.tr-cform__hint {
  margin: 0;
  font-size: 13px;
  color: var(--tr-fg-2);
}

.tr-cform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
@media (max-width: 720px) {
  .tr-cform__grid { grid-template-columns: 1fr; }
}

.tr-cform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.tr-cform__field--full {
  grid-column: 1 / -1;
}

.tr-cform__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: var(--tr-ls-eyebrow);
  text-transform: uppercase;
  color: var(--tr-fg-2);
}
.tr-cform__label em {
  font-style: normal;
  color: var(--tr-accent);
}

.tr-cform__input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border-strong);
  border-radius: var(--tr-r-2);
  padding: 11px 14px;
  font-family: var(--tr-font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--tr-fg);
  transition:
    border-color var(--tr-dur-fast) var(--tr-ease),
    box-shadow   var(--tr-dur-fast) var(--tr-ease),
    background   var(--tr-dur-fast) var(--tr-ease);
}
.tr-cform__input::placeholder { color: var(--tr-fg-disabled); }
.tr-cform__input:hover { border-color: var(--tr-fg-2); }
.tr-cform__input:focus {
  outline: none;
  border-color: var(--tr-accent);
  box-shadow: var(--tr-focus-ring);
}
/* :user-invalid only matches after the user has interacted or attempted submit,
   so required fields don't show as errored on initial render. */
.tr-cform__input:user-invalid {
  border-color: var(--tr-error);
}
.tr-cform__field--error .tr-cform__input {
  border-color: var(--tr-error);
}
.tr-cform__field--error .tr-cform__input:focus {
  border-color: var(--tr-error);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--tr-error) 22%, transparent);
}
.tr-cform__error {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--tr-error);
}
.tr-cform__error--summary {
  margin-top: 0;
  margin-right: auto;
  align-self: center;
  font-weight: 500;
}

/* ============================================================
   CUSTOM SOFTWARE PAGE
   ============================================================ */

/* Contact CTA strip */
.tr-custom-cta {
  padding: 96px 0;
}
.tr-custom-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px 56px;
  margin-top: 48px;
  align-items: end;
}
@media (max-width: 900px) {
  .tr-custom-cta__grid { grid-template-columns: 1fr; }
}
.tr-custom-cta__copy { display: flex; flex-direction: column; gap: 16px; }
.tr-custom-cta__h2 {
  font-size: clamp(28px, 2.8vw, 42px) !important;
  line-height: 1.1;
  margin: 0;
  max-width: 22ch;
  text-wrap: nowrap;
}
.tr-custom-cta__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--tr-fg-2);
  margin: 0;
  max-width: 56ch;
}
.tr-custom-cta__action {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .tr-custom-cta__action { justify-content: flex-start; }
}

.tr-cform__input--locked {
  background: var(--tr-surface-2);
  color: var(--tr-fg-2);
  cursor: not-allowed;
  font-family: var(--tr-font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.tr-cform__input--locked:hover { border-color: var(--tr-border-strong); }

.tr-cform__select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9 L12 15 L18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.tr-cform__textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--tr-font-sans);
}

.tr-cform__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px dashed var(--tr-border);
}
.tr-cform__privacy {
  font-size: 12px;
  color: var(--tr-fg-2);
  max-width: 56ch;
}
@media (max-width: 540px) {
  .tr-cform__foot { flex-direction: column; align-items: stretch; }
  .tr-cform__foot .tr-btn { justify-content: center; }
}

.tr-cform--sent {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}
.tr-cform__sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 42ch;
}
.tr-cform__sent-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--tr-accent);
}
.tr-cform__sent-title {
  font-family: var(--tr-font-display);
  font-size: 22px;
  letter-spacing: var(--tr-ls-display);
  color: var(--tr-fg);
  margin: 0;
}
.tr-cform__sent-body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--tr-fg-2);
  margin: 0;
}


/* ============================================================
   TOOL SLIDER (products page) — Swiper-powered, horizontal between
   tools, nested vertical between shots of the active tool.
   ============================================================ */

.tr-tool-slider-section {
  padding: 0;
  background: var(--tr-bg);
}

/* Slider is a two-column layout: image stage + persistent info side panel,
   so the feature description is always visible (not only on zoom). */
.tr-tool-slider {
  display: flex;
  flex-direction: row;
}
.tr-tool-slider__stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
}
.tr-tool-slider__side {
  flex: 0 0 clamp(300px, 26%, 400px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 3vw, 48px);
  background: var(--tr-bg);
  border-left: 1px solid var(--tr-border);
  overflow-y: auto;
}
.tr-tool-slider__side-eyebrow {
  font-family: var(--tr-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tr-fg-2);
}
.tr-tool-slider__side-eyebrow .num { color: var(--tr-accent); }
.tr-tool-slider__side-title {
  font-family: var(--tr-font-display, var(--tr-font-sans));
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.15; font-weight: 600; margin: 0;
  color: var(--tr-fg);
}
.tr-tool-slider__side-desc p {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65; color: var(--tr-fg-2);
  margin: 0 0 12px; text-wrap: pretty;
}
.tr-tool-slider__side-desc p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .tr-tool-slider { flex-direction: column; height: auto; }
  .tr-tool-slider__stage { height: 64vh; min-height: 460px; }
  .tr-tool-slider__side {
    flex: 0 0 auto;
    border-left: none;
    border-top: 1px solid var(--tr-border);
    justify-content: flex-start;
  }
}

/* Read-more button beneath the slider \u2014 nudges users to next section */
.tr-tool-slider__readmore-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 24px 36px;
  background: var(--tr-bg);
}
.tr-tool-slider__readmore {
  appearance: none;
  background: transparent;
  border: 1px solid var(--tr-border);
  color: var(--tr-fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease),
              transform var(--tr-dur-base) var(--tr-ease);
}
.tr-tool-slider__readmore:hover {
  background: var(--tr-fg);
  color: var(--tr-bg);
  border-color: var(--tr-fg);
  transform: translateY(2px);
}
.tr-tool-slider__readmore:hover svg { animation: trReadmoreNudge 800ms var(--tr-ease) infinite; }
.tr-tool-slider__readmore:focus-visible {
  outline: none;
  box-shadow: var(--tr-focus-ring);
}
@keyframes trReadmoreNudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

.tr-tool-slider {
  position: relative;
  width: 100%;
  height: clamp(580px, 82vh, 940px);
  background: var(--tr-surface-2);
  overflow: hidden;
  border-top: 1px solid var(--tr-border);
  border-bottom: 1px solid var(--tr-border);
}

/* Swiper wrapper bits */
.tr-tool-slider__outer,
.tr-tool-slider__outer > .swiper-wrapper {
  width: 100%;
  height: 100%;
}
.tr-tool-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  background: var(--tr-surface-2);
  overflow: hidden;
}
.tr-tool-slider__inner,
.tr-tool-slider__inner > .swiper-wrapper {
  width: 100%;
  height: 100%;
}

/* Shot frame — the actual image container inside a (possibly nested) slide */
.tr-tool-shot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 64px;
  box-sizing: border-box;
}
.tr-tool-shot__frame {
  /* Fixed 16:9 frame — anchors every shot to identical position/size */
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: var(--tr-r-3);
  background: var(--tr-surface);
  box-shadow:
    0 30px 60px -20px rgba(20, 18, 15, 0.28),
    0 0 0 1px var(--tr-border);
  overflow: hidden;
  animation: trToolShotIn 480ms var(--tr-ease) both;
}
.tr-tool-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--tr-surface);
}
@keyframes trToolShotIn {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: scale(1); }
}
.tr-tool-shot__placeholder {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  font-family: var(--tr-font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tr-fg-2);
}

/* Bottom scrim — subtle, just enough to keep caption legible */
.tr-tool-shot__scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(20, 18, 15, 0.40) 0%,
    rgba(20, 18, 15, 0.12) 45%,
    rgba(20, 18, 15, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Caption overlaid on the image's bottom-left */
.tr-tool-shot__caption {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(18px, 2.4vw, 36px);
  z-index: 3;
  pointer-events: none;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFF;
}
.tr-tool-shot__caption-eyebrow {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tr-tool-shot__caption-eyebrow .num { color: var(--tr-accent); }
.tr-tool-shot__caption-eyebrow .sep { opacity: 0.5; }
.tr-tool-shot__caption-name {
  font-family: var(--tr-font-display);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.tr-tool-shot__caption-sub {
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tr-tool-shot__caption-sub .sep { opacity: 0.5; }
.tr-tool-shot__caption-sub .coord { color: var(--tr-accent); }

/* Typed text caret */
.tr-typed-caret {
  display: inline-block;
  width: 0.06em;
  margin-left: 0.12em;
  background: var(--tr-accent);
  color: transparent;
  vertical-align: -0.05em;
  height: 0.85em;
  animation: trCaretBlink 0.9s steps(2, end) infinite;
}
.tr-typed-caret.is-done {
  animation: none;
  opacity: 0;
  transition: opacity 480ms var(--tr-ease);
}
@keyframes trCaretBlink {
  50% { opacity: 0; }
}

/* Side arrows for tool navigation */
.tr-tool-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid var(--tr-border-strong);
  background: color-mix(in srgb, var(--tr-surface) 80%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tr-fg);
  cursor: pointer;
  z-index: 10;
  border-radius: 999px;
  transition: background var(--tr-dur-base) var(--tr-ease),
              color var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease),
              opacity var(--tr-dur-base) var(--tr-ease);
}
.tr-tool-arrow:hover:not(:disabled) {
  background: var(--tr-fg);
  color: var(--tr-bg);
  border-color: var(--tr-fg);
}
.tr-tool-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.tr-tool-arrow--left  { left: 24px; }
.tr-tool-arrow--right { right: 24px; }
.tr-tool-arrow:focus-visible {
  outline: none;
  box-shadow: var(--tr-focus-ring);
}

/* Vertical shot dots on the right edge */
.tr-tool-slider__vdots {
  position: absolute;
  /* sits inboard of the right-edge tool arrow (52px wide @ right:24px) */
  right: 96px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 6px;
}
.tr-tool-slider__vdot {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--tr-border-strong);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease),
              transform var(--tr-dur-base) var(--tr-ease);
}
.tr-tool-slider__vdot:hover { border-color: var(--tr-fg); }
.tr-tool-slider__vdot.is-active {
  background: var(--tr-accent);
  border-color: var(--tr-accent);
  transform: scale(1.25);
}

/* Top-right control cluster: counter + "All tools" button */
.tr-tool-slider__topbar {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tr-tool-slider__counter {
  font-family: var(--tr-font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--tr-fg-2);
  background: color-mix(in srgb, var(--tr-surface) 82%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--tr-border);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  gap: 6px;
}
.tr-tool-slider__counter .num { color: var(--tr-accent); font-weight: 500; }
.tr-tool-slider__counter .sep { opacity: 0.45; }

.tr-tool-slider__all-btn {
  appearance: none;
  background: color-mix(in srgb, var(--tr-surface) 82%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--tr-border);
  border-radius: 999px;
  padding: 8px 14px 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--tr-fg);
  font-family: var(--tr-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease);
}
.tr-tool-slider__all-btn:hover {
  background: var(--tr-fg);
  color: var(--tr-bg);
  border-color: var(--tr-fg);
}
.tr-tool-slider__all-btn:focus-visible {
  outline: none;
  box-shadow: var(--tr-focus-ring);
}

/* ---------- All-tools drawer ---------- */
.tr-tool-drawer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  animation: trDrawerFade 200ms var(--tr-ease) both;
}
.tr-tool-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.tr-tool-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(680px, 100vw);
  background: var(--tr-bg);
  border-left: 1px solid var(--tr-border);
  box-shadow: -20px 0 60px -20px rgba(20, 18, 15, 0.35);
  display: flex;
  flex-direction: column;
  animation: trDrawerSlide 320ms var(--tr-ease) both;
}
@keyframes trDrawerSlide {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes trDrawerFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tr-tool-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--tr-border);
}
.tr-tool-drawer__title {
  font-family: var(--tr-font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--tr-fg);
}
.tr-tool-drawer__count {
  color: var(--tr-fg-2);
  font-family: var(--tr-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-left: 6px;
}
.tr-tool-drawer__close {
  appearance: none;
  background: transparent;
  border: 1px solid var(--tr-border);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--tr-fg);
  cursor: pointer;
  transition: background var(--tr-dur-base) var(--tr-ease),
              border-color var(--tr-dur-base) var(--tr-ease);
}
.tr-tool-drawer__close:hover {
  background: var(--tr-fg);
  color: var(--tr-bg);
  border-color: var(--tr-fg);
}

.tr-tool-drawer__grid {
  padding: 20px 28px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  overflow-y: auto;
}

.tr-tool-card {
  appearance: none;
  background: var(--tr-surface);
  border: 1px solid var(--tr-border);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color var(--tr-dur-base) var(--tr-ease),
              transform var(--tr-dur-base) var(--tr-ease);
  display: flex;
  flex-direction: column;
}
.tr-tool-card:hover {
  border-color: var(--tr-border-strong);
  transform: translateY(-2px);
}
.tr-tool-card.is-active {
  border-color: var(--tr-accent);
  box-shadow: 0 0 0 1px var(--tr-accent);
}
.tr-tool-card__media {
  aspect-ratio: 16 / 9;
  background: var(--tr-surface-2);
  overflow: hidden;
}
.tr-tool-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tr-tool-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--tr-font-mono);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--tr-fg-2);
}
.tr-tool-card__meta {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tr-tool-card__num {
  font-family: var(--tr-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tr-accent);
}
.tr-tool-card__name {
  font-family: var(--tr-font-display);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--tr-fg);
}
.tr-tool-card__sub {
  font-family: var(--tr-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tr-fg-2);
}

/* Compact product body (no image — slider already shows it) */
.tr-product-section--compact {
  padding: 72px 0;
}
.tr-product-section__compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 72px;
  row-gap: 28px;
  align-items: start;
}
.tr-product-section__header {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tr-product-section__compact-grid > .tr-product-section__copy {
  grid-column: 1;
  grid-row: 2;
}
.tr-product-section__compact-grid > .tr-product-section__bullets {
  grid-column: 2;
  grid-row: 2;
}
.tr-product-section--compact .tr-product-section__bullets {
  margin: 0;
  padding: 0;
  border-top: 0;
}
.tr-coming-aside {
  display: block;
  font-family: var(--tr-font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--tr-fg-2);
  border-left: 1px solid var(--tr-border);
  padding-left: 20px;
}

@media (max-width: 900px) {
  .tr-tool-slider { height: auto; }
  .tr-tool-shot { padding: 24px 14px; }
  .tr-tool-shot__frame { height: auto; width: 100%; }
  .tr-tool-shot__caption-name { font-size: clamp(22px, 6vw, 34px); }
  .tr-tool-shot__caption-eyebrow,
  .tr-tool-shot__caption-sub { font-size: 10px; letter-spacing: 0.16em; }
  .tr-tool-arrow { width: 40px; height: 40px; }
  .tr-tool-arrow--left  { left: 8px; }
  .tr-tool-arrow--right { right: 8px; }
  .tr-tool-slider__vdots { right: 60px; gap: 10px; }
  .tr-tool-slider__topbar { top: 12px; right: 12px; gap: 8px; }
  .tr-tool-slider__counter,
  .tr-tool-slider__all-btn { padding: 6px 10px; font-size: 10px; letter-spacing: 0.14em; }
  .tr-tool-drawer__panel { width: 100vw; }
  .tr-tool-drawer__head { padding: 18px 20px; }
  .tr-tool-drawer__grid { padding: 16px 20px 24px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .tr-product-section__compact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 28px;
    gap: 28px;
  }
  .tr-product-section__compact-grid > .tr-product-section__copy,
  .tr-product-section__compact-grid > .tr-product-section__bullets {
    grid-column: 1;
    grid-row: auto;
  }
}
