/* Mirrors Fine Art. A gallery wall: the photographs carry the colour,
   the page stays quiet around them. */
:root {
  --paper: #faf9f6;
  --panel: #f1efea;
  --ink: #161513;
  --soft: #5f5b54;
  --line: #e3dfd7;
  --btn: #161513;
  --btn-ink: #faf9f6;
  /* one family: Archivo, condensed and light for display, normal width for text */
  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121110; --panel: #1c1b19; --ink: #efece6; --soft: #a39e95; --line: #2c2a27; --btn: #efece6; --btn-ink: #121110; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; font-stretch: 68%; letter-spacing: 0; margin: 0; text-wrap: balance; line-height: 1.02; }
em { font-style: normal; }
.mark, .tn, .rn, .where, .price { font-stretch: 68%; }
.eyebrow, .label { font-size: 14px; letter-spacing: .02em; color: var(--soft); margin: 0; }
[hidden] { display: none !important; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.mark { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: .01em; text-decoration: none; line-height: 1; }
.mark em { color: var(--soft); font-weight: 300; }
nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
nav a { text-decoration: none; color: var(--soft); }
nav a:hover { color: var(--ink); }
nav .etsy { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* buttons */
.btn { font-weight: 400; display: inline-block; background: var(--btn); color: var(--btn-ink); text-decoration: none; padding: 14px 28px; font-size: 16px; letter-spacing: .02em; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn.light { background: #faf9f6; color: #161513; }

/* home */
.hero { position: relative; overflow: hidden; }
.hero img { width: 100%; height: min(78vh, 720px); object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55)); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px 56px; color: #faf9f6; display: grid; gap: 18px; justify-items: start; }
.hero-text .eyebrow { color: rgba(250,249,246,.8); }
.hero-text h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 200; line-height: 1.04; }
.intro { max-width: var(--max); margin: 0 auto; padding: 96px 24px 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; }
.intro h2 { font-size: 44px; }
.intro p { margin: 0 0 16px; font-size: 18px; color: var(--soft); max-width: 62ch; }
.ranges { max-width: var(--max); margin: 0 auto; padding: 0 24px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.range { text-decoration: none; display: grid; gap: 4px; }
.range .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); margin-bottom: 10px; }
.range img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.range:hover img { transform: scale(1.03); }
.rn { font-family: var(--serif); font-size: 30px; font-weight: 300; }
.rc { font-size: 13px; color: var(--soft); }
.newest { max-width: var(--max); margin: 0 auto; padding: 0 24px 96px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 28px; }
.sec-head h2 { font-size: 40px; }
.sec-head a { font-size: 14px; color: var(--soft); }
.gallery { max-width: var(--max); margin: 0 auto; padding: 0 24px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: grid; gap: 10px; }
.gallery figcaption { font-size: 13px; color: var(--soft); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 40px 24px; }
.tile { text-decoration: none; display: grid; gap: 4px; align-content: start; }
.tile .ph { aspect-ratio: 1; overflow: hidden; background: var(--panel); margin-bottom: 10px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tn { font-family: var(--serif); font-size: 21px; font-weight: 300; line-height: 1.2; }
.tm { font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }

/* shop */
.shop { max-width: var(--max); margin: 0 auto; padding: 64px 24px 96px; }
.shop-head { display: grid; gap: 14px; margin-bottom: 40px; }
.shop-head h1 { font-size: clamp(48px, 7vw, 80px); line-height: 1; }
.shop-head p { margin: 0; color: var(--soft); max-width: 60ch; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips button { font: 500 14px var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.chips button span { color: var(--soft); margin-left: 4px; }
.chips button.on { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.chips button.on span { color: inherit; opacity: .7; }

/* product */
.product { max-width: var(--max); margin: 0 auto; padding: 28px 24px 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--soft); margin: 0 0 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.pgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.viewer { position: sticky; top: 84px; display: grid; gap: 14px; min-width: 0; }
.stage { position: relative; background: var(--panel); aspect-ratio: 1; overflow: hidden; }
.zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: contain; }
.nav { font-family: var(--sans); position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
       background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
       opacity: 0; transition: opacity .2s; box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.prev { left: 14px; } .next { right: 14px; }
.stage:hover .nav, .nav:focus-visible { opacity: 1; }
.count { position: absolute; right: 14px; bottom: 12px; font-size: 12px; letter-spacing: .08em; color: var(--soft);
         background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.count b { font-weight: 600; color: var(--ink); }
.strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.strip::-webkit-scrollbar { display: none; }
.strip button { flex: 0 0 76px; height: 76px; padding: 0; border: 0; background: var(--panel); cursor: pointer; opacity: .55; transition: opacity .2s; outline-offset: 2px; }
.strip button img { width: 100%; height: 100%; object-fit: cover; }
.strip button:hover { opacity: .85; }
.strip button.on { opacity: 1; outline: 1px solid var(--ink); }
.buy { display: grid; gap: 14px; min-width: 0; padding-top: 6px; }
.buy h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1; }
.where { margin: 0; color: var(--soft); font-size: 22px; font-weight: 300; }
.price { font-size: 22px; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.btn.wide { display: block; text-align: center; padding: 17px 24px; }
.notes { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--soft); }
.notes li::before { content: "✓"; margin-right: 6px; color: var(--ink); }
.story { border-top: 1px solid var(--line); padding-top: 22px; }
.story p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--ink); opacity: .82; }
.story p:first-child { font-size: 21px; line-height: 1.45; font-weight: 300; opacity: 1; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 16px; letter-spacing: .01em; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--soft); }
.acc details[open] summary::after { content: "–"; }
.acc details > div { padding: 0 0 16px; color: var(--soft); font-size: 15px; }
.acc details p { margin: 0 0 10px; }
.acc details ul { margin: 0 0 10px; padding-left: 18px; }
.more { margin-top: 112px; }
.more .sec-head h2 { font-size: 36px; }
dialog#lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog#lb::backdrop { background: rgba(12,12,11,.92); }
dialog#lb img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lb-close { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }

/* prose */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h1 { font-size: 64px; margin-bottom: 8px; }
.prose h2 { font-size: 30px; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--soft); }
.muted { font-size: 14px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--panel); }
.cols { max-width: var(--max); margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.cols > div { display: grid; gap: 8px; align-content: start; }
.cols p { margin: 0; color: var(--soft); font-size: 14px; max-width: 46ch; }
.cols .mark { font-size: 24px; color: var(--ink); }
.cols a { font-size: 14px; color: var(--soft); text-decoration: none; }
.cols a:hover { color: var(--ink); }
.fine { max-width: var(--max); margin: 0 auto; padding: 0 24px 40px; font-size: 12px; color: var(--soft); }

@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; padding-top: 64px; }
  .pgrid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nav { opacity: 1; }
  .viewer { position: static; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
