:root {
    --paper: #f1eadb;
    --ink: #15120f;
    --line: #3b342b;
    --muted: #5f574d;
    --bg: #fff;
    --stamp: #d12424;
    --font-gothic: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --font-mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    --page-gutter: clamp(24px, 6vw, 80px)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-gothic);
    line-height: 1.9
}

a {
    color: inherit
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--stamp);
    outline-offset: 3px
}

.handout-shell {
    width: calc(100% - (var(--page-gutter) * 2));
    margin: var(--page-gutter) auto;
    background: var(--paper);
    border: 1px solid var(--line);
    position: relative;
    min-height: calc(100vh - (var(--page-gutter) * 2))
}

.handout-header {
    height: 48px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 20
}

.handout-logo img {
    display: block;
    width: 64px;
    height: auto
}

.top-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em
}

.top-link:hover {
    opacity: .7
}

.month-nav {
    position: absolute;
    left: -1px;
    top: 96px;
    width: 52px;
    z-index: 10
}

.month-tabs {
    display: grid;
    border: 1px solid var(--line);
    background: var(--paper)
}

.month-tab {
    appearance: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: 700 17px/1.2 var(--font-gothic);
    min-height: 92px;
    padding: 8px 0;
    writing-mode: vertical-rl;
    text-orientation: upright;
    cursor: pointer
}

.month-tab:last-child {
    border-bottom: 0
}

.month-tab.is-current,
.month-tab[aria-selected=true] {
    color: rgba(21, 18, 15, .45);
    background: rgba(255, 255, 255, .18)
}

.handout-main {
    padding: 56px 96px 70px
}

.month-panel {
    max-width: 780px;
    margin: 0 auto
}

.month-panel h1 {
    margin: 0 0 4px;
    font-family: var(--font-mincho);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: .02em
}

.artist {
    margin: 0 0 34px;
    font-family: var(--font-mincho);
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    letter-spacing: .12em
}

.floor-map {
    margin: 0 0 46px
}

.month-panel h1,
.artist,
.work-list h3,
.work-title,
.work-medium,
.work-details,
.text-section,
.coming-soon {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict
}

.floor-map figcaption,
.work-section h2,
.text-section h2 {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em
}

.floor-map svg {
    display: block;
    width: min(100%, 760px);
    height: auto;
    margin: 0 auto
}

.wall {
    fill: none;
    stroke: var(--ink);
    stroke-width: clamp(4px, .85vw, 6px);
    stroke-linejoin: miter
}

.dash {
    fill: none;
    stroke: var(--ink);
    stroke-width: clamp(3px, .62vw, 4px);
    stroke-dasharray: 10 7
}

.gray {
    fill: #bdb9ae;
    stroke: var(--ink);
    stroke-width: clamp(3px, .62vw, 4px)
}

.arrow {
    fill: var(--ink)
}

.map-number circle {
    fill: var(--ink)
}

.map-number text {
    fill: var(--paper);
    font: 700 16px/1 var(--font-gothic);
    text-anchor: middle
}

.work-section {
    margin: 0 0 58px
}

.work-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(59, 52, 43, .65)
}

.work-list li {
    padding: 20px 0 19px;
    border-bottom: 1px solid rgba(59, 52, 43, .45)
}

.work-list h3 {
    display: flex;
    align-items: flex-start;
    gap: .45em;
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 800
}

.work-number {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: .35em;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-size: 15px;
    line-height: 1
}

.work-title {
    min-width: 0
}

.work-list p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict
}

.work-meta-label {
    display: inline-block;
    min-width: 5.5em;
    margin-right: .6em;
    font-weight: 700
}

.text-section {
    margin: 0 0 58px
}

.text-section p {
    margin: 0 0 1.45em;
    font-size: 16px;
    font-weight: 500;
    line-height: 2.15
}

.statement-copy {
    position: relative
}

.statement-more {
    max-height: 0;
    overflow: hidden
}

.statement-more.is-open {
    max-height: none;
    overflow: visible
}

.read-more {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    margin: 20px auto 0;
    min-width: 170px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    padding: 8px 24px;
    font: 500 15px/1.5 var(--font-gothic);
    cursor: pointer;
}

.read-more:hover {
    background: rgba(255, 255, 255, .3)
}

.coming-soon {
    font-size: 18px;
    font-weight: 500
}

.handout-footer {
    border-top: 1px solid var(--line);
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em
}

.statement-title,
.statement-signature {
    display: none
}

.yoku-back-to-top {
    position: fixed;
    right: calc(var(--page-gutter) + 18px);
    bottom: 22px;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    opacity: .82;
    cursor: pointer;
    z-index: 1000;
    transition: opacity .2s ease, transform .2s ease
}

.yoku-back-to-top:hover,
.yoku-back-to-top:focus-visible {
    opacity: .92;
    transform: translateY(-3px)
}

.yoku-back-to-top:active {
    opacity: .84;
    transform: translateY(-1px)
}

.yoku-back-to-top img {
    width: 100%;
    height: 100%;
    display: block
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    .yoku-back-to-top {
        transition: none
    }
}

@media(max-width:640px) {

    .handout-header {
        height: 42px;
        padding: 0 10px
    }

    .handout-logo img {
        width: 52px
    }

    .top-link {
        font-size: 12px
    }

    .month-nav {
        position: sticky;
        top: 42px;
        width: auto;
        left: auto;
        z-index: 19
    }

    .month-tabs {
        grid-template-columns: repeat(5, 1fr);
        border-left: 0;
        border-right: 0
    }

    .month-tab {
        min-height: 39px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 13px;
        padding: 0
    }

    .month-tab:last-child {
        border-right: 0
    }

    .handout-main {
        padding: 24px 14px 44px
    }

    .month-panel h1 {
        font-size: 20px;
        line-height: 1.65
    }

    .artist {
        font-size: 21px;
        margin-bottom: 22px
    }

    .floor-map figcaption,
    .work-section h2,
    .text-section h2 {
        font-size: 14px;
        margin-bottom: 10px
    }

    .floor-map {
        margin-bottom: 32px
    }

    .work-list li {
        padding: 14px 0
    }

    .work-list h3 {
        font-size: 17px
    }

    .work-number {
        width: 20px;
        height: 20px;
        margin-top: .4em;
        font-size: 12px
    }

    .work-list p,
    .text-section p {
        font-size: 13px;
        line-height: 2
    }

    .text-section {
        margin-bottom: 38px
    }

    .read-more {
        min-width: 132px;
        font-size: 13px;
        padding: 7px 18px
    }

    .handout-footer {
        font-size: 10px
    }

    .yoku-back-to-top {
        right: 12px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        opacity: .78
    }
}

@media(max-width:360px) {

    .handout-main {
        padding-left: 10px;
        padding-right: 10px
    }

    .month-tab {
        font-size: 12px
    }

    .month-panel h1 {
        font-size: 18px
    }

    .artist {
        font-size: 19px
    }

    .work-list h3 {
        font-size: 16px
    }
}