
/* styles.css */
:root {
  --deep-navy: #0d1b2a;
  --navy-black: #07111b;
  --antique-gold: #c8a25a;
  --gold-dark: #9f7a32;
  --charcoal: #1a1a1a;
  --dark-sepia: #3b2f25;
  --storm-blue: #3d4d5c;
  --parchment: #f3efe3;
  --aged-paper: #e8e2d2;
  --stone: #b6b0a1;
  --slate: #6b6b6b;
  --soft-ivory: #faf8f3;
  --sea-mist: #8fa29d;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--charcoal);
  background: var(--parchment);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(7, 17, 27, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 162, 90, 0.35);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--soft-ivory);
  letter-spacing: 0.16em;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--aged-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a {
  opacity: 0.86;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--antique-gold);
  opacity: 1;
}

.nav-button {
  padding: 9px 14px;
  color: var(--deep-navy) !important;
  background: var(--antique-gold);
  border-radius: 2px;
  opacity: 1 !important;
  font-weight: 700;
}

.hero {
  min-height: 98vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--soft-ivory);
  background:
    linear-gradient(90deg, rgba(7, 17, 27, 0.32) 0%, rgba(7, 17, 27, 0.32) 42%, rgba(7, 17, 27, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 17, 27, 0.01) 0%, rgba(7, 17, 27, 0.9) 100%),
    url("/images/hero-ship.jpg") 95% 10% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 45%, rgba(200, 162, 90, 0.12), transparent 34%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 130px 24px 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--antique-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin-top: 0;
  font-weight: 500;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 1.8vw, 4.8rem);
  letter-spacing: 0.02em;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--aged-paper);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--antique-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--deep-navy);
  background: var(--antique-gold);
}

.button-secondary {
  color: var(--soft-ivory);
  background: rgba(7, 17, 27, 0.35);
}

.dark-text {
  color: var(--deep-navy);
}

.section {
  padding: 86px 24px;
}

.section-dark {
  background: var(--deep-navy);
  color: var(--soft-ivory);
}

.section-paper {
  background:
    linear-gradient(rgba(243, 239, 227, 0.94), rgba(243, 239, 227, 0.94)),
    repeating-linear-gradient(90deg, rgba(59, 47, 37, 0.04), rgba(59, 47, 37, 0.04) 1px, transparent 1px, transparent 7px);
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2 {
  color: var(--deep-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 14px;
}

.section-dark .section-heading h2 {
  color: var(--soft-ivory);
}

.section-heading p {
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.section-dark .section-heading p {
  color: var(--aged-paper);
}

.featured-book {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.book-cover-card {
  padding: 18px;
  background: var(--soft-ivory);
  border: 1px solid rgba(59, 47, 37, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.book-cover-placeholder {
  aspect-ratio: 2 / 3;
  background:
    url("/images/book-cover.jpg?v=20260529") center / cover no-repeat;
  border: 1px solid rgba(200, 162, 90, 0.35);
}


.book-details h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  color: var(--deep-navy);
  margin-bottom: 12px;
}

.tagline {
  margin: 0 0 24px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.book-details p {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--dark-sepia);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.format-card {
  display: flex;
  flex-direction: column;
  min-height: 92px;
  padding: 18px;
  background: var(--soft-ivory);
  border: 1px solid rgba(59, 47, 37, 0.18);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.format-card strong {
  display: block;
  color: var(--deep-navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.format-card span {
  display: block;
  color: var(--slate);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.format-card strong::after {
  content: " →";
  opacity: 0;
  transition: opacity 0.2s ease;
}

.format-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 162, 90, 0.65);
  background: #f7f2e7;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.format-card:hover strong::after {
  opacity: 1;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

#buy {
    scroll-margin-top: 86px;
}

.archive-panel {
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(200, 162, 90, 0.45);
  background:
    linear-gradient(rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.5)),
    url("/images/archive-texture.jpg") center / cover no-repeat,
    var(--dark-sepia);
  box-shadow: inset 0 0 0 1px rgba(250, 248, 243, 0.12);
}

.archive-note {
  max-width: 360px;
  padding: 22px;
  background: rgba(7, 17, 27, 0.82);
  color: var(--aged-paper);
  border-left: 3px solid var(--antique-gold);
}

.split-content h2 {
  color: var(--soft-ivory);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.split-content p {
  color: var(--aged-paper);
  font-size: 1.06rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.press-card {
  padding: 26px;
  background: var(--soft-ivory);
  border: 1px solid rgba(59, 47, 37, 0.16);
  box-shadow: 0 14px 34px rgba(59, 47, 37, 0.08);
}

.press-card h3 {
  color: var(--deep-navy);
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.press-card p {
  margin-bottom: 0;
  color: var(--slate);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

blockquote {
  margin: 0;
  padding: 24px;
  color: var(--aged-paper);
  background: rgba(250, 248, 243, 0.06);
  border: 1px solid rgba(200, 162, 90, 0.28);
}

blockquote p {
  margin-top: 0;
  font-size: 1.08rem;
}

blockquote cite {
  color: var(--antique-gold);
  font-style: normal;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forthcoming {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  background: var(--aged-paper);
  border: 1px solid rgba(59, 47, 37, 0.18);
}

.forthcoming-list {
  display: grid;
  gap: 14px;
}

.future-item {
  padding: 18px;
  background: var(--soft-ivory);
  border-left: 4px solid var(--antique-gold);
}

.future-item strong {
  display: block;
  color: var(--deep-navy);
}

.future-item span {
  color: var(--slate);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

.newsletter {
  padding: 30px;
  color: var(--soft-ivory);
  background: var(--deep-navy);
}

.newsletter h3 {
  color: var(--antique-gold);
  margin-bottom: 10px;
}

.newsletter p {
  color: var(--aged-paper);
}

.newsletter-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.newsletter-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(250, 248, 243, 0.3);
  background: rgba(250, 248, 243, 0.08);
  color: var(--soft-ivory);
}

.newsletter-form input::placeholder {
  color: rgba(250, 248, 243, 0.65);
}

.newsletter-form button {
  cursor: pointer;
  border: 0;
}

.site-footer {
  padding: 34px 24px;
  color: var(--aged-paper);
  background: var(--navy-black);
  border-top: 1px solid rgba(200, 162, 90, 0.25);
}

.footer-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: 820px;
    background-position: 62% center;
  }

  .featured-book,
  .split-grid,
  .forthcoming {
    grid-template-columns: 1fr;
  }

  .book-cover-card {
    max-width: 340px;
  }

  .format-grid,
  .cards-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 64px 18px;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .forthcoming {
    padding: 24px;
  }
}
