* {
    box-sizing: border-box;
}
:root {
    --ink: #30222b;
    --paper: #fcf2e8;
    --accent: #934c63;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.85 system-ui, "Microsoft YaHei", sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus-visible {
    outline: 3px solid #a74e32;
    outline-offset: 4px;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 1rem;
    top: 1rem;
    background: white;
    z-index: 2;
}
.masthead {
    max-width: 1280px;
    margin: auto;
    padding: 24px 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #cdb3aa;
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}
.brand small {
    font-size: 12px;
    font-weight: 400;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
main {
    max-width: 1280px;
    margin: auto;
    padding: 36px 32px;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 34px;
    background: #38232f;
    color: #fff4e8;
}
h1 {
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.35;
    margin: 12px 0 22px;
    overflow-wrap: anywhere;
}
h2 {
    font-size: 28px;
    line-height: 1.4;
}
h3 {
    font-size: 23px;
    line-height: 1.45;
}
figure {
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.hero figure img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover;
}
figcaption {
    font-size: 12px;
    margin-top: 8px;
}
.eyebrow {
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
}
.cta {
    display: inline-block;
    background: #f2ba83;
    color: #30222b;
    padding: 10px 22px;
    margin-top: 10px;
}
.method {
    padding: 24px 0;
    margin: 24px 0;
    border-bottom: 1px solid #cdb3aa;
}
.exhibits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
}
.exhibit {
    background: #fffaf5;
    border-top: 4px solid #934c63;
}
.exhibit:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}
.exhibit img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}
.exhibit > div {
    padding: 24px;
}
.read {
    color: #85374f;
    font-weight: 700;
}
.detail {
    max-width: 800px;
    margin: auto;
}
.detail figure img {
    width: auto;
    max-width: 100%;
    margin: auto;
}
.detail h2 {
    margin-top: 32px;
}
.detail p {
    font-size: 18px;
}
footer {
    background: #38232f;
    color: #fff4e8;
    padding: 32px max(24px, calc((100% - 1150px)/2));
}
@media (max-width: 760px) {
    main, .masthead {
        padding: 18px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 20px;
    }
    .exhibits, .exhibit:first-child {
        grid-template-columns: 1fr;
    }
    .brand {
        font-size: 20px;
    }
    nav {
        gap: 12px;
    }
}
.brand small {
    display: block;
}
nav a[aria-current="page"] {
    color: var(--accent);
    text-decoration: underline;
}
.exhibit figure {
    background: #38232f;
    display: grid;
    place-items: center;
}
.exhibit img {
    width: auto;
    max-width: 100%;
}
.hero figure img {
    aspect-ratio: auto;
    object-fit: contain;
}
.exhibit, .intro, .hero figure {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 420px) {
    .hero {
        padding: 16px;
    }
    .exhibit > div {
        padding: 16px;
    }
    .brand {
        gap: 8px;
    }
    h2 {
        font-size: 24px;
    }
}
