:root {
  --bg: #e1ebf1;
  --bg-accent: rgba(36, 33, 29, 0.03);
  --bg-gradient-end: #ffffff;
  --surface-right: #ffffff;
  --panel-overlay: #f1f3f5;
  --icon-surface: rgba(255, 255, 255, 0.9);
  --text: #24211d;
  --muted: #6c655d;
  --line: rgba(36, 33, 29, 0.14);
  --line-strong: rgba(36, 33, 29, 0.226);
  --line-soft: rgba(36, 33, 29, 0.06);
  --accent: #5c88a5;
  --button-text: #415058;
  --button-border: rgba(95, 111, 119, 0.26);
  --button-border-hover: rgba(95, 111, 119, 0.38);
  --shadow: 0 36px 96px rgba(32, 26, 21, 0.274);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, var(--bg-accent), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-gradient-end) 100%);
}

.card-shell {
  width: min(1080px, 100%);
  min-height: 420px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  background: var(--surface-right);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 44px 34px 0;
  background:
    linear-gradient(rgba(235, 241, 246, 0.5), rgba(219, 230, 238, 0.58)),
    url("bg.png") center / cover no-repeat;
  text-align: center;
}

.profile-photo {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.profile-copy {
  margin-top: 30px;
}

.profile-copy h1 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.accent-line {
  width: 56px;
  height: 3px;
  margin: 26px auto 28px;
  background: var(--accent);
}

.role,
.company {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.88rem;
}

.role {
  margin-bottom: 12px;
}

.company {
  color: var(--muted);
}

.profile-links {
  width: calc(100% + 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  padding: 20px 16px;
  background: var(--accent);
  border-top: 1px solid var(--line-soft);
}

.profile-links a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--icon-surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.profile-links a:hover {
  transform: translateY(-2px);
  background: var(--surface-right);
  border-color: var(--line-strong);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(10px);
  padding: 10px 16px;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--button-text);
  box-shadow: 0 10px 30px rgba(32, 26, 21, 0.08);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.profile-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 74px;
  background: var(--surface-right);
}

.intro-label {
  margin: 0;
  font-size: clamp(4rem, 9vw, 6.8rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.intro-subtitle {
  margin: 22px 0 0;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.description {
  max-width: 31rem;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.9;
}

.resume-button {
  width: fit-content;
  margin-top: 34px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.resume-button:hover {
  transform: translateY(-2px);
  background: #526169;
  border-color: transparent;
}

@media (max-width: 900px) {
  .card-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .profile-panel {
    padding: 36px 24px 0;
  }

  .profile-links {
    width: calc(100% + 48px);
  }

  .content-panel {
    padding: 44px 26px 52px;
  }
}

@media (max-width: 520px) {
  body {
    padding: 14px;
  }

  .profile-photo {
    width: 170px;
    height: 170px;
  }

  .profile-copy h1 {
    font-size: 2rem;
  }

  .profile-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  .description {
    font-size: 1rem;
    line-height: 1.8;
  }
}
