* {
  box-sizing: border-box;
}

:root {
  --black: #050505;
  --text: #111111;
  --muted: #4f4f4f;
  --line: #dddddd;
  --soft: #f3f3f3;
  --white: #ffffff;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.page {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--white);
}

.content {
  min-height: 100vh;
  padding: 42px 42px 36px 58px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.photo-panel {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--soft);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.logo {
  width: min(54vw, 760px);
  max-width: 760px;
  height: auto;
  display: block;
  margin-bottom: 58px;
}

.name {
  font-size: clamp(42px, 4.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 750;
  margin: 0 0 24px;
}

.short-line {
  width: 58px;
  height: 3px;
  background: var(--black);
  margin: 0 0 28px;
}

.title {
  font-size: clamp(25px, 2.55vw, 42px);
  line-height: 1.18;
  font-weight: 300;
  margin: 0 0 30px;
  max-width: 650px;
}

.contact-list {
  width: 100%;
  max-width: 690px;
  margin: 0 0 32px;
}

.contact-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 22px;
  font-weight: 700;
}

.value {
  font-size: clamp(17px, 1.4vw, 23px);
  line-height: 1.25;
  color: var(--text);
  word-break: break-word;
}

.actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 760px;
}

.btn {
  min-height: 56px;
  border: 1.5px solid var(--black);
  border-radius: 7px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn.primary {
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  min-height: 64px;
}

.footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 760px;
  color: var(--text);
  font-size: 16px;
}

.not-found {
  max-width: 720px;
  margin: 80px auto;
  text-align: center;
  padding: 20px;
}

.not-found .logo {
  margin: 0 auto 36px;
}

.not-found a {
  color: var(--black);
}

@media (max-width: 1000px) {
  .page {
    grid-template-columns: 1fr;
  }

  .content {
    min-height: auto;
    padding: 30px 22px 42px;
    order: 2;
  }

  .photo-panel {
    min-height: auto;
    height: auto;
    aspect-ratio: 4 / 5;
    order: 1;
  }

  .photo-panel img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .logo {
    width: min(88vw, 500px);
    margin: 0 auto 36px;
  }

  .name {
    font-size: 38px;
  }

  .title {
    font-size: 25px;
  }

  .actions {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .btn.primary {
    min-height: 66px;
  }

  .footer {
    font-size: 14px;
  }
}
