/* ==========================================================================
   Readvana — E-book library & online reader template
   Design language: "library bookshelf" — cream paper, deep teal, amber,
   terracotta and plum; photos framed as books; square-cornered UI.
   ========================================================================== */

:root {
  /* Three colour families: deep teal, warm cream, muted gold. */
  --ink: #123b3b;
  --ink-2: #244a48;
  --text: #526762;
  --cream: #faf6ed;
  --cream-2: #f0e9da;
  --paper: #ffffff;
  --line: #e2ddcf;
  --teal: #175c59;
  --teal-2: #175c59;
  --teal-tint: #e8efea;
  --amber: #c99b4b;
  --amber-2: #b48637;
  --amber-tint: #f3ead7;
  --terra: var(--teal);
  --terra-tint: var(--teal-tint);
  --plum: var(--teal);
  --plum-tint: var(--teal-tint);
  --wood: var(--amber);
  --wood-2: var(--amber-2);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 3px 10px rgba(13, 43, 51, .07);
  --shadow-md: 0 16px 34px -16px rgba(13, 43, 51, .28);
  --shadow-lg: 0 30px 60px -26px rgba(13, 43, 51, .4);

  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.01em;
}
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terra); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.container { max-width: 1240px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-xs); }
.skip-link:focus { top: 1rem; color: #fff; }

/* Italic serif accent word */
.em { font-style: italic; font-weight: 500; color: var(--terra); }
.em.teal { color: var(--teal-2); }
.em.amber { color: var(--amber); }

/* Eyebrow: small caps text with a short amber rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--amber); }
.eyebrow.light { color: var(--amber); }
.eyebrow.light::before { background: #fff; }

/* Buttons ---------------------------------------------------------------- */
.rv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .97rem; line-height: 1;
  border: 2px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.rv-btn i { font-size: .85em; transition: transform .25s var(--ease); }
.rv-btn:hover i {}
.rv-btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 22px -10px rgba(14, 107, 107, .7); }
.rv-btn-teal:hover { background: var(--ink); color: #fff; }
.rv-btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(232, 143, 29, .75); }
.rv-btn-amber:hover { background: var(--amber-2); color: var(--ink); }
.rv-btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.rv-btn-line:hover { background: var(--ink); color: #fff; }
.rv-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.rv-btn-ghost:hover { background: #fff; color: var(--ink); }
.rv-btn-sm { padding: .72rem 1.15rem; font-size: .9rem; }
.rv-btn-block { width: 100%; }

/* Sections --------------------------------------------------------------- */
.rv-section { padding: 80px 0; position: relative; }
.rv-cream2 { background: var(--cream-2); }
.rv-head { max-width: 700px; margin: 0 auto 3.4rem; }
.rv-head.start { margin-left: 0; }
.rv-title { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.1rem); margin-bottom: 1rem; }
.rv-lead { font-size: 1.1rem; margin: 0; }

/* Icon squares ----------------------------------------------------------- */
.rv-ico {
  flex: none; width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  color: var(--terra); background: var(--terra-tint);
}
.rv-ico.teal { color: var(--teal); background: var(--teal-tint); }
.rv-ico.amber { color: var(--amber-2); background: var(--amber-tint); }
.rv-ico.plum { color: var(--plum); background: var(--plum-tint); }

/* Book frame: a photo framed as a hardback (coloured spine on the left) */
.book {
  position: relative;
  border-radius: 4px var(--r-md) var(--r-md) 4px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.book::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  width: 16px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .12) 55%, rgba(0, 0, 0, .18));
  border-right: 3px solid var(--spine, var(--amber));
}
.book img { width: 100%; height: 100%; object-fit: cover; }
.book.teal { --spine: var(--teal-2); }
.book.terra { --spine: var(--terra); }
.book.plum { --spine: var(--plum); }

/* ==========================================================================
   Header (full-width bar)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(13, 43, 51, .25); }
.rv-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { width: auto; height: 54px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; color: var(--ink); }
.brand-name span { color: var(--amber-2); font-style: italic; }
.brand:hover .brand-name { color: var(--ink); }

.main-nav { display: flex; gap: 2.1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block;
  padding: 30px 0;
  font-weight: 700; font-size: .96rem; line-height: 1;
  color: var(--ink);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; border-radius: 4px 4px 0 0;
  background: var(--amber);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--teal); }
.main-nav a:hover::after, .main-nav a.active::after {}
.main-nav a.active { color: var(--teal); }

.nav-toggle { width: 46px; height: 46px; border-radius: var(--r-sm); border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; }
.nav-toggle .bars { display: grid; gap: 5px; }
.nav-toggle .bars span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

.rv-offcanvas { background: var(--cream); width: min(360px, 88vw) !important; }
.rv-offcanvas .offcanvas-header { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.rv-offcanvas .offcanvas-body { padding: 1.5rem; }
.rv-offcanvas .mobile-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.rv-offcanvas .mobile-links a.active { color: var(--teal); }
.rv-offcanvas .mobile-links a i { color: var(--amber-2); font-size: .9rem; }

/* ==========================================================================
   Home hero — books on a shelf
   ========================================================================== */
.rv-hero {
  position: relative;
  padding: 80px 0 0;
  background:
    radial-gradient(rgba(13, 43, 51, .06) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.rv-hero::after { /* soft amber sun behind the shelf */
  content: ""; position: absolute; right: 6%; top: 10%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 163, 58, .28), transparent 66%);
  pointer-events: none;
}
.rv-hero .container { position: relative; z-index: 1; }
.rv-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.5rem); line-height: 1.04; margin-bottom: 1.4rem; }
.rv-hero .lead { font-size: 1.15rem; max-width: 520px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.shelf-scene .book:hover {}
.shelf-scene .b3:hover {}

/* ==========================================================================
   How it works — dark teal band, outlined numerals, round photos
   ========================================================================== */
.rv-steps { background: var(--ink); color: rgba(255, 255, 255, .78); overflow: hidden; }
.rv-steps::before {
  content: ""; position: absolute; inset: 0;
  background-image: none;
  pointer-events: none;
}
.rv-steps .rv-title { color: #fff; }
.rv-steps .container { position: relative; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  display: block; margin-bottom: -46px;
  font-family: var(--font-head); font-weight: 700; font-size: 120px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(242, 163, 58, .7);
}
.step:hover .step-photo img {}
.step.teal { --ring: var(--teal-2); }
.step.plum { --ring: #c99b4b; }
.step h3 { color: #fff; font-size: 1.6rem; margin-bottom: .5rem; }
.step p { margin: 0 auto; max-width: 300px; }

/* ==========================================================================
   Feature split — framed photo + 2x2 feature tiles
   ========================================================================== */
.offset-frame { position: relative; padding: 0 26px 26px 0; }
.offset-frame::before {
  content: ""; position: absolute; right: 0; bottom: 0; left: 26px; top: 26px;
  border: 3px solid var(--amber); border-radius: var(--r-lg);
}
.offset-frame .ph { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.offset-frame .ph img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.offset-frame.teal::before { border-color: var(--teal-2); }
.offset-frame.left { padding: 0 0 26px 26px; }
.offset-frame.left::before { left: 0; right: 26px; }

.tile {
  height: 100%;
  padding: 26px 24px;
  background: var(--paper);
  border-radius: var(--r-md);
  border-top: 4px solid var(--c, var(--terra));
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover {  box-shadow: var(--shadow-md); }
.tile .rv-ico { margin-bottom: 1rem; }
.tile h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.tile p { margin: 0; font-size: .97rem; }
.tile.teal { --c: var(--teal-2); }
.tile.amber { --c: var(--amber); }
.tile.plum { --c: var(--plum); }

/* ==========================================================================
   Genres — a real bookshelf of spines
   ========================================================================== */
.spine:hover {}

/* ==========================================================================
   Reading band — full-width amber with edge-bleeding photo
   ========================================================================== */
.rv-band { position: relative; background: var(--amber); overflow: hidden; }
.rv-band::after {
  content: ""; position: absolute; right: -120px; bottom: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .18);
  pointer-events: none;
}
.band-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; }
.band-photo::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 10px; background: var(--ink); }
.band-copy { position: relative; z-index: 1; padding: 80px 0; color: var(--ink-2); }
.band-copy .rv-title { color: var(--ink); }
.band-copy .em { color: #fff; }
.band-copy .eyebrow { color: var(--ink); }
.band-copy .eyebrow::before { background: #fff; }
.num-list { list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: n; }
.num-list li {
  position: relative; counter-increment: n;
  padding: .85rem 0 .85rem 3.6rem;
  border-bottom: 1px solid rgba(13, 43, 51, .14);
  font-weight: 600; color: var(--ink);
}
.num-list li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: .95rem; color: #fff; background: var(--ink);
}

/* ==========================================================================
   Pricing — cards with a coloured header band
   ========================================================================== */
.plan {
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover {  box-shadow: var(--shadow-lg); }
.plan-band {
  position: relative;
  padding: 30px 30px 26px;
  color: #fff;
  background: var(--pb, linear-gradient(135deg, #5f7480, #3f525c));
}
.plan-band::after { /* bookmark ribbon */
  content: ""; position: absolute; right: 28px; top: 0;
  width: 26px; height: 42px;
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
}
.plan.gold { --pb: linear-gradient(135deg, #175c59, #123b3b); }
.plan.bronze { --pb: linear-gradient(135deg, #175c59, #123b3b); }
.plan.gold .plan-band::after { background: #fff; }
.plan-name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; color: #fff; margin: 0 0 .15rem; }
.plan-band small { font-size: .9rem; opacity: .85; }
.plan-price { display: flex; align-items: baseline; gap: .45rem; margin-top: 1.1rem; }
.plan-price .cur { font-weight: 800; font-size: 1rem; letter-spacing: .06em; opacity: .9; }
.plan-price .num { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; }
.plan-price .per { font-size: .95rem; opacity: .85; }
.plan-tag {
  display: inline-block; margin-bottom: .9rem; padding: .28rem .7rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--amber); border-radius: var(--r-xs);
}
.plan-body { flex: 1; display: flex; flex-direction: column; padding: 26px 30px 30px; }
.plan-trial {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem 1rem; margin-bottom: 1.4rem;
  font-weight: 700; font-size: .93rem; color: var(--ink);
  background: var(--cream); border-left: 4px solid var(--amber); border-radius: var(--r-xs);
}
.plan-trial b { color: var(--terra); }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.plan-list li { display: flex; gap: .75rem; padding: .5rem 0; font-size: .97rem; line-height: 1.55; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.plan-list li:last-child { border-bottom: 0; }
.plan-list li i { flex: none; margin-top: .3rem; color: var(--teal-2); font-size: .9rem; }
.plan.gold { box-shadow: 0 30px 60px -24px rgba(14, 107, 107, .55); }
@media (min-width: 992px) { .plan.gold { transform: translateY(-14px); } .plan.gold:hover {} }

/* ==========================================================================
   CTA — full-width split (teal panel + photo)
   ========================================================================== */

/* ==========================================================================
   Inner page head — dark teal band with a book-framed photo
   ========================================================================== */
.rv-pagehead {
  position: relative;
  padding: 80px 0 0;
  color: rgba(255, 255, 255, .8);
  background:

    linear-gradient(135deg, var(--ink) 0%, #175c59 100%);
  overflow: hidden;
}
.rv-pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: var(--cream); }
.rv-pagehead .container { position: relative; z-index: 1; }
.rv-pagehead h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 3vw, 3.8rem); margin-bottom: 1.1rem; }
.rv-pagehead h1 .em { color: var(--amber); }
.rv-pagehead .lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 1.8rem; }
.rv-pagehead .ph-copy { padding-bottom: 130px; }
.crumbs { display: flex; align-items: center; gap: .55rem; list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: .9rem; font-weight: 700; }
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: var(--amber); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--amber); }
.crumbs li[aria-current] { color: #fff; }

/* ==========================================================================
   About — bookmark cards, audience cards
   ========================================================================== */
.bookmark {
  position: relative; height: 100%;
  padding: 34px 26px 28px;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bookmark::before { /* ribbon */
  content: ""; position: absolute; right: 22px; top: -6px;
  width: 22px; height: 46px;
  background: var(--c, var(--terra));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.bookmark:hover {  box-shadow: var(--shadow-md); }
.bookmark .rv-ico { margin-bottom: 1.1rem; }
.bookmark h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.bookmark p { margin: 0; font-size: .97rem; }
.bookmark.teal { --c: var(--teal-2); }
.bookmark.amber { --c: var(--amber); }
.bookmark.plum { --c: var(--plum); }

.feature-line { display: flex; gap: 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.feature-line:last-child { border-bottom: 0; }
.feature-line h3 { font-size: 1.22rem; margin-bottom: .3rem; }
.feature-line p { margin: 0; font-size: 1rem; }

.reader-card {
  height: 100%;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reader-card:hover {  box-shadow: var(--shadow-lg); }
.reader-card .rc-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.reader-card .rc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reader-card:hover .rc-photo img {}
.reader-card .rc-body { position: relative; padding: 0 32px 32px; }
.reader-card .rv-ico { margin-top: -27px; margin-bottom: 1rem; border: 4px solid var(--paper); width: 62px; height: 62px; color: #fff; background: var(--terra); }
.reader-card.teal .rv-ico { background: var(--teal); }
.reader-card h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.reader-card p { margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.section.contact-block, .rv-section.contact-block { padding: 72px 0; }
.info-stack { display: grid; gap: 14px; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 20px 22px; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-sm); border-left: 4px solid var(--c, var(--amber)); }
.info-card small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.info-card span, .info-card a { color: var(--ink); font-weight: 600; line-height: 1.55; }
.info-card .rv-ico { width: 46px; height: 46px; font-size: 1rem; }
.info-card.teal { --c: var(--teal-2); }
.info-card.terra { --c: var(--terra); }
.info-card.plum { --c: var(--plum); }
.info-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.info-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info-note { margin: 0 0 1.2rem; font-weight: 600; color: var(--ink-2); }

.form-card {
  height: 100%;
  padding: 44px 42px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border-top: 6px solid var(--teal);
  box-shadow: var(--shadow-lg);
}
.form-card h2 { font-size: 2rem; }
.form-label { font-weight: 700; color: var(--ink); }
.form-control {
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control::placeholder { color: #98a5aa; }
.form-control:focus { background: #fff; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(19, 138, 133, .15); }

.rv-toast { border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.rv-toast .toast-body { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; }
.rv-toast strong { display: block; font-family: var(--font-head); color: var(--ink); }

/* ==========================================================================
   Footer (shared 2ndSet layout, Readvana styling)
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 86px 0 0;
  background: #123b3b;
  color: rgba(255, 255, 255, .66);
  border-top: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: none;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer .brand-name { color: #fff; }
.footer-title { color: #fff; font-size: 1.12rem; margin-bottom: 1.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { color: rgba(255, 255, 255, .66); display: inline-flex; gap: .55rem; align-items: flex-start; line-height: 1.5; transition: color .2s, transform .2s; }
.footer-links a::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 1px; background: var(--amber); transform: rotate(45deg); }
.footer-links a:hover { color: #fff;  }
.footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-contacts li { display: flex; gap: .9rem; margin-bottom: 1rem; line-height: 1.55; }
.footer-contacts i { flex: none; width: 36px; height: 36px; border-radius: var(--r-xs); display: grid; place-items: center; font-size: .9rem; color: var(--ink); background: var(--amber); }
.footer-contacts a, .footer-contacts span { color: rgba(255, 255, 255, .8); }
.footer-contacts a:hover { color: #fff; }
.footer-pay {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 56px; padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-pay-label { font-weight: 700; color: #fff; }
.pay-cards { display: flex; gap: .6rem; padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.pay-card { width: 64px; height: 40px; display: grid; place-items: center; background: #fff; border-radius: var(--r-xs); }
.footer-bottom { padding: 24px 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 50px; height: 50px; border-radius: var(--r-sm);
  border: 0; color: var(--ink); background: var(--amber);
  box-shadow: 0 12px 24px -10px rgba(232, 143, 29, .8);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--teal); color: #fff; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .rv-section { padding: 72px 0; }
  .band-photo { position: relative; width: 100%; height: 340px; }
  .band-photo::after { right: 0; left: 0; top: auto; width: auto; height: 8px; bottom: 0; }
  .band-copy { padding: 70px 0; }
  .rv-pagehead .ph-copy { padding-bottom: 30px; }
  .rv-pagehead::after { height: 50px; }
  /* spines lie flat as horizontal cards on smaller screens */
  .spine:hover {}
  .form-card { padding: 34px 26px; }
}
@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  .rv-nav { height: 72px; }
  .brand-name { font-size: 1.35rem; }
  .step-num { font-size: 96px; margin-bottom: -38px; }
}
@media (max-width: 575.98px) {
  .rv-section { padding: 60px 0; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-actions .rv-btn { width: 100%; }
  .plan-band, .plan-body { padding-left: 24px; padding-right: 24px; }
}

/* Contact form: shared field sizing (same spec in every 2ndSet template; colours stay template-specific) */
.cf-std label { display: block; margin: 0 0 6px !important; font-size: 14.4px !important; font-weight: 500 !important; line-height: 1.75 !important; }
.cf-std input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { width: 100%; height: 52px !important; min-height: 52px !important; padding: 12px 18px !important; border-radius: 10px !important; font-size: 16px !important; line-height: 24px !important; }
.cf-std textarea { width: 100%; height: 170px !important; min-height: 170px !important; padding: 12px 18px !important; border-radius: 10px !important; font-size: 16px !important; line-height: 24px !important; resize: vertical; }

/* Image-free Contact introduction. */
.rv-pagehead.rv-pagehead--text { padding: 72px 0 76px; }
.rv-pagehead--text::after { display: none; }
.rv-pagehead--text .ph-copy { max-width: 980px; padding-bottom: 0; text-align: center; }
.rv-pagehead--text .crumbs { justify-content: center; margin-bottom: 24px; }
.rv-pagehead--text h1 { line-height: 1.15; text-wrap: balance; }
.rv-pagehead--text .lead { max-width: 660px; margin: 0 auto; text-wrap: pretty; }
@media (max-width: 575.98px) {
  .rv-pagehead.rv-pagehead--text { padding: 48px 0 52px; }
}

/* A focused, image-free home CTA. */

.rv-pagehead--text .hero-actions { justify-content: center; margin-top: 28px; }

/* Consistent page endings and footer spacing. */
#main > .rv-section:last-child {
  margin-bottom: 0;
  padding-bottom: 88px;
}
.site-footer {
  border-top: 0;
  border-radius: 28px 28px 0 0;
  padding-top: 72px;
}
.site-footer::before { display: none; }
.site-footer .footer-title { margin-bottom: 20px; }
.rv-pagehead--text h1 { max-width: 980px; margin-inline: auto; }
@media (max-width: 767.98px) {
  #main > .rv-section:last-child { padding-bottom: 56px; }
  .site-footer { padding-top: 48px; border-radius: 20px 20px 0 0; }
}

/* Shared image-free CTA: one composition on every page where it appears. */
.reading-invitation { padding: 80px 0; }
.reading-invitation-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  background: linear-gradient(125deg, #123b3b, #175c59);
}
.reading-invitation-panel::before,
.reading-invitation-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
}
.reading-invitation-panel::before {
  top: -220px;
  right: -100px;
  background: radial-gradient(circle, rgba(245, 164, 43, .18), transparent 70%);
}
.reading-invitation-panel::after {
  bottom: -230px;
  left: -90px;
  background: radial-gradient(circle, rgba(37, 177, 165, .2), transparent 70%);
}
.reading-invitation .eyebrow { justify-content: center; }
.reading-invitation h2 {
  max-width: 850px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  text-wrap: balance;
}
.reading-invitation h2 .em { color: var(--amber); }
.reading-invitation p { max-width: 580px; margin: 0 auto 28px; font-size: 1.05rem; }
.reading-invitation-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.reading-invitation .rv-btn { min-width: 150px; }
@media (max-width: 575.98px) {
  .reading-invitation { padding: 48px 0; }
  .reading-invitation-panel { padding: 44px 22px; border-radius: 18px; }
  .reading-invitation-actions .rv-btn { width: 100%; }
}

/* Editorial library selection with CSS-built, typographic book jackets. */
.next-reads { background: #fffdf8; }
.next-reads-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.next-reads-heading > div { max-width: 680px; }
.next-reads-heading .rv-title { margin-bottom: 16px; }
.next-reads-heading .rv-lead { margin: 0; }
.next-reads-heading > a { flex-shrink: 0; }
.next-reads-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.read-pick { --jacket: #873d2e; --jacket-ink: #fff0d9; --stage: #f3e5d8; display: flex; flex-direction: column; min-width: 0; }
.read-pick--teal { --jacket: #155957; --jacket-ink: #e9efc9; --stage: #e2eeea; }
.read-pick--plum { --jacket: #51406a; --jacket-ink: #f3d7ae; --stage: #eee8f2; }
.read-pick--amber { --jacket: #e8ae4e; --jacket-ink: #253d39; --stage: #f8efdb; }
.read-pick-stage { position: relative; background: var(--stage); padding: 58px 30px 32px; border-radius: 16px; }
.read-pick-category { position: absolute; top: 20px; left: 20px; color: var(--ink); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.type-cover { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4; padding: 18px 16px 16px 23px; background: var(--jacket); color: var(--jacket-ink); border-radius: 2px 7px 7px 2px; box-shadow: 8px 12px 14px -9px rgba(13,43,51,.4), inset 6px 0 rgba(0,0,0,.14), inset 8px 0 rgba(255,255,255,.12); transform: rotate(-4deg); transition: transform .3s ease; }
.read-pick:nth-child(even) .type-cover { transform: rotate(4deg); }
.read-pick:hover .type-cover {}
.read-pick-copy { display: flex; flex: 1; flex-direction: column; padding: 24px 0 0; }
.read-pick-index { color: var(--teal); font-size: .6rem; letter-spacing: .13em; font-weight: 800; margin-bottom: 12px; }
.read-pick h3 { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.read-pick-copy p { font-size: .88rem; line-height: 1.8; margin-bottom: 24px; }
.read-pick-copy a { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .8rem; color: var(--ink); font-weight: 800; }
.read-pick-copy a:hover { color: var(--teal); }
.read-pick-copy a:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.next-reads-note { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: .8rem; margin: 40px 0 0; color: var(--text); }
.next-reads-note i { color: var(--teal); }
@media (max-width: 991.98px) {
  .next-reads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .next-reads-heading { align-items: start; flex-direction: column; gap: 24px; }
  .type-cover { max-width: 230px; margin-inline: auto; }
}
@media (max-width: 575.98px) {
  .next-reads-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .read-pick-stage { padding: 56px 36px 32px; }
  .type-cover { width: 100%; }
  .next-reads-note { text-align: center; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) { .type-cover { transition: none; } }

/* Numbered process without circular photo placeholders. */
.rv-steps .step-num { font-size: clamp(64px, 7vw, 88px); margin-bottom: 24px; }
.rv-steps .step { padding: 12px 16px; }
.rv-steps .step h3 { margin-bottom: 12px; }

/* Homepage: a quiet editorial opening with a code-built reading spread. */
.rv-hero.rv-hero--editorial { padding: 80px 0 88px; background: #f8f2e6; }
.rv-hero--editorial::after { display: none; }
.editorial-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.editorial-hero-copy .eyebrow { font-size: .67rem; letter-spacing: .12em; }
.rv-hero--editorial h1 { font-size: clamp(3rem, 4.7vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 24px; }
.rv-hero--editorial h1 .em { color: var(--teal); }
.rv-hero--editorial .lead { font-size: 1.05rem; line-height: 1.9; max-width: 480px; margin-bottom: 30px; }
.rv-hero--editorial .hero-actions { align-items: center; gap: 24px; }
.editorial-plans-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 700; font-size: .83rem; padding: 12px 0; }
.editorial-plans-link i { font-size: .65rem; }
.editorial-plans-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.editorial-hero-perks { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; font-size: .72rem; color: var(--text); }
.editorial-hero-perks span { display: inline-flex; align-items: center; gap: 8px; }
.editorial-hero-perks i { color: var(--teal); }
.reading-scene { min-width: 0; }
.reading-scene-caption { display: flex; justify-content: space-between; gap: 12px; font-size: .53rem; letter-spacing: .15em; font-weight: 800; color: var(--text); margin: 0 4px 24px; }
.reading-volume { display: grid; grid-template-columns: 1fr 1fr; transform: rotate(-3deg); filter: drop-shadow(0 24px 20px rgba(51, 46, 28, .14)); }
.reading-jacket { display: flex; flex-direction: column; position: relative; padding: 26px 24px; min-height: 370px; border-radius: 6px 0 0 6px; color: #f7ebcc; background: #175c59; box-shadow: inset 7px 0 rgba(0,0,0,.12), inset -10px 0 12px rgba(0,0,0,.14); }
.jacket-imprint { font-size: .47rem; letter-spacing: .15em; }
.jacket-title { font-family: var(--font-head); font-size: clamp(1.8rem, 2.6vw, 2.7rem); line-height: 1.06; letter-spacing: -.03em; margin-top: 24px; }
.jacket-title em { color: #eec77e; }
.jacket-orbit { display: grid; place-items: center; flex: 1; min-height: 80px; font-size: 2.6rem; color: #d4debc; }
.jacket-foot { font-size: .44rem; letter-spacing: .16em; }
.reading-page { position: relative; padding: 28px 25px 42px; background: #fffdf5; border-radius: 0 6px 6px 0; box-shadow: inset 12px 0 15px -12px rgba(66,52,28,.35), 3px 3px 0 #e0d6bf, 6px 6px 0 #f4ebda; }
.reading-page-kicker { display: block; font-size: .43rem; letter-spacing: .12em; color: var(--text); text-align: center; padding-bottom: 18px; border-bottom: 1px solid #e8dfcc; }
.reading-chapter { display: block; margin-top: 26px; text-align: center; font-family: var(--font-head); font-style: italic; font-size: .8rem; color: var(--teal); }
.reading-page h2 { text-align: center; font-size: 1.35rem; line-height: 1.2; margin: 12px 0 20px; }
.reading-page p { font-family: Georgia, serif; font-size: .85rem; line-height: 1.8; color: #52605b; margin: 0 0 12px; }
.reading-page-flourish { display: block; text-align: center; color: var(--teal); font-size: 1.5rem; }
.reading-page-number { position: absolute; bottom: 15px; left: 0; right: 0; text-align: center; font: .65rem Georgia, serif; }
.reading-scene-foot { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .7rem; margin-top: 30px; color: var(--text); }
.reading-scene-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 1199.98px) { .editorial-hero-grid { gap: 32px; } .reading-jacket { padding: 24px 20px; } .reading-page { padding: 24px 20px 40px; } }
@media (max-width: 991.98px) {
  .rv-hero.rv-hero--editorial { padding: 56px 0 64px; }
  .editorial-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .editorial-hero-copy { max-width: 620px; }
  .reading-scene { width: min(100%, 560px); margin-inline: auto; }
  .jacket-title { font-size: 2.7rem; }
}
@media (max-width: 575.98px) {
  .rv-hero.rv-hero--editorial { padding: 40px 0 48px; }
  .rv-hero--editorial h1 { font-size: clamp(2.5rem, 11vw, 3.3rem); }
  .rv-hero--editorial .hero-actions { gap: 10px; }
  .rv-hero--editorial .hero-actions .rv-btn { width: auto; }
  .editorial-hero-perks { gap: 14px; margin-top: 24px; font-size: .66rem; }
  .reading-scene { padding-inline: 6px; }
  .reading-scene-caption { font-size: .4rem; letter-spacing: .08em; }
  .reading-jacket { padding: 22px 16px; min-height: 310px; }
  .jacket-imprint { font-size: .35rem; }
  .jacket-title { font-size: 1.9rem; }
  .jacket-foot { font-size: .32rem; }
  .reading-page { padding: 22px 14px 32px; }
  .reading-page-kicker { font-size: .32rem; }
  .reading-chapter { margin-top: 18px; }
  .reading-page h2 { font-size: 1.1rem; margin: 10px 0 14px; }
  .reading-page p { font-size: .72rem; line-height: 1.65; }
}

/* Consistent brand palette across all four pages. */
.read-pick,
.read-pick--teal,
.read-pick--plum,
.read-pick--amber {
  --jacket: var(--teal);
  --jacket-ink: var(--cream);
  --stage: var(--cream-2);
}
.read-pick:nth-child(even) { --jacket: var(--ink); }
.next-reads { background: var(--cream); }
.rv-hero.rv-hero--editorial { background: var(--cream); }
.reading-jacket { color: var(--cream); background: var(--teal); }
.jacket-title em, .jacket-orbit { color: var(--amber); }
.reading-page { background: var(--cream); }
.reading-page p { color: var(--text); }
.plan { --pb: var(--ink); }
.plan.gold { --pb: var(--teal); }
.plan.bronze { --pb: var(--ink); }
.rv-steps .step.plum, .rv-steps .step.teal { --ring: var(--amber); }
.rv-steps .step-num { -webkit-text-stroke-color: var(--amber); }
.reading-invitation-panel { background: linear-gradient(125deg, var(--ink), var(--teal)); }
.reading-invitation-panel::before { background: radial-gradient(circle, rgba(201,155,75,.12), transparent 70%); }
.reading-invitation-panel::after { background: radial-gradient(circle, rgba(250,246,237,.06), transparent 70%); }

/* same cream background as the section above: no double gap */
#about + .next-reads { padding-top: 0; }
.rv-section:not(.rv-cream2):not(.rv-steps) + .reading-invitation { padding-top: 0; }
/* real book covers (from ebookon.com) inside the reading-list cards */
.type-cover.type-cover--img { display: block; width: 100%; height: auto; aspect-ratio: 464 / 600; padding: 0; object-fit: cover; background: none; box-shadow: 10px 14px 22px -10px rgba(13, 43, 51, .45); }
/* covers sit straight; gentle zoom on hover */
.type-cover.type-cover--img, .read-pick:nth-child(even) .type-cover.type-cover--img { transform: none; transition: transform .35s ease, box-shadow .35s ease; }
.read-pick:hover .type-cover.type-cover--img {  box-shadow: 14px 20px 30px -12px rgba(13, 43, 51, .5); }
@media (prefers-reduced-motion: reduce) { .read-pick:hover .type-cover.type-cover--img {} }

/* Responsive QA: wide grid gutters must fit the container's side padding. */
@media (max-width: 1399.98px) {
  .container > .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Calm presentation: content is available immediately; controls retain feedback. */
html { scroll-behavior: auto !important; }
*, *::before, *::after { animation: none !important; }
[data-reveal], [data-reveal].is-visible {
  opacity: 1; visibility: visible; transform: none; transition: none;
}
a, button, input, select, textarea {
  transition-property: color, background-color, border-color, opacity, box-shadow;
  transition-duration: .15s;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
