/* Contact cards (the pages behind the founders' QR codes), in the site's style:
   cream background, DM Sans, the logo lockup, blue accents, the power bar.
   Shared by /vcard/peter/ and /vcard/wooj/. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F2EFEA;
  --ink: #1c1b1f;
  --blue: #1aa0dc;
  --muted: #757473;
  --rule: rgba(28, 27, 31, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #0b84bb; outline-offset: 3px; border-radius: 4px; } /* deeper blue: 3:1 contrast on cream */

/* Logo lockup: the site's proportions (mark 1.2×, word 0.9×, gap 0.24× the lockup size). */
.lock { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.lock svg { height: 26px; width: auto; display: block; }
.lock span { font-variation-settings: "opsz" 22; font-size: 19.5px; font-weight: 700; letter-spacing: -0.03em; transform: translateY(0.03em); }
.lock b { font-weight: 400; color: var(--blue); margin-left: -0.15em; }

.photo { display: block; margin-top: 56px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05); }

h1 { margin-top: 24px; font-size: 44px; font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.role { margin-top: 10px; font-size: 18px; font-weight: 500; color: var(--blue); }

/* The power bar: the logo's colors, in their fixed order. */
.bar {
  margin-top: 22px; height: 4px; width: 160px;
  background: linear-gradient(to right, #f8e11c 0 2.08%, #15445e 2.08% 11.67%, #3d7693 11.67% 21.25%, #2ca7e3 21.25% 30.83%, #77d2ff 30.83% 40.42%, #1a1a1a 40.42% 50%, #3a474f 50% 59.58%, #6a777d 59.58% 69.17%, #93a5af 69.17% 78.75%, #c3d4dc 78.75% 88.33%, #dbe6ec 88.33% 97.92%, #f8e11c 97.92%);
}

.save {
  margin-top: 36px; width: 100%; height: 56px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; background: var(--blue); color: #fff;
  font: 700 17px "DM Sans", system-ui, sans-serif; cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.save:hover { filter: brightness(0.95); }
.save:active { transform: scale(0.98); }
.save svg { width: 20px; height: 20px; }

ul { list-style: none; margin-top: 28px; }
li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--rule);
  color: inherit; text-decoration: none;
}
li:last-child a { border-bottom: 1px solid var(--rule); }
.k { font-size: 14px; color: var(--muted); }
.v { margin-top: 2px; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.arr { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); transition: transform 0.3s var(--ease); }
li a:hover .arr { transform: translateX(4px); }

.share {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer;
  font: 500 16px "DM Sans", system-ui, sans-serif; color: var(--muted);
}
.share:hover { color: var(--ink); }

/* A quiet entrance: the card rises in once, on load. */
main > * { animation: rise 0.6s var(--ease) both; }
main > *:nth-child(n+3) { animation-delay: 0.08s; }
main > *:nth-child(n+6) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  main > * { animation: none; }
  .save, .arr { transition: none; }
}
