:root
{
    --paper: #f6f3eb;
    --ink: #162b22;
    --green: #1f513e;
    --ochre: #e6b74e;
    --coral: #d9715f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 "Segoe UI", sans-serif; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #8a5706; outline-offset: 5px; }
.info { display: flex; justify-content: space-between; gap: 20px; background: var(--green); color: var(--paper); padding: 11px 4%; font-size: 10px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 25px 4%; border-bottom: 1.5px solid var(--ink); }
.brand { font: 27px/1 Georgia, serif; letter-spacing: -1px; }
nav { display: flex; gap: 27px; align-items: center; font-size: 12px; }
#menu, #close-menu { display: none; }
section { padding: 65px 4%; }
.programme-rule { border-bottom: 1.5px solid currentColor; padding-bottom: 13px; display: flex; justify-content: space-between; gap: 25px; font-size: 9px; font-weight: 650; letter-spacing: 1.4px; }
.hero { padding-top: 30px; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(70px, 13.2vw, 165px); letter-spacing: -7px; line-height: .88; margin: 50px 0; }
h1 em { color: var(--green); }
figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 2.45; object-fit: cover; display: block; }
figcaption { position: absolute; bottom: 20px; left: 22px; background: var(--paper); padding: 8px 13px; font-size: 10px; max-width: 90%; }
.today { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1.5px solid var(--ink); margin-top: 28px; }
.today p { border-right: 1.5px solid var(--ink); padding: 0 25px 10px; margin: 0 0 20px; }
.today p:first-child { padding-left: 0; }
.today p:last-child { border: 0; }
.today span { display: block; font-size: 8px; letter-spacing: 1px; margin-bottom: 13px; }
.today b { font-size: 16px; font-weight: 550; line-height: 1.4; display: block; }
.exhibitions { padding: 0; }
.exhibitions > .programme-rule { margin: 0 4% 30px; }
.exhibition { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 65px 5%; align-items: center; }
.green { background: var(--green); color: var(--paper); }
.ochre { background: var(--ochre); }
.coral { background: var(--coral); }
.exhibition-copy { position: relative; isolation: isolate; }
.giant { position: absolute; right: 0; top: -50px; font-size: 220px; line-height: 1; opacity: .13; font-weight: 800; z-index: -1; letter-spacing: -12px; }
.label { font-size: 9px; font-weight: 650; letter-spacing: 1.6px; }
h2 { font-size: clamp(40px, 5.3vw, 68px); line-height: .98; letter-spacing: -2px; margin: 25px 0; }
.exhibition h2 { font-size: clamp(42px, 6vw, 78px); }
.exhibition-copy > p:not(.label) { max-width: 420px; font-size: 13px; }
.ticket { display: inline-block; border-bottom: 1.5px solid currentColor; font-size: 12px; padding: 10px 0; margin-top: 15px; font-weight: 650; }
.exhibit-art { min-height: 385px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.exhibit-art > span { position: absolute; bottom: 20px; left: 20px; right: 20px; font-size: 9px; letter-spacing: 1px; text-align: center; }
.river-art { background: #d2c8a9; }
.river-art img { width: 100%; height: 385px; object-fit: cover; }
.river-art > span { color: var(--ink); background: var(--paper); padding: 7px; }
.ochre .exhibit-art { grid-row: 1; grid-column: 1; }
.ochre .exhibition-copy { grid-column: 2; }
.chair-art { background: #f3ead4; }
.chair { display: block; width: 125px; height: 145px; border: 13px solid #745437; border-bottom: 0; border-radius: 65px 65px 0 0; position: relative; margin-bottom: 55px; }
.chair::before { content: ""; width: 145px; height: 22px; border-radius: 50%; background: #906b42; position: absolute; bottom: -5px; left: -23px; }
.chair::after { content: ""; width: 119px; height: 90px; border-left: 9px solid #745437; border-right: 9px solid #745437; position: absolute; bottom: -85px; left: -10px; transform: perspective(200px) rotateX(8deg); }
.night-art { background: #1c2a32; color: #f5e5bb; }
.skyline { position: relative; width: 100%; height: 300px; border-bottom: 3px solid #af9980; display: flex; align-items: end; gap: 14px; justify-content: center; }
.skyline i { background: #34464b; width: 70px; height: 170px; border-top: 15px solid #637276; }
.skyline i:nth-child(2) { height: 220px; }
.skyline i:nth-child(3) { height: 140px; }
.skyline b { position: absolute; background: #b7a785; width: 190px; height: 70px; bottom: 15px; right: 10px; border-radius: 10px; border-top: 25px solid #9fa4a0; box-shadow: inset 0 7px #283e43; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 30px 0; }
.section-top > p { font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
caption { text-align: left; font-size: 10px; padding: 15px 0; }
th, td { padding: 20px 10px; text-align: left; border-top: 1.5px solid var(--ink); font-weight: 400; }
thead th { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
tbody th { font-size: 17px; }
td button { border: 0; background: none; color: var(--ink); font-size: 24px; padding: 5px 12px; }
.collection { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 35px; }
.collection > button { border: 0; padding: 0; background: none; color: var(--ink); text-align: left; }
.object-art { display: flex; aspect-ratio: 1; background: #e9e3d3; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden; }
.object-art svg { width: 90%; transition: transform .6s; }
.collection > button:hover svg { transform: scale(1.05); }
.collection > button:hover b { text-decoration: underline; }
.collection b { font-size: 14px; display: block; margin-bottom: 6px; }
.collection > button > span:not(.object-art) { display: block; font-size: 10px; }
.collection em { display: block; font-style: normal; font-size: 11px; margin-top: 15px; text-decoration: underline; text-underline-offset: 4px; }
.sign > span { display: block; padding: 20px 10px; background: var(--green); color: #e7d6a4; border: 3px double #e7d6a4; font: bold 27px/.9 Georgia, serif; text-align: center; transform: rotate(-5deg); }
.sign small { font: 7px "Segoe UI", sans-serif; }
.miniature .chair { transform: scale(.65); margin-bottom: 0; }
.visit { background: #e9e9df; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-top: 35px; }
.visit table th, .visit table td { font-size: 12px; padding: 13px 0; }
.visit table td { text-align: right; }
.visit-grid > div:last-child { padding-top: 25px; }
details { border-top: 1.5px solid var(--ink); padding: 20px 0; }
summary { cursor: pointer; font-size: 13px; font-weight: 600; }
details p { font-size: 12px; }
.admission > div:last-child { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; align-items: center; margin-top: 25px; }
.admission h2 { font-size: 40px; }
.admission p { font-size: 12px; }
.membership { background: var(--ochre); }
.membership h2 { font-size: clamp(45px, 7vw, 90px); }
.membership > div { display: flex; justify-content: space-between; gap: 35px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 15px 0; margin: 35px 0; }
.membership > div p { font-size: 13px; }
#membership-info { font-size: 11px; }
footer { background: var(--green); color: var(--paper); padding: 25px 4% 55px; overflow: hidden; }
.footer-word { font: clamp(50px, 16vw, 210px)/1 Georgia, serif; letter-spacing: -6px; margin: 30px 0; }
footer > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1.5px solid #b9c9b9; padding: 30px 0; font-size: 12px; }
footer > p:last-child { font-size: 10px; color: #d1dbd0; }
dialog { max-width: 550px; width: 90%; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); padding: 35px; }
dialog::backdrop { background: #11291ecc; }
dialog h2 { font-size: 38px; }
#close-detail { float: right; padding: 5px; border: 0; background: none; font-size: 12px; color: var(--ink); }
.fine { font-size: 11px; }
@media (max-width: 767px)
{
    .info { flex-wrap: wrap; gap: 7px 20px; font-size: 9px; }
    header { padding: 25px 6%; }
    .brand { font-size: 25px; }
    #menu { display: block; border: 1.5px solid var(--ink); background: none; padding: 8px 15px; color: var(--ink); font-size: 12px; }
    nav { display: none; position: fixed; inset: 0; background: var(--green); color: var(--paper); z-index: 50; padding: 75px 8%; font-size: 30px; }
    nav.open { display: flex; flex-direction: column; align-items: start; gap: 25px; }
    #close-menu { display: block; background: none; border: 1px solid #b9c9b9; color: var(--paper); padding: 8px 15px; font-size: 13px; margin-bottom: 15px; }
    section { padding: 50px 6%; }
    .programme-rule { font-size: 8px; letter-spacing: 1px; }
    h1 { font-size: 68px; letter-spacing: -3px; margin: 35px 0; }
    .hero figure img { aspect-ratio: 1.2; object-fit: cover; }
    figcaption { bottom: 12px; left: 12px; font-size: 8px; }
    .today { grid-template-columns: 1fr; }
    .today p { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--ink); margin: 0; }
    .today b br { display: none; }
    .today span { font-size: 9px; }
    .today b { font-size: 16px; }
    .exhibitions { padding: 0; }
    .exhibitions > .programme-rule { margin-left: 6%; margin-right: 6%; }
    .exhibition { grid-template-columns: 1fr; gap: 35px; padding: 40px 6% 55px; }
    .exhibit-art { grid-row: 1; min-height: 280px; }
    .river-art img { height: 280px; }
    .ochre .exhibition-copy { grid-column: 1; }
    .giant { font-size: 140px; top: 0; }
    .chair-art { min-height: 330px; }
    .section-top { display: block; }
    .events table, .events tbody { display: block; }
    .events thead { display: none; }
    .events tbody tr { display: grid; grid-template-columns: 1fr 1fr 40px; padding: 20px 0; border-top: 1.5px solid var(--ink); }
    .events td, .events tbody th { border: 0; padding: 5px 0; }
    .events td:first-child { grid-column: 1 / 4; font-size: 11px; display: flex; gap: 8px; }
    .events th { grid-column: 1 / 4; font: 23px/1.2 Georgia, serif; margin: 12px 0; }
    .events td:last-child { text-align: right; }
    .collection { grid-template-columns: 1fr 1fr; gap: 25px 15px; }
    .collection b { font-size: 12px; }
    .sign > span { font-size: 20px; padding: 15px 7px; }
    .miniature .chair { transform: scale(.45); }
    .visit-grid, .admission > div:last-child { grid-template-columns: 1fr; gap: 25px; }
    .visit table th { max-width: 145px; }
    .membership > div { flex-direction: column; gap: 0; }
    .footer-word { letter-spacing: -3px; font-size: 15.4vw; }
    footer > div { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    .object-art svg { transition: none; }
}
