/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* ================= BASE ================= */
body {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  overflow-x: hidden;
}

/* ================= LAYOUT ================= */
.wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 100vh;
}

/* ================= SIDEBAR ================= */
.sidebar {
  padding: 64px 48px;
}

.sidebar-inner {
  position: sticky;
  top: 48px;
}

/* PROFILE IMAGE */
.profile-image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid #38bdf8;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAME + TITLE */
.sidebar h1 {
  font-size: 2.6rem;
  line-height: 1.1;
}

.sidebar h1 span {
  color: #38bdf8;
}

.sidebar h2 {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
}

/* TAGLINE */
.tagline {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #cbd5f5;
  line-height: 1.6;
}

/* ================= NAV ================= */
nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

nav span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

nav span:hover {
  color: #94a3b8;
}

nav span.active {
  color: #e5e7eb;
}

/* ================= SIDEBAR CONTACT ================= */
.sidebar-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-footer a {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

.sidebar-footer a:hover {
  color: #38bdf8;
}

/* ================= CONTENT ================= */
.content {
  scroll-behavior: smooth;
}

/* ================= PANELS ================= */
.panel {
  min-height: 100vh;
  padding: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel h3 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.panel p {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #cbd5f5;
}

/* ================= MOBILE / TABLET ================= */
@media (max-width: 900px) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    padding: 32px;
  }

  .sidebar-inner {
    position: static;
  }

  .profile-image {
    width: 90px;
    height: 90px;
  }

  nav {
    margin-top: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  nav span {
    font-size: 0.7rem;
  }

  .sidebar-footer {
    margin-top: 24px;
    padding-top: 16px;
  }

  .panel {
    padding: 64px 32px;
  }

  .panel h3 {
    font-size: 2.2rem;
  }
}
