/*
Theme Name: RISE Lifting Others
Theme URI: https://riseliftingothers.com
Author: Serenite Hope (The Eccentric Vox)
Author URI: https://riseliftingothers.com
Description: A warm, literary WordPress theme for RISELiftingOthers — featuring The Eccentric Vox publication and KINDWalk walking tours in Nassau, Bahamas. Rebuilt from the Hostinger Horizons site with matching palette, typography, hover effects, and scroll animations.
Version: 1.3.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riselifting
*/

/* ============================================================
   DESIGN TOKENS  (matched to the Horizons "Literary/Warm" theme)
   ============================================================ */
:root {
  --background: 40 33% 98%;
  --foreground: 20 14% 10%;

  --card: 0 0% 100%;
  --card-foreground: 20 14% 10%;

  --primary: 20 14% 15%;
  --primary-foreground: 40 33% 98%;

  --secondary: 40 20% 92%;
  --secondary-foreground: 20 14% 10%;

  --muted: 40 20% 92%;
  --muted-foreground: 25 5.3% 45%;

  --accent: 40 20% 92%;
  --accent-foreground: 20 14% 10%;

  --border: 20 10% 90%;
  --input: 20 10% 90%;
  --ring: 20 14% 10%;

  --radius: 0.75rem;

  /* Custom brand tokens */
  --text-primary: 20 14% 10%;
  --text-secondary: 25 5.3% 45%;
  --accent-primary: 43 74% 45%;     /* Gold / warm accent */
  --accent-kindwalk: 175 40% 35%;   /* KINDWalk teal */

  --font-display: 'Josefin Sans', sans-serif;
  --font-body: 'Alegreya', serif;
  --font-util: 'Outfit', sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

* { border-color: hsl(var(--border)); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-util);
  font-feature-settings: "rlig" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.literary-container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
  width: 100%;
}
@media (min-width: 640px)  { .literary-container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .literary-container { padding-inline: 2rem; } }

.section-spacing    { padding-block: 4rem; }
.section-spacing-lg { padding-block: 5rem; }
@media (min-width: 768px) {
  .section-spacing    { padding-block: 6rem; }
  .section-spacing-lg { padding-block: 8rem; }
}

.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; margin-inline: auto; }
.max-w-3xl { max-width: 48rem; margin-inline: auto; }
.max-w-4xl { max-width: 56rem; margin-inline: auto; }
.max-w-5xl { max-width: 64rem; margin-inline: auto; }

.bg-muted    { background-color: hsl(var(--muted) / 0.3); }
.bg-card     { background-color: hsl(var(--card)); }
.bg-secondary{ background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }

.text-gold { color: hsl(var(--accent-primary)); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding-inline: 2rem;
  font-family: var(--font-util);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.btn svg { width: 1.25rem; height: 1.25rem; }

.btn-gold {
  background-color: hsl(var(--accent-primary));
  color: #fff;
  box-shadow: 0 4px 14px -4px hsl(var(--accent-primary) / 0.5);
}
.btn-gold:hover {
  background-color: hsl(43 74% 38%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px hsl(var(--accent-primary) / 0.6);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover { background-color: #fff; color: #000; }

.btn-outline-dark {
  height: 3rem;
  background: transparent;
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--secondary-foreground) / 0.2);
  padding-inline: 1.5rem;
}
.btn-outline-dark:hover { background-color: hsl(var(--secondary-foreground) / 0.05); }

/* ============================================================
   HEADER  (sticky, blurred)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  transition: background-color 0.3s ease;
}
.site-nav {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; flex-direction: column; flex-shrink: 0; margin-right: 2rem; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  transition: opacity 0.2s ease;
}
.brand:hover .brand-name { opacity: 0.8; }
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  transition: color 0.2s ease;
}
.nav-link:hover { color: hsl(var(--foreground)); }
.nav-link.current-menu-item,
.nav-link.current_page_item,
.nav-link.active { color: hsl(var(--accent-primary)); }
.nav-link.current-menu-item::after,
.nav-link.current_page_item::after,
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-color: hsl(var(--accent-primary));
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  color: hsl(var(--foreground));
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.nav-cart:hover { opacity: 0.8; }

.nav-divider {
  width: 1px; height: 1.5rem;
  background-color: hsl(var(--border));
  margin-inline: 0.5rem;
}

/* Mobile menu */
.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: transparent; border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.mobile-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .mobile-actions { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid hsl(var(--border));
  padding: 1.5rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: hsl(var(--foreground) / 0.8);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-menu a:hover { background-color: hsl(var(--muted)); }
.mobile-menu a.current-menu-item {
  color: hsl(var(--accent-primary));
  background-color: hsl(var(--muted));
  font-weight: 600;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.hero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(var(--background)), transparent 60%);
}
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-block: 6rem;
}
.hero__title {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.hero__lead {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-inline: auto;
}
.hero__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-inline: auto;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .hero__cta { flex-direction: row; } }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}
.section-head p {
  font-size: 1.125rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-inline: auto;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.col-span-2 { grid-column: 1 / -1; }

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  transform: translateY(-0.25rem);
}
.feature-icon {
  display: inline-flex;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  color: hsl(var(--accent-primary));
  background-color: hsl(var(--accent-primary) / 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.feature-card:hover .feature-icon {
  background-color: hsl(var(--accent-primary));
  color: #fff;
}
.feature-icon svg { width: 2rem; height: 2rem; }
.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--card-foreground));
}
.feature-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  flex-grow: 1;
}
.feature-more {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  font-weight: 500;
  color: hsl(var(--accent-primary));
}
.feature-more svg { width: 1rem; height: 1rem; margin-left: 0.5rem; transition: transform 0.3s ease; }
.feature-card:hover .feature-more svg { transform: translateX(0.25rem); }

/* Tour (wide) card — split: white text left, image right */
.tour-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
@media (min-width: 768px) { .tour-card { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.tour-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  transform: translateY(-0.25rem);
}
.tour-card__text {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) { .tour-card__text { padding: 3rem; } }
.tour-card__text h3 { font-size: 2rem; margin-bottom: 1rem; color: hsl(var(--foreground)); }
.tour-card__text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}
.tour-card__media { position: relative; overflow: hidden; min-height: 16rem; }
.tour-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 500;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}
.tour-card__cta:hover { background-color: hsl(var(--primary) / 0.9); }
.tour-card__cta svg { width: 1rem; height: 1rem; }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.newsletter-box {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted) / 0.2));
}
.newsletter-box .icon { color: hsl(var(--accent-primary)); margin: 0 auto 2rem; width: 3rem; height: 3rem; }
.newsletter-box h2 { font-size: clamp(1.875rem, 5vw, 3rem); margin-bottom: 1.5rem; color: hsl(var(--foreground)); }
.newsletter-box p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 1.5rem; }
.about-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: hsl(var(--secondary-foreground) / 0.8);
  margin-bottom: 2rem;
}
.quote-card {
  background-color: hsl(var(--background));
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid hsl(var(--border));
}
@media (min-width: 768px) { .quote-card { padding: 4rem; } }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.6;
  color: hsl(var(--foreground));
}
.quote-attr { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.quote-attr .rule { width: 2.5rem; height: 1px; background-color: hsl(var(--accent-primary)); }
.quote-attr p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

/* ============================================================
   GENERIC PAGE / POST CONTENT
   ============================================================ */
.page-hero {
  padding-block: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--muted) / 0.3);
}
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero .meta { color: hsl(var(--muted-foreground)); font-size: 0.95rem; }

.content-area { padding-block: 4rem; }

.prose {
  max-width: 65ch;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.9);
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--font-display);
  color: hsl(var(--foreground));
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
.prose h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.prose h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.prose a { color: hsl(var(--accent-primary)); text-decoration: underline; text-underline-offset: 4px; transition: opacity 0.2s ease; }
.prose a:hover { opacity: 0.8; }
.prose blockquote {
  border-left: 4px solid hsl(var(--accent-primary) / 0.4);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: hsl(var(--foreground) / 0.8);
}
.prose img { border-radius: 1rem; margin: 2.5rem 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose code { background-color: hsl(var(--muted)); padding: 0.15rem 0.4rem; border-radius: 0.25rem; font-size: 0.9em; }
.prose hr { border: none; border-top: 1px solid hsl(var(--border)); margin: 3rem 0; }

/* Post cards (archive/blog) */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: 1fr 1fr 1fr; } }
.post-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.post-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-0.25rem); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.post-card__body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.post-card__body h3 a { transition: color 0.2s ease; }
.post-card__body h3 a:hover { color: hsl(var(--accent-primary)); }
.post-card__excerpt { font-family: var(--font-body); color: hsl(var(--muted-foreground)); font-size: 1rem; flex-grow: 1; }
.post-card__date { font-size: 0.8rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding-inline: 0.75rem;
  border-radius: 9999px; border: 1px solid hsl(var(--border));
  font-size: 0.9rem; transition: all 0.2s ease;
}
.pagination a:hover { background-color: hsl(var(--muted)); }
.pagination .current { background-color: hsl(var(--accent-primary)); color: #fff; border-color: transparent; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-top: 1px solid hsl(var(--border));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  display: block; margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}
.footer-brand .name:hover { color: hsl(var(--accent-primary)); }
.footer-brand .tag { font-family: var(--font-body); font-style: italic; font-size: 0.875rem; opacity: 0.8; margin-bottom: 1.5rem; }
.footer-brand .desc { font-size: 0.875rem; line-height: 1.6; opacity: 0.9; max-width: 28rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 1.5rem; opacity: 0.7;
}
.footer-col a { display: block; font-size: 0.875rem; opacity: 0.9; margin-bottom: 0.75rem; transition: color 0.2s ease, opacity 0.2s ease; }
.footer-col a:hover { color: hsl(var(--accent-primary)); }
.footer-social { display: flex; gap: 1.25rem; margin-top: 2rem; }
.footer-social a { opacity: 0.8; transition: color 0.2s ease; }
.footer-social a:hover { color: hsl(var(--accent-primary)); }
.footer-social svg { width: 1.25rem; height: 1.25rem; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom .copy { opacity: 0.7; }
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom .links a { opacity: 0.8; transition: color 0.2s ease; }
.footer-bottom .links a:hover { color: hsl(var(--accent-primary)); }

/* ============================================================
   SCROLL REVEAL  (replicates framer-motion whileInView)
   Hidden state is gated behind .reveal-ready, which main.js adds.
   If JS fails to run, content stays fully visible (fail-safe).
   ============================================================ */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-ready .reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-ready .reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-ready .reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-ready .reveal-right.is-visible { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal,
  .reveal-ready .reveal-left,
  .reveal-ready .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Accessibility */
.skip-link {
  position: absolute; left: -999px;
  background: hsl(var(--accent-primary)); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius); z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid hsl(var(--accent-primary)); outline-offset: 2px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.portrait-frame {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.18);
  filter: sepia(0.15);
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .about-intro { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.about-intro .lead {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
}
.about-intro p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.info-card:hover { box-shadow: 0 16px 28px -12px rgba(0,0,0,0.16); transform: translateY(-0.25rem); }
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  color: hsl(var(--accent-primary));
  background-color: hsl(var(--accent-primary) / 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.info-card:hover .info-icon { background-color: hsl(var(--accent-primary)); color: #fff; }
.info-icon svg { width: 2rem; height: 2rem; }
.info-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; color: hsl(var(--foreground)); }
.info-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; }
.mission-box {
  position: relative;
  overflow: hidden;
  background-color: hsl(var(--muted));
  border-radius: 2rem;
  padding: 2rem;
}
@media (min-width: 768px) { .mission-box { padding: 3rem; } }
.mission-box::before {
  content: "";
  position: absolute; top: -5rem; right: -5rem;
  width: 16rem; height: 16rem;
  background-color: hsl(var(--primary) / 0.05);
  border-radius: 9999px;
  filter: blur(48px);
  pointer-events: none;
}
.mission-box .inner { position: relative; z-index: 1; }
.mission-box h2 { font-size: 1.875rem; font-weight: 600; margin-bottom: 1.5rem; }
.mission-box p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .contact-card { padding: 4rem; } }
.contact-card h1 { margin-bottom: 2rem; }
.contact-card .prompt {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.4;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.contact-card p { font-family: var(--font-body); font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: hsl(var(--accent-primary));
  transition: opacity 0.2s ease;
  margin-bottom: 2rem;
}
.contact-email:hover { opacity: 0.8; }
.contact-email svg { width: 1.5rem; height: 1.5rem; }
.contact-email.teal { color: hsl(var(--accent-kindwalk)); }
.contact-rule { width: 4rem; height: 1px; background-color: hsl(var(--border)); margin: 2rem auto; }
.contact-note { font-style: italic; font-size: 1rem; }
.contact-sign {
  padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  font-family: var(--font-body); font-size: 1.25rem;
}
.contact-sign strong { font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   KINDWALK SHARED PAGE
   ============================================================ */
.kw-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kw-hero__bg { position: absolute; inset: 0; }
.kw-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.12; }
.kw-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.kw-hero__content { position: relative; z-index: 2; text-align: center; padding-block: 5rem; max-width: 56rem; }
.kw-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.875rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.kw-hero__content h1 {
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: #fff; line-height: 1.1; margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.kw-hero__content .tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: rgba(255,255,255,0.95);
  line-height: 1.5; margin-bottom: 3rem;
}
.btn-white { background:#fff; color:#000; font-weight:600; }
.btn-white:hover { background: rgba(255,255,255,0.9); box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3); transform: translateY(-0.25rem); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / 0.9); box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3); transform: translateY(-0.25rem); }

.kw-intro {
  background-color: hsl(var(--card));
  border-block: 1px solid hsl(var(--border));
}
.kw-intro p {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.9);
  text-align: center;
}
.zigzag { display: flex; flex-direction: column; gap: 6rem; }
.zigzag__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .zigzag__row { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.zigzag__img {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.2);
  aspect-ratio: 4/3;
}
.zigzag__img img { width: 100%; height: 100%; object-fit: cover; }
.zigzag__row.reverse .zigzag__img { order: -1; }
@media (min-width: 768px) { .zigzag__row.reverse .zigzag__img { order: 1; } }
.zigzag__text h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 1.5rem; }
.zigzag__text p {
  font-family: var(--font-body);
  font-size: 1.125rem; line-height: 1.8;
  color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem;
}

.kw-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .kw-highlights { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .kw-highlights { grid-template-columns: repeat(3,1fr); } }
.kw-highlight {
  height: 100%;
  background-color: hsl(var(--muted) / 0.3);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}
.kw-highlight:hover { border-color: hsl(var(--accent-primary) / 0.5); }
.kw-highlight .icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--accent-primary) / 0.1);
  color: hsl(var(--accent-primary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.kw-highlight .icon svg { width: 1.75rem; height: 1.75rem; }
.kw-highlight h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.kw-highlight p { color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }

.kw-cta { padding-block: 6rem; background-color: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); text-align: center; }
.kw-cta h2 { font-size: clamp(2.25rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.kw-cta p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto 2.5rem; }

/* ============================================================
   KINDWALK PRIVATE PAGE
   ============================================================ */
.kwp-hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kwp-hero__bg { position: absolute; inset: 0; }
.kwp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.kwp-hero__bg .ov1 { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.kwp-hero__bg .ov2 { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--background)), transparent 60%); }

.kwp-grid-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .kwp-grid-2 { grid-template-columns: 1fr 1fr; } }

.diff-cards { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .diff-cards { grid-template-columns: 1fr 1fr; } }
.diff-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.4);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}
.diff-card:hover { border-color: hsl(var(--accent-primary) / 0.3); }
.diff-card svg { width: 2rem; height: 2rem; color: hsl(var(--accent-primary)); margin-bottom: 1.5rem; }
.diff-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.diff-card p { font-family: var(--font-body); color: hsl(var(--muted-foreground)); line-height: 1.7; margin: 0; }

.kwp-feature {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  padding-block: 6rem;
  overflow: hidden;
}
.kwp-feature__bg { position: absolute; inset: 0; }
.kwp-feature__bg img { width: 100%; height: 100%; object-fit: cover; }
.kwp-feature__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.kwp-feature__content { position: relative; z-index: 2; color: #fff; max-width: 42rem; }
.kwp-feature__content h2 { font-size: clamp(2.25rem, 5vw, 3rem); color: #fff; margin-bottom: 1.5rem; }
.kwp-feature__content .sub { font-family: var(--font-body); font-style: italic; font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; }
.kwp-feature__content h3 {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem;
}
.kwp-feature__content h3 svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent-primary)); }
.kwp-feature__content .block { margin-bottom: 2rem; }
.kwp-feature__content .block p { font-family: var(--font-body); font-weight: 300; font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.8); }

.who-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.who-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.who-list .dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background-color: hsl(var(--accent-primary)); margin-top: 0.6rem; flex-shrink: 0; }
.who-list span.txt { font-size: 1.125rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.kwp-quote {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.6;
  color: hsl(var(--foreground));
  border-left: 2px solid hsl(var(--accent-primary));
  padding-left: 1.5rem; margin: 2rem 0 0;
}
.logistics-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.15);
  height: 100%;
}
@media (min-width: 768px) { .logistics-card { padding: 2.5rem; } }
.logistics-card h3 { font-size: 1.5rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid hsl(var(--border)); }
.logistics-list { list-style: none; padding: 0; margin: 0; }
.logistics-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.logistics-list svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--accent-primary)); flex-shrink: 0; margin-top: 0.15rem; }
.logistics-list .lbl { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.logistics-list .val { color: hsl(var(--muted-foreground)); }

.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.req-list svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent-primary)); flex-shrink: 0; margin-top: 0.2rem; }
.req-list span { font-size: 1.125rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }

.process-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process-step { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.process-step .num {
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; flex-shrink: 0;
  border-radius: 9999px;
  background-color: hsl(var(--accent-primary)); color: #fff;
  font-weight: 700; font-size: 0.875rem;
  border: 4px solid hsl(var(--background));
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.process-step .body { flex-grow: 1; padding: 1rem; border-radius: 0.75rem; border: 1px solid hsl(var(--border) / 0.5); background-color: hsl(var(--card)); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.process-step h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.process-step p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; }

.tally-wrap { background-color: hsl(var(--background)); border: 1px solid hsl(var(--border) / 0.5); border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.tally-wrap iframe { width: 100%; border: 0; display: block; }

.shared-cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem; border-radius: 9999px;
  background-color: hsl(var(--accent-primary) / 0.1);
  color: hsl(var(--accent-primary));
  margin-bottom: 1.5rem;
}
.shared-cta-icon svg { width: 2rem; height: 2rem; }

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: hsl(var(--accent-primary) / 0.1);
  color: hsl(var(--accent-primary));
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.875rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.terms-sections { display: flex; flex-direction: column; gap: 4rem; margin-top: 4rem; }
.terms-item { position: relative; padding-left: 1.5rem; border-left: 1px solid hsl(var(--accent-primary) / 0.3); }
@media (min-width: 768px) { .terms-item { padding-left: 2.5rem; } }
.terms-item .num {
  position: absolute; left: -1rem; top: -0.5rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 6vw, 3.75rem);
  color: hsl(var(--accent-primary) / 0.1);
  line-height: 0.8;
}
@media (min-width: 768px) { .terms-item .num { left: -1.5rem; } }
.terms-item h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 600; margin-bottom: 1.25rem; }
.terms-item p { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.8; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.terms-item p.emph { font-weight: 600; color: hsl(var(--foreground)); }
.terms-item ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.terms-item ul li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; }
.terms-item ul li .dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background-color: hsl(var(--accent-primary)); margin-top: 0.6rem; flex-shrink: 0; }
.terms-item ul li span { color: hsl(var(--muted-foreground)); }
.terms-updated { padding-top: 3rem; text-align: center; border-top: 1px solid hsl(var(--border) / 0.5); }
.terms-updated p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }

/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
/* staggered "masonry" feel on desktop, matching the original */
@media (min-width: 768px) {
  .reviews-grid > :nth-child(2) { margin-top: 2rem; }
  .reviews-grid > :nth-child(3) { margin-top: 4rem; }
}
.review-card {
  height: 100%;
  width: 100%;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.6);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 16px 30px -12px rgba(0,0,0,0.14);
  transform: translateY(-0.25rem);
  border-color: hsl(var(--accent-primary) / 0.4);
}
.review-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.review-avatar {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 9999px;
  background-color: hsl(var(--accent-primary) / 0.1);
  color: hsl(var(--accent-primary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-util);
  font-weight: 700; font-size: 1.125rem;
}
.review-author { font-family: var(--font-display); font-weight: 600; color: hsl(var(--foreground)); }
.review-time { font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.review-stars { display: flex; gap: 0.125rem; margin: 0.75rem 0 1rem; color: #E8B931; }
.review-stars svg { width: 1rem; height: 1rem; }
.review-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
.reviews-footer { margin-top: 4rem; text-align: center; color: hsl(var(--muted-foreground)); }
.reviews-footer .label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.reviews-footer .label svg { width: 1rem; height: 1rem; color: hsl(var(--accent-primary)); }
.reviews-footer p { font-size: 0.875rem; margin: 0; }

.reviews-intro-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 1024px) { .reviews-intro-grid { grid-template-columns: 5fr 7fr; } }
.reviews-intro-grid h2 { font-size: clamp(1.875rem,4vw,2.25rem); margin-bottom: 1rem; }
.reviews-intro-grid p { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.8; color: hsl(var(--muted-foreground)); margin: 0; }
.reviews-intro-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 16px 30px -12px rgba(0,0,0,0.18); aspect-ratio: 16/9; }
.reviews-intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   BOOK NOW PAGE
   ============================================================ */
.book-hero {
  position: relative;
  height: 40vh; min-height: 350px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border));
}
@media (min-width: 768px) { .book-hero { height: 50vh; min-height: 450px; } }
.book-hero__bg { position: absolute; inset: 0; }
.book-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.book-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.book-hero__content { position: relative; z-index: 2; text-align: center; max-width: 56rem; }
.book-hero__content h1 { color: #fff; font-size: clamp(2.5rem,6vw,3.5rem); margin-bottom: 1.5rem; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.book-hero__content p { font-size: clamp(1.25rem,2.5vw,1.5rem); color: #f3f4f6; font-weight: 500; line-height: 1.6; max-width: 48rem; margin: 0 auto; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }

.book-intro p { font-family: var(--font-body); font-size: clamp(1.125rem,2vw,1.25rem); line-height: 1.8; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.book-intro p.emph { font-weight: 500; color: hsl(var(--foreground)); }

/* FAQ accordion (native details/summary) */
.faq-box {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
@media (min-width: 768px) { .faq-box { padding: 2.5rem; } }
.faq-item { border-bottom: 1px solid hsl(var(--border) / 0.5); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-util);
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}
@media (min-width: 768px) { .faq-item summary { font-size: 1.25rem; } }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: hsl(var(--accent-primary)); }
.faq-item summary .chev {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  transition: transform 0.3s ease;
  color: hsl(var(--accent-primary));
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-answer {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  padding: 0 0 1.5rem;
}

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  height: 100%;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
  display: flex; flex-direction: column;
}
.price-card:hover { border-color: hsl(var(--accent-primary) / 0.5); }
.price-card h3 { font-family: var(--font-body); font-size: 1.5rem; margin-bottom: 1.25rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid hsl(var(--border) / 0.4); padding-bottom: 0.5rem; margin-bottom: 1rem; color: hsl(var(--muted-foreground)); }
.price-row .fee { font-weight: 600; color: hsl(var(--foreground)); }
.price-free { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.price-note {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem;
  background-color: hsl(var(--muted) / 0.5);
  padding: 0.75rem; border-radius: 0.5rem;
  margin-top: auto;
}
.price-note svg { width: 1rem; height: 1rem; color: hsl(var(--accent-primary)); flex-shrink: 0; margin-top: 0.15rem; }
.important-note {
  display: flex; align-items: flex-start; gap: 1rem;
  background-color: hsl(var(--accent-primary) / 0.1);
  border: 1px solid hsl(var(--accent-primary) / 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.important-note svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--accent-primary)); flex-shrink: 0; margin-top: 0.15rem; }
.important-note h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.important-note p { color: hsl(var(--muted-foreground)); margin: 0; }

/* Private tour CTA block */
.private-cta {
  border: 1px solid hsl(var(--accent-primary) / 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  background-color: hsl(var(--card));
  transition: border-color 0.3s ease;
}
@media (min-width: 768px) { .private-cta { padding: 3rem; } }
.private-cta:hover { border-color: hsl(var(--accent-primary) / 0.4); }
.private-cta__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .private-cta__grid { grid-template-columns: 7fr 5fr; } }
.private-cta h2 { font-size: clamp(1.875rem,4vw,2.25rem); margin-bottom: 1.5rem; }
.private-cta > .private-cta__grid > div > p.lead { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.8; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.private-bullets { list-style: none; padding: 0; margin: 0; }
.private-bullets li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.private-bullets svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--accent-primary)); flex-shrink: 0; margin-top: 0.15rem; }
.private-bullets span { color: hsl(var(--muted-foreground)); line-height: 1.6; }
.private-bullets strong { font-weight: 500; color: hsl(var(--foreground)); }
.private-cta__aside {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding-top: 2rem;
}
@media (min-width: 768px) { .private-cta__aside { border-top: none; border-left: 1px solid hsl(var(--border) / 0.5); padding-top: 0; padding-left: 2rem; } }
.private-cta__aside .q { font-family: var(--font-body); font-style: italic; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
.cta-elegant {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3rem; padding-inline: 1.75rem;
  border-radius: 9999px;
  background-color: hsl(var(--accent-primary));
  color: #fff; font-weight: 500;
  transition: all 0.2s ease;
}
.cta-elegant:hover { background-color: hsl(var(--accent-primary) / 0.9); box-shadow: 0 10px 20px -8px rgba(0,0,0,0.25); transform: translateY(-0.125rem); }

.next-box { text-align: center; display: flex; flex-direction: column; align-items: center; }
.next-box .check { width: 3rem; height: 3rem; color: #16a34a; margin-bottom: 1.5rem; }
.next-box h3 { font-size: clamp(1.5rem,3vw,1.875rem); margin-bottom: 1.5rem; }
.next-box p { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.8; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0; }

/* ============================================================
   BOOKS — archive list & detail
   ============================================================ */
.books-list { display: flex; flex-direction: column; gap: 3rem; max-width: 64rem; margin-inline: auto; }
.book-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 768px) { .book-row { flex-direction: row; } }
.book-row:hover {
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.16);
  transform: translateY(-0.25rem);
  border-color: hsl(var(--primary) / 0.2);
}
.book-row__cover { width: 100%; flex-shrink: 0; display: flex; justify-content: center; }
@media (min-width: 768px) { .book-row__cover { width: 30%; max-width: 220px; } }
.book-row__cover img { width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.2); }
.book-row__cover .ph {
  width: 100%; aspect-ratio: 2/3;
  background-color: hsl(var(--muted));
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground) / 0.4);
}
.book-row__cover .ph svg { width: 4rem; height: 4rem; }
.book-row__text { flex-grow: 1; padding-top: 0.5rem; }
.book-row__text h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 600; margin-bottom: 1rem; }
.book-row__text p { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.7; color: hsl(var(--foreground) / 0.8); margin: 0; }
.book-row__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; color: hsl(var(--accent-primary)); font-weight: 500; }
.book-row__more svg { width: 1rem; height: 1rem; transition: transform 0.3s ease; }
.book-row:hover .book-row__more svg { transform: translateX(0.25rem); }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: hsl(var(--muted-foreground)); font-weight: 500; transition: color 0.2s ease; margin-bottom: 2.5rem; }
.back-link:hover { color: hsl(var(--accent-primary)); }
.back-link svg { width: 1rem; height: 1rem; }

/* Book detail */
.book-detail { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .book-detail { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.book-detail__cover { position: relative; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 24px 50px -12px rgba(0,0,0,0.35); aspect-ratio: 2/3; max-width: 26rem; margin-inline: auto; background-color: hsl(var(--muted)); }
.book-detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-detail__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; line-height: 1.05; }
.book-detail__byline { font-family: var(--font-body); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.5rem); color: hsl(var(--muted-foreground)); margin-bottom: 2rem; }
.book-detail__meta { margin-bottom: 2.5rem; color: hsl(var(--muted-foreground)); }
.book-detail__meta p { margin-bottom: 0.4rem; }
.book-detail__meta .k { font-family: var(--font-display); font-weight: 600; color: hsl(var(--foreground)); }

/* Buy buttons (books + products) */
.buy-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.buy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3.5rem; padding-inline: 2rem;
  border-radius: var(--radius);
  font-family: var(--font-util); font-size: 1rem; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.buy-btn svg { width: 1.25rem; height: 1.25rem; }
.buy-btn-primary { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.buy-btn-primary:hover { background-color: hsl(var(--primary) / 0.9); }
.buy-btn-outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--foreground)); }
.buy-btn-outline:hover { background-color: hsl(var(--foreground)); color: hsl(var(--background)); }

.book-body, .product-body { margin-top: 1rem; }

/* ============================================================
   PRODUCTS — store grid & detail
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  display: flex; flex-direction: column; height: 100%;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover { box-shadow: 0 20px 30px -12px rgba(0,0,0,0.16); transform: translateY(-0.25rem); }
.product-card__img {
  position: relative;
  aspect-ratio: 2/3;
  background-color: hsl(var(--muted) / 0.4);
  display: flex; align-items: center; justify-content: center;
  padding: 0; overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__img .ph { color: hsl(var(--muted-foreground) / 0.4); }
.product-card__img .ph svg { width: 3rem; height: 3rem; }
.product-ribbon {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem; border-radius: 0.4rem;
}
.product-ribbon.sale { background-color: #dc2626; color:#fff; top: auto; }
.product-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-card__body h3 { font-family: var(--font-util); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.35rem; line-height: 1.3; }
.product-card__body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0 0 1.25rem; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid hsl(var(--border) / 0.6); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.product-price { font-family: var(--font-util); font-weight: 700; font-size: 1.125rem; }
.product-price .was { display: block; font-size: 0.75rem; font-weight: 400; color: hsl(var(--muted-foreground)); text-decoration: line-through; }
.product-card__btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border-radius: 9999px; padding: 0.5rem 1.1rem;
  font-size: 0.875rem; font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.product-card__btn:hover { background-color: hsl(var(--primary) / 0.85); }
.product-card__btn:active { transform: scale(0.96); }
.product-card__btn svg { width: 1rem; height: 1rem; }

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 2.5rem; } }
.product-detail__img {
  position: relative;
  border-radius: 0.75rem;
  background-color: hsl(var(--muted) / 0.3);
  border: 1px solid hsl(var(--border));
  display: flex; align-items: center; justify-content: center;
  height: 20rem; padding: 1.5rem; overflow: hidden;
}
@media (min-width: 768px) { .product-detail__img { height: 31rem; } }
.product-detail__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.15)); }
.product-detail__info { display: flex; flex-direction: column; }
.product-detail__info h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; }
.product-detail__info .sub { font-family: var(--font-body); font-style: italic; font-size: 1.125rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.product-detail__price { display: flex; align-items: baseline; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid hsl(var(--border)); }
.product-detail__price .now { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: hsl(var(--accent-primary)); }
.product-detail__price .was { font-size: 1.25rem; color: hsl(var(--muted-foreground)); text-decoration: line-through; }
.product-description { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.8; color: hsl(var(--text-secondary)); margin-bottom: 2rem; }
.product-description p { margin-bottom: 1rem; }

/* ============================================================
   WOOCOMMERCE  —  brand theming (Option A card style)
   Loaded site-wide; only applies on Woo pages.
   ============================================================ */
.woo-wrap .woocommerce-result-count { font-family: var(--font-util); color: hsl(var(--muted-foreground)); font-size: 0.9rem; }
.woo-wrap .woocommerce-ordering select { font-family: var(--font-util); border: 1px solid hsl(var(--border)); border-radius: 9999px; padding: 0.5rem 1rem; background: hsl(var(--card)); color: hsl(var(--foreground)); }

/* Page titles */
.woocommerce .woocommerce-products-header__title,
.woocommerce-page h1.entry-title,
.woo-wrap h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.25rem); color: hsl(var(--foreground)); margin-bottom: 2rem; }

/* ---------- SHOP / ARCHIVE GRID — WooCommerce default layout (no custom overrides) ---------- */

/* Sale badge */
.woocommerce span.onsale {
  background-color: #dc2626 !important;
  color: #fff !important;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: auto;
  min-width: auto;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  top: 0.75rem; left: 0.75rem; right: auto;
  margin: 0;
}

/* ---------- GLOBAL BUTTONS ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 9999px;
  font-family: var(--font-util);
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover { background-color: hsl(var(--primary) / 0.85); }

/* ---------- SINGLE PRODUCT ---------- */
.woocommerce div.product { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .woocommerce div.product { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.woocommerce div.product .woocommerce-product-gallery { margin: 0 !important; width: 100% !important; float: none !important; }
.woocommerce div.product .woocommerce-product-gallery__image img { border-radius: 0.75rem; }
.woocommerce div.product .summary { margin: 0 !important; width: 100% !important; float: none !important; }
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: hsl(var(--accent-primary));
  font-family: var(--font-util);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 1.5rem;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del { color: hsl(var(--muted-foreground)); font-weight: 400; font-size: 1.25rem; }
.woocommerce div.product .woocommerce-product-details__short-description {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: hsl(var(--text-secondary));
  margin-bottom: 2rem;
}
.woocommerce div.product form.cart { margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.woocommerce div.product form.cart .quantity input.qty {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.85rem 0.5rem;
  width: 4.5rem;
  font-family: var(--font-util);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  height: auto;
  padding: 0.95rem 2rem;
  font-size: 1rem;
}
.woocommerce div.product .product_meta { font-family: var(--font-util); font-size: 0.85rem; color: hsl(var(--muted-foreground)); margin-top: 1.5rem; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; border-bottom: 1px solid hsl(var(--border)); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: hsl(var(--border)) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-display);
  margin: 0 1.5rem 0 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: hsl(var(--muted-foreground)); padding: 1rem 0 !important; display: inline-block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: hsl(var(--accent-primary)); box-shadow: inset 0 -2px 0 hsl(var(--accent-primary)); }
.woocommerce div.product .woocommerce-Tabs-panel { font-family: var(--font-body); line-height: 1.8; color: hsl(var(--text-secondary)); padding-top: 1.5rem; }
.woocommerce div.product .woocommerce-Tabs-panel h2 { font-family: var(--font-display); color: hsl(var(--foreground)); }

/* Related / upsells */
.woocommerce .related, .woocommerce .upsells { grid-column: 1 / -1; margin-top: 3rem; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }

/* ---------- CART ---------- */
.woocommerce table.shop_table {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-family: var(--font-util);
}
.woocommerce table.shop_table th { font-family: var(--font-display); color: hsl(var(--foreground)); background: hsl(var(--muted) / 0.4); }
.woocommerce table.shop_table td { color: hsl(var(--foreground)); }
.woocommerce-cart table.cart img { width: 64px; border-radius: 0.5rem; }
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-cart .cart_totals h2 { font-family: var(--font-display); }
.woocommerce a.remove { color: hsl(var(--accent-primary)) !important; border-color: hsl(var(--accent-primary)); }
.woocommerce a.remove:hover { background: hsl(var(--accent-primary)) !important; color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-cart .cart_totals { float: none; width: 100%; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 1.05rem; }

/* ---------- CHECKOUT ---------- */
.woocommerce form .form-row label { font-family: var(--font-util); color: hsl(var(--foreground)); font-weight: 500; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce .select2-container .select2-selection {
  border: 1px solid hsl(var(--border)) !important;
  border-radius: var(--radius) !important;
  padding: 0.75rem 0.85rem !important;
  font-family: var(--font-util) !important;
  background: hsl(var(--card)) !important;
  color: hsl(var(--foreground)) !important;
  min-height: 3rem;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { outline: 2px solid hsl(var(--accent-primary)); outline-offset: 1px; }
.woocommerce-checkout #payment { background: hsl(var(--muted) / 0.4); border-radius: 1rem; }
.woocommerce-checkout #payment ul.payment_methods { border-color: hsl(var(--border)); }
.woocommerce-checkout #payment div.payment_box { background: hsl(var(--card)); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: hsl(var(--card)); }
.woocommerce-checkout-review-order table.shop_table { font-size: 0.95rem; }
.woocommerce #payment #place_order, .woocommerce-checkout #place_order { width: 100%; font-size: 1.05rem; padding: 1rem; }

/* ---------- NOTICES ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  border-top: none !important;
  border-radius: 0.75rem;
  font-family: var(--font-util);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1rem 1.25rem 1rem 2.5rem;
}
.woocommerce-message { box-shadow: inset 4px 0 0 hsl(var(--accent-kindwalk)); }
.woocommerce-info   { box-shadow: inset 4px 0 0 hsl(var(--accent-primary)); }
.woocommerce-error  { box-shadow: inset 4px 0 0 #dc2626; }
.woocommerce-message::before,
.woocommerce-info::before { color: hsl(var(--accent-primary)); }
.woocommerce-message a.button,
.woocommerce-info a.button { padding: 0.5rem 1.25rem; }

/* ---------- ACCOUNT ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul { border: 1px solid hsl(var(--border)); border-radius: 0.75rem; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid hsl(var(--border)); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { font-family: var(--font-util); padding: 0.85rem 1.1rem; display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: hsl(var(--muted) / 0.5); color: hsl(var(--accent-primary)); }

/* ============================================================
   BLOG — literary, text-forward (no images)
   ============================================================ */
.blog-header { text-align: center; margin-bottom: 4rem; }
.blog-header h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 1rem; }
.blog-header p { font-family: var(--font-body); font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 40rem; margin-inline: auto; }

.post-feed { max-width: 48rem; margin-inline: auto; display: flex; flex-direction: column; }
.post-entry {
  padding: 2.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}
.post-entry:first-child { padding-top: 0; }
.post-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.85rem;
}
.post-eyebrow .dot { width: 3px; height: 3px; border-radius: 9999px; background: hsl(var(--muted-foreground) / 0.6); }
.post-eyebrow a { color: hsl(var(--accent-primary)); }
.post-entry h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.post-entry h2 a { color: hsl(var(--foreground)); transition: color 0.2s ease; }
.post-entry h2 a:hover { color: hsl(var(--accent-primary)); }
.post-entry .excerpt {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.78);
  margin-bottom: 1.25rem;
}
.post-readmore {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.95rem;
  color: hsl(var(--accent-primary));
}
.post-readmore svg { width: 1rem; height: 1rem; transition: transform 0.25s ease; }
.post-entry:hover .post-readmore svg { transform: translateX(0.25rem); }

/* Single post */
.article-head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.article-head h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); line-height: 1.12; margin-bottom: 1.25rem; }
.article-meta {
  display: inline-flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 9999px; background: hsl(var(--muted-foreground) / 0.6); }
.article-body { max-width: 42rem; margin-inline: auto; }
.article-tags { max-width: 42rem; margin: 3rem auto 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tags a {
  font-family: var(--font-util); font-size: 0.8rem;
  background: hsl(var(--muted) / 0.6); color: hsl(var(--muted-foreground));
  padding: 0.35rem 0.85rem; border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.article-tags a:hover { background: hsl(var(--accent-primary)); color: #fff; }

/* ---------- You Might Also Like ---------- */
.related-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid hsl(var(--border));
}
.related-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 2.5rem;
  max-width: 64rem; margin-inline: auto;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: flex; flex-direction: column; height: 100%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.85rem;
  padding: 1.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.related-card:hover { box-shadow: 0 16px 28px -12px rgba(0,0,0,0.16); transform: translateY(-0.25rem); }
.related-card .date {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.related-card .date svg { width: 0.9rem; height: 0.9rem; }
.related-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; line-height: 1.25;
  margin-bottom: 0.85rem;
}
.related-card h3 a { color: hsl(var(--foreground)); transition: color 0.2s ease; }
.related-card h3 a:hover { color: hsl(var(--accent-primary)); }
.related-card .r-excerpt {
  font-family: var(--font-body);
  font-size: 1.0625rem; line-height: 1.6;
  color: hsl(var(--foreground) / 0.78);
  flex-grow: 1; margin-bottom: 1.5rem;
}
.related-card .r-btn {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: hsl(var(--accent-primary));
  transition: color 0.2s ease;
}
.related-card .r-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform 0.25s ease; }
.related-card:hover .r-btn svg { transform: translateX(0.25rem); }

/* ============================================================
   BOOK DETAIL — rich literary page sections
   ============================================================ */
.gold-em { color: hsl(var(--accent-primary)); font-style: italic; font-weight: inherit; }

.book-section { padding-block: 3.5rem; }
.book-section.alt { background: hsl(var(--muted) / 0.3); border-block: 1px solid hsl(var(--border) / 0.5); }
.book-section h2.book-h { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 1.75rem; }

/* opening headline / verse */
.book-headline {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  color: hsl(var(--foreground));
}
.book-verse { text-align: center; max-width: 42rem; margin-inline: auto; }
.book-verse p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 2;
  color: hsl(var(--foreground) / 0.85);
  margin: 0;
}
.book-verse p.stanza-gap { height: 1.2rem; }
.book-verse-tagline {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 40rem;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}
.book-smallcaps { text-align: center; max-width: 40rem; margin: 1.75rem auto 0; }
.book-smallcaps p {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(var(--accent-primary));
  line-height: 1.9;
  margin: 0;
}

/* about */
.book-about p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.85;
  color: hsl(var(--foreground) / 0.85);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.25rem;
}
.book-about p:last-child { margin-bottom: 0; }

/* what's inside */
.book-inside { max-width: 48rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1.75rem; }
.inside-item { border-left: 2px solid hsl(var(--accent-primary) / 0.4); padding-left: 1.25rem; }
.inside-item h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.4rem; }
.inside-item p { font-family: var(--font-body); color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }

/* for you if */
.book-foryou {
  max-width: 48rem; margin-inline: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.book-foryou ul { list-style: none; margin: 0; padding: 0; }
.book-foryou li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.9rem; }
.book-foryou li:last-child { margin-bottom: 0; }
.book-foryou li svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent-primary)); flex-shrink: 0; margin-top: 0.15rem; }
.book-foryou li span { color: hsl(var(--foreground) / 0.85); line-height: 1.5; }

/* dark pull-quote */
.book-pullquote { background: hsl(20 14% 11%); padding: 4rem 1.5rem; text-align: center; }
.book-pullquote .qmark { color: hsl(var(--accent-primary)); font-family: var(--font-display); font-size: 3rem; line-height: 1; display: block; margin-bottom: 0.5rem; }
.book-pullquote blockquote {
  margin: 0 auto; max-width: 46rem;
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.4; color: #fff;
}

/* reviews */
.book-reviews { max-width: 64rem; }
.book-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .book-reviews-grid { grid-template-columns: 1fr 1fr; } }
.book-review { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 0.85rem; padding: 1.5rem; }
.book-review p { font-family: var(--font-body); font-style: italic; font-size: 1.05rem; line-height: 1.6; color: hsl(var(--foreground) / 0.8); margin: 0; }

/* spirit / note two-col */
.book-twocol { max-width: 64rem; margin-inline: auto; display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .book-twocol { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.book-twocol h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 1.25rem; }
.book-twocol p { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.75; color: hsl(var(--muted-foreground)); margin: 0 0 1rem; }
.book-note-sign { font-family: var(--font-body); font-style: italic; color: hsl(var(--foreground) / 0.8); margin-top: 1.25rem; white-space: pre-line; }

/* tags */
.book-tags { max-width: 48rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.book-tags span { font-family: var(--font-util); font-size: 0.8rem; border: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); padding: 0.35rem 0.85rem; border-radius: 9999px; }

/* content warnings */
.book-warnings { max-width: 48rem; margin: 2rem auto 0; background: hsl(var(--muted) / 0.3); border: 1px solid hsl(var(--border)); border-radius: 0.85rem; padding: 1.5rem; }
.book-warnings h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; color: hsl(var(--muted-foreground)); margin-bottom: 0.6rem; }
.book-warnings p { font-size: 0.9rem; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }

/* ============================================================
   POST FOOTER — Ko-fi CTA + Social Share
   ============================================================ */
.post-footer { max-width: 42rem; margin-inline: auto; padding-top: 3rem; }

/* Ko-fi */
.kofi-cta {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid hsl(var(--border) / 0.6);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  margin-bottom: 2.5rem;
}
.kofi-cta .kofi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: hsl(var(--accent-primary) / 0.1);
  color: hsl(var(--accent-primary));
  margin: 0 auto 1.25rem;
}
.kofi-cta .kofi-icon svg { width: 1.5rem; height: 1.5rem; }
.kofi-cta p.kofi-invite {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.85);
  margin: 0 0 1.75rem;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
.kofi-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--accent-primary));
  color: hsl(var(--accent-primary));
  font-family: var(--font-util);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: transparent;
}
.kofi-btn:hover {
  background: hsl(var(--accent-primary));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px hsl(var(--accent-primary) / 0.5);
}
.kofi-btn svg { width: 1.1rem; height: 1.1rem; }

/* Social share */
.post-share { text-align: center; }
.post-share .share-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
  display: block;
}
.share-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: transparent;
  transition: all 0.2s ease;
}
.share-icon svg { width: 1.2rem; height: 1.2rem; }
.share-icon:hover { border-color: hsl(var(--accent-primary)); color: hsl(var(--accent-primary)); transform: translateY(-2px); }
.share-icon.facebook:hover  { border-color: #1877F2; color: #1877F2; }
.share-icon.twitter:hover   { border-color: #000; color: #000; }
.share-icon.pinterest:hover { border-color: #E60023; color: #E60023; }
.share-icon.linkedin:hover  { border-color: #0A66C2; color: #0A66C2; }
.share-icon.whatsapp:hover  { border-color: #25D366; color: #25D366; }
.share-icon.threads:hover   { border-color: #000; color: #000; }
.share-icon.email:hover     { border-color: hsl(var(--accent-primary)); color: hsl(var(--accent-primary)); }
