/* =========================================================
   FOLIO & KEY — HOMEPAGE QA V3
   Collection cards polish + typography enlargement
   ========================================================= */

:root {
  --fk-deep-green: #14392F;
  --fk-deep-green-2: #214B3F;
  --fk-muted-green: #4E6A61;

  --fk-ivory-bg: #F6E8CE;
  --fk-ivory-bg-2: #F1E1C4;
  --fk-ivory-text: #183A30;
  --fk-ivory-text-soft: #2B4B41;

  --fk-burgundy-bg: #6B1931;
  --fk-burgundy-bg-2: #7D2140;
  --fk-burgundy-text: #FFF0DF;
  --fk-burgundy-soft: rgba(255, 240, 223, 0.88);

  --fk-gold-soft: #CDAA65;
  --fk-gold-deep: #8C6A34;
}


/* =========================================================
   COLLECTION SECTION — MAIN CARD CLEANUP
   ========================================================= */

.collectible-editions .volume-card,
.collectible-editions .edition-card,
.collectible-editions .tier-card {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: none !important;
}


/* remove unwanted inner edge effects / decorative overlay lines */
.collectible-editions .volume-card::before,
.collectible-editions .volume-card::after,
.collectible-editions .edition-card::before,
.collectible-editions .edition-card::after,
.collectible-editions .tier-card::before,
.collectible-editions .tier-card::after,
.collectible-editions .volume-inner::before,
.collectible-editions .volume-inner::after {
  display: none !important;
  content: none !important;
}


/* remove extra side strip / number rail if it looks awkward */
.collectible-editions .volume-meta,
.collectible-editions .volume-rail,
.collectible-editions .card-rail,
.collectible-editions .tier-rail,
.collectible-editions .edition-rail {
  display: none !important;
}


/* simplify inner frame */
.collectible-editions .volume-inner,
.collectible-editions .edition-inner,
.collectible-editions .tier-inner {
  border: 1px solid rgba(205,170,101,.14) !important;
  box-shadow: none !important;
}


/* =========================================================
   COLLECTION CARD TYPOGRAPHY
   ========================================================= */

.collectible-editions .volume-inner h3,
.collectible-editions .edition-title,
.collectible-editions .tier-title {
  font-size: clamp(42px, 3vw, 60px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.02em;
  margin-bottom: 22px !important;
}


.collectible-editions .volume-inner p,
.collectible-editions .edition-copy,
.collectible-editions .tier-copy,
.collectible-editions .volume-description {
  font-size: clamp(22px, 1.28vw, 27px) !important;
  line-height: 1.75 !important;
  max-width: 30ch;
  margin-inline: auto;
}


.collectible-editions .volume-inner .volume-kicker,
.collectible-editions .volume-inner .volume-label,
.collectible-editions .volume-inner .card-kicker {
  font-size: 20px !important;
  line-height: 1.4 !important;
}


/* bottom small monogram / label line */
.collectible-editions .volume-inner .volume-footer,
.collectible-editions .volume-inner .volume-mark,
.collectible-editions .volume-inner .volume-mini {
  font-size: 18px !important;
}


/* =========================================================
   CARD COLOR BALANCE
   ========================================================= */

/* Dark green card */
.collectible-editions .volume-card.is-emerald,
.collectible-editions .volume-card.one-of-one,
.collectible-editions .edition-card.one-of-one,
.collectible-editions .tier-card.one-of-one {
  color: var(--fk-burgundy-text);
}

.collectible-editions .volume-card.is-emerald .volume-inner h3,
.collectible-editions .volume-card.one-of-one .volume-inner h3,
.collectible-editions .edition-card.one-of-one h3,
.collectible-editions .tier-card.one-of-one h3 {
  color: #F8EBD7 !important;
}

.collectible-editions .volume-card.is-emerald .volume-inner p,
.collectible-editions .volume-card.one-of-one .volume-inner p,
.collectible-editions .edition-card.one-of-one p,
.collectible-editions .tier-card.one-of-one p {
  color: rgba(247, 235, 214, 0.90) !important;
}


/* Burgundy card */
.collectible-editions .volume-card.is-burgundy,
.collectible-editions .volume-card.signature,
.collectible-editions .edition-card.signature,
.collectible-editions .tier-card.signature {
  color: var(--fk-burgundy-text);
}

.collectible-editions .volume-card.is-burgundy .volume-inner h3,
.collectible-editions .volume-card.signature .volume-inner h3,
.collectible-editions .edition-card.signature h3,
.collectible-editions .tier-card.signature h3 {
  color: #FFF2E2 !important;
}

.collectible-editions .volume-card.is-burgundy .volume-inner p,
.collectible-editions .volume-card.signature .volume-inner p,
.collectible-editions .edition-card.signature p,
.collectible-editions .tier-card.signature p {
  color: rgba(255, 240, 223, 0.90) !important;
}


/* Light ivory card — THIS fixes the Gift Edition contrast issue */
.collectible-editions .volume-card.is-ivory,
.collectible-editions .volume-card.gift-edition,
.collectible-editions .edition-card.gift-edition,
.collectible-editions .tier-card.gift-edition {
  color: var(--fk-ivory-text) !important;
}

.collectible-editions .volume-card.is-ivory .volume-inner h3,
.collectible-editions .volume-card.gift-edition .volume-inner h3,
.collectible-editions .edition-card.gift-edition h3,
.collectible-editions .tier-card.gift-edition h3 {
  color: var(--fk-ivory-text) !important;
  -webkit-text-fill-color: var(--fk-ivory-text) !important;
}

.collectible-editions .volume-card.is-ivory .volume-inner p,
.collectible-editions .volume-card.gift-edition .volume-inner p,
.collectible-editions .edition-card.gift-edition p,
.collectible-editions .tier-card.gift-edition p,
.collectible-editions .volume-card.is-ivory .volume-description,
.collectible-editions .volume-card.gift-edition .volume-description {
  color: var(--fk-ivory-text-soft) !important;
  -webkit-text-fill-color: var(--fk-ivory-text-soft) !important;
  opacity: 1 !important;
}

.collectible-editions .volume-card.is-ivory .volume-footer,
.collectible-editions .volume-card.gift-edition .volume-footer,
.collectible-editions .volume-card.is-ivory .volume-mark,
.collectible-editions .volume-card.gift-edition .volume-mark {
  color: var(--fk-gold-deep) !important;
}


/* =========================================================
   AUTHOR WORLD SECTION — LARGER TYPE
   ========================================================= */

.author-worlds .author-copy h2 {
  font-size: clamp(64px, 4.8vw, 94px) !important;
  line-height: 1.28 !important;
}

.author-worlds .author-copy p,
.author-worlds .author-copy .author-lead {
  font-size: clamp(25px, 1.35vw, 31px) !important;
  line-height: 1.82 !important;
}

.author-worlds .author-library-card,
.author-worlds .author-card,
.author-worlds .author-list-card {
  box-shadow: none !important;
}

.author-worlds .author-library-card p,
.author-worlds .author-card p,
.author-worlds .author-list-card p,
.author-worlds .author-card-entry p,
.author-worlds .author-card-entry {
  font-size: clamp(21px, 1.08vw, 25px) !important;
  line-height: 1.8 !important;
}

.author-worlds .author-card-top strong,
.author-worlds .author-card h3 {
  font-size: clamp(24px, 1.2vw, 30px) !important;
}

.author-worlds .author-card-top small,
.author-worlds .author-card-footer,
.author-worlds .author-card-entry > span {
  font-size: 17px !important;
}


/* =========================================================
   SMALL GLOBAL TEXT THAT LOOKS TOO TINY
   ========================================================= */

.story-copy-side p,
.ritual-heading p,
.ritual-step p,
.final-closing p {
  font-size: clamp(21px, 1.12vw, 25px) !important;
  line-height: 1.9 !important;
}


/* =========================================================
   MOBILE COLLECTION FIX
   ========================================================= */

@media (max-width: 900px) {
  .collectible-editions .volume-inner h3,
  .collectible-editions .edition-title,
  .collectible-editions .tier-title {
    font-size: clamp(36px, 7vw, 52px) !important;
  }

  .collectible-editions .volume-inner p,
  .collectible-editions .edition-copy,
  .collectible-editions .tier-copy,
  .collectible-editions .volume-description {
    font-size: clamp(19px, 3.4vw, 24px) !important;
    line-height: 1.72 !important;
  }

  .author-worlds .author-copy h2 {
    font-size: clamp(46px, 8vw, 64px) !important;
    line-height: 1.35 !important;
  }

  .author-worlds .author-copy p,
  .author-worlds .author-copy .author-lead {
    font-size: clamp(20px, 3.4vw, 24px) !important;
    line-height: 1.85 !important;
  }

  .author-worlds .author-library-card p,
  .author-worlds .author-card p,
  .author-worlds .author-list-card p,
  .author-worlds .author-card-entry {
    font-size: clamp(18px, 3vw, 22px) !important;
  }
}


@media (max-width: 640px) {

  .collectible-editions .volume-card,
  .collectible-editions .edition-card,
  .collectible-editions .tier-card {
    border-radius: 18px !important;
  }

  .collectible-editions .volume-inner,
  .collectible-editions .edition-inner,
  .collectible-editions .tier-inner {
    padding-bottom: 30px !important;
  }

  .collectible-editions .volume-inner h3,
  .collectible-editions .edition-title,
  .collectible-editions .tier-title {
    font-size: clamp(34px, 9vw, 46px) !important;
    margin-bottom: 18px !important;
  }

  .collectible-editions .volume-inner p,
  .collectible-editions .edition-copy,
  .collectible-editions .tier-copy,
  .collectible-editions .volume-description {
    font-size: clamp(18px, 4.1vw, 22px) !important;
    line-height: 1.72 !important;
    max-width: 100%;
  }

  .author-worlds .author-copy h2 {
    font-size: clamp(40px, 9vw, 54px) !important;
  }

  .author-worlds .author-copy p,
  .author-worlds .author-copy .author-lead {
    font-size: clamp(18px, 4vw, 22px) !important;
  }

  .author-worlds .author-library-card p,
  .author-worlds .author-card p,
  .author-worlds .author-list-card p,
  .author-worlds .author-card-entry {
    font-size: clamp(17px, 3.8vw, 21px) !important;
    line-height: 1.72 !important;
  }
}
