:root {
    color-scheme: light;
    --paper: #f5f3ed;
    --ink: #172520;
    --muted: #717a70;
    --line: #d8dbd1;
    --green: #d6e35f;
    --blue: #304d9d;
    --orange: #e76c43;
    --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
    height: 78px;
    padding: 0 6.25vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 14px; font-weight: 800; letter-spacing: 0; }
.wordmark span { font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 12px; }
.main-nav a, .footer-center a, .source-credit { transition: opacity .2s ease; }
.main-nav a:hover, .footer-center a:hover, .source-credit:hover { opacity: .58; }
.nav-contact span { color: var(--orange); }

.intro {
    min-height: 610px;
    padding: 80px 11.1vw 90px;
    display: grid;
    grid-template-columns: 1fr minmax(290px, 34vw);
    align-items: center;
    gap: 7vw;
    position: relative;
    overflow: hidden;
}
.intro-copy { z-index: 1; animation: arrive .7s both ease-out; }
.eyebrow, .meta-label {
    margin: 0;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
}
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--orange); }
.intro h1, .detail-copy h1, .not-found h1 {
    margin: 23px 0 19px;
    font-size: clamp(52px, 6vw, 86px);
    line-height: .99;
    font-weight: 600;
    letter-spacing: 0;
}
.intro h1 span { color: var(--blue); font-family: var(--serif); font-weight: 400; font-style: italic; }
.intro-description { max-width: 330px; margin: 0 0 29px; color: #57645c; font-size: 14px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--orange); font-size: 16px; }
.intro-art { display: block; position: relative; z-index: 1; width: 100%; max-width: 420px; justify-self: end; transform: rotate(2.2deg); animation: arrive .8s .12s both ease-out; }
.intro-art::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--blue); z-index: -1; }
.intro-art img { width: 100%; height: 455px; object-fit: cover; object-position: center 42%; background: #e8dfd2; }
.art-note { display: flex; justify-content: space-between; margin-top: 15px; font: 9px 'DM Mono', monospace; }
.art-note span { color: var(--muted); }
.intro-index { position: absolute; bottom: 38px; left: 6.25vw; color: #9ba196; font: 10px 'DM Mono', monospace; }

.works-section { padding: 91px 11.1vw 120px; background: #eeede6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.section-heading h2, .about-copy h2 { margin: 12px 0 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; font-weight: 600; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font: 10px/1.7 'DM Mono', monospace; text-align: right; }
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.art-card { min-width: 0; }
.card-image { position: relative; display: block; overflow: hidden; background: #e2ddd2; }
.card-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.art-card:hover .card-image img { transform: scale(1.035); }
.card-arrow { position: absolute; right: 12px; bottom: 12px; display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 17px; transition: transform .2s ease; }
.art-card:hover .card-arrow { transform: rotate(45deg); }
.card-info { display: flex; justify-content: space-between; gap: 8px; padding: 14px 1px 0; }
.card-info strong { display: block; font-size: 12px; font-weight: 700; }
.card-info small { display: block; margin-top: 5px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.card-price { padding-top: 1px; color: var(--blue); font: 9px 'DM Mono', monospace; white-space: nowrap; }

.about-section { min-height: 500px; padding: 105px 14vw; display: grid; grid-template-columns: 1fr 2fr .7fr; align-items: start; gap: 6vw; }
.about-marker { display: flex; flex-direction: column; gap: 12px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.about-marker span:last-child { color: var(--orange); }
.about-copy { max-width: 540px; }
.about-copy h2 { margin: 20px 0 23px; font-size: clamp(34px, 4vw, 50px); }
.about-copy > p:not(.eyebrow) { color: #59645d; font-size: 13px; line-height: 1.9; }
.about-copy .text-link { margin-top: 12px; }
.about-stamp { justify-self: end; display: flex; width: 114px; height: 114px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font: 8px 'DM Mono', monospace; transform: rotate(12deg); }

.detail-page { padding: 54px 11.1vw 110px; }
.back-link { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font: 10px 'DM Mono', monospace; }
.back-link span { color: var(--orange); font-size: 17px; }
.detail-layout { display: grid; grid-template-columns: minmax(300px, 1.1fr) minmax(300px, .9fr); gap: 9vw; align-items: center; max-width: 1120px; margin: 43px auto 0; }
.detail-image { margin: 0; }
.detail-image img { width: 100%; max-height: 760px; object-fit: contain; object-position: center; background: #e8e3d9; }
.detail-image figcaption { margin-top: 11px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.detail-copy .eyebrow span { padding: 0 6px; color: var(--orange); }
.detail-copy h1 { max-width: 470px; margin: 17px 0; font-size: clamp(42px, 5vw, 68px); }
.detail-description { max-width: 400px; color: #59645d; font-size: 14px; line-height: 1.9; }
.purchase-panel { max-width: 405px; margin-top: 38px; padding: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price { margin: 8px 0 21px; font-family: var(--serif); font-size: 24px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; font-size: 11px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--blue); }
.purchase-note { margin: 15px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.detail-source { display: inline-block; margin-top: 22px; color: var(--muted); font: 10px 'DM Mono', monospace; }
.detail-source span { color: var(--orange); }
.not-found { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.not-found h1 { margin-bottom: 30px; font-size: 52px; }

.site-footer { min-height: 168px; padding: 38px 6.25vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.footer-name { position: relative; width: max-content; font-size: 21px; line-height: .92; font-weight: 800; }
.footer-name span { position: absolute; top: 0; right: -13px; font: 8px 'DM Mono', monospace; }
.footer-center p { margin: 0 0 9px; color: var(--muted); font-size: 10px; }
.footer-center a { font-size: 10px; }
.footer-center strong { margin-left: 6px; font-weight: 700; }
.footer-center a span { margin-left: 4px; color: var(--orange); }
.footer-right { display: flex; flex-direction: column; align-items: end; gap: 9px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.source-credit { text-decoration: underline; text-underline-offset: 3px; }

@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .intro { padding-right: 8vw; padding-left: 8vw; gap: 5vw; }
    .intro-art img { height: 390px; }
    .works-section { padding-right: 8vw; padding-left: 8vw; }
    .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .about-section { padding-right: 8vw; padding-left: 8vw; grid-template-columns: .7fr 2fr; }
    .about-stamp { grid-column: 2; justify-self: start; }
    .detail-page { padding-right: 8vw; padding-left: 8vw; }
    .detail-layout { gap: 6vw; }
}
@media (max-width: 600px) {
    .site-header { height: 66px; padding: 0 6vw; }
    .wordmark { font-size: 12px; }
    .main-nav { gap: 18px; font-size: 10px; }
    .intro { min-height: unset; padding: 72px 8vw 74px; grid-template-columns: 1fr; gap: 42px; }
    .intro h1 { font-size: clamp(51px, 14vw, 72px); }
    .intro-art { width: 76%; justify-self: center; }
    .intro-art img { height: auto; aspect-ratio: 3 / 4; }
    .intro-index { left: 8vw; bottom: 26px; }
    .works-section { padding: 70px 6vw 82px; }
    .section-heading { align-items: start; gap: 18px; }
    .section-heading h2 { font-size: 36px; }
    .section-heading > p { font-size: 8px; }
    .art-grid { gap: 24px 12px; }
    .card-info { align-items: start; flex-direction: column; gap: 8px; }
    .card-info strong { font-size: 11px; }
    .card-price { font-size: 8px; }
    .about-section { padding: 75px 8vw; grid-template-columns: 1fr; gap: 30px; }
    .about-marker { flex-direction: row; justify-content: space-between; }
    .about-copy h2 { font-size: 39px; }
    .about-stamp { grid-column: 1; justify-self: end; margin-top: 5px; }
    .site-footer { padding: 32px 7vw; grid-template-columns: 1fr 1fr; row-gap: 26px; }
    .footer-name { font-size: 18px; }
    .footer-center { justify-self: end; }
    .footer-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .detail-page { padding: 32px 7vw 75px; }
    .detail-layout { margin-top: 30px; grid-template-columns: 1fr; gap: 35px; }
    .detail-image img { max-height: 75vh; }
    .detail-copy h1 { font-size: 47px; }
    .detail-description { font-size: 13px; }
    .not-found h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}