:root {
  --ink: #20201d;
  --paper: #f2efe8;
  --paper-deep: #e7e1d5;
  --cream: #fbf9f4;
  --accent: #b5452d;
  --olive: #69705a;
  --line: rgba(32, 32, 29, 0.18);
  --font-display: Georgia, "Times New Roman";
  --font-sans: Arial, Helvetica;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans), sans-serif; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  align-items: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 84px;
  padding: 0 clamp(20px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.brand { align-items: center; display: inline-flex; font-family: var(--font-display), serif; font-size: 1.45rem; font-weight: 700; gap: 12px; justify-self: start; }
.brand-mark { border: 1px solid currentColor; display: inline-block; height: 34px; overflow: hidden; position: relative; transform: rotate(45deg); width: 34px; }
.brand-mark i { background: currentColor; height: 1px; left: 4px; position: absolute; top: 13px; width: 25px; }
.brand-mark i:last-child { top: 19px; transform: rotate(90deg); }
.main-nav { align-items: center; display: flex; font-size: .82rem; gap: 32px; text-transform: uppercase; letter-spacing: .1em; }
.main-nav a, .text-button { background: none; border: 0; cursor: pointer; position: relative; }
.main-nav a::after { background: var(--accent); bottom: -7px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; width: 100%; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { align-items: center; display: flex; gap: 22px; justify-self: end; }
.text-button { font-size: .82rem; }
.cart-button { align-items: center; background: transparent; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; display: flex; font-size: .8rem; gap: 10px; padding: 9px 10px 9px 16px; text-transform: uppercase; letter-spacing: .06em; }
.cart-button span { background: var(--ink); border-radius: 50%; color: var(--paper); display: grid; height: 25px; place-items: center; width: 25px; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; height: calc(100svh - 84px); min-height: 0; overflow: hidden; padding: clamp(18px, 4vh, 44px) clamp(20px, 5vw, 78px); }
.hero-copy { align-self: center; max-width: 710px; padding-right: clamp(20px, 5vw, 76px); }
.eyebrow { color: var(--accent); font-size: .73rem; font-weight: 600; letter-spacing: .18em; margin: 0 0 20px; text-transform: uppercase; }
.hero h1, .section-heading h2, .artist-copy h3, .artist-cta h2, .dialog-copy h2, .access-dialog h2, .drawer-head h2 {
  font-family: var(--font-display), serif; font-weight: 500; letter-spacing: -.035em; margin: 0;
}
.hero h1 { font-size: clamp(3.5rem, 6.2vw, 6rem); line-height: .86; max-width: 760px; }
.hero-intro { color: #59584f; font-size: clamp(.94rem, 1.25vw, 1.1rem); line-height: 1.6; margin: clamp(18px, 3vh, 32px) 0 clamp(18px, 3vh, 28px); max-width: 560px; }
.hero-actions { align-items: center; display: flex; gap: 30px; }
.primary-button { align-items: center; background: var(--accent); border: 1px solid var(--accent); color: white; cursor: pointer; display: inline-flex; font-size: .78rem; font-weight: 600; gap: 28px; justify-content: space-between; letter-spacing: .08em; min-height: 48px; padding: 13px 18px; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.primary-button:hover { background: transparent; color: var(--accent); transform: translateY(-2px); }
.primary-button:disabled { background: #aaa69d; border-color: #aaa69d; color: white; cursor: not-allowed; transform: none; }
.quiet-link { background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: .82rem; padding: 7px 0; }
.hero-facts { border-top: 1px solid var(--line); display: flex; gap: clamp(28px, 5vw, 72px); margin-top: clamp(24px, 5vh, 58px); padding-top: 14px; }
.hero-facts div { display: grid; gap: 4px; }
.hero-facts strong { font-family: var(--font-display), serif; font-size: 1.8rem; font-weight: 600; }
.hero-facts span { color: #6c6a61; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-art { align-self: center; aspect-ratio: 4 / 3; background: var(--paper-deep); border: 0; cursor: pointer; height: auto; max-height: 100%; min-height: 0; overflow: hidden; padding: 0; position: relative; width: 100%; }
.hero-art::after { background: linear-gradient(0deg, rgba(10,10,8,.7), transparent 40%); content: ""; inset: 0; position: absolute; }
.hero-art img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); width: 100%; }
.hero-art:hover img { transform: scale(1.025); }
.hero-art-number { color: white; font-size: .73rem; left: 24px; letter-spacing: .12em; position: absolute; top: 24px; z-index: 2; }
.hero-art-caption { bottom: 28px; color: white; display: grid; left: 28px; position: absolute; text-align: left; z-index: 2; }
.hero-art-caption b { font-family: var(--font-display), serif; font-size: 2.1rem; font-weight: 500; }
.hero-art-caption small { font-size: .75rem; letter-spacing: .1em; margin-top: 3px; text-transform: uppercase; }

.statement-band { background: var(--accent); color: white; display: flex; font-family: var(--font-display), serif; font-size: clamp(1.7rem, 3vw, 3rem); font-style: italic; justify-content: space-between; padding: 32px clamp(20px, 5vw, 78px); }
.statement-band p { margin: 0; }
.statement-band p:last-child { opacity: .72; text-align: right; }
.section { padding: clamp(74px, 10vw, 150px) clamp(20px, 5vw, 78px); }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(3rem, 5.6vw, 5.7rem); line-height: .95; }
.section-heading > p { color: #6f6c63; font-size: .82rem; margin: 0 0 8px; max-width: 390px; }

.filters { align-items: end; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 54px; padding: 18px 0; }
.filter-group { align-items: center; display: flex; gap: 22px; }
.filter-group > span, .filter-group > label { color: #77746b; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.filter-options { display: flex; gap: 5px; }
.filter-options button { background: transparent; border: 0; border-radius: 999px; cursor: pointer; font-size: .78rem; padding: 8px 13px; }
.filter-options button.active { background: var(--ink); color: var(--paper); }
.filter-group select { background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; cursor: pointer; min-width: 150px; padding: 7px 20px 7px 0; }

.art-grid { display: grid; gap: 46px clamp(16px, 2vw, 30px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-card { min-width: 0; }
.art-image { aspect-ratio: 4 / 3; background: var(--paper-deep); border: 0; cursor: pointer; overflow: hidden; padding: 0; position: relative; width: 100%; }
.art-card.portrait .art-image { aspect-ratio: 4 / 3; }
.art-image img { height: 100%; object-fit: contain; transition: filter .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); width: 100%; }
.art-image:hover img { filter: brightness(.8); transform: scale(1.025); }
.view-work { align-items: center; bottom: 18px; color: white; display: flex; font-size: .75rem; justify-content: space-between; left: 18px; letter-spacing: .1em; opacity: 0; position: absolute; right: 18px; text-transform: uppercase; transform: translateY(8px); transition: .25s ease; }
.view-work i { font-size: 1.2rem; font-style: normal; }
.art-image:hover .view-work { opacity: 1; transform: none; }
.sold-label { background: var(--paper); font-size: .65rem; left: 12px; letter-spacing: .12em; padding: 8px 10px; position: absolute; text-transform: uppercase; top: 12px; }
.art-meta { align-items: start; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 13px; padding-top: 13px; }
.art-meta h3 { font-family: var(--font-display), serif; font-size: 1.5rem; font-weight: 600; line-height: 1; margin: 0 0 7px; }
.art-meta p, .art-meta small { color: #747168; font-size: .72rem; margin: 0; }
.art-meta > div:last-child { display: grid; gap: 7px; text-align: right; }
.art-meta strong { font-size: .78rem; font-weight: 500; }

.artists-section { background: var(--ink); color: var(--paper); }
.section-heading.light > p { color: #aaa69d; font-size: .95rem; line-height: 1.6; }
.artist-row { align-items: center; border-top: 1px solid rgba(255,255,255,.17); display: grid; gap: clamp(22px, 5vw, 72px); grid-template-columns: 38px minmax(180px, 310px) 1fr; padding: 38px 0; }
.artist-row:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.artist-index { align-self: start; color: #8c8982; font-family: var(--font-display), serif; font-size: 1rem; }
.artist-portrait { aspect-ratio: 4 / 3; overflow: hidden; }
.artist-portrait img { height: 100%; object-fit: cover; transition: transform .6s ease; width: 100%; }
.artist-row:hover .artist-portrait img { transform: scale(1.035); }
.artist-copy > p { color: #aaa69d; font-size: .68rem; letter-spacing: .14em; margin: 0; text-transform: uppercase; }
.artist-copy h3 { font-size: clamp(3.5rem, 6vw, 6.5rem); line-height: .82; margin: 14px 0 24px; }
.artist-copy blockquote { color: #cac7bf; font-family: var(--font-display), serif; font-size: clamp(1rem, 1.6vw, 1.35rem); font-style: italic; line-height: 1.45; margin: 0 0 28px; max-width: 680px; }
.artist-copy button { background: none; border: 0; border-bottom: 1px solid #8c8982; color: var(--paper); cursor: pointer; font-size: .75rem; letter-spacing: .1em; padding: 0 0 7px; text-transform: uppercase; }
.artist-copy button span { margin-left: 18px; }

.process-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.process-grid article { min-height: 250px; padding: 26px clamp(18px, 3vw, 44px) 32px; }
.process-grid article + article { border-left: 1px solid var(--line); }
.process-grid span { color: var(--accent); font-family: var(--font-display), serif; font-size: 1.1rem; }
.process-grid h3 { font-family: var(--font-display), serif; font-size: 2rem; font-weight: 600; margin: 55px 0 12px; }
.process-grid p { color: #6a675f; font-size: .9rem; line-height: 1.65; margin: 0; max-width: 330px; }
.artist-cta { align-items: end; background: var(--olive); color: white; display: grid; gap: 50px; grid-template-columns: 1.25fr .75fr; margin-top: clamp(74px, 10vw, 150px); padding: clamp(38px, 6vw, 78px); }
.artist-cta .eyebrow { color: #e9c9a6; }
.artist-cta h2 { font-size: clamp(3.2rem, 6vw, 6.2rem); line-height: .86; max-width: 720px; }
.artist-cta > div:last-child p { color: #e0e1da; line-height: 1.65; margin: 0 0 28px; }
.primary-button.dark { background: var(--ink); border-color: var(--ink); }
.primary-button.dark:hover { background: transparent; color: white; }

footer { align-items: center; background: var(--cream); border-top: 1px solid var(--line); display: grid; gap: 26px; grid-template-columns: 1fr 1fr 1fr auto; padding: 52px clamp(20px, 5vw, 78px); }
.footer-brand { align-items: center; display: flex; font-family: var(--font-display), serif; font-size: 1.4rem; gap: 12px; }
footer > p { color: #6f6c63; font-family: var(--font-display), serif; font-style: italic; margin: 0; }
footer > div:nth-child(3) { display: flex; gap: 20px; }
footer a, footer button { background: none; border: 0; cursor: pointer; font-size: .75rem; padding: 0; }
footer small { color: #7b786f; font-size: .68rem; }

@media (min-width: 981px) and (max-height: 700px) {
  .hero h1 { font-size: clamp(3.2rem, 5.2vw, 4.8rem); }
  .hero-intro { line-height: 1.45; margin: 14px 0; }
  .hero-facts { margin-top: 18px; padding-top: 10px; }
  .hero-facts strong { font-size: 1.45rem; }
}

.modal-shell, .drawer-shell, .overlay, .drawer-overlay { align-items: center; background: rgba(18,18,16,.76); display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 60; backdrop-filter: blur(7px); }
.art-dialog { background: var(--cream); display: grid; grid-template-columns: 1.08fr .92fr; max-height: calc(100svh - 48px); max-width: 1120px; overflow: auto; position: relative; width: 100%; }
.modal-close { background: var(--cream); border: 0; cursor: pointer; display: grid; font-family: var(--font-display), serif; font-size: 2rem; height: 44px; line-height: 1; place-items: center; position: absolute; right: 14px; top: 14px; width: 44px; z-index: 3; }
.dialog-image { background: var(--paper-deep); min-height: 680px; padding: clamp(20px, 4vw, 54px); }
.dialog-image img { height: 100%; object-fit: contain; width: 100%; }
.dialog-copy { align-self: center; padding: clamp(42px, 6vw, 84px); }
.dialog-copy h2 { font-size: clamp(3.7rem, 6vw, 6rem); line-height: .83; }
.dialog-story { color: #66635b; font-family: var(--font-display), serif; font-size: 1.25rem; font-style: italic; line-height: 1.5; margin: 28px 0 34px; }
.dialog-copy dl { border-top: 1px solid var(--line); margin: 0; }
.dialog-copy dl div { border-bottom: 1px solid var(--line); display: grid; font-size: .78rem; grid-template-columns: 110px 1fr; padding: 12px 0; }
.dialog-copy dt { color: #77746b; }
.dialog-copy dd { margin: 0; }
.dialog-purchase { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-top: 34px; }
.dialog-purchase > div { display: grid; gap: 5px; }
.dialog-purchase small { color: #77746b; font-size: .7rem; text-transform: uppercase; }
.dialog-purchase strong { font-family: var(--font-display), serif; font-size: 1.8rem; }
.purchase-note { color: #89857c; font-size: .66rem; line-height: 1.5; margin: 12px 0 0; }

.drawer-shell, .drawer-overlay { align-items: stretch; justify-content: flex-end; padding: 0; }
.cart-drawer { background: var(--cream); display: flex; flex-direction: column; height: 100%; max-width: 520px; padding: 34px; width: 100%; }
.drawer-head { align-items: start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 24px; }
.drawer-head .eyebrow { margin-bottom: 8px; }
.drawer-head h2 { font-size: 3rem; }
.drawer-head button { background: none; border: 0; cursor: pointer; font-family: var(--font-display), serif; font-size: 2.2rem; }
.cart-list { flex: 1; overflow: auto; }
.cart-item { border-bottom: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 90px 1fr auto; padding: 18px 0; }
.cart-item img { height: 100px; object-fit: cover; width: 90px; }
.cart-item h3 { font-family: var(--font-display), serif; font-size: 1.4rem; margin: 4px 0; }
.cart-item p { color: #77746b; font-size: .72rem; margin: 0 0 14px; }
.cart-item strong { font-size: .78rem; }
.cart-item > button { align-self: start; background: none; border: 0; border-bottom: 1px solid; cursor: pointer; font-size: .65rem; padding: 3px 0; }
.empty-cart { margin: auto; max-width: 330px; padding: 100px 0; text-align: center; }
.empty-cart > span { font-family: var(--font-display), serif; font-size: 4rem; }
.empty-cart h3 { font-family: var(--font-display), serif; font-size: 2rem; margin: 20px 0 8px; }
.empty-cart p { color: #77746b; font-size: .85rem; line-height: 1.6; }
.cart-summary { border-top: 1px solid var(--line); padding-top: 22px; }
.cart-summary > div { display: flex; justify-content: space-between; }
.cart-summary > div strong { font-family: var(--font-display), serif; font-size: 1.5rem; }
.cart-summary p { color: #77746b; font-size: .68rem; }
.cart-summary .primary-button { margin-top: 14px; width: 100%; }

.compact-modal { padding: 20px; }
.access-dialog { background: var(--cream); max-width: 610px; padding: clamp(42px, 6vw, 80px); position: relative; width: 100%; }
.access-dialog h2 { font-size: clamp(3.4rem, 7vw, 5.7rem); line-height: .82; }
.access-dialog > p:not(.eyebrow) { color: #66635b; line-height: 1.6; margin: 24px 0 30px; }
.access-dialog form { display: grid; gap: 18px; }
.access-dialog label { display: grid; font-size: .68rem; gap: 8px; letter-spacing: .1em; text-transform: uppercase; }
.access-dialog input { background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-size: 1rem; outline: none; padding: 10px 0; text-transform: none; }
.access-dialog input:focus { border-color: var(--accent); }
.access-dialog form .primary-button { margin-top: 10px; }
.access-dialog > small { color: #858178; display: block; font-size: .65rem; margin-top: 18px; }
.access-dialog label small { color: #858178; font-size: .58rem; }
.honeypot { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 0; }
.form-message { color: var(--accent); font-size: .74rem; line-height: 1.5; margin: 0; min-height: 1.2em; }
.toast { animation: toast-in .3s ease; background: var(--ink); bottom: 24px; color: white; font-size: .78rem; left: 50%; max-width: calc(100vw - 30px); padding: 14px 20px; position: fixed; transform: translateX(-50%); z-index: 90; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; }
  .menu-toggle { background: none; border: 0; cursor: pointer; display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
  .main-nav { align-items: start; background: var(--paper); border-bottom: 1px solid var(--line); display: none; flex-direction: column; gap: 22px; left: 0; padding: 28px 20px; position: absolute; right: 0; top: 71px; }
  .main-nav.open { display: flex; }
  .header-actions { display: none; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; overflow: visible; }
  .hero-copy { padding: 0 0 46px; }
  .hero-art { height: auto; max-height: none; min-height: 0; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-cta { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .art-dialog { grid-template-columns: 1fr; }
  .dialog-image { min-height: 55svh; }
}

@media (max-width: 680px) {
  .brand { font-size: 1.2rem; }
  .brand-mark { height: 28px; width: 28px; }
  .brand-mark i { left: 3px; top: 11px; width: 21px; }
  .brand-mark i:last-child { top: 16px; }
  .hero { min-height: auto; padding-top: 22px; }
  .hero-copy { padding-bottom: 34px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.3rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-facts { gap: 18px; justify-content: space-between; }
  .hero-facts strong { font-size: 1.5rem; }
  .hero-facts span { font-size: .56rem; }
  .hero-art { height: auto; margin-bottom: 38px; min-height: 0; order: -1; }
  .statement-band { display: grid; gap: 8px; }
  .statement-band p:last-child { text-align: left; }
  .section-heading { align-items: start; gap: 20px; }
  .section-heading > p { display: none; }
  .filters { align-items: stretch; flex-direction: column; gap: 22px; }
  .filter-group { align-items: start; flex-direction: column; gap: 10px; }
  .filter-options { flex-wrap: wrap; }
  .filter-group.compact { display: grid; grid-template-columns: 1fr 2fr; }
  .art-grid { gap: 48px 12px; }
  .art-card.portrait .art-image, .art-image { aspect-ratio: 4 / 3; }
  .art-meta { display: grid; gap: 9px; }
  .art-meta > div:last-child { text-align: left; }
  .art-meta h3 { font-size: 1.25rem; }
  .artist-row { align-items: start; gap: 18px 12px; grid-template-columns: 26px 1fr; }
  .artist-portrait { grid-column: 2; }
  .artist-copy { grid-column: 2; }
  .artist-copy h3 { font-size: 3.7rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: auto; padding: 26px 0 32px; }
  .process-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .process-grid h3 { margin-top: 35px; }
  .artist-cta { margin-left: -20px; margin-right: -20px; padding: 50px 20px; }
  footer { align-items: start; grid-template-columns: 1fr; }
  footer > div:nth-child(3) { flex-wrap: wrap; }
  .modal-shell, .overlay { align-items: stretch; padding: 0; }
  .art-dialog { max-height: 100svh; }
  .dialog-image { min-height: 45svh; padding: 22px; }
  .dialog-copy { padding: 38px 22px; }
  .dialog-copy h2 { font-size: 3.8rem; }
  .dialog-purchase { align-items: stretch; flex-direction: column; }
  .cart-drawer { padding: 24px 18px; }
  .access-dialog { margin: auto 12px; padding: 50px 24px; }
}

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