/* vn.css — lane VN-1, no vanity numbers (vanity.py). Linked only on the pages it changes. */

/* ── /sites: What do you do? ─────────────────────────────────────────────────────────────── */
.vn-find {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0.875rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.vn-find > :not(.custom-lozenge) { position: relative; z-index: 1; min-width: 0; }
.vn-find-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.vn-find-row { display: flex; gap: 0.5rem; }
.vn-find-input {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--color-border, rgb(0 0 0 / 0.12));
  border-radius: 999px;
  background: var(--custom-card, #fff);
  color: var(--color-text, #141414);
  font-size: 1rem;
}
.vn-find-input::placeholder { color: var(--color-text-soft, #6b6b6b); }
.vn-find-input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.vn-find-go { min-height: 44px; flex: 0 0 auto; }
.vn-find-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.vn-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.875rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s;
}
.vn-chip:hover { background: rgb(255 255 255 / 0.9); }
.vn-chip[aria-current="true"] { background: #141414; color: #fff; }

/* one result shows: the chip's (:target), else the first; with the script, the live one */
.vn-res { display: none; }
.vn-res:target, .vn-find:not(:has(.vn-res:target)) .vn-res--first { display: grid; }
.vn-res--live { display: none !important; }
.vn-find[data-vn-on] .vn-res { display: none; }
.vn-find[data-vn-on] .vn-res--live { display: grid !important; }
.vn-res {
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 0.5rem 0.875rem;
  align-items: start;
  padding: 0.75rem;
  border-radius: calc(var(--custom-radius, 1.5rem) * 0.6);
  background: var(--custom-card, #fff);
  color: var(--color-text, #141414);
  scroll-margin-top: calc(var(--header-h, 5rem) + 1rem);
}
.vn-res-shot { display: block; border-radius: 0.625rem; overflow: hidden; aspect-ratio: 16 / 10; background: #eee; }
.vn-res-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vn-res-body { display: contents; }
.vn-res-text { display: grid; gap: 0.25rem; min-width: 0; align-content: start; }
.vn-res-note { margin: 0; font-size: 0.8125rem; color: var(--color-text-soft, #5c5c5c); }
.vn-res-name { margin: 0; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; line-height: 1.2; }
.vn-res-kind { display: block; font-family: inherit; font-size: 0.8125rem; font-weight: 400; color: var(--color-text-soft, #5c5c5c); }
.vn-res-line { margin: 0.125rem 0 0; font-size: 0.9375rem; line-height: 1.35; }
.vn-res-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; margin: 0.25rem 0 0; }
.vn-res-make { gap: 0.375rem; min-height: 44px; }
.vn-res-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 479.98px) {
  .vn-res { grid-template-columns: minmax(0, 1fr); }
  .vn-res-shot { aspect-ratio: 16 / 8; }
}

/* ── the Click band: a text and its answer ───────────────────────────────────────────────── */
.vn-say { display: grid; gap: 0.5rem; flex: 0 1 24rem; min-width: min(100%, 17rem); margin: 0; }
.vn-say p { margin: 0; font-size: 1rem; line-height: 1.4; }
.vn-say-from { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; opacity: 0.7; margin-bottom: 0.125rem; }
.vn-say-me {
  justify-self: end;
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 1.125rem 1.125rem 0.25rem 1.125rem;
  background: #6d28d9;
  color: #fff;
}
.vn-say-click {
  justify-self: start;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 92%;
}
.vn-say-click > span {
  padding: 0.625rem 0.875rem;
  border-radius: 1.125rem 1.125rem 1.125rem 0.25rem;
  background: var(--custom-card, #fff);
  color: var(--color-text, #141414);
}
.vn-face { width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: 50%; }

/* ── /features: the six tiles ────────────────────────────────────────────────────────────── */
.vn-tiles { display: grid; gap: var(--custom-gutter, 0.75rem); grid-template-columns: minmax(0, 1fr); margin: 0; list-style: none; }
@media (min-width: 640px) { .vn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vn-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vn-tile { padding: 0; overflow: hidden; }
.vn-tile-a { display: grid; grid-template-rows: auto 1fr auto; gap: 0.375rem; height: 100%; padding: 0.625rem 0.625rem 1rem; color: inherit; text-decoration: none; }
.vn-tile-shot { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: calc(var(--custom-radius-card, 1.25rem) * 0.7); overflow: hidden; margin-bottom: 0.375rem; }
.vn-tile-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out, ease); }
.vn-tile-a:hover .vn-tile-shot img { transform: scale(1.03); }
.vn-tile-line, .vn-tile-go { padding-inline: 0.5rem; }
.vn-tile-kind { position: absolute; left: 0.5rem; bottom: 0.5rem; max-width: calc(100% - 1rem); padding: 0.25rem 0.625rem; border-radius: 999px; background: rgb(255 255 255 / 0.92); color: #141414; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vn-tile-line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1875rem, 1.05rem + 0.35vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.vn-tile-go { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.125rem; font-size: 0.9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── /features: the ready line ───────────────────────────────────────────────────────────── */
.vn-ready { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.vn-ready i { flex: 0 0 auto; margin-top: 0.2em; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--custom-tone-3, #d8f36a); color: #141414; font-size: 0.75rem; }

/* ── quotes: the signed contract ─────────────────────────────────────────────────────────── */
.vn-doc {
  display: grid;
  gap: 0.625rem;
  width: min(100%, 15rem);
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  background: #fff;
  color: #141414;
  text-align: left;
  box-shadow: 0 10px 24px -14px rgb(0 0 0 / 0.35);
}
.vn-doc-head { display: grid; margin: 0; line-height: 1.25; }
.vn-doc-head b { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; }
.vn-doc-head span { font-size: 0.75rem; color: #5c5c5c; }
.vn-doc-lines { display: grid; gap: 0.3rem; }
.vn-doc-lines i { display: block; height: 0.375rem; border-radius: 999px; background: #ececec; }
.vn-doc-lines i:nth-child(2) { width: 86%; }
.vn-doc-lines i:nth-child(3) { width: 62%; }
.vn-doc-sig { display: grid; border-bottom: 1px solid #d6d6d6; padding-bottom: 0.25rem; }
.vn-doc-sig svg { width: 8.5rem; height: 2.125rem; fill: none; stroke: #1f3fbf; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vn-doc-sig span { font-size: 0.6875rem; color: #5c5c5c; }
.vn-doc-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.vn-pill { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.1875rem 0.5rem; border-radius: 999px; background: #efefef; font-size: 0.75rem; font-weight: 600; }
.vn-pill--ok { background: var(--custom-tone-3, #d8f36a); color: #141414; }

/* ── site chat: a price from the list ────────────────────────────────────────────────────── */
.vn-chat { display: grid; gap: 0.5rem; width: min(100%, 16rem); text-align: left; }
.vn-chat p { margin: 0; font-size: 0.9375rem; line-height: 1.35; }
.vn-chat-q { justify-self: end; max-width: 88%; padding: 0.5rem 0.75rem; border-radius: 1rem 1rem 0.25rem 1rem; background: #141414; color: #fff; }
.vn-chat-a { justify-self: start; display: flex; align-items: flex-end; gap: 0.4rem; max-width: 96%; }
.vn-chat-a > span { padding: 0.5rem 0.75rem; border-radius: 1rem 1rem 1rem 0.25rem; background: #fff; color: #141414; box-shadow: 0 8px 20px -14px rgb(0 0 0 / 0.35); }
.vn-chat .vn-face { width: 1.75rem; height: 1.75rem; flex-basis: 1.75rem; }

/* ── /about: plain headings, not figures ─────────────────────────────────────────────────── */
.custom-about-facts.vn-facts dt { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

/* dark: the band's answer and the tiles follow the theme; the white cards stay white on their pastel panels */
html[data-theme="dark"] .vn-chip { background: rgb(255 255 255 / 0.12); }
html[data-theme="dark"] .vn-chip:hover { background: rgb(255 255 255 / 0.2); }
html[data-theme="dark"] .vn-chip[aria-current="true"] { background: #f5f5f5; color: #141414; }
html[data-theme="dark"] .vn-say-click > span { background: var(--custom-card, #1d1d1f); color: var(--color-text, #f5f5f5); }
