:root {
  --bg: #f3f5fb;
  --ink: #12233f;
  --ink-soft: #4e5f7a;
  --card: #ffffff;
  --line: #dbe2ef;
  --accent: #2e6df5;
  --accent-soft: #edf3ff;
  --sidebar-grad: linear-gradient(165deg, #0f1f3b 0%, #1f3764 48%, #2a4f89 100%);
  --shadow: 0 28px 55px rgba(18, 34, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, #ffffff 0%, rgba(255, 255, 255, 0.65) 38%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 95% 20%, #e4eeff 0%, rgba(228, 238, 255, 0) 50%),
    var(--bg);
  padding: 28px 14px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.snapshot-page {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.snapshot-card {
  background: var(--card);
  border: 1px solid #d7e0ef;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
}

.snapshot-sidebar {
  background: var(--sidebar-grad);
  color: #eff5ff;
  padding: 28px 22px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.snapshot-hero,
.snapshot-contact,
.snapshot-cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.snapshot-photo {
  width: 122px;
  height: 122px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 3px solid rgba(255, 255, 255, 0.36);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(8, 16, 30, 0.35);
}

.snapshot-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.snapshot-photo__image[src]:not([src=""]) {
  display: block;
}

.snapshot-photo__image[src]:not([src=""]) + .snapshot-photo__fallback {
  display: none;
}

.snapshot-photo__fallback {
  font-size: 3.2rem;
  color: rgba(255, 255, 255, 0.84);
}

.snapshot-eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(228, 240, 255, 0.78);
  text-align: center;
  font-weight: 700;
}

.snapshot-name {
  margin-top: 7px;
  text-align: center;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.32rem, 2.2vw, 1.6rem);
  line-height: 1.22;
  color: #ffffff;
}

.snapshot-role {
  margin-top: 6px;
  text-align: center;
  color: rgba(234, 243, 255, 0.85);
  font-size: 0.94rem;
}

.snapshot-sidebar h2 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(236, 244, 255, 0.86);
  margin-bottom: 11px;
}

.snapshot-contact ul {
  display: grid;
  gap: 9px;
}

.snapshot-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: #f4f8ff;
  overflow-wrap: anywhere;
}

.snapshot-contact li i {
  width: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.snapshot-social {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.snapshot-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #f5f9ff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background 0.22s ease;
}

.snapshot-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.snapshot-cta p {
  color: rgba(237, 245, 255, 0.92);
  font-size: 0.86rem;
  line-height: 1.55;
}

.snapshot-main {
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.snapshot-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 15px;
  box-shadow: 0 8px 18px rgba(20, 38, 75, 0.05);
}

.snapshot-panel h2 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #233a63;
  margin-bottom: 12px;
}

.snapshot-panel--intro p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.skill-list {
  display: grid;
  gap: 10px;
}

.skill-list li {
  display: grid;
  gap: 7px;
}

.skill-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  color: #182b4f;
  font-weight: 700;
}

.skill-value {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.skill-meter {
  height: 8px;
  border-radius: 999px;
  background: #e8eef9;
  overflow: hidden;
}

.skill-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2e6df5 0%, #4e8dff 65%, #86b2ff 100%);
  transition: width 0.8s cubic-bezier(0.2, 0.85, 0.3, 1);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-list li {
  border: 1px solid #e6ecf7;
  border-radius: 14px;
  background: #fbfdff;
  padding: 11px;
  display: grid;
  gap: 4px;
}

.stack-list h3 {
  font-size: 0.9rem;
  color: #15294a;
}

.stack-list p {
  font-size: 0.84rem;
  color: #415575;
  line-height: 1.55;
}

.stack-list small {
  font-size: 0.76rem;
  color: #637b9f;
  font-weight: 700;
}

.stack-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.stack-meta-row .stack-role {
  color: #2d5fc8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 800;
}

.stack-points {
  margin-top: 3px;
  padding-top: 6px;
  border-top: 1px dashed #dbe5f6;
  display: grid;
  gap: 4px;
}

.stack-points li {
  position: relative;
  min-height: 20px;
  padding: 2px 0 2px 15px;
  font-size: 0.79rem;
  line-height: 1.5;
  color: #4e6387;
}

.stack-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #4b7ef4;
}

.stack-list--compact li {
  background: #f9fbff;
}

.quote-list {
  display: grid;
  gap: 10px;
}

.quote-list li {
  border: 1px solid #e6ecf7;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 12px;
  display: grid;
  gap: 9px;
}

.quote-list p {
  color: #2a3e60;
  font-size: 0.88rem;
  line-height: 1.6;
}

.quote-author {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.quote-author span {
  font-size: 0.83rem;
  font-weight: 800;
  color: #14305d;
}

.quote-author small {
  font-size: 0.75rem;
  color: #5c769c;
}

@media screen and (max-width: 980px) {
  body {
    padding: 16px 10px;
  }

  .snapshot-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .snapshot-sidebar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .snapshot-main {
    padding: 16px;
  }
}

@media screen and (max-width: 720px) {
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .quote-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}
