:root {
  color-scheme: light;
  --brand-pink: #d9006c;
  --accent-orange: #f35b21;
  --ink: #252321;
  --paper: #ffffff;
  --page-gutter: clamp(24px, 7vw, 104px);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

.masthead {
  height: 240px;
  background-color: #fffafd;
  background-image:
    linear-gradient(rgb(255 255 255 / 72%), rgb(255 255 255 / 72%)),
    url("assets/pink-plaid.png");
  background-repeat: repeat;
  background-size: 238px auto;
}

.masthead__inner {
  position: relative;
  height: 100%;
  margin-inline: var(--page-gutter);
}

.mark {
  position: absolute;
  z-index: 1;
  top: 150px;
  left: 0;
  display: block;
  width: clamp(180px, 17vw, 228px);
  height: auto;
  opacity: 0;
  animation: reveal 450ms ease-out 80ms forwards;
}

h1 {
  position: absolute;
  top: 48px;
  right: 0;
  margin: 0;
  color: var(--brand-pink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.65vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  animation: reveal 450ms ease-out 140ms forwards;
}

main {
  position: relative;
  min-height: calc(100svh - 240px);
  padding: 0 var(--page-gutter) 54px;
}

.statement {
  position: absolute;
  bottom: clamp(70px, 13vh, 148px);
  left: var(--page-gutter);
  margin: 0;
  color: var(--brand-pink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.78rem, 1.05vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.45;
}

.statement__second {
  display: block;
  margin-top: 0.12em;
}

.dot {
  color: var(--accent-orange);
  font: inherit;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: clamp(18px, 6vw, 32px);
  }

  .masthead {
    height: 148px;
    background-size: 178px auto;
  }

  .mark {
    top: 88px;
    width: 152px;
  }

  h1 {
    top: 26px;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  main {
    min-height: calc(100svh - 148px);
    padding-bottom: 40px;
  }

  .statement {
    bottom: clamp(54px, 11vh, 96px);
    right: var(--page-gutter);
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  h1 {
    opacity: 1;
    animation: none;
  }
}
