:root {
  --paper: #f1eee5;
  --paper-deep: #e3dfd3;
  --ink: #252a25;
  --ink-soft: #51574f;
  --green: #1c2a23;
  --green-soft: #27372d;
  --rust: #a8493b;
  --gold: #a87a35;
  --arch-paper: #eee7d8;
  --line: rgba(37, 42, 37, 0.2);
  --serif: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --sans: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 62px);
  border-bottom: 1px solid rgba(241, 238, 229, 0.18);
  background: rgba(28, 42, 35, 0.97);
  color: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold);
  color: #f4ddb1;
  font-family: var(--serif);
  font-size: 22px;
}
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.brand small { margin-top: 1px; color: rgba(241, 238, 229, 0.58); font-size: 9px; letter-spacing: .14em; }
.site-nav { display: flex; gap: clamp(12px, 2.8vw, 34px); color: rgba(241, 238, 229, 0.72); font-size: 12px; }
.site-nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--gold); color: #f4ddb1; }

.page-shell { width: min(1240px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 70px; }
.feature-card {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.56);
  box-shadow: 0 10px 26px rgba(55, 48, 37, 0.05);
}
.feature-copy { padding: clamp(28px, 4.5vw, 66px); }
.eyebrow { margin: 0 0 16px; color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.18; }
h1 { margin-bottom: 10px; font-size: clamp(42px, 7vw, 82px); letter-spacing: -.03em; }
h2 { margin-bottom: 22px; font-size: clamp(31px, 4vw, 52px); letter-spacing: -.02em; }
h3 { margin-bottom: 12px; font-size: clamp(24px, 3vw, 36px); }
.lead { margin-bottom: 28px; color: var(--gold); font-family: var(--serif); font-size: 21px; }
.feature-copy > p:not(.eyebrow):not(.lead):not(.boundary) { max-width: 62ch; color: var(--ink-soft); font-family: var(--serif); font-size: 17px; line-height: 1.95; text-indent: 2em; }
.boundary { margin: 24px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #73776f; font-size: 12px; line-height: 1.75; }
.feature-image, .treasure-main-image { position: relative; overflow: hidden; background: var(--green-soft); }
.feature-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.image-note { position: absolute; right: 12px; bottom: 11px; padding: 4px 7px; background: rgba(28, 42, 35, .82); color: var(--paper); font-size: 10px; line-height: 1.3; }
.theme-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr); min-height: 560px; overflow: hidden; background: var(--green); color: var(--paper); }
.theme-card .feature-copy { display: flex; flex-direction: column; justify-content: center; }
.theme-card .feature-copy > p:not(.eyebrow):not(.lead):not(.boundary) { color: rgba(241, 238, 229, .75); }
.theme-card .boundary { border-color: rgba(241, 238, 229, .22); color: rgba(241, 238, 229, .55); }
.theme-card .eyebrow { color: #e1a092; }
.theme-card .lead { color: #e5bd72; }

.about-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); }
.about-aside { display: grid; align-content: center; padding: 32px; border-left: 1px solid var(--line); background: var(--paper-deep); }
.about-aside div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.about-aside div:last-child { border-bottom: 0; }
.about-aside strong, .about-aside span { display: block; }
.about-aside strong { color: var(--rust); font-family: var(--serif); font-size: 34px; font-weight: 500; }
.about-aside span { color: var(--ink-soft); font-size: 12px; }

.treasure-card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.treasure-media { padding: 28px; background: var(--green-soft); }
.treasure-main-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.treasure-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.treasure-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .8; }
.treasure-card h2 span { color: var(--rust); font-size: .62em; }
.treasure-facts { margin: 30px 0 0; border-top: 1px solid var(--line); }
.treasure-facts div { display: grid; grid-template-columns: 82px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.treasure-facts dt { color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.treasure-facts dd { margin: 0; color: var(--ink-soft); font-size: 13px; }

.other-card { padding: clamp(24px, 4vw, 54px); }
.other-heading { display: grid; grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr); gap: 40px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.other-heading h2 { margin-bottom: 0; }
.other-heading > p { margin-bottom: 2px; color: var(--ink-soft); font-family: var(--serif); font-size: 15px; line-height: 1.85; text-indent: 2em; }
.object-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0; }
.search-box { flex: 1 1 230px; }
.search-box input { width: 100%; border: 1px solid var(--line); background: rgba(255, 253, 247, .75); padding: 10px 12px; color: var(--ink); outline: 0; }
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(168, 122, 53, .14); }
.object-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.object-filter { border: 1px solid var(--line); background: transparent; padding: 8px 10px; color: var(--ink-soft); cursor: pointer; font-size: 11px; }
.object-filter span { color: var(--rust); }
.object-filter:hover, .object-filter.is-active { border-color: var(--rust); background: var(--rust); color: #fffaf1; }
.object-filter:hover span, .object-filter.is-active span { color: inherit; }
.object-count { margin-left: auto; color: var(--ink-soft); font-size: 11px; white-space: nowrap; }

.artifact-grid { border-top: 1px solid var(--line); }
.artifact-card { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 58px); padding: 30px 0; border-bottom: 1px solid var(--line); }
.artifact-media { min-width: 0; }
.artifact-primary-image { position: relative; display: block; width: 100%; overflow: hidden; border: 0; padding: 0; background: var(--green-soft); cursor: zoom-in; text-align: left; }
.artifact-primary-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 350ms ease, filter 200ms ease; }
.artifact-primary-image:hover img, .artifact-primary-image:focus-visible img { transform: scale(1.025); filter: saturate(1.08); }
.artifact-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.artifact-thumb { overflow: hidden; border: 1px solid transparent; padding: 0; background: var(--green-soft); cursor: pointer; }
.artifact-thumb:hover, .artifact-thumb:focus-visible { border-color: var(--rust); }
.artifact-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.artifact-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--rust); font-size: 11px; letter-spacing: .08em; }
.artifact-topline span:last-child { color: var(--ink-soft); letter-spacing: 0; }
.artifact-content h3 { margin-bottom: 10px; }
.artifact-caption { margin-bottom: 16px; color: var(--ink-soft); font-family: var(--serif); font-size: 15px; line-height: 1.75; }
.artifact-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.artifact-facts div { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.artifact-facts dt { color: var(--rust); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.artifact-facts dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.artifact-description { margin: 18px 0 0; color: var(--ink); font-family: var(--serif); font-size: 15px; line-height: 1.85; text-indent: 2em; }
.artifact-source { margin: 12px 0 0; color: #777a72; font-size: 11px; line-height: 1.6; }
.empty-state { padding: 30px 0; color: var(--ink-soft); }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px clamp(18px, 4vw, 62px); background: var(--green); color: rgba(241, 238, 229, .65); font-size: 11px; }
.site-footer a { color: #e5bd72; }

.lightbox { width: min(1000px, calc(100% - 28px)); border: 0; padding: 0; background: var(--green); color: var(--paper); }
.lightbox::backdrop { background: rgba(14, 18, 15, .84); }
.lightbox-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(230px, .85fr); gap: 24px; padding: 24px; }
.lightbox-inner > img { width: 100%; max-height: 76vh; object-fit: contain; background: #111812; }
.lightbox-caption { align-self: center; padding: 20px 10px 20px 0; }
.lightbox-caption h2 { margin-bottom: 16px; color: var(--paper); font-size: 34px; }
.lightbox-caption p:last-child { color: rgba(241, 238, 229, .7); font-size: 13px; line-height: 1.8; }
.lightbox-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border: 1px solid rgba(241, 238, 229, .55); background: rgba(28, 42, 35, .9); color: var(--paper); cursor: pointer; font-size: 22px; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 7px 14px; }
  .theme-card, .about-card, .treasure-card, .other-heading { grid-template-columns: 1fr; }
  .theme-card .feature-image { order: -1; }
  .feature-image img { min-height: 300px; max-height: 440px; }
  .about-aside { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 0; }
  .about-aside div { padding: 18px 10px; border-right: 1px solid var(--line); border-bottom: 0; }
  .about-aside div:last-child { border-right: 0; }
  .artifact-card { grid-template-columns: 1fr; gap: 20px; }
  .artifact-primary-image img { max-height: 480px; }
  .object-count { margin-left: 0; }
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-inner > img { max-height: 58vh; }
  .lightbox-caption { padding: 0; }
}

@media (max-width: 520px) {
  .site-header { display: block; }
  .site-nav { margin-top: 10px; justify-content: flex-start; }
  .page-shell { width: min(100% - 20px, 1240px); padding-top: 10px; }
  .feature-card { margin-bottom: 14px; }
  .feature-copy, .other-card { padding: 24px 18px; }
  .treasure-media { padding: 14px; }
  .about-aside { padding: 12px; }
  .about-aside strong { font-size: 26px; }
  .about-aside span { font-size: 10px; }
  .other-heading { gap: 20px; }
  .artifact-facts { grid-template-columns: 1fr; }
  .artifact-facts div { padding-right: 0; }
  .artifact-topline { display: block; }
  .artifact-topline span { display: block; margin-bottom: 4px; }
  .site-footer { display: block; }
  .site-footer span, .site-footer a { display: block; margin-bottom: 7px; }
}

/* Wide museum landing layout: full-bleed image, left editorial panel, broad archive grid. */
@media (min-width: 821px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding: 0 0 96px;
  }

  .page-shell > .feature-card:not(.theme-card) {
    width: min(1680px, calc(100% - clamp(48px, 7vw, 144px)));
    margin-right: auto;
    margin-left: auto;
  }

  .theme-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 790px) minmax(0, 1fr);
    min-height: clamp(650px, 76vh, 860px);
    margin: 0 0 clamp(48px, 6vw, 92px);
    border-right: 0;
    border-left: 0;
    box-shadow: none;
    background: var(--green);
  }

  .theme-card .feature-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
  }

  .theme-card .feature-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
      linear-gradient(90deg, rgba(10, 16, 12, .82) 0%, rgba(10, 16, 12, .48) 42%, rgba(10, 16, 12, .22) 69%, rgba(10, 16, 12, .42) 100%),
      linear-gradient(0deg, rgba(9, 14, 11, .44), transparent 42%);
    pointer-events: none;
  }

  .theme-card .feature-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center 44%;
  }

  .theme-card .image-note {
    z-index: 2;
  }

  .theme-card .feature-copy {
    position: relative;
    z-index: 1;
    grid-column: 1;
    align-self: center;
    width: min(680px, calc(100vw - 96px));
    margin-left: clamp(40px, 7vw, 132px);
    padding: clamp(42px, 4.6vw, 72px);
    border: 1px solid rgba(241, 238, 229, .2);
    border-left: 4px solid #c65a45;
    background: rgba(18, 24, 20, .94);
    box-shadow: 0 26px 64px rgba(0, 0, 0, .26);
    backdrop-filter: blur(3px);
  }

  .theme-card h1 {
    max-width: 9em;
    margin-bottom: 16px;
    font-size: clamp(56px, 5vw, 88px);
    line-height: 1.06;
    text-wrap: balance;
  }

  .theme-card .lead {
    margin-bottom: 26px;
    font-size: clamp(19px, 1.45vw, 24px);
  }

  .theme-card .feature-copy > p:not(.eyebrow):not(.lead):not(.boundary) {
    max-width: 34em;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.95;
  }

  .about-card {
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, .48fr);
  }

  .about-card .feature-copy {
    padding-right: clamp(54px, 7vw, 118px);
    padding-left: clamp(54px, 7vw, 118px);
  }

  .about-card .feature-copy > p:not(.eyebrow):not(.lead):not(.boundary) {
    max-width: 76ch;
  }

  .other-card {
    padding-right: clamp(42px, 4.5vw, 78px);
    padding-left: clamp(42px, 4.5vw, 78px);
  }

  .other-heading {
    grid-template-columns: minmax(520px, 1.12fr) minmax(360px, .88fr);
    gap: clamp(52px, 7vw, 124px);
  }

  #artifact-grid {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding: 0 0 52px;
  }

  .page-shell > .feature-card:not(.theme-card) {
    width: calc(100% - 20px);
    margin-right: auto;
    margin-left: auto;
  }

  .theme-card {
    display: flex;
    min-height: 0;
    margin: 0 0 22px;
    border-right: 0;
    border-left: 0;
    background: var(--green);
  }

  .theme-card .feature-image {
    position: relative;
    order: 0;
    width: 100%;
    height: clamp(330px, 62vw, 480px);
    min-height: 0;
    margin: 0;
  }

  .theme-card .feature-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(13, 20, 16, .72), transparent 58%);
    pointer-events: none;
  }

  .theme-card .feature-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .theme-card .feature-copy {
    position: relative;
    z-index: 1;
    order: 1;
    width: calc(100% - 28px);
    margin: -54px auto 18px;
    padding: clamp(28px, 7vw, 48px);
    border: 1px solid rgba(241, 238, 229, .18);
    border-left: 3px solid #c65a45;
    background: rgba(18, 24, 20, .97);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
  }

  .theme-card h1 {
    max-width: 9em;
    font-size: clamp(44px, 10vw, 68px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .theme-card .feature-copy > p:not(.eyebrow):not(.lead):not(.boundary) {
    font-size: 15px;
    line-height: 1.85;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: 100%;
    padding-top: 0;
  }

  .theme-card .feature-image {
    height: clamp(270px, 72vw, 380px);
  }

  .theme-card .feature-copy {
    width: calc(100% - 20px);
    margin-top: -34px;
    padding: 28px 20px 30px;
  }

  .theme-card h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .theme-card .lead {
    font-size: 18px;
  }
}

/* Full-width correction loaded by the wide3 cache version. */
@media (min-width: 821px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    width: 100vw !important;
    max-width: none !important;
  }

  .theme-card {
    width: 100vw !important;
    max-width: none !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
  }

  .page-shell > .feature-card:not(.theme-card) {
    width: min(1880px, calc(100% - 32px)) !important;
    max-width: none !important;
  }
}

/* Collection theme: field notes, loess strata, and archaeological report paper. */
#other.other-card {
  --arch-earth: #9B5B3A;
  --arch-loess: #C7B08A;
  --arch-stone: #D8D2C4;
  --arch-paper: #EEE7D8;
  --arch-ink: #27231D;
  --arch-muted: #665d50;
  --arch-line: rgba(39, 35, 29, .2);
  --paper: var(--arch-paper);
  --paper-deep: var(--arch-stone);
  --ink: var(--arch-ink);
  --ink-soft: var(--arch-muted);
  --rust: var(--arch-earth);
  --gold: var(--arch-loess);
  --line: var(--arch-line);
  --catalog-ink: var(--arch-ink);
  --catalog-paper: var(--arch-paper);
  --catalog-line: var(--arch-line);
  --catalog-accent: var(--arch-earth);
  --catalog-dark: var(--arch-ink);
  --catalog-muted: var(--arch-muted);
  --collection-art: url("assets/ui/collection-background.webp");
  color: var(--arch-ink);
  background-color: var(--arch-stone);
  background-image:
    linear-gradient(180deg, rgba(238, 231, 216, .94), rgba(216, 210, 196, .84) 58%, rgba(238, 231, 216, .96)),
    var(--collection-art);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

#other.other-card #artifact-grid,
#other.other-card #artifact-catalog-root {
  background-color: var(--arch-stone);
  background-image:
    linear-gradient(180deg, rgba(238, 231, 216, .9), rgba(238, 231, 216, .78)),
    var(--collection-art);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

#other.other-card .other-heading > p,
#other.other-card .artifact-catalog-intro > p,
#other.other-card .artifact-catalog-toolbar p,
#other.other-card .artifact-catalog-toolbar label > span { color: var(--arch-muted); }
#other.other-card .object-toolbar[hidden] { display: none; }

#other.other-card .search-box input,
#other.other-card .artifact-catalog-toolbar input,
#other.other-card .artifact-catalog-toolbar select {
  border-color: var(--arch-line);
  color: var(--arch-ink);
  background: rgba(238, 231, 216, .9);
}

#other.other-card .search-box input:focus,
#other.other-card .artifact-catalog-toolbar input:focus,
#other.other-card .artifact-catalog-toolbar select:focus {
  border-color: var(--arch-earth);
  box-shadow: 0 0 0 3px rgba(155, 91, 58, .14);
  outline: 0;
}

#other.other-card .object-filter { border-color: var(--arch-line); color: var(--arch-muted); }
#other.other-card .object-filter:hover,
#other.other-card .object-filter.is-active {
  border-color: var(--arch-earth);
  color: var(--arch-paper);
  background: var(--arch-earth);
}
#other.other-card .object-count { color: var(--arch-muted); }

#other.other-card .artifact-catalog-intro {
  border-top-color: var(--arch-line);
  border-bottom: 1px solid var(--arch-line);
}
#other.other-card .artifact-catalog-eyebrow,
#other.other-card .artifact-card-kicker,
#other.other-card .artifact-card-period,
#other.other-card .artifact-dialog-index { color: var(--arch-earth); }
#other.other-card .artifact-catalog-intro h2 { color: var(--arch-ink); }
#other.other-card .artifact-catalog-toolbar { border-color: var(--arch-line); }

#other.other-card .artifact-catalog-grid {
  align-items: stretch;
  gap: clamp(14px, 1.45vw, 22px);
  border-color: var(--arch-line);
}

#other.other-card .artifact-catalog-card {
  position: relative;
  grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 328px;
  min-height: 328px;
  border: 1px solid rgba(39, 35, 29, .2);
  border-left: 3px solid var(--arch-earth);
  color: var(--arch-ink);
  background-color: var(--arch-paper);
  background-image:
    linear-gradient(90deg, rgba(255, 252, 244, .72), rgba(238, 231, 216, .92)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(155, 91, 58, .065) 31px 32px);
  box-shadow: 0 12px 28px rgba(60, 49, 34, .11);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

#other.other-card .artifact-catalog-card::before {
  position: absolute;
  inset: 10px 10px auto auto;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(155, 91, 58, .55);
  border-right: 1px solid rgba(155, 91, 58, .55);
  content: "";
  pointer-events: none;
}

#other.other-card .artifact-catalog-card:hover,
#other.other-card .artifact-catalog-card:focus-visible {
  border-color: var(--arch-earth);
  box-shadow: 0 18px 34px rgba(60, 49, 34, .17);
  transform: translateY(-3px);
  outline: none;
}

#other.other-card .artifact-card-media {
  height: 100%;
  min-height: 0;
  background: var(--arch-ink);
}
#other.other-card .artifact-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#other.other-card .artifact-photo-count {
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(238, 231, 216, .32);
  background: rgba(39, 35, 29, .86);
  color: var(--arch-paper);
}

#other.other-card .artifact-card-copy {
  min-height: 0;
  overflow: hidden;
  padding: 24px 24px 18px;
}
#other.other-card .artifact-card-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: .7rem;
  letter-spacing: .12em;
}
#other.other-card .artifact-card-kicker span:first-child {
  color: var(--arch-ink);
  font-variant-numeric: tabular-nums;
}
#other.other-card .artifact-card-kicker span + span {
  padding-left: 9px;
  border-left: 1px solid rgba(155, 91, 58, .45);
}
#other.other-card .artifact-catalog-card h3 {
  margin-bottom: 9px;
  color: var(--arch-ink);
  font-size: clamp(1.4rem, 1.7vw, 2.05rem);
  line-height: 1.18;
}
#other.other-card .artifact-card-period {
  margin: 0;
  padding-top: 9px;
  border-top: 1px solid rgba(39, 35, 29, .16);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
}
#other.other-card .artifact-card-summary {
  display: -webkit-box;
  margin: 13px 0 0;
  overflow: hidden;
  color: var(--arch-muted);
  font-size: .88rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
#other.other-card .artifact-card-footer {
  margin-top: auto;
  border-color: var(--arch-line);
  color: var(--arch-muted);
  font-size: .76rem;
  letter-spacing: .02em;
}
#other.other-card .artifact-card-footer span:last-child { color: var(--arch-earth); }
#other.other-card .artifact-empty,
#other.other-card .artifact-load-error,
#other.other-card .empty-state {
  border-color: var(--arch-line);
  background: rgba(238, 231, 216, .86);
  color: var(--arch-muted);
}

@media (max-width: 1180px) and (min-width: 761px) {
  #other.other-card .artifact-catalog-card {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  #other.other-card,
  #other.other-card #artifact-grid,
  #other.other-card #artifact-catalog-root {
    background-size: auto 760px, cover;
    background-position: 18% top, center;
    background-repeat: repeat-y, no-repeat;
  }

  #other.other-card .artifact-catalog-card {
    grid-template-columns: 1fr;
    grid-template-rows: 158px minmax(0, 1fr);
    height: 370px;
    min-height: 370px;
  }
  #other.other-card .artifact-card-media {
    height: 158px;
  }
  #other.other-card .artifact-card-copy {
    padding: 16px 17px 14px;
  }
  #other.other-card .artifact-catalog-card h3 {
    font-size: clamp(1.35rem, 6.8vw, 1.8rem);
  }
  #other.other-card .artifact-card-summary {
    font-size: .84rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  #other.other-card .artifact-catalog-card,
  #other.other-card .artifact-card-media img {
    transition: none;
  }
}

/* PR40 · shared research record layer; field-report theme remains scoped above. */
#other.other-card {
  --record-title: clamp(22px, 1.7vw, 26px);
  --record-meta: 11px;
  --record-copy: 15px;
}

#other.other-card .artifact-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 520px;
  align-items: stretch;
}

#other.other-card .artifact-catalog-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: 520px;
  min-height: 520px;
}

#other.other-card .artifact-card-media {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: 16 / 10;
}

#other.other-card .artifact-card-media img {
  object-fit: cover;
  object-position: center;
}

#other.other-card .artifact-card-kicker,
#other.other-card .artifact-card-period,
#other.other-card .artifact-card-footer {
  font-size: var(--record-meta);
}

#other.other-card .artifact-card-kicker span:first-child::before,
#other.other-card .artifact-card-kicker span + span::before,
#other.other-card .artifact-card-period::before { color: var(--arch-earth); }

#other.other-card .artifact-card-kicker span:first-child::before { content: "OBJECT No. "; }
#other.other-card .artifact-card-kicker span + span::before { content: "TYPE / "; }
#other.other-card .artifact-card-period::before { content: "DATE / "; }

#other.other-card .artifact-catalog-card h3 {
  font-size: var(--record-title);
  line-height: 1.25;
}

#other.other-card .artifact-card-summary {
  font-size: var(--record-copy);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#other.other-card .artifact-card-footer span:last-child {
  font-size: 0;
  letter-spacing: .08em;
}

#other.other-card .artifact-card-footer span:last-child::after {
  color: var(--arch-earth);
  content: "OPEN RECORD ↗";
  font-size: var(--record-meta);
}

@media (max-width: 1180px) and (min-width: 761px) {
  #other.other-card .artifact-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #other.other-card .artifact-catalog-card {
    height: 520px;
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  #other.other-card .artifact-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 452px;
  }

  #other.other-card .artifact-catalog-card {
    grid-template-rows: auto minmax(0, 1fr);
    height: 452px;
    min-height: 452px;
  }

  #other.other-card .artifact-card-media { aspect-ratio: 16 / 9; }
  #other.other-card .artifact-card-copy { min-height: 0; padding: 16px 17px 14px; }
  #other.other-card .artifact-catalog-card h3 { font-size: 22px; }
  #other.other-card .artifact-card-summary { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #other.other-card .artifact-catalog-card,
  #other.other-card .artifact-card-media img { transition: none; }
}
