@font-face {
  font-family: Cormorant;
  src: url(assets/cormorant-garamond-latin-wght-normal.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(assets/cormorant-garamond-latin-wght-italic.woff2) format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(assets/dm-sans-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --forest: #142a22;
  --forest-deep: #0d211a;
  --ink: #172b23;
  --muted: #4e5b54;
  --cream: #f6f4ee;
  --gold: #dec28a;
  --bronze: #735826;
  --line: #dedbd1;
  --header: 69px;
  --serif: Cormorant, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 12px); scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--header); background: #fff; color: var(--ink); font: 400 1rem/1.6 "DM Sans", system-ui, sans-serif; }
body.viewer-open { overflow: hidden; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
button, input, select { color: inherit; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: .98; }
h2 { font-size: clamp(3rem, 6vw, 5rem); }
h3 { font-size: 2rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #236b57; outline-offset: 4px; }
.hero :focus-visible, .panel-green :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.shell { width: min(100% - clamp(2.5rem, 10vw, 10rem), 82rem); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 7vw, 7rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: 8px; left: 12px; padding: .65rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 5; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: var(--header); }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font: 700 1.55rem/.84 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.brand svg { flex: none; color: var(--bronze); }
.brand small { display: block; margin-top: .4rem; font: 600 .61rem/1 "DM Sans", sans-serif; letter-spacing: .23em; }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.65rem); }
.site-header nav a, .menu { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.site-header .nav-contact, .menu { padding: 0 .9rem; border: 1px solid #a69a7d; }
.menu { display: none; background: none; }

.hero { background: var(--forest); color: var(--cream); background-image: radial-gradient(ellipse at 85% 0%, #243a2e, transparent 58%); border-bottom: 1px solid #9b8558; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(1.6rem, 5vw, 6rem); align-items: center; padding-block: clamp(3.3rem, 7vw, 7.25rem); }
.hero-copy, .hero-art { min-width: 0; }
.eyebrow { color: var(--bronze); font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow.ruled { display: flex; align-items: center; gap: .62rem; }
.eyebrow.ruled::before { content: ""; width: 1.7rem; height: 1px; flex: none; background: currentColor; }
.hero .eyebrow, .panel-green .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(3.5rem, 6.25vw, 6.8rem); font-weight: 500; letter-spacing: -.035em; margin-top: 1.2rem; }
.hero h1 em { display: block; color: var(--gold); font-weight: inherit; }
.intro { margin-top: 1.6rem; color: #e0e6dc; max-width: 37ch; font-size: clamp(1rem, 1.45vw, 1.16rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .62rem 1.05rem; border: 1px solid var(--forest); background: var(--forest); color: white; text-decoration: none; font-weight: 650; font-size: .91rem; line-height: 1.4; text-align: center; }
.button:hover { background: #284537; }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }
.button.gold:hover { background: #edd4a4; }
.button.outline { background: transparent; color: var(--forest); border-color: #a79d85; }
.button.outline:hover { background: var(--cream); }
.hero .button.outline { color: white; border-color: #a69a7d; }
.hero .button.outline:hover { background: #293e31; }
.hero-mat { padding: clamp(.4rem, 1.15vw, 1rem); border: 1px solid #8d815f; background: #ede9de; box-shadow: 0 14px 32px #0c1c16a0; }
.hero-mat img { width: 100%; height: auto; object-fit: contain; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: .65rem; color: var(--muted); font-size: .72rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.hero figcaption { color: #e1d8c4; }

.section-top { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2rem; }
.section h2 { margin-top: .55rem; }
.section-top > p { max-width: 35ch; color: var(--muted); }
.toolbar { display: flex; gap: .85rem 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center; border-block: 1px solid var(--line); padding-block: .9rem; }
.filters, .tools { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button, .tools input, .tools select { min-height: 44px; border: 1px solid #a79d85; background: white; padding: .45rem .68rem; }
.filters button { font-size: .9rem; font-weight: 600; }
.filters button:hover { background: var(--cream); }
.filters button[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.tools input { width: 12.1rem; }
.tools input::placeholder { color: var(--muted); }
.tools select { width: 100%; }
.results, .collection-note { color: var(--muted); }
.results { margin: 1rem 0; font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem clamp(1rem, 2.3vw, 2rem); }
.work { display: flex; flex-direction: column; position: relative; min-width: 0; border: 1px solid var(--line); background: white; }
.work-button { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border: 0; border-bottom: 1px solid var(--line); padding: clamp(.85rem, 2vw, 1.65rem); background: var(--cream); }
.work-button:hover { background: #eeeae0; }
.work-button img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.work-button > span { position: absolute; right: .55rem; bottom: .55rem; display: grid; place-items: center; width: 1.85rem; height: 1.85rem; background: white; border: 1px solid var(--line); }
.work-info { flex: 1; display: grid; align-content: start; gap: .35rem; padding: .95rem 1rem 1.1rem; }
.work-top { display: flex; justify-content: space-between; align-items: center; gap: .4rem; }
.work-type, .work-attribute { color: var(--muted); font-size: .93rem; }
.catalog-price { font-weight: 650; }
.sold { display: inline-block; width: fit-content; padding: .15rem .45rem; border: 1px solid #b4a68d; color: #654723; font-size: .7rem; font-weight: 750; letter-spacing: .1em; }
.no-results { text-align: center; background: var(--cream); padding: 2rem 1rem; }
.load-wrap { text-align: center; }
.load-wrap button { margin-top: 2rem; }
.collection-note { text-align: center; margin: 1.35rem auto 0; max-width: 68ch; font-size: .95rem; }

.panel-cream { background: var(--cream); }
.panel-green { background: var(--forest); color: var(--cream); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.65rem, 8vw, 8rem); }
.split h2 + p { margin-top: 1.2rem; max-width: 52ch; }
.feature-photo { min-width: 0; }
.feature-photo img { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); padding: clamp(.4rem, 1.4vw, 1rem); background: #fff; }
.portrait { width: min(100%, 22rem); justify-self: center; }
.portrait img { background: var(--cream); image-rendering: auto; }
.text-link { display: inline-block; width: fit-content; min-height: 44px; padding-block: .45rem; margin-top: .65rem; font-weight: 650; text-decoration-color: var(--bronze); }
.text-link:hover { text-decoration-thickness: 2px; }
.press { margin-top: 1.4rem; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.press h3 { margin: .35rem 0; }
.press .text-link { margin: 0; }
.faq { align-items: start; }
.faq details { border-top: 1px solid #bcb5a2; }
.faq details:last-child { border-bottom: 1px solid #bcb5a2; }
.faq summary { position: relative; list-style: none; padding: .8rem 1.8rem .8rem 0; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: .8rem; right: .18rem; color: var(--bronze); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-bottom: .9rem; }
.contact .button { margin-top: 1.1rem; }
.contact address { display: grid; gap: .4rem; padding-left: 1.4rem; border-left: 1px solid #8d815f; font-style: normal; overflow-wrap: anywhere; }
.contact .text-link { text-decoration-color: var(--gold); }
.site-footer { background: var(--forest-deep); color: var(--cream); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.5rem; padding-block: 1.6rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .15rem 1.05rem; }
.site-footer nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer p { font-size: .86rem; color: #e1d8c4; }

dialog { width: min(63rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); max-height: calc(100dvh - 2rem); border: 1px solid var(--line); padding: clamp(.85rem, 3vw, 1.85rem); background: white; color: var(--ink); }
dialog::backdrop { background: #0d201ae0; }
.modal-top, .modal-controls { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.modal-top { margin-bottom: .65rem; }
.modal-body { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.modal-image { background: var(--cream); padding: .5rem; }
.modal-image img { width: 100%; height: min(58vh, 37rem); height: min(58dvh, 37rem); object-fit: contain; }
.modal-controls { margin-top: .65rem; font-size: .9rem; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a79d85; background: white; font-size: 1.45rem; line-height: 1; }
.icon-button:not(:disabled):hover { background: var(--cream); }
.icon-button:disabled { opacity: .55; cursor: default; }
.photo-controls { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.photo-controls button { background: white; padding: .4rem .65rem; min-height: 44px; border: 1px solid #a79d85; }
.photo-controls button[aria-pressed="true"] { color: white; background: var(--forest); }
.modal-info h2 { margin: .25rem 0 .55rem; font-size: clamp(2.4rem, 5vw, 4rem); }
.modal-info .button { margin-top: .9rem; }

.archive { max-width: 49rem; min-height: 65vh; }
.archive h1 { font-size: clamp(3.2rem, 7vw, 5.5rem); margin: .55rem 0 1.8rem; }
.archive p:not(.eyebrow) { margin-block: 1rem; overflow-wrap: anywhere; }
.archive address { font-style: normal; }
.archive address p { margin-block: .5rem !important; }
.archive .article-title { margin: 1rem 0; }

@media (max-width: 950px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header: 63px; }
  .menu { display: inline-flex; }
  .site-header nav { position: absolute; top: 100%; inset-inline: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: .75rem clamp(1.25rem, 5vw, 5rem); gap: .25rem .8rem; flex-wrap: wrap; }
  .site-header nav a { padding-inline: .5rem; }
  .site-header.has-menu nav { display: none; }
  .site-header.has-menu nav.open { display: grid; }
  .site-header:not(.has-menu):has(nav) { position: absolute; }
  .site-header:not(.has-menu):has(nav) + main { margin-top: 6.25rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2.45rem 1.65rem; }
  .hero h1 { font-size: clamp(3.5rem, 10.5vw, 5.6rem); }
  .hero-art { max-width: 38rem; }
  .section-top { display: block; }
  .section-top > p { margin-top: .75rem; }
  .split { grid-template-columns: 1fr; }
  .portrait { justify-self: start; }
}
@media (max-width: 599px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .tools { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); width: 100%; }
  .tools input { width: 100%; min-width: 0; }
  .modal-body { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .modal-image img { height: min(36vh, 25rem); height: min(36dvh, 25rem); }
  .modal-info .button { margin-top: .65rem; }
}
@media (max-width: 370px) { .hero h1 { font-size: 3.3rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
