
:root{
  --bg:#efeeea;
  --panel:#f7f6f2;
  --text:#1e1e1c;
  --muted:#5f5c57;
  --line:#c9c4bc;
  --dark:#1d1b18;
  --dark2:#2c2823;
  --accent:#b5964c;
  --btn:#111;
  --btnText:#fff;
  --max:1180px;
  --radius:20px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
.scroll-top-button{
  position:fixed;
  right:22px;
  bottom:22px;
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid #d4cab8;
  background:#fff;
  color:var(--text);
  box-shadow:0 14px 30px rgba(0,0,0,.14);
  font:inherit;
  font-size:1.2rem;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  z-index:1200;
}
.scroll-top-button.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.scroll-top-button:hover,
.scroll-top-button:focus-visible{
  background:#f7f2e8;
  border-color:#c7b89c;
  box-shadow:0 18px 34px rgba(0,0,0,.18);
}
.scroll-top-button[hidden]{display:none}
body{
  margin:0;
  font:16px/1.55 "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
body.lightbox-open{overflow:hidden}
.header{
  position:sticky;top:0;z-index:30;
  background:linear-gradient(90deg,var(--dark),var(--dark2));
  color:#fff;border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  max-width:var(--max);margin:0 auto;padding:14px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{display:flex;align-items:center;gap:14px}
.brand img{height:44px;width:auto}
.nav{display:flex;gap:28px;align-items:center;font-weight:700;letter-spacing:.03em}
.nav a{opacity:.9;padding:4px 0;border-bottom:2px solid transparent}
.nav a.active,.nav a:hover{opacity:1;border-color:#fff}
.mobile-toggle{display:none}
.container{max-width:var(--max);margin:0 auto;padding:0 22px}
.hero{padding:28px 0 56px}
.hero-card{
  background:transparent;border-radius:30px;overflow:hidden;text-align:center;
}
.hero-image{width:100%;background:#eceae6;border-radius:18px;box-shadow:var(--shadow)}
.hero-copy{max-width:820px;margin:30px auto 0}
.hero h1{
  font-size:clamp(2.4rem,6vw,4.4rem);line-height:1.04;margin:0 0 16px;font-weight:800;letter-spacing:-.03em;
}
.hero p{margin:8px 0;color:var(--muted)}
.hero .credit{color:#4b4844}
.section-title{
  display:flex;align-items:center;gap:18px;justify-content:center;
  margin:30px auto 22px;max-width:var(--max);padding:0 22px;
}
.section-title:before,.section-title:after{
  content:"";height:1px;background:var(--line);flex:1
}
.section-title h2{
  margin:0;font-size:clamp(1.4rem,2.4vw,2rem);font-weight:700;
}
.section-kicker{
  text-align:center;margin:-8px auto 28px;color:var(--muted);font-size:1rem
}
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards{padding-bottom:12px}
.card{
  display:flex;flex-direction:column;gap:14px
}
.card.media{
  background:transparent;padding:0
}
.media-frame{
  background:#f3f2ef;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);
  display:flex;align-items:center;justify-content:center;
}
.media-frame.tall{aspect-ratio:3/4}
.media-frame.wide{aspect-ratio:16/9}
.media-frame img{width:100%;height:100%;object-fit:cover}
.card h3{margin:0;font-size:1.1rem}
.card p{margin:0;color:var(--muted)}
.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:168px;padding:12px 20px;border:1px solid #555;background:#fff;color:#161513;
  font-weight:800;border-radius:0;transition:.18s ease;
  box-shadow:none;cursor:pointer
}
.btn:hover{transform:translateY(-1px);background:#171614;color:#fff;border-color:#171614}
.btn.dark{background:#111;color:#fff;border-color:#111}
.btn.gold{background:#fff8e8;border-color:#b89c5d}
.showcase-card{
  position:relative;overflow:hidden;border-radius:0;background:#d8d4cd;box-shadow:var(--shadow);
  display:flex;flex-direction:column;height:100%
}
.showcase-card .media-frame{border-radius:0;box-shadow:none;background:#d8d4cd}
.showcase-card .overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:24px;background:linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.22));
  text-align:center;
}
.showcase-card .overlay span{
  max-width:12ch;color:#fff;font-weight:800;font-size:clamp(1.15rem,2vw,1.8rem);
  line-height:1.08;text-shadow:0 2px 10px rgba(0,0,0,.55);
}
.showcase-card .meta{
  padding:16px 18px 18px;background:rgba(255,255,255,.38);min-height:92px;display:flex;align-items:flex-start
}
.showcase-card .meta p{margin:0;font-size:.98rem;line-height:1.55;color:#35312c}
.split{
  display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:start
}
.note{
  background:var(--panel);border:1px solid #ddd7ce;border-radius:18px;padding:18px 20px;
}
.footer{
  margin-top:64px;padding:26px 0 34px;border-top:1px solid #dad5cd;text-align:center
}
.footer p{margin:0 0 14px;color:var(--muted)}
.footer-links{
  display:flex;justify-content:center;gap:18px 22px;flex-wrap:wrap;font-size:.98rem
}
.footer-links a:hover{text-decoration:underline}
.lightbox{
  position:fixed;inset:0;background:rgba(15,15,14,.86);display:none;align-items:center;justify-content:center;z-index:100
}
.lightbox.open{display:flex}
.lightbox-inner{max-width:min(1200px,92vw);max-height:90vh;position:relative}
.lightbox img{max-width:100%;max-height:86vh;border-radius:14px;box-shadow:0 30px 60px rgba(0,0,0,.45)}
.lightbox-close{
  position:absolute;top:-12px;right:-12px;width:42px;height:42px;border-radius:50%;
  border:0;background:#fff;font-size:26px;cursor:pointer;box-shadow:var(--shadow)
}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery-item{
  background:#f6f4ef;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);cursor:pointer
}
.gallery-item img{width:100%;aspect-ratio:1.15/1;object-fit:cover}
.page-hero{
  margin:26px 0 32px;background:var(--panel);border:1px solid #ddd7ce;border-radius:26px;padding:22px;
  display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center
}
.page-hero .copy h1{margin:0 0 10px;font-size:clamp(2rem,4vw,3.3rem);line-height:1.07}
.page-hero .copy p{color:var(--muted);margin:8px 0}
.badge{display:inline-flex;background:#f4ead1;color:#6b5316;border:1px solid #d3b97a;padding:6px 10px;border-radius:999px;font-size:.82rem;font-weight:700;letter-spacing:.02em}
.search-row{display:flex;justify-content:center;margin:0 auto 28px;max-width:680px}
.search{
  width:100%;padding:14px 16px;border-radius:14px;border:1px solid #d1cbc1;background:#fff;
  font-size:1rem;box-shadow:var(--shadow)
}
.small{font-size:.95rem;color:var(--muted)}
.launcher-note{font-size:.95rem;color:var(--muted)}
@media (max-width: 900px){
  .grid-3,.gallery-grid,.split,.page-hero{grid-template-columns:1fr}
  .nav{gap:16px;font-size:.92rem}
}
@media (max-width: 680px){
  .header-inner{padding:12px 14px}
  .brand img{height:36px}
  .nav{gap:14px;font-size:.84rem;flex-wrap:wrap;justify-content:flex-end}
  .container{padding:0 14px}
  .section-title{padding:0 14px;gap:12px}
  .hero{padding-top:14px}
  .btn{width:100%}
  .showcase-card .meta{min-height:auto;padding:14px 14px 16px}
  .showcase-card .meta p{font-size:.95rem}
}

/* Pass 20A - zoom restore + advanced collection UI support */

.lightbox-meta{display:none;margin-top:14px;color:#fff;text-align:left}
.lightbox.has-meta .lightbox-meta{display:block}
.lightbox-label{display:block;font-size:1rem;letter-spacing:.01em}
.lightbox-caption{margin:6px 0 0;color:rgba(255,255,255,.82)}
.image-meta{display:grid;gap:2px;padding:10px 10px 0}
.image-meta strong{font-size:.92rem;color:var(--text)}
.image-meta span{font-size:.88rem;color:var(--muted)}
.meta-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f4ead1;border:1px solid #d3b97a;color:#6b5316;font-size:.8rem;font-weight:700}
.item-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.page-description{max-width:72ch;color:var(--muted)}
.item-caption{margin-top:6px;color:var(--muted);font-size:.95rem}
.gallery-item,.thumb-link{display:block;background:#f6f4ef;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);cursor:pointer}
.thumb-link .image-meta,.gallery-item .image-meta{padding:10px 12px 12px;background:#fff}
.thumb-link img{width:100%;aspect-ratio:1/1;object-fit:cover}
.gallery-item img{width:100%;aspect-ratio:1.15/1;object-fit:cover}


.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
}
.catalog-toolbar{
  margin:8px 0 26px;padding:18px 20px;border:1px solid #ddd7ce;border-radius:20px;background:var(--panel);box-shadow:var(--shadow)
}
.catalog-toolbar-grid{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.95fr);gap:16px;align-items:end
}
.catalog-filter-group{
  display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:flex-end
}
.filter-toggle,
.filter-select{
  display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:#fff;border:1px solid #d8d1c6;color:#4e4942;font-size:.92rem
}
.filter-toggle input{accent-color:var(--accent)}
.filter-select select{
  border:0;background:transparent;font:inherit;color:inherit;outline:none;min-width:56px
}
.catalog-results{margin-top:12px;color:var(--muted);font-size:.95rem}
.catalog-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start
}
.metadata-panel{
  position:sticky;top:92px;align-self:start
}
.metadata-panel-card{
  background:var(--panel);border:1px solid #ddd7ce;border-radius:22px;box-shadow:var(--shadow);overflow:hidden
}
.metadata-panel-media img{
  width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1efe9
}
.metadata-panel-copy{padding:18px}
.metadata-panel-kicker{
  margin:0 0 8px;color:#6b5316;font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase
}
.metadata-panel-copy h3{margin:0 0 10px;font-size:1.28rem;line-height:1.15}
.metadata-panel-caption{margin:0 0 10px;color:var(--text);font-weight:600}
.metadata-panel-note{margin:0 0 10px;color:var(--muted)}
.metadata-panel-meta{margin:0;color:#5b4c21;font-size:.92rem}
.item-group.is-hidden,
.gallery-item.is-hidden{display:none!important}
@media (max-width: 1080px){
  .catalog-layout{grid-template-columns:1fr}
  .metadata-panel{position:static}
}
@media (max-width: 900px){
  .catalog-toolbar-grid{grid-template-columns:1fr}
  .catalog-filter-group{justify-content:flex-start}
}
@media (max-width: 680px){
  .catalog-toolbar{padding:14px}
  .catalog-filter-group{align-items:stretch}
  .filter-toggle,.filter-select{width:100%;justify-content:space-between}
}


.collection-anchor-nav{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  margin:8px 0 22px
}
.anchor-pill{
  display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;
  background:#fff;border:1px solid #d8d1c6;color:#4e4942;font-size:.92rem;font-weight:700;box-shadow:var(--shadow)
}
.anchor-pill:hover{transform:translateY(-1px)}
.compare-tray{
  margin:0 0 26px;padding:20px;border:1px solid #ddd7ce;border-radius:22px;background:var(--panel);box-shadow:var(--shadow)
}
.compare-tray-head{
  display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px
}
.compare-kicker{
  margin:0 0 6px;color:#6b5316;font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase
}
.compare-tray-head h2{margin:0 0 6px;font-size:1.45rem}
.compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.compare-card{
  background:#fff;border:1px solid #ddd7ce;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column
}
.compare-card-media img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1efe9}
.compare-card-copy{padding:16px}
.compare-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.compare-card-copy h3{margin:0 0 8px;font-size:1.15rem;line-height:1.15}
.compare-caption{margin:0 0 8px;color:var(--text);font-weight:600}
.compare-note{margin:0 0 8px;color:var(--muted)}
.compare-meta{margin:0;color:#5b4c21;font-size:.92rem}
.item-actions{display:flex;gap:10px;flex-wrap:wrap;margin:-2px 0 14px}
.compare-toggle,.compare-clear,.compare-jump,.compare-remove{min-width:0}
.compare-toggle.is-active{background:#171614;color:#fff;border-color:#171614}
@media (max-width: 1080px){
  .compare-grid{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .collection-anchor-nav{justify-content:flex-start}
  .anchor-pill{width:100%}
  .compare-tray-head{flex-direction:column}
  .compare-card .button-row .btn{width:100%}
}

/* Pass 12 - full-resolution zoom and image role rendering */
.lightbox-inner{width:min(1320px,94vw);max-height:92vh;display:grid;gap:14px}
.lightbox-toolbar{
  display:flex;gap:10px;justify-content:flex-end;align-items:center;padding-right:74px
}
.lightbox-tool{
  min-width:64px;padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.1);color:#fff;font-weight:800;cursor:pointer
}
.lightbox-tool:hover{background:rgba(255,255,255,.18)}
.lightbox-viewport{
  position:relative;display:flex;align-items:center;justify-content:center;
  min-height:60vh;max-height:74vh;overflow:hidden;border-radius:16px;cursor:zoom-in
}
.lightbox-viewport.is-zoomed{cursor:grab}
.lightbox-viewport.is-dragging{cursor:grabbing}
.lightbox-viewport img{
  max-width:100%;max-height:74vh;transform-origin:center center;transition:transform .12s ease-out;will-change:transform
}
.lightbox-close{top:10px;right:10px;z-index:3}
.image-meta-badges{display:flex;gap:8px;flex-wrap:wrap}
.meta-badge-role{background:#f0eadc;border-color:#cdb87f;color:#574926}
.role-groups{display:grid;gap:18px}
.role-group{
  padding:14px;border:1px solid #e2dbd1;border-radius:18px;background:#fbfaf7
}
.role-group-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.role-group-head h4{margin:0;font-size:1rem}
.role-strip .thumb-link{border:1px solid #e2dbd1}
.role-key .meta-badge-role{background:#efe4c2}
.role-detail .meta-badge-role{background:#eef3ea;border-color:#b8c8af;color:#45613a}
.role-marks .meta-badge-role{background:#ece8f7;border-color:#c8bee5;color:#53447d}
.role-other .meta-badge-role{background:#f0efec;border-color:#d6d1c6;color:#555049}
@media (max-width: 680px){
  .lightbox-inner{width:96vw}
  .lightbox-toolbar{justify-content:space-between;padding-right:58px}
  .lightbox-tool{flex:1}
  .lightbox-viewport{min-height:48vh;max-height:62vh}
  .role-group{padding:12px}
  .role-group-head{flex-direction:column;align-items:flex-start}
}


/* Pass 28 — global image framing system v1 */
:root{
  --frame-stage:#f3f1ec;
  --frame-stage-emphasis:#ebe5dc;
  --frame-stage-detail:#ece7de;
  --frame-padding-contain:clamp(16px,1.8vw,28px);
  --frame-padding-emphasis:clamp(14px,1.4vw,22px);
  --frame-overlay-band:clamp(46px,14%,74px);
}
.hero-card{overflow:visible}
.hero-image-frame{box-shadow:var(--shadow);border-radius:26px}
.hero-frame{background:#f5f3ee}
.hero-frame img{max-width:100%}
.media-frame.use-frame-ratio,
.gallery-item.use-frame-ratio,
.thumb-link.use-frame-ratio,
.metadata-panel-media.use-frame-ratio,
.compare-card-media.use-frame-ratio{
  aspect-ratio:var(--frame-ratio, 4 / 3);
}
.media-frame.use-frame-ratio,
.gallery-item.use-frame-ratio,
.thumb-link.use-frame-ratio,
.metadata-panel-media.use-frame-ratio,
.compare-card-media.use-frame-ratio{
  display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;
}
.media-frame.use-frame-ratio .framed-image,
.gallery-item.use-frame-ratio .framed-image,
.thumb-link.use-frame-ratio .framed-image,
.metadata-panel-media.use-frame-ratio .framed-image,
.compare-card-media.use-frame-ratio .framed-image{
  width:100%;height:100%;display:block;max-width:none;max-height:none;background:var(--frame-stage);
}
.frame-object-contain,
.frame-object-contain .framed-image{background:var(--frame-stage)}
.frame-object-contain{
  padding:var(--frame-padding-contain);
}
.frame-object-contain .framed-image{
  object-fit:contain;
  object-position:var(--frame-focus-x, 50%) var(--frame-focus-y, 50%);
}
.frame-object-emphasis,
.frame-object-emphasis .framed-image{background:var(--frame-stage-emphasis)}
.frame-object-emphasis{
  padding:var(--frame-padding-emphasis) var(--frame-padding-emphasis) calc(var(--frame-overlay-band) + 10px);
}
.frame-object-emphasis .framed-image{
  object-fit:contain;
  object-position:var(--frame-focus-x, 50%) var(--frame-focus-y, 42%);
  transform:scale(1.03);
}
.frame-detail-cover,
.frame-detail-cover .framed-image{background:var(--frame-stage-detail)}
.frame-detail-cover .framed-image{
  object-fit:cover;
  object-position:var(--frame-focus-x, 50%) var(--frame-focus-y, 50%);
}
.surface-home-hero{border-radius:26px}
.surface-home-showcase{background:#d8d4cd}
.surface-home-showcase.frame-object-emphasis{padding-bottom:calc(var(--frame-overlay-band) + 22px)}
.surface-home-showcase .framed-image{filter:drop-shadow(0 8px 18px rgba(0,0,0,.09))}
.surface-home-single,
.surface-browse-detail,
.surface-category-gallery,
.surface-catalog-item,
.surface-category-hero,
.surface-catalog-hero,
.surface-history-feature,
.surface-metadata-panel,
.surface-compare-card{
  background:#f4f1eb;
}
.surface-browse-collage{background:#f1ede5}
.card-frame,
.browse-collage-frame,
.browse-detail-frame,
.page-hero-frame,
.item-cover{border-radius:22px}
.item-cover{margin-bottom:10px}
.showcase-card{
  background:#d8d4cd;
  border-radius:20px;
  overflow:hidden;
}
.showcase-card .showcase-frame{border-radius:0;box-shadow:none;background:#d8d4cd}
.showcase-card .overlay{
  inset:auto 0 clamp(22px,8%,36px) 0;
  padding:0 22px;
  align-items:flex-end;
  justify-content:center;
  background:none;
}
.showcase-card .overlay:before{
  content:'';
  position:absolute;
  inset:-28px 0 -18px 0;
  background:linear-gradient(to top, rgba(0,0,0,.34), rgba(0,0,0,.10) 48%, rgba(0,0,0,0));
  pointer-events:none;
}
.showcase-card .overlay span{
  position:relative;
  max-width:13ch;
  text-shadow:0 2px 0 rgba(0,0,0,.22), 0 12px 22px rgba(0,0,0,.42);
}
.showcase-card .meta{
  min-height:112px;
  padding:18px 18px 20px;
  background:rgba(255,255,255,.55);
  border-top:1px solid rgba(110,95,72,.08);
}
.showcase-card .meta p{
  max-width:32ch;
}
.gallery-item.use-frame-ratio,
.thumb-link.use-frame-ratio,
.metadata-panel-media.use-frame-ratio,
.compare-card-media.use-frame-ratio{
  border-radius:18px;
}
.gallery-item.use-frame-ratio,
.thumb-link.use-frame-ratio{padding:16px}
.metadata-panel-media.use-frame-ratio,
.compare-card-media.use-frame-ratio{padding:16px}
.metadata-panel-media.use-frame-ratio .framed-image,
.compare-card-media.use-frame-ratio .framed-image{object-fit:contain}
.thumb-link.use-frame-ratio .image-meta,
.gallery-item.use-frame-ratio .image-meta{
  margin-top:auto;
  padding:12px 0 0;
  background:transparent;
}
.page-hero{align-items:stretch}
.page-hero-frame.use-frame-ratio,
.history-frame.use-frame-ratio{height:100%}
.page-hero-frame.frame-object-contain,
.history-frame.frame-object-contain{padding:20px}
@media (max-width: 900px){
  .showcase-card .meta{min-height:98px}
  .frame-object-emphasis{padding-bottom:calc(var(--frame-overlay-band) + 6px)}
}
@media (max-width: 680px){
  .hero-image-frame{border-radius:22px}
  .showcase-card .overlay{bottom:16px;padding:0 16px}
  .showcase-card .overlay span{font-size:clamp(1.05rem,7vw,1.5rem)}
  .showcase-card .meta{min-height:auto;padding:16px 16px 18px}
  .frame-object-contain,
  .gallery-item.use-frame-ratio,
  .thumb-link.use-frame-ratio,
  .metadata-panel-media.use-frame-ratio,
  .compare-card-media.use-frame-ratio{padding:14px}
}


/* Pass 31 — home page image polish v1 */
.home-page .hero{
  padding:34px 0 62px;
}
.home-hero-card{
  background:var(--panel);
  border:1px solid #ddd7ce;
  border-radius:30px;
  box-shadow:0 18px 42px rgba(0,0,0,.07);
  padding:18px;
  overflow:hidden;
}
.home-hero-frame{
  border:1px solid #e7e0d6;
  background:linear-gradient(180deg,#f5f3ee 0%, #efebe4 100%);
}
.home-hero-copy{
  max-width:760px;
  margin:34px auto 4px;
  padding:0 12px 10px;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 14px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid #d8ccb4;
  background:#fbf5e6;
  color:#6d5724;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-page .hero h1{
  font-size:clamp(2.7rem,6vw,4.6rem);
}
.home-page .hero p{
  max-width:60ch;
  margin-inline:auto;
}
.hero-actions{margin-top:16px}
.home-section-title{margin-top:26px;margin-bottom:14px}
.home-section-title-kicker{
  max-width:58ch;
  margin:-2px auto 28px;
}
.home-single-section,
.home-showcase-section{padding-bottom:18px}
.home-single-grid,
.home-showcase-grid{align-items:stretch}
.home-single-card{
  height:100%;
  padding:14px;
  background:var(--panel);
  border:1px solid #ddd7ce;
  border-radius:24px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  gap:16px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-single-card:hover,
.home-showcase-card:hover,
.home-single-card:focus-within,
.home-showcase-card:focus-within{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  border-color:#d2c7b6;
}
.home-single-frame{
  border-radius:18px;
  border:1px solid #e5ddd1;
  background:#f4f1eb;
}
.home-single-copy{
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
  padding:0 6px 4px;
}
.home-single-copy h3{
  margin:0;
  font-size:1.14rem;
  line-height:1.2;
}
.home-single-copy p{
  min-height:3.15em;
}
.home-single-copy .button-row{
  margin-top:auto;
}
.home-showcase-grid .showcase-card{
  background:var(--panel);
  border:1px solid #ddd7ce;
  border-radius:24px;
  box-shadow:0 16px 36px rgba(0,0,0,.07);
}
.home-showcase-grid .showcase-frame{
  background:linear-gradient(180deg,#f0ede7 0%, #e5e0d7 100%);
}
.home-showcase-grid .overlay{
  inset:auto 0 24px 0;
  padding:0 18px;
  justify-content:center;
  align-items:flex-end;
}
.home-showcase-grid .overlay:before{
  display:none;
}
.home-showcase-grid .overlay span{
  max-width:unset;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(17,16,14,.84);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:clamp(1.05rem,1.85vw,1.42rem);
  text-shadow:none;
  box-shadow:0 14px 30px rgba(0,0,0,.2);
}
.home-showcase-grid .meta{
  min-height:138px;
  padding:18px 18px 20px;
  background:#fffdfa;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
}
.home-showcase-grid .showcase-desc{
  max-width:28ch;
  margin:0;
  color:#44403a;
}
.showcase-actions{
  display:flex;
  align-items:center;
}
.showcase-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#6d5724;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.showcase-link::after{
  content:'→';
  font-size:1rem;
  line-height:1;
}
.showcase-link:hover{color:#3f3213}
@media (max-width: 900px){
  .home-hero-card{padding:16px}
  .home-showcase-grid .meta{min-height:124px}
  .home-single-copy p{min-height:0}
}
@media (max-width: 680px){
  .home-page .hero{padding-top:20px;padding-bottom:48px}
  .home-hero-card{padding:12px;border-radius:24px}
  .home-hero-copy{margin-top:24px;padding:0 6px 4px}
  .hero-kicker{font-size:.74rem;padding:7px 12px}
  .home-page .hero h1{font-size:clamp(2.25rem,12vw,3.2rem)}
  .home-section-title-kicker{padding:0 14px}
  .home-single-card{padding:12px}
  .home-showcase-grid .overlay{bottom:18px;padding:0 14px}
  .home-showcase-grid .overlay span{font-size:clamp(1rem,5.2vw,1.22rem);min-height:44px;padding:9px 14px}
  .home-showcase-grid .meta{min-height:auto;padding:16px}
}


/* Pass 32 — browse + category page polish v1 */
.browse-page{padding-bottom:20px}
.browse-intro{padding:30px 0 20px}
.browse-intro-card{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:22px;
  align-items:stretch;
  padding:24px;
  background:var(--panel);
  border:1px solid #ddd7ce;
  border-radius:28px;
  box-shadow:0 16px 38px rgba(0,0,0,.06);
}
.browse-intro-copy h1{margin:12px 0 10px;font-size:clamp(2.15rem,4.8vw,3.65rem);line-height:1.04}
.browse-intro-copy p{max-width:58ch;margin:0;color:var(--muted)}
.browse-stats{margin-top:18px}
.browse-search-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:18px;
  border-radius:22px;
  border:1px solid #e3dbcf;
  background:linear-gradient(180deg,#faf7f1 0%,#f4efe6 100%);
}
.browse-search-input{box-shadow:none}
.browse-search-shell{display:flex;flex-direction:column;gap:12px;align-items:stretch}
.browse-search-shell.is-collapsed .browse-search-panel{display:none}
.toolbar-toggle{
  appearance:none;
  border:1px solid #d4cab8;
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:11px 16px;
  font:inherit;
  font-weight:700;
  line-height:1.1;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.toolbar-toggle:hover,
.toolbar-toggle:focus-visible{
  background:#f7f2e8;
  border-color:#c7b89c;
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(0,0,0,.07);
}
.browse-search-toggle{align-self:flex-start}
.browse-section{padding-top:12px}
.browse-section-head{margin-bottom:20px}
.browse-section-head .section-title{margin-bottom:10px}
.browse-grid{align-items:stretch}
.browse-grid > .filter-card{display:block;height:100%}
.browse-card{
  height:100%;
  padding:14px;
  background:var(--panel);
  border:1px solid #ddd7ce;
  border-radius:24px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.browse-card:hover,
.browse-card:focus-within{
  transform:translateY(-3px);
  box-shadow:0 20px 42px rgba(0,0,0,.08);
  border-color:#d2c7b6;
}
.browse-card-copy{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 6px 4px;
  min-height:190px;
}
.browse-card-kicker{
  margin:0;
  color:#6d5724;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.browse-card-copy h3{margin:0;font-size:1.28rem;line-height:1.14}
.browse-card-copy p:last-of-type{margin:0;color:#4b4741;max-width:32ch}
.browse-card-actions{margin-top:auto}
.collection-page-hero{
  gap:32px;
  padding:24px;
  border-radius:28px;
  box-shadow:0 16px 38px rgba(0,0,0,.06);
}
.collection-hero-copy{display:flex;flex-direction:column;justify-content:center}
.collection-hero-subtitle{
  font-size:1.08rem;
  line-height:1.55;
  color:#3f3a33;
  max-width:58ch;
}
.collection-hero-actions{margin-top:8px}
.collection-hero-frame{
  border:1px solid #e6ddd1;
  background:linear-gradient(180deg,#f5f2ec 0%,#efebe3 100%);
}
.catalog-top-stack{display:grid;gap:18px;margin:2px 0 26px}
.catalog-stats{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 18px}
.stat-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #d9cfbf;
  background:#fbf6ea;
  color:#5f4d1f;
  box-shadow:var(--shadow);
}
.stat-pill strong{font-size:1rem;line-height:1}
.stat-pill span{font-size:.88rem;font-weight:700}
.catalog-toolbar{
  padding:22px;
  border-radius:24px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
}
.catalog-toolbar-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:16px;
}
.catalog-toolbar-head h2{margin:4px 0 0;font-size:1.45rem;line-height:1.15}
.catalog-toolbar-head .catalog-toolbar-toggle{margin-left:auto;flex-shrink:0}
.catalog-toolbar.is-collapsed{padding-bottom:18px}
.catalog-toolbar-panel{display:grid;gap:16px}
.catalog-toolbar.is-collapsed .catalog-toolbar-panel{display:none}
.catalog-toolbar-kicker{
  margin:0;
  color:#6d5724;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.catalog-search-wrap .search{
  border-radius:16px;
  padding:15px 16px;
  box-shadow:none;
}
.catalog-layout{gap:28px}
.catalog-main{min-width:0}
.catalog-section-title{margin-bottom:8px}
.catalog-section-kicker{max-width:62ch;margin:-2px 0 20px;color:var(--muted)}
.metadata-panel{top:96px}
.metadata-panel-card{
  border-radius:24px;
  box-shadow:0 16px 34px rgba(0,0,0,.07);
  background:linear-gradient(180deg,#faf8f2 0%,#f6f2ea 100%);
}
.metadata-panel-eyebrow{
  margin:0 0 6px;
  color:#7a6a42;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.metadata-panel-copy h3{font-size:1.34rem}
.metadata-panel-caption{line-height:1.5}
.metadata-panel-note{line-height:1.55}
.item-groups{display:grid;gap:22px}
.item-group{
  padding:18px;
  border:1px solid #ddd7ce;
  border-radius:24px;
  background:var(--panel);
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.item-group:hover{border-color:#d2c7b6}
.item-group.is-selected{
  border-color:#9b7c3e;
  box-shadow:0 18px 38px rgba(0,0,0,.08), 0 0 0 2px rgba(201,169,95,.18);
}
.item-group-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}
.item-group-head h3{margin:0 0 8px;font-size:1.34rem;line-height:1.12}
.item-group-head > div:first-child > p{margin:0;color:#4b4741}
.item-group-meta{display:flex;align-items:flex-start}
.item-count-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  background:#f5efdf;
  border:1px solid #d8c6a1;
  color:#5f4d1f;
  font-size:.85rem;
  font-weight:800;
}
.item-cover{border:1px solid #e4dccf;background:#f5f1ea}
.item-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.thumb-link,
.gallery-item{
  border:1px solid #e4dccf;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.thumb-link:hover,
.gallery-item:hover,
.thumb-link:focus-within,
.gallery-item:focus-within{
  transform:translateY(-2px);
  border-color:#cfbea0;
  box-shadow:0 16px 34px rgba(0,0,0,.08);
}
.thumb-link.is-selected,
.gallery-item.is-selected{
  border-color:#c9a95f;
  box-shadow:0 18px 36px rgba(0,0,0,.09), 0 0 0 2px rgba(201,169,95,.18);
}
.gallery-grid{align-items:stretch}
.gallery-item.use-frame-ratio,
.thumb-link.use-frame-ratio{
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.section-title-sub{margin-top:28px}
@media (max-width: 1080px){
  .browse-intro-card,
  .catalog-toolbar-head,
  .page-hero,
  .item-group-head{grid-template-columns:1fr}
  .browse-intro-card{grid-template-columns:1fr}
  .catalog-toolbar-head{flex-direction:column;align-items:flex-start}
  .catalog-toolbar-head .catalog-toolbar-toggle{margin-left:0}
  .item-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 900px){
  .browse-card-copy{min-height:0}
  .collection-page-hero{padding:20px}
  .catalog-top-stack{margin-bottom:22px}
}
@media (max-width: 680px){
  .browse-intro{padding-top:18px}
  .browse-intro-card,
  .catalog-toolbar,
  .collection-page-hero,
  .item-group{padding:14px}
  .browse-card{padding:12px}
  .browse-card-copy{padding:14px 4px 2px}
  .browse-card-copy h3{font-size:1.18rem}
  .catalog-stats{gap:10px}
  .stat-pill{width:100%;justify-content:space-between}
  .item-strip{grid-template-columns:1fr}
}


/* Pass 33 — detailed catalog polish v1 */
:root{
  --detail-pill-bg:#f4ead1;
  --detail-pill-border:#d7c39a;
  --detail-pill-text:#6a5420;
}
.detail-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  background:var(--detail-pill-bg);
  border:1px solid var(--detail-pill-border);
  color:var(--detail-pill-text);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.03em;
}
.catalog-section-title h2{scroll-margin-top:96px}
.catalog-section-kicker{
  max-width:66ch;
  font-size:.98rem;
  line-height:1.65;
}
.metadata-panel-card{
  display:flex;
  flex-direction:column;
}
.metadata-panel-copy{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.metadata-panel-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.metadata-panel-helper{
  margin:2px 0 0;
  padding-top:12px;
  border-top:1px solid rgba(125,110,80,.16);
  color:#6b665f;
  font-size:.9rem;
  line-height:1.55;
}
.metadata-panel-caption,
.metadata-panel-note,
.compare-caption,
.compare-note,
.compare-meta,
.item-caption,
.item-group-head > .item-group-copy > p,
.catalog-section-kicker,
.small{
  overflow-wrap:anywhere;
}
.compare-tray{
  background:linear-gradient(180deg,#faf8f2 0%,#f4efe7 100%);
  border-radius:26px;
}
.compare-actions-row{justify-content:flex-end}
.compare-grid{align-items:stretch}
.compare-card{
  border-radius:22px;
  min-height:100%;
}
.compare-card-copy{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.compare-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.compare-card-kicker{
  margin:0;
  color:#7a6844;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.compare-count-pill{flex-shrink:0}
.compare-card-copy h3{
  font-size:1.2rem;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.compare-meta{
  margin-top:auto;
  padding-top:6px;
  color:#5d564b;
}
.compare-button-row{margin-top:2px}
.item-groups{gap:24px}
.item-group{
  border-radius:26px;
  padding:20px;
}
.item-group-head{
  align-items:stretch;
}
.item-group-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.item-group-head h3{
  font-size:1.38rem;
  line-height:1.18;
  overflow-wrap:anywhere;
}
.item-group-head > .item-group-copy > p,
.item-caption{
  max-width:74ch;
}
.item-actions-row{
  align-items:center;
  justify-content:space-between;
}
.item-actions-row .btn{min-width:0}
.item-cover{
  margin-bottom:14px;
  border-radius:22px;
}
.role-groups{gap:16px}
.role-group{
  border-radius:20px;
  background:linear-gradient(180deg,#fcfbf8 0%,#f7f3ec 100%);
}
.role-group-head h4{font-size:1.02rem}
.item-strip{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.thumb-link .image-meta,
.gallery-item .image-meta{
  display:grid;
  gap:6px;
}
.gallery-grid.detail-gallery-grid{gap:22px}
.gallery-item,
.thumb-link{
  background:linear-gradient(180deg,#f8f6f1 0%,#f2ede6 100%);
}
.gallery-item .framed-image,
.thumb-link .framed-image,
.item-cover .framed-image,
.compare-card-media .framed-image,
.metadata-panel-media .framed-image{
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.08));
}
.footer,
.footer-links,
.footer p{
  font-size:.95rem;
}
@media (max-width: 1080px){
  .compare-card-top,
  .item-actions-row{align-items:flex-start}
}
@media (max-width: 900px){
  .item-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .compare-card-top{flex-wrap:wrap}
}
@media (max-width: 680px){
  .metadata-panel-pills,
  .compare-badges,
  .item-title-row{gap:6px}
  .item-group,
  .compare-tray{padding:16px}
  .item-group-head h3,
  .compare-card-copy h3{font-size:1.14rem}
  .item-strip{grid-template-columns:1fr}
  .compare-actions-row,
  .item-actions-row{justify-content:stretch}
}


/* Pass 34 — responsive / kiosk polish */
:root{
  --kiosk-max:1366px;
  --compact-panel-radius:22px;
  --compact-gap:18px;
  --compact-gap-tight:14px;
  --vh:1vh;
}
.container,
.header-inner{
  min-width:0;
}
body.is-kiosk-width{
  --max:min(1180px, calc(100vw - 36px));
}
@media (max-width: 1400px){body[data-jahc-prerender]{
  --max:min(1180px, calc(100vw - 36px));
}}

body.is-compact-width{
  --max:min(1140px, calc(100vw - 30px));
}
@media (max-width: 1220px){
body[data-jahc-prerender]{
  --max:min(1140px, calc(100vw - 30px));
}}

body.is-compact-height .header{
  position:sticky;
}
@media (max-height: 820px){
body[data-jahc-prerender] .header{
  position:sticky;
}}

body.is-compact-height .header-inner{
  padding-top:10px;
  padding-bottom:10px;
}
@media (max-height: 820px){
body[data-jahc-prerender] .header-inner{
  padding-top:10px;
  padding-bottom:10px;
}}

body.is-compact-height .brand img{height:38px}
@media (max-height: 820px){
body[data-jahc-prerender] .brand img{height:38px}}

body.is-kiosk-width .hero{
  padding-top:22px;
  padding-bottom:42px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .hero{
  padding-top:22px;
  padding-bottom:42px;
}}

body.is-kiosk-width .home-page .hero{
  padding-top:22px;
  padding-bottom:46px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .home-page .hero{
  padding-top:22px;
  padding-bottom:46px;
}}

body.is-kiosk-width .section-title{margin-top:22px}
@media (max-width: 1400px){
body[data-jahc-prerender] .section-title{margin-top:22px}}

body.is-kiosk-width .page-hero,
body.is-kiosk-width .browse-intro-card,
body.is-kiosk-width .catalog-toolbar,
body.is-kiosk-width .item-group,
body.is-kiosk-width .compare-tray,
body.is-kiosk-width .home-hero-card{
  border-radius:var(--compact-panel-radius);
}
@media (max-width: 1400px){
body[data-jahc-prerender] .page-hero,
body[data-jahc-prerender] .browse-intro-card,
body[data-jahc-prerender] .catalog-toolbar,
body[data-jahc-prerender] .item-group,
body[data-jahc-prerender] .compare-tray,
body[data-jahc-prerender] .home-hero-card{
  border-radius:var(--compact-panel-radius);
}}

body.is-kiosk-width .page-hero,
body.is-kiosk-width .browse-intro-card,
body.is-kiosk-width .catalog-toolbar{
  padding:20px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .page-hero,
body[data-jahc-prerender] .browse-intro-card,
body[data-jahc-prerender] .catalog-toolbar{
  padding:20px;
}}

body.is-kiosk-width .browse-card,
body.is-kiosk-width .home-single-card{
  padding:12px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .browse-card,
body[data-jahc-prerender] .home-single-card{
  padding:12px;
}}

body.is-kiosk-width .home-showcase-grid .meta{
  min-height:126px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .home-showcase-grid .meta{
  min-height:126px;
}}

body.is-kiosk-width .browse-card-copy{
  min-height:168px;
  padding-top:14px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .browse-card-copy{
  min-height:168px;
  padding-top:14px;
}}

body.is-kiosk-width .catalog-layout{
  grid-template-columns:minmax(0,1fr) 300px;
  gap:22px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .catalog-layout{
  grid-template-columns:minmax(0,1fr) 300px;
  gap:22px;
}}

body.is-kiosk-width .metadata-panel{top:82px}
@media (max-width: 1400px){
body[data-jahc-prerender] .metadata-panel{top:82px}}

body.is-kiosk-width .item-strip{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
@media (max-width: 1400px){
body[data-jahc-prerender] .item-strip{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}}

body.is-compact-height .hero-copy,
body.is-compact-height .home-hero-copy{
  margin-top:22px;
}
@media (max-height: 820px){
body[data-jahc-prerender] .hero-copy,
body[data-jahc-prerender] .home-hero-copy{
  margin-top:22px;
}}

body.is-compact-height .home-page .hero h1{
  font-size:clamp(2.35rem,5.2vw,3.95rem);
}
@media (max-height: 820px){
body[data-jahc-prerender] .home-page .hero h1{
  font-size:clamp(2.35rem,5.2vw,3.95rem);
}}

body.is-compact-height .browse-intro-copy h1{
  font-size:clamp(1.95rem,4vw,3rem);
}
@media (max-height: 820px){
body[data-jahc-prerender] .browse-intro-copy h1{
  font-size:clamp(1.95rem,4vw,3rem);
}}

body.is-compact-height .page-hero .copy h1{
  font-size:clamp(1.85rem,3.4vw,2.8rem);
}
@media (max-height: 820px){
body[data-jahc-prerender] .page-hero .copy h1{
  font-size:clamp(1.85rem,3.4vw,2.8rem);
}}

body.is-compact-height .showcase-card .overlay{
  bottom:18px;
}
@media (max-height: 820px){
body[data-jahc-prerender] .showcase-card .overlay{
  bottom:18px;
}}

body.is-compact-height .home-showcase-grid .overlay{
  bottom:18px;
}
@media (max-height: 820px){
body[data-jahc-prerender] .home-showcase-grid .overlay{
  bottom:18px;
}}

body.is-compact-height .home-showcase-grid .meta{
  min-height:118px;
  padding:16px 16px 18px;
}
@media (max-height: 820px){
body[data-jahc-prerender] .home-showcase-grid .meta{
  min-height:118px;
  padding:16px 16px 18px;
}}

body.is-compact-height .catalog-top-stack{gap:14px}
@media (max-height: 820px){
body[data-jahc-prerender] .catalog-top-stack{gap:14px}}

body.is-compact-height .compare-tray,
body.is-compact-height .item-group{
  padding:18px;
}
@media (max-height: 820px){
body[data-jahc-prerender] .compare-tray,
body[data-jahc-prerender] .item-group{
  padding:18px;
}}

body.is-low-height .hero,
body.is-low-height .home-page .hero{
  padding-top:16px;
  padding-bottom:34px;
}
@media (max-height: 760px){
body[data-jahc-prerender] .hero,
body[data-jahc-prerender] .home-page .hero{
  padding-top:16px;
  padding-bottom:34px;
}}

body.is-low-height .section-kicker{
  margin-bottom:20px;
}
@media (max-height: 760px){
body[data-jahc-prerender] .section-kicker{
  margin-bottom:20px;
}}

body.is-low-height .browse-intro{padding-top:18px}
@media (max-height: 760px){
body[data-jahc-prerender] .browse-intro{padding-top:18px}}

body.is-low-height .catalog-toolbar-head,
body.is-low-height .compare-tray-head{
  margin-bottom:12px;
}
@media (max-height: 760px){
body[data-jahc-prerender] .catalog-toolbar-head,
body[data-jahc-prerender] .compare-tray-head{
  margin-bottom:12px;
}}

body.is-low-height .lightbox-inner{
  gap:10px;
  max-height:calc(var(--vh, 1vh) * 94);
}
@media (max-height: 760px){
body[data-jahc-prerender] .lightbox-inner{
  gap:10px;
  max-height:calc(var(--vh, 1vh) * 94);
}}

body.is-low-height .lightbox-viewport{
  min-height:44vh;
  max-height:66vh;
}
@media (max-height: 760px){
body[data-jahc-prerender] .lightbox-viewport{
  min-height:44vh;
  max-height:66vh;
}}

body.is-low-height .lightbox-viewport img{
  max-height:66vh;
}
@media (max-height: 760px){
body[data-jahc-prerender] .lightbox-viewport img{
  max-height:66vh;
}}

body.is-zoomed-ui .header-inner{
  gap:18px;
}
@media (max-width: 1280px) and (max-height: 760px){
body[data-jahc-prerender] .header-inner{
  gap:18px;
}}

body.is-zoomed-ui .nav{
  gap:16px;
}
@media (max-width: 1280px) and (max-height: 760px){
body[data-jahc-prerender] .nav{
  gap:16px;
}}

body.is-zoomed-ui .btn{
  min-width:148px;
  padding:11px 16px;
}
@media (max-width: 1280px) and (max-height: 760px){
body[data-jahc-prerender] .btn{
  min-width:148px;
  padding:11px 16px;
}}

body.is-zoomed-ui .catalog-layout{
  grid-template-columns:1fr;
}
@media (max-width: 1280px) and (max-height: 760px){
body[data-jahc-prerender] .catalog-layout{
  grid-template-columns:1fr;
}}

body.is-zoomed-ui .metadata-panel{
  position:static;
}
@media (max-width: 1280px) and (max-height: 760px){
body[data-jahc-prerender] .metadata-panel{
  position:static;
}}

body.is-zoomed-ui .compare-grid{
  grid-template-columns:1fr;
}
@media (max-width: 1280px) and (max-height: 760px){
body[data-jahc-prerender] .compare-grid{
  grid-template-columns:1fr;
}}

body.is-coarse-pointer .btn,
body.is-coarse-pointer .anchor-pill,
body.is-coarse-pointer .showcase-link,
body.is-coarse-pointer .lightbox-tool{
  min-height:44px;
}
@media (pointer: coarse){
body[data-jahc-prerender] .btn,
body[data-jahc-prerender] .anchor-pill,
body[data-jahc-prerender] .showcase-link,
body[data-jahc-prerender] .lightbox-tool{
  min-height:44px;
}}

body.is-coarse-pointer .filter-toggle,
body.is-coarse-pointer .filter-select{
  min-height:44px;
}
@media (pointer: coarse){
body[data-jahc-prerender] .filter-toggle,
body[data-jahc-prerender] .filter-select{
  min-height:44px;
}}

@media (max-width: 1280px){
  .header-inner{
    gap:18px;
  }
  .nav{
    gap:20px;
  }
  .container{padding:0 18px}
  .section-title{padding:0 18px}
  .catalog-layout{
    grid-template-columns:minmax(0,1fr) 300px;
    gap:22px;
  }
  .home-showcase-grid .meta{
    min-height:126px;
  }
}
@media (max-width: 1120px){
  .header-inner{
    flex-wrap:wrap;
    justify-content:center;
  }
  .brand{
    width:100%;
    justify-content:center;
  }
  .nav{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }
  .catalog-layout{grid-template-columns:1fr}
  .metadata-panel{position:static}
  .browse-intro-card{
    grid-template-columns:1fr;
  }
  .compare-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 820px){
  .header{
    position:sticky;
  }
  .header-inner{
    padding:10px 14px;
  }
  .nav{
    gap:12px 14px;
    font-size:.82rem;
    letter-spacing:.02em;
  }
  .hero,
  .home-page .hero{
    padding-top:18px;
    padding-bottom:36px;
  }
  .browse-intro-card,
  .page-hero,
  .catalog-toolbar,
  .compare-tray,
  .item-group{
    border-radius:20px;
  }
  .home-showcase-grid .meta,
  .showcase-card .meta{
    min-height:auto;
  }
}
@media (max-width: 560px){
  .brand img{height:34px}
  .nav a{
    padding:6px 0;
  }
  .section-title{
    gap:10px;
  }
  .home-page .hero h1{
    font-size:clamp(2rem,10.5vw,2.8rem);
  }
  .browse-intro-copy h1,
  .page-hero .copy h1{
    font-size:clamp(1.7rem,8.5vw,2.3rem);
  }
  .browse-search-panel,
  .metadata-panel-copy,
  .compare-card-copy{
    gap:10px;
  }
  .catalog-toolbar-grid{
    gap:12px;
  }
  .catalog-filter-group{
    gap:10px;
  }
  .filter-toggle,
  .filter-select{
    width:100%;
    justify-content:space-between;
  }
  .filter-select select{
    min-width:0;
    width:100%;
  }
  .footer{
    margin-top:44px;
    padding-bottom:26px;
  }
}


/* Pass 35 — visual QA / regression harness */
.qa-hud{
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  width: min(22rem, calc(100vw - 2rem));
  padding: .9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15,18,22,.92);
  color: #f6f1e7;
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.qa-hud[hidden]{ display:none !important; }
.qa-hud-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-bottom:.7rem;
}
.qa-toggle{
  appearance:none;
  border:1px solid rgba(234,194,100,.5);
  background: rgba(234,194,100,.16);
  color:#fff8ea;
  border-radius: 999px;
  padding: .38rem .8rem;
  font: inherit;
  cursor: pointer;
}
.qa-hud-grid{
  display:grid;
  grid-template-columns: 4.5rem 1fr;
  gap:.35rem .6rem;
  font-size:.84rem;
  line-height:1.35;
}
.qa-k{ color: rgba(255,255,255,.72); }
.qa-v{ color: #fff; }

body.is-qa-mode{
  --qa-outline: rgba(234,194,100,.92);
  --qa-outline-soft: rgba(76,175,255,.72);
  --qa-fill: rgba(234,194,100,.1);
}

body.is-qa-mode .header,
body.is-qa-mode .page-hero,
body.is-qa-mode .browse-intro,
body.is-qa-mode .catalog-toolbar,
body.is-qa-mode .metadata-panel,
body.is-qa-mode .compare-tray,
body.is-qa-mode .footer{
  box-shadow: 0 0 0 1px var(--qa-outline-soft), inset 0 0 0 1px rgba(255,255,255,.04);
}

body.is-qa-mode .media-frame,
body.is-qa-mode .card,
body.is-qa-mode .showcase-card,
body.is-qa-mode .gallery-card,
body.is-qa-mode .detail-card,
body.is-qa-mode .group-card,
body.is-qa-mode .thumb-card,
body.is-qa-mode .compare-card{
  outline: 1px dashed var(--qa-outline-soft);
  outline-offset: 2px;
}

body.is-qa-mode .media-frame,
body.is-qa-mode .showcase-frame,
body.is-qa-mode .page-hero-frame{
  position: relative;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

body.is-qa-mode .media-frame::after,
body.is-qa-mode .showcase-frame::after,
body.is-qa-mode .page-hero-frame::after{
  content: attr(data-surface) " • " attr(data-frame-mode) " • " attr(data-frame-ratio);
  position: absolute;
  left: .55rem;
  top: .55rem;
  max-width: calc(100% - 1.1rem);
  padding: .18rem .48rem;
  border-radius: 999px;
  background: rgba(14,18,22,.78);
  color: #fffaf0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-qa-mode .framed-image{
  outline: 1px solid var(--qa-outline);
  outline-offset: -1px;
}

body.is-qa-mode .overlay,
body.is-qa-mode .meta,
body.is-qa-mode .card-copy,
body.is-qa-mode .metadata-body,
body.is-qa-mode .compare-card-body{
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

body.is-qa-mode img{
  image-rendering: auto;
}

@media (max-width: 760px){
  .qa-hud{
    right: .6rem;
    bottom: .6rem;
    width: min(19rem, calc(100vw - 1.2rem));
  }
}


/* Pass 28-34 — ultra premium antique collection look + security/stability polish */
:root{
  --bg:#ece5d8;
  --panel:#f8f3ea;
  --text:#221b14;
  --muted:#625446;
  --line:#cfb998;
  --dark:#17120d;
  --dark2:#2a2017;
  --accent:#b68b3c;
  --accent-2:#7a5a22;
  --btn:#1d1712;
  --btnText:#f7f1e6;
  --radius:24px;
  --shadow:0 18px 42px rgba(34,24,14,.12);
}

html{
  background:
    radial-gradient(circle at top, rgba(255,255,255,.34), transparent 38%),
    linear-gradient(180deg, #f4eee5 0%, #ece4d6 48%, #e4dac9 100%);
}

body{
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.35), transparent 28%),
    radial-gradient(circle at 100% 14%, rgba(182,139,60,.09), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 26%),
    var(--bg);
  color:var(--text);
}

h1,h2,h3,.section-title h2,.page-hero .copy h1,.hero h1,.compare-tray h2,
.metadata-title,.item-title,.browse-card h3,.card h3{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing:-.02em;
  color:#1a140f;
}

.header{
  background:
    linear-gradient(135deg, #30251b, #463729),
    linear-gradient(90deg,var(--dark),var(--dark2));
  border-bottom:1px solid rgba(214,185,127,.18);
  box-shadow:0 16px 34px rgba(22,16,10,.22);
  backdrop-filter: blur(12px);
}

.header::after{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(214,185,127,.42), transparent);
}

.header-inner{
  padding:16px 22px;
}

.brand img{
  height:48px;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.28));
}

.nav{
  gap:24px;
  letter-spacing:.12em;
  font-size:.8rem;
}

.nav a{
  padding:10px 0 8px;
  color:rgba(252,246,235,.86);
  border-bottom:1px solid transparent;
}

.nav a.active,
.nav a:hover{
  color:#fff8ed;
  border-color:rgba(214,185,127,.72);
}

.hero{
  padding:34px 0 68px;
}

.hero-card,
.page-hero,
.catalog-toolbar,
.note,
.compare-tray,
.metadata-panel-card,
.browse-intro,
.footer,
.collection-anchor-nav,
.card-copy,
.browse-card-copy,
.showcase-card .meta,
.compare-card,
.group-card,
.detail-card,
.thumb-card,
.gallery-item,
.thumb-link,
.showcase-card,
.media-frame,
.search,
.filter-toggle,
.filter-select,
.badge,
.anchor-pill{
  border-color:rgba(123,96,49,.18) !important;
}

.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.08));
  border:1px solid rgba(123,96,49,.12);
  padding:18px;
  box-shadow:0 18px 48px rgba(33,24,16,.1);
}

.hero-image,
.page-hero-frame,
.showcase-frame,
.card-frame,
.browse-collage-frame,
.browse-detail-frame,
.collection-hero-frame{
  border-radius:22px !important;
  overflow:hidden;
  border:1px solid rgba(118,93,49,.18);
  box-shadow:0 20px 46px rgba(24,18,12,.12), inset 0 0 0 1px rgba(255,255,255,.42);
}

.hero-image::before,
.page-hero-frame::before,
.showcase-frame::before,
.card-frame::before,
.browse-collage-frame::before,
.browse-detail-frame::before,
.collection-hero-frame::before,
.gallery-item::before,
.thumb-link::before,
.showcase-card::before,
.compare-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.46), inset 0 1px 18px rgba(255,255,255,.06);
}

.hero-copy{
  max-width:900px;
}

.hero h1{
  font-size:clamp(2.7rem,6vw,4.7rem);
  margin-bottom:14px;
}

.hero p,
.page-hero .copy p,
.section-kicker,
.small,
.card p,
.browse-card p,
.showcase-card .meta p,
.footer p,
.launcher-note,
.page-description{
  color:var(--muted);
}

.credit{
  font-style:italic;
}

.section-title{
  margin-top:38px;
  margin-bottom:24px;
}

.section-title::before,
.section-title::after{
  background:linear-gradient(90deg, transparent, rgba(182,139,60,.42), transparent);
}

.section-title h2{
  padding:0 4px;
  font-size:clamp(1.5rem,2.4vw,2.15rem);
}

.card-copy,
.browse-card-copy,
.showcase-card .meta,
.compare-card,
.group-card,
.detail-card,
.thumb-card,
.page-hero,
.catalog-toolbar,
.compare-tray,
.metadata-panel-card,
.note,
.footer,
.collection-anchor-nav,
.gallery-item,
.thumb-link{
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.56)),
    var(--panel);
  border:1px solid rgba(118,93,49,.16);
  box-shadow:0 16px 36px rgba(28,20,12,.09);
}

.page-hero,
.catalog-toolbar,
.compare-tray,
.metadata-panel-card,
.note,
.collection-anchor-nav,
.footer{
  border-radius:26px;
}

.card-copy,
.browse-card-copy,
.showcase-card .meta,
.compare-card,
.group-card,
.detail-card,
.thumb-card,
.gallery-item,
.thumb-link{
  border-radius:22px;
}

.showcase-card,
.gallery-item,
.thumb-link,
.compare-card{
  overflow:hidden;
}

.showcase-card{
  border-radius:26px;
  background:linear-gradient(180deg, #efe6d7 0%, #f8f3ea 100%);
}

.showcase-card .overlay{
  background:linear-gradient(to bottom, rgba(17,12,8,.08), rgba(17,12,8,.38));
}

.showcase-card .overlay span{
  text-transform:none;
  letter-spacing:.01em;
}

.showcase-card .meta,
.browse-card-copy,
.card-copy{
  padding:18px 18px 20px;
}

.browse-card-kicker,
.compare-kicker{
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent-2);
  font-size:.72rem;
  font-weight:800;
}

.btn,
.anchor-pill,
.lightbox-tool,
.lightbox-close,
.filter-toggle,
.filter-select,
.badge,
.meta-badge{
  border-radius:999px;
}

.btn{
  min-width:176px;
  padding:13px 22px;
  border:1px solid rgba(99,72,27,.58);
  background:linear-gradient(180deg, #fffaf1 0%, #f1e4c6 100%);
  color:#302113;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.78rem;
  box-shadow:0 10px 20px rgba(62,46,21,.12);
}

.btn:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg, #2c2115 0%, #18120d 100%);
  color:#fff7eb;
  border-color:#2a1e12;
}

.btn.dark,
.compare-clear{
  background:linear-gradient(180deg, #2c2115 0%, #16110d 100%);
  color:#fff8ed;
  border-color:#2a1d11;
}

.btn.gold,
.badge,
.meta-badge,
.anchor-pill{
  background:linear-gradient(180deg, #fffaf1 0%, #f0e2c0 100%);
  color:#6d4e1f;
  border:1px solid rgba(160,124,57,.4);
}

.anchor-pill{
  padding:10px 14px;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.04em;
  box-shadow:0 8px 18px rgba(80,58,24,.08);
}

.anchor-pill:hover,
.anchor-pill:focus-visible{
  background:linear-gradient(180deg, #2e2318 0%, #1a130d 100%);
  color:#fff4e6;
}

.search{
  border-radius:18px;
  padding:15px 18px;
  background:rgba(255,255,255,.82);
}

.page-hero{
  gap:32px;
  padding:26px;
}

.collection-hero-subtitle{
  font-size:1.08rem;
}

.footer{
  margin-top:72px;
  padding:30px 0 38px;
}

.footer-links a{
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.77rem;
  color:#594734;
}

.lightbox{
  background:rgba(16,11,8,.9);
}

.lightbox-inner{
  padding:16px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(35,26,18,.96), rgba(18,13,9,.98));
  border:1px solid rgba(214,185,127,.18);
  box-shadow:0 28px 64px rgba(0,0,0,.4);
}

.lightbox-toolbar{
  gap:10px;
}

.lightbox-tool,
.lightbox-close{
  border:1px solid rgba(214,185,127,.24);
  background:rgba(255,250,241,.1);
  color:#fff4e6;
  box-shadow:none;
}

.lightbox-tool:hover,
.lightbox-close:hover,
.lightbox-tool:focus-visible,
.lightbox-close:focus-visible{
  background:rgba(214,185,127,.22);
}

.scroll-top-button{
  border:1px solid rgba(123,96,49,.18);
  background:linear-gradient(180deg, #fffaf1 0%, #efe1c2 100%);
  color:#2d2012;
}

.gallery-item:hover,
.thumb-link:hover,
.browse-card:hover .browse-card-copy,
.card:hover .card-copy,
.showcase-card:hover,
.compare-card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 44px rgba(25,19,12,.13);
}

.gallery-item,
.thumb-link,
.showcase-card,
.compare-card,
.card-copy,
.browse-card-copy{
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.is-missing-asset{
  position:relative;
  min-height:220px;
  background:
    linear-gradient(135deg, rgba(117,87,41,.08), rgba(255,255,255,.5)),
    #f4ede0 !important;
}

.is-missing-asset::after{
  content:"Image unavailable in this package";
  position:absolute;
  inset:auto 16px 16px 16px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(29,23,18,.78);
  color:#fff4e6;
  font-size:.82rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  text-align:center;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

img.is-broken-image{
  opacity:0;
}

.start-here-page{
  min-height:100vh;
}

.start-here-panel{
  max-width:960px;
  margin:34px auto 72px;
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62)), var(--panel);
  border:1px solid rgba(118,93,49,.16);
  border-radius:30px;
  box-shadow:0 20px 48px rgba(26,19,12,.1);
  overflow:hidden;
}

.start-here-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:0;
}

.start-here-copy{
  padding:32px;
}

.start-here-links{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.start-here-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(118,93,49,.16);
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 24px rgba(26,19,12,.06);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.start-here-link:hover,
.start-here-link:focus-visible{
  transform:translateY(-1px);
  background:#fffaf2;
  box-shadow:0 14px 28px rgba(26,19,12,.1);
}

.start-here-link strong{
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.08rem;
}

.start-here-side{
  padding:32px;
  background:linear-gradient(180deg, rgba(34,25,17,.97), rgba(24,18,13,.98));
  color:#f8efe2;
}

.start-here-side h2,
.start-here-side h3{
  color:#fff4e5;
}

.start-here-side p,
.start-here-side li,
.start-here-side .small{
  color:rgba(255,244,229,.82);
}

.start-here-side ul{
  margin:12px 0 0 18px;
  padding:0;
}

@media (max-width: 900px){
  .start-here-grid{grid-template-columns:1fr}
}

@media (max-width: 680px){
  .hero-card{padding:12px}
  .btn{width:100%}
  .page-hero,
  .catalog-toolbar,
  .compare-tray,
  .metadata-panel-card,
  .note,
  .start-here-copy,
  .start-here-side{padding:18px}
  .header-inner{padding:14px}
}


/* Pass 33 — collector edition polish + visitor package hardening */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.32), transparent 18%),
    radial-gradient(circle at 82% 10%, rgba(191,149,70,.12), transparent 16%),
    linear-gradient(transparent 97%, rgba(120,88,35,.045) 100%);
  background-size:auto, auto, 100% 9px;
  mix-blend-mode:multiply;
  z-index:0;
}
body > *{position:relative;z-index:1}

.brand{
  gap:16px;
  min-width:0;
}
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:8px 10px;
  border-radius:18px;
  background:none;
  border:1px solid transparent;
  box-shadow:none;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.brand-eyebrow{
  font-size:.64rem;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:rgba(232,214,176,.75);
  margin-bottom:6px;
}
.brand-title{
  display:block;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.04rem;
  line-height:1.05;
  letter-spacing:.04em;
  color:#fff5e7;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.hero-card,
.page-hero,
.browse-intro-card,
.catalog-toolbar,
.metadata-panel-card,
.start-here-panel{
  position:relative;
  isolation:isolate;
}
.hero-card::after,
.page-hero::after,
.browse-intro-card::after,
.catalog-toolbar::after,
.start-here-panel::after{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(160,124,57,.13);
  border-radius:calc(var(--radius) - 6px);
  pointer-events:none;
}
.hero-copy::after,
.collection-hero-copy::after,
.browse-intro-copy::after{
  content:"✦";
  display:block;
  margin-top:18px;
  color:rgba(145,107,43,.7);
  letter-spacing:.3em;
  font-size:.9rem;
}
.hero-kicker,
.badge{
  box-shadow:0 10px 22px rgba(90,64,27,.1);
}
.section-title h2{
  position:relative;
}
.section-title h2::before,
.section-title h2::after{
  content:"◆";
  color:rgba(160,124,57,.55);
  font-size:.62rem;
  vertical-align:middle;
}
.section-title h2::before{margin-right:10px}
.section-title h2::after{margin-left:10px}

.home-single-card,
.browse-card,
.home-showcase-grid .showcase-card,
.gallery-item,
.thumb-link{
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,242,232,.92)),
    var(--panel);
}
.home-single-copy h3,
.browse-card-copy h3,
.collection-hero-copy h1,
.page-hero .copy h1{
  text-wrap:balance;
}
.stat-pill{
  background:linear-gradient(180deg, #fffaf1 0%, #f3e6c7 100%);
}
.start-here-seal{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(214,185,127,.24);
  background:rgba(255,250,241,.08);
  color:#fff2df;
  font-size:.76rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.start-here-side{
  position:relative;
}
.start-here-side::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(214,185,127,.14);
  border-radius:24px;
  pointer-events:none;
}
.footer::before{
  content:"Collector Edition";
  display:block;
  margin:0 auto 14px;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.22em;
  color:rgba(122,90,34,.78);
}

@media (max-width: 900px){
  .brand-copy{display:none}
}
@media (max-width: 680px){
  body::before{opacity:.14}
  .hero-card::after,
  .page-hero::after,
  .browse-intro-card::after,
  .catalog-toolbar::after,
  .start-here-panel::after{inset:8px}
}


/* Pass 34 — museum placard polish + delivery hardening */
:root{
  --placard-bg:linear-gradient(180deg, rgba(255,252,246,.96) 0%, rgba(245,238,225,.96) 100%);
  --placard-line:rgba(150,116,57,.2);
  --placard-shadow:0 14px 30px rgba(39,28,17,.08);
}

.page-hero .copy,
.metadata-panel-copy,
.compare-card-copy,
.item-group-copy,
.browse-card-copy,
.home-single-copy,
.showcase-card .meta,
.note,
.start-here-copy{
  position:relative;
}

.page-hero .copy::before,
.compare-card-copy::before,
.item-group-copy::before,
.browse-card-copy::before,
.home-single-copy::before,
.showcase-card .meta::before,
.note::before,
.start-here-copy::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  background:var(--placard-bg);
  border:1px solid var(--placard-line);
  box-shadow:var(--placard-shadow);
  z-index:-1;
}

.page-hero .copy,
.metadata-panel-copy,
.compare-card-copy,
.item-group-copy,
.browse-card-copy,
.home-single-copy,
.showcase-card .meta,
.note,
.start-here-copy{
  padding:18px;
}

.collection-hero-copy h1,
.page-hero .copy h1,
.metadata-panel-copy h3,
.item-group-head h3,
.compare-card-copy h3,
.browse-card-copy h3,
.home-single-copy h3,
.section-title h2,
.start-here-copy h1,
.start-here-side h2,
.start-here-side h3{
  font-family:Georgia, "Times New Roman", serif;
  letter-spacing:.01em;
}

.metadata-panel-copy h3,
.compare-card-copy h3,
.item-group-head h3{
  color:#2f2418;
}

.image-meta{
  gap:8px;
  margin-top:auto;
  padding:14px 0 0;
}

.image-meta-badges{gap:6px}

.image-meta span,
.metadata-panel-meta,
.compare-meta,
.item-caption,
.item-group-head > div:first-child > p{
  font-size:.9rem;
  line-height:1.6;
}

.detail-pill,
.meta-badge,
.item-count-pill,
.stat-pill,
.compare-count-pill{
  box-shadow:0 8px 18px rgba(83,60,22,.08);
}

.metadata-panel-card,
.compare-tray,
.catalog-toolbar,
.item-group,
.note,
.start-here-panel{
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(250,244,234,.72)),
    var(--panel);
}

.item-group-head{
  gap:20px;
  align-items:stretch;
}

.item-group-copy{
  flex:1 1 auto;
}

.item-group-meta{
  align-items:flex-start;
  justify-content:flex-end;
}

.collection-anchor-nav,
.catalog-top-stack,
.catalog-layout,
.item-groups,
.compare-grid{
  row-gap:22px;
}

.hero-kicker,
.badge,
.catalog-toolbar-kicker,
.compare-kicker,
.browse-card-kicker,
.metadata-panel-eyebrow,
.metadata-panel-kicker{
  letter-spacing:.14em;
}

.metadata-panel-helper{
  font-style:italic;
}

.item-group.is-selected,
.gallery-item.is-selected,
.thumb-link.is-selected,
.compare-card:hover,
.metadata-panel-card:hover{
  box-shadow:0 22px 42px rgba(34,24,15,.12), 0 0 0 2px rgba(201,169,95,.16);
}

.compare-card-copy,
.metadata-panel-copy,
.item-group-copy{
  border-radius:18px;
}

.gallery-item.use-frame-ratio .image-meta,
.thumb-link.use-frame-ratio .image-meta{
  border-top:1px solid rgba(150,116,57,.14);
}

html{
  scrollbar-color:#c4a867 #efe9dc;
}

@media (max-width: 680px){
  .page-hero .copy,
  .metadata-panel-copy,
  .compare-card-copy,
  .item-group-copy,
  .browse-card-copy,
  .home-single-copy,
  .showcase-card .meta,
  .note,
  .start-here-copy{padding:14px}
}


/* Pass 35 — auction house / museum label polish */
.brand-eyebrow,
.hero-kicker,
.badge,
.catalog-toolbar-kicker,
.compare-kicker,
.compare-card-kicker,
.browse-card-kicker,
.metadata-panel-eyebrow,
.metadata-panel-kicker,
.start-here-seal{
  text-transform:uppercase;
  letter-spacing:.18em;
}

.badge,
.hero-kicker,
.metadata-panel-eyebrow,
.metadata-panel-kicker,
.catalog-toolbar-kicker,
.compare-kicker,
.compare-card-kicker,
.browse-card-kicker{
  font-size:.7rem;
}

.metadata-panel-eyebrow,
.metadata-panel-kicker,
.catalog-toolbar-kicker,
.compare-kicker,
.compare-card-kicker,
.browse-card-kicker{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  width:fit-content;
  max-width:100%;
  padding:.38rem .72rem;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,250,241,.95) 0%, rgba(240,226,192,.92) 100%);
  border:1px solid rgba(160,124,57,.34);
  box-shadow:0 8px 18px rgba(83,60,22,.08);
  color:#6e5225;
}

.metadata-panel-eyebrow::before,
.metadata-panel-kicker::before,
.catalog-toolbar-kicker::before,
.compare-kicker::before,
.compare-card-kicker::before,
.browse-card-kicker::before{
  content:"◆";
  font-size:.58rem;
  color:rgba(160,124,57,.82);
}

.metadata-panel-pills,
.compare-badges,
.item-title-row{
  row-gap:.55rem;
}

.item-group-head{
  padding-bottom:14px;
  border-bottom:1px solid rgba(150,116,57,.12);
}

.item-group + .item-group{
  margin-top:2px;
}

.item-caption,
.compare-caption,
.metadata-panel-caption{
  font-style:italic;
}

.image-meta span,
.metadata-panel-note,
.compare-note,
.compare-meta{
  color:#5f4f3e;
}

.item-title-row h3,
.compare-card-copy h3,
.metadata-panel-copy h3{
  text-wrap:balance;
}

.footer::before{
  content: none;
}

.start-here-link strong,
.start-here-side h2,
.start-here-side h3,
.metadata-panel-copy h3,
.compare-card-copy h3{
  letter-spacing:.015em;
}


/* Pass 36 — curator polish */
:root{
  --curator-serif: "Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,"Times New Roman",serif;
  --curator-sans: "Segoe UI", Arial, sans-serif;
  --curator-ink:#322618;
  --curator-ink-soft:#625545;
  --curator-gold:#9f7b3f;
  --curator-gold-soft:rgba(159,123,63,.2);
  --curator-rule:rgba(140,108,56,.18);
}

body{
  font-family:var(--curator-sans);
  line-height:1.62;
  color:var(--curator-ink);
}

.header{
  box-shadow:0 6px 16px rgba(21,16,10,.08);
}
.header::after{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(214,185,127,.34), transparent);
}
.header-inner{
  padding-top:15px;
  padding-bottom:15px;
}
.nav{
  gap:26px;
  letter-spacing:.12em;
  font-size:.82rem;
}
.nav a{
  position:relative;
  padding:8px 0;
  border-bottom:0;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(255,245,228,.85), transparent);
  opacity:0;
  transform:translateY(3px);
  transition:opacity .18s ease, transform .18s ease;
}
.nav a.active::after,
.nav a:hover::after,
.nav a:focus-visible::after{
  opacity:1;
  transform:translateY(0);
}

.brand-title,
.section-title h2,
.page-hero .copy h1,
.collection-hero-copy h1,
.metadata-panel-copy h3,
.compare-card-copy h3,
.item-group-head h3,
.home-single-copy h3,
.browse-card-copy h3,
.start-here-copy h1,
.start-here-side h2,
.start-here-side h3,
.note h3{
  font-family:var(--curator-serif);
  font-weight:700;
  letter-spacing:.012em;
  color:#2f2418;
}

.hero p,
.page-hero .copy p,
.browse-intro-copy p,
.home-single-copy p,
.browse-card-copy p,
.note p,
.metadata-panel-note,
.compare-note,
.compare-meta,
.item-caption,
.item-group-head > .item-group-copy > p,
.start-here-side p,
.start-here-side li{
  color:var(--curator-ink-soft);
}

.section-kicker,
.home-section-title-kicker,
.catalog-section-kicker,
.small,
.launcher-note{
  color:#746756;
  line-height:1.68;
}

.hero-copy::after,
.collection-hero-copy::after,
.browse-intro-copy::after{
  margin-top:16px;
  color:rgba(159,123,63,.78);
}

.page-hero .copy,
.metadata-panel-copy,
.compare-card-copy,
.item-group-copy,
.browse-card-copy,
.home-single-copy,
.showcase-card .meta,
.note,
.start-here-copy,
.start-here-side{
  padding:20px;
  gap:12px;
}

.metadata-panel-copy{
  background:
    linear-gradient(180deg, rgba(255,252,247,.96) 0%, rgba(248,242,232,.96) 100%);
  border:1px solid transparent;
}

.metadata-panel-eyebrow{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#887350;
  letter-spacing:.22em;
}
.metadata-panel-eyebrow::before{
  display:none;
}
.metadata-panel-kicker{
  background:linear-gradient(180deg, rgba(255,250,241,.98) 0%, rgba(243,230,202,.95) 100%);
}
.metadata-panel-copy h3{
  margin:2px 0 0;
  font-size:1.42rem;
  line-height:1.16;
}
.metadata-panel-copy h3::after{
  content:"";
  display:block;
  width:88px;
  max-width:30%;
  height:1px;
  margin-top:14px;
  background:linear-gradient(90deg, rgba(159,123,63,.72), transparent);
}
.metadata-panel-pills{
  margin-top:-2px;
}
.metadata-panel-caption{
  margin-top:2px;
  padding-left:14px;
  border-left:2px solid rgba(159,123,63,.24);
}
.metadata-panel-note{
  margin-top:-2px;
}
.metadata-panel-meta{
  padding-top:10px;
  border-top:1px solid var(--curator-rule);
  font-size:.88rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#7a6643;
}
.metadata-panel-helper{
  margin-top:2px;
  padding-top:14px;
  color:#7a6955;
}

.catalog-toolbar-head h2,
.compare-tray-head h2{
  font-family:var(--curator-serif);
  font-size:1.52rem;
  letter-spacing:.015em;
  color:#2f2418;
}
.catalog-toolbar-head .small{
  max-width:42ch;
  text-align:right;
}
.catalog-toolbar-grid{
  margin-top:4px;
}
.search,
.filter-toggle,
.filter-select{
  border-color:rgba(140,108,56,.2);
}
.search:focus,
.filter-select select:focus{
  outline:none;
}

.collection-anchor-nav{
  padding:2px 0 0;
}
.anchor-pill{
  background:linear-gradient(180deg, rgba(255,251,244,.94) 0%, rgba(243,232,206,.92) 100%);
  border:1px solid rgba(159,123,63,.24);
  color:#624e2d;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.72rem;
}
.anchor-pill:hover,
.anchor-pill:focus-visible{
  border-color:rgba(159,123,63,.4);
}

.item-group{
  background:
    linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(248,242,232,.9) 100%),
    var(--panel);
}
.item-group-head{
  padding-bottom:16px;
}
.item-group-head h3{
  font-size:1.46rem;
}
.item-title-row{
  align-items:flex-start;
}
.item-group-head > .item-group-copy > p{
  margin-top:2px;
}
.item-group-copy::before{
  border-radius:20px;
}
.item-actions-row{
  margin-top:2px;
  margin-bottom:16px;
}
.item-count-pill{
  min-width:130px;
  justify-content:center;
}
.role-group{
  border:1px solid rgba(140,108,56,.12);
  box-shadow:0 10px 24px rgba(48,34,18,.05);
}
.role-group-head{
  padding-bottom:10px;
  border-bottom:1px solid rgba(140,108,56,.1);
}

.compare-tray{
  border:1px solid rgba(159,123,63,.18);
}
.compare-tray-head{
  padding-bottom:14px;
  margin-bottom:2px;
  border-bottom:1px solid rgba(140,108,56,.12);
}
.compare-card{
  border:1px solid rgba(140,108,56,.12);
  overflow:hidden;
}
.compare-card-copy{
  padding:18px;
}
.compare-card-copy h3{
  font-size:1.26rem;
}
.compare-caption{
  padding-left:12px;
  border-left:2px solid rgba(159,123,63,.22);
}
.compare-meta{
  padding-top:10px;
  border-top:1px solid var(--curator-rule);
  font-size:.84rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.home-single-card,
.browse-card,
.home-showcase-grid .showcase-card{
  border:1px solid rgba(140,108,56,.11);
}
.home-single-copy,
.browse-card-copy,
.showcase-card .meta{
  border-radius:20px;
}
.home-single-copy h3,
.browse-card-copy h3{
  font-size:1.24rem;
}
.browse-card-kicker,
.compare-kicker,
.catalog-toolbar-kicker{
  margin-bottom:2px;
}
.browse-search-panel{
  border-left:1px solid rgba(140,108,56,.12);
}
.browse-search-input::placeholder,
.search::placeholder{
  color:#625446;
}

.page-hero-frame,
.home-hero-frame,
.compare-card-media,
.item-cover,
.gallery-item,
.thumb-link{
  border:1px solid rgba(140,108,56,.1);
}

.metadata-panel-media{
  border:1px solid transparent;
}

.start-here-panel{
  overflow:hidden;
}
.start-here-copy{
  background:
    linear-gradient(180deg, rgba(255,252,246,.96) 0%, rgba(247,240,229,.96) 100%);
}
.start-here-side{
  background:rgba(33,25,18,.94);
  border:1px solid rgba(214,185,127,.14);
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.start-here-link{
  border-color:rgba(140,108,56,.16);
}
.start-here-link strong{
  font-family:var(--curator-serif);
  font-weight:700;
}
.start-here-side ul{
  padding-left:20px;
}
.start-here-side li + li{
  margin-top:8px;
}

.footer{
  padding-top:32px;
}
.footer p{
  letter-spacing:.06em;
}
.footer-links{
  gap:16px 18px;
}
.footer-links a{
  letter-spacing:.08em;
  font-size:.8rem;
}

@media (max-width: 900px){
  .catalog-toolbar-head .small{
    text-align:left;
    max-width:none;
  }
  .browse-search-panel{
    border-left:0;
    border-top:1px solid rgba(140,108,56,.12);
  }
}
@media (max-width: 680px){
  .nav{
    gap:12px;
    font-size:.76rem;
    letter-spacing:.1em;
  }
  .page-hero .copy,
  .metadata-panel-copy,
  .compare-card-copy,
  .item-group-copy,
  .browse-card-copy,
  .home-single-copy,
  .showcase-card .meta,
  .note,
  .start-here-copy,
  .start-here-side{
    padding:16px;
  }
  .item-group-head h3,
  .metadata-panel-copy h3,
  .compare-card-copy h3{
    font-size:1.18rem;
  }
}


/* Pass 37 — screenshot polish */
.hero{
  padding:24px 0 48px;
}
.hero-card,
.browse-intro-card,
.page-hero{
  box-shadow:0 8px 20px rgba(32,23,15,.05);
}
.hero-card{
  max-width:860px;
  margin:0 auto;
  padding:12px 12px 22px;
  background:linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(248,242,232,.88) 100%);
  border:1px solid rgba(140,108,56,.12);
}
.hero-image-frame{
  border-radius:24px;
  overflow:hidden;
}
.hero-copy{
  max-width:700px;
  margin:24px auto 0;
}
.hero-actions{margin-top:10px}

.home-single-grid,
.home-showcase-grid,
.browse-grid{
  align-items:stretch;
}
.home-single-card,
.home-showcase-grid .showcase-card,
.browse-grid .filter-card,
.browse-grid .browse-card{
  height:100%;
}
.home-single-frame{
  aspect-ratio:16/10;
}
.home-single-copy,
.browse-card-copy,
.showcase-card .meta{
  display:flex;
  flex-direction:column;
}
.home-single-copy,
.browse-card-copy{
  min-height:182px;
}
.home-single-copy .button-row,
.browse-card-copy .button-row,
.showcase-actions{
  margin-top:auto;
}
.showcase-card .overlay{
  align-items:flex-end;
  justify-content:flex-start;
  padding:18px 18px 16px;
  background:linear-gradient(to top, rgba(26,18,10,.40), rgba(26,18,10,.06) 44%, rgba(26,18,10,0) 72%);
}
.showcase-card .overlay span{
  max-width:none;
  padding:.56rem .96rem;
  border-radius:999px;
  background:rgba(24,17,10,.84);
  border:1px solid rgba(214,185,127,.24);
  font-size:1.02rem;
  line-height:1;
  text-shadow:none;
}
.showcase-card .meta{
  min-height:148px;
}
.showcase-desc{
  margin:0 0 14px;
}
.showcase-link{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#6c552d;
  font-weight:800;
}
.showcase-link::after{
  content:'→';
  font-size:.92rem;
}

.browse-intro-card{
  padding:18px;
  align-items:stretch;
}
.browse-search-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  padding:18px 0 18px 26px;
  min-height:100%;
}
.browse-search-panel .small{
  max-width:32ch;
}
.browse-grid .filter-card{
  display:flex;
}
.browse-card-copy{
  min-height:190px;
}
.browse-card-kicker{
  margin-bottom:8px;
}

.collection-page-hero,
body[data-page="history"] .page-hero,
body[data-page="contact"] .page-hero{
  padding:18px;
  gap:22px;
}
.catalog-top-stack,
.item-groups,
.compare-grid{
  row-gap:18px;
}
.catalog-toolbar{
  margin-bottom:20px;
}
body[data-page="history"] .split{
  gap:22px;
}
body[data-page="history"] .note,
body[data-page="contact"] .note{
  min-height:0;
}

/* R04A.4 / R04A.6 — History and Contact panel framing */
body[data-page="history"] .page-hero::after,
body[data-page="history"] .page-hero .copy::before,
body[data-page="contact"] .page-hero::after,
body[data-page="contact"] .page-hero .copy::before,
body[data-page="contact"] .page-hero .note::before{
  border-color:transparent;
}

.footer{
  margin-top:42px;
  padding:18px 0 22px;
  border-top:0;
}
.footer .container{
  padding:20px 24px 22px;
  border-radius:28px;
  border:1px solid rgba(140,108,56,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(246,239,227,.9) 100%);
  box-shadow:0 16px 32px rgba(32,23,15,.06);
}
.footer::before{
  margin-bottom:10px;
}
.footer p{
  margin-bottom:10px;
}
.footer-links{
  gap:12px 16px;
}
.footer-links a{
  opacity:.9;
}
.footer-links a:hover,
.footer-links a:focus-visible{
  opacity:1;
  text-decoration:none;
}

body[data-page="history"] .footer,
body[data-page="contact"] .footer{
  margin-top:28px;
}

@media (max-width: 900px){
  .hero-card{
    max-width:none;
  }
  .browse-search-panel{
    padding:18px 0 0;
  }
  .browse-search-panel .small{
    max-width:none;
  }
}

@media (max-width: 680px){
  .hero-card,
  .browse-intro-card,
  .page-hero,
  .collection-page-hero{
    padding:12px;
  }
  .footer .container{
    padding:18px 16px 20px;
    border-radius:22px;
  }
  .home-single-copy,
  .browse-card-copy,
  .showcase-card .meta{
    min-height:0;
  }
}


/* Final polish pass — mobile + desktop fit cleanup */
.page-hero > *,
.browse-intro-card > *,
.browse-grid > .filter-card,
.home-single-grid > *,
.home-showcase-grid > *{
  min-width:0;
}

.page-hero-frame,
.collection-hero-frame,
.card-frame,
.home-single-frame,
.browse-collage-frame,
.browse-detail-frame,
.media-frame,
.item-cover{
  max-width:100%;
  overflow:hidden;
}

.collection-page-hero,
.browse-intro-card--simple{
  grid-template-columns:minmax(0,1fr);
}

.collection-page-hero{
  align-items:stretch;
}

.collection-hero-copy,
.page-hero .copy,
.browse-intro-copy,
.home-single-copy,
.browse-card-copy,
.item-group-copy,
.metadata-panel-copy{
  min-width:0;
}

.page-hero .copy p,
.browse-intro-copy p,
.home-single-copy p,
.browse-card-copy p,
.item-group-head > .item-group-copy > p,
.metadata-panel-note,
.metadata-panel-caption{
  overflow-wrap:anywhere;
}

.browse-intro-copy p{
  max-width:48ch;
}

.browse-search-panel,
.catalog-toolbar{
  display:none !important;
}

.browse-intro-card--simple .browse-intro-copy{
  max-width:56rem;
}

.browse-card{
  padding:12px;
}

.browse-card-copy{
  min-height:172px;
  gap:8px;
}

.browse-card-copy h3,
.home-single-copy h3{
  overflow-wrap:anywhere;
}

.browse-card-copy p:last-of-type,
.home-single-copy p{
  max-width:none;
}

.browse-card-kicker{
  gap:0;
}

.browse-card-kicker::before{
  content:none;
}

.home-single-frame.use-frame-ratio{
  padding:12px;
}

.home-single-frame .framed-image{
  transform:scale(1.08);
  transform-origin:center center;
}

.home-showcase-grid .showcase-frame.frame-object-emphasis{
  padding-bottom:12px;
}

.home-showcase-grid .overlay{
  bottom:14px;
}

.home-showcase-grid .meta{
  min-height:126px;
  gap:10px;
}

.collection-hero-frame.use-frame-ratio,
.page-hero-frame.use-frame-ratio{
  width:100%;
}

.collection-anchor-nav{
  flex-wrap:wrap;
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:64px;
  height:64px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.26);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:2.1rem;
  line-height:1;
  cursor:pointer;
  z-index:3;
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}

.lightbox-prev{left:18px;}
.lightbox-next{right:18px;}
.lightbox-nav:hover,
.lightbox-nav:focus-visible{
  background:rgba(0,0,0,.42);
  border-color:rgba(255,255,255,.26);
}
.lightbox-nav[hidden]{display:none;}

@media (max-width: 900px){
  .collection-page-hero{
    grid-template-columns:1fr;
  }
  .home-showcase-grid .meta{
    min-height:auto;
  }
}

@media (max-width: 680px){
  .home-single-frame.use-frame-ratio{
    padding:10px;
  }
  .home-single-frame .framed-image{
    transform:scale(1.04);
  }
  .browse-card-copy{
    min-height:0;
  }
  .lightbox-nav{
    width:52px;
    height:52px;
    font-size:1.8rem;
  }
  .lightbox-prev{left:10px;}
  .lightbox-next{right:10px;}
}


/* Final polish pass 3 — runtime fix + desktop/mobile cleanup */
.page-hero .copy p,
.browse-intro-copy p,
.home-single-copy p,
.browse-card-copy p,
.item-group-head > .item-group-copy > p,
.metadata-panel-note,
.metadata-panel-caption{
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
}

.collection-hero-frame.frame-object-contain,
.page-hero-frame.frame-object-contain{
  padding:24px;
}

.collection-hero-frame .framed-image,
.page-hero-frame .framed-image{
  object-fit:contain;
  object-position:center center;
}

.home-single-frame.use-frame-ratio{
  padding:10px;
}

.home-single-frame .framed-image{
  transform:scale(1.12);
  transform-origin:center center;
}

.surface-home-showcase.frame-object-emphasis,
.home-showcase-grid .showcase-frame.frame-object-emphasis{
  padding-bottom:0;
}

.showcase-card .overlay{
  bottom:10px;
}

.showcase-card .meta,
.home-showcase-grid .meta{
  min-height:112px;
  padding:14px 18px 18px;
  gap:8px;
}

.catalog-toolbar{
  display:none !important;
}

@media (max-width: 900px){
  .collection-page-hero{
    grid-template-columns:1fr;
  }
}

@media (max-width: 680px){
  .collection-hero-frame.frame-object-contain,
  .page-hero-frame.frame-object-contain{
    padding:16px;
  }

  .home-single-frame.use-frame-ratio{
    padding:8px;
  }

  .home-single-frame .framed-image{
    transform:scale(1.06);
  }

  .showcase-card .meta,
  .home-showcase-grid .meta,
  .browse-card-copy{
    min-height:0;
  }
}


/* Final polish pass — lighter nav title + safer catalog hero fit */
.brand-title{
  color:#f7f1e6;
  text-shadow:0 1px 0 rgba(0,0,0,.28);
}
.brand-copy{
  opacity:1;
}
.collection-hero-frame.frame-object-contain,
.page-hero-frame.frame-object-contain{
  padding:clamp(14px, 1.25vw, 22px);
}
.collection-hero-frame.use-frame-ratio,
.page-hero-frame.use-frame-ratio{
  min-height:clamp(280px, 34vw, 520px);
}
.collection-hero-frame .framed-image,
.page-hero-frame .framed-image{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
}
@media (max-width: 980px){
  .collection-hero-frame.use-frame-ratio,
  .page-hero-frame.use-frame-ratio{
    min-height:clamp(220px, 56vw, 420px);
  }
}


/* JAHC M03A — layout density and background: begin
   Preserve theme, image framing, typography, focus states and touch controls.
   Consolidate with the qualified base rules after browser acceptance. */
html, body {
  background-repeat: no-repeat;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > #site-header, body > #site-footer {
  flex: 0 0 auto;
  min-width: 0;
}
body > #app {
  flex: 1 0 auto;
  min-width: 0;
}
#app .home-single-card {
  height: auto;
  min-height: 0;
}
#app .home-single-copy {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  gap: 0.65rem;
}
#app .home-single-copy p {
  min-height: 0;
}
#app .home-single-copy .button-row,
#app .browse-card-copy .browse-card-actions {
  margin-top: 0.5rem;
}
#app .browse-card-copy {
  height: auto;
  min-height: 0;
  gap: 0.65rem;
}
/* JAHC M03A — layout density and background: end */


/* JAHC M03B — selected History and deferred comparison: begin */
/* Visitor comparison deferred. Remove these rules to reconsider the feature. */
#app .compare-toggle, #app [data-compare-toggle], #app #compare-tray,
#app a[href="#compare-tray"], #app .item-actions-row:has(> .compare-toggle:only-child) { display: none !important; }
#app .jahc-history-documents { margin-block: 2rem; }
#app .jahc-history-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
#app .jahc-history-card { min-width: 0; padding: 1rem; border: 1px solid rgba(110,95,72,.18); border-radius: 22px; background: var(--panel,#faf7ef); }
#app .jahc-history-card h3 { margin: 0 0 .75rem; }
#app .jahc-history-card a { display: block; margin-block: .5rem; }
#app .jahc-history-card img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 12px; }
@media (max-width: 800px) { #app .jahc-history-grid { grid-template-columns: 1fr; } }
/* JAHC M03B R2 — History presentation */
/* JAHC M03B R3 — History card split: keep existing cover framing. */
#app .jahc-history-feature { margin-block: 2rem; }
#app .jahc-history-feature-card { width: min(100%, 54rem); box-sizing: border-box; margin-inline: auto; }
#app .jahc-history-feature-card h3 { font-size: 1rem; }
#app .jahc-history-feature-card img { max-height: 75vh; object-fit: contain; }
#app .jahc-history-cover-view a { aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; background: #f1efec; position: relative; }
#app .jahc-history-cover-view img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#app .jahc-history-cover-view a[href$="/D-006.jpg"] img { transform: scale(2.05); transform-origin: center; }
/* JAHC M03B — selected History and deferred comparison: end */


/* JAHC M03C — showcase and category layout: begin
   Layout only; retain existing colors, typography, frame styling and controls. */
#app .home-showcase-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  min-height: 0;
}
#app .home-showcase-card > .showcase-frame {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}
#app .home-showcase-card > .meta {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  min-width: 0;
  margin: 0;
  gap: 0.65rem;
  box-sizing: border-box;
}
#app .home-showcase-card .showcase-actions {
  margin-top: 0.35rem;
}
#app .collection-page-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 1.8vw, 1.5rem);
  margin-block: 1.25rem 1.5rem;
}
#app .collection-page-hero > .collection-hero-copy {
  min-width: 0;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
  box-sizing: border-box;
}
#app .collection-hero-copy > .badge {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  white-space: normal;
}
#app .collection-hero-copy > h1,
#app .collection-hero-copy > p,
#app .collection-hero-copy .catalog-stats,
#app .collection-hero-copy .collection-hero-actions {
  margin-block: 0;
}
#app .collection-page-hero > .collection-hero-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  min-width: 0;
  aspect-ratio: 4 / 3;
  align-self: center;
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
}
#app .collection-page-hero > .collection-hero-frame .framed-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
@media (min-width: 960px) {
  #app .collection-page-hero {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}
/* JAHC M03C — showcase and category layout: end */


/* JAHC M03D — canonical photo strip: begin */
#app .item-group:has(> .jahc-canonical-photo-strip) {
  padding: clamp(0.75rem, 1.6vw, 1.15rem);
  min-width: 0;
}
#app .item-group:has(> .jahc-canonical-photo-strip) > .item-group-head {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
#app .item-group:has(> .jahc-canonical-photo-strip) .item-group-copy {
  flex: 1 1 12rem;
  min-width: 0;
}
#app .item-strip.jahc-canonical-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
}
#app .jahc-canonical-photo-strip > .thumb-link {
  min-width: 0;
  min-height: 0;
  margin: 0;
}
@media (max-width: 700px) {
  #app .item-strip.jahc-canonical-photo-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* JAHC M03D — canonical photo strip: end */


/* JAHC M04A — responsive presentation: begin
   Narrow-screen rules take precedence over historical kiosk/zoom grid rules.
   No palette, font family, image source, or interaction changes. */
@media (max-width: 1120px) {
  body #app .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.75rem, 2vw, 1.5rem);
  }
  body #app .catalog-layout > .catalog-main,
  body #app .catalog-layout > .metadata-panel {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  body #app .catalog-layout > .metadata-panel {
    position: static;
    grid-row: 1;
  }
  body #app .metadata-panel-card.has-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center;
  }
  body #app .metadata-panel-media {
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
  }
  body #app .metadata-panel-media .framed-image {
    object-fit: contain;
    transform: none;
  }
  body #app .metadata-panel-copy {
    min-width: 0;
    padding: clamp(0.65rem, 2vw, 1rem);
    overflow-wrap: anywhere;
  }
  body #app .metadata-panel-copy > * { max-width: 100%; }
  body #scroll-top-button.scroll-top-button {
    position: static;
    flex: 0 0 auto;
    align-self: flex-end;
    margin: 0.5rem 1rem 1rem;
    min-width: 44px;
    min-height: 44px;
    transform: none;
  }
  body #scroll-top-button[hidden] { display: none; }
}
@media (max-width: 700px) {
  body #site-header .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
  }
  body #site-header .brand {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }
  body #site-header .brand img { max-width: 100%; object-fit: contain; }
  body #site-header .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.75rem;
    min-width: 0;
    width: 100%;
  }
  body #site-header .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
  body #app .container { padding-inline: 0.75rem; }
  body #app .home-single-grid,
  body #app .home-showcase-grid,
  body #app .browse-grid,
  body #app .gallery-grid,
  body #app .item-strip.jahc-canonical-photo-strip {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 0.75rem;
  }
  body #app .catalog-layout > .metadata-panel .metadata-panel-card.has-image {
    grid-template-columns: minmax(0, 1fr);
  }
  body #app .metadata-panel-media { max-width: min(100%, 14rem); justify-self: center; }
  body #app .collection-anchor-nav { flex-wrap: wrap; min-width: 0; }
  body #app .collection-anchor-nav a,
  body #app .collection-hero-actions a {
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
  }
  body #app .item-group-head > * { min-width: 0; max-width: 100%; }
  body #site-footer .footer-links { flex-wrap: wrap; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* JAHC M04A — responsive presentation: end */

/* JAHC M04A R2.2 — shared photographs and local search */
#app .jahc-search-panel { padding: clamp(.75rem, 2vw, 1.5rem); border: 1px solid rgba(110,95,72,.22); border-radius: 16px; background: var(--panel,#faf7ef); min-width: 0; }
#app .jahc-search-panel h2 { margin: 0 0 .5rem; }
#app .jahc-search-panel label { display: block; margin-bottom: .25rem; }
#app #jahc-search-input { display: block; box-sizing: border-box; width: 100%; min-height: 44px; font: inherit; }
#app .jahc-search-results { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 15rem),1fr)); gap: .65rem; }
#app .jahc-search-result { min-width: 0; padding: .75rem; border: 1px solid rgba(110,95,72,.22); border-radius: 10px; overflow-wrap: anywhere; }
#app .jahc-search-result p { margin: .3rem 0; }
#app .jahc-search-result a { text-decoration: underline; }
#app .jahc-search-record-link { font-weight: 700; font-size: 1.1rem; }
#app #jahc-search-more { margin-top: .75rem; min-height: 44px; }
#app #jahc-search-more[hidden] { display: none; }
#app [data-jahc-record-ids], #app .jahc-history-card { scroll-margin-top: 1rem; }
#app [data-jahc-record-ids]:focus-visible, #app .jahc-history-card:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* JAHC M04A R2.3 — shared collection views and visual search */
#app .jahc-search-preview { display:block; background:rgba(110,95,72,.06); border-radius:8px; overflow:hidden; margin-bottom:.65rem; }
#app .jahc-search-preview img { display:block; width:100%; aspect-ratio:5/4; object-fit:contain; }
#app .jahc-search-identities { line-height:1.5; overflow-wrap:anywhere; }
#app .jahc-search-result a:focus-visible { outline:2px solid currentColor; outline-offset:2px; }

/* JAHC M04B — keyboard and responsive accessibility */
.jahc-skip-link { position:fixed; top:.5rem; left:.5rem; z-index:95; padding:.75rem 1rem; border-radius:6px; background:#fff; color:#30271c; transform:translateY(-160%); }
.jahc-skip-link:focus { transform:none; }
#app a:focus-visible, #app button:focus-visible, #app input:focus-visible, #app select:focus-visible, #site-header a:focus-visible, #site-footer a:focus-visible, #scroll-top-button:focus-visible, .jahc-skip-link:focus-visible, .lightbox button:focus-visible { outline:2px solid #fff; outline-offset:2px; box-shadow:0 0 0 4px #30271c; }
#app [tabindex="-1"]:focus-visible, #app:focus-visible { outline:2px solid currentColor; outline-offset:-2px; }
#app, #jahc-main-content, #app .jahc-search-record-link, #app [data-jahc-record-ids], #app .jahc-history-card { scroll-margin-top:7rem; }
#app .jahc-search-record-link { display:inline-block; min-height:28px; align-content:center; }
#app .jahc-search-result:focus-within { border-color:currentColor; }
body .lightbox .lightbox-tool, body .lightbox .lightbox-close { min-height:44px; min-width:44px; }
@media (max-width:700px), (max-height:500px) {
 body .lightbox .lightbox-inner { box-sizing:border-box; width:calc(100% - 1rem); max-height:94vh; max-height:94dvh; overflow:auto; padding:.5rem; gap:.5rem; }
 body .lightbox .lightbox-toolbar { padding-right:50px; flex-wrap:wrap; gap:.25rem; }
 body .lightbox .lightbox-tool { min-width:44px; padding:.4rem .5rem; }
 body .lightbox .lightbox-close { top:.5rem; right:.5rem; }
 body .lightbox .lightbox-viewport { min-height:0; max-height:58vh; max-height:58dvh; }
 body .lightbox .lightbox-viewport img { max-height:58vh; max-height:58dvh; }
 #app, #jahc-main-content, #app .jahc-search-record-link, #app [data-jahc-record-ids], #app .jahc-history-card { scroll-margin-top:10rem; }
}
@media (prefers-reduced-motion:reduce) {
 .lightbox .lightbox-viewport img, .jahc-skip-link { transition:none; }
 html { scroll-behavior:auto; }
}

/* JAHC M04B R3 — navigation correction */
/* Keep the original scroll threshold and interaction handlers. */
body #scroll-top-button.scroll-top-button {
 position: fixed; margin: 0; width: 46px; height: 46px;
 min-width: 44px; min-height: 44px;
 right: max(22px, env(safe-area-inset-right, 0px));
 bottom: max(22px, env(safe-area-inset-bottom, 0px));
 z-index: 80;
}
@media (max-width:1120px) {
 body #scroll-top-button.scroll-top-button {
  right: calc(10px + env(safe-area-inset-right, 0px));
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
 }
}
body #scroll-top-button[hidden], body #scroll-top-button[inert],
body.lightbox-open #scroll-top-button { display:none; }
/* Clipped (not display:none) so the skip link remains first in tab order. */
body > .jahc-skip-link:not(:focus) {
 width:1px; height:1px; padding:0; margin:0; overflow:hidden;
 clip-path:inset(50%); white-space:nowrap; transform:none;
}
body > .jahc-skip-link:focus {
 clip-path:none; width:auto; height:auto; overflow:visible;
 white-space:normal; transform:none; max-width:calc(100% - 1.5rem);
 top:calc(.5rem + env(safe-area-inset-top, 0px));
 left:calc(.5rem + env(safe-area-inset-left, 0px));
 z-index:95; outline:2px solid #30271c; outline-offset:2px;
}
@media (prefers-reduced-motion:reduce) {
 body #scroll-top-button.scroll-top-button { transition:none; }
}

/* JAHC M06A R1 — homepage and header density: begin
   Preserve original markup, semantic heading, attribution, routes, image URLs and focus states.
   Logo-only visual branding; no changes to catalog, search, History or lightbox. */
body #site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-direction: row; flex-wrap: nowrap; gap: clamp(.5rem,2vw,1.5rem);
  padding: .5rem clamp(.75rem,2vw,1.375rem); min-height: 0;
}
body #site-header .brand {
  width: auto; max-width: 100%; min-width: 0; flex: 0 1 auto;
  flex-wrap: nowrap; gap: 0; justify-content: flex-start; margin: 0;
}
/* Only within the brand link: retain the image and any ancestor that contains it. */
body #site-header .brand > :not(img):not(:has(img)),
body #site-header .brand :is(div,span):not(:has(img)) { display: none; }
body #site-header .brand img {
  display: block; width: auto; height: clamp(2.5rem,4vw,3.25rem);
  max-width: 100%; object-fit: contain;
}
body #site-header .nav {
  width: auto; min-width: 0; flex: 0 1 auto; display: flex;
  flex-wrap: wrap; justify-content: flex-end; align-items: center;
  gap: .15rem clamp(.5rem,1.4vw,1.5rem);
}
body #site-header .nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding-block: .25rem; white-space: nowrap;
}
body #app .home-page .hero { padding: clamp(.75rem,2vw,1.5rem) 0 1rem; }
body #app .home-page .home-hero-card {
  display: grid; grid-template-columns: minmax(0,1fr); align-items: center;
  width: 100%; max-width: none; margin: 0 auto; min-height: 0;
  gap: clamp(.5rem,1.8vw,1.5rem); padding: clamp(.5rem,1.3vw,1rem);
  border-radius: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.06);
  overflow: visible; box-sizing: border-box;
}
body #app .home-page .home-hero-frame {
  display: flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 0; width: 100%; max-width: 100%; height: auto;
  aspect-ratio: 16 / 9; padding: .25rem; margin: 0; border-radius: 12px;
  box-shadow: none; box-sizing: border-box; overflow: hidden;
}
body #app .home-page .home-hero-frame .framed-image {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center; transform: none; margin: 0;
}
body #app .home-page .home-hero-copy {
  min-width: 0; max-width: none; width: 100%; margin: 0; padding: .5rem;
  text-align: center; box-sizing: border-box;
}
body #app .home-page .hero h1 {
  font-size: clamp(1.9rem,3.5vw,3.25rem); line-height: 1.08;
  margin: 0 0 .6rem; overflow-wrap: anywhere;
}
body #app .home-page .hero p { margin: .35rem auto; line-height: 1.45; }
body #app .home-page .hero .credit { font-size: .875rem; }
body #app .home-page .hero-actions { margin-top: .75rem; }
body #app .home-page .hero-actions .btn { min-height: 44px; max-width: 100%; white-space: normal; }
body #app .home-page .home-section-title { margin-block: .5rem 1rem; }
@media (min-width: 960px), (min-width: 701px) and (orientation: landscape) {
  body #app .home-page .home-hero-card { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
  body #app .home-page .home-hero-copy { text-align: left; padding: .75rem; }
  body #app .home-page .hero p { margin-inline: 0; }
  body #app .home-page .hero-actions { justify-content: flex-start !important; }
}
@media (max-width: 700px) {
  body #site-header .header-inner { flex-direction: column; align-items: stretch; gap: .25rem; padding: .4rem .65rem; }
  body #site-header .brand { width: 100%; justify-content: center; }
  body #site-header .brand img { height: 2.5rem; }
  body #site-header .nav { width: 100%; justify-content: center; gap: 0 .65rem; }
  body #app .home-page .hero h1 { font-size: clamp(1.85rem,6vw,2.5rem); }
}
@media (min-width: 701px) and (max-height: 500px) and (orientation: landscape) {
  body #site-header .header-inner { padding-block: .25rem; }
  body #site-header .brand img { height: 2.5rem; }
  body #app .home-page .hero { padding: .5rem 0; }
  body #app .home-page .home-hero-card { gap: .75rem; padding: .5rem; }
  body #app .home-page .home-hero-frame { max-height: 220px; }
  body #app .home-page .home-hero-copy { padding: .25rem; }
  body #app .home-page .hero h1 { font-size: clamp(1.6rem,3vw,2.1rem); margin-bottom: .35rem; }
  body #app .home-page .hero p { font-size: .9rem; margin-block: .25rem; line-height: 1.3; }
  body #app .home-page .hero .credit { font-size: .8rem; }
  body #app .home-page .hero-actions { margin-top: .5rem; }
}
/* JAHC M06A R1 — homepage and header density: end */

/* JAHC M06A R2 — browsing density: begin
   Scoped layout only. Preserve accepted home hero, shared header, History and lightbox.
   Keep all navigation, record labels, stats, images and touch controls. */
body #app .browse-page .browse-intro { padding: .65rem 0 .35rem; }
body #app .browse-page .browse-intro-card { display: block; padding: .65rem .85rem; border-radius: 14px; box-shadow: 0 3px 12px rgba(0,0,0,.045); }
body #app .browse-page .browse-intro-copy { padding: 0; margin: 0; min-height: 0; min-width: 0; }
body #app .browse-page .browse-intro-copy h1 { font-size: clamp(1.65rem,3vw,2.5rem); line-height: 1.12; margin: 0 0 .35rem; }
body #app .browse-page .browse-intro-copy p { margin: 0; max-width: none; line-height: 1.4; }
body #app .browse-page .browse-intro-copy > .badge { display: none; }
body #app .browse-page .browse-intro-copy::after,
body #app .browse-page .browse-intro-card::after { content: none; }
body #app .browse-page .catalog-stats,
body #app .collection-hero-copy .catalog-stats { margin: .35rem 0 0; gap: .35rem .65rem; }
body #app .browse-page .stat-pill,
body #app .collection-hero-copy .stat-pill { width: auto; min-width: 0; max-width: 100%; gap: .35rem; padding: .25rem .55rem; box-shadow: none; justify-content: flex-start; white-space: normal; }
body #app .browse-page .jahc-collection-search { padding: .25rem 0 .4rem; }
body #app .browse-page .jahc-search-panel { padding: .55rem .8rem; border-radius: 12px; }
body #app .browse-page .jahc-search-panel h2 { font-size: clamp(1.2rem,2.2vw,1.55rem); margin: 0 0 .25rem; }
body #app .browse-page .jahc-search-panel label { margin: 0 0 .2rem; }
body #app .browse-page #jahc-search-input { min-height: 44px; margin: 0; }
body #app .browse-page #jahc-search-status { margin: .25rem 0 0; }
body #app .browse-page .jahc-search-results:not(:empty) { margin-top: .5rem; }
body #app .browse-page .browse-section { padding: .35rem 0 .75rem; }
body #app .browse-page .browse-section-head { margin-bottom: .65rem; }
body #app .browse-page .browse-section-head .section-title { margin-block: .4rem .5rem; }
body #app .browse-page .browse-grid,
body #app .home-page .home-single-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: .8rem; align-items: stretch; }
body #app .browse-page .browse-card,
body #app .home-page .home-single-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; box-sizing: border-box; padding: .5rem; gap: .4rem; border-radius: 14px; box-shadow: 0 3px 12px rgba(0,0,0,.06); }
body #app .browse-page .browse-card :is(.browse-collage-frame,.browse-detail-frame),
body #app .home-page .home-single-card .home-single-frame { border-radius: 9px; box-shadow: none; min-width: 0; margin: 0; }
body #app .browse-page .browse-card-copy,
body #app .home-page .home-single-copy { flex: 1 1 auto; min-width: 0; min-height: 0; height: auto; margin: 0; padding: .5rem; gap: .4rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body #app .browse-page .browse-card-copy h3,
body #app .home-page .home-single-copy h3 { font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.25; overflow-wrap: anywhere; }
body #app .browse-page .browse-card-copy p,
body #app .home-page .home-single-copy p { min-height: 0; margin: 0; line-height: 1.4; }
body #app .browse-page .browse-card-copy p:empty { display: none; }
body #app .browse-page .browse-card-actions,
body #app .home-page .home-single-copy .button-row { margin-top: auto; }
body #app .browse-page .browse-card-actions .btn,
body #app .home-page .home-single-copy .btn { min-height: 44px; max-width: 100%; white-space: normal; }
body #app .collection-page-hero { gap: .65rem; padding: .65rem; margin-block: .65rem .8rem; border-radius: 14px; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
body #app .collection-page-hero > .collection-hero-copy { padding: .35rem; gap: .35rem; min-height: 0; }
body #app .collection-page-hero > .collection-hero-copy::after,
body #app .collection-page-hero::after { content: none; }
body #app .collection-hero-copy h1 { font-size: clamp(1.65rem,3vw,2.5rem); line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
body #app .collection-hero-copy p { line-height: 1.4; margin: 0; }
body #app .collection-hero-copy p:empty { display: none; }
body #app .collection-page-hero > .collection-hero-frame { aspect-ratio: 16 / 9; padding: .2rem; border-radius: 10px; box-shadow: none; }
body #app .collection-page-hero > .collection-hero-frame .framed-image { object-fit: contain; transform: none; }
body #app .collection-hero-actions { gap: .4rem; margin: .25rem 0 0; flex-wrap: wrap; }
body #app .collection-hero-actions a, body #app .collection-anchor-nav a { min-height: 44px; max-width: 100%; white-space: normal; }
body #app .catalog-top-stack { gap: .65rem; margin-bottom: .8rem; }
body #app .catalog-main .catalog-section-title { margin-block: .7rem .35rem; }
body #app .catalog-main .catalog-section-kicker { margin-block: .2rem .6rem; }
body #app .catalog-main .gallery-grid { gap: .65rem; grid-template-columns: minmax(0,1fr); }
body #app .catalog-main .gallery-grid .framed-image { object-fit: contain; transform: none; }
body #app .metadata-panel-card { border-radius: 14px; }
body #app .metadata-panel-copy { padding: .65rem; gap: .4rem; }
body #app .metadata-panel-copy h3 { margin-block: .2rem; }
@media (min-width: 701px) {
  body #app .browse-page .browse-grid, body #app .home-page .home-single-grid,
  body #app .catalog-main .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 960px) {
  body #app .browse-page .browse-grid, body #app .home-page .home-single-grid,
  body #app .catalog-main .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 960px) and (pointer: coarse) {
  body #app .browse-page .browse-grid, body #app .home-page .home-single-grid,
  body #app .catalog-main .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 701px) and (orientation: landscape) {
  body #app .collection-page-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (min-width: 701px) and (max-height: 500px) and (orientation: landscape) {
  body #app .browse-page .browse-intro { padding-block: .25rem; }
  body #app .browse-page .browse-intro-card { padding: .35rem .65rem; }
  body #app .browse-page .browse-intro-copy h1 { font-size: 1.65rem; }
  body #app .browse-page .browse-intro-copy p { font-size: .9rem; }
  body #app .browse-page .jahc-search-panel { padding: .35rem .65rem; }
  body #app .collection-page-hero { margin-block: .35rem; padding: .35rem; gap: .5rem; }
  body #app .collection-page-hero > .collection-hero-frame { max-height: 180px; }
  body #app .collection-hero-copy h1 { font-size: 1.6rem; }
  body #app .collection-hero-copy p { font-size: .9rem; }
}
/* JAHC M06A R2 — browsing density: end */

/* JAHC M06A R3 — inspection and finishing: begin
   Keep all controls, handlers, original image URLs and accepted hero/grid geometry. */
@media (max-width:700px) {
 body #app .collection-hero-copy .collection-hero-actions,
 body #app .collection-anchor-nav { display:flex; flex-direction:row; flex-wrap:wrap; align-items:stretch; gap:.35rem; }
 body #app .collection-hero-copy .collection-hero-actions > a,
 body #app .collection-anchor-nav > a { flex:1 1 calc(50% - .35rem); width:auto; min-width:0; max-width:100%; min-height:44px; box-sizing:border-box; padding:.45rem .5rem; line-height:1.2; text-align:center; white-space:normal; box-shadow:none; }
 body #app .collection-anchor-nav { margin-block:.45rem .8rem; padding:.35rem; }
}
@media (min-width:701px) and (max-height:500px) and (orientation:landscape) {
 body #app .jahc-search-result .jahc-search-preview img { aspect-ratio:auto; height:clamp(110px,40vh,180px); object-fit:contain; }
 body #app .jahc-search-result .jahc-search-preview { margin-bottom:.35rem; }
 body .lightbox .lightbox-inner { width:calc(100% - 1rem); max-width:calc(100% - 1rem); max-height:96vh; max-height:96dvh; box-sizing:border-box; padding:.35rem; gap:.25rem; }
 body .lightbox .lightbox-toolbar { gap:.25rem; padding-right:50px; flex-wrap:wrap; justify-content:flex-end; }
 body .lightbox .lightbox-tool { flex:0 0 auto; min-width:44px; min-height:44px; padding:.25rem .5rem; }
 body .lightbox .lightbox-close { top:.35rem; right:.35rem; min-width:44px; min-height:44px; }
 body .lightbox .lightbox-viewport { min-height:0; max-height:calc(96vh - 90px); max-height:calc(96dvh - 90px); border-radius:10px; }
 body .lightbox .lightbox-viewport img { max-height:calc(96vh - 90px); max-height:calc(96dvh - 90px); max-width:100%; object-fit:contain; }
 body .lightbox .lightbox-meta { margin-top:0; line-height:1.25; }
 body .lightbox .lightbox-caption { margin:.15rem 0 0; }
 body .lightbox .lightbox-caption:empty { display:none; }
}
body #site-footer .footer { margin-top:1.5rem; padding-block:.85rem; }
body #site-footer .footer-links { gap:.35rem .85rem; }
body #site-footer .footer p { margin-bottom:.5rem; }
/* JAHC M06A R3 — inspection and finishing: end */

/* JAHC M06A R3.1 — navigation cards: begin */
body #app .home-page .home-single-card.jahc-navigation-card,
body #app .browse-page .browse-card.jahc-navigation-card { padding:0; gap:0; border:1px solid #d4c9b5; border-radius:12px; background:rgba(255,253,247,.65); box-shadow:none; overflow:visible; }
body #app .jahc-navigation-card > .jahc-navigation-link { display:flex; flex-direction:column; flex:1 1 auto; width:100%; min-width:0; min-height:44px; height:100%; box-sizing:border-box; padding:.4rem; gap:.25rem; border-radius:11px; color:inherit; text-decoration:none; background:transparent; }
body #app .jahc-navigation-card > .jahc-navigation-link:focus-visible { outline:3px solid #725a30; outline-offset:3px; }
body #app .jahc-navigation-card .jahc-navigation-link :is(.home-single-frame,.browse-collage-frame,.browse-detail-frame) { border:0; box-shadow:none; border-radius:7px; min-width:0; }
body #app .jahc-navigation-card .framed-image { object-fit:contain; transform:none; }
body #app .jahc-navigation-card .jahc-navigation-link :is(.home-single-copy,.browse-card-copy) { display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:start; align-items:center; flex:1 1 auto; min-height:44px; padding:.5rem .55rem; gap:.3rem .65rem; background:transparent; border:0; box-shadow:none; border-radius:0; }
body #app .jahc-navigation-card .jahc-navigation-link h3 { grid-column:1; grid-row:1; margin:0; }
body #app .jahc-navigation-card .jahc-navigation-link p { grid-column:1 / -1; margin:0; }
body #app .jahc-navigation-card .jahc-navigation-link :is(.home-single-copy,.browse-card-copy)::before { content:none; }
body #app .jahc-navigation-card .jahc-navigation-link :is(.home-single-copy,.browse-card-copy)::after { content:""; display:block; grid-column:2; grid-row:1; width:.45rem; height:.45rem; border-right:2px solid #625446; border-top:2px solid #625446; transform:rotate(45deg); margin-right:.2rem; }
@media (hover:hover) { body #app .jahc-navigation-card:hover { border-color:#a18b61; background:rgba(255,253,247,.92); } body #app .jahc-navigation-card .jahc-navigation-link:hover h3 { text-decoration:underline; text-underline-offset:.15em; } }
body #app :is(.home-page,.browse-page) .section-title h2::before,
body #app :is(.home-page,.browse-page) .section-title h2::after { content:none; }
/* JAHC M06A R3.1 — navigation cards: end */

/* JAHC M06A R3.2 — category navigation: begin */
body #app .catalog-page .collection-page-hero > .collection-hero-copy { background:transparent; border:0; box-shadow:none; border-radius:0; padding:clamp(.5rem,2vw,1.25rem); gap:.3rem; }
body #app .catalog-page .collection-hero-copy .jahc-back-to-browse { display:inline-flex; align-items:center; align-self:flex-start; gap:.35rem; min-height:44px; max-width:100%; box-sizing:border-box; color:#59452c; font-size:.95rem; font-weight:600; letter-spacing:normal; text-transform:none; text-decoration:underline; text-underline-offset:.2em; }
body #app .catalog-page .jahc-back-to-browse::before { content:""; width:.42em; height:.42em; border-left:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); flex:none; }
body #app .catalog-page .collection-hero-copy .catalog-stats { display:flex; flex-flow:row wrap; align-items:baseline; justify-content:flex-start; gap:.15rem .35rem; margin:.2rem 0 0; padding:0; background:none; border:0; box-shadow:none; }
body #app .catalog-page .collection-hero-copy .catalog-stats .stat-pill { display:inline-flex; align-items:baseline; flex:0 0 auto; width:auto; min-width:0; min-height:0; gap:.25em; padding:0; margin:0; border:0; border-radius:0; background:none; box-shadow:none; color:#665b49; font-size:.95rem; font-weight:400; letter-spacing:normal; line-height:1.5; }
body #app .catalog-page .collection-hero-copy .catalog-stats .stat-pill :is(strong,span) { color:inherit; font:inherit; text-transform:none; letter-spacing:normal; }
body #app .catalog-page .collection-hero-copy .catalog-stats .stat-pill + .stat-pill::before { content:"·"; margin-right:.15em; }
body #app .catalog-page .collection-anchor-nav { display:flex; flex-flow:row wrap; align-items:center; justify-content:flex-start; gap:.15rem clamp(.5rem,2vw,1.5rem); padding:0 .25rem; margin:.5rem 0 1rem; border:0; border-bottom:1px solid #c8baa1; border-radius:0; background:transparent; box-shadow:none; }
body #app .catalog-page .collection-anchor-nav > a.anchor-pill:not([href="#compare-tray"]) { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:flex-start; width:auto; min-width:0; min-height:44px; max-width:100%; padding:.35rem .25rem; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; color:#59452c; text-transform:none; font-size:.95rem; font-weight:600; line-height:1.25; letter-spacing:normal; text-decoration:underline; text-underline-offset:.25em; text-align:left; white-space:normal; transform:none; }
body #app .catalog-page .collection-anchor-nav > a[aria-current="location"],body #app .catalog-page .collection-anchor-nav > a[aria-current="true"] { color:#30251b; text-decoration-thickness:2px; }
body #app .catalog-page :is(.jahc-back-to-browse,.collection-anchor-nav > a):focus-visible { outline:3px solid #725a30; outline-offset:2px; }
body #app .catalog-page .collection-anchor-nav > a:hover { color:#30251b; text-decoration-thickness:2px; }
/* JAHC M06A R3.2 — category navigation: end */

/* JAHC M06A R3.3 — inspection presentation: begin */
/* Give the photograph and its identifier separate, in-flow rows. Scope to catalog flat-gallery links. */
body #app .catalog-page .catalog-main .gallery-grid > a.gallery-item.js-image-card {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto;
  align-content:start; align-items:start; justify-items:stretch; justify-content:stretch;
  box-sizing:border-box; width:100%; min-width:0; height:auto; min-height:0; max-height:none;
  aspect-ratio:auto; padding:.5rem; gap:.35rem; border-radius:12px;
}
body #app .catalog-page .catalog-main .gallery-grid > a.gallery-item.js-image-card > img.framed-image {
  position:relative; inset:auto; display:block; width:100%; height:auto; min-width:0; min-height:0;
  max-width:100%; max-height:none; aspect-ratio:16 / 9; object-fit:contain; transform:none;
  margin:0; padding:0; box-sizing:border-box; border-radius:6px;
}
body #app .catalog-page .catalog-main .gallery-grid > a.gallery-item.js-image-card > .image-meta {
  position:static; inset:auto; display:grid; width:100%; height:auto; min-height:0; max-height:none;
  box-sizing:border-box; margin:0; padding:.15rem .25rem .35rem; gap:.2rem;
  background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; text-align:center;
}
body #app .catalog-page .catalog-main .gallery-grid > a.gallery-item.js-image-card .image-meta-badges {
  position:static; display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; gap:.2rem .4rem; margin:0; padding:0; width:100%; min-width:0;
}
body #app .catalog-page .catalog-main .gallery-grid > a.gallery-item.js-image-card .meta-badge,
body #app .catalog-page .metadata-panel-pills .detail-pill,
body #app .catalog-page .item-group-meta .item-count-pill {
  position:static; display:inline-block; width:auto; min-width:0; max-width:100%; height:auto; min-height:0;
  box-sizing:border-box; margin:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none;
  color:#594c39; font-size:.9rem; line-height:1.5; font-weight:500; text-transform:none;
  letter-spacing:normal; white-space:normal; overflow-wrap:anywhere;
}
body #app .catalog-page .metadata-panel-pills { gap:.25rem .5rem; margin:0; padding:0; }
body #app .catalog-page .metadata-panel-helper { font-style:normal; line-height:1.45; }
body #app .collection-page-hero > .copy.collection-hero-copy { background:none; border:0; box-shadow:none; border-radius:0; }
body #app .collection-page-hero > .copy.collection-hero-copy::before,
body #app .collection-page-hero > .copy.collection-hero-copy::after,
body #app .catalog-page .section-title h2::before,
body #app .catalog-page .section-title h2::after { content:none; }
/* JAHC M06A R3.3 — inspection presentation: end */

/* JAHC M06A R3.4 — active section navigation: begin */
body #app .catalog-page .collection-anchor-nav.jahc-section-nav-ready {
  position:sticky; top:var(--jahc-section-top,0px); z-index:25;
  background:#f4f0e5; margin-block:.5rem 1rem;
  border-bottom:1px solid #c8baa1; gap:.1rem clamp(.35rem,1.5vw,1.25rem);
}
body #app .catalog-page .collection-anchor-nav > a.anchor-pill:not([href="#compare-tray"]) {
  text-decoration:none; min-height:44px; min-width:44px;
}
body #app .catalog-page .collection-anchor-nav > a.anchor-pill[aria-current="location"] {
  color:#30251b; text-decoration:underline; text-decoration-thickness:2px;
  text-underline-offset:.27em;
}
body #app .catalog-page .collection-anchor-nav > a.anchor-pill:focus-visible {
  outline:3px solid #725a30; outline-offset:2px;
}
body #app .catalog-page .collection-anchor-nav > a.anchor-pill:hover {color:#30251b;}
body #app .catalog-page :is(#collection-items,#collection-gallery,#collection-all-images,[data-jahc-record-ids],.gallery-grid > a.gallery-item) {
  scroll-margin-top:calc(var(--jahc-section-offset,44px) + 8px);
}
body #app .catalog-page #collection-overview {scroll-margin-top:var(--jahc-section-top,0px);}
body #app .catalog-page .metadata-panel {top:calc(var(--jahc-section-offset,44px) + 12px);}
@media (max-width:500px) {
  body #app .catalog-page .collection-anchor-nav.jahc-section-nav-ready {gap:.1rem .3rem; padding-inline:.15rem;}
  body #app .catalog-page .collection-anchor-nav > a.anchor-pill:not([href="#compare-tray"]) {font-size:.875rem; padding-inline:.2rem;}
}
/* Native section jumps are immediate: avoid focus-scroll/long smooth-scroll races. */
html:has(body[data-page="catalog"]) {scroll-behavior:auto;}
/* JAHC M06A R3.4 — active section navigation: end */


/* JAHC M06A R3.5 — homepage balance: begin */
/* Keep R1 image sizing, responsive columns, and primary navigation unchanged. */
body #app .home-page .home-hero-copy::before,
body #app .home-page .home-hero-copy::after,
body #app .home-page .home-hero-copy .hero-actions::before,
body #app .home-page .home-hero-copy .hero-actions::after {
  content:none; display:none;
}
body #app .home-page .home-hero-copy {
  display:flex; flex-direction:column; justify-content:center;
  align-self:center; align-items:center; gap:.75rem; min-height:0; height:auto;
  margin:0; padding:.5rem; box-sizing:border-box;
}
body #app .home-page .home-hero-copy > :is(h1,p,.hero-actions) { margin:0; }
body #app .home-page .home-hero-copy > .hero-actions { width:100%; }
@media (min-width:960px), (min-width:701px) and (orientation:landscape) {
  body #app .home-page .home-hero-copy { align-items:flex-start; padding:.75rem; }
}
@media (min-width:701px) and (max-height:500px) and (orientation:landscape) {
  body #app .home-page .home-hero-copy { gap:.375rem; padding:.25rem; }
}
/* JAHC M06A R3.5 — homepage balance: end */

/* JAHC R02B — scoped static fallback only */
.jahc-static{padding-block:24px}.jahc-static h1{margin-bottom:12px}.jahc-static h2{margin-top:24px}.jahc-static nav ul,.jahc-static-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px 24px;padding-inline-start:20px}.jahc-static-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}.jahc-static figure{margin:12px 0}.jahc-static img{display:block;width:100%;max-width:420px;height:auto;max-height:300px;object-fit:contain}.jahc-static footer{margin:24px 0}.jahc-static a{text-decoration:underline}.jahc-static-records li{overflow-wrap:anywhere}

/* JAHC R03A.2 — progressive, visible static presentation; runtime layout unchanged. */
#app .jahc-static{padding-block:clamp(.75rem,2vw,1.5rem)}
#app .jahc-static h1{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.15;overflow-wrap:anywhere}
#app .jahc-static .jahc-static-cards>article{min-width:0;padding:.75rem;background:var(--panel);border:1px solid var(--line);border-radius:12px}
#app .jahc-static .jahc-static-cards>article figure{margin:.5rem 0}
#app .jahc-static .jahc-static-cards>article img{aspect-ratio:4/3;width:100%;max-width:none;object-fit:contain;background:var(--panel)}

/* JAHC R03A.4.3 — compact Full Catalog only; static and interactive share one grid. */
body #app .jahc-full-overview{padding-block:clamp(.8rem,2vw,1.6rem)}
body #app .jahc-full-intro{margin-bottom:1rem}
body #app .jahc-full-intro h1{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.15;margin:.35rem 0}
body #app .jahc-full-intro p{margin:.35rem 0;line-height:1.45}
body #app .jahc-full-back{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
body #app .jahc-full-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem}
body #app .jahc-full-grid > .jahc-full-card{display:grid;gap:.2rem;min-width:0;margin:0;padding:.5rem;border:1px solid #ddd7ce;border-radius:10px;background:var(--panel);box-shadow:none;scroll-margin-top:1rem;transform:none}
body #app .jahc-full-photo{display:block;aspect-ratio:3/2;overflow:hidden;background:#e9e5dc;border-radius:5px}
body #app .jahc-full-photo img{display:block;width:100%;height:100%;object-fit:contain;margin:0}
body #app .jahc-full-identities{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;padding-inline:.25rem}
body #app .jahc-full-identities a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:underline}
body #app .jahc-full-overview a:focus-visible,body #app .jahc-full-card:focus-visible{outline:3px solid #725a30;outline-offset:2px}
@media(min-width:640px){body #app .jahc-full-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1050px){body #app .jahc-full-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* JAHC R03A.4.5 — Full Catalog geometry before and after initialization. */
body[data-public-slug="full-catalog"] #app > main[data-jahc-full-overview="1"]{max-width:1180px}
@media(max-width:1400px){body[data-public-slug="full-catalog"] #app > main[data-jahc-full-overview="1"]{max-width:min(1180px,calc(100vw - 36px))}}
@media(max-width:1220px){body[data-public-slug="full-catalog"] #app > main[data-jahc-full-overview="1"]{max-width:min(1140px,calc(100vw - 30px))}}

/* JAHC R03A.5 — initial markup enhancement. */
body[data-jahc-prerender] .jahc-static-anchor{display:block;height:0;scroll-margin-top:100px}

/* JAHC R03B — pointer panning only inside the open, enlarged photograph. */
body .lightbox.open .lightbox-viewport.is-zoomed { touch-action:none; }
body .lightbox.open .lightbox-viewport.is-dragging img { transition:none; }

/* JAHC R03C — invisible brand wrapper; preserve border geometry and focus. */
