* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
    color: #1a3c52;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background-color: #c5d9ea;
    background-image: url("background.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    background-attachment: fixed;
}

.sheet {
    max-width: 720px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 5rem;
}

.sheet.is-wide {
    max-width: 980px;
}

.kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    color: #5d7f96;
}

.mast h1 {
    margin: 0.85rem 0 0;
    font-size: 2.35rem;
    font-weight: 300;
    line-height: 1.15;
    color: #16384c;
}

.slogan {
    margin: 1.5rem 0 0;
    max-width: 34rem;
    font-size: 0.78rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.85;
    color: #2f5870;
}

.back {
    margin: 0 0 2.5rem;
}

.back a,
.filters a,
.pieces a {
    color: #1a3c52;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.back a {
    font-size: 0.68rem;
    font-weight: 500;
    color: #5d7f96;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.4rem;
    margin-top: 2.6rem;
    font-size: 0.78rem;
    font-weight: 500;
}

.filters a.is-active {
    border-bottom-color: #1a3c52;
}

.tiles {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1rem;
    margin: 3rem 0 0;
    padding: 0;
}

.tile-frame {
    position: relative;
}

.tile-photo {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
}

.tile-slide {
    position: absolute;
    inset: 0;
    margin: 0;
}

.tile-slide img,
.tile-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: blur(2px) saturate(0.8);
    transform: scale(1.06);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.tile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(214, 228, 238, 0.42);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.tile:hover .tile-slide img,
.tile:hover .tile-slide video,
.tile:focus-within .tile-slide img,
.tile:focus-within .tile-slide video {
    filter: none;
    transform: none;
}

.tile:hover .tile-photo::after,
.tile:focus-within .tile-photo::after {
    opacity: 0;
}

.tile-prev,
.tile-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.78);
    color: #16384c;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.tile-prev { left: 0.7rem; }
.tile-next { right: 0.7rem; }

.tile-prev::before,
.tile-next::before {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 2.4rem;
}

.tile-prev::before { content: "‹"; }
.tile-next::before { content: "›"; }

.tile-copy {
    display: block;
    margin-top: 0.9rem;
    color: inherit;
    text-decoration: none;
}

.tile-caption:empty {
    display: none;
}

.tile-caption {
    margin: 0 0 0.45rem;
    color: #2f5870;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1.6;
}

.tiles h2 {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.5;
    color: #16384c;
}

.imprint {
    margin: 4.5rem 0 0;
    max-width: 34rem;
    color: #5d7f96;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1.85;
}

.meta {
    margin: 0.7rem 0 0;
    color: #5d7f96;
    font-size: 0.68rem;
    font-weight: 400;
}

.lead,
.tag-line,
.description,
figcaption {
    font-weight: 400;
    color: #2f5870;
}

.lead {
    margin: 0.9rem 0 0;
    max-width: 36rem;
    font-size: 0.78rem;
    line-height: 1.85;
}

.tag-line {
    margin: 1.5rem 0 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: #5d7f96;
}

.description {
    margin-top: 1.75rem;
    max-width: 38rem;
    font-size: 0.78rem;
    line-height: 1.9;
    white-space: pre-line;
}

.media {
    margin-top: 2.75rem;
}

.media figure {
    margin: 0 0 2rem;
}

.media img,
.media video {
    display: block;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.45);
}

figcaption {
    margin-top: 0.7rem;
    font-size: 0.68rem;
    color: #5d7f96;
}

@media (max-width: 720px) {
    .sheet {
        padding-top: 2.5rem;
    }

    .tiles {
        grid-template-columns: 1fr;
    }

    .mast h1 {
        font-size: 1.7rem;
    }
}
