/* Digital business card — /card only (A-025, 2026-11-27).
   Loaded by card.html alone, so none of this reaches the rest of the site.
   Tokens come from site.css; the card adds no new colours. */

body[data-page="card"]{
  background:
    radial-gradient(1200px 420px at 50% -220px, #E8F1FD 0%, rgba(232,241,253,0) 70%),
    var(--soft);
  min-height:100svh;
  display:flex; align-items:flex-start; justify-content:center;
  padding:28px 16px calc(40px + env(safe-area-inset-bottom));
}

.vcard{
  width:100%; max-width:430px; background:#fff;
  border:1px solid var(--line); border-radius:20px;
  box-shadow:var(--shadow-l); overflow:hidden;
}

/* --- top band: solid ink, not the gradient. White text on the gradient's teal end
       would fail AA contrast, so the gradient is used as a 4px accent instead. --- */
.vc-top{background:var(--ink); padding:22px 24px 70px; text-align:center; position:relative}
.vc-top:before{content:""; position:absolute; inset:0 0 auto 0; height:4px; background:var(--grad)}
.vc-top .vc-brand{display:inline-block}
.vc-top .vc-brand img{height:26px; width:auto; margin:0 auto; filter:brightness(0) invert(1)}

.vc-photo{
  width:128px; height:128px; margin:-64px auto 0; position:relative; z-index:1;
  border-radius:50%; overflow:hidden; background:var(--soft-2);
  border:4px solid #fff; box-shadow:0 10px 28px -12px rgba(11,27,51,.45);
}
.vc-photo img{width:100%; height:100%; object-fit:cover; object-position:50% 20%}

.vc-who{text-align:center; padding:16px 24px 0}
.vc-who h1{font-size:1.95rem; line-height:1.15}
.vc-role{margin:8px 0 0; font:600 12.5px/1.4 Inter,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:var(--blue)}
.vc-org{margin:4px 0 0; font-weight:600; color:var(--ink-2)}
.vc-desc{margin:14px 0 0; color:var(--text); font-size:.98rem}
.vc-loc{margin:8px 0 0; color:var(--muted); font-size:.86rem; line-height:1.5}

.vc-actions{padding:20px 24px 4px; display:grid; gap:10px}
.vc-actions .btn{width:100%}
.vc-pair{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width:360px){ .vc-pair{grid-template-columns:1fr} }

.vc-rows{list-style:none; margin:18px 0 0; padding:0 12px; display:grid; gap:2px}
.vcard .vc-rows a.vc-row{
  display:flex; align-items:center; gap:14px; min-height:56px; padding:10px 12px;
  border-radius:12px; color:var(--ink-2);
  /* site.css:227 underlines links inside <li> at specificity (0,2,3); three
     classes here (0,3,1) beat it without !important and without relying on
     stylesheet order. */
  text-decoration:none;
}
.vcard .vc-rows a.vc-row:hover{background:var(--soft)}
.vc-rows svg{flex:none; width:22px; height:22px; fill:none; stroke:var(--blue); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.vc-rows .vc-label{display:block; font:600 11px/1.3 Inter,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); margin-bottom:1px}
.vc-rows .vc-value{font-size:.97rem; font-weight:500; overflow-wrap:anywhere}

.vc-qr{margin:20px 12px 0; padding:20px 16px; border-top:1px solid var(--line); text-align:center}
.vc-qr h2{font-size:1rem}
.vc-qr img{width:150px; height:150px; margin:14px auto 0}
.vc-qr p{margin:12px 0 0; color:var(--muted); font-size:.85rem; line-height:1.5}

.vc-foot{padding:4px 24px 24px; text-align:center; color:var(--muted); font-size:.82rem}
.vc-foot p{margin:0 0 2px}
