
/* Playfair Display for major headings — added March 2026 */
h1, h2, .site-title, .hero-title, .section-title {
  font-family: "Playfair Display", "EB Garamond", Georgia, serif;
}
/* ═══════════════════════════════════════════════════════════════
   Ink and Purpose Studios — Design System
   Premium children's Bible storybook publisher
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #1A2744;
  --navy-deep: #0F1A2E;
  --gold: #C9952B;
  --gold-light: #D4A94A;
  --gold-dark: #A67B1E;
  --parchment: #FDF6E3;
  --parchment-dark: #F5EDDA;
  --white: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --font-heading: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: Georgia, 'EB Garamond', 'Times New Roman', serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--parchment);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
}
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

/* ═══════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 149, 43, 0.15);
  transition: background var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-logo img {
  border-radius: 4px;
}

.nav-logo:hover { color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ═══════════════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 100px 24px 60px;
}

.hero-series {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: 17px;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  animation: float 2s ease-in-out infinite;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  text-align: center;
}

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

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 149, 43, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   Sections
   ═══════════════════════════════════════════════════════════════ */

.section {
  padding: 96px 0;
}

.section-parchment { background: var(--parchment); }
.section-white { background: var(--white); }

.section-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.section-gold-gradient {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: var(--navy);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-title.light { color: var(--white); }

.section-lead {
  text-align: center;
  font-size: 18px;
  max-width: 660px;
  margin: 0 auto 56px;
  color: var(--text-light);
  line-height: 1.7;
}

.section-lead.light { color: rgba(255, 255, 255, 0.75); }

/* ── Features ── */

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

.feature {
  text-align: center;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Gallery ── */

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(15, 26, 46, 0.85) 0%, transparent 100%);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Volumes ── */

.volumes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.volume-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26, 39, 68, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.volume-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(26, 39, 68, 0.12);
}

.volume-card.featured {
  box-shadow: 0 4px 30px rgba(201, 149, 43, 0.2);
  border: 2px solid var(--gold);
}

.volume-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.volume-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.placeholder-cover.vol1 {
  background: linear-gradient(160deg, var(--navy) 0%, #2A3A5C 100%);
}

.placeholder-cover.vol3 {
  background: linear-gradient(160deg, #1A2744 0%, #2E1A3A 100%);
}

.placeholder-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.placeholder-series {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.placeholder-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.placeholder-sub {
  font-family: var(--font-heading);
  font-size: 14px;
  font-style: italic;
  color: var(--gold-light);
}

.volume-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  background: var(--navy);
  color: var(--gold);
  z-index: 2;
}

.volume-badge.new {
  background: var(--gold);
  color: var(--navy);
}

.volume-badge.coming {
  background: rgba(26, 39, 68, 0.7);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.volume-info {
  padding: 28px 24px;
}

.volume-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.volume-scope {
  font-size: 14px;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 12px;
}

.volume-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── CTA ── */

.cta-center {
  text-align: center;
  max-width: 600px;
}

.cta-center h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-center p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.inline-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.inline-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1.5px solid rgba(26, 39, 68, 0.2);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
}

.inline-form input[type="email"]::placeholder {
  color: var(--text-light);
}

.inline-form input[type="email"]:focus {
  outline: none;
  border-color: var(--navy);
}

.form-note {
  font-size: 14px;
  color: rgba(26, 39, 68, 0.6);
  margin-top: 12px;
}

/* ── Testimonials ── */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: var(--parchment);
  padding: 36px 28px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.testimonial p {
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  margin-bottom: 12px;
  border-radius: 4px;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 4px;
}

.footer-location {
  font-size: 14px;
}

.footer-links h4, .footer-social h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

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

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════
   Page Headers (interior pages)
   ═══════════════════════════════════════════════════════════════ */

.page-header {
  position: relative;
  padding: 140px 0 72px;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.4);
}

.page-header p {
  font-size: 18px;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   Books Page
   ═══════════════════════════════════════════════════════════════ */

.book-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
  padding: 48px 0;
}

.book-detail + .book-detail {
  border-top: 1px solid rgba(26, 39, 68, 0.1);
}

.book-cover {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 39, 68, 0.15);
}

.book-cover img {
  width: 100%;
}

.book-cover-placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.book-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.book-content .book-meta {
  font-size: 15px;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 20px;
}

.book-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.chapter-list {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  margin: 24px 0;
  padding: 24px;
  background: var(--parchment);
  border-radius: 8px;
}

.chapter-list li {
  font-size: 15px;
  padding: 4px 0;
  break-inside: avoid;
  color: var(--text);
}

.chapter-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════
   About Page
   ═══════════════════════════════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, #2A3A5C 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  text-align: center;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(26, 39, 68, 0.15);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text .highlight {
  font-style: italic;
  color: var(--gold-dark);
  font-size: 19px;
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
}

/* ═══════════════════════════════════════════════════════════════
   Resources Page
   ═══════════════════════════════════════════════════════════════ */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.resource-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(26, 39, 68, 0.06);
  border-top: 3px solid var(--gold);
}

.resource-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.resource-card .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  background: var(--parchment);
  color: var(--gold-dark);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   Contact Page
   ═══════════════════════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1.5px solid rgba(26, 39, 68, 0.15);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  margin-bottom: 20px;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info-item {
  margin-bottom: 24px;
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   Language Flags
   ═══════════════════════════════════════════════════════════════ */

.language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.language-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.language-tag.active {
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-weight: 600;
}

.language-tag.coming {
  opacity: 0.6;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 968px) {
  .features { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .volumes { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .book-detail { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .chapter-list { columns: 1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(26, 39, 68, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(201, 149, 43, 0.15);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-content { padding: 120px 20px 80px; }
  .section { padding: 64px 0; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .inline-form {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-header { padding: 120px 0 56px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .gallery { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .gallery-caption { opacity: 1; transform: none; }
}
