:root {
  color-scheme: light;
  --paper: #f7f5f1;
  --white: #fff;
  --ink: #211e1e;
  --muted: #615859;
  --red: #a91425;
  --rule: #e8dfdb;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #0060b5; outline-offset: 4px; }
p, h1, h2, h3, ul { margin: 0; }
.frame { width: min(1088px, calc(100% - 88px)); margin-inline: auto; }
.site-head { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; line-height: 0; width: 139px; }
.brand img { width: 100%; height: auto; mix-blend-mode: multiply; }
.home { border: 1px solid #dfd6d1; border-radius: 100px; padding: 9px 14px; text-decoration: none; font-size: .81rem; font-weight: 650; white-space: nowrap; }
.home span { color: var(--red); margin-inline-start: .35rem; }
.home:hover { background: var(--white); }

.card { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); overflow: hidden; border-radius: 20px; box-shadow: 0 19px 55px #42212712; background: var(--white); }
.portrait-panel {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: radial-gradient(ellipse at 86% 0%, #a92a40, transparent 62%), linear-gradient(155deg, #791523, #3b0d16 93%);
  padding: 45px clamp(26px, 4.4vw, 64px) 49px;
}
.portrait-panel::before {
  position: absolute;
  z-index: -1;
  content: "";
  width: 420px;
  height: 420px;
  top: -180px;
  right: -128px;
  border: 1px solid #ffffff29;
  outline: 28px solid #ffffff0b;
  box-shadow: 0 0 0 62px #ffffff0b;
  border-radius: 50%;
}
.portrait { width: clamp(145px, 15vw, 192px); aspect-ratio: 1; padding: 6px; border: 1px solid #ffffff59; border-radius: 50%; }
.portrait-frame { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: white; padding: 16px; }
.portrait img { width: 100%; height: auto; display: block; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); line-height: .91; font-weight: 750; letter-spacing: -.078em; margin: 25px 0 18px; }
h1 span { color: #ff9eaa; }
.role { max-inline-size: 34ch; text-wrap: balance; color: #ffe8e9; font-weight: 550; font-size: clamp(.9rem, 1.65vw, 1.05rem); line-height: 1.42; }

.details { padding: 38px clamp(28px, 4.2vw, 60px) 22px; }
.eyebrow { font-weight: 720; font-size: .7rem; text-transform: uppercase; letter-spacing: .17em; color: var(--red); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -.055em; margin-block: .32em .34em; }
.bio { color: var(--muted); max-width: 47ch; font-size: .96rem; }
.bio + .bio { margin-top: .65em; }
.save { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 46px; border-radius: 8px; margin-block: 24px 18px; background: var(--red); color: white; font-weight: 670; font-size: .9rem; text-decoration: none; }
.save:hover { background: #861021; }
.save-symbol { font-size: 1.2em; line-height: 1; }
.contacts { list-style: none; padding: 0; }
.contacts a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 55px; padding-block: 8px; border-top: 1px solid var(--rule); text-decoration: none; }
.contacts a > span:first-child { min-width: 0; }
.contacts small { display: block; color: var(--muted); font-size: .71rem; }
.contacts strong { font-weight: 660; font-size: clamp(.82rem, 1.45vw, .94rem); overflow-wrap: anywhere; }
.contacts a > span:last-child { color: var(--red); }
.contacts a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.company {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr 1.38fr;
  gap: 24px;
  padding: 31px 5px 37px;
}
.company h2 { font-size: 1.72rem; margin-bottom: 9px; }
.company-block { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.company-block h3 { font-size: .84rem; margin-bottom: .4rem; color: var(--ink); }
.company-block address { font-style: normal; }
.company-block p:not(:first-child) { margin-bottom: 4px; }
.text-link { display: inline-block; margin-top: 5px; color: var(--red); font-size: .8rem; font-weight: 660; }
.company a { text-underline-offset: 3px; }
.pec { display: inline-block; }

@media (max-width: 785px) {
  .frame { width: calc(100% - 44px); }
  .company { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 585px) {
  .frame { width: calc(100% - 28px); }
  .site-head { min-height: 74px; padding-inline: 3px; }
  .brand { width: 111px; }
  .home { font-size: .76rem; padding: 8px 11px; min-height: 38px; }
  .card { grid-template-columns: minmax(0, 1fr); border-radius: 15px; }
  .portrait-panel { padding: 30px 16px 31px; text-align: center; }
  .portrait-panel::before { right: 50%; translate: 50% 0; top: -260px; }
  .portrait { margin: auto; }
  .role { margin-inline: auto; }
  h1 { letter-spacing: -.07em; font-size: clamp(2.55rem, 9.2vw, 3.65rem); margin-block: 19px 11px; }
  h1 br { display: none; }
  .details { padding: 27px 22px 13px; }
  .save { justify-content: center; width: 100%; }
  .company { gap: 21px 16px; padding: 26px 9px 32px; }
}

.arrow {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  inline-size: .68em;
  block-size: .68em;
  border-block-start: .11em solid currentColor;
  border-inline-end: .11em solid currentColor;
}
.arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -.13em;
  width: .84em;
  border-top: .11em solid currentColor;
  transform: rotate(-45deg);
}

.services-link { display: block; margin-block: 14px 0; }
