/* Ink mask scanner */
.inkmask-stage {
  display: grid;
  min-height: 74vh;
  grid-template-columns: minmax(280px, 0.66fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  overflow: hidden;
  padding: 32px max(16px, calc((100vw - 1180px) / 2));
}

.inkmask-copy {
  position: relative;
  z-index: 2;
}

.inkmask-board {
  display: grid;
  min-height: clamp(360px, 50vw, 580px);
  place-items: center;
}

.inkmask-svg {
  width: min(100%, 720px);
  height: auto;
  overflow: visible;
  border: 1px solid rgba(17, 19, 21, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.inkmask-frame {
  fill: rgba(247, 242, 232, 0.88);
  stroke: rgba(17, 19, 21, 0.16);
}

.inkmask-type {
  fill: rgba(17, 19, 21, 0.08);
  font-size: 108px;
  font-weight: 950;
  letter-spacing: 0;
}

.inkmask-line {
  stroke: rgba(17, 19, 21, 0.2);
  stroke-width: 1;
}

.ink-scan-line {
  stroke: #111315;
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 14px 18px rgba(104, 216, 214, 0.35));
  will-change: transform, opacity;
}

.ink-ring {
  fill: none;
  stroke: var(--tone);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

@media (max-width: 840px) {
  .inkmask-stage {
    grid-template-columns: 1fr;
  }

  .inkmask-board {
    min-height: 380px;
  }
}
