/* Design Tokens */
:root {
  --ink: #08080d;
  --paper: #f2ede4;
  --gold: #c8a45a;
  --gold2: #e5c97e;
  --dim: #3a3830;
  --mid: #6e6a61;
  --rule: rgba(200, 164, 90, 0.18);
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'DM Mono', monospace;
  --sans: 'Syne', sans-serif;
  --red: #c0392b;
  --green: #27ae60;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Mono:wght@400;500&family=Syne:wght@400;700;800&display=swap');

/* Accessibility */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body {
  padding-top: 72px;
}

a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold2);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-tabs {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-tab {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Nav Dropdowns */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 1002;
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s;
}
.dropdown-menu a:hover {
  background: rgba(200,164,90,0.08);
  color: var(--gold);
}

.nav-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nbtn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nbtn:hover {
  background-color: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
}

.cart-btn {
  position: relative;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--red);
  color: var(--paper);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  min-width: 24px;
  min-height: 24px;
}

/* Page Content Wrapper */
.page-content {
  padding-top: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--gold);
}

/* Book Features Badges */
.book-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  background: rgba(200, 164, 90, 0.06);
}

/* Blog Article Width Constraint */
.blog-article {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Book Styles */
.book-hero {
  padding: 64px 32px;
  background: linear-gradient(135deg, var(--paper) 0%, rgba(200, 164, 90, 0.05) 100%);
  margin-bottom: 64px;
}

.book-hero-grid {
  display: flex;
  align-items: stretch;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.book-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-hero-cover {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.book-hero-cover img {
  height: 100%;
  width: auto;
  max-height: 480px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  object-fit: cover;
}

/* Expandable book descriptions */
.book-long-desc.book-long-desc {
  border: none;
}
.desc-toggle {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--gold);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
}
.desc-toggle::-webkit-details-marker { display: none; }
.desc-toggle::marker { display: none; content: ""; }
.desc-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 0.75rem;
}
details[open] .desc-arrow {
  transform: rotate(180deg);
}
.desc-content {
  padding-top: 1rem;
  animation: desc-fade-in 0.3s ease;
}
@keyframes desc-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Inline expandable TOC */
.toc-toggle { position: relative; }
.toc-toggle .toc-arrow { transition: transform 0.3s; display: inline-block; }
.toc-toggle.active .toc-arrow { transform: rotate(180deg); }
.inline-toc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}
.inline-toc.open {
  max-height: 800px;
  padding: 16px 0;
}
.inline-toc-list {
  padding-left: 1.25rem;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}
.inline-toc-list li {
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 4px 0;
  color: var(--ink);
  break-inside: avoid;
}
.inline-toc-list li strong {
  font-weight: 400;
}
.inline-toc-appendix {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 8px;
}

.book-hero h1, .book-hero .book-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--ink);
  text-align: left;
}

.book-hero p, .book-hero .book-subtitle {
  font-size: 18px;
  color: var(--mid);
  margin-bottom: 24px;
  text-align: left;
}

.book-cta {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.book-cta:hover {
  background-color: var(--gold2);
  color: var(--ink);
}

/* Product Sections */
.products-sec {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 2rem;
}
.products-inner {
  max-width: 960px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Product Grid (legacy) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.product-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  background-color: var(--paper);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card .product-description {
  flex: 1;
}

.product-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}

.product-card p {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-price {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.price-now {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.price-was {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mid);
  text-decoration: line-through;
}

.price-save {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

.product-buy {
  display: flex;
  gap: 8px;
}

/* Product Card Inner Elements */
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.product-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0;
}
.product-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid);
  background: rgba(0,0,0,0.04);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.product-badge.featured-badge {
  color: var(--gold);
  background: rgba(200,164,90,0.1);
}
.product-description {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-pricing {
  margin-bottom: 16px;
}
.product-card.featured {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(200,164,90,0.12);
}
.product-card .btn {
  width: 100%;
  text-align: center;
}

/* Services Page Consistent Sections */
.svc-section {
  padding: 48px 2rem;
}
.svc-inner {
  max-width: 960px;
  margin: 0 auto;
}

.buy-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
}

.buy-btn:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
}

.buy-btn-ghost {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.buy-btn-ghost:hover {
  background-color: var(--gold);
  color: var(--paper);
}

/* Templates Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.template-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--paper);
  transition: all 0.3s ease;
}

.template-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--rule);
  background: rgba(200, 164, 90, 0.04);
}

.template-header h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}

.template-price {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.template-features {
  list-style: none;
  padding: 16px 20px;
  margin: 0;
}

.template-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.5;
  border-bottom: 1px solid var(--rule);
}

.template-features li:last-child {
  border-bottom: none;
}

.template-btn {
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 0.3s;
  margin: 0 20px 20px;
  border-radius: 4px;
}

.template-btn:hover {
  background-color: var(--gold2);
}

.template-stage {
  background-color: rgba(200, 164, 90, 0.08);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.template-stage img {
  max-width: 100%;
  height: auto;
}

.template-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  padding: 16px 20px;
  margin: 0;
  color: var(--ink);
}

.tprice {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px;
  color: var(--ink);
}

.tbuy {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  text-align: center;
  margin: 16px 20px;
}

.tbuy:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
}

/* Table of Contents */
.toc-sec {
  background-color: rgba(200, 164, 90, 0.05);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 64px;
}

.toc-sec h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--ink);
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.toc-item {
  padding: 16px;
  border-left: 3px solid var(--gold);
  background-color: var(--paper);
}

.toc-ch {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.toc-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 8px;
}

.toc-item p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

/* Hire Section */
.hire-sec {
  background: linear-gradient(135deg, rgba(200, 164, 90, 0.1) 0%, rgba(200, 164, 90, 0.05) 100%);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px 32px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.hire-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 164, 90, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hire-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}
.hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.hire-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.hire-card.featured {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(200,164,90,0.12);
}
.hire-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.hire-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0;
}
.hire-price {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}
.hire-description {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.hire-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}
.hire-features li {
  font-size: 0.82rem;
  color: var(--mid);
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
}
.hire-features li:last-child {
  border-bottom: none;
}
.hire-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.hire-sec h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--ink);
}

.hire-sec p {
  font-size: 16px;
  color: var(--mid);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hire-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.hire-rate {
  display: flex;
  flex-direction: column;
}

.hire-rate label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hire-rate span {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.hire-creds {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hire-cred {
  font-size: 14px;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hire-cred::before {
  content: '✓';
  color: var(--green);
  font-weight: bold;
}

.add-role-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 24px;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}

.add-role-btn:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
}

/* CTA Styles */
.cta {
  background: linear-gradient(135deg, rgba(200, 164, 90, 0.1) 0%, rgba(200, 164, 90, 0.05) 100%);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px 32px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 164, 90, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--ink);
  position: relative;
  z-index: 2;
}

.cta p {
  font-size: 16px;
  color: var(--mid);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.brow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
  position: relative;
  z-index: 2;
}

.bgold {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.bgold:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
  color: var(--ink);
}

.bghost {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  background-color: transparent;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}

.bghost:hover {
  background-color: var(--gold);
  color: var(--paper);
}

/* Stats */
.stat {
  padding: 32px 0;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.stat:last-child {
  border-bottom: none;
}

.stat-n {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-l {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mid);
}

/* Section Label */
.sec-lbl {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.sec-num {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  margin-right: 8px;
}

/* Services Styles */
.hero {
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--paper) 0%, rgba(200, 164, 90, 0.05) 100%);
  margin-bottom: 64px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--ink);
}

.hero p {
  font-size: 18px;
  color: var(--mid);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.pcard {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  background-color: var(--paper);
  transition: all 0.3s ease;
}

.pcard:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.pcard h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}

.pcard p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.pillar {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background-color: var(--paper);
  transition: all 0.3s ease;
}

.pillar:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.pillar-i {
  font-size: 48px;
  margin-bottom: 16px;
}

.pillar h4 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ink);
}

.pillar p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* Services - How It Works */
.how-top {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

/* Services - Offerings Section */
.osec {
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(200, 164, 90, 0.05) 0%, var(--paper) 100%);
  margin-bottom: 64px;
}

.otop {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}

.osec h2 {
  font-family: var(--serif);
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--ink);
}

.owrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.owrap > div {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
  background-color: var(--paper);
  transition: all 0.3s ease;
}

.owrap > div:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.owrap h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ink);
}

.owrap p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Services - Office Section */
#office {
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--paper) 0%, rgba(200, 164, 90, 0.05) 100%);
  margin-bottom: 64px;
}

#office h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin-bottom: 32px;
  color: var(--ink);
}

/* Services - Live Offerings */
.live {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 64px;
}

.live th {
  background-color: rgba(200, 164, 90, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--rule);
}

.live td {
  padding: 16px;
  border: 1px solid var(--rule);
  color: var(--ink);
}

.live tr:nth-child(even) {
  background-color: rgba(200, 164, 90, 0.03);
}

.live tr:hover {
  background-color: rgba(200, 164, 90, 0.08);
}

.ldot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  margin-right: 8px;
}

/* Services - Pricing Rates */
.rhead {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--ink);
  text-align: center;
}

/* Services - What's Included */
.wwrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.cmp {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
  background-color: var(--paper);
  transition: all 0.3s ease;
}

.cmp:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.cmp h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ink);
}

.cmp p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

.crow {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 64px;
}

.cc {
  flex: 1;
  min-width: 250px;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}

.cc h4 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--ink);
}

.cc ul {
  list-style: none;
  padding: 0;
}

.cc li {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc li::before {
  content: '✓';
  color: var(--green);
  font-weight: bold;
}

/* Services - CTA */
.cta {
  background: linear-gradient(135deg, rgba(200, 164, 90, 0.1) 0%, rgba(200, 164, 90, 0.05) 100%);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px 32px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

/* Blog Styles */
.blog-hero {
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--paper) 0%, rgba(200, 164, 90, 0.05) 100%);
  margin-bottom: 64px;
}

.blog-hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--ink);
}

.blog-hero p {
  font-size: 18px;
  color: var(--mid);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.blog-filters button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background-color: transparent;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filters button:hover,
.blog-filters button.active {
  background-color: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.blog-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--paper);
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 16px;
  color: var(--ink);
}

.blog-card p {
  font-size: 14px;
  color: var(--mid);
  margin: 0 16px 16px;
  line-height: 1.5;
}

.blog-card .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin: 0 16px 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto 64px;
  padding: 0 32px;
}

.blog-article h1 {
  font-family: var(--serif);
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--ink);
}

.blog-article .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-article h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
}

.blog-article h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}

.blog-article p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--ink);
}

.blog-article ul,
.blog-article ol {
  margin-bottom: 16px;
  margin-left: 20px;
}

.blog-article li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--ink);
}

.blog-article code {
  font-family: var(--mono);
  background-color: rgba(200, 164, 90, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--ink);
}

.blog-article pre {
  background-color: rgba(200, 164, 90, 0.08);
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.blog-article pre code {
  background: none;
  padding: 0;
}

.blog-article blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-left: 0;
  margin-bottom: 16px;
  font-style: italic;
  color: var(--mid);
}

/* Careers Styles */
.careers-hero {
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--paper) 0%, rgba(200, 164, 90, 0.05) 100%);
  margin-bottom: 64px;
}

.careers-hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--ink);
}

.careers-hero p {
  font-size: 18px;
  color: var(--mid);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.careers-form-wrap {
  max-width: 600px;
  margin: 0 auto 64px;
  background-color: rgba(200, 164, 90, 0.03);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
}

.cf-row {
  margin-bottom: 24px;
}

.cf-row label {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.cf-row input,
.cf-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background-color: var(--paper);
}

.cf-row textarea {
  resize: vertical;
  min-height: 120px;
}

.cf-row input:focus,
.cf-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 164, 90, 0.1);
}

.cf-upload {
  border: 2px dashed var(--rule);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  background-color: rgba(200, 164, 90, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cf-upload:hover {
  border-color: var(--gold);
  background-color: rgba(200, 164, 90, 0.08);
}

.cf-upload input[type="file"] {
  display: none;
}

.cf-submit {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.cf-submit:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
}

/* Model Packages */
.model-packages {
  margin-bottom: 64px;
}

.model-packages h2 {
  font-family: var(--serif);
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--ink);
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.mp-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
  background-color: var(--paper);
  transition: all 0.3s ease;
  position: relative;
}

.mp-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.1);
}

.mp-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ink);
}

.mp-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.mp-card .price {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}

.mp-card .btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.mp-card .btn:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
}

/* Cart Styles */
#cart-drawer {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background-color: var(--paper);
  border-left: 1px solid var(--rule);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

#cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}

.cart-close {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
  background-color: rgba(200, 164, 90, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-info h4 {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.cart-item-info p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin: 0;
}

.cart-item-remove {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.cart-checkout-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--gold);
  padding: 12px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cart-checkout-btn:hover {
  background-color: var(--gold2);
  border-color: var(--gold2);
}

.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--mid);
}

/* Footer */
footer {
  background-color: var(--ink);
  color: var(--paper);
  padding: 32px;
  text-align: center;
  margin-top: 64px;
  border-top: 1px solid var(--rule);
}

footer span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

footer span:last-child {
  margin-bottom: 0;
}

footer a {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 164, 90, 0.2);
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold2);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

.animate-fadeUp {
  animation: fadeUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-blink {
  animation: blink 1.4s ease-in-out infinite;
}

/* Hamburger Menu Button */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Blog Card Styling (listing page) */
.blog-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 164, 90, 0.08);
}

/* Blog List Width Constraint */
.blog-list {
  max-width: 900px;
}

/* Careers Form Styling */
.careers-form {
  max-width: 600px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 0.25rem;
}

.careers-form label,
.careers-form .form-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.careers-form input[type="text"],
.careers-form input[type="email"],
.careers-form input[type="url"],
.careers-form input[type="tel"],
.careers-form select,
.careers-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.careers-form textarea {
  min-height: 100px;
  resize: vertical;
}

.careers-form button[type="submit"],
.careers-form .submit-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.3s ease;
}

.careers-form button[type="submit"]:hover,
.careers-form .submit-btn:hover {
  background: var(--gold2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .nav-tabs {
    display: none;
  }

  .nav-tabs.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 16px;
    gap: 8px;
    width: 100%;
    z-index: 999;
  }

  .nav-tab {
    padding: 8px 0;
  }

  .dropdown-menu {
    display: none !important;
  }

  .nbtn {
    padding: 6px 12px;
    font-size: 12px;
  }

  body {
    padding-top: 60px;
  }

  .book-hero,
  .hero,
  .blog-hero,
  .careers-hero {
    padding: 32px 16px;
    margin-bottom: 32px;
  }

  .book-hero-grid {
    flex-direction: column;
    gap: 24px;
  }

  .book-hero-cover img {
    height: auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .book-hero h1, .book-hero .book-title {
    text-align: center;
  }

  .book-hero p, .book-hero .book-subtitle {
    text-align: center;
  }

  .book-hero h1,
  .hero h1,
  .blog-hero h1,
  .careers-hero h1 {
    font-size: 32px;
  }

  .book-hero p,
  .hero p,
  .blog-hero p,
  .careers-hero p {
    font-size: 16px;
  }

  .product-grid,
  .templates-grid,
  .blog-grid,
  .pgrid,
  .pillars,
  .owrap,
  .wwrap,
  .mp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hire-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-filters {
    flex-direction: column;
  }

  .blog-filters button {
    width: 100%;
  }

  .blog-article {
    padding: 0 16px;
  }

  .careers-form-wrap {
    padding: 16px;
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }

  .cta,
  .hire-sec {
    padding: 32px 16px;
  }

  .cta h2,
  .hire-sec h2 {
    font-size: 28px;
  }

  .rhead {
    font-size: 20px;
  }

  .live {
    font-size: 12px;
  }

  .live th,
  .live td {
    padding: 8px;
  }

  .products-grid,
  .hire-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .inline-toc-list {
    columns: 1;
  }

  #cart-drawer {
    width: 100%;
    right: -100%;
  }

  .crow {
    flex-direction: column;
    gap: 16px;
  }

  footer {
    padding: 16px;
  }

  footer span {
    font-size: 12px;
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 10px 12px;
  }

  .logo {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .nbtn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .book-hero h1,
  .hero h1,
  .blog-hero h1,
  .careers-hero h1 {
    font-size: 24px;
  }

  .blog-article h1 {
    font-size: 28px;
  }

  .blog-article h2 {
    font-size: 20px;
  }

  .rhead {
    font-size: 18px;
  }

  .product-card,
  .pcard,
  .pillar {
    padding: 16px;
  }

  .cta,
  .hire-sec {
    padding: 24px 12px;
  }

  .stat-n {
    font-size: 24px;
  }

  .hire-rate label,
  .eyebrow,
  .how-top,
  .otop,
  .brow,
  .sec-lbl,
  .blog-card .meta,
  .blog-article .meta {
    font-size: 10px;
  }
}

/* ============================================
   MULTI-PAGE LAYOUT STYLES
   ============================================ */

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold2);
  color: var(--ink);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-calendly {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 5rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Overview Sections */
.overview-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.overview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.overview-content h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.overview-content p {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.overview-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.overview-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--mid);
  font-size: 0.95rem;
}
.overview-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}
.overview-cta .price {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.original-price {
  font-size: 0.9rem;
  color: var(--mid);
  text-decoration: line-through;
  margin-left: 0.5rem;
}
.overview-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-preview-card, .services-preview-card {
  width: 200px;
  height: 260px;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-cover-small {
  width: 120px;
  height: 160px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 4px;
}
.services-icon {
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.services-overview .overview-inner {
  direction: rtl;
}
.services-overview .overview-inner > * {
  direction: ltr;
}

/* Stats Section */
.stats-section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}
.stats-inner h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  padding: 2rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-align: center;
}
.stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.stat-card p {
  font-size: 0.85rem;
  color: var(--mid);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 700px;
}
.cta-inner h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-inner p {
  color: var(--mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Nav Links Section */
.nav-links-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.nav-links-inner h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.nav-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nav-link-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.2s ease;
}
.nav-link-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.nav-link-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.nav-link-card p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.5;
}

/* Newsletter Signup */
.newsletter-signup {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-align: center;
}
.newsletter-signup h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.newsletter-signup p {
  color: var(--mid);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  padding: 0.6rem 1rem;
  border: 1px solid var(--dim);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}
.newsletter-form button {
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
}

/* FAQ Cards (Issue 14) */
.faq-section {
  margin: 2.5rem 0;
}
.faq-section h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.faq-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  background: rgba(200, 164, 90, 0.03);
}
.faq-q {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.faq-a {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
}

/* Related Articles (Issue 15) */
.related-articles {
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.related-articles h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.related-article-link {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.related-article-link:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 90, 0.04);
  color: var(--gold);
}

/* Blog Article CTA spacing */
.blog-article-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

/* Price Styling (Issue 16) */
.price-main {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}
.product-card .price-main {
  font-size: 1.5rem;
}

/* Responsive - Multi-page */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .overview-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-overview .overview-inner { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1.5rem 2rem; }
  .hero-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-links-grid { grid-template-columns: 1fr; }
  .overview-visual { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
}
