/* ============================================================
   shawnwriteshere.com — Constructivist Rebel
   April 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lora:ital,wght@0,400;0,600;1,400&family=Space+Mono:wght@400;700&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:           #111111;
  --bg-card:      #1A1A1A;
  --bg-alt:       #161616;
  --red:          #9B1D1D;
  --red-dark:     #7A1515;
  --cream:        #F0E0C0;
  --gold:         #C89B3C;
  --text:         #F0E0C0;
  --text-muted:   #A09070;
  --border:       #2A2A2A;
  --max-width:    1100px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--gold); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--cream);
}
h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 4rem 0; }
.section-divider {
  border: none;
  border-top: 2px solid var(--red);
  margin: 0;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  background: var(--bg);
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.8rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
}
.site-logo span { color: var(--red); }
.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--cream); }
.site-nav .btn {
  padding: 0.35em 1em;
  font-size: 0.85rem;
  color: var(--cream);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  background: var(--red);
  color: var(--cream);
  padding: 0.55em 1.6em;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--gold);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
}
.btn-outline:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -8%;
  width: 50%; height: 100%;
  background: var(--red);
  opacity: 0.06;
  transform: skewX(-8deg);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.hero-tagline {
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.hero-tagline::after {
  content: '';
  display: block;
  width: 64px; height: 3px;
  background: var(--red);
  margin-top: 0.6rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 1.1rem 0 2rem;
  max-width: 480px;
}
.hero-photo { order: -1; }
@media (min-width: 768px) { .hero-photo { order: 1; } }
.hero-photo img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================================
   SERIES CARDS (Home)
   ============================================================ */
.series-cards-section {
  background: var(--bg-alt);
  padding: 4rem 0;
}
.series-cards-section h2 { margin-bottom: 2.5rem; }
.series-cards-section h2 span { color: var(--red); }
.series-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .series-grid { grid-template-columns: 1fr 1fr; }
}
.series-card {
  background: var(--bg-card);
  border-top: 3px solid var(--red);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.series-card-covers {
  display: flex;
  gap: 0.5rem;
}
.series-card-covers img {
  flex: 1;
  width: 0;
  height: auto;
  border: 1px solid var(--border);
}
.series-card h3 { margin-top: 0.25rem; }
.series-hook {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}
.series-stats {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */
.subscribe-section {
  background: var(--red);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute;
  bottom: -20px; left: -5%;
  width: 50%; height: 80%;
  background: rgba(0,0,0,0.15);
  transform: skewX(-8deg);
  pointer-events: none;
}
.subscribe-inner {
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.subscribe-section h2 { color: var(--cream); margin-bottom: 0.75rem; }
.subscribe-section p { color: rgba(240,224,192,0.85); margin-bottom: 1.5rem; }
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 520px) {
  .subscribe-form { flex-direction: row; }
  .subscribe-form input[type="email"] { flex: 1; }
}
.subscribe-form input {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(240,224,192,0.35);
  color: var(--cream);
  padding: 0.7em 1em;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe-form input::placeholder { color: rgba(240,224,192,0.45); }
.subscribe-form input:focus { border-color: var(--cream); }
.subscribe-form .btn {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--cream);
  white-space: nowrap;
}
.subscribe-form .btn:hover { background: #000; border-color: #000; color: var(--gold); }
.subscribe-note {
  font-size: 0.78rem;
  color: rgba(240,224,192,0.55);
  margin-top: 0.75rem;
  margin-bottom: 0 !important;
}

/* MailerLite form overrides */
.ml-embedded { margin: 0; }
.ml-embedded .ml-form-embedWrapper { background: transparent !important; padding: 0 !important; }

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.credibility {
  background: var(--bg);
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.credibility p {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.credibility span { color: var(--gold); margin: 0 0.6rem; }

/* ============================================================
   SERIES PAGE — HEADER
   ============================================================ */
.series-header {
  padding: 3rem 0 1.5rem;
  border-bottom: 2px solid var(--red);
  margin-bottom: 3rem;
}
.series-header .label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}
.series-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0.75rem 0;
}
.series-stats-line {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.25rem;
}

/* ============================================================
   BOOK LIST
   ============================================================ */
.book-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.book-entry {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) {
  .book-entry { grid-template-columns: 160px 1fr; gap: 2.5rem; }
}
.book-entry:last-child { border-bottom: none; }
.book-cover { position: relative; }
.book-cover img {
  width: 100%;
  border: 2px solid var(--red);
  box-shadow: 4px 4px 0 var(--red);
}
.book-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--gold);
  color: var(--bg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.25em 0.6em;
  line-height: 1;
}
.book-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.book-info h3 { margin-bottom: 0.6rem; }
.book-hook {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  max-width: 580px;
}
.book-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.where-to-start {
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2.5rem 0 4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.where-to-start strong { color: var(--gold); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: 4rem 0; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 700px) {
  .about-layout { grid-template-columns: 260px 1fr; gap: 4rem; }
}
.about-photo img {
  width: 100%;
  max-width: 260px;
  border: 2px solid var(--red);
  box-shadow: 6px 6px 0 var(--red);
}
.about-bio h1 { margin-bottom: 1.5rem; }
.about-bio p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  max-width: 620px;
}
.about-credentials {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   SUBSCRIBE PAGE (standalone)
   ============================================================ */
.subscribe-page { padding: 5rem 0; min-height: 70vh; }
.subscribe-page-inner { max-width: 520px; }
.subscribe-page-inner h1 { margin-bottom: 1rem; }
.subscribe-page-inner > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.subscribe-page .subscribe-form input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--cream);
}
.subscribe-page .subscribe-form input:focus { border-color: var(--red); }
.subscribe-page .subscribe-form input::placeholder { color: var(--text-muted); }
.subscribe-page .subscribe-form .btn {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}
.subscribe-page .subscribe-form .btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--gold);
}
.subscribe-page .subscribe-note { color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0A0A0A;
  border-top: 2px solid var(--red);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
}
.footer-social,
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-social a,
.footer-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-social a:hover,
.footer-links a:hover { color: var(--cream); }
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  color: #444;
  letter-spacing: 0.08em;
}
