/* Crownstore — brand statement band (tokens in theme.css).
 * Scroll entrance: root `data-cs-scroll-reveal` + `.reveal` blocks — theme.css + components/js/animation.js
 * Second argument on each var() matches theme.css defaults so GrapesJS / editor
 * canvas still renders when theme.css & injected --color-* are not loaded. */
.statement-band {
  background: var(--theme-statement-band-bg, var(--theme-footer-bg, #2a2118));
  padding: clamp(40px, 6vw, 56px) 0 clamp(72px, 10vw, 104px);
  border-top: 1px solid var(--theme-statement-line-soft, rgba(196, 184, 160, 0.12));
  position: relative;
  overflow: hidden;
}

/* Override section-container to go full-width with a single gutter */
.statement-band .section-container {
  max-width: none;
  padding: 0 var(--theme-gutter, 48px);
}

/* Quote left | stats right; divider runs full band height */
.statement-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  max-width: none;
}

.statement-left {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.statement-text {
  font-family: var(--theme-font-serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-weight: 300; /* Cormorant Garamond min weight; 100 not in this family */
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  color: var(--theme-statement-quote, #c4b8a0);
  line-height: 1.42;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

/* Faint ornamental quote (same lineage as watermark token) */
.statement-text::before {
  content: '\201C';
  font-family: var(--theme-font-display, 'Playfair Display', Georgia, 'Times New Roman', serif);
  font-size: clamp(10rem, 18vw, 22rem);
  font-style: normal;
  font-weight: 400;
  line-height: 0.78;
  color: var(--theme-statement-quote-watermark, rgba(196, 184, 160, 0.055));
  position: absolute;
  top: -0.1em;
  left: -0.04em;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

/* Philosophy — one soft rule above, caption matches stat-label tone */
.statement-attr {
  font-family: var(--theme-font-family, 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--theme-statement-caption-muted, rgba(248, 244, 238, 0.38));
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--theme-statement-line-soft, rgba(196, 184, 160, 0.12));
  display: inline-block;
  width: 37%;
  font-weight: 300;
}

.statement-divider {
  flex: 0 0 1px;
  width: 1px;
  align-self: stretch;
  background: var(--theme-statement-line-soft, rgba(196, 184, 160, 0.12));
  margin: 0 clamp(28px, 4.5vw, 72px);
}

/* Stats — right column, shared top rule */
.statement-inner .story-stats {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  padding-top: 7rem;
}

.statement-right .story-stat {
  flex: 1;
  padding: 22px clamp(14px, 2vw, 28px) 0 0;
  border-right: none;
  border-bottom: none;
  border-top: 1px solid var(--theme-statement-line-medium, rgba(196, 184, 160, 0.38));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.statement-right .story-stat:not(:first-child) {
  padding-left: clamp(14px, 2vw, 28px);
}

.statement-right .story-stat:last-child {
  padding-right: 0;
}

.statement-right .story-stat-value {
  font-family: var(--theme-font-display, 'Playfair Display', Georgia, 'Times New Roman', serif);
  font-size: clamp(1.85rem, 2.65vw, 3.35rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--theme-statement-stat-value, #f8f4ee);
  letter-spacing: -0.02em;
}

.statement-right .story-stat-label {
  font-family: var(--theme-font-family, 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.55;
  color: var(--theme-statement-caption-muted, rgba(248, 244, 238, 0.38));
}

/* ─── Tablet / mobile: quote → philosophy between two rules → 3-col stats ─── */
@media (max-width: 900px) {
  .statement-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* Full-width band between rules; desktop keeps narrow caption width */
  .statement-attr {
    width: 100%;
    display: block;
    text-align: left;
    margin-top: clamp(22px, 4vw, 34px);
    padding: clamp(18px, 3vw, 22px) 0;
    border-bottom: 1px solid var(--theme-statement-line-soft, rgba(196, 184, 160, 0.12));
  }

  /* Quote block → attr → gap → single rule → stats (no extra vertical rail) */
  .statement-divider {
    display: none;
  }

  .statement-band .section-container {
    padding: 0 clamp(18px, 5vw, var(--theme-gutter, 48px));
  }

  .statement-inner .story-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    align-items: start;
    margin-top: clamp(14px, 3vw, 22px);
    padding-top: clamp(18px, 4vw, 26px);
    border-top: 1px solid var(--theme-statement-line-medium, rgba(196, 184, 160, 0.38));
    gap: 0;
  }

  .statement-right .story-stat {
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 0 clamp(4px, 2vw, 10px) !important;
    border-top: none;
  }

  .statement-text {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .statement-band {
    padding: 32px 0 64px;
  }

  .statement-text {
    font-size: clamp(1.38rem, 5.8vw, 1.85rem);
  }

  .statement-text::before {
    font-size: clamp(7.5rem, 38vw, 11rem);
  }

  .statement-right .story-stat-value {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .statement-right .story-stat-label {
    font-size: 8.5px;
    letter-spacing: 0.12em;
    max-width: 100%;
  }
}