/* Business card. Sizes are in cqw (a share of the card's width) so the card scales as one piece. */
.bc { display: grid; gap: 18px; justify-items: center; }
.bc__scene { width: min(360px, 100%); container-type: inline-size; perspective: 1600px; }
.bc__flip { position: relative; width: 100%; aspect-ratio: 55 / 90; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2, .7, .2, 1); font-family: "Figtree", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #0a0a0a; }
.bc__flip.is-flipped { transform: rotateY(180deg); }
.bc__face { position: absolute; inset: 0; overflow: hidden; border-radius: 2.4cqw; box-shadow: 0 2.4cqw 6cqw rgba(10, 10, 9, .32); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.bc__front { background: #0a0a0a; box-sizing: border-box; padding-top: 22.1cqw; display: flex; flex-direction: column; align-items: center; }
.bc__back { background: #f4f2ed; transform: rotateY(180deg); }
.bc__logo { display: block; flex: none; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.bc__rule { width: 14.4cqw; height: .5cqw; background: #bc8050; margin-top: -3.85cqw; }
.bc__strap { margin-top: 5.3cqw; font-size: 4.57cqw; line-height: 1.2; font-weight: 500; letter-spacing: .02em; color: #e6e1d8; }
.bc__place { margin-top: 1.9cqw; font-size: 3.85cqw; line-height: 1.2; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #a39d92; }
.bc__hit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.bc__hit:focus-visible, .bc__row:focus-visible { outline: 3px solid #1273de; outline-offset: 2px; }
.bc__ticks { position: absolute; left: 0; top: 9.09cqw; width: 5.82cqw; height: 145.82cqw; display: block; pointer-events: none; }
.bc__nums { position: absolute; left: 7.6cqw; top: 0; display: flex; flex-direction: column; font-size: 3.4cqw; font-weight: 600; line-height: 1; color: #57534c; pointer-events: none; }
.bc__nums span { height: 18.18cqw; display: flex; align-items: center; }
.bc__body { position: absolute; left: 16cqw; right: 9cqw; top: 9.1cqw; bottom: 9.1cqw; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.bc__head { display: flex; flex-direction: column; gap: 2.4cqw; }
.bc__name { font-family: "Bricolage Grotesque", "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 13.46cqw; line-height: 1; letter-spacing: -.02em; }
.bc__tag { font-size: 4.09cqw; line-height: 1.3; font-weight: 600; color: #8c5223; }
.bc__rows { display: flex; flex-direction: column; gap: 1.1cqw; }
.bc__row { display: flex; gap: 2.9cqw; align-items: flex-start; padding: 1.7cqw 0; color: #0a0a0a; text-decoration: none; font-size: 4.42cqw; line-height: 1.3; font-weight: 500; position: relative; }
a.bc__row { pointer-events: auto; }
a.bc__row:hover { color: #8c5223; }
.bc__row svg { flex: none; width: 4.8cqw; height: 4.8cqw; margin-top: .5cqw; fill: none; stroke: #8c5223; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bc__row--big { font-size: 6.25cqw; line-height: 1.25; font-weight: 700; letter-spacing: .01em; }
.bc__row--big svg { margin-top: 1.5cqw; }
.bc__foot { display: flex; gap: 4.8cqw; align-items: flex-end; }
.bc__qr { display: block; flex: none; width: 34.6cqw; height: 34.6cqw; }
.bc__foot-text { display: flex; flex-direction: column; gap: 3cqw; }
.bc__scan { font-size: 4.09cqw; line-height: 1.25; font-weight: 600; }
.bc__abn { font-size: 3.6cqw; line-height: 1.3; color: #57534c; }
.bc__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bc__status { font-weight: 700; text-align: center; max-width: 30em; margin: 0; }
.bc__status:empty { display: none; }
.bc__status.is-bad { color: var(--bad, #b3261e); }
.bc__status.is-ok { color: var(--ok, #1f7a4d); }
/* the home page: one compact panel, the card on the left and the words and two buttons beside it */
.band--card > .wrap.cardband { width: min(940px, calc(100% - 28px)); padding: clamp(22px, 3vw, 36px) clamp(22px, 4vw, 48px); }
.cardband { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.cardband__card .bc__scene { width: 250px; }
.cardband__copy { display: grid; gap: 14px; justify-items: start; }
.cardband__copy h2, .cardband__copy p { margin: 0; }
.cardband__copy p { max-width: 32em; }
.cardband__copy .bc__actions { justify-content: flex-start; margin-top: 4px; }
.cardband__copy .bc__status { text-align: left; }
@media (max-width: 700px) {
  .cardband { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 20px; }
  .cardband__card .bc__scene { width: min(230px, 70vw); }
  .cardband__copy { justify-items: center; }
  .cardband__copy .bc__actions { justify-content: center; }
  .cardband__copy .bc__status { text-align: center; }
}
.cardpage { display: grid; justify-items: center; }
