/* Home page only (Design B, 2026-11-19). Loaded after /style.css on /. */
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-It.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body.home {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #F3EEE0;
  color: #1B2A4A;
}
body.home a { color: #1B2A4A; }
body.home header .brand { color: #D4A537; }
body.home header nav a { color: #fff; }
body.home header nav a.on { color: #D4A537; }
body.home header nav a.nav-play { color: #1B2A4A; }
body.home header nav a.nav-play.on { color: #1B2A4A; }
body.home a:focus-visible,
body.home button:focus-visible {
  outline: 3px solid #D4A537;
  outline-offset: 2px;
}

@media (min-width: 1080px) {
  body.home header .wrap {
    flex-wrap: nowrap;
    max-width: 1240px;
  }
  body.home nav { flex-wrap: nowrap; gap: 0; }
  body.home nav a { padding: 8px 7px; font-size: .95rem; }
  body.home nav a.nav-play { padding: 6px 12px; }
}

body.home main { padding: 28px 20px 56px; }
body.home .wrap { max-width: 1120px; }

body.home h1,
body.home h2,
body.home .motto {
  font-family: "Source Serif Pro", Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: #1B2A4A;
}
body.home h1 { font-size: 2.2rem; font-weight: 700; margin: 0 0 12px; }
body.home h2 { font-size: 1.45rem; font-weight: 700; }

body.home .hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  background: #FFFcf7;
  padding: 32px;
  border-radius: 12px;
  border-top: 6px solid #D4A537;
  box-shadow: 0 8px 24px rgba(27, 42, 74, .06);
  margin-bottom: 36px;
}
body.home .eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .78rem;
  color: #A84E14;
}
body.home .lead {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 12px;
}
body.home .hero-copy p { max-width: 54ch; }
body.home .hero-cta { margin: 16px 0 8px; }
body.home .hero-note { font-size: .95rem; color: #4A5568; }
body.home .hero-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #DDD4C2;
}

body.home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1B2A4A;
  color: #fff;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin: 6px 8px 0 0;
}
body.home .btn:hover { background: #2A3B5C; }
body.home .btn.alt { background: #D4A537; color: #1B2A4A; }

/* Override the default horizontal scroller with a larger catalog grid. */
body.home .best-sellers { margin: 0 0 36px; }
body.home .best-sellers h2 { margin: 0 0 6px; font-size: 1.6rem; }
body.home .best-sellers > p { margin: 0 0 18px; max-width: 65ch; color: #4A5568; }
body.home .best-sellers .grid,
body.home .grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  scroll-snap-type: none;
}
body.home .best-sellers .grid li,
body.home .grid li {
  flex: none;
  min-width: 0;
  display: flex;
  list-style: none;
}
body.home .best-sellers .t {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  min-height: 0;
}
body.home .grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1B2A4A;
  height: 100%;
  width: 100%;
  background: #FFFcf7;
  border: 1px solid #DDD4C2;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}
body.home .grid a:hover {
  border-color: #1B2A4A;
  box-shadow: 0 8px 20px rgba(27, 42, 74, .08);
}
body.home .grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #F7F2E6;
}
body.home .grid .t {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 10px 12px 4px;
  flex: 1;
}
body.home .grid .p {
  font-weight: 800;
  margin: 0 12px 12px;
}
body.home .was { text-decoration: line-through; color: #6b6450; font-weight: 500; margin-right: 6px; }
body.home .now { color: #2E6B3F; font-weight: 800; }
/* Covers and sale prices already show the discount. */
body.home .sale-badge { display: none; }
body.home .more { margin: 20px 0 0; font-weight: 700; }
body.home .more a { color: #1B2A4A; }

body.home .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}
body.home .card {
  padding: 18px;
  border-radius: 10px;
  border-top: 6px solid;
}
body.home .card h2 { margin: 0 0 8px; font-size: 1.2rem; }
body.home .card p { margin: 0; }

body.home .signup {
  background: #F7F2E6;
  padding: 24px;
  border-radius: 10px;
  margin: 8px 0 32px;
  border-top: 6px solid #D4A537;
}
body.home .signup h2 { margin: 0 0 8px; }

body.home .free h2 {
  margin: 0 0 8px;
  padding: 8px 12px;
  color: #fff;
  background: #1B2A4A;
  border-radius: 6px;
}
body.home .free > p { max-width: 70ch; }
body.home .freelist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
body.home .freelist li { display: flex; }
body.home .freelist a {
  display: block;
  flex: 1;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #DDD4C2;
  border-radius: 8px;
  text-decoration: none;
  background: #FFFcf7;
}
body.home .freelist a:hover { border-color: #1B2A4A; }
body.home .tag {
  display: inline-block;
  background: #D4A537;
  color: #1B2A4A;
  font-weight: 700;
  font-size: .8rem;
  padding: 1px 8px;
  border-radius: 4px;
  margin-right: 4px;
}

body.home footer {
  background: #F7F2E6;
  padding: 22px 0;
  font-size: .9rem;
  border-top: 1px solid #DDD4C2;
}
body.home footer .wrap { padding: 0 20px; }
body.home .motto { font-size: 1.15rem; font-style: italic; margin: 0 0 8px; }
body.home footer a { display: inline-block; padding: 6px 0; }

@media (max-width: 980px) {
  body.home .hero { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  body.home .hero-photo img { height: 260px; }
  body.home .best-sellers .grid,
  body.home .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.home .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body.home { font-size: 16px; }
  body.home h1 { font-size: 1.7rem; }
  body.home .wrap,
  body.home header .wrap,
  body.home main,
  body.home footer .wrap { padding-left: 14px; padding-right: 14px; }
  body.home main { padding-top: 18px; padding-bottom: 40px; }
  body.home .hero { padding: 18px; margin-bottom: 24px; }
  body.home .hero-photo img { height: 220px; object-position: 50% 70%; }
  body.home .best-sellers .grid,
  body.home .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.home .grid .t { font-size: .88rem; margin: 8px 8px 2px; }
  body.home .grid .p { margin: 0 8px 10px; }
  body.home .cards { grid-template-columns: 1fr; }
  body.home .freelist { grid-template-columns: 1fr; }
  body.home .signup { padding: 18px; }
}
