/* ============================================================
   取扱説明書LP — styles-torisetsu.css
   Builds on styles.css + styles-package.css (reuses .pkg-block,
   .pkg-vs, .pkg-4grid, .pkg-faq, .pkg-cta-band, etc.)
   Only manual-specific blocks are defined here.
   ============================================================ */

/* ── Hero ── */
.trs-hero {
  position: relative;
  overflow: hidden;
  min-height: min(94vh, 940px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--section-pad) + 56px);
  padding-bottom: clamp(56px, 8vw, 104px);
  background: #0a0b0d;
  border-bottom: 1px solid var(--border);
}

/* floating manual wall — perspective conveyor of native-ratio manuals (配置.png style) */
.trs-float {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  perspective: 1700px;
  perspective-origin: 54% 38%;
  --trs-gap: clamp(18px, 2.2vw, 34px);
  --trs-rowh: clamp(184px, 23vw, 340px);
}
.trs-float-plane {
  position: absolute; top: 50%; left: 50%;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--trs-gap);
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(30deg) rotateZ(-21deg);
  opacity: 0;
  transition: opacity 0.7s ease;
}
.trs-float.is-ready .trs-float-plane { opacity: 0.9; }
.trs-float-row {
  display: flex;
  gap: var(--trs-gap);
  height: var(--trs-rowh);
  width: max-content;
  flex: none;
  will-change: transform;
}
.trs-float-card {
  height: 100%;
  width: auto;
  flex: none;
  display: block;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  backface-visibility: hidden;
  -webkit-user-drag: none;
}

/* dark scrim — darkens the centre so the headline reads (matches 3DCG hero) */
.trs-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(125% 95% at 50% 46%,
      rgba(6,9,13,0.58) 0%, rgba(6,9,13,0.30) 44%, rgba(6,9,13,0.06) 74%, transparent 100%),
    linear-gradient(to bottom,
      rgba(6,9,13,0.5), transparent 22%, transparent 60%, rgba(6,9,13,0.7));
}

/* blurred left/right edges — pulls the eye to the centred main copy */
.trs-hero-edge {
  position: absolute; top: 0; bottom: 0; z-index: 1; pointer-events: none;
  width: clamp(80px, 16vw, 280px);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.trs-hero-edge-l {
  left: 0;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 74%);
  mask-image: linear-gradient(to left, transparent, #000 74%);
}
.trs-hero-edge-r {
  right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 74%);
  mask-image: linear-gradient(to right, transparent, #000 74%);
}

.trs-hero-wrap { position: relative; z-index: 2; width: 100%; }
.trs-hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trs-hero-copy .eyebrow {
  justify-content: center;
  color: var(--accent);
  text-shadow: 0 1px 14px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.55);
}

.trs-hero-archive-tag {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: 18px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  background: rgba(6,9,13,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 6px 13px;
  pointer-events: none;
}

.trs-hero-t {
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.12;
  margin: 20px auto 24px; max-width: 18ch;
  white-space: pre-line; text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.85), 0 2px 8px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.6);
}
.trs-hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.9);
  line-height: 1.85; max-width: 54ch; margin: 0 auto 34px; text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6);
}
.trs-hero-copy .pkg-hero-btns { justify-content: center; }
.trs-hero-note {
  font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7;
  margin: 26px auto 0; max-width: 50ch; text-wrap: pretty; text-align: center;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}
@media (max-width: 820px) {
  .trs-hero { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .trs-float.is-ready .trs-float-plane { opacity: 0.62; }
}

/* ── Hook（取説は「装い」）── */
.trs-hook { background: var(--bg-1); border-bottom: 1px solid var(--border); }
.trs-hook-grid {
  display: grid;
  grid-template-columns: 1fr clamp(280px, 34vw, 420px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.trs-hook-q {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.5;
  text-wrap: pretty; max-width: 24ch;
  padding-left: clamp(18px, 2vw, 26px);
  border-left: 3px solid var(--accent);
}
.trs-hook-body {
  margin-top: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.trs-hook-body p {
  font-size: clamp(14px, 1.3vw, 15.5px);
  color: var(--text-dim); line-height: 1.9; text-wrap: pretty;
  max-width: 60ch;
}
.trs-hook-close {
  margin-top: clamp(22px, 2.6vw, 30px);
  font-size: clamp(16px, 1.7vw, 20px); font-weight: 700;
  color: var(--accent); letter-spacing: -0.01em;
}
.trs-hook-media .ph { aspect-ratio: 3 / 3.4; width: 100%; }

/* ── Hover cross-fade (before → after) — used by Hook & Sample ── */
.trs-reveal2 {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 72px -30px rgba(0,0,0,0.55);
  background: var(--bg-2);
  cursor: pointer;
  outline: none;
}
.trs-reveal2-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: var(--trs-fit, cover);
  object-position: center;
  background: #fff;
  display: block;
  -webkit-user-drag: none;
  transition: opacity 0.55s var(--ease, ease);
}
.trs-reveal2-hover { opacity: 0; }
.trs-reveal2:hover .trs-reveal2-hover,
.trs-reveal2:focus-visible .trs-reveal2-hover,
.trs-reveal2.is-flipped .trs-reveal2-hover { opacity: 1; }
.trs-reveal2:hover .trs-reveal2-base,
.trs-reveal2:focus-visible .trs-reveal2-base,
.trs-reveal2.is-flipped .trs-reveal2-base { opacity: 0; }
.trs-reveal2-badge {
  position: absolute; bottom: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(10,12,14,0.66); color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.trs-reveal2-badge-base  { left: 14px; }
.trs-reveal2-badge-hover { right: 14px; opacity: 0; color: var(--accent); }
.trs-reveal2:hover .trs-reveal2-badge-base,
.trs-reveal2:focus-visible .trs-reveal2-badge-base,
.trs-reveal2.is-flipped .trs-reveal2-badge-base { opacity: 0; }
.trs-reveal2:hover .trs-reveal2-badge-hover,
.trs-reveal2:focus-visible .trs-reveal2-badge-hover,
.trs-reveal2.is-flipped .trs-reveal2-badge-hover { opacity: 1; }

/* tap hint — touch devices only (no hover) */
.trs-reveal2-tap {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: none;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(10,12,14,0.66); color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@media (hover: none) {
  .trs-reveal2-tap { display: block; }
  .trs-reveal2.is-flipped .trs-reveal2-tap { opacity: 0; }
}

/* Sample reuses the Hook 2-column grid but keeps the media on mobile */
.trs-sample-grid .pkg-block-sub { margin-left: 0; margin-right: 0; }

@media (max-width: 820px) {
  .trs-hook-grid { grid-template-columns: 1fr; }
  .trs-hook-media {
    width: 100%;
    max-width: 380px;
    margin: 4px auto 0;
    justify-self: center;
  }
}

/* ── Scope（対応範囲）── */
.trs-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.trs-scope-card {
  background: var(--bg-1); border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 30px);
}
.trs-scope-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: block;
}
.trs-scope-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.trs-scope-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.5;
}
.trs-scope-list li::before {
  content: ""; flex: none;
  width: 6px; height: 6px; margin-top: 7px;
  border-radius: 50%; background: var(--accent);
  opacity: 0.85;
}
@media (max-width: 820px) {
  .trs-scope-grid { grid-template-columns: 1fr; }
}

/* ── Flow（制作の流れ）── */
.trs-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
  margin-top: clamp(28px, 3.5vw, 44px);
  counter-reset: trs-step;
}
.trs-flow-step {
  background: var(--bg-1); border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 28px);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.trs-flow-n {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.trs-flow-n::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.trs-flow-t { font-size: clamp(15px, 1.5vw, 17px); font-weight: 700; letter-spacing: -0.01em; }
.trs-flow-d { font-size: 13px; color: var(--text-dim); line-height: 1.7; text-wrap: pretty; }
@media (max-width: 820px) {
  .trs-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .trs-flow { grid-template-columns: 1fr; }
}

/* ── Pricing cards ── */
.trs-price-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(16px, 2.2vw, 28px);
  margin-top: clamp(28px, 3.5vw, 44px);
  align-items: start;
}
@media (max-width: 900px) {
  .trs-price-layout { grid-template-columns: 1fr; }
}

/* 単価表 */
.trs-rate-card {
  background: var(--bg-1); border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
}
.trs-rate-list { list-style: none; display: flex; flex-direction: column; }
.trs-rate-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.trs-rate-row:first-child { padding-top: 0; }
.trs-rate-main { display: flex; flex-direction: column; gap: 4px; }
.trs-rate-item { font-size: 14.5px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.trs-rate-note { font-size: 12px; color: var(--text-faint); line-height: 1.4; }
.trs-rate-price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; white-space: nowrap; text-align: right; }
.trs-rate-num { font-size: clamp(19px, 2.1vw, 24px); font-weight: 700; letter-spacing: -0.02em; color: var(--accent); line-height: 1.05; }
.trs-rate-unit { font-size: 12px; color: var(--text-faint); }
.trs-rate-market {
  font-size: 12px; color: var(--text-faint); line-height: 1.75;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border-2);
  text-wrap: pretty;
}

/* 概算シミュレーター */
.trs-calc {
  background: var(--bg-2); border: 1px solid var(--accent-line, var(--accent));
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 64px -36px var(--accent);
}
.trs-calc-head {
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 30px) clamp(16px, 1.8vw, 20px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--accent-soft) 40%, var(--bg-2));
}
.trs-calc-title { font-size: clamp(16px, 1.7vw, 19px); font-weight: 700; letter-spacing: -0.015em; }
.trs-calc-sub { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; margin-top: 6px; text-wrap: pretty; }
.trs-calc-body { display: grid; grid-template-columns: 1fr; }
.trs-calc-controls { padding: clamp(8px, 1.4vw, 14px) clamp(20px, 2.6vw, 30px); }

.trs-calc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.trs-calc-row:last-child { border-bottom: none; }
.trs-calc-label { display: flex; flex-direction: column; gap: 3px; }
.trs-calc-label > span:first-child { font-size: 13.5px; font-weight: 600; color: var(--text); }
.trs-calc-hint { font-size: 11px; color: var(--text-faint); line-height: 1.4; max-width: 24ch; }

/* stepper */
.trs-stepper { display: flex; align-items: center; gap: 2px; background: var(--bg); border: 1px solid var(--border-2); border-radius: 999px; padding: 3px; }
.trs-stepper button {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 18px; font-weight: 600; line-height: 1;
  color: var(--text); transition: background 0.2s, color 0.2s;
}
.trs-stepper button:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); }
.trs-stepper button:disabled { opacity: 0.32; cursor: default; }
.trs-stepper-val { min-width: 34px; text-align: center; font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--text); }

/* segmented (calc) */
.trs-seg { display: inline-flex; background: var(--bg); border: 1px solid var(--border-2); border-radius: 999px; padding: 3px; }
.trs-seg-btn {
  padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--text-dim); white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.trs-seg-btn.on { background: var(--accent); color: var(--on-accent); }

/* toggle */
.trs-toggle { width: 46px; height: 27px; border-radius: 999px; background: var(--bg-3, var(--border-2)); border: 1px solid var(--border-2); position: relative; transition: background 0.2s; flex: none; }
.trs-toggle.on { background: var(--accent); border-color: var(--accent); }
.trs-toggle-knob { position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.trs-toggle.on .trs-toggle-knob { transform: translateX(19px); }

/* result */
.trs-calc-result {
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--border);
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 6px;
}
.trs-calc-result-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.trs-calc-amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.trs-calc-num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1.05; }
.trs-calc-tilde { font-size: 18px; color: var(--text-faint); }
.trs-calc-empty { font-size: 14px; color: var(--text-faint); padding: 6px 0; }
.trs-calc-rush { font-size: 11.5px; color: var(--accent); font-weight: 600; }
.trs-calc-cta { margin-top: 12px; justify-content: center; width: 100%; padding-block: 14px; }
.trs-calc-cta:disabled { opacity: 0.4; cursor: default; }
.trs-calc-note {
  font-size: 11.5px; color: var(--text-faint); line-height: 1.65;
  margin-top: 12px; text-wrap: pretty;
}

.trs-price-note {
  font-size: 12.5px; color: var(--text-faint);
  margin-top: clamp(18px, 2.2vw, 26px); line-height: 1.7; text-wrap: pretty;
  max-width: 76ch;
}

/* ── 納期注記 ── */
.trs-flow-note {
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: 13px; color: var(--text-dim); line-height: 1.7; text-wrap: pretty;
  padding: 14px 18px; border-left: 2px solid var(--accent);
  background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  white-space: nowrap; overflow-x: auto;
}
@media (max-width: 1080px) {
  .trs-flow-note { white-space: normal; overflow-x: visible; max-width: 72ch; }
}

/* ── 送信ボタン下の注記 ── */
.trs-submit-note {
  font-size: 12px; color: var(--text-faint); line-height: 1.65;
  margin-top: 14px; text-align: center; text-wrap: pretty;
}

/* ── フォーム補助 ── */
.trs-field-hint { font-size: 11.5px; color: var(--text-faint); line-height: 1.5; margin-top: 2px; text-wrap: pretty; }
.trs-form-disclaimer { font-size: 12px; color: var(--text-faint); line-height: 1.6; margin-top: 18px; }
.trs-files-note {
  font-size: 11.5px; color: var(--text-faint); line-height: 1.65;
  margin-top: 10px; text-wrap: pretty;
  padding-left: 12px; border-left: 1px solid var(--border-2);
}

.trs-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.trs-radio-btn {
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text-dim); background: var(--bg);
  border: 1px solid var(--border-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.trs-radio-btn:hover { border-color: var(--accent); }
.trs-radio-btn.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ── 強み（reuse pkg-4grid look, manual variant)── */
.trs-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.trs-value-card {
  background: var(--bg); border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 11px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.trs-value-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.trs-value-n {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.05em;
}
.trs-value-t { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.4; }
.trs-value-d { font-size: 13.5px; color: var(--text-dim); line-height: 1.75; text-wrap: pretty; }
@media (max-width: 760px) {
  .trs-values-grid { grid-template-columns: 1fr; }
}

/* ── Reveal slider (CadSlider) ── */
.trs-reveal {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 600px;
  margin: clamp(28px, 3.5vw, 48px) auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,0.5);
}
.trs-reveal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  background: #1c2028;
}
.trs-reveal-fg {
  background: #fff;
  will-change: clip-path;
}
.trs-reveal-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  pointer-events: none;
  will-change: left;
}
.trs-reveal-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
  color: #1a1a1a;
  flex-shrink: 0;
}
.trs-reveal-badge {
  position: absolute;
  bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  pointer-events: none;
  white-space: nowrap;
  max-width: 44%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.18s;
}
.trs-reveal-badge-l { left: 16px; }
.trs-reveal-badge-r { right: 16px; }

/* ── Compare: balanced INPUT → OUTPUT pair ── */
.trs-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  margin: clamp(28px, 3.5vw, 48px) auto 0;
  max-width: 680px;
}
.trs-compare-item {
  flex: 1 1 0;
  max-width: 286px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.trs-compare-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px -18px rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trs-compare-frame-dark  { background: #14171c; }
.trs-compare-frame-light { background: #ffffff; }
.trs-compare-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}
.trs-compare-cap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 4px 0;
  text-align: center;
  min-height: 54px;
}
.trs-compare-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.trs-compare-tag-alt { color: var(--accent); }
.trs-compare-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  text-wrap: pretty;
}
.trs-compare-arrow {
  flex: none;
  align-self: center;
  margin-bottom: 54px; /* offset the caption block so the arrow centres on the frames */
  color: var(--text-faint);
  display: flex;
  align-items: center;
}
@media (max-width: 540px) {
  .trs-compare { gap: 8px; }
  .trs-compare-item { max-width: 42vw; }
  .trs-compare-arrow svg { width: 18px; height: 18px; }
  .trs-compare-desc { font-size: 11px; }
}

/* ── Portfolio marquee strip ── */
.trs-portfolio {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(28px, 3.5vw, 42px);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.trs-portfolio-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: clamp(16px, 2vw, 22px);
  padding-inline: clamp(18px, 4vw, 48px);
  display: block;
}
.trs-portfolio-hint {
  font-weight: 400;
  color: var(--text-faint);
  font-size: 10px;
  letter-spacing: 0.03em;
}
.trs-wall-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.trs-wall-row {
  display: flex;
  gap: 10px;
  width: max-content;
  will-change: transform;
}
.trs-wall-row-l {
  animation: trs-scroll-l var(--dur, 40s) linear infinite;
}
.trs-wall-row-r {
  animation: trs-scroll-r var(--dur, 56s) linear infinite;
}
.trs-wall-thumb {
  width: 200px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.trs-wall-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
@keyframes trs-scroll-l {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes trs-scroll-r {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .trs-wall-row-l, .trs-wall-row-r { animation: none; }
}
.trs-sample-note {
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.75;
  margin-top: clamp(20px, 2.5vw, 30px);
  padding: 14px 18px;
  border-left: 2px solid var(--border-2);
  text-wrap: pretty;
  max-width: 72ch;
}
@media (max-width: 700px) {
  .trs-sample-compare {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trs-sample-arrow {
    padding-bottom: 0;
    transform: rotate(90deg);
    width: 48px;
    margin: 0 auto;
  }
}

/* ── CTA price-free band tweak ── */
.trs-cta-band { text-align: center; }
.trs-cta-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  display: inline-block; margin-bottom: 18px;
}
