@font-face {
  font-family: "Climate Crisis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/climate-crisis-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Climate Crisis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/climate-crisis-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Dela Gothic One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dela-gothic-one-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Dela Gothic One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dela-gothic-one-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --background: #f6efe4;
  --ink: #26213b;
  --accent: #c4b5fd;
  /* Switch to "Climate Crisis" to try the alternative display font. */
  --display-font: "Dela Gothic One";
  background: var(--background);
  color: var(--ink);
  font-family: var(--display-font), Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

::selection {
  background: var(--ink);
  color: var(--background);
}

.poster {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 6vw, 7rem);
}

.statement {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  font-weight: 400;
}

.hello {
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.names {
  display: block;
  font-size: clamp(3rem, 12.5vw, 11rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.names > span {
  display: block;
}

.names > span + span {
  margin-top: 0.06em;
}

.story {
  display: block;
  max-width: 26ch;
  margin-top: clamp(2rem, 4vw, 3.75rem);
  font-size: clamp(1.25rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.neighborhood {
  display: table;
  margin-top: 0.4em;
  padding: 0.12em 0.2em 0.16em;
  background: var(--accent);
  font-size: clamp(1.5rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transform: rotate(-2deg);
  transform-origin: left center;
}

@media (max-width: 30rem) {
  .poster {
    padding-block: 3rem;
  }

  .names {
    font-size: 14vw;
  }

  .story {
    max-width: 22ch;
  }

  .neighborhood {
    font-size: 6.6vw;
  }
}

@media (forced-colors: active) {
  .neighborhood {
    border: 2px solid CanvasText;
  }
}
