:root {
  --ivory: #f5f0e7;
  --paper: #fffdf8;
  --ink: #292721;
  --muted: #706a60;
  --stone: #e8e0d4;
  --clay: #985f48;
  --clay-dark: #704331;
  --line: rgba(41, 39, 33, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, "Segoe UI", sans-serif;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #c57d5e; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 1000; padding: .7rem 1rem; color: white; background: var(--ink); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(3.2rem, 6.5vw, 6.7rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.25rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { margin: 0 0 1.2rem; }
.lead, .large-copy { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.eyebrow { margin: 0 0 .85rem; color: var(--clay-dark); font-size: .74rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.centered { text-align: center; }
.narrow { width: min(calc(100% - 3rem), 790px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(245, 240, 231, .94); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - 3rem), var(--content)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; gap: 1.7rem; }
.brand, .footer-brand { font-family: var(--serif); font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 1.25vw, 1.3rem); margin-left: auto; }
.site-nav a { position: relative; font-size: .79rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0; height: 1px; background: var(--clay); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; padding: .45rem; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 1px; margin: 6px 0; background: currentColor; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--clay-dark); padding: .72rem 1.2rem; color: white; background: var(--clay-dark); font-size: .8rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover { background: #583022; transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 1rem; white-space: nowrap; }
.button-outline { color: var(--ink); background: transparent; }
.button-outline:hover { color: white; background: var(--ink); }
.button-light { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.button-light:hover { color: white; background: transparent; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.text-link { color: var(--clay-dark); font-weight: 700; text-underline-offset: .28em; }
.light-link { color: #f5ddd1; }

.section, .portfolio-section, .details-grid, .form-section, .about-story { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; padding: 7rem 0; }
.section-tinted { width: 100%; padding-inline: max(1.5rem, calc((100vw - var(--content)) / 2)); background: var(--stone); }
.section-dark { width: 100%; padding-inline: max(1.5rem, calc((100vw - var(--content)) / 2)); color: #f9f4e9; background: #2d2e28; }
.section-dark .eyebrow { color: #e4ad91; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 480px; color: var(--muted); }
.section-heading.light > p { color: #d4cfc5; }

.home-hero { position: relative; min-height: min(760px, calc(100vh - 88px)); display: grid; align-items: end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,23,20,.72), rgba(24,23,20,.16) 66%); }
.hero-panel { position: relative; z-index: 2; width: min(calc(100% - 3rem), var(--content)); margin: 0 auto; padding: 7rem 0; color: white; }
.hero-panel > * { max-width: 680px; }
.hero-panel .eyebrow { color: #f2c3aa; }
.hero-panel .lead { color: rgba(255,255,255,.87); }
.hero-panel .text-link { color: white; }
.page-title, .page-hero { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; padding: 7rem 0 5rem; }
.page-title { max-width: 930px; margin-left: max(1.5rem, calc((100vw - var(--content)) / 2)); }
.page-title > p:last-child { max-width: 730px; color: var(--muted); font-size: 1.2rem; }
.page-hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.page-hero > div:last-child { min-height: 620px; }
.page-hero-small { display: block; max-width: 950px; margin-left: max(1.5rem, calc((100vw - var(--content)) / 2)); padding-bottom: 2.5rem; }
.page-hero-small > div:last-child { min-height: 0; }
.page-hero-small > p:last-child { max-width: 760px; }

.placeholder-art { position: relative; min-height: 320px; overflow: hidden; background-color: #897568; background-position: center; background-size: cover; }
.placeholder-art > span { display: none; }
.placeholder-hero, .tone-1 { background-image: url("../images/artwork/StarryKCFull.jpg"); }
.tone-2 { background-image: url("../images/artwork/GirlWithCat.jpg"); }
.tone-3 { background-image: url("../images/artwork/redwoodClearing.jpg"); }
.tone-4, .tone-5 { background-image: url("../images/artwork/CountyCourthouse.jpg"); }
.tone-6 { background-image: url("../images/artwork/ColoradoMountain.jpg"); }

.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.category-card { min-height: 270px; padding: 1.7rem 1.4rem; border-right: 1px solid var(--line); }
.category-card:last-child { border-right: 0; }
.card-number { display: block; margin-bottom: 3rem; color: var(--clay); font-family: var(--serif); font-size: 2rem; }
.category-card h3 { font-size: 1.55rem; }
.category-card p { color: var(--muted); font-size: .9rem; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-grid li { padding: 2rem 1.5rem 0 0; }
.process-grid li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.process-grid span, .process-list > li > span { color: var(--clay); font-family: var(--serif); font-size: 2rem; }
.process-grid h3 { font-size: 1.3rem; }
.pricing-note { max-width: 820px; margin: 3.5rem auto 0; padding: 1.5rem; border: 1px solid var(--line); text-align: center; }
.art-grid, .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.4rem; }
.art-card .placeholder-art, .product-card .placeholder-art { aspect-ratio: 4 / 5; min-height: 0; }
.art-card-wide { grid-column: span 2; }
.art-card-wide .placeholder-art { aspect-ratio: 2 / 1; }
.art-meta, .product-info { padding-top: 1rem; }
.art-meta h3, .product-info h3 { margin-bottom: .25rem; font-size: 1.55rem; }
.art-meta p, .product-info > p:not(.price, .status) { color: var(--muted); font-size: .88rem; }
.status { margin-bottom: .45rem; color: var(--clay-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price { font-weight: 700; }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.split-feature > .placeholder-art { min-height: 620px; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.split-copy p:not(.eyebrow) { max-width: 570px; color: var(--muted); }
.split-reverse > .placeholder-art { order: 2; }
.testimonials h2 { margin-bottom: 3rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
blockquote { margin: 0; padding: 2rem; border: 1px solid var(--line); background: var(--paper); font: 1.45rem/1.35 var(--serif); }
blockquote cite { display: block; margin-top: 1.5rem; font: 700 .78rem/1.5 var(--sans); font-style: normal; }
blockquote cite span { display: block; color: var(--muted); font-weight: 400; }
.final-cta { padding: 7rem 1.5rem; color: white; background: var(--clay-dark); text-align: center; }
.final-cta > * { max-width: 760px; margin-inline: auto; }
.final-cta .eyebrow { color: #f1c4ae; }
.final-cta .button { margin-top: 1rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.tag-list span, .print-types li { border: 1px solid var(--line); padding: .7rem 1rem; background: var(--paper); }
.process-list { width: min(calc(100% - 3rem), 900px); margin: 3rem auto 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.process-list h3 { margin-bottom: .35rem; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.details-grid article { padding: 2.5rem; background: var(--paper); }
.details-grid article h2 { font-size: 2.4rem; }
.form-section, .contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.inquiry-form { display: grid; gap: 1.15rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.inquiry-form label { display: grid; gap: .38rem; font-size: .81rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #aaa094; border-radius: 0; padding: .82rem; color: var(--ink); background: var(--paper); }
textarea { resize: vertical; }
label small, .form-config-note { color: var(--muted); font-size: .78rem; font-weight: 400; }
.form-config-note { padding: .8rem; border-left: 3px solid var(--clay); background: var(--stone); }
.contact-aside { margin-top: 2rem; }
.contact-details { padding: 2rem; background: var(--stone); }
.clean-list, .print-types { margin: 0; padding: 0; list-style: none; }
.clean-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.filter-bar button { border: 1px solid var(--line); padding: .62rem .95rem; color: var(--ink); background: transparent; font-size: .78rem; font-weight: 700; cursor: pointer; }
.filter-bar button:hover, .filter-bar button.active { color: white; background: var(--ink); }
.masonry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.4rem; align-items: start; }
.gallery-item .placeholder-art { aspect-ratio: 1 / 1; }
.gallery-item.tall .placeholder-art { aspect-ratio: 4 / 5; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide .placeholder-art { aspect-ratio: 2 / 1; }
.gallery-item h2 { margin: 1rem 0 .2rem; font-size: 1.6rem; }
.gallery-item p { color: var(--muted); font-size: .85rem; }
.gallery-item[hidden] { display: none; }
.product-list { display: grid; gap: 6rem; }
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.product-detail:nth-child(even) > .placeholder-art { order: 2; }
.product-detail > .placeholder-art { min-height: 600px; }
.product-detail h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.shipping-note { margin: 3rem 0 0; padding: 1.5rem; border: 1px solid var(--line); }
.print-types { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.about-hero { min-height: 720px; }
.about-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-columns > .placeholder-art { min-height: 720px; }
.about-story { max-width: 850px; }

.site-footer { padding: 5rem max(1.5rem, calc((100vw - var(--content)) / 2)) 2rem; color: #eee8dd; background: #25251f; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-main > div:first-child p { max-width: 450px; margin-top: 1rem; color: #bdb6aa; }
.footer-main h2 { color: #bdb6aa; font: 700 .72rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.footer-main a { margin-bottom: .45rem; text-underline-offset: .25em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); color: #bdb6aa; font-size: .76rem; }

/* Shared template compatibility */
.container { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.nav-wrap { min-height: 88px; display: flex; align-items: center; gap: 1.7rem; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hero { min-height: min(760px, calc(100vh - 88px)); display: grid; grid-template-columns: .9fr 1.1fr; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 6rem max(3rem, calc((100vw - var(--content)) / 2)); padding-right: clamp(3rem, 6vw, 7rem); }
.hero-art { position: relative; inset: auto; min-height: 620px; }
.hero-art::after { display: none; }
.hero-art img, .split img, .art-card img, .product-card img, .product-feature img { display: block; width: 100%; height: 100%; object-fit: cover; }
.section--stone, .section-stone { width: 100%; padding-inline: max(1.5rem, calc((100vw - var(--content)) / 2)); background: var(--stone); }
.section--paper, .section-paper { width: 100%; padding-inline: max(1.5rem, calc((100vw - var(--content)) / 2)); background: var(--paper); }
.grid { display: grid; gap: 1.4rem; }
.grid--3, .grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.type-card, .card { padding: 1.8rem; border-top: 1px solid var(--line); background: rgba(255,255,255,.28); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { padding: 2rem 1.2rem 0 0; }
.steps li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: .8rem; color: var(--clay); font: 2rem/1 var(--serif); }
.art-card, .product-card { margin: 0; overflow: hidden; background: var(--paper); }
.art-card img, .product-card img { aspect-ratio: 4 / 5; }
.art-card--portrait img { aspect-ratio: 4 / 5; }
.art-card figcaption, .art-card-body, .card-copy { padding: 1.1rem; }
.art-card h3, .product-card h3 { margin-bottom: .3rem; font-size: 1.55rem; }
.art-meta { color: var(--muted); font-size: .86rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.split > img { min-height: 520px; max-height: 720px; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.quote-grid cite { display: block; margin-top: 1rem; font: 700 .78rem/1.5 var(--sans); font-style: normal; }
.cta { padding: 7rem 1.5rem; color: white; background: var(--clay-dark); text-align: center; }
.cta > .container, .cta > .narrow { max-width: 780px; }
.cta .eyebrow { color: #f1c4ae; }
.cta .button { margin-top: 1rem; }
.button--outline, .button-secondary { color: var(--ink); background: transparent; }
.button--outline:hover, .button-secondary:hover { color: white; background: var(--ink); }
.button-row--center { justify-content: center; }
.product-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.product-feature + .product-feature { margin-top: 6rem; }
.product-feature img { min-height: 580px; }
.product-feature--reverse img { order: 2; }
.artwork-image-placeholder { display: grid; min-height: 580px; place-items: center; border: 1px solid var(--line); color: var(--muted); background: var(--stone); font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.product-feature--reverse .artwork-image-placeholder { order: 2; }
.catalog-price { font-weight: 700; }
.catalog-message { max-width: 720px; margin-inline: auto; padding-block: 3rem; text-align: center; }
.catalog-message .button { margin-top: 1rem; }
.catalog-section { padding-top: 2.5rem; }
.product-feature img.catalog-artwork-image { width: auto; max-width: 100%; height: auto; min-height: 0; max-height: min(760px, 78vh); justify-self: center; object-fit: contain; box-shadow: 0px 18px 32px rgba(38, 35, 31, .4); }
.print-catalog-intro { padding-bottom: 2.5rem; }
.print-catalog-intro > p:last-child { max-width: 720px; }
.print-catalog-section { padding-top: 1.5rem; }
.print-catalog-toolbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.print-result-count { margin: 0; color: var(--muted); font-size: .82rem; }
.print-sort { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.print-sort select { min-width: 205px; min-height: 40px; border: 1px solid #aaa094; border-radius: 6px; padding: .5rem 2.25rem .5rem .75rem; color: var(--ink); background: var(--paper); font: inherit; }
.print-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5.5rem clamp(2rem, 4vw, 4.5rem); }
.print-catalog-card { min-width: 0; transition: transform 180ms ease; }
.print-catalog-card:hover { transform: translateY(-4px) scale(1.008); }
.print-catalog-image { position: relative; display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; }
.print-catalog-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; filter: drop-shadow(-8px 12px 12px rgba(38, 35, 31, .18)); transition: filter 180ms ease; }
.print-catalog-card:hover .print-catalog-image img { filter: drop-shadow(-10px 16px 15px rgba(38, 35, 31, .22)); }
.print-catalog-copy { width: var(--print-image-width, 100%); margin-inline: auto; padding-top: 1.25rem; }
.print-catalog-copy h2 { margin-bottom: .35rem; font-size: 1.6rem; font-style: italic; }
.print-catalog-copy h2 a { color: inherit; text-decoration: none; }
.print-catalog-copy h2 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.print-catalog-copy p { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.print-catalog-copy p:first-of-type { color: var(--ink); }
.portfolio-intro { padding-bottom: 2.5rem; }
.portfolio-intro > p:last-child { max-width: 720px; }
.portfolio-catalog-section { padding-top: 1rem; }
.portfolio-catalog-grid {
  columns: 3;
  column-gap: clamp(1.5rem, 3vw, 3rem);
}
.portfolio-catalog-item {
  display: block;
  width: 100%;
  margin: 0 0 clamp(1.5rem, 3vw, 3rem);
  break-inside: avoid;
  text-decoration: none;
}
.portfolio-catalog-item img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(-7px 11px 11px rgba(38, 35, 31, .16));
  transition: filter 180ms ease, transform 180ms ease;
}
.portfolio-catalog-item:hover img {
  filter: drop-shadow(-9px 15px 14px rgba(38, 35, 31, .23));
  transform: translateY(-3px) scale(1.008);
}
.portfolio-catalog-item:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 6px; }
.artwork-detail-page { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.artwork-detail-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; padding-bottom: clamp(5rem, 9vw, 8rem); }
.artwork-gallery__main { display: grid; min-height: 420px; place-items: center; }
.artwork-gallery__main img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(78vh, 900px); object-fit: contain; filter: drop-shadow(-8px 14px 14px rgba(38, 35, 31, .18)); }
.artwork-gallery__thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.artwork-thumbnail { display: grid; width: 76px; height: 76px; overflow: hidden; border: 1px solid var(--line); padding: 4px; background: transparent; place-items: center; cursor: pointer; }
.artwork-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.artwork-thumbnail.is-selected { border: 2px solid var(--clay-dark); padding: 3px; }
.artwork-detail-placeholder { display: grid; min-height: 540px; border: 1px solid var(--line); color: var(--muted); background: var(--stone); place-items: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.artwork-detail-summary h1 { margin-bottom: .65rem; overflow-wrap: anywhere; font-size: 4.6rem; }
.artwork-byline { margin: 0 0 2rem; color: var(--muted); font-size: .92rem; }
.artwork-byline span { margin-inline: .35rem; }
.artwork-description { max-width: 620px; font-size: 1.02rem; line-height: 1.8; }
.artwork-description p { margin: 0; }
.artwork-description p + p { margin-top: 1.2rem; }
.original-offer, .artwork-editions { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.original-offer h2, .artwork-editions > h2 { margin-bottom: 1rem; font-size: 2rem; }
.original-offer p { margin: .35rem 0; }
.offer-price, .offer-status { color: var(--clay-dark); font: 600 2rem/1.2 var(--serif); }
.public-edition { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.public-edition:first-of-type { border-top: 0; }
.public-edition--limited { border-left: 3px solid var(--clay); padding-left: 1.25rem; }
.public-edition h3 { margin-bottom: .3rem; font-size: 1.55rem; }
.edition-type { margin: 0 0 .5rem; color: var(--clay); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.edition-meta, .edition-open, .edition-signature, .single-variant-name, .variant-description, .dimension-note { color: var(--muted); font-size: .84rem; }
.variant-description { white-space: pre-line; }
.edition-limit { margin: .8rem 0 .1rem; font-weight: 800; }
.edition-signature { margin-top: .1rem; }
.edition-description { margin-top: 1rem; font-size: .9rem; }
.edition-description p { margin: 0; }
.edition-description p + p { margin-top: .75rem; }
.variant-selector { display: grid; gap: .5rem; margin: 1.25rem 0 0; border: 0; padding: 0; }
.variant-selector legend { margin-bottom: .45rem; font-size: .76rem; font-weight: 800; }
.variant-selector label { display: flex; align-items: center; cursor: pointer; }
.variant-selector input { width: 18px; height: 18px; margin: 0 .65rem 0 0; accent-color: var(--clay); }
.variant-selector span { display: flex; flex: 1; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.variant-selector strong { white-space: nowrap; }
.variant-options { display: grid; gap: 1.15rem; margin-top: 1.25rem; }
.variant-options[hidden] { display: none; }
.option-selector { display: grid; gap: .5rem; }
.option-selector > label { font-size: .76rem; font-weight: 800; }
.option-selector > label span { margin-left: .35rem; color: var(--muted); font-size: .65rem; font-weight: 600; text-transform: uppercase; }
.option-selector > p { margin: -.15rem 0 .65rem; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.option-selector select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 0; padding: .65rem 2.5rem .65rem .75rem; color: var(--ink); background-color: var(--paper); font: inherit; cursor: pointer; }
.option-selector select:focus-visible { outline: 2px solid var(--clay-dark); outline-offset: 2px; }
.edition-price { margin: 1rem 0 0; font: 600 1.7rem/1.2 var(--serif); }
.dimension-note { margin-top: 1.5rem; }
.artwork-information-band { padding-block: clamp(4rem, 7vw, 6rem); background: var(--stone); }
.artwork-information-band h2 { font-size: 2.5rem; }
.artwork-metadata { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; margin: 2rem 0 0; }
.artwork-metadata div { min-width: 0; }
.artwork-metadata dt { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.artwork-metadata dd { margin: .4rem 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.artwork-support-section { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(5rem, 9vw, 8rem); }
.artwork-support-section + .artwork-support-section { border-top: 1px solid var(--line); }
.support-section-heading h2 { margin-bottom: 1.25rem; font-size: 3.4rem; }
.support-section-heading p { color: var(--muted); }
.information-disclosures details { border-top: 1px solid var(--line); }
.information-disclosures details:last-child { border-bottom: 1px solid var(--line); }
.information-disclosures summary { position: relative; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; cursor: pointer; list-style: none; }
.information-disclosures summary::-webkit-details-marker { display: none; }
.information-disclosures summary::after { position: absolute; top: 50%; right: .25rem; content: "+"; font: 400 1.5rem/1 var(--sans); transform: translateY(-50%); }
.information-disclosures details[open] summary::after { content: "−"; }
.information-disclosures details > div { max-width: 720px; padding: 0 2.5rem 1.25rem 0; color: var(--muted); }
.information-disclosures details > div p { margin: 0; }
.information-disclosures details > div p + p { margin-top: .8rem; }
.artwork-related-band { padding-block: clamp(5rem, 9vw, 8rem); background: var(--stone); }
.related-heading { margin-bottom: 2rem; }
.related-heading h2 { font-size: 3.4rem; }
.related-artworks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.related-artwork { text-decoration: none; }
.related-artwork span { display: grid; aspect-ratio: 4 / 3; place-items: center; }
.related-artwork img { width: 100%; height: 100%; object-fit: contain; transition: transform 180ms ease; }
.related-artwork strong { display: block; margin-top: 1rem; font: 600 1.45rem/1.2 var(--serif); }
.related-artwork:hover img { transform: translateY(-3px); }
.related-all-link { display: inline-block; margin-top: 2rem; }
@media (max-width: 980px) {
  .artwork-detail-hero { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 3rem; }
  .artwork-detail-summary h1 { font-size: 4rem; }
  .artwork-metadata { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .artwork-detail-page { padding-top: 2rem; }
  .artwork-detail-hero, .artwork-support-section { grid-template-columns: minmax(0, 1fr); }
  .artwork-detail-hero { gap: 3rem; padding-bottom: 4.5rem; }
  .artwork-gallery__main { min-height: 0; }
  .artwork-gallery__main img { width: auto; max-width: 100%; max-height: none; }
  .artwork-detail-summary h1 { font-size: 3.5rem; }
  .artwork-support-section { gap: 2.5rem; }
  .related-artworks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .artwork-detail-summary h1 { font-size: 3rem; }
  .support-section-heading h2, .related-heading h2 { font-size: 2.7rem; }
  .artwork-metadata, .related-artworks { grid-template-columns: minmax(0, 1fr); }
  .artwork-thumbnail { width: 68px; height: 68px; }
  .public-edition--limited { padding-left: 1rem; }
}
.detail-list { margin: 1.5rem 0; padding: 0; list-style: none; }
.detail-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.form .field--full { grid-column: 1 / -1; }
.field { display: grid; gap: .38rem; }
.field-full { grid-column: 1 / -1; }
.form-wrap { display: block; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: .45rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-title { color: #bdb6aa; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; inset: 89px 0 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin: 0; padding: 2rem 1.5rem; background: var(--ivory); transform: translateX(100%); transition: transform .25s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a::after { display: none; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card { border-bottom: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .header-inner, .section, .portfolio-section, .details-grid, .form-section, .about-story, .page-title, .page-hero { width: min(calc(100% - 2rem), var(--content)); }
  .header-inner { min-height: 76px; }
  .site-nav { inset-block-start: 77px; }
  .section, .portfolio-section, .details-grid, .form-section, .about-story { padding-block: 4.5rem; }
  .hero-panel { width: min(calc(100% - 2rem), var(--content)); padding-block: 5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .page-title, .page-hero { padding-block: 4.5rem; }
  .page-hero-small { padding-bottom: 2rem; }
  .catalog-section { padding-top: 2rem; }
  .page-title, .page-hero-small { margin-inline: auto; }
  .page-hero, .split-feature, .product-detail, .about-columns, .form-section, .contact-layout { grid-template-columns: 1fr; }
  .page-hero > div:last-child { min-height: 90vw; order: -1; }
  .page-hero-small > div:last-child { min-height: 0; order: initial; }
  .product-feature img.catalog-artwork-image { width: 100%; max-height: none; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .art-grid, .product-grid, .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .art-card-wide, .gallery-item.wide { grid-column: auto; }
  .art-card-wide .placeholder-art, .gallery-item.wide .placeholder-art { aspect-ratio: 4 / 5; }
  .split-feature > .placeholder-art { min-height: 95vw; }
  .split-reverse > .placeholder-art { order: 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; gap: 1px; }
  .product-detail:nth-child(even) > .placeholder-art { order: 0; }
  .product-detail > .placeholder-art, .about-columns > .placeholder-art { min-height: 110vw; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .container { width: min(calc(100% - 2rem), var(--content)); }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 4.5rem 1rem; }
  .hero-art { min-height: 70vw; order: -1; }
  .grid--3, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .split, .product-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .split > img, .product-feature img { min-height: 90vw; }
  .product-feature--reverse img { order: 0; }
  .artwork-image-placeholder { min-height: 90vw; }
  .product-feature--reverse .artwork-image-placeholder { order: 0; }
}

@media (max-width: 520px) {
  h1 { font-size: 3rem; }
  .button-row .button { width: 100%; }
  .category-grid, .art-grid, .product-grid, .masonry-grid, .form-grid, .footer-main { grid-template-columns: 1fr; }
  .category-card { min-height: 0; border-right: 0; }
  .card-number { margin-bottom: 1.5rem; }
  .process-list li { grid-template-columns: 48px 1fr; gap: .8rem; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 0; }
  .grid--3, .grid-3, .grid-4, .quote-grid, .form { grid-template-columns: 1fr; }
  .form .field--full, .field-full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Compatibility styles for the inventory, prints, about, and contact templates. */
.nav-wrap { display: flex; min-height: 82px; align-items: center; gap: 28px; }
.nav-wrap .site-nav { margin-left: auto; }
.section-paper { background: var(--paper); }
.section-stone { background: var(--stone); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.button-secondary { background: transparent; color: var(--clay-dark); }
.art-card-body, .card-copy { padding: 24px; background: var(--paper); }
.art-card-body h3, .card-copy h3 { margin-bottom: 5px; }
.art-card .button { margin-top: 16px; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-form-wrap { padding: clamp(28px, 5vw, 55px); border: 1px solid var(--line); background: var(--ivory); }
.contact-form-wrap .form-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.contact-form-wrap label { display: flex; flex-direction: column; }
.contact-form-wrap textarea { min-height: 160px; }
.form-status:empty { display: none; }
.form-status:not(:empty) { margin: 1.25rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--clay-dark); color: var(--clay-dark); background: #f4e5dd; font-size: .95rem; font-weight: 600; }
.form-status.is-success { border-color: #497656; color: #244d31; background: #e4f0e6; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.footer-title { margin-bottom: 12px; color: #d9c5aa; font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,.72); font-size: .86rem; text-decoration: none; }

@media (max-width: 900px) {
  .nav-wrap { min-height: 74px; }
  .nav-wrap .site-nav { margin-left: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .contact-form-wrap .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
}

/* Home and shared-template compatibility. */
body { overflow-x: hidden; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hero {
  display: grid;
  min-height: calc(100vh - 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(3rem, 7vw, 7rem);
  background: var(--paper);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero-copy h1 { max-width: 720px; }
.hero-art { position: relative; min-width: 0; }
.hero-art::after { display: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.type-card { padding: 2rem; border: 1px solid var(--line); background: rgba(255,253,248,.55); }
.steps { display: grid; margin: 2rem 0 0; padding: 0; grid-template-columns: repeat(5, 1fr); list-style: none; }
.steps li { padding: 1.5rem; border-top: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 2rem; color: var(--clay); font: 2rem var(--serif); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: .45rem; color: #bdb6aa; }

.menu-toggle > span:not(.sr-only) { position: relative; margin: 0; }
.menu-toggle > span:not(.sr-only)::before,
.menu-toggle > span:not(.sr-only)::after {
  position: absolute;
  left: 0;
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}
.menu-toggle > span:not(.sr-only)::before { top: -7px; }
.menu-toggle > span:not(.sr-only)::after { top: 7px; }
.menu-toggle[aria-expanded="true"] > span:not(.sr-only) { background: transparent; }
.menu-toggle[aria-expanded="true"] > span:not(.sr-only)::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:not(.sr-only)::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 780px) {
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 4.5rem 1rem; }
  .hero-copy h1 { overflow-wrap: anywhere; font-size: clamp(2.9rem, 13vw, 4.4rem); }
  .hero-art { min-height: 58vh; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; }
  .step-number { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .hero-copy { padding: 3.5rem 1rem 4rem; }
  .hero-copy .lead { font-size: 1.12rem; }
  .hero-art { min-height: 52vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* Shared layouts used by the current seven-page build. */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.button-row--center { justify-content: center; }
.art-card img, .product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.art-card--portrait img { aspect-ratio: 4 / 5; }
.art-card figcaption { padding: 1rem 0 1.5rem; }
.product-card { background: var(--paper); }
.price { margin: .65rem 0 1rem; color: var(--clay-dark); font: 1.55rem var(--serif); }
.detail-list { display: grid; margin: 2rem 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); list-style: none; }
.detail-list li { padding: 2rem; background: var(--paper); }
.detail-list strong { display: block; margin-bottom: .4rem; font: 600 1.5rem var(--serif); }
.form-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 7rem); border: 0; background: transparent; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem; border: 1px solid #b9b0a4; background: var(--paper); color: var(--ink); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .84rem; }
.product-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.product-feature img { width: 100%; max-height: 720px; object-fit: cover; }
.product-feature--reverse img { order: 2; }
.about-intro img { width: 100%; max-height: 760px; object-fit: cover; }
.artist-statement .lede + .lede { margin-top: 1.25rem; }
.artist-quote { margin-top: 2.25rem; padding: 1.5rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.artist-quote p { margin: 0; }
.artist-quote cite { margin-top: 1rem; }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-catalog-image { height: auto; }
  .portfolio-catalog-grid { columns: 2; }
}

@media (max-width: 760px) {
  .grid--3, .grid--4, .detail-list, .form-wrap, .form, .product-feature { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .product-feature--reverse img { order: initial; }
  .product-feature--reverse .artwork-image-placeholder { order: initial; }
}

@media (max-width: 620px) {
  .print-catalog-toolbar { align-items: stretch; flex-direction: column; gap: .75rem; }
  .print-sort { align-items: stretch; flex-direction: column; gap: .35rem; }
  .print-sort select { width: 100%; }
  .print-catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 4.5rem; }
  .print-catalog-image { height: auto; }
  .portfolio-catalog-grid { columns: 1; }
}

/* Keep the mobile menu visually separate from page content. */
@media (max-width: 1080px) {
  .site-header { background: #f5f0e7; backdrop-filter: none; }
  .header-inner, .nav-wrap {
    min-height: 76px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: .75rem;
  }
  .site-header .menu-toggle {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    place-items: center;
    justify-self: start;
  }
  .site-header .brand {
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    text-align: center;
  }
  .site-nav {
    inset: 77px 0 0;
    z-index: 200;
    width: 100%;
    min-height: calc(100vh - 76px);
    overflow-y: auto;
    color: var(--ink);
    background-color: #f5f0e7;
    box-shadow: 0 18px 30px rgba(41, 39, 33, .16);
    isolation: isolate;
    transform: translateX(-100%);
  }
  .site-nav a { color: var(--ink); }
  .site-nav a.button { color: #fff; background: var(--clay-dark); }
}

@media (max-width: 420px) {
  .site-header .brand { font-size: 1.25rem; }
}

/* Compact cart UI keeps purchase controls secondary to the artwork. */
.artwork-cart-button { margin-top: 1rem; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; align-items: center; margin-top: 1.2rem; }
.catalog-actions .text-link { font-size: .8rem; }
.cart-toggle[hidden], .mini-cart[hidden], .cart-toast[hidden] { display: none !important; }
.cart-toggle {
  position: fixed;
  top: 100px;
  right: max(1rem, calc((100vw - var(--content)) / 2));
  z-index: 260;
  min-height: 40px;
  border: 1px solid var(--clay-dark);
  padding: .55rem .8rem;
  color: var(--ink);
  background: var(--paper);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(41, 39, 33, .12);
}
.cart-toggle:hover { color: white; background: var(--clay-dark); }
body[data-checkout-page] .cart-toggle { display: none !important; }
.cart-toggle__count { display: none; }
.mini-cart {
  position: fixed;
  top: 150px;
  right: max(1rem, calc((100vw - var(--content)) / 2));
  z-index: 255;
  width: min(calc(100% - 2rem), 370px);
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  border: 1px solid var(--line);
  padding: 1rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(41, 39, 33, .2);
}
.mini-cart__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.mini-cart__heading h2 { margin: 0; font-size: 1.7rem; letter-spacing: 0; }
.mini-cart__close, .mini-cart__remove { display: grid; border: 0; padding: 0; color: var(--muted); background: transparent; place-items: center; cursor: pointer; }
.mini-cart__close { width: 36px; height: 36px; font-size: 1.5rem; }
.mini-cart__items { margin: 0; padding: 0; list-style: none; }
.mini-cart__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: .7rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.mini-cart__items li > div { min-width: 0; }
.mini-cart__items strong, .mini-cart__items span { display: block; overflow-wrap: anywhere; }
.mini-cart__items strong { font: 600 1.08rem/1.2 var(--serif); }
.mini-cart__items span { margin-top: .18rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.mini-cart__quantity { display: inline-grid; grid-template-columns: 30px minmax(30px, auto) 30px; align-items: center; margin-top: .65rem; border: 1px solid var(--line); }
.mini-cart__quantity button { width: 30px; height: 30px; border: 0; padding: 0; color: var(--ink); background: transparent; font: 600 1rem/1 var(--sans); cursor: pointer; }
.mini-cart__quantity button:hover:not(:disabled) { color: white; background: var(--clay-dark); }
.mini-cart__quantity button:disabled { color: var(--line); cursor: not-allowed; }
.mini-cart__quantity span { min-width: 30px; margin: 0; color: var(--ink); text-align: center; font-size: .76rem; font-weight: 700; }
.mini-cart__items b { font-size: .74rem; white-space: nowrap; }
.mini-cart__remove { width: 28px; height: 28px; font-size: 1.15rem; }
.mini-cart__close:hover, .mini-cart__remove:hover { color: var(--ink); }
.mini-cart__footer { padding-top: 1rem; }
.mini-cart__footer p { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.mini-cart__footer p span { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.mini-cart__footer .button { width: 100%; }
.cart-toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 400; margin: 0; padding: .75rem 1rem; color: white; background: var(--ink); font-size: .78rem; box-shadow: 0 8px 24px rgba(41, 39, 33, .22); }
.checkout-heading { padding-bottom: 2rem; }
.checkout-section { padding-top: 0; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.checkout-form { display: grid; gap: 2.5rem; }
.checkout-fields { min-width: 0; margin: 0; border: 0; padding: 0; }
.checkout-fields legend { width: 100%; margin-bottom: 1.1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); font: 600 1.65rem/1.15 var(--serif); }
.checkout-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.checkout-form [hidden] { display: none !important; }
.checkout-field-grid label { display: grid; min-width: 0; gap: .42rem; font-size: .78rem; font-weight: 700; }
.checkout-field-grid label span small { color: var(--muted); font-weight: 400; }
.checkout-field-grid input, .checkout-field-grid select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 0; padding: .7rem .75rem; color: var(--ink); background: #fff; font: inherit; }
.checkout-field-grid input:focus, .checkout-field-grid select:focus { outline: 2px solid var(--clay-dark); outline-offset: 2px; }
.checkout-field-full { grid-column: 1 / -1; }
.checkout-note { margin: -.45rem 0 1rem; color: var(--muted); font-size: .78rem; }
.checkout-billing-toggle { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; font-size: .82rem; font-weight: 700; }
.checkout-billing-toggle input { width: 18px; height: 18px; accent-color: var(--clay-dark); }
.checkout-statement-note { margin: 0 0 1rem; color: var(--ink); font-size: .84rem; }
.checkout-fastlane-entry { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1rem; }
.checkout-fastlane-entry .text-link { border: 0; padding: 0; background: transparent; cursor: pointer; }
.checkout-delivery-options { display: grid; gap: .75rem; }
.checkout-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; border: 1px solid var(--line); padding: 1rem; cursor: pointer; }
.checkout-choice:has(input:checked) { border-color: var(--clay-dark); background: rgba(166, 93, 61, .055); }
.checkout-choice input { margin-top: .25rem; accent-color: var(--clay-dark); }
.checkout-choice strong, .checkout-choice small { display: block; }
.checkout-choice small { margin-top: .25rem; color: var(--muted); line-height: 1.5; }
.checkout-submit { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.checkout-submit p { max-width: 690px; margin-bottom: 1rem; font-size: .84rem; }
.checkout-submit .button:disabled { opacity: .5; cursor: wait; }
.checkout-payment { display: grid; gap: 1rem; }
.checkout-payment > legend { margin-bottom: 0; }
.checkout-payment-loading { border: 1px solid var(--line); padding: 1rem; color: var(--muted); font-size: .82rem; }
.checkout-wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.checkout-wallet-grid > * { min-width: 0; min-height: 44px; }
.checkout-wallet-grid paypal-button, .checkout-wallet-grid venmo-button { display: block; width: 100%; }
.checkout-wallet-grid apple-pay-button { display: block; width: 100%; height: 46px; --apple-pay-button-width: 100%; --apple-pay-button-height: 46px; --apple-pay-button-border-radius: 0; }
.checkout-payment-divider { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.checkout-payment-divider::before, .checkout-payment-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.checkout-card-option, .checkout-fastlane-option { border: 1px solid var(--line); padding: 1rem; }
.checkout-card-option h2, .checkout-fastlane-option h2 { margin: 0 0 1rem; font-size: 1.3rem; }
.checkout-card-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.checkout-card-fields label { display: grid; gap: .42rem; font-size: .78rem; font-weight: 700; }
.checkout-card-fields .checkout-field-full { grid-column: 1 / -1; }
.checkout-hosted-field { display: block; width: 100%; height: 48px; border: 1px solid var(--line); padding: .65rem .75rem; background: #fff; }
.checkout-pay-button { width: 100%; margin-top: 1rem; }
.checkout-pay-button:disabled { opacity: .5; cursor: wait; }
.checkout-payment-status { min-height: 1.3em; margin: 0; color: #9b352d; font-size: .8rem; }
.checkout-secure-note, .checkout-policy-note { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.checkout-form.is-payment-busy { cursor: wait; }
.checkout-error { border-left: 4px solid #9b352d; padding: 1rem 1.2rem; background: #fff4f2; }
.checkout-error ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.checkout-summary { position: sticky; top: 100px; border: 1px solid var(--line); padding: 1.25rem; background: var(--paper); }
.checkout-summary-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.checkout-summary-heading h2 { margin: 0; font-size: 1.65rem; }
.checkout-edit-cart { border: 0; padding: 0; background: transparent; cursor: pointer; }
.checkout-summary-items { margin: 0; padding: 0; list-style: none; }
.checkout-summary-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .65rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.checkout-summary-items li div { min-width: 0; }
.checkout-summary-items strong, .checkout-summary-items span { display: block; overflow-wrap: anywhere; }
.checkout-summary-items div > strong { font: 600 1.05rem/1.2 var(--serif); }
.checkout-summary-items div > span { margin-top: .2rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.checkout-summary-items li > span, .checkout-summary-items b { font-size: .72rem; white-space: nowrap; }
.checkout-totals { padding-top: .8rem; }
.checkout-total-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .78rem; }
.checkout-total-row--grand { margin-top: .5rem; border-top: 1px solid var(--line); padding-top: .9rem; font-size: 1rem; }
.checkout-summary-status { margin: .8rem 0 0; color: #9b352d; font-size: .78rem; }
.checkout-confirmation { min-height: 55vh; }

@media (max-width: 1080px) {
  body.cart-open { overflow: hidden; }
  .site-header .cart-toggle {
    position: relative;
    inset: auto;
    display: grid;
    width: 40px;
    min-height: 40px;
    grid-column: 3;
    grid-row: 1;
    padding: 0;
    place-items: center;
    justify-self: end;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header .cart-toggle::before { content: "Cart"; font-size: .64rem; }
  .site-header .cart-toggle:hover { color: var(--ink); background: transparent; }
  .cart-toggle [data-cart-toggle-summary] { display: none; }
  .cart-toggle__count {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding-inline: 4px;
    color: white;
    background: var(--clay-dark);
    place-items: center;
    font-size: .62rem;
  }
  .mini-cart {
    top: 76px;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: none;
    border-width: 1px 0 0;
    padding: 1.25rem 1rem 2rem;
    box-shadow: none;
  }
  .mini-cart__heading, .mini-cart__items, .mini-cart__footer { width: min(100%, 620px); margin-inline: auto; }
  .cart-toast { right: 1rem; left: 1rem; text-align: center; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; grid-row: 1; }
}

@media (max-width: 600px) {
  .checkout-field-grid { grid-template-columns: 1fr; }
  .checkout-field-full { grid-column: auto; }
  .checkout-summary-items li { grid-template-columns: minmax(0, 1fr) auto; }
  .checkout-summary-items li > span { grid-column: 1; }
  .checkout-summary-items li > b { grid-column: 2; grid-row: 1; }
  .checkout-wallet-grid, .checkout-card-fields { grid-template-columns: 1fr; }
  .checkout-card-fields .checkout-field-full { grid-column: auto; }
}

/* Full-image viewer for artwork that is cropped in page layouts. */
body.lightbox-open { overflow: hidden; }
main img[data-lightbox-image] { cursor: zoom-in; }
main img[data-lightbox-image]:focus-visible { outline: 4px solid #c57d5e; outline-offset: 4px; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18, 17, 15, .94);
  cursor: zoom-out;
}
.image-lightbox[hidden] { display: none; }
.image-lightbox__dialog {
  position: relative;
  display: grid;
  max-width: 100%;
  max-height: 100%;
  place-items: center;
  gap: .75rem;
  cursor: default;
}
.image-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1600px);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
}
.image-lightbox__caption {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: .86rem;
  text-align: center;
}
.image-lightbox__close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 17, 15, .72);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.image-lightbox__close:hover { background: #704331; }
