/* Five Lantern Press — page components */

/* ===== Featured callout (New this month) =========================== */
.fl-featured {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: var(--cream-50);
  border-radius: var(--radius-2xl);
  padding: 56px;
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.fl-featured__sky {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 30%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 72% 20%, rgba(255,255,255,0.45), transparent),
    radial-gradient(2px 2px at 42% 14%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 84% 60%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 10% 78%, rgba(255,255,255,0.4), transparent);
  opacity: 0.85; pointer-events: none;
}
.fl-featured__glow {
  position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: radial-gradient(circle at 50% 50%, rgba(224,168,88,0.35) 0, rgba(224,168,88,0.08) 35%, transparent 60%);
  filter: blur(8px); pointer-events: none;
}
.fl-featured__copy { position: relative; }
.fl-featured__eyebrow { color: var(--gold-400); }
.fl-featured__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 44px; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--cream-50); margin: 14px 0 14px;
  text-wrap: balance;
}
.fl-featured__title em { color: var(--gold-400); font-style: italic; font-weight: 500; }
.fl-featured__desc { font-size: 17px; line-height: 1.6; color: var(--navy-300); max-width: 48ch; margin: 0; }
.fl-featured__meta {
  display: flex; align-items: center; gap: 22px;
  margin: 22px 0 28px;
  font-size: 14px; color: var(--cream-100);
}
.fl-featured__price {
  font-family: var(--font-display); font-weight: 600; font-size: 26px;
  color: var(--gold-400);
}
.fl-featured__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.fl-featured__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fl-featured__art {
  position: relative; aspect-ratio: 1;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 64px rgba(224,168,88,0.18);
  overflow: hidden;
}

/* ===== Product card =============================================== */
.fl-product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.fl-product {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
  color: inherit;
}
.fl-product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.fl-product__cover {
  aspect-ratio: 1/1; position: relative; overflow: hidden;
  background-color: #E8DEC4;
}
.fl-product__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--cream-50); color: var(--navy-800);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: var(--radius-pill);
  text-transform: uppercase; box-shadow: var(--shadow-sm);
}
.fl-product__tag--gold { background: var(--gold-500); color: var(--navy-900); }
.fl-product__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fl-product__cat {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-700);
}
.fl-product__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.2; color: var(--navy-800);
  margin: 4px 0 0; text-wrap: balance;
}
.fl-product__desc {
  font-size: 14px; line-height: 1.55; color: var(--ink-500); margin: 0;
  flex: 1;
}
.fl-product__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; gap: 12px;
}
.fl-product__price {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; color: var(--gold-700);
}
.fl-product__amzn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-700); color: var(--cream-50);
  font-size: 13px; font-weight: 700; padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
}
.fl-product__amzn:hover { background: var(--gold-500); color: var(--navy-900); }
.fl-product__amzn [data-lucide] { width: 14px; height: 14px; }

/* ===== Product cover (real cover photo on a flat-lay surface) ===== */
.fl-cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background-color: #F4ECD9;
  background-image: url("../assets/flatlay-surface.svg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.fl-cover--b { background-image: url("../assets/flatlay-surface-2.svg"); }
.fl-cover--c { background-image: url("../assets/flatlay-surface-3.svg"); }
.fl-cover__photo {
  position: relative; z-index: 2;
  max-height: 86%; max-width: 64%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow:
    0 14px 30px rgba(31, 58, 95, 0.28),
    0 6px 12px rgba(31, 58, 95, 0.16),
    0 0 0 1px rgba(31, 58, 95, 0.06);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.fl-product:hover .fl-cover__photo { transform: translateY(-2px) rotate(-1deg); }

/* Full-bleed photo cover (real flat-lay photography) */
.fl-photo-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.fl-product:hover .fl-photo-cover { transform: scale(1.04); }
.fl-photo-cover--top { object-position: center 30%; }
.fl-photo-cover--bottom { object-position: center 70%; }
.fl-photo-cover--center { object-position: center center; }

/* Larger photo for the featured callout on the home page */
.fl-cover--lg {
  border-radius: var(--radius-xl);
}
.fl-cover--lg .fl-cover__photo {
  max-height: 88%; max-width: 70%;
  box-shadow:
    0 20px 44px rgba(31, 58, 95, 0.32),
    0 8px 16px rgba(31, 58, 95, 0.18),
    0 0 0 1px rgba(31, 58, 95, 0.06);
}

/* ===== Category band (shop page) =================================== */
.fl-cat-band { margin-bottom: 72px; }
.fl-cat-band:last-child { margin-bottom: 0; }
.fl-cat-band__head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--cream-300);
}
.fl-cat-band__head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 32px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy-800); margin: 6px 0 6px; text-wrap: balance;
}
.fl-cat-band__head h2 em { color: var(--gold-600); font-style: italic; }
.fl-cat-band__sub { font-size: 15px; color: var(--ink-500); margin: 0; max-width: 56ch; }
.fl-cat-band__count {
  font-family: var(--font-hand); font-size: 22px;
  color: var(--gold-700); transform: rotate(-1.5deg); display: inline-block;
  white-space: nowrap;
}

/* ===== Resource card (free downloads — placeholder/empty state) ==== */
.fl-res-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.fl-res {
  background: var(--surface);
  border: 1px dashed var(--cream-300);
  border-radius: var(--radius-xl);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.fl-res:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.fl-res__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--cream-200); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.fl-res__icon [data-lucide] { width: 26px; height: 26px; stroke-width: 1.5; }
.fl-res__badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-700);
  background: var(--gold-100); padding: 4px 10px; border-radius: var(--radius-pill);
}
.fl-res__cat {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-400);
}
.fl-res__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.2; color: var(--navy-800); margin: 0;
  text-wrap: balance;
}
.fl-res__desc {
  font-size: 14px; line-height: 1.55; color: var(--ink-500); margin: 0;
  flex: 1;
}
.fl-res__note {
  font-family: var(--font-hand); font-weight: 600; font-size: 18px;
  color: var(--gold-700); transform: rotate(-1deg); display: inline-block;
}

/* Category cluster on resources page */
.fl-res-cluster { margin-bottom: 72px; }
.fl-res-cluster:last-child { margin-bottom: 0; }
.fl-res-cluster__head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 28px; padding-bottom: 18px;
  border-bottom: 1px dashed var(--cream-300);
}
.fl-res-cluster__head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 32px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy-800); margin: 6px 0 6px;
}
.fl-res-cluster__head h2 em { color: var(--gold-600); font-style: italic; }

/* ===== About teaser (homepage) ===================================== */
.fl-about {
  background: var(--cream-200); padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.fl-about__glow {
  position: absolute; left: -10%; top: 10%; width: 50%; height: 80%;
  background: radial-gradient(circle at 50% 50%, rgba(224,168,88,0.18) 0, transparent 60%);
  filter: blur(10px); pointer-events: none;
}
.fl-about__inner {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center;
  position: relative;
}
.fl-about__photo { position: relative; }
.fl-about__photo-frame {
  background: var(--surface); padding: 14px 14px 56px;
  border-radius: 6px; box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  border: 1px solid var(--border);
  position: relative;
}
.fl-about__photo-content {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #C89042 0%, #1F3A5F 100%);
  border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.78);
  position: relative; overflow: hidden;
}
.fl-about__photo-content::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 72% 22%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 38% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 84% 58%, rgba(255,255,255,0.4), transparent);
  opacity: 0.6;
}
.fl-about__photo-content img { position: relative; width: 60%; opacity: 0.95; }
.fl-about__photo-label {
  position: relative; font-family: var(--font-hand); font-size: 22px;
  color: rgba(255,255,255,0.85);
}
.fl-about__caption {
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  font-family: var(--font-hand); font-weight: 700;
  font-size: 22px; color: var(--navy-700);
}
.fl-about__copy { max-width: 56ch; }
.fl-about__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 44px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 12px 0 18px; color: var(--navy-800); text-wrap: balance;
}
.fl-about__title em { color: var(--gold-600); font-style: italic; }
.fl-about__copy p {
  font-size: 17px; line-height: 1.7; color: var(--navy-800);
  margin: 0 0 14px;
}
.fl-about__signature { margin: 24px 0 8px; display: flex; flex-direction: column; gap: 0; }

/* ===== Story page body ============================================= */
.fl-story { padding: 88px 0 96px; }
.fl-story__intro {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start;
  margin-bottom: 88px;
}
.fl-story__intro-art { position: relative; }
.fl-story__intro p {
  font-size: 18px; line-height: 1.75; color: var(--navy-800);
  margin: 0 0 16px; max-width: 56ch;
}
.fl-story__pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 88px;
}
.fl-pillar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 28px;
  position: relative; transition: transform .2s, box-shadow .2s;
}
.fl-pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fl-pillar__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-700); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(224,168,88,0.25);
}
.fl-pillar__icon [data-lucide] { width: 26px; height: 26px; stroke-width: 1.5; }
.fl-pillar__eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-700);
}
.fl-pillar__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.2; color: var(--navy-800);
  margin: 4px 0 12px;
}
.fl-pillar__body { font-size: 15px; line-height: 1.65; color: var(--ink-500); margin: 0; }

.fl-lanterns-section {
  background: var(--navy-800); color: var(--cream-50);
  border-radius: var(--radius-2xl); padding: 64px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.fl-lanterns-section__sky {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 42% 18%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 6% 72%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 80%, rgba(255,255,255,0.5), transparent),
    radial-gradient(circle at 50% 100%, rgba(224,168,88,0.22) 0, transparent 50%);
  opacity: 0.9; pointer-events: none;
}
.fl-lanterns-section__copy { position: relative; }
.fl-lanterns-section h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 40px; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--cream-50); margin: 12px 0 18px; text-wrap: balance;
}
.fl-lanterns-section h2 em { color: var(--gold-400); font-style: italic; }
.fl-lanterns-section p {
  font-size: 17px; line-height: 1.7; color: var(--navy-300); margin: 0 0 14px;
}
.fl-lanterns-section__art {
  position: relative; display: flex; align-items: end; justify-content: center;
  padding: 24px 0;
}

/* ===== Footer ====================================================== */
.fl-footer {
  background: var(--navy-900); color: var(--cream-100);
  padding: 0;
  position: relative;
}
.fl-footer__divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fl-footer__divider span {
  height: 1px; flex: 1; max-width: 240px;
  background: linear-gradient(90deg, transparent, var(--gold-700), transparent);
}
.fl-footer__divider [data-lucide] {
  width: 22px; height: 22px; color: var(--gold-500);
  filter: drop-shadow(0 0 12px rgba(224,168,88,0.6));
}
.fl-footer__inner {
  display: grid; grid-template-columns: 1fr 2.2fr;
  gap: 56px; padding: 64px 32px 48px;
  max-width: var(--content-width); margin: 0 auto;
}
.fl-footer__brand img {
  width: 88px; height: 88px; border-radius: 50%;
  box-shadow: 0 0 24px rgba(224,168,88,0.35);
}
.fl-footer__name {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  color: var(--cream-50); margin: 14px 0 4px;
}
.fl-footer__tag {
  font-family: var(--font-hand); font-size: 22px;
  color: var(--gold-400); transform: rotate(-1.5deg); display: inline-block;
  margin: 6px 0 10px;
}
.fl-footer__address { font-size: 14px; color: var(--navy-300); line-height: 1.6; margin: 0; max-width: 32ch; }
.fl-footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.fl-footer__cols h4 {
  font-family: var(--font-body); font-weight: 800; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400);
  margin: 0 0 14px;
}
.fl-footer__cols a {
  display: block; padding: 4px 0; color: var(--cream-100); font-size: 14px;
}
.fl-footer__cols a:hover { color: var(--gold-500); }
.fl-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 32px;
}
.fl-footer__bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--navy-300); letter-spacing: 0.02em;
  flex-wrap: wrap; gap: 12px;
  max-width: var(--content-width); margin: 0 auto;
}
.fl-footer__amzn {
  font-size: 11px; color: var(--navy-300); padding: 28px 32px 0;
  text-align: center; max-width: 720px; margin: 0 auto; line-height: 1.6;
}

/* ===== Responsive ================================================== */
@media (max-width: 860px) {
  .fl-product-grid, .fl-res-grid, .fl-story__pillars { grid-template-columns: 1fr 1fr; }
  .fl-featured { grid-template-columns: 1fr; padding: 40px; }
  .fl-featured__title { font-size: 34px; }
  .fl-about__inner, .fl-story__intro, .fl-lanterns-section { grid-template-columns: 1fr; gap: 40px; }
  .fl-footer__inner { grid-template-columns: 1fr; }
  .fl-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fl-product-grid, .fl-res-grid, .fl-story__pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* Featured */
  .fl-featured { padding: 28px 22px; gap: 28px; }
  .fl-featured__title { font-size: 28px; }
  .fl-featured__desc { font-size: 15px; }
  .fl-featured__meta { flex-wrap: wrap; gap: 10px; font-size: 13px; }
  .fl-featured__cta { flex-direction: column; }
  .fl-featured__cta .fl-btn { justify-content: center; }
  .fl-featured__art { min-height: 240px; }
  /* About */
  .fl-about { padding: 60px 0; }
  .fl-about__photo { display: none; }
  .fl-about__title { font-size: 32px; }
  .fl-about__copy p { font-size: 16px; }
  /* Story pillars */
  .fl-story__pillars { gap: 16px; }
  .fl-lanterns-section { padding: 40px 24px; }
  .fl-lanterns-section h2 { font-size: 28px; }
  .fl-lanterns-section__art { display: none; }
  /* Cat band */
  .fl-cat-band__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fl-cat-band__head h2 { font-size: 26px; }
  /* Resource cards */
  .fl-res-cluster__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Footer */
  .fl-footer__inner { padding: 40px 18px 32px; gap: 32px; }
  .fl-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fl-footer__bar { padding: 16px 18px; }
  .fl-footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fl-footer__amzn { padding: 20px 18px 0; font-size: 12px; }
}
