/* Option 4 Business Card: Friendly Sky Blue & Anniversary Ribbon (3.5 x 2 in) */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body {
  margin: 0;
  background: #eef4fa;
  color: #1b2636;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

.container {
  width: min(1040px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.card-sheet {
  padding-block: 2.25rem 3.5rem;
}

.card-sheet__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #cdddec;
}

.card-sheet__bar h1 {
  margin: 0 0 0.2rem;
  font-family: "Lora", Georgia, serif;
  font-size: 1.5rem;
  color: #0d3158;
}

.card-caption {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #4b5b70;
}

.card-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 8px;
  border: 1px solid #144478;
  background: #144478;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn--quiet {
  background: #ffffff;
  border-color: #bdd1e6;
  color: #144478;
}

.cards-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(336px, 1fr));
  gap: 2.25rem;
  justify-items: center;
}

.card-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Exact 3.5 x 2 in proportion scaled cleanly for screen (448 x 256px) */
.bcard {
  width: 448px;
  height: 256px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 32px rgba(13, 49, 88, 0.14), 0 1px 3px rgba(13, 49, 88, 0.08);
  border: 1px solid #d5e2ef;
}

/* FRONT */
.bcard--front {
  display: grid;
  grid-template-columns: 168px 1fr;
}

.bcard__portrait {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #dceaf8;
}

.bcard__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

.bcard__portrait::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 30px;
  background: linear-gradient(103deg, transparent 36%, #c49133 37%, #c49133 48%, #144478 49%, #144478 63%, #ffffff 64%);
  pointer-events: none;
}

.bcard__front-body {
  padding: 16px 18px 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.bcard__front-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #144478 0%, #144478 72%, #c49133 72%, #c49133 100%);
}

.bcard__hi {
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  color: #144478;
}

.bcard__name {
  font-family: "Lora", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
  color: #0d3158;
  margin-top: 2px;
}

.bcard__tagline {
  margin: 4px 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  color: #394b61;
}

.bcard__email-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #144478;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
}

.bcard__email-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.bcard__contact-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: #4b5b70;
  padding-bottom: 3px;
}

/* BACK */
.bcard--back {
  display: grid;
  grid-template-columns: 1.22fr 0.95fr;
  padding: 16px 18px 20px;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.bcard--back::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #144478 0%, #144478 70%, #c49133 70%, #c49133 100%);
}

.bcard__back-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #d7e5f3;
  padding-right: 12px;
}

.bcard__back-heading {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0d3158;
  margin-bottom: 6px;
}

.bcard__icon-list {
  display: grid;
  gap: 6px;
}

.bcard__icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.71rem;
  font-weight: 600;
  color: #1e2f44;
}

.bcard__mini-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e1effb;
  color: #144478;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bcard__mini-icon svg {
  width: 12px;
  height: 12px;
}

.bcard__reseller {
  font-size: 0.64rem;
  line-height: 1.35;
  color: #394b61;
  margin-top: 6px;
}

.bcard__reseller strong {
  color: #144478;
}

.bcard__peace {
  font-family: "Caveat", cursive;
  font-size: 1.04rem;
  font-weight: 600;
  color: #144478;
  line-height: 1.1;
}

.bcard__back-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.bcard__wordmark {
  width: 152px;
  height: auto;
}

.bcard__ribbon {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 4px;
  background: #144478;
  border-top: 2px solid #c49133;
  border-bottom: 2px solid #c49133;
  color: #ffffff;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bcard__since {
  font-size: 0.62rem;
  font-weight: 600;
  color: #55667a;
}

.spec-notes {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #cdddec;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  font-size: 0.88rem;
  color: #4b5b70;
}

.spec-notes strong {
  display: block;
  color: #0d3158;
  margin-bottom: 0.25rem;
}

@media print {
  body { background: #fff; }
  .card-sheet__bar, .spec-notes, .card-caption { display: none; }
  .bcard { width: 3.5in; height: 2in; box-shadow: none; }
}
