.basalt-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 26%);
  align-items: end;
  gap: 12px 6%;
  padding-block: clamp(28px, 5.6vw, 78px) 26px;
}
.basalt-head .index { margin: 0 0 12px; }
.basalt-head h1, .basalt-home h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.65rem, 9.6vw, 10rem);
  font-weight: 560;
  line-height: .83;
  letter-spacing: -.096em;
}
.basalt-head p:last-child, .basalt-home p:last-of-type { margin: 0; max-width: 35ch; color: var(--muted); }
.basalt-head h1 span { color: var(--pop); }
.basalt-work {
  --basalt-rule: #515e55;
  border: 1px solid var(--basalt-rule);
  border-radius: 3px;
  background: #1f2823;
  overflow: hidden;
}
.basalt-stage {
  position: relative;
  isolation: isolate;
  height: clamp(330px, 48vw, 730px);
  max-height: 72svh;
  overflow: hidden;
  background: #68706a;
}
.basalt-poster, .basalt-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.basalt-poster { object-fit: cover; }
.basalt-stage canvas { cursor: grab; touch-action: pan-y pinch-zoom; visibility: hidden; }
.basalt-stage canvas[data-dragging] { cursor: grabbing; }
[data-render="live"] canvas { visibility: visible; }
[data-render="live"] .basalt-poster, [data-render="live"] .basalt-fallback { display: none; }
.basalt-stage canvas:focus-visible { outline: 2px solid var(--pop); outline-offset: -3px; }
.basalt-hud, .basalt-instruction {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
  pointer-events: none;
  background: #171e1be6;
  color: #fbf1e2;
  padding: 8px 11px;
  border: 1px solid #fbf1e245;
  border-radius: 2px;
  font: 650 .68rem/1.35 ui-monospace, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.basalt-hud { top: 14px; left: 14px; }
.basalt-hud::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pop); }
.basalt-instruction { bottom: 14px; right: 14px; }
.basalt-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 15px; padding: 10px; }
.basalt-controls div { display: flex; gap: 6px; flex-wrap: wrap; }
.basalt-controls button {
  min-height: 43px;
  min-width: 43px;
  padding: 7px 11px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--basalt-rule);
  border-radius: 2px;
  font: 650 .78rem/1.15 Schnitt, system-ui, sans-serif;
  cursor: pointer;
}
.basalt-controls button:hover { border-color: var(--pop); }
.basalt-controls button[aria-pressed="true"] { background: var(--pop); color: #201710; border-color: var(--pop); }
.basalt-controls button span { margin-right: .35em; opacity: .75; }
.basalt-fallback { margin: 0; padding: 10px 13px; font-size: .85rem; }
[data-render="poster"] .basalt-controls, [data-render="poster"] .basalt-instruction { display: none; }
.basalt-facts {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: start;
  padding-block: 36px 75px;
}
.basalt-facts h2 { font-size: clamp(1.75rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.075em; font-weight: 550; margin: 6px 0; }
.basalt-facts p:not(.index) { max-width: 56ch; color: var(--muted); }
.basalt-facts dl { display: grid; grid-template-columns: 1fr 1.65fr; gap: 9px 16px; padding: 13px 0; border-block: 1px solid var(--rule); margin: 6px 0; }
.basalt-facts dt { color: var(--pop); font: 650 .72rem/1.6 ui-monospace, Consolas, monospace; text-transform: uppercase; }
.basalt-facts dd { margin: 0; }
.basalt-home { padding-block: clamp(35px, 7vw, 94px) 65px; }
.basalt-home .basalt-head { padding-top: 0; }
.basalt-home .basalt-head > div:last-child { display: grid; justify-items: start; gap: 14px; }
.basalt-home-image { display: block; position: relative; border: 1px solid var(--rule); overflow: hidden; }
.basalt-home-image img { display: block; width: 100%; max-height: 670px; object-fit: cover; aspect-ratio: 2 / 1; }
.basalt-home-image span {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 9px 12px;
  background: #161c19;
  color: var(--ink);
  border: 1px solid var(--rule);
}
@media (max-width: 660px) {
  .basalt-head, .basalt-facts { grid-template-columns: minmax(0,1fr); }
  .basalt-head { gap: 18px; }
  .basalt-stage { height: clamp(295px, 88vw, 490px); }
  .basalt-controls { padding: 7px; }
  .basalt-controls button { padding-inline: 7px; }
  .basalt-controls button span { display: none; }
  .basalt-instruction { inset: auto 8px 8px auto; }
  .basalt-hud { inset: 8px auto auto 8px; }
  .basalt-home-image img { aspect-ratio: 5 / 4; }
}
