/* Napkin. White page, cool-white cards on the Brocius midnight header.
   Headlines use Outfit (already self-hosted on the site). No underline. */

/* site.css and brocius.css paint the page fog gray. Napkin pages are plain white. */
html,
body {
  background: #ffffff;
}

/* This sheet also loads on the homepage for the band. Napkin pages have no
   .np-home, so the white page rule above still applies there. */
html:has(.np-home),
body:has(.np-home) {
  background: #F1F7FA;
}

/* site.css sets section { padding: 110px 0 }, which opens a blank gap under the chips. */
.np-main section {
  padding: 0;
  background: #ffffff;
}

.np-main {
  --np-ink: #1c2428;
  --np-muted: #52606a;
  --np-paper: #f7f9fa;
  --np-accent: #0A0E1C;
  --np-navy: var(--midnight, #0A0E1C);
  /* Chip preview blue is the site link blue from brocius.css. */
  background: #ffffff;
  color: var(--np-ink);
  padding: 22px 0 36px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
}

.np-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* Outfit is declared in brocius.css. First letter is lowercased only on
   screen; the source text stays as written for search and screen readers. */
.np-hero h1,
.np-list-h,
.np-sheet > h1,
.np-name,
.np-name a,
.np-home h2.np-home-title,
.np-home h2.np-home-hook {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
  text-decoration: none;
  background: none;
  border: 0;
  box-shadow: none;
}

.np-hero h1::first-letter,
.np-list-h::first-letter,
.np-sheet > h1::first-letter,
.np-name::first-letter,
.np-home h2.np-home-title::first-letter,
.np-home h2.np-home-hook::first-letter {
  text-transform: lowercase;
}

.np-hero h1::before,
.np-hero h1::after,
.np-list-h::before,
.np-list-h::after,
.np-sheet > h1::before,
.np-sheet > h1::after,
.np-name::before,
.np-name::after,
.np-name a::before,
.np-name a::after,
.np-home h2.np-home-title::before,
.np-home h2.np-home-title::after,
.np-home h2.np-home-title a::before,
.np-home h2.np-home-title a::after,
.np-home h2.np-home-hook::before,
.np-home h2.np-home-hook::after {
  content: none;
}

.np-hero {
  padding: 8px 0 6px;
}

.np-hero h1,
.np-home h2.np-home-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 68px;
  line-height: 1.05;
  color: var(--np-ink);
}

.jai-ask .np-home h2.np-home-title a,
.np-home h2.np-home-title a {
  color: inherit;
  text-decoration: none;
  background: none;
}

@font-face {
  font-family: "Caveat Napkin";
  src: url("/assets/fonts/caveat-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

/* Option D: Caveat handwriting, navy, "sketching out." in accent, slight tilt. */
.np-tagline,
.np-home .np-tagline {
  margin: 0;
  max-width: 40rem;
  display: inline-block;
  transform: rotate(-1deg);
  transform-origin: left center;
  font-family: "Caveat Napkin", cursive;
  font-size: 28px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #0A0E1C;
}

.np-tag-em { color: #00E1FF; }

.np-sub,
.np-home .np-sub {
  margin: 8px 0 0;
  max-width: 42rem;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
  color: var(--np-muted);
}

.np-actions {
  margin: 14px 0 0;
}

.np-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin: 0 0 14px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--np-muted);
}

.np-crumbs a {
  color: var(--np-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.np-kicker {
  margin: 0 0 4px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
}

.np-kicker a { color: var(--np-ink); }

.np-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.np-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.np-chip,
.np-surprise,
.np-talk,
.np-kit,
.np-sec,
.np-save,
.np-load,
.np-more,
.np-pager a {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  line-height: 1.2;
  min-height: 44px;
  box-sizing: border-box;
}

.np-chip,
.np-surprise,
.np-save,
.np-load,
.np-sec,
.np-talk,
.np-kit {
  cursor: pointer;
}

.np-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(44, 56, 66, 0.28);
  background: #ffffff;
  color: var(--np-ink);
  text-decoration: none;
}

.np-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00E1FF;
  flex: none;
}

.np-chip[aria-pressed="true"],
.np-chip[aria-current="page"] {
  background: var(--np-ink);
  color: #ffffff;
  border-color: var(--np-ink);
}

.np-surprise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--np-ink);
  background: #ffffff;
  color: var(--np-ink);
}

.np-list-h,
.np-home h2.np-home-hook {
  margin: 12px 0 6px;
  padding: 0;
  font-size: 40px;
  line-height: 1.08;
  color: var(--np-ink);
}

.np-sheet > h1 {
  margin: 0 0 10px;
  line-height: 1.12;
  color: var(--np-ink);
}

.np-sheet .np-block h2 {
  margin: 0 0 4px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--np-muted);
}

.np-count {
  margin: 0 0 12px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--np-muted);
}

.np-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
}

/* Card surface. Pure white with a pixel-aligned hairline weave, a pressed
   ridged edge, and a 1px dashed hem. No noise, no sheen, no filter, no rotation.
   Ridges are four square-ended strips on the card itself: vertical lines on the
   top and bottom, horizontal lines on the sides. They stop at the corners. */
.np-card,
.np-sheet {
  --paper: #ffffff;
  --np-band: 12px;
  position: relative;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(60, 72, 98, 0.09), rgba(60, 72, 98, 0.09)),
    linear-gradient(rgba(60, 72, 98, 0.09), rgba(60, 72, 98, 0.09)),
    linear-gradient(rgba(60, 72, 98, 0.09), rgba(60, 72, 98, 0.09)),
    linear-gradient(rgba(60, 72, 98, 0.09), rgba(60, 72, 98, 0.09)),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.95) 0 1px,
      rgba(60, 72, 98, 0.12) 1px 2px,
      transparent 2px 3px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.95) 0 1px,
      rgba(60, 72, 98, 0.12) 1px 2px,
      transparent 2px 3px),
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.95) 0 1px,
      rgba(60, 72, 98, 0.12) 1px 2px,
      transparent 2px 3px),
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.95) 0 1px,
      rgba(60, 72, 98, 0.12) 1px 2px,
      transparent 2px 3px);
  background-size:
    100% 1px,
    100% 1px,
    1px calc(100% - (var(--np-band) * 2)),
    1px calc(100% - (var(--np-band) * 2)),
    100% var(--np-band),
    100% var(--np-band),
    var(--np-band) calc(100% - (var(--np-band) * 2)),
    var(--np-band) calc(100% - (var(--np-band) * 2));
  background-position:
    left 0 top calc(var(--np-band) - 1px),
    left 0 bottom calc(var(--np-band) - 1px),
    left calc(var(--np-band) - 1px) top var(--np-band),
    right calc(var(--np-band) - 1px) top var(--np-band),
    top center,
    bottom center,
    left top var(--np-band),
    right top var(--np-band);
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    repeat-x,
    repeat-x,
    no-repeat,
    no-repeat;
  border: 0;
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(10, 14, 28, 0.05),
    0 8px 18px rgba(10, 14, 28, 0.05);
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  perspective: none;
  will-change: auto;
}

.np-card {
  --tilt: 0deg;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  min-width: 0;
}

.np-card > *:not(.np-mono),
.np-sheet > *:not(.np-mono) {
  position: relative;
  z-index: 1;
}

.np-card::before,
.np-sheet::before,
.np-card::after,
.np-sheet::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Weave sits behind the copy: 1px hairlines on a 4px grid, hard stops. */
.np-card::before,
.np-sheet::before {
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-color: transparent;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(10, 14, 28, 0.035) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(10, 14, 28, 0.035) 3px 4px);
  background-repeat: repeat;
  opacity: 1;
  filter: none;
  transform: none;
}

/* Stitched hem: 1px dashed thread, just inside the ridged band. No shadow, no filter. */
.np-card::after,
.np-sheet::after {
  inset: calc(var(--np-band, 12px) + 2px);
  z-index: 0;
  border-radius: 4px;
  border: 1px dashed rgba(10, 14, 28, 0.2);
  background: none;
  filter: none;
  transform: none;
  opacity: 1;
}

.np-mono {
  position: absolute;
  /* Padding is 3px 6px 4px. top/right are pulled in by that so the word
     stays at the old 22px/22px spot. 6px on the right (not 7) keeps the
     1px pressure ring inside the dashed hem. */
  top: 19px;
  right: 16px;
  bottom: auto;
  z-index: 2;
  margin: 0;
  padding: 3px 6px 4px;
  border-radius: 5px;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  /* Blind imprint. Opaque near-white covers the hairline grid inside the
     stamp. Depth is a crisp cool shadow up-left and a white lip down-right. */
  color: #f6f7f9;
  background: #fbfcfd;
  mix-blend-mode: normal;
  text-shadow: -1px -1px 0 rgba(48, 60, 88, 0.30), 0 -1px 0 rgba(48, 60, 88, 0.18), 1px 1px 0 #fff;
  box-shadow:
    inset 1px 1px 0 rgba(48, 60, 88, 0.14),
    inset -1px -1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.np-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 52px;
  padding-right: 108px;
}

.np-doodle {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--accent, var(--np-accent));
  background: var(--tint, rgba(10, 14, 28, 0.06));
  border-radius: 46% 54% 50% 50%;
}

.np-svg { width: 34px; height: 34px; display: block; }

.np-badge {
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: #0A0E1C;
  border: 1px solid #0A0E1C;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.np-name {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.12;
}

.np-name a {
  color: var(--np-ink);
  text-decoration: none;
}

.np-for,
.np-why,
.np-sheet p {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: var(--np-ink);
}

/* Idea pitch shows in full. No line clamp. */
.np-pitch {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
  color: #24303a;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

/* One quiet sample address under the pitch. Plain text, not a link. */
p.np-domain,
.np-sheet p.np-domain,
.np-home p.np-domain {
  margin: 6px 0 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #52606a;
}

.np-k {
  display: block;
  margin: 0 0 2px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  color: var(--np-muted);
}

/* Who it's for and Why now stay open. The label sits on the text. */
.np-open .np-k {
  margin: 12px 0 2px;
}

.np-open .np-k:first-child {
  margin-top: 0;
}

.np-for,
.np-why {
  display: block;
  overflow: visible;
}

.np-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.np-cat,
.np-budget {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  color: var(--np-ink);
}

.np-cat {
  background: #eef2f4;
  border: 1px solid var(--accent, var(--np-accent));
}

.np-budget {
  background: transparent;
  border: 1.5px solid #8b98a2;
}

.np-budget[data-budget="Shoestring"] { background: transparent; border-color: #8b98a2; }
.np-budget[data-budget="Modest"] { background: transparent; border-color: #5d6b76; }
.np-budget[data-budget="Big swing"] { background: transparent; border-color: var(--np-accent); }

.np-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* 8px card gap + 6px padding = 14px under Why now. Spare row height
     stays below Save, not above Talk. */
  margin-top: 0;
  padding-top: 6px;
}

/* Restorable Starter Kit button (SHOW_KIT). Hidden while the flag is false. */
.np-kit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 16px;
  background: #0A0E1C;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}
.np-kit:hover,
.np-kit:focus {
  color: #fff;
  background: #141a2e;
}

.np-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.np-row .np-sec {
  width: auto;
  min-width: 44px;
  height: auto;
  min-height: 44px;
  flex: none;
  aspect-ratio: auto;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.np-talk,
.np-sec,
.np-save,
.np-more,
.np-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
}

.np-talk {
  width: 100%;
  background: var(--np-navy, #0A0E1C);
  color: #ffffff;
  border: 1.5px solid var(--np-navy, #0A0E1C);
  font-size: 17px;
}

.np-sec {
  background: transparent;
  color: #3d4e5c;
  border: 1px solid #d5dce2;
  font-size: 15px;
}

.np-sec:hover,
.np-sec:focus {
  color: #0A0E1C;
  border-color: #c5ced6;
  background: transparent;
}

.np-more {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 2px;
  border-radius: 8px;
  color: #52606a;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(10, 14, 28, 0.28);
  text-underline-offset: 3px;
}

.np-save {
  width: auto;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 4px;
  border-radius: 8px;
  background: transparent;
  color: #52606a;
  border: 0;
  font-size: 14px;
  font-weight: 600;
}

.np-save::before {
  content: "";
  width: 12px;
  height: 14px;
  margin-right: 6px;
  background: currentColor;
  flex: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.np-save[aria-pressed="true"] {
  background: transparent;
  color: #0A0E1C;
  border: 0;
}

.np-keep {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #52606a;
}

.np-keep a {
  color: #0A0E1C;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.np-main a:focus-visible,
.np-main button:focus-visible {
  outline: 3px solid var(--np-ink);
  outline-offset: 3px;
}

.np-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 8px;
}

.np-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(44, 56, 66, 0.28);
  background: #ffffff;
  color: var(--np-ink);
  text-decoration: none;
}

.np-pager a[aria-current="page"] {
  background: var(--np-ink);
  color: #ffffff;
  border-color: var(--np-ink);
}

.np-load {
  width: min(100%, 420px);
  margin: 8px auto 0;
  background: var(--np-ink);
  color: #ffffff;
  border: 1.5px solid var(--np-ink);
  font-size: 17px;
}

.np-load[aria-busy="true"] { opacity: 0.7; }

.np-empty {
  margin: 12px 0;
  font-size: 17px;
  color: var(--np-muted);
}

.np-empty a {
  color: #0A0E1C;
  font-weight: 600;
}

button.np-load {
  font-family: var(--body);
  appearance: none;
  -webkit-appearance: none;
}

.np-sheet {
  max-width: 720px;
  margin: 0 auto 22px;
  padding: 32px 26px 48px;
}

.np-sheet .np-pitch {
  font-size: 20px;
  line-height: 1.5;
  color: #24303a;
}

.np-sheet .np-block { margin-top: 14px; }

.np-sheet .np-cta {
  margin-top: 8px;
}

.np-back {
  margin: 8px 0 0;
  font-family: var(--body);
  font-size: 17px;
}

.np-back a {
  color: var(--np-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.np-inspire {
  margin: 0;
  padding: 16px 16px 0;
  text-align: center;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: #e8eef2;
}

#np-doodles { display: none !important; }

.np-card.is-hot {
  box-shadow:
    0 0 0 3px var(--accent, var(--np-accent)),
    0 12px 22px rgba(36, 48, 56, 0.12);
}

@media (min-width: 700px) {
  .np-main { padding-top: 28px; }
  .np-hero h1,
  .np-home h2.np-home-title { font-size: 92px; }
  .np-tagline,
  .np-home .np-tagline { font-size: 30px; }
  .np-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .np-card { padding: 32px; }
  .np-name { font-size: 32px; }
  .np-sheet { padding: 40px 44px 52px; }
  .np-sheet > h1 { font-size: 44px; }
}

@media (min-width: 1024px) {
  .np-grid { grid-template-columns: 1fr 1fr 1fr; container-type: inline-size; }
  .np-grid .np-card { min-height: calc((100cqi - 44px) / 3); }
}

@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .np-card { transition: transform 0.16s ease; }
  .np-card:hover {
    transform: translateY(-6px);
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-card,
  .np-card:hover {
    transform: none;
    transition: none;
  }
}

@media (max-width: 699px) {
  .np-main { font-size: 16px; }
  .np-for, .np-why, .np-sub { font-size: 16px; }
  .np-pitch { font-size: 19px; }
  .np-name { font-size: 30px; }
  .np-sheet > h1 { font-size: 34px; }
  .np-row .np-sec {
    width: auto;
    height: auto;
    min-height: 44px;
    flex: none;
    aspect-ratio: auto;
  }
}

/* Homepage band. Scoped to .np-home so the rest of the page is unchanged.
   White panel, same headings as /napkin/. No cyan, no letter-spaced kicker. */
.np-home {
  --np-ink: #1c2428;
  --np-muted: #52606a;
  --np-paper: #ffffff;
  --np-accent: #0A0E1C;
  --np-navy: var(--midnight, #0A0E1C);
  background: #ffffff;
  color: var(--np-ink);
  padding: 40px 0 40px;
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

.np-home-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.np-home .np-sub { margin-bottom: 14px; }

.np-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
  min-width: 0;
  box-sizing: border-box;
  padding: 16px;
  margin: 0;
  background: #F5F7FA url(/assets/img/marble-tile.webp) 0 0 / 768px 768px repeat;
  border-radius: 14px;
}

.np-home .np-card {
  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 28px;
  gap: 8px;
  color: var(--np-ink);
  background-color: #ffffff;
  transform: none;
}

.np-home .np-card:hover {
  transform: none;
}

.np-home .np-top { min-height: 40px; }

.np-home .np-doodle {
  width: 40px;
  height: 40px;
}

.np-home .np-svg { width: 26px; height: 26px; }

.np-home .np-name {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.12;
}

.np-home .np-pitch {
  font-size: 19px;
  line-height: 1.5;
  color: #24303a;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.np-home .np-cat,
.np-home .np-budget {
  font-size: 13px;
  min-height: 28px;
  padding: 2px 8px;
}

.np-home .np-talk {
  font-size: 15px;
  min-height: 44px;
  padding: 8px 12px;
}

.np-home a.np-talk[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}

.np-home .np-mono {
  top: 19px;
  right: 16px;
  bottom: auto;
  font-size: 24px;
  padding: 3px 6px 4px;
  border-radius: 5px;
  color: #f6f7f9;
  background: #fbfcfd;
  mix-blend-mode: normal;
  text-shadow: -1px -1px 0 rgba(48, 60, 88, 0.30), 0 -1px 0 rgba(48, 60, 88, 0.18), 1px 1px 0 #fff;
  box-shadow:
    inset 1px 1px 0 rgba(48, 60, 88, 0.14),
    inset -1px -1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.6);
}

.jai-ask .np-home .np-name a,
.np-home .np-name a,
.jai-ask .np-home .np-name a:hover,
.np-home .np-name a:hover {
  color: var(--np-ink);
  background: none;
  text-decoration: none;
}

.jai-ask .np-home a.np-cat,
.np-home a.np-cat,
.jai-ask .np-home a.np-cat:hover,
.np-home a.np-cat:hover {
  color: var(--np-ink);
  background: #eef2f4;
  text-decoration: none;
}

.jai-ask .np-home a.np-talk,
.np-home a.np-talk,
.jai-ask .np-home a.np-talk:hover,
.np-home a.np-talk:hover {
  color: #ffffff;
  background: var(--np-navy, #0A0E1C);
  border-color: var(--np-navy, #0A0E1C);
  text-decoration: none;
}

/* Restorable. The homepage band sits inside .light. That link rule is as
   specific as .np-kit and would paint the label teal with a cyan hover wash. */
.jai-ask .np-home a.np-kit,
.np-home a.np-kit,
.jai-ask .np-home a.np-kit:hover,
.np-home a.np-kit:hover,
.jai-ask .np-home a.np-kit:focus,
.np-home a.np-kit:focus {
  color: #fff;
  text-decoration: none;
}
.jai-ask .np-home a.np-kit,
.np-home a.np-kit {
  background: #0A0E1C;
}
.jai-ask .np-home a.np-kit:hover,
.np-home a.np-kit:hover,
.jai-ask .np-home a.np-kit:focus,
.np-home a.np-kit:focus {
  background: #141a2e;
}

.np-member {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 40px;
  padding: 18px 22px;
  background-color: #0A0E1C;
  background-image: linear-gradient(180deg, #141a33 0%, #0A0E1C 100%);
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(10, 14, 28, 0.14);
}

/* List and category grids only (the strip sits directly above them). */
.np-main .np-member + .np-grid {
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  background: #F5F7FA url(/assets/img/marble-tile.webp) 0 0 / 768px 768px repeat;
  border-radius: 14px;
}

/* Cards on the marble. The ridged face is unchanged; only the lift shadow. */
.np-home-grid .np-card,
.np-main .np-member + .np-grid .np-card {
  box-shadow:
    0 1px 2px rgba(20, 28, 48, 0.08),
    0 4px 10px rgba(20, 28, 48, 0.07),
    0 14px 28px rgba(20, 28, 48, 0.08);
}

.np-main .np-member + .np-grid .np-card.is-hot {
  box-shadow:
    0 0 0 3px var(--accent, var(--np-accent)),
    0 1px 2px rgba(20, 28, 48, 0.08),
    0 4px 10px rgba(20, 28, 48, 0.07),
    0 14px 28px rgba(20, 28, 48, 0.08);
}

/* Text that sits on the marble, not on a card. */
.np-home-grid > :not(.np-card),
.np-main .np-member + .np-grid > :not(.np-card) {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
}

@media (min-width: 700px) {
  .np-home-grid,
  .np-main .np-member + .np-grid {
    padding: 24px;
  }
}

.np-member-h {
  margin: 0 0 4px;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.np-member-line {
  margin: 0;
  max-width: 62ch;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.np-member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  background: #ffffff;
  color: #0A0E1C;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

.np-member-compact {
  margin: 18px 0 8px;
  padding: 14px 18px;
}

.np-member-compact .np-member-h {
  font-size: 18px;
}

.np-home-all {
  margin: 12px 0 0;
}

.jai-ask .np-home a.np-home-more,
.np-home a.np-home-more {
  color: var(--np-ink);
  background: none;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: #0A0E1C;
  text-underline-offset: 3px;
}

.jai-ask .np-home a.np-home-more:hover,
.np-home a.np-home-more:hover {
  color: var(--np-ink);
  background: none;
  text-decoration: underline;
  text-decoration-color: #0A0E1C;
  text-underline-offset: 3px;
}

.jai-ask .np-home a.np-home-more:focus-visible,
.np-home a.np-home-more:focus-visible {
  outline: 2px solid var(--np-ink);
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .np-home .np-card { padding: 32px; }
  .np-home .np-name { font-size: 32px; }
}

@media (min-width: 960px) {
  .np-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .np-home .np-name { font-size: 32px; }
}

@media (min-width: 1100px) {
  .np-home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
