*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Funnel Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #fff;
  color: #000;
}

/* Page layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vh, 64px) clamp(16px, 3vw, 32px);
}

/* Top text */
.top-line {
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.0em;
  font-size: 60px;
}

/* Center name block */
.center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.name {
  position: relative;
  text-align: center;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.02em;
  font-size: 200px;
}

.name .line {
  display: block;
}

/* Photo overlay */
.photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(70px, 7.5vw, 120px);
  height: clamp(70px, 7.5vw, 120px);
  overflow: hidden; /* важно, чтобы img не вылезал */
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0; /* убрать скругления */
}

/* Bottom links */
.bottom-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  font-weight: 900;
  letter-spacing: 0.0em;
  font-size: 60px;
}

.bottom-line a {
  color: inherit;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.08em;
}

.bottom-line a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: clamp(3px, 0.45vw, 8px);
  background: #000;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .top-line {
    letter-spacing: 0.04em;
  }

  .bottom-line {
    gap: 24px;
  }
}
