.living-bg[data-astro-cid-ebdy5khr] {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-slide[data-astro-cid-ebdy5khr] {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-slide[data-astro-cid-ebdy5khr].active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .bg-slide[data-astro-cid-ebdy5khr] {
    transition: none;
  }
}
.featured-trio[data-astro-cid-aj6eyfx2] {
  width: 100%;
  padding: 3rem 2rem;
  background: none;
}

.trio-eyebrow[data-astro-cid-aj6eyfx2] {
  text-align: center;
  font-family: Playfair Display, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f4ede0;
  margin-bottom: 2rem;
  letter-spacing: .5px;
}

.trio-grid[data-astro-cid-aj6eyfx2] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.trio-card[data-astro-cid-aj6eyfx2] {
  background: #faf5ea;
  border-radius: 6px;
  padding: 1.5rem 1.2rem;
  border-left: 4px solid #3d5a3c;
  box-shadow: 0 4px 20px #00000026;
  display: flex;
  flex-direction: column;
}

.trio-admin[data-astro-cid-aj6eyfx2] {
  border-left-color: #c8a24a;
}

.trio-avatar[data-astro-cid-aj6eyfx2] {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto .8rem;
  border: 3px solid #3d5a3c33;
}

.trio-avatar[data-astro-cid-aj6eyfx2] img[data-astro-cid-aj6eyfx2] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trio-avatar[data-astro-cid-aj6eyfx2] span[data-astro-cid-aj6eyfx2] {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Playfair Display, serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: #f4ede0;
  letter-spacing: 1px;
}

.trio-name[data-astro-cid-aj6eyfx2] {
  font-family: Playfair Display, serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #2e2a22;
  text-align: center;
  margin-bottom: .3rem;
}

.trio-name-link[data-astro-cid-aj6eyfx2] {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity .2s;
}

.trio-name-link[data-astro-cid-aj6eyfx2]:hover {
  opacity: .7;
}

.trio-admin-badge[data-astro-cid-aj6eyfx2] {
  text-align: center;
  font-size: .75rem;
  color: #3d5a3c;
  margin-bottom: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
}

.gold-tick[data-astro-cid-aj6eyfx2] {
  display: inline-block;
  margin-left: .3rem;
  color: #c8a24a;
  font-size: .85em;
  font-weight: 700;
  text-shadow: 0 0 10px #c8a24a80;
}

.trio-role[data-astro-cid-aj6eyfx2] {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #3d5a3c;
  text-align: center;
  margin-bottom: .6rem;
  font-weight: 600;
}

.trio-socials[data-astro-cid-aj6eyfx2] {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: .6rem;
}

.trio-socials[data-astro-cid-aj6eyfx2] a[data-astro-cid-aj6eyfx2] {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3d5a3c1a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .7rem;
  transition: background .2s;
}

.trio-socials[data-astro-cid-aj6eyfx2] a[data-astro-cid-aj6eyfx2]:hover {
  background: #3d5a3c33;
}

.trio-fav-book[data-astro-cid-aj6eyfx2] {
  font-size: .75rem;
  font-style: italic;
  color: #5a5242;
  text-align: center;
  margin-bottom: .6rem;
  padding: .4rem;
  background: #3d5a3c0d;
  border-radius: 4px;
}

.trio-meta[data-astro-cid-aj6eyfx2] {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .7rem;
  color: #5a5242;
  margin-bottom: .8rem;
  padding-left: .8rem;
}

.trio-meta[data-astro-cid-aj6eyfx2] span[data-astro-cid-aj6eyfx2] {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.trio-bio[data-astro-cid-aj6eyfx2] {
  font-size: .8rem;
  line-height: 1.5;
  color: #3a3528;
  margin-bottom: 1rem;
  flex: 1;
}

.trio-line[data-astro-cid-aj6eyfx2] {
  background: #3d5a3c0f;
  border-left: 3px solid #3d5a3c;
  padding: .6rem .8rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.trio-line-label[data-astro-cid-aj6eyfx2] {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3d5a3c;
  margin-bottom: .3rem;
  font-weight: 600;
}

.trio-line[data-astro-cid-aj6eyfx2] p[data-astro-cid-aj6eyfx2]:last-child {
  font-family: Playfair Display, serif;
  font-style: italic;
  font-size: .8rem;
  line-height: 1.4;
  color: #3a3528;
  margin: 0;
}

.trio-story-link[data-astro-cid-aj6eyfx2] {
  display: flex;
  flex-direction: column;
  padding: .6rem .8rem;
  background: #3d5a3c0a;
  border: 1px solid #3d5a3c26;
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s;
}

.trio-story-link[data-astro-cid-aj6eyfx2]:hover {
  background: #3d5a3c14;
  border-color: #3d5a3c4d;
}

.trio-story-eyebrow[data-astro-cid-aj6eyfx2] {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3d5a3c;
  margin-bottom: .2rem;
  font-weight: 600;
}

.trio-story-title[data-astro-cid-aj6eyfx2] {
  font-family: Playfair Display, serif;
  font-size: .85rem;
  font-weight: 700;
  color: #2e2a22;
}

@media (width <= 1024px) {
  .trio-grid[data-astro-cid-aj6eyfx2] {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
.giants-half[data-astro-cid-vdfykzzo] {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.g-header[data-astro-cid-vdfykzzo] {
  text-align: center;
  margin-bottom: 1.6rem;
  width: 100%;
}

.g-eyebrow[data-astro-cid-vdfykzzo] {
  font-style: italic;
  color: #a8b89c;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .7rem;
  margin-bottom: .5rem;
}

.g-title[data-astro-cid-vdfykzzo] {
  font-family: Playfair Display, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 900;
  color: #f4ede0;
  letter-spacing: -.3px;
}

.giants-row[data-astro-cid-vdfykzzo] {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  padding-right: 3rem;
}

.giant-tile[data-astro-cid-vdfykzzo] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.giant-tile[data-astro-cid-vdfykzzo]:hover {
  transform: translateY(-6px);
}

.giant-portrait[data-astro-cid-vdfykzzo] {
  width: 150px;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #f4ede059;
  box-shadow: 0 12px 32px #00000080;
  background: #2a2018;
}

.giant-portrait[data-astro-cid-vdfykzzo] img[data-astro-cid-vdfykzzo] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (width <= 640px) {
  .giants-half[data-astro-cid-vdfykzzo] {
    padding: 1.2rem .6rem;
    align-items: center;
  }

  .giants-row[data-astro-cid-vdfykzzo] {
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 1.5rem;
    padding-bottom: .4rem;
    scrollbar-width: none;
  }

  .giants-row[data-astro-cid-vdfykzzo]::-webkit-scrollbar {
    display: none;
  }

  .giants-row[data-astro-cid-vdfykzzo]::-webkit-scrollbar {
    display: none;
  }

  .giant-tile[data-astro-cid-vdfykzzo] {
    flex: none;
    scroll-snap-align: start;
  }

  .giant-portrait[data-astro-cid-vdfykzzo] {
    width: 102px;
    height: 138px;
    border-width: 1.5px;
  }

  .giant-name[data-astro-cid-vdfykzzo] {
    font-size: .75rem;
    max-width: 92px;
  }

  .giant-years[data-astro-cid-vdfykzzo] {
    font-size: .62rem;
  }
}

@media (width <= 380px) {
  .giant-portrait[data-astro-cid-vdfykzzo] {
    width: 92px;
    height: 124px;
  }

  .giants-row[data-astro-cid-vdfykzzo] {
    gap: .6rem;
    padding: 0 .8rem;
  }
}

.giant-name[data-astro-cid-vdfykzzo] {
  font-family: Playfair Display, serif;
  font-size: .85rem;
  font-weight: 700;
  color: #f4ede0;
  max-width: 102px;
  text-align: center;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.giant-years[data-astro-cid-vdfykzzo] {
  font-size: .72rem;
  color: #a8b89c;
  letter-spacing: 1px;
}

@media (width >= 641px) {
  .giants-half[data-astro-cid-vdfykzzo] .giants-row[data-astro-cid-vdfykzzo] {
    justify-content: flex-end;
    align-items: flex-start;
    padding-right: 3rem;
  }
}

.giant-modal[data-astro-cid-vdfykzzo] {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0a100cb8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.giant-modal[data-astro-cid-vdfykzzo][hidden] {
  display: none;
}

.giant-modal-card[data-astro-cid-vdfykzzo] {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  background: #f7f0dd;
  color: #2e2a22;
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px #00000080;
}

.giant-modal-close[data-astro-cid-vdfykzzo] {
  position: absolute;
  top: .7rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #8a7d65;
  line-height: 1;
}

.gm-name[data-astro-cid-vdfykzzo] {
  font-family: Playfair Display, serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #232e26;
}

.gm-years[data-astro-cid-vdfykzzo] {
  font-size: .8rem;
  color: #8a7d65;
  letter-spacing: 1px;
  margin: .4rem 0 1rem;
}

.gm-bio[data-astro-cid-vdfykzzo] {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.gm-label[data-astro-cid-vdfykzzo] {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3d5a3c;
  font-weight: 600;
  margin: 1rem 0 .3rem;
}

.gm-opus[data-astro-cid-vdfykzzo] {
  font-family: Playfair Display, serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.gm-active[data-astro-cid-vdfykzzo], .gm-books[data-astro-cid-vdfykzzo], .gm-fact[data-astro-cid-vdfykzzo] {
  font-size: .92rem;
  line-height: 1.6;
}

.gm-grid[data-astro-cid-vdfykzzo] {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.gm-line[data-astro-cid-vdfykzzo] {
  margin-top: 1.4rem;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid #3d5a3c;
  background: #3d5a3c12;
  font-family: Playfair Display, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #2e2a22;
}
body {
        overflow-x: hidden;
    }
    .stories, .story-grid, .altar, .reading-room, .stats, .quote-interlude {
    max-width: 100vw;
    overflow-x: hidden;
    }
    /* === HERO — living window === */
    .hero {
        position: relative;
        width: 100%;
        min-height: 600px;
        margin-top: 1rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

    .hero-slide::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(20, 30, 22, 0.5), rgba(20, 30, 22, 0.64));
    }

    .hero-slide.active {
        opacity: 1;
    }

    @keyframes heroZoom {
        from { transform: scale(1); }
        to { transform: scale(1.08); }
    }

    .hero-overlay {
        position: relative;
        z-index: 2;
        max-width: 760px;
        padding: 4rem 2rem;
        text-align: center;
        color: #fdf6e3;
    }

    .eyebrow {
        font-style: italic;
        color: #ede4d3;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 0.78rem;
        margin-bottom: 1.8rem;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    }

    .rotating-headline {
        position: relative;
        font-family: 'Playfair Display', serif;
        font-size: clamp(2.4rem, 5.5vw, 4.2rem);
        font-weight: 900;
        line-height: 1.08;
        letter-spacing: -1.2px;
        margin-bottom: 1.6rem;
        min-height: 2.4em;
        text-wrap: balance;
    }

    .rotating-headline .line {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    }

    .rotating-headline .line.active {
        opacity: 1;
        transform: translateY(0);
    }

    .subtitle {
        font-size: 1.18rem;
        line-height: 1.7;
        color: #ede4d3;
        max-width: 580px;
        margin: 0 auto 2.2rem;
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    }

    .hero-cta {
        display: inline-block;
        padding: 0.85rem 2rem;
        background: rgba(244, 237, 224, 0.95);
        color: #2e2a22;
        text-decoration: none;
        font-family: 'Playfair Display', serif;
        font-size: 1rem;
        letter-spacing: 0.5px;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .hero-cta:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    /* Scroll cue — bouncing chevron */
    .scroll-cue {
        position: absolute;
        bottom: 1.8rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        width: 28px;
        height: 44px;
        border: 2px solid rgba(253, 246, 227, 0.6);
        border-radius: 14px;
        display: flex;
        justify-content: center;
        padding-top: 7px;
    }

    .scroll-cue span {
        width: 4px;
        height: 8px;
        background: #fdf6e3;
        border-radius: 2px;
        animation: scrollDot 1.8s ease-in-out infinite;
    }

    @keyframes scrollDot {
        0% { opacity: 0; transform: translateY(0); }
        40% { opacity: 1; }
        80% { opacity: 0; transform: translateY(12px); }
        100% { opacity: 0; }
    }

    /* === MARQUEE — whispering ticker (transparent — no beige bar) === */
    .marquee {
    width: 100%;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 0.9rem 0;
    }

    .marquee-track {
        display: flex;
        gap: 3rem;
        white-space: nowrap;
        animation: marqueeScroll 38s linear infinite;
        width: max-content;
    }

    .marquee:hover .marquee-track {
        animation-play-state: paused;
    }

    .marquee-track span {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
    }

    @keyframes marqueeScroll {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }

       /* === SECTION EYEBROW (shared) === */
    .section-eyebrow {
        font-style: italic;
        color: #f4ede0;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 0.72rem;
        margin-bottom: 0.6rem;
    }
    .section-eyebrow.center { text-align: center; }
    .moods .section-eyebrow { color: #a8b89c; }

    .stories-header .section-eyebrow {
        color: rgba(255, 255, 255, 0.85);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }
    
        /* === SCROLL REVEAL === */
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* === FEATURED SHELF === */
    .stories {
        max-width: 1100px;
        margin: 0 auto;
        padding: 5rem 2rem 0rem;
    }

    .stories-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 2.5rem;
        padding-bottom: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    }

        .section-divider {
        max-width: 1100px;
        margin: 3rem auto;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .stories h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
        letter-spacing: -0.3px;
    }

    .stories-count {
        font-style: italic;
        color: rgba(255, 255, 255, 0.8);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
        font-size: 0.9rem;
    }

        .stories-header-right {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
        .collections-pill {
        display: inline-block;
        padding: 0.55rem 1.25rem;
        background: #232e26;
        color: #f4ede0;
        text-decoration: none;
        font-family: 'Playfair Display', serif;
        font-size: 0.85rem;
        font-weight: 700;
        border-radius: 999px;
        border: 1px solid rgba(200, 184, 144, 0.65);
        transition: all 0.2s ease;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }

    .collections-pill:hover {
        background: #3d5a3c;
        border-color: #c8b890;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    }

    /* Feature card — the star attraction */
    .feature-card {
        display: block;
        position: relative;
        padding: 3rem 2.8rem;
        margin-bottom: 2rem;
        background: linear-gradient(135deg, #faf5ea 0%, #efe6d2 100%);
        border: 1px solid #ddd2bb;
        border-left: 4px solid #3d5a3c;
        text-decoration: none;
        color: inherit;
        transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        overflow: hidden;
        box-shadow: 0 2px 14px rgba(46, 42, 34, 0.07);
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(139, 38, 53, 0.12);
    }

    .feature-badge {
        display: inline-block;
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: 0.85rem;
        color: #3d5a3c;
        margin-bottom: 1.2rem;
        margin-right: 1rem;
        letter-spacing: 0.5px;
    }

    .feature-card .genre {
        display: block;
        margin-top: 0.4rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        font-weight: 900;
        line-height: 1.15;
        letter-spacing: -0.5px;
        color: #2e2a22;
        margin-bottom: 1.2rem;
        text-wrap: balance;
    }

    .feature-excerpt {
        font-size: 1.15rem;
        font-style: italic;
        line-height: 1.7;
        color: #3a4a38;
        max-width: 640px;
        margin-bottom: 1.8rem;
    }

    .feature-card .meta {
        flex-direction: row;
        gap: 0.6rem;
    }

    /* === STORY COVERS === */
    .feature-cover {
        margin: -3rem -2.8rem 2rem;
        overflow: hidden;
    }

    .feature-cover img {
        width: 100%;
        height: auto;
        display: block;
    }

    .card-cover {
        margin: -1.6rem -1.3rem 1.4rem;
        overflow: hidden;
    }

   .card-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
    }

    .story-card:hover .card-cover img {
        transform: scale(1.05);
    }

    /* Story tiles — titles and excerpts now visible but clamped so long sentences don't leak */
    .story-card .genre { display: inline-block; }
    .story-card h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
        text-wrap: balance;
    }
    .story-card .excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .story-card .meta { margin-top: 1rem; }

    /* Supporting grid — four cards */
    .story-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.4rem;
    }

    .story-card {
        display: flex;
        flex-direction: column;
        padding: 1.6rem 1.3rem;
        min-width: 0;
        background: #faf5ea;
        border: 1px solid #ddd2bb;
        border-top: 3px solid transparent;
        text-decoration: none;
        color: inherit;
        transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 14px rgba(46, 42, 34, 0.07);
    }

    .story-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(61, 90, 60, 0.12);
        background: #fdfaf2;
    }

    .genre-literary-fiction { border-top-color: #3d5a3c; }
    .genre-flash-fiction { border-top-color: #a85a32; }
    .genre-novella { border-top-color: #5a7052; }
    .genre-speculative-fiction { border-top-color: #4a6b6b; }
    .genre-memoir { border-top-color: #8a6d3b; }

    .feature-card.genre-literary-fiction { border-left-color: #3d5a3c; }
    .feature-card.genre-flash-fiction { border-left-color: #a85a32; }
    .feature-card.genre-novella { border-left-color: #5a7052; }
    .feature-card.genre-speculative-fiction { border-left-color: #4a6b6b; }
    .feature-card.genre-memoir { border-left-color: #8a6d3b; }

    .genre {
        display: inline-block;
        font-size: 0.62rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #3d5a3c;
        margin-bottom: 0.9rem;
        font-weight: 500;
    }

    /* Genre and byline share one line. The old meta block (byline, word count,
       read time, readers) made every card a column of small print and ran the
       tiles far too tall on phones; the shelf now ends under the excerpt. */
    .card-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.3rem 0.9rem;
        flex-wrap: wrap;
        margin-bottom: 0.85rem;
    }
    .card-head .genre { margin-bottom: 0; }
    .card-by {
        font-family: 'Lora', Georgia, serif;
        font-style: italic;
        font-size: 0.72rem;
        letter-spacing: 0.2px;
        color: #7a6d58;
        white-space: nowrap;
    }

    .story-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.25;
        color: #2e2a22;
        letter-spacing: -0.2px;
        text-wrap: balance;
    }

   .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5a5242;
    }

    .meta {
        font-size: 0.72rem;
        color: #6b5e4a;
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        padding-top: 0.9rem;
        border-top: 1px solid #e8dfca;
        letter-spacing: 0.3px;
    }

    .meta .dot { display: none; }

    /* === MOOD TILES === */
    .moods {
        position: relative;
        z-index: 1;
        background: #232e26;
        border-top: 1px solid #1a241c;
        border-bottom: 1px solid #1a241c;
        padding: 5rem 2rem;
    }

    .moods-inner {
        max-width: 1100px;
        margin: 0 auto;
    }

    .moods-title {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 3rem;
        letter-spacing: -0.3px;
        color: #f4ede0;
    }

    .mood-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }

    .mood-tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1rem;
        background: #f4ede0;
       border: 1px solid #ddd2bb;
        border-radius: 4px;
        text-decoration: none;
        color: inherit;
        transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .mood-tile:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 16px 36px rgba(61, 90, 60, 0.16);
        border-color: #3d5a3c;
    }

    .mood-emoji {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        transition: transform 0.35s;
    }

    .mood-tile:hover .mood-emoji { transform: scale(1.2) rotate(-5deg); }

    .mood-name {
        font-family: 'Playfair Display', serif;
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
        color: #2e2a22;
    }

    .mood-teaser {
        font-style: italic;
        font-size: 0.78rem;
        color: #8a7d65;
        opacity: 0;
        transform: translateY(4px);
        transition: all 0.3s;
    }

    .mood-tile:hover .mood-teaser {
        opacity: 1;
        transform: translateY(0);
    }

    /* === QUOTE INTERLUDE === */
    .quote-interlude {
        max-width: 760px;
        margin: 0 auto;
        padding: 6rem 2rem;
        text-align: center;
    }

    .quote-interlude blockquote p {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        line-height: 1.4;
        color: #ffffff;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
        letter-spacing: -0.3px;
        text-wrap: balance;
        margin-bottom: 1.5rem;
        transition: opacity 0.6s ease;
    }

    .quote-interlude cite {
        font-style: normal;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.75);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: opacity 0.6s ease;
    }

        @media (max-width: 1024px) {
        /* TABLET. The hero was still 600px here, which on an iPad in portrait
           (768x1024) is more than half the screen before a single word of the
           page. Sized to the viewport like the phone one, with a ceiling so it
           does not run away in landscape. */
        .hero { min-height: 0; height: 56vh; min-height: 300px; max-height: 460px; margin-top: 0.75rem; }
        .hero-overlay { padding: 2rem 1.6rem 3rem; }
        /* This rule was written with a literal "..." where the second track
           should be, which is not valid CSS, so the browser threw the whole
           declaration away and tablets kept the three-column desktop grid. */
        .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .mood-grid { grid-template-columns: repeat(3, 1fr); }
        .stories { padding: 2rem 1rem; }
        .story-card { padding: 1rem 0.8rem; }
        .card-cover { margin: -1rem -0.8rem 1rem; }
        .card-cover img { height: 230px; object-fit: cover; object-position: top; }
        .poetry-section .card-cover img { height: 230px; object-fit: cover; object-position: top; }
        .poem-text-cover { height: 150px; margin: -1rem -0.8rem 1rem; }
        .card-cover-empty { height: 150px; margin: -1rem -0.8rem 1rem; }
    }

    @media (max-width: 640px) {
        /* Sized to the viewport, not a fixed 520px. A fixed hero plus the
           three-row mobile header took more than a full screen on a 667px
           phone, so the page opened with nothing but header and empty hero. */
        .hero { min-height: 0; height: 62vh; min-height: 340px; max-height: 520px; }
        .hero-overlay { padding: 1.4rem 1.2rem 2.6rem; }
        .scroll-cue { bottom: 0.6rem; }
        .hero-cta { margin-bottom: 0.4rem; }
        .stories { padding: 2rem 1rem 2rem; }
        .stories-header { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
        .feature-card { padding: 1.6rem 1.2rem; }
        /* PIC2/3/5: phone tiles smaller but whole cover visible (height:auto).
           This line also carried a literal "..." which made the declaration
           invalid, so phones never got the two-column grid either. */
        .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .poetry-section .card-cover img { height: 160px; object-fit: cover; object-position: top; }
        .poem-text-cover { height: 130px; margin: -0.7rem -0.5rem 0.7rem; }
        .card-cover-empty { height: 130px; margin: -0.7rem -0.5rem 0.7rem; }
        .story-card { padding: 0.7rem 0.5rem; }
        .card-cover { margin: -0.7rem -0.5rem 0.7rem; }
        .card-cover img { width: 100%; height: 160px; object-fit: cover; object-position: top; }
        .moods { padding: 3.5rem 1.3rem; }
        .mood-grid { grid-template-columns: repeat(2, 1fr); }
        .mood-teaser { opacity: 1; transform: none; }
        .quote-interlude { padding: 4rem 1.3rem; }
        .meta { flex-direction: row; flex-wrap: wrap; gap: 0.3rem 0.5rem; }
        .meta span:nth-child(even) { display: inline; }
    }

        /* === STATS — quiet credibility === */
    .stats {
        padding: 3rem 2rem 4rem;
    }

    .stats-inner {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stat-number {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        font-weight: 900;
        color: #ffffff;
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
        line-height: 1;
        letter-spacing: -1px;
    }

    .stat-infinity { font-size: clamp(3rem, 6vw, 4rem); }

    .stat-label {
        font-style: italic;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.8);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-top: 0.7rem;
    }

    .stat-divider {
        width: 1px;
        height: 50px;
        background: rgba(255, 255, 255, 0.35);
    }

    /* === WRITER'S DESK NOTE === */
    .desk-note {
        max-width: 760px;
        margin: 0 auto;
        padding: 2rem 2rem 5rem;
    }

    .desk-inner {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
        padding: 2.5rem;
        background: #faf5ea;
        border: 1px solid #ddd2bb;
        border-radius: 4px;
        position: relative;
    }

    .desk-inner::before {
        content: '"';
        position: absolute;
        top: -0.3rem;
        left: 1.5rem;
        font-family: 'Playfair Display', serif;
        font-size: 5rem;
        color: #3d5a3c;
        opacity: 0.15;
        line-height: 1;
    }

    .desk-avatar {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #3d5a3c, #5a7052);
        color: #f4ede0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Playfair Display', serif;
        font-weight: 900;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .desk-content { flex: 1; }

    .desk-message {
        font-size: 1.08rem;
        line-height: 1.75;
        color: #3a4a38;
        margin: 0.5rem 0 1.2rem;
        font-style: italic;
    }

    .desk-signature {
        font-family: 'Playfair Display', serif;
        font-size: 1.1rem;
        color: #3d5a3c;
        font-weight: 700;
    }

    @media (max-width: 640px) {
        .stats-inner { gap: 1.5rem; }
        .stat-divider { height: 36px; }
        .stat-label { font-size: 0.7rem; }
        .desk-inner { flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; }
        .desk-message { font-size: 1rem; }
    }
    
    /* === THE GREEN ALTAR — split panel === */
    .altar {
        position: relative;
        z-index: 1;
        background: #232e26;
        border-top: 1px solid #1a241c;
        border-bottom: 1px solid #1a241c;
        padding: 3.5rem 2rem;
    }

    .altar-inner {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        align-items: stretch;
        gap: 0;
    }

    .altar-divider {
        width: 1px;
        background: rgba(244, 237, 224, 0.18);
        margin: 0 1rem;
    }

    @media (max-width: 768px) {
    .altar-inner { flex-direction: column; gap: 3rem; align-items: center; }
    .altar-divider { width: 60%; height: 1px; margin: 0 auto; }
    .giants-half { padding: 0 1rem; width: 100%; display: flex; justify-content: center; }
}

    .author-link {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }
        .author-link:hover {
        color: #3d5a3c;
        text-decoration: underline;
    }

        /* Rotating shelf panel */
    .shelf-panel { flex: 1; min-width: 0; }
    .shelf-kicker {
        font-style: italic; color: #a8b89c; letter-spacing: 2px; text-transform: uppercase;
        font-size: 0.72rem; margin-bottom: 0.5rem;
    }
    .shelf-title {
        font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700;
        color: #f4ede0; margin-bottom: 1.5rem;
    }
        .shelf-books { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
    .shelf-book { display: flex; flex-direction: column; width: 110px; text-decoration: none; transition: transform 0.3s; }
    .shelf-book:hover { transform: translateY(-6px); }
    .shelf-book img {
        width: 110px; height: 160px; object-fit: cover; object-position: top;
        border-radius: 4px; border: 1px solid rgba(244, 237, 224, 0.2);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); display: block;
    }
    .shelf-book-empty {
        width: 110px; height: 160px; background: #efe7d6; color: #8a7d65; font-style: italic;
        font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
        text-align: center; padding: 0.5rem; border-radius: 4px;
    }
    .shelf-book-title {
        font-family: 'Playfair Display', serif; font-size: 0.8rem; font-weight: 700;
        color: #f4ede0; margin-top: 0.5rem; line-height: 1.3;
    }
    .shelf-book-author { font-size: 0.7rem; font-style: italic; color: #8a9478; }

    /* === POETRY SECTION === */
    .poetry-section {
        margin-top: 0rem;
    }
    .poetry-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin-bottom: 3rem;
    }
    .genre-poetry {
        border-top-color: #4a6b6b;
    }
    .poem-text-cover {
        background: #faf5ea;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.2rem 1rem;
        height: 220px;
        margin: -1.6rem -1.3rem 1.4rem;
        overflow: hidden;
    }
    .poetry-section .card-cover img {
        height: 220px;
        object-fit: cover;
    }
    .poem-preview {
        font-family: 'Playfair Display', serif;
        font-size: 0.85rem;
        font-style: italic;
        color: #3a4a38;
        line-height: 1.6;
        text-align: center;
        margin: 0;
    }
    .card-cover-empty {
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #efe7d6;
        color: #8a7d65;
        font-style: italic;
        font-size: 1.2rem;
        margin: -1.6rem -1.3rem 1.4rem;
    }
        /* === THE READING ROOM — community split panel === */
    .reading-room {
        max-width: 1100px;
        margin: 0 auto;
        padding: 5rem 2rem;
    }
    .room-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    .room-title {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
        letter-spacing: -0.3px;
    }
    .room-split {
        display: flex;
        gap: 0;
        align-items: stretch;
    }
    .room-half {
        flex: 1;
        min-width: 0;
        padding: 2rem;
        background: rgba(250, 245, 234, 0.95);
        border: 1px solid #ddd2bb;
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        max-height: 520px;
    }
    .room-divider {
        width: 1px;
        background: rgba(255, 255, 255, 0.3);
        margin: 0 1.5rem;
    }
    .room-half-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        font-weight: 700;
        color: #2e2a22;
        margin-bottom: 0.5rem;
    }
    .room-half-sub {
        font-size: 0.85rem;
        font-style: italic;
        color: #8a7d65;
        margin-bottom: 1.5rem;
    }

    .reading-room .whispers-list {
        max-height: 320px;
        overflow-y: auto;
        margin-bottom: 1.5rem;
        padding-right: 0.5rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(61, 90, 60, 0.3) rgba(0, 0, 0, 0.05);
    }
    .reading-room .whispers-list::-webkit-scrollbar {
        width: 6px;
    }
    .reading-room .whispers-list::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 3px;
    }
    .reading-room .whispers-list::-webkit-scrollbar-thumb {
        background: rgba(61, 90, 60, 0.3);
        border-radius: 3px;
    }

    .reading-room .notes-list,
    .reading-room .whispers-list {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        margin-bottom: 1.5rem;
        padding-right: 0.5rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(61, 90, 60, 0.3) rgba(0, 0, 0, 0.05);
    }
    .reading-room .notes-list::-webkit-scrollbar {
        width: 6px;
    }
    .reading-room .notes-list::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 3px;
    }
    .reading-room .notes-list::-webkit-scrollbar-thumb {
        background: rgba(61, 90, 60, 0.3);
        border-radius: 3px;
    }
    .notes-list::-webkit-scrollbar {
        width: 6px;
    }
    .notes-list::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 3px;
    }
    .notes-list::-webkit-scrollbar-thumb {
        background: rgba(61, 90, 60, 0.3);
        border-radius: 3px;
    }
    .note-card {
        background: #faf5ea;
        border: 1px solid #e8dfca;
        border-left: 3px solid #3d5a3c;
        border-radius: 4px;
        padding: 1rem 1.2rem;
        margin-bottom: 1rem;
    }
    .note-body {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #3a4a38;
        margin-bottom: 0.6rem;
        font-style: italic;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .note-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.75rem;
        color: #8a7d65;
    }
    .note-author {
        font-weight: 600;
        color: #5a7052;
    }
    .note-time {
        font-style: italic;
    }
    .notes-empty {
        text-align: center;
        font-style: italic;
        color: #8a7d65;
        padding: 2rem;
    }
    .note-form {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
        .note-input {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd2bb;
        border-radius: 4px;
        background: #fff;
        font-family: inherit;
        font-size: 0.9rem;
        resize: none;
        height: 120px;
        color: #2e2a22;
    }
    .note-input:focus {
        outline: none;
        border-color: #3d5a3c;
    }
    .note-submit {
        align-self: flex-end;
        padding: 0.6rem 1.4rem;
        background: #3d5a3c;
        color: #f4ede0;
        border: none;
        border-radius: 4px;
        font-family: inherit;
        font-size: 0.85rem;
        cursor: pointer;
        transition: background 0.2s;
    }
    .note-submit:hover {
        background: #2d4530;
    }
    @media (max-width: 768px) {
        .room-split {
            flex-direction: column;
            gap: 2rem;
        }
        .room-divider {
            width: 60%;
            height: 1px;
            margin: 0 auto;
        }
    }
        .note-name-input {
        width: 100%;
        padding: 0.6rem 0.8rem;
        border: 1px solid #ddd2bb;
        border-radius: 4px;
        background: #fff;
        font-family: inherit;
        font-size: 0.85rem;
        color: #2e2a22;
        margin-bottom: 0.5rem;
    }
    .note-name-input:focus {
        outline: none;
        border-color: #3d5a3c;
    }
        /* === Nested replies in Notes === */
    .note-replies {
        margin-top: 0.8rem;
        margin-left: 1.5rem;
        padding-left: 1rem;
        border-left: 2px dashed rgba(61, 90, 60, 0.3);
    }
    .note-card.note-reply {
        margin-bottom: 0.6rem;
        background: rgba(250, 245, 234, 0.6);
        border-left-color: #a8b89c;
    }
    .note-reply-btn {
        background: transparent;
        border: none;
        color: #5a7052;
        font-family: inherit;
        font-size: 0.75rem;
        cursor: pointer;
        padding: 0;
        margin-left: 0.8rem;
    }
    .note-reply-btn:hover { color: #3d5a3c; text-decoration: underline; }
    .note-hint {
        font-size: 0.8rem;
        font-style: italic;
        color: #8a7d65;
        display: block;
        margin-bottom: 0.5rem;
    }
        .note-report-btn {
        background: transparent; border: none; color: #b8a88a; cursor: pointer;
        font-size: 0.85rem; padding: 0; margin-left: 0.6rem; opacity: 0.6; transition: opacity 0.2s;
    }
    .note-report-btn:hover { opacity: 1; color: #a85a32; }
    .report-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
    .report-modal.open { display: flex; }
    .report-backdrop { position: absolute; inset: 0; background: rgba(20, 28, 22, 0.7); backdrop-filter: blur(3px); }
    .report-card { position: relative; background: #faf5ea; color: #2e2a22; padding: 2rem 2.2rem; border-radius: 6px; max-width: 380px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
    .report-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #232e26; margin-bottom: 0.3rem; }
    .report-sub { font-size: 0.85rem; color: #5a5242; font-style: italic; margin-bottom: 1.2rem; }
    .report-select { width: 100%; padding: 0.6rem; border: 1px solid #ddd2bb; border-radius: 4px; background: #fffdf6; font-family: inherit; font-size: 0.9rem; color: #2e2a22; margin-bottom: 1.2rem; }
    .report-actions { display: flex; gap: 0.8rem; justify-content: flex-end; }
    .report-btn { padding: 0.5rem 1.2rem; border-radius: 4px; font-family: 'Playfair Display', serif; font-size: 0.85rem; cursor: pointer; border: none; }
    .report-btn.cancel { background: transparent; color: #5a5242; border: 1px solid #ddd2bb; }
    .report-btn.submit { background: #3d5a3c; color: #f4ede0; }
    .report-btn.submit:hover { background: #4a6b48; }
    .report-msg { margin-top: 0.8rem; font-size: 0.85rem; min-height: 1rem; text-align: center; }

        @media (max-width: 768px) {
        .altar-inner { flex-direction: column; gap: 3rem; align-items: center; }
        .altar-divider { width: 60%; height: 1px; margin: 0 auto; }
        .giants-half { padding: 0 1rem; width: 100%; display: flex; justify-content: center; }
    }