:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #15161a;
  --muted: #4f5157;
  --line: #e4e2de;
  --panel: #ecebe7;
  --accent: #1e3bd6;
  --on-accent: #fff;
  --focus: #715600;
  font: 100%/1.55 system-ui, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17181c;
  --ink: #f1f1f3;
  --muted: #c6c7ce;
  --line: #494a52;
  --panel: #26272d;
  --accent: #a8baff;
  --on-accent: #171a30;
  --focus: #ffd76c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #17181c;
    --ink: #f1f1f3;
    --muted: #c6c7ce;
    --line: #494a52;
    --panel: #26272d;
    --accent: #a8baff;
    --on-accent: #171a30;
    --focus: #ffd76c;
  }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(100% - 2.25rem, 78rem); margin-inline: auto; }
.skip { position: absolute; top: .4rem; left: .5rem; z-index: 1; background: var(--paper); padding: .6rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header .wrap { min-height: 4.1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem; padding-block: .5rem; }
.brand { font-weight: 750; letter-spacing: -.035em; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
#theme { background: transparent; border: 1px solid var(--line); border-radius: .3rem; inline-size: 2.75rem; block-size: 2.75rem; display: inline-grid; place-items: center; padding: 0; color: var(--ink); cursor: pointer; font: inherit; font-size: 1.5rem; line-height: 1; }
main { min-height: 72vh; }
h1, h2, p, figure { margin: 0; }
p { color: var(--muted); }
h1 { max-width: 23ch; font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 650; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
.breadcrumbs ol, .tags, .swatches { display: flex; flex-wrap: wrap; gap: .35rem .75rem; list-style: none; padding: 0; }
.breadcrumbs ol { margin: 1rem 0 1.4rem; color: var(--muted); font-size: .875rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .65rem; }
.hero { display: grid; gap: 1.4rem; align-items: center; padding-block: clamp(2rem, 6vw, 4.8rem) 1.4rem; }
.hero p { max-width: 41ch; margin-block: 1rem 1.4rem; font-size: 1.125rem; }
.hero figure a { display: block; }
figcaption { color: var(--muted); margin-top: .45rem; font-size: .875rem; }
figure img, .art-card img { display: block; width: 100%; height: auto; background: var(--panel); }
.primary { display: inline-flex; min-height: 2.7rem; padding: .67rem .95rem; align-items: center; border-radius: .3rem; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 650; }
.section-nav { display: flex; flex-wrap: wrap; gap: .5rem .65rem; margin-block: 1.2rem; }
.section-nav a { display: inline-flex; min-height: 2.6rem; padding: .5rem .8rem; align-items: center; border: 1px solid var(--line); border-radius: .35rem; text-decoration: none; }
.section-nav a[aria-current], .section-nav a:hover { color: var(--ink); background: var(--panel); }
.home-works, .secondary { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.4rem; }
.art-grid, .filter-grid { list-style: none; display: grid; gap: 1.1rem; padding: 0; margin: 1rem 0; }
.art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.art-card-link { display: block; color: var(--ink); text-decoration: none; }
.art-card-link:hover h2 { text-decoration: underline; }
.art-card h2 { font-size: 1rem; letter-spacing: 0; margin-top: .5rem; overflow-wrap: anywhere; }
.art-card p { font-size: .875rem; }
.intro { margin-top: .8rem; }
.small { font-size: .9rem; }
.results-count { margin-top: 1.15rem; }
.pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.4rem 0; }
.pager a, .pager span { min-width: 2.4rem; min-height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .3rem; }
.pager span { background: var(--panel); }
.filter-grid a { min-height: 3.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding: .85rem; border: 1px solid var(--line); border-radius: .3rem; text-decoration: none; }
.filter-grid a:hover { background: var(--panel); }
.filter-grid a span { font-size: .875rem; color: var(--muted); }
.detail-grid { display: grid; align-items: start; gap: 1.35rem; }
.detail-copy h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.detail-copy dl { margin-block: 1.2rem; }
.detail-copy dl div { display: grid; gap: .2rem .8rem; grid-template-columns: minmax(6rem, 34%) 1fr; padding-block: .45rem; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: .9rem; }
dd { margin: 0; overflow-wrap: anywhere; }
.detail-copy p { margin-top: .6rem; }
.description { margin-bottom: 1rem; }
.tags { gap: .4rem; }
.tags li { border: 1px solid var(--line); border-radius: .3rem; padding: .25rem .5rem; font-size: .875rem; }
.swatches { gap: .65rem; }
.swatches li { display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; color: var(--muted); }
.swatches i, .dot { display: block; background: var(--swatch); border: 1px solid var(--line); border-radius: .2rem; }
.swatches i { width: 3.2rem; height: 1.75rem; }
.dot { width: 2.75rem; height: 2.75rem; flex: none; }
.secondary > p { margin-block: .6rem; max-width: 72ch; }
.print-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 15rem),1fr)); gap: 1rem; margin-block: 1rem; }
.print-card { border: 1px solid var(--line); padding: .75rem; max-width: 25rem; }
.print-sheet { background: white; position: relative; width: 100%; box-shadow: 0 1px 4px #0002; }
.print-sheet img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: block; width: var(--art-width); height: var(--art-height); object-fit: contain; }
.print-card h3 { font-size: 1rem; margin: .6rem 0 .15rem; }
.print-card h3 small { display: block; font-weight: normal; color: var(--muted); }
.print-card .primary { margin-top: .65rem; }
.print-featured { max-width: none; border: 0; padding: 0; margin-top: .75rem; }
.print-label { font-weight: 600; font-size: .9rem; margin-top: .6rem; }
.print-alternatives { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin-block: 1rem; align-items: start; }
.print-alternatives .print-card { padding: .5rem; min-width: 0; font-size: .85rem; }
.print-alternatives .primary { font-size: .8rem; padding: .5rem; }
.detail-figure > section > p { margin-block: .65rem; }
@media (max-width: 31rem) { .print-alternatives { grid-template-columns: 1fr; } }
.print-more { margin-block: 1rem; }
.print-more summary { cursor: pointer; font-weight: 600; padding: .65rem 0; }
table { width: 100%; max-width: 45rem; border-collapse: collapse; margin: .8rem 0 0; font-size: .875rem; }
table th, table td { border-bottom: 1px solid var(--line); text-align: left; padding: .5rem .35rem; vertical-align: top; }
table small { display: block; font-size: .8125rem; color: var(--muted); }
footer { margin-top: 3rem; border-top: 1px solid var(--line); padding: 1.2rem 0; color: var(--muted); font-size: .875rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .6rem; }
.legal-page { max-width: 70ch; }
.legal-page h1 { margin-bottom: 1.25rem; }
.legal-page h2 { margin-top: 1.5rem; margin-bottom: .5rem; }
@media (min-width: 42rem) {
  .hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); }
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 57rem) {
  .detail-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; }
}

/* Retail gallery presentation; all mockups use existing artwork media. */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.main-nav { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; align-items: center; font-size: .92rem; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--accent); }
.primary, .secondary-button, #theme, .section-nav a { border-radius: 999px; }
.primary { padding: .85rem 1.3rem; justify-content: center; }
.secondary-button { display: inline-flex; align-items: center; border: 1px solid var(--line); padding: .75rem 1.2rem; text-decoration: none; color: var(--ink); }
.hero { align-items: end; padding-block: clamp(2rem,5vw,3.5rem) 2.5rem; }
.hero h1 { letter-spacing: -.04em; max-width: 20ch; }
.hero p { margin-top: 0; max-width: 42ch; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.showcase { background: var(--panel); padding: clamp(1.5rem,5vw,4rem); display: grid; gap: 1.5rem; align-items: center; }
.showcase figure { min-width: 0; }
.showcase-frame { display: block; background: white; padding: 5%; border: .5rem solid #302c29; box-shadow: 0 12px 22px -10px #0007; }
.showcase-frame img { background: white; }
.showcase .frame-1 { border-color: #15161a; }
.showcase .frame-2 { border-color: #b08a5a; }
.showcase figcaption strong { color: var(--ink); }
.home-split { display: grid; gap: 2rem; padding-block: 3rem 1rem; align-items: start; }
.home-split h2, .home-works h2, .how h2 { font-size: clamp(1.5rem,3vw,2.15rem); }
.home-split p { margin-block: .8rem; }
.quality-example { border: 1px solid var(--line); border-radius: .5rem; padding: 1.25rem; }
.quality-example-row { border-top: 1px solid var(--line); padding: .7rem 0; display: grid; grid-template-columns: 1fr auto auto; gap: .65rem; align-items: center; font-size: .9rem; }
.quality { display: inline-block; text-align: center; border-radius: 999px; padding: .16rem .6rem; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.quality.excellent { color: #1d6b34; background: #dff3e4; }
.quality.good { color: #1e3bd6; background: #e3e8ff; }
.quality.decent { color: #7a4f00; background: #fbeed3; }
.color-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.color-links a { display: flex; flex-direction: column; align-items: center; width: 5rem; text-align: center; font-size: .8rem; text-decoration: none; color: var(--ink); }
.color-links i { width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--swatch); border: 1px solid var(--line); margin-bottom: .4rem; }
.art-tile { aspect-ratio: 1; display: grid; grid-template: minmax(0,1fr)/minmax(0,1fr); place-items: center; padding: 8%; background: var(--panel); overflow: hidden; }
.art-tile img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 8px 15px -7px #0006; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.how { background: #15161a; color: #fff; margin-top: 3rem; padding: 2rem clamp(1rem,4vw,3rem); }
.how ol { list-style: none; display: grid; gap: 1rem; padding: 0; }
.how li { border-top: 2px solid #fff; padding-top: .7rem; }
.how p { color: #c9cad0; }
.detail-copy h1 { letter-spacing: -.035em; }
.artist-line { font-size: 1.1rem; }
.license-pill { display: inline-block; border-radius: 999px; background: #e3e8ff; color: #1e3bd6; padding: .25rem .7rem; font-size: .82rem; font-weight: 600; }
.preview-toolbar { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: space-between; margin-bottom: .75rem; }
.view-switch, .frame-switch { display: flex; flex-wrap: wrap; gap: .4rem; }
.preview-toolbar button { font: inherit; font-size: .85rem; cursor: pointer; background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: .5rem .75rem; }
.preview-toolbar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.print-stage { position: relative; aspect-ratio: 4/3; background: #ecebe7; display: grid; place-items: center; overflow: hidden; border-radius: .25rem; }
.preview-paper { position: relative; width: var(--close-width); aspect-ratio: var(--paper-ratio); background: white; box-shadow: 0 14px 24px -12px #0008; }
.preview-paper img { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: var(--art-width); height: var(--art-height); object-fit: contain; }
.print-stage[data-frame="black"] .preview-paper { outline: .35rem solid #15161a; }
.print-stage[data-frame="oak"] .preview-paper { outline: .35rem solid #b08a5a; }
.room-sofa { display: none; }
.print-stage[data-view="room"] { background: linear-gradient(#e7e2da 0 82%,#c9bba8 82%); }
.print-stage[data-view="room"] .preview-paper { position: absolute; left: 50%; bottom: 45%; transform: translateX(-50%); width: var(--room-width); }
.print-stage[data-view="room"] .room-sofa { display: block; position: absolute; left: 16.6667%; bottom: 8%; width: 66.6667%; }
.inspection-controls { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .5rem; }
.inspection-controls button { font: inherit; font-size: .85rem; cursor: pointer; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .75rem; }
.inspection-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.inspection-viewport { aspect-ratio: 4/3; overflow: auto; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: .25rem; margin-block: .5rem; overscroll-behavior: contain; }
.inspection-image-wrap { position: relative; display: flex; width: max-content; height: max-content; min-width: 100%; min-height: 100%; }
.inspection-image-wrap img { display: block; flex: none; margin: auto; max-width: none; max-height: none; cursor: grab; user-select: none; }
.inspection-viewport.dragging img { cursor: grabbing; }
.inspection-warning { border-left: 3px solid var(--accent); padding-left: .7rem; margin-top: .65rem; }
.detail-figure > p { margin-top: .7rem; }
.size-picker { margin-block: 1.5rem; }
.size-picker h2 { font-size: 1.05rem; }
.size-picker fieldset { margin: .7rem 0; padding: 0; border: 0; min-width: 0; }
.size-row { border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .4rem; }
.size-row:first-of-type { border-top: 1px solid var(--line); }
.size-row label { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: .6rem; align-items: center; flex: 1; padding: .65rem .35rem; cursor: pointer; font-size: .9rem; }
.size-row label:has(input:checked) { background: var(--panel); }
.size-row input { accent-color: var(--accent); margin: 0; }
[data-print-picker]:not([data-interactive]) .size-row input { display: none; }
[data-print-picker]:not([data-interactive]) .size-row label { grid-template-columns: minmax(0,1fr) auto auto; cursor: default; }
.size-row small { display: block; font-size: .76rem; color: var(--muted); }
.size-ppi { font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-order { font-size: .82rem; }
.order-button { display: flex; width: 100%; margin-top: 1.1rem; }
.download-link { font-weight: 600; }
.about-work { display: grid; gap: 1.5rem; }
.about-work h2 { margin-bottom: .9rem; }
.about-work dl { margin: 0; }
.about-work dl div { display: grid; grid-template-columns: minmax(7rem,35%) 1fr; gap: .5rem; padding-block: .35rem; }
.about-work p { margin-top: .7rem; }
@media (min-width: 42rem) {
  .hero { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr 1.8fr .8fr; }
  .home-split, .about-work { grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
  .how ol { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 27rem) {
  .size-row label { gap: .3rem; font-size: .8rem; }
  .size-row .quality { padding-inline: .35rem; font-size: .7rem; }
}
