/* Life With BIG AL — static optimized stylesheet */
:root {
  --radius: 0.85rem;
  --background: oklch(0.985 0.008 75);
  --foreground: oklch(0.22 0.04 260);
  --card: oklch(0.995 0.004 75);
  --primary: oklch(0.35 0.09 255);
  --primary-foreground: oklch(0.98 0.005 75);
  --secondary: oklch(0.93 0.03 75);
  --secondary-foreground: oklch(0.28 0.06 255);
  --muted: oklch(0.94 0.01 75);
  --muted-foreground: oklch(0.46 0.03 260);
  --accent: oklch(0.72 0.14 65);
  --accent-foreground: oklch(0.18 0.04 65);
  --border: oklch(0.9 0.015 75);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .font-serif { font-family: var(--font-serif); line-height: 1.2; }
.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;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.header-inner {
  height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { display: block; flex: none; line-height: 0; }
.brand-mark img { width: 2rem; height: auto; border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.22); }
@media (min-width: 640px) { .brand-mark img { width: 2.25rem; } }
.brand-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .brand-title { font-size: 1.5rem; } }
.brand-sub { margin: 0; font-size: 0.75rem; color: var(--muted-foreground); }
.nav-desktop { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.nav-desktop a:hover { color: var(--primary); }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; cursor: pointer; font: inherit; font-weight: 600;
  transition: opacity .15s, box-shadow .15s, transform .1s, background .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  border-radius: 999px; padding: 0.65rem 1rem; font-size: 0.875rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}
.btn-primary:hover { opacity: 0.95; box-shadow: 0 4px 12px rgb(0 0 0 / 0.12); }
.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 1.5rem; height: 1.5rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 4rem;
  background: linear-gradient(to bottom, oklch(0.96 0.02 75), var(--background));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.25;
  background: radial-gradient(circle at top right, oklch(0.85 0.08 75), transparent 50%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.cover-wrap { display: flex; flex-direction: column; align-items: center; }
.cover-card {
  position: relative; width: 100%; max-width: 24rem;
  background: var(--card); padding: 1rem; border-radius: 1rem;
  border: 1px solid var(--border); box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transition: transform .4s;
}
@media (min-width: 640px) { .cover-card { padding: 1.5rem; } }
.cover-card:hover { transform: translateY(-0.5rem); }
.cover-glow {
  position: absolute; inset: -1rem; border-radius: 1.5rem; z-index: -1;
  background: linear-gradient(to right, var(--accent), var(--primary));
  opacity: 0.2; filter: blur(24px);
}
.badge-corner {
  position: absolute; top: 2rem; right: 2rem; z-index: 2;
  background: var(--accent); color: var(--accent-foreground);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem; border-radius: 999px;
}
.cover-img { width: 100%; border-radius: 0.5rem; box-shadow: 0 4px 12px rgb(0 0 0 / 0.12); }
.cover-meta {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 0.5rem;
  font-size: 0.75rem; color: var(--muted-foreground);
}
.cover-meta strong { color: var(--foreground); }
.hero-actions {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground);
}
.chip-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: 0.5rem;
  border: 1px solid var(--border); background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: 0.75rem; font-weight: 600;
}
.chip-btn:hover { background: var(--card); color: var(--foreground); }

.hero-copy { text-align: center; }
@media (min-width: 1024px) { .hero-copy { text-align: left; } }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--secondary); color: var(--secondary-foreground);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.hero h1 {
  margin: 1rem 0 0.5rem; font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
}
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-sub {
  margin: 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--muted-foreground); font-weight: 500;
}
.hero-prose { margin-top: 1.5rem; }
.hero-prose p { margin: 0 0 1rem; color: color-mix(in oklab, var(--foreground) 90%, transparent); }
.hero-prose .lede { color: var(--muted-foreground); font-size: 1.05rem; }

.purchase-box {
  margin-top: 1.5rem; padding: 1.5rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border); box-shadow: 0 4px 16px rgb(0 0 0 / 0.06);
}
.purchase-head {
  display: flex; flex-direction: column; gap: 0.5rem; align-items: center;
  padding-bottom: 0.75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 640px) {
  .purchase-head { flex-direction: row; justify-content: space-between; text-align: left; }
}
.purchase-head h2 { margin: 0; font-size: 1.125rem; }
.purchase-head p { margin: 0.15rem 0 0; font-size: 0.75rem; color: var(--muted-foreground); }
.tag-ok {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.7rem; font-weight: 600; color: #065f46;
  background: #ecfdf5; border: 1px solid #a7f3d0; padding: 0.25rem 0.65rem; border-radius: 999px;
}
.buy-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .buy-grid { grid-template-columns: 1fr 1fr; } }
.buy-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: 1rem; border-radius: 0.75rem; box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}
.buy-card:hover { opacity: 0.95; box-shadow: 0 8px 20px rgb(0 0 0 / 0.14); }
.buy-paperback { background: var(--primary); color: var(--primary-foreground); }
.buy-ebook { background: var(--accent); color: var(--accent-foreground); }
.buy-card h3 { margin: 0; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.buy-card p { margin: 0.35rem 0 0; font-size: 0.75rem; opacity: 0.9; }
.buy-footer {
  margin-top: auto; padding-top: 0.5rem; border-top: 1px solid rgb(255 255 255 / 0.2);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 600;
}
.buy-ebook .buy-footer { border-top-color: rgb(0 0 0 / 0.1); }

/* Themes */
.themes {
  padding: 4rem 0; background: var(--card); border-block: 1px solid var(--border);
}
.section-intro { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.section-intro h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; }
.section-intro p { margin: 0.75rem 0 0; color: var(--muted-foreground); font-size: 1.05rem; }
.theme-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .theme-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-card {
  padding: 2rem; border-radius: 1rem; background: var(--background);
  border: 1px solid var(--border); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.theme-card:hover { box-shadow: 0 8px 20px rgb(0 0 0 / 0.08); }
.theme-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem; margin-bottom: 1.5rem;
  background: var(--secondary); color: var(--secondary-foreground);
  display: grid; place-items: center;
}
.theme-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.theme-card p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--background), oklch(0.96 0.02 75));
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 0.75rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.eyebrow-primary { background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.eyebrow-green { background: #d1fae5; color: #065f46; }
.quote-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 1.5rem; padding: 2rem; box-shadow: 0 20px 40px -15px rgb(0 0 0 / 0.15);
}
@media (min-width: 640px) { .quote-card { padding: 3rem; } }
.quote-deco {
  position: absolute; top: 1.5rem; left: 1.5rem; width: 4rem; height: 4rem;
  color: color-mix(in oklab, var(--primary) 10%, transparent); pointer-events: none;
}
.highlight-chip {
  display: inline-block; background: var(--secondary); color: var(--secondary-foreground);
  font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); margin-bottom: 1.25rem;
}
blockquote.quote-text {
  margin: 0; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.5rem); line-height: 1.55; color: var(--foreground);
}
.quote-footer {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) {
  .quote-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
.quote-author h3 { margin: 0; font-size: 1.25rem; }
.quote-author p { margin: 0.15rem 0 0; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.carousel-controls { display: flex; align-items: center; gap: 0.75rem; }
.carousel-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--background); color: var(--foreground);
  display: grid; place-items: center; cursor: pointer;
}
.carousel-btn:hover { background: var(--primary); color: var(--primary-foreground); }
.carousel-count { font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground); min-width: 3rem; text-align: center; }
.author-pills { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.author-pill {
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.75rem; font-weight: 500; cursor: pointer;
  border: 1px solid var(--border); background: var(--card); color: var(--muted-foreground);
}
.author-pill[aria-pressed="true"] {
  background: var(--primary); color: var(--primary-foreground); border-color: transparent;
}

/* Author */
.author-sec { padding: 5rem 0; background: var(--card); border-top: 1px solid var(--border); }
.author-panel {
  background: var(--background); border: 1px solid var(--border); border-radius: 1.5rem;
  padding: 2rem; box-shadow: 0 10px 30px rgb(0 0 0 / 0.08);
}
@media (min-width: 1024px) { .author-panel { padding: 3.5rem; } }
.author-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .author-grid { grid-template-columns: 4fr 8fr; gap: 3.5rem; } }
.author-photo-wrap { display: flex; justify-content: center; }
.author-photo {
  position: relative; width: 13rem; height: 13rem;
}
@media (min-width: 640px) { .author-photo { width: 16rem; height: 16rem; } }
.author-photo picture, .author-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 999px;
}
.author-ring {
  width: 100%; height: 100%; border-radius: 999px; padding: 4px;
  border: 4px solid var(--accent); background: var(--card);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.15); overflow: hidden;
}
.author-tag {
  position: absolute; bottom: -0.5rem; right: 1rem;
  background: var(--primary); color: var(--primary-foreground);
  font-size: 0.75rem; font-weight: 700; padding: 0.4rem 0.75rem; border-radius: 999px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.15);
}
.author-bio { text-align: center; }
@media (min-width: 1024px) { .author-bio { text-align: left; } }
.author-bio .label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: oklch(0.45 0.12 55); }
.author-bio h2 { margin: 0.25rem 0 1rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.author-bio p { margin: 0 0 1rem; color: var(--muted-foreground); font-size: 1.05rem; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.5rem; }
@media (min-width: 1024px) { .bio-tags { justify-content: flex-start; } }
.bio-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; padding: 0.5rem 0.9rem; border-radius: 0.5rem;
  background: var(--secondary); border: 1px solid var(--border);
}

/* Resources */
.resources { padding: 5rem 0; }
.res-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }
.res-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem; border-radius: 1rem; background: var(--card);
  border: 1px solid var(--border); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition: box-shadow .15s, border-color .15s;
}
.res-card:hover { box-shadow: 0 10px 24px rgb(0 0 0 / 0.1); border-color: color-mix(in oklab, var(--primary) 40%, var(--border)); }
.res-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.res-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: grid; place-items: center;
  background: var(--secondary); color: var(--primary);
}
.res-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-foreground); }
.res-card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.res-card:hover h3 { color: var(--primary); }
.res-card p { margin: 0; font-size: 0.75rem; color: var(--muted-foreground); }
.res-link {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; font-weight: 600; color: var(--primary);
}

/* Contact */
.contact { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--border); }
.contact-panel {
  max-width: 56rem; margin: 0 auto; text-align: center;
  background: var(--background); border: 1px solid var(--border); border-radius: 1.5rem;
  padding: 2rem; box-shadow: 0 4px 16px rgb(0 0 0 / 0.06);
}
@media (min-width: 640px) { .contact-panel { padding: 3rem; } }
.contact-icon {
  width: 3rem; height: 3rem; margin: 0 auto 1rem; border-radius: 999px;
  background: var(--secondary); color: var(--primary); display: grid; place-items: center;
}
.contact-panel h2 { margin: 0 0 0.5rem; font-size: 1.75rem; }
.contact-panel > p { margin: 0 auto 1.5rem; max-width: 36rem; font-size: 0.875rem; color: var(--muted-foreground); }
.form-grid { display: grid; gap: 1rem; text-align: left; max-width: 36rem; margin: 0 auto; }
@media (min-width: 640px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.35rem; }
input, textarea {
  width: 100%; padding: 0.65rem 1rem; border-radius: 0.75rem;
  border: 1px solid var(--border); background: var(--card); font: inherit; font-size: 0.875rem;
  color: var(--foreground);
}
input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.form-success {
  max-width: 28rem; margin: 0 auto; padding: 1.5rem; border-radius: 1rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #064e3b;
}
.form-success h3 { margin: 0.5rem 0; font-size: 1.125rem; }
.form-success p { margin: 0; font-size: 0.75rem; }
.hidden { display: none !important; }

/* Footer */
.site-footer {
  background: oklch(0.18 0.04 260); color: #fff; padding: 3rem 0;
  border-top: 1px solid #1e293b;
}
.footer-top {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / 0.1);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-top h2 { margin: 0; font-size: 1.5rem; }
.footer-top p { margin: 0.25rem 0 0; font-size: 0.75rem; color: #94a3b8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 600;
}
.footer-links .fp { background: rgb(255 255 255 / 0.1); }
.footer-links .fp:hover { background: rgb(255 255 255 / 0.2); }
.footer-links .fe { background: var(--accent); color: #000; }
.footer-bottom {
  padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: center;
  font-size: 0.75rem; color: #94a3b8; text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.heart { color: #ef4444; }

/* Contact form states */
.form-error {
  max-width: 28rem; margin: 0 auto 1rem; padding: 1.5rem; border-radius: 1rem;
  background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; text-align: center;
}
.form-error h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.form-error p { margin: 0; font-size: 0.75rem; }
.hp {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.btn[disabled] { opacity: 0.7; cursor: wait; }
