/* Clash Display — same source files as the prior Webflow site */
@font-face {
    font-family: "Clash Display";
    src: url("../fonts/ClashDisplay-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Clash Display";
    src: url("../fonts/ClashDisplay-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --sky: #4f6f9e;
    --rust: #bf451d;
}

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

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.body {
    position: relative;
    z-index: 2;
    color: var(--sky);
    background-color: #eff3f8;
    padding: 3vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

.section {
    padding: 3vw;
}

.section.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.page-border {
    position: fixed;
    z-index: 1;
    background-color: #fff;
    pointer-events: none;
}

.page-border.top {
    top: 0;
    left: 0;
    right: 0;
    height: 3vw;
}

.page-border.right {
    top: 0;
    right: 0;
    bottom: 0;
    width: 3vw;
}

.page-border.bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 3vw;
}

.page-border.left {
    top: 0;
    left: 0;
    bottom: 0;
    width: 3vw;
}

.content-body {
    max-width: 480px;
}

h1 {
    color: var(--sky);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-family: "Clash Display", sans-serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 90%;
}

p {
    margin-top: 0;
    margin-bottom: 0.75em;
    font-family: Karla, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--sky);
    background-color: rgba(80, 111, 158, 0.05);
    border-radius: 4px;
    padding-left: 0.1em;
    padding-right: 0.1em;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
}

a:hover {
    text-decoration: underline;
}

.big-link {
    border-radius: 8px;
    font-family: Alexandria, sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
}

/* Blog posts (_layouts/post.html) */
.post-header .post-meta {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-family: Karla, sans-serif;
    font-size: 0.95rem;
    opacity: 0.85;
}

.post-header h1 {
    margin-top: 0;
}

.post-body > :first-child {
    margin-top: 0;
}

@media screen and (max-width: 479px) {
    h1 {
        margin-bottom: 2rem;
        font-size: 5rem;
        line-height: 0.8;
    }

    .body {
        font-size: 14px;
    }

    .content-body {
        margin-left: 0;
    }

    .big-link {
        font-size: 1.2rem;
    }
}
