*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Georgia, 'Times New Roman', serif; background: #fdf9f7; color: #3a2e2e; display: flex; flex-direction: column; min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* Home page layout */
.top-bar { padding: 1.5rem 2rem 0; }
.site-url { font-family: Arial, sans-serif; font-size: 0.82rem; color: #7c6a9e; letter-spacing: 0.02em; }
.nav-bar { display: flex; justify-content: flex-end; padding: 0 2rem; margin-top: 4rem; }
.nav { display: flex; gap: 0.1rem; }
.nav-item { position: relative; }
.nav-item > a { font-family: Arial, sans-serif; font-size: 0.78rem; color: #7a6a6a; padding: 0.3rem 0.6rem; border-radius: 4px; display: block; transition: color 0.15s, background 0.15s; }
.nav-item > a:hover, .nav-item > a.active { color: #7c6a9e; background: #ede8f4; }
.drop { display: none; position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid #e2d5d5; border-radius: 6px; min-width: 200px; padding: 0.3rem 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.07); }
.drop a { display: block; padding: 0.4rem 0.9rem; font-family: Arial, sans-serif; font-size: 0.75rem; color: #7a6a6a; transition: background 0.1s, color 0.1s; }
.drop a:hover { background: #ede8f4; color: #7c6a9e; }
.nav-item:hover .drop { display: block; }
.main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; }
.hero-text { text-align: center; }
.hero-text p { font-size: 1.15rem; color: #3a2e2e; line-height: 1.9; font-style: italic; }
.hero-text .words { font-family: Arial, sans-serif; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c08080; font-style: normal; margin-top: 0.5rem; }
.footer-icons { display: flex; justify-content: center; gap: 1.5rem; padding: 1.5rem 2rem; border-top: 1px solid #e2d5d5; margin-top: auto; }
.icon-link { color: #b0a0b8; transition: color 0.15s; }
.icon-link:hover { color: #7c6a9e; }

/* PPP page styles */
.ppp-top { padding: 1.25rem 2rem 0; display: flex; align-items: center; gap: 0.75rem; }
.ppp-logo { width: 38px; height: 38px; flex-shrink: 0; }
.ppp-title { font-family: Arial, sans-serif; font-size: 0.82rem; color: #7c6a9e; }
.ppp-nav-bar { display: flex; justify-content: flex-end; padding: 0 2rem; margin-top: 3rem; }
.page-content-area { max-width: 720px; margin: 0 auto; padding: 3rem 2rem; flex: 1; }
.page-content-area p { font-size: 0.95rem; line-height: 1.85; margin-bottom: 1.25rem; }
.page-content-area a { color: #7c6a9e; border-bottom: 1px solid #c9bedd; }
.pub-item { border: 1px solid #e2d5d5; border-radius: 8px; padding: 1.1rem 1.25rem; margin-bottom: 0.85rem; background: #fff; display: flex; align-items: flex-start; gap: 1rem; }
.pub-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.pub-text { flex: 1; }
.pub-title { font-family: Arial, sans-serif; font-size: 0.88rem; font-weight: 600; color: #3a2e2e; margin-bottom: 0.3rem; }
.pub-desc { font-size: 0.82rem; color: #7a6a6a; line-height: 1.5; margin-bottom: 0.6rem; }
.pub-link { font-family: Arial, sans-serif; font-size: 0.78rem; color: #7c6a9e; border-bottom: 1px solid #c9bedd; }

/* Jenn's Baked cookbook styles */
.jb-top { padding: 1.25rem 1.5rem 0; display: flex; align-items: center; gap: 0.75rem; }
.jb-logo-img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; }
.jb-title { font-family: Arial, sans-serif; font-size: 0.82rem; color: #3a6b8a; font-weight: 600; }
.jb-nav-bar { display: flex; justify-content: flex-end; padding: 0 1.5rem; margin-top: 2.5rem; }
.book-wrap { display: flex; flex: 1; margin: 1.5rem; border-radius: 8px; overflow: hidden; border: 1px solid #c8dce8; box-shadow: 2px 4px 16px rgba(0,0,0,0.08); min-height: 420px; }
.book-spine { width: 18px; background: #1a3a52; flex-shrink: 0; }
.book-page { flex: 1; background: #fdf9f7; padding: 1.75rem 2rem; overflow-y: auto; display: none; max-height: 500px; }
.book-page.active { display: block; }
.chapter-tabs { display: flex; flex-direction: column; background: #1a3a52; width: 42px; flex-shrink: 0; }
.tab { writing-mode: vertical-rl; font-family: Arial, sans-serif; font-size: 0.58rem; letter-spacing: 0.05em; color: #a8c8dc; padding: 0.75rem 0.4rem; cursor: pointer; border-bottom: 1px solid #2a4a62; transition: background 0.15s; text-align: center; flex: 1; }
.tab:hover { background: #2a4a62; color: #fff; }
.tab.active { background: #fdf9f7; color: #1a3a52; font-weight: 700; }
.chapter-title { font-size: 1.3rem; color: #1a3a52; margin-bottom: 0.2rem; font-style: italic; }
.chapter-sub { font-family: Arial, sans-serif; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #a8c8dc; margin-bottom: 1.25rem; padding-bottom: 0.6rem; border-bottom: 1px solid #c8dce8; }
.book-text p { font-size: 0.85rem; line-height: 1.8; margin-bottom: 1rem; }
.book-text .note { font-style: italic; font-size: 0.8rem; color: #7a6a6a; }
.book-text .stoner { background: #f0f7fa; border-left: 3px solid #5bb8d4; padding: 0.75rem 1rem; font-size: 0.82rem; font-style: italic; margin-bottom: 1rem; border-radius: 0 4px 4px 0; }
.section-head { font-family: Arial, sans-serif; font-size: 0.78rem; font-weight: 700; color: #1a3a52; margin: 1.25rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.book-table { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1.25rem; font-size: 0.78rem; }
.book-table th { background: #1a3a52; color: #fff; padding: 0.45rem 0.7rem; text-align: left; font-family: Arial, sans-serif; font-size: 0.72rem; }
.book-table td { padding: 0.4rem 0.7rem; border-bottom: 1px solid #e2d5d5; vertical-align: top; }
.book-table tr:nth-child(even) td { background: #f5f0f8; }
.book-table tr:last-child td { border-bottom: none; }
.tbl-label { font-family: Arial, sans-serif; font-size: 0.72rem; color: #1a3a52; font-weight: 700; margin: 1rem 0 0.3rem; }
.page-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 0.75rem; border-top: 1px solid #e2d5d5; }
.page-nav button { font-family: Arial, sans-serif; font-size: 0.75rem; color: #3a6b8a; background: none; border: 1px solid #c8dce8; padding: 0.35rem 0.85rem; border-radius: 4px; cursor: pointer; }
.page-nav button:hover { background: #deeef7; }
.page-nav button:disabled { color: #ccc; border-color: #eee; cursor: default; }
.page-indicator { font-family: Arial, sans-serif; font-size: 0.72rem; color: #7a6a6a; }
.sign { font-style: italic; color: #3a6b8a; font-size: 0.88rem; margin-top: 1rem; }
.coming-soon { display: flex; align-items: center; justify-content: center; height: 200px; font-family: Arial, sans-serif; font-size: 0.8rem; color: #b0a0a0; font-style: italic; }
