/* Lantern Path Books — site styling
 *
 * Design direction:
 *   - Warm, simple, trustworthy
 *   - Children's book publisher feel; soft bedtime/adventure tone
 *   - Georgia serif for headings; system sans for body
 *   - Cream backgrounds; warm dark brown text; soft brown/blue accents
 *   - Mobile-first responsive
 *   - No JS dependencies
 */

/* ----- Reset (modest) ----- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #2d2622;
  background-color: #faf6ef;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #7a5c3e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #5a3d24;
}

a:focus {
  outline: 2px solid #5d6d8e;
  outline-offset: 2px;
}

/* ----- Typography ----- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #3a2f28;
  font-weight: 400;
  line-height: 1.25;
  margin: 1.5em 0 0.5em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  margin-top: 2em;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a5c3e;
  margin-bottom: 0.5em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ----- Layout: skip link ----- */

.skip-to-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-to-main:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5em 1em;
  background: #3a2f28;
  color: #faf6ef;
  text-decoration: none;
}

/* ----- Layout: container ----- */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

/* ----- Header ----- */

.site-header {
  background-color: #faf6ef;
  border-bottom: 1px solid #e6dfd1;
  padding: 1.25rem 0;
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.site-header__brand {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  color: #3a2f28;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header__brand:hover {
  color: #3a2f28;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-nav a {
  color: #3a2f28;
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-nav a:hover {
  color: #7a5c3e;
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: #7a5c3e;
  text-decoration: underline;
}

@media (min-width: 720px) {
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* ----- Hero ----- */

.hero {
  padding: 3rem 0 2rem;
  text-align: left;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.5em;
  max-width: 24ch;
}

.hero__sub {
  font-size: 1.0625rem;
  color: #5a4d44;
  max-width: 50ch;
  margin: 0 0 1.5em;
}

.hero__cta {
  display: inline-block;
  background-color: #3a2f28;
  color: #faf6ef;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
}

.hero__cta:hover {
  background-color: #5a3d24;
  color: #faf6ef;
}

/* ----- Section ----- */

section {
  padding: 2.5rem 0;
}

section + section {
  border-top: 1px solid #ece4d3;
}

/* ----- Cards (book grid) ----- */

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .book-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.book-card {
  display: flex;
  flex-direction: column;
}

.book-card__cover {
  background-color: #ece4d3;
  border: 1px solid #e6dfd1;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7a68;
  font-family: Georgia, serif;
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}

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

/* Cover image when real cover JPG is present (swap from placeholder div) */
.book-card__cover-link {
  display: block;
  margin-bottom: 1rem;
  border: 1px solid #e6dfd1;
  background-color: #ece4d3;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
}

.book-card__cover-link:hover .book-card__cover-image {
  transform: scale(1.02);
}

.book-card__cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.book-card__title {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  color: #3a2f28;
  margin: 0 0 0.25em;
  line-height: 1.3;
}

.book-card__blurb {
  font-size: 0.9375rem;
  color: #5a4d44;
  margin: 0 0 0.75em;
}

.book-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-top: auto;
}

/* ----- Lead-magnet inline opt-in ----- */

.opt-in {
  background-color: #f4eddd;
  border: 1px solid #e6dfd1;
  padding: 1.5rem 1.25rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.opt-in__title {
  margin-top: 0;
  font-size: 1.25rem;
}

.opt-in__placeholder {
  font-style: italic;
  color: #7a5c3e;
  margin: 0.5em 0 0;
}

.opt-in p {
  margin-bottom: 0.5em;
}

/* ----- Buttons ----- */

.btn {
  display: inline-block;
  padding: 0.625em 1.25em;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background-color: #3a2f28;
  color: #faf6ef;
}

.btn--primary:hover {
  background-color: #5a3d24;
  color: #faf6ef;
}

.btn--secondary {
  background-color: transparent;
  color: #3a2f28;
  border-color: #7a5c3e;
}

.btn--secondary:hover {
  background-color: #7a5c3e;
  color: #faf6ef;
}

.btn--disabled,
.btn[disabled] {
  background-color: #d8cdb8;
  color: #6a5f54;
  cursor: not-allowed;
  pointer-events: none;
}

/* ----- Book detail page ----- */

.book-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
}

@media (min-width: 720px) {
  .book-hero {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
}

.book-hero__cover {
  background-color: #ece4d3;
  border: 1px solid #e6dfd1;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7a68;
  font-family: Georgia, serif;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9375rem;
}

/* Cover image on book detail hero (swap from placeholder div) */
.book-hero__cover-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #e6dfd1;
  background-color: #ece4d3;
  display: block;
}

/* Interior preview grid (book detail pages) */
.interior-previews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .interior-previews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .interior-previews {
    grid-template-columns: repeat(4, 1fr);
  }
}

.interior-previews img {
  width: 100%;
  height: auto;
  border: 1px solid #e6dfd1;
  background-color: #ece4d3;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* Logo image variants (when SVG/PNG logo files exist) */
.site-header__brand-image {
  height: 48px;
  width: auto;
  display: block;
}

@media (max-width: 720px) {
  .site-header__brand-image {
    height: 36px;
  }
}

.site-footer__brand-image {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.book-hero__meta {
  margin: 0.5rem 0 1rem;
  color: #5a4d44;
  font-size: 0.875rem;
}

.book-hero__meta span {
  display: inline-block;
  margin-right: 1rem;
}

/* ----- Free printables hub ----- */

.printables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .printables {
    grid-template-columns: repeat(3, 1fr);
  }
}

.printable-card {
  background-color: #f4eddd;
  border: 1px solid #e6dfd1;
  padding: 1.25rem;
  border-radius: 4px;
  text-align: left;
}

.printable-card__title {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.125rem;
}

.printable-card__status {
  font-size: 0.875rem;
  color: #8a6f5a;
  font-style: italic;
}

/* ----- Educators page ----- */

.bundle-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.bundle-table th,
.bundle-table td {
  border-bottom: 1px solid #e6dfd1;
  padding: 0.625rem 0.75rem;
  text-align: left;
}

.bundle-table th {
  background-color: #f4eddd;
  font-family: Georgia, serif;
  font-weight: 400;
  color: #3a2f28;
}

/* ----- Contact page ----- */

.contact-block {
  background-color: #f4eddd;
  border: 1px solid #e6dfd1;
  padding: 1.5rem;
  border-radius: 4px;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.contact-block code {
  background-color: #ece4d3;
  padding: 0.125em 0.375em;
  border-radius: 2px;
  font-size: 0.95em;
}

/* ----- Footer ----- */

.site-footer {
  background-color: #f1ebde;
  border-top: 1px solid #e6dfd1;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.9375rem;
  color: #5a4d44;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer__heading {
  font-family: Georgia, serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a2f28;
  margin: 0 0 0.75em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.375em;
}

.site-footer a {
  color: #5a4d44;
  text-decoration: none;
}

.site-footer a:hover {
  color: #7a5c3e;
  text-decoration: underline;
}

.site-footer__nav-line {
  border-top: 1px solid #e6dfd1;
  padding-top: 1rem;
  margin-top: 0.5rem;
  text-align: center;
}

.site-footer__nav-line ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-size: 0.875rem;
}

.site-footer__nav-line li {
  display: inline;
}

.site-footer__nav-line li + li::before {
  content: " \00B7 ";
  color: #b5a896;
  margin: 0 0.5em;
}

.site-footer__bottom {
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #7a6e60;
}

.site-footer__bottom p {
  margin: 0.25em 0;
}

/* ----- Utility ----- */

.text-muted {
  color: #7a6e60;
}

.text-small {
  font-size: 0.875rem;
}

.divider {
  border: none;
  border-top: 1px solid #e6dfd1;
  margin: 2.5rem 0;
}

ul.clean {
  list-style: none;
  padding-left: 0;
}

ul.clean li {
  margin-bottom: 0.5em;
}

/* ================================================================
 * WO-ONLINE-LAUNCH-010 — Multi-series publishing experience
 * ================================================================ */

/* ----- Panel backgrounds (alternating sections) ----- */

.panel-cream {
  background-color: #F4E6C8;
}

.panel-warm-cream {
  background-color: #efe1c0;
}

.panel-soft-white {
  background-color: #FBFAF6;
}

.panel-deep-cream {
  background-color: #ead9b1;
}

/* ----- Section motif row (SVG icon + small eyebrow) ----- */

.section-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: #D8A24A;
}

.section-motif svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.section-motif__label {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #7a5230;
  letter-spacing: 0.04em;
}

/* ----- Scalloped section divider ----- */

.scallop-divider {
  display: block;
  width: 100%;
  height: 28px;
  overflow: hidden;
  line-height: 0;
}

.scallop-divider svg {
  width: 100%;
  height: 100%;
}

/* ----- Series card (large featured card; 1 per row at desktop) ----- */

.series-strip {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  flex-wrap: wrap;
  background: #FBFAF6;
  border: 1px solid #e6dfd1;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 6px rgba(58, 47, 40, 0.04);
}

.series-strip__art {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.series-strip__art img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(58, 47, 40, 0.08);
}

.series-strip__body {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.series-strip__name {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: #0A0F1F;
  margin: 0 0 0.25rem 0;
}

.series-strip__tag {
  font-size: 0.875rem;
  color: #D8A24A;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
}

.series-strip__desc {
  color: #3A2A1A;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.series-strip__meta {
  font-size: 0.875rem;
  color: #7a6e60;
  margin: 0 0 1rem 0;
}

.series-strip__cta {
  align-self: flex-start;
  background: #3A2A1A;
  color: #FBFAF6;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

.series-strip__cta:hover {
  background: #5a4d44;
  text-decoration: none;
}

/* "Coming series" placeholder card */
.series-strip--placeholder {
  background: #efe1c0;
  border-style: dashed;
  border-color: #c9b48d;
  text-align: center;
}

.series-strip--placeholder .series-strip__body {
  align-items: center;
  text-align: center;
}

/* ----- Resource card grid (printables, parent resources) ----- */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.resource-card {
  background: #FBFAF6;
  border: 1px solid #e6dfd1;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-card__icon {
  width: 36px;
  height: 36px;
  color: #D8A24A;
}

.resource-card__title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #0A0F1F;
  margin: 0;
}

.resource-card__desc {
  font-size: 0.9rem;
  color: #3A2A1A;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.resource-card__status {
  font-size: 0.8rem;
  color: #7a5230;
  font-style: italic;
  margin: 0;
}

.resource-card__status--planned {
  color: #7a6e60;
}

/* ----- Activity card grid ----- */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.activity-card {
  background: #FBFAF6;
  border: 1px solid #e6dfd1;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.activity-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.activity-card__icon {
  width: 28px;
  height: 28px;
  color: #5A6E7F;
  flex-shrink: 0;
}

.activity-card__title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #0A0F1F;
  margin: 0;
}

.activity-card__how {
  font-size: 0.9rem;
  color: #3A2A1A;
  line-height: 1.5;
  margin: 0;
}

.activity-card__how strong {
  color: #7a5230;
}

.activity-card__adult-note {
  font-size: 0.78rem;
  color: #7a6e60;
  font-style: italic;
  border-top: 1px dashed #e6dfd1;
  padding-top: 0.5rem;
  margin-top: auto;
}

/* ----- Browse books strip (homepage section 3) ----- */

.browse-books-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.browse-books-strip .book-card {
  text-align: center;
}

.browse-books-strip .book-card__cover {
  aspect-ratio: 1 / 1;
}

/* ----- "More worlds coming" placeholder ----- */

.future-series-panel {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed #c9b48d;
  border-radius: 12px;
  background: #efe1c0;
  margin-top: 1rem;
}

.future-series-panel__title {
  font-family: Georgia, serif;
  color: #0A0F1F;
  margin: 0 0 0.5rem 0;
}

.future-series-panel__desc {
  color: #5a4d44;
  margin: 0;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ----- Section spacing ----- */

.section-padded {
  padding: 3rem 0;
}

.section-padded--tight {
  padding: 2rem 0;
}

@media (max-width: 600px) {
  .series-strip {
    padding: 1.25rem;
  }
  .series-strip__art {
    flex: 0 0 auto;
    width: 60%;
    margin: 0 auto;
  }
  .resource-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .browse-books-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-padded {
    padding: 2rem 0;
  }
}
