/* ------------------------------------------------------------------
   /vision

   Loaded after feature-page.css, which supplies the dark hero band,
   breadcrumb, title and intro styles. Everything specific to this page
   carries a `vn-` prefix.
   ------------------------------------------------------------------ */

.vn-hero,
.vn-saw,
.vn-principles,
.vn-family {
  overflow-x: clip;
}

/* ---------- Hero: text left, product constellation right ---------- */

.vn-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 48px;
}

.vn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.vn-hero-link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vn-hero-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--primary);
}

.vn-constellation {
  position: relative;
  width: 440px;
  height: 440px;
}

.vn-constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vn-constellation-lines circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-dasharray: 4 6;
}

.vn-constellation-lines line {
  stroke: rgba(162, 185, 100, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  animation: vn-flow 1.6s linear infinite;
}

@keyframes vn-flow {
  to {
    stroke-dashoffset: -16;
  }
}

.vn-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(162, 185, 100, 0.18), 0 0 0 22px rgba(162, 185, 100, 0.08),
    0 0 60px rgba(162, 185, 100, 0.45);
}

.vn-core img {
  width: 36px;
  height: 36px;
}

.vn-core span {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.vn-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
  max-width: 132px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.vn-node img {
  width: 26px;
  height: 26px;
}

.vn-node-next {
  background: white;
  color: var(--primary);
  opacity: 0.55;
}

.vn-node-live {
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.vn-node-soon {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.35);
}

/* ---------- Shared section furniture ---------- */

.vn-section-head {
  max-width: 46em;
  margin-bottom: 48px;
}

.vn-section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin: 0 0 16px;
  text-wrap: balance;
}

.vn-section-head p:not(.vn-eyebrow) {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #46585e;
  margin: 0;
}

.vn-section-head-light h2 {
  color: white;
}

.vn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d7230;
  margin: 0 0 14px;
}

.vn-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.vn-eyebrow-light {
  color: #cfe0a0;
}

.vn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

.vn-more svg {
  transition: transform 0.2s ease;
}

.vn-more:hover svg,
.vn-family-card:hover .vn-more svg {
  transform: translateX(3px);
}

.vn-more-light {
  color: white;
}

/* ---------- What I saw ---------- */

.vn-saw {
  background: var(--bg);
  padding: 96px 0 88px;
  scroll-margin-top: var(--header-height);
}

.vn-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vn-model {
  --tone: var(--purple);
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 20px;
  padding: 26px;
  border: 1px solid rgba(34, 54, 60, 0.06);
  box-shadow: 0 18px 48px rgba(34, 54, 60, 0.08);
}

.vn-model-walled {
  --tone: var(--yellow);
}

.vn-model-islands {
  --tone: var(--green);
}

.vn-model-art {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  aspect-ratio: 240 / 150;
  box-sizing: border-box;
}

.vn-model-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 8px;
}

.vn-model h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--primary);
  margin: 0 0 12px;
  text-wrap: balance;
}

.vn-model-body {
  font-size: 1rem;
  line-height: 1.65;
  color: #46585e;
  margin: 0 0 20px;
  flex: 1;
}

.vn-model-cost {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  border-left: 3px solid var(--tone);
  background: rgba(47, 72, 80, 0.05);
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary);
}

.vn-model-cost svg {
  flex: none;
  margin-top: 3px;
}

.vn-saw-close {
  margin: 48px auto 0;
  max-width: 34em;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--primary);
  text-wrap: balance;
}

/* The little diagrams in each model card. */
.vn-art-a { fill: rgba(181, 164, 203, 0.55); }
.vn-art-b { fill: rgba(162, 185, 100, 0.55); }
.vn-art-c { fill: rgba(245, 204, 75, 0.6); }
.vn-art-d { fill: rgba(47, 72, 80, 0.25); }
.vn-art-bar { fill: var(--primary); }
.vn-art-bar-mark { fill: rgba(255, 255, 255, 0.7); }

.vn-art-link {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.vn-art-link-broken {
  stroke-dasharray: 3 4;
  opacity: 0.6;
}

.vn-art-x {
  stroke: #c0533a;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.vn-art-wall {
  fill: white;
  stroke: var(--primary);
  stroke-width: 5;
}

.vn-art-cell { fill: rgba(47, 72, 80, 0.14); }
.vn-art-lock { fill: var(--primary); }
.vn-art-lock-body { fill: var(--yellow); }

.vn-art-lock-shackle {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.5;
}

.vn-art-wave {
  fill: none;
  stroke: rgba(47, 72, 80, 0.25);
  stroke-width: 2;
}

.vn-art-land { fill: rgba(47, 72, 80, 0.12); }

.vn-art-lines {
  stroke: rgba(47, 72, 80, 0.45);
  stroke-width: 3;
  stroke-linecap: round;
}

/* ---------- What we're building: six principles ---------- */

.vn-principles {
  background: var(--primary);
  color: white;
  padding: 96px 0;
  scroll-margin-top: var(--header-height);
}

.vn-principles-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.vn-rail {
  position: sticky;
  top: calc(var(--header-height, 80px) + 32px);
}

.vn-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.vn-rail a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0 10px 18px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.vn-rail a:hover {
  color: white;
}

.vn-rail a.is-active {
  color: white;
  border-left-color: var(--green);
}

.vn-rail-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cfe0a0;
  font-variant-numeric: tabular-nums;
}

.vn-principle-list {
  display: grid;
  gap: 24px;
}

.vn-principle {
  padding: 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: calc(var(--header-height, 80px) + 24px);
}

.vn-principle-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.vn-principle-num {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(207, 224, 160, 0.8);
  font-variant-numeric: tabular-nums;
}

.vn-principle-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  background: rgba(162, 185, 100, 0.2);
  color: #cfe0a0;
}

.vn-principle-short {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0a0;
}

.vn-principle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.vn-principle-text h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  color: white;
  margin: 0 0 14px;
  text-wrap: balance;
}

.vn-principle-text p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 14px;
}

.vn-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.vn-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  color: white;
}

.vn-points svg {
  flex: none;
  margin-top: 2px;
  padding: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(162, 185, 100, 0.25);
  color: #cfe0a0;
}

p.vn-principle-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
}

.vn-principle-art {
  border-radius: 18px;
  background: var(--bg);
  color: var(--primary);
  padding: 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 01 stand-alone */
.vn-art-products {
  display: grid;
  gap: 10px;
}

.vn-art-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 6px 18px rgba(34, 54, 60, 0.08);
}

.vn-art-product img {
  flex: none;
  width: 32px;
  height: 32px;
}

.vn-art-product-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.vn-art-product-name strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.vn-art-product-name small {
  font-size: 0.78rem;
  color: var(--gray);
}

.vn-art-product em {
  flex: none;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5d7230;
}

/* A product that has not been released yet. */
.vn-unreleased {
  opacity: 0.55;
}

.vn-art-product.vn-unreleased {
  box-shadow: none;
  border: 1px dashed rgba(34, 54, 60, 0.3);
}

.vn-art-product.vn-unreleased em {
  color: var(--gray);
}

/* 02 AI-native */
.vn-art-ai {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vn-chat {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.vn-chat-user {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.vn-chat-ai {
  align-self: flex-start;
  background: white;
  border-bottom-left-radius: 4px;
  box-shadow: 0 6px 18px rgba(34, 54, 60, 0.08);
}

.vn-chat-call {
  display: block;
  margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #5d7230;
}

.vn-art-ai-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.vn-art-ai-logos img {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

.vn-art-ai-logos code {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #cfe0a0;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* 03 one record */
.vn-art-record {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.vn-record-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 26px rgba(34, 54, 60, 0.12);
  border-top: 4px solid var(--green);
}

.vn-record-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.vn-record-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 10px;
}

.vn-record-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin: 0;
  font-size: 0.8rem;
}

.vn-record-card dt {
  color: var(--gray);
}

.vn-record-card dd {
  margin: 0;
  white-space: nowrap;
}

.vn-record-uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.vn-record-uses li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: white;
  font-size: 0.82rem;
  font-weight: 600;
}

.vn-record-uses img {
  width: 20px;
  height: 20px;
}

/* Each product reaches back to the one record. */
.vn-record-uses li::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 22px;
  border-top: 2px dashed var(--green);
}

/* 04 plays nicely */
.vn-art-choice {
  text-align: center;
}

.vn-art-choice-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 12px;
}

.vn-art-choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.vn-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 12px;
  background: white;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(34, 54, 60, 0.08);
}

.vn-choice img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.vn-art-choice-arrow {
  width: 2px;
  height: 28px;
  margin: 10px auto;
  background: repeating-linear-gradient(to bottom, var(--green) 0 4px, transparent 4px 8px);
  position: relative;
}

.vn-art-choice-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateX(-50%) rotate(45deg);
}

.vn-art-choice-result {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

/* 05 integrated */
.vn-art-tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.vn-tool {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 6px 18px rgba(34, 54, 60, 0.08);
}

.vn-tool img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vn-tool-core {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(162, 185, 100, 0.35);
}

/* 06 automated */
.vn-art-chain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.vn-art-chain li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.vn-art-chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  height: 100%;
  border-left: 2px dashed rgba(93, 114, 48, 0.5);
}

.vn-chain-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--green);
}

.vn-art-chain li:first-child .vn-chain-dot {
  background: var(--green);
}

/* Closing call to action inside the principles band. */
.vn-principles-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 28px 32px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(162, 185, 100, 0.22), rgba(181, 164, 203, 0.14));
  border: 1px solid rgba(162, 185, 100, 0.4);
}

.vn-principles-cta h3 {
  flex: 1 1 320px;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.35;
  color: white;
  text-wrap: balance;
}

.vn-principles-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vn-btn-primary {
  background: var(--green);
  color: white;
}

.vn-btn-primary:hover {
  background: #8fa653;
}

.vn-btn-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.vn-btn-ghost:hover {
  border-color: white;
}

/* ---------- The family ---------- */

.vn-family {
  background: white;
  padding: 96px 0;
  scroll-margin-top: var(--header-height);
}

.vn-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vn-family-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid rgba(34, 54, 60, 0.06);
  color: var(--primary);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.vn-family-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(34, 54, 60, 0.12);
}

.vn-family-later {
  background: white;
  border: 1px dashed rgba(34, 54, 60, 0.25);
}

.vn-family-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  margin: 0;
  color: var(--primary);
}

.vn-family-card h3 img {
  width: 28px;
  height: 28px;
}

.vn-family-next {
  opacity: 0.7;
  border-style: dashed;
  border-color: rgba(34, 54, 60, 0.25);
}

.vn-family-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #46585e;
  margin: 0;
  flex: 1;
}

.vn-family-card .vn-more {
  margin-top: 6px;
}

.vn-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vn-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.vn-status-live {
  background: rgba(162, 185, 100, 0.2);
  color: #5d7230;
}

.vn-status-next {
  background: rgba(245, 204, 75, 0.25);
  color: #8a6a07;
}

.vn-status-later {
  background: rgba(181, 164, 203, 0.25);
  color: #6d5a8a;
}


/* ---------- Founder's note ---------- */

.vn-note {
  background: var(--bg);
  padding: 88px 0;
}

.vn-note-card {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.vn-note-card::before {
  content: "\201C";
  position: absolute;
  top: -48px;
  left: -8px;
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(162, 185, 100, 0.45);
}

.vn-note-card blockquote {
  margin: 0;
}

.vn-note-card blockquote p {
  position: relative;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 28px;
  text-wrap: pretty;
}

.vn-note-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray);
  font-size: 0.95rem;
}

.vn-note-card figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.vn-note-card figcaption strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
}

.vn-note-card figcaption a {
  color: #5d7230;
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .vn-hero-inner {
    grid-template-columns: 1fr;
  }

  .vn-constellation {
    margin: 0 auto;
  }

  .vn-models {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }

  .vn-principles-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* The rail becomes a row of chips that scrolls sideways. */
  .vn-rail {
    position: static;
  }

  .vn-rail ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-left: none;
  }

  .vn-rail a {
    padding: 7px 14px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.88rem;
  }

  .vn-rail a.is-active {
    border-color: var(--green);
  }

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

@media (max-width: 760px) {
  .vn-saw,
  .vn-principles,
  .vn-family {
    padding: 64px 0;
  }

  .vn-principle {
    padding: 22px;
  }

  .vn-principle-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .vn-family-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .vn-constellation {
    zoom: 0.72;
  }

  .vn-art-record {
    grid-template-columns: 1fr;
  }

  .vn-record-uses li::before {
    display: none;
  }

  .vn-art-tools {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .vn-note-card::before {
    top: -40px;
    font-size: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vn-constellation-lines line {
    animation: none;
  }
}
