/* ============================================
 * Book Order — Hero (Figma 918:1770)
 *
 * Light cream-gradient hero inside .tlm-page-header (the --on-light
 * navbar overlays it). Mobile: copy stacked above the book mockup.
 * Desktop (≥1024px): copy left (~481px), mockup right, the mockup
 * bleeding slightly proud of the container edge.
 *
 * Horizontal padding + max-width cap come from .tlm-section /
 * .tlm-container. Tokens own all colour/type/spacing.
 * ============================================ */

.tlm-bo-hero {
  position: relative;
  /* Figma: linear-gradient(89deg, #F1F1EC, #E0E0D8). Cream → a touch
     deeper warm grey, left to right. */
  background-image: linear-gradient(89deg, #f1f1ec 0%, #e0e0d8 100%);
  color: var(--color-text-on-light);
  /* Clear the absolute navbar — literal px, matching the book/service
     hero clearance. */
  padding-top: 130px;
  padding-bottom: var(--space-section-y-mobile);
  overflow: hidden;
}

.tlm-bo-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.tlm-bo-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: flex-start;
}

.tlm-bo-hero__headings {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tlm-bo-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-h1-mobile);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  color: var(--color-navy);
}

.tlm-bo-hero__title em {
  font-style: italic;
}

/* Matches .tlm-service-page-hero__lead-emphasis: bold, 20px mobile →
   24px desktop (below). Navy, sans, not italic. */
.tlm-bo-hero__subtitle {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-on-light);
}

.tlm-bo-hero__body {
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-tight);
  color: var(--color-navy-muted);
}

.tlm-bo-hero__visual {
  width: 100%;
  /* Mobile: book mockup first, above the copy. Desktop restores DOM
     order (copy left, mockup right) via order:0 at 1024. */
  order: -1;
}

.tlm-bo-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================
 * TABLET (≥768px)
 * ============================================ */

@media (min-width: 768px) {
  .tlm-bo-hero__title {
    font-size: var(--text-display);
  }

  .tlm-bo-hero__subtitle {
    font-size: var(--text-2xl);            /* 24 — matches service-page lead-emphasis */
  }
}

/* ============================================
 * DESKTOP (≥1024px)
 * ============================================ */

@media (min-width: 1024px) {
  .tlm-bo-hero {
    padding-top: 160px;
    padding-bottom: var(--space-3xl);
  }

  .tlm-bo-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
  }

  .tlm-bo-hero__copy {
    flex: 0 0 auto;
    width: 481px;
    gap: var(--space-4xl);
  }

  .tlm-bo-hero__visual {
    order: 0;                                 /* row layout: mockup right */
    flex: 1 1 auto;
    min-width: 0;
  }

  .tlm-bo-hero__image {
    /* Let the mockup bleed slightly past the container's right edge,
       as in the Figma (the books sit proud on the right). */
    width: 100%;
    max-width: 760px;
    margin-inline-start: auto;
    margin-inline-end: calc(-1 * var(--space-4xl));
  }
}
