/* =========================================================================
   Faith Bloom Media — single-page site (v2: cottagecore + coquette)
   Layout concept: a linen-paper scrapbook. Airy cream pages, a centered logo,
   hand-lettered script notes, scalloped edges, stitched borders, washi-taped
   polaroids, bows and pressed-flower sprigs. One soft world, light only.
   ========================================================================= */
:root {
  color-scheme: light;
  /* Color */
  --paper: #FBF6EE;        /* cream page */
  --linen: #F5ECE0;        /* warm linen band */
  --blush: #F7DFE1;        /* blush band */
  --blush-deep: #EFC9CE;   /* gingham + borders */
  --white: #FFFDF9;        /* card paper */
  --ink: #4A3631;          /* warm brown text */
  --ink-soft: #745D57;     /* secondary text */
  --rose: #9E4A60;         /* buttons, accents */
  --rose-text: #94415A;    /* rose text on cream/blush */
  --rose-soft: #E2A6B3;    /* decorative rose */
  --sage: #A8B898;         /* decorative sage */
  --sage-ink: #4F6447;     /* sage text */
  --sage-soft: #E4EBDC;    /* sage fills */
  --butter: #F6E7C1;       /* butter yellow accents */
  --gold: #B8975F;         /* hairlines */
  --line: #E9D9CD;
  --focus: #4F6447;
  --shadow: 0 1px 2px rgba(74, 54, 49, .06), 0 14px 30px -16px rgba(74, 54, 49, .35);

  /* Type */
  --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-script: "Sacramento", "Segoe Script", "Brush Script MT", cursive;
  --font-sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1160px;
  --radius: 18px;
  --header-h: 112px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.05; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
a { color: var(--rose-text); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 8px); }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.14em; }

/* Labels: small, uppercase, widely spaced (the "LO" voice) */
.label { font-family: var(--font-sans); font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
/* Hand-lettered notes */
.script { font-family: var(--font-script); font-weight: 400; color: var(--rose-text); line-height: 1; letter-spacing: 0; }
.section-head { display: grid; gap: 6px; justify-items: center; text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head .script { font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem); }
.section-head h2 { font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem); }
.section-head .lede { margin-top: 10px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.flourish { display: flex; align-items: center; gap: 12px; color: var(--gold); margin-top: 6px; }
.flourish::before, .flourish::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.flourish svg { width: 14px; height: 14px; color: var(--rose-soft); }

/* Skip link */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* Buttons: soft pills, lowercase, spaced */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .6em 1.6em; border-radius: 999px; border: 1.5px solid var(--rose);
  font: 500 .95rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: lowercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose); color: #FFFFFF; }
.btn-primary:hover { background: #8A3D52; }
.btn-secondary { background: var(--white); color: var(--rose-text); }
.btn-secondary:hover { background: var(--blush); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stitched (lace-like) inner border for paper cards */
.stitched { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.stitched::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--blush-deep); border-radius: calc(var(--radius) - 6px); pointer-events: none; }

/* Scalloped edges */
.scallop-bottom, .scallop-top { position: relative; }
.scallop-bottom::after, .scallop-top::before {
  content: ""; position: absolute; left: 0; right: 0; height: 16px; z-index: 2; pointer-events: none;
  background-size: 32px 16px; background-repeat: repeat-x;
}
.scallop-bottom::after { bottom: -15px; background-image: radial-gradient(circle at 16px 0, var(--scallop) 16px, transparent 16.5px); }
.scallop-top::before { top: -15px; background-image: radial-gradient(circle at 16px 16px, var(--scallop) 16px, transparent 16.5px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--blush); color: var(--ink); text-align: center; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px var(--gutter); }
.announce a { color: var(--rose-text); font-weight: 600; }

/* ---------- Header: links either side of a centered logo ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(251, 246, 238, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; display: flex; align-items: center; min-height: var(--header-h); }
.brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; }
.brand img { width: 96px; height: 96px; filter: drop-shadow(0 6px 12px rgba(158, 74, 96, .2)); }
.primary-nav { width: 100%; }
.primary-nav .nav-lists { display: flex; justify-content: space-between; align-items: center; gap: 140px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.primary-nav a:hover { color: var(--rose-text); background: var(--blush); }
.primary-nav a[aria-current="true"] { color: var(--rose-text); box-shadow: inset 0 -1.5px 0 var(--rose-soft); border-radius: 0; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--rose); background: var(--white); color: var(--rose-text);
  font: 500 .78rem var(--font-sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
@media (max-width: 1120px) {
  :root { --header-h: 88px; }
  .brand img { width: 72px; height: 72px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; inset: 100% 0 auto 0; width: auto; display: none;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav .nav-lists { flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { width: 100%; padding: 12px 14px; border-radius: 12px; }
  .primary-nav a[aria-current="true"] { box-shadow: none; background: var(--blush); border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(64px, 8vw, 110px); position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { display: grid; gap: 4px; }
.hero h1 .script { font-size: clamp(3.4rem, 2.4rem + 4.4vw, 6rem); margin-left: -4px; }
.hero h1 .serif { font-size: clamp(3rem, 2rem + 4.4vw, 5.6rem); font-weight: 600; letter-spacing: -0.01em; }
.hero h1 .serif em { font-style: italic; font-weight: 500; color: var(--rose-text); }
.hero .lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); }
.motto { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.motto svg { width: 12px; height: 12px; color: var(--rose-soft); }

.hero-art { position: relative; width: 100%; max-width: 470px; margin-inline: auto; padding: 18px 26px 40px; }
.arch {
  position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 10px solid var(--white); box-shadow: var(--shadow); outline: 1.5px dashed var(--blush-deep); outline-offset: -18px;
  background: var(--blush);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-art .bow-top { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 92px; height: 70px; color: var(--rose-soft); z-index: 3; filter: drop-shadow(0 4px 6px rgba(158, 74, 96, .25)); }
.hero-art .tape-photo { position: absolute; right: -6px; bottom: 0; width: 42%; transform: rotate(6deg); z-index: 3; }
.hero-art .sprig-l { position: absolute; left: -18px; bottom: 30px; width: 90px; height: 150px; transform: rotate(-14deg); z-index: 3; }
.hero-art .note { position: absolute; left: -4px; top: 34%; z-index: 3; background: var(--butter); padding: 6px 16px 10px; transform: rotate(-6deg); box-shadow: var(--shadow); font-size: 2.4rem; color: var(--rose-text); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; }
  .hero-copy { text-align: center; justify-items: center; }
  .hero .btn-row, .motto { justify-content: center; }
}

/* Polaroids + washi tape */
.polaroid { margin: 0; background: var(--white); color: var(--ink); padding: 9px 9px 0; border-radius: 3px; box-shadow: var(--shadow); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { font-family: var(--font-script); font-size: 1.55rem; line-height: 1.1; padding: 8px 4px 12px; text-align: center; color: var(--ink); }
.tape::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(45deg, rgba(226, 166, 179, .75) 0 6px, rgba(247, 223, 225, .75) 6px 12px);
  box-shadow: 0 1px 2px rgba(74, 54, 49, .12); z-index: 2;
}
.tape.sage::before { background: repeating-linear-gradient(-45deg, rgba(168, 184, 152, .7) 0 6px, rgba(228, 235, 220, .8) 6px 12px); }

/* ---------- Highlights ---------- */
.highlights { background: var(--linen); padding-block: clamp(72px, 9vw, 112px); --scallop: var(--linen); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 34px 26px 30px; display: grid; gap: 10px; justify-items: center; text-align: center; align-content: start; }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-text); }
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.6rem; }
.feature p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-block: clamp(80px, 10vw, 130px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy .script { font-size: 2.6rem; }
.about-copy h2 { font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem); }
.about-copy p { max-width: 60ch; }
.pull-quote { margin: 10px 0 0; padding: 30px 34px; text-align: center; }
.pull-quote p { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.3; color: var(--rose-text); }
.pull-quote cite { display: block; margin-top: 12px; font-style: normal; }
.community h3 { font-size: 1.7rem; margin-bottom: 6px; }
.mission { padding: 36px 32px; display: grid; gap: 20px; }
.mission-head { display: grid; justify-items: center; text-align: center; gap: 4px; }
.mission-head svg { width: 46px; height: 46px; color: var(--rose-soft); }
.mission-head h3 { font-size: 2rem; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pillar { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pillar:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar .script { font-size: 2.2rem; line-height: 1.25; margin-bottom: 2px; }
.pillar h4 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }
.signature { text-align: center; font-size: 2.3rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { background: var(--blush); padding-block: clamp(80px, 10vw, 120px); --scallop: var(--blush); }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.photo-grid li:nth-child(odd) .polaroid { transform: rotate(-2deg); }
.photo-grid li:nth-child(even) .polaroid { transform: rotate(1.8deg) translateY(14px); }
.photo-grid .polaroid { transition: transform .3s ease; }
.photo-grid .polaroid:hover { transform: rotate(0) translateY(-4px); }
.photo-grid .polaroid img { aspect-ratio: 4 / 5; }
.next-note { margin-top: 56px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.next-note .script { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); }
.next-note p:not(.script) { max-width: 46ch; font-size: 1.12rem; color: var(--ink); }
@media (max-width: 960px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .photo-grid li:first-child { grid-column: 1 / -1; }
  .photo-grid li:first-child .polaroid img { aspect-ratio: 16 / 10; }
}

/* ---------- Shop: blush gingham picnic cloth ---------- */
.shop {
  --scallop: #FCF1F0;
  padding-block: clamp(84px, 10vw, 130px);
  background-color: #FCF1F0;
  background-image:
    repeating-linear-gradient(0deg, rgba(226, 166, 179, .22) 0 20px, transparent 20px 40px),
    repeating-linear-gradient(90deg, rgba(226, 166, 179, .22) 0 20px, transparent 20px 40px);
}
.shop .section-head .bow { width: 72px; height: 54px; color: var(--rose); }
.shop-tiles { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; }
.shop-tile { display: grid; justify-items: center; gap: 4px; padding: 26px 20px; text-decoration: none; color: var(--ink); text-align: center; transition: transform .2s ease; }
.shop-tile:hover { transform: translateY(-3px); }
.shop-tile svg { width: 42px; height: 42px; color: var(--rose-text); }
.shop-tile .script { font-size: 2.4rem; line-height: 1.3; }
.shop-tile .label { font-size: .72rem; }
.shop-block { margin-top: clamp(56px, 7vw, 84px); }
.block-head { display: grid; justify-items: center; text-align: center; gap: 6px; margin-bottom: 30px; }
.block-head h3 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); }
.block-head p { color: var(--ink-soft); max-width: 56ch; }
.block-head .btn { margin-top: 10px; }

.book-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.book { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 28px; height: 100%; }
.book-body { display: grid; gap: 10px; align-content: start; min-width: 0; position: relative; z-index: 1; }
.book h4 { font-size: 1.85rem; }
.book p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.book .meta { color: var(--sage-ink); font-size: .72rem; }
.book .btn { min-height: 44px; padding: .5em 1.2em; font-size: .85rem; }
.cover {
  aspect-ratio: 2 / 3; border-radius: 3px 10px 10px 3px; position: relative; overflow: hidden; z-index: 1;
  display: grid; align-content: center; justify-items: center; gap: 8px; padding: 14px 10px; text-align: center; color: var(--ink);
  box-shadow: inset 7px 0 0 rgba(74, 54, 49, .08), 0 16px 26px -14px rgba(74, 54, 49, .55);
}
.cover-teen { background: linear-gradient(170deg, #FFF8F2 0%, #F7DFE1 100%); }
.cover-mom { background: linear-gradient(170deg, #F7DFE1 0%, #EBC0C8 100%); }
.cover .c-title { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; }
.cover .c-sub { font-family: var(--font-script); font-size: 1.2rem; color: var(--rose-text); line-height: 1; }
.cover .c-rule { width: 40%; height: 1px; background: var(--gold); }
.cover .c-bow { width: 46px; height: 34px; color: var(--rose-soft); }
.cover .c-sprig { width: 34px; height: 56px; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .book { grid-template-columns: 1fr; padding: 24px; } .book .book-art { width: 180px; } }

.hoodie-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.product { height: 100%; display: flex; flex-direction: column; }
.product::after { inset: 6px; }
.product-art {
  margin: 12px 12px 0; padding: 16px 14px 6px; border-radius: 12px 12px 6px 6px; display: grid; place-items: center; position: relative; z-index: 1;
  background-color: var(--sage-soft);
  background-image:
    repeating-linear-gradient(0deg, rgba(168, 184, 152, .28) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(90deg, rgba(168, 184, 152, .28) 0 10px, transparent 10px 20px);
}
.product-art svg { width: 100%; max-width: 160px; height: auto; }
/* Etsy listing photos sit on top of the drawings; if a photo can't load, the script removes it and the drawing shows */
.product-art { aspect-ratio: 1 / 1; overflow: hidden; }
.etsy-photo { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: var(--white); }
.book-art { position: relative; border-radius: 3px 10px 10px 3px; overflow: hidden; align-self: start; box-shadow: 0 16px 26px -14px rgba(74, 54, 49, .55); }
.book-art .cover { aspect-ratio: 4 / 5; box-shadow: inset 7px 0 0 rgba(74, 54, 49, .08); }
.product-body { padding: 14px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; position: relative; z-index: 1; }
.verse { align-self: flex-start; font-family: var(--font-sans); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-ink); }
.product h4 { font-size: 1.45rem; line-height: 1.08; }
.product .desc { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; }
.dot { width: 17px; height: 17px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--blush-deep); box-shadow: inset 0 0 0 1.5px var(--white); }
.swatches .count { font-size: .78rem; color: var(--ink-soft); margin-left: 4px; }
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 10px;
  border-radius: 999px; background: var(--rose); color: #FFFFFF; text-decoration: none;
  font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: lowercase;
}
.buy:hover { background: #8A3D52; }
@media (max-width: 1079px) {
  .hoodie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { flex-direction: row; }
  .product-art { width: 38%; flex: none; margin: 12px 0 12px 12px; border-radius: 10px; padding: 12px; align-self: flex-start; }
}
@media (max-width: 639px) { .hoodie-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .product { flex-direction: column; } .product-art { width: auto; margin: 12px 12px 0; } .product-art svg { max-width: 130px; } }
.store-cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 560px) { .store-cta .btn, .block-head .btn { width: 100%; letter-spacing: .06em; padding-inline: 1.1em; } }

/* ---------- eCourses: sage meadow band ---------- */
.courses { background: var(--sage-soft); padding-block: clamp(84px, 10vw, 124px); --scallop: var(--sage-soft); }
.courses .section-head .script { color: var(--sage-ink); }
.course-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.course-grid > li { grid-column: span 2; }
.course-grid > li:nth-child(4), .course-grid > li:nth-child(5) { grid-column: span 3; }
.course { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 32px 28px 28px; }
.course > * { position: relative; z-index: 1; }
.course-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-ink); margin-bottom: 6px; }
.course-icon svg { width: 28px; height: 28px; }
.course .label { font-size: .7rem; color: var(--sage-ink); }
.course h3 { font-size: clamp(1.7rem, 1.4rem + .8vw, 2.1rem); }
.course p.desc { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.course .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: .5em 1.3em; font-size: .85rem; }
.course .desc + .btn { margin-top: 14px; }
.courses-note { margin-top: 34px; text-align: center; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) {
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid > li, .course-grid > li:nth-child(4) { grid-column: span 1; }
  .course-grid > li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .course-grid { grid-template-columns: 1fr; } .course-grid > li:nth-child(5) { grid-column: auto; } }

/* ---------- Resources ---------- */
.resources { background: var(--linen); padding-block: clamp(84px, 10vw, 124px); --scallop: var(--linen); }
.resource-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.resource { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 30px 26px; }
.resource > * { position: relative; z-index: 1; }
.resource .label { font-size: .7rem; color: var(--sage-ink); }
.resource h3 { font-size: 1.65rem; }
.resource p { color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }
.resource a { margin-top: auto; padding-top: 8px; font-weight: 500; }
.resource a .icon { margin-left: 4px; }
@media (max-width: 1000px) { .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .resource-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blush); color: var(--ink); padding-block: clamp(64px, 8vw, 90px) 26px; --scallop: var(--blush); }
.site-footer a { color: var(--ink); }
.footer-top { display: grid; justify-items: center; text-align: center; gap: 10px; margin-bottom: 44px; }
.footer-top img { width: 132px; height: 132px; }
.footer-top .script { font-size: 2.6rem; }
.footer-top p { color: var(--ink-soft); max-width: 46ch; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.site-footer h2 { font-family: var(--font-sans); font-size: .76rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--rose-text); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; justify-items: center; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; color: var(--rose-text); }
.social-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--rose-text); border: 1.5px solid var(--blush-deep); }
.social-icon svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--blush-deep); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { justify-content: center; text-align: center; } }

/* Gentle load-in (content starts visible) */
@keyframes settle { from { transform: translateY(6px); } to { transform: none; } }
.hero-copy > * { animation: settle .7s ease both; }

/* ---------- WordPress integration ---------- */
.admin-bar .site-header { top: calc(env(safe-area-inset-top, 0px) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: env(safe-area-inset-top, 0px); } }
.admin-bar section[id] { scroll-margin-top: calc(var(--header-h) + 40px); }
/* Generic pages (privacy policy, etc.) */
.fbm-page { padding-block: clamp(48px, 8vw, 96px); }
.fbm-page .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.fbm-page h1 { font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem); margin-bottom: 24px; text-align: center; }
.fbm-entry > * + * { margin-top: 1em; }
.fbm-entry h2, .fbm-entry h3 { margin-top: 1.4em; }
.fbm-entry ul, .fbm-entry ol { padding-left: 1.4em; }
.fbm-entry img { border-radius: var(--radius); }
/* Footer: social links left-aligned so the icons stack in a straight column */
.site-footer nav[aria-labelledby="f-follow"] ul { justify-items: start; width: max-content; margin-inline: auto; }
/* AI instructions page */
.fbm-entry .fbm-updated { color: var(--ink-soft); font-size: .92rem; }
