:root {
  --paper: #fff7da;
  --ink: #17130d;
  --rust: #b73d17;
  --rust-dark: #7c260b;
  --rust-hover: #a53210;
  --rust-press: #611b07;
  --muted: #8c887d;
  --rule: rgba(132, 36, 13, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Crimson Text", Georgia, "Times New Roman", Times, serif;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.scroll-top {
  position: fixed;
  top: clamp(14px, 2.2vw, 30px);
  right: clamp(14px, 2.2vw, 30px);
  z-index: 30;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(132, 36, 13, 0.42);
  border-radius: 999px;
  background: rgba(255, 247, 218, 0.86);
  color: var(--rust-dark);
  box-shadow: 0 10px 24px rgba(55, 25, 6, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #fffaf0;
  color: var(--rust);
}

.scroll-top i,
.social-link i {
  font-size: 22px;
  line-height: 1;
}

.hero {
  min-height: clamp(740px, 56vw, 870px);
  display: grid;
  place-items: start center;
  padding: clamp(22px, 3.2vw, 54px) 24px 0;
}

.hero-frame {
  width: min(704px, 78vw);
  height: min(560px, 62.1vw);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: rotate(3deg);
  transform-origin: 52% 50%;
  transition: transform 420ms cubic-bezier(.2,.75,.15,1), filter 240ms ease;
}

.hero-frame img {
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 16px 7px rgba(48, 30, 10, 0.16));
  user-select: none;
}

.hero-frame.is-paused {
  transform: rotate(10deg);
}

.hero-frame:focus-visible,
.scroll-top:focus-visible,
.email-button:focus-visible,
.social-link:focus-visible {
  outline: 3px solid rgba(188, 61, 25, 0.45);
  outline-offset: 5px;
}

.copy-section,
.note-section {
  position: relative;
}

.copy-section {
  min-height: 1470px;
  padding: 8px 22px 0;
}

.copy-block,
.note-block {
  width: min(700px, calc(100vw - 48px));
  margin: 0 auto;
}

.copy-block .tagline {
  margin: 0 0 78px;
  color: var(--rust);
  font-family: "Amiri", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(42px, 4.45vw, 64px);
  line-height: 1;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.06em;
}

.copy-block .tagline strong {
  display: block;
  font-weight: 700;
}

@media (min-width: 1120px) {
  .copy-block .tagline {
    width: min(1120px, calc(100vw - 72px));
    margin-left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .copy-block .tagline strong {
    display: inline;
  }
}

.copy-block p {
  margin: 0 0 43px;
  font-size: clamp(28px, 2.78vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.email-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(430px, 100%);
  min-height: 78px;
  margin: 66px auto 0;
  padding: 14px 24px;
  background: var(--rust-dark);
  color: #fff4de;
  text-decoration: none;
  text-align: center;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.email-button span {
  position: absolute;
  right: 32px;
}

.email-button:hover {
  background: var(--rust-hover);
  box-shadow: 0 14px 28px rgba(124, 38, 11, 0.18);
  transform: translateY(-2px);
}

.email-button:active {
  background: var(--rust-press);
  transform: translateY(0);
}

.pin-stage {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  overflow-x: clip;
}

.milk-stage {
  top: 126px;
  height: 1050px;
}

.board-stage {
  top: -270px;
  height: 610px;
}

.pinned-art {
  position: sticky;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, transform 380ms cubic-bezier(.2,.75,.15,1), visibility 0s linear 240ms;
}

.pinned-art.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.milk-can {
  top: 34vh;
  width: clamp(138px, 16vw, 224px);
  margin-left: max(-70px, calc((100vw - 1220px) / 2 - 64px));
  transform: translateX(-58px) rotate(-15deg);
}

.milk-can.is-active {
  transform: translateX(0) rotate(-15deg);
}

.note-section {
  min-height: 390px;
  padding: 72px 22px 0;
}

.note-block {
  text-align: center;
}

.note-block p {
  margin: 0 auto 26px;
  max-width: 548px;
  font-size: clamp(16px, 1.58vw, 20px);
  line-height: 1.16;
}

.note-block .status {
  margin-bottom: 28px;
  font-weight: 700;
}

.yellow-board {
  top: 58vh;
  width: clamp(170px, 21vw, 290px);
  margin-left: auto;
  margin-right: max(-28px, calc((100vw - 1280px) / 2));
  transform: translateX(48px) rotate(-14deg);
}

.yellow-board.is-active {
  transform: translateX(0) rotate(-14deg);
}

.site-footer {
  display: grid;
  justify-items: center;
  padding: clamp(70px, 9vw, 112px) 24px 72px;
  text-align: center;
}

.footer-logo {
  width: min(320px, 54vw);
  margin-bottom: 42px;
}

.site-footer p {
  margin: 0 0 24px;
  font-size: clamp(18px, 2.15vw, 24px);
}

.site-footer address {
  margin: 0 0 28px;
  color: var(--muted);
  font-style: normal;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.25;
}

.site-footer address span {
  display: block;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 48px;
  color: var(--rust-dark);
  font-size: 18px;
  text-decoration: none;
}

.social-link:hover {
  color: var(--rust);
}

.site-footer small {
  color: var(--muted);
  font-size: 12px;
}

.site-footer small a {
  color: inherit;
  text-decoration-color: rgba(140, 136, 125, 0.45);
  text-underline-offset: 3px;
}

.site-footer small a:hover {
  color: var(--rust-dark);
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .hero {
    min-height: clamp(520px, 84vw, 680px);
    padding-top: clamp(42px, 8vw, 72px);
    padding-bottom: clamp(24px, 4vw, 48px);
  }

  .hero-frame {
    width: min(640px, 90vw);
    height: min(510px, 71.5vw);
  }

  .copy-section {
    min-height: auto;
    padding-bottom: 0;
  }

  .copy-block .tagline {
    margin-bottom: 52px;
    font-size: clamp(40px, 8vw, 58px);
  }

  .copy-block p {
    font-size: clamp(27px, 5vw, 36px);
    margin-bottom: 34px;
    line-height: 1.12;
  }

  .milk-stage,
  .board-stage {
    display: none;
  }

  .email-button {
    width: min(390px, 100%);
    min-height: 72px;
    margin-top: 56px;
    font-size: clamp(23px, 4vw, 29px);
  }

  .note-section {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 36px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: clamp(268px, 74vw, 340px);
    padding: 30px 16px 38px;
  }

  .hero-frame {
    margin-top: -22px;
  }

  .copy-block,
  .note-block {
    width: min(100%, 360px);
  }

  .copy-section {
    padding-inline: 18px;
    padding-top: 18px;
  }

  .copy-block .tagline {
    text-align: left;
    font-size: clamp(36px, 11.2vw, 46px);
    letter-spacing: -0.055em;
  }

  .copy-block p {
    font-size: clamp(25px, 7.5vw, 31px);
    line-height: 1.12;
  }

  .email-button {
    min-height: 64px;
    padding-inline: 20px;
    font-size: clamp(22px, 6.2vw, 27px);
  }

  .email-button span {
    right: 20px;
  }

  .footer-logo {
    width: min(260px, 66vw);
  }

  .site-footer {
    padding-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
