/* Reset */

body {
  margin: 0;
}

blockquote,
pre,
ol,
ul,
figure {
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}

li {
  list-style: none;
}

article,
aside,
figure,
footer,
header,
aside,
main,
nav {
  display: block;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

iframe {
  border: none;
}

/* Typography */

:root {
  --fluid-min-screen: 20;
  --fluid-max-screen: 60;
  --fluid-viewport: 100vw;
  --fluid-bp: (
    (var(--fluid-viewport) - calc(var(--fluid-min-screen) * 1rem)) / (var(
            --fluid-max-screen
          ) - var(--fluid-min-screen))
  );
}


@media screen and (min-width: 50em) {
  :root {
    --fluid-viewport: calc(var(--fluid-max-screen) * 1rem);
  }
}

@font-face {
  font-family: 'Gilroy';
  src: url('./gilroy-bold-webfont.woff2') format('woff2'),
    url('./gilroy-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Gilroy';
  src: url('./gilroy-black-webfont.woff2') format('woff2'),
    url('./gilroy-black-webfont.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: fallback;
}

html {
  background: #ecedef;
  color: #000;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font: 400 calc(1rem + (1.3 - 1) * var(--fluid-bp)) / 1.6 'Gilroy', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue',
    sans-serif;
}

h1,
ul,
p,
li {
  margin: 0;
}

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  max-width: 1025px;
  padding: calc(2rem + (4 - 2) * var(--fluid-bp)) calc(1rem + (4 - 1) * var(--fluid-bp));

  display: grid;
  grid-template-columns: 100%;
  grid-gap: 1rem;
}

.lede {
  font-size: 1.125em;
}

.logo {
  margin-top: 2rem;
  float: right;
  display: inline-block;
}

h1 {
  font-size: 15vw;
  line-height: 1.1;
  font-weight: 900;
}

li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.2;
}

li:before {
  content: '... ';
  position: absolute;
  left: 0;
  top: 0;
}

li + li {
  margin-top: 0.45em;
}

.break:before {
  content: '';
}

@media (min-width: 40em) {
  h1 {
    font-size: 18vw;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: right;
    line-height: 0.8;
  }

  .lede {
    grid-column: span 2;
  }

  main {
    grid-template-columns: 2fr 8fr;
  }
}

@media (min-width: 50em) {
  main {
    grid-template-columns: 20vw 1fr;
    grid-gap: 3rem 1rem;
  }
}

@media (min-width: 60em) {
  h1 {
    font-size: 9.9rem;
  }

  main {
    grid-template-columns: 12rem 1fr;
  }
}