:root {
  --bg:      #FDF6EE;
  --accent:  #1B2B4B;
  --text:    #1B2B4B;
  --soft:    #C9B99A;
  --card-bg: rgba(255, 255, 255, 0.78);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Decorative fractal tree ── */
#tree-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Shared layout ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* ── Landing card ── */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 32px;
  padding: 60px 56px 52px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 4px 48px rgba(27, 43, 75, 0.10), 0 1px 3px rgba(27,43,75,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.avatar {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 36px rgba(27, 43, 75, 0.18);
  border: 3px solid rgba(201, 185, 154, 0.5);
}

.name {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.divider {
  width: 44px;
  height: 2px;
  background: var(--soft);
  border-radius: 2px;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: -4px;
}

.affiliation {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0.72;
  line-height: 1.5;
}

/* ── Icon buttons ── */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  box-shadow: 0 2px 12px rgba(27, 43, 75, 0.18);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(27, 43, 75, 0.28);
  background: #2a3f6b;
  outline: none;
}

.btn img,
.btn svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* ── About card ── */
.about-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 32px;
  padding: 60px 72px;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 4px 48px rgba(27, 43, 75, 0.10), 0 1px 3px rgba(27,43,75,0.06);
}

.about-card h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: 32px;
}

.about-body {
  font-size: 1.1rem;
  line-height: 1.85;
  font-weight: 300;
  color: var(--text);
}

.about-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 120ms;
}

.about-body a:hover { opacity: 0.6; }

.about-body ul {
  margin: 14px 0 14px 28px;
}

.about-body li { margin-bottom: 8px; }

.back-btn {
  display: inline-block;
  margin-top: 44px;
  padding: 15px 42px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: opacity 140ms, transform 140ms;
  box-shadow: 0 2px 12px rgba(27,43,75,0.18);
}

.back-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero { padding: 24px 16px; }

  .card {
    padding: 40px 24px 36px;
    border-radius: 24px;
    gap: 14px;
  }
  .avatar { width: 160px; height: 160px; }
  .name   { font-size: 1.7rem; }
  .tagline     { font-size: 1rem; }
  .affiliation { font-size: 0.9rem; }

  /* buttons: force clean 3+3 wrap */
  .buttons { gap: 10px; }
  .btn { width: 48px; height: 48px; }
  .btn img, .btn svg { width: 20px; height: 20px; }

  .about-card {
    padding: 36px 20px 32px;
    border-radius: 24px;
    margin: 24px 0;
  }
  .about-card h1 { font-size: 1.6rem; margin-bottom: 20px; }
  .about-body    { font-size: 0.97rem; line-height: 1.75; }
  .about-body ul { margin-left: 20px; }
  .back-btn { padding: 13px 32px; font-size: 0.95rem; margin-top: 32px; }
}
