* {
  box-sizing: border-box;
}

:root {
  --bg: #dff7ff;
  --bg-deep: #b9ecfb;
  --panel: rgba(255, 255, 255, 0.82);
  --ink: #12313b;
  --muted: #597681;
  --line: rgba(18, 49, 59, 0.14);
  --accent: #0099c2;
  --accent-soft: #eafaff;
  --shadow: rgba(12, 81, 103, 0.12);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0 17%, transparent 17%),
    linear-gradient(315deg, rgba(0, 153, 194, 0.14) 0 22%, transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}

.page {
  width: min(1060px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  align-items: start;
}

.profile {
  position: sticky;
  top: 40px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 48px var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.profile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 153, 194, 0.18));
}

.avatar-shell {
  width: 148px;
  height: 148px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 28px var(--shadow);
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.eyebrow {
  margin: 26px 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  max-width: 16em;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 28px;
}

.hero-tags span,
.link-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.contact {
  display: inline-block;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 24px var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact:hover,
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 153, 194, 0.28);
  box-shadow: 0 18px 32px rgba(12, 81, 103, 0.16);
}

.content {
  display: grid;
  gap: 22px;
}

.section-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px var(--shadow);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

h2 {
  max-width: 18em;
  margin: 0;
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.link-card {
  position: relative;
  min-height: 144px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px var(--shadow);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 153, 194, 0.12) 50%);
  pointer-events: none;
}

.link-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.link-card p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 36px, 1080px);
    padding: 32px 0 46px;
    grid-template-columns: 1fr;
  }

  .profile {
    position: static;
  }

  .section-block {
    padding: 24px;
  }

  h2 {
    font-size: 24px;
  }

  .links {
    grid-template-columns: 1fr;
  }
}
