/* The Fumba Haven — host card, light edition */
:root {
  --rausch: #ff395c;
  --rausch-deep: #e01e48;
  --babu: #00a699;
  --ink: #222222;
  --ink-2: #3a3a3a;
  --muted: #6a6a6a;
  --band: #f1f1f1;
  --line: #222222;
  --soft: #e6e6e6;
  --page: #f7f7f7;
  --white: #ffffff;
  --font: "Raleway", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rausch); outline-offset: 3px; }

@media (min-width: 560px) {
  body {
    background:
      radial-gradient(600px 400px at 50% 0%, rgba(255, 57, 92, .08), transparent 70%),
      var(--page);
    padding: 40px 16px;
  }
  .card {
    border-radius: 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 70px -30px rgba(34, 34, 34, .35);
    overflow: hidden;
  }
}

.card {
  width: min(100%, 480px);
  margin: 0 auto;
  background: var(--white);
}

/* ---------- Header band ---------- */
.band {
  position: relative;
  padding: 44px 24px 92px;
  text-align: center;
  background: var(--band);
  border-top: 4px solid var(--rausch);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600;
  color: var(--rausch-deep);
}
.brand i {
  width: 14px; height: 18px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, var(--rausch) 0 55%, var(--babu) 55%);
}
h1 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(30px, 8.6vw, 40px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.role {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.social {
  margin: 20px 0 0;
  display: flex; justify-content: center; gap: 6px;
}
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #7a7a7a;
  transition: color .2s, background-color .2s;
}
.social a:hover { color: var(--rausch-deep); background: rgba(255, 57, 92, .08); }
.social svg { width: 21px; height: 21px; }

.avatar {
  position: absolute;
  left: 50%; bottom: 0;
  translate: -50% 50%;
  width: 136px; height: 136px;
  border-radius: 50%;
  border: 6px solid var(--white);
  background: var(--white);
  box-shadow: 0 12px 30px -12px rgba(34, 34, 34, .45);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .initials {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .22), transparent 55%),
    linear-gradient(160deg, var(--rausch), var(--rausch-deep));
  color: #fff;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: .02em;
}

/* ---------- Body ---------- */
.body { padding: 88px 24px 32px; }
.bio {
  margin: 0 auto;
  max-width: 40ch;
  text-align: center;
  font-size: 16px;
  color: var(--ink-2);
}
.loc {
  margin: 12px 0 0;
  display: flex; justify-content: center; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.loc svg { width: 15px; height: 15px; color: var(--rausch); }

.links {
  list-style: none;
  margin: 34px 0 0; padding: 0;
  display: grid; gap: 14px;
}
.links a, .links button {
  width: 100%;
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  align-items: stretch;
  min-height: 58px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform .15s var(--ease), box-shadow .2s;
}
.links .ic {
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  transition: background-color .2s;
}
.links .ic svg { width: 22px; height: 22px; }
.links .t {
  align-self: center;
  padding: 10px 0 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.links .t small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}
.links .go {
  align-self: center; justify-self: center;
  width: 16px; height: 16px;
  color: #9a9a9a;
  transition: transform .2s var(--ease), color .2s;
}
.links a:hover, .links button:hover { box-shadow: 4px 4px 0 var(--rausch); transform: translate(-2px, -2px); }
.links a:hover .ic, .links button:hover .ic { background: var(--rausch); }
.links a:hover .go, .links button:hover .go { color: var(--rausch); transform: translateX(3px); }
.links a:active, .links button:active { transform: none; box-shadow: none; }

/* primary row stands out */
.links .primary { border-color: var(--rausch); }
.links .primary .ic { background: var(--rausch); }
.links .primary .t { color: var(--rausch-deep); }
.links .primary:hover { box-shadow: 4px 4px 0 var(--ink); }
.links .primary:hover .ic { background: var(--rausch-deep); }

/* QR */
.qr {
  margin: 32px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--soft);
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.qr .code {
  width: 84px; height: 84px; flex: none;
  padding: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}
.qr img { width: 100%; height: 100%; display: block; }
.qr b { display: block; font-size: 15px; }
.qr span { font-size: 13px; color: var(--muted); }

footer {
  padding: 0 24px 28px;
  text-align: center;
  font-size: 12.5px;
  color: #8a8a8a;
}
footer a { font-weight: 700; color: var(--ink); }
footer a:hover { color: var(--rausch-deep); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 10;
  translate: -50% 20px;
  padding: 12px 18px; border-radius: 4px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, translate .25s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* single load moment: the avatar settles onto the band edge */
.avatar { animation: pop .7s var(--ease) .1s both; }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

@media (max-width: 380px) {
  .band { padding: 36px 16px 84px; }
  .body { padding: 84px 16px 28px; }
  .links a, .links button { grid-template-columns: 52px 1fr 28px; }
  .links .t { font-size: 13.5px; padding-left: 14px; }
  .avatar { width: 124px; height: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
