:root {
    --paper: #fff6df;
    --ink: #29221e;
    --red: #ce2a30;
    --teal: #116b65;
    --line: #d8c5a1;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus-visible {
    outline: 3px solid #167a71;
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
}
figure, h1, h2, h3 {
    margin: 0;
}
.wrap {
    width: min(1180px, 92%);
    margin-inline: auto;
}
.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 10;
    background: white;
    padding: 8px;
}
.skip:focus {
    top: 8px;
}
.mast {
    background: #fffdf5;
    border-bottom: 3px solid var(--ink);
}
.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--red);
}
.brand small {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ink);
    margin-top: 6px;
}
.edition {
    font-weight: 700;
    border: 1px solid var(--line);
    padding: 5px 16px;
    transform: rotate(-2deg);
}
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}
.nav a {
    font-weight: 650;
    padding: 3px 0;
}
.nav a[aria-current] {
    color: var(--red);
    border-bottom: 3px solid var(--red);
}
.cover {
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    background: var(--red);
    color: white;
    border: 2px solid var(--ink);
    box-shadow: 7px 7px 0 var(--ink);
}
.cover-copy {
    padding: clamp(24px, 4vw, 54px);
    align-self: center;
}
.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
}
h1 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.25;
    margin-top: 14px;
}
.cover-copy p {
    font-size: 15px;
    line-height: 1.9;
}
.cta {
    display: inline-block;
    background: #ffd65e;
    color: var(--ink);
    padding: 10px 18px;
    border: 2px solid var(--ink);
    font-weight: 800;
    box-shadow: 3px 3px 0 var(--ink);
}
.cover-photo {
    position: relative;
    min-width: 0;
}
.cover-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}
.cover-photo figcaption {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--ink);
    color: white;
    padding: 3px 10px;
    font-size: 12px;
}
.ticker {
    margin: 28px 0 45px;
    border-block: 2px solid var(--ink);
    padding: 12px;
    display: flex;
    justify-content: space-around;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 800;
    color: var(--teal);
}
.ticker span {
    color: var(--red);
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
h2 {
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.35;
}
.section-head span {
    font-size: 12px;
    letter-spacing: 2px;
}
.editorial {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}
.feature {
    grid-column: span 4;
    border: 2px solid var(--ink);
    background: #fffdf5;
    min-width: 0;
}
.feature-1 {
    grid-column: span 7;
    background: #fbd465;
}
.feature-2 {
    grid-column: span 5;
    background: #c9e8dc;
}
.feature-6 {
    grid-column: span 12;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: #f8c5b8;
}
.photo {
    display: block;
    overflow: hidden;
}
.photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.feature-1 .photo img, .feature-2 .photo img {
    aspect-ratio: 16/7;
}
.feature-6 .photo img {
    height: 100%;
    aspect-ratio: 16/9;
}
.feature-copy {
    padding: 20px;
}
.tag {
    font-size: 12px;
    font-weight: 800;
    color: #8c2525;
}
h3 {
    font-size: 23px;
    line-height: 1.4;
    margin-top: 8px;
}
.feature-copy p {
    margin: 10px 0;
}
.read {
    color: var(--teal);
    font-weight: 800;
}
.workshop {
    margin: 48px 0;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    background: var(--teal);
    color: white;
    padding: 32px;
    border: 2px solid var(--ink);
}
.workshop p {
    margin-top: 0;
}
.workshop a {
    text-decoration: underline;
}
.article {
    margin-top: 28px;
}
.crumb {
    font-size: 14px;
}
.article-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    background: #fbd465;
    padding: 24px;
    border: 2px solid var(--ink);
}
.article-top img {
    width: 100%;
    height: auto;
}
.prose {
    max-width: 820px;
    margin: 36px auto;
}
.prose section {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.prose p {
    font-size: 18px;
}
.related {
    margin: 32px 0;
    border-top: 2px solid var(--ink);
    padding-top: 20px;
}
.related a {
    display: inline-block;
    margin: 12px 16px 0 0;
    color: var(--teal);
    font-weight: 700;
}
footer {
    background: var(--ink);
    color: var(--paper);
    margin-top: 40px;
}
.foot {
    padding: 28px 0;
}
.foot p {
    font-size: 14px;
}
@media (max-width: 800px) {
    .cover, .article-top, .workshop, .feature-6 {
        grid-template-columns: 1fr;
    }
    .cover-photo img {
        min-height: 0;
        height: auto;
        aspect-ratio: 4/3;
    }
    .feature, .feature-1, .feature-2 {
        grid-column: span 6;
    }
    .feature-6 {
        grid-column: span 12;
    }
    .edition {
        display: none;
    }
}
@media (max-width: 520px) {
    .feature, .feature-1, .feature-2, .feature-6 {
        grid-column: span 12;
    }
    .nav {
        gap: 6px 14px;
        font-size: 14px;
    }
    .brand {
        font-size: 26px;
    }
    .cover {
        box-shadow: 4px 4px 0 var(--ink);
    }
    .cover-copy, .workshop, .article-top {
        padding: 20px;
    }
    .feature .photo img {
        aspect-ratio: 16/9;
    }
}
/* Responsive layout corrections */
.cover-copy, .article-top > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
.cover-copy p {
    max-width: 42em;
}
.brand img {
    flex-shrink: 0;
}
@media (min-width: 521px) and (max-width: 800px) {
    .feature-5 {
        grid-column: span 12;
    }
}
@media (max-width: 800px) {
    .feature-6 .photo img {
        height: auto;
    }
}
