/* ------------------------------------------------------------------
   The Missing Slice - one stylesheet, no scripts, no dependencies.
   Colours are taken from the logo: navy, amber, cream.
   ------------------------------------------------------------------ */
:root {
  --navy:   #16243d;
  --amber:  #e8a33d;
  --cream:  #f4efe6;
  --paper:  #fbf8f2;
  --ink:    #1c2438;
  --ink-soft: #4d5566;
  --rule:   #ded5c4;
  --link:   #8a5a10;
  --maxw:   36rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121b2e;
    --cream: #16243d;
    --ink:   #e7e2d6;
    --ink-soft: #a9b0c0;
    --rule:  #2c3a55;
    --link:  #eab458;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 19px;
  line-height: 1.62;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem auto; width: 40%; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--amber); color: #000;
  padding: .5rem .75rem; z-index: 10; }

/* ---------- masthead ---------- */
.masthead {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  max-width: 52rem; margin: 0 auto; padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink); }
.brand img { border-radius: 4px; }
.brand span { font-size: 1.05rem; letter-spacing: .02em; font-weight: 700; }
.topnav { display: flex; flex-wrap: wrap; gap: 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; }
.topnav a { color: var(--ink-soft); text-decoration: none; }
.topnav a:hover { color: var(--link); text-decoration: underline; }

main { max-width: 52rem; margin: 0 auto; padding: 0 1.25rem 4rem; }

/* ---------- home hero ---------- */
.hero { text-align: center; padding: 3rem 0 1rem; }
.herologo { border-radius: 10px; }
.hero h1 { font-size: 2.6rem; margin: 1rem 0 .4rem; letter-spacing: -.01em; }
.tagline { max-width: 34rem; margin: 0 auto; color: var(--ink-soft);
  font-size: 1.06rem; font-style: italic; }
.hero-note { max-width: 32rem; margin: 1.1rem auto 0; color: var(--ink-soft);
  font-size: .95rem; }

.pagehead { padding: 2.5rem 0 .5rem; text-align: center; }
.pagehead h1 { font-size: 2.1rem; margin: 0 0 .5rem; }

/* ---------- blocks ---------- */
.block { margin: 3.2rem 0 0; }
.block > h2 {
  font-size: 1.02rem; text-transform: uppercase; letter-spacing: .1em;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-soft); font-weight: 600;
  border-bottom: 1px solid var(--rule); padding-bottom: .5rem; margin-bottom: 1.4rem;
}
.count { float: right; color: var(--amber); font-weight: 700; }
.blurb { margin: -.7rem 0 1.6rem; color: var(--ink-soft); font-style: italic; }
.quiet { color: var(--ink-soft); font-size: .92rem; }

ul.picks, ul.entries { list-style: none; padding: 0; margin: 0; }
ul.picks > li {
  border-left: 3px solid var(--amber); padding: .1rem 0 .1rem 1rem;
  margin: 0 0 1.8rem;
}
ul.picks h3, ul.entries h3 { font-size: 1.28rem; margin: 0 0 .35rem; line-height: 1.25; }
ul.picks h3 a, ul.entries h3 a { color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .18s ease; }
ul.picks h3 a:hover, ul.entries h3 a:hover { background-size: 100% 2px; }
ul.picks p { margin: .2rem 0 .3rem; color: var(--ink-soft); }

ul.entries > li.entry {
  padding: 1.25rem 0; border-top: 1px solid var(--rule);
}
ul.entries > li.entry:first-child { border-top: 0; }
.teaser { margin: .3rem 0 .5rem; color: var(--ink-soft); }
.entry-meta {
  margin: .3rem 0 0; font-size: .8rem; color: var(--ink-soft);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.entry-meta .sep { opacity: .45; }
.mins { white-space: nowrap; }
.partno {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 .25rem; font-weight: 700;
}
.numbered > li.entry { padding-left: 0; }

.chip {
  display: inline-block; font-size: .72rem; letter-spacing: .04em;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .12rem .6rem; color: var(--ink-soft); text-decoration: none;
  background: var(--cream);
}
a.chip:hover { border-color: var(--amber); color: var(--link); }
.chip-series { border-color: var(--amber); }
.chiprow { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 1.6rem; }
.chiprow.jump { justify-content: center; margin: 1.4rem auto 0; max-width: 44rem; }
.block { scroll-margin-top: 1rem; }

/* ---------- essay ---------- */
.essay { max-width: var(--maxw); margin: 0 auto; }
.arthead { padding: 2.6rem 0 1.4rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.kicker {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 .8rem;
}
.kicker a { color: var(--amber); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.arthead h1 { font-size: 2.25rem; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.015em; }
.subtitle { font-size: 1.15rem; margin: 0 0 .6rem; color: var(--ink); font-style: italic; }
.dek { color: var(--ink-soft); font-style: italic; margin: 0 0 .8rem; }
.byline {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 .4rem;
}
.byline a { color: var(--ink-soft); text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.standfirst {
  border-left: 3px solid var(--amber); padding-left: 1rem;
  margin: 0 0 1.5rem; color: var(--ink-soft); font-size: .97rem;
}
.artmeta {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .78rem; color: var(--ink-soft); margin: 1rem 0 0; letter-spacing: .02em;
}
.artmeta a { color: var(--ink-soft); }

.prose { overflow-wrap: break-word; }
.prose > p { margin: 0 0 1.35rem; }
.starbreak { text-align: center; letter-spacing: .5em; color: var(--amber);
  margin: 2.2rem 0; font-size: 1.2rem; }
.prose > p:first-of-type::first-letter {
  float: left; font-size: 3.3rem; line-height: .82; padding: .18rem .55rem 0 0;
  color: var(--amber); font-weight: 700;
}
.poem .prose > p:first-of-type::first-letter { float: none; font-size: inherit;
  line-height: inherit; padding: 0; color: inherit; font-weight: inherit; }
.prose h2 {
  font-size: 1.28rem; line-height: 1.3; margin: 2.8rem 0 1rem;
  letter-spacing: -.005em;
}
.prose h2::after {
  content: ""; display: block; width: 2.2rem; height: 2px;
  background: var(--amber); margin-top: .55rem;
}
.prose ul { margin: 0 0 1.35rem; padding-left: 1.2rem; }
.prose li { margin: 0 0 .5rem; }
.prose blockquote {
  margin: 1.6rem 0; padding-left: 1.1rem; border-left: 3px solid var(--rule);
  color: var(--ink-soft); font-style: italic;
}
.prose .lead-in { color: var(--ink-soft); }
.figure { overflow-x: auto; margin: 1.8rem 0; background: var(--cream);
  border: 1px solid var(--rule); border-radius: 6px; padding: 1rem 1.1rem; }
.figure pre { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .78rem; line-height: 1.5; white-space: pre; }
.sources {
  margin: 2.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--rule);
  font-size: .84rem; color: var(--ink-soft);
}
.poem .prose > p { margin: 0 0 1.15rem; }

/* ---------- essay footer nav ---------- */
.serialnav {
  max-width: var(--maxw); margin: 2.6rem auto 0; display: flex; gap: 1rem;
  flex-wrap: wrap;
}
.serialnav a {
  flex: 1 1 12rem; border: 1px solid var(--rule); border-radius: 6px;
  padding: .8rem 1rem; text-decoration: none; color: var(--ink);
  background: var(--cream);
}
.serialnav a:hover { border-color: var(--amber); }
.serialnav a.next { text-align: right; }
.serialnav span {
  display: block; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .25rem;
}
.tagline-row { max-width: var(--maxw); margin: 2rem auto .5rem;
  font-size: .8rem; color: var(--ink-soft);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.tagline-row .chip { margin-left: .2rem; }
.backrow { max-width: var(--maxw); margin: 1.2rem auto 0; font-size: .85rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---------- footer ---------- */
.foot {
  max-width: 52rem; margin: 0 auto; padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--rule); text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem;
  color: var(--ink-soft);
}
.foot a { color: var(--ink-soft); }
.foot p { margin: .35rem 0; }

/* ---------- small screens ---------- */
@media (max-width: 34rem) {
  body { font-size: 18px; }
  .hero h1 { font-size: 2.1rem; }
  .arthead h1 { font-size: 1.75rem; }
  .masthead { padding: .9rem 1rem; }
}

/* ---------- print ---------- */
@media print {
  .masthead, .topnav, .serialnav, .foot, .tagline-row, .backrow, .skip { display: none; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .essay { max-width: none; }
  a { color: #000; text-decoration: none; }
  .prose > p:first-of-type::first-letter { color: #000; }
}
