* { box-sizing: border-box; }

html,
body { overflow-x: clip; }

main {
  font-family: Montserrat, Arial, sans-serif;
  color: #132843;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(560px, calc(100svh - 96px), 760px);
  background: #eef5f8;
  overflow: hidden;
}

.profile-hero > * { min-width: 0; }

.portrait-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.portrait-wrap img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 112px);
  min-width: 0;
}

.hero-copy h1 {
  overflow-wrap: anywhere;
  font-size: clamp(52px, 7vw, 110px);
  line-height: .95;
  letter-spacing: -.06em;
  margin: 0 0 30px;
}

.hero-copy h2 {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 0;
}

.hero-copy i {
  display: block;
  width: 90px;
  height: 4px;
  background: #20b7d2;
}

.about-profile {
  padding: clamp(60px, 7vw, 110px) 20px;
  background: #fff;
}

.about-card {
  width: min(1150px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 60px);
}

.about-title h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-top: 0;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.85;
  color: #526276;
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color .2s ease, transform .2s ease;
}

.profile-socials a:hover,
.profile-socials a:focus-visible {
  background: #e8f7fa;
  transform: translateY(-2px);
  outline: 2px solid transparent;
}

.profile-socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.profile-media {
  width: min(1300px, 100%);
  margin: auto;
  padding: 30px 20px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.profile-media video,
.profile-media iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  min-height: 0;
  object-fit: cover;
  border: 0;
  border-radius: 14px;
  background: #111;
}

@media (max-width: 800px) {
  .profile-hero,
  .about-card { grid-template-columns: 1fr; }

  .profile-hero { min-height: 0; }

  .portrait-wrap {
    height: min(120vw, 680px);
    min-height: 420px;
  }

  .hero-copy { padding: 48px 24px 64px; }

  .profile-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .portrait-wrap { min-height: 360px; }
  .hero-copy h1 { font-size: clamp(46px, 18vw, 72px); }
  .profile-media { grid-template-columns: 1fr; }
  .profile-media video,
  .profile-media iframe { max-height: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-socials a { transition: none; }
}
