:root {
  --primary: #9ec043;
  --secondary: #a8a8a7;
  --brand-dark: #2d2d2d;
  --text: #2f3a24;
  --muted: #5f6b52;
  --surface: #ffffff;
  --line: #e7edd8;
  --shadow: 0 12px 32px rgba(45, 45, 45, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Quicksand", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 550px at -15% -20%, #dcebc1 0%, #f3f8e6 55%, #f8fbf0 100%);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
}

.bio-shell {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.profile-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid #e8efd9;
  isolation: isolate;
}

.profile-bg {
  height: 148px;
  background-image: linear-gradient(180deg, rgba(36, 44, 23, 0.12), rgba(36, 44, 23, 0.5)), url("https://hoogli.bio/media/bio/background/JGEPuiVk962p6B9tMGzaopKM9q2bNUbSNwHGVJjt.jpg");
  background-size: cover;
  background-position: center;
}

.profile-content {
  padding: 0 16px 18px;
  margin-top: -44px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(45, 45, 45, 0.22);
  background: #fff;
}

.name {
  margin: 10px 0 6px;
  font-size: 1.42rem;
  line-height: 1.18;
  letter-spacing: 0.2px;
  color: var(--brand-dark);
}

.desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
}

.socials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.social {
  min-height: 46px;
  min-width: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brand-dark);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social i {
  font-size: 20px;
}

.social:active,
.social:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: 0 8px 14px rgba(158, 192, 67, 0.22);
}

.section-title {
  margin: 18px 4px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #647251;
  font-weight: 700;
}

.links {
  display: grid;
  gap: 10px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 72px;
  text-decoration: none;
  color: var(--brand-dark);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: 0 8px 18px rgba(45, 45, 45, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-card:hover,
.link-card:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(45, 45, 45, 0.14);
  border-color: #d5e2b8;
}

.link-card.is-urgent {
  border-color: #ffd8d8;
  background: linear-gradient(180deg, #fff6f6 0%, #fff 100%);
}

.link-card img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex: 0 0 58px;
  border: 1px solid #e8e8e8;
  background: #fff;
}

.lead-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
}

.lead-icon.is-urgent {
  background: #e65a5a;
  color: #ffffff;
}

.lead-icon i {
  font-size: 14px;
}

.link-meta {
  min-width: 0;
  flex: 1;
}

.link-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #2b3420;
  line-height: 1.2;
}

.link-sub {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #667553;
  line-height: 1.25;
}

.arrow {
  color: var(--primary);
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.arrow i {
  font-size: 14px;
}

.footnote {
  margin: 14px 4px 0;
  text-align: center;
  font-size: 0.76rem;
  color: #7b8870;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .reveal-1 { transition-delay: 0.05s; }
body.is-ready .reveal-2 { transition-delay: 0.12s; }
body.is-ready .reveal-3 { transition-delay: 0.18s; }
body.is-ready .reveal-4 { transition-delay: 0.24s; }

@media (min-width: 768px) {
  body {
    padding-top: 20px;
  }

  .bio-shell {
    max-width: 470px;
  }
}

.social.social-instagram i { color: #e1306c; }
.social.social-facebook i { color: #1877f2; }
.social.social-youtube i { color: #ff0000; }
.social.social-linkedin i { color: #0a66c2; }
