/* ============================================================
   DEVOTISM - styles.css
   Complete stylesheet for all pages
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Lato:wght@300;400&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --bg:         #F7F1E8;
  --ink:        #1C1813;
  --gold:       #B08D57;
  --gold-pale:  #F2E6CC;
  --gold-dark:  #7A5A2A;
  --ink-soft:   #4A3E2E;
  --ink-mute:   #8A7A62;
  --white:      #FFFDF8;
  --deep-ink:   #221A10;
  --border:     rgba(176,141,87,0.25);

  --font-head: 'EB Garamond', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;

  --base-size: 18px;
  --lh-body: 1.75;
  --max-prose: 680px;
  --max-page:  1200px;

  --h1: 42px;
  --h2: 32px;
  --h3: 24px;
  --h4: 20px;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] {
  --bg:        #1A1510;
  --ink:       #F0EAE0;
  --gold:      #C9A96E;
  --gold-pale: #2A2015;
  --gold-dark: #C9A96E;
  --ink-soft:  #C0AE96;
  --ink-mute:  #8A7A62;
  --white:     #241D14;
  --deep-ink:  #0E0B07;
  --border:    rgba(201,169,110,0.2);
}

/* ---- Font Size Overrides ---- */
[data-font="base"]   { font-size: 16px; }
[data-font="mid"]    { font-size: 19px; }
[data-font="large"]  { font-size: 22px; }

/* ---- Reset and Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: 0.01em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: var(--deep-ink);
  padding: 0.5rem 1rem;
  font-weight: 400;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ---- Headings ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold); }

strong { font-weight: 400; color: var(--ink); }
em { font-style: italic; }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
}
li { margin-bottom: 0.4rem; }

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

/* ---- Layout ---- */
.page-wrap {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 0 2rem;
}

.prose-wrap {
  max-width: var(--max-prose);
  margin: 0 auto;
}

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
}

.header-inner {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.site-logo .logo-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-logo .logo-tag {
  font-size: 0.65rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 400;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--gold); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Font toggle buttons */
.font-toggle {
  display: flex;
  gap: 2px;
}
.font-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-mute);
  cursor: pointer;
  padding: 3px 7px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  border-radius: 3px;
  transition: all 0.2s;
}
.font-btn:hover,
.font-btn.active {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Dark mode toggle */
.dark-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-mute);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.85rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}
.dark-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-soft);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 400;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 2rem;
  text-decoration: none;
  color: var(--ink);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--deep-ink);
  color: var(--ink-mute);
  margin-top: 6rem;
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-page);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-tagline {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(240,234,224,0.5);
  margin-bottom: 1rem;
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(138,122,98,0.7);
  margin: 0;
}
.footer-author {
  font-size: 0.78rem;
  color: rgba(138,122,98,0.5);
}

/* ---- SVG Ornament Dividers ---- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem auto;
  color: var(--gold);
  gap: 0;
}
.ornament-center {
  text-align: center;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  margin: 2.5rem 0;
}

/* ---- Gold Rule Divider ---- */
.gold-rule {
  border: none;
  border-top: 1px solid var(--gold);
  opacity: 0.35;
  margin: 2rem 0;
}

/* ---- Category Badge ---- */
.category-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 400;
}
.badge-manifestation {
  background: #EEE0C5;
  color: #6B4E1E;
}
.badge-meditation {
  background: #D6E4E0;
  color: #234D44;
}
.badge-wellness {
  background: #E0D6EA;
  color: #3D2655;
}
.badge-journaling {
  background: #E4DDD6;
  color: #4A3520;
}
[data-theme="dark"] .badge-manifestation { background: #3A2C10; color: #C9A96E; }
[data-theme="dark"] .badge-meditation    { background: #0F2820; color: #7CC4B2; }
[data-theme="dark"] .badge-wellness      { background: #1E1228; color: #B89FD4; }
[data-theme="dark"] .badge-journaling    { background: #281E14; color: #B89F8A; }

/* ---- Post Meta ---- */
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin: 0.75rem 0 1.5rem;
  flex-wrap: wrap;
}
.post-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ---- Post Card (blog index) ---- */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 16px rgba(176,141,87,0.08);
}
.post-card .card-category { margin-bottom: 0.75rem; }
.post-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  line-height: 1.25;
}
.post-card .card-meta {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
}
.post-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.post-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

/* ---- Blog Grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ---- Pull Quote ---- */
.pull-quote {
  max-width: var(--max-prose);
  margin: 2.5rem auto;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.pull-quote p {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

/* ---- Practice Box ---- */
.practice-box {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 2px 2px 0;
}
.practice-box .box-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-family: var(--font-body);
  margin-bottom: 0.6rem;
  display: block;
  font-weight: 400;
}
.practice-box p,
.practice-box li { color: var(--gold-dark); margin-bottom: 0.5rem; }
.practice-box ul { color: var(--gold-dark); }

/* ---- Try Now Box ---- */
.try-now-box {
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-radius: 2px;
}
.try-now-box .box-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 400;
}
.try-now-box p,
.try-now-box li { color: var(--gold-dark); margin-bottom: 0.5rem; }

/* ---- Pause Box ---- */
.pause-box {
  border: 1px solid var(--border);
  padding: 2rem;
  margin: 2.5rem auto;
  text-align: center;
  max-width: 540px;
  border-radius: 2px;
}
.pause-box .box-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  display: block;
}
.pause-box p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- Step Card ---- */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  margin-bottom: 1rem;
  border-radius: 2px;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  margin-top: 2px;
}
[data-theme="dark"] .step-number { color: var(--deep-ink); }
.step-body h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.step-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

/* ---- Drop Cap ---- */
.dropcap::first-letter {
  font-family: var(--font-head);
  font-size: 4.5rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.12em;
  padding-top: 0.08em;
  color: var(--gold);
}

/* ---- Article body ---- */
.article-body {
  max-width: var(--max-prose);
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

/* ---- Related Reads ---- */
.related-reads {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-top: 4rem;
}
.related-reads h3 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.related-list {
  list-style: none;
  padding: 0;
}
.related-list li {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.related-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.related-list a {
  font-family: var(--font-head);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.25rem;
  text-decoration: none;
  color: var(--ink);
}
.related-list a:hover { color: var(--gold); }
.related-list .why {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin: 0;
}

/* ---- Book Offer (bottom of posts) ---- */
.book-offer {
  background: var(--gold-pale);
  border: 1px solid rgba(176,141,87,0.3);
  padding: 2.5rem;
  margin-top: 4rem;
  border-radius: 2px;
  text-align: center;
}
.book-offer .offer-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}
.book-offer h3 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.book-offer p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 auto 1.5rem;
}
.book-offer .btn {
  display: inline-block;
  background: var(--gold);
  color: var(--deep-ink);
  padding: 0.75rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  transition: background 0.2s;
}
.book-offer .btn:hover { background: var(--gold-dark); color: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--deep-ink);
  padding: 0.75rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
}
.btn-outline:hover { background: var(--gold); color: var(--deep-ink); }

/* ---- Hero (Homepage) ---- */
.hero {
  background: var(--deep-ink);
  padding: 6rem 2rem;
  text-align: center;
}
.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
  font-style: italic;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(240,234,224,0.75);
  margin-bottom: 0;
  line-height: 1.7;
}
.hero .hero-sub {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(176,141,87,0.7);
  margin-bottom: 1.5rem;
}

/* ---- Signup Form ---- */
.signup-section {
  background: var(--deep-ink);
  padding: 0 2rem 5rem;
}
.signup-box {
  background: var(--white);
  max-width: 540px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 2px;
  border: 1px solid var(--border);
}
.signup-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.signup-box .form-note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 1.75rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238A7A62'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2rem;
  cursor: pointer;
}
.honeypot { display: none !important; }
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}
.thank-you {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.thank-you h3 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.thank-you p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* ---- Section labels ---- */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---- Homepage Sections ---- */
.section {
  padding: 5rem 2rem;
}
.section-narrow {
  padding: 4rem 2rem;
  max-width: var(--max-prose);
  margin: 0 auto;
}

/* ---- Category Cards ---- */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-page);
  margin: 0 auto;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}
.cat-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 16px rgba(176,141,87,0.08);
}
.cat-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  color: var(--gold);
}
.cat-card h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.cat-card p {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.6;
}

/* ---- About Teaser ---- */
.about-teaser {
  background: var(--gold-pale);
  border-top: 1px solid rgba(176,141,87,0.2);
  border-bottom: 1px solid rgba(176,141,87,0.2);
  padding: 4rem 2rem;
  text-align: center;
}
.about-teaser p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-dark);
  line-height: 1.6;
}

/* ---- Latest Posts section ---- */
.latest-section {
  padding: 5rem 2rem;
  max-width: var(--max-page);
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-header h2 { font-size: 1.6rem; }
.section-header a {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Search ---- */
.search-bar {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin-bottom: 2rem;
}
.search-bar input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px 0 0 2px;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
}
.search-bar button {
  padding: 0.65rem 1.25rem;
  background: var(--gold);
  border: none;
  color: var(--deep-ink);
  cursor: pointer;
  font-size: 0.85rem;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s;
}
.search-bar button:hover { background: var(--gold-dark); color: var(--white); }

/* Category filter */
.cat-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.cat-filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-mute);
  padding: 0.4rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  min-height: 140px;
  resize: vertical;
  transition: border-color 0.2s;
}
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---- Resources page ---- */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 2px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.resource-number {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
}
.resource-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.resource-info .resource-type {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
  display: block;
}
.resource-info p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

/* ---- Start Here page ---- */
.start-here-list {
  list-style: none;
  padding: 0;
  max-width: var(--max-prose);
  margin: 0 auto;
}
.start-item {
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.start-item:first-child { padding-top: 0; }
.start-item .start-num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}
.start-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.start-item h3 a {
  text-decoration: none;
  color: var(--ink);
}
.start-item h3 a:hover { color: var(--gold); }
.start-item p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin: 0;
}

/* ---- About page ---- */
.about-geometry {
  width: 120px;
  height: 120px;
  margin: 0 auto 2.5rem;
  color: var(--gold);
  opacity: 0.5;
}

/* ---- Category page ---- */
.cat-intro {
  max-width: var(--max-prose);
  margin: 0 auto 4rem;
  padding: 0 2rem;
}
.cat-hero {
  background: var(--deep-ink);
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
}
.cat-hero h1 { color: var(--gold); font-style: italic; }
.cat-hero p {
  color: rgba(240,234,224,0.65);
  font-size: 1rem;
  margin: 0.75rem auto 0;
  max-width: 500px;
}

/* ---- Legal pages ---- */
.legal-body {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 4rem 2rem;
}
.legal-body h1 {
  margin-bottom: 0.5rem;
}
.legal-body .last-updated {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  display: block;
}
.legal-body h2 {
  font-size: 1.2rem;
  margin: 2.5rem 0 0.75rem;
}
.legal-body p, .legal-body li {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  :root {
    --h1: 32px;
    --h2: 26px;
    --h3: 21px;
    --h4: 18px;
  }
  .resource-card { flex-direction: column; gap: 0.5rem; }
  .resource-number { font-size: 2rem; }
}

@media (max-width: 600px) {
  html { font-size: 16px; }
  .hero { padding: 4rem 1.25rem; }
  .signup-section { padding: 0 1.25rem 4rem; }
  .signup-box { padding: 1.75rem 1.25rem; }
  .section { padding: 3.5rem 1.25rem; }
  .latest-section { padding: 3.5rem 1.25rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cat-card { padding: 1.5rem 1.25rem; }
  .category-cards { grid-template-columns: 1fr 1fr; }
  .post-card { padding: 1.5rem; }
  .pull-quote p { font-size: 1.2rem; }
  .dropcap::first-letter { font-size: 3.5rem; }
  .about-teaser { padding: 3rem 1.25rem; }
  .header-inner { padding: 0 1.25rem; }
  .legal-body { padding: 3rem 1.25rem; }
  .step-card { padding: 1.25rem; gap: 1rem; }
}

/* ---- Print Styles ---- */
@media print {
  .site-header,
  .site-footer,
  .related-reads,
  .book-offer,
  .signup-section,
  .practice-box .box-label,
  .cat-filters,
  .search-bar { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  h1, h2, h3 { color: #000; }
  a { color: #000; text-decoration: none; }
  .article-body { max-width: 100%; }
  .pull-quote p { font-size: 14pt; }
  .practice-box, .try-now-box, .pause-box {
    border: 1pt solid #999;
    background: #f9f9f9;
    padding: 12pt;
  }
}
