* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at top, #fff8db, #f8e7c8);
  display: grid;
  align-content: center;
  position: relative;
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
}
main { position: relative; grid-area: 1 / 1; isolation: isolate; }
header {
  grid-area: 1 / 1;
  align-self: start;
  margin: 1.2% 0 0 4%;
  width: 29%;
  z-index: 2;
}
.logo { display: block; width: 100%; filter: drop-shadow(1px 4px 2px #35210d65); }
.wei img { display: block; width: 100%; }
.wei::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #14220975, transparent 35%);
}
main::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: 12px;
  background: #f9eacc;
  clip-path: polygon(0 75%,3% 40%,7% 61%,11% 20%,16% 55%,22% 30%,27% 70%,33% 42%,39% 80%,46% 35%,52% 65%,58% 32%,65% 66%,72% 25%,79% 54%,86% 22%,92% 58%,97% 30%,100% 60%,100% 100%,0 100%);
}
h1 {
  position: absolute; top: 44%; left: 3%; width: 23%; margin: 0;
  color: #fffaf0; font-size: clamp(25px, 3.55vw, 90px);
  font-weight: 900; font-style: italic; line-height: 1.02;
  letter-spacing: -.045em; text-align: center;
  transform: rotate(-3deg); text-shadow: 1px 3px 1px #35260c, 0 2px 12px #30220d;
}
h1::after {
  content: ""; display: block; width: 55%; height: .16em; margin: .15em auto 0;
  border-top: .10em solid #ffdc43; border-radius: 50%;
}
@media (max-width: 680px) {
  body { align-content: start; }
  header { margin: 24px auto 10px; width: min(76%,320px); }
  main { margin-top: min(35vw,145px); }
  .wei img { height: clamp(225px,63vw,350px); object-fit: cover; }
  .wei::after { display: none; }
  main::after { display: none; }
  h1 { position: relative; inset: auto; width: fit-content; margin: 28px auto;
    padding: .4em .7em; background: #10565b; border-radius: 45% 38% 42% 32% / 12% 18% 12% 16%;
    font-size: clamp(29px,7vw,44px); }
}
@media (min-width: 681px) {
  body { display: block; }
  main { height: 100vh; height: 100svh; overflow: hidden; }
  .wei img { height: 100%; object-fit: cover; object-position: center 60%; }
  .wei, .wei picture { display: block; height: 100%; }
  .wei::after { background: linear-gradient(90deg,#13220d70,transparent 36%); }
  main::after { display: none; }
  header { position: absolute; top: 7%; left: 3%; width: 30%; margin: 0; }
  h1 { left: 3%; top: 38%; width: 26%; font-size: clamp(34px,4.35vw,92px); }
}
@media (min-width: 681px) and (max-aspect-ratio: 4/3) {
  header { width: 38%; }
  h1 { top: 23%; width: 34%; }
}
