@font-face {
  font-family: "Pepito Bookman";
  src: url("../fonts/URWBookman-Demi.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f9f4e9;
  --ink: #241e19;
  --red: #b62f27;
  --yellow: #ffce55;
  --page: min(85%, 1224px);
  --band: 54px;
  --heading: "Pepito Bookman", "Bookman Old Style", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.wrap { width: var(--page); margin-inline: auto; }
.topbar {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #dfd1bd;
}
.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 16px;
  font-size: .875rem;
  font-weight: 750;
  white-space: nowrap;
}
.button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.top-contact { min-height: 34px; padding-inline: 13px; font-size: .8125rem; }
.arrow { margin-inline-start: 5px; }
.hero {
  --hero-height: clamp(530px, 53.2vw, 766px);
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(var(--hero-height) + var(--band) - 81px);
  overflow: clip;
}
.intro {
  position: absolute;
  inset: 34% auto auto max(7.5%, calc((100% - 1224px)/2));
  z-index: 3;
}
.role {
  margin-bottom: 29px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
}
.role::before { content: ""; width: 16px; height: 2px; background: var(--red); }
h1 {
  font: 700 clamp(5rem, 10.42vw, 9.375rem)/1.04 var(--heading);
  margin: 0 0 17px -6px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.clown-nose {
  display: inline-block;
  width: .51em;
  height: .51em;
  margin-inline-start: .045em;
  vertical-align: -.009em;
  border-radius: 50%;
  background: #d63128 radial-gradient(circle at 34% 29%, #f15b50, #d63128 48%, #b8241e 87%);
}
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social { min-width: 166px; justify-content: space-between; }
.facebook { color: white; background: var(--red); border-color: var(--red); }
.facebook-icon { font: 800 1.375rem/1 system-ui, sans-serif; }
.instagram-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 4px;
}
.instagram-icon::before, .instagram-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.instagram-icon::before { inset: 3px; border: 1px solid currentColor; }
.instagram-icon::after { top: 2px; right: 2px; width: 2px; height: 2px; background: currentColor; }
.portrait {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 auto;
  width: auto;
  height: calc(100% - 32px);
  max-width: 49%;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}
.band {
  min-height: var(--band);
  display: flex;
  align-items: center;
  background: var(--yellow);
  border-block: 1px solid var(--ink);
}
.band-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
  width: min(44%, 670px);
  margin: 0 0 0 7.5%;
  padding-block: 6px;
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
}
.star { color: var(--red); font-size: 1.15em; }
.contact { color: var(--paper); background: var(--ink); }
.contact .wrap {
  min-height: 137px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
h2 { font: 700 2.3125rem/1.1 var(--heading); }
.email { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
dialog {
  max-width: min(90vw, 400px);
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 12px;
}
dialog::backdrop { background: rgb(36 30 25 / .48); }
dialog p { margin-block: 12px 20px; }
dialog button { font: inherit; padding: 8px 16px; cursor: pointer; }
@media (max-width: 760px) {
  :root { --page: calc(100% - 40px); --band: 41px; }
  .topbar { min-height: 61px; }
  .top-contact { min-height: 36px; }
  .hero { display: block; min-height: 0; }
  .intro { position: relative; inset: auto; width: var(--page); margin: 26px auto 0; }
  h1 { font-size: clamp(4.5rem, 23.3vw, 7rem); margin: 0 0 13px -3px; }
  .role { margin-bottom: 21px; }
  .social { min-width: 0; min-height: 44px; padding-inline: clamp(9px, 3.1vw, 16px); }
  .socials { gap: 10px; }
  .portrait {
    position: relative;
    display: block;
    height: auto;
    width: min(calc(100% - 5px), 445px);
    max-width: none;
    margin: clamp(34px, 14vw, 67px) 0 0 auto;
  }
  .band {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--band));
    background: rgb(255 206 85 / .88);
  }
  .band-list {
    width: calc(100% - 32px);
    margin: 0 auto;
    gap: 3px;
    font-size: clamp(.52rem, 2.35vw, .75rem);
    text-align: center;
  }
  .contact .wrap { min-height: 133px; padding-block: 19px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 13px; }
  h2 { font-size: 1.875rem; }
  .email { min-height: 36px; }
}
