/* beccamendelsonlouden.com — Site Stylesheet */
/* Phone-first responsive design */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #162667;
  --gold: #F4C53D;
  --bg: #faf8f4;
  --text: #1a1a1a;
  --text-light: #555;
  --border: #e0dcd4;
  --card-bg: #ffffff;
  --max-width: 680px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Source Serif 4', 'Georgia', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--navy);
  text-decoration: none;
}

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

/* ── HEADER ─────────────────────────────────── */

.site-header {
  background: var(--navy);
  padding: 0.9rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header a { color: #fff; }
.site-header a:hover { color: var(--gold); }

.brand {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.brand span { color: var(--gold); }

.header-nav {
  display: flex;
  gap: 1.25rem;
}

.header-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--gold); }

/* ── HERO ────────────────────────────────────── */

.becca-hero {
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.becca-portrait {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center 5%;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(22,38,103,0.14);
  display: block;
  margin: 0 auto 1.5rem;
}

.becca-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.becca-tagline {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.becca-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
}

/* ── CONTENT WRAPPER ─────────────────────────── */

.becca-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  flex: 1;
}

/* ── RULES ──────────────────────────────────── */

.b-rule {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

.b-rule-gold {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2.5rem 0;
}

/* ── SECTION HEADINGS ───────────────────────── */

.b-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.b-heading .accent { color: var(--gold); }

/* ── BODY SECTIONS ──────────────────────────── */

.b-section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text);
}

.b-section p:last-child { margin-bottom: 0; }

/* ── BOOK FEATURE ────────────────────────────── */

.book-feature {
  background: #f9f7f2;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 2rem 1.5rem;
  margin: 2rem -1.5rem;
}

.book-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.book-cover-wrap {
  flex-shrink: 0;
  width: 130px;
  box-shadow: 0 4px 16px rgba(22,38,103,0.18), 0 1px 4px rgba(22,38,103,0.08);
}

.book-cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.book-text { flex: 1; min-width: 0; }

.book-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.book-title-main {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.book-series {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.book-stars {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--gold);
}

.book-desc {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1rem;
}

.book-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.book-meta strong { color: var(--text); }

.btn-amazon {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-amazon:hover {
  background: #e6b830;
  color: var(--navy);
}

@media (max-width: 420px) {
  .book-layout { flex-direction: column; align-items: center; text-align: center; }
  .book-cover-wrap { width: 150px; }
}

/* ── MOMOSA HEADER ─────────────────────────── */

.momosa-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.momosa-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.momosa-header .b-heading { margin-bottom: 0; }

/* ── PULL QUOTE ────────────────────────────── */

.pull-quote {
  padding: 1.5rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.pull-quote blockquote {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pull-quote .attribution {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CREDIT CARDS (film) ──────────────────── */

.credit-card {
  background: #f9f7f2;
  border-left: 3px solid var(--navy);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.credit-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.credit-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2a7a7a;
  margin-top: 0.2rem;
}

.credit-detail {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── ORG CARDS ─────────────────────────────── */

.org-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.org-logo {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--border);
}

.org-body { flex: 1; min-width: 0; }

.org-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.org-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2a7a7a;
  margin-bottom: 0.4rem;
}

.org-desc {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text);
}

@media (max-width: 420px) {
  .org-card { gap: 1rem; }
  .org-logo { width: 56px; height: 56px; }
}

/* ── CLOSING ────────────────────────────────── */

.becca-closing {
  text-align: center;
  padding-bottom: 1rem;
}

.becca-closing p {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.ext-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.ext-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.ext-links a:hover { color: var(--gold); }

/* ── CONTENT PAGES (terms, privacy) ─────────── */

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  flex: 1;
}

.page-content h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.page-content h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p,
.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.7;
}

.page-content ul,
.page-content ol { padding-left: 1.5rem; }
.page-content li { margin-bottom: 0.35rem; }

.page-content .page-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ── 404 ────────────────────────────────────── */

.error-page {
  text-align: center;
  padding: 4rem 1.5rem;
  flex: 1;
}

.error-page .error-code {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.error-page h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 1rem 0 0.75rem;
}

.error-page p { color: var(--text-light); margin-bottom: 1.5rem; }

.error-page .btn {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.error-page .btn:hover { background: var(--gold); color: var(--navy); }

/* ── FOOTER ─────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  margin: 0 0.5rem;
}

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

.footer-links {
  margin-top: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
}
