/* Extracted for card.html */
body {
      background: var(--off-white);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem 1rem;
    }

    /* ── Card shell ── */
    .vcard {
      background: var(--white);
      border-radius: 24px;
      box-shadow: 0 24px 64px rgba(27,42,74,0.18);
      width: 100%;
      max-width: 400px;
      overflow: hidden;
    }

    /* ── Header ── */
    .vcard__header {
      background: linear-gradient(150deg, var(--navy) 0%, #2A4070 100%);
      padding: 2.5rem 2rem 2rem;
      text-align: center;
    }

    .vcard__photo-wrap {
      width: 128px;
      height: 128px;
      border-radius: 50%;
      border: 3px solid var(--teal-mid);
      overflow: hidden;
      margin: 0 auto 1.1rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    }

    .vcard__photo-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .vcard__name {
      font-family: var(--font-head);
      font-size: 1.35rem;
      font-weight: 700;
      color: #fff;
      margin: 0 0 0.2rem;
      line-height: 1.2;
    }

    .vcard__creds {
      font-family: var(--font-head);
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--teal-mid);
      margin: 0 0 0.5rem;
      letter-spacing: 0.04em;
    }

    .vcard__title {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.78);
      margin: 0 0 0.9rem;
    }

    .vcard__meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .vcard__badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.76rem;
      color: rgba(255,255,255,0.55);
      background: rgba(255,255,255,0.08);
      border-radius: 50px;
      padding: 0.25rem 0.65rem;
    }

    /* ── Wave divider between header and body ── */
    .vcard__wave {
      display: block;
      width: 100%;
      height: 40px;
      margin-top: -1px;
    }

    /* ── Body ── */
    .vcard__body {
      padding: 0.4rem 1.5rem 1.8rem;
    }

    /* ── Action links ── */
    .vcard__links {
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      margin-bottom: 1.2rem;
    }

    .vcard__link {
      display: flex;
      align-items: center;
      gap: 0.9rem;
      padding: 0.85rem 1.1rem;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--off-white);
      text-decoration: none;
      color: var(--navy);
      transition: background 0.18s, border-color 0.18s, transform 0.18s;
    }

    .vcard__link:hover {
      background: var(--teal-light);
      border-color: var(--teal-mid);
      transform: translateY(-1px);
    }

    .vcard__link-icon {
      width: 42px;
      height: 42px;
      border-radius: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
    }

    .vcard__link-icon--linkedin  { background: #E8F0FE; }
    .vcard__link-icon--portfolio { background: var(--teal-light); }

    .vcard__link-text { flex: 1; }

    .vcard__link-name {
      font-family: var(--font-head);
      font-size: 0.93rem;
      font-weight: 700;
      color: var(--navy);
      display: block;
    }

    .vcard__link-url {
      font-size: 0.75rem;
      color: var(--slate-light);
      display: block;
      margin-top: 0.1rem;
    }

    .vcard__link-arrow {
      color: var(--slate-light);
      font-size: 1.1rem;
      line-height: 1;
    }

    /* ── Action buttons row ── */
    .vcard__actions {
      display: flex;
      gap: 0.7rem;
      margin-bottom: 1.2rem;
    }

    /* ── Save contact button ── */
    .vcard__save {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      flex: 1;
      padding: 0.9rem 1rem;
      background: var(--teal);
      color: #fff;
      border: none;
      border-radius: 14px;
      font-family: var(--font-head);
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.18s, transform 0.18s;
      letter-spacing: 0.02em;
      touch-action: manipulation;
    }

    .vcard__save:hover {
      background: var(--teal-mid);
      transform: translateY(-1px);
    }

    .vcard__save:active {
      transform: translateY(0);
    }

    .vcard__save:disabled {
      opacity: 0.7;
      cursor: default;
      transform: none;
    }

    /* ── Copy link button ── */
    .vcard__copy {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.9rem 1.1rem;
      background: var(--off-white);
      color: var(--navy);
      border: 1px solid var(--border);
      border-radius: 14px;
      font-family: var(--font-head);
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.18s, border-color 0.18s, transform 0.18s;
      white-space: nowrap;
      touch-action: manipulation;
    }

    .vcard__copy:hover {
      background: var(--teal-light);
      border-color: var(--teal-mid);
      transform: translateY(-1px);
    }

    .vcard__copy:active {
      transform: translateY(0);
    }

    /* ── QR code ── */
    .vcard__qr {
      text-align: center;
      padding-top: 1.4rem;
      border-top: 1px solid var(--border);
    }

    .vcard__qr-label {
      font-family: var(--font-head);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--slate-light);
      margin-bottom: 0.75rem;
    }

    #qr-code {
      display: flex;
      justify-content: center;
    }

    #qr-code canvas,
    #qr-code img {
      border-radius: 10px;
      display: block;
    }

    .vcard__qr-url {
      font-size: 0.76rem;
      color: var(--slate-light);
      margin-top: 0.6rem;
      font-family: var(--font-head);
    }

    /* ── Footer ── */
    .card-footer {
      margin-top: 1.5rem;
      text-align: center;
      font-size: 0.76rem;
      color: var(--slate-light);
    }

    .card-footer a {
      color: var(--teal-text);
      text-decoration: none;
    }

    .card-footer a:hover {
      text-decoration: underline;
    }
