/*
 * The page around the piece (2026-10-05): the experience fills the window and moves itself
 * (mode="paged", nothing scrolls); its words, tapes, switch and film are the document's.
 * Here: the body, the contact form the document places in its slot, the cursor's light.
 */
:root {
  --bg: #0a0710;
  --ink: #f3eee6;
  --muted: #a69bb0;
  --faint: #5c5368;
  --line: rgba(243, 238, 230, 0.12);
  --magenta: #ff3df0;
  --cyan: #3ef2ff;
  --lime: #c9ff3d;
  --amber: #ffb347;
  --tape: #e9dcc1;
  --tape-ink: #2a2117;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: Caveat, "Segoe Print", "Bradley Hand", cursive;
  --gutter: clamp(20px, 6vw, 96px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
#site-experience { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100svh; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The pointer's light: one soft circle (cursor.js). */
.cursor-light { position: fixed; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; pointer-events: none; z-index: 50; mix-blend-mode: screen; opacity: 0; background: radial-gradient(circle, rgba(255, 120, 230, 0.55) 0%, rgba(62, 242, 255, 0.22) 45%, rgba(124, 58, 237, 0) 70%); filter: blur(2px); transition: opacity 0.3s, width 0.25s, height 0.25s, filter 0.25s; will-change: transform; }
.cursor-light.is-on { opacity: 1; }
.cursor-light.is-over { width: 64px; height: 64px; filter: blur(4px) brightness(1.4); }
.cursor-light.is-down { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .cursor-light { display: none; } }

/* ── the form, in the document's slot ── */
.site-form { overflow-x: hidden; overflow-y: auto; }
.site-form .f .row { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.card {
  position: relative;
  background: rgba(23, 17, 29, 0.8);
  border: 1px solid var(--line);
  padding: 30px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.card .t {
  position: absolute;
  top: -13px;
  right: 34px;
  width: 74px;
  height: 24px;
  background: var(--tape);
  opacity: 0.9;
  transform: rotate(5deg);
}
.card .lbl {
  font-family: var(--hand);
  font-size: 22px;
  color: var(--tape);
  margin: 0 0 18px;
}
.f {
  display: grid;
  gap: 14px;
}
.f label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.f label span small {
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--faint);
  margin-left: 8px;
}
.f input,
.f textarea {
  font: 400 15px/1.4 var(--sans);
  color: var(--ink);
  background: rgba(10, 7, 16, 0.55);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  width: 100%;
}
.f input:focus,
.f textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(62, 242, 255, 0.12);
}
.f textarea {
  min-height: 110px;
  resize: vertical;
}
.f .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.f .hp {
  position: absolute;
  left: -9999px;
}
.f button {
  justify-self: start;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  border: 0;
  border-radius: 3px;
  padding: 15px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.f button:disabled {
  opacity: 0.6;
  cursor: default;
}
.f button i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}
.f .note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  min-height: 1.2em;
}
@media (max-width: 640px) {
  .card { padding: 16px; }
  .f { gap: 8px; }
  .f .row { grid-template-columns: 1fr; }
  .f input, .f textarea { padding: 9px 11px; }
  .f textarea { min-height: 64px; }
  .card .lbl { margin-bottom: 8px; font-size: 19px; }
}
