/*
Theme Name: Press For Change
Theme URI: https://pressforchange.com
Author: Press For Change Publishing
Author URI: https://pressforchange.com
Description: Official theme for Press For Change Publishing. An independent publisher of books, digital products, and interactive fiction. The Inkwell imprint handles interactive fiction. Supports WooCommerce, custom Story post types, per-title purchases and subscriptions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.2
License: Proprietary
Text Domain: pfc
Tags: woocommerce, dark, literary, publisher, custom-post-type
*/


/* ════════════════════════════════════════════════════════
   PRESS FOR CHANGE — MASTER STYLESHEET
   Parent brand  : Press For Change Publishing  (#30737d teal)
   Imprint       : Inkwell (interactive fiction)  (#c4912a gold)
   ════════════════════════════════════════════════════════ */

:root {
  /* Core dark palette */
  --ink:         #0b0f10;
  --ink-soft:    #141c1e;
  --ink-mid:     #1c2729;
  --vellum:      #e8f0f2;
  --vellum-warm: #dde8ea;

  /* Press For Change brand — teal (from logo) */
  --teal:        #30737d;
  --teal-light:  #498a93;
  --teal-bright: #5da4af;
  --teal-dim:    #1e5560;
  --teal-ghost:  rgba(48,115,125,0.15);
  --teal-rule:   rgba(48,115,125,0.25);

  /* Inkwell imprint — gold */
  --gold:        #c4912a;
  --gold-light:  #d4aa50;
  --gold-dim:    #8a651c;
  --gold-ghost:  rgba(196,145,42,0.12);
  --gold-rule:   rgba(196,145,42,0.22);

  /* Supporting */
  --ash:         #5a6e72;
  --ash-light:   #8aa0a6;
  --ash-mid:     #3d5256;
  --rule:        rgba(48,115,125,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ink);
  color: var(--vellum);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
}

a { color: var(--teal-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--vellum); }
img { max-width: 100%; height: auto; display: block; }

/* ═══ TYPOGRAPHY ═══ */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.sc { font-family: 'Cormorant SC', serif; letter-spacing: 0.12em; font-weight: 400; }

/* ═══ IMPRINT BADGES ═══ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  padding: 0.22rem 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
}

.badge--pfc {
  color: var(--teal-bright);
  border: 1px solid var(--teal-rule);
}

.badge--inkwell {
  color: var(--gold);
  border: 1px solid var(--gold-rule);
}

.badge--free {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border: none;
}

/* ═══ LAYOUT ═══ */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.container--text   { max-width: 680px; margin: 0 auto; padding: 0 2rem; }

/* ═══ NAVIGATION ═══ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(11,15,16,0.98) 60%, transparent);
  transition: background 0.4s;
}

#site-nav.scrolled {
  background: rgba(11,15,16,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
}

.nav-logo svg {
  height: 40px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-logo:hover svg { opacity: 1; }

.nav-logo:hover img { opacity: 1; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--vellum);
  line-height: 1.1;
}

.nav-logo-tagline {
  font-family: 'Crimson Pro', serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
  opacity: 0.8;
  margin-top: 2px;
  font-style: italic;
}

#primary-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0; padding: 0;
}

#primary-menu a {
  color: var(--ash-light);
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.9rem;
  transition: color 0.2s;
  display: block;
}

#primary-menu a:hover { color: var(--vellum); }
#primary-menu .current-menu-item > a { color: var(--teal-bright); }

/* Inkwell nav item — gold highlight */
#primary-menu .menu-item-inkwell > a {
  color: var(--gold);
  border: 1px solid rgba(196,145,42,0.25);
  padding: 0.3rem 0.85rem;
}
#primary-menu .menu-item-inkwell > a:hover { background: var(--gold-ghost); color: var(--gold-light); }

.nav-actions { display: flex; align-items: center; gap: 0.85rem; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--teal-rule);
  color: var(--teal-bright) !important;
  padding: 0.38rem 1.1rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}
.btn-ghost:hover { background: var(--teal-ghost); border-color: var(--teal); }

.btn-primary {
  background: var(--teal);
  border: none;
  color: var(--vellum) !important;
  padding: 0.45rem 1.2rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}
.btn-primary:hover { background: var(--teal-light); }

.btn-gold {
  background: var(--gold);
  color: var(--ink) !important;
  border: none;
  padding: 0.45rem 1.2rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  text-decoration: none !important;
}
.btn-gold:hover { background: var(--gold-light); color: var(--ink) !important; }

.btn-large { padding: 0.9rem 2.2rem; font-size: 0.85rem; }
.btn-full  { width: 100%; text-align: center; display: block; padding: 0.95rem; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--teal-bright); }

#mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(11,15,16,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 2rem;
  z-index: 199;
  flex-direction: column;
  gap: 1.2rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-family: 'Cormorant SC', serif; letter-spacing: 0.15em; color: var(--vellum); font-size: 1.1rem; }

/* ═══ SECTION STRUCTURE ═══ */
section { padding: 100px 2rem; }

.section-label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  color: var(--teal-bright);
  opacity: 0.8;
  display: block;
  margin-bottom: 1rem;
}

.section-label--gold { color: var(--gold); opacity: 0.8; }

.section-title { font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 300; color: var(--vellum); }
.section-title em { font-style: italic; color: var(--teal-bright); }
.section-title em.gold { color: var(--gold); }

.section-header { text-align: center; margin-bottom: 5rem; }

.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; margin: 2rem auto; max-width: 300px;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.divider span { color: var(--teal); font-size: 0.85rem; opacity: 0.5; }
.divider--gold::before, .divider--gold::after { background: var(--gold-rule); }
.divider--gold span { color: var(--gold); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 120px 2rem 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 30% 40%, rgba(48,115,125,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 75% 65%, rgba(196,145,42,0.07) 0%, transparent 60%),
    linear-gradient(170deg, #0e1618 0%, #0b0f10 50%, #090c0d 100%);
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 59px,
    rgba(48,115,125,0.035) 59px, rgba(48,115,125,0.035) 60px
  );
}

.hero-content { position: relative; text-align: center; max-width: 860px; z-index: 1; }

.hero-publisher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease both;
}

.hero-publisher img {
  height: 52px;
  width: auto;
  opacity: 0.9;
}

.hero-publisher-text {
  text-align: left;
  line-height: 1;
}

.hero-publisher-name {
  font-family: 'Cormorant SC', serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--vellum);
  display: block;
  margin-bottom: 3px;
}

.hero-publisher-tagline {
  font-family: 'Crimson Pro', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
  font-style: italic;
}

.hero-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--teal-rule), transparent);
}

.hero-title {
  font-size: clamp(3rem,7.5vw,6.5rem);
  line-height: 0.95;
  font-weight: 300;
  color: var(--vellum);
  margin-bottom: 0.5rem;
  animation: fadeUp 1s ease 0.15s both;
}
.hero-title em { font-style: italic; color: var(--teal-bright); }

.hero-rule {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 1.8rem auto;
  animation: fadeUp 1s ease 0.25s both;
}
.hero-rule::before,.hero-rule::after { content:''; height:1px; width:80px; background:linear-gradient(to right,transparent,var(--teal-dim)); }
.hero-rule::after { background:linear-gradient(to left,transparent,var(--teal-dim)); }
.hero-rule span { color:var(--teal); opacity:0.55; font-size:0.9rem; }

.hero-sub {
  font-size: 1.2rem;
  color: var(--ash-light);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 1s ease 0.32s both;
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  animation: fadeUp 1s ease 0.42s both;
}

.hero-note {
  font-size: 0.75rem;
  color: var(--ash);
  margin-top: 1rem;
  letter-spacing: 0.08em;
  animation: fadeUp 1s ease 0.52s both;
}
.hero-note a { color: var(--gold); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: fadeUp 1s ease 0.7s both; cursor: pointer;
}
.scroll-indicator span { font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.3em; color:var(--ash); }
.scroll-line { width:1px; height:36px; background:linear-gradient(to bottom,var(--teal-dim),transparent); animation:scrollPulse 2s ease-in-out infinite; }

/* ═══ IMPRINT SECTION HEADERS ═══ */
.imprint-section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.imprint-section-header .imprint-label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  white-space: nowrap;
}

.imprint-section-header .imprint-rule {
  flex: 1; height: 1px;
}

.imprint-header--pfc .imprint-label { color: var(--teal-bright); }
.imprint-header--pfc .imprint-rule  { background: var(--teal-rule); }
.imprint-header--inkwell .imprint-label { color: var(--gold); }
.imprint-header--inkwell .imprint-rule  { background: var(--gold-rule); }

/* ═══ PFC BOOKS SECTION ═══ */
.books-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-top: 1px solid var(--rule);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.book-card {
  background: var(--ink-soft);
  border: 1px solid rgba(48,115,125,0.1);
  padding: 2rem 1.8rem;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 280px;
  cursor: pointer;
}

.book-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(48,115,125,0.07), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.book-card:hover::before { opacity: 1; }
.book-card:hover { border-color: rgba(48,115,125,0.28); transform: translateY(-2px); }

.book-card-tag { font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.22em; color:var(--teal-bright); opacity:0.75; }
.book-card-title { font-size:1.4rem; font-weight:300; color:var(--vellum); line-height:1.2; }
.book-card-title em { font-style:italic; color:var(--teal-bright); }
.book-card-author { font-family:'Cormorant SC',serif; font-size:0.68rem; letter-spacing:0.18em; color:var(--ash); }
.book-card-desc { font-size:0.9rem; color:var(--ash-light); line-height:1.7; flex:1; }

.book-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid rgba(48,115,125,0.12);
}

.book-card-price { font-family:'Cormorant Garamond',serif; font-size:1.1rem; color:var(--teal-bright); }
.book-card-price span { font-size:0.7rem; color:var(--ash); font-family:'Cormorant SC',serif; }

.card-cta-teal {
  font-family:'Cormorant SC',serif; font-size:0.68rem; letter-spacing:0.14em;
  color:var(--teal-bright); border:1px solid rgba(48,115,125,0.3);
  padding:0.28rem 0.75rem; transition:all 0.2s; background:transparent; cursor:pointer;
  text-decoration:none;
}
.card-cta-teal:hover { background:var(--teal-ghost); color:var(--vellum); }

/* ═══ INKWELL IMPRINT SECTION ═══ */
.inkwell-section {
  background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink-mid) 100%);
  position: relative;
}

.inkwell-section::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-rule), transparent);
}

/* Inkwell section header with the imprint brand */
.inkwell-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold-rule);
}

.inkwell-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.inkwell-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
}

.inkwell-imprint-line {
  font-family: 'Cormorant SC', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--ash-light);
}

.inkwell-imprint-line span { color: var(--teal-bright); }

.inkwell-tagline {
  font-size: 1rem;
  color: var(--ash-light);
  font-style: italic;
  text-align: right;
  max-width: 320px;
  line-height: 1.6;
}

/* Story cards (Inkwell) */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-card {
  background: var(--ink-soft);
  border: 1px solid rgba(196,145,42,0.1);
  padding: 2.5rem 2rem;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 320px;
}

.story-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(122,31,31,0.07), rgba(196,145,42,0.04));
  opacity: 0; transition: opacity 0.3s;
}
.story-card:hover::before { opacity: 1; }
.story-card:hover { border-color: rgba(196,145,42,0.28); transform: translateY(-2px); }

.card-number {
  font-family:'Cormorant Garamond',serif; font-size:3.5rem; font-weight:300;
  color:rgba(196,145,42,0.1); line-height:1;
  position:absolute; top:1rem; right:1.5rem; transition:color 0.3s;
}
.story-card:hover .card-number { color:rgba(196,145,42,0.2); }

.card-tag { font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.2em; color:var(--gold); opacity:0.75; }
.card-title { font-size:1.45rem; font-weight:300; color:var(--vellum); line-height:1.2; }
.card-title em { font-style:italic; color:var(--gold-light); }
.card-author { font-family:'Cormorant SC',serif; font-size:0.68rem; letter-spacing:0.18em; color:var(--ash); }
.card-desc { font-size:0.9rem; color:var(--ash-light); line-height:1.7; flex:1; }

.card-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:1rem; border-top:1px solid var(--gold-rule);
}

.card-price { font-family:'Cormorant Garamond',serif; font-size:1.2rem; color:var(--gold); }
.card-price span { font-size:0.7rem; color:var(--ash); font-family:'Cormorant SC',serif; }

.card-cta {
  font-family:'Cormorant SC',serif; font-size:0.68rem; letter-spacing:0.14em;
  color:var(--gold); border:1px solid rgba(196,145,42,0.3);
  padding:0.28rem 0.75rem; transition:all 0.2s; background:transparent; cursor:pointer; text-decoration:none;
}
.card-cta:hover { background:var(--gold-ghost); color:var(--gold-light); }

.card-soon { opacity:0.38; pointer-events:none; }
.soon-label { font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.25em; color:var(--ash); border:1px solid rgba(255,255,255,0.08); padding:0.2rem 0.55rem; }

/* ═══ FREE SAMPLE BANNER ═══ */
.free-banner {
  background: linear-gradient(135deg, rgba(122,31,31,0.12), rgba(196,145,42,0.07));
  border: 1px solid rgba(196,145,42,0.18);
  border-left: 3px solid var(--gold);
  padding: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.free-banner::after {
  content: 'FREE';
  position: absolute; top: -0.5rem; right: 2rem;
  font-family:'Cormorant SC',serif; font-size:5rem; font-weight:600;
  color:rgba(196,145,42,0.05); letter-spacing:0.1em; pointer-events:none;
}

.free-title { font-size:2.2rem; font-weight:300; margin-bottom:0.4rem; }
.free-title em { font-style:italic; color:var(--gold); }
.free-author { font-family:'Cormorant SC',serif; font-size:0.75rem; letter-spacing:0.22em; color:var(--ash-light); margin-bottom:1rem; }
.free-desc { color:var(--ash-light); font-size:0.98rem; line-height:1.8; max-width:460px; margin-bottom:1.8rem; }

.story-meta { display:flex; gap:2rem; margin-bottom:1.8rem; flex-wrap:wrap; }
.meta-item { display:flex; flex-direction:column; gap:0.15rem; }
.meta-label { font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.2em; color:var(--ash); }
.meta-value { font-size:0.92rem; color:var(--vellum); }

.book-cover {
  width: 172px; height: 250px;
  background: linear-gradient(135deg, #0e1618, #1a2428);
  border: 1px solid rgba(196,145,42,0.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1rem; text-align: center; position: relative;
  box-shadow: 8px 12px 40px rgba(0,0,0,0.6), inset 1px 0 0 rgba(255,255,255,0.04);
  flex-shrink: 0; cursor: pointer; transition: transform 0.3s;
}
.book-cover:hover { transform: translateY(-4px) rotate(1deg); }
.book-cover::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px;background:linear-gradient(to right,rgba(0,0,0,0.4),transparent); }
.book-cover-ornament { color:var(--gold); font-size:1.4rem; margin-bottom:0.8rem; opacity:0.55; }
.book-cover-title { font-family:'Cormorant Garamond',serif; font-size:0.85rem; font-weight:600; color:var(--vellum); line-height:1.3; margin-bottom:0.25rem; }
.book-cover-sub { font-family:'Cormorant SC',serif; font-size:0.58rem; letter-spacing:0.2em; color:var(--gold); opacity:0.65; }

/* ═══ HOW IT WORKS ═══ */
.steps-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:4rem;
  max-width:960px; margin:0 auto; position:relative;
}
.steps-grid::before {
  content:''; position:absolute; top:2.4rem;
  left:calc(33.33% + 1rem); right:calc(33.33% + 1rem);
  height:1px; background:var(--gold-rule);
}
.step { text-align:center; display:flex; flex-direction:column; align-items:center; gap:1.1rem; }
.step-num {
  width:46px; height:46px; border:1px solid var(--gold-dim);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond',serif; font-size:1.1rem; color:var(--gold); background:var(--ink);
}
.step-title { font-family:'Cormorant SC',serif; font-size:0.85rem; letter-spacing:0.15em; color:var(--vellum); }
.step-desc { font-size:0.93rem; color:var(--ash-light); line-height:1.7; }

/* ═══ PRICING ═══ */
.pricing-grid { display:grid; grid-template-columns:1fr 1fr; gap:2px; max-width:900px; margin:0 auto; }

.pricing-card {
  background: var(--ink-soft);
  border: 1px solid rgba(48,115,125,0.15);
  padding: 3.5rem;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover { border-color:rgba(48,115,125,0.28); }

.pricing-card.featured {
  border-color: rgba(196,145,42,0.35);
  background: linear-gradient(160deg, rgba(30,85,96,0.12), rgba(196,145,42,0.04), var(--ink-soft));
}

.pricing-badge {
  position:absolute; top:-1px; left:3rem;
  background:var(--gold); color:var(--ink);
  font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.2em;
  padding:0.22rem 1rem; font-weight:600;
}

.pricing-label { font-family:'Cormorant SC',serif; font-size:0.72rem; letter-spacing:0.28em; color:var(--teal-bright); opacity:0.75; margin-bottom:0.8rem; }
.pricing-label--gold { color:var(--gold); }
.pricing-name { font-size:1.9rem; font-weight:300; color:var(--vellum); margin-bottom:1.8rem; }

.pricing-price { display:flex; align-items:baseline; gap:0.25rem; margin-bottom:0.4rem; }
.price-main { font-family:'Cormorant Garamond',serif; font-size:3.4rem; font-weight:300; color:var(--gold); line-height:1; }
.price-currency { font-size:1.4rem; color:var(--gold-dim); align-self:flex-start; margin-top:0.5rem; }
.price-period { font-family:'Cormorant SC',serif; font-size:0.75rem; letter-spacing:0.14em; color:var(--ash); }

.pricing-sub { font-size:0.9rem; color:var(--ash-light); margin-bottom:2.2rem; line-height:1.65; }

.pricing-features { list-style:none; display:flex; flex-direction:column; gap:0.75rem; margin-bottom:2.8rem; }
.pricing-features li { display:flex; align-items:flex-start; gap:0.75rem; font-size:0.93rem; color:var(--ash-light); }
.pricing-features li::before { content:'✦'; color:var(--gold); font-size:0.55rem; margin-top:0.42rem; flex-shrink:0; }
.pricing-features.teal li::before { color:var(--teal-bright); content:'◆'; font-size:0.45rem; }

/* ═══ SIGNUP ═══ */
.signup-section {
  background: linear-gradient(135deg,rgba(48,115,125,0.1) 0%,var(--ink) 50%,rgba(196,145,42,0.05) 100%);
  border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
}

.signup-form { display:flex; flex-direction:column; gap:1rem; max-width:480px; margin:0 auto; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

.field-group { display:flex; flex-direction:column; gap:0.35rem; text-align:left; }
.field-group label { font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.25em; color:var(--ash); }
.field-group input,
.field-group select,
.field-group textarea,
input[type="text"], input[type="email"], input[type="password"], select, textarea {
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(48,115,125,0.22);
  color:var(--vellum);
  padding:0.78rem 0.95rem;
  font-family:'Crimson Pro',serif; font-size:1rem;
  outline:none; transition:border-color 0.2s; width:100%;
  -webkit-appearance:none; border-radius:0;
}
.field-group input:focus,.field-group select:focus,.field-group textarea:focus,
input:focus,textarea:focus,select:focus { border-color:var(--teal); }
input::placeholder,textarea::placeholder { color:var(--ash); opacity:0.5; }

.checkbox-group { display:flex; align-items:flex-start; gap:0.7rem; text-align:left; }
.checkbox-group input[type="checkbox"] { width:15px; height:15px; flex-shrink:0; accent-color:var(--teal); margin-top:0.25rem; }
.checkbox-group span { font-size:0.83rem; color:var(--ash); line-height:1.5; }
.checkbox-group a { color:var(--teal-bright); }
.form-note { font-size:0.78rem; color:var(--ash); }

/* ═══ MODAL ═══ */
#modal-overlay {
  position:fixed; inset:0;
  background:rgba(6,9,10,0.93);
  backdrop-filter:blur(10px);
  z-index:500; display:none; place-items:center; padding:2rem;
}
#modal-overlay.open { display:grid; }

.modal {
  background:var(--ink-soft);
  border:1px solid rgba(48,115,125,0.28);
  padding:3.5rem; width:100%; max-width:440px;
  position:relative; animation:scaleIn 0.3s ease;
}
.modal-close {
  position:absolute; top:1.1rem; right:1.4rem;
  background:none; border:none; color:var(--ash); font-size:1.1rem; cursor:pointer;
  transition:color 0.2s; padding:0; line-height:1; font-family:'Cormorant Garamond',serif;
}
.modal-close:hover { color:var(--teal-bright); }

.modal-logo { display:flex; align-items:center; gap:0.7rem; margin-bottom:1.8rem; }
.modal-logo img { height:28px; }
.modal-logo-name { font-family:'Cormorant SC',serif; font-size:0.72rem; letter-spacing:0.22em; color:var(--ash-light); }

.modal-title { font-size:1.9rem; font-weight:300; margin-bottom:1.8rem; }

.modal-tabs { display:flex; margin-bottom:1.8rem; border-bottom:1px solid var(--rule); }
.modal-tab {
  font-family:'Cormorant SC',serif; font-size:0.72rem; letter-spacing:0.17em; color:var(--ash);
  padding:0.55rem 1.1rem; cursor:pointer;
  border-bottom:2px solid transparent; margin-bottom:-1px;
  transition:all 0.2s; background:none; border-top:none; border-left:none; border-right:none;
}
.modal-tab.active { color:var(--teal-bright); border-bottom-color:var(--teal); }

.modal-form { display:flex; flex-direction:column; gap:1.1rem; }
.modal-form-half { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.modal-footer { margin-top:1.3rem; text-align:center; font-size:0.83rem; color:var(--ash); }
.modal-footer a { color:var(--teal-bright); }

/* WooCommerce overrides */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background:rgba(255,255,255,0.04); border:1px solid rgba(48,115,125,0.22);
  color:var(--vellum); font-family:'Crimson Pro',serif; border-radius:0; box-shadow:none; padding:0.78rem 0.95rem;
}
.woocommerce form .form-row input.input-text:focus { border-color:var(--teal); outline:none; box-shadow:none; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce input[type=submit] {
  background:var(--teal); color:var(--vellum); font-family:'Cormorant SC',serif;
  letter-spacing:0.16em; font-size:0.75rem; border-radius:0; padding:0.8rem 1.5rem;
  font-weight:400; transition:background 0.2s; border:none;
}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover { background:var(--teal-light); color:var(--vellum); }
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info { background:var(--ink-soft); border-top-color:var(--teal); color:var(--ash-light); }
.woocommerce-loop-product__title { font-family:'Cormorant Garamond',serif !important; font-weight:300 !important; color:var(--vellum) !important; }
.woocommerce ul.products li.product .price { color:var(--teal-bright) !important; font-family:'Cormorant Garamond',serif; }
.woocommerce table.shop_table { background:var(--ink-soft); border:1px solid rgba(48,115,125,0.15); border-collapse:collapse; }
.woocommerce table.shop_table th { color:var(--teal-bright); font-family:'Cormorant SC',serif; letter-spacing:0.14em; font-size:0.72rem; background:transparent; border-bottom:1px solid var(--rule); }
.woocommerce table.shop_table td { border-bottom:1px solid var(--rule); color:var(--ash-light); }

/* Single story purchase box */
.story-purchase-box {
  background:var(--ink-soft); border:1px solid rgba(196,145,42,0.2);
  border-top:3px solid var(--gold); padding:3rem;
  max-width:520px; margin:0 auto;
}

/* Entry content */
.entry-content { max-width:680px; margin:0 auto; color:var(--ash-light); line-height:1.8; }
.entry-content p { margin-bottom:1.4rem; }
.entry-content h2,.entry-content h3 { color:var(--vellum); margin:2.5rem 0 1rem; }
.entry-content hr { border:none; border-top:1px solid var(--rule); margin:2rem 0; }

/* Footer */
#site-footer { padding:5rem 2rem 3rem; border-top:1px solid var(--rule); background:rgba(0,0,0,0.3); }

.footer-inner {
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:4rem; margin-bottom:4rem;
}

.footer-brand { display:flex; flex-direction:column; gap:1.1rem; }
.footer-logo img { height:40px; opacity:0.85; }
.footer-tagline { font-size:0.93rem; color:var(--ash-light); line-height:1.7; max-width:280px; }

.footer-inkwell-badge {
  display:flex; align-items:center; gap:0.6rem;
  font-family:'Cormorant SC',serif; font-size:0.62rem; letter-spacing:0.2em;
  color:var(--gold); border:1px solid var(--gold-rule); padding:0.25rem 0.75rem;
  width:fit-content;
}

.footer-socials { display:flex; gap:1rem; }
.footer-socials a { color:var(--ash-light); font-family:'Cormorant SC',serif; font-size:0.68rem; letter-spacing:0.14em; }
.footer-socials a:hover { color:var(--teal-bright); }

.footer-col h4 { font-family:'Cormorant SC',serif; font-size:0.68rem; letter-spacing:0.3em; color:var(--teal-bright); opacity:0.7; margin-bottom:1.4rem; }
.footer-col h4.gold-head { color:var(--gold); }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:0.65rem; padding:0; }
.footer-col li a { color:var(--ash-light); font-size:0.93rem; transition:color 0.2s; }
.footer-col li a:hover { color:var(--vellum); }

.footer-bottom {
  max-width:1100px; margin:0 auto; padding-top:1.8rem;
  border-top:1px solid rgba(255,255,255,0.05);
  display:flex; justify-content:space-between; align-items:center;
}
.footer-copy { font-size:0.75rem; color:var(--ash); font-family:'Cormorant SC',serif; letter-spacing:0.08em; }

/* Animations */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:0.75} }
@keyframes scaleIn { from{opacity:0;transform:scale(0.96)} to{opacity:1;transform:scale(1)} }

.fade-in { opacity:0; transform:translateY(18px); transition:opacity 0.7s ease,transform 0.7s ease; }
.fade-in.visible { opacity:1; transform:none; }

/* Utilities */
.text-center { text-align:center; }
.visually-hidden { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }

/* Responsive */
@media (max-width:1024px) { .footer-inner{grid-template-columns:1fr 1fr;gap:3rem;} }
@media (max-width:768px) {
  section{padding:70px 1.5rem;}
  .pricing-grid{grid-template-columns:1fr;}
  .steps-grid{grid-template-columns:1fr;}
  .steps-grid::before{display:none;}
  .footer-inner{grid-template-columns:1fr;gap:2.5rem;}
  .free-banner{grid-template-columns:1fr;}
  .book-cover{display:none;}
  .form-row{grid-template-columns:1fr;}
  #primary-menu{display:none;}
  .nav-toggle{display:flex;}
  .hero-ctas{flex-direction:column;}
  .footer-bottom{flex-direction:column;gap:0.5rem;text-align:center;}
  .inkwell-header{flex-direction:column;align-items:flex-start;gap:1rem;}
  .inkwell-tagline{text-align:left;max-width:100%;}
  .pricing-card{padding:2.5rem 1.8rem;}
  #site-nav{padding:0 1.5rem;}
  .books-grid{grid-template-columns:1fr;}
}
@media (max-width:480px) {
  .hero-title{font-size:2.6rem;}
  .modal{padding:2.5rem 1.5rem;}
  .free-banner{padding:2rem 1.5rem;}
}

/* ══════════════════════════════════════
   STANDARD PAGE TEMPLATE (page.php)
   ══════════════════════════════════════ */

.page-hero {
  position: relative;
  padding: 120px 2rem 60px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--vellum);
  margin: 0;
}

.page-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 2rem 100px;
}

.page-content {
  color: var(--ash-light);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.85;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--vellum);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

.page-content h2 { font-size: 1.8rem; }
.page-content h3 { font-size: 1.4rem; }
.page-content h4 { font-size: 1.1rem; font-family: 'Cormorant SC', serif; letter-spacing: 0.12em; }

.page-content p { margin: 0 0 1.4em; }

.page-content a {
  color: var(--teal-bright);
  text-decoration: underline;
  text-decoration-color: rgba(48,115,125,0.35);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.page-content a:hover { color: var(--vellum); }

.page-content ul,
.page-content ol {
  margin: 0 0 1.4em 1.5rem;
  padding: 0;
}
.page-content li { margin-bottom: 0.5em; }

.page-content blockquote {
  border-left: 2px solid var(--teal);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--ash-light);
  font-style: italic;
}

.page-content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.page-content strong { color: var(--vellum); font-weight: 600; }

/* WordPress alignment classes */
.page-content .alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.page-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.page-content .aligncenter { display: block; margin: 1.5rem auto; text-align: center; }
.page-content .wp-caption { max-width: 100%; }
.page-content .wp-caption-text { font-size: 0.82rem; color: var(--ash); text-align: center; margin-top: 0.4rem; }

/* Gutenberg blocks */
.page-content .wp-block-buttons { margin-bottom: 1.5rem; }
.page-content .wp-block-button__link {
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
