* {
 box-sizing:border-box;
}

body {
 margin:0;
 background:#faf8f2;
 color:#24382e;
 font:17px/1.65 system-ui,sans-serif;
}

main,header,footer {
 max-width:850px;
 margin:auto;
 padding:24px;
}

header {
 border-bottom:1px solid #d8ded4;
}

nav {
 display:flex;
 gap:18px;
 flex-wrap:wrap;
}

a {
 color:#305b43;
 text-underline-offset:4px;
}

h1 {
 font-size:clamp(30px,6vw,48px);
 line-height:1.15;
 margin:24px 0;
}

h2 {
 line-height:1.3;
}

.brand {
 font-weight:750;
 font-size:25px;
 text-decoration:none;
}

.tag {
 color:#596b60;
}

.grid {
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(245px,1fr));
 gap:16px;
 margin:30px 0;
}

.tile {
 display:block;
 background:white;
 border:1px solid #d8ded4;
 border-radius:12px;
 padding:22px;
 text-decoration:none;
 color:inherit;
}

.tile:hover {
 border-color:#305b43;
}

.tile h2 {
 margin:0 0 8px;
 font-size:22px;
}

.tile p {
 margin:0 0 12px;
}

.go {
 color:#305b43;
 text-decoration:underline;
}

footer {
 border-top:1px solid #d8ded4;
 font-size:14px;
 color:#596b60;
}

a:focus-visible {
 outline:3px solid #bd8a41;
}
  
.header-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}
.languages {
    white-space:nowrap;
    font-size:14px;
}
nav {
    margin-top:14px;
    gap:8px 18px;
}
nav a {
    padding:4px 0;
    text-decoration:none;
}
nav a[aria-current="page"] {
    font-weight:700;
    border-bottom:2px solid #305b43;
}
.languages [aria-current="true"] {
    font-weight:700;
    color:inherit;
}
article section {
    margin:32px 0;
}
.grid {
    grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));
}
@media (max-width:480px) {
    main, header, footer {
        padding:18px;
    }
}

/* Accordeonli makeover illustration */
.makeover {
    margin:24px 0;
    max-width:720px;
}
.makeover img {
    display:block;
    width:100%;
    height:auto;
    border-radius:12px;
}
.makeover figcaption {
    margin-top:8px;
    font-size:14px;
    color:#596b60;
}
.makeover-small {
    max-width:360px;
}

/* Musical publications */
.music-entry {
    margin:24px 0;
    padding:20px;
    background:white;
    border:1px solid #d8ded4;
    border-radius:12px;
}
.music-entry h2, .music-entry h3 {
    margin-top:0;
    line-height:1.3;
}
.music-entry ul {
    padding-left:22px;
    margin-bottom:0;
}

/* Responsive image fallback and licence information */
img {
    max-width:100%;
    height:auto;
}
.licence-note {
    margin:32px 0;
    padding-top:16px;
    border-top:1px solid #d8ded4;
    font-size:15px;
}
.checksum {
    overflow-wrap:anywhere;
}
