/* ==========================================================================
   BOOKHAVEN DESIGN SYSTEM & STYLESHEET
   1:1 Pixel-Accurate Implementation to Figma Frame 26888
   ========================================================================== */

:root {
  --primary-yellow: #FFD126;
  --primary-yellow-hover: #F0C215;
  --dark-charcoal: #1E1E1E;
  --text-primary: #1C1C1C;
  --text-muted: #666666;
  --text-light: #8E8E93;
  --bg-page: #FAF9F6;
  --bg-white: #FFFFFF;
  --bg-beige-card: #F2EFE9;
  --border-subtle: #EBEBEB;
  --border-gold: #E5C37A;

  /* Accent background colors extracted from Figma */
  --card-red: #D73C33;
  --card-mint: #CBE6CE;
  --card-olive: #D0D2B8;
  --card-yellow: #E9BA20;
  --card-peach: #F6CE9A;
  --card-warm-orange: #EF7745;

  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
  --shadow-book: 10px 25px 50px rgba(0, 0, 0, 0.18);
}




/* Typography styles */
.sub-label {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #888888;
  margin-bottom: 0.75rem;
}

.section-title {

  font-size: 3.75rem;
  font-weight: 500;
  color: var(--dark-charcoal);
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  display: block;
}

.section-description {
  font-size: 1.85rem;
  color: var(--text-muted);
  font-weight: 200;
  margin-bottom: 3.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  transition: var(--transition);
}

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

.btn-outline-dark:hover {
  background: var(--dark-charcoal);
  color: #FFFFFF;
}

.btn-yellow {
  background-color: var(--primary-yellow);
  color: var(--dark-charcoal);
  border: none;
  font-weight: 700;
}

.btn-yellow:hover {
  background-color: var(--primary-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 209, 38, 0.4);
}

.btn-yellow-full {
  width: 100%;
  background-color: var(--primary-yellow);
  color: var(--dark-charcoal);
  font-weight: 700;
  padding: 0.8rem 1rem;
  border-radius: 4px;
}

.btn-yellow-full:hover {
  background-color: var(--primary-yellow-hover);
  box-shadow: 0 4px 15px rgba(255, 209, 38, 0.35);
}

/* ==================== 1. HERO SECTION (1:1 FIGMA) ==================== */
.hero-section {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  min-height: 850px;
  height: 850px;
}

/* Subtle chevron arrow on far left */
.hero-left-arrow {
  position: absolute;
  left: 3.5%;
  top: 36%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 1.25rem;
  color: #8C8C8C;
  cursor: pointer;
  transition: var(--transition);
}

.hero-left-arrow:hover {
  color: var(--dark-charcoal);
  transform: translateY(-50%) translateX(-3px);
}

/* Overlay Container covering the full 1920x1080 canvas */
.hero-overlay-container {
  position: relative;
  width: 100%;
  height: 850px;
  z-index: 5;
  pointer-events: none;
}

/* Right Side Content positioned accurately */
.hero-right-content {
  position: absolute;
  bottom: 5%;
  right: 0%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.hero-slogan {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--dark-charcoal);
  letter-spacing: -0.015em;
}

/* Bottom Button positioned at the bottom of the yellow block */
.hero-bottom-btn-wrap {
  position: absolute;
  bottom: 8.8%;
  left: 49.8%;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-outline-btn {
  display: inline-block;
  padding: 0.65rem 3.2rem;
  border: 1.5px solid var(--dark-charcoal);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--dark-charcoal);
  background: transparent;
  text-decoration: none;
  transition: var(--transition);
}

.hero-outline-btn:hover {
  background-color: var(--dark-charcoal);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ==================== 2. MOST LOVED BOOKS 1 ==================== */
.section-loved {
  padding: 4rem 0;
}

.loved-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.loved-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.loved-card-cover {
  position: relative;
  background: #F8F8F8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1.45;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.loved-card:hover .loved-card-cover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

.loved-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  opacity: 0;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: var(--transition);
}

.loved-card-cover:hover .cover-overlay {
  opacity: 1;
}

.overlay-btn {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  color: var(--dark-charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.overlay-btn:hover {
  background: var(--primary-yellow);
  color: var(--dark-charcoal);
  transform: scale(1.1);
}

.loved-card-info {
  padding-top: 1.25rem;
}

.book-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 0.25rem;
}

.book-author {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

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

.book-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-charcoal);
}

.circle-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #D5D5D5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-charcoal);
  font-size: 1.5rem;
}

.circle-action-btn:hover {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
}

/* ==================== 3. SECTION 3: READ FEATURE (1:1 FIGMA) ==================== */
.section-read-feature {
  background-color: #FFFFFF;
  padding: 16rem 0 0rem;
  position: relative;
  overflow: hidden;
}

.read-feature-layout {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* 1. TOP ONE WORD ROW: Giant "READ" with center 3D book */
.read-top-word-row {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.giant-word-backdrop {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  z-index: 1;
  pointer-events: none;
}

.letter-re,
.letter-ad {

  font-size: 21vw;
  font-weight: 900;
  color: #212121;
  line-height: 0.8;
  letter-spacing: -0.04em;
  -webkit-user-select: none;
  user-select: none;
}

/* Center 3D Floating Book between RE and AD */
.read-top-center-book {
  position: absolute;
    top: 57%;
    left: 46%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 700px;
  max-width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.floating-book-img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.22));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.read-top-center-book:hover .floating-book-img {
  transform: translateY(-8px) rotate(0.5deg);
}


/* 3. BOTTOM ROW: Left paragraph & Right content with button */
.read-bottom-content-row {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
  padding: 0 1rem;
  margin-top: 5rem;
}

/* Bottom Left Paragraph / Headline */
.bottom-left-paragraph-wrap {
  flex: 1;
  max-width: 480px;
}

.serif-callout {
   text-transform: capitalize;
  font-size: 4.3rem;
  line-height: 1.15;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 1.4rem;
}

.callout-line {
  display: block;
}

.serif-callout .font-normal {
  font-weight: 400;
}

/* Exact gold highlight for "favourite" */
.serif-callout .highlight-gold {

  color: #ECBB49;
  font-weight: 700;
}

/* Horizontal grey underline below "story" */
.story-underline-rule {
  width: 140px;
  height: 2px;
  background-color: #52585B;
  opacity: 0.85;
}

/* Bottom Right Content with Button */
.bottom-right-content-wrap {
  flex: 1;
  max-width: 340px;
  text-align: left;
}

.feature-book-heading {

  font-size: 3.25rem;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

.feature-book-text {

  font-size: 2rem;
  font-weight: 400;
  color: #6C7275;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.details-btn-wrap {
  margin-top: 0.5rem;
}

/* DETAILS Button with bottom underline */
.btn-details-link {
  display: inline-block;

  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1A1A1A;
  text-decoration: none;
  border-bottom: 1.5px solid #1A1A1A;
  padding-bottom: 3px;
  transition: var(--transition);
}

.btn-details-link:hover {
  color: #ECBB49;
  border-color: #ECBB49;
  letter-spacing: 0.12em;
}

/* ==================== 4. THREE CURATED SHOWCASE CARDS (FIGMA 1:1) ==================== */
.section-curated-showcase {
  background-color: #FFFFFF;
  padding: 5rem 0 14rem;
  position: relative;
  overflow: hidden;
}

/* Right half yellow background block matching Figma */
.curated-yellow-bg-half {
  position: absolute;
  top: 0;
  right: 0;
  width: 47%;
  height: 100%;
  background-color: var(--primary-yellow);
  z-index: 1;
}

.curated-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.curated-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.curated-item.shifted-card-1 {
  transform: translateY(3.5rem);
}

.curated-item.shifted-card-2 {
  transform: translateY(9.5rem);
}

.curated-square-card {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.curated-item:hover .curated-square-card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bg-box-red {
  background-color: var(--card-red);
}

.bg-box-mint {
  background-color: var(--card-mint);
}

.bg-box-olive {
  background-color: var(--card-olive);
}

.showcase-cover-img {
  width: 65%;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.22));
  transition: transform 0.4s ease;
}

.curated-item:hover .showcase-cover-img {
  transform: scale(1.05);
}

.curated-pointer {
  margin-top: -2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  position: relative;
}

.pointer-vertical-line {
  width: 4.5px;
  height: 50px;
  background-color: #000000;
}

.pointer-text {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--dark-charcoal);
  text-transform: uppercase;
}
a.btn.btn-yellow {
    font-size: 2rem;
}
/* ==================== 5. ARCH SECTION ==================== */
.section-arch {
  min-height: 850px;
  padding: 18rem 0 14rem;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
}

.arch-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.arch-visual-side {
  position: relative;
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yellow-arch-backdrop {
  position: absolute;
  width: 380px;
  height: 480px;
  background-color: var(--primary-yellow);
  border-radius: 200px 200px 0 0;
  z-index: 1;
  bottom: 0;
}

.arch-book-img {
  position: relative;
  z-index: 2;
  width: 440px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.arch-text-side {
  padding-left: 2rem;
}

.arch-title {
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-charcoal);
  margin-bottom: 1.5rem;
}

.arch-desc {
  font-size: 1.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.arch-meta-pills {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-charcoal);
  margin-bottom: 2.5rem;
}

.pill-dot {
  color: #C0C0C0;
}

.text-gold {
  color: #FFA800;
}


.wave-graphic-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: bottom;
}

/* ==================== 6. MOST LOVED BOOKS 2 (WITH BADGES) ==================== */
.section-loved-badges {
  background-color: #FFFFFF;
  padding: 2rem;
}

.badge-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.badge-card {
  position: relative;
  border: 1px solid #ECECEC;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.badge-card:hover {
  transform: translateY(-8px);
  border-color: #D8D8D8;
  box-shadow: var(--shadow-lg);
}

.badge-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.star-badge {
  width: 28px;
  height: 28px;
  background-color: var(--primary-yellow);
  color: var(--dark-charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.badge-card-cover {
  width: 100%;
  aspect-ratio: 1 / 1.35;
  background-color: #F8F8F8;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.badge-card:hover .badge-card-cover img {
  transform: scale(1.04);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.rating-stars {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-charcoal);
}

.rating-stars i {
  color: #FFA800;
}

.badge-book-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 0.2rem;
}

.badge-author-name {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.badge-pricing {
  margin-bottom: 1.2rem;
}

.price-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-charcoal);
}

/* ==================== 7. BUILT ON STORIES (4-COLUMN 8-CARD CHECKERBOARD) ==================== */
.section-built-grid {
  background-color: #FFFFFF;
  padding: 2rem;
}

.s7-header {
  margin-bottom: 3.8rem;
}

.proven-excellence-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.proven-excellence-tag .tag-bullet {
  width: 7px;
  height: 7px;
  background-color: #A4774B;
  border-radius: 50%;
  display: inline-block;
}

.proven-excellence-tag .tag-title {

  font-size: 1.88rem;
  font-weight: 600;
  color: #4C463C;
  letter-spacing: 0.02em;
}

.s7-main-title {

  font-size: 4rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.s7-sub-desc {

  font-size: 2rem;
  color: #6C6C6C;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.stories-columns-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  align-items: start;
}

.story-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.story-card {
  border-radius: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-visual-figma {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
  background-color: transparent;
}

.card-visual-figma img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.card-visual-figma:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.card-visual-figma:hover img {
  transform: scale(1.02);
}

.card-text-figma {
  background-color: #F6F1EB;
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.card-text-figma:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.06);
}

.card-text-figma .card-num {

  font-size: 3.5rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 1.4rem;
  display: block;
}

.card-text-figma .card-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.card-text-figma .card-desc {
  font-size: 1.5rem;
  color: #6A6A6A;
  line-height: 1.56;
  margin: 0;
}

/* ==================== 8. BUILT ON STORIES OVERLAPPING FRAMES ==================== */
.section-built-overlap {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 18rem 0;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.overlap-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
}

.overlap-text-side {
  max-width: 530px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 3rem;
  border-radius: 12px;
  margin-top: 0;
}

.overlap-title {
  font-size: 3.6rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.overlap-italic-p {
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #4C4C4C;
  padding-right: 0;
}


/* ==================== 9. NEWSLETTER SUBSCRIPTION ==================== */
.section-newsletter {
  background-color: #FAF9F6;
  padding: 5.5rem 0 0;
}

.newsletter-card {
  max-width: 780px;
  margin: 0 auto;
}

.newsletter-sub-label {

  font-size: 1.7rem;
  font-weight: 500;
  color: #444444;
  margin-bottom: 1.3rem;
  display: block;
  letter-spacing: 0.02em;
}

.newsletter-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  margin-bottom: 1.5rem;
}

.newsletter-subtitle {
  font-size: 1.5rem;
  color: #6C6C6C;
  margin-bottom: 2.6rem;
}

.newsletter-input-group {
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid #D5D5D5;
  border-radius: 4px;
  overflow: hidden;
  max-width: 660px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.5rem 1.8rem;
  border: none;
  outline: none;
  font-size: 1.3rem;
  color: #1A1A1A;
}

.newsletter-input-group input::placeholder {
  color: #9C9C9C;
}

.btn-newsletter-subscribe {
  background-color: #FFD126;
  color: #1A1A1A;
  border: none;
  outline: none;

  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 1.15rem 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.btn-newsletter-subscribe:hover {
  background-color: #F0BF14;
}

.newsletter-bottom-divider {
  margin-top: 5rem;
  width: 100%;
  height: 1px;
  background-color: #E8E6E1;
}


/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (DESKTOP-FIRST CASCADE)
   Supports:
   - Large Desktop (>= 1401px)
   - Small Desktop & iPad Pro 12.9" Landscape (max-width: 1400px)
   - iPad Pro 12.9" Portrait & iPad Pro 11" Landscape (max-width: 1024px)
   - iPad Pro 11" Portrait & Standard Tablets (max-width: 900px)
   - Mobile Landscape & Small Tablets (max-width: 767px)
   - Standard Mobile (max-width: 600px)
   - Small Mobile / Moto G4 (360x640) (max-width: 400px)
   ========================================================================== */

/* ----------------------------------------------------
   1. Small Desktop & iPad Pro Landscape (<= 1400px)
   ---------------------------------------------------- */
@media (max-width: 1400px) {
  .sub-label {
    font-size: 2rem;
  }
  .section-title {
    font-size: 3.2rem;
  }
  .section-description {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: 720px;
    height: 740px;
  }
  .hero-overlay-container {
    height: 740px;
    position: relative;
  }
  .hero-right-content {
    right: 3%;
    bottom: 12%;
    max-width: 400px;
  }
  .hero-slogan {
    font-size: 2.3rem;
  }
  .hero-bottom-btn-wrap {
    bottom: 8%;
    left: 49.8%;
  }
  .hero-outline-btn {
    font-size: 1.8rem;
    padding: 0.6rem 2.8rem;
  }

  /* Section 3: Read Feature */
  .section-read-feature {
    padding: 12rem 0 8rem;
  }
  .read-top-word-row {
    min-height: 350px;
  }
  .read-top-center-book {
    width: 290px;
  }
  .read-bottom-content-row {
    margin-top: 4.5rem;
  }
  .serif-callout {
    font-size: 3.4rem;
  }
  .feature-book-heading {
    font-size: 2.6rem;
  }
  .feature-book-text {
    font-size: 1.6rem;
  }

  /* Section 4: Curated Showcase */
  .section-curated-showcase {
    padding: 5rem 0 12rem;
  }
  .curated-container {
    gap: 2.5rem;
  }
  .pointer-text {
    font-size: 1.6rem;
  }

  /* Section 6: Arch Section */
  .section-arch {
    padding: 14rem 0 10rem;
    min-height: 720px;
    background-size: cover !important;
    background-position: center left !important;
  }
  
  .arch-visual-side {
    min-height: 420px;
  }
  .arch-title {
    font-size: 3.6rem;
  }
  .arch-desc {
    font-size: 1.5rem;
  }

  /* Section 7: Stories Grid */
  .s7-main-title {
    font-size: 3.2rem;
  }
  .s7-sub-desc {
    font-size: 1.6rem;
  }

  /* Section 8: Overlap Banner */
  .section-built-overlap {
    padding: 12rem 0;
    min-height: 650px;
  }
  .overlap-title {
    font-size: 3.2rem;
  }
  .overlap-italic-p {
    font-size: 1.5rem;
  }
}

/* ----------------------------------------------------
   2. iPad Pro Portrait & Tablet Landscape (<= 1024px)
   ---------------------------------------------------- */
@media (max-width: 1024px) {
  /* Global Typography */
  .sub-label {
    font-size: 1.6rem;
    letter-spacing: 0.16em;
  }
  .section-title {
    font-size: 2.7rem;
  }
  .section-description {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: 560px;
    height: 580px;
    background-size: cover;
    background-position: center top;
  }
  .hero-overlay-container {
    height: 580px;
    position: relative;
  }
  .hero-right-content {
    position: absolute;
    right: 4%;
    bottom: 14%;
    transform: none;
    max-width: 340px;
    text-align: right;
  }
  .hero-slogan {
    font-size: 2rem;
    line-height: 1.25;
  }
  .hero-bottom-btn-wrap {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-outline-btn {
    font-size: 1.5rem;
    padding: 0.6rem 2.2rem;
  }

  /* Section 2 & 5: Loved Books */
  .section-loved,
  .section-loved-badges {
    padding: 3.5rem 0;
  }

  /* Section 3: Read Feature */
  .section-read-feature {
    padding: 9rem 0 6rem;
  }
  .read-top-word-row {
    min-height: 280px;
  }
  .letter-re,
  .letter-ad {
    font-size: 16vw;
    line-height: 0.9;
  }
  .read-top-center-book {
    width: 400px;
    max-width: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .read-bottom-content-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding: 0 1rem;
  }
  .bottom-left-paragraph-wrap {
    flex: 1;
    max-width: 50%;
  }
  .serif-callout {
    font-size: 2.6rem;
    line-height: 1.2;
  }
  .bottom-right-content-wrap {
    flex: 1;
    max-width: 45%;
    text-align: left;
  }
  .feature-book-heading {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  .feature-book-text {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  .btn-details-link {
    font-size: 1.35rem;
  }

  /* Section 4: Curated Showcase Cards */
  .section-curated-showcase {
    padding: 4rem 0 8rem;
  }
  .curated-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .curated-yellow-bg-half {
    width: 45%;
  }
  .curated-item.shifted-card-1 {
    transform: translateY(2rem);
  }
  .curated-item.shifted-card-2 {
    transform: translateY(4.5rem);
  }
  .pointer-vertical-line {
    height: 35px;
  }
  .pointer-text {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
  }

  /* Section 6: Arch Section */
  .section-arch {
    padding: 6rem 0 !important;
    min-height: 560px;
    background-size: cover !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
  }
  .arch-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 2.5rem;
  }
  .arch-visual-side {
    min-height: 380px;
  }
  .arch-text-side {
    padding-left: 1rem;
    text-align: left;
  }
  .arch-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 1.2rem;
  }
  .arch-desc {
    font-size: 1.35rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    max-width: 100%;
  }
  .arch-cta-wrap .btn-yellow {
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
  }

  /* Section 7: Stories Grid */
  .section-built-grid {
    padding: 4rem 0;
  }
  .stories-columns-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .s7-main-title {
    font-size: 2.6rem;
  }
  .s7-sub-desc {
    font-size: 1.4rem;
    max-width: 600px;
  }
  .proven-excellence-tag .tag-title {
    font-size: 1.3rem;
  }
  .card-text-figma {
    min-height: 200px;
    padding: 1.8rem;
  }
  .card-text-figma .card-num {
    font-size: 2.8rem;
  }
  .card-text-figma .card-heading {
    font-size: 1.7rem;
  }
  .card-text-figma .card-desc {
    font-size: 1.35rem;
  }

  /* Section 8: Overlap Banner */
  .section-built-overlap {
    padding: 8rem 0;
    min-height: 520px;
    display: flex;
    align-items: center;
  }
  .overlap-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .overlap-text-side {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
  }
  .overlap-title {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
  }
  .overlap-italic-p {
    font-size: 1.4rem;
    line-height: 1.7;
    padding-right: 0;
  }

  /* Footer */
  .footer-body {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem 1rem;
  }
}

/* ----------------------------------------------------
   3. Tablets & iPad Pro 11" Portrait (<= 900px)
   ---------------------------------------------------- */
@media (max-width: 900px) {
  .hero-section {
    min-height: 480px;
    height: 500px;
  }
  .hero-overlay-container {
    height: 500px;
  }
  .hero-right-content {
    right: 5%;
    bottom: 15%;
    max-width: 320px;
  }
  .hero-slogan {
    font-size: 1.85rem;
  }
  .hero-bottom-btn-wrap {
    bottom: 7.5%;
  }

  /* Section 4: Curated Showcase stack on tablet */
  .section-curated-showcase {
    padding: 3.5rem 0;
  }
  .curated-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 360px;
    margin: 0 auto;
  }
  .curated-yellow-bg-half {
    display: none;
  }
  .curated-item.shifted-card-1,
  .curated-item.shifted-card-2 {
    transform: none !important;
  }
  .curated-square-card {
    border-radius: 14px;
  }

  /* Section 6: Arch */
  .section-arch {
    padding: 5rem 0;
    min-height: 480px;
  }
  .arch-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .arch-title {
    font-size: 2.4rem;
  }

  /* Section 8: Overlap */
  .section-built-overlap {
    padding: 6rem 1.5rem;
    min-height: 460px;
  }
  .overlap-text-side {
    max-width: 100%;
  }

  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ----------------------------------------------------
   4. Mobile Landscape & Small Tablets (<= 767px)
   ---------------------------------------------------- */
@media (max-width: 767px) {
  .sub-label {
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
  }
  .section-title {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }
  .section-description {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: 400px;
    height: 420px;
    background-size: cover;
    background-position: center top;
  }
  .hero-overlay-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
  }
  .hero-right-content {
    position: static;
    transform: none;
    max-width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .hero-slogan {
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--dark-charcoal);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
  }
  .hero-bottom-btn-wrap {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 1rem;
  }
  .hero-outline-btn {
    font-size: 1.3rem;
    padding: 0.6rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
  }

  /* Product Cards in Loved sections */
  .book-kids-card {
    max-width: 300px;
    margin: 0 auto 2.5rem;
  }

  /* Section 3: Read Feature */
  .section-read-feature {
    padding: 4rem 0 3rem;
  }
  .read-top-word-row {
    min-height: 180px;
  }
  .letter-re,
  .letter-ad {
    font-size: 18vw;
    line-height: 0.9;
    opacity: 0.25;
  }
  .read-top-center-book {
    width: 170px;
    max-width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .read-bottom-content-row {
    flex-direction: row;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 0 1rem;
    text-align: center;
  }
  .bottom-left-paragraph-wrap {
    max-width: 100%;
    text-align: center;
  }
  .serif-callout {
    font-size: 2.2rem;
    line-height: 1.25;
  }
  .story-underline-rule {
    margin: 0.8rem auto 0;
    width: 80px;
  }
  .bottom-right-content-wrap {
    max-width: 100%;
    text-align: center;
  }
  .feature-book-heading {
    font-size: 1.9rem;
    margin-bottom: 0.65rem;
  }
  .feature-book-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  .details-btn-wrap {
    justify-content: center;
  }

  /* Section 6: Arch */
  .section-arch {
    padding: 0 0 3.5rem;
    min-height: auto;
    background-size: auto 240px !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    background-color: #FFFFFF;
  }
  .arch-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  .arch-visual-side {
    min-height: 240px;
    height: 240px;
    width: 100%;
  }
  .arch-text-side {
    padding-left: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .arch-title {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .arch-desc {
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    max-width: 100%;
  }
  .arch-cta-wrap {
    text-align: center;
  }
  .arch-cta-wrap .btn-yellow {
    font-size: 1.3rem;
    padding: 0.8rem 1.8rem;
  }

  /* Section 7: Grid */
  .section-built-grid {
    padding: 3rem 0 2rem;
  }
  .stories-columns-wrap {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .story-col {
    gap: 1.2rem;
  }
  .s7-main-title {
    font-size: 2.1rem;
  }
  .s7-sub-desc {
    font-size: 1.25rem;
    padding: 0 1rem;
  }
  .proven-excellence-tag .tag-title {
    font-size: 1.2rem;
  }
  .card-text-figma {
    min-height: auto;
    padding: 1.8rem 1.5rem;
    border-radius: 14px;
  }
  .card-visual-figma,
  .card-visual-figma img {
    border-radius: 14px;
  }
  .card-text-figma .card-num {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
  }
  .card-text-figma .card-heading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .card-text-figma .card-desc {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  /* Section 8: Overlap */
  .section-built-overlap {
    padding: 4rem 1.5rem;
    min-height: 360px;
  }
  .overlap-container {
    display: block;
    width: 100%;
  }
  .overlap-text-side {
    margin-top: 0 !important;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    max-width: 100%;
    text-align: center;
  }
  .overlap-title {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }
  .overlap-italic-p {
    font-size: 1.3rem;
    line-height: 1.6;
    padding-right: 0 !important;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-body {
    padding: 3rem 1.5rem 1rem;
  }
}

/* ----------------------------------------------------
   5. Standard Mobile (<= 600px)
   ---------------------------------------------------- */
@media (max-width: 600px) {
  .sub-label {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  .section-title {
    font-size: 2rem;
    line-height: 1.25;
  }
  .section-description {
    font-size: 1.25rem;
  }

  /* Hero */
  .hero-section {
    min-height: 380px;
    height: 400px;
  }
  .hero-slogan {
    font-size: 1.65rem;
  }
  .hero-outline-btn {
    font-size: 1.25rem;
    padding: 0.55rem 1.8rem;
  }

  /* Curated Showcase */
  .curated-container {
    max-width: 290px;
  }
  .pointer-text {
    font-size: 1.3rem;
  }

  /* Read Feature */
  .section-read-feature {
    padding: 3.5rem 0 2.5rem;
  }
  .read-top-word-row {
    min-height: 160px;
  }
  .read-top-center-book {
    width: 155px;
  }
  .read-bottom-content-row {
    margin-top: 2rem;
  }
  .serif-callout {
    font-size: 2rem;
  }
  .feature-book-heading {
    font-size: 1.75rem;
  }
  .feature-book-text {
    font-size: 1.25rem;
  }

  /* Arch Section */
  .section-arch {
    padding: 0 0 3rem;
    background-size: auto 220px !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    background-color: #FFFFFF;
  }
  .arch-visual-side {
    height: 220px;
    min-height: 220px;
  }
  .arch-title {
    font-size: 1.95rem;
  }
  .arch-desc {
    font-size: 1.25rem;
  }

  /* Grid Section */
  .s7-main-title {
    font-size: 1.95rem;
  }
  .s7-sub-desc {
    font-size: 1.2rem;
  }
}

/* ----------------------------------------------------
   6. Small Mobile / Moto G4 (360x640) (<= 400px)
   ---------------------------------------------------- */
@media (max-width: 400px) {
  .sub-label {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
  }
  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  .section-description {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
  }

  /* Hero */
  .hero-section {
    min-height: 360px;
    height: 380px;
    background-position: center top;
  }
  .hero-slogan {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .hero-outline-btn {
    font-size: 1.15rem;
    padding: 0.5rem 1.5rem;
  }

  /* Most Loved Product Cards */
  .book-kids-card {
    max-width: 270px;
    margin: 0 auto 2rem;
  }

  /* Curated Showcase */
  .curated-container {
    max-width: 260px;
    gap: 2.2rem;
  }
  .pointer-vertical-line {
    height: 22px;
  }
  .pointer-text {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  /* Read Feature */
  .section-read-feature {
    padding: 3rem 0 2rem;
  }
  .read-top-word-row {
    min-height: 140px;
  }
  .letter-re,
  .letter-ad {
    font-size: 18vw;
  }
  .read-top-center-book {
    width: 140px;
    max-width: 60%;
  }
  .read-bottom-content-row {
    margin-top: 2rem;
    gap: 1.8rem;
  }
  .serif-callout {
    font-size: 1.8rem;
    line-height: 1.25;
  }
  .story-underline-rule {
    width: 60px;
  }
  .feature-book-heading {
    font-size: 1.6rem;
  }
  .feature-book-text {
    font-size: 1.18rem;
    line-height: 1.5;
  }
  .btn-details-link {
    font-size: 1.2rem;
  }

  /* Arch Section */
  .section-arch {
    padding: 0 0 3rem !important;
    background-size: auto 210px !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    background-color: #FFFFFF;
  }
  .arch-visual-side {
    height: 210px;
    min-height: 210px;
    width: 100%;
  }
  .arch-text-side {
    padding: 1rem 0 0;
    width: 100%;
  }
  .arch-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 0.8rem;
  }
  .arch-desc {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }
  .arch-cta-wrap .btn-yellow {
    font-size: 1.2rem;
    padding: 0.7rem 1.6rem;
  }

  /* Grid Section */
  .section-built-grid {
    padding: 2.5rem 0 1.5rem;
  }
  .s7-main-title {
    font-size: 1.8rem;
    line-height: 1.25;
  }
  .s7-sub-desc {
    font-size: 1.15rem;
    line-height: 1.5;
  }
  .proven-excellence-tag .tag-title {
    font-size: 1.1rem;
  }
  .card-text-figma {
    padding: 1.5rem 1.2rem;
  }
  .card-text-figma .card-num {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
  }
  .card-text-figma .card-heading {
    font-size: 1.4rem;
  }
  .card-text-figma .card-desc {
    font-size: 1.18rem;
    line-height: 1.5;
  }

  /* Overlap Banner */
  .section-built-overlap {
    padding: 3rem 1.2rem;
    min-height: 300px;
  }
  .overlap-text-side {
    padding: 1.6rem 1.2rem;
  }
  .overlap-title {
    font-size: 1.8rem;
    line-height: 1.25;
  }
  .overlap-italic-p {
    font-size: 1.18rem;
    line-height: 1.55;
  }

  /* Newsletter & Footer */
  .newsletter-title {
    font-size: 1.6rem;
  }
  .footer-body {
    padding: 2.5rem 1rem 1rem;
  }
}
