/* Core Values page. The hero banner comes from about.css (same as the other inner pages).
   Every class here starts with cv- so no other page is touched. */

/* The core values along one line, a stop for each */
.cv-values { padding-block: var(--section); background: linear-gradient(180deg, var(--base) 0%, var(--flame-tint) 100%); }
.cv-nodes { counter-reset: cv; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(1rem, 0.25rem + 2vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.cv-nodes::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--flame), var(--red)); }
.cv-nodes li { counter-increment: cv; position: relative; padding-top: clamp(2.25rem, 1.75rem + 1.5vw, 3rem); }
.cv-nodes li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 6px rgba(254, 182, 40, 0.28); transition: transform 0.4s var(--ease); }
.cv-nodes li:last-child::before { background: var(--red); box-shadow: 0 0 0 6px rgba(27, 154, 239, 0.2); }
.cv-nodes li:hover::before { transform: scale(1.25); }
.cv-nodes__name { display: block; font-family: var(--display); font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); font-weight: 340; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.cv-nodes__name::before { content: counter(cv, decimal-leading-zero); display: block; margin-bottom: 0.9rem; font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--amber); }

/* Responsive */
@media (max-width: 1000px) {
  .cv-nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .cv-nodes::before { display: none; }
  .cv-nodes li::after { content: ""; position: absolute; left: 16px; right: calc(clamp(1rem, 0.25rem + 2vw, 2.5rem) * -1); top: 7px; height: 2px; background: linear-gradient(90deg, var(--flame), var(--red)); }
  .cv-nodes li:nth-child(3n)::after, .cv-nodes li:last-child::after { display: none; }
}
@media (max-width: 640px) {
  .cv-nodes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cv-nodes::before { display: block; left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--flame), var(--red)); }
  .cv-nodes li { padding: 0 0 1.75rem 2.75rem; }
  .cv-nodes li:last-child { padding-bottom: 0; }
  .cv-nodes li::before { top: 0.15rem; }
  .cv-nodes li::after { display: none !important; }
  .cv-nodes__name::before { margin-bottom: 0.3rem; }
}

.cv-heading { margin: 0 0 clamp(2rem, 1.5rem + 2.5vw, 3.5rem); font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 290; line-height: 1.08; letter-spacing: -0.025em; color: var(--maroon); }
