/* SPDX-License-Identifier: AGPL-3.0-or-later */
/* /brand only. */

.brand-hero .split {
  align-items: center;
}
.hero-mark {
  margin: 0;
  justify-self: center;
  width: min(100%, 420px);
  color: var(--nm-text);
}
.hero-mark svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero-mark .cut {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: nm-cut 1.4s var(--nm-ease) 0.25s backwards;
}
@keyframes nm-cut {
  from {
    stroke-dashoffset: 1;
  }
}
.hero-mark figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  font-size: var(--nm-text-xs);
}
.construction {
  opacity: 0;
  transition: opacity var(--nm-medium) var(--nm-ease);
  pointer-events: none;
}
.hero-mark[data-construction='true'] .construction {
  opacity: 1;
}
.hero-mark[data-construction='true'] > svg > rect {
  opacity: 0.18;
  transition: opacity var(--nm-medium) var(--nm-ease);
}
.construction .grid line {
  stroke: var(--nm-border);
  stroke-width: 0.25;
}
.construction .live,
.construction .axis {
  stroke: var(--nm-danger);
  stroke-width: 0.3;
  stroke-dasharray: 1 1;
  fill: none;
}
.construction .spine {
  fill: none;
  stroke: var(--nm-accent);
  stroke-width: 0.5;
}
.construction .handle {
  fill: none;
  stroke: var(--nm-text-faint);
  stroke-width: 0.25;
}
.construction .pt {
  fill: var(--nm-accent);
}
.construction .h {
  fill: var(--nm-bg);
  stroke: var(--nm-text-faint);
  stroke-width: 0.3;
}

.readings .big {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--nm-accent);
}
.readings .big svg {
  width: 26px;
  height: 26px;
}

.sizes {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  padding: 36px 24px;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius-lg);
  background: var(--nm-surface);
}
.sizes img {
  display: block;
}

.rounds {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--nm-border);
}
.rounds > li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--nm-border);
}
.rounds .n {
  font-size: var(--nm-text-sm);
  color: var(--nm-text-faint);
  padding-top: 4px;
}
.rounds h3 {
  font-size: var(--nm-text-xl);
}
.rounds p {
  margin-top: 8px;
  color: var(--nm-text-muted);
  max-width: 46em;
}
.concepts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.concepts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius-lg);
  background: var(--nm-surface);
  color: var(--nm-text);
}
.concepts li.pick {
  border-color: var(--nm-accent-line);
  box-shadow: 0 0 0 3px var(--nm-accent-subtle);
}
.concepts .glyph {
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: var(--nm-radius-md);
  background: var(--nm-bg);
}
.concepts .glyph svg {
  width: 100%;
  height: 100%;
}
.concepts .k {
  font: 10.5px var(--nm-font-mono);
  color: var(--nm-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.concepts b {
  font-weight: 600;
}
.concepts p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
}
@media (max-width: 1060px) {
  .concepts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .concepts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rounds > li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.swatches li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius-lg);
  background: var(--c);
  color: var(--t);
}
.swatches span,
.swatches small {
  font: 11.5px var(--nm-font-mono);
  opacity: 0.85;
}
@media (max-width: 860px) {
  .swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.asset .pv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 6px;
  border-radius: var(--nm-radius-md);
}
.asset .pv.light {
  background: #f7f8f4;
  border: 1px solid var(--nm-border);
}
.asset .pv.dark {
  background: #171c19;
}
.asset img {
  display: block;
}
