﻿/*
Theme Name: Simple Home Rehab
Theme URI: https://simplehomerehab.com/
Author: Codex
Description: Editable WordPress theme converted from a Hostinger Horizons export for Simple Home Rehab. Includes blog templates, resource and video libraries, menus, widgets, Customizer fields, and seeded starter content.
Version: 1.12.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: simple-home-rehab
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted: #737373;
  --primary: #8b2d2d;
  --secondary: #c91f42;
  --surface: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.42);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--foreground);
  background: var(--background);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(85px);
}
body::before {
  top: -15vw;
  left: -10vw;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(139, 45, 45, 0.09), transparent 70%);
}
body::after {
  right: -10vw;
  bottom: -18vw;
  width: 68vw;
  height: 68vw;
  background: radial-gradient(circle, rgba(201, 31, 66, 0.09), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { color: rgba(26, 26, 26, 0.72); line-height: 1.72; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: 0; margin: 0 0 1rem; }
.screen-reader-text { position:absolute; left:-9999px; }
.container-custom { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 2; }
@media (min-width: 640px) { .container-custom { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-custom { padding: 0 2rem; } }

.glass-card,
.glass-section {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
}
.glass-card { border-radius: 28px; overflow: hidden; }
.glass-section {
  background: linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,255,255,.14));
  border-left: 0;
  border-right: 0;
  box-shadow: var(--shadow-lg);
}
.glass-hover { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.glass-hover:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.78); box-shadow: var(--shadow-lg); }

.site-header { position: sticky; top: 0; z-index: 50; border-top: 0; }
.site-header-inner { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding: .55rem 0; }
.site-logo {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:.7rem .95rem .8rem;
  border-radius:22px;
  background:linear-gradient(180deg, #fff 0%, #fff7f7 100%);
  border:2px solid rgba(139,45,45,.2);
  box-shadow:0 16px 40px rgba(139,45,45,.14), 0 5px 14px rgba(0,0,0,.08);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-logo:hover {
  transform:translateY(-2px);
  border-color:rgba(139,45,45,.42);
  box-shadow:0 20px 46px rgba(139,45,45,.18), 0 8px 18px rgba(0,0,0,.1);
}
.site-logo img { width: auto; max-height: 92px; }
.site-logo .custom-logo { display:block; }
.primary-menu { list-style:none; display:none; align-items:center; gap:.25rem; margin:0; padding:0; }
.primary-menu a { display:block; padding:.7rem 1rem; border-radius:14px; color:rgba(26,26,26,.78); font-size:1.03rem; font-weight:700; transition: .2s ease; }
.primary-menu .current-menu-item > a,
.primary-menu a:hover { color:#fff; background: rgba(139,45,45,.92); box-shadow: var(--shadow-sm); }
.menu-toggle { border:0; border-radius:14px; background: rgba(255,255,255,.45); padding:.75rem; cursor:pointer; }
.mobile-menu-panel { display:none; padding:0 0 1rem; }
.mobile-menu-panel.is-open { display:block; }
.mobile-menu-panel .primary-menu { display:flex; flex-direction:column; align-items:stretch; }
@media (min-width: 1024px) {
  .primary-menu { display:flex; }
  .site-header-inner { justify-content:center; gap:clamp(3rem, 7vw, 6rem); }
  .menu-toggle, .mobile-menu-panel { display:none !important; }
}
@media (max-width: 640px) {
  .site-logo { padding:.45rem .55rem; border-radius:14px; }
  .site-logo img { max-height:64px; }
  .site-logo::after { left:10px; right:10px; bottom:5px; height:3px; }
}

.btn,
.button,
button[type='submit'],
input[type='submit'] {
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  border-radius:14px; border:1px solid rgba(255,255,255,.36);
  background: rgba(139,45,45,.92); color:#fff; font-weight:700;
  padding:.9rem 1.35rem; min-height:48px; cursor:pointer; box-shadow: var(--shadow-sm);
}
.btn.secondary { background: rgba(201,31,66,.92); }
.btn.outline { color: var(--foreground); background: rgba(255,255,255,.36); }
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:.45rem .9rem; font-size:.84rem; font-weight:700; background:rgba(255,255,255,.44); border:1px solid rgba(255,255,255,.44); color:var(--primary); }

.hero { min-height: calc(100vh - 112px); display:flex; align-items:center; padding:2.5rem 0 4rem; position:relative; overflow:hidden; }
.hero-grid { display:grid; gap:3rem; align-items:center; }
.hero h1 { font-size: clamp(3rem, 7vw, 6.6rem); font-weight:800; max-width: 900px; }
.hero p { font-size:1.25rem; max-width: 670px; font-weight:500; }
.hero-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top:2rem; }
.hero-image { padding:.75rem; border-radius:32px; transform: rotate(1deg); }
.hero-image img { width:100%; min-height: 340px; max-height: 520px; object-fit:cover; border-radius:26px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr .88fr; } }
@media (max-width: 760px) {
  .hero { min-height:auto; padding:2.25rem 0 3rem; }
}

.section { padding: 5.5rem 0; position:relative; z-index:1; }
.section-header { text-align:center; max-width:760px; margin:0 auto 3.5rem; }
.section-header h1 { font-size: clamp(3rem, 6vw, 5.6rem); font-weight:800; }
.section-header h2 { font-size: clamp(2.35rem, 4vw, 4.4rem); font-weight:800; }
.section-header p { font-size:1.2rem; font-weight:500; }
.about-page { padding:4rem 0 4.5rem; }
.about-hero {
  display:grid;
  gap:2.5rem;
  align-items:center;
  margin-bottom:3rem;
}
.about-copy h1 {
  font-size:clamp(3rem, 6vw, 5.7rem);
  font-weight:800;
  margin-top:1rem;
}
.about-copy p {
  max-width:760px;
  font-size:1.12rem;
  font-weight:500;
}
.about-lead {
  color:rgba(26,26,26,.84);
  font-size:1.25rem !important;
  font-weight:700 !important;
}
.about-photo {
  padding:.75rem;
  border-radius:30px;
}
.about-photo img {
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:contain;
  object-position:center bottom;
  border-radius:24px;
  background:#fff;
}
.about-focus-grid {
  margin-top:2rem;
}
.about-focus-grid .info-card {
  min-height:0;
}
.about-focus-grid h2 {
  font-size:clamp(1.7rem, 3vw, 2.35rem);
}
.about-note {
  margin-top:2rem;
  padding:1.25rem 1.5rem;
  border-left:4px solid var(--primary);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  box-shadow:var(--shadow-sm);
}
.about-note p {
  margin:0;
  color:rgba(26,26,26,.78);
  font-weight:600;
}
@media (min-width: 920px) {
  .about-hero { grid-template-columns:minmax(0, 1.1fr) minmax(320px, .72fr); }
}
@media (max-width: 760px) {
  .about-page { padding:3rem 0; }
}
.blog-page {
  background: linear-gradient(135deg, #fff 0%, #fffafa 58%, #f8eeee 100%);
  min-height: 80vh;
}
.blog-page .section-header { margin-bottom: 2.5rem; }
.blog-page .section-header h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.blog-filter-panel {
  max-width: 980px;
  margin: 0 auto 3.25rem;
  padding: 2rem;
  border-radius: 26px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(139,45,45,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.1);
}
.blog-filter-panel .search-form {
  margin-bottom: 1.5rem;
}
.blog-filter-panel .search-form button {
  display:none;
}
.blog-filter-panel .search-form input {
  max-width: 560px;
  margin: 0 auto;
  min-height: 48px;
  border-radius: 8px;
  font-size: .95rem;
}
.blog-category-row {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.65rem 1rem;
}
.blog-category-row .filter-link {
  border-radius: 6px;
  padding:.55rem .85rem;
  font-size:.82rem;
  background: transparent;
  box-shadow:none;
}
.blog-category-row .filter-link.active {
  background: var(--primary);
}
.posts-grid {
  display:grid;
  grid-template-columns: minmax(0, 360px);
  gap:2rem;
  align-items:start;
  justify-content:center;
  grid-auto-flow:row;
}
@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(2, minmax(280px, 360px)); }
}
@media (min-width: 920px) {
  .posts-grid { grid-template-columns: repeat(3, minmax(280px, 360px)); }
}
.posts-grid .blog-card {
  width:100%;
  max-width:360px;
  margin:0;
  align-self:start;
  justify-self:stretch;
  grid-column:auto !important;
  grid-row:auto !important;
}
.grid { display:grid; gap:1.5rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
@media (min-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.topics-grid {
  display:grid;
  grid-template-columns:minmax(0, 320px);
  gap:1.5rem;
  justify-content:center;
  align-items:start;
  max-width:1080px;
  margin:0 auto;
}
@media (min-width: 720px) {
  .topics-grid { grid-template-columns:repeat(2, minmax(260px, 320px)); }
}
@media (min-width: 980px) {
  .topics-grid { grid-template-columns:repeat(3, minmax(260px, 320px)); }
}
.topics-grid .icon-bubble { display:none; }
.topics-grid .info-card {
  width:100%;
  max-width:320px;
  height:auto;
  min-height:0;
  margin:0;
  align-self:start;
}
.featured-resource-grid {
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:stretch !important;
  gap:2rem !important;
  max-width:1120px !important;
  margin:0 auto !important;
}
.featured-resource-grid .resource-card {
  flex:0 1 320px !important;
  width:320px !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  align-self:stretch !important;
}
.resource-choice-grid,
.resource-list-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:1.5rem;
  margin:2.5rem auto;
}
@media (min-width: 800px) {
  .resource-choice-grid,
  .resource-list-grid { grid-template-columns:repeat(2, minmax(260px, 1fr)); }
  .resource-choice-grid--1 { grid-template-columns:minmax(280px, 560px); }
}
.resource-choice-grid .btn { background:var(--secondary); }
.page-content .resource-hub-choice {
  padding:2rem;
}
.resource-back-link {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin:0 0 1.15rem;
  color:var(--primary);
  font-weight:800;
  font-size:1rem;
  background:rgba(139,45,45,.08);
  border:1px solid rgba(139,45,45,.14);
  border-radius:999px;
  padding:.65rem 1rem;
}
.resource-back-link:hover {
  background:var(--primary);
  color:#fff;
}
.page-content > p:first-of-type a[href*="/patient-resources/"],
.page-content > p:first-of-type a[href*="/clinician-resources/"] {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin:0 0 1.15rem;
  color:var(--primary);
  font-weight:800;
  font-size:1rem;
  background:rgba(139,45,45,.08);
  border:1px solid rgba(139,45,45,.14);
  border-radius:999px;
  padding:.65rem 1rem;
}
.page-content > p:first-of-type a[href*="/patient-resources/"]:hover,
.page-content > p:first-of-type a[href*="/clinician-resources/"]:hover {
  background:var(--primary);
  color:#fff;
}
.resource-intro {
  max-width:900px;
  color:rgba(26,26,26,.9);
  font-size:1.22rem;
  font-weight:700;
  line-height:1.65;
  background:rgba(255,255,255,.72);
  border-left:5px solid var(--primary);
  border-radius:14px;
  box-shadow:var(--shadow-sm);
  padding:1rem 1.2rem;
}
.page-content > p:nth-of-type(2) {
  max-width:900px;
  color:rgba(26,26,26,.9);
  font-size:1.22rem;
  font-weight:700;
  line-height:1.65;
  background:rgba(255,255,255,.72);
  border-left:5px solid var(--primary);
  border-radius:14px;
  box-shadow:var(--shadow-sm);
  padding:1rem 1.2rem;
}

.info-card, .resource-card, .blog-card, .video-card { padding:1.65rem; height:100%; }
.help-card-link { display:block; }
.patient-resource-page {
  background: linear-gradient(135deg, #fff 0%, #fffafa 58%, #f8eeee 100%);
  border-radius: 0;
  padding: 3.25rem 0 4.5rem;
}
.clinician-resource-page {
  background: linear-gradient(135deg, #fff 0%, #fffafa 58%, #f8eeee 100%);
  border-radius: 0;
  padding: 3.25rem 0 4.5rem;
}
.patient-resource-page .section-header,
.clinician-resource-page .section-header {
  margin-bottom:2.25rem;
}
.patient-resource-page .section-header h1,
.clinician-resource-page .section-header h1 {
  font-size:clamp(2.7rem, 4.5vw, 4.8rem);
}
.patient-resource-page .section-header p,
.clinician-resource-page .section-header p {
  font-size:1.05rem;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}
.resource-page-grid {
  max-width:1180px;
  margin:0 auto;
  gap:1.25rem;
}
.patient-card,
.clinician-card {
  display:flex;
  flex-direction:column;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(139,45,45,.08);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  padding: 1.45rem;
  min-width:0;
}
.patient-card .icon-bubble,
.clinician-card .icon-bubble {
  display:none;
}
.patient-card h3,
.clinician-card h3 { font-size:1.05rem; margin-bottom:.65rem; }
.patient-card p,
.clinician-card p { font-size:.9rem; min-height:0; margin-bottom:1.15rem; }
.patient-card .btn,
.clinician-card .btn { width:100%; min-height:42px; padding:.7rem 1rem; border-radius:6px; font-size:.86rem; margin-top:auto; }
.patient-resource-page .patient-card .btn { background:rgba(201,31,66,.92); }
.patient-help {
  max-width:900px;
  margin: 2.5rem auto 0;
  padding: 2rem;
  border-radius: 28px;
  text-align:center;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(250,235,235,.86));
  border:1px solid rgba(255,255,255,.8);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
}
.clinician-stats {
  margin-top: 4rem;
  padding: 2.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(250,238,238,.9));
  box-shadow: 0 18px 42px rgba(0,0,0,.1);
}
.clinician-stats strong { display:block; font-size:2rem; color:var(--primary); margin-bottom:.25rem; }
.clinician-stats span { display:block; color:rgba(26,26,26,.74); font-size:.92rem; }
.resource-hub-choice {
  padding: 2rem;
  border-radius: 18px;
}
.resource-hub-choice .icon-bubble { display:none; }
.resource-hub-choice .btn { margin-top: 1rem; }
.icon-bubble { width:64px; height:64px; display:grid; place-items:center; border-radius:22px; color:var(--primary); background:rgba(255,255,255,.54); border:1px solid rgba(255,255,255,.48); margin-bottom:1.35rem; box-shadow: var(--shadow-sm); }
.info-card h3, .resource-card h3, .blog-card h3 { font-size:1.35rem; }
.resource-card, .blog-card, .video-card { padding:0; }
.card-media { aspect-ratio: 16/10; overflow:hidden; background:#eee; }
.card-media img { width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.resource-card:hover img, .blog-card:hover img, .video-card:hover img { transform: scale(1.045); }
.card-body { padding:1.45rem; }
.blog-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(139,45,45,.08);
  box-shadow: 0 18px 42px rgba(0,0,0,.1);
  overflow:hidden;
  height:auto !important;
  min-height:0;
}
.blog-card .card-media {
  aspect-ratio: 16/10;
  margin: 1.55rem 1.55rem 0;
  border-radius: 9px;
  max-height: 220px;
}
.blog-card .card-body { padding: 1.35rem 1.55rem 1.75rem; }
.blog-card .meta-row {
  gap: .8rem;
  margin-bottom: 1.15rem;
  font-size: .78rem;
}
.blog-card .badge {
  border-radius: 999px;
  padding: .28rem .62rem;
  font-size: .74rem;
  background: rgba(201,31,66,.12);
  border-color: rgba(139,45,45,.14);
  color: var(--primary);
}
.post-date {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  color:rgba(26,26,26,.56);
}
.post-date::before {
  content:'';
  width:14px;
  height:14px;
  display:inline-block;
  background: currentColor;
  opacity:.75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.blog-card h3 {
  color: var(--primary);
  font-size:1.28rem;
  line-height:1.35;
  margin-bottom:.85rem;
}
.blog-card p { font-size:.96rem; line-height:1.65; margin-bottom: 1.65rem; }
.read-article {
  display:inline-flex;
  align-items:center;
  gap:1rem;
  margin-top:.85rem;
  font-size:.9rem;
  font-weight:800;
  color:var(--primary);
}
.meta-row { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; margin-bottom:.85rem; color:var(--muted); font-weight:700; font-size:.9rem; }
.price-pill { margin-left:auto; color:#fff; background:var(--primary); padding:.3rem .7rem; border-radius:999px; }
.price-pill.free { background: var(--secondary); }

.filters { padding:2rem; border-radius:34px; margin: 0 auto 3.5rem; max-width: 1120px; }
.filter-row { display:flex; flex-wrap:wrap; gap:.7rem; margin:1rem 0 1.6rem; }
.filter-link { border-radius:999px; padding:.55rem .95rem; background:rgba(255,255,255,.45); border:1px solid rgba(255,255,255,.44); font-weight:700; color:rgba(26,26,26,.76); }
.filter-link.active, .filter-link:hover { background:var(--primary); color:#fff; }
.filter-link.secondary.active, .filter-link.secondary:hover { background:var(--secondary); }
.search-form { display:flex; gap:.7rem; max-width:680px; margin:0 auto 1.6rem; }
.search-form input, .contact-form input, .contact-form textarea, .contact-form select, .newsletter-form input {
  width:100%; border:1px solid rgba(255,255,255,.48); background:rgba(255,255,255,.66);
  border-radius:16px; padding:1rem 1.1rem; font:inherit; box-shadow: inset 0 2px 8px rgba(0,0,0,.03);
}
.contact-form label { display:block; margin-bottom:.4rem; font-weight:700; color:rgba(26,26,26,.78); }
.contact-form textarea { min-height:150px; resize:vertical; }
.contact-form input:not([type='submit']),
.contact-form textarea,
.contact-form select {
  border:1px solid rgba(139,45,45,.2);
  background:#f7f7f7;
  box-shadow:inset 0 1px 3px rgba(26,26,26,.04), 0 1px 0 rgba(255,255,255,.9);
  transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.contact-form input:not([type='submit']):hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color:rgba(139,45,45,.34);
  background:#fff;
}
.contact-form input:not([type='submit']):focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline:0;
  border-color:var(--secondary);
  background:#fff;
  box-shadow:0 0 0 4px rgba(201,31,66,.12);
}
.contact-form-7-wrap .wpcf7-form p { margin:0 0 1rem; }
.contact-form-7-wrap .wpcf7-form-control-wrap { display:block; }
.contact-form-7-wrap .wpcf7-submit {
  width:auto;
  border:0;
  border-radius:6px;
  padding:.85rem 1.2rem;
  color:#fff;
  background:var(--secondary);
  font-weight:800;
  cursor:pointer;
  box-shadow:var(--shadow-sm);
}
.contact-form-7-wrap .wpcf7-not-valid-tip { margin-top:.35rem; color:var(--primary); font-size:.86rem; }
.contact-form-7-wrap .wpcf7-response-output { margin:1rem 0 0 !important; padding:.85rem 1rem !important; border-radius:6px; }
.contact-form__hidden { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.contact-notice { margin-bottom:1rem; padding:1rem; border-radius:12px; }
.contact-notice--success { border-color: rgba(22,126,74,.28); background: rgba(22,126,74,.08); }
.contact-notice--error { border-color: rgba(201,31,66,.28); background: rgba(201,31,66,.08); }

.newsletter { max-width:900px; margin:0 auto; text-align:center; padding:2.5rem; border-radius:34px; }
.newsletter-form { display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:1.5rem; }
.newsletter-form input { max-width:360px; }
.site-footer { margin-top:5rem; border-bottom:0; }
.footer-grid { display:grid; gap:2rem; padding:3.5rem 0 2rem; }
.footer-grid-clean { align-items:start; }
.footer-grid h3 { margin-bottom:1rem; font-size:1.25rem; }
.footer-brand {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.footer-brand p,
.footer-connect p { max-width:420px; font-weight:500; }
.footer-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:.75rem; }
.footer-links a { color:rgba(26,26,26,.72); font-weight:700; transition:color .2s ease; }
.footer-links a:hover { color:var(--primary); }
.footer-logo {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1.25rem;
  padding:.75rem .9rem;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,247,247,.8));
  border:1px solid rgba(139,45,45,.18);
  box-shadow:0 14px 34px rgba(139,45,45,.12), 0 5px 14px rgba(0,0,0,.06);
}
.footer-logo img {
  width:auto;
  max-height:96px;
}
.youtube-bubble {
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  margin-top:.65rem;
  padding:.85rem 1.1rem .85rem .85rem;
  border-radius:999px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg, rgba(139,45,45,.96), rgba(201,31,66,.94));
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 16px 36px rgba(139,45,45,.22), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transition:transform .2s ease, box-shadow .2s ease;
}
.youtube-bubble:hover {
  transform:translateY(-2px);
  box-shadow:0 20px 44px rgba(139,45,45,.28), inset 0 1px 0 rgba(255,255,255,.3);
}
.youtube-bubble span {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.34);
  letter-spacing:.02em;
}
.footer-bottom { border-top:1px solid rgba(255,255,255,.32); padding:1.5rem 0 3rem; }
@media (min-width: 800px) { .footer-grid-clean { grid-template-columns:1.45fr 1fr 1.35fr; } }

.post-content { max-width: 820px; margin: 0 auto; font-size:1.1rem; }
.post-content img { border-radius:24px; box-shadow: var(--shadow-md); }

/* Individual blog article */
.single-article-page { padding: 0 0 5rem; }
.single-article { color:#292929; }
.article-hero {
  padding:4.5rem 1.25rem 0;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(253,247,247,.72));
  border-bottom:1px solid rgba(139,45,45,.08);
}
.article-reading-width { width:min(100%, 780px); margin:0 auto; }
.article-back-link {
  display:inline-flex;
  margin-bottom:2rem;
  color:var(--primary);
  font-size:.9rem;
  font-weight:800;
}
.article-category {
  display:table;
  margin-bottom:1rem;
  padding:.38rem .72rem;
  border:1px solid rgba(139,45,45,.17);
  border-radius:999px;
  background:rgba(139,45,45,.07);
  color:var(--primary);
  font-size:.76rem;
  font-weight:800;
}
.article-hero h1 {
  max-width:760px;
  margin:0;
  font-size:clamp(2.65rem, 5vw, 4.65rem);
  line-height:1.04;
  text-wrap:balance;
}
.article-deck {
  max-width:720px;
  margin:1.35rem 0 0;
  color:#555;
  font-size:1.22rem;
  line-height:1.65;
}
.article-byline {
  display:flex;
  align-items:center;
  gap:.9rem;
  margin-top:2rem;
  color:#555;
  font-size:.84rem;
}
.article-byline img {
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.article-byline div { display:flex; flex-direction:column; gap:.08rem; }
.article-byline strong,
.article-byline time { color:#1a1a1a; font-weight:800; }
.article-byline strong a { color:inherit; }
.article-byline .article-updated-date { margin-top:.18rem; color:var(--primary); font-size:.78rem; font-weight:800; }
.article-byline .article-updated-date time { color:inherit; }
.article-byline-divider { width:1px; height:30px; margin:0 .2rem; background:rgba(139,45,45,.18); }
.article-featured-image {
  width:min(100%, 1040px);
  margin:3rem auto 0;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:8px 8px 0 0;
  background:#eee;
  box-shadow:0 24px 55px rgba(41,27,27,.14);
}
.article-featured-image img { width:100%; height:100%; display:block; object-fit:cover; }
.article-content { padding:4rem 0 1rem; font-size:1.1rem; line-height:1.85; }
.article-content > :first-child { margin-top:0; }
.article-content p,
.article-content ul,
.article-content ol { margin-bottom:1.45rem; }
.article-content h2 { margin:3rem 0 1rem; font-size:2rem; line-height:1.2; }
.article-content h3 { margin:2.25rem 0 .8rem; font-size:1.45rem; line-height:1.3; }
.article-content ul,
.article-content ol { padding-left:1.4rem; }
.article-content li { margin-bottom:.55rem; }
.article-content img { max-width:100%; height:auto; border-radius:8px; box-shadow:var(--shadow-md); }
.article-content blockquote {
  margin:2.25rem 0;
  padding:1.35rem 1.5rem;
  border-left:4px solid var(--primary);
  background:rgba(139,45,45,.055);
  font-size:1.12rem;
  font-weight:700;
}
.article-video-feature {
  margin:2.75rem 0 3.25rem;
  overflow:hidden;
  border:1px solid rgba(139,45,45,.12);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 42px rgba(0,0,0,.09);
}
.article-video-feature > a {
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(240px, .9fr);
  align-items:stretch;
  color:inherit;
}
.article-video-thumbnail {
  position:relative;
  display:block;
  min-height:260px;
  overflow:hidden;
  background:#eee;
}
.article-video-thumbnail img { width:100%; height:100%; display:block; object-fit:cover; }
.article-video-play {
  position:absolute;
  top:50%;
  left:50%;
  width:64px;
  height:64px;
  border-radius:50%;
  background:rgba(201,31,66,.94);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  transform:translate(-50%, -50%);
}
.article-video-play::after {
  content:'';
  position:absolute;
  top:50%;
  left:53%;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:16px solid #fff;
  transform:translate(-50%, -50%);
}
.article-video-copy { display:flex; flex-direction:column; justify-content:center; padding:1.6rem; }
.article-video-copy > span { color:var(--secondary); font-size:.76rem; font-weight:900; text-transform:uppercase; }
.article-video-copy h2 { margin:.55rem 0 1.2rem; font-size:1.55rem; line-height:1.25; }
.article-video-copy strong { color:var(--secondary); font-size:.9rem; }
.article-medical-note {
  margin:2.5rem 0 3.5rem;
  padding:1.35rem 1.5rem;
  border-left:4px solid var(--primary);
  border-radius:0 8px 8px 0;
  background:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.07);
}
.article-medical-note strong { display:block; margin-bottom:.35rem; color:var(--primary); font-size:1.05rem; }
.article-medical-note p { margin:0; color:#555; font-size:.94rem; line-height:1.65; }
.article-author-box {
  display:grid;
  grid-template-columns:130px minmax(0, 1fr);
  gap:1.5rem;
  align-items:center;
  padding:1.6rem;
  border:1px solid rgba(139,45,45,.12);
  border-radius:8px;
  background:rgba(255,255,255,.76);
  box-shadow:0 16px 38px rgba(0,0,0,.08);
}
.article-author-box img { width:130px; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.article-author-box span { color:var(--primary); font-size:.76rem; font-weight:900; text-transform:uppercase; }
.article-author-box h2 { margin:.3rem 0 .65rem; font-size:1.65rem; }
.article-author-box p { margin:0 0 .65rem; color:#555; font-size:.94rem; line-height:1.6; }
.article-author-box a { color:var(--primary); font-size:.88rem; font-weight:800; }
.article-author-links { display:flex; flex-wrap:wrap; gap:.65rem 1.25rem; }
.article-post-navigation {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1rem;
  margin:3rem 0 0;
  padding-top:2rem;
  border-top:1px solid rgba(139,45,45,.13);
}
.article-post-navigation > div:last-child { text-align:right; }
.article-post-navigation span { display:block; margin-bottom:.3rem; color:#777; font-size:.76rem; font-weight:700; text-transform:uppercase; }
.article-post-navigation a { color:var(--primary); font-weight:800; }
.article-conversation { margin-top:4rem; padding-top:3rem; border-top:1px solid rgba(139,45,45,.13); }
.article-conversation-heading > span { color:var(--primary); font-size:.76rem; font-weight:900; text-transform:uppercase; }
.article-conversation-heading h2 { margin:.35rem 0 .6rem; font-size:2rem; }
.article-conversation-heading p { max-width:650px; margin:0 0 2rem; color:#555; line-height:1.65; }
.comment-list { margin:0 0 2.5rem; padding:0; list-style:none; }
.comment-list .comment { margin-bottom:1rem; padding:1.25rem; border:1px solid rgba(139,45,45,.1); border-radius:8px; background:#fff; }
.comment-list .children { margin:1rem 0 0 1rem; padding:0; list-style:none; }
.comment-author { display:flex; align-items:center; gap:.65rem; }
.comment-author img { border-radius:50%; }
.comment-metadata { margin:.35rem 0 .75rem; font-size:.78rem; }
.comment-content p { margin:.5rem 0; line-height:1.65; }
.comment-respond { padding:1.5rem; border-radius:8px; background:rgba(255,255,255,.74); box-shadow:0 14px 35px rgba(0,0,0,.07); }
.comment-reply-title { margin:0 0 .65rem; font-size:1.5rem; }
.comment-form label { display:block; margin-bottom:.35rem; font-weight:800; }
.comment-form input:not([type="checkbox"]),
.comment-form textarea { width:100%; border:1px solid rgba(139,45,45,.18); border-radius:6px; background:#fff; }
.comment-form textarea { min-height:150px; }
.comment-form .submit { border:0; border-radius:6px; padding:.85rem 1.2rem; background:var(--primary); color:#fff; font-weight:800; cursor:pointer; }
.comment-notes { color:#666; font-size:.88rem; }
@media (max-width: 700px) {
  .article-hero { padding-top:2.75rem; }
  .article-hero h1 { font-size:2.55rem; }
  .article-deck { font-size:1.05rem; }
  .article-byline { align-items:flex-start; flex-wrap:wrap; }
  .article-byline-divider { display:none; }
  .article-featured-image { margin-top:2rem; }
  .article-content { padding-top:2.75rem; font-size:1rem; }
  .article-video-feature > a { grid-template-columns:1fr; }
  .article-video-thumbnail { min-height:0; aspect-ratio:16 / 9; }
  .article-video-copy { padding:1.3rem; }
  .article-video-copy h2 { font-size:1.35rem; }
  .article-author-box { grid-template-columns:82px minmax(0, 1fr); align-items:start; padding:1.2rem; }
  .article-author-box img { width:82px; }
  .article-author-box h2 { font-size:1.3rem; }
  .article-post-navigation { grid-template-columns:1fr; }
  .article-post-navigation > div:last-child { text-align:left; }
}
.pagination { display:flex; justify-content:center; gap:.75rem; margin-top:3rem; }
.pagination .page-numbers { padding:.7rem .9rem; border-radius:12px; background:rgba(255,255,255,.5); font-weight:700; }
.pagination .current { background:var(--primary); color:#fff; }
.wp-caption, .aligncenter { margin-left:auto; margin-right:auto; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(34px);
  padding: 0 0 1.25rem;
}
.woocommerce ul.products li.product a img { margin: 0 0 1rem; aspect-ratio: 16/10; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price { padding: 0 1.25rem; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius:14px;
  background: rgba(139,45,45,.92);
  color:#fff;
  font-weight:700;
}
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-tabs,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  border-radius: 28px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.video-actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1rem; }
.video-actions .btn { flex:1 1 150px; padding:.75rem 1rem; min-height:42px; font-size:.92rem; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.72);
}
.video-modal.is-open { display:flex; }
.video-modal__dialog { width:min(980px, 96vw); }
.video-modal__frame { aspect-ratio:16/9; overflow:hidden; border-radius:24px; background:#000; }
.video-modal__frame iframe { width:100%; height:100%; display:block; }
.video-modal__close { margin:0 0 .75rem auto; display:flex; }

/* Final blog archive guard: keep posts in compact cards, never feature-sized. */
.blog-page .posts-grid {
  display:grid !important;
  grid-template-columns:minmax(0, 360px) !important;
  gap:2rem !important;
  align-items:start !important;
  justify-content:center !important;
}
@media (min-width: 640px) {
  .blog-page .posts-grid { grid-template-columns:repeat(2, minmax(280px, 360px)) !important; }
}
@media (min-width: 920px) {
  .blog-page .posts-grid { grid-template-columns:repeat(3, minmax(280px, 360px)) !important; }
}
.blog-page .posts-grid .blog-card,
.blog-page .posts-grid .blog-card a {
  width:100% !important;
  max-width:360px !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  align-self:start !important;
  justify-self:stretch !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
.blog-page .posts-grid .blog-card .card-media {
  aspect-ratio:16/10 !important;
  height:auto !important;
  max-height:220px !important;
}

/* Final video archive guard: keep the video library in compact, even rows. */
.video-library-page .video-grid,
.video-grid {
  display:grid !important;
  grid-template-columns:minmax(0, 300px) !important;
  gap:2rem !important;
  align-items:start !important;
  justify-content:center !important;
  grid-auto-flow:row !important;
  max-width:1030px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
@media (min-width: 700px) {
  .video-library-page .video-grid,
  .video-grid { grid-template-columns:repeat(2, minmax(260px, 300px)) !important; }
}
@media (min-width: 900px) {
  .video-library-page .video-grid,
  .video-grid { grid-template-columns:repeat(3, minmax(260px, 300px)) !important; }
}
.video-library-page .video-card,
.video-grid .video-card {
  width:100% !important;
  max-width:300px !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  align-self:start !important;
  justify-self:stretch !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
.video-library-page .video-card .card-media,
.video-grid .video-card .card-media {
  aspect-ratio:16/9 !important;
  height:auto !important;
  max-height:170px !important;
}
.video-library-page .video-card .card-body,
.video-grid .video-card .card-body {
  padding:1.15rem 1.25rem 1.35rem !important;
}

/* Books */
.book-kicker {
  display:inline-block;
  color:var(--primary);
  font-size:.82rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.books-library-page,
.book-sales-page { background:#fff; color:var(--foreground); }
.books-library-intro {
  padding:4.5rem 0 3.5rem;
  text-align:center;
  border-bottom:1px solid rgba(139,45,45,.1);
  background:#fbf8f8;
}
.books-library-intro h1 {
  max-width:850px;
  margin:1rem auto;
  font-size:4.25rem;
  font-weight:800;
}
.books-library-intro p {
  max-width:720px;
  margin:0 auto;
  font-size:1.16rem;
  font-weight:500;
}
.books-library-content { padding:4.5rem 0 5.5rem; }
.book-library-feature {
  display:grid;
  grid-template-columns:minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items:center;
  gap:4.5rem;
  max-width:1080px;
  margin:0 auto;
  padding:3rem;
  border:1px solid rgba(139,45,45,.14);
  border-radius:8px;
  background:#fff;
  box-shadow:0 28px 70px rgba(35,20,20,.12);
  transition:transform .25s ease, box-shadow .25s ease;
}
.book-library-feature:hover {
  transform:translateY(-4px);
  box-shadow:0 34px 80px rgba(35,20,20,.16);
}
.book-library-visual {
  display:grid;
  place-items:center;
  min-height:520px;
  perspective:1300px;
}
.book-library-object {
  position:relative;
  width:290px;
  aspect-ratio:2 / 3;
  transform:rotateY(-14deg) rotateX(2deg);
  transform-style:preserve-3d;
  filter:drop-shadow(30px 28px 24px rgba(30,15,15,.28));
}
.book-library-object::before,
.book-3d-object::before {
  content:'';
  position:absolute;
  top:5px;
  bottom:5px;
  left:-24px;
  width:26px;
  background:linear-gradient(90deg, #4f0609, #8b1018 55%, #3a0305);
  transform:rotateY(-72deg);
  transform-origin:right center;
  z-index:-1;
}
.book-library-object::after,
.book-3d-object::after {
  content:'';
  position:absolute;
  left:4px;
  right:2px;
  bottom:-13px;
  height:14px;
  background:repeating-linear-gradient(0deg, #eee 0, #eee 2px, #d6d2cd 3px);
  transform:skewX(-38deg);
  transform-origin:top left;
  z-index:-1;
}
.book-library-object img,
.book-3d-object img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:2px 5px 5px 2px;
  box-shadow:inset -2px 0 0 rgba(255,255,255,.28);
}
.book-library-copy h2 {
  margin:.8rem 0 .85rem;
  font-size:3.25rem;
  font-weight:800;
}
.book-library-subtitle {
  color:var(--primary);
  font-size:1.26rem;
  font-weight:700;
}
.book-library-copy > p:not(.book-library-subtitle) { font-size:1.05rem; }
.book-available,
.book-direct-badge {
  display:inline-flex;
  padding:.4rem .7rem;
  border-radius:999px;
  color:#fff;
  background:var(--primary);
  font-size:.76rem;
  font-weight:800;
}
.book-library-meta,
.book-format-row {
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:1.3rem 0 1.6rem;
}
.book-library-meta span,
.book-format-row span {
  padding:.48rem .7rem;
  border:1px solid rgba(139,45,45,.18);
  border-radius:6px;
  background:#fbf6f6;
  color:rgba(26,26,26,.8);
  font-size:.82rem;
  font-weight:700;
}

/* Book collection gateways */
.book-collections-page {
  padding:5rem 0 6rem;
  overflow:hidden;
  background:#fff9f9;
}
.book-collections-header {
  max-width:760px;
  margin:0 auto 3.25rem;
  text-align:center;
}
.book-collections-header h1 {
  margin:.7rem 0 .8rem;
  font-size:clamp(3rem, 6vw, 5.4rem);
  line-height:1;
}
.book-collections-header p {
  margin:0;
  color:rgba(26,26,26,.68);
  font-size:1.15rem;
  font-weight:600;
}
.book-collection-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:2rem;
  max-width:1040px;
  margin:0 auto;
}
.book-collection-card {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  padding:2.25rem 2rem 2rem;
  border:1px solid rgba(139,45,45,.12);
  border-radius:8px;
  background:rgba(255,255,255,.78);
  box-shadow:0 22px 55px rgba(44,23,23,.1);
  text-align:center;
}
.book-collection-cover-stage {
  --depth-tilt-x:0deg;
  --depth-tilt-y:0deg;
  --depth-shift-x:0px;
  --depth-shift-y:0px;
  display:grid;
  place-items:center;
  width:100%;
  min-height:390px;
  perspective:1100px;
}
.book-collection-cover {
  position:relative;
  display:block;
  width:210px;
  aspect-ratio:2 / 3;
  transform:rotateX(var(--depth-tilt-x)) rotateY(calc(-12deg + var(--depth-tilt-y))) translate3d(var(--depth-shift-x), var(--depth-shift-y), 0);
  transform-style:preserve-3d;
  transition:transform .18s ease;
  filter:drop-shadow(24px 25px 20px rgba(30,15,15,.26));
}
.book-collection-cover-copy {
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:2rem 1.35rem 1.5rem 2rem;
  border:1px solid rgba(139,45,45,.16);
  border-radius:2px 6px 6px 2px;
  background:#fff;
  text-align:left;
}
.book-collection-cover-copy small {
  color:var(--primary);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.book-collection-cover-copy strong {
  margin:auto 0;
  font-size:1.65rem;
  line-height:1.08;
}
.book-collection-cover-copy i {
  display:block;
  width:64px;
  height:7px;
  margin-bottom:.8rem;
  background:var(--secondary);
}
.book-collection-cover-copy b {
  color:rgba(26,26,26,.78);
  font-size:.78rem;
  line-height:1.35;
  text-transform:uppercase;
}
.book-collection-spine {
  position:absolute;
  z-index:1;
  top:3px;
  bottom:3px;
  left:-17px;
  width:18px;
  border-radius:2px 0 0 2px;
  background:#8b2d2d;
  transform:rotateY(-88deg);
  transform-origin:right center;
}
.book-collection-pages {
  position:absolute;
  z-index:1;
  top:6px;
  right:-9px;
  bottom:6px;
  width:10px;
  border-right:1px solid #d3cfca;
  background:repeating-linear-gradient(90deg, #f7f3ee 0, #f7f3ee 2px, #ddd7d0 3px);
  transform:rotateY(88deg);
  transform-origin:left center;
}
.book-collection-clinical .book-collection-cover-copy,
.clinical-playbook-cover .book-collection-cover-copy {
  border-top:14px solid var(--secondary);
  background:#f4f4f4;
}
.book-collection-clinical .book-collection-cover-copy strong { font-size:1.75rem; }
.clinical-playbook-cover .book-collection-cover-copy strong { font-size:2rem; }
.book-collection-card h2 {
  max-width:410px;
  margin:.35rem 0 .5rem;
  font-size:1.75rem;
  line-height:1.18;
}
.book-collection-card > p {
  min-height:48px;
  margin:0 0 1.3rem;
  color:rgba(26,26,26,.66);
  font-size:1.02rem;
  font-weight:650;
}
.book-collection-card > .btn { margin-top:auto; }

.audience-book-library {
  min-height:70vh;
  padding:4.5rem 0 6rem;
  background:#fff9f9;
}
.audience-book-library-header {
  max-width:880px;
  margin:0 auto 3rem;
  text-align:center;
}
.audience-book-library-header .book-back-link {
  display:table;
  margin:0 auto 2.25rem;
}
.audience-book-library-header h1 {
  margin:.7rem auto 0;
  font-size:clamp(3rem, 6vw, 5rem);
  line-height:1;
}
.audience-book-grid { max-width:1000px; margin:0 auto; }
.audience-book-card {
  display:grid;
  grid-template-columns:330px minmax(0, 1fr);
  align-items:center;
  gap:3.25rem;
  padding:2.5rem;
  border:1px solid rgba(139,45,45,.12);
  border-radius:8px;
  background:#fff;
  box-shadow:0 24px 60px rgba(44,23,23,.1);
}
.audience-book-object {
  --depth-tilt-x:0deg;
  --depth-tilt-y:0deg;
  --depth-shift-x:0px;
  --depth-shift-y:0px;
  display:grid;
  place-items:center;
  min-height:410px;
  perspective:1100px;
}
.audience-book-cover {
  position:relative;
  display:block;
  width:225px;
  aspect-ratio:2 / 3;
  transform:rotateX(var(--depth-tilt-x)) rotateY(calc(-12deg + var(--depth-tilt-y))) translate3d(var(--depth-shift-x), var(--depth-shift-y), 0);
  transform-style:preserve-3d;
  transition:transform .18s ease;
  filter:drop-shadow(24px 25px 20px rgba(30,15,15,.25));
}
.audience-book-cover img { width:100%; height:100%; border-radius:2px 6px 6px 2px; object-fit:cover; }
.audience-book-spine {
  position:absolute;
  top:3px;
  bottom:3px;
  left:-17px;
  width:18px;
  background:#8b1018;
  transform:rotateY(-88deg);
  transform-origin:right center;
}
.audience-book-pages {
  position:absolute;
  top:6px;
  right:-9px;
  bottom:6px;
  width:10px;
  background:repeating-linear-gradient(90deg, #f7f3ee 0, #f7f3ee 2px, #ddd7d0 3px);
  transform:rotateY(88deg);
  transform-origin:left center;
}
.audience-book-copy > span {
  color:var(--primary);
  font-size:.78rem;
  font-weight:850;
  text-transform:uppercase;
}
.audience-book-copy h2 { margin:.55rem 0 .8rem; font-size:2.65rem; line-height:1.1; }
.audience-book-copy h2 a { color:inherit; }
.audience-book-copy > p { color:rgba(26,26,26,.68); font-size:1.08rem; line-height:1.65; }
.audience-book-coming-soon .audience-book-object > .book-collection-cover { width:225px; }
.book-coming-soon-label {
  display:inline-flex;
  padding:.65rem 1rem;
  border:1px solid rgba(139,45,45,.18);
  border-radius:6px;
  color:var(--primary);
  background:#fbf2f2;
}

@media (max-width: 820px) {
  .book-collection-grid { grid-template-columns:1fr; }
  .book-collection-card > p { min-height:0; }
  .audience-book-card { grid-template-columns:1fr; gap:1.5rem; padding:1.5rem; }
  .audience-book-object { min-height:360px; }
  .audience-book-copy { text-align:center; }
  .audience-book-copy .book-format-row { justify-content:center; }
}
@media (max-width: 520px) {
  .book-collections-page { padding:3.25rem 0 4rem; }
  .book-collections-header { margin-bottom:2rem; }
  .book-collection-card { padding:1.5rem 1rem 1.6rem; }
  .book-collection-cover-stage { min-height:340px; }
  .book-collection-cover { width:180px; }
  .audience-book-library { padding:3rem 0 4rem; }
  .audience-book-library-header { margin-bottom:2rem; }
  .audience-book-object { min-height:330px; }
  .audience-book-cover,
  .audience-book-coming-soon .audience-book-object > .book-collection-cover { width:180px; }
  .audience-book-copy h2 { font-size:2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .book-collection-cover,
  .audience-book-cover { transform:rotateY(-8deg); transition:none; }
}
.book-sales-hero {
  position:relative;
  overflow:hidden;
  padding:4rem 0 5rem;
  background:#fbf8f8;
  border-bottom:1px solid rgba(139,45,45,.1);
}
.book-sales-hero::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg, #111 0 28%, #b21822 28% 38%, #111 38% 62%, #b21822 62% 72%, #111 72%);
}
.book-sales-hero-grid {
  display:grid;
  grid-template-columns:minmax(440px, .9fr) minmax(0, 1.1fr);
  align-items:center;
  gap:4.5rem;
}
.book-3d-stage {
  position:relative;
  min-height:620px;
  perspective:1500px;
  transform-style:preserve-3d;
}
.book-3d-stage::after {
  content:'';
  position:absolute;
  left:8%;
  right:3%;
  bottom:18px;
  height:46px;
  background:rgba(35,14,14,.22);
  filter:blur(24px);
  transform:skewX(-16deg);
  z-index:0;
}
.book-3d-object {
  position:absolute;
  width:330px;
  aspect-ratio:2 / 3;
  transform-style:preserve-3d;
  filter:drop-shadow(28px 28px 24px rgba(28,12,12,.3));
  z-index:2;
}
.book-3d-object-front {
  left:5%;
  top:28px;
  transform:rotateY(-14deg) rotateX(1deg) rotateZ(-1deg);
}
.book-3d-object-rear {
  right:1%;
  top:64px;
  transform:rotateY(9deg) rotateX(1deg) rotateZ(2deg) scale(.91);
  opacity:.96;
  z-index:1;
}
.book-sales-copy { max-width:650px; }
.book-back-link {
  display:inline-block;
  margin-bottom:1.4rem;
  color:var(--primary);
  font-size:.9rem;
  font-weight:800;
}
.book-sales-copy h1 {
  margin:.85rem 0 .75rem;
  font-size:4.7rem;
  font-weight:800;
}
.book-sales-deck {
  color:var(--primary);
  font-size:1.55rem;
  font-weight:800;
}
.book-sales-copy > p:not(.book-sales-deck):not(.book-author-line) { font-size:1.08rem; }
.book-author-line { margin-top:1.3rem; color:#1a1a1a; font-weight:800; }
.book-hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
  align-items:center;
}
.book-amazon-button { background:#171717; border-color:#171717; }
.book-amazon-button:hover { background:#333; }
.book-learning-section { padding:5.5rem 0; background:#171717; color:#fff; }
.book-learning-grid {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:5rem;
  align-items:start;
}
.book-learning-section .book-kicker { color:#ff6868; }
.book-learning-section h2 {
  margin:.85rem 0 1rem;
  font-size:3.4rem;
  font-weight:800;
}
.book-learning-section p { color:rgba(255,255,255,.72); font-size:1.08rem; }
.book-learning-list {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.9rem;
  list-style:none;
  margin:0;
  padding:0;
}
.book-learning-list li {
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  min-height:112px;
  padding:1.25rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.9);
  font-weight:700;
}
.book-learning-list li span {
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:999px;
  color:#fff;
  background:var(--primary);
}
.book-purchase-section { padding:5.5rem 0; background:#fff; }
.book-section-header { margin-bottom:2.5rem; }
.book-section-header h2 { margin-top:.75rem; }
.book-purchase-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  max-width:980px;
  margin:0 auto;
  border-top:1px solid rgba(139,45,45,.18);
  border-bottom:1px solid rgba(139,45,45,.18);
}
.book-format-option {
  position:relative;
  padding:2.5rem;
  border-left:1px solid rgba(139,45,45,.18);
}
.book-format-option:last-child { border-right:1px solid rgba(139,45,45,.18); }
.book-format-option-featured { background:#fbf5f5; }
.book-format-number {
  display:block;
  margin-bottom:1.5rem;
  color:rgba(139,45,45,.42);
  font-size:2rem;
  font-weight:800;
}
.book-format-option h3 { font-size:2rem; }
.book-format-price {
  display:flex;
  align-items:baseline;
  gap:.65rem;
  margin:.35rem 0 1rem;
  color:var(--primary);
}
.book-format-price strong { font-size:2.35rem; line-height:1; }
.book-format-price span { color:rgba(26,26,26,.62); font-size:.85rem; font-weight:700; }
.book-price-summary {
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin:1.25rem 0 0;
}
.book-price-summary span {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.45rem .75rem;
  border:1px solid rgba(139,45,45,.16);
  border-radius:7px;
  color:var(--primary);
  background:#fff;
  font-weight:800;
}
.book-format-option .btn { margin-top:1rem; }
.book-direct-badge { position:absolute; top:2.5rem; right:2.5rem; }
.book-cover-section { padding:5.5rem 0; background:#f7f3f3; border-top:1px solid rgba(139,45,45,.1); }
.book-cover-grid {
  display:grid;
  grid-template-columns:minmax(280px, .68fr) minmax(0, 1.32fr);
  gap:4rem;
  align-items:center;
}
.book-cover-copy h2 {
  margin:.8rem 0 1rem;
  font-size:3.35rem;
  font-weight:800;
}
.book-cover-depth-stage {
  --cover-tilt-x:var(--depth-tilt-x, 0deg);
  --cover-tilt-y:var(--depth-tilt-y, 0deg);
  position:relative;
  width:100%;
  min-height:520px;
  perspective:1600px;
  transform-style:preserve-3d;
  transform:rotateX(var(--cover-tilt-x)) rotateY(var(--cover-tilt-y));
  transition:transform .14s ease-out;
}
.book-cover-depth-shadow {
  position:absolute;
  left:8%;
  right:2%;
  bottom:4%;
  height:17%;
  border-radius:50%;
  background:rgba(71,37,37,.2);
  filter:blur(24px);
  transform:translateZ(-90px) rotateX(72deg);
}
.book-cover-volume {
  position:absolute;
  width:clamp(230px, 23vw, 310px);
  aspect-ratio:2 / 3;
  margin:0;
  transform-style:preserve-3d;
}
.book-cover-volume img {
  position:relative;
  z-index:3;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:3px;
  box-shadow:0 26px 55px rgba(51,25,25,.24);
}
.book-cover-volume-front {
  z-index:4;
  left:4%;
  top:8%;
  transform:translate3d(var(--depth-shift-x, 0), var(--depth-shift-y, 0), 95px) rotateY(-16deg) rotateZ(-1deg);
}
.book-cover-volume-back {
  z-index:2;
  right:17%;
  top:1%;
  transform:translate3d(calc(var(--depth-shift-x, 0px) * -.55), calc(var(--depth-shift-y, 0px) * -.55), 8px) rotateY(14deg) rotateZ(1.5deg);
}
.book-cover-volume-spine,
.book-cover-volume-back-edge {
  position:absolute;
  z-index:1;
  top:2px;
  bottom:2px;
  width:20px;
  border-radius:3px 0 0 3px;
  background:linear-gradient(90deg, #5f1720, #9b2f38 58%, #6c1d24);
  transform-origin:right;
  transform:translateX(-19px) rotateY(-76deg);
}
.book-cover-volume-back-edge {
  right:-18px;
  left:auto;
  border-radius:0 3px 3px 0;
  background:linear-gradient(90deg, #d8d1c7, #f8f4ed 58%, #cfc5b8);
  transform-origin:left;
  transform:rotateY(76deg);
}
.book-cover-volume-pages {
  position:absolute;
  z-index:2;
  right:4px;
  bottom:-13px;
  left:5px;
  height:14px;
  border-radius:0 0 3px 3px;
  background:repeating-linear-gradient(0deg, #d8d1c7 0 1px, #fffdf8 1px 3px);
  transform-origin:top;
  transform:rotateX(76deg);
}
.book-cover-volume figcaption {
  position:absolute;
  z-index:5;
  left:50%;
  bottom:-2.3rem;
  width:max-content;
  color:rgba(26,26,26,.62);
  font-size:.75rem;
  font-weight:800;
  text-transform:uppercase;
  transform:translateX(-50%);
}
.book-cover-format-note {
  position:absolute;
  z-index:8;
  right:0;
  bottom:3%;
  min-width:118px;
  padding:.75rem .9rem;
  color:#fff;
  border:1px solid rgba(255,255,255,.42);
  border-radius:7px;
  background:rgba(139,45,45,.93);
  box-shadow:0 16px 32px rgba(80,29,29,.24);
  backdrop-filter:blur(10px);
}
.book-cover-format-note strong { display:block; font-size:1.05rem; }
.book-cover-format-note { font-size:.7rem; font-weight:800; }
.book-author-section { padding:5.5rem 0; background:#fff; }
.book-author-grid {
  display:grid;
  grid-template-columns:320px minmax(0, 1fr);
  gap:3.5rem;
  align-items:center;
  max-width:980px;
  margin:0 auto;
}
.book-author-grid img {
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:contain;
  object-position:center bottom;
  border-radius:8px;
  background:#fff;
  box-shadow:0 24px 55px rgba(35,20,20,.16);
}
.book-author-grid h2 { margin:.75rem 0 1rem; font-size:3rem; }
.book-final-cta { padding:4rem 0; color:#fff; background:#171717; }
.book-final-cta .book-kicker { color:#ff6868; }
.book-final-cta-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2.5rem;
}
.book-final-cta h2 { max-width:720px; margin:.65rem 0 0; font-size:2.9rem; }
.book-medical-note { padding:1.6rem 0 2.5rem; }
.book-medical-note p { margin:0; font-size:.86rem; }

@media (max-width: 1100px) {
  .book-sales-hero-grid { grid-template-columns:400px minmax(0, 1fr); gap:2.5rem; }
  .book-3d-stage { min-height:540px; }
  .book-3d-object { width:285px; }
  .book-sales-copy h1 { font-size:3.8rem; }
}
@media (max-width: 860px) {
  .books-library-intro h1 { font-size:3.2rem; }
  .book-library-feature,
  .book-sales-hero-grid,
  .book-learning-grid,
  .book-cover-grid,
  .book-author-grid { grid-template-columns:1fr; }
  .book-library-feature { gap:2rem; padding:2rem; }
  .book-library-visual { min-height:470px; }
  .book-sales-hero-grid { gap:1.5rem; }
  .book-3d-stage { width:min(100%, 580px); min-height:560px; margin:0 auto; }
  .book-sales-copy { max-width:720px; margin:0 auto; }
  .book-learning-grid { gap:2.5rem; }
  .book-cover-grid { gap:2.5rem; }
  .book-cover-depth-stage { width:min(100%, 660px); min-height:500px; margin:0 auto; }
  .book-author-grid { max-width:680px; }
  .book-author-grid img { max-width:320px; }
  .book-final-cta-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 600px) {
  .books-library-intro { padding:3.2rem 0 2.75rem; }
  .books-library-intro h1 { font-size:2.65rem; }
  .books-library-content { padding:2.5rem 0 3.5rem; }
  .book-library-feature { padding:1.25rem; }
  .book-library-visual { min-height:390px; }
  .book-library-object { width:220px; }
  .book-library-copy h2 { font-size:2.35rem; }
  .book-sales-hero { padding:2.5rem 0 3.5rem; }
  .book-3d-stage { min-height:430px; }
  .book-3d-object { width:220px; }
  .book-3d-object-front { left:3%; top:18px; }
  .book-3d-object-rear { right:0; top:48px; }
  .book-sales-copy h1 { font-size:3rem; }
  .book-sales-deck { font-size:1.3rem; }
  .book-hero-actions .btn { width:100%; }
  .book-learning-section,
  .book-purchase-section,
  .book-cover-section,
  .book-author-section { padding:3.5rem 0; }
  .book-learning-section h2,
  .book-cover-copy h2 { font-size:2.45rem; }
  .book-learning-list,
  .book-purchase-grid { grid-template-columns:1fr; }
  .book-cover-depth-stage { min-height:355px; }
  .book-cover-volume { width:clamp(155px, 45vw, 205px); }
  .book-cover-volume-front { left:1%; top:9%; }
  .book-cover-volume-back { right:8%; top:2%; }
  .book-cover-format-note { right:1%; bottom:0; }
  .book-learning-list li { min-height:0; }
  .book-format-option { border-right:1px solid rgba(139,45,45,.18); padding:2rem 1.4rem; }
  .book-format-option + .book-format-option { border-top:1px solid rgba(139,45,45,.18); }
  .book-direct-badge { position:static; margin-bottom:1rem; }
  .book-author-grid h2 { font-size:2.45rem; }
  .book-final-cta h2 { font-size:2.25rem; }
}

/* Shared 3D depth system */
[data-depth-scene] {
  --depth-tilt-x: 0deg;
  --depth-tilt-y: 0deg;
  --depth-shift-x: 0px;
  --depth-shift-y: 0px;
}

.home-depth-hero {
  min-height:calc(100vh - 112px);
  padding:clamp(3.5rem, 8vh, 7rem) 0 5rem;
  background:#fffafa;
  isolation:isolate;
}
.home-depth-hero::before,
.home-depth-hero::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  z-index:-2;
  pointer-events:none;
}
.home-depth-hero::before { top:0; height:44%; background:#fff; }
.home-depth-hero::after { bottom:0; height:46%; background:#fdf5f6; border-top:1px solid #f3e8e9; }
.home-depth-grid { position:relative; z-index:1; }
.home-depth-copy { position:relative; z-index:4; }
.home-depth-copy .badge { border-color:rgba(139,45,45,.16); background:rgba(255,255,255,.82); }
.home-rehab-depth-scene {
  position:relative;
  width:100%;
  min-height:560px;
  perspective:1400px;
  transform-style:preserve-3d;
  transform:rotateX(var(--depth-tilt-x)) rotateY(var(--depth-tilt-y));
  transition:transform .14s ease-out;
}
.home-depth-backdrop {
  position:absolute;
  inset:11% 2% 12% 8%;
  border:1px solid rgba(139,45,45,.14);
  border-radius:8px;
  background:#f1dfe1;
  transform:translate3d(calc(var(--depth-shift-x) * -.35), calc(var(--depth-shift-y) * -.35), -80px) rotate(-3deg);
}
.home-depth-photo {
  position:absolute;
  inset:16% 5% 14% 3%;
  z-index:2;
  margin:0;
  padding:.8rem;
  overflow:hidden;
  border-radius:8px;
  background:#fff;
  box-shadow:0 34px 70px rgba(78,45,45,.22);
  transform:translate3d(var(--depth-shift-x), var(--depth-shift-y), 80px) rotate(1.5deg);
}
.home-depth-photo img { width:100%; height:100%; display:block; object-fit:cover; border-radius:5px; }
.home-depth-note {
  position:absolute;
  z-index:5;
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.85rem 1rem;
  border:1px solid rgba(139,45,45,.17);
  border-radius:7px;
  background:rgba(255,255,255,.84);
  box-shadow:0 18px 35px rgba(72,37,37,.15);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.home-depth-note strong,
.home-depth-note span { display:block; }
.home-depth-note strong { color:#1a1a1a; font-size:.94rem; }
.home-depth-note > span,
.home-depth-note > span > span { color:#756a6a; font-size:.75rem; }
.home-depth-note-balance {
  top:7%;
  left:-2%;
  transform:translate3d(calc(var(--depth-shift-x) * 1.4), calc(var(--depth-shift-y) * 1.2), 145px);
}
.home-depth-note-safety {
  right:-1%;
  bottom:6%;
  transform:translate3d(calc(var(--depth-shift-x) * 1.6), calc(var(--depth-shift-y) * 1.5), 165px);
}
.home-depth-dot {
  width:.78rem;
  height:.78rem;
  flex:0 0 .78rem;
  border-radius:999px;
  background:var(--secondary);
  box-shadow:0 0 0 6px rgba(201,31,66,.12);
}
.home-depth-shadow,
.book-depth-shadow {
  position:absolute;
  left:12%;
  right:6%;
  bottom:7%;
  height:34px;
  border-radius:50%;
  background:rgba(62,31,31,.18);
  filter:blur(22px);
  transform:translateZ(-100px);
}

.home-book-showcase {
  overflow:hidden;
  padding:6rem 0;
  background:#fff8f8;
  border-top:1px solid rgba(139,45,45,.09);
  border-bottom:1px solid rgba(139,45,45,.09);
}
.home-book-showcase-grid {
  display:grid;
  grid-template-columns:minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items:center;
  gap:clamp(3rem, 7vw, 7rem);
}
.home-book-showcase-copy h2 {
  max-width:680px;
  margin:.8rem 0 1.2rem;
  font-size:clamp(3rem, 5vw, 5.4rem);
  line-height:1.02;
  font-weight:800;
}
.home-book-showcase-copy > p { max-width:650px; font-size:1.18rem; font-weight:500; }
.home-book-featured-title { margin-top:1.8rem; padding-left:1rem; border-left:3px solid var(--primary); }
.home-book-featured-title span,
.home-book-featured-title strong { display:block; }
.home-book-featured-title span { color:var(--primary); font-size:.76rem; font-weight:800; text-transform:uppercase; }
.home-book-featured-title strong { margin-top:.25rem; font-size:1.25rem; }

.book-depth-stage {
  position:relative;
  display:block;
  width:100%;
  min-height:610px;
  color:inherit;
  perspective:1500px;
  transform-style:preserve-3d;
  transform:rotateX(var(--depth-tilt-x)) rotateY(var(--depth-tilt-y));
  transition:transform .14s ease-out;
}
.book-depth-stage:focus-visible { outline:3px solid var(--secondary); outline-offset:8px; }
.book-depth-object {
  position:absolute;
  display:block;
  overflow:visible;
  transform-style:preserve-3d;
}
.book-depth-object img { width:100%; height:100%; display:block; object-fit:cover; border-radius:3px; }
.book-depth-object-front {
  z-index:5;
  top:5%;
  left:38%;
  width:282px;
  aspect-ratio:2 / 3;
  transform:translate3d(var(--depth-shift-x), var(--depth-shift-y), 125px) rotateY(-17deg) rotateX(2deg);
  filter:drop-shadow(24px 30px 24px rgba(60,28,28,.27));
}
.book-depth-object-back {
  z-index:2;
  top:12%;
  left:55%;
  width:252px;
  aspect-ratio:2 / 3;
  opacity:.94;
  transform:translate3d(calc(var(--depth-shift-x) * -.5), calc(var(--depth-shift-y) * -.5), -5px) rotateY(20deg) rotateZ(3deg);
  filter:drop-shadow(18px 24px 22px rgba(60,28,28,.18));
}
.book-depth-spine {
  position:absolute;
  top:0;
  bottom:0;
  left:-20px;
  width:22px;
  border-radius:3px 0 0 3px;
  background:#8d242c;
  transform-origin:right;
  transform:rotateY(-78deg);
}
.book-depth-pages {
  position:absolute;
  left:5px;
  right:3px;
  bottom:-13px;
  height:14px;
  background:repeating-linear-gradient(0deg, #ddd5c9 0 1px, #faf7f1 1px 3px);
  transform-origin:top;
  transform:rotateX(77deg);
}
.book-depth-guide {
  position:absolute;
  z-index:1;
  display:block;
  width:235px;
  min-height:280px;
  padding:1.55rem;
  border:1px solid #eadcdc;
  border-radius:6px;
  background:#fff;
  box-shadow:0 22px 44px rgba(70,37,37,.14);
}
.book-depth-guide small { color:var(--primary); font-size:.68rem; font-weight:800; text-transform:uppercase; }
.book-depth-guide strong { display:block; margin:.7rem 0 1.55rem; font-size:1.3rem; line-height:1.15; }
.book-depth-guide i { display:block; height:6px; margin-top:.7rem; border-radius:3px; background:#efe5e5; }
.book-depth-guide i:nth-of-type(2) { width:76%; }
.book-depth-guide i:nth-of-type(3) { width:58%; }
.book-depth-guide-one {
  left:2%;
  bottom:3%;
  transform:translate3d(calc(var(--depth-shift-x) * -.7), calc(var(--depth-shift-y) * -.6), -55px) rotate(-8deg);
}
.book-depth-guide-two {
  right:-2%;
  bottom:4%;
  transform:translate3d(calc(var(--depth-shift-x) * .7), calc(var(--depth-shift-y) * .6), 18px) rotate(8deg);
}
.book-depth-format {
  position:absolute;
  z-index:9;
  top:11%;
  right:0;
  min-width:122px;
  padding:.8rem .95rem;
  color:#fff;
  border:1px solid rgba(255,255,255,.4);
  border-radius:7px;
  background:rgba(139,45,45,.92);
  box-shadow:0 16px 30px rgba(88,31,31,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transform:translate3d(calc(var(--depth-shift-x) * 1.2), calc(var(--depth-shift-y) * 1.2), 170px);
}
.book-depth-format strong { display:block; font-size:1.05rem; }
.book-depth-format { font-size:.7rem; font-weight:700; }

.book-depth-library {
  min-height:calc(100vh - 112px);
  padding:clamp(4rem, 8vh, 7rem) 0;
  overflow:hidden;
  background:#fff9f9;
}
.book-depth-library-grid {
  display:grid;
  grid-template-columns:minmax(0, .94fr) minmax(500px, 1.06fr);
  align-items:center;
  gap:clamp(3rem, 7vw, 7rem);
}
.book-depth-library-copy h1 {
  max-width:760px;
  margin:.8rem 0 1.1rem;
  font-size:clamp(3.5rem, 6vw, 6.2rem);
  line-height:1;
  font-weight:800;
}
.book-depth-library-copy > p { max-width:680px; font-size:1.08rem; }
.book-depth-library-copy .book-library-subtitle { color:rgba(26,26,26,.72); font-size:1.25rem; }
.book-depth-stage-sales { min-height:620px; }
.book-sales-hero-grid { grid-template-columns:minmax(500px, .98fr) minmax(0, 1.02fr); gap:clamp(3rem, 6vw, 6rem); }

@media (max-width: 1100px) {
  .home-depth-grid,
  .home-book-showcase-grid,
  .book-depth-library-grid,
  .book-sales-hero-grid { grid-template-columns:1fr; }
  .home-depth-copy,
  .home-book-showcase-copy,
  .book-depth-library-copy,
  .book-sales-copy { max-width:760px; margin:0 auto; }
  .home-rehab-depth-scene,
  .book-depth-stage { width:min(100%, 680px); margin:0 auto; }
  .home-depth-hero { min-height:auto; }
}

@media (max-width: 640px) {
  .home-depth-hero { padding:2.5rem 0 3.25rem; }
  .home-depth-hero h1 { font-size:clamp(3rem, 14vw, 4.4rem); }
  .home-rehab-depth-scene { min-height:420px; }
  .home-depth-photo { inset:17% 1% 17% 1%; padding:.5rem; }
  .home-depth-backdrop { inset:12% 2% 14%; }
  .home-depth-note-balance { left:0; }
  .home-depth-note-safety { right:0; bottom:4%; }
  .home-book-showcase { padding:4rem 0 2.5rem; }
  .home-book-showcase-copy h2 { font-size:3rem; }
  .book-depth-library { padding:3.5rem 0 2.5rem; }
  .book-depth-library-copy h1 { font-size:3.2rem; }
  .book-depth-stage { min-height:490px; transform:scale(.88) rotateX(var(--depth-tilt-x)) rotateY(var(--depth-tilt-y)); transform-origin:center top; }
  .book-depth-object-front { left:26%; width:230px; }
  .book-depth-object-back { left:46%; width:210px; }
  .book-depth-guide { width:188px; min-height:225px; padding:1rem; }
  .book-depth-guide strong { font-size:1rem; }
  .book-depth-guide-one { left:-3%; }
  .book-depth-guide-two { right:-5%; }
  .book-depth-format { right:-2%; }
  .book-depth-stage-sales { min-height:490px; }
  .book-sales-copy h1 { font-size:3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-rehab-depth-scene,
  .book-depth-stage { transform:none !important; transition:none !important; }
}

/* Book reader bonus downloads */
.book-library-actions { display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; }
.book-reader-bonus-section {
  padding:4.5rem 0;
  color:#fff;
  background:#1a1a1a;
  border-top:1px solid rgba(255,255,255,.08);
}
.book-reader-bonus-inner {
  display:grid;
  grid-template-columns:96px minmax(0, 1fr) auto;
  align-items:center;
  gap:2rem;
}
.book-reader-bonus-mark {
  display:grid;
  place-items:center;
  width:90px;
  height:112px;
  border:2px solid rgba(255,255,255,.45);
  border-radius:6px;
  color:#fff;
  background:var(--primary);
  box-shadow:0 16px 34px rgba(0,0,0,.28);
  font-size:1.25rem;
  font-weight:800;
  transform:rotate(-4deg);
}
.book-reader-bonus-section .book-kicker { color:#ff7979; }
.book-reader-bonus-section h2 { margin:.55rem 0 .6rem; font-size:clamp(2rem, 4vw, 3.5rem); }
.book-reader-bonus-section p { max-width:760px; margin:0; color:rgba(255,255,255,.72); font-size:1.05rem; }

.book-bonus-library-page { min-height:70vh; color:var(--foreground); background:#fff; }
.book-bonus-library-hero {
  padding:5.5rem 0 4.5rem;
  text-align:center;
  background:#fff9f9;
  border-bottom:1px solid rgba(139,45,45,.1);
}
.book-bonus-library-hero h1 {
  max-width:900px;
  margin:.75rem auto 1rem;
  font-size:clamp(3.5rem, 7vw, 6.4rem);
  line-height:1;
}
.book-bonus-library-hero p { max-width:760px; margin:0 auto; font-size:1.12rem; font-weight:550; }
.book-bonus-library-section { padding:4.5rem 0 5.5rem; }
.book-bonus-library-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1.5rem; }
.book-bonus-library-card {
  display:grid;
  grid-template-columns:190px minmax(0, 1fr);
  align-items:center;
  gap:2rem;
  min-height:340px;
  padding:2rem;
  border:1px solid rgba(139,45,45,.13);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 42px rgba(55,31,31,.1);
}
.book-bonus-library-cover {
  position:relative;
  display:block;
  width:165px;
  aspect-ratio:2 / 3;
  margin:0 auto;
  transform:perspective(950px) rotateY(-12deg);
  transform-origin:right center;
  filter:drop-shadow(16px 18px 14px rgba(60,28,28,.2));
  transition:transform .2s ease;
}
.book-bonus-library-cover:hover,
.book-bonus-library-cover:focus-visible { transform:perspective(950px) rotateY(-4deg) translateY(-4px); }
.book-bonus-library-cover::before {
  content:'';
  position:absolute;
  top:4px;
  bottom:4px;
  left:-12px;
  width:14px;
  border-radius:2px 0 0 2px;
  background:#8d242c;
  transform-origin:right;
  transform:rotateY(-70deg);
}
.book-bonus-library-cover img { display:block; width:100%; height:100%; object-fit:cover; border-radius:3px; }
.book-bonus-library-cover > span { display:grid; width:100%; height:100%; place-items:center; padding:1rem; color:#fff; background:var(--primary); font-weight:800; text-align:center; }
.book-bonus-library-card-copy { display:flex; min-width:0; height:100%; flex-direction:column; align-items:flex-start; justify-content:center; }
.book-bonus-library-card-copy h2 { margin:.65rem 0 .75rem; font-size:clamp(1.6rem, 3vw, 2.25rem); line-height:1.1; }
.book-bonus-library-card-copy p { margin:0 0 1.4rem; color:rgba(26,26,26,.68); }
.book-bonus-library-card-copy .btn { margin-top:auto; }

.book-bonus-page { color:var(--foreground); background:#fff; }
.book-bonus-hero {
  position:relative;
  overflow:hidden;
  padding:5rem 0;
  background:#fff9f9;
  border-bottom:1px solid rgba(139,45,45,.1);
}
.book-bonus-hero::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:38%;
  z-index:0;
  background:#f9eeee;
  border-top:1px solid #f0e1e2;
}
.book-bonus-hero-grid {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1.12fr) minmax(320px, .68fr);
  align-items:center;
  gap:clamp(3rem, 7vw, 7rem);
}
.book-bonus-copy { max-width:760px; }
.book-bonus-copy h1 {
  margin:.8rem 0 1.1rem;
  font-size:clamp(3.5rem, 6vw, 6rem);
  line-height:1;
  font-weight:800;
}
.book-bonus-copy > p { max-width:710px; font-size:1.18rem; font-weight:500; }
.book-bonus-copy .book-bonus-book-title { margin:.15rem 0 .8rem; color:var(--primary); font-size:1.25rem; font-weight:800; }
.book-bonus-instruction {
  margin-top:1.6rem !important;
  padding:1.15rem 1.25rem;
  border-left:4px solid var(--primary);
  border-radius:0 7px 7px 0;
  background:rgba(255,255,255,.82);
  box-shadow:var(--shadow-sm);
  font-weight:750 !important;
}
.book-bonus-visual { position:relative; min-height:470px; perspective:1300px; }
.book-bonus-cover {
  position:absolute;
  top:4%;
  left:17%;
  width:270px;
  aspect-ratio:2 / 3;
  transform:rotateY(-17deg) rotateZ(2deg);
  transform-style:preserve-3d;
  filter:drop-shadow(26px 30px 24px rgba(60,28,28,.25));
}
.book-bonus-cover::before {
  content:'';
  position:absolute;
  top:4px;
  bottom:4px;
  left:-19px;
  width:21px;
  border-radius:3px 0 0 3px;
  background:#8d242c;
  transform-origin:right;
  transform:rotateY(-76deg);
}
.book-bonus-cover img { width:100%; height:100%; display:block; object-fit:cover; border-radius:3px; }
.book-bonus-access-badge {
  position:absolute;
  z-index:3;
  right:0;
  bottom:10%;
  min-width:180px;
  padding:1rem 1.2rem;
  border:1px solid rgba(255,255,255,.48);
  border-radius:7px;
  color:#fff;
  background:rgba(139,45,45,.94);
  box-shadow:0 18px 38px rgba(91,31,31,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.book-bonus-access-badge span,
.book-bonus-access-badge strong { display:block; }
.book-bonus-access-badge span { font-size:.72rem; font-weight:800; text-transform:uppercase; }
.book-bonus-access-badge strong { margin-top:.25rem; font-size:1.25rem; }

.book-bonus-unlock-section { padding:5rem 0; background:#fff; }
.book-bonus-unlock-inner { max-width:1080px; }
.book-bonus-form-copy { max-width:760px; margin-bottom:2rem; }
.book-bonus-form-copy h2 { margin:.6rem 0 .5rem; font-size:clamp(2.4rem, 5vw, 4.2rem); }
.book-bonus-form-copy p { margin:0; color:rgba(26,26,26,.68); font-size:1.08rem; }
.book-bonus-form {
  padding:2rem;
  border:1px solid rgba(139,45,45,.14);
  border-radius:8px;
  background:#fbf7f7;
  box-shadow:0 18px 44px rgba(54,29,29,.1);
}
.book-bonus-form label { display:block; margin-bottom:.65rem; font-weight:800; }
.book-bonus-input-row { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:.8rem; }
.book-bonus-input-row input {
  width:100%;
  min-height:54px;
  padding:.8rem 1rem;
  border:1px solid rgba(139,45,45,.22);
  border-radius:7px;
  color:#1a1a1a;
  background:#fff;
  font:inherit;
  font-weight:700;
  text-transform:uppercase;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
}
.book-bonus-input-row input:focus { outline:3px solid rgba(201,31,66,.16); border-color:var(--secondary); }
.book-bonus-error {
  margin:1rem 0 0;
  padding:.85rem 1rem;
  border-left:4px solid var(--secondary);
  border-radius:0 6px 6px 0;
  color:#812038;
  background:#fff;
  font-weight:700;
}
.book-bonus-success {
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:2rem;
  padding:1.25rem 1.4rem;
  border-left:4px solid var(--primary);
  border-radius:0 7px 7px 0;
  background:#f8eeee;
}
.book-bonus-success > span {
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:999px;
  color:#fff;
  background:var(--primary);
  font-weight:800;
}
.book-bonus-success strong { display:block; font-size:1.2rem; }
.book-bonus-success p { margin:.2rem 0 0; }
.book-bonus-download-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1.25rem; }
.book-bonus-download-card {
  display:flex;
  min-height:300px;
  flex-direction:column;
  align-items:flex-start;
  padding:2rem;
  border:1px solid rgba(139,45,45,.13);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 42px rgba(55,31,31,.1);
}
.book-bonus-file-label {
  display:inline-flex;
  padding:.35rem .55rem;
  border-radius:5px;
  color:#fff;
  background:var(--primary);
  font-size:.72rem;
  font-weight:800;
}
.book-bonus-download-card h2 { margin:1.1rem 0 .7rem; font-size:1.7rem; }
.book-bonus-download-card p { color:rgba(26,26,26,.68); }
.book-bonus-download-card .btn { margin-top:auto; }
.book-bonus-empty {
  padding:2rem;
  border:1px dashed rgba(139,45,45,.28);
  border-radius:8px;
  background:#fbf7f7;
}
.book-bonus-empty h2 { margin-top:0; }
.book-bonus-empty p { margin-bottom:0; }
.book-bonus-safety-note { padding:1.5rem 0 2.5rem; background:#f8f4f4; border-top:1px solid rgba(139,45,45,.09); }
.book-bonus-safety-note p { margin:0; color:rgba(26,26,26,.67); font-size:.88rem; }

@media (max-width: 860px) {
  .book-reader-bonus-inner { grid-template-columns:78px minmax(0, 1fr); }
  .book-reader-bonus-mark { width:72px; height:90px; }
  .book-reader-bonus-inner .btn { grid-column:2; width:fit-content; }
  .book-bonus-hero-grid { grid-template-columns:1fr; }
  .book-bonus-visual { width:min(100%, 520px); min-height:440px; margin:0 auto; }
  .book-bonus-library-grid { grid-template-columns:1fr; }
}

@media (max-width: 600px) {
  .book-library-actions { display:grid; grid-template-columns:1fr; }
  .book-library-actions .btn { width:100%; }
  .book-reader-bonus-section { padding:3.5rem 0; }
  .book-reader-bonus-inner { grid-template-columns:1fr; }
  .book-reader-bonus-mark { width:66px; height:82px; }
  .book-reader-bonus-inner .btn { grid-column:auto; width:100%; }
  .book-bonus-library-hero { padding:3.5rem 0 3rem; }
  .book-bonus-library-hero h1 { font-size:3.25rem; }
  .book-bonus-library-section { padding:3rem 0 4rem; }
  .book-bonus-library-card { grid-template-columns:110px minmax(0, 1fr); gap:1.15rem; min-height:250px; padding:1.25rem; }
  .book-bonus-library-cover { width:105px; }
  .book-bonus-library-card-copy h2 { font-size:1.4rem; }
  .book-bonus-library-card-copy p { font-size:.9rem; }
  .book-bonus-library-card-copy .btn { width:100%; padding-inline:.75rem; }
  .book-bonus-hero { padding:3.5rem 0 2.5rem; }
  .book-bonus-copy h1 { font-size:3.25rem; }
  .book-bonus-visual { min-height:390px; }
  .book-bonus-cover { left:12%; width:225px; }
  .book-bonus-access-badge { right:2%; min-width:155px; }
  .book-bonus-unlock-section { padding:3.5rem 0; }
  .book-bonus-form { padding:1.25rem; }
  .book-bonus-input-row { grid-template-columns:1fr; }
  .book-bonus-input-row .btn { width:100%; }
  .book-bonus-download-grid { grid-template-columns:1fr; }
  .book-bonus-download-card { min-height:0; }
}
.clinician-library-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin: 0 0 42px;
    padding: 30px;
    border: 1px solid rgba(157, 50, 50, .18);
    border-left: 5px solid #d62f52;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(43, 29, 32, .08);
}

.clinician-library-entry span {
    display: block;
    margin-bottom: 7px;
    color: #9d3232;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.clinician-library-entry h2 {
    margin: 0 0 8px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.clinician-library-entry p {
    max-width: 760px;
    margin: 0;
    color: #625e61;
}

@media (max-width: 700px) {
    .clinician-library-entry {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .clinician-library-entry .btn {
        width: 100%;
    }
}
