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

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 5rem;
  }

  .hero-title-accent {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Desktop / Laptop (992px - 1399px) */
@media (max-width: 1199px) {
  .navbar-nav-desktop .nav-link {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .nav-btn {
    padding: 8px 18px;
    margin-left: 8px;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .page-hero {
    padding: 140px 0 50px;
  }

  .page-hero-title {
    font-size: 2.1rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-title-accent {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 420px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 12px 26px;
    font-size: 0.78rem;
  }
}

/* Small Tablet (576px - 767px) */
@media (max-width: 767px) {
  .navbar {
    padding: 14px 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-title-accent {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    max-width: 360px;
    line-height: 1.6;
  }

  .tagline-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .tagline-line {
    width: 30px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 12px 20px;
    font-size: 0.72rem;
  }

  .sidebar {
    width: 280px;
  }
}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-main {
    font-size: 1rem;
  }

  .brand-accent {
    font-size: 0.88rem;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-tagline {
    gap: 10px;
    margin-bottom: 16px;
  }

  .tagline-text {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  .tagline-line {
    width: 24px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-title-accent {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    max-width: 320px;
    margin-bottom: 28px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 11px 18px;
    font-size: 0.7rem;
  }

  .sidebar {
    width: 260px;
  }

  .sidebar-brand {
    padding: 40px 20px 24px;
  }

  .sidebar-link {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

/* Very Small Mobile (max-width: 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-title-accent {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    max-width: 280px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 10px 14px;
    font-size: 0.68rem;
  }

  .sidebar {
    width: 240px;
  }
}

/* Body scroll lock when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}

/* =========================================
   NEW SECTIONS — RESPONSIVE
   ========================================= */

/* Desktop / Laptop (max-width: 1199px) */
@media (max-width: 1199px) {
  .book-content-row,
  .about-row,
  .bio-row {
    gap: 44px;
  }

  .book-cover-wrap {
    flex: 0 0 240px;
  }

  .about-photo-wrap {
    flex: 0 0 260px;
  }

  .bio-sidebar {
    flex: 0 0 220px;
  }

  .praise-row,
  .dispatches-row {
    gap: 20px;
  }

  .threads-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-row {
    gap: 36px;
  }

  .contact-sidebar-col {
    max-width: 320px;
  }
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .book-section,
  .about-section,
  .bio-section,
  .timeline-section,
  .trailer-section,
  .praise-section,
  .dispatches-section,
  .contact-section,
  .threads-section,
  .memoir-section {
    padding: 70px 0;
  }

  .book-heading,
  .trailer-heading,
  .praise-heading,
  .dispatches-heading,
  .contact-heading,
  .timeline-heading,
  .threads-heading,
  .memoir-heading {
    font-size: 1.9rem;
  }

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

  .memoir-grid {
    gap: 20px;
  }

  .book-content-row {
    flex-direction: column;
    gap: 40px;
  }

  .book-cover-wrap {
    flex: 0 0 auto;
    width: 220px;
    margin: 0 auto;
  }

  .book-text-col {
    max-width: 100%;
  }

  .about-row {
    flex-direction: column;
    gap: 40px;
  }

  .about-photo-wrap {
    flex: 0 0 auto;
    width: 220px;
    margin: 0 auto;
  }

  .about-quote {
    font-size: 1.25rem;
  }

  .about-hero {
    min-height: auto;
    padding: 150px 0 60px;
  }

  .thankyou-hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
  }

  .about-hero-title {
    font-size: 2.3rem;
  }

  .bio-row {
    flex-direction: column;
    gap: 36px;
  }

  .bio-sidebar {
    position: static;
    flex: 0 0 auto;
    width: 240px;
    margin: 0 auto;
  }

  .bio-article {
    max-width: 100%;
  }

  .bio-heading {
    font-size: 1.6rem;
  }

  .praise-row,
  .dispatches-row {
    flex-direction: column;
  }

  .contact-form {
    padding: 30px;
  }

  .contact-info-row {
    gap: 36px;
  }

  .info-cards-row {
    flex-direction: column;
    gap: 18px;
  }

  .contact-main-row {
    flex-direction: column;
    gap: 40px;
  }

  .contact-sidebar-col {
    max-width: 100%;
    width: 100%;
  }

  .faq-heading {
    font-size: 1.9rem;
  }

  .quote-text {
    font-size: 1.3rem;
  }
}

/* Small Tablet (max-width: 767px) */
@media (max-width: 767px) {
  .stats-row {
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .stat-item {
    flex: 0 0 50%;
    padding: 0 12px;
  }

  .stat-item:nth-child(odd)::before {
    display: none;
  }

  .stat-item::before {
    top: 4px;
    bottom: 4px;
  }

  .section-label .label-text {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero-title {
    font-size: 1.7rem;
  }

  .about-hero {
    padding: 130px 0 50px;
  }

  .about-hero-title {
    font-size: 1.9rem;
  }

  .about-hero-subtitle {
    font-size: 0.9rem;
    max-width: 400px;
  }

  .timeline-year {
    flex: 0 0 52px;
    font-size: 0.72rem;
  }

  .timeline-content h3 {
    font-size: 0.98rem;
  }

  .timeline-content p {
    font-size: 0.84rem;
  }

  .trailer-play-btn {
    width: 62px;
    height: 62px;
  }

  .trailer-caption {
    font-size: 0.68rem;
    bottom: 16px;
  }

  .footer-nav {
    gap: 16px 22px;
  }

  .threads-grid {
    grid-template-columns: 1fr;
  }

  .memoir-grid {
    grid-template-columns: 1fr;
  }

  .memoir-heading {
    font-size: 1.7rem;
  }

  .book-text-subhead {
    font-size: 1.2rem;
  }

  .info-cards-section,
  .contact-main-section,
  .faq-section {
    padding: 70px 0;
  }

  .contact-form-heading {
    font-size: 1.5rem;
  }

  .sidebar-book-card {
    align-items: center;
  }
}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .stats-bar {
    padding: 32px 0;
  }

  .stat-item {
    flex: 0 0 50%;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .book-section,
  .about-section,
  .bio-section,
  .timeline-section,
  .trailer-section,
  .praise-section,
  .dispatches-section,
  .contact-section,
  .threads-section,
  .memoir-section {
    padding: 56px 0;
  }

  .book-heading {
    font-size: 1.5rem;
    margin-bottom: 36px;
  }

  .book-cover-wrap {
    width: 170px;
  }

  .book-text-subhead {
    font-size: 1.1rem;
  }

  .quick-fact-value,
  .quick-fact-label {
    font-size: 0.72rem;
  }

  .threads-heading {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .thread-card {
    padding: 24px 20px;
  }

  .memoir-heading {
    font-size: 1.4rem;
    margin-bottom: 36px;
  }

  .memoir-card {
    padding: 24px 22px 24px 20px;
  }

  .book-text-col p {
    font-size: 0.88rem;
  }

  .about-photo-wrap {
    width: 170px;
  }

  .about-quote {
    font-size: 1.05rem;
  }

  .about-text-col p {
    font-size: 0.86rem;
  }

  .about-hero-title {
    font-size: 1.65rem;
  }

  .bio-sidebar {
    width: 200px;
  }

  .bio-heading {
    font-size: 1.35rem;
    margin-bottom: 26px;
  }

  .bio-article h3 {
    font-size: 1.02rem;
    margin: 26px 0 10px;
  }

  .bio-article p {
    font-size: 0.86rem;
  }

  .timeline-heading {
    font-size: 1.5rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 30px;
  }

  .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-year {
    flex: 0 0 auto;
    padding-top: 0;
  }

  .timeline-dot-col {
    display: none;
  }

  .timeline-content {
    padding-bottom: 0;
    border-left: 2px solid rgba(74, 143, 168, 0.25);
    padding-left: 16px;
  }

  .trailer-heading,
  .praise-heading,
  .dispatches-heading,
  .contact-heading {
    font-size: 1.5rem;
  }

  .trailer-subtext,
  .contact-subtext {
    font-size: 0.85rem;
  }

  .praise-card {
    padding: 26px 22px;
  }

  .praise-quote {
    font-size: 0.88rem;
  }

  .dispatch-card {
    padding: 24px 20px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .form-row-2 {
    flex-direction: column;
    gap: 0;
  }

  .contact-info-row {
    gap: 24px 32px;
  }

  .info-cards-section,
  .contact-main-section,
  .faq-section,
  .quote-section {
    padding: 56px 0;
  }

  .info-card {
    padding: 26px 20px;
  }

  .info-card-value {
    font-size: 1.02rem;
  }

  .contact-form-heading {
    font-size: 1.35rem;
  }

  .faq-heading {
    font-size: 1.5rem;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
    font-size: 0.84rem;
  }

  .quote-text {
    font-size: 1.1rem;
  }

  .footer-brand .brand-main {
    font-size: 1rem;
  }

  .footer-brand .brand-accent {
    font-size: 0.88rem;
  }

  .footer-nav {
    gap: 12px 18px;
  }

  .footer-copy {
    font-size: 0.66rem;
    padding: 0 10px;
  }

  .order-modal {
    padding: 34px 22px 26px;
  }

  .order-modal-title {
    font-size: 1.35rem;
  }

  .order-modal-subtext {
    font-size: 0.82rem;
  }

  .order-modal-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
  }
}

/* Very Small Mobile (max-width: 380px) */
@media (max-width: 380px) {
  .stat-item {
    flex: 0 0 100%;
  }

  .stat-item::before {
    display: none;
  }

  .book-cover-wrap,
  .about-photo-wrap {
    width: 150px;
  }

  .pill,
  .tag-pill {
    font-size: 0.68rem;
    padding: 6px 14px;
  }
}
