/*
 * Minimal shared shadow-root reset, prepended once to the bundled
 * `ds.css` every component links to (see `scripts/build-ds-css.mjs` in
 * src). The design-system skill requires a single global reset
 * (`global.css`), but that is light-DOM only and cannot reach into a
 * shadow root. This is the shadow-DOM equivalent: box-sizing plus a
 * token-driven focus ring.
 *
 * Focus-ring color on inverse surfaces is not handled with `:host-context`
 * here: `ds-section[data-surface="inverse"]` re-points the
 * `--elvaio-color-focus` custom property for its whole subtree, and every
 * component (light or shadow DOM) that reads that token for its focus ring
 * inherits the override automatically, because custom properties inherit
 * through shadow boundaries.
 */
:host {
  box-sizing: border-box;
}

:host *,
:host *::before,
:host *::after {
  box-sizing: border-box;
}

:host(:focus-visible) {
  outline: var(--elvaio-focus-width) solid var(--elvaio-color-focus);
  outline-offset: 2px;
  border-radius: var(--elvaio-radius-field);
}


:host {
  display: block;
}

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--elvaio-space-05);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--elvaio-color-card);
  border-radius: var(--elvaio-radius-card);
  border: 1px solid var(--elvaio-color-border-decorative);
}

.mark {
  font-family: var(--elvaio-font-title);
  font-size: 5rem;
  line-height: 0.6;
  height: var(--elvaio-space-06);
  color: var(--elvaio-color-accent-text-large);
}

blockquote {
  margin: 0;
  font-family: var(--elvaio-font-title);
  font-weight: var(--elvaio-font-weight-title);
  /* Flagged off-scale: the reference's own quote size, clamp(24px, ...,
     36px) - between `--elvaio-font-size-subheading` (20-24px, read as too
     small here) and `-heading-small` (28-40px, scales too aggressively for
     a one-line pull quote). */
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

figcaption {
  font-family: var(--elvaio-font-mono);
  font-size: var(--elvaio-font-size-label);
  letter-spacing: var(--elvaio-letter-spacing-label);
  text-transform: uppercase;
  color: var(--elvaio-color-text-muted);
}
