/* Self-hosted Google Fonts (SIL Open Font License): Cormorant Garamond, Spectral. latin + latin-ext subsets. */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-italic-latin-ext-4f7084.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-italic-latin-5d13e7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-normal-latin-ext-907682.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-normal-latin-2fed1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-normal-latin-ext-907682.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-normal-latin-2fed1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/spectral-italic-latin-ext-362f0a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/spectral-italic-latin-9efe49.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/spectral-normal-latin-ext-4aad0a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/spectral-normal-latin-f4a845.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/spectral-normal-latin-ext-ba2613.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/spectral-normal-latin-0340db.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Daily Creepypasta — candlelight, old paper, a little fog. */
:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --paper: #ddd3c0;
  --paper-dim: #b3a993;
  --muted: #8a8172;
  --line: rgba(221, 211, 192, .12);
  --candle: #d8a45a;
  --candle-soft: rgba(216, 164, 90, .16);
  --blood: #9b3b30;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Spectral", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --measure: 36rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 520px at 50% -80px, rgba(216, 164, 90, .11), transparent 70%),
    linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 22%, transparent 78%, rgba(0, 0, 0, .55));
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film grain / static */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* slow drifting fog along the bottom of the screen */
.fog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 520px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.fog::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -25%;
  right: -25%;
  background:
    radial-gradient(ellipse 40% 55% at 25% 85%, rgba(190, 185, 175, .065), transparent 70%),
    radial-gradient(ellipse 35% 50% at 70% 90%, rgba(190, 185, 175, .055), transparent 70%),
    radial-gradient(ellipse 30% 40% at 50% 100%, rgba(190, 185, 175, .05), transparent 70%);
  filter: blur(8px);
  animation: drift 70s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-6%); }
  to   { transform: translateX(6%); }
}

header, main, footer { position: relative; z-index: 1; }
main { flex: 1; width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--candle); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #ecc283; }
a:focus-visible { outline: 2px solid var(--candle); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(155, 59, 48, .55); color: #fff; }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); color: var(--bg); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 46rem;
  margin: 0 auto;
  width: 100%;
  padding: 1.6rem 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: #fff; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: .06em;
  font-variant: small-caps;
  line-height: 1;
}
.site-nav { display: flex; gap: 1.3rem; }
.site-nav a {
  color: var(--paper-dim);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--candle); }

/* candle flame */
.flame {
  position: relative;
  width: 11px;
  height: 18px;
  flex: none;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 75%, #fff4d6 0%, #f3c873 35%, #d07a2c 75%, rgba(160, 60, 20, 0) 100%);
  box-shadow: 0 0 14px 4px rgba(230, 160, 70, .35), 0 0 40px 10px rgba(230, 160, 70, .12);
  transform-origin: 50% 90%;
  animation: flicker 3.2s infinite;
}
.flame.small { width: 8px; height: 13px; display: inline-block; vertical-align: -1px; margin-right: .6rem; }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-1deg); opacity: 1; }
  20% { transform: scale(.96, 1.04) rotate(1.5deg); }
  40% { transform: scale(1.03, .95) rotate(-2deg); opacity: .9; }
  55% { transform: scale(.98, 1.06) rotate(1deg); }
  70% { transform: scale(1.02, .97) rotate(-1deg); opacity: .95; }
  85% { transform: scale(.97, 1.02) rotate(2deg); }
}

/* ---------- shared bits ---------- */
.meta {
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  font-style: italic;
  letter-spacing: .01em;
}
.meta .dot { margin: 0 .3em 0 0; opacity: .7; font-style: normal; }
.meta > time, .meta > span:not(.dot) { white-space: nowrap; }
.byline { color: var(--paper-dim); }

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3.5rem 0 1.25rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.read-link {
  display: inline-block;
  margin-top: .4rem;
  padding: .55rem 1.15rem;
  border: 1px solid rgba(216, 164, 90, .45);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--candle);
  transition: background .3s, box-shadow .3s, color .3s;
}
.read-link:hover { background: var(--candle-soft); box-shadow: 0 0 24px rgba(216, 164, 90, .18); color: #f0c98c; }

/* ---------- home ---------- */
.hero { text-align: center; padding: 3rem 0 1.25rem; }
.tagline {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.featured {
  position: relative;
  margin: 1rem 0 0;
  padding: 2.4rem 2.4rem 2.2rem;
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(216, 164, 90, .09), transparent 70%),
    linear-gradient(180deg, rgba(30, 26, 21, .85), rgba(18, 16, 14, .85));
  border: 1px solid rgba(216, 164, 90, .18);
  border-radius: 3px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 0 80px rgba(0, 0, 0, .35);
}
.kicker {
  margin: 0 0 .9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--candle);
}
.featured h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: .005em;
}
.featured h1 a { color: var(--paper); text-decoration: none; }
.featured h1 a:hover { color: #fff; text-shadow: 0 0 30px rgba(216, 164, 90, .25); }
.featured .excerpt { margin: 1.3rem 0 1.4rem; font-size: 1.15rem; color: var(--paper-dim); max-width: var(--measure); }

.story-list { list-style: none; margin: 0; padding: 0; }
.story-item a {
  display: block;
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.story-item:first-child a { padding-top: .4rem; }
.story-item h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--paper);
  transition: color .25s;
}
.story-item a:hover h3 { color: var(--candle); }
.story-item .excerpt { margin: .55rem 0 0; color: var(--paper-dim); font-size: 1.02rem; line-height: 1.65; }
.more { text-align: right; margin: 1.2rem 0 0; font-family: var(--display); font-size: 1.15rem; }
.more a { text-decoration: none; }

/* ---------- story ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blood), var(--candle)); box-shadow: 0 0 8px rgba(216, 164, 90, .5); }

.story { max-width: var(--measure); margin: 0 auto; }
.story-header { text-align: center; padding: 3.5rem 0 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.story-header h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  line-height: 1.05;
}
.story-header .meta { margin-top: .9rem; }

.prose { font-size: 1.18rem; line-height: 1.8; }
.prose p { margin: 0 0 1.35em; hyphens: auto; -webkit-hyphens: auto; }
.prose em { color: #e8dfcd; }
.prose code { font-size: .85em; background: rgba(221, 211, 192, .07); padding: .1em .35em; border-radius: 2px; }
.prose strong { font-weight: 600; color: #ece4d3; }
.prose h2, .prose h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 2em 0 .6em; }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.5rem; }
.prose blockquote { margin: 1.5em 0; padding: 0 0 0 1.2em; border-left: 2px solid rgba(155, 59, 48, .7); color: var(--paper-dim); font-style: italic; }
.prose hr {
  border: 0;
  margin: 2.4em 0;
  text-align: center;
  height: auto;
}
.prose hr::after {
  content: "\2726\2003\2726\2003\2726";
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .2em;
}
.story .prose > p:first-child::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 4.4em;
  line-height: .82;
  padding: .06em .1em 0 0;
  color: var(--candle);
  text-shadow: 0 0 24px rgba(216, 164, 90, .25);
}
.prose > p:last-child { margin-bottom: 0; }
.end { text-align: center; margin: 2.8rem 0 0; }
.fleuron { display: inline-flex; align-items: center; gap: .7rem; line-height: 1; }
.fleuron::before, .fleuron::after { content: ""; width: 2.6rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(155, 59, 48, .8)); }
.fleuron::after { background: linear-gradient(90deg, rgba(155, 59, 48, .8), transparent); }
.fleuron i { display: block; width: 7px; height: 7px; transform: rotate(45deg); background: var(--blood); box-shadow: 0 0 10px rgba(155, 59, 48, .6); }

.story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: var(--measure);
  margin: 3rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.story-nav a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-decoration: none;
  transition: border-color .25s, background .25s;
}
.story-nav a:hover { border-color: rgba(216, 164, 90, .4); background: rgba(216, 164, 90, .05); }
.story-nav .next { text-align: right; grid-column: 2; }
.story-nav .label { display: block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--display); font-weight: 600; }
.story-nav .t { display: block; margin-top: .2rem; font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--paper); }
.story-nav a:hover .t { color: var(--candle); }

/* ---------- archive / pages ---------- */
.page { max-width: var(--measure); margin: 0 auto; }
.page-header { text-align: center; padding: 3.5rem 0 1rem; }
.page-header h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 3.2rem); line-height: 1.1; }
.static-page .page-header { border-bottom: 1px solid var(--line); padding-bottom: 2rem; margin-bottom: 2.2rem; }
.static-page .prose h3 { font-size: 1.45rem; color: var(--paper); margin-top: 2.2em; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--line);
}
.archive-list time { flex: none; width: 3.6rem; color: var(--muted); font-style: italic; font-size: .95rem; }
.archive-list a { flex: 1; font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.25; color: var(--paper); text-decoration: none; }
.archive-list a:hover { color: var(--candle); }
.archive-list .mins { flex: none; color: var(--muted); font-size: .85rem; }

.notfound { text-align: center; padding: 4rem 0 2rem; }
.notfound .big {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(6rem, 22vw, 10rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(221, 211, 192, .25);
  letter-spacing: .05em;
  animation: fade 6s ease-in-out infinite;
}
@keyframes fade { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
.notfound h1 { font-family: var(--display); font-weight: 600; font-size: 2.2rem; margin: .5rem 0 1rem; }
.notfound p { color: var(--paper-dim); }

.empty { text-align: center; padding: 5rem 0; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 5rem;
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  font-style: italic;
}
.site-footer p { margin: .3rem 0; }
.site-footer .ornament { margin-bottom: 1rem; }
.site-footer .fine { font-style: normal; font-size: .85rem; letter-spacing: .02em; }
.site-footer a { color: var(--paper-dim); text-decoration: none; }
.site-footer a:hover { color: var(--candle); }

/* ---------- small screens ---------- */
/* ---------- content notes, reader's companion, classics row ---------- */
.content-warnings {
  margin: .7rem auto 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .02em;
  line-height: 1.5;
}
.content-warnings span { font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin-right: .3em; }

.companion {
  margin: 3.2rem 0 0;
  padding: 2.4rem 2.2rem 2.2rem;
  background: linear-gradient(180deg, rgba(30, 26, 21, .6), rgba(18, 16, 14, .35));
  border: 1px solid var(--line);
  border-top: 1px solid rgba(216, 164, 90, .3);
  border-radius: 3px;
}
.companion-header { text-align: center; margin-bottom: 1.8rem; }
.companion-kicker {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--candle);
}
.companion-header h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.15; }
.spoiler-note {
  display: inline-block;
  margin: .9rem 0 0;
  padding: .2rem .8rem;
  border: 1px dashed rgba(155, 59, 48, .6);
  border-radius: 2px;
  color: var(--paper-dim);
  font-size: .85rem;
  font-style: italic;
}
.companion-prose { font-size: 1.06rem; line-height: 1.75; color: #d3c9b5; }
.companion-prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--paper); }
.companion-prose h3:first-child { margin-top: 0; }
.companion-prose a { color: var(--candle); text-decoration-color: rgba(216, 164, 90, .4); text-underline-offset: .18em; }
.companion-prose a:hover { color: #f0c98c; }
.companion-prose .context-note, .companion-prose blockquote { font-size: .98rem; }

.classic-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.classic-card a {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem .95rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: border-color .3s, background .3s;
}
.classic-card a:hover { border-color: rgba(216, 164, 90, .35); background: rgba(216, 164, 90, .04); }
.classic-card h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--paper); }
.classic-card a:hover h3 { color: var(--candle); }
.classic-card .meta { font-size: .88rem; }
@media (max-width: 560px) {
  .companion { padding: 1.8rem 1.15rem 1.6rem; margin-left: -.25rem; margin-right: -.25rem; }
  .companion-header h2 { font-size: 1.7rem; }
  .classic-cards { grid-template-columns: 1fr; gap: .7rem; }
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .site-header { flex-direction: column; gap: .7rem; padding: 1.3rem 1.25rem 1.1rem; }
  .brand-name { font-size: 1.45rem; }
  .hero { padding: 2rem 0 .75rem; }
  .featured { padding: 1.7rem 1.35rem 1.6rem; margin-left: -.25rem; margin-right: -.25rem; }
  .featured .excerpt { font-size: 1.06rem; }
  .story-header { padding: 2.4rem 0 1.6rem; }
  .prose { font-size: 1.1rem; line-height: 1.75; }
  .story-nav { grid-template-columns: 1fr; }
  .story-nav .next { grid-column: auto; text-align: left; }
  .story-nav .prev.none { display: none; }
  .story-item h3 { font-size: 1.55rem; }
  .archive-list li { flex-wrap: wrap; gap: .2rem .9rem; }
  .archive-list a { flex-basis: calc(100% - 4.5rem); }
  .archive-list .mins { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, .fog, .site-nav, .story-nav, .progress, .site-footer { display: none; }
  .story .prose > p:first-child::first-letter { color: #000; text-shadow: none; }
}

/* Inscriptions set apart in a story (e.g. the whistle in "Oh, Whistle") */
.prose .inscription { font-family: var(--display); font-weight: 600; letter-spacing: .18em; color: var(--paper); text-align: center; margin: 1.2em auto 1.5em; }
.prose .inscription-cross { display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto auto auto; justify-content: center; align-items: center; column-gap: 1.6em; row-gap: .1em; font-size: 1.35rem; line-height: 1.2; }
.prose .inscription-cross .i-n { grid-column: 2; grid-row: 1; }
.prose .inscription-cross .i-w { grid-column: 1; grid-row: 2; }
.prose .inscription-cross .i-e { grid-column: 3; grid-row: 2; }
.prose .inscription-cross .i-s { grid-column: 2; grid-row: 3; }
.prose .inscription-line { font-size: 1.2rem; hyphens: none; -webkit-hyphens: none; }

/* ---------- reader submissions ---------- */
.badge-reader {
  display: inline-block; vertical-align: middle; margin-left: .55em; padding: .18em .55em .14em;
  border: 1px solid rgba(155, 59, 48, .7); border-radius: 2px;
  font-family: var(--display); font-weight: 600; font-size: .62rem; line-height: 1.2;
  letter-spacing: .2em; text-transform: uppercase; color: #e0a093; background: rgba(155, 59, 48, .16);
  white-space: nowrap; position: relative; top: -.12em;
}
.featured h1 .badge-reader { font-size: .8rem; top: -.4em; }
.archive-list .badge-reader { font-size: .58rem; top: -.15em; }
.reader-kicker { margin: 0 0 1.1rem; }
.reader-kicker .badge-reader { margin-left: 0; font-size: .7rem; top: 0; }

.submit-form { margin: 2rem 0 1rem; }
.submit-form .field { margin: 0 0 1.6rem; }
.submit-form label { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--paper); margin-bottom: .4rem; }
.submit-form .req, .submit-form .opt { font-family: var(--body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.submit-form input[type="text"], .submit-form input[type="email"], .submit-form textarea {
  display: block; width: 100%; box-sizing: border-box; padding: .7rem .85rem;
  font: inherit; font-size: 1.05rem; line-height: 1.6; color: var(--paper);
  background: rgba(221, 211, 192, .04); border: 1px solid rgba(221, 211, 192, .22); border-radius: 3px;
}
.submit-form textarea { min-height: 22rem; resize: vertical; }
.submit-form input:focus, .submit-form textarea:focus { outline: none; border-color: var(--candle); box-shadow: 0 0 0 3px var(--candle-soft); }
.submit-form .hint { display: block; margin-top: .4rem; font-size: .9rem; color: var(--muted); }
.submit-form .hint.small { font-size: .85rem; }
.submit-form fieldset.agree { margin: 2rem 0 1.4rem; padding: 1.1rem 1.2rem .3rem; border: 1px solid var(--line); border-radius: 3px; }
.submit-form legend { padding: 0 .4rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--paper); }
.submit-form fieldset label { display: flex; gap: .7rem; align-items: flex-start; font-family: var(--body); font-weight: 400; font-size: 1rem; line-height: 1.55; color: var(--paper-dim); }
.submit-form input[type="checkbox"] { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--candle); }
.submit-form button.read-link { cursor: pointer; font-size: 1.15rem; background: transparent; }
.submit-form .submit-row { margin: 1.6rem 0 .8rem; }
.submit-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid rgba(155, 59, 48, .8); border-radius: 3px; background: rgba(155, 59, 48, .12); color: var(--paper); }
.form-errors p { margin: 0 0 .4rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.thanks .thanks-links { text-align: center; margin-top: 2rem; }
.thanks .meta.thanks-links { margin-top: .8rem; }
