/* Objects of power — a treasury inside the V1 house.
   Light parchment, gold leaf, lapis; two night acts (the vault, the offer). */

:root {
  --gold: #6e5222;          /* text-safe gold on parchment */
  --gold-leaf: #c9a35a;     /* hairlines, ornaments */
  --lapis: #1f356b;
  --vault: #0e0d0b;
}

/* ───────── The vault (hero) ───────── */
.vault {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding: var(--s8) var(--gutter) var(--s7);
  background: var(--vault); color: var(--night-ink);
  overflow: clip; isolation: isolate;
}
.vault-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.vault-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.vault::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 13, 11, 0.377) 0%, rgba(14, 13, 11, 0) 55%);
}
.vault-text { position: relative; width: 100%; max-width: var(--wide); margin: 0 auto; }
.vault-text > * { max-width: 34rem; }
.vault h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.vault .eyebrow { color: var(--night-ink); }
.vault h1 {
  margin: var(--s4) 0 var(--s5);
  font: 400 clamp(56px, 8.4vw, 117px)/0.96 var(--display);
  letter-spacing: -0.021em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.61);
}
.vault h1 em { color: inherit; }
.vault .lead { color: var(--night-ink); max-width: 19em; text-shadow: 0 1px 21px rgba(0, 0, 0, 0.61); }
.vault .hero-sub { color: var(--night-soft); text-shadow: 0 1px 13px rgba(0, 0, 0, 0.61); }
.vault .btn { border-color: var(--night-ink); color: var(--night-ink); }
.vault .btn:hover, .vault .btn:focus-visible { background: var(--night-ink); color: var(--vault); }
.vault .btn--solid { background: var(--night-ink); color: var(--vault); }
.vault .btn--solid:hover, .vault .btn--solid:focus-visible { background: transparent; border-color: var(--night-ink); color: var(--night-ink); }
.vault .link-quiet { color: var(--night-soft); }
.vault .link-quiet:hover { color: var(--night-ink); }

@media (max-width: 760px) {
  .vault { display: block; min-height: 0; padding: 0; }
  .vault-media { position: relative; }
  .vault-media img { height: auto; }
  .vault::before { display: none; }
  .vault-text { padding: var(--s6) var(--gutter) var(--s7); }
}

/* ───────── Hold / carry ───────── */
.duality { display: grid; gap: var(--s6); position: relative; }
@media (min-width: 987px) {
  .duality { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .duality::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
    background: var(--hair);
  }
}
.duality h3 { margin: 0 0 var(--s4); font: 300 clamp(35px, 4vw, 52px)/1.089 var(--display); }
.duality p { color: var(--ink-soft); font-size: var(--fs-md); line-height: 1.55; font-family: var(--display); font-weight: 400; }

/* ───────── Traditions: a catalogue ───────── */
.lineage-intro { max-width: 760px; margin: 0 0 var(--s6); }
.lineage-intro .title { margin-bottom: var(--s5); }
.lineage-intro p { color: var(--ink-soft); }
.catalogue { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6) var(--s5); }
@media (min-width: 760px) { .catalogue { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1220px) { .catalogue { grid-template-columns: repeat(3, 1fr); } }
.catalogue figure {
  margin: 0 0 var(--s4); padding: var(--s5);
  background: #fbf8f2; border: 1px solid var(--hair);
  box-shadow: 0 21px 55px -34px rgba(29, 26, 21, 0.377);
  display: grid; place-items: center; aspect-ratio: 1;
}
.catalogue figure { overflow: hidden; }
.catalogue figure img { width: 100%; height: 100%; object-fit: contain; }
.catalogue .where { font: 500 var(--fs-xs)/1.5 var(--ui); letter-spacing: 0.177em; text-transform: uppercase; color: var(--gold); }
.catalogue h3 { margin: var(--s2) 0 var(--s3); font: 400 var(--fs-lg)/1.25 var(--display); }
.catalogue p { color: var(--ink-soft); font-size: var(--fs-sm); }
.catalogue .credit { display: block; margin-top: var(--s3); font: 400 11px/1.5 var(--ui); color: var(--ink-faint); }
.catalogue .credit a { text-decoration: underline; text-underline-offset: 3px; }
.legend-tag { font-style: italic; color: var(--ink-faint); }
.lineage-close, .rite-note { max-width: var(--measure); margin: var(--s5) 0 0; color: var(--ink-soft); }

/* ───────── The work ───────── */
.rite { list-style: none; margin: 0; padding: 0; counter-reset: rite; border-top: 1px solid var(--hair); }
.rite li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 987px) { .rite li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: var(--s7); align-items: baseline; } }
.rite .numeral { display: none; }
.rite h3 { margin: 0; font: 300 clamp(var(--fs-lg), 3vw, var(--fs-xl))/1.144 var(--display); }
.rite p { color: var(--ink-soft); }

/* ───────── Which objects ───────── */
.kinds { display: grid; gap: var(--s7); }
.kind { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 987px) {
  .kind { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .kind:nth-child(even) figure { order: 2; }
}
.kind figure { margin: 0; overflow: hidden; border-radius: 3px; box-shadow: 0 34px 89px -55px rgba(29, 26, 21, 0.61); }
.kind figure img { width: 100%; height: auto; transition: transform 2.584s var(--ease-out); }
.kind:hover figure img { transform: scale(1.034); }
.kind .eyebrow { color: var(--gold); }
.kind h3 { margin: 0 0 var(--s4); font: 300 clamp(var(--fs-xl), 3.6vw, var(--fs-2xl))/1.13 var(--display); }
.kind p { color: var(--ink-soft); }

/* ───────── The offer (second night act) ───────── */
.offer { position: relative; overflow: clip; isolation: isolate; background: var(--vault); color: var(--night-ink); padding: var(--s8) var(--gutter); }
.offer-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 13, 11, 0.89) 0%, rgba(14, 13, 11, 0.76) 55%, rgba(14, 13, 11, 0.47) 100%); }
.offer .inner { max-width: var(--wide); margin: 0 auto; }
.offer .inner > * { max-width: 610px; }
.offer .eyebrow { color: var(--night-soft); }
.offer .amount { margin: var(--s4) 0 var(--s3); font: 400 var(--fs-4xl)/1 var(--display); color: var(--night-ink); text-shadow: 0 2px 34px rgba(0, 0, 0, 0.61); }
.offer .what { font: 300 clamp(var(--fs-md), 2.4vw, var(--fs-lg))/1.45 var(--display); color: var(--night-ink); text-shadow: 0 1px 21px rgba(0, 0, 0, 0.61); }
.offer .basis { color: var(--night-ink); font-size: var(--fs-base); margin: var(--s5) 0; max-width: 30em; text-shadow: 0 1px 13px rgba(0, 0, 0, 0.61); }
.offer .btn { margin-top: var(--s4); border-color: var(--night-ink); background: var(--night-ink); color: var(--vault); }
.offer .btn:hover, .offer .btn:focus-visible { background: transparent; color: var(--night-ink); }
.offer .more-note { margin-top: var(--s4); color: var(--night-ink); font-size: var(--fs-sm); }

/* Link from the home page */
.to-objects { display: inline-flex; margin-top: var(--s3); align-items: center; gap: var(--s2); min-height: 44px; font: 500 var(--fs-xs)/1 var(--ui); letter-spacing: 0.177em; text-transform: uppercase; color: var(--gold); }
.to-objects:hover { gap: var(--s3); }

/* Traditions without a museum piece: an engraved plaque */
.plaque {
  margin: 0 0 var(--s4); aspect-ratio: 1; display: grid; place-items: center; padding: var(--s6);
  background: linear-gradient(160deg, #2a241c, #15120e); color: #e6c98e;
  border: 1px solid rgba(201, 163, 90, 0.377); outline: 1px solid rgba(201, 163, 90, 0.233); outline-offset: -13px;
  box-shadow: 0 21px 55px -34px rgba(29, 26, 21, 0.61);
  text-align: center;
}
.plaque span { font: 300 italic clamp(30px, 3vw, 40px)/1.144 var(--display); }
