.vertical {
    display: flex;
    max-width: calc(800px + 2 * (52.8px + 1.5rem));
    padding: 80px 0 0;
    margin: auto;

    h2 {
        writing-mode: vertical-lr;
        text-orientation: upright;
        margin-right: 1.5rem;
        position: sticky;
        align-self: start;
        top: 0;
        padding-top: 2rem!important;
        margin-top: -2rem!important
    }

    .tiles {max-width: 800px}
}
.vertical:first-of-type {padding-top: 0}
.vertical h2:first-of-type {padding-top: 0}

.underline {
    h3 {
        display: block;
        margin: 0;
        position: relative;
        width: max-content;
        transition: color 0.3s ease
    }
    @media only screen and (max-width: 400px) {h3 {width: auto}}
      
    h3::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    p {
        color: var(--subtitle)!important;
        margin: 5px 0 0
    }
}
.underline:hover h3 {color: var(--accent)}
.underline:hover h3::after,
.underline:focus-visible h3::after {
    transform: scaleX(1);
    transform-origin: left;
}

.tiles * {text-decoration: none!important}
.writing .tiles {max-width: 800px; margin: auto}

.tile {
    display: block;
    padding-top: 2rem
}
.tile:first-of-type {padding: 0}

.embeds {max-width: 800px; width: 100%}