:root {
  --bg: #fff8df;
  --paper: #ffffff;
  --text: #3b3128;
  --muted: #756a60;
  --line: #3b3128;
  --accent: #ff8a4c;
  --accent-dark: #d9572a;
  --mint: #87d9bd;
  --sky: #8fc9ff;
  --pink: #ffb6c8;
  --yellow: #ffe47a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Comic Sans MS", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.65;
  background-image:
    radial-gradient(circle at 18px 18px, rgba(255, 138, 76, .16) 0 3px, transparent 4px),
    radial-gradient(circle at 58px 46px, rgba(135, 217, 189, .16) 0 4px, transparent 5px);
  background-size: 92px 82px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 3px solid var(--line);
  background: rgba(255, 250, 232, .96);
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 28px;
}

.brand {
  min-width: 220px;
}

.brand strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  border: 2px solid var(--line);
  border-radius: 999px 18px 999px 18px;
  padding: 8px 13px;
  background: #fffdf4;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 4px 0 rgba(59, 49, 40, .18);
  transform: rotate(-1deg);
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--yellow);
  color: var(--accent-dark);
  transform: rotate(1deg) translateY(-1px);
}

.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 28px 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 30px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  right: 440px;
  top: 10px;
  width: 72px;
  height: 38px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--mint);
  transform: rotate(-8deg);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 6px;
  width: 64px;
  height: 64px;
  border: 3px solid var(--line);
  border-radius: 52% 48% 46% 54%;
  background: var(--pink);
  transform: rotate(12deg);
  z-index: -1;
}

.hero-text {
  padding: 24px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 #ffe47a;
}

.lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.photo-slot {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line);
  border-radius: 26px 18px 30px 20px;
  background: #fffdf4;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  box-shadow: 8px 10px 0 rgba(59, 49, 40, .16);
  transform: rotate(1.2deg);
}

.photo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 22px 14px 26px 16px;
}

.content-shell {
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 22px 16px 24px 18px;
  background: var(--paper);
  box-shadow: 8px 10px 0 rgba(59, 49, 40, .14);
}

.content-head {
  border-bottom: 3px solid var(--line);
  padding: 18px 22px;
  background:
    linear-gradient(90deg, rgba(255, 228, 122, .72), rgba(143, 201, 255, .45));
}

.content-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.content-frame {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: var(--paper);
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 3px dashed rgba(59, 49, 40, .42);
  padding: 20px 28px 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-line {
  margin: 4px 0;
}

@media (max-width: 820px) {
  .site-bar,
  .hero {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  h1 {
    font-size: 32px;
  }

  .photo-slot {
    min-height: 190px;
  }

  .photo-slot img {
    min-height: 190px;
  }

  .content-frame {
    height: 780px;
  }
}
