/* Chronos — museum-at-dusk.
   Deliberately unlike the other apps' sites. 4.3(a) is scored on the surface of
   the *set*, so a shared stylesheet across apps is a signal in itself; this one
   takes its ink/parchment/gold from Chronos's own Theme.swift and nothing else. */

:root {
  --ink: #262e42;
  --parchment: #f7f3ea;
  --gold: #8c6614;
  --terracotta: #ad4f36;
  --rule: #ddd3c2;
  --muted: #5d5647;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 17px/1.65 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.mast {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.mast .era {
  font-family: ui-sans-serif, -apple-system, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

h1 { font-size: 2.1rem; line-height: 1.15; margin: 0 0 0.35rem; font-weight: 600; }
h2 {
  font-size: 1.18rem;
  margin: 2.25rem 0 0.6rem;
  font-weight: 600;
  border-left: 3px solid var(--gold);
  padding-left: 0.6rem;
}

.dateline { color: var(--muted); font-size: 0.92rem; margin: 0; }

.summary {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 1.75rem 0;
}
.summary p { margin: 0; }
.summary .stamp {
  display: inline-block;
  font-family: ui-sans-serif, -apple-system, system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

ul { padding-left: 1.15rem; }
li { margin: 0.35rem 0; }

a { color: var(--gold); text-underline-offset: 2px; }
a:hover { color: var(--terracotta); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: #efe8db;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}
footer a { margin-right: 1rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece5d8;
    --parchment: #1a1f2b;
    --rule: #39404f;
    --muted: #a49b8a;
    --gold: #d3a54a;
    --terracotta: #d98060;
  }
  .summary { background: #222836; }
  code { background: #2b3240; }
}
