/* ORIVON — home page, "Three ways to go deeper" (section.orv-paths). Loaded only by index.html; every selector is scoped to .orv-paths,
   so no other page or section changes. Uses the existing tokens from styles-20261106.css (ivory, silver, hairline, copper).
   Each entry is five rows: label, title, description, article list, final link. On desktop the three cards share those rows through
   a subgrid, so the dividers, the lists and the final links sit on the same lines whatever the length of the text; on a phone the
   cards are simply stacked at their natural height. */

.orv-paths .section-head { margin-bottom: 2.75rem; }            /* 44 px between the heading and the cards */

.orv-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.3rem, 2.4vw, 2rem);
  row-gap: 0;
}

.orv-path {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2rem 2rem 1.6rem;
  background: var(--orv-raise);                               /* opaque: the stars never cross the text */
  border: 1px solid var(--line);
  border-radius: var(--orv-radius-card);
}
@supports (grid-template-rows: subgrid) {
  .orv-path { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}

.orv-path-label {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orv-copper);
}
.orv-path-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.1vw, 1.875rem);                 /* 28–30 px on desktop */
  line-height: 1.15;
  color: var(--orv-ivory);
  text-wrap: balance;
}
.orv-path-text {
  margin: 0 0 1.6rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--orv-ivory-dim);
}

.orv-path-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.orv-path-list a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--orv-ivory);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.orv-path-list a:hover { color: var(--orv-copper-hi); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

.orv-path-more {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--orv-copper-hi);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.orv-path-more .arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease-premium); }
.orv-path-more:hover { color: var(--orv-ivory); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.orv-path-more:hover .arrow { transform: translateX(3px); }

.orv-path a:focus-visible { outline: 2px solid var(--orv-copper-hi); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  .orv-path-more .arrow, .orv-path-list a, .orv-path-more { transition: none; }
  .orv-path-more:hover .arrow { transform: none; }
}

/* Tablet and phone: one column, natural heights, no rows inherited from the desktop layout. */
@media (max-width: 960px) {
  .orv-paths .section-head { margin-bottom: 2.25rem; }
  .orv-paths-grid { grid-template-columns: minmax(0, 1fr); }
  .orv-path { display: flex; grid-row: auto; padding: 1.6rem 1.4rem 1.3rem; }
  .orv-path + .orv-path { margin-top: 1.3rem; }
  .orv-path-title { font-size: 1.75rem; }
}
