:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #532437;
  background: #fcf4ee;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 64px) 16px;
  background: radial-gradient(ellipse at top left, #efdce5, transparent 62%),
    radial-gradient(ellipse at bottom right, #e2e8ee, transparent 62%), #fcf4ee;
}
.profile {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  width: min(100%, 1020px);
  overflow: hidden;
  background: #fffaf7;
  border: 1px solid white;
  border-radius: 32px;
  box-shadow: 0 22px 68px #5b304321;
}
.cover {
  display: grid;
  align-items: center;
  background: #faece7;
}
.cover h1 { margin: 0; }
.cover picture, .cover img { display: block; width: 100%; height: auto; }
.contacts {
  align-self: center;
  padding: clamp(25px, 4vw, 46px);
}
.eyebrow {
  margin: 0 0 9px;
  color: #50677d;
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  color: #69273d;
  font: 400 clamp(1.9rem, 4vw, 2.65rem)/1.08 Georgia, serif;
  letter-spacing: -.04em;
}
.intro { margin: 12px 0 21px; color: #705761; font-size: .94rem; line-height: 1.5; }
.links { list-style: none; display: grid; gap: 9px; padding: 0; margin: 0; }
.channel {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 64px;
  padding: 9px 13px;
  border: 1px solid #ead8dd;
  border-radius: 14px;
  background: white;
  text-decoration: none;
  color: inherit;
}
.channel.primary { background: #69273d; border-color: #69273d; color: white; }
.channel:hover { border-color: #90536a; background: #fff3f7; }
.channel.primary:hover { background: #532035; }
.channel:focus-visible { outline: 3px solid #50677d; outline-offset: 3px; }
.icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #f4e6eb; color: #69273d; }
.primary .icon { background: #fff7fb; }
.icon svg { width: 21px; height: 21px; }
.label { flex: 1; min-width: 0; }
.label strong, .label small { display: block; overflow-wrap: anywhere; }
.label strong { font-size: .92rem; }
.label small { color: #705761; font-size: .78rem; margin-top: 2px; }
.primary small { color: #f6e1e8; }
.arrow { font-size: 1.2rem; }
footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #ead8dd;
  color: #705761;
  font-size: .73rem;
  letter-spacing: .035em;
}
footer img { border-radius: 50%; }
@media (max-width: 680px) {
  .profile { grid-template-columns: minmax(0, 1fr); width: min(100%, 460px); border-radius: 24px; }
  .contacts { padding: 23px clamp(16px, 6vw, 30px); }
}
