/* ---------- Hero: text left, live lattice right, so the topics sit right below ---------- */
.hero {
  background: radial-gradient(90% 120% at 80% 60%, #14304d 0%, var(--hero-bg) 62%);
  color: #f5f5f7; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 26rem; gap: 1rem; }
.hero__text { padding: 3rem 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 0.35em; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.4; color: #a1a1a8; max-width: 28rem; margin: 0 0 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; }
.hero .btn { background: #f5f5f7; color: #1d1d1f; font-size: 1.02rem; padding: 0.7rem 1.4rem; }
.hero__link { color: #5fe0d2; text-decoration: none; font-size: 1.02rem; }
.hero__link:hover { text-decoration: underline; }
.hero__stage { position: relative; height: 100%; min-height: 26rem; }
.hero__stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero__stage canvas:active { cursor: grabbing; }
@media (max-width: 800px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__text { padding: 2.25rem 0 0; }
  .hero__stage { min-height: 15rem; }
}
.section--tight { padding: 3rem 0; }

/* ---------- Showcase: real screenshots of the tools ---------- */
.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.show {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 28px; color: var(--ink); text-decoration: none;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.show:hover { transform: scale(1.012); }
.show__text { padding: 2rem 2rem 1.25rem; }
.show__kind { margin: 0 0 0.35rem; font-size: 0.9rem; color: var(--ink-soft); }
.show__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 0.4rem; }
.show__summary { margin: 0; color: var(--ink-soft); max-width: 30rem; }
.show__shot { margin-top: auto; aspect-ratio: 5 / 4; background: var(--stage-bg); overflow: hidden; }
.show__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.show:hover .show__shot img { transform: scale(1.03); }

.show--lead { grid-column: 1 / -1; flex-direction: row; background: var(--hero-bg); color: #f5f5f7; }
.show--lead .show__text { flex: 0 0 38%; display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.show--lead .show__kind, .show--lead .show__summary { color: #a1a1a8; }
.show--lead .show__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.show--lead .show__shot { flex: 1; aspect-ratio: auto; min-height: 26rem; margin-top: 0; }

@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; }
  .show--lead { flex-direction: column; }
  .show--lead .show__text { padding: 2rem 2rem 1.25rem; }
  .show--lead .show__shot { min-height: 0; aspect-ratio: 5 / 4; }
}

/* ---------- Three plain promises ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.promises h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.5rem; }
.promises p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .promises { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Search (sits above the activity list) ---------- */
.search {
  display: flex; max-width: 26rem; margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.06); border-radius: 12px; padding: 0.15rem 0.35rem;
}
.search:focus-within { box-shadow: 0 0 0 3px rgba(10, 127, 120, 0.35); }
.search input { flex: 1; border: 0; background: transparent; font: inherit; padding: 0.55rem 0.7rem; color: var(--ink); min-width: 0; }
.search input:focus { outline: none; }
.search button { display: none; }

.about-band { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .about-band { grid-template-columns: 1fr; gap: 1rem; } }
