/* Hallmark · theme: Asoterik brand v1 (by request) · posture: restrained · hero: sticky stage, copy left and the growing ASCII bloom right · nav: wordmark, five links, sign-in and one action · footer: wordmark over links */
/* Hallmark · critique: one hero piece that grows with the scroll, then single interactive pieces that each prove one point; Hot Rose is the only accent */
/* the hero: a tall section with a sticky stage; scrolling through it grows the bloom */
.hero-grow { position: relative; height: 100svh; }
.js .hero-grow { height: 260svh; }
.hg-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hg-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hg-wrap { position: relative; z-index: 1; padding-top: var(--head-h); }
.hg-copy { max-width: 600px; display: flex; flex-direction: column; gap: 24px; }
.hg-copy .lede { max-width: 34ch; }
.hg-read { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; display: flex; align-items: center; gap: 16px; font: 400 12px/1 var(--mono); color: var(--powder-dim); pointer-events: none; }
.hg-stages { display: flex; gap: 8px; }
.hg-stages span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); transition: color .3s linear, border-color .3s linear; }
.hg-stages span.on { color: var(--frozen); border-color: var(--rose-l); }
.hg-pct { color: var(--rose-l); }
.hg-hint { margin-left: auto; }

/* sections */
.sec { position: relative; padding: 80px 0; }
.sec-last { padding-bottom: 80px; }
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; }
.duo-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.duo-copy { display: flex; flex-direction: column; gap: 20px; }

/* a piece: one interactive ASCII object, sitting on the page with no frame */
.piece { position: relative; margin: 0; width: 100%; touch-action: pan-y; }
.piece canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.piece figcaption { position: absolute; left: 0; right: 0; top: 100%; margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font: 400 13px/1.3 var(--sans); color: var(--powder-dim); pointer-events: none; }
.piece .km { color: var(--rose-l); }
.piece-gears { aspect-ratio: 5 / 3; margin-bottom: 28px; }
.piece-tile { aspect-ratio: 6 / 5; }
.piece-word { aspect-ratio: 4 / 1; }
.piece-globe { aspect-ratio: 1; max-width: 560px; justify-self: center; margin-bottom: 28px; }
.piece-mark { aspect-ratio: 1; max-width: 440px; justify-self: center; margin-bottom: 28px; }

/* how we build */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tile { display: flex; flex-direction: column; gap: 12px; }
.tile h3 { margin-top: 8px; font-size: clamp(22px, 2vw, 28px); }
.tile p { color: var(--powder); font-size: 16.5px; }
.tile .try { font: 400 13px/1.3 var(--sans); color: var(--powder-dim); }

/* the product */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: center; }
.product-body { display: flex; flex-direction: column; gap: 16px; }
.product-body h3 { font: 500 clamp(30px, 3.2vw, 44px)/1 var(--mono); letter-spacing: -.02em; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; color: var(--powder); }
.pills .pill-soon { border-style: dashed; border-color: var(--powder-dim); }

/* contact */
#contact .contact { margin-top: 4px; }

@media (max-width: 1100px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .tiles { gap: 16px; }
}
@media (max-width: 900px) {
  .duo, .duo-flip { grid-template-columns: minmax(0, 1fr); }
  .duo-flip .piece { order: 2; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tiles { max-width: 560px; }
  .sec { padding: 56px 0; }
  .hg-stage { align-items: flex-start; }
  .hg-wrap { padding-top: calc(var(--head-h) + 28px); }
  .hg-copy { gap: 16px; }
  .hg-read { bottom: 16px; gap: 12px; }
  .hg-stages span { padding: 4px 8px; }
}
@media (max-width: 520px) {
  .hg-hint { display: none; }
  .hg-stages { gap: 4px; }
  .hg-stages span { padding: 4px 4px; }
  .piece-word { aspect-ratio: 4 / 3; }
  .piece-gears { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-grow { height: 100svh; }
  .hg-stages span { transition: none; }
  .hg-read { display: none; }
}
