/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1e293b;
  overflow: hidden; /* single viewport — no scroll */
}

a { text-decoration: none; color: inherit; }

/* ── FULL-SCREEN BACKGROUND ──────────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-color: #0c1a2e;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,.72) 0%, rgba(20,40,80,.55) 100%);
}

/* ── PAGE WRAPPER ────────────────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 1.5rem;
}

/* ── NAME ───────────────────────────────────────────────────────────────── */
.card {
  text-align: center;
}

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

.card-name {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  line-height: 1.15;
}

/* ── LINK CIRCLES ────────────────────────────────────────────────────────── */
.links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.link-item:hover { transform: translateY(-5px); }
.link-item:focus { outline: none; }
.link-item:focus-visible .link-circle {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255,255,255,.3), 0 6px 24px rgba(0,0,0,.28);
}

.link-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.link-item:hover .link-circle {
  box-shadow: 0 12px 36px rgba(0,0,0,.38);
}

/* LinkedIn */
.link-circle--linkedin { background: #0a66c2; }
.link-circle--linkedin svg { width: 40px; height: 40px; fill: #fff; }

/* Intuto */
.link-circle--intuto {
  background: transparent;
}
.link-circle--intuto .link-favicon {
  width: 72px;
  height: 72px;
}

/* Leesey */
.link-circle--leesey {
  background: #fff;
  border: 1.5px solid rgba(255,255,255,.15);
}
.link-favicon { width: 42px; height: 42px; object-fit: contain; }

.link-fallback {
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
}

.link-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.link-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,.65);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  body { overflow: auto; }

  .card-name { font-size: 2.25rem; }

  .link-circle { width: 60px; height: 60px; }
  .link-favicon { width: 34px; height: 34px; }
  .link-circle--linkedin svg { width: 32px; height: 32px; }
  .links { gap: 1.75rem; }
}

/* ── PHOTO CREDIT ────────────────────────────────────────────────────────── */
.photo-credit {
  position: fixed;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,.45);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  z-index: 1;
}
.photo-credit a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.photo-credit a:hover { color: #fff; }
