/* ==========================================================================
   02 · VALUE STRIP  (#values)
   Narrow night strip under the hero. Brushed ink top edge, four fine-line
   icons. Desktop: one row + hairline dividers. Tablet/phone: 2×2 cross.
   NOTE: no z-index here on purpose — the hero sets its own z-index so its
   art can overlap this strip.
   ========================================================================== */
.values {
  --values-pad: clamp(1.75rem, 2.7vw, 3rem);
  background-color: var(--night);
  color: var(--parchment);
}

/* brushed edge: a full-width strip of ink that sits on the hero's bottom edge */
.values .values__edge {
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: clamp(14px, 2.4vw, 46px);
  color: var(--night);
  overflow: hidden;
}
.values .values__edge > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.values__inner { position: relative; }

.values__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.values__item {
  position: relative;
  display: flex; align-items: center; gap: clamp(.9rem, 1.3vw, 1.5rem);
  padding: var(--values-pad) clamp(1rem, 2.2vw, 2.75rem);
  min-width: 0;
}
.values__item:first-child { padding-left: 0; }
.values__item:last-child { padding-right: 0; }
/* hairline dividers: shorter than the strip, like a printed rule */
.values__item + .values__item::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1px; height: clamp(2.2rem, 3.4vw, 3.4rem); margin-top: calc(clamp(2.2rem, 3.4vw, 3.4rem) / -2);
  background: var(--line);
}

.values .values__icon {
  flex: none;
  width: clamp(2.6rem, 3.3vw, 3.5rem); aspect-ratio: 1;
  color: var(--parchment);
  transition: color var(--dur-2) var(--ease-out);
}
.values .values__icon > svg { width: 100%; height: 100%; }

.values__text { min-width: 0; }
.values__name {
  font-family: var(--font-sans);
  font-size: clamp(.72rem, .78vw, .84rem); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.3;
  color: var(--parchment);
}
.values__line {
  margin-top: .38rem;
  font-size: clamp(.8125rem, .9vw, .9375rem); line-height: 1.35;
  color: var(--paper-60);
  text-wrap: balance;
}

.values__bead { display: none; }

@media (hover: hover) and (pointer: fine) {
  .values__item:hover .values__icon { color: var(--ochre); }
}

/* ---- small laptop: tighter, allow the line to wrap ---- */
@media (max-width: 1199px) {
  .values__item { padding-inline: clamp(.9rem, 1.8vw, 1.6rem); gap: .9rem; }
  .values__name { letter-spacing: .16em; }
}

/* ---- tablet + phone: 2×2 cross, icon above text ---- */
@media (max-width: 1023px) {
  .values { --values-pad: clamp(1.9rem, 5.2vw, 3rem); }
  .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__item,
  .values__item:first-child,
  .values__item:last-child {
    flex-direction: column; align-items: center; text-align: center; gap: 1rem;
    padding: var(--values-pad) clamp(.75rem, 3vw, 2rem);
  }
  .values__item + .values__item::before { content: none; }
  /* the cross: vertical rule on the left column's right edge, horizontal under the first row */
  .values__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .values__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .values .values__icon { width: clamp(2.9rem, 7vw, 3.6rem); }
  .values__name { font-size: .75rem; letter-spacing: .2em; }
  .values__line { font-size: .875rem; max-width: 15em; margin-inline: auto; }
  /* ochre bead where the hairlines cross */
  .values__bead {
    display: block; position: absolute; left: 50%; top: 50%;
    width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
    background: var(--ochre); box-shadow: 0 0 0 6px var(--night);
  }
}

@media (max-width: 479px) {
  .values__item,
  .values__item:first-child,
  .values__item:last-child { padding-inline: .6rem; gap: .85rem; }
  .values__name { font-size: .6875rem; letter-spacing: .17em; }
  .values__line { font-size: .8125rem; }
}
