/* Crownstore — brand orientation / values strip (tokens in theme.css).
 * Scroll entrance: root `data-cs-scroll-reveal` + `.reveal` on cells — theme.css + components/js/animation.js
 * Fallbacks match theme.css so the page editor canvas works without :root theme vars. */
.brand-orientation-band {
  background: var(--theme-surface-card, #f2ede3);
  border-top: 1px solid var(--theme-cream);
  border-bottom: 1px solid var(--theme-cream);
  padding: 52px var(--theme-gutter, 48px);
}

.values-inner {
  max-width: var(--theme-container, 1340px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 0 24px;
  border-right:1px solid var(--theme-cream);
}

.value-cell:last-child {
  border-right: none;
}

.value-icon {
  color: var(--theme-primary, #4a5c47);
  flex-shrink: 0;
}

.value-body h3 {
  font-family: var(--theme-font-family, 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-text, #2a2118);
  margin-bottom: 8px;
}

.value-copy {
  font-family: var(--theme-font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 0.825rem;
  font-weight: 300;
  font-style: italic;
  color: var(--theme-muted, #9b8e7a);
  line-height: 1.65;
  max-width: 180px;
}

/* ─── Scroll reveal ───────────────────────────────────────────────────────── */

/* Armed: hide all cells before they enter the viewport */
.cs-scroll-reveal-armed .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visible: section is in view — slide cells up and fade in */
.cs-scroll-reveal--visible .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for each cell */
.cs-scroll-reveal--visible .reveal--delay-1 { transition-delay: 0.12s; }
.cs-scroll-reveal--visible .reveal--delay-2 { transition-delay: 0.24s; }
.cs-scroll-reveal--visible .reveal--delay-3 { transition-delay: 0.36s; }

/* Never hide cells in the page builder / editor */
.cs-builder-mode .reveal,
[data-cs-scroll-reveal-editor] .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 991px) {
  .brand-orientation-band {
    padding-block: clamp(36px, 8vw, 52px);
    padding-inline: clamp(16px, 5vw, var(--theme-gutter, 48px));
  }

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

  .value-cell {
    border-right: none;
    padding: clamp(22px, 5vw, 32px) clamp(14px, 4vw, 22px);
    gap: 14px;
  }

  .value-cell:nth-child(odd) {
    border-right: 1px solid var(--theme-border, #c4b8a0);
  }

  .value-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--theme-border, #c4b8a0);
  }

  .value-copy {
    max-width: none;
  }
}