/* ===== DESIGN SYSTEM ===== */
.v2 .v2-ds {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px;
  align-items: stretch;
}
.v2 .v2-ds__copy { display: flex; flex-direction: column; gap: 22px; padding-top: 20px; }
.v2 .v2-ds__copy h3 { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px,3.4vw,48px); line-height: 1.05; letter-spacing: -0.02em; color: var(--bone); margin: 0; }
.v2 .v2-ds__copy h3 em { font-style: italic; color: var(--lime); }
.v2 .v2-ds__copy p { font: 16px/1.6 var(--f-sans); color: var(--bone-2); margin: 0; max-width: 460px; }
.v2 .v2-ds__type {
  margin-top: 12px;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.v2 .v2-ds__type-row {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.v2 .v2-ds__type-row .lbl { font: 10px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.v2 .v2-ds__type-row .ex { font-family: var(--f-display); font-weight: 300; color: var(--bone); letter-spacing: -0.02em; overflow: hidden; }
.v2 .v2-ds__type-row .meta { font: 10px var(--f-mono); letter-spacing: .14em; color: var(--bone-3); }

.v2 .v2-ds__jar {
  position: relative;
  height: 580px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245,242,236,0.02), rgba(245,242,236,0.06));
}
.v2 .v2-ds__jar canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.v2 .v2-ds__jar canvas:active { cursor: grabbing; }
.v2 .v2-ds__jar-label { position: absolute; top: 16px; left: 18px; font: 10px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); z-index: 2; }
.v2 .v2-ds__jar-hint { position: absolute; bottom: 16px; right: 18px; font: 10px var(--f-mono); letter-spacing: .14em; color: var(--bone-3); z-index: 2; }
.v2 .v2-ds__jar-hint .clipped { padding: 4px 8px; background: rgba(10,10,10,0.7); border: 1px solid var(--line); border-radius: 999px; }

/* ===== TOOLS ===== */
.v2 .v2-tools__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.v2 .v2-tool {
  position: relative;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 24px 20px; aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: default; overflow: hidden;
  transition: background .35s;
}
.v2 .v2-tool::after { content:""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--lime); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.v2 .v2-tool:hover { background: rgba(212,255,58,0.06); }
.v2 .v2-tool:hover::after { width: 100%; }
.v2 .v2-tool .cat { font: 10px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.v2 .v2-tool .nm { font: 500 14px var(--f-sans); color: var(--bone); transition: color .25s; }
.v2 .v2-tool:hover .nm { color: var(--lime); }
.v2 .v2-tool .glyph {
  align-self: end; width: 44px; height: 44px;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(245,242,236,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--bone); font-weight: 700; font-size: 18px;
  transition: transform .35s, background .25s, color .25s, border-color .25s;
}
.v2 .v2-tool:hover .glyph { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); transform: rotate(-8deg) scale(1.1); }
.v2 .v2-tool .glyph svg { width: 22px; height: 22px; color: inherit; }
.v2 .v2-tool .glyph svg path,
.v2 .v2-tool .glyph svg circle,
.v2 .v2-tool .glyph svg rect,
.v2 .v2-tool .glyph svg ellipse,
.v2 .v2-tool .glyph svg polyline,
.v2 .v2-tool .glyph svg line {
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s;
}

/* ===== CTA ===== */
.v2 .v2-cta { padding: var(--sec-y) var(--gutter); text-align: center; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.v2 .v2-cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; }
.v2 .v2-cta__inner { position: relative; z-index: 2; }
.v2 .v2-cta__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(48px, 8vw, 140px); line-height: 0.92; letter-spacing: -0.04em;
  color: var(--bone); margin: 24px 0 30px;
}
.v2 .v2-cta__title em { font-style: italic; color: var(--lime); font-variation-settings: "WONK" 1; }
.v2 .v2-cta__lede { font: 17px/1.5 var(--f-sans); color: var(--bone-2); max-width: 560px; margin: 0 auto 36px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .v2 .v2-tools__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .v2 .v2-hero__inner, .v2 .v2-stats, .v2 .v2-morph, .v2 .v2-proto, .v2 .v2-ds { grid-template-columns: 1fr; gap: 40px; }
  .v2 .v2-section__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .v2 .v2-hero__bottom { grid-template-columns: 1fr 1fr; }
  .v2 .v2-process__scene-inner { grid-template-columns: 1fr; gap: 30px; }
  .v2 .v2-process__visual { aspect-ratio: 4/3; }
  .v2 .v2-hero__right { height: 420px; }
}
@media (max-width: 600px) {
  .v2 .v2-tools__grid { grid-template-columns: repeat(2, 1fr); }
  .v2 .v2-hero__bottom { grid-template-columns: 1fr; }
}

/* Tweaks panel */
.v2 .v2-tweaks { position: fixed; right: 22px; top: 90px; z-index: 80; width: 280px; padding: 20px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(15,15,15,0.92); backdrop-filter: blur(12px); transform: translateX(120%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.v2 .v2-tweaks.is-open { transform: translateX(0); }
.v2 .v2-tweaks h6 { font-family: var(--f-display); font-weight: 400; font-size: 18px; margin: 0 0 14px; color: var(--bone); }
.v2 .v2-tweaks .v2-tw-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font: 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.v2 .v2-tweaks .v2-tw-swatches { display: flex; gap: 6px; }
.v2 .v2-tweaks .v2-tw-swatches button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer; padding: 0; }
.v2 .v2-tweaks .v2-tw-swatches button.active { box-shadow: 0 0 0 2px var(--bone); }
.v2 .v2-tweaks .v2-tw-toggle { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.v2 .v2-tweaks .v2-tw-toggle button { background: none; border: 0; padding: 4px 10px; border-radius: 999px; color: var(--bone-3); font: 10px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.v2 .v2-tweaks .v2-tw-toggle button.active { background: var(--lime); color: var(--lime-ink); }
.v2 .v2-tweaks__close { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: none; border: 1px solid var(--line); color: var(--bone-3); cursor: pointer; font-size: 12px; }
