.sheet-archive {
  padding: clamp(1rem, 2.8vw, 2.5rem) 0 clamp(2.5rem, 6vw, 5rem);
}
.sheet-hero {
  padding-top: clamp(1.25rem, 4vw, 3rem);
  padding-bottom: clamp(1rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--line);
}
.sheet-hero .breadcrumb { margin-bottom: 1rem; }
.sheet-hero h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2.1rem, 5.2vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.sheet-hero h1 em { color: var(--gold); font-weight: inherit; }
.sheet-hero p { margin: 0; max-width: 58ch; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.15rem); }
.sheet-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.sheet-card {
  display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 2vw, 1.6rem);
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
}
.sheet-card h2 { font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin: 0 0 .45rem; line-height: 1.1; }
.sheet-overview p { color: var(--muted); margin: 0 0 1rem; max-width: 44ch; font-size: 1rem; }
.sheet-plate {
  margin: auto 0 0;
  display: grid; justify-items: center; width: 100%; overflow: hidden;
  border-radius: 10px; background: #0d1927; border: 1px solid var(--line);
}
.sheet-plate img { display: block; width: min(100%, 25rem); height: auto; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.sheet-actions .button { flex: 1 1 auto; text-align: center; line-height: 1.25; white-space: normal; min-height: 46px; }
.sheet-links { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .7rem; }
.sheet-links a { padding: .35rem 0; color: var(--gold); font-size: .96rem; text-decoration: underline; text-underline-offset: .22em; }
.sheet-directory {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem;
  margin: 1.4rem 0; padding: 1rem 0; border-block: 1px solid var(--line);
}
.sheet-directory p { margin: 0; color: var(--muted); }
.sheet-directory .button { min-height: 46px; white-space: normal; text-align: center; }
.sheet-example .sheet-plate { max-width: 32rem; margin: .8rem 0; }
.sheet-example .sheet-plate img { margin: 0; }
.sheet-example .sheet-actions { justify-content: flex-start; }
.sheet-example .sheet-actions .button { flex: 0 1 auto; }
@media (max-width: 720px) {
  .sheet-cards { grid-template-columns: 1fr; }
  .sheet-card { padding: .9rem; }
  .sheet-archive .wrap, .sheet-hero .wrap { width: calc(100% - 2rem); }
  .sheet-example .sheet-actions .button { flex: 1 1 auto; }
  .sheet-directory .button { width: 100%; }
}
.sheet-jumps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sheet-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; color: var(--text); font-size: .96rem; }
.sheet-jumps a:hover, .sheet-jumps a:focus-visible { color: var(--gold); border-color: var(--gold); }
.sheet-card:target { border-color: var(--gold); }
.sheet-card .sheet-directory { margin: .65rem 0 0; padding: .7rem 0 0; border-bottom: 0; }
.sheet-card .sheet-directory p { font-size: .875rem; }

.sheet-overview .sheet-note {
  margin: .1rem 0 .7rem; color: var(--gold); font-size: .94rem; font-weight: 650;
}
@media (min-width: 860px) {
  .sheet-cards > #maltese {
    grid-column: 1 / -1; display: grid; column-gap: clamp(1.5rem, 4vw, 3.75rem);
    grid-template-columns: minmax(19rem, .85fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr; align-items: center;
  }
  #maltese .sheet-plate { grid-column: 1; grid-row: 1 / 5; align-self: stretch; align-content: center; margin: 0; }
  #maltese .sheet-overview, #maltese .sheet-actions, #maltese .sheet-links, #maltese .sheet-directory { grid-column: 2; }
  #maltese .sheet-overview { align-self: end; }
  #maltese .sheet-actions { margin-top: .45rem; }
  #maltese .sheet-directory { align-self: start; }
}

.sheet-classics { margin-top: 2rem; }
.sheet-classics h2 { margin: 0; }

html[data-theme=light] #site .sheet-jumps a {
  background: var(--panel);
  border-color: #8693a2;
  color: var(--ink);
}
html[data-theme=light] #site .sheet-jumps a:is(:hover, :focus-visible) {
  color: var(--gold);
  background: #faf7ef;
  border-color: currentColor;
}
html[data-theme=light] #site .sheet-overview .sheet-note {
  color: var(--gold);
}
html[data-theme=light] #site .sheet-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
