/* Age of Umbra — item dossier / Mockup-2 layout */
.item-page-shell {
  width: min(100%, 116rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
  gap: 1.15rem;
  align-items: start;
}

.item-dossier {
  min-width: 0;
  display: grid;
  gap: .85rem;
}

.item-dossier .breadcrumbs {
  margin: .2rem 0 .65rem;
  color: #9c9588;
  font-family: var(--font-heading, serif);
  font-size: .72rem;
}

.item-dossier .breadcrumbs li:first-child a::before {
  margin-right: .4rem;
  color: var(--color-accent, #b89255);
  content: "✥";
}

.item-page-context {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height, 4rem) + .8rem);
}

/* Hero */
.item-hero {
  position: relative;
  min-height: clamp(28rem, 34vw, 38rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 73% 48%, rgb(186 133 57 / 10%), transparent 24rem),
    linear-gradient(90deg, #070a09 0%, #080b0a 54%, #0a0d0b 100%);
}

.item-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(194 147 74 / 6%) 1px, transparent 1px) 0 0 / 9rem 100%,
    radial-gradient(ellipse at 35% 60%, rgb(151 103 41 / 7%), transparent 36%);
  content: "";
  opacity: .72;
  pointer-events: none;
}

.item-hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #080b0a 0%, rgb(8 11 10 / 94%) 29%, rgb(8 11 10 / 58%) 44%, transparent 65%);
  content: "";
  pointer-events: none;
}

.item-hero__copy {
  position: relative;
  z-index: 3;
  width: min(54%, 44rem);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2.2vw, 2.2rem) clamp(1rem, 2vw, 1.85rem);
}

.item-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.item-hero__chips--primary {
  margin-bottom: 1rem;
}

.item-chip,
.item-semantic-chip {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  border: 1px solid #4b4135;
  border-radius: .24rem;
  background: rgb(18 19 16 / 82%);
  box-shadow: inset 0 0 18px rgb(0 0 0 / 20%);
  color: #c6bba7;
  font-size: .64rem;
  letter-spacing: .065em;
  line-height: 1;
  text-transform: uppercase;
}

.item-chip { padding: .28rem .62rem; }
.item-chip--0 { border-color: #5a3c58; background: #2b1928; color: #d2b7cd; }
.item-chip--1 { border-color: #4d4939; background: #1a1a16; color: #cfc3aa; }
.item-chip--2 { border-color: #41572d; background: #172212; color: #b9d88a; }
.item-chip--3 { border-color: #2e4f55; background: #122024; color: #9fcbd0; }

.item-hero h1 {
  max-width: 16ch;
  margin: 0;
  color: #f1eadf;
  font: clamp(2.75rem, 5vw, 4.9rem)/.98 var(--font-heading, serif);
  letter-spacing: -.018em;
  text-wrap: balance;
  text-shadow: 0 4px 20px #000;
}

.item-hero__tagline {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: #caa766;
  font: italic clamp(.98rem, 1.4vw, 1.2rem)/1.65 var(--font-heading, serif);
}

.item-hero__intro {
  max-width: 39rem;
  margin: 1.05rem 0 0;
  color: #c9c1b4;
  font-size: .9rem;
  line-height: 1.75;
}

.item-hero__chips--semantic {
  margin-top: 1.25rem;
}

.item-semantic-chip {
  gap: .4rem;
  padding: .34rem .65rem;
  border-color: #393a31;
  background: #111410d9;
  color: #c9bfad;
  text-transform: none;
  letter-spacing: .015em;
}

.item-semantic-chip span { color: #ba8e48; }

.item-hero__aliases {
  margin: .85rem 0 0;
  color: #8b857a;
  font-size: .7rem;
}
.item-hero__aliases span { margin-right: .35rem; color: #b89459; text-transform: uppercase; letter-spacing: .06em; }

.item-hero__art {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.item-hero__art::before {
  position: absolute;
  right: 0;
  top: 0;
  width: min(72%, 52rem);
  height: 100%;
  background: radial-gradient(circle at 66% 48%, rgb(129 87 32 / 18%), rgb(35 27 14 / 6%) 45%, transparent 72%);
  content: "";
  pointer-events: none;
}

.item-hero__art::after {
  display: none;
}

.item-hero__art img {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  object-fit: initial;
  object-position: initial;
  filter: saturate(.94) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 15%) 8%, rgb(0 0 0 / 72%) 23%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 15%) 8%, rgb(0 0 0 / 72%) 23%, #000 38%, #000 100%);
}

.item-hero__placeholder {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 46rem);
  display: grid;
  place-content: center;
  gap: .4rem;
  color: #777168;
  text-align: center;
}
.item-hero__placeholder span { color: #a98042; font-size: 4rem; }

/* Anchor tabs */
.item-section-nav {
  position: sticky;
  z-index: 7;
  top: calc(var(--header-height, 4rem) + .35rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #3c3328;
  border-radius: .28rem .28rem 0 0;
  background: rgb(10 13 11 / 94%);
  box-shadow: 0 10px 24px rgb(0 0 0 / 30%);
  backdrop-filter: blur(10px);
}

.item-section-nav a {
  position: relative;
  padding: .82rem .65rem .76rem;
  color: #aaa397;
  font: .7rem var(--font-heading, serif);
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.item-section-nav a:hover { color: #dac18e; }
.item-section-nav a::after {
  position: absolute;
  right: 24%;
  bottom: -1px;
  left: 24%;
  height: 2px;
  background: transparent;
  content: "";
}
.item-section-nav a.is-active { color: #d9bd86; }
.item-section-nav a.is-active::after { background: #c09249; box-shadow: 0 0 12px rgb(192 146 73 / 30%); }

/* Shared ornate panels */
.item-article-panel,
.item-detail-panel,
.item-context__panel {
  position: relative;
  border-color: #403428;
  border-radius: .22rem;
  background:
    linear-gradient(145deg, rgb(17 20 17 / 96%), rgb(9 12 10 / 98%));
  box-shadow: 0 12px 28px rgb(0 0 0 / 21%), inset 0 0 0 1px rgb(199 147 68 / 3%);
}

.item-article-panel::before,
.item-detail-panel::before,
.item-context__panel::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1.25rem;
  height: 1.25rem;
  border-top: 1px solid #806132;
  border-left: 1px solid #806132;
  content: "";
  pointer-events: none;
}

.item-article-panel__body,
.item-detail-panel {
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
}

.item-copy-section + .item-copy-section {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #292820;
}

.item-copy-section h3,
.item-copy-section h4 {
  margin: 0 0 .5rem;
  color: #d4b67d;
  font: .8rem var(--font-heading, serif);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.item-copy-section h4 { margin-top: .9rem; font-size: .73rem; color: #c0a269; }

.item-copy-section p,
.item-history__copy p {
  max-width: 76ch;
  margin: .55rem 0 0;
  color: #c9c2b7;
  font-size: .88rem;
  line-height: 1.8;
}

.item-copy-section ul,
.item-history__copy ul {
  max-width: 74ch;
  margin: .55rem 0 0;
  padding-left: 1.2rem;
  color: #c9c2b7;
  font-size: .86rem;
  line-height: 1.7;
}

.item-copy-section blockquote,
.item-feature-quote {
  position: relative;
  max-width: 64rem;
  margin: 1rem 0 0;
  padding: 1rem 3.25rem 1rem 3.8rem;
  border: 1px solid #4b3922;
  border-radius: .18rem;
  background: linear-gradient(90deg, #17120c, #0d100d 45%, #151109);
  color: #d2ac67;
  text-align: center;
}
.item-copy-section blockquote p,
.item-feature-quote p {
  margin: 0;
  color: #d2ac67;
  font: italic 1rem/1.65 var(--font-heading, serif);
}
.item-copy-section blockquote cite,
.item-feature-quote cite { display: block; margin-top: .35rem; color: #b98f4e; font: italic .82rem var(--font-heading, serif); }
.item-feature-quote__mark { position: absolute; top: .45rem; left: 1rem; color: #9d753b; font: 2.4rem/1 var(--font-heading, serif); }

.item-detail-panel { overflow: hidden; }
.item-detail-panel__heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .72rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid #292820;
}
.item-detail-panel__heading > span { color: #a87c3b; }
.item-detail-panel__heading h2 {
  margin: 0;
  color: #d4b67d;
  font: .78rem var(--font-heading, serif);
  letter-spacing: .065em;
  text-transform: uppercase;
}

.item-property-list { position: relative; z-index: 2; margin: 0; }
.item-property-row {
  display: grid;
  grid-template-columns: 1.8rem minmax(7.5rem, .38fr) minmax(0, 1fr);
  gap: .6rem;
  align-items: center;
  min-height: 2.45rem;
  border-bottom: 1px solid #292820;
}
.item-property-row:last-child { border-bottom: 0; }
.item-property-row__icon { color: #bb8e48; font-size: 1rem; text-align: center; }
.item-property-row dt { color: #b7955e; font-size: .76rem; }
.item-property-row dd { margin: 0; color: #cfc7ba; font-size: .82rem; line-height: 1.5; }
.item-property-row .status { margin-left: .5rem; }
.item-detail-panel__watermark {
  position: absolute;
  right: 6%;
  bottom: 8%;
  color: rgb(179 132 63 / 14%);
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.item-history__copy .item-copy-section:first-child h3 { margin-top: 0; }
.item-panel-empty,
.item-context__empty,
.item-empty { margin: .65rem 0 0; color: #777168; font-style: italic; font-size: .78rem; line-height: 1.55; }
.item-last-updated { margin: -.05rem 0 .5rem; color: #6f6b63; font-size: .68rem; }

/* Context column */
.item-context { display: grid; gap: .72rem; }
.item-context__panel { padding: .95rem 1rem 1rem; }
.item-context__panel .panel-title {
  margin: 0 0 .65rem;
  padding-bottom: .62rem;
  border-bottom: 1px solid #302b23;
  color: #d0ad6c;
  font-size: .74rem;
  letter-spacing: .065em;
}
.item-context__panel .panel-title::before { color: #a77a39; content: "♜"; }
.item-context__annotations .panel-title::before { content: "⚠"; }
.item-context__relations .panel-title::before { content: "♧"; }
.item-context__questions .panel-title::before { content: "?"; }
.item-context__sources .panel-title::before { content: "♙"; }

.item-context__facts { margin: 0; }
.item-context__facts > div {
  display: grid;
  grid-template-columns: 1.55rem minmax(6.9rem, .75fr) minmax(0, 1.25fr);
  gap: .48rem;
  align-items: start;
  min-height: 2.62rem;
  padding: .5rem 0;
  border-bottom: 1px solid #292820;
}
.item-context__facts > div:last-child { border-bottom: 0; }
.item-context__fact-icon { color: #b98b46; font-size: .9rem; text-align: center; }
.item-context__facts dt { color: #aaa196; font: .73rem var(--font-heading, serif); }
.item-context__facts dd { margin: 0; color: #cdc5b8; font-size: .74rem; line-height: 1.45; overflow-wrap: anywhere; }
.item-context__facts a { color: #d1a75c; text-decoration: none; }
.item-context__facts .is-unset { color: #6f6a61; font-style: italic; }

.item-note-list,
.item-relation-group ul,
.item-question-list,
.item-context__sources ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.item-note-list { display: grid; gap: .55rem; }
.item-note-list li { display: grid; grid-template-columns: .75rem minmax(0, 1fr); gap: .35rem; }
.item-note-list li > span { color: #c2934a; }
.item-note-list p { margin: 0; color: #c5beb2; font-size: .75rem; line-height: 1.55; }

.item-relation-groups { display: grid; gap: .7rem; }
.item-relation-group h3 { margin: 0 0 .35rem; color: #9c9589; font: .68rem var(--font-heading, serif); }
.item-relation-group ul { display: grid; gap: .3rem; }
.item-relation-group a {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: .62rem;
  align-items: center;
  padding: .2rem 0;
  color: inherit;
  text-decoration: none;
}
.item-relation-group a:hover strong { color: #d9b46f; }
.item-relation-avatar {
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid #665033;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #4b4438, #111410 72%);
  color: #d2b476;
  font: .68rem var(--font-heading, serif);
}
.item-relation-avatar img { width: 100%; height: 100%; object-fit: cover; }
.item-relation-copy strong,
.item-relation-copy small { display: block; }
.item-relation-copy strong { color: #d5cdc0; font: .78rem var(--font-heading, serif); font-weight: 400; }
.item-relation-copy small { margin-top: .08rem; color: #817b72; font-size: .65rem; line-height: 1.35; }

.item-question-list { display: grid; gap: .42rem; }
.item-question-list li { display: grid; grid-template-columns: 1.35rem minmax(0, 1fr); gap: .42rem; align-items: start; }
.item-question-list li > span {
  display: grid;
  width: 1.15rem;
  aspect-ratio: 1;
  place-items: center;
  margin-top: .12rem;
  border: 1px solid #6a5739;
  border-radius: 50%;
  color: #b98b46;
  font-size: .63rem;
}
.item-question-list a { color: #c7c0b4; font-size: .72rem; line-height: 1.48; text-decoration: none; }
.item-question-list a:hover { color: #d8b36d; }

.item-context__sources ul { display: grid; gap: .3rem; }
.item-context__sources li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .45rem; align-items: start; padding: .22rem 0; }
.item-context__sources li > span { color: #b98b46; }
.item-context__sources strong,
.item-context__sources a { display: block; color: #c7c0b4; font-size: .72rem; font-weight: 400; text-decoration: none; }
.item-context__sources small { display: block; margin-top: .08rem; color: #777168; font-size: .61rem; }
.item-context__more { display: inline-block; margin-top: .7rem; color: #cda35a; font: .68rem var(--font-heading, serif); text-decoration: none; }

/* Item index: show artwork in a true 4:3 frame and clamp the teaser to three complete lines. */
.item-index-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.item-index-card {
  background: linear-gradient(145deg, #111713, #0b100d);
}

.item-index-card__art {
  position: relative;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #0b0e0c;
}

.item-index-card__art img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  object-fit: cover;
  object-position: center top;
  filter: none;
}

.item-index-card .session-card-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.session-card-art.item-index-card__art::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgb(8 11 10 / 42%), transparent);
  content: "";
  pointer-events: none;
}

@media (max-width: 1120px) {
  .item-page-shell { grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem); }
  .item-hero { min-height: 27rem; }
  .item-hero__copy { width: 58%; }
}

@media (max-width: 900px) {
  .item-page-shell { grid-template-columns: 1fr; }
  .item-page-context { position: static; }
  .item-context { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-context__facts-panel, .item-context__relations { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .item-hero { min-height: clamp(30rem, 128vw, 40rem); }
  .item-hero::after {
    background:
      linear-gradient(0deg, #080b0a 0%, rgb(8 11 10 / 93%) 28%, rgb(8 11 10 / 30%) 58%, transparent 76%),
      linear-gradient(90deg, rgb(8 11 10 / 72%) 0%, transparent 54%);
  }
  .item-hero__copy {
    width: 100%;
    min-height: inherit;
    justify-content: flex-end;
    padding: 1.15rem 1rem 1.35rem;
  }
  .item-hero__art img {
    height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 24%) 10%, #000 32%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 24%) 10%, #000 32%, #000 100%);
  }
  .item-hero h1 { font-size: clamp(2.45rem, 12vw, 3.55rem); }
  .item-section-nav { position: static; }
  .item-section-nav a { padding-inline: .25rem; font-size: .61rem; }
  .item-property-row { grid-template-columns: 1.6rem 7rem minmax(0, 1fr); }
  .item-context { grid-template-columns: 1fr; }
  .item-context__facts-panel, .item-context__relations { grid-column: auto; }
}

@media (max-width: 460px) {
  .item-section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-section-nav a:nth-child(-n+2) { border-bottom: 1px solid #292820; }
  .item-property-row { grid-template-columns: 1.45rem minmax(0, 1fr); align-items: start; padding: .5rem 0; }
  .item-property-row dd { grid-column: 2; }
  .item-context__facts > div { grid-template-columns: 1.35rem 6.2rem minmax(0, 1fr); }
}

/* Mockup-2 finishing details */
.item-article-panel__body > h2,
.item-history__copy > h2 {
  margin: 1.15rem 0 .45rem;
  color: #d4b67d;
  font: .78rem var(--font-heading, serif);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.item-article-panel__body > h2:first-of-type,
.item-history__copy > h2:first-of-type { margin-top: 0; }
.item-article-panel__body > p,
.item-history__copy > p {
  max-width: 76ch;
  margin: .55rem 0 0;
  color: #c9c2b7;
  font-size: .88rem;
  line-height: 1.8;
}
.item-history__more {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  color: #cda35a;
  font: .7rem var(--font-heading, serif);
  text-decoration: none;
}
.item-history__more:hover { color: #e0bd79; }
.item-context__annotations .panel-title::after {
  display: grid;
  width: 1.1rem;
  aspect-ratio: 1;
  place-items: center;
  margin-left: auto;
  border: 1px solid #7a5f37;
  border-radius: 50%;
  color: #b98b46;
  content: "i";
  font: .62rem/1 var(--font-heading, serif);
}
.item-context__relations .item-context__more,
.item-context__sources .item-context__more,
.item-context__questions .item-context__more {
  padding-top: .55rem;
  border-top: 1px solid #292820;
}
.item-context__relations .item-context__more { margin-top: .8rem; }
