/* The Shrouded Sun: black page, teal ink, nested teal/black frame, two-column newsprint. */
:root {
  --bg: #1c1c1c;
  --paper: #000;
  --ink: #e9e9e4;
  --muted: #a9b3b1;
  --teal: #1f9a9a;
  --teal-dim: #0f6e6e;
  --teal-bright: #3cc4c4;
  --rule: #2c3a3a;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Libre Caslon Text", "Times New Roman", Times, serif; font-size: 17px; line-height: 1.6; padding: 24px 16px; }
a { color: var(--teal-bright); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }

/* The original nested 2px black/teal table borders, rebuilt as rings. */
.frame {
  max-width: 1000px; margin: 0 auto; background: var(--paper); padding: 28px clamp(16px, 4vw, 40px) 24px;
  box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--teal-dim), 0 0 0 6px #000, 0 0 0 8px var(--teal-dim), 0 0 0 10px #000, 0 20px 60px rgba(0,0,0,.6);
}

/* Masthead */
.masthead { border: 1px solid #555; background: #2f2f2f; margin-bottom: 0; }
.logo { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 16px 6px; text-decoration: none; background: #000; border: 1px solid #555; margin: 8px; }
.logo img { width: 72px; height: 72px; border-radius: 4px; }
.logo span { font-family: "Pinyon Script", cursive; color: var(--teal); font-size: clamp(2.6rem, 9vw, 5.2rem); line-height: 1.1; white-space: nowrap; }
.strap { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #555; background: #000; margin: 0 8px 8px; padding: 4px 10px; font-weight: 700; font-size: .92rem; }
.strap span:last-child { white-space: nowrap; }

.menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; padding: 14px 0; border-bottom: 3px double var(--teal-dim); margin-bottom: 24px; }
.menu a { color: var(--teal); text-decoration: none; font-variant: small-caps; letter-spacing: .04em; font-size: 1.1rem; }
.menu a:hover, .menu a[aria-current] { color: var(--teal-bright); text-decoration: underline; }

/* Newsprint */
h1, h2, h3 { color: var(--teal); font-weight: 700; line-height: 1.15; margin: 0 0 .35em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; font-weight: 400; color: var(--teal); }
h1 a, h2 a { color: inherit; text-decoration: none; }
p { margin: 0 0 .9em; text-align: justify; hyphens: auto; }
.paper { columns: 2; column-gap: 40px; column-rule: 1px solid var(--rule); }
.paper.single { columns: 1; max-width: 720px; margin: 0 auto; }
.story { break-inside: avoid-column; margin-bottom: 1.8em; }
.paper .story:first-child h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); column-span: all; }
.story.box { border: 1px solid var(--teal-dim); padding: 14px 16px; background: #050909; }
.lead::first-letter { float: left; font-size: 3.6em; line-height: .8; padding: 6px 8px 0 0; color: var(--teal); font-weight: 400; }
.story em:only-child { color: var(--muted); }
.story img { display: block; margin: 8px auto 14px; border: 1px solid var(--rule); }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 3px double var(--teal-dim); padding-top: 16px; margin-top: 8px; font-variant: small-caps; }
.pager a { text-decoration: none; }
.pager .scan { color: var(--muted); font-size: .9rem; }

/* Front page */
.front { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); margin-bottom: 6px; text-align: left; }
.more { font-variant: small-caps; }
.staff ul { list-style: none; padding: 0; margin: 0; }
.staff li { padding: 4px 0; border-bottom: 1px dotted var(--rule); font-size: .95rem; }
.staff strong { color: var(--teal-bright); font-weight: 400; }
.headlines { border-top: 3px double var(--teal-dim); margin-top: 16px; padding-top: 16px; }
.headlines ul, .arch { list-style: none; padding: 0; margin: 0 0 24px; columns: 2; column-gap: 40px; }
.headlines li, .arch li { padding: 6px 0; border-bottom: 1px dotted var(--rule); break-inside: avoid; }
.headlines a, .arch a { text-decoration: none; color: var(--ink); }
.headlines a:hover, .arch a:hover { color: var(--teal-bright); }
.headlines span, .arch span { color: var(--teal); font-variant: small-caps; margin-right: 6px; }
.arch .lost { color: #666; }
.arch .lost em { font-size: .85rem; }

.faq dt { color: var(--teal-bright); margin-top: 14px; font-weight: 700; }
.faq dd { margin: 4px 0 0 0; }

.foot { border-top: 3px double var(--teal-dim); margin-top: 28px; padding-top: 14px; text-align: center; font-size: .82rem; color: var(--muted); }
.foot p { text-align: center; margin: 0 0 6px; }
.foot .motto { display: inline-block; border: 1px solid var(--teal-dim); padding: 4px 10px; color: var(--teal); }

@media (max-width: 760px) {
  body { padding: 12px 8px; font-size: 16px; }
  .paper, .headlines ul, .arch { columns: 1; }
  .front { grid-template-columns: 1fr; gap: 24px; }
  .strap { font-size: .8rem; }
  .logo img { width: 48px; height: 48px; }
  p { text-align: left; }
}
