/* === Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Garamond, serif;
  line-height: 1.6;
  color: #e5e5e5;
  background: #111;
}

/* === Handprint overlay === */
.handprint {
  position: fixed;
  width: 200px;
  height: 200px;
  background: url('assets/handprint.png') no-repeat center/contain;
  opacity: 0;
  animation: appear 12s infinite;
  pointer-events: none;
  z-index: 0;
}

.handprint:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.handprint:nth-child(2) { top: 45%; right: 15%; animation-delay: 6s; }
.handprint:nth-child(3) { bottom: 15%; left: 40%; animation-delay: 12s; }

@keyframes appear {
  0%, 100% { opacity: 0; transform: scale(1); }
  40% { opacity: 0.25; transform: scale(1.05); }
  60% { opacity: 0.15; transform: scale(0.95); }
}

/* === Hero Section === */
#hero.hero-bg {
  position: relative;
  text-align: center;
  padding: 6rem 2rem;
  background: radial-gradient(circle at top, #1a1a1f 0%, #0b0b0d 100%);
}

#hero {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 0;
}

#hero h2 {
  position: relative;
  font-family: 'garamond', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
  z-index: 1;
}

#hero p {
  position: relative;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
  z-index: 1;
}

/* === Buttons (base) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #ffffff;
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 1;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Ghost/outline variant */
.btn.outline, .btn.secondary {
  background: transparent;
  color: #f0f0f0;
  border-color: rgba(255,255,255,.28);
  box-shadow: none;
}

.btn.outline:hover, .btn.secondary:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.45);
}

/* Smaller size */
.btn.small {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.92rem;
}

/* === Stories Section === */
.stories {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
}

.stories h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-align: center;
}

.stories .subtitle {
  text-align: center;
  color: #aaa;
  margin-bottom: 3rem;
  font-style: italic;
}

/* === Story Grid === */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

/* === Story Card === */
.story-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(255,0,0,0.25);
}

/* === Story Cover / Thumb === */
.cover, .story-thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.75);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* === Story Card Body === */
.card-body, .story-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3, .story-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: .5rem;
  color: #fff;
}

.story-blurb, .story-content .excerpt {
  color: #ccc;
  font-size: .95rem;
  margin-bottom: 1rem;
}

/* === Meta Badges === */
.meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1rem 0;
  padding: 0;
}

.meta .badge {
  font-size: .75rem;
  color: #cfcfcf;
  border: 1px solid rgba(255,255,255,.18);
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}

.meta .badge-warn {
  border-color: rgba(255,78,78,.5);
  color: #ff9f9f;
}

/* === Story Actions === */
.story-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.story-actions .btn {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s ease;
}

.story-actions .btn.outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}

.story-actions .btn.outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}

@media (max-width: 480px) {
  .story-actions { flex-direction: column; }
  .story-actions .btn { width: 100%; }
}

/* === Creepy Quote Section === */
.quote {
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: #bbb;
  margin: 4rem auto;
  max-width: 700px;
}
.quote p {
  quotes: "“" "”" "‘" "’";
}
.quote p::before { content: open-quote; }
.quote p::after { content: close-quote; }

/* === About Section === */
#about {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

#about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

#about p {
  margin-bottom: 1rem;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === Callout Section === */
.callout {
  text-align: center;
  padding: 3rem 2rem;
  background: #111;
}
.callout h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #fff;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid rgba(255,255,255,0.1);
}
footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 0.5rem;
}
footer a:hover {
  color: #fff;
}

/* === Subscribe Page === */
.subscribe-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 3rem 2rem;
}

.subscribe-container {
  background: #111;
  border-radius: 16px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;

}

.divider {
  border: none;
  height: 4px;
  margin: 3rem auto;
  max-width: 500px;
  background: 
    linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) top,
    linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) bottom;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}
.pic {
  width: 140px; /* make smaller */
  height: auto;
}

