:root {
  --bg: #2c2f3b;
  --panel: #3a3e4d;
  --text: #f6f2f2;
  --muted: #9e9eab;
  --accent: #f22479;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 82%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(
      circle at 16% 78%,
      rgba(255, 255, 255, 0.04),
      transparent 20%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(255, 255, 255, 0.03),
      transparent 18%
    ),
    var(--bg);
  color: var(--text);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.page-shell {
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px 56px 16px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 10px;
}

.brand {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 3.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-accent,
.brand-dot {
  color: var(--accent);
}

.brand:hover {
  opacity: 0.88;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 88px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav {
  margin-right: 52px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.55rem;
  font-weight: 500;
}

.main-nav a.is-active {
  color: #ffffff;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(700px, 1.02fr) minmax(760px, 0.88fr);
  align-items: center;
  gap: 28px;
  min-height: calc(100vh - 60px);
  padding-top: 0;
}

.hero-copy {
  max-width: 840px;
  padding-top: 12px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(4.9rem, 6vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 820px;
}

.hero-text {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.4vw, 1.5rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 28px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  padding: 21px 38px;
  border-radius: 17px;
  background: linear-gradient(135deg, #f02477, #e2257a);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(236, 46, 121, 0.15);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(236, 46, 121, 0.24);
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.button-link span {
  font-size: 1.5rem;
  line-height: 1;
}

.highlights {
  display: flex;
  gap: 44px;
  margin-top: 82px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-item h2 {
  margin: 0;
  max-width: 148px;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 600;
}

.icon-box {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.icon-box::before,
.icon-box::after {
  content: "";
  position: absolute;
}

.icon-box.chat::before {
  width: 20px;
  height: 16px;
  left: 18px;
  top: 20px;
  border: 3px solid #ffffff;
  border-radius: 9px;
}

.icon-box.chat::after {
  width: 18px;
  height: 14px;
  right: 13px;
  bottom: 17px;
  border: 3px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  box-shadow: -12px -12px 0 -9px var(--bg);
}

.icon-box.calendar::before {
  inset: 16px;
  border: 3px solid #ffffff;
  border-radius: 9px;
}

.icon-box.calendar::after {
  left: 20px;
  right: 20px;
  top: 28px;
  height: 3px;
  background: var(--accent);
  box-shadow:
    0 -11px 0 0 #ffffff,
    -10px -17px 0 -1px #ffffff,
    10px -17px 0 -1px #ffffff;
}

.icon-box.board::before {
  left: 17px;
  top: 18px;
  width: 34px;
  height: 26px;
  border: 3px solid #ffffff;
  border-radius: 6px;
}

.icon-box.board::after {
  left: 22px;
  bottom: 18px;
  width: 24px;
  height: 12px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: skewX(-28deg);
  box-shadow:
    8px -7px 0 -4px #ffffff,
    -12px 0 0 -4px #ffffff;
}

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 250px 224px 250px;
  grid-template-rows: 220px 232px 220px;
  gap: 28px;
  justify-content: end;
  justify-self: end;
  align-content: center;
  min-height: 820px;
  width: max-content;
  margin-left: auto;
  padding-right: 4px;
  transform: translateX(18px);
}

.portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 94px;
}

.portrait img {
  object-position: center top;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.portrait.tall {
  grid-row: span 2;
}

.portrait.small {
  height: 220px;
}

.purple {
  background: #6f1ff0;
}

.aqua {
  background: #63d0d7;
}

.yellow {
  background: #f6be3d;
}

.pink {
  background: #ee1f78;
}

.portrait.small.pink {
  grid-row: span 2;
  height: auto;
}

.orange {
  background: #ff842a;
}

.hero-collage .portrait:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

.hero-collage .portrait:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  margin-top: 102px;
}

.hero-collage .portrait:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
}

.hero-collage .portrait:nth-child(6) {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin-top: 26px;
}

.portrait-main-man img {
  object-position: center top;
}

.portrait-top-woman img {
  object-position: center 18%;
}

.portrait-right-woman img {
  object-position: center 14%;
}

.portrait-right-woman {
  grid-row: span 1;
  height: 232px;
}

.portrait-bottom-woman img {
  object-position: center 8%;
}

.portrait-bottom-woman {
  height: 452px;
}

.portrait-man-glasses img {
  object-position: center top;
}

.curve {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.curve-one {
  width: 1080px;
  height: 1080px;
  right: -322px;
  top: 96px;
}

.curve-two {
  width: 1380px;
  height: 1380px;
  right: -424px;
  top: 24px;
}

@media (min-width: 1800px) {
  .page-shell {
    max-width: 1880px;
    padding-inline: 70px;
  }

  .hero {
    grid-template-columns: minmax(760px, 1fr) minmax(860px, 0.88fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: 7.4rem;
    max-width: 900px;
  }

  .hero-text {
    font-size: 1.5rem;
    max-width: 730px;
  }

  .hero-collage {
    grid-template-columns: 274px 246px 274px;
    grid-template-rows: 240px 258px 240px;
    min-height: 900px;
    gap: 30px;
    width: max-content;
    margin-left: auto;
    padding-right: 16px;
    transform: translateX(-24px);
  }

  .portrait {
    border-radius: 102px;
  }

  .portrait.small {
    height: 240px;
  }

  .hero-collage .portrait:nth-child(4) {
    margin-top: 110px;
  }

  .hero-collage .portrait:nth-child(6) {
    margin-top: 30px;
  }

  .curve-one {
    width: 1180px;
    height: 1180px;
    right: -324px;
    top: 112px;
  }

  .curve-two {
    width: 1510px;
    height: 1510px;
    right: -460px;
    top: 18px;
  }
}

@media (max-width: 1360px) {
  .page-shell {
    padding-inline: 32px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 6px;
  }

  .hero-collage {
    justify-content: center;
    padding-right: 0;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 20px 28px;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-actions,
  .highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlights {
    gap: 22px;
    margin-top: 64px;
  }

  .hero-collage {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    grid-template-rows: none;
    min-height: auto;
  }

  .portrait,
  .portrait.small,
  .portrait.tall,
  .hero-collage .portrait:nth-child(3),
  .hero-collage .portrait:nth-child(4),
  .hero-collage .portrait:nth-child(5),
  .hero-collage .portrait:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    height: 244px;
    margin-top: 0;
  }

  .curve-one,
  .curve-two {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 24px 20px 36px;
  }

  .button-primary {
    min-width: 0;
    width: 100%;
  }

  .hero-collage {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portrait,
  .portrait.small,
  .portrait.tall {
    height: 288px;
    border-radius: 48px;
  }

}
