@import url("./shared.css");

:root {
  --ink: #12100e;
  --paper: #f3efe6;
  --cream: #faf7f0;
  --rule: #2a2520;
  --muted: #5c564e;
  --crimson: #7a1c1c;
  --soft: #cfc7b8;
}

html, body {
  margin: 0;
  padding: 0;
  background: #d8d2c6;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Libre Baskerville", serif;
  line-height: 1.55;
}

.utility-bar {
  background: #0c0b0a;
  color: #cfc8bc;
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.utility-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
.utility-inner span { opacity: 0.85; }

.masthead {
  background: var(--ink);
  color: var(--cream);
  padding: 1.35rem 1rem 0.9rem;
  border-bottom: 4px solid var(--crimson);
}
.mast-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.paper-name {
  margin: 0;
  font-size: clamp(1.9rem, 5.2vw, 2.85rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Didot", "Bodoni MT", Georgia, serif;
}
.paper-tag {
  margin: 0.25rem 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  font-family: system-ui, sans-serif;
}
.mast-meta {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.88;
  border-top: 1px solid rgba(250,247,240,0.25);
  padding-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: center;
}
.sep { margin: 0 0.15rem; opacity: 0.45; }

.ribbon {
  max-width: 860px;
  margin: 0 auto;
  background: var(--cream);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-left: 1px solid var(--soft);
  border-right: 1px solid var(--soft);
  color: var(--muted);
}
.ribbon span { cursor: default; }
.ribbon .active { color: var(--crimson); font-weight: 700; }

.layout {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0;
  background: var(--paper);
  border-left: 1px solid var(--soft);
  border-right: 1px solid var(--soft);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
@media (max-width: 780px) {
  .layout { grid-template-columns: 1fr; }
}

.story { padding: 1.75rem 1.4rem 2rem; }
.kicker {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 0.55rem;
  font-weight: 700;
}
h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.18;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.byline {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.byline .updated { margin-left: 0.65rem; opacity: 0.8; }
.dateline-row {
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
  letter-spacing: 0.04em;
}
.lede-rule {
  height: 0;
  border: 0;
  border-top: 2px solid var(--ink);
  margin: 0 0 1.1rem;
}
.dek {
  font-size: 1.06rem;
  font-style: italic;
  color: #2c2823;
  margin: 0 0 1.2rem;
}
.story p { margin: 0 0 1rem; }
blockquote {
  margin: 1.2rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--crimson);
  background: rgba(122,28,28,0.05);
  font-style: italic;
}
.subhead {
  font-size: 1.02rem;
  margin: 1.65rem 0 0.55rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.25rem;
}
.bullets { margin: 0 0 1.15rem; padding-left: 1.15rem; }
.bullets li { margin-bottom: 0.35rem; }
.endmark {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.4rem;
}

.rail {
  border-left: 1px solid var(--soft);
  background: #efe9dc;
  padding: 1.25rem 1rem 1.75rem;
  font-family: system-ui, sans-serif;
}
@media (max-width: 780px) {
  .rail { border-left: 0; border-top: 1px solid var(--soft); }
}
.rail h3 {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tip-box {
  background: #fffdf8;
  border: 1px solid #c9b59a;
  padding: 0.85rem 0.9rem;
  margin-bottom: 1.25rem;
}
.tip-box strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.35rem;
}
.tip-box p { margin: 0 0 0.45rem; font-size: 0.82rem; line-height: 1.4; color: #2a2620; }
.phone-token {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  background: #f3ebe0;
  border: 1px dashed #a88b5c;
  padding: 0.35rem 0.5rem;
  display: inline-block;
  color: #1a1612;
}
.rail ul { margin: 0; padding-left: 1rem; font-size: 0.82rem; }
.rail li { margin-bottom: 0.45rem; color: #2c2823; }
.meta-chip {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--soft);
  line-height: 1.5;
}

.related {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #c9c2b8;
  font-family: system-ui, sans-serif;
}
.related h3 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.related ul { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; }
.related li { margin-bottom: 0.35rem; }

.site-foot {
  max-width: 860px;
  margin: 0 auto 2rem;
  background: #ebe5d8;
  padding: 1.1rem 1.35rem 1.35rem;
  border: 1px solid var(--soft);
  border-top: 0;
  font-family: system-ui, sans-serif;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.55;
}
.site-foot p { margin: 0 0 0.4rem; }
.site-foot .addr { color: #3a342c; }
