/* =============================================
   ELLIOT WARE BOOKS — elliotwarebooks.com
   The 7-Day Reset Series
   ============================================= */

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

:root {
  --navy: #0D1B2A;
  --navy-mid: #152338;
  --navy-light: #1E3251;
  --cream: #F5F0E8;
  --cream-dark: #E8E2D6;
  --text-primary: #F5F0E8;
  --text-muted: #9AACBE;
  --text-dark: #1A1A2E;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1100px;
  --radius: 4px;
  --radius-lg: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.logo-series {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--cream);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-body {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* =============================================
   BOOKS SECTION
   ============================================= */

.books-section {
  padding: 80px 0 100px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 60px;
}

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

.book-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Book cover mockups */
.book-cover {
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 5.5 / 8.5;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.book-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.cover-inner {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.cover-series {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.cover-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 16px;
  flex: 1;
}

.cover-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 32px;
}

.cover-author {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Subtle colour variation on covers */
.book-1 { background: #101E2F; }
.book-2 { background: #101E2F; }
.book-3 { background: #101E2F; }

/* Book info panel */
.book-info {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
}

.book-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.book-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-buy {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-buy:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.btn-download:hover {
  color: var(--cream);
}

/* =============================================
   WORKSHEETS SECTION
   ============================================= */

.worksheets-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: var(--navy-mid);
}

.worksheets-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.worksheets-text h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.3;
}

.worksheets-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.worksheets-text p:last-child {
  margin-bottom: 0;
}

.worksheets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.worksheet-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.worksheet-item:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateX(2px);
}

.worksheet-accent {
  width: 3px;
  align-self: stretch;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.worksheet-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.worksheet-book {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.worksheet-name {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--cream);
}

.worksheet-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}

.worksheet-item:hover svg {
  color: var(--cream);
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-section {
  padding: 70px 0;
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
}

.about-inner h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 28px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 2%;
}

.about-text p:last-child {
  margin-bottom: 0;
}


/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 13px;
  color: rgba(154, 172, 190, 0.5);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .worksheets-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .about-section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .cover-inner {
    padding: 24px 20px;
  }

  .book-info {
    padding: 20px;
  }
}
.author-image {
  width: 15%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 12px auto 16px;
  border-radius: 12px

}  
#author h2 {
  font-size: 26px;
}

#author .about-text p {
  font-size: 15px;
}