:root {
  --paper: #090d18;
  --paper-2: #101628;
  --ink: #f3f6ff;
  --ink-soft: #a9b4d4;
  --pine: #141b36;
  --pine-2: #1c2748;
  --clay: #ff3b8d;
  --clay-deep: #5cecff;
  --moss: #3dffb0;
  --sand: #182038;
  --line: rgba(92, 236, 255, 0.28);
  --cream: #f4f7ff;
  --card: #141b31;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% -8%, rgba(255, 59, 141, 0.22), transparent 32%),
    radial-gradient(circle at 0% 18%, rgba(92, 236, 255, 0.14), transparent 34%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.nm-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #070b16;
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.nm-skip:focus { top: 0.6rem; }

.nm-wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.nm-mast {
  background:
    linear-gradient(115deg, #17143a 0%, #10182f 48%, #0d2436 100%);
  color: var(--cream);
  padding: 1.15rem 0 2.6rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  box-shadow: inset 0 -2px 0 rgba(92, 236, 255, 0.45);
}
.nm-mast__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.nm-brand { display: flex; gap: 0.85rem; align-items: center; text-decoration: none; }
.nm-seal {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--clay-deep);
  box-shadow: 0 0 16px rgba(92, 236, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.04em;
  flex: none;
}
.nm-brand small {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  opacity: 0.75;
}
.nm-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-decoration: none;
}
.nm-nav { display: flex; gap: 1.15rem; align-items: center; padding-bottom: 0.35rem; }
.nm-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}
.nm-nav a:hover, .nm-nav a[aria-current="page"] { border-bottom-color: var(--clay-deep); }
.nm-burger {
  display: none;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(251, 247, 240, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

.nm-lede {
  padding: 1.6rem 0 0.4rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
}
.nm-lede h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.nm-lede p { color: var(--ink-soft); max-width: 42ch; }

.nm-open {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem;
  align-items: center;
  padding: 0.6rem 0 2.2rem;
}
.nm-open__copy { display: grid; gap: 0.85rem; }
.nm-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--clay);
  font-weight: 650;
}
.nm-open h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.nm-open__copy > p { font-size: 1.12rem; max-width: 46ch; }
.nm-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nm-chips span, .nm-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.82rem;
  background: rgba(92, 236, 255, 0.08);
  color: var(--cream);
}
.nm-go {
  justify-self: start;
  text-decoration: none;
  background: var(--clay);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(255, 59, 141, 0.35);
}
.nm-go:hover { background: var(--clay-deep); color: #071018; }

.nm-stage { position: relative; }
.nm-stage img {
  width: 100%;
  height: min(420px, 54vw);
  object-fit: cover;
  object-position: 18% 50%;
  border-radius: 1.4rem 1.4rem 0.4rem 1.4rem;
  box-shadow: var(--shadow);
}
.nm-stage figcaption {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.nm-hang {
  position: absolute;
  left: -18px;
  bottom: 46px;
  background: rgba(8, 12, 24, 0.88);
  color: var(--cream);
  border: 1px solid rgba(92, 236, 255, 0.4);
  border-radius: 1rem;
  padding: 0.7rem 0.8rem 0.75rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
}

.nm-gauge { display: flex; flex-direction: column; align-items: center; gap: 0.28rem; min-width: 46px; }
.nm-gauge i {
  display: block;
  width: 9px;
  height: 78px;
  border-radius: 99px;
  background: #243056;
  position: relative;
  overflow: hidden;
}
.nm-gauge i::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--fill);
  background: var(--clay);
}
.nm-gauge[data-band="media"] i::after { background: var(--moss); }
.nm-gauge[data-band="baja"] i::after { background: #ffb020; }
.nm-gauge b {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}
.nm-gauge small { color: var(--ink-soft); font-size: 0.72rem; letter-spacing: 0.08em; }
.nm-hang .nm-gauge i { height: 96px; }

.nm-mesa { padding-bottom: 2.5rem; }
.nm-mesa__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  margin-bottom: 0.9rem;
}
.nm-mesa__head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}
.nm-mesa__head p { color: var(--ink-soft); font-size: 0.92rem; }

.nm-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 1rem; }
.nm-filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  cursor: pointer;
}
.nm-filters button.is-on {
  background: var(--clay-deep);
  color: #071018;
  border-color: var(--clay-deep);
}
.nm-filters button:focus-visible, .nm-go:focus-visible, .nm-nav a:focus-visible, .nm-row a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
.nm-count { color: var(--ink-soft); font-size: 0.88rem; min-height: 1.3em; }

.nm-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.nm-row a {
  display: grid;
  grid-template-columns: auto 86px minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
  text-decoration: none;
  background: var(--card);
  border-radius: 1.1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid transparent;
}
.nm-row:nth-child(even) a { margin-left: 7%; background: transparent; border-color: var(--line); }
.nm-row a:hover { border-color: var(--clay); }
.nm-ord {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
  width: 1.8rem;
}
.nm-orb {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 28% 50%;
}
.nm-row h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.nm-row a:hover h3 { text-decoration: underline; text-underline-offset: 0.18em; }
.nm-row .nm-row__text { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.15rem; }
.nm-row .nm-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.2rem; }
.nm-row .nm-meta span { background: transparent; padding: 0; border: 0; color: var(--clay-deep); font-size: 0.78rem; letter-spacing: 0.04em; }
.nm-empty {
  display: none;
  padding: 1rem 0 1.4rem;
  color: var(--ink-soft);
}
.nm-empty.is-shown { display: block; }

.nm-axes-home {
  background: linear-gradient(115deg, #1a1040 0%, #121c44 52%, #0c2438 100%);
  color: var(--cream);
  clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%);
  padding: 3rem 0 2.4rem;
}
.nm-axes-home h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.nm-axis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.nm-axis-grid article {
  border-top: 1px solid rgba(251, 247, 240, 0.25);
  padding-top: 0.8rem;
}
.nm-axis-grid strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  display: block;
}
.nm-axis-grid p { color: rgba(251, 247, 240, 0.82); margin-top: 0.35rem; }
.nm-axes-home a { color: var(--clay-deep); }

.nm-foot {
  padding: 1.8rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.nm-foot strong { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: block; margin-bottom: 0.3rem; }
.nm-foot nav { display: grid; gap: 0.25rem; align-content: start; }
.nm-foot a { color: var(--ink); }
.nm-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 0.8rem; font-size: 0.85rem; }

.nm-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  background: #070b16;
  color: var(--cream);
  border: 1px solid rgba(92, 236, 255, 0.35);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.nm-cookie[hidden] { display: none; }
.nm-cookie p { font-size: 0.92rem; max-width: 70ch; }
.nm-cookie a { color: var(--clay-deep); }
.nm-cookie div { display: flex; gap: 0.4rem; flex: none; }
.nm-cookie button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  background: var(--clay);
  color: #fff;
}
.nm-cookie button.nm-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(92, 236, 255, 0.45); }

.nm-slim {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.nm-slim .nm-word { font-size: 1.7rem; color: var(--clay-deep); }
.nm-slim .nm-nav a { color: var(--ink); }
.nm-slim .nm-burger { color: var(--ink); border-color: var(--line); }

.nm-notehead { display: grid; gap: 0.7rem; margin-bottom: 1rem; }
.nm-crumb { font-size: 0.88rem; color: var(--ink-soft); }
.nm-crumb a { color: var(--clay-deep); }
.nm-titleline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}
.nm-notehead h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.nm-dek { font-size: 1.22rem; max-width: var(--measure); }
.nm-plate {
  margin: 0.4rem 0 1.2rem;
  overflow: hidden;
  border-radius: 1.2rem 1.2rem 0.3rem 1.2rem;
}
.nm-plate img {
  width: 100%;
  height: min(460px, 58vw);
  object-fit: cover;
  object-position: left center;
  transform: scale(1.22);
  transform-origin: left center;
}
.nm-plate figcaption { color: var(--ink-soft); font-size: 0.82rem; margin-top: 0.4rem; }

.nm-meters { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; max-width: 640px; }
.nm-meters div { display: grid; grid-template-columns: 7.2rem 1fr auto; gap: 0.6rem; align-items: center; }
.nm-meters b {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #243056;
  position: relative;
  overflow: hidden;
}
.nm-meters b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  background: var(--clay-deep);
}
.nm-meters em { font-style: normal; font-variant-numeric: tabular-nums; font-size: 0.92rem; }

.nm-prose { max-width: var(--measure); display: grid; gap: 0.9rem; }
.nm-prose p:first-child { font-size: 1.12rem; }
.nm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.4rem 0;
  max-width: 760px;
}
.nm-split div { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.9rem 1rem 1rem; }
.nm-split h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.4rem; }
.nm-split ul { margin: 0; padding-left: 1.1rem; }
.nm-split li + li { margin-top: 0.25rem; }
.nm-verdict {
  max-width: var(--measure);
  border-left: 4px solid var(--clay);
  padding: 0.2rem 0 0.2rem 0.9rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}
.nm-next {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 1.6rem 0 2rem;
  text-decoration: none;
  background: linear-gradient(90deg, #ff3b8d, #7a5cff 55%, #5cecff);
  color: #071018;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}
.nm-next span { font-family: var(--serif); font-size: 1.25rem; }
.nm-next:hover { filter: brightness(1.08); }

.nm-page { padding-bottom: 2rem; }
.nm-page h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}
.nm-page h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 1.3rem 0 0.4rem;
}
.nm-prose-page { max-width: 70ch; display: grid; gap: 0.75rem; }
.nm-prose-page ul { margin: 0; padding-left: 1.15rem; }
.nm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.6rem; }
.nm-cards article { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.9rem 1rem; }
.nm-cards h2 { margin-top: 0; font-size: 1.2rem; }
.nm-form { display: grid; gap: 0.7rem; max-width: 560px; margin-top: 0.8rem; }
.nm-form label { display: grid; gap: 0.25rem; font-size: 0.92rem; }
.nm-form input, .nm-form select, .nm-form textarea {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 0.7rem;
  padding: 0.55rem 0.7rem;
}
.nm-form textarea { min-height: 140px; resize: vertical; }
.nm-form button {
  justify-self: start;
  background: var(--clay);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  cursor: pointer;
}
.nm-form button:hover { background: var(--clay-deep); color: #071018; }
.nm-form .nm-error { color: var(--clay); min-height: 1.2em; }
.nm-form .nm-ok { color: var(--moss); }

@media (max-width: 860px) {
  .nm-lede, .nm-open, .nm-axis-grid, .nm-foot, .nm-split, .nm-cards, .nm-titleline {
    grid-template-columns: 1fr;
  }
  .nm-row:nth-child(even) a { margin-left: 0; }
  .nm-hang { left: 10px; bottom: 36px; }
  .nm-mast { clip-path: none; padding-bottom: 1.2rem; }
  .nm-burger { display: inline-flex; }
  .nm-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.6rem;
    background: var(--pine-2);
    padding: 0.8rem;
    border-radius: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5;
  }
  .nm-slim { position: relative; }
  .nm-slim .nm-nav { background: var(--card); border: 1px solid var(--line); top: 3.6rem; }
  .nm-nav.is-open { display: flex; }
  .nm-mast { position: relative; }
  .nm-cookie { flex-direction: column; align-items: stretch; }
  .nm-row a { grid-template-columns: auto 64px minmax(0, 1fr); }
  .nm-row .nm-gauge { grid-column: 2 / -1; flex-direction: row; justify-content: flex-start; }
  .nm-row .nm-gauge i { width: 72px; height: 9px; }
  .nm-row .nm-gauge i::after { width: var(--fill); height: auto; top: 0; bottom: 0; }
  .nm-orb { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
