@font-face {
    font-family: "Instrument Serif";
    src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype");
    font-style: italic;
    font-display: swap;
}
:root {
    color-scheme: light;
    --paper: #faf8f0;
    --ink: #232c25;
    --forest: #244d3c;
    --rust: #a64127;
    --muted: #535e52;
    --rule: #cecfc0;
    --serif: "Instrument Serif", Baskerville, Georgia, serif;
    --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, .print-title { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4.2rem, 7.6vw, 7.85rem); line-height: .95; letter-spacing: -.035em; }
h2 { font-size: clamp(2.85rem, 4.65vw, 4.8rem); line-height: 1.03; letter-spacing: -.026em; }
h1 em { color: var(--rust); font-weight: 400; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, input:focus-visible + label { outline: 3px solid #b14c14; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 10vw)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 8px; left: 8px; padding: .6rem 1rem; background: white; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner, .site-header nav, .site-footer nav, .brand { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 80px; }
.brand { gap: .65rem; font-size: 1.22rem; font-weight: 700; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 23%; }
.site-header nav, .site-footer nav { gap: clamp(.85rem, 2.4vw, 2rem); font-size: .92rem; font-weight: 550; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--rust); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-block: clamp(3.2rem, 6vw, 6.3rem); }
.kicker { display: flex; align-items: center; gap: .65rem; color: var(--forest); text-transform: uppercase; font-size: .71rem; line-height: 1.4; font-weight: 680; letter-spacing: .14em; }
.scan-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 4px; }
.scan-mark::after { content: ""; width: 6px; height: 6px; border-radius: 1px; background: currentColor; }
.hero h1 { margin-block: 1.2rem 1.45rem; }
.intro { max-width: 32rem; font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.4rem; margin-top: 1.8rem; }
.store-link { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px 8px 14px; border: 1px solid #a6a6a6; border-radius: 9px; background: #000; color: #fff; text-decoration: none; }
.store-link .applemark { width: 24px; height: 29px; flex: 0 0 auto; fill: currentColor; }
.store-lockup { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-lockup small { font-size: 11px; font-weight: 500; }
.store-lockup strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.store-link:hover { background: #222; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 0; border: 0; background: transparent; color: var(--forest); font: 650 .94rem/1.5 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--rust); }
.text-link:focus-visible { outline: 3px solid #b14c14; outline-offset: 4px; }
.print-stage {
    position: relative; isolation: isolate; display: grid; place-items: center;
    aspect-ratio: 1.18; overflow: hidden; border-radius: 9px;
    background-color: #244b3a;
    background-image: radial-gradient(circle, #9fc3a533 1px, transparent 1.25px);
    background-size: 12px 12px;
}
.stage-corners { position: absolute; inset: 17px; opacity: .55; color: #c5d7a7; background:
    linear-gradient(currentColor,currentColor) left top / 9px 1px,
    linear-gradient(currentColor,currentColor) left top / 1px 9px,
    linear-gradient(currentColor,currentColor) right top / 9px 1px,
    linear-gradient(currentColor,currentColor) right top / 1px 9px,
    linear-gradient(currentColor,currentColor) left bottom / 9px 1px,
    linear-gradient(currentColor,currentColor) left bottom / 1px 9px,
    linear-gradient(currentColor,currentColor) right bottom / 9px 1px,
    linear-gradient(currentColor,currentColor) right bottom / 1px 9px;
    background-repeat: no-repeat;
}
.back-sheet, .menu-print { grid-area: 1 / 1; width: 55%; aspect-ratio: .85; }
.back-sheet { transform: translate(6%, 1%) rotate(8deg); background: #d5ac6a; box-shadow: 0 8px 16px #12281c35; }
.menu-print { text-decoration: none; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #fcf1dc; color: #4e280d; transform: rotate(-3deg); box-shadow: 0 12px 22px #10281e45; }
.print-title { font-size: clamp(1.7rem, 3.4vw, 3.4rem); font-style: italic; line-height: 1; }
.menu-print img { width: 88%; height: auto; margin-block: 3% 0; image-rendering: pixelated; }
.print-address { margin-top: .3em; font: 600 clamp(.7rem, 1.15vw, 1rem)/1.3 var(--sans); }
.collection { padding-block: clamp(3.4rem, 6vw, 6rem); background: #f0eee3; border-block: 1px solid var(--rule); }
.gallery-heading { display: grid; grid-template-columns: 1fr minmax(220px, 365px); align-items: end; gap: 2rem; margin-bottom: 1.5rem; }
.gallery-heading p, .art-card figcaption p, .process dd, .policy-copy p { color: var(--muted); }
.gallery-heading p { line-height: 1.5; }
.gallery-switch { border: 0; padding: 0; margin: 0; min-width: 0; }
.gallery-switch label { display: inline-block; border: 1px solid #aaa998; border-radius: 99px; padding: .38rem .95rem; cursor: pointer; font-size: .86rem; line-height: 1.6; }
.gallery-switch label:hover { border-color: var(--forest); }
.gallery-switch input:checked + label { background: var(--forest); color: white; border-color: var(--forest); }
.gallery-grid { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 218px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.art-mat { overflow: hidden; border-radius: 6px; background: #f7f2e5; }
.art-mat img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.art-mat .encoded { display: none; image-rendering: pixelated; }
#show-qr:checked ~ .gallery-grid .original { display: none; }
#show-qr:checked ~ .gallery-grid .encoded { display: block; }
.art-card figcaption { padding-top: .7rem; }
.art-card h3 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); line-height: 1.15; }
.art-card figcaption p { font-size: .85rem; }
.process, .policy-layout { display: grid; grid-template-columns: minmax(180px, .8fr) 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.process { padding-block: clamp(4rem, 7.5vw, 7rem); }
.process dl > div { padding-block: 1.05rem 1.4rem; border-top: 1px solid var(--rule); }
.process dt { font: 400 1.9rem/1.18 var(--serif); margin-bottom: .35rem; }
.process dd { max-width: 34rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { min-height: 88px; }
.footer-inner .brand { font-size: 1.04rem; }
.policy { padding-block: clamp(3.4rem, 6vw, 6rem); }
.policy-header { padding-bottom: 2.65rem; border-bottom: 1px solid var(--rule); }
.policy-header h1 { margin-block: 1rem; }
.policy-header .intro { max-width: 48rem; }
.updated { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.policy-layout { padding-top: 2.5rem; grid-template-columns: minmax(175px, .55fr) 1.45fr; align-items: start; }
.contents { position: sticky; top: 1.5rem; display: grid; gap: .5rem; justify-items: start; }
.contents p { font-weight: 700; margin-bottom: .3rem; }
.contents a { color: var(--muted); }
.policy-copy { max-width: 43rem; }
.policy-copy section + section { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.8rem; }
.policy-copy h2 { font-size: clamp(2rem, 3.15vw, 3.4rem); margin-bottom: .85rem; }
.policy-copy p + p { margin-top: .8rem; }
.policy-copy strong { color: var(--ink); }
.policy-copy a { color: var(--forest); overflow-wrap: anywhere; }
.exhibit-header { padding-block: clamp(3rem, 6vw, 5.5rem); }
.exhibit-header h1 { margin: 1.15rem 0 1.35rem; }
.exhibit-header .intro { max-width: 39rem; }
.arrival { color: var(--forest); margin-top: 1rem; font-size: .92rem; }
.exhibit-bar { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 2rem; }
.print-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 218px), 1fr)); gap: 2.2rem clamp(1rem, 2vw, 2rem); margin-bottom: 2.75rem; }
.gallery-print a { display: block; }
.gallery-print img { width: 100%; height: auto; image-rendering: pixelated; border-radius: 4px; }
.gallery-print figcaption { display: flex; align-items: baseline; gap: .6rem; padding-top: .6rem; font: 1.4rem/1.16 var(--serif); }
.gallery-print figcaption span { color: var(--rust); font: .74rem/1.4 ui-monospace, monospace; }
section[id] { scroll-margin-top: 1.2rem; }
@media (max-width: 740px) {
    .wrap { width: calc(100% - 2.5rem); }
    .header-inner { min-height: 65px; }
    .brand { font-size: 1.07rem; gap: .45rem; }
    .brand img { width: 30px; height: 30px; }
    .site-header nav { gap: .85rem; font-size: .8rem; }
    .hero, .gallery-heading, .process, .policy-layout { grid-template-columns: 1fr; }
    .hero { gap: 2.25rem; padding-block: 2.8rem 2.5rem; }
    .hero h1 { margin-block: 1rem; }
    .hero-actions { margin-top: 1.35rem; }
    .print-stage { aspect-ratio: 1.2; }
    .menu-print, .back-sheet { width: 58%; }
    .print-title { font-size: clamp(1.6rem, 6.5vw, 2.7rem); }
    .print-address { font-size: clamp(.66rem, 2.45vw, .85rem); }
    .gallery-heading { gap: .75rem; }
    .gallery-grid { gap: .9rem; }
    .process { gap: 1.6rem; }
    .contents { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; }
}
@media (max-width: 530px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .art-card h3 { font-size: 1.52rem; }
    .site-footer nav { font-size: .82rem; }
}
@media (max-width: 355px) {
    .wrap { width: calc(100% - 1.5rem); }
    .site-header nav { gap: .55rem; }
    h1 { font-size: 3.5rem; }
}
