:root {
  color-scheme: light;
  --blue: #2444ec;
  --paper: #fff;
  --ink: #101010;
  --tape: #e2f16a;
  --muted: #d6ddff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--paper);
  background: var(--blue);
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

/* A single printed poster, not a stack of landing-page sections. */
.poster {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

.poster::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-bottom: 2px solid currentColor;
}

.wordmark {
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: -0.07em;
}

.masthead__note {
  font-size: 0.8125rem;
  font-weight: 500;
}

.session {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-block: clamp(3rem, 7vh, 6rem);
}

.session__type {
  position: relative;
  z-index: 1;
}

.pause-symbol {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.pause-symbol span {
  display: block;
  width: 0.65rem;
  height: 1.9rem;
  background: var(--paper);
  transform: skew(-8deg);
}

h1 {
  margin: 0 0 1.875rem -0.035em;
  font-family: Impact, Haettenschweiler, "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: clamp(5rem, 12.8vw, 13rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.session__description {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  line-height: 1.65;
}

.sticker {
  position: relative;
  justify-self: center;
  width: min(100%, 23rem);
  margin: 0 0 0 1rem;
  padding: 1.25rem 1.25rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(9deg);
  box-shadow: 4px 5px 0 rgb(0 0 0 / 18%), 14px 22px 28px rgb(6 13 65 / 24%);
}

.sticker__logo {
  display: block;
  width: 100%;
  height: auto;
}

.sticker__caption {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.sticker__tape {
  position: absolute;
  z-index: 1;
  top: -1rem;
  left: 27%;
  width: 47%;
  height: 2.5rem;
  background: var(--tape);
  opacity: 0.94;
  transform: rotate(-15deg);
  clip-path: polygon(2% 0, 98% 3%, 96% 15%, 100% 25%, 97% 38%, 100% 52%, 97% 67%, 99% 83%, 97% 100%, 0 96%, 3% 81%, 0 64%, 3% 45%, 0 28%);
}

.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 2px solid currentColor;
}

.colophon p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.colophon__apple {
  font-size: 2.25rem;
  line-height: 1;
}

@media (min-width: 1600px) {
  .poster {
    padding-inline: max(6rem, calc((100vw - 1600px) / 2));
  }
}

@media (max-width: 760px) {
  .masthead {
    padding-block: 1.25rem;
  }

  .wordmark {
    font-size: 1.25rem;
  }

  .masthead__note {
    max-width: 8rem;
    font-size: 0.6875rem;
    text-align: right;
  }

  .session {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-block: 2.5rem 3.5rem;
  }

  .pause-symbol {
    margin-bottom: 1.25rem;
  }

  .pause-symbol span {
    width: 0.5rem;
    height: 1.4rem;
  }

  h1 {
    font-size: clamp(4.5rem, 21vw, 9.5rem);
    margin-bottom: 1.5rem;
  }

  .sticker {
    width: min(68%, 16rem);
    margin-left: 0;
    padding: 0.875rem;
    transform: rotate(7deg);
  }

  .sticker__tape {
    height: 2rem;
    top: -0.75rem;
  }

  .colophon {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .colophon p {
    font-size: 0.6875rem;
  }

  .colophon__apple {
    display: none;
  }
}

@media (prefers-contrast: more) {
  .session__description {
    color: var(--paper);
  }
}
