/* ByPilares components, from the ByPilares design system (bundle.css). */

.bp-root { font-family: var(--font-sans); color: var(--ink); background: var(--surface); }

/* Wordmark */
.bp-wordmark { display: inline-flex; align-items: baseline; gap: 0.18em; font-family: var(--font-display); color: var(--gold-ink); line-height: 1; }
.bp-wordmark__by { font-style: italic; font-weight: 400; font-size: 0.62em; letter-spacing: 0; text-transform: lowercase; }
.bp-wordmark__name { font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; margin-right: -0.42em; }
.bp-wordmark--on-dark { color: var(--gold-light); }

/* Quote card: the 4:5 social template. Grounds and inks are fixed brand values, identical in every theme. */
.bp-quote { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: flex; flex-direction: column; padding: 8%; box-sizing: border-box; border-radius: var(--radius-none); }
.bp-quote__text { margin: 0; }
.bp-quote__sig { position: absolute; right: 6%; bottom: 4.5%; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; font-size: 0.7em; }
.bp-quote__art { position: absolute; pointer-events: none; }
.bp-quote--foil { background: var(--sage-teal); color: var(--gold-light); text-align: center; }
.bp-quote--foil .bp-quote__text { font-family: var(--font-sans); font-weight: 200; }
.bp-quote--foil .bp-quote__sig { color: var(--gold-light); }
.bp-quote--feather { background: var(--peach); color: var(--gold-foil); justify-content: flex-end; text-align: center; }
.bp-quote--feather .bp-quote__text { font-family: var(--font-sans); font-weight: 200; }
.bp-quote--feather .bp-quote__sig { color: var(--gold-foil); }
.bp-quote--rose { background: var(--blush); color: var(--rose); text-align: right; }
.bp-quote--rose .bp-quote__text { font-family: var(--font-condensed); font-weight: 200; text-transform: uppercase; line-height: 1.05; }
.bp-quote--rose .bp-quote__attr { font-family: var(--font-condensed); font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rose); margin-top: auto; }
.bp-quote--script { background: var(--slate); color: var(--ivory); justify-content: center; text-align: center; }
.bp-quote--script .bp-quote__text { font-family: var(--font-script); }
.bp-quote--caps { background: var(--sage); color: #ffffff; justify-content: center; }
.bp-quote--caps .bp-quote__text { font-family: var(--font-condensed); font-weight: 200; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.9; }

/* Event card */
.bp-event { position: relative; overflow: hidden; background: var(--surface-tint); color: var(--ink); padding: var(--space-8); border-radius: var(--radius-md); }
.bp-event { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-6); align-items: start; }
.bp-event__seal { width: 96px; height: 96px; border-radius: var(--radius-pill); background: var(--slate); display: grid; place-items: center; }
.bp-event__seal img { width: 56px; height: auto; }
.bp-event__body { display: flex; flex-direction: column; gap: var(--space-2); }
.bp-event__eyebrow { font: 500 12px/16px var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.bp-event__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 48px; color: var(--ink); }
.bp-event__meta { font: 400 14px/22px var(--font-sans); color: var(--ink-muted); }
.bp-event__copy { font: 400 16px/26px var(--font-sans); margin: var(--space-2) 0 var(--space-4); }

/* Button */
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-pill); border: 1px solid transparent; font: 500 14px/20px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.bp-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.bp-btn--primary { background: var(--accent); color: var(--on-accent); }
.bp-btn--primary:hover { filter: brightness(1.08); }
.bp-btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink-muted); }
.bp-btn--secondary:hover { background: var(--surface-tint); }
.bp-btn--quiet { background: transparent; color: var(--gold-ink); padding-left: 0; padding-right: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bp-btn[disabled] { opacity: .45; cursor: not-allowed; }
