/* possibilities.css - the home page as a set of possibilities (1 October 2026).

   Loaded after site.css on index.html only. Uses site.css's tokens (--bg,
   --accent, --line ...) and adds: the scene rows (picture and words side by
   side, alternating), the three-step strip, the phone sketch, the shield
   sketch, and the CONCEPT label on rendered footage. The previous home page
   is kept whole in _archive/2026-10-01-before-possibilities/. */

.pos-sub {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  color: var(--muted);
  line-height: 1.55;
}

/* ------------------------------------------------------------ strip */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  overflow: hidden;
}
.steps > div { padding: 26px 26px 28px; background: var(--raise); position: relative; }
.steps > div + div { border-left: 1px solid var(--line2); }
.steps b { display: block; font-size: 1.15rem; margin: 6px 0 6px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.steps .n { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.12em; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps > div + div { border-left: 0; border-top: 1px solid var(--line2); }
}

/* ------------------------------------------------------------ scenes */
.scene {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 84px) 0;
  border-top: 1px solid var(--line);
}
.scene:first-of-type { border-top: 0; }
.scene.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.scene.flip .pic { order: 2; }
.scene .pic { position: relative; margin: 0; }
.scene .pic img, .scene .pic video {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--raise);
  box-shadow: 0 30px 80px -40px rgba(46, 230, 240, 0.25);
}
.scene .words .kicker { margin-bottom: 10px; }
.scene .words h3 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); letter-spacing: -0.025em; line-height: 1.12; }
.scene .words p { color: var(--muted); margin: 14px 0 0; max-width: 46ch; }
.scene .words .more { display: inline-block; margin-top: 16px; color: var(--accent); text-decoration: none; font-size: 0.95rem; }
.scene .words .more:hover { text-decoration: underline; }
.scene .facts-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.scene .facts-row span { font-size: 0.86rem; color: var(--dim); }
.scene .facts-row b { color: var(--ink); font-weight: 600; margin-right: 4px; }
@media (max-width: 860px) {
  .scene, .scene.flip { grid-template-columns: 1fr; }
  .scene.flip .pic { order: 0; }
}

.concept {
  position: absolute;
  top: 12px;
  right: 12px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(5, 8, 11, 0.78);
  border: 1px solid rgba(240, 176, 74, 0.5);
  border-radius: 6px;
  padding: 3px 8px;
}
.pic figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--dim); }

/* ------------------------------------------------------------ phone sketch */
.phone {
  width: min(280px, 70%);
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 34px;
  border: 1px solid var(--line2);
  background: linear-gradient(180deg, var(--raise2), var(--raise));
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 30px 80px -40px rgba(46, 230, 240, 0.3);
}
.phone .ph-top { height: 6px; width: 70px; border-radius: 3px; background: var(--line2); margin: 0 auto 8px; }
.phone .note { border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; font-size: 0.8rem; color: var(--muted); background: rgba(5, 8, 11, 0.4); }
.phone .note b { color: var(--ink); display: block; font-size: 0.82rem; margin-bottom: 2px; }
.phone .note .to { color: var(--accent); font-size: 0.72rem; }
.phone .wave { display: flex; align-items: center; gap: 3px; height: 30px; margin-top: auto; justify-content: center; }
.phone .wave i { width: 4px; border-radius: 2px; background: var(--accent); opacity: 0.85; animation: wv 1.1s ease-in-out infinite; }
.phone .rec { width: 54px; height: 54px; border-radius: 50%; margin: 6px auto 0; border: 2px solid #ff4d5e; display: grid; place-items: center; }
.phone .rec i { width: 22px; height: 22px; border-radius: 50%; background: #ff4d5e; }
@keyframes wv { 0%, 100% { height: 6px; } 50% { height: 28px; } }
@media (prefers-reduced-motion: reduce) { .phone .wave i { animation: none; height: 14px; } }

/* ------------------------------------------------------------ the close */
.closing { text-align: center; padding: clamp(60px, 9vw, 120px) 0; }
.closing .h2 { max-width: 20ch; margin: 0 auto; }
.closing .btns { justify-content: center; margin-top: 30px; }
.tight > .wrap > .scene:first-child { padding-top: clamp(16px, 2vw, 28px); }
.phone .note b { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-weight: 600; }
@media (max-width: 560px) { .concept { font-size: 0.6rem; letter-spacing: 0.08em; top: 8px; right: 8px; padding: 2px 6px; } }
