/* Maven Forge: themavenforge.com */
@font-face { font-family: "Jost"; src: url("../fonts/Jost-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #14213d;
  --ink-2: #1d2d52;
  --navy-deep: #0c1430;
  --gold: #d2a952;
  --gold-soft: #e9cf92;
  --cream: #f6efe0;
  --paper: #fbf8f1;
  --text: #24262d;
  --muted: #5d6170;
  --line: #e6dfcf;
  --burgundy: #7d1e2c;
  --forest: #1f3a2a;
  --walnut: #2e1d13;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(20, 33, 61, .35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ---------- type */
.eyebrow {
  font-weight: 700; letter-spacing: .32em; text-transform: uppercase; font-size: .78rem; color: var(--gold);
}
h1, h2, h3 { line-height: 1.1; margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -.005em; }
h3 { font-weight: 700; font-size: 1.28rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 46rem; }
.section-head { text-align: center; margin: 0 auto 3rem; max-width: 50rem; }
.section-head .lead { margin: 1rem auto 0; }
.section-head h2 { margin-top: .6rem; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(210, 169, 82, .8); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(246, 239, 224, .55); color: var(--cream); }
.btn-ghost:hover { background: rgba(246, 239, 224, .1); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink); }
.nav a:hover { color: var(--burgundy); }
.nav .btn { padding: .65rem 1.15rem; font-size: .92rem; color: var(--navy-deep); }
.menu-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- hero */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(1200px 600px at 75% 30%, #233a73 0%, var(--ink) 45%, var(--navy-deep) 100%);
}
.hero-map {
  position: absolute; right: -6%; top: -8%; height: 125%; opacity: .2; pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; padding: 6.5rem 0 7rem; }
.hero h1 { margin: 1rem 0 1.3rem; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p { color: rgba(246, 239, 224, .82); font-size: 1.18rem; max-width: 36rem; margin: 0 0 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-art { position: relative; height: 520px; }
.hero-art figure { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65); }
.hero-art .a1 { width: 76%; right: 0; top: 0; transform: rotate(2.5deg); }
.hero-art .a2 { width: 46%; left: 0; top: 34%; transform: rotate(-4deg); }
.hero-art .a3 { width: 33%; right: 8%; bottom: 0; transform: rotate(3deg); border-radius: 8px; }
.hero-badges { display: flex; gap: 2.2rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-badges div { font-size: .92rem; color: rgba(246, 239, 224, .75); }
.hero-badges strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--cream); }

/* ---------- brand cards */
.brands { padding: 5.5rem 0 2rem; }
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.brand-card {
  position: relative; border-radius: 24px; padding: 2.6rem; overflow: hidden; color: var(--cream); min-height: 330px;
  display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); text-decoration: none;
}
.brand-card::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.brand-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 30, 0) 0%, rgba(10, 14, 30, .72) 42%, rgba(10, 14, 30, .95) 100%); }
.brand-card:hover::before { transform: scale(1.04); }
.brand-card > * { position: relative; z-index: 1; }
.brand-card.hometown::before { background-image: url("../img/hm-puzzle.jpg"); }
.brand-card.bc-books::before { background-image: url("../img/books-collage.jpg"); background-position: center 20%; }
.brand-card h3 { font-size: 1.9rem; font-weight: 800; margin: .4rem 0 .5rem; }
.brand-card p { margin: 0 0 1.2rem; color: rgba(246, 239, 224, .85); max-width: 30rem; }
.brand-card .more { font-weight: 700; color: var(--gold-soft); }

/* ---------- sections */
section { scroll-margin-top: 80px; }
.band { padding: 6rem 0; }
.band.cream { background: var(--cream); }
.band.dark { background: var(--ink); color: var(--cream); }
.band.dark .lead { color: rgba(246, 239, 224, .78); }
.hm-wordmark { font-weight: 800; letter-spacing: .34em; font-size: .86rem; color: var(--burgundy); }

/* ---------- product cards */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.6rem; }
.product { grid-column: span 2; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -22px rgba(20, 33, 61, .45); }
.product.wide { grid-column: span 3; }
.product .photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.product .photo img { width: 100%; height: 100%; object-fit: cover; }
.product .tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy-deep); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.product .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product .body p { margin: 0; color: var(--muted); font-size: .98rem; }
.product .price { font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.product .price span { font-weight: 600; color: var(--muted); font-size: .9rem; }
.product .btn { margin-top: auto; align-self: flex-start; }

/* ---------- how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 4rem; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--ink); color: var(--gold-soft); font-weight: 800; margin-bottom: .9rem; }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.stats { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; margin-top: 3.5rem; text-align: center; }
.stats strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--burgundy); line-height: 1; }
.stats span { color: var(--muted); font-weight: 600; }

/* ---------- videos */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.video { border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.video video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.video figcaption { padding: .8rem 1rem; font-weight: 600; font-size: .92rem; color: var(--cream); background: var(--ink-2); }

/* ---------- books */
.tm-logo { height: 46px; width: auto; margin: 0 auto 1.2rem; border-radius: 999px; }
.series { margin-top: 3.5rem; }
.series-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-bottom: 2px solid var(--ink); padding-bottom: .8rem; margin-bottom: 1.8rem; }
.series-head h3 { font-family: "Cinzel", serif; font-size: 1.6rem; color: var(--ink); }
.series-head p { margin: 0; color: var(--muted); font-weight: 600; }
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.8rem 1.4rem; }
.books.featured { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.books.featured h4 { font-size: 1.18rem; }
.book { text-decoration: none; display: flex; flex-direction: column; gap: .6rem; }
.book .cover { border-radius: 6px; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(20, 33, 61, .55); transition: transform .2s ease; background: #fff; }
.book:hover .cover { transform: translateY(-5px) rotate(-1deg); }
.book .cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.book h4 { margin: .2rem 0 0; font-size: 1.02rem; line-height: 1.3; color: var(--ink); }
.book p { margin: 0; color: var(--muted); font-size: .9rem; }
.book .amazon { font-weight: 700; color: var(--burgundy); font-size: .92rem; }
.books-cta { text-align: center; margin-top: 3rem; }

/* ---------- about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about blockquote { margin: 0; font-family: "Cinzel", serif; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold-soft); line-height: 1.25; }
.about p { color: rgba(246, 239, 224, .82); font-size: 1.08rem; }
.about-art { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }

/* ---------- mailing list */
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.signup-text h2 { margin: .5rem 0 0; }
.signup-text .lead { margin-top: 1rem; }
.signup-form { background: #fff; border-radius: 22px; padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.signup-form .fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input { font: inherit; font-weight: 500; font-size: 1rem; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--text); }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(20, 33, 61, .12); }
.interests { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.interests legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .5rem; padding: 0; }
.interests legend span { font-weight: 500; color: var(--muted); }
.interests label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; cursor: pointer; }
.interests input { width: 18px; height: 18px; accent-color: var(--ink); }
.signup-form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.signup-form .fine { margin: 0; font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- thank-you page */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.thanks h1 { color: var(--ink); font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .6rem 0 1rem; }
.thanks p { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin: 0 auto 2rem; }
.thanks .btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.contact-card { background: #fff; border-radius: 22px; padding: 2.2rem; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.contact-list a { text-decoration: none; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .7rem; }
.contact-list a:hover { color: var(--burgundy); }
.contact-list svg { width: 22px; height: 22px; color: var(--burgundy); flex: none; }
.socials { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream);
  transition: background .15s ease, transform .15s ease; }
.socials a:hover { background: var(--burgundy); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.shops { display: grid; gap: 1rem; }
.shop-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: 18px;
  text-decoration: none; color: var(--cream); background: var(--ink); transition: transform .15s ease; }
.shop-link:hover { transform: translateY(-3px); }
.shop-link.etsy { background: linear-gradient(135deg, #a3361f, #7d1e2c); }
.shop-link.amazon { background: linear-gradient(135deg, #1d2d52, #0c1430); }
.shop-link strong { display: block; font-size: 1.2rem; }
.shop-link span { color: rgba(246, 239, 224, .8); font-size: .95rem; }
.shop-link svg { width: 28px; height: 28px; flex: none; }

/* ---------- footer */
.site-footer { background: var(--navy-deep); color: rgba(246, 239, 224, .7); padding: 3rem 0; font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-footer img { height: 26px; width: auto; }
.site-footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: rgba(246, 239, 224, .85); }
.site-footer a:hover { color: var(--gold-soft); }

/* ---------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- smaller screens */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 4.5rem 0 5rem; }
  .hero-art { height: 420px; max-width: 560px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .product, .product.wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .signup { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); display: none; padding: .5rem 20px 1.2rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; justify-content: center; border-bottom: 0; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 280px; padding: 2rem; }
  .products { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .band { padding: 4.5rem 0; }
  .hero-art { height: 340px; }
  .hero-badges { gap: 1.4rem; }
  .stats { gap: 2rem; }
  .books, .books.featured { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .signup-form .fields { grid-template-columns: 1fr; }
  .signup-form { padding: 1.5rem; }
}
