/* Wallflower landing — the Punk Labs system inverted into a dark sensing field.
   Accent is the dashboard's own MOTION pink, so the page and the demo agree. */

.wallflower-page {
  --ink: #fff;
  --paper: #000;
  --muted: #9aa0a6;
  --signal: #f38ba8;
  --panel: #0a0a0a;
}

.wallflower-page ::selection {
  background: var(--signal);
  color: #000;
}

.wallflower-hero {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.wallflower-wordmark {
  max-width: min(100%, 60rem);
}

.wallflower-slug {
  max-width: 46ch;
  font-weight: 700;
}

.wallflower-quiet {
  color: var(--muted);
  font-weight: 400;
}

.wallflower-lede {
  max-width: 62ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  line-height: 1.48;
}

.wallflower-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.5rem;
}

.wallflower-badge {
  border: 1.5px solid var(--signal);
  color: var(--signal);
  padding: 0.7rem 1.1rem;
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wallflower-link,
.wallflower-source a,
.wallflower-cite a,
.wallflower-specs a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}

.wallflower-link {
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wallflower-link:hover,
.wallflower-link:focus-visible,
.wallflower-source a:hover,
.wallflower-source a:focus-visible,
.wallflower-cite a:hover,
.wallflower-cite a:focus-visible,
.wallflower-specs a:hover,
.wallflower-specs a:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: transparent;
}

.wallflower-block {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.wallflower-kicker {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.5rem);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wallflower-steps {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 68ch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallflower-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: baseline;
}

.wallflower-step-no {
  color: var(--signal);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.wallflower-step-body {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.4;
}

.wallflower-step-body strong {
  font-weight: 900;
}

.wallflower-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.wallflower-section-head .wallflower-kicker {
  margin: 0;
}

.wallflower-section-head p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* The demos: captures of the live motion dashboard, three ways of seeing one walk. */
.wallflower-demos {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.wallflower-demo {
  margin: 0;
}

.wallflower-demo img,
.wallflower-demo video {
  display: block;
  width: 100%;
  height: auto;
  border: 1.5px solid #303030;
  background: var(--panel);
}

.wallflower-demo figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wallflower-demo figcaption span:first-child {
  color: var(--signal);
}

.wallflower-demo--featured {
  width: min(100%, 58rem);
  justify-self: center;
}

.wallflower-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  max-width: 70ch;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.wallflower-legend b {
  color: var(--ink);
  font-weight: 700;
}

.wallflower-source {
  max-width: 88ch;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}

.wallflower-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallflower-features li {
  border-top: 1.5px solid var(--ink);
  padding-top: 1rem;
}

.wallflower-features h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.wallflower-features p,
.wallflower-copy {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.55;
}

/* The paper citation — a bordered block, the one thing this repo answers to. */
.wallflower-cite {
  max-width: 74ch;
  margin: 0;
  border: 1.5px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.wallflower-cite-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 900;
  line-height: 1.2;
}

.wallflower-cite-authors {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
}

.wallflower-cite-venue {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wallflower-cite-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.wallflower-specs {
  display: grid;
  max-width: 74ch;
  margin: 0;
}

.wallflower-specs > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1.5rem;
  border-top: 1.5px solid var(--ink);
  padding-block: clamp(0.9rem, 2vw, 1.15rem);
}

.wallflower-specs > div:last-child {
  border-bottom: 1.5px solid var(--ink);
}

.wallflower-specs dt {
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wallflower-specs dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.5;
}

@media (min-width: 42rem) {
  .wallflower-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wallflower-demos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wallflower-demo--featured {
    grid-column: 1 / -1;
  }

  .wallflower-specs > div {
    grid-template-columns: 13rem 1fr;
    align-items: baseline;
  }
}

@media (min-width: 60rem) {
  .wallflower-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wallflower-lede,
  .wallflower-cta {
    opacity: 0;
    transform: translateY(0.6rem);
    animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }

  .wallflower-lede { animation-delay: 0.22s; }
  .wallflower-cta { animation-delay: 0.3s; }
}
