/* ===================================================
   LUKE WALTHOUR — lukewalthour.com
   Minimal single-screen identity card.
   =================================================== */

:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --card-bg: rgba(18, 20, 24, 0.42);
  --card-border: rgba(255, 255, 255, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  min-height: 100svh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #0f1115;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Full-bleed background photo ---------- */
.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  /* Tiny inline blur placeholder — paints instantly, no extra request */
  background: #12141a url("data:image/webp;base64,UklGRowAAABXRUJQVlA4IIAAAABwBACdASoYABAAPu1kq04ppaQiMAgBMB2JZgCdMoAC+lxUsEiP5f8l2BHwgADeYWSAO/K+sBaHPtjv6mrDp22VWeZ1U0zkCeal8Uno6C/LhtKSR5rrbaahb0Z3QUMgP2tM0BcUZbeDJ/CKXi270Wf06jP9crggccqUdE+/lqBaAA==") center / cover no-repeat;
}

/* Subtle darkening so the card text stays legible over any photo region */
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
}

/* ---------- Centered stage ---------- */
.stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* ---------- Identity card ---------- */
.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  border-radius: 0; /* square, business-card style */
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Text block to the right of the photo */
.details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%; /* photo stays circular */
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.tagline {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.location .pin { opacity: 0.9; flex-shrink: 0; }

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 0; /* square to match the card */
  color: var(--ink);
  border: 1px solid var(--card-border);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social:hover,
.social:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 420px) {
  .card { gap: 16px; padding: 22px 22px; }
  .avatar { width: 84px; height: 84px; }
  .name { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}
