
        @font-face {
            font-display: swap;
            font-family: 'Asap';
            font-style: normal;
            font-weight: 400;
            src: url('../fonts/asap-v26-latin-regular.woff2') format('woff2'),
                url('../fonts/asap-v26-latin-regular.ttf') format('truetype');
        }
    
        @font-face {
            font-display: swap;
            font-family: 'Asap';
            font-style: bold;
            font-weight: 700;
            src: url('../fonts/asap-v26-latin-700.woff2') format('woff2'),
                url('../fonts/asap-v26-latin-700.ttf') format('truetype');
        }
    
        @font-face {
            font-display: swap;
            font-family: 'Aleo';
            font-style: normal;
            font-weight: 300;
            src: url('../fonts/aleo-v11-latin-300.woff2') format('woff2'),
                url('../fonts/aleo-v11-latin-300.ttf') format('truetype');
        }
    
        @font-face {
            font-display: swap;
            font-family: 'Aleo';
            font-style: normal;
            font-weight: 400;
            src: url('../fonts/aleo-v11-latin-regular.woff2') format('woff2'),
                url('../fonts/aleo-v11-latin-regular.ttf') format('truetype');
        }
    
        @font-face {
            font-display: swap;
            font-family: 'Calistoga';
            font-style: normal;
            font-weight: 400;
            src: url('../fonts/calistoga-v13-latin-regular.woff2') format('woff2'),
                url('../fonts/calistoga-v13-latin-regular.ttf') format('truetype');
        }
    

:root {
    --body-font-size: 16px;
    --gutter-spacing: 15px;
    --corner-rounding: 4px;
    --body-font-stack: 'Asap', sans-serif;
    --display-font-stack: 'Aleo', sans-serif;
    --heading-font-stack: 'Calistoga', serif;
    --color-primary: hsl(196, 27%, 52%);
    --color-primary--shade: hsl(196, 27%, 36%);
    --color-primary--deep: hsl(196, 55%, 28%);
    --color-primary--fade: hsl(196, 10%, 62%);
    --color-accent: hsl(183, 72%, 48%);
    --color-body-bg: hsl(0, 0%, 100%);
    --color-body-font: hsl(0, 0%, 13%);
    --color-body-font-faded: hsl(0, 0%, 37%);
    --color-overlay-bg: hsla(0, 0%, 100%, .9);
    --color-fixed-form-bg: hsla(196, 18%, 42%, .7);
    --line-height: 1.4;
    --text-xxs: 0.67rem;
    --text-xs: 0.835rem;
    --text-s: 0.918rem;
    --text-l: 1.082rem;
    --text-xl: 1.165rem;
    --text-xxl: 1.33rem;
    --text-xxxl: 1.66rem;
    --text-xxxxl: 2rem;
    --button-rounding: 1em;
}
@media screen and (min-width: 420px) {
    :root {
        --body-font-size: 18px;
    }
}
@media screen and (min-width: 1366px) {
    :root {
        --gutter-spacing: 20px;
    }
}
@media screen and (min-width: 1920px) {
    :root {
        --gutter-spacing: 40px;
    }
}

html {
    scroll-behavior: smooth;
    font: var(--body-font-size) / var(--line-height) var(--body-font-stack);
    color: var(--color-body-font);
}
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
}
a {
    outline: 0;
}
a:link,
a:visited {
    color: var(--color-primary);
}
a:hover,
a:active {
    color: var(--color-accent);
}
.noDecoration {
    text-decoration: none;
}
img {
    border: medium none;
}
h1,
h2 {
    font-weight: normal;
    color: var(--color-primary--shade);
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: .6em 0;
}
h1 {
    font-size: var(--text-xxxl);
    color: var(--color-primary--shade);
    font-family: var(--display-font-stack);
}
h2 {
    font-size: var(--text-xxl);
    color: var(--color-primary--shade);
    font-family: var(--heading-font-stack);
}
h3 {
    font-size: var(--text-xl);
    color: var(--color-primary--shade);
}
h4 {
    font-size: var(--text-l);
}
hr {
    margin: 3rem auto 1.5rem;
    border: 1px solid var(--color-primary--fade);
    opacity: .5;

}


.button {
    font-weight: normal;
    text-decoration: none;
    padding: .66em 1.32em;
    line-height: 1.4;
    border-radius: calc(var(--line-height) * var(--button-rounding));
    cursor: pointer;
    border: 0 none;
    display: inline-block;
    text-align: center;
    transition: background 100ms;
    box-sizing: border-box;
}
.button:disabled,
.button--disabled {
    cursor: not-allowed;
    opacity: .6;
    box-shadow: none;
}
.button--ghost {
    background: white;
    box-shadow: 0 .1em .3em -.15em var(--color-body-font-faded);
    color: var(--color-primary);
}
.button--primary {
    background: var(--color-primary);
    box-shadow: 0 .1em .3em -.15em var(--color-body-font);
    color: var(--color-body-bg) !important;
}
.button--primary:hover {
    background: var(--color-accent);
}
.button--fancy {
    background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-primary--shade) 100%);
    color: var(--color-body-bg) !important;
}
.button--fancy:hover {
    background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent) 100%);
}
.button--secondary {
    background: var(--color-primary--fade);
    box-shadow: 0 .1em .3em -.15em var(--color-body-font);
    color: var(--color-body-bg) !important;
}
.button--secondary:hover {
    background: var(--color-primary);
}


.main {
    background: var(--color-body-bg);
}


.content-section {
    padding: 3em var(--gutter-spacing);
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}
@media screen and (min-width: 420px) {
    .content-section--readable {
        max-width: 50rem;
        padding-left: calc(var(--gutter-spacing) * 2);
        padding-right: calc(var(--gutter-spacing) * 2);
    }
}
.content-section--pad-l {
    padding-top: 6em;
    padding-bottom: 6em;
}
.content-section--centred {
    text-align: center;
}


.nag {
    background: var(--color-primary--shade);
}
.nag__button {
    font-size: var(--text-xxl);
}


.footer {
    background: var(--color-primary--fade);
    text-align: center;
}
.footer p {
    color: var(--color-body-bg);
    font-size: var(--text-xxs);
    opacity: .6;
}

@media screen and (max-width: 420px) {
    .hide-to-375 {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    .hide-to-768 {
        display: none !important;
    }
}
@media screen and (min-width: 769px) {
    .hide-above-768 {
        display: none !important;
    }
}



body {
    display: flex;
    flex-direction: column;
}
.main {
    flex: 1;
}


.masthead {
    background-color: var(--color-primary--deep);
    padding: var(--gutter-spacing);
    box-sizing: border-box;
    color: var(--color-body-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.masthead__logo {
    display: block;
    height: auto;
    width: 100%;
    max-height: 5rem;
    max-width: 16rem;
    margin: 2rem auto 0;
}
.masthead h1,
.masthead p {
    color: inherit;
}
.masthead p {
    font-size: var(--text-xxl);
}
.masthead h1 {
    font-size: 2.6rem;
    font-family: var(--display-font-stack);
    font-weight: 300;
    line-height: 1.1;
    margin: 0 auto .4em;
    letter-spacing: -.025em;
}
.masthead a {
    color: inherit;
}
@media screen and (min-width: 769px) {
    .masthead__logo {
        max-height: 7rem;
        max-width: 24rem;
    }
}
@media screen and (max-width: 375px) {
    .masthead h1 {
        font-size: 9.4vw;
        font-weight: 400;
    }
}
@media screen and (max-width: 420px) {
    .masthead h1 {
        width: auto;
    }
}


.media-card {
    margin: 2rem auto;
    position: relative;
}
.media-card__media {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 26rem;
}
.media-card__body {
    text-align: center;
}
@media screen and (min-width: 769px) {
    .media-card {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        max-width: 50rem;
        margin: 0 auto;
        flex: 1;
    }
    .media-card__body {
        text-align: left;
        padding: 0 2rem;
    }
}


.link-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    justify-content: center;
    max-width: 66rem;
}
.link-list li {
    text-align: center;
}
.link-list li a {
    display: inline-block;
    padding: .6em 1em;
    color: var(--color-primary);
    font-weight: 700;
}


.crumb {
    list-style: none;
    margin: 0;
    padding: 0;
}
.crumb li {
    display: inline-block;
}
.crumb li:not(:first-child):before {
    content: ' / ';
}


.postlist {
    padding: 0;
    list-style: none;
}
.postlist__item {
    margin-bottom: 5rem;
    position: relative;
}
.postlist__item + .postlist__item:before {
    content: "\00b7\00b7\00b7\00b7\00b7";
    color: var(--color-body-font-faded);
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translate(-50%, -50%);
}


.post {
    position: relative;
}
.post img {
    width: 100%;
    object-fit: cover;
    height: auto;
    max-height: 20rem;
    border-radius: 0.25rem;
    display: block;
}
.post li {
    font-size: var(--text-xl);
}
.post li::marker {
    color: var(--color-accent);
}
.post blockquote {
    border-left: .5rem solid var(--color-accent);
    padding-left: 1em;
    margin: 1.5em 0 1.5em 1rem;
}
.post pre {
    font-size: var(--text-s);
    background: var(--color-primary--fade);
    color: var(--color-body-bg);
    padding: 1em;
    border-radius: var(--corner-rounding);
    display: inline-block;
    clear: right;
    max-width: 100%;
    box-sizing: border-box;
    overflow: auto;
}
.post code:not(pre code) {
    color: var(--color-body-font-faded);
}
.post--single img {
    margin: 2rem auto;
}
.post--single h1 {
    font-size: var(--text-xxxxl);
}
.post--single .post__featured-img {
    width: 100%;
    max-height: 28rem;
    margin: 2rem 0;
    border-radius: 0;
    width: calc(100% + (var(--gutter-spacing) * 2));
    position: relative;
    left: calc(var(--gutter-spacing) * -1);
}
@media screen and (min-width: 420px) {
    .post--single .post__featured-img {
       width: calc(100% + (var(--gutter-spacing) * 4));
       left: calc(var(--gutter-spacing) * -2);
    }
}
.post--preview figure {
    margin: 0;
}
.post--preview .post__featured-img {
    max-height: 16rem;
    object-position: center 30%;
}
a.post--preview__link {
    margin-top: 1em;
    font-size: var(--text-l);
}
@media screen and (min-width: 769px) {
    .post--single img:not(.post__featured-img) {
        max-width: 80%;
    }
    .post--preview {
        display: flex;
        gap: 3rem;
    }
    .post--preview main {
        flex: 1;
    }
    .post--preview h1 {
        margin-top: 0;
    }
    .post--preview figure {
        max-width: 28%;
    }
    .post--preview[data-even] figure {
        order: 1;
    }
}


.posts-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 2rem;
    font-size: var(--text-xl);
    position: relative;
}
.posts-nav > * {
    margin-top: .2em;
    margin-bottom: .2em;
}
.posts-nav i {
    font-style: normal;
}
.posts-nav__count {
    font-size: var(--text-s);
}
@media screen and (min-width: 769px) {
    .posts-nav .button {
        min-width: 6em;
    }
}



