/* =========================================================
   THE DRYAD'S QUILL — STYLESHEET
   A cozy, magical, forest-stationery-shop aesthetic.
   Sections below are commented to make future edits easy.
   ========================================================= */

/* -----------------------------
   1. CSS VARIABLES / THEME
   ----------------------------- */
:root {
  /* Core palette */
  --color-parchment: #f7efe1;       /* warm parchment background */
  --color-parchment-deep: #efe3cd;  /* slightly deeper parchment for alt sections */
  --color-cream: #fffaf0;           /* ivory content cards */
  --color-forest: #1f3d2b;          /* deep forest green — primary */
  --color-forest-dark: #16291d;     /* darker forest for hover/text emphasis */
  --color-forest-light: #2f5a3f;    /* lighter forest accent */
  --color-gold: #c9a24b;            /* soft gold accent */
  --color-gold-light: #e6c878;      /* lighter gold for glows/highlights */
  --color-lavender: #8b7bb0;        /* secondary accent */
  --color-moss: #6f8a5e;            /* secondary accent */
  --color-midnight: #2c3357;        /* secondary accent */
  --color-text: #2c2418;            /* main body text, warm near-black */
  --color-text-soft: #4a4033;       /* muted body text */
  --color-border: #ddcda6;          /* soft border on cream cards */

  /* Typography */
  --font-heading: 'Cinzel Decorative', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Effects */
  --shadow-soft: 0 8px 24px rgba(31, 61, 43, 0.12);
  --shadow-card: 0 4px 16px rgba(31, 61, 43, 0.10);
  --shadow-lift: 0 16px 32px rgba(31, 61, 43, 0.18);
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition-base: 0.28s ease;
}

/* -----------------------------
   2. RESET / BASE
   ----------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-parchment);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 75, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(139, 123, 176, 0.06) 0%, transparent 45%);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-forest);
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-soft);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -----------------------------
   3. BUTTONS
   ----------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-base);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-forest);
  color: var(--color-cream);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-forest-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(31, 61, 43, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--color-forest);
  color: var(--color-cream);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-forest);
  border-color: var(--color-gold);
  padding: 0.7em 1.5em;
  font-size: 0.9rem;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-forest-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 162, 75, 0.35);
}

.btn-large {
  padding: 1em 2.4em;
  font-size: 1.05rem;
}

/* -----------------------------
   4. HEADER / NAVIGATION
   ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 239, 225, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-forest);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-forest-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-base);
}

.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.main-nav ul a:hover::after,
.main-nav ul a:focus-visible::after {
  width: 100%;
}

.main-nav ul a:hover {
  color: var(--color-gold);
}

.nav-cta {
  padding: 0.6em 1.4em;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-forest);
  transition: transform var(--transition-base);
}

.nav-toggle-label span {
  top: 10px;
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

/* -----------------------------
   5. HERO SECTION
   Full-bleed background photo (images/background-hero.jpg) with a
   forest-toned overlay that fades into the parchment page below,
   plus a layer of drifting "fairy dust" motes (see section 5b).
   ----------------------------- */
.hero {
  position: relative;
  padding: 150px 0 56px;
  overflow: hidden;
  text-align: center;
  color: var(--color-cream);
  isolation: isolate;
}

/* The photo itself, isolated so the overlay/fallback can layer on top */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('images/background-hero.jpg');
  background-size: cover;
  background-position: center 35%;
}

/* Warm forest overlay for text legibility; fades to parchment at the
   bottom so the hero blends seamlessly into the rest of the page */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 28%, rgba(230, 200, 120, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, rgba(22, 41, 29, 0.68) 0%, rgba(22, 41, 29, 0.58) 40%, rgba(22, 41, 29, 0.82) 70%, var(--color-parchment) 96%);
}

/* Fallback gradient used if background-hero.jpg fails to load
   (class added by the script near the end of the page) */
.hero.no-bg-image .hero-bg {
  background-image: none;
  background: linear-gradient(160deg, var(--color-forest) 0%, var(--color-midnight) 55%, var(--color-lavender) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest-dark);
  background-color: var(--color-gold-light);
  padding: 0.45em 1em;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 0 14px rgba(230, 200, 120, 0.55);
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  margin-bottom: 0.25em;
  color: var(--color-gold-light);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.hero-subhead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-cream);
  margin-bottom: 0.9em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-body {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 250, 240, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.hero .btn-secondary {
  color: var(--color-cream);
  border-color: var(--color-gold-light);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  background-color: var(--color-gold-light);
  color: var(--color-forest-dark);
  border-color: var(--color-gold-light);
}

/* -----------------------------
   5b. FAIRY DUST EFFECT
   Motes are appended to #fairy-dust by the script at the bottom of the
   page, each with randomized position/timing via inline custom props.
   ----------------------------- */
.fairy-dust {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mote {
  position: absolute;
  bottom: -5%;
  animation-name: fairy-drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.mote-dust {
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold-light) 0%, rgba(230, 200, 120, 0) 70%);
  box-shadow: 0 0 6px 2px rgba(230, 200, 120, 0.75);
}

.mote-star {
  color: var(--color-gold-light);
  text-shadow: 0 0 8px rgba(230, 200, 120, 0.85);
  line-height: 1;
}

@keyframes fairy-drift {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.9; }
  50%  { transform: translate(var(--drift-x, 20px), -55vh) scale(1); opacity: 1; }
  88%  { opacity: 0.5; }
  100% { transform: translate(calc(var(--drift-x, 20px) * 1.6), -105vh) scale(0.5); opacity: 0; }
}

/* Legacy sparkle glyphs, reused on framed images (e.g. the About section photo) */
.sparkle {
  position: absolute;
  color: var(--color-gold-light);
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(230, 200, 120, 0.8);
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none;
}

.sparkle-1 { top: 8%; left: 8%; animation-delay: 0s; }
.sparkle-2 { top: 20%; right: 10%; animation-delay: 1s; font-size: 1rem; }
.sparkle-3 { bottom: 12%; left: 14%; animation-delay: 2s; font-size: 1.1rem; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Reusable framed-artwork component (used in the About section) */
.artwork-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--color-forest) 0%, var(--color-midnight) 55%, var(--color-lavender) 100%);
  border: 6px solid var(--color-cream);
}

.artwork-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Graceful fallback if an artwork-frame image is missing */
.artwork-frame.image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-frame.image-fallback::after {
  content: attr(data-fallback);
  font-family: var(--font-heading);
  color: var(--color-gold-light);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2em;
  text-shadow: 0 0 18px rgba(230, 200, 120, 0.6);
}

/* Decorative leafy divider used between sections */
.leaf-divider {
  text-align: center;
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  padding: 8px 0 0;
  opacity: 0.8;
}

/* -----------------------------
   6. FEATURED COLLECTIONS
   ----------------------------- */
.collections {
  padding: 52px 0 72px;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-heading p {
  color: var(--color-text-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.product-image-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-frame img {
  transform: scale(1.06);
}

.product-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  margin-bottom: 0.35em;
}

.product-body p {
  font-size: 0.94rem;
  flex-grow: 1;
  margin-bottom: 1.2em;
}

.product-body .btn {
  align-self: flex-start;
}

/* -----------------------------
   7. FEATURED PRODUCT STRIP
   ----------------------------- */
.feature-strip {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-dark) 100%);
  color: var(--color-cream);
  padding: 64px 0;
}

.feature-strip-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.feature-strip h2 {
  color: var(--color-gold-light);
}

.feature-strip p {
  color: rgba(255, 250, 240, 0.88);
}

.feature-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.feature-callout {
  background-color: rgba(255, 250, 240, 0.07);
  border: 1px solid rgba(230, 200, 120, 0.3);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  transition: transform var(--transition-base), background-color var(--transition-base);
}

.feature-callout:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 250, 240, 0.12);
}

.feature-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.feature-callout p {
  color: var(--color-cream);
  margin: 0;
  font-size: 0.95rem;
}

/* Compact "cover + interior" peek: two small overlapping framed photos
   (reuses .artwork-frame for the border/shadow/fallback treatment) so
   shoppers see a hint of the interior pages without a heavy new section */
.interior-peek {
  margin-top: 44px;
  text-align: center;
}

.spread-pair {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.spread-frame {
  width: 140px;
  position: relative;
  transition: transform var(--transition-base);
}

.spread-frame--cover {
  transform: rotate(-6deg) translateX(16px);
  z-index: 1;
}

.spread-frame--interior {
  transform: rotate(5deg) translateX(-16px);
  margin-left: -38px;
  z-index: 2;
}

.spread-pair:hover .spread-frame--cover,
.spread-pair:focus-within .spread-frame--cover {
  transform: rotate(-3deg) translateX(16px) translateY(-6px);
}

.spread-pair:hover .spread-frame--interior,
.spread-pair:focus-within .spread-frame--interior {
  transform: rotate(2deg) translateX(-16px) translateY(-6px);
}

.spread-caption {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 250, 240, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

/* -----------------------------
   8. GIFT IDEAS SECTION
   ----------------------------- */
.gifts {
  padding: 72px 0;
  background-color: var(--color-parchment-deep);
}

.gift-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.gift-tags li {
  background-color: var(--color-cream);
  border: 1px solid var(--color-gold);
  color: var(--color-forest-dark);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
}

.gift-tags li:hover {
  background-color: var(--color-gold);
  color: var(--color-forest-dark);
  transform: translateY(-3px) scale(1.03);
}

.gift-cta {
  text-align: center;
  margin-top: 40px;
}

/* -----------------------------
   9. ABOUT SECTION
   ----------------------------- */
.about {
  padding: 64px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
}

.about-copy {
  text-align: left;
}

.about-visual {
  max-width: 340px;
  margin: 0 auto;
}

/* -----------------------------
   10. CREATOR NOTE SECTION
   ----------------------------- */
.creator-note {
  padding: 56px 0 72px;
}

.creator-note-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
}

.creator-note h2 {
  font-size: 1.5rem;
}

/* -----------------------------
   11. AMAZON STOREFRONT CTA BANNER
   ----------------------------- */
.storefront-cta {
  background: radial-gradient(circle at 50% 0%, var(--color-forest-light) 0%, var(--color-forest-dark) 70%);
  color: var(--color-cream);
  padding: 76px 0;
  text-align: center;
  position: relative;
}

.storefront-cta::before {
  content: "\2726 \2726 \2726";
  display: block;
  color: var(--color-gold-light);
  letter-spacing: 0.5em;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.storefront-cta h2 {
  color: var(--color-gold-light);
}

.storefront-cta p {
  color: rgba(255, 250, 240, 0.9);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* -----------------------------
   12. FOOTER
   ----------------------------- */
.site-footer {
  background-color: var(--color-forest-dark);
  color: rgba(255, 250, 240, 0.82);
  padding: 52px 0 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(230, 200, 120, 0.2);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-gold-light);
  margin-bottom: 8px;
}

.footer-brand p {
  color: rgba(255, 250, 240, 0.78);
  max-width: 340px;
}

.footer-closing {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-light);
  margin-top: 10px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255, 250, 240, 0.8);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--color-gold-light);
}

.copyright {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 250, 240, 0.55);
  margin: 20px 0 0;
}

/* -----------------------------
   13. COLLECTION SUB-PAGES
   Shared styles for single-collection pages that live in /collections/
   (e.g. collections/dragon-journals.html). Reusable for future
   collection pages beyond Dragon Journals.
   ----------------------------- */

/* Small page banner used instead of the full cinematic hero */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background-color: var(--color-parchment-deep);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--color-forest);
  transition: color var(--transition-base);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-gold);
}

.breadcrumb span[aria-hidden] {
  margin: 0 8px;
  color: var(--color-gold);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  margin-bottom: 0.2em;
}

.page-hero-subhead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-forest-light);
  max-width: 46ch;
  margin: 0 auto;
}

/* Product grid for sub-pages: centered, capped at two columns since
   these pages showcase a small, curated pick of items */
.subpage-shop {
  padding: 64px 0 72px;
}

.subpage-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 40px;
}

/* Modifier for collection pages with more than a couple of items
   (e.g. the 8-item Quest & Adventure Journals page): flows into
   3-4 columns on wide screens and reflows down responsively. */
.subpage-products--wide {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

.subpage-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.subpage-card:hover,
.subpage-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

/* The image itself is the primary clickable button through to Amazon */
.subpage-card-link {
  display: block;
  position: relative;
}

.subpage-image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
}

.subpage-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter var(--transition-base);
}

.subpage-card-link:hover .subpage-image-frame img,
.subpage-card-link:focus-visible .subpage-image-frame img {
  transform: scale(1.06);
  filter: brightness(1.04);
}

.subpage-card-link:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: -3px;
}

/* Soft gold "shop" glow hint on hover, reinforcing that the image is clickable */
.subpage-card-link::after {
  content: "Shop on Amazon \2192";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 8px);
  opacity: 0;
  background-color: rgba(22, 41, 29, 0.85);
  color: var(--color-gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
}

.subpage-card-link:hover::after,
.subpage-card-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.subpage-card-body {
  padding: 22px 22px 26px;
  text-align: center;
}

.subpage-card-body h3 {
  margin-bottom: 0.35em;
}

.subpage-card-body p {
  font-size: 0.94rem;
  margin-bottom: 1.2em;
}

/* -----------------------------
   14. RESPONSIVE BREAKPOINTS
   ----------------------------- */

/* Tablet */
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 48px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-copy {
    text-align: center;
  }

  .about-visual {
    order: -1;
    max-width: 300px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-callouts {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .nav-toggle-label {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-parchment);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 420px;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .subpage-products {
    grid-template-columns: minmax(0, 340px);
  }

  .spread-frame {
    width: 110px;
  }

  .hero {
    padding: 96px 0 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .creator-note-inner {
    padding: 32px 24px;
  }
}
