/* Shared mechanical editorial system. Home collage remains in home.css. */
html { color-scheme: light; }
body { background: var(--paper); }
header { min-height: 104px; border-color: var(--rule); }
.brand { font-size: 20px; letter-spacing: .06em; }
.brand::before { width: 5px; height: 22px; transform: none; background: var(--cobalt); }
.layout { grid-template-columns: 188px minmax(0,1fr); gap: 64px; padding-top: 64px; padding-bottom: 100px; }
aside { border-color: var(--rule); padding-right: 22px; }
nav { gap: 8px; }
nav a { padding: 11px 12px; border-radius: 0; }
nav a[aria-current] { background: transparent; border-left-color: var(--cobalt); }
nav a:hover { background: rgba(184,224,247,.25); }
.aside-note { border-color: var(--rule); }
main > .eyebrow { letter-spacing: .12em; font-size: 10px; color: var(--cobalt); }
main > .eyebrow::before { height: 1px; width: 30px; }
/* Registration mark stays in the heading's own empty space. */
html[data-page='other'] main > .eyebrow::after {
  content: '';
  flex: 0 0 66px;
  height: 22px;
  margin-left: auto;
  background: linear-gradient(var(--cobalt),var(--cobalt)) right 10px center/1px 22px no-repeat,
              linear-gradient(var(--cobalt),var(--cobalt)) right center/22px 1px no-repeat,
              linear-gradient(var(--warmYellow),var(--warmYellow)) left center/18px 7px no-repeat;
  pointer-events: none;
}
h1 { font-weight: 500; letter-spacing: -.035em; line-height: 1.4; }
.lead { line-height: 2; }
main > h2 { margin-top: 52px; padding-bottom: 16px; border-color: var(--rule); font-size: 18px; font-weight: 500; letter-spacing: .04em; }
.grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.card { padding: 28px 0; gap: 16px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; box-shadow: none; }
.card:hover, .card:focus-within { background: transparent; border-color: var(--cobalt); }
.card > a { font-size: 19px; font-weight: 500; line-height: 1.65; }
.card[data-archive-id]::after { display: none; }
.card-tags span { border: 0; padding: 0 10px 0 0; font-size: 11px; }
.art-preview { border-radius: 0; overflow: hidden; background: #f0f2ef; }
.art-preview img { object-fit: contain; }
.gallery-controls { gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.gallery-controls:empty { display: none; }
button, select { border-radius: 0; border-color: var(--rule); background: transparent; }
button:hover { background: rgba(184,224,247,.2); }
select { padding: 10px 16px; background: var(--paper); }
.prose { line-height: 2.15; }
.explore a { padding: 22px 0; border-color: var(--rule); }
.empty { padding: 24px; border: 0; border-left: 2px solid var(--cobalt); background: rgba(184,224,247,.18); }
.preview { background: #fff9e7; color: var(--ink); border: 1px solid var(--rule); border-left: 3px solid var(--cobalt); border-radius: 0; }
main[data-section='journey'] .grid, main[data-section='journal'] .grid { border-color: var(--rule); }
main[data-section='journey'] .card::before, main[data-section='journal'] .card::before { background: var(--cobalt); }
main[data-section='contact'] > a { display: block; width: fit-content; max-width: 100%; padding: 10px 0; margin-bottom: 12px; text-decoration: none; border-bottom: 1px solid var(--rule); }
main[data-section='contact'] > a:hover { border-color: var(--cobalt); }
footer { border-color: var(--rule); padding-top: 28px; padding-bottom: 28px; letter-spacing: .04em; }

@media (min-width:761px) and (max-width:1050px) {
  .layout { grid-template-columns: 160px minmax(0,1fr); gap: 32px; padding-inline: 28px; }
}
@media (max-width:760px) {
  header { min-height: 80px; padding: 18px 20px; }
  .layout { display: block; padding: 0 20px 60px; }
  aside { padding: 18px 0 0; }
  nav { gap: 6px; }
  nav a { padding: 9px 12px; }
  main { padding-top: 32px; }
  html[data-page='other'] main > .eyebrow::after { display: none; }
  .grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .card { padding: 24px 0; }
  main > h2 { margin-top: 38px; }
  footer { padding: 22px 20px; }
}
