@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Barlow+Condensed:wght@600;700;800&display=swap');

:root {
  --navy: #0B1F3A;
  --red: #BF1B2C;
  --red-dark: #8B1320;
  --gold: #C9A84C;
  --white: #FAFAF8;
  --offwhite: #F2EFE9;
  --light-gray: #E8E4DC;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  border-bottom: 3px solid var(--red);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; color: var(--white) !important; }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  pointer-events: none;
}

.hero-text {
  padding: 80px 60px 80px 80px;
  animation: fadeUp 0.9s ease both;
}

.hero-flag-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.flag-stripe {
  height: 4px;
  border-radius: 2px;
}
.flag-stripe.red { background: var(--red); width: 60px; }
.flag-stripe.white { background: rgba(255,255,255,0.6); width: 40px; }
.flag-stripe.blue { background: #4A7FB5; width: 30px; }

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title span { color: var(--red); }

.hero-subtitle {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  line-height: 1.5;
}

.hero-publisher {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); }

.hero-book {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 80px 80px 40px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.book-cover-wrap {
  position: relative;
  display: inline-block;
}

.book-cover-wrap img,
.book-cover-placeholder {
  width: 320px;
  max-width: 100%;
  border-radius: 3px;
  box-shadow: 
    -8px 8px 0 rgba(0,0,0,0.3),
    -16px 16px 30px rgba(0,0,0,0.4);
}

.book-cover-placeholder {
  width: 280px;
  height: 400px;
  background: linear-gradient(135deg, #1a3a5c, #0B1F3A);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 20px;
}

/* INTRO BAND */
.intro-band {
  background: var(--red);
  color: var(--white);
  padding: 48px 80px;
  text-align: center;
}

.intro-band blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* WHAT THE BOOK IS ABOUT */
.about-book {
  padding: 100px 80px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}

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

.examples-panel {
  background: var(--navy);
  padding: 44px;
  border-radius: 3px;
  position: sticky;
  top: 90px;
}

.examples-panel h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.example-list {
  list-style: none;
}

.example-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}
.example-list li:last-child { border-bottom: none; }

.example-list li::before {
  content: '★';
  color: var(--red);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* DIVIDER */
.divider {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.divider-stripe { height: 8px; flex: 1; }
.divider-stripe.navy { background: var(--navy); }
.divider-stripe.red { background: var(--red); }
.divider-stripe.gold { background: var(--gold); }

/* ABOUT AUTHOR SECTION (homepage) */
.author-teaser {
  background: var(--offwhite);
  padding: 100px 80px;
}

.author-teaser-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 70px;
  align-items: start;
}

.author-photo-wrap img,
.author-photo-placeholder {
  width: 100%;
  border-radius: 3px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.author-photo-placeholder {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-align: center;
}

/* BLOG PREVIEW */
.blog-preview {
  padding: 100px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.blog-card {
  border-top: 3px solid var(--navy);
  padding-top: 24px;
}

.blog-card-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.read-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.read-more:hover { color: var(--red-dark); }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid var(--red);
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p { font-size: 0.85rem; }

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

/* PAGE HEADER (inner pages) */
.page-header {
  background: var(--navy);
  padding: 120px 80px 80px;
  margin-top: 64px;
}

.page-header .section-label { color: var(--gold); }
.page-header .section-heading { color: var(--white); }
.page-header .section-text { color: rgba(255,255,255,0.65); max-width: 620px; }

/* ABOUT PAGE */
.about-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.about-sidebar img,
.about-sidebar .author-photo-placeholder {
  width: 100%;
  border-radius: 3px;
  margin-bottom: 32px;
}

.credential-list {
  list-style: none;
}
.credential-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.credential-list li::before {
  content: '—';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* CONTACT FORM */
.contact-section {
  background: var(--offwhite);
  padding: 80px;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-inner .section-heading { color: var(--navy); margin-bottom: 8px; }
.contact-inner .section-text { margin-bottom: 40px; }

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: 2px;
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { height: 160px; resize: vertical; }

.form-success {
  display: none;
  background: #e8f5e9;
  border: 2px solid #4CAF50;
  border-radius: 3px;
  padding: 20px 24px;
  color: #2e7d32;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 16px;
}

/* BLOG PAGE */
.blog-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px;
}

.blog-post-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--light-gray);
}

.post-date-col {
  text-align: right;
  padding-top: 6px;
}

.post-date-col .month {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.post-date-col .day {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.post-date-col .year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.post-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* MOBILE HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

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

.animate-in {
  animation: fadeUp 0.7s ease both;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 1.1rem; }

  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text { padding: 60px 32px 40px; }
  .hero-flag-bar { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-book { padding: 20px 32px 60px; }

  .intro-band { padding: 40px 32px; }

  .about-book { grid-template-columns: 1fr; padding: 60px 32px; gap: 40px; }
  .examples-panel { position: static; }

  .author-teaser { padding: 60px 32px; }
  .author-teaser-inner { grid-template-columns: 1fr; gap: 40px; }
  .author-photo-wrap { max-width: 260px; }

  .blog-preview { padding: 60px 32px; }
  .blog-grid { grid-template-columns: 1fr; gap: 32px; }

  footer { flex-direction: column; gap: 16px; text-align: center; padding: 40px 32px; }

  .page-header { padding: 100px 32px 60px; }
  .about-main { grid-template-columns: 1fr; padding: 60px 32px; gap: 40px; }
  .about-sidebar { max-width: 280px; }
  .contact-section { padding: 60px 32px; }
  .blog-main { padding: 60px 32px; }
  .blog-post-item { grid-template-columns: 1fr; gap: 12px; }
  .post-date-col { text-align: left; display: flex; gap: 12px; align-items: baseline; }
  .post-date-col .day { font-size: 1.5rem; }
}
