* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-smooth: never;
    -moz-font-smooth: never;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Surt';
    src:    url('fonts/Surt-Regular.woff') format('woff')
}

html {
    min-height: 0vw;
    text-size-adjust: 100%;
}
@media screen and (min-width: 700px)  {
    html {
      font-size: calc(4px + .9vw);
    }
}
@media screen and (max-width: 699px)  {
    html {
      font-size: calc(4px + .75vw);
    }
}

@media screen and (max-width: 699px) {
    :root {
        --text-size: 3.5rem;
        --note-size: calc(var(--text-size) *  0.2337);
        --gap: 3rem;
    }
}

@media screen and (min-width: 700px) {
    :root {
        --text-size: 2.5rem;
        --gap: 2rem;
        --note-size: calc(var(--text-size) * 0.42857);
    }
}



:root {
    --blue: #489FDF;
}

body {
    font-family: 'Surt', monospace;
    font-size: var(--text-size);
    line-height: 1.071;
    margin: 0;
    padding: var(--gap);
    color: var(--blue);
    font-variant-numeric: tabular-nums; 
    text-transform: uppercase;
}

a {
    color: inherit;
}
a:hover {
    text-decoration: none;
}

.sr-only {
  border: 0;
  clip-path: polygon(0% 0%,0% 0%,0% 0%,0% 0%);
  height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}


h1 {
    margin: 0;
}

h1,
h2 {
    font-size: inherit;
    font-weight: normal;
}


.logo path {
    fill: var(--blue);
}

header hgroup {
    display: flex;
}

header a.no-underline {
    text-decoration: none;
}
header a.no-underline:hover {
    text-decoration: underline;
}

main.grid {
    display: flex;
    position: relative;
}

main.flow {
    text-transform: initial;
    font-size: var(--note-size);
    line-height: 1.5555;
}

main.flow h2 + p {
    margin-top: 0;
}
main.flow h2 {
    margin-bottom: 0;
}


nav {
    position: absolute;
    bottom: 0;
    right: 0;
}

nav a {
    position: absolute;
    right: 0;
    bottom: 0;
    writing-mode: sideways-lr;
    white-space: nowrap;
    text-decoration: none;
    font-size: var(--note-size);
    text-transform: initial;
}

nav a:hover {
    text-decoration: underline;
}

@media screen and (min-width: 700px) {

    body {
        display: flex;
        flex-direction: column;
        gap: var(--gap);
        min-height: 100dvh;
        justify-content: space-between;
    }

    header hgroup {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--gap);
    }
   
    main.grid {
        justify-content: space-between;
        flex-direction: row;
    }

    main.grid p:last-child {
        margin-bottom: 0;
    }
   
    
}

@media screen and (max-width: 699px) {
  
    header hgroup {
        flex-direction: column;
        gap: calc(var(--text-size) * 1.1);
    }
    

    main.grid {
        flex-direction: column;
    }

    main.grid .column:last-of-type p:last-child {
        margin-bottom: 0;
    }

}

